Skip to content

Commit 3f8e043

Browse files
svc-apix-Botgithub-actions[bot]EspenAlbert
authored
APIBot: SDK update based on recent changes in Atlas API (#524)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: EspenAlbert <[email protected]>
1 parent 3dae3da commit 3f8e043

File tree

8 files changed

+76553
-84031
lines changed

8 files changed

+76553
-84031
lines changed

admin/model_streams_aws_connection_base_config.go renamed to admin/model_streams_aws_connection_config.go

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@
22

33
package admin
44

5-
// StreamsAWSConnectionBaseConfig The base configuration of AWS connection used in stream processors.
6-
type StreamsAWSConnectionBaseConfig struct {
5+
// StreamsAWSConnectionConfig The configuration of AWS connection used in stream processors.
6+
type StreamsAWSConnectionConfig struct {
77
// List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships.
88
// Read only field.
99
Links *[]Link `json:"links,omitempty"`
1010
// Amazon Resource Name (ARN) that identifies the Amazon Web Services (AWS) Identity and Access Management (IAM) role that MongoDB Cloud assumes when it accesses resources in your AWS account.
1111
RoleArn *string `json:"roleArn,omitempty"`
1212
}
1313

14-
// NewStreamsAWSConnectionBaseConfig instantiates a new StreamsAWSConnectionBaseConfig object
14+
// NewStreamsAWSConnectionConfig instantiates a new StreamsAWSConnectionConfig object
1515
// This constructor will assign default values to properties that have it defined,
1616
// and makes sure properties required by API are set, but the set of arguments
1717
// will change when the set of required properties is changed
18-
func NewStreamsAWSConnectionBaseConfig() *StreamsAWSConnectionBaseConfig {
19-
this := StreamsAWSConnectionBaseConfig{}
18+
func NewStreamsAWSConnectionConfig() *StreamsAWSConnectionConfig {
19+
this := StreamsAWSConnectionConfig{}
2020
return &this
2121
}
2222

23-
// NewStreamsAWSConnectionBaseConfigWithDefaults instantiates a new StreamsAWSConnectionBaseConfig object
23+
// NewStreamsAWSConnectionConfigWithDefaults instantiates a new StreamsAWSConnectionConfig object
2424
// This constructor will only assign default values to properties that have it defined,
2525
// but it doesn't guarantee that properties required by API are set
26-
func NewStreamsAWSConnectionBaseConfigWithDefaults() *StreamsAWSConnectionBaseConfig {
27-
this := StreamsAWSConnectionBaseConfig{}
26+
func NewStreamsAWSConnectionConfigWithDefaults() *StreamsAWSConnectionConfig {
27+
this := StreamsAWSConnectionConfig{}
2828
return &this
2929
}
3030

3131
// GetLinks returns the Links field value if set, zero value otherwise
32-
func (o *StreamsAWSConnectionBaseConfig) GetLinks() []Link {
32+
func (o *StreamsAWSConnectionConfig) GetLinks() []Link {
3333
if o == nil || IsNil(o.Links) {
3434
var ret []Link
3535
return ret
@@ -39,7 +39,7 @@ func (o *StreamsAWSConnectionBaseConfig) GetLinks() []Link {
3939

4040
// GetLinksOk returns a tuple with the Links field value if set, nil otherwise
4141
// and a boolean to check if the value has been set.
42-
func (o *StreamsAWSConnectionBaseConfig) GetLinksOk() (*[]Link, bool) {
42+
func (o *StreamsAWSConnectionConfig) GetLinksOk() (*[]Link, bool) {
4343
if o == nil || IsNil(o.Links) {
4444
return nil, false
4545
}
@@ -48,7 +48,7 @@ func (o *StreamsAWSConnectionBaseConfig) GetLinksOk() (*[]Link, bool) {
4848
}
4949

5050
// HasLinks returns a boolean if a field has been set.
51-
func (o *StreamsAWSConnectionBaseConfig) HasLinks() bool {
51+
func (o *StreamsAWSConnectionConfig) HasLinks() bool {
5252
if o != nil && !IsNil(o.Links) {
5353
return true
5454
}
@@ -57,12 +57,12 @@ func (o *StreamsAWSConnectionBaseConfig) HasLinks() bool {
5757
}
5858

5959
// SetLinks gets a reference to the given []Link and assigns it to the Links field.
60-
func (o *StreamsAWSConnectionBaseConfig) SetLinks(v []Link) {
60+
func (o *StreamsAWSConnectionConfig) SetLinks(v []Link) {
6161
o.Links = &v
6262
}
6363

6464
// GetRoleArn returns the RoleArn field value if set, zero value otherwise
65-
func (o *StreamsAWSConnectionBaseConfig) GetRoleArn() string {
65+
func (o *StreamsAWSConnectionConfig) GetRoleArn() string {
6666
if o == nil || IsNil(o.RoleArn) {
6767
var ret string
6868
return ret
@@ -72,7 +72,7 @@ func (o *StreamsAWSConnectionBaseConfig) GetRoleArn() string {
7272

7373
// GetRoleArnOk returns a tuple with the RoleArn field value if set, nil otherwise
7474
// and a boolean to check if the value has been set.
75-
func (o *StreamsAWSConnectionBaseConfig) GetRoleArnOk() (*string, bool) {
75+
func (o *StreamsAWSConnectionConfig) GetRoleArnOk() (*string, bool) {
7676
if o == nil || IsNil(o.RoleArn) {
7777
return nil, false
7878
}
@@ -81,7 +81,7 @@ func (o *StreamsAWSConnectionBaseConfig) GetRoleArnOk() (*string, bool) {
8181
}
8282

8383
// HasRoleArn returns a boolean if a field has been set.
84-
func (o *StreamsAWSConnectionBaseConfig) HasRoleArn() bool {
84+
func (o *StreamsAWSConnectionConfig) HasRoleArn() bool {
8585
if o != nil && !IsNil(o.RoleArn) {
8686
return true
8787
}
@@ -90,6 +90,6 @@ func (o *StreamsAWSConnectionBaseConfig) HasRoleArn() bool {
9090
}
9191

9292
// SetRoleArn gets a reference to the given string and assigns it to the RoleArn field.
93-
func (o *StreamsAWSConnectionBaseConfig) SetRoleArn(v string) {
93+
func (o *StreamsAWSConnectionConfig) SetRoleArn(v string) {
9494
o.RoleArn = &v
9595
}

admin/model_streams_connection.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ type StreamsConnection struct {
2424
// A map of key-value pairs that will be passed as headers for the request.
2525
Headers *map[string]string `json:"headers,omitempty"`
2626
// The url to be used for the request.
27-
Url *string `json:"url,omitempty"`
28-
Aws *StreamsAWSConnectionBaseConfig `json:"aws,omitempty"`
27+
Url *string `json:"url,omitempty"`
28+
Aws *StreamsAWSConnectionConfig `json:"aws,omitempty"`
2929
}
3030

3131
// NewStreamsConnection instantiates a new StreamsConnection object
@@ -442,17 +442,17 @@ func (o *StreamsConnection) SetUrl(v string) {
442442
}
443443

444444
// GetAws returns the Aws field value if set, zero value otherwise
445-
func (o *StreamsConnection) GetAws() StreamsAWSConnectionBaseConfig {
445+
func (o *StreamsConnection) GetAws() StreamsAWSConnectionConfig {
446446
if o == nil || IsNil(o.Aws) {
447-
var ret StreamsAWSConnectionBaseConfig
447+
var ret StreamsAWSConnectionConfig
448448
return ret
449449
}
450450
return *o.Aws
451451
}
452452

453453
// GetAwsOk returns a tuple with the Aws field value if set, nil otherwise
454454
// and a boolean to check if the value has been set.
455-
func (o *StreamsConnection) GetAwsOk() (*StreamsAWSConnectionBaseConfig, bool) {
455+
func (o *StreamsConnection) GetAwsOk() (*StreamsAWSConnectionConfig, bool) {
456456
if o == nil || IsNil(o.Aws) {
457457
return nil, false
458458
}
@@ -469,7 +469,7 @@ func (o *StreamsConnection) HasAws() bool {
469469
return false
470470
}
471471

472-
// SetAws gets a reference to the given StreamsAWSConnectionBaseConfig and assigns it to the Aws field.
473-
func (o *StreamsConnection) SetAws(v StreamsAWSConnectionBaseConfig) {
472+
// SetAws gets a reference to the given StreamsAWSConnectionConfig and assigns it to the Aws field.
473+
func (o *StreamsConnection) SetAws(v StreamsAWSConnectionConfig) {
474474
o.Aws = &v
475475
}

docs/doc_last_reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ Class | Method | HTTP request | Description |
870870
- [Source](./docs/Source.md)
871871
- [StateReason](./docs/StateReason.md)
872872
- [StreamConfig](./docs/StreamConfig.md)
873-
- [StreamsAWSConnectionBaseConfig](./docs/StreamsAWSConnectionBaseConfig.md)
873+
- [StreamsAWSConnectionConfig](./docs/StreamsAWSConnectionConfig.md)
874874
- [StreamsConnection](./docs/StreamsConnection.md)
875875
- [StreamsDLQ](./docs/StreamsDLQ.md)
876876
- [StreamsDataProcessRegion](./docs/StreamsDataProcessRegion.md)

docs/docs/StreamsAWSConnectionBaseConfig.md renamed to docs/docs/StreamsAWSConnectionConfig.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# StreamsAWSConnectionBaseConfig
1+
# StreamsAWSConnectionConfig
22

33
## Properties
44

@@ -9,69 +9,69 @@ Name | Type | Description | Notes
99

1010
## Methods
1111

12-
### NewStreamsAWSConnectionBaseConfig
12+
### NewStreamsAWSConnectionConfig
1313

14-
`func NewStreamsAWSConnectionBaseConfig() *StreamsAWSConnectionBaseConfig`
14+
`func NewStreamsAWSConnectionConfig() *StreamsAWSConnectionConfig`
1515

16-
NewStreamsAWSConnectionBaseConfig instantiates a new StreamsAWSConnectionBaseConfig object
16+
NewStreamsAWSConnectionConfig instantiates a new StreamsAWSConnectionConfig object
1717
This constructor will assign default values to properties that have it defined,
1818
and makes sure properties required by API are set, but the set of arguments
1919
will change when the set of required properties is changed
2020

21-
### NewStreamsAWSConnectionBaseConfigWithDefaults
21+
### NewStreamsAWSConnectionConfigWithDefaults
2222

23-
`func NewStreamsAWSConnectionBaseConfigWithDefaults() *StreamsAWSConnectionBaseConfig`
23+
`func NewStreamsAWSConnectionConfigWithDefaults() *StreamsAWSConnectionConfig`
2424

25-
NewStreamsAWSConnectionBaseConfigWithDefaults instantiates a new StreamsAWSConnectionBaseConfig object
25+
NewStreamsAWSConnectionConfigWithDefaults instantiates a new StreamsAWSConnectionConfig object
2626
This constructor will only assign default values to properties that have it defined,
2727
but it doesn't guarantee that properties required by API are set
2828

2929
### GetLinks
3030

31-
`func (o *StreamsAWSConnectionBaseConfig) GetLinks() []Link`
31+
`func (o *StreamsAWSConnectionConfig) GetLinks() []Link`
3232

3333
GetLinks returns the Links field if non-nil, zero value otherwise.
3434

3535
### GetLinksOk
3636

37-
`func (o *StreamsAWSConnectionBaseConfig) GetLinksOk() (*[]Link, bool)`
37+
`func (o *StreamsAWSConnectionConfig) GetLinksOk() (*[]Link, bool)`
3838

3939
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise
4040
and a boolean to check if the value has been set.
4141

4242
### SetLinks
4343

44-
`func (o *StreamsAWSConnectionBaseConfig) SetLinks(v []Link)`
44+
`func (o *StreamsAWSConnectionConfig) SetLinks(v []Link)`
4545

4646
SetLinks sets Links field to given value.
4747

4848
### HasLinks
4949

50-
`func (o *StreamsAWSConnectionBaseConfig) HasLinks() bool`
50+
`func (o *StreamsAWSConnectionConfig) HasLinks() bool`
5151

5252
HasLinks returns a boolean if a field has been set.
5353
### GetRoleArn
5454

55-
`func (o *StreamsAWSConnectionBaseConfig) GetRoleArn() string`
55+
`func (o *StreamsAWSConnectionConfig) GetRoleArn() string`
5656

5757
GetRoleArn returns the RoleArn field if non-nil, zero value otherwise.
5858

5959
### GetRoleArnOk
6060

61-
`func (o *StreamsAWSConnectionBaseConfig) GetRoleArnOk() (*string, bool)`
61+
`func (o *StreamsAWSConnectionConfig) GetRoleArnOk() (*string, bool)`
6262

6363
GetRoleArnOk returns a tuple with the RoleArn field if it's non-nil, zero value otherwise
6464
and a boolean to check if the value has been set.
6565

6666
### SetRoleArn
6767

68-
`func (o *StreamsAWSConnectionBaseConfig) SetRoleArn(v string)`
68+
`func (o *StreamsAWSConnectionConfig) SetRoleArn(v string)`
6969

7070
SetRoleArn sets RoleArn field to given value.
7171

7272
### HasRoleArn
7373

74-
`func (o *StreamsAWSConnectionBaseConfig) HasRoleArn() bool`
74+
`func (o *StreamsAWSConnectionConfig) HasRoleArn() bool`
7575

7676
HasRoleArn returns a boolean if a field has been set.
7777

docs/docs/StreamsConnection.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
1616
**Security** | Pointer to [**StreamsKafkaSecurity**](StreamsKafkaSecurity.md) | | [optional]
1717
**Headers** | Pointer to **map[string]string** | A map of key-value pairs that will be passed as headers for the request. | [optional]
1818
**Url** | Pointer to **string** | The url to be used for the request. | [optional]
19-
**Aws** | Pointer to [**StreamsAWSConnectionBaseConfig**](StreamsAWSConnectionBaseConfig.md) | | [optional]
19+
**Aws** | Pointer to [**StreamsAWSConnectionConfig**](StreamsAWSConnectionConfig.md) | | [optional]
2020

2121
## Methods
2222

@@ -327,20 +327,20 @@ SetUrl sets Url field to given value.
327327
HasUrl returns a boolean if a field has been set.
328328
### GetAws
329329

330-
`func (o *StreamsConnection) GetAws() StreamsAWSConnectionBaseConfig`
330+
`func (o *StreamsConnection) GetAws() StreamsAWSConnectionConfig`
331331

332332
GetAws returns the Aws field if non-nil, zero value otherwise.
333333

334334
### GetAwsOk
335335

336-
`func (o *StreamsConnection) GetAwsOk() (*StreamsAWSConnectionBaseConfig, bool)`
336+
`func (o *StreamsConnection) GetAwsOk() (*StreamsAWSConnectionConfig, bool)`
337337

338338
GetAwsOk returns a tuple with the Aws field if it's non-nil, zero value otherwise
339339
and a boolean to check if the value has been set.
340340

341341
### SetAws
342342

343-
`func (o *StreamsConnection) SetAws(v StreamsAWSConnectionBaseConfig)`
343+
`func (o *StreamsConnection) SetAws(v StreamsAWSConnectionConfig)`
344344

345345
SetAws sets Aws field to given value.
346346

internal/core/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package core
55
// For more information please see: https://github.com/mongodb/atlas-sdk-go/blob/main/docs/doc_1_concepts.md
66
const (
77
// SDK release tag version.
8-
Version = "v20250219001.0.0"
8+
Version = "v20250219001.1.0"
99
// Resource Version.
1010
Resource = "20250219"
1111
)

0 commit comments

Comments
 (0)