Skip to content

Commit e1068b9

Browse files
committed
✨ Automatic changes -> ✨ New server autogenerated files [ci skip]
1 parent ddb8d18 commit e1068b9

11 files changed

+79
-82
lines changed

changes/20251017160200.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Updated client due to schema changes

client/docs/PATCreationItem.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SPDX-License-Identifier: Apache-2.0
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**TTL** | **int64** | The TTL (time to live in seconds) describing how long the personal access token will be alive for. |
12-
**Links** | [**PATItemLinks**](PATItemLinks.md) | |
12+
**Links** | [**NullablePATItemLinks**](PATItemLinks.md) | |
1313
**Metadata** | [**NullableCommonMetadata**](CommonMetadata.md) | |
1414
**Name** | **string** | Unique ID of the personal access token. | [readonly]
1515
**Secret** | **string** | The personal access token. | [readonly]
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
1919

2020
### NewPATCreationItem
2121

22-
`func NewPATCreationItem(tTL int64, links PATItemLinks, metadata NullableCommonMetadata, name string, secret string, title string, ) *PATCreationItem`
22+
`func NewPATCreationItem(tTL int64, links NullablePATItemLinks, metadata NullableCommonMetadata, name string, secret string, title string, ) *PATCreationItem`
2323

2424
NewPATCreationItem instantiates a new PATCreationItem object
2525
This constructor will assign default values to properties that have it defined,
@@ -74,6 +74,16 @@ and a boolean to check if the value has been set.
7474
SetLinks sets Links field to given value.
7575

7676

77+
### SetLinksNil
78+
79+
`func (o *PATCreationItem) SetLinksNil(b bool)`
80+
81+
SetLinksNil sets the value for Links to be an explicit nil
82+
83+
### UnsetLinks
84+
`func (o *PATCreationItem) UnsetLinks()`
85+
86+
UnsetLinks ensures that no value is present for Links, not even an explicit nil
7787
### GetMetadata
7888

7989
`func (o *PATCreationItem) GetMetadata() CommonMetadata`

client/docs/PATItem.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SPDX-License-Identifier: Apache-2.0
88

99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11-
**Links** | [**PATItemLinks**](PATItemLinks.md) | |
11+
**Links** | [**NullablePATItemLinks**](PATItemLinks.md) | |
1212
**Metadata** | [**NullableCommonMetadata**](CommonMetadata.md) | |
1313
**LastUsed** | **time.Time** | UTC date and time when the token was last used. | [readonly]
1414
**Name** | **string** | Unique ID of the personal access token. | [readonly]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818

1919
### NewPATItem
2020

21-
`func NewPATItem(links PATItemLinks, metadata NullableCommonMetadata, lastUsed time.Time, name string, title string, ) *PATItem`
21+
`func NewPATItem(links NullablePATItemLinks, metadata NullableCommonMetadata, lastUsed time.Time, name string, title string, ) *PATItem`
2222

2323
NewPATItem instantiates a new PATItem object
2424
This constructor will assign default values to properties that have it defined,
@@ -53,6 +53,16 @@ and a boolean to check if the value has been set.
5353
SetLinks sets Links field to given value.
5454

5555

56+
### SetLinksNil
57+
58+
`func (o *PATItem) SetLinksNil(b bool)`
59+
60+
SetLinksNil sets the value for Links to be an explicit nil
61+
62+
### UnsetLinks
63+
`func (o *PATItem) UnsetLinks()`
64+
65+
UnsetLinks ensures that no value is present for Links, not even an explicit nil
5666
### GetMetadata
5767

5868
`func (o *PATItem) GetMetadata() CommonMetadata`

client/docs/PersonalAccessTokenAPI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636
)
3737

3838
func main() {
39-
pATCreationItem := *openapiclient.NewPATCreationItem(int64(5), *openapiclient.NewPATItemLinks(*openapiclient.NewHalLinkData("/endpoint/?limit=20&offset=0")), "TODO", "88a6137e-1d99-4cde-8db8-015312f7d5e6", "arm_pat_abcdefgh...", "My token") // PATCreationItem | Data required to create a new token.
39+
pATCreationItem := *openapiclient.NewPATCreationItem(int64(5), "TODO", "TODO", "88a6137e-1d99-4cde-8db8-015312f7d5e6", "arm_pat_abcdefgh...", "My token") // PATCreationItem | Data required to create a new token.
4040
acceptVersion := "1.0.0" // string | Versioning: Optional header to request a specific version of the API. While it is possible to specify a particular major, minor or patch version it is not recommended for production use cases. Only the major version number should be specified as minor and patch versions can be updated without warning. (optional)
4141

4242
configuration := openapiclient.NewConfiguration()

client/docs/ServiceAccountAPI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
)
3838

3939
func main() {
40-
serviceAccountItem := *openapiclient.NewServiceAccountItem(*openapiclient.NewServiceAccountItemLinks(*openapiclient.NewHalLinkData("/endpoint/?limit=20&offset=0")), "TODO", "CreatedBy_example", "88a6137e-1d99-4cde-8db8-015312f7d5e6") // ServiceAccountItem | Data required to create a new service account.
40+
serviceAccountItem := *openapiclient.NewServiceAccountItem("TODO", "TODO", "CreatedBy_example", "88a6137e-1d99-4cde-8db8-015312f7d5e6") // ServiceAccountItem | Data required to create a new service account.
4141
acceptVersion := "1.0.0" // string | Versioning: Optional header to request a specific version of the API. While it is possible to specify a particular major, minor or patch version it is not recommended for production use cases. Only the major version number should be specified as minor and patch versions can be updated without warning. (optional)
4242

4343
configuration := openapiclient.NewConfiguration()
@@ -177,7 +177,7 @@ import (
177177
func main() {
178178
serviceAccountName := "serviceAccountName_example" // string | Unique ID of the service account.
179179
ifMatch := "ifMatch_example" // string | Conditional Requests: This is required in order to perform an update of a resource. The value of this header should be the `ETag` of the resource when read (before being subsequently modified by the client).
180-
serviceAccountItem := *openapiclient.NewServiceAccountItem(*openapiclient.NewServiceAccountItemLinks(*openapiclient.NewHalLinkData("/endpoint/?limit=20&offset=0")), "TODO", "CreatedBy_example", "88a6137e-1d99-4cde-8db8-015312f7d5e6") // ServiceAccountItem | The new definition of the service account.
180+
serviceAccountItem := *openapiclient.NewServiceAccountItem("TODO", "TODO", "CreatedBy_example", "88a6137e-1d99-4cde-8db8-015312f7d5e6") // ServiceAccountItem | The new definition of the service account.
181181
acceptVersion := "1.0.0" // string | Versioning: Optional header to request a specific version of the API. While it is possible to specify a particular major, minor or patch version it is not recommended for production use cases. Only the major version number should be specified as minor and patch versions can be updated without warning. (optional)
182182

183183
configuration := openapiclient.NewConfiguration()

client/docs/ServiceAccountItem.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SPDX-License-Identifier: Apache-2.0
88

99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11-
**Links** | [**ServiceAccountItemLinks**](ServiceAccountItemLinks.md) | |
11+
**Links** | [**NullableServiceAccountItemLinks**](ServiceAccountItemLinks.md) | |
1212
**Metadata** | [**NullableCommonMetadata**](CommonMetadata.md) | |
1313
**CreatedBy** | **string** | ID of the user who created this service account. | [readonly]
1414
**Name** | **string** | Unique ID of the service account. | [readonly]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818

1919
### NewServiceAccountItem
2020

21-
`func NewServiceAccountItem(links ServiceAccountItemLinks, metadata NullableCommonMetadata, createdBy string, name string, ) *ServiceAccountItem`
21+
`func NewServiceAccountItem(links NullableServiceAccountItemLinks, metadata NullableCommonMetadata, createdBy string, name string, ) *ServiceAccountItem`
2222

2323
NewServiceAccountItem instantiates a new ServiceAccountItem object
2424
This constructor will assign default values to properties that have it defined,
@@ -53,6 +53,16 @@ and a boolean to check if the value has been set.
5353
SetLinks sets Links field to given value.
5454

5555

56+
### SetLinksNil
57+
58+
`func (o *ServiceAccountItem) SetLinksNil(b bool)`
59+
60+
SetLinksNil sets the value for Links to be an explicit nil
61+
62+
### UnsetLinks
63+
`func (o *ServiceAccountItem) UnsetLinks()`
64+
65+
UnsetLinks ensures that no value is present for Links, not even an explicit nil
5666
### GetMetadata
5767

5868
`func (o *ServiceAccountItem) GetMetadata() CommonMetadata`

client/go.mod

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
module github.com/ARM-software/embedded-development-services-client/client
22

3-
go 1.25
3+
go 1.23
44

55
require (
6-
github.com/ARM-software/golang-utils/utils v1.124.1
7-
github.com/stretchr/testify v1.11.1
8-
)
9-
10-
require (
11-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
12-
github.com/deckarep/golang-set/v2 v2.8.0 // indirect
13-
github.com/go-faker/faker/v4 v4.6.1 // indirect
14-
github.com/hashicorp/errwrap v1.0.0 // indirect
15-
github.com/hashicorp/go-multierror v1.1.1 // indirect
16-
github.com/petermattis/goid v0.0.0-20250813065127-a731cc31b4fe // indirect
17-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
18-
github.com/sasha-s/go-deadlock v0.3.6 // indirect
19-
go.uber.org/atomic v1.11.0 // indirect
20-
golang.org/x/sync v0.16.0 // indirect
21-
golang.org/x/text v0.28.0 // indirect
22-
gopkg.in/yaml.v3 v3.0.1 // indirect
236
)

client/go.sum

Lines changed: 11 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,11 @@
1-
github.com/ARM-software/golang-utils/utils v1.124.1 h1:fhVo9n5NjZr4LczBmoEphKvgAUL/q/4ElC4mYJjWxwA=
2-
github.com/ARM-software/golang-utils/utils v1.124.1/go.mod h1:40Hl7LPZj3S71ALZOUT2OXqJElV5HDk3blka/DaSabU=
3-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
4-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
5-
github.com/deckarep/golang-set/v2 v2.8.0 h1:swm0rlPCmdWn9mESxKOjWk8hXSqoxOp+ZlfuyaAdFlQ=
6-
github.com/deckarep/golang-set/v2 v2.8.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4=
7-
github.com/go-faker/faker/v4 v4.6.1 h1:xUyVpAjEtB04l6XFY0V/29oR332rOSPWV4lU8RwDt4k=
8-
github.com/go-faker/faker/v4 v4.6.1/go.mod h1:arSdxNCSt7mOhdk8tEolvHeIJ7eX4OX80wXjKKvkKBY=
9-
github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
10-
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
11-
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
12-
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
13-
github.com/petermattis/goid v0.0.0-20250813065127-a731cc31b4fe h1:vHpqOnPlnkba8iSxU4j/CvDSS9J4+F4473esQsYLGoE=
14-
github.com/petermattis/goid v0.0.0-20250813065127-a731cc31b4fe/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4=
15-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
16-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
17-
github.com/sasha-s/go-deadlock v0.3.6 h1:TR7sfOnZ7x00tWPfD397Peodt57KzMDo+9Ae9rMiUmw=
18-
github.com/sasha-s/go-deadlock v0.3.6/go.mod h1:CUqNyyvMxTyjFqDT7MRg9mb4Dv/btmGTqSR+rky/UXo=
19-
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
20-
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
21-
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
22-
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
23-
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
24-
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
25-
go.uber.org/mock v0.6.0 h1:hyF9dfmbgIX5EfOdasqLsWD6xqpNZlXblLB/Dbnwv3Y=
26-
go.uber.org/mock v0.6.0/go.mod h1:KiVJ4BqZJaMj4svdfmHM0AUx4NJYO8ZNpPnZn1Z+BBU=
27-
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
28-
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
29-
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
30-
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
31-
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
32-
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
33-
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
34-
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
1+
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
2+
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
3+
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
4+
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
5+
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg=
6+
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
7+
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw=
8+
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
9+
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
10+
google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=
11+
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=

client/model_pat_creation_item.go

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/model_pat_item.go

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)