diff --git a/admin/model_cluster_ip_addresses.go b/admin/model_cluster_ip_addresses.go index 6ed2b180..98bf3abe 100644 --- a/admin/model_cluster_ip_addresses.go +++ b/admin/model_cluster_ip_addresses.go @@ -7,6 +7,12 @@ type ClusterIPAddresses struct { // Human-readable label that identifies the cluster. // Read only field. ClusterName *string `json:"clusterName,omitempty"` + // List of future inbound IP addresses associated with the cluster. If your network allows outbound HTTP requests only to specific IP addresses, you must allow access to the following IP addresses so that your application can connect to your Atlas cluster. + // Read only field. + FutureInbound *[]string `json:"futureInbound,omitempty"` + // List of future outbound IP addresses associated with the cluster. If your network allows inbound HTTP requests only from specific IP addresses, you must allow access from the following IP addresses so that your Atlas cluster can communicate with your webhooks and KMS. + // Read only field. + FutureOutbound *[]string `json:"futureOutbound,omitempty"` // List of inbound IP addresses associated with the cluster. If your network allows outbound HTTP requests only to specific IP addresses, you must allow access to the following IP addresses so that your application can connect to your Atlas cluster. // Read only field. Inbound *[]string `json:"inbound,omitempty"` @@ -65,6 +71,72 @@ func (o *ClusterIPAddresses) SetClusterName(v string) { o.ClusterName = &v } +// GetFutureInbound returns the FutureInbound field value if set, zero value otherwise +func (o *ClusterIPAddresses) GetFutureInbound() []string { + if o == nil || IsNil(o.FutureInbound) { + var ret []string + return ret + } + return *o.FutureInbound +} + +// GetFutureInboundOk returns a tuple with the FutureInbound field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ClusterIPAddresses) GetFutureInboundOk() (*[]string, bool) { + if o == nil || IsNil(o.FutureInbound) { + return nil, false + } + + return o.FutureInbound, true +} + +// HasFutureInbound returns a boolean if a field has been set. +func (o *ClusterIPAddresses) HasFutureInbound() bool { + if o != nil && !IsNil(o.FutureInbound) { + return true + } + + return false +} + +// SetFutureInbound gets a reference to the given []string and assigns it to the FutureInbound field. +func (o *ClusterIPAddresses) SetFutureInbound(v []string) { + o.FutureInbound = &v +} + +// GetFutureOutbound returns the FutureOutbound field value if set, zero value otherwise +func (o *ClusterIPAddresses) GetFutureOutbound() []string { + if o == nil || IsNil(o.FutureOutbound) { + var ret []string + return ret + } + return *o.FutureOutbound +} + +// GetFutureOutboundOk returns a tuple with the FutureOutbound field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ClusterIPAddresses) GetFutureOutboundOk() (*[]string, bool) { + if o == nil || IsNil(o.FutureOutbound) { + return nil, false + } + + return o.FutureOutbound, true +} + +// HasFutureOutbound returns a boolean if a field has been set. +func (o *ClusterIPAddresses) HasFutureOutbound() bool { + if o != nil && !IsNil(o.FutureOutbound) { + return true + } + + return false +} + +// SetFutureOutbound gets a reference to the given []string and assigns it to the FutureOutbound field. +func (o *ClusterIPAddresses) SetFutureOutbound(v []string) { + o.FutureOutbound = &v +} + // GetInbound returns the Inbound field value if set, zero value otherwise func (o *ClusterIPAddresses) GetInbound() []string { if o == nil || IsNil(o.Inbound) { diff --git a/docs/docs/ClusterIPAddresses.md b/docs/docs/ClusterIPAddresses.md index 03ca4334..fcd4e44d 100644 --- a/docs/docs/ClusterIPAddresses.md +++ b/docs/docs/ClusterIPAddresses.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ClusterName** | Pointer to **string** | Human-readable label that identifies the cluster. | [optional] [readonly] +**FutureInbound** | Pointer to **[]string** | List of future inbound IP addresses associated with the cluster. If your network allows outbound HTTP requests only to specific IP addresses, you must allow access to the following IP addresses so that your application can connect to your Atlas cluster. | [optional] [readonly] +**FutureOutbound** | Pointer to **[]string** | List of future outbound IP addresses associated with the cluster. If your network allows inbound HTTP requests only from specific IP addresses, you must allow access from the following IP addresses so that your Atlas cluster can communicate with your webhooks and KMS. | [optional] [readonly] **Inbound** | Pointer to **[]string** | List of inbound IP addresses associated with the cluster. If your network allows outbound HTTP requests only to specific IP addresses, you must allow access to the following IP addresses so that your application can connect to your Atlas cluster. | [optional] [readonly] **Outbound** | Pointer to **[]string** | List of outbound IP addresses associated with the cluster. If your network allows inbound HTTP requests only from specific IP addresses, you must allow access from the following IP addresses so that your Atlas cluster can communicate with your webhooks and KMS. | [optional] [readonly] @@ -51,6 +53,54 @@ SetClusterName sets ClusterName field to given value. `func (o *ClusterIPAddresses) HasClusterName() bool` HasClusterName returns a boolean if a field has been set. +### GetFutureInbound + +`func (o *ClusterIPAddresses) GetFutureInbound() []string` + +GetFutureInbound returns the FutureInbound field if non-nil, zero value otherwise. + +### GetFutureInboundOk + +`func (o *ClusterIPAddresses) GetFutureInboundOk() (*[]string, bool)` + +GetFutureInboundOk returns a tuple with the FutureInbound field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFutureInbound + +`func (o *ClusterIPAddresses) SetFutureInbound(v []string)` + +SetFutureInbound sets FutureInbound field to given value. + +### HasFutureInbound + +`func (o *ClusterIPAddresses) HasFutureInbound() bool` + +HasFutureInbound returns a boolean if a field has been set. +### GetFutureOutbound + +`func (o *ClusterIPAddresses) GetFutureOutbound() []string` + +GetFutureOutbound returns the FutureOutbound field if non-nil, zero value otherwise. + +### GetFutureOutboundOk + +`func (o *ClusterIPAddresses) GetFutureOutboundOk() (*[]string, bool)` + +GetFutureOutboundOk returns a tuple with the FutureOutbound field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFutureOutbound + +`func (o *ClusterIPAddresses) SetFutureOutbound(v []string)` + +SetFutureOutbound sets FutureOutbound field to given value. + +### HasFutureOutbound + +`func (o *ClusterIPAddresses) HasFutureOutbound() bool` + +HasFutureOutbound returns a boolean if a field has been set. ### GetInbound `func (o *ClusterIPAddresses) GetInbound() []string` diff --git a/openapi/atlas-api-transformed.yaml b/openapi/atlas-api-transformed.yaml index b817fade..9f7610b1 100644 --- a/openapi/atlas-api-transformed.yaml +++ b/openapi/atlas-api-transformed.yaml @@ -27,7 +27,7 @@ info: termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions title: MongoDB Atlas Administration API version: "2.0" - x-xgen-sha: f2d3832722b696c6611b5666215a7e36d52aac95 + x-xgen-sha: b30dca0a1318cf8279cab906a13fd2bfa4889cea servers: - url: https://cloud.mongodb.com security: @@ -23862,6 +23862,24 @@ components: type: string description: Human-readable label that identifies the cluster. readOnly: true + futureInbound: + type: array + description: List of future inbound IP addresses associated with the cluster. If + your network allows outbound HTTP requests only to specific IP + addresses, you must allow access to the following IP addresses so + that your application can connect to your Atlas cluster. + items: + type: string + readOnly: true + futureOutbound: + type: array + description: List of future outbound IP addresses associated with the cluster. + If your network allows inbound HTTP requests only from specific IP + addresses, you must allow access from the following IP addresses so + that your Atlas cluster can communicate with your webhooks and KMS. + items: + type: string + readOnly: true inbound: type: array description: List of inbound IP addresses associated with the cluster. If your