Skip to content

Commit

Permalink
fix: Generated SDK source code and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 4, 2025
1 parent ce44616 commit 53c2af5
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 1 deletion.
72 changes: 72 additions & 0 deletions admin/model_cluster_ip_addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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) {
Expand Down
50 changes: 50 additions & 0 deletions docs/docs/ClusterIPAddresses.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down Expand Up @@ -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`
Expand Down
20 changes: 19 additions & 1 deletion openapi/atlas-api-transformed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 53c2af5

Please sign in to comment.