You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*ServiceAccountAPI* | [**DeleteSAT**](docs/ServiceAccountAPI.md#deletesat) | **Delete** /service-accounts/{serviceAccountName}/tokens/{accessTokenName} | Delete the service access token for the service account
223
223
*ServiceAccountAPI* | [**DeleteServiceAccount**](docs/ServiceAccountAPI.md#deleteserviceaccount) | **Delete** /service-accounts/{serviceAccountName} | Delete a service account
224
224
*ServiceAccountAPI* | [**EditServiceAccount**](docs/ServiceAccountAPI.md#editserviceaccount) | **Put** /service-accounts/{serviceAccountName} | Update a service account
225
+
*ServiceAccountAPI* | [**GetSAT**](docs/ServiceAccountAPI.md#getsat) | **Get** /service-accounts/{serviceAccountName}/tokens/{accessTokenName} | Get a service access token.
225
226
*ServiceAccountAPI* | [**GetServiceAccount**](docs/ServiceAccountAPI.md#getserviceaccount) | **Get** /service-accounts/{serviceAccountName} | Get a service account
226
227
*ServiceAccountAPI* | [**ListSATs**](docs/ServiceAccountAPI.md#listsats) | **Get** /service-accounts/{serviceAccountName}/tokens | List all access tokens for the service account
227
228
*ServiceAccountAPI* | [**ListServiceAccounts**](docs/ServiceAccountAPI.md#listserviceaccounts) | **Get** /service-accounts/ | List all service accounts
Copy file name to clipboardExpand all lines: client/docs/ServiceAccessTokenItem.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,14 @@ Name | Type | Description | Notes
14
14
**LastUsed** | **time.Time** | When this token was last used to authenticate a request. | [readonly]
15
15
**Name** | **string** | Unique ID of the service access token. | [readonly]
16
16
**Secret** | Pointer to **string** | The access token. This field will only be returned by the service upon creation and the secret will not be re-retrievable. | [optional][readonly]
17
-
**SecretSuffix** | **string** | The four character suffix of the access token secret. | [readonly]
17
+
**SecretHint** | **string** | The four character hint of the access token secret. | [readonly]
18
18
**Title** | **string** | Human readable name of the service access token. |
19
19
20
20
## Methods
21
21
22
22
### NewServiceAccessTokenItem
23
23
24
-
`func NewServiceAccessTokenItem(links NullableAccessTokenItemLinks, metadata NullableCommonMetadata, createdBy string, lastUsed time.Time, name string, secretSuffix string, title string, ) *ServiceAccessTokenItem`
24
+
`func NewServiceAccessTokenItem(links NullableAccessTokenItemLinks, metadata NullableCommonMetadata, createdBy string, lastUsed time.Time, name string, secretHint string, title string, ) *ServiceAccessTokenItem`
25
25
26
26
NewServiceAccessTokenItem instantiates a new ServiceAccessTokenItem object
27
27
This constructor will assign default values to properties that have it defined,
@@ -181,24 +181,24 @@ SetSecret sets Secret field to given value.
181
181
182
182
HasSecret returns a boolean if a field has been set.
183
183
184
-
### GetSecretSuffix
184
+
### GetSecretHint
185
185
186
-
`func (o *ServiceAccessTokenItem) GetSecretSuffix() string`
186
+
`func (o *ServiceAccessTokenItem) GetSecretHint() string`
187
187
188
-
GetSecretSuffix returns the SecretSuffix field if non-nil, zero value otherwise.
188
+
GetSecretHint returns the SecretHint field if non-nil, zero value otherwise.
189
189
190
-
### GetSecretSuffixOk
190
+
### GetSecretHintOk
191
191
192
-
`func (o *ServiceAccessTokenItem) GetSecretSuffixOk() (*string, bool)`
192
+
`func (o *ServiceAccessTokenItem) GetSecretHintOk() (*string, bool)`
193
193
194
-
GetSecretSuffixOk returns a tuple with the SecretSuffix field if it's non-nil, zero value otherwise
194
+
GetSecretHintOk returns a tuple with the SecretHint field if it's non-nil, zero value otherwise
195
195
and a boolean to check if the value has been set.
196
196
197
-
### SetSecretSuffix
197
+
### SetSecretHint
198
198
199
-
`func (o *ServiceAccessTokenItem) SetSecretSuffix(v string)`
199
+
`func (o *ServiceAccessTokenItem) SetSecretHint(v string)`
200
200
201
-
SetSecretSuffix sets SecretSuffix field to given value.
201
+
SetSecretHint sets SecretHint field to given value.
[**DeleteSAT**](ServiceAccountAPI.md#DeleteSAT) | **Delete** /service-accounts/{serviceAccountName}/tokens/{accessTokenName} | Delete the service access token for the service account
14
14
[**DeleteServiceAccount**](ServiceAccountAPI.md#DeleteServiceAccount) | **Delete** /service-accounts/{serviceAccountName} | Delete a service account
15
15
[**EditServiceAccount**](ServiceAccountAPI.md#EditServiceAccount) | **Put** /service-accounts/{serviceAccountName} | Update a service account
16
+
[**GetSAT**](ServiceAccountAPI.md#GetSAT) | **Get** /service-accounts/{serviceAccountName}/tokens/{accessTokenName} | Get a service access token.
16
17
[**GetServiceAccount**](ServiceAccountAPI.md#GetServiceAccount) | **Get** /service-accounts/{serviceAccountName} | Get a service account
17
18
[**ListSATs**](ServiceAccountAPI.md#ListSATs) | **Get** /service-accounts/{serviceAccountName}/tokens | List all access tokens for the service account
18
19
[**ListServiceAccounts**](ServiceAccountAPI.md#ListServiceAccounts) | **Get** /service-accounts/ | List all service accounts
@@ -42,7 +43,7 @@ import (
42
43
43
44
funcmain() {
44
45
serviceAccountName:="serviceAccountName_example"// string | Unique ID of the service account.
45
-
serviceAccessTokenItem:= *openapiclient.NewServiceAccessTokenItem("TODO", "TODO", "CreatedBy_example", time.Now(), "88a6137e-1d99-4cde-8db8-015312f7d5e6", "SecretSuffix_example", "My token") // ServiceAccessTokenItem | Data required to create a new token.
46
+
serviceAccessTokenItem:= *openapiclient.NewServiceAccessTokenItem("TODO", "TODO", "CreatedBy_example", time.Now(), "88a6137e-1d99-4cde-8db8-015312f7d5e6", "SecretHint_example", "My token") // ServiceAccessTokenItem | Data required to create a new token.
46
47
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)
47
48
48
49
configuration:= openapiclient.NewConfiguration()
@@ -381,6 +382,81 @@ Name | Type | Description | Notes
accessTokenName:="accessTokenName_example"// string | Unique ID of the access token.
407
+
serviceAccountName:="serviceAccountName_example"// string | Unique ID of the service account.
408
+
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)
**acceptVersion** | **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. |
0 commit comments