Skip to content

Commit e857233

Browse files
APIBot: SDK update based on recent changes in Atlas API (#505)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent a35e096 commit e857233

File tree

4 files changed

+160
-2
lines changed

4 files changed

+160
-2
lines changed

admin/model_cluster_ip_addresses.go

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ type ClusterIPAddresses struct {
77
// Human-readable label that identifies the cluster.
88
// Read only field.
99
ClusterName *string `json:"clusterName,omitempty"`
10+
// 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.
11+
// Read only field.
12+
FutureInbound *[]string `json:"futureInbound,omitempty"`
13+
// 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.
14+
// Read only field.
15+
FutureOutbound *[]string `json:"futureOutbound,omitempty"`
1016
// 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.
1117
// Read only field.
1218
Inbound *[]string `json:"inbound,omitempty"`
@@ -65,6 +71,72 @@ func (o *ClusterIPAddresses) SetClusterName(v string) {
6571
o.ClusterName = &v
6672
}
6773

74+
// GetFutureInbound returns the FutureInbound field value if set, zero value otherwise
75+
func (o *ClusterIPAddresses) GetFutureInbound() []string {
76+
if o == nil || IsNil(o.FutureInbound) {
77+
var ret []string
78+
return ret
79+
}
80+
return *o.FutureInbound
81+
}
82+
83+
// GetFutureInboundOk returns a tuple with the FutureInbound field value if set, nil otherwise
84+
// and a boolean to check if the value has been set.
85+
func (o *ClusterIPAddresses) GetFutureInboundOk() (*[]string, bool) {
86+
if o == nil || IsNil(o.FutureInbound) {
87+
return nil, false
88+
}
89+
90+
return o.FutureInbound, true
91+
}
92+
93+
// HasFutureInbound returns a boolean if a field has been set.
94+
func (o *ClusterIPAddresses) HasFutureInbound() bool {
95+
if o != nil && !IsNil(o.FutureInbound) {
96+
return true
97+
}
98+
99+
return false
100+
}
101+
102+
// SetFutureInbound gets a reference to the given []string and assigns it to the FutureInbound field.
103+
func (o *ClusterIPAddresses) SetFutureInbound(v []string) {
104+
o.FutureInbound = &v
105+
}
106+
107+
// GetFutureOutbound returns the FutureOutbound field value if set, zero value otherwise
108+
func (o *ClusterIPAddresses) GetFutureOutbound() []string {
109+
if o == nil || IsNil(o.FutureOutbound) {
110+
var ret []string
111+
return ret
112+
}
113+
return *o.FutureOutbound
114+
}
115+
116+
// GetFutureOutboundOk returns a tuple with the FutureOutbound field value if set, nil otherwise
117+
// and a boolean to check if the value has been set.
118+
func (o *ClusterIPAddresses) GetFutureOutboundOk() (*[]string, bool) {
119+
if o == nil || IsNil(o.FutureOutbound) {
120+
return nil, false
121+
}
122+
123+
return o.FutureOutbound, true
124+
}
125+
126+
// HasFutureOutbound returns a boolean if a field has been set.
127+
func (o *ClusterIPAddresses) HasFutureOutbound() bool {
128+
if o != nil && !IsNil(o.FutureOutbound) {
129+
return true
130+
}
131+
132+
return false
133+
}
134+
135+
// SetFutureOutbound gets a reference to the given []string and assigns it to the FutureOutbound field.
136+
func (o *ClusterIPAddresses) SetFutureOutbound(v []string) {
137+
o.FutureOutbound = &v
138+
}
139+
68140
// GetInbound returns the Inbound field value if set, zero value otherwise
69141
func (o *ClusterIPAddresses) GetInbound() []string {
70142
if o == nil || IsNil(o.Inbound) {

docs/docs/ClusterIPAddresses.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**ClusterName** | Pointer to **string** | Human-readable label that identifies the cluster. | [optional] [readonly]
8+
**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]
9+
**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]
810
**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]
911
**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]
1012

@@ -51,6 +53,54 @@ SetClusterName sets ClusterName field to given value.
5153
`func (o *ClusterIPAddresses) HasClusterName() bool`
5254

5355
HasClusterName returns a boolean if a field has been set.
56+
### GetFutureInbound
57+
58+
`func (o *ClusterIPAddresses) GetFutureInbound() []string`
59+
60+
GetFutureInbound returns the FutureInbound field if non-nil, zero value otherwise.
61+
62+
### GetFutureInboundOk
63+
64+
`func (o *ClusterIPAddresses) GetFutureInboundOk() (*[]string, bool)`
65+
66+
GetFutureInboundOk returns a tuple with the FutureInbound field if it's non-nil, zero value otherwise
67+
and a boolean to check if the value has been set.
68+
69+
### SetFutureInbound
70+
71+
`func (o *ClusterIPAddresses) SetFutureInbound(v []string)`
72+
73+
SetFutureInbound sets FutureInbound field to given value.
74+
75+
### HasFutureInbound
76+
77+
`func (o *ClusterIPAddresses) HasFutureInbound() bool`
78+
79+
HasFutureInbound returns a boolean if a field has been set.
80+
### GetFutureOutbound
81+
82+
`func (o *ClusterIPAddresses) GetFutureOutbound() []string`
83+
84+
GetFutureOutbound returns the FutureOutbound field if non-nil, zero value otherwise.
85+
86+
### GetFutureOutboundOk
87+
88+
`func (o *ClusterIPAddresses) GetFutureOutboundOk() (*[]string, bool)`
89+
90+
GetFutureOutboundOk returns a tuple with the FutureOutbound field if it's non-nil, zero value otherwise
91+
and a boolean to check if the value has been set.
92+
93+
### SetFutureOutbound
94+
95+
`func (o *ClusterIPAddresses) SetFutureOutbound(v []string)`
96+
97+
SetFutureOutbound sets FutureOutbound field to given value.
98+
99+
### HasFutureOutbound
100+
101+
`func (o *ClusterIPAddresses) HasFutureOutbound() bool`
102+
103+
HasFutureOutbound returns a boolean if a field has been set.
54104
### GetInbound
55105

56106
`func (o *ClusterIPAddresses) GetInbound() []string`

openapi/atlas-api-transformed.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ info:
2727
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
2828
title: MongoDB Atlas Administration API
2929
version: "2.0"
30-
x-xgen-sha: f2d3832722b696c6611b5666215a7e36d52aac95
30+
x-xgen-sha: b30dca0a1318cf8279cab906a13fd2bfa4889cea
3131
servers:
3232
- url: https://cloud.mongodb.com
3333
security:
@@ -23862,6 +23862,24 @@ components:
2386223862
type: string
2386323863
description: Human-readable label that identifies the cluster.
2386423864
readOnly: true
23865+
futureInbound:
23866+
type: array
23867+
description: List of future inbound IP addresses associated with the cluster. If
23868+
your network allows outbound HTTP requests only to specific IP
23869+
addresses, you must allow access to the following IP addresses so
23870+
that your application can connect to your Atlas cluster.
23871+
items:
23872+
type: string
23873+
readOnly: true
23874+
futureOutbound:
23875+
type: array
23876+
description: List of future outbound IP addresses associated with the cluster.
23877+
If your network allows inbound HTTP requests only from specific IP
23878+
addresses, you must allow access from the following IP addresses so
23879+
that your Atlas cluster can communicate with your webhooks and KMS.
23880+
items:
23881+
type: string
23882+
readOnly: true
2386523883
inbound:
2386623884
type: array
2386723885
description: List of inbound IP addresses associated with the cluster. If your

openapi/atlas-api.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ info:
2121
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
2222
title: MongoDB Atlas Administration API
2323
version: "2.0"
24-
x-xgen-sha: f2d3832722b696c6611b5666215a7e36d52aac95
24+
x-xgen-sha: b30dca0a1318cf8279cab906a13fd2bfa4889cea
2525
servers:
2626
- url: https://cloud.mongodb.com
2727
security:
@@ -29963,6 +29963,24 @@ components:
2996329963
type: string
2996429964
description: Human-readable label that identifies the cluster.
2996529965
readOnly: true
29966+
futureInbound:
29967+
type: array
29968+
description: "List of future inbound IP addresses associated with the cluster.\
29969+
\ If your network allows outbound HTTP requests only to specific IP addresses,\
29970+
\ you must allow access to the following IP addresses so that your application\
29971+
\ can connect to your Atlas cluster."
29972+
items:
29973+
type: string
29974+
readOnly: true
29975+
futureOutbound:
29976+
type: array
29977+
description: "List of future outbound IP addresses associated with the cluster.\
29978+
\ If your network allows inbound HTTP requests only from specific IP addresses,\
29979+
\ you must allow access from the following IP addresses so that your Atlas\
29980+
\ cluster can communicate with your webhooks and KMS."
29981+
items:
29982+
type: string
29983+
readOnly: true
2996629984
inbound:
2996729985
type: array
2996829986
description: "List of inbound IP addresses associated with the cluster.\

0 commit comments

Comments
 (0)