diff --git a/clouddiscovery/api/openapi.yaml b/clouddiscovery/api/openapi.yaml index 16903ca..4cfe2f8 100644 --- a/clouddiscovery/api/openapi.yaml +++ b/clouddiscovery/api/openapi.yaml @@ -624,6 +624,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -665,6 +666,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -694,6 +696,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -709,6 +712,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -949,9 +953,14 @@ components: example: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true properties: dhcp_server: type: string + disable_ipam_projection: + description: This flag controls the IPAM Sync/Reconciliation for the provider + format: boolean + type: boolean ip_space: type: string type: object @@ -1023,6 +1032,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -1038,6 +1048,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -1214,6 +1225,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -1229,6 +1241,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -1392,6 +1405,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -1407,6 +1421,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -1583,6 +1598,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -1598,6 +1614,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -1770,6 +1787,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type @@ -1785,6 +1803,7 @@ components: ipam: ip_space: ip_space dhcp_server: dhcp_server + disable_ipam_projection: true dns: split_view_enabled: true sync_type: sync_type diff --git a/clouddiscovery/docs/IPAMConfig.md b/clouddiscovery/docs/IPAMConfig.md index bd46e26..9983802 100644 --- a/clouddiscovery/docs/IPAMConfig.md +++ b/clouddiscovery/docs/IPAMConfig.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **DhcpServer** | Pointer to **string** | | [optional] +**DisableIpamProjection** | Pointer to **bool** | This flag controls the IPAM Sync/Reconciliation for the provider | [optional] **IpSpace** | Pointer to **string** | | [optional] ## Methods @@ -51,6 +52,31 @@ SetDhcpServer sets DhcpServer field to given value. HasDhcpServer returns a boolean if a field has been set. +### GetDisableIpamProjection + +`func (o *IPAMConfig) GetDisableIpamProjection() bool` + +GetDisableIpamProjection returns the DisableIpamProjection field if non-nil, zero value otherwise. + +### GetDisableIpamProjectionOk + +`func (o *IPAMConfig) GetDisableIpamProjectionOk() (*bool, bool)` + +GetDisableIpamProjectionOk returns a tuple with the DisableIpamProjection field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableIpamProjection + +`func (o *IPAMConfig) SetDisableIpamProjection(v bool)` + +SetDisableIpamProjection sets DisableIpamProjection field to given value. + +### HasDisableIpamProjection + +`func (o *IPAMConfig) HasDisableIpamProjection() bool` + +HasDisableIpamProjection returns a boolean if a field has been set. + ### GetIpSpace `func (o *IPAMConfig) GetIpSpace() string` diff --git a/clouddiscovery/model_ipam_config.go b/clouddiscovery/model_ipam_config.go index b7bb0a5..244f391 100644 --- a/clouddiscovery/model_ipam_config.go +++ b/clouddiscovery/model_ipam_config.go @@ -19,9 +19,11 @@ var _ MappedNullable = &IPAMConfig{} // IPAMConfig struct for IPAMConfig type IPAMConfig struct { - DhcpServer *string `json:"dhcp_server,omitempty"` - IpSpace *string `json:"ip_space,omitempty"` - AdditionalProperties map[string]interface{} + DhcpServer *string `json:"dhcp_server,omitempty"` + // This flag controls the IPAM Sync/Reconciliation for the provider + DisableIpamProjection *bool `json:"disable_ipam_projection,omitempty"` + IpSpace *string `json:"ip_space,omitempty"` + AdditionalProperties map[string]interface{} } type _IPAMConfig IPAMConfig @@ -75,6 +77,38 @@ func (o *IPAMConfig) SetDhcpServer(v string) { o.DhcpServer = &v } +// GetDisableIpamProjection returns the DisableIpamProjection field value if set, zero value otherwise. +func (o *IPAMConfig) GetDisableIpamProjection() bool { + if o == nil || IsNil(o.DisableIpamProjection) { + var ret bool + return ret + } + return *o.DisableIpamProjection +} + +// GetDisableIpamProjectionOk returns a tuple with the DisableIpamProjection field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IPAMConfig) GetDisableIpamProjectionOk() (*bool, bool) { + if o == nil || IsNil(o.DisableIpamProjection) { + return nil, false + } + return o.DisableIpamProjection, true +} + +// HasDisableIpamProjection returns a boolean if a field has been set. +func (o *IPAMConfig) HasDisableIpamProjection() bool { + if o != nil && !IsNil(o.DisableIpamProjection) { + return true + } + + return false +} + +// SetDisableIpamProjection gets a reference to the given bool and assigns it to the DisableIpamProjection field. +func (o *IPAMConfig) SetDisableIpamProjection(v bool) { + o.DisableIpamProjection = &v +} + // GetIpSpace returns the IpSpace field value if set, zero value otherwise. func (o *IPAMConfig) GetIpSpace() string { if o == nil || IsNil(o.IpSpace) { @@ -120,6 +154,9 @@ func (o IPAMConfig) ToMap() (map[string]interface{}, error) { if !IsNil(o.DhcpServer) { toSerialize["dhcp_server"] = o.DhcpServer } + if !IsNil(o.DisableIpamProjection) { + toSerialize["disable_ipam_projection"] = o.DisableIpamProjection + } if !IsNil(o.IpSpace) { toSerialize["ip_space"] = o.IpSpace } @@ -146,6 +183,7 @@ func (o *IPAMConfig) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "dhcp_server") + delete(additionalProperties, "disable_ipam_projection") delete(additionalProperties, "ip_space") o.AdditionalProperties = additionalProperties }