Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type AccessToken
- func (o *AccessToken) GetActive() bool
- func (o *AccessToken) GetActiveOk() (*bool, bool)
- func (o *AccessToken) GetCreatedAt() time.Time
- func (o *AccessToken) GetCreatedAtOk() (*time.Time, bool)
- func (o *AccessToken) GetId() string
- func (o *AccessToken) GetIdOk() (*string, bool)
- func (o *AccessToken) GetToken() string
- func (o *AccessToken) GetTokenOk() (*string, bool)
- func (o *AccessToken) GetValidUntil() time.Time
- func (o *AccessToken) GetValidUntilOk() (*time.Time, bool)
- func (o AccessToken) MarshalJSON() ([]byte, error)
- func (o *AccessToken) SetActive(v bool)
- func (o *AccessToken) SetCreatedAt(v time.Time)
- func (o *AccessToken) SetId(v string)
- func (o *AccessToken) SetToken(v string)
- func (o *AccessToken) SetValidUntil(v time.Time)
- func (o AccessToken) ToMap() (map[string]interface{}, error)
- func (o *AccessToken) UnmarshalJSON(data []byte) (err error)
- type AccessTokenMetadata
- func (o *AccessTokenMetadata) GetActive() bool
- func (o *AccessTokenMetadata) GetActiveOk() (*bool, bool)
- func (o *AccessTokenMetadata) GetCreatedAt() time.Time
- func (o *AccessTokenMetadata) GetCreatedAtOk() (*time.Time, bool)
- func (o *AccessTokenMetadata) GetId() string
- func (o *AccessTokenMetadata) GetIdOk() (*string, bool)
- func (o *AccessTokenMetadata) GetValidUntil() time.Time
- func (o *AccessTokenMetadata) GetValidUntilOk() (*time.Time, bool)
- func (o AccessTokenMetadata) MarshalJSON() ([]byte, error)
- func (o *AccessTokenMetadata) SetActive(v bool)
- func (o *AccessTokenMetadata) SetCreatedAt(v time.Time)
- func (o *AccessTokenMetadata) SetId(v string)
- func (o *AccessTokenMetadata) SetValidUntil(v time.Time)
- func (o AccessTokenMetadata) ToMap() (map[string]interface{}, error)
- func (o *AccessTokenMetadata) UnmarshalJSON(data []byte) (err error)
- type ApiCreateAccessTokenRequest
- type ApiCreateFederatedIdentityProviderRequest
- func (r ApiCreateFederatedIdentityProviderRequest) CreateFederatedIdentityProviderPayload(createFederatedIdentityProviderPayload CreateFederatedIdentityProviderPayload) ApiCreateFederatedIdentityProviderRequest
- func (r ApiCreateFederatedIdentityProviderRequest) Execute() (*CreateFederatedIdentityProviderResponse, error)
- type ApiCreateServiceAccountKeyRequest
- type ApiCreateServiceAccountRequest
- type ApiCreateShortLivedAccessTokenRequest
- func (r ApiCreateShortLivedAccessTokenRequest) Assertion(assertion string) ApiCreateShortLivedAccessTokenRequest
- func (r ApiCreateShortLivedAccessTokenRequest) Execute() (*CreateShortLivedAccessTokenResponse, error)
- func (r ApiCreateShortLivedAccessTokenRequest) GrantType(grantType string) ApiCreateShortLivedAccessTokenRequest
- func (r ApiCreateShortLivedAccessTokenRequest) RefreshToken(refreshToken string) ApiCreateShortLivedAccessTokenRequest
- type ApiDeleteAccessTokenRequest
- type ApiDeleteServiceAccountKeyRequest
- type ApiDeleteServiceAccountRequest
- type ApiDeleteServiceFederatedIdentityProviderRequest
- type ApiGetJWKSRequest
- type ApiGetServiceAccountKeyRequest
- type ApiListAccessTokensRequest
- type ApiListFederatedIdentityProvidersRequest
- type ApiListServiceAccountKeysRequest
- type ApiListServiceAccountsRequest
- type ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
- func (r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) Execute() (*CreateFederatedIdentityProviderResponse, error)
- func (r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) PartialUpdateServiceAccountFederatedIdentityProviderPayload(...) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
- type ApiPartialUpdateServiceAccountKeyRequest
- func (r ApiPartialUpdateServiceAccountKeyRequest) Execute() (*PartialUpdateServiceAccountKeyResponse, error)
- func (r ApiPartialUpdateServiceAccountKeyRequest) PartialUpdateServiceAccountKeyPayload(partialUpdateServiceAccountKeyPayload PartialUpdateServiceAccountKeyPayload) ApiPartialUpdateServiceAccountKeyRequest
- type AuthError
- func (o *AuthError) GetError() AuthErrorError
- func (o *AuthError) GetErrorOk() (*AuthErrorError, bool)
- func (o AuthError) MarshalJSON() ([]byte, error)
- func (o *AuthError) SetError(v AuthErrorError)
- func (o AuthError) ToMap() (map[string]interface{}, error)
- func (o *AuthError) UnmarshalJSON(data []byte) (err error)
- type AuthErrorError
- func (o *AuthErrorError) GetCode() int32
- func (o *AuthErrorError) GetCodeOk() (*int32, bool)
- func (o *AuthErrorError) GetMessage() string
- func (o *AuthErrorError) GetMessageOk() (*string, bool)
- func (o *AuthErrorError) GetStatus() string
- func (o *AuthErrorError) GetStatusOk() (*string, bool)
- func (o AuthErrorError) MarshalJSON() ([]byte, error)
- func (o *AuthErrorError) SetCode(v int32)
- func (o *AuthErrorError) SetMessage(v string)
- func (o *AuthErrorError) SetStatus(v string)
- func (o AuthErrorError) ToMap() (map[string]interface{}, error)
- func (o *AuthErrorError) UnmarshalJSON(data []byte) (err error)
- type CreateAccessTokenPayload
- func (o *CreateAccessTokenPayload) GetTtlDays() int32
- func (o *CreateAccessTokenPayload) GetTtlDaysOk() (*int32, bool)
- func (o CreateAccessTokenPayload) MarshalJSON() ([]byte, error)
- func (o *CreateAccessTokenPayload) SetTtlDays(v int32)
- func (o CreateAccessTokenPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateAccessTokenPayload) UnmarshalJSON(data []byte) (err error)
- type CreateFederatedIdentityProviderPayload
- func (o *CreateFederatedIdentityProviderPayload) GetAssertions() []CreateFederatedIdentityProviderPayloadAssertionsInner
- func (o *CreateFederatedIdentityProviderPayload) GetAssertionsOk() ([]CreateFederatedIdentityProviderPayloadAssertionsInner, bool)
- func (o *CreateFederatedIdentityProviderPayload) GetIssuer() string
- func (o *CreateFederatedIdentityProviderPayload) GetIssuerOk() (*string, bool)
- func (o *CreateFederatedIdentityProviderPayload) GetName() string
- func (o *CreateFederatedIdentityProviderPayload) GetNameOk() (*string, bool)
- func (o *CreateFederatedIdentityProviderPayload) HasAssertions() bool
- func (o CreateFederatedIdentityProviderPayload) MarshalJSON() ([]byte, error)
- func (o *CreateFederatedIdentityProviderPayload) SetAssertions(v []CreateFederatedIdentityProviderPayloadAssertionsInner)
- func (o *CreateFederatedIdentityProviderPayload) SetIssuer(v string)
- func (o *CreateFederatedIdentityProviderPayload) SetName(v string)
- func (o CreateFederatedIdentityProviderPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateFederatedIdentityProviderPayload) UnmarshalJSON(data []byte) (err error)
- type CreateFederatedIdentityProviderPayloadAssertionsInner
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetItem() string
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetItemOk() (*string, bool)
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetOperator() string
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetOperatorOk() (*string, bool)
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetValue() string
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetValueOk() (*string, bool)
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) HasItem() bool
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) HasOperator() bool
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) HasValue() bool
- func (o CreateFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON() ([]byte, error)
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) SetItem(v string)
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) SetOperator(v string)
- func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) SetValue(v string)
- func (o CreateFederatedIdentityProviderPayloadAssertionsInner) ToMap() (map[string]interface{}, error)
- type CreateFederatedIdentityProviderResponse
- func (o *CreateFederatedIdentityProviderResponse) GetAssertions() []CreateFederatedIdentityProviderResponseAssertionsInner
- func (o *CreateFederatedIdentityProviderResponse) GetAssertionsOk() ([]CreateFederatedIdentityProviderResponseAssertionsInner, bool)
- func (o *CreateFederatedIdentityProviderResponse) GetCreatedAt() time.Time
- func (o *CreateFederatedIdentityProviderResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateFederatedIdentityProviderResponse) GetIssuer() string
- func (o *CreateFederatedIdentityProviderResponse) GetIssuerOk() (*string, bool)
- func (o *CreateFederatedIdentityProviderResponse) GetName() string
- func (o *CreateFederatedIdentityProviderResponse) GetNameOk() (*string, bool)
- func (o *CreateFederatedIdentityProviderResponse) GetUpdatedAt() time.Time
- func (o *CreateFederatedIdentityProviderResponse) GetUpdatedAtOk() (*time.Time, bool)
- func (o CreateFederatedIdentityProviderResponse) MarshalJSON() ([]byte, error)
- func (o *CreateFederatedIdentityProviderResponse) SetAssertions(v []CreateFederatedIdentityProviderResponseAssertionsInner)
- func (o *CreateFederatedIdentityProviderResponse) SetCreatedAt(v time.Time)
- func (o *CreateFederatedIdentityProviderResponse) SetIssuer(v string)
- func (o *CreateFederatedIdentityProviderResponse) SetName(v string)
- func (o *CreateFederatedIdentityProviderResponse) SetUpdatedAt(v time.Time)
- func (o CreateFederatedIdentityProviderResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateFederatedIdentityProviderResponse) UnmarshalJSON(data []byte) (err error)
- type CreateFederatedIdentityProviderResponseAssertionsInner
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetItem() string
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetItemOk() (*string, bool)
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetOperator() string
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetOperatorOk() (*string, bool)
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetValue() string
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetValueOk() (*string, bool)
- func (o CreateFederatedIdentityProviderResponseAssertionsInner) MarshalJSON() ([]byte, error)
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) SetItem(v string)
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) SetOperator(v string)
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) SetValue(v string)
- func (o CreateFederatedIdentityProviderResponseAssertionsInner) ToMap() (map[string]interface{}, error)
- func (o *CreateFederatedIdentityProviderResponseAssertionsInner) UnmarshalJSON(data []byte) (err error)
- type CreateServiceAccountKeyPayload
- func (o *CreateServiceAccountKeyPayload) GetAlgorithm() string
- func (o *CreateServiceAccountKeyPayload) GetAlgorithmOk() (*string, bool)
- func (o *CreateServiceAccountKeyPayload) GetPublicKey() string
- func (o *CreateServiceAccountKeyPayload) GetPublicKeyOk() (*string, bool)
- func (o *CreateServiceAccountKeyPayload) GetValidUntil() time.Time
- func (o *CreateServiceAccountKeyPayload) GetValidUntilOk() (*time.Time, bool)
- func (o *CreateServiceAccountKeyPayload) HasAlgorithm() bool
- func (o *CreateServiceAccountKeyPayload) HasPublicKey() bool
- func (o *CreateServiceAccountKeyPayload) HasValidUntil() bool
- func (o CreateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)
- func (o *CreateServiceAccountKeyPayload) SetAlgorithm(v string)
- func (o *CreateServiceAccountKeyPayload) SetPublicKey(v string)
- func (o *CreateServiceAccountKeyPayload) SetValidUntil(v time.Time)
- func (o CreateServiceAccountKeyPayload) ToMap() (map[string]interface{}, error)
- type CreateServiceAccountKeyResponse
- func (o *CreateServiceAccountKeyResponse) GetActive() bool
- func (o *CreateServiceAccountKeyResponse) GetActiveOk() (*bool, bool)
- func (o *CreateServiceAccountKeyResponse) GetCreatedAt() time.Time
- func (o *CreateServiceAccountKeyResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *CreateServiceAccountKeyResponse) GetCredentials() CreateServiceAccountKeyResponseCredentials
- func (o *CreateServiceAccountKeyResponse) GetCredentialsOk() (*CreateServiceAccountKeyResponseCredentials, bool)
- func (o *CreateServiceAccountKeyResponse) GetId() string
- func (o *CreateServiceAccountKeyResponse) GetIdOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponse) GetKeyAlgorithm() string
- func (o *CreateServiceAccountKeyResponse) GetKeyAlgorithmOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponse) GetKeyOrigin() string
- func (o *CreateServiceAccountKeyResponse) GetKeyOriginOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponse) GetKeyType() string
- func (o *CreateServiceAccountKeyResponse) GetKeyTypeOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponse) GetPublicKey() string
- func (o *CreateServiceAccountKeyResponse) GetPublicKeyOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponse) GetValidUntil() time.Time
- func (o *CreateServiceAccountKeyResponse) GetValidUntilOk() (*time.Time, bool)
- func (o *CreateServiceAccountKeyResponse) HasValidUntil() bool
- func (o CreateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
- func (o *CreateServiceAccountKeyResponse) SetActive(v bool)
- func (o *CreateServiceAccountKeyResponse) SetCreatedAt(v time.Time)
- func (o *CreateServiceAccountKeyResponse) SetCredentials(v CreateServiceAccountKeyResponseCredentials)
- func (o *CreateServiceAccountKeyResponse) SetId(v string)
- func (o *CreateServiceAccountKeyResponse) SetKeyAlgorithm(v string)
- func (o *CreateServiceAccountKeyResponse) SetKeyOrigin(v string)
- func (o *CreateServiceAccountKeyResponse) SetKeyType(v string)
- func (o *CreateServiceAccountKeyResponse) SetPublicKey(v string)
- func (o *CreateServiceAccountKeyResponse) SetValidUntil(v time.Time)
- func (o CreateServiceAccountKeyResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateServiceAccountKeyResponse) UnmarshalJSON(data []byte) (err error)
- type CreateServiceAccountKeyResponseCredentials
- func (o *CreateServiceAccountKeyResponseCredentials) GetAud() string
- func (o *CreateServiceAccountKeyResponseCredentials) GetAudOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponseCredentials) GetIss() string
- func (o *CreateServiceAccountKeyResponseCredentials) GetIssOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponseCredentials) GetKid() string
- func (o *CreateServiceAccountKeyResponseCredentials) GetKidOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponseCredentials) GetPrivateKey() string
- func (o *CreateServiceAccountKeyResponseCredentials) GetPrivateKeyOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponseCredentials) GetSub() string
- func (o *CreateServiceAccountKeyResponseCredentials) GetSubOk() (*string, bool)
- func (o *CreateServiceAccountKeyResponseCredentials) HasPrivateKey() bool
- func (o CreateServiceAccountKeyResponseCredentials) MarshalJSON() ([]byte, error)
- func (o *CreateServiceAccountKeyResponseCredentials) SetAud(v string)
- func (o *CreateServiceAccountKeyResponseCredentials) SetIss(v string)
- func (o *CreateServiceAccountKeyResponseCredentials) SetKid(v string)
- func (o *CreateServiceAccountKeyResponseCredentials) SetPrivateKey(v string)
- func (o *CreateServiceAccountKeyResponseCredentials) SetSub(v string)
- func (o CreateServiceAccountKeyResponseCredentials) ToMap() (map[string]interface{}, error)
- func (o *CreateServiceAccountKeyResponseCredentials) UnmarshalJSON(data []byte) (err error)
- type CreateServiceAccountPayload
- func (o *CreateServiceAccountPayload) GetName() string
- func (o *CreateServiceAccountPayload) GetNameOk() (*string, bool)
- func (o CreateServiceAccountPayload) MarshalJSON() ([]byte, error)
- func (o *CreateServiceAccountPayload) SetName(v string)
- func (o CreateServiceAccountPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateServiceAccountPayload) UnmarshalJSON(data []byte) (err error)
- type CreateShortLivedAccessTokenResponse
- func (o *CreateShortLivedAccessTokenResponse) GetAccessToken() string
- func (o *CreateShortLivedAccessTokenResponse) GetAccessTokenOk() (*string, bool)
- func (o *CreateShortLivedAccessTokenResponse) GetExpiresIn() int32
- func (o *CreateShortLivedAccessTokenResponse) GetExpiresInOk() (*int32, bool)
- func (o *CreateShortLivedAccessTokenResponse) GetRefreshToken() string
- func (o *CreateShortLivedAccessTokenResponse) GetRefreshTokenOk() (*string, bool)
- func (o *CreateShortLivedAccessTokenResponse) GetScope() string
- func (o *CreateShortLivedAccessTokenResponse) GetScopeOk() (*string, bool)
- func (o *CreateShortLivedAccessTokenResponse) GetTokenType() string
- func (o *CreateShortLivedAccessTokenResponse) GetTokenTypeOk() (*string, bool)
- func (o CreateShortLivedAccessTokenResponse) MarshalJSON() ([]byte, error)
- func (o *CreateShortLivedAccessTokenResponse) SetAccessToken(v string)
- func (o *CreateShortLivedAccessTokenResponse) SetExpiresIn(v int32)
- func (o *CreateShortLivedAccessTokenResponse) SetRefreshToken(v string)
- func (o *CreateShortLivedAccessTokenResponse) SetScope(v string)
- func (o *CreateShortLivedAccessTokenResponse) SetTokenType(v string)
- func (o CreateShortLivedAccessTokenResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateShortLivedAccessTokenResponse) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateAccessToken(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateAccessTokenRequest
- func (a *DefaultAPIService) CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*AccessToken, error)
- func (a *DefaultAPIService) CreateFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateFederatedIdentityProviderRequest
- func (a *DefaultAPIService) CreateFederatedIdentityProviderExecute(r ApiCreateFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
- func (a *DefaultAPIService) CreateServiceAccount(ctx context.Context, projectId string) ApiCreateServiceAccountRequest
- func (a *DefaultAPIService) CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)
- func (a *DefaultAPIService) CreateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateServiceAccountKeyRequest
- func (a *DefaultAPIService) CreateServiceAccountKeyExecute(r ApiCreateServiceAccountKeyRequest) (*CreateServiceAccountKeyResponse, error)
- func (a *DefaultAPIService) CreateShortLivedAccessToken(ctx context.Context) ApiCreateShortLivedAccessTokenRequest
- func (a *DefaultAPIService) CreateShortLivedAccessTokenExecute(r ApiCreateShortLivedAccessTokenRequest) (*CreateShortLivedAccessTokenResponse, error)
- func (a *DefaultAPIService) DeleteAccessToken(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiDeleteAccessTokenRequest
- func (a *DefaultAPIService) DeleteAccessTokenExecute(r ApiDeleteAccessTokenRequest) error
- func (a *DefaultAPIService) DeleteServiceAccount(ctx context.Context, projectId string, serviceAccountEmail string) ApiDeleteServiceAccountRequest
- func (a *DefaultAPIService) DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) error
- func (a *DefaultAPIService) DeleteServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiDeleteServiceAccountKeyRequest
- func (a *DefaultAPIService) DeleteServiceAccountKeyExecute(r ApiDeleteServiceAccountKeyRequest) error
- func (a *DefaultAPIService) DeleteServiceFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiDeleteServiceFederatedIdentityProviderRequest
- func (a *DefaultAPIService) DeleteServiceFederatedIdentityProviderExecute(r ApiDeleteServiceFederatedIdentityProviderRequest) error
- func (a *DefaultAPIService) GetJWKS(ctx context.Context, serviceAccountEmail string) ApiGetJWKSRequest
- func (a *DefaultAPIService) GetJWKSExecute(r ApiGetJWKSRequest) (*JWKS, error)
- func (a *DefaultAPIService) GetServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiGetServiceAccountKeyRequest
- func (a *DefaultAPIService) GetServiceAccountKeyExecute(r ApiGetServiceAccountKeyRequest) (*GetServiceAccountKeyResponse, error)
- func (a *DefaultAPIService) ListAccessTokens(ctx context.Context, projectId string, serviceAccountEmail string) ApiListAccessTokensRequest
- func (a *DefaultAPIService) ListAccessTokensExecute(r ApiListAccessTokensRequest) (*ListAccessTokensResponse, error)
- func (a *DefaultAPIService) ListFederatedIdentityProviders(ctx context.Context, projectId string, serviceAccountEmail string) ApiListFederatedIdentityProvidersRequest
- func (a *DefaultAPIService) ListFederatedIdentityProvidersExecute(r ApiListFederatedIdentityProvidersRequest) (*FederatedListFederatedIdentityProvidersResponse, error)
- func (a *DefaultAPIService) ListServiceAccountKeys(ctx context.Context, projectId string, serviceAccountEmail string) ApiListServiceAccountKeysRequest
- func (a *DefaultAPIService) ListServiceAccountKeysExecute(r ApiListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)
- func (a *DefaultAPIService) ListServiceAccounts(ctx context.Context, projectId string) ApiListServiceAccountsRequest
- func (a *DefaultAPIService) ListServiceAccountsExecute(r ApiListServiceAccountsRequest) (*ListServiceAccountsResponse, error)
- func (a *DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
- func (a *DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProviderExecute(r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
- func (a *DefaultAPIService) PartialUpdateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiPartialUpdateServiceAccountKeyRequest
- func (a *DefaultAPIService) PartialUpdateServiceAccountKeyExecute(r ApiPartialUpdateServiceAccountKeyRequest) (*PartialUpdateServiceAccountKeyResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateAccessToken(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateAccessTokenRequest
- func (a DefaultAPIServiceMock) CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*AccessToken, error)
- func (a DefaultAPIServiceMock) CreateFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateFederatedIdentityProviderRequest
- func (a DefaultAPIServiceMock) CreateFederatedIdentityProviderExecute(r ApiCreateFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
- func (a DefaultAPIServiceMock) CreateServiceAccount(ctx context.Context, projectId string) ApiCreateServiceAccountRequest
- func (a DefaultAPIServiceMock) CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)
- func (a DefaultAPIServiceMock) CreateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateServiceAccountKeyRequest
- func (a DefaultAPIServiceMock) CreateServiceAccountKeyExecute(r ApiCreateServiceAccountKeyRequest) (*CreateServiceAccountKeyResponse, error)
- func (a DefaultAPIServiceMock) CreateShortLivedAccessToken(ctx context.Context) ApiCreateShortLivedAccessTokenRequest
- func (a DefaultAPIServiceMock) CreateShortLivedAccessTokenExecute(r ApiCreateShortLivedAccessTokenRequest) (*CreateShortLivedAccessTokenResponse, error)
- func (a DefaultAPIServiceMock) DeleteAccessToken(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiDeleteAccessTokenRequest
- func (a DefaultAPIServiceMock) DeleteAccessTokenExecute(r ApiDeleteAccessTokenRequest) error
- func (a DefaultAPIServiceMock) DeleteServiceAccount(ctx context.Context, projectId string, serviceAccountEmail string) ApiDeleteServiceAccountRequest
- func (a DefaultAPIServiceMock) DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) error
- func (a DefaultAPIServiceMock) DeleteServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiDeleteServiceAccountKeyRequest
- func (a DefaultAPIServiceMock) DeleteServiceAccountKeyExecute(r ApiDeleteServiceAccountKeyRequest) error
- func (a DefaultAPIServiceMock) DeleteServiceFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiDeleteServiceFederatedIdentityProviderRequest
- func (a DefaultAPIServiceMock) DeleteServiceFederatedIdentityProviderExecute(r ApiDeleteServiceFederatedIdentityProviderRequest) error
- func (a DefaultAPIServiceMock) GetJWKS(ctx context.Context, serviceAccountEmail string) ApiGetJWKSRequest
- func (a DefaultAPIServiceMock) GetJWKSExecute(r ApiGetJWKSRequest) (*JWKS, error)
- func (a DefaultAPIServiceMock) GetServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiGetServiceAccountKeyRequest
- func (a DefaultAPIServiceMock) GetServiceAccountKeyExecute(r ApiGetServiceAccountKeyRequest) (*GetServiceAccountKeyResponse, error)
- func (a DefaultAPIServiceMock) ListAccessTokens(ctx context.Context, projectId string, serviceAccountEmail string) ApiListAccessTokensRequest
- func (a DefaultAPIServiceMock) ListAccessTokensExecute(r ApiListAccessTokensRequest) (*ListAccessTokensResponse, error)
- func (a DefaultAPIServiceMock) ListFederatedIdentityProviders(ctx context.Context, projectId string, serviceAccountEmail string) ApiListFederatedIdentityProvidersRequest
- func (a DefaultAPIServiceMock) ListFederatedIdentityProvidersExecute(r ApiListFederatedIdentityProvidersRequest) (*FederatedListFederatedIdentityProvidersResponse, error)
- func (a DefaultAPIServiceMock) ListServiceAccountKeys(ctx context.Context, projectId string, serviceAccountEmail string) ApiListServiceAccountKeysRequest
- func (a DefaultAPIServiceMock) ListServiceAccountKeysExecute(r ApiListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)
- func (a DefaultAPIServiceMock) ListServiceAccounts(ctx context.Context, projectId string) ApiListServiceAccountsRequest
- func (a DefaultAPIServiceMock) ListServiceAccountsExecute(r ApiListServiceAccountsRequest) (*ListServiceAccountsResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateServiceAccountFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
- func (a DefaultAPIServiceMock) PartialUpdateServiceAccountFederatedIdentityProviderExecute(r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
- func (a DefaultAPIServiceMock) PartialUpdateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, ...) ApiPartialUpdateServiceAccountKeyRequest
- func (a DefaultAPIServiceMock) PartialUpdateServiceAccountKeyExecute(r ApiPartialUpdateServiceAccountKeyRequest) (*PartialUpdateServiceAccountKeyResponse, error)
- type Error
- func (o *Error) GetError() string
- func (o *Error) GetErrorOk() (*string, bool)
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetPath() string
- func (o *Error) GetPathOk() (*string, bool)
- func (o *Error) GetStatus() int32
- func (o *Error) GetStatusOk() (*int32, bool)
- func (o *Error) GetTimeStamp() time.Time
- func (o *Error) GetTimeStampOk() (*time.Time, bool)
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetError(v string)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetPath(v string)
- func (o *Error) SetStatus(v int32)
- func (o *Error) SetTimeStamp(v time.Time)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type FederatedListFederatedIdentityProvidersResponse
- func NewFederatedListFederatedIdentityProvidersResponse(itemsPerPage float32, resources []CreateFederatedIdentityProviderResponse, ...) *FederatedListFederatedIdentityProvidersResponse
- func NewFederatedListFederatedIdentityProvidersResponseWithDefaults() *FederatedListFederatedIdentityProvidersResponse
- func (o *FederatedListFederatedIdentityProvidersResponse) GetItemsPerPage() float32
- func (o *FederatedListFederatedIdentityProvidersResponse) GetItemsPerPageOk() (*float32, bool)
- func (o *FederatedListFederatedIdentityProvidersResponse) GetResources() []CreateFederatedIdentityProviderResponse
- func (o *FederatedListFederatedIdentityProvidersResponse) GetResourcesOk() ([]CreateFederatedIdentityProviderResponse, bool)
- func (o *FederatedListFederatedIdentityProvidersResponse) GetStartIndex() float32
- func (o *FederatedListFederatedIdentityProvidersResponse) GetStartIndexOk() (*float32, bool)
- func (o *FederatedListFederatedIdentityProvidersResponse) GetTotalResults() float32
- func (o *FederatedListFederatedIdentityProvidersResponse) GetTotalResultsOk() (*float32, bool)
- func (o FederatedListFederatedIdentityProvidersResponse) MarshalJSON() ([]byte, error)
- func (o *FederatedListFederatedIdentityProvidersResponse) SetItemsPerPage(v float32)
- func (o *FederatedListFederatedIdentityProvidersResponse) SetResources(v []CreateFederatedIdentityProviderResponse)
- func (o *FederatedListFederatedIdentityProvidersResponse) SetStartIndex(v float32)
- func (o *FederatedListFederatedIdentityProvidersResponse) SetTotalResults(v float32)
- func (o FederatedListFederatedIdentityProvidersResponse) ToMap() (map[string]interface{}, error)
- func (o *FederatedListFederatedIdentityProvidersResponse) UnmarshalJSON(data []byte) (err error)
- type GetServiceAccountKeyResponse
- func (o *GetServiceAccountKeyResponse) GetActive() bool
- func (o *GetServiceAccountKeyResponse) GetActiveOk() (*bool, bool)
- func (o *GetServiceAccountKeyResponse) GetCreatedAt() time.Time
- func (o *GetServiceAccountKeyResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *GetServiceAccountKeyResponse) GetCredentials() GetServiceAccountKeyResponseCredentials
- func (o *GetServiceAccountKeyResponse) GetCredentialsOk() (*GetServiceAccountKeyResponseCredentials, bool)
- func (o *GetServiceAccountKeyResponse) GetId() string
- func (o *GetServiceAccountKeyResponse) GetIdOk() (*string, bool)
- func (o *GetServiceAccountKeyResponse) GetKeyAlgorithm() string
- func (o *GetServiceAccountKeyResponse) GetKeyAlgorithmOk() (*string, bool)
- func (o *GetServiceAccountKeyResponse) GetKeyOrigin() string
- func (o *GetServiceAccountKeyResponse) GetKeyOriginOk() (*string, bool)
- func (o *GetServiceAccountKeyResponse) GetKeyType() string
- func (o *GetServiceAccountKeyResponse) GetKeyTypeOk() (*string, bool)
- func (o *GetServiceAccountKeyResponse) GetPublicKey() string
- func (o *GetServiceAccountKeyResponse) GetPublicKeyOk() (*string, bool)
- func (o *GetServiceAccountKeyResponse) GetValidUntil() time.Time
- func (o *GetServiceAccountKeyResponse) GetValidUntilOk() (*time.Time, bool)
- func (o *GetServiceAccountKeyResponse) HasPublicKey() bool
- func (o *GetServiceAccountKeyResponse) HasValidUntil() bool
- func (o GetServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
- func (o *GetServiceAccountKeyResponse) SetActive(v bool)
- func (o *GetServiceAccountKeyResponse) SetCreatedAt(v time.Time)
- func (o *GetServiceAccountKeyResponse) SetCredentials(v GetServiceAccountKeyResponseCredentials)
- func (o *GetServiceAccountKeyResponse) SetId(v string)
- func (o *GetServiceAccountKeyResponse) SetKeyAlgorithm(v string)
- func (o *GetServiceAccountKeyResponse) SetKeyOrigin(v string)
- func (o *GetServiceAccountKeyResponse) SetKeyType(v string)
- func (o *GetServiceAccountKeyResponse) SetPublicKey(v string)
- func (o *GetServiceAccountKeyResponse) SetValidUntil(v time.Time)
- func (o GetServiceAccountKeyResponse) ToMap() (map[string]interface{}, error)
- func (o *GetServiceAccountKeyResponse) UnmarshalJSON(data []byte) (err error)
- type GetServiceAccountKeyResponseCredentials
- func (o *GetServiceAccountKeyResponseCredentials) GetAud() string
- func (o *GetServiceAccountKeyResponseCredentials) GetAudOk() (*string, bool)
- func (o *GetServiceAccountKeyResponseCredentials) GetIss() string
- func (o *GetServiceAccountKeyResponseCredentials) GetIssOk() (*string, bool)
- func (o *GetServiceAccountKeyResponseCredentials) GetKid() string
- func (o *GetServiceAccountKeyResponseCredentials) GetKidOk() (*string, bool)
- func (o *GetServiceAccountKeyResponseCredentials) GetSub() string
- func (o *GetServiceAccountKeyResponseCredentials) GetSubOk() (*string, bool)
- func (o GetServiceAccountKeyResponseCredentials) MarshalJSON() ([]byte, error)
- func (o *GetServiceAccountKeyResponseCredentials) SetAud(v string)
- func (o *GetServiceAccountKeyResponseCredentials) SetIss(v string)
- func (o *GetServiceAccountKeyResponseCredentials) SetKid(v string)
- func (o *GetServiceAccountKeyResponseCredentials) SetSub(v string)
- func (o GetServiceAccountKeyResponseCredentials) ToMap() (map[string]interface{}, error)
- func (o *GetServiceAccountKeyResponseCredentials) UnmarshalJSON(data []byte) (err error)
- type JWK
- func (o *JWK) GetAlg() string
- func (o *JWK) GetAlgOk() (*string, bool)
- func (o *JWK) GetE() string
- func (o *JWK) GetEOk() (*string, bool)
- func (o *JWK) GetKid() string
- func (o *JWK) GetKidOk() (*string, bool)
- func (o *JWK) GetKs() string
- func (o *JWK) GetKsOk() (*string, bool)
- func (o *JWK) GetN() string
- func (o *JWK) GetNOk() (*string, bool)
- func (o *JWK) GetOps() string
- func (o *JWK) GetOpsOk() (*string, bool)
- func (o *JWK) GetUse() string
- func (o *JWK) GetUseOk() (*string, bool)
- func (o *JWK) GetX5c() string
- func (o *JWK) GetX5cOk() (*string, bool)
- func (o *JWK) GetX5t() string
- func (o *JWK) GetX5t256() string
- func (o *JWK) GetX5t256Ok() (*string, bool)
- func (o *JWK) GetX5tOk() (*string, bool)
- func (o *JWK) GetX5u() string
- func (o *JWK) GetX5uOk() (*string, bool)
- func (o *JWK) HasAlg() bool
- func (o *JWK) HasKid() bool
- func (o *JWK) HasKs() bool
- func (o *JWK) HasOps() bool
- func (o *JWK) HasUse() bool
- func (o *JWK) HasX5c() bool
- func (o *JWK) HasX5t() bool
- func (o *JWK) HasX5t256() bool
- func (o *JWK) HasX5u() bool
- func (o JWK) MarshalJSON() ([]byte, error)
- func (o *JWK) SetAlg(v string)
- func (o *JWK) SetE(v string)
- func (o *JWK) SetKid(v string)
- func (o *JWK) SetKs(v string)
- func (o *JWK) SetN(v string)
- func (o *JWK) SetOps(v string)
- func (o *JWK) SetUse(v string)
- func (o *JWK) SetX5c(v string)
- func (o *JWK) SetX5t(v string)
- func (o *JWK) SetX5t256(v string)
- func (o *JWK) SetX5u(v string)
- func (o JWK) ToMap() (map[string]interface{}, error)
- func (o *JWK) UnmarshalJSON(data []byte) (err error)
- type JWKS
- type ListAccessTokensResponse
- func (o *ListAccessTokensResponse) GetItems() []AccessTokenMetadata
- func (o *ListAccessTokensResponse) GetItemsOk() ([]AccessTokenMetadata, bool)
- func (o *ListAccessTokensResponse) HasItems() bool
- func (o ListAccessTokensResponse) MarshalJSON() ([]byte, error)
- func (o *ListAccessTokensResponse) SetItems(v []AccessTokenMetadata)
- func (o ListAccessTokensResponse) ToMap() (map[string]interface{}, error)
- type ListServiceAccountKeysResponse
- func (o *ListServiceAccountKeysResponse) GetItems() []ServiceAccountKeyListResponse
- func (o *ListServiceAccountKeysResponse) GetItemsOk() ([]ServiceAccountKeyListResponse, bool)
- func (o ListServiceAccountKeysResponse) MarshalJSON() ([]byte, error)
- func (o *ListServiceAccountKeysResponse) SetItems(v []ServiceAccountKeyListResponse)
- func (o ListServiceAccountKeysResponse) ToMap() (map[string]interface{}, error)
- func (o *ListServiceAccountKeysResponse) UnmarshalJSON(data []byte) (err error)
- type ListServiceAccountsResponse
- func (o *ListServiceAccountsResponse) GetItems() []ServiceAccount
- func (o *ListServiceAccountsResponse) GetItemsOk() ([]ServiceAccount, bool)
- func (o ListServiceAccountsResponse) MarshalJSON() ([]byte, error)
- func (o *ListServiceAccountsResponse) SetItems(v []ServiceAccount)
- func (o ListServiceAccountsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListServiceAccountsResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableAccessToken
- func (v NullableAccessToken) Get() *AccessToken
- func (v NullableAccessToken) IsSet() bool
- func (v NullableAccessToken) MarshalJSON() ([]byte, error)
- func (v *NullableAccessToken) Set(val *AccessToken)
- func (v *NullableAccessToken) UnmarshalJSON(src []byte) error
- func (v *NullableAccessToken) Unset()
- type NullableAccessTokenMetadata
- func (v NullableAccessTokenMetadata) Get() *AccessTokenMetadata
- func (v NullableAccessTokenMetadata) IsSet() bool
- func (v NullableAccessTokenMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableAccessTokenMetadata) Set(val *AccessTokenMetadata)
- func (v *NullableAccessTokenMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableAccessTokenMetadata) Unset()
- type NullableAuthError
- type NullableAuthErrorError
- func (v NullableAuthErrorError) Get() *AuthErrorError
- func (v NullableAuthErrorError) IsSet() bool
- func (v NullableAuthErrorError) MarshalJSON() ([]byte, error)
- func (v *NullableAuthErrorError) Set(val *AuthErrorError)
- func (v *NullableAuthErrorError) UnmarshalJSON(src []byte) error
- func (v *NullableAuthErrorError) Unset()
- type NullableBool
- type NullableCreateAccessTokenPayload
- func (v NullableCreateAccessTokenPayload) Get() *CreateAccessTokenPayload
- func (v NullableCreateAccessTokenPayload) IsSet() bool
- func (v NullableCreateAccessTokenPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAccessTokenPayload) Set(val *CreateAccessTokenPayload)
- func (v *NullableCreateAccessTokenPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAccessTokenPayload) Unset()
- type NullableCreateFederatedIdentityProviderPayload
- func (v NullableCreateFederatedIdentityProviderPayload) Get() *CreateFederatedIdentityProviderPayload
- func (v NullableCreateFederatedIdentityProviderPayload) IsSet() bool
- func (v NullableCreateFederatedIdentityProviderPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFederatedIdentityProviderPayload) Set(val *CreateFederatedIdentityProviderPayload)
- func (v *NullableCreateFederatedIdentityProviderPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFederatedIdentityProviderPayload) Unset()
- type NullableCreateFederatedIdentityProviderPayloadAssertionsInner
- func (v NullableCreateFederatedIdentityProviderPayloadAssertionsInner) Get() *CreateFederatedIdentityProviderPayloadAssertionsInner
- func (v NullableCreateFederatedIdentityProviderPayloadAssertionsInner) IsSet() bool
- func (v NullableCreateFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFederatedIdentityProviderPayloadAssertionsInner) Set(val *CreateFederatedIdentityProviderPayloadAssertionsInner)
- func (v *NullableCreateFederatedIdentityProviderPayloadAssertionsInner) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFederatedIdentityProviderPayloadAssertionsInner) Unset()
- type NullableCreateFederatedIdentityProviderResponse
- func (v NullableCreateFederatedIdentityProviderResponse) Get() *CreateFederatedIdentityProviderResponse
- func (v NullableCreateFederatedIdentityProviderResponse) IsSet() bool
- func (v NullableCreateFederatedIdentityProviderResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFederatedIdentityProviderResponse) Set(val *CreateFederatedIdentityProviderResponse)
- func (v *NullableCreateFederatedIdentityProviderResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFederatedIdentityProviderResponse) Unset()
- type NullableCreateFederatedIdentityProviderResponseAssertionsInner
- func (v NullableCreateFederatedIdentityProviderResponseAssertionsInner) Get() *CreateFederatedIdentityProviderResponseAssertionsInner
- func (v NullableCreateFederatedIdentityProviderResponseAssertionsInner) IsSet() bool
- func (v NullableCreateFederatedIdentityProviderResponseAssertionsInner) MarshalJSON() ([]byte, error)
- func (v *NullableCreateFederatedIdentityProviderResponseAssertionsInner) Set(val *CreateFederatedIdentityProviderResponseAssertionsInner)
- func (v *NullableCreateFederatedIdentityProviderResponseAssertionsInner) UnmarshalJSON(src []byte) error
- func (v *NullableCreateFederatedIdentityProviderResponseAssertionsInner) Unset()
- type NullableCreateServiceAccountKeyPayload
- func (v NullableCreateServiceAccountKeyPayload) Get() *CreateServiceAccountKeyPayload
- func (v NullableCreateServiceAccountKeyPayload) IsSet() bool
- func (v NullableCreateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServiceAccountKeyPayload) Set(val *CreateServiceAccountKeyPayload)
- func (v *NullableCreateServiceAccountKeyPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServiceAccountKeyPayload) Unset()
- type NullableCreateServiceAccountKeyResponse
- func (v NullableCreateServiceAccountKeyResponse) Get() *CreateServiceAccountKeyResponse
- func (v NullableCreateServiceAccountKeyResponse) IsSet() bool
- func (v NullableCreateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServiceAccountKeyResponse) Set(val *CreateServiceAccountKeyResponse)
- func (v *NullableCreateServiceAccountKeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServiceAccountKeyResponse) Unset()
- type NullableCreateServiceAccountKeyResponseCredentials
- func (v NullableCreateServiceAccountKeyResponseCredentials) Get() *CreateServiceAccountKeyResponseCredentials
- func (v NullableCreateServiceAccountKeyResponseCredentials) IsSet() bool
- func (v NullableCreateServiceAccountKeyResponseCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServiceAccountKeyResponseCredentials) Set(val *CreateServiceAccountKeyResponseCredentials)
- func (v *NullableCreateServiceAccountKeyResponseCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServiceAccountKeyResponseCredentials) Unset()
- type NullableCreateServiceAccountPayload
- func (v NullableCreateServiceAccountPayload) Get() *CreateServiceAccountPayload
- func (v NullableCreateServiceAccountPayload) IsSet() bool
- func (v NullableCreateServiceAccountPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServiceAccountPayload) Set(val *CreateServiceAccountPayload)
- func (v *NullableCreateServiceAccountPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServiceAccountPayload) Unset()
- type NullableCreateShortLivedAccessTokenResponse
- func (v NullableCreateShortLivedAccessTokenResponse) Get() *CreateShortLivedAccessTokenResponse
- func (v NullableCreateShortLivedAccessTokenResponse) IsSet() bool
- func (v NullableCreateShortLivedAccessTokenResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShortLivedAccessTokenResponse) Set(val *CreateShortLivedAccessTokenResponse)
- func (v *NullableCreateShortLivedAccessTokenResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShortLivedAccessTokenResponse) Unset()
- type NullableError
- type NullableFederatedListFederatedIdentityProvidersResponse
- func (v NullableFederatedListFederatedIdentityProvidersResponse) Get() *FederatedListFederatedIdentityProvidersResponse
- func (v NullableFederatedListFederatedIdentityProvidersResponse) IsSet() bool
- func (v NullableFederatedListFederatedIdentityProvidersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFederatedListFederatedIdentityProvidersResponse) Set(val *FederatedListFederatedIdentityProvidersResponse)
- func (v *NullableFederatedListFederatedIdentityProvidersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFederatedListFederatedIdentityProvidersResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetServiceAccountKeyResponse
- func (v NullableGetServiceAccountKeyResponse) Get() *GetServiceAccountKeyResponse
- func (v NullableGetServiceAccountKeyResponse) IsSet() bool
- func (v NullableGetServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetServiceAccountKeyResponse) Set(val *GetServiceAccountKeyResponse)
- func (v *NullableGetServiceAccountKeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetServiceAccountKeyResponse) Unset()
- type NullableGetServiceAccountKeyResponseCredentials
- func (v NullableGetServiceAccountKeyResponseCredentials) Get() *GetServiceAccountKeyResponseCredentials
- func (v NullableGetServiceAccountKeyResponseCredentials) IsSet() bool
- func (v NullableGetServiceAccountKeyResponseCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableGetServiceAccountKeyResponseCredentials) Set(val *GetServiceAccountKeyResponseCredentials)
- func (v *NullableGetServiceAccountKeyResponseCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableGetServiceAccountKeyResponseCredentials) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJWK
- type NullableJWKS
- type NullableListAccessTokensResponse
- func (v NullableListAccessTokensResponse) Get() *ListAccessTokensResponse
- func (v NullableListAccessTokensResponse) IsSet() bool
- func (v NullableListAccessTokensResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListAccessTokensResponse) Set(val *ListAccessTokensResponse)
- func (v *NullableListAccessTokensResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListAccessTokensResponse) Unset()
- type NullableListServiceAccountKeysResponse
- func (v NullableListServiceAccountKeysResponse) Get() *ListServiceAccountKeysResponse
- func (v NullableListServiceAccountKeysResponse) IsSet() bool
- func (v NullableListServiceAccountKeysResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListServiceAccountKeysResponse) Set(val *ListServiceAccountKeysResponse)
- func (v *NullableListServiceAccountKeysResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListServiceAccountKeysResponse) Unset()
- type NullableListServiceAccountsResponse
- func (v NullableListServiceAccountsResponse) Get() *ListServiceAccountsResponse
- func (v NullableListServiceAccountsResponse) IsSet() bool
- func (v NullableListServiceAccountsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListServiceAccountsResponse) Set(val *ListServiceAccountsResponse)
- func (v *NullableListServiceAccountsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListServiceAccountsResponse) Unset()
- type NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload
- func (v NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) Get() *PartialUpdateServiceAccountFederatedIdentityProviderPayload
- func (v NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) IsSet() bool
- func (v NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) Set(val *PartialUpdateServiceAccountFederatedIdentityProviderPayload)
- func (v *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) Unset()
- type NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
- func (v NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) Get() *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
- func (v NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) IsSet() bool
- func (v NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) Set(...)
- func (v *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) Unset()
- type NullablePartialUpdateServiceAccountKeyPayload
- func (v NullablePartialUpdateServiceAccountKeyPayload) Get() *PartialUpdateServiceAccountKeyPayload
- func (v NullablePartialUpdateServiceAccountKeyPayload) IsSet() bool
- func (v NullablePartialUpdateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateServiceAccountKeyPayload) Set(val *PartialUpdateServiceAccountKeyPayload)
- func (v *NullablePartialUpdateServiceAccountKeyPayload) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateServiceAccountKeyPayload) Unset()
- type NullablePartialUpdateServiceAccountKeyResponse
- func (v NullablePartialUpdateServiceAccountKeyResponse) Get() *PartialUpdateServiceAccountKeyResponse
- func (v NullablePartialUpdateServiceAccountKeyResponse) IsSet() bool
- func (v NullablePartialUpdateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePartialUpdateServiceAccountKeyResponse) Set(val *PartialUpdateServiceAccountKeyResponse)
- func (v *NullablePartialUpdateServiceAccountKeyResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePartialUpdateServiceAccountKeyResponse) Unset()
- type NullableServiceAccount
- func (v NullableServiceAccount) Get() *ServiceAccount
- func (v NullableServiceAccount) IsSet() bool
- func (v NullableServiceAccount) MarshalJSON() ([]byte, error)
- func (v *NullableServiceAccount) Set(val *ServiceAccount)
- func (v *NullableServiceAccount) UnmarshalJSON(src []byte) error
- func (v *NullableServiceAccount) Unset()
- type NullableServiceAccountKeyListResponse
- func (v NullableServiceAccountKeyListResponse) Get() *ServiceAccountKeyListResponse
- func (v NullableServiceAccountKeyListResponse) IsSet() bool
- func (v NullableServiceAccountKeyListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableServiceAccountKeyListResponse) Set(val *ServiceAccountKeyListResponse)
- func (v *NullableServiceAccountKeyListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableServiceAccountKeyListResponse) Unset()
- type NullableString
- type NullableTime
- type PartialUpdateServiceAccountFederatedIdentityProviderPayload
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetAssertions() []PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetAssertionsOk() ([]PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner, ...)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetIssuer() string
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetIssuerOk() (*string, bool)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetName() string
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetNameOk() (*string, bool)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) HasAssertions() bool
- func (o PartialUpdateServiceAccountFederatedIdentityProviderPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetAssertions(v []PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetIssuer(v string)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetName(v string)
- func (o PartialUpdateServiceAccountFederatedIdentityProviderPayload) ToMap() (map[string]interface{}, error)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) UnmarshalJSON(data []byte) (err error)
- type PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
- func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner() *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
- func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInnerWithDefaults() *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetItem() string
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetItemOk() (*string, bool)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetOperator() string
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetOperatorOk() (*string, bool)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetValue() string
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetValueOk() (*string, bool)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasItem() bool
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasOperator() bool
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasValue() bool
- func (o PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetItem(v string)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetOperator(v string)
- func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetValue(v string)
- func (o PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) ToMap() (map[string]interface{}, error)
- type PartialUpdateServiceAccountKeyPayload
- func (o *PartialUpdateServiceAccountKeyPayload) GetActive() bool
- func (o *PartialUpdateServiceAccountKeyPayload) GetActiveOk() (*bool, bool)
- func (o *PartialUpdateServiceAccountKeyPayload) GetValidUntil() time.Time
- func (o *PartialUpdateServiceAccountKeyPayload) GetValidUntilOk() (*time.Time, bool)
- func (o *PartialUpdateServiceAccountKeyPayload) HasActive() bool
- func (o *PartialUpdateServiceAccountKeyPayload) HasValidUntil() bool
- func (o PartialUpdateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateServiceAccountKeyPayload) SetActive(v bool)
- func (o *PartialUpdateServiceAccountKeyPayload) SetValidUntil(v time.Time)
- func (o PartialUpdateServiceAccountKeyPayload) ToMap() (map[string]interface{}, error)
- type PartialUpdateServiceAccountKeyResponse
- func (o *PartialUpdateServiceAccountKeyResponse) GetActive() bool
- func (o *PartialUpdateServiceAccountKeyResponse) GetActiveOk() (*bool, bool)
- func (o *PartialUpdateServiceAccountKeyResponse) GetCreatedAt() time.Time
- func (o *PartialUpdateServiceAccountKeyResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *PartialUpdateServiceAccountKeyResponse) GetId() string
- func (o *PartialUpdateServiceAccountKeyResponse) GetIdOk() (*string, bool)
- func (o *PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithm() string
- func (o *PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithmOk() (*string, bool)
- func (o *PartialUpdateServiceAccountKeyResponse) GetKeyOrigin() string
- func (o *PartialUpdateServiceAccountKeyResponse) GetKeyOriginOk() (*string, bool)
- func (o *PartialUpdateServiceAccountKeyResponse) GetKeyType() string
- func (o *PartialUpdateServiceAccountKeyResponse) GetKeyTypeOk() (*string, bool)
- func (o *PartialUpdateServiceAccountKeyResponse) GetValidUntil() time.Time
- func (o *PartialUpdateServiceAccountKeyResponse) GetValidUntilOk() (*time.Time, bool)
- func (o *PartialUpdateServiceAccountKeyResponse) HasValidUntil() bool
- func (o PartialUpdateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
- func (o *PartialUpdateServiceAccountKeyResponse) SetActive(v bool)
- func (o *PartialUpdateServiceAccountKeyResponse) SetCreatedAt(v time.Time)
- func (o *PartialUpdateServiceAccountKeyResponse) SetId(v string)
- func (o *PartialUpdateServiceAccountKeyResponse) SetKeyAlgorithm(v string)
- func (o *PartialUpdateServiceAccountKeyResponse) SetKeyOrigin(v string)
- func (o *PartialUpdateServiceAccountKeyResponse) SetKeyType(v string)
- func (o *PartialUpdateServiceAccountKeyResponse) SetValidUntil(v time.Time)
- func (o PartialUpdateServiceAccountKeyResponse) ToMap() (map[string]interface{}, error)
- func (o *PartialUpdateServiceAccountKeyResponse) UnmarshalJSON(data []byte) (err error)
- type ServiceAccount
- func (o *ServiceAccount) GetEmail() string
- func (o *ServiceAccount) GetEmailOk() (*string, bool)
- func (o *ServiceAccount) GetId() string
- func (o *ServiceAccount) GetIdOk() (*string, bool)
- func (o *ServiceAccount) GetInternal() bool
- func (o *ServiceAccount) GetInternalOk() (*bool, bool)
- func (o *ServiceAccount) GetProjectId() string
- func (o *ServiceAccount) GetProjectIdOk() (*string, bool)
- func (o ServiceAccount) MarshalJSON() ([]byte, error)
- func (o *ServiceAccount) SetEmail(v string)
- func (o *ServiceAccount) SetId(v string)
- func (o *ServiceAccount) SetInternal(v bool)
- func (o *ServiceAccount) SetProjectId(v string)
- func (o ServiceAccount) ToMap() (map[string]interface{}, error)
- func (o *ServiceAccount) UnmarshalJSON(data []byte) (err error)
- type ServiceAccountKeyListResponse
- func (o *ServiceAccountKeyListResponse) GetActive() bool
- func (o *ServiceAccountKeyListResponse) GetActiveOk() (*bool, bool)
- func (o *ServiceAccountKeyListResponse) GetCreatedAt() time.Time
- func (o *ServiceAccountKeyListResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *ServiceAccountKeyListResponse) GetId() string
- func (o *ServiceAccountKeyListResponse) GetIdOk() (*string, bool)
- func (o *ServiceAccountKeyListResponse) GetKeyAlgorithm() string
- func (o *ServiceAccountKeyListResponse) GetKeyAlgorithmOk() (*string, bool)
- func (o *ServiceAccountKeyListResponse) GetKeyOrigin() string
- func (o *ServiceAccountKeyListResponse) GetKeyOriginOk() (*string, bool)
- func (o *ServiceAccountKeyListResponse) GetKeyType() string
- func (o *ServiceAccountKeyListResponse) GetKeyTypeOk() (*string, bool)
- func (o *ServiceAccountKeyListResponse) GetValidUntil() time.Time
- func (o *ServiceAccountKeyListResponse) GetValidUntilOk() (*time.Time, bool)
- func (o *ServiceAccountKeyListResponse) HasValidUntil() bool
- func (o ServiceAccountKeyListResponse) MarshalJSON() ([]byte, error)
- func (o *ServiceAccountKeyListResponse) SetActive(v bool)
- func (o *ServiceAccountKeyListResponse) SetCreatedAt(v time.Time)
- func (o *ServiceAccountKeyListResponse) SetId(v string)
- func (o *ServiceAccountKeyListResponse) SetKeyAlgorithm(v string)
- func (o *ServiceAccountKeyListResponse) SetKeyOrigin(v string)
- func (o *ServiceAccountKeyListResponse) SetKeyType(v string)
- func (o *ServiceAccountKeyListResponse) SetValidUntil(v time.Time)
- func (o ServiceAccountKeyListResponse) ToMap() (map[string]interface{}, error)
- func (o *ServiceAccountKeyListResponse) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the Service Account API API v2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AccessToken ¶
type AccessToken struct {
// Newly created access tokens are valid, and can be revoked if needed.
Active bool `json:"active"`
// Creation time of the access token.
CreatedAt time.Time `json:"createdAt"`
// Unique ID of the access token. Also used as JTI field.
Id string `json:"id"`
// The access token in JWT format. Use this with `Bearer` prefix for API calls. Store it, as it is not recoverable later.
Token string `json:"token"`
// Approximate expiration time of the access token. Check the JWT for actual validity date.
ValidUntil time.Time `json:"validUntil"`
}
AccessToken Contains token metadata and actual token.
func NewAccessToken ¶
func NewAccessToken(active bool, createdAt time.Time, id string, token string, validUntil time.Time) *AccessToken
NewAccessToken instantiates a new AccessToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccessTokenWithDefaults ¶
func NewAccessTokenWithDefaults() *AccessToken
NewAccessTokenWithDefaults instantiates a new AccessToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccessToken) GetActive ¶
func (o *AccessToken) GetActive() bool
GetActive returns the Active field value
func (*AccessToken) GetActiveOk ¶
func (o *AccessToken) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.
func (*AccessToken) GetCreatedAt ¶
func (o *AccessToken) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*AccessToken) GetCreatedAtOk ¶
func (o *AccessToken) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*AccessToken) GetIdOk ¶
func (o *AccessToken) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AccessToken) GetToken ¶
func (o *AccessToken) GetToken() string
GetToken returns the Token field value
func (*AccessToken) GetTokenOk ¶
func (o *AccessToken) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*AccessToken) GetValidUntil ¶
func (o *AccessToken) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value
func (*AccessToken) GetValidUntilOk ¶
func (o *AccessToken) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value and a boolean to check if the value has been set.
func (AccessToken) MarshalJSON ¶
func (o AccessToken) MarshalJSON() ([]byte, error)
func (*AccessToken) SetCreatedAt ¶
func (o *AccessToken) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*AccessToken) SetValidUntil ¶
func (o *AccessToken) SetValidUntil(v time.Time)
SetValidUntil sets field value
func (AccessToken) ToMap ¶
func (o AccessToken) ToMap() (map[string]interface{}, error)
func (*AccessToken) UnmarshalJSON ¶
func (o *AccessToken) UnmarshalJSON(data []byte) (err error)
type AccessTokenMetadata ¶
type AccessTokenMetadata struct {
// If true, access token can be used for authorized API calls, if false, the token is not usable anymore.
Active bool `json:"active"`
// Creation time of the access token.
CreatedAt time.Time `json:"createdAt"`
// Unique ID of the access token. Also used as JTI field.
Id string `json:"id"`
// Approximate expiration time of the access token. Check the JWT for actual validity date.
ValidUntil time.Time `json:"validUntil"`
}
AccessTokenMetadata Does not contain the actual token.
func NewAccessTokenMetadata ¶
func NewAccessTokenMetadata(active bool, createdAt time.Time, id string, validUntil time.Time) *AccessTokenMetadata
NewAccessTokenMetadata instantiates a new AccessTokenMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccessTokenMetadataWithDefaults ¶
func NewAccessTokenMetadataWithDefaults() *AccessTokenMetadata
NewAccessTokenMetadataWithDefaults instantiates a new AccessTokenMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccessTokenMetadata) GetActive ¶
func (o *AccessTokenMetadata) GetActive() bool
GetActive returns the Active field value
func (*AccessTokenMetadata) GetActiveOk ¶
func (o *AccessTokenMetadata) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.
func (*AccessTokenMetadata) GetCreatedAt ¶
func (o *AccessTokenMetadata) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*AccessTokenMetadata) GetCreatedAtOk ¶
func (o *AccessTokenMetadata) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*AccessTokenMetadata) GetId ¶
func (o *AccessTokenMetadata) GetId() string
GetId returns the Id field value
func (*AccessTokenMetadata) GetIdOk ¶
func (o *AccessTokenMetadata) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AccessTokenMetadata) GetValidUntil ¶
func (o *AccessTokenMetadata) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value
func (*AccessTokenMetadata) GetValidUntilOk ¶
func (o *AccessTokenMetadata) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value and a boolean to check if the value has been set.
func (AccessTokenMetadata) MarshalJSON ¶
func (o AccessTokenMetadata) MarshalJSON() ([]byte, error)
func (*AccessTokenMetadata) SetActive ¶
func (o *AccessTokenMetadata) SetActive(v bool)
SetActive sets field value
func (*AccessTokenMetadata) SetCreatedAt ¶
func (o *AccessTokenMetadata) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*AccessTokenMetadata) SetId ¶
func (o *AccessTokenMetadata) SetId(v string)
SetId sets field value
func (*AccessTokenMetadata) SetValidUntil ¶
func (o *AccessTokenMetadata) SetValidUntil(v time.Time)
SetValidUntil sets field value
func (AccessTokenMetadata) ToMap ¶
func (o AccessTokenMetadata) ToMap() (map[string]interface{}, error)
func (*AccessTokenMetadata) UnmarshalJSON ¶
func (o *AccessTokenMetadata) UnmarshalJSON(data []byte) (err error)
type ApiCreateAccessTokenRequest ¶
type ApiCreateAccessTokenRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateAccessTokenRequest) CreateAccessTokenPayload ¶
func (r ApiCreateAccessTokenRequest) CreateAccessTokenPayload(createAccessTokenPayload CreateAccessTokenPayload) ApiCreateAccessTokenRequest
Token request. Optional. If not specified the access token will be valid for 90days.
func (ApiCreateAccessTokenRequest) Execute ¶
func (r ApiCreateAccessTokenRequest) Execute() (*AccessToken, error)
type ApiCreateFederatedIdentityProviderRequest ¶
type ApiCreateFederatedIdentityProviderRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateFederatedIdentityProviderRequest) CreateFederatedIdentityProviderPayload ¶
func (r ApiCreateFederatedIdentityProviderRequest) CreateFederatedIdentityProviderPayload(createFederatedIdentityProviderPayload CreateFederatedIdentityProviderPayload) ApiCreateFederatedIdentityProviderRequest
Federated identity provider request
func (ApiCreateFederatedIdentityProviderRequest) Execute ¶
func (r ApiCreateFederatedIdentityProviderRequest) Execute() (*CreateFederatedIdentityProviderResponse, error)
type ApiCreateServiceAccountKeyRequest ¶
type ApiCreateServiceAccountKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateServiceAccountKeyRequest) CreateServiceAccountKeyPayload ¶
func (r ApiCreateServiceAccountKeyRequest) CreateServiceAccountKeyPayload(createServiceAccountKeyPayload CreateServiceAccountKeyPayload) ApiCreateServiceAccountKeyRequest
Service account request
func (ApiCreateServiceAccountKeyRequest) Execute ¶
func (r ApiCreateServiceAccountKeyRequest) Execute() (*CreateServiceAccountKeyResponse, error)
type ApiCreateServiceAccountRequest ¶
type ApiCreateServiceAccountRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateServiceAccountRequest) CreateServiceAccountPayload ¶
func (r ApiCreateServiceAccountRequest) CreateServiceAccountPayload(createServiceAccountPayload CreateServiceAccountPayload) ApiCreateServiceAccountRequest
Service account request
func (ApiCreateServiceAccountRequest) Execute ¶
func (r ApiCreateServiceAccountRequest) Execute() (*ServiceAccount, error)
type ApiCreateShortLivedAccessTokenRequest ¶
type ApiCreateShortLivedAccessTokenRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateShortLivedAccessTokenRequest) Assertion ¶
func (r ApiCreateShortLivedAccessTokenRequest) Assertion(assertion string) ApiCreateShortLivedAccessTokenRequest
The self signed JWT. Must be given when grant_type is urn:ietf:params:oauth:grant-type:jwt-bearer
func (ApiCreateShortLivedAccessTokenRequest) Execute ¶
func (r ApiCreateShortLivedAccessTokenRequest) Execute() (*CreateShortLivedAccessTokenResponse, error)
func (ApiCreateShortLivedAccessTokenRequest) GrantType ¶
func (r ApiCreateShortLivedAccessTokenRequest) GrantType(grantType string) ApiCreateShortLivedAccessTokenRequest
Always use URL encoded values. E.g. urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer
func (ApiCreateShortLivedAccessTokenRequest) RefreshToken ¶
func (r ApiCreateShortLivedAccessTokenRequest) RefreshToken(refreshToken string) ApiCreateShortLivedAccessTokenRequest
Refresh token provided by a previous call with a self signed token. Must be given when grant_type is refresh_token
type ApiDeleteAccessTokenRequest ¶
type ApiDeleteAccessTokenRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteAccessTokenRequest) Execute ¶
func (r ApiDeleteAccessTokenRequest) Execute() error
type ApiDeleteServiceAccountKeyRequest ¶
type ApiDeleteServiceAccountKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteServiceAccountKeyRequest) Execute ¶
func (r ApiDeleteServiceAccountKeyRequest) Execute() error
type ApiDeleteServiceAccountRequest ¶
type ApiDeleteServiceAccountRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteServiceAccountRequest) Execute ¶
func (r ApiDeleteServiceAccountRequest) Execute() error
type ApiDeleteServiceFederatedIdentityProviderRequest ¶
type ApiDeleteServiceFederatedIdentityProviderRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteServiceFederatedIdentityProviderRequest) Execute ¶
func (r ApiDeleteServiceFederatedIdentityProviderRequest) Execute() error
type ApiGetJWKSRequest ¶
type ApiGetJWKSRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetJWKSRequest) Execute ¶
func (r ApiGetJWKSRequest) Execute() (*JWKS, error)
type ApiGetServiceAccountKeyRequest ¶
type ApiGetServiceAccountKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetServiceAccountKeyRequest) Execute ¶
func (r ApiGetServiceAccountKeyRequest) Execute() (*GetServiceAccountKeyResponse, error)
func (ApiGetServiceAccountKeyRequest) Format ¶
func (r ApiGetServiceAccountKeyRequest) Format(format string) ApiGetServiceAccountKeyRequest
Requested format for the public key
type ApiListAccessTokensRequest ¶
type ApiListAccessTokensRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListAccessTokensRequest) Execute ¶
func (r ApiListAccessTokensRequest) Execute() (*ListAccessTokensResponse, error)
type ApiListFederatedIdentityProvidersRequest ¶
type ApiListFederatedIdentityProvidersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListFederatedIdentityProvidersRequest) Execute ¶
func (r ApiListFederatedIdentityProvidersRequest) Execute() (*FederatedListFederatedIdentityProvidersResponse, error)
type ApiListServiceAccountKeysRequest ¶
type ApiListServiceAccountKeysRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListServiceAccountKeysRequest) Execute ¶
func (r ApiListServiceAccountKeysRequest) Execute() (*ListServiceAccountKeysResponse, error)
type ApiListServiceAccountsRequest ¶
type ApiListServiceAccountsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListServiceAccountsRequest) Execute ¶
func (r ApiListServiceAccountsRequest) Execute() (*ListServiceAccountsResponse, error)
type ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest ¶
type ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) PartialUpdateServiceAccountFederatedIdentityProviderPayload ¶
func (r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) PartialUpdateServiceAccountFederatedIdentityProviderPayload(partialUpdateServiceAccountFederatedIdentityProviderPayload PartialUpdateServiceAccountFederatedIdentityProviderPayload) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
Delete a Federated Identity Provider
type ApiPartialUpdateServiceAccountKeyRequest ¶
type ApiPartialUpdateServiceAccountKeyRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiPartialUpdateServiceAccountKeyRequest) Execute ¶
func (r ApiPartialUpdateServiceAccountKeyRequest) Execute() (*PartialUpdateServiceAccountKeyResponse, error)
func (ApiPartialUpdateServiceAccountKeyRequest) PartialUpdateServiceAccountKeyPayload ¶
func (r ApiPartialUpdateServiceAccountKeyRequest) PartialUpdateServiceAccountKeyPayload(partialUpdateServiceAccountKeyPayload PartialUpdateServiceAccountKeyPayload) ApiPartialUpdateServiceAccountKeyRequest
Service account request
type AuthError ¶
type AuthError struct {
Error AuthErrorError `json:"error"`
}
AuthError struct for AuthError
func NewAuthError ¶
func NewAuthError(error_ AuthErrorError) *AuthError
NewAuthError instantiates a new AuthError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAuthErrorWithDefaults ¶
func NewAuthErrorWithDefaults() *AuthError
NewAuthErrorWithDefaults instantiates a new AuthError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AuthError) GetError ¶
func (o *AuthError) GetError() AuthErrorError
GetError returns the Error field value
func (*AuthError) GetErrorOk ¶
func (o *AuthError) GetErrorOk() (*AuthErrorError, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (AuthError) MarshalJSON ¶
func (*AuthError) SetError ¶
func (o *AuthError) SetError(v AuthErrorError)
SetError sets field value
func (*AuthError) UnmarshalJSON ¶
type AuthErrorError ¶
type AuthErrorError struct {
Code int32 `json:"code"`
Message string `json:"message"`
Status string `json:"status"`
}
AuthErrorError struct for AuthErrorError
func NewAuthErrorError ¶
func NewAuthErrorError(code int32, message string, status string) *AuthErrorError
NewAuthErrorError instantiates a new AuthErrorError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAuthErrorErrorWithDefaults ¶
func NewAuthErrorErrorWithDefaults() *AuthErrorError
NewAuthErrorErrorWithDefaults instantiates a new AuthErrorError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AuthErrorError) GetCode ¶
func (o *AuthErrorError) GetCode() int32
GetCode returns the Code field value
func (*AuthErrorError) GetCodeOk ¶
func (o *AuthErrorError) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*AuthErrorError) GetMessage ¶
func (o *AuthErrorError) GetMessage() string
GetMessage returns the Message field value
func (*AuthErrorError) GetMessageOk ¶
func (o *AuthErrorError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*AuthErrorError) GetStatus ¶
func (o *AuthErrorError) GetStatus() string
GetStatus returns the Status field value
func (*AuthErrorError) GetStatusOk ¶
func (o *AuthErrorError) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (AuthErrorError) MarshalJSON ¶
func (o AuthErrorError) MarshalJSON() ([]byte, error)
func (*AuthErrorError) SetMessage ¶
func (o *AuthErrorError) SetMessage(v string)
SetMessage sets field value
func (*AuthErrorError) SetStatus ¶
func (o *AuthErrorError) SetStatus(v string)
SetStatus sets field value
func (AuthErrorError) ToMap ¶
func (o AuthErrorError) ToMap() (map[string]interface{}, error)
func (*AuthErrorError) UnmarshalJSON ¶
func (o *AuthErrorError) UnmarshalJSON(data []byte) (err error)
type CreateAccessTokenPayload ¶
type CreateAccessTokenPayload struct {
// The duration in days for how long the new Access Token should be valid.
TtlDays int32 `json:"ttlDays"`
}
CreateAccessTokenPayload struct for CreateAccessTokenPayload
func NewCreateAccessTokenPayload ¶
func NewCreateAccessTokenPayload(ttlDays int32) *CreateAccessTokenPayload
NewCreateAccessTokenPayload instantiates a new CreateAccessTokenPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateAccessTokenPayloadWithDefaults ¶
func NewCreateAccessTokenPayloadWithDefaults() *CreateAccessTokenPayload
NewCreateAccessTokenPayloadWithDefaults instantiates a new CreateAccessTokenPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateAccessTokenPayload) GetTtlDays ¶
func (o *CreateAccessTokenPayload) GetTtlDays() int32
GetTtlDays returns the TtlDays field value
func (*CreateAccessTokenPayload) GetTtlDaysOk ¶
func (o *CreateAccessTokenPayload) GetTtlDaysOk() (*int32, bool)
GetTtlDaysOk returns a tuple with the TtlDays field value and a boolean to check if the value has been set.
func (CreateAccessTokenPayload) MarshalJSON ¶
func (o CreateAccessTokenPayload) MarshalJSON() ([]byte, error)
func (*CreateAccessTokenPayload) SetTtlDays ¶
func (o *CreateAccessTokenPayload) SetTtlDays(v int32)
SetTtlDays sets field value
func (CreateAccessTokenPayload) ToMap ¶
func (o CreateAccessTokenPayload) ToMap() (map[string]interface{}, error)
func (*CreateAccessTokenPayload) UnmarshalJSON ¶
func (o *CreateAccessTokenPayload) UnmarshalJSON(data []byte) (err error)
type CreateFederatedIdentityProviderPayload ¶
type CreateFederatedIdentityProviderPayload struct {
// list of assertions of the federated identity provider
Assertions []CreateFederatedIdentityProviderPayloadAssertionsInner `json:"assertions,omitempty"`
// Issuer of the federated identity provider.
Issuer string `json:"issuer"`
// Unique name used as identifier of the federated identity provider.
Name string `json:"name"`
}
CreateFederatedIdentityProviderPayload struct for CreateFederatedIdentityProviderPayload
func NewCreateFederatedIdentityProviderPayload ¶
func NewCreateFederatedIdentityProviderPayload(issuer string, name string) *CreateFederatedIdentityProviderPayload
NewCreateFederatedIdentityProviderPayload instantiates a new CreateFederatedIdentityProviderPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateFederatedIdentityProviderPayloadWithDefaults ¶
func NewCreateFederatedIdentityProviderPayloadWithDefaults() *CreateFederatedIdentityProviderPayload
NewCreateFederatedIdentityProviderPayloadWithDefaults instantiates a new CreateFederatedIdentityProviderPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateFederatedIdentityProviderPayload) GetAssertions ¶
func (o *CreateFederatedIdentityProviderPayload) GetAssertions() []CreateFederatedIdentityProviderPayloadAssertionsInner
GetAssertions returns the Assertions field value if set, zero value otherwise.
func (*CreateFederatedIdentityProviderPayload) GetAssertionsOk ¶
func (o *CreateFederatedIdentityProviderPayload) GetAssertionsOk() ([]CreateFederatedIdentityProviderPayloadAssertionsInner, bool)
GetAssertionsOk returns a tuple with the Assertions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderPayload) GetIssuer ¶
func (o *CreateFederatedIdentityProviderPayload) GetIssuer() string
GetIssuer returns the Issuer field value
func (*CreateFederatedIdentityProviderPayload) GetIssuerOk ¶
func (o *CreateFederatedIdentityProviderPayload) GetIssuerOk() (*string, bool)
GetIssuerOk returns a tuple with the Issuer field value and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderPayload) GetName ¶
func (o *CreateFederatedIdentityProviderPayload) GetName() string
GetName returns the Name field value
func (*CreateFederatedIdentityProviderPayload) GetNameOk ¶
func (o *CreateFederatedIdentityProviderPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderPayload) HasAssertions ¶
func (o *CreateFederatedIdentityProviderPayload) HasAssertions() bool
HasAssertions returns a boolean if a field has been set.
func (CreateFederatedIdentityProviderPayload) MarshalJSON ¶
func (o CreateFederatedIdentityProviderPayload) MarshalJSON() ([]byte, error)
func (*CreateFederatedIdentityProviderPayload) SetAssertions ¶
func (o *CreateFederatedIdentityProviderPayload) SetAssertions(v []CreateFederatedIdentityProviderPayloadAssertionsInner)
SetAssertions gets a reference to the given []CreateFederatedIdentityProviderPayloadAssertionsInner and assigns it to the Assertions field.
func (*CreateFederatedIdentityProviderPayload) SetIssuer ¶
func (o *CreateFederatedIdentityProviderPayload) SetIssuer(v string)
SetIssuer sets field value
func (*CreateFederatedIdentityProviderPayload) SetName ¶
func (o *CreateFederatedIdentityProviderPayload) SetName(v string)
SetName sets field value
func (CreateFederatedIdentityProviderPayload) ToMap ¶
func (o CreateFederatedIdentityProviderPayload) ToMap() (map[string]interface{}, error)
func (*CreateFederatedIdentityProviderPayload) UnmarshalJSON ¶
func (o *CreateFederatedIdentityProviderPayload) UnmarshalJSON(data []byte) (err error)
type CreateFederatedIdentityProviderPayloadAssertionsInner ¶
type CreateFederatedIdentityProviderPayloadAssertionsInner struct {
// Item to compare
Item *string `json:"item,omitempty"`
// Operator for the comparison
Operator *string `json:"operator,omitempty"`
// Value which the item is compared to
Value *string `json:"value,omitempty"`
}
CreateFederatedIdentityProviderPayloadAssertionsInner struct for CreateFederatedIdentityProviderPayloadAssertionsInner
func NewCreateFederatedIdentityProviderPayloadAssertionsInner ¶
func NewCreateFederatedIdentityProviderPayloadAssertionsInner() *CreateFederatedIdentityProviderPayloadAssertionsInner
NewCreateFederatedIdentityProviderPayloadAssertionsInner instantiates a new CreateFederatedIdentityProviderPayloadAssertionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateFederatedIdentityProviderPayloadAssertionsInnerWithDefaults ¶
func NewCreateFederatedIdentityProviderPayloadAssertionsInnerWithDefaults() *CreateFederatedIdentityProviderPayloadAssertionsInner
NewCreateFederatedIdentityProviderPayloadAssertionsInnerWithDefaults instantiates a new CreateFederatedIdentityProviderPayloadAssertionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetItem ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetItem() string
GetItem returns the Item field value if set, zero value otherwise.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetItemOk ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetItemOk() (*string, bool)
GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetOperator ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetOperator() string
GetOperator returns the Operator field value if set, zero value otherwise.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetOperatorOk ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetValue ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetValueOk ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) HasItem ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) HasItem() bool
HasItem returns a boolean if a field has been set.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) HasOperator ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) HasOperator() bool
HasOperator returns a boolean if a field has been set.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) HasValue ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) HasValue() bool
HasValue returns a boolean if a field has been set.
func (CreateFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON ¶
func (o CreateFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON() ([]byte, error)
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) SetItem ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) SetItem(v string)
SetItem gets a reference to the given string and assigns it to the Item field.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) SetOperator ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) SetOperator(v string)
SetOperator gets a reference to the given string and assigns it to the Operator field.
func (*CreateFederatedIdentityProviderPayloadAssertionsInner) SetValue ¶
func (o *CreateFederatedIdentityProviderPayloadAssertionsInner) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (CreateFederatedIdentityProviderPayloadAssertionsInner) ToMap ¶
func (o CreateFederatedIdentityProviderPayloadAssertionsInner) ToMap() (map[string]interface{}, error)
type CreateFederatedIdentityProviderResponse ¶
type CreateFederatedIdentityProviderResponse struct {
// list of assertions of the federated identity provider
Assertions []CreateFederatedIdentityProviderResponseAssertionsInner `json:"assertions"`
// Creation time of the federated identity provider.
CreatedAt time.Time `json:"createdAt"`
// Issuer of the federated identity provider.
Issuer string `json:"issuer"`
// Unique name of the federated identity provider.
Name string `json:"name"`
// Last update time of the federated identity provider.
UpdatedAt time.Time `json:"updatedAt"`
}
CreateFederatedIdentityProviderResponse struct for CreateFederatedIdentityProviderResponse
func NewCreateFederatedIdentityProviderResponse ¶
func NewCreateFederatedIdentityProviderResponse(assertions []CreateFederatedIdentityProviderResponseAssertionsInner, createdAt time.Time, issuer string, name string, updatedAt time.Time) *CreateFederatedIdentityProviderResponse
NewCreateFederatedIdentityProviderResponse instantiates a new CreateFederatedIdentityProviderResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateFederatedIdentityProviderResponseWithDefaults ¶
func NewCreateFederatedIdentityProviderResponseWithDefaults() *CreateFederatedIdentityProviderResponse
NewCreateFederatedIdentityProviderResponseWithDefaults instantiates a new CreateFederatedIdentityProviderResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateFederatedIdentityProviderResponse) GetAssertions ¶
func (o *CreateFederatedIdentityProviderResponse) GetAssertions() []CreateFederatedIdentityProviderResponseAssertionsInner
GetAssertions returns the Assertions field value
func (*CreateFederatedIdentityProviderResponse) GetAssertionsOk ¶
func (o *CreateFederatedIdentityProviderResponse) GetAssertionsOk() ([]CreateFederatedIdentityProviderResponseAssertionsInner, bool)
GetAssertionsOk returns a tuple with the Assertions field value and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderResponse) GetCreatedAt ¶
func (o *CreateFederatedIdentityProviderResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*CreateFederatedIdentityProviderResponse) GetCreatedAtOk ¶
func (o *CreateFederatedIdentityProviderResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderResponse) GetIssuer ¶
func (o *CreateFederatedIdentityProviderResponse) GetIssuer() string
GetIssuer returns the Issuer field value
func (*CreateFederatedIdentityProviderResponse) GetIssuerOk ¶
func (o *CreateFederatedIdentityProviderResponse) GetIssuerOk() (*string, bool)
GetIssuerOk returns a tuple with the Issuer field value and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderResponse) GetName ¶
func (o *CreateFederatedIdentityProviderResponse) GetName() string
GetName returns the Name field value
func (*CreateFederatedIdentityProviderResponse) GetNameOk ¶
func (o *CreateFederatedIdentityProviderResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderResponse) GetUpdatedAt ¶
func (o *CreateFederatedIdentityProviderResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*CreateFederatedIdentityProviderResponse) GetUpdatedAtOk ¶
func (o *CreateFederatedIdentityProviderResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (CreateFederatedIdentityProviderResponse) MarshalJSON ¶
func (o CreateFederatedIdentityProviderResponse) MarshalJSON() ([]byte, error)
func (*CreateFederatedIdentityProviderResponse) SetAssertions ¶
func (o *CreateFederatedIdentityProviderResponse) SetAssertions(v []CreateFederatedIdentityProviderResponseAssertionsInner)
SetAssertions sets field value
func (*CreateFederatedIdentityProviderResponse) SetCreatedAt ¶
func (o *CreateFederatedIdentityProviderResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*CreateFederatedIdentityProviderResponse) SetIssuer ¶
func (o *CreateFederatedIdentityProviderResponse) SetIssuer(v string)
SetIssuer sets field value
func (*CreateFederatedIdentityProviderResponse) SetName ¶
func (o *CreateFederatedIdentityProviderResponse) SetName(v string)
SetName sets field value
func (*CreateFederatedIdentityProviderResponse) SetUpdatedAt ¶
func (o *CreateFederatedIdentityProviderResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (CreateFederatedIdentityProviderResponse) ToMap ¶
func (o CreateFederatedIdentityProviderResponse) ToMap() (map[string]interface{}, error)
func (*CreateFederatedIdentityProviderResponse) UnmarshalJSON ¶
func (o *CreateFederatedIdentityProviderResponse) UnmarshalJSON(data []byte) (err error)
type CreateFederatedIdentityProviderResponseAssertionsInner ¶
type CreateFederatedIdentityProviderResponseAssertionsInner struct {
// Item to compare
Item string `json:"item"`
// Operator for the comparison
Operator string `json:"operator"`
// Value which the item is compared to
Value string `json:"value"`
}
CreateFederatedIdentityProviderResponseAssertionsInner struct for CreateFederatedIdentityProviderResponseAssertionsInner
func NewCreateFederatedIdentityProviderResponseAssertionsInner ¶
func NewCreateFederatedIdentityProviderResponseAssertionsInner(item string, operator string, value string) *CreateFederatedIdentityProviderResponseAssertionsInner
NewCreateFederatedIdentityProviderResponseAssertionsInner instantiates a new CreateFederatedIdentityProviderResponseAssertionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateFederatedIdentityProviderResponseAssertionsInnerWithDefaults ¶
func NewCreateFederatedIdentityProviderResponseAssertionsInnerWithDefaults() *CreateFederatedIdentityProviderResponseAssertionsInner
NewCreateFederatedIdentityProviderResponseAssertionsInnerWithDefaults instantiates a new CreateFederatedIdentityProviderResponseAssertionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetItem ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetItem() string
GetItem returns the Item field value
func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetItemOk ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetItemOk() (*string, bool)
GetItemOk returns a tuple with the Item field value and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetOperator ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetOperator() string
GetOperator returns the Operator field value
func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetOperatorOk ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.
func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetValue ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetValue() string
GetValue returns the Value field value
func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetValueOk ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (CreateFederatedIdentityProviderResponseAssertionsInner) MarshalJSON ¶
func (o CreateFederatedIdentityProviderResponseAssertionsInner) MarshalJSON() ([]byte, error)
func (*CreateFederatedIdentityProviderResponseAssertionsInner) SetItem ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) SetItem(v string)
SetItem sets field value
func (*CreateFederatedIdentityProviderResponseAssertionsInner) SetOperator ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) SetOperator(v string)
SetOperator sets field value
func (*CreateFederatedIdentityProviderResponseAssertionsInner) SetValue ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) SetValue(v string)
SetValue sets field value
func (CreateFederatedIdentityProviderResponseAssertionsInner) ToMap ¶
func (o CreateFederatedIdentityProviderResponseAssertionsInner) ToMap() (map[string]interface{}, error)
func (*CreateFederatedIdentityProviderResponseAssertionsInner) UnmarshalJSON ¶
func (o *CreateFederatedIdentityProviderResponseAssertionsInner) UnmarshalJSON(data []byte) (err error)
type CreateServiceAccountKeyPayload ¶
type CreateServiceAccountKeyPayload struct {
// Optional, key algorithm of the generated key-pair. Used only if publicKey attribute is not specified, otherwise the algorithm is derived from the public key.
Algorithm *string `json:"algorithm,omitempty"`
// Optional, public key part of the user generated RSA key-pair wrapped in a [X.509 v3 certificate](https://www.rfc-editor.org/rfc/rfc5280)
PublicKey *string `json:"publicKey,omitempty"`
// Optional, date of key expiration. When omitted, key is valid until deleted
ValidUntil *time.Time `json:"validUntil,omitempty"`
}
CreateServiceAccountKeyPayload struct for CreateServiceAccountKeyPayload
func NewCreateServiceAccountKeyPayload ¶
func NewCreateServiceAccountKeyPayload() *CreateServiceAccountKeyPayload
NewCreateServiceAccountKeyPayload instantiates a new CreateServiceAccountKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateServiceAccountKeyPayloadWithDefaults ¶
func NewCreateServiceAccountKeyPayloadWithDefaults() *CreateServiceAccountKeyPayload
NewCreateServiceAccountKeyPayloadWithDefaults instantiates a new CreateServiceAccountKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateServiceAccountKeyPayload) GetAlgorithm ¶
func (o *CreateServiceAccountKeyPayload) GetAlgorithm() string
GetAlgorithm returns the Algorithm field value if set, zero value otherwise.
func (*CreateServiceAccountKeyPayload) GetAlgorithmOk ¶
func (o *CreateServiceAccountKeyPayload) GetAlgorithmOk() (*string, bool)
GetAlgorithmOk returns a tuple with the Algorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyPayload) GetPublicKey ¶
func (o *CreateServiceAccountKeyPayload) GetPublicKey() string
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*CreateServiceAccountKeyPayload) GetPublicKeyOk ¶
func (o *CreateServiceAccountKeyPayload) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyPayload) GetValidUntil ¶
func (o *CreateServiceAccountKeyPayload) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value if set, zero value otherwise.
func (*CreateServiceAccountKeyPayload) GetValidUntilOk ¶
func (o *CreateServiceAccountKeyPayload) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyPayload) HasAlgorithm ¶
func (o *CreateServiceAccountKeyPayload) HasAlgorithm() bool
HasAlgorithm returns a boolean if a field has been set.
func (*CreateServiceAccountKeyPayload) HasPublicKey ¶
func (o *CreateServiceAccountKeyPayload) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (*CreateServiceAccountKeyPayload) HasValidUntil ¶
func (o *CreateServiceAccountKeyPayload) HasValidUntil() bool
HasValidUntil returns a boolean if a field has been set.
func (CreateServiceAccountKeyPayload) MarshalJSON ¶
func (o CreateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)
func (*CreateServiceAccountKeyPayload) SetAlgorithm ¶
func (o *CreateServiceAccountKeyPayload) SetAlgorithm(v string)
SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.
func (*CreateServiceAccountKeyPayload) SetPublicKey ¶
func (o *CreateServiceAccountKeyPayload) SetPublicKey(v string)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (*CreateServiceAccountKeyPayload) SetValidUntil ¶
func (o *CreateServiceAccountKeyPayload) SetValidUntil(v time.Time)
SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.
func (CreateServiceAccountKeyPayload) ToMap ¶
func (o CreateServiceAccountKeyPayload) ToMap() (map[string]interface{}, error)
type CreateServiceAccountKeyResponse ¶
type CreateServiceAccountKeyResponse struct {
Active bool `json:"active"`
// Creation time of the key
CreatedAt time.Time `json:"createdAt"`
Credentials CreateServiceAccountKeyResponseCredentials `json:"credentials"`
// Unique ID of the key.
Id string `json:"id"`
KeyAlgorithm string `json:"keyAlgorithm"`
KeyOrigin string `json:"keyOrigin"`
KeyType string `json:"keyType"`
// Public key, that was provider, or was generated by the service account API
PublicKey string `json:"publicKey"`
// If specified, the timestamp until the key is active. May be null
ValidUntil *time.Time `json:"validUntil,omitempty"`
}
CreateServiceAccountKeyResponse struct for CreateServiceAccountKeyResponse
func NewCreateServiceAccountKeyResponse ¶
func NewCreateServiceAccountKeyResponse(active bool, createdAt time.Time, credentials CreateServiceAccountKeyResponseCredentials, id string, keyAlgorithm string, keyOrigin string, keyType string, publicKey string) *CreateServiceAccountKeyResponse
NewCreateServiceAccountKeyResponse instantiates a new CreateServiceAccountKeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateServiceAccountKeyResponseWithDefaults ¶
func NewCreateServiceAccountKeyResponseWithDefaults() *CreateServiceAccountKeyResponse
NewCreateServiceAccountKeyResponseWithDefaults instantiates a new CreateServiceAccountKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateServiceAccountKeyResponse) GetActive ¶
func (o *CreateServiceAccountKeyResponse) GetActive() bool
GetActive returns the Active field value
func (*CreateServiceAccountKeyResponse) GetActiveOk ¶
func (o *CreateServiceAccountKeyResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponse) GetCreatedAt ¶
func (o *CreateServiceAccountKeyResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*CreateServiceAccountKeyResponse) GetCreatedAtOk ¶
func (o *CreateServiceAccountKeyResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponse) GetCredentials ¶
func (o *CreateServiceAccountKeyResponse) GetCredentials() CreateServiceAccountKeyResponseCredentials
GetCredentials returns the Credentials field value
func (*CreateServiceAccountKeyResponse) GetCredentialsOk ¶
func (o *CreateServiceAccountKeyResponse) GetCredentialsOk() (*CreateServiceAccountKeyResponseCredentials, bool)
GetCredentialsOk returns a tuple with the Credentials field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponse) GetId ¶
func (o *CreateServiceAccountKeyResponse) GetId() string
GetId returns the Id field value
func (*CreateServiceAccountKeyResponse) GetIdOk ¶
func (o *CreateServiceAccountKeyResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponse) GetKeyAlgorithm ¶
func (o *CreateServiceAccountKeyResponse) GetKeyAlgorithm() string
GetKeyAlgorithm returns the KeyAlgorithm field value
func (*CreateServiceAccountKeyResponse) GetKeyAlgorithmOk ¶
func (o *CreateServiceAccountKeyResponse) GetKeyAlgorithmOk() (*string, bool)
GetKeyAlgorithmOk returns a tuple with the KeyAlgorithm field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponse) GetKeyOrigin ¶
func (o *CreateServiceAccountKeyResponse) GetKeyOrigin() string
GetKeyOrigin returns the KeyOrigin field value
func (*CreateServiceAccountKeyResponse) GetKeyOriginOk ¶
func (o *CreateServiceAccountKeyResponse) GetKeyOriginOk() (*string, bool)
GetKeyOriginOk returns a tuple with the KeyOrigin field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponse) GetKeyType ¶
func (o *CreateServiceAccountKeyResponse) GetKeyType() string
GetKeyType returns the KeyType field value
func (*CreateServiceAccountKeyResponse) GetKeyTypeOk ¶
func (o *CreateServiceAccountKeyResponse) GetKeyTypeOk() (*string, bool)
GetKeyTypeOk returns a tuple with the KeyType field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponse) GetPublicKey ¶
func (o *CreateServiceAccountKeyResponse) GetPublicKey() string
GetPublicKey returns the PublicKey field value
func (*CreateServiceAccountKeyResponse) GetPublicKeyOk ¶
func (o *CreateServiceAccountKeyResponse) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponse) GetValidUntil ¶
func (o *CreateServiceAccountKeyResponse) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value if set, zero value otherwise.
func (*CreateServiceAccountKeyResponse) GetValidUntilOk ¶
func (o *CreateServiceAccountKeyResponse) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponse) HasValidUntil ¶
func (o *CreateServiceAccountKeyResponse) HasValidUntil() bool
HasValidUntil returns a boolean if a field has been set.
func (CreateServiceAccountKeyResponse) MarshalJSON ¶
func (o CreateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
func (*CreateServiceAccountKeyResponse) SetActive ¶
func (o *CreateServiceAccountKeyResponse) SetActive(v bool)
SetActive sets field value
func (*CreateServiceAccountKeyResponse) SetCreatedAt ¶
func (o *CreateServiceAccountKeyResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*CreateServiceAccountKeyResponse) SetCredentials ¶
func (o *CreateServiceAccountKeyResponse) SetCredentials(v CreateServiceAccountKeyResponseCredentials)
SetCredentials sets field value
func (*CreateServiceAccountKeyResponse) SetId ¶
func (o *CreateServiceAccountKeyResponse) SetId(v string)
SetId sets field value
func (*CreateServiceAccountKeyResponse) SetKeyAlgorithm ¶
func (o *CreateServiceAccountKeyResponse) SetKeyAlgorithm(v string)
SetKeyAlgorithm sets field value
func (*CreateServiceAccountKeyResponse) SetKeyOrigin ¶
func (o *CreateServiceAccountKeyResponse) SetKeyOrigin(v string)
SetKeyOrigin sets field value
func (*CreateServiceAccountKeyResponse) SetKeyType ¶
func (o *CreateServiceAccountKeyResponse) SetKeyType(v string)
SetKeyType sets field value
func (*CreateServiceAccountKeyResponse) SetPublicKey ¶
func (o *CreateServiceAccountKeyResponse) SetPublicKey(v string)
SetPublicKey sets field value
func (*CreateServiceAccountKeyResponse) SetValidUntil ¶
func (o *CreateServiceAccountKeyResponse) SetValidUntil(v time.Time)
SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.
func (CreateServiceAccountKeyResponse) ToMap ¶
func (o CreateServiceAccountKeyResponse) ToMap() (map[string]interface{}, error)
func (*CreateServiceAccountKeyResponse) UnmarshalJSON ¶
func (o *CreateServiceAccountKeyResponse) UnmarshalJSON(data []byte) (err error)
type CreateServiceAccountKeyResponseCredentials ¶
type CreateServiceAccountKeyResponseCredentials struct {
// Audience - service account API URL
Aud string `json:"aud"`
// Service account email
Iss string `json:"iss"`
// Key id to use
Kid string `json:"kid"`
// Private key. Only present, if the service account API was generating the key. Not recoverable later.
PrivateKey *string `json:"privateKey,omitempty"`
// Service account id
Sub string `json:"sub"`
}
CreateServiceAccountKeyResponseCredentials struct for CreateServiceAccountKeyResponseCredentials
func NewCreateServiceAccountKeyResponseCredentials ¶
func NewCreateServiceAccountKeyResponseCredentials(aud string, iss string, kid string, sub string) *CreateServiceAccountKeyResponseCredentials
NewCreateServiceAccountKeyResponseCredentials instantiates a new CreateServiceAccountKeyResponseCredentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateServiceAccountKeyResponseCredentialsWithDefaults ¶
func NewCreateServiceAccountKeyResponseCredentialsWithDefaults() *CreateServiceAccountKeyResponseCredentials
NewCreateServiceAccountKeyResponseCredentialsWithDefaults instantiates a new CreateServiceAccountKeyResponseCredentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateServiceAccountKeyResponseCredentials) GetAud ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetAud() string
GetAud returns the Aud field value
func (*CreateServiceAccountKeyResponseCredentials) GetAudOk ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetAudOk() (*string, bool)
GetAudOk returns a tuple with the Aud field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponseCredentials) GetIss ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetIss() string
GetIss returns the Iss field value
func (*CreateServiceAccountKeyResponseCredentials) GetIssOk ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetIssOk() (*string, bool)
GetIssOk returns a tuple with the Iss field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponseCredentials) GetKid ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetKid() string
GetKid returns the Kid field value
func (*CreateServiceAccountKeyResponseCredentials) GetKidOk ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetKidOk() (*string, bool)
GetKidOk returns a tuple with the Kid field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponseCredentials) GetPrivateKey ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetPrivateKey() string
GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.
func (*CreateServiceAccountKeyResponseCredentials) GetPrivateKeyOk ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetPrivateKeyOk() (*string, bool)
GetPrivateKeyOk returns a tuple with the PrivateKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponseCredentials) GetSub ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetSub() string
GetSub returns the Sub field value
func (*CreateServiceAccountKeyResponseCredentials) GetSubOk ¶
func (o *CreateServiceAccountKeyResponseCredentials) GetSubOk() (*string, bool)
GetSubOk returns a tuple with the Sub field value and a boolean to check if the value has been set.
func (*CreateServiceAccountKeyResponseCredentials) HasPrivateKey ¶
func (o *CreateServiceAccountKeyResponseCredentials) HasPrivateKey() bool
HasPrivateKey returns a boolean if a field has been set.
func (CreateServiceAccountKeyResponseCredentials) MarshalJSON ¶
func (o CreateServiceAccountKeyResponseCredentials) MarshalJSON() ([]byte, error)
func (*CreateServiceAccountKeyResponseCredentials) SetAud ¶
func (o *CreateServiceAccountKeyResponseCredentials) SetAud(v string)
SetAud sets field value
func (*CreateServiceAccountKeyResponseCredentials) SetIss ¶
func (o *CreateServiceAccountKeyResponseCredentials) SetIss(v string)
SetIss sets field value
func (*CreateServiceAccountKeyResponseCredentials) SetKid ¶
func (o *CreateServiceAccountKeyResponseCredentials) SetKid(v string)
SetKid sets field value
func (*CreateServiceAccountKeyResponseCredentials) SetPrivateKey ¶
func (o *CreateServiceAccountKeyResponseCredentials) SetPrivateKey(v string)
SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.
func (*CreateServiceAccountKeyResponseCredentials) SetSub ¶
func (o *CreateServiceAccountKeyResponseCredentials) SetSub(v string)
SetSub sets field value
func (CreateServiceAccountKeyResponseCredentials) ToMap ¶
func (o CreateServiceAccountKeyResponseCredentials) ToMap() (map[string]interface{}, error)
func (*CreateServiceAccountKeyResponseCredentials) UnmarshalJSON ¶
func (o *CreateServiceAccountKeyResponseCredentials) UnmarshalJSON(data []byte) (err error)
type CreateServiceAccountPayload ¶
type CreateServiceAccountPayload struct {
// The requested name of the service account. The service will generate a unique email from this name.
Name string `json:"name" validate:"regexp=^[a-z](?:-?[a-z0-9]+)*$"`
}
CreateServiceAccountPayload struct for CreateServiceAccountPayload
func NewCreateServiceAccountPayload ¶
func NewCreateServiceAccountPayload(name string) *CreateServiceAccountPayload
NewCreateServiceAccountPayload instantiates a new CreateServiceAccountPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateServiceAccountPayloadWithDefaults ¶
func NewCreateServiceAccountPayloadWithDefaults() *CreateServiceAccountPayload
NewCreateServiceAccountPayloadWithDefaults instantiates a new CreateServiceAccountPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateServiceAccountPayload) GetName ¶
func (o *CreateServiceAccountPayload) GetName() string
GetName returns the Name field value
func (*CreateServiceAccountPayload) GetNameOk ¶
func (o *CreateServiceAccountPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (CreateServiceAccountPayload) MarshalJSON ¶
func (o CreateServiceAccountPayload) MarshalJSON() ([]byte, error)
func (*CreateServiceAccountPayload) SetName ¶
func (o *CreateServiceAccountPayload) SetName(v string)
SetName sets field value
func (CreateServiceAccountPayload) ToMap ¶
func (o CreateServiceAccountPayload) ToMap() (map[string]interface{}, error)
func (*CreateServiceAccountPayload) UnmarshalJSON ¶
func (o *CreateServiceAccountPayload) UnmarshalJSON(data []byte) (err error)
type CreateShortLivedAccessTokenResponse ¶
type CreateShortLivedAccessTokenResponse struct {
// The short lived token that can be used for API access
AccessToken string `json:"access_token"`
ExpiresIn int32 `json:"expires_in"`
// Refresh token that can be used to request a new access token when it expires (and before refresh token expires). Tokens are rotated.
RefreshToken string `json:"refresh_token"`
// scope field of the self signed token
Scope string `json:"scope"`
TokenType string `json:"token_type"`
}
CreateShortLivedAccessTokenResponse struct for CreateShortLivedAccessTokenResponse
func NewCreateShortLivedAccessTokenResponse ¶
func NewCreateShortLivedAccessTokenResponse(accessToken string, expiresIn int32, refreshToken string, scope string, tokenType string) *CreateShortLivedAccessTokenResponse
NewCreateShortLivedAccessTokenResponse instantiates a new CreateShortLivedAccessTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateShortLivedAccessTokenResponseWithDefaults ¶
func NewCreateShortLivedAccessTokenResponseWithDefaults() *CreateShortLivedAccessTokenResponse
NewCreateShortLivedAccessTokenResponseWithDefaults instantiates a new CreateShortLivedAccessTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateShortLivedAccessTokenResponse) GetAccessToken ¶
func (o *CreateShortLivedAccessTokenResponse) GetAccessToken() string
GetAccessToken returns the AccessToken field value
func (*CreateShortLivedAccessTokenResponse) GetAccessTokenOk ¶
func (o *CreateShortLivedAccessTokenResponse) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field value and a boolean to check if the value has been set.
func (*CreateShortLivedAccessTokenResponse) GetExpiresIn ¶
func (o *CreateShortLivedAccessTokenResponse) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field value
func (*CreateShortLivedAccessTokenResponse) GetExpiresInOk ¶
func (o *CreateShortLivedAccessTokenResponse) GetExpiresInOk() (*int32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field value and a boolean to check if the value has been set.
func (*CreateShortLivedAccessTokenResponse) GetRefreshToken ¶
func (o *CreateShortLivedAccessTokenResponse) GetRefreshToken() string
GetRefreshToken returns the RefreshToken field value
func (*CreateShortLivedAccessTokenResponse) GetRefreshTokenOk ¶
func (o *CreateShortLivedAccessTokenResponse) GetRefreshTokenOk() (*string, bool)
GetRefreshTokenOk returns a tuple with the RefreshToken field value and a boolean to check if the value has been set.
func (*CreateShortLivedAccessTokenResponse) GetScope ¶
func (o *CreateShortLivedAccessTokenResponse) GetScope() string
GetScope returns the Scope field value
func (*CreateShortLivedAccessTokenResponse) GetScopeOk ¶
func (o *CreateShortLivedAccessTokenResponse) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.
func (*CreateShortLivedAccessTokenResponse) GetTokenType ¶
func (o *CreateShortLivedAccessTokenResponse) GetTokenType() string
GetTokenType returns the TokenType field value
func (*CreateShortLivedAccessTokenResponse) GetTokenTypeOk ¶
func (o *CreateShortLivedAccessTokenResponse) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field value and a boolean to check if the value has been set.
func (CreateShortLivedAccessTokenResponse) MarshalJSON ¶
func (o CreateShortLivedAccessTokenResponse) MarshalJSON() ([]byte, error)
func (*CreateShortLivedAccessTokenResponse) SetAccessToken ¶
func (o *CreateShortLivedAccessTokenResponse) SetAccessToken(v string)
SetAccessToken sets field value
func (*CreateShortLivedAccessTokenResponse) SetExpiresIn ¶
func (o *CreateShortLivedAccessTokenResponse) SetExpiresIn(v int32)
SetExpiresIn sets field value
func (*CreateShortLivedAccessTokenResponse) SetRefreshToken ¶
func (o *CreateShortLivedAccessTokenResponse) SetRefreshToken(v string)
SetRefreshToken sets field value
func (*CreateShortLivedAccessTokenResponse) SetScope ¶
func (o *CreateShortLivedAccessTokenResponse) SetScope(v string)
SetScope sets field value
func (*CreateShortLivedAccessTokenResponse) SetTokenType ¶
func (o *CreateShortLivedAccessTokenResponse) SetTokenType(v string)
SetTokenType sets field value
func (CreateShortLivedAccessTokenResponse) ToMap ¶
func (o CreateShortLivedAccessTokenResponse) ToMap() (map[string]interface{}, error)
func (*CreateShortLivedAccessTokenResponse) UnmarshalJSON ¶
func (o *CreateShortLivedAccessTokenResponse) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateAccessToken Create a new Access Token
Create an Access Token for a Service Account. The service token can be then used for API calls. Save the response token, as it is not recoverable later. Token metadata can be requested until the token is not expired. A token cannot be created using another token from the same service account. Consider using service account keys instead as a more secure and automation friendly solution.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the Service Account.
@return ApiCreateAccessTokenRequest
*/
CreateAccessToken(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateAccessTokenRequest
// CreateAccessTokenExecute executes the request
// @return AccessToken
CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*AccessToken, error)
/*
CreateFederatedIdentityProvider Create a new Federated Identity Provider
Federate the service account with an identity provider.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@return ApiCreateFederatedIdentityProviderRequest
*/
CreateFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateFederatedIdentityProviderRequest
// CreateFederatedIdentityProviderExecute executes the request
// @return CreateFederatedIdentityProviderResponse
CreateFederatedIdentityProviderExecute(r ApiCreateFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
/*
CreateServiceAccount Create a new Service Account
Create a new Service Account in a project. The service account only resides in the project, and initially has no roles or permissions on any resources. After creation, the service account can be assigned to this project, other projects in the parent organization or to the parent organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiCreateServiceAccountRequest
*/
CreateServiceAccount(ctx context.Context, projectId string) ApiCreateServiceAccountRequest
// CreateServiceAccountExecute executes the request
// @return ServiceAccount
CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)
/*
CreateServiceAccountKey Create a new Service Account key
Create a new key to the service account. You can generate an RSA keypair, and post the PUBLIC part of the keypair, or leave empty, then the service will generate a pair. Maximum of 10 key can be added. A new key cannot be created using the same service account (authenticated using the short lived token of another key of the same service account).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@return ApiCreateServiceAccountKeyRequest
*/
CreateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateServiceAccountKeyRequest
// CreateServiceAccountKeyExecute executes the request
// @return CreateServiceAccountKeyResponse
CreateServiceAccountKeyExecute(r ApiCreateServiceAccountKeyRequest) (*CreateServiceAccountKeyResponse, error)
/*
CreateShortLivedAccessToken Request short lived API access token (OAUTH2).
Request a short lived API access token with OAUTH2. Compatible with [Using JWTs as Authorization Grants](https://www.rfc-editor.org/rfc/rfc7523.html#section-2.1)
You can request a token with a self signed token, or with a refresh token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateShortLivedAccessTokenRequest
*/
CreateShortLivedAccessToken(ctx context.Context) ApiCreateShortLivedAccessTokenRequest
// CreateShortLivedAccessTokenExecute executes the request
// @return CreateShortLivedAccessTokenResponse
CreateShortLivedAccessTokenExecute(r ApiCreateShortLivedAccessTokenRequest) (*CreateShortLivedAccessTokenResponse, error)
/*
DeleteAccessToken Revoke Access Token
Revoke an Access Token. The access token is instantly revoked, any following calls with the token will be unauthorized. The token metadata is still stored until the expiration time.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The ID of the Service Account.
@param accessTokenId The ID of the Access Token.
@return ApiDeleteAccessTokenRequest
*/
DeleteAccessToken(ctx context.Context, projectId string, serviceAccountEmail string, accessTokenId string) ApiDeleteAccessTokenRequest
// DeleteAccessTokenExecute executes the request
DeleteAccessTokenExecute(r ApiDeleteAccessTokenRequest) error
/*
DeleteServiceAccount Delete Service Account
Delete a Service Account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the Service Account.
@return ApiDeleteServiceAccountRequest
*/
DeleteServiceAccount(ctx context.Context, projectId string, serviceAccountEmail string) ApiDeleteServiceAccountRequest
// DeleteServiceAccountExecute executes the request
DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) error
/*
DeleteServiceAccountKey Delete a service account key
Delete a key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param keyId ID of the key.
@return ApiDeleteServiceAccountKeyRequest
*/
DeleteServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiDeleteServiceAccountKeyRequest
// DeleteServiceAccountKeyExecute executes the request
DeleteServiceAccountKeyExecute(r ApiDeleteServiceAccountKeyRequest) error
/*
DeleteServiceFederatedIdentityProvider Delete a service account Federated Identity Provider
Delete a Federated Identity Provider
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param federationId ID of the Federated Identity Provider.
@return ApiDeleteServiceFederatedIdentityProviderRequest
*/
DeleteServiceFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiDeleteServiceFederatedIdentityProviderRequest
// DeleteServiceFederatedIdentityProviderExecute executes the request
DeleteServiceFederatedIdentityProviderExecute(r ApiDeleteServiceFederatedIdentityProviderRequest) error
/*
GetJWKS Get JSON Web Key set of the service account
Get JSON Web Key set of the service account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serviceAccountEmail The email of the service account.
@return ApiGetJWKSRequest
*/
GetJWKS(ctx context.Context, serviceAccountEmail string) ApiGetJWKSRequest
// GetJWKSExecute executes the request
// @return JWKS
GetJWKSExecute(r ApiGetJWKSRequest) (*JWKS, error)
/*
GetServiceAccountKey Get service account key details
Get key details
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param keyId ID of the key.
@return ApiGetServiceAccountKeyRequest
*/
GetServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiGetServiceAccountKeyRequest
// GetServiceAccountKeyExecute executes the request
// @return GetServiceAccountKeyResponse
GetServiceAccountKeyExecute(r ApiGetServiceAccountKeyRequest) (*GetServiceAccountKeyResponse, error)
/*
ListAccessTokens List Access Tokens of Service Account
Get all Access Tokens of a Service Account. The token itself is not returned, only the metadata about the access tokens. Access tokens are listed until they are expired. Revoked tokens are returned until expired.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the Service Account.
@return ApiListAccessTokensRequest
*/
ListAccessTokens(ctx context.Context, projectId string, serviceAccountEmail string) ApiListAccessTokensRequest
// ListAccessTokensExecute executes the request
// @return ListAccessTokensResponse
ListAccessTokensExecute(r ApiListAccessTokensRequest) (*ListAccessTokensResponse, error)
/*
ListFederatedIdentityProviders List all federated identity providers
List all the identity providers the service account is federated with.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@return ApiListFederatedIdentityProvidersRequest
*/
ListFederatedIdentityProviders(ctx context.Context, projectId string, serviceAccountEmail string) ApiListFederatedIdentityProvidersRequest
// ListFederatedIdentityProvidersExecute executes the request
// @return FederatedListFederatedIdentityProvidersResponse
ListFederatedIdentityProvidersExecute(r ApiListFederatedIdentityProvidersRequest) (*FederatedListFederatedIdentityProvidersResponse, error)
/*
ListServiceAccountKeys List all keys that belong to the service account
List all keys that belong to the service account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@return ApiListServiceAccountKeysRequest
*/
ListServiceAccountKeys(ctx context.Context, projectId string, serviceAccountEmail string) ApiListServiceAccountKeysRequest
// ListServiceAccountKeysExecute executes the request
// @return ListServiceAccountKeysResponse
ListServiceAccountKeysExecute(r ApiListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)
/*
ListServiceAccounts List all Service Accounts
List all Service Account resources in a project. Returns the service account resources, not the service accounts that has access to the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiListServiceAccountsRequest
*/
ListServiceAccounts(ctx context.Context, projectId string) ApiListServiceAccountsRequest
// ListServiceAccountsExecute executes the request
// @return ListServiceAccountsResponse
ListServiceAccountsExecute(r ApiListServiceAccountsRequest) (*ListServiceAccountsResponse, error)
/*
PartialUpdateServiceAccountFederatedIdentityProvider Update Service Account Federated Identity Provider
Update a Federated Identity Provider.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param federationId ID of the Federated Identity Provider.
@return ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
*/
PartialUpdateServiceAccountFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
// PartialUpdateServiceAccountFederatedIdentityProviderExecute executes the request
// @return CreateFederatedIdentityProviderResponse
PartialUpdateServiceAccountFederatedIdentityProviderExecute(r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
/*
PartialUpdateServiceAccountKey Update Service Account key
Update a key. You can activate or deactivate a key, or set/delete validUntil. The key cannot be updated using the same service account (authenticated using the short lived token of the key).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param keyId ID of the key.
@return ApiPartialUpdateServiceAccountKeyRequest
*/
PartialUpdateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiPartialUpdateServiceAccountKeyRequest
// PartialUpdateServiceAccountKeyExecute executes the request
// @return PartialUpdateServiceAccountKeyResponse
PartialUpdateServiceAccountKeyExecute(r ApiPartialUpdateServiceAccountKeyRequest) (*PartialUpdateServiceAccountKeyResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateAccessToken ¶
func (a *DefaultAPIService) CreateAccessToken(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateAccessTokenRequest
CreateAccessToken Create a new Access Token
Create an Access Token for a Service Account. The service token can be then used for API calls. Save the response token, as it is not recoverable later. Token metadata can be requested until the token is not expired. A token cannot be created using another token from the same service account. Consider using service account keys instead as a more secure and automation friendly solution.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the Service Account. @return ApiCreateAccessTokenRequest
func (*DefaultAPIService) CreateAccessTokenExecute ¶
func (a *DefaultAPIService) CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*AccessToken, error)
Execute executes the request
@return AccessToken
func (*DefaultAPIService) CreateFederatedIdentityProvider ¶
func (a *DefaultAPIService) CreateFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateFederatedIdentityProviderRequest
CreateFederatedIdentityProvider Create a new Federated Identity Provider
Federate the service account with an identity provider.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the service account. @return ApiCreateFederatedIdentityProviderRequest
func (*DefaultAPIService) CreateFederatedIdentityProviderExecute ¶
func (a *DefaultAPIService) CreateFederatedIdentityProviderExecute(r ApiCreateFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
Execute executes the request
@return CreateFederatedIdentityProviderResponse
func (*DefaultAPIService) CreateServiceAccount ¶
func (a *DefaultAPIService) CreateServiceAccount(ctx context.Context, projectId string) ApiCreateServiceAccountRequest
CreateServiceAccount Create a new Service Account
Create a new Service Account in a project. The service account only resides in the project, and initially has no roles or permissions on any resources. After creation, the service account can be assigned to this project, other projects in the parent organization or to the parent organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @return ApiCreateServiceAccountRequest
func (*DefaultAPIService) CreateServiceAccountExecute ¶
func (a *DefaultAPIService) CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)
Execute executes the request
@return ServiceAccount
func (*DefaultAPIService) CreateServiceAccountKey ¶
func (a *DefaultAPIService) CreateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateServiceAccountKeyRequest
CreateServiceAccountKey Create a new Service Account key
Create a new key to the service account. You can generate an RSA keypair, and post the PUBLIC part of the keypair, or leave empty, then the service will generate a pair. Maximum of 10 key can be added. A new key cannot be created using the same service account (authenticated using the short lived token of another key of the same service account).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the service account. @return ApiCreateServiceAccountKeyRequest
func (*DefaultAPIService) CreateServiceAccountKeyExecute ¶
func (a *DefaultAPIService) CreateServiceAccountKeyExecute(r ApiCreateServiceAccountKeyRequest) (*CreateServiceAccountKeyResponse, error)
Execute executes the request
@return CreateServiceAccountKeyResponse
func (*DefaultAPIService) CreateShortLivedAccessToken ¶
func (a *DefaultAPIService) CreateShortLivedAccessToken(ctx context.Context) ApiCreateShortLivedAccessTokenRequest
CreateShortLivedAccessToken Request short lived API access token (OAUTH2).
Request a short lived API access token with OAUTH2. Compatible with [Using JWTs as Authorization Grants](https://www.rfc-editor.org/rfc/rfc7523.html#section-2.1) You can request a token with a self signed token, or with a refresh token.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateShortLivedAccessTokenRequest
func (*DefaultAPIService) CreateShortLivedAccessTokenExecute ¶
func (a *DefaultAPIService) CreateShortLivedAccessTokenExecute(r ApiCreateShortLivedAccessTokenRequest) (*CreateShortLivedAccessTokenResponse, error)
Execute executes the request
@return CreateShortLivedAccessTokenResponse
func (*DefaultAPIService) DeleteAccessToken ¶
func (a *DefaultAPIService) DeleteAccessToken(ctx context.Context, projectId string, serviceAccountEmail string, accessTokenId string) ApiDeleteAccessTokenRequest
DeleteAccessToken Revoke Access Token
Revoke an Access Token. The access token is instantly revoked, any following calls with the token will be unauthorized. The token metadata is still stored until the expiration time.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The ID of the Service Account. @param accessTokenId The ID of the Access Token. @return ApiDeleteAccessTokenRequest
func (*DefaultAPIService) DeleteAccessTokenExecute ¶
func (a *DefaultAPIService) DeleteAccessTokenExecute(r ApiDeleteAccessTokenRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteServiceAccount ¶
func (a *DefaultAPIService) DeleteServiceAccount(ctx context.Context, projectId string, serviceAccountEmail string) ApiDeleteServiceAccountRequest
DeleteServiceAccount Delete Service Account
Delete a Service Account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the Service Account. @return ApiDeleteServiceAccountRequest
func (*DefaultAPIService) DeleteServiceAccountExecute ¶
func (a *DefaultAPIService) DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteServiceAccountKey ¶
func (a *DefaultAPIService) DeleteServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiDeleteServiceAccountKeyRequest
DeleteServiceAccountKey Delete a service account key
Delete a key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the service account. @param keyId ID of the key. @return ApiDeleteServiceAccountKeyRequest
func (*DefaultAPIService) DeleteServiceAccountKeyExecute ¶
func (a *DefaultAPIService) DeleteServiceAccountKeyExecute(r ApiDeleteServiceAccountKeyRequest) error
Execute executes the request
func (*DefaultAPIService) DeleteServiceFederatedIdentityProvider ¶
func (a *DefaultAPIService) DeleteServiceFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiDeleteServiceFederatedIdentityProviderRequest
DeleteServiceFederatedIdentityProvider Delete a service account Federated Identity Provider
Delete a Federated Identity Provider
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the service account. @param federationId ID of the Federated Identity Provider. @return ApiDeleteServiceFederatedIdentityProviderRequest
func (*DefaultAPIService) DeleteServiceFederatedIdentityProviderExecute ¶
func (a *DefaultAPIService) DeleteServiceFederatedIdentityProviderExecute(r ApiDeleteServiceFederatedIdentityProviderRequest) error
Execute executes the request
func (*DefaultAPIService) GetJWKS ¶
func (a *DefaultAPIService) GetJWKS(ctx context.Context, serviceAccountEmail string) ApiGetJWKSRequest
GetJWKS Get JSON Web Key set of the service account
Get JSON Web Key set of the service account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serviceAccountEmail The email of the service account. @return ApiGetJWKSRequest
func (*DefaultAPIService) GetJWKSExecute ¶
func (a *DefaultAPIService) GetJWKSExecute(r ApiGetJWKSRequest) (*JWKS, error)
Execute executes the request
@return JWKS
func (*DefaultAPIService) GetServiceAccountKey ¶
func (a *DefaultAPIService) GetServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiGetServiceAccountKeyRequest
GetServiceAccountKey Get service account key details
Get key details
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the service account. @param keyId ID of the key. @return ApiGetServiceAccountKeyRequest
func (*DefaultAPIService) GetServiceAccountKeyExecute ¶
func (a *DefaultAPIService) GetServiceAccountKeyExecute(r ApiGetServiceAccountKeyRequest) (*GetServiceAccountKeyResponse, error)
Execute executes the request
@return GetServiceAccountKeyResponse
func (*DefaultAPIService) ListAccessTokens ¶
func (a *DefaultAPIService) ListAccessTokens(ctx context.Context, projectId string, serviceAccountEmail string) ApiListAccessTokensRequest
ListAccessTokens List Access Tokens of Service Account
Get all Access Tokens of a Service Account. The token itself is not returned, only the metadata about the access tokens. Access tokens are listed until they are expired. Revoked tokens are returned until expired.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the Service Account. @return ApiListAccessTokensRequest
func (*DefaultAPIService) ListAccessTokensExecute ¶
func (a *DefaultAPIService) ListAccessTokensExecute(r ApiListAccessTokensRequest) (*ListAccessTokensResponse, error)
Execute executes the request
@return ListAccessTokensResponse
func (*DefaultAPIService) ListFederatedIdentityProviders ¶
func (a *DefaultAPIService) ListFederatedIdentityProviders(ctx context.Context, projectId string, serviceAccountEmail string) ApiListFederatedIdentityProvidersRequest
ListFederatedIdentityProviders List all federated identity providers
List all the identity providers the service account is federated with.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the service account. @return ApiListFederatedIdentityProvidersRequest
func (*DefaultAPIService) ListFederatedIdentityProvidersExecute ¶
func (a *DefaultAPIService) ListFederatedIdentityProvidersExecute(r ApiListFederatedIdentityProvidersRequest) (*FederatedListFederatedIdentityProvidersResponse, error)
Execute executes the request
@return FederatedListFederatedIdentityProvidersResponse
func (*DefaultAPIService) ListServiceAccountKeys ¶
func (a *DefaultAPIService) ListServiceAccountKeys(ctx context.Context, projectId string, serviceAccountEmail string) ApiListServiceAccountKeysRequest
ListServiceAccountKeys List all keys that belong to the service account
List all keys that belong to the service account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the service account. @return ApiListServiceAccountKeysRequest
func (*DefaultAPIService) ListServiceAccountKeysExecute ¶
func (a *DefaultAPIService) ListServiceAccountKeysExecute(r ApiListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)
Execute executes the request
@return ListServiceAccountKeysResponse
func (*DefaultAPIService) ListServiceAccounts ¶
func (a *DefaultAPIService) ListServiceAccounts(ctx context.Context, projectId string) ApiListServiceAccountsRequest
ListServiceAccounts List all Service Accounts
List all Service Account resources in a project. Returns the service account resources, not the service accounts that has access to the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @return ApiListServiceAccountsRequest
func (*DefaultAPIService) ListServiceAccountsExecute ¶
func (a *DefaultAPIService) ListServiceAccountsExecute(r ApiListServiceAccountsRequest) (*ListServiceAccountsResponse, error)
Execute executes the request
@return ListServiceAccountsResponse
func (*DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProvider ¶
func (a *DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
PartialUpdateServiceAccountFederatedIdentityProvider Update Service Account Federated Identity Provider
Update a Federated Identity Provider.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the service account. @param federationId ID of the Federated Identity Provider. @return ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
func (*DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProviderExecute ¶
func (a *DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProviderExecute(r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
Execute executes the request
@return CreateFederatedIdentityProviderResponse
func (*DefaultAPIService) PartialUpdateServiceAccountKey ¶
func (a *DefaultAPIService) PartialUpdateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiPartialUpdateServiceAccountKeyRequest
PartialUpdateServiceAccountKey Update Service Account key
Update a key. You can activate or deactivate a key, or set/delete validUntil. The key cannot be updated using the same service account (authenticated using the short lived token of the key).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The ID of the project. @param serviceAccountEmail The email of the service account. @param keyId ID of the key. @return ApiPartialUpdateServiceAccountKeyRequest
func (*DefaultAPIService) PartialUpdateServiceAccountKeyExecute ¶
func (a *DefaultAPIService) PartialUpdateServiceAccountKeyExecute(r ApiPartialUpdateServiceAccountKeyRequest) (*PartialUpdateServiceAccountKeyResponse, error)
Execute executes the request
@return PartialUpdateServiceAccountKeyResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateAccessTokenExecuteMock can be populated to implement the behavior of the CreateAccessTokenExecute function of this mock
CreateAccessTokenExecuteMock *func(r ApiCreateAccessTokenRequest) (*AccessToken, error)
// CreateFederatedIdentityProviderExecuteMock can be populated to implement the behavior of the CreateFederatedIdentityProviderExecute function of this mock
CreateFederatedIdentityProviderExecuteMock *func(r ApiCreateFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
// CreateServiceAccountExecuteMock can be populated to implement the behavior of the CreateServiceAccountExecute function of this mock
CreateServiceAccountExecuteMock *func(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)
// CreateServiceAccountKeyExecuteMock can be populated to implement the behavior of the CreateServiceAccountKeyExecute function of this mock
CreateServiceAccountKeyExecuteMock *func(r ApiCreateServiceAccountKeyRequest) (*CreateServiceAccountKeyResponse, error)
// CreateShortLivedAccessTokenExecuteMock can be populated to implement the behavior of the CreateShortLivedAccessTokenExecute function of this mock
CreateShortLivedAccessTokenExecuteMock *func(r ApiCreateShortLivedAccessTokenRequest) (*CreateShortLivedAccessTokenResponse, error)
// DeleteAccessTokenExecuteMock can be populated to implement the behavior of the DeleteAccessTokenExecute function of this mock
DeleteAccessTokenExecuteMock *func(r ApiDeleteAccessTokenRequest) error
// DeleteServiceAccountExecuteMock can be populated to implement the behavior of the DeleteServiceAccountExecute function of this mock
DeleteServiceAccountExecuteMock *func(r ApiDeleteServiceAccountRequest) error
// DeleteServiceAccountKeyExecuteMock can be populated to implement the behavior of the DeleteServiceAccountKeyExecute function of this mock
DeleteServiceAccountKeyExecuteMock *func(r ApiDeleteServiceAccountKeyRequest) error
// DeleteServiceFederatedIdentityProviderExecuteMock can be populated to implement the behavior of the DeleteServiceFederatedIdentityProviderExecute function of this mock
DeleteServiceFederatedIdentityProviderExecuteMock *func(r ApiDeleteServiceFederatedIdentityProviderRequest) error
// GetJWKSExecuteMock can be populated to implement the behavior of the GetJWKSExecute function of this mock
GetJWKSExecuteMock *func(r ApiGetJWKSRequest) (*JWKS, error)
// GetServiceAccountKeyExecuteMock can be populated to implement the behavior of the GetServiceAccountKeyExecute function of this mock
GetServiceAccountKeyExecuteMock *func(r ApiGetServiceAccountKeyRequest) (*GetServiceAccountKeyResponse, error)
// ListAccessTokensExecuteMock can be populated to implement the behavior of the ListAccessTokensExecute function of this mock
ListAccessTokensExecuteMock *func(r ApiListAccessTokensRequest) (*ListAccessTokensResponse, error)
// ListFederatedIdentityProvidersExecuteMock can be populated to implement the behavior of the ListFederatedIdentityProvidersExecute function of this mock
ListFederatedIdentityProvidersExecuteMock *func(r ApiListFederatedIdentityProvidersRequest) (*FederatedListFederatedIdentityProvidersResponse, error)
// ListServiceAccountKeysExecuteMock can be populated to implement the behavior of the ListServiceAccountKeysExecute function of this mock
ListServiceAccountKeysExecuteMock *func(r ApiListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)
// ListServiceAccountsExecuteMock can be populated to implement the behavior of the ListServiceAccountsExecute function of this mock
ListServiceAccountsExecuteMock *func(r ApiListServiceAccountsRequest) (*ListServiceAccountsResponse, error)
// PartialUpdateServiceAccountFederatedIdentityProviderExecuteMock can be populated to implement the behavior of the PartialUpdateServiceAccountFederatedIdentityProviderExecute function of this mock
PartialUpdateServiceAccountFederatedIdentityProviderExecuteMock *func(r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
// PartialUpdateServiceAccountKeyExecuteMock can be populated to implement the behavior of the PartialUpdateServiceAccountKeyExecute function of this mock
PartialUpdateServiceAccountKeyExecuteMock *func(r ApiPartialUpdateServiceAccountKeyRequest) (*PartialUpdateServiceAccountKeyResponse, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateAccessToken ¶
func (a DefaultAPIServiceMock) CreateAccessToken(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateAccessTokenRequest
func (DefaultAPIServiceMock) CreateAccessTokenExecute ¶
func (a DefaultAPIServiceMock) CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*AccessToken, error)
CreateAccessTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateAccessTokenExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateFederatedIdentityProvider ¶
func (a DefaultAPIServiceMock) CreateFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateFederatedIdentityProviderRequest
func (DefaultAPIServiceMock) CreateFederatedIdentityProviderExecute ¶
func (a DefaultAPIServiceMock) CreateFederatedIdentityProviderExecute(r ApiCreateFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
CreateFederatedIdentityProviderExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateFederatedIdentityProviderExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateServiceAccount ¶
func (a DefaultAPIServiceMock) CreateServiceAccount(ctx context.Context, projectId string) ApiCreateServiceAccountRequest
func (DefaultAPIServiceMock) CreateServiceAccountExecute ¶
func (a DefaultAPIServiceMock) CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)
CreateServiceAccountExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateServiceAccountExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateServiceAccountKey ¶
func (a DefaultAPIServiceMock) CreateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateServiceAccountKeyRequest
func (DefaultAPIServiceMock) CreateServiceAccountKeyExecute ¶
func (a DefaultAPIServiceMock) CreateServiceAccountKeyExecute(r ApiCreateServiceAccountKeyRequest) (*CreateServiceAccountKeyResponse, error)
CreateServiceAccountKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateServiceAccountKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) CreateShortLivedAccessToken ¶
func (a DefaultAPIServiceMock) CreateShortLivedAccessToken(ctx context.Context) ApiCreateShortLivedAccessTokenRequest
func (DefaultAPIServiceMock) CreateShortLivedAccessTokenExecute ¶
func (a DefaultAPIServiceMock) CreateShortLivedAccessTokenExecute(r ApiCreateShortLivedAccessTokenRequest) (*CreateShortLivedAccessTokenResponse, error)
CreateShortLivedAccessTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateShortLivedAccessTokenExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteAccessToken ¶
func (a DefaultAPIServiceMock) DeleteAccessToken(ctx context.Context, projectId string, serviceAccountEmail string, accessTokenId string) ApiDeleteAccessTokenRequest
func (DefaultAPIServiceMock) DeleteAccessTokenExecute ¶
func (a DefaultAPIServiceMock) DeleteAccessTokenExecute(r ApiDeleteAccessTokenRequest) error
DeleteAccessTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteAccessTokenExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteServiceAccount ¶
func (a DefaultAPIServiceMock) DeleteServiceAccount(ctx context.Context, projectId string, serviceAccountEmail string) ApiDeleteServiceAccountRequest
func (DefaultAPIServiceMock) DeleteServiceAccountExecute ¶
func (a DefaultAPIServiceMock) DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) error
DeleteServiceAccountExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteServiceAccountExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteServiceAccountKey ¶
func (a DefaultAPIServiceMock) DeleteServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiDeleteServiceAccountKeyRequest
func (DefaultAPIServiceMock) DeleteServiceAccountKeyExecute ¶
func (a DefaultAPIServiceMock) DeleteServiceAccountKeyExecute(r ApiDeleteServiceAccountKeyRequest) error
DeleteServiceAccountKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteServiceAccountKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteServiceFederatedIdentityProvider ¶
func (a DefaultAPIServiceMock) DeleteServiceFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiDeleteServiceFederatedIdentityProviderRequest
func (DefaultAPIServiceMock) DeleteServiceFederatedIdentityProviderExecute ¶
func (a DefaultAPIServiceMock) DeleteServiceFederatedIdentityProviderExecute(r ApiDeleteServiceFederatedIdentityProviderRequest) error
DeleteServiceFederatedIdentityProviderExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteServiceFederatedIdentityProviderExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetJWKS ¶
func (a DefaultAPIServiceMock) GetJWKS(ctx context.Context, serviceAccountEmail string) ApiGetJWKSRequest
func (DefaultAPIServiceMock) GetJWKSExecute ¶
func (a DefaultAPIServiceMock) GetJWKSExecute(r ApiGetJWKSRequest) (*JWKS, error)
GetJWKSExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetJWKSExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetServiceAccountKey ¶
func (a DefaultAPIServiceMock) GetServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiGetServiceAccountKeyRequest
func (DefaultAPIServiceMock) GetServiceAccountKeyExecute ¶
func (a DefaultAPIServiceMock) GetServiceAccountKeyExecute(r ApiGetServiceAccountKeyRequest) (*GetServiceAccountKeyResponse, error)
GetServiceAccountKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServiceAccountKeyExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListAccessTokens ¶
func (a DefaultAPIServiceMock) ListAccessTokens(ctx context.Context, projectId string, serviceAccountEmail string) ApiListAccessTokensRequest
func (DefaultAPIServiceMock) ListAccessTokensExecute ¶
func (a DefaultAPIServiceMock) ListAccessTokensExecute(r ApiListAccessTokensRequest) (*ListAccessTokensResponse, error)
ListAccessTokensExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAccessTokensExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListFederatedIdentityProviders ¶
func (a DefaultAPIServiceMock) ListFederatedIdentityProviders(ctx context.Context, projectId string, serviceAccountEmail string) ApiListFederatedIdentityProvidersRequest
func (DefaultAPIServiceMock) ListFederatedIdentityProvidersExecute ¶
func (a DefaultAPIServiceMock) ListFederatedIdentityProvidersExecute(r ApiListFederatedIdentityProvidersRequest) (*FederatedListFederatedIdentityProvidersResponse, error)
ListFederatedIdentityProvidersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListFederatedIdentityProvidersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListServiceAccountKeys ¶
func (a DefaultAPIServiceMock) ListServiceAccountKeys(ctx context.Context, projectId string, serviceAccountEmail string) ApiListServiceAccountKeysRequest
func (DefaultAPIServiceMock) ListServiceAccountKeysExecute ¶
func (a DefaultAPIServiceMock) ListServiceAccountKeysExecute(r ApiListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)
ListServiceAccountKeysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServiceAccountKeysExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListServiceAccounts ¶
func (a DefaultAPIServiceMock) ListServiceAccounts(ctx context.Context, projectId string) ApiListServiceAccountsRequest
func (DefaultAPIServiceMock) ListServiceAccountsExecute ¶
func (a DefaultAPIServiceMock) ListServiceAccountsExecute(r ApiListServiceAccountsRequest) (*ListServiceAccountsResponse, error)
ListServiceAccountsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServiceAccountsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateServiceAccountFederatedIdentityProvider ¶
func (a DefaultAPIServiceMock) PartialUpdateServiceAccountFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
func (DefaultAPIServiceMock) PartialUpdateServiceAccountFederatedIdentityProviderExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateServiceAccountFederatedIdentityProviderExecute(r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
PartialUpdateServiceAccountFederatedIdentityProviderExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateServiceAccountFederatedIdentityProviderExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) PartialUpdateServiceAccountKey ¶
func (a DefaultAPIServiceMock) PartialUpdateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiPartialUpdateServiceAccountKeyRequest
func (DefaultAPIServiceMock) PartialUpdateServiceAccountKeyExecute ¶
func (a DefaultAPIServiceMock) PartialUpdateServiceAccountKeyExecute(r ApiPartialUpdateServiceAccountKeyRequest) (*PartialUpdateServiceAccountKeyResponse, error)
PartialUpdateServiceAccountKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateServiceAccountKeyExecuteMock field in the DefaultAPIServiceMock struct.
type Error ¶
type Error struct {
Error string `json:"error"`
Message string `json:"message"`
Path string `json:"path"`
Status int32 `json:"status"`
TimeStamp time.Time `json:"timeStamp"`
}
Error Contains error information.
func NewError ¶
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*Error) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Error) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*Error) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Error) GetTimeStamp ¶
GetTimeStamp returns the TimeStamp field value
func (*Error) GetTimeStampOk ¶
GetTimeStampOk returns a tuple with the TimeStamp field value and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
func (*Error) SetTimeStamp ¶
SetTimeStamp sets field value
func (*Error) UnmarshalJSON ¶
type FederatedListFederatedIdentityProvidersResponse ¶
type FederatedListFederatedIdentityProvidersResponse struct {
ItemsPerPage float32 `json:"itemsPerPage"`
Resources []CreateFederatedIdentityProviderResponse `json:"resources"`
StartIndex float32 `json:"startIndex"`
TotalResults float32 `json:"totalResults"`
}
FederatedListFederatedIdentityProvidersResponse struct for FederatedListFederatedIdentityProvidersResponse
func NewFederatedListFederatedIdentityProvidersResponse ¶
func NewFederatedListFederatedIdentityProvidersResponse(itemsPerPage float32, resources []CreateFederatedIdentityProviderResponse, startIndex float32, totalResults float32) *FederatedListFederatedIdentityProvidersResponse
NewFederatedListFederatedIdentityProvidersResponse instantiates a new FederatedListFederatedIdentityProvidersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFederatedListFederatedIdentityProvidersResponseWithDefaults ¶
func NewFederatedListFederatedIdentityProvidersResponseWithDefaults() *FederatedListFederatedIdentityProvidersResponse
NewFederatedListFederatedIdentityProvidersResponseWithDefaults instantiates a new FederatedListFederatedIdentityProvidersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FederatedListFederatedIdentityProvidersResponse) GetItemsPerPage ¶
func (o *FederatedListFederatedIdentityProvidersResponse) GetItemsPerPage() float32
GetItemsPerPage returns the ItemsPerPage field value
func (*FederatedListFederatedIdentityProvidersResponse) GetItemsPerPageOk ¶
func (o *FederatedListFederatedIdentityProvidersResponse) GetItemsPerPageOk() (*float32, bool)
GetItemsPerPageOk returns a tuple with the ItemsPerPage field value and a boolean to check if the value has been set.
func (*FederatedListFederatedIdentityProvidersResponse) GetResources ¶
func (o *FederatedListFederatedIdentityProvidersResponse) GetResources() []CreateFederatedIdentityProviderResponse
GetResources returns the Resources field value
func (*FederatedListFederatedIdentityProvidersResponse) GetResourcesOk ¶
func (o *FederatedListFederatedIdentityProvidersResponse) GetResourcesOk() ([]CreateFederatedIdentityProviderResponse, bool)
GetResourcesOk returns a tuple with the Resources field value and a boolean to check if the value has been set.
func (*FederatedListFederatedIdentityProvidersResponse) GetStartIndex ¶
func (o *FederatedListFederatedIdentityProvidersResponse) GetStartIndex() float32
GetStartIndex returns the StartIndex field value
func (*FederatedListFederatedIdentityProvidersResponse) GetStartIndexOk ¶
func (o *FederatedListFederatedIdentityProvidersResponse) GetStartIndexOk() (*float32, bool)
GetStartIndexOk returns a tuple with the StartIndex field value and a boolean to check if the value has been set.
func (*FederatedListFederatedIdentityProvidersResponse) GetTotalResults ¶
func (o *FederatedListFederatedIdentityProvidersResponse) GetTotalResults() float32
GetTotalResults returns the TotalResults field value
func (*FederatedListFederatedIdentityProvidersResponse) GetTotalResultsOk ¶
func (o *FederatedListFederatedIdentityProvidersResponse) GetTotalResultsOk() (*float32, bool)
GetTotalResultsOk returns a tuple with the TotalResults field value and a boolean to check if the value has been set.
func (FederatedListFederatedIdentityProvidersResponse) MarshalJSON ¶
func (o FederatedListFederatedIdentityProvidersResponse) MarshalJSON() ([]byte, error)
func (*FederatedListFederatedIdentityProvidersResponse) SetItemsPerPage ¶
func (o *FederatedListFederatedIdentityProvidersResponse) SetItemsPerPage(v float32)
SetItemsPerPage sets field value
func (*FederatedListFederatedIdentityProvidersResponse) SetResources ¶
func (o *FederatedListFederatedIdentityProvidersResponse) SetResources(v []CreateFederatedIdentityProviderResponse)
SetResources sets field value
func (*FederatedListFederatedIdentityProvidersResponse) SetStartIndex ¶
func (o *FederatedListFederatedIdentityProvidersResponse) SetStartIndex(v float32)
SetStartIndex sets field value
func (*FederatedListFederatedIdentityProvidersResponse) SetTotalResults ¶
func (o *FederatedListFederatedIdentityProvidersResponse) SetTotalResults(v float32)
SetTotalResults sets field value
func (FederatedListFederatedIdentityProvidersResponse) ToMap ¶
func (o FederatedListFederatedIdentityProvidersResponse) ToMap() (map[string]interface{}, error)
func (*FederatedListFederatedIdentityProvidersResponse) UnmarshalJSON ¶
func (o *FederatedListFederatedIdentityProvidersResponse) UnmarshalJSON(data []byte) (err error)
type GetServiceAccountKeyResponse ¶
type GetServiceAccountKeyResponse struct {
Active bool `json:"active"`
// Creation time of the key
CreatedAt time.Time `json:"createdAt"`
Credentials GetServiceAccountKeyResponseCredentials `json:"credentials"`
// Unique ID of the key.
Id string `json:"id"`
KeyAlgorithm string `json:"keyAlgorithm"`
KeyOrigin string `json:"keyOrigin"`
KeyType string `json:"keyType"`
// Public key, in the requested format
PublicKey *string `json:"publicKey,omitempty"`
// If specified, the timestamp until the key is active. May be null
ValidUntil *time.Time `json:"validUntil,omitempty"`
}
GetServiceAccountKeyResponse struct for GetServiceAccountKeyResponse
func NewGetServiceAccountKeyResponse ¶
func NewGetServiceAccountKeyResponse(active bool, createdAt time.Time, credentials GetServiceAccountKeyResponseCredentials, id string, keyAlgorithm string, keyOrigin string, keyType string) *GetServiceAccountKeyResponse
NewGetServiceAccountKeyResponse instantiates a new GetServiceAccountKeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetServiceAccountKeyResponseWithDefaults ¶
func NewGetServiceAccountKeyResponseWithDefaults() *GetServiceAccountKeyResponse
NewGetServiceAccountKeyResponseWithDefaults instantiates a new GetServiceAccountKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetServiceAccountKeyResponse) GetActive ¶
func (o *GetServiceAccountKeyResponse) GetActive() bool
GetActive returns the Active field value
func (*GetServiceAccountKeyResponse) GetActiveOk ¶
func (o *GetServiceAccountKeyResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponse) GetCreatedAt ¶
func (o *GetServiceAccountKeyResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*GetServiceAccountKeyResponse) GetCreatedAtOk ¶
func (o *GetServiceAccountKeyResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponse) GetCredentials ¶
func (o *GetServiceAccountKeyResponse) GetCredentials() GetServiceAccountKeyResponseCredentials
GetCredentials returns the Credentials field value
func (*GetServiceAccountKeyResponse) GetCredentialsOk ¶
func (o *GetServiceAccountKeyResponse) GetCredentialsOk() (*GetServiceAccountKeyResponseCredentials, bool)
GetCredentialsOk returns a tuple with the Credentials field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponse) GetId ¶
func (o *GetServiceAccountKeyResponse) GetId() string
GetId returns the Id field value
func (*GetServiceAccountKeyResponse) GetIdOk ¶
func (o *GetServiceAccountKeyResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponse) GetKeyAlgorithm ¶
func (o *GetServiceAccountKeyResponse) GetKeyAlgorithm() string
GetKeyAlgorithm returns the KeyAlgorithm field value
func (*GetServiceAccountKeyResponse) GetKeyAlgorithmOk ¶
func (o *GetServiceAccountKeyResponse) GetKeyAlgorithmOk() (*string, bool)
GetKeyAlgorithmOk returns a tuple with the KeyAlgorithm field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponse) GetKeyOrigin ¶
func (o *GetServiceAccountKeyResponse) GetKeyOrigin() string
GetKeyOrigin returns the KeyOrigin field value
func (*GetServiceAccountKeyResponse) GetKeyOriginOk ¶
func (o *GetServiceAccountKeyResponse) GetKeyOriginOk() (*string, bool)
GetKeyOriginOk returns a tuple with the KeyOrigin field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponse) GetKeyType ¶
func (o *GetServiceAccountKeyResponse) GetKeyType() string
GetKeyType returns the KeyType field value
func (*GetServiceAccountKeyResponse) GetKeyTypeOk ¶
func (o *GetServiceAccountKeyResponse) GetKeyTypeOk() (*string, bool)
GetKeyTypeOk returns a tuple with the KeyType field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponse) GetPublicKey ¶
func (o *GetServiceAccountKeyResponse) GetPublicKey() string
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*GetServiceAccountKeyResponse) GetPublicKeyOk ¶
func (o *GetServiceAccountKeyResponse) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponse) GetValidUntil ¶
func (o *GetServiceAccountKeyResponse) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value if set, zero value otherwise.
func (*GetServiceAccountKeyResponse) GetValidUntilOk ¶
func (o *GetServiceAccountKeyResponse) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponse) HasPublicKey ¶
func (o *GetServiceAccountKeyResponse) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (*GetServiceAccountKeyResponse) HasValidUntil ¶
func (o *GetServiceAccountKeyResponse) HasValidUntil() bool
HasValidUntil returns a boolean if a field has been set.
func (GetServiceAccountKeyResponse) MarshalJSON ¶
func (o GetServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
func (*GetServiceAccountKeyResponse) SetActive ¶
func (o *GetServiceAccountKeyResponse) SetActive(v bool)
SetActive sets field value
func (*GetServiceAccountKeyResponse) SetCreatedAt ¶
func (o *GetServiceAccountKeyResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*GetServiceAccountKeyResponse) SetCredentials ¶
func (o *GetServiceAccountKeyResponse) SetCredentials(v GetServiceAccountKeyResponseCredentials)
SetCredentials sets field value
func (*GetServiceAccountKeyResponse) SetId ¶
func (o *GetServiceAccountKeyResponse) SetId(v string)
SetId sets field value
func (*GetServiceAccountKeyResponse) SetKeyAlgorithm ¶
func (o *GetServiceAccountKeyResponse) SetKeyAlgorithm(v string)
SetKeyAlgorithm sets field value
func (*GetServiceAccountKeyResponse) SetKeyOrigin ¶
func (o *GetServiceAccountKeyResponse) SetKeyOrigin(v string)
SetKeyOrigin sets field value
func (*GetServiceAccountKeyResponse) SetKeyType ¶
func (o *GetServiceAccountKeyResponse) SetKeyType(v string)
SetKeyType sets field value
func (*GetServiceAccountKeyResponse) SetPublicKey ¶
func (o *GetServiceAccountKeyResponse) SetPublicKey(v string)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (*GetServiceAccountKeyResponse) SetValidUntil ¶
func (o *GetServiceAccountKeyResponse) SetValidUntil(v time.Time)
SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.
func (GetServiceAccountKeyResponse) ToMap ¶
func (o GetServiceAccountKeyResponse) ToMap() (map[string]interface{}, error)
func (*GetServiceAccountKeyResponse) UnmarshalJSON ¶
func (o *GetServiceAccountKeyResponse) UnmarshalJSON(data []byte) (err error)
type GetServiceAccountKeyResponseCredentials ¶
type GetServiceAccountKeyResponseCredentials struct {
// Audience - service account API URL
Aud string `json:"aud"`
// Service account email
Iss string `json:"iss"`
// Key id to use
Kid string `json:"kid"`
// Service account id
Sub string `json:"sub"`
}
GetServiceAccountKeyResponseCredentials struct for GetServiceAccountKeyResponseCredentials
func NewGetServiceAccountKeyResponseCredentials ¶
func NewGetServiceAccountKeyResponseCredentials(aud string, iss string, kid string, sub string) *GetServiceAccountKeyResponseCredentials
NewGetServiceAccountKeyResponseCredentials instantiates a new GetServiceAccountKeyResponseCredentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetServiceAccountKeyResponseCredentialsWithDefaults ¶
func NewGetServiceAccountKeyResponseCredentialsWithDefaults() *GetServiceAccountKeyResponseCredentials
NewGetServiceAccountKeyResponseCredentialsWithDefaults instantiates a new GetServiceAccountKeyResponseCredentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetServiceAccountKeyResponseCredentials) GetAud ¶
func (o *GetServiceAccountKeyResponseCredentials) GetAud() string
GetAud returns the Aud field value
func (*GetServiceAccountKeyResponseCredentials) GetAudOk ¶
func (o *GetServiceAccountKeyResponseCredentials) GetAudOk() (*string, bool)
GetAudOk returns a tuple with the Aud field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponseCredentials) GetIss ¶
func (o *GetServiceAccountKeyResponseCredentials) GetIss() string
GetIss returns the Iss field value
func (*GetServiceAccountKeyResponseCredentials) GetIssOk ¶
func (o *GetServiceAccountKeyResponseCredentials) GetIssOk() (*string, bool)
GetIssOk returns a tuple with the Iss field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponseCredentials) GetKid ¶
func (o *GetServiceAccountKeyResponseCredentials) GetKid() string
GetKid returns the Kid field value
func (*GetServiceAccountKeyResponseCredentials) GetKidOk ¶
func (o *GetServiceAccountKeyResponseCredentials) GetKidOk() (*string, bool)
GetKidOk returns a tuple with the Kid field value and a boolean to check if the value has been set.
func (*GetServiceAccountKeyResponseCredentials) GetSub ¶
func (o *GetServiceAccountKeyResponseCredentials) GetSub() string
GetSub returns the Sub field value
func (*GetServiceAccountKeyResponseCredentials) GetSubOk ¶
func (o *GetServiceAccountKeyResponseCredentials) GetSubOk() (*string, bool)
GetSubOk returns a tuple with the Sub field value and a boolean to check if the value has been set.
func (GetServiceAccountKeyResponseCredentials) MarshalJSON ¶
func (o GetServiceAccountKeyResponseCredentials) MarshalJSON() ([]byte, error)
func (*GetServiceAccountKeyResponseCredentials) SetAud ¶
func (o *GetServiceAccountKeyResponseCredentials) SetAud(v string)
SetAud sets field value
func (*GetServiceAccountKeyResponseCredentials) SetIss ¶
func (o *GetServiceAccountKeyResponseCredentials) SetIss(v string)
SetIss sets field value
func (*GetServiceAccountKeyResponseCredentials) SetKid ¶
func (o *GetServiceAccountKeyResponseCredentials) SetKid(v string)
SetKid sets field value
func (*GetServiceAccountKeyResponseCredentials) SetSub ¶
func (o *GetServiceAccountKeyResponseCredentials) SetSub(v string)
SetSub sets field value
func (GetServiceAccountKeyResponseCredentials) ToMap ¶
func (o GetServiceAccountKeyResponseCredentials) ToMap() (map[string]interface{}, error)
func (*GetServiceAccountKeyResponseCredentials) UnmarshalJSON ¶
func (o *GetServiceAccountKeyResponseCredentials) UnmarshalJSON(data []byte) (err error)
type JWK ¶
type JWK struct {
Alg *string `json:"alg,omitempty"`
E string `json:"e"`
Kid *string `json:"kid,omitempty"`
Ks *string `json:"ks,omitempty"`
N string `json:"n"`
Ops *string `json:"ops,omitempty"`
Use *string `json:"use,omitempty"`
X5c *string `json:"x5c,omitempty"`
X5t *string `json:"x5t,omitempty"`
X5t256 *string `json:"x5t256,omitempty"`
X5u *string `json:"x5u,omitempty"`
}
JWK JSON Web Key according to https://datatracker.ietf.org/doc/html/rfc7517#section-4
func NewJWK ¶
NewJWK instantiates a new JWK object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJWKWithDefaults ¶
func NewJWKWithDefaults() *JWK
NewJWKWithDefaults instantiates a new JWK object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JWK) GetAlgOk ¶
GetAlgOk returns a tuple with the Alg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JWK) GetEOk ¶
GetEOk returns a tuple with the E field value and a boolean to check if the value has been set.
func (*JWK) GetKidOk ¶
GetKidOk returns a tuple with the Kid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JWK) GetKsOk ¶
GetKsOk returns a tuple with the Ks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JWK) GetNOk ¶
GetNOk returns a tuple with the N field value and a boolean to check if the value has been set.
func (*JWK) GetOpsOk ¶
GetOpsOk returns a tuple with the Ops field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JWK) GetUseOk ¶
GetUseOk returns a tuple with the Use field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JWK) GetX5cOk ¶
GetX5cOk returns a tuple with the X5c field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JWK) GetX5t256Ok ¶
GetX5t256Ok returns a tuple with the X5t256 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JWK) GetX5tOk ¶
GetX5tOk returns a tuple with the X5t field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JWK) GetX5uOk ¶
GetX5uOk returns a tuple with the X5u field value if set, nil otherwise and a boolean to check if the value has been set.
func (JWK) MarshalJSON ¶
func (*JWK) SetX5t256 ¶
SetX5t256 gets a reference to the given string and assigns it to the X5t256 field.
func (*JWK) UnmarshalJSON ¶
type JWKS ¶
type JWKS struct {
Keys []JWK `json:"keys"`
}
JWKS struct for JWKS
func NewJWKS ¶
NewJWKS instantiates a new JWKS object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJWKSWithDefaults ¶
func NewJWKSWithDefaults() *JWKS
NewJWKSWithDefaults instantiates a new JWKS object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JWKS) GetKeysOk ¶
GetKeysOk returns a tuple with the Keys field value and a boolean to check if the value has been set.
func (JWKS) MarshalJSON ¶
func (*JWKS) UnmarshalJSON ¶
type ListAccessTokensResponse ¶
type ListAccessTokensResponse struct {
Items []AccessTokenMetadata `json:"items,omitempty"`
}
ListAccessTokensResponse struct for ListAccessTokensResponse
func NewListAccessTokensResponse ¶
func NewListAccessTokensResponse() *ListAccessTokensResponse
NewListAccessTokensResponse instantiates a new ListAccessTokensResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListAccessTokensResponseWithDefaults ¶
func NewListAccessTokensResponseWithDefaults() *ListAccessTokensResponse
NewListAccessTokensResponseWithDefaults instantiates a new ListAccessTokensResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListAccessTokensResponse) GetItems ¶
func (o *ListAccessTokensResponse) GetItems() []AccessTokenMetadata
GetItems returns the Items field value if set, zero value otherwise.
func (*ListAccessTokensResponse) GetItemsOk ¶
func (o *ListAccessTokensResponse) GetItemsOk() ([]AccessTokenMetadata, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListAccessTokensResponse) HasItems ¶
func (o *ListAccessTokensResponse) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ListAccessTokensResponse) MarshalJSON ¶
func (o ListAccessTokensResponse) MarshalJSON() ([]byte, error)
func (*ListAccessTokensResponse) SetItems ¶
func (o *ListAccessTokensResponse) SetItems(v []AccessTokenMetadata)
SetItems gets a reference to the given []AccessTokenMetadata and assigns it to the Items field.
func (ListAccessTokensResponse) ToMap ¶
func (o ListAccessTokensResponse) ToMap() (map[string]interface{}, error)
type ListServiceAccountKeysResponse ¶
type ListServiceAccountKeysResponse struct {
Items []ServiceAccountKeyListResponse `json:"items"`
}
ListServiceAccountKeysResponse struct for ListServiceAccountKeysResponse
func NewListServiceAccountKeysResponse ¶
func NewListServiceAccountKeysResponse(items []ServiceAccountKeyListResponse) *ListServiceAccountKeysResponse
NewListServiceAccountKeysResponse instantiates a new ListServiceAccountKeysResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListServiceAccountKeysResponseWithDefaults ¶
func NewListServiceAccountKeysResponseWithDefaults() *ListServiceAccountKeysResponse
NewListServiceAccountKeysResponseWithDefaults instantiates a new ListServiceAccountKeysResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListServiceAccountKeysResponse) GetItems ¶
func (o *ListServiceAccountKeysResponse) GetItems() []ServiceAccountKeyListResponse
GetItems returns the Items field value
func (*ListServiceAccountKeysResponse) GetItemsOk ¶
func (o *ListServiceAccountKeysResponse) GetItemsOk() ([]ServiceAccountKeyListResponse, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (ListServiceAccountKeysResponse) MarshalJSON ¶
func (o ListServiceAccountKeysResponse) MarshalJSON() ([]byte, error)
func (*ListServiceAccountKeysResponse) SetItems ¶
func (o *ListServiceAccountKeysResponse) SetItems(v []ServiceAccountKeyListResponse)
SetItems sets field value
func (ListServiceAccountKeysResponse) ToMap ¶
func (o ListServiceAccountKeysResponse) ToMap() (map[string]interface{}, error)
func (*ListServiceAccountKeysResponse) UnmarshalJSON ¶
func (o *ListServiceAccountKeysResponse) UnmarshalJSON(data []byte) (err error)
type ListServiceAccountsResponse ¶
type ListServiceAccountsResponse struct {
Items []ServiceAccount `json:"items"`
}
ListServiceAccountsResponse struct for ListServiceAccountsResponse
func NewListServiceAccountsResponse ¶
func NewListServiceAccountsResponse(items []ServiceAccount) *ListServiceAccountsResponse
NewListServiceAccountsResponse instantiates a new ListServiceAccountsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListServiceAccountsResponseWithDefaults ¶
func NewListServiceAccountsResponseWithDefaults() *ListServiceAccountsResponse
NewListServiceAccountsResponseWithDefaults instantiates a new ListServiceAccountsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListServiceAccountsResponse) GetItems ¶
func (o *ListServiceAccountsResponse) GetItems() []ServiceAccount
GetItems returns the Items field value
func (*ListServiceAccountsResponse) GetItemsOk ¶
func (o *ListServiceAccountsResponse) GetItemsOk() ([]ServiceAccount, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (ListServiceAccountsResponse) MarshalJSON ¶
func (o ListServiceAccountsResponse) MarshalJSON() ([]byte, error)
func (*ListServiceAccountsResponse) SetItems ¶
func (o *ListServiceAccountsResponse) SetItems(v []ServiceAccount)
SetItems sets field value
func (ListServiceAccountsResponse) ToMap ¶
func (o ListServiceAccountsResponse) ToMap() (map[string]interface{}, error)
func (*ListServiceAccountsResponse) UnmarshalJSON ¶
func (o *ListServiceAccountsResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableAccessToken ¶
type NullableAccessToken struct {
// contains filtered or unexported fields
}
func NewNullableAccessToken ¶
func NewNullableAccessToken(val *AccessToken) *NullableAccessToken
func (NullableAccessToken) Get ¶
func (v NullableAccessToken) Get() *AccessToken
func (NullableAccessToken) IsSet ¶
func (v NullableAccessToken) IsSet() bool
func (NullableAccessToken) MarshalJSON ¶
func (v NullableAccessToken) MarshalJSON() ([]byte, error)
func (*NullableAccessToken) Set ¶
func (v *NullableAccessToken) Set(val *AccessToken)
func (*NullableAccessToken) UnmarshalJSON ¶
func (v *NullableAccessToken) UnmarshalJSON(src []byte) error
func (*NullableAccessToken) Unset ¶
func (v *NullableAccessToken) Unset()
type NullableAccessTokenMetadata ¶
type NullableAccessTokenMetadata struct {
// contains filtered or unexported fields
}
func NewNullableAccessTokenMetadata ¶
func NewNullableAccessTokenMetadata(val *AccessTokenMetadata) *NullableAccessTokenMetadata
func (NullableAccessTokenMetadata) Get ¶
func (v NullableAccessTokenMetadata) Get() *AccessTokenMetadata
func (NullableAccessTokenMetadata) IsSet ¶
func (v NullableAccessTokenMetadata) IsSet() bool
func (NullableAccessTokenMetadata) MarshalJSON ¶
func (v NullableAccessTokenMetadata) MarshalJSON() ([]byte, error)
func (*NullableAccessTokenMetadata) Set ¶
func (v *NullableAccessTokenMetadata) Set(val *AccessTokenMetadata)
func (*NullableAccessTokenMetadata) UnmarshalJSON ¶
func (v *NullableAccessTokenMetadata) UnmarshalJSON(src []byte) error
func (*NullableAccessTokenMetadata) Unset ¶
func (v *NullableAccessTokenMetadata) Unset()
type NullableAuthError ¶
type NullableAuthError struct {
// contains filtered or unexported fields
}
func NewNullableAuthError ¶
func NewNullableAuthError(val *AuthError) *NullableAuthError
func (NullableAuthError) Get ¶
func (v NullableAuthError) Get() *AuthError
func (NullableAuthError) IsSet ¶
func (v NullableAuthError) IsSet() bool
func (NullableAuthError) MarshalJSON ¶
func (v NullableAuthError) MarshalJSON() ([]byte, error)
func (*NullableAuthError) Set ¶
func (v *NullableAuthError) Set(val *AuthError)
func (*NullableAuthError) UnmarshalJSON ¶
func (v *NullableAuthError) UnmarshalJSON(src []byte) error
func (*NullableAuthError) Unset ¶
func (v *NullableAuthError) Unset()
type NullableAuthErrorError ¶
type NullableAuthErrorError struct {
// contains filtered or unexported fields
}
func NewNullableAuthErrorError ¶
func NewNullableAuthErrorError(val *AuthErrorError) *NullableAuthErrorError
func (NullableAuthErrorError) Get ¶
func (v NullableAuthErrorError) Get() *AuthErrorError
func (NullableAuthErrorError) IsSet ¶
func (v NullableAuthErrorError) IsSet() bool
func (NullableAuthErrorError) MarshalJSON ¶
func (v NullableAuthErrorError) MarshalJSON() ([]byte, error)
func (*NullableAuthErrorError) Set ¶
func (v *NullableAuthErrorError) Set(val *AuthErrorError)
func (*NullableAuthErrorError) UnmarshalJSON ¶
func (v *NullableAuthErrorError) UnmarshalJSON(src []byte) error
func (*NullableAuthErrorError) Unset ¶
func (v *NullableAuthErrorError) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCreateAccessTokenPayload ¶
type NullableCreateAccessTokenPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateAccessTokenPayload ¶
func NewNullableCreateAccessTokenPayload(val *CreateAccessTokenPayload) *NullableCreateAccessTokenPayload
func (NullableCreateAccessTokenPayload) Get ¶
func (v NullableCreateAccessTokenPayload) Get() *CreateAccessTokenPayload
func (NullableCreateAccessTokenPayload) IsSet ¶
func (v NullableCreateAccessTokenPayload) IsSet() bool
func (NullableCreateAccessTokenPayload) MarshalJSON ¶
func (v NullableCreateAccessTokenPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateAccessTokenPayload) Set ¶
func (v *NullableCreateAccessTokenPayload) Set(val *CreateAccessTokenPayload)
func (*NullableCreateAccessTokenPayload) UnmarshalJSON ¶
func (v *NullableCreateAccessTokenPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateAccessTokenPayload) Unset ¶
func (v *NullableCreateAccessTokenPayload) Unset()
type NullableCreateFederatedIdentityProviderPayload ¶
type NullableCreateFederatedIdentityProviderPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateFederatedIdentityProviderPayload ¶
func NewNullableCreateFederatedIdentityProviderPayload(val *CreateFederatedIdentityProviderPayload) *NullableCreateFederatedIdentityProviderPayload
func (NullableCreateFederatedIdentityProviderPayload) IsSet ¶
func (v NullableCreateFederatedIdentityProviderPayload) IsSet() bool
func (NullableCreateFederatedIdentityProviderPayload) MarshalJSON ¶
func (v NullableCreateFederatedIdentityProviderPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateFederatedIdentityProviderPayload) Set ¶
func (v *NullableCreateFederatedIdentityProviderPayload) Set(val *CreateFederatedIdentityProviderPayload)
func (*NullableCreateFederatedIdentityProviderPayload) UnmarshalJSON ¶
func (v *NullableCreateFederatedIdentityProviderPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateFederatedIdentityProviderPayload) Unset ¶
func (v *NullableCreateFederatedIdentityProviderPayload) Unset()
type NullableCreateFederatedIdentityProviderPayloadAssertionsInner ¶
type NullableCreateFederatedIdentityProviderPayloadAssertionsInner struct {
// contains filtered or unexported fields
}
func NewNullableCreateFederatedIdentityProviderPayloadAssertionsInner ¶
func NewNullableCreateFederatedIdentityProviderPayloadAssertionsInner(val *CreateFederatedIdentityProviderPayloadAssertionsInner) *NullableCreateFederatedIdentityProviderPayloadAssertionsInner
func (NullableCreateFederatedIdentityProviderPayloadAssertionsInner) IsSet ¶
func (v NullableCreateFederatedIdentityProviderPayloadAssertionsInner) IsSet() bool
func (NullableCreateFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON ¶
func (v NullableCreateFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON() ([]byte, error)
func (*NullableCreateFederatedIdentityProviderPayloadAssertionsInner) UnmarshalJSON ¶
func (v *NullableCreateFederatedIdentityProviderPayloadAssertionsInner) UnmarshalJSON(src []byte) error
func (*NullableCreateFederatedIdentityProviderPayloadAssertionsInner) Unset ¶
func (v *NullableCreateFederatedIdentityProviderPayloadAssertionsInner) Unset()
type NullableCreateFederatedIdentityProviderResponse ¶
type NullableCreateFederatedIdentityProviderResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateFederatedIdentityProviderResponse ¶
func NewNullableCreateFederatedIdentityProviderResponse(val *CreateFederatedIdentityProviderResponse) *NullableCreateFederatedIdentityProviderResponse
func (NullableCreateFederatedIdentityProviderResponse) IsSet ¶
func (v NullableCreateFederatedIdentityProviderResponse) IsSet() bool
func (NullableCreateFederatedIdentityProviderResponse) MarshalJSON ¶
func (v NullableCreateFederatedIdentityProviderResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateFederatedIdentityProviderResponse) UnmarshalJSON ¶
func (v *NullableCreateFederatedIdentityProviderResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateFederatedIdentityProviderResponse) Unset ¶
func (v *NullableCreateFederatedIdentityProviderResponse) Unset()
type NullableCreateFederatedIdentityProviderResponseAssertionsInner ¶
type NullableCreateFederatedIdentityProviderResponseAssertionsInner struct {
// contains filtered or unexported fields
}
func NewNullableCreateFederatedIdentityProviderResponseAssertionsInner ¶
func NewNullableCreateFederatedIdentityProviderResponseAssertionsInner(val *CreateFederatedIdentityProviderResponseAssertionsInner) *NullableCreateFederatedIdentityProviderResponseAssertionsInner
func (NullableCreateFederatedIdentityProviderResponseAssertionsInner) IsSet ¶
func (v NullableCreateFederatedIdentityProviderResponseAssertionsInner) IsSet() bool
func (NullableCreateFederatedIdentityProviderResponseAssertionsInner) MarshalJSON ¶
func (v NullableCreateFederatedIdentityProviderResponseAssertionsInner) MarshalJSON() ([]byte, error)
func (*NullableCreateFederatedIdentityProviderResponseAssertionsInner) UnmarshalJSON ¶
func (v *NullableCreateFederatedIdentityProviderResponseAssertionsInner) UnmarshalJSON(src []byte) error
func (*NullableCreateFederatedIdentityProviderResponseAssertionsInner) Unset ¶
func (v *NullableCreateFederatedIdentityProviderResponseAssertionsInner) Unset()
type NullableCreateServiceAccountKeyPayload ¶
type NullableCreateServiceAccountKeyPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateServiceAccountKeyPayload ¶
func NewNullableCreateServiceAccountKeyPayload(val *CreateServiceAccountKeyPayload) *NullableCreateServiceAccountKeyPayload
func (NullableCreateServiceAccountKeyPayload) Get ¶
func (v NullableCreateServiceAccountKeyPayload) Get() *CreateServiceAccountKeyPayload
func (NullableCreateServiceAccountKeyPayload) IsSet ¶
func (v NullableCreateServiceAccountKeyPayload) IsSet() bool
func (NullableCreateServiceAccountKeyPayload) MarshalJSON ¶
func (v NullableCreateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateServiceAccountKeyPayload) Set ¶
func (v *NullableCreateServiceAccountKeyPayload) Set(val *CreateServiceAccountKeyPayload)
func (*NullableCreateServiceAccountKeyPayload) UnmarshalJSON ¶
func (v *NullableCreateServiceAccountKeyPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateServiceAccountKeyPayload) Unset ¶
func (v *NullableCreateServiceAccountKeyPayload) Unset()
type NullableCreateServiceAccountKeyResponse ¶
type NullableCreateServiceAccountKeyResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateServiceAccountKeyResponse ¶
func NewNullableCreateServiceAccountKeyResponse(val *CreateServiceAccountKeyResponse) *NullableCreateServiceAccountKeyResponse
func (NullableCreateServiceAccountKeyResponse) IsSet ¶
func (v NullableCreateServiceAccountKeyResponse) IsSet() bool
func (NullableCreateServiceAccountKeyResponse) MarshalJSON ¶
func (v NullableCreateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateServiceAccountKeyResponse) Set ¶
func (v *NullableCreateServiceAccountKeyResponse) Set(val *CreateServiceAccountKeyResponse)
func (*NullableCreateServiceAccountKeyResponse) UnmarshalJSON ¶
func (v *NullableCreateServiceAccountKeyResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateServiceAccountKeyResponse) Unset ¶
func (v *NullableCreateServiceAccountKeyResponse) Unset()
type NullableCreateServiceAccountKeyResponseCredentials ¶
type NullableCreateServiceAccountKeyResponseCredentials struct {
// contains filtered or unexported fields
}
func NewNullableCreateServiceAccountKeyResponseCredentials ¶
func NewNullableCreateServiceAccountKeyResponseCredentials(val *CreateServiceAccountKeyResponseCredentials) *NullableCreateServiceAccountKeyResponseCredentials
func (NullableCreateServiceAccountKeyResponseCredentials) IsSet ¶
func (v NullableCreateServiceAccountKeyResponseCredentials) IsSet() bool
func (NullableCreateServiceAccountKeyResponseCredentials) MarshalJSON ¶
func (v NullableCreateServiceAccountKeyResponseCredentials) MarshalJSON() ([]byte, error)
func (*NullableCreateServiceAccountKeyResponseCredentials) UnmarshalJSON ¶
func (v *NullableCreateServiceAccountKeyResponseCredentials) UnmarshalJSON(src []byte) error
func (*NullableCreateServiceAccountKeyResponseCredentials) Unset ¶
func (v *NullableCreateServiceAccountKeyResponseCredentials) Unset()
type NullableCreateServiceAccountPayload ¶
type NullableCreateServiceAccountPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateServiceAccountPayload ¶
func NewNullableCreateServiceAccountPayload(val *CreateServiceAccountPayload) *NullableCreateServiceAccountPayload
func (NullableCreateServiceAccountPayload) Get ¶
func (v NullableCreateServiceAccountPayload) Get() *CreateServiceAccountPayload
func (NullableCreateServiceAccountPayload) IsSet ¶
func (v NullableCreateServiceAccountPayload) IsSet() bool
func (NullableCreateServiceAccountPayload) MarshalJSON ¶
func (v NullableCreateServiceAccountPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateServiceAccountPayload) Set ¶
func (v *NullableCreateServiceAccountPayload) Set(val *CreateServiceAccountPayload)
func (*NullableCreateServiceAccountPayload) UnmarshalJSON ¶
func (v *NullableCreateServiceAccountPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateServiceAccountPayload) Unset ¶
func (v *NullableCreateServiceAccountPayload) Unset()
type NullableCreateShortLivedAccessTokenResponse ¶
type NullableCreateShortLivedAccessTokenResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateShortLivedAccessTokenResponse ¶
func NewNullableCreateShortLivedAccessTokenResponse(val *CreateShortLivedAccessTokenResponse) *NullableCreateShortLivedAccessTokenResponse
func (NullableCreateShortLivedAccessTokenResponse) IsSet ¶
func (v NullableCreateShortLivedAccessTokenResponse) IsSet() bool
func (NullableCreateShortLivedAccessTokenResponse) MarshalJSON ¶
func (v NullableCreateShortLivedAccessTokenResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateShortLivedAccessTokenResponse) Set ¶
func (v *NullableCreateShortLivedAccessTokenResponse) Set(val *CreateShortLivedAccessTokenResponse)
func (*NullableCreateShortLivedAccessTokenResponse) UnmarshalJSON ¶
func (v *NullableCreateShortLivedAccessTokenResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateShortLivedAccessTokenResponse) Unset ¶
func (v *NullableCreateShortLivedAccessTokenResponse) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableFederatedListFederatedIdentityProvidersResponse ¶
type NullableFederatedListFederatedIdentityProvidersResponse struct {
// contains filtered or unexported fields
}
func NewNullableFederatedListFederatedIdentityProvidersResponse ¶
func NewNullableFederatedListFederatedIdentityProvidersResponse(val *FederatedListFederatedIdentityProvidersResponse) *NullableFederatedListFederatedIdentityProvidersResponse
func (NullableFederatedListFederatedIdentityProvidersResponse) IsSet ¶
func (v NullableFederatedListFederatedIdentityProvidersResponse) IsSet() bool
func (NullableFederatedListFederatedIdentityProvidersResponse) MarshalJSON ¶
func (v NullableFederatedListFederatedIdentityProvidersResponse) MarshalJSON() ([]byte, error)
func (*NullableFederatedListFederatedIdentityProvidersResponse) UnmarshalJSON ¶
func (v *NullableFederatedListFederatedIdentityProvidersResponse) UnmarshalJSON(src []byte) error
func (*NullableFederatedListFederatedIdentityProvidersResponse) Unset ¶
func (v *NullableFederatedListFederatedIdentityProvidersResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetServiceAccountKeyResponse ¶
type NullableGetServiceAccountKeyResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetServiceAccountKeyResponse ¶
func NewNullableGetServiceAccountKeyResponse(val *GetServiceAccountKeyResponse) *NullableGetServiceAccountKeyResponse
func (NullableGetServiceAccountKeyResponse) Get ¶
func (v NullableGetServiceAccountKeyResponse) Get() *GetServiceAccountKeyResponse
func (NullableGetServiceAccountKeyResponse) IsSet ¶
func (v NullableGetServiceAccountKeyResponse) IsSet() bool
func (NullableGetServiceAccountKeyResponse) MarshalJSON ¶
func (v NullableGetServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
func (*NullableGetServiceAccountKeyResponse) Set ¶
func (v *NullableGetServiceAccountKeyResponse) Set(val *GetServiceAccountKeyResponse)
func (*NullableGetServiceAccountKeyResponse) UnmarshalJSON ¶
func (v *NullableGetServiceAccountKeyResponse) UnmarshalJSON(src []byte) error
func (*NullableGetServiceAccountKeyResponse) Unset ¶
func (v *NullableGetServiceAccountKeyResponse) Unset()
type NullableGetServiceAccountKeyResponseCredentials ¶
type NullableGetServiceAccountKeyResponseCredentials struct {
// contains filtered or unexported fields
}
func NewNullableGetServiceAccountKeyResponseCredentials ¶
func NewNullableGetServiceAccountKeyResponseCredentials(val *GetServiceAccountKeyResponseCredentials) *NullableGetServiceAccountKeyResponseCredentials
func (NullableGetServiceAccountKeyResponseCredentials) IsSet ¶
func (v NullableGetServiceAccountKeyResponseCredentials) IsSet() bool
func (NullableGetServiceAccountKeyResponseCredentials) MarshalJSON ¶
func (v NullableGetServiceAccountKeyResponseCredentials) MarshalJSON() ([]byte, error)
func (*NullableGetServiceAccountKeyResponseCredentials) UnmarshalJSON ¶
func (v *NullableGetServiceAccountKeyResponseCredentials) UnmarshalJSON(src []byte) error
func (*NullableGetServiceAccountKeyResponseCredentials) Unset ¶
func (v *NullableGetServiceAccountKeyResponseCredentials) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableJWK ¶
type NullableJWK struct {
// contains filtered or unexported fields
}
func NewNullableJWK ¶
func NewNullableJWK(val *JWK) *NullableJWK
func (NullableJWK) Get ¶
func (v NullableJWK) Get() *JWK
func (NullableJWK) IsSet ¶
func (v NullableJWK) IsSet() bool
func (NullableJWK) MarshalJSON ¶
func (v NullableJWK) MarshalJSON() ([]byte, error)
func (*NullableJWK) Set ¶
func (v *NullableJWK) Set(val *JWK)
func (*NullableJWK) UnmarshalJSON ¶
func (v *NullableJWK) UnmarshalJSON(src []byte) error
func (*NullableJWK) Unset ¶
func (v *NullableJWK) Unset()
type NullableJWKS ¶
type NullableJWKS struct {
// contains filtered or unexported fields
}
func NewNullableJWKS ¶
func NewNullableJWKS(val *JWKS) *NullableJWKS
func (NullableJWKS) Get ¶
func (v NullableJWKS) Get() *JWKS
func (NullableJWKS) IsSet ¶
func (v NullableJWKS) IsSet() bool
func (NullableJWKS) MarshalJSON ¶
func (v NullableJWKS) MarshalJSON() ([]byte, error)
func (*NullableJWKS) Set ¶
func (v *NullableJWKS) Set(val *JWKS)
func (*NullableJWKS) UnmarshalJSON ¶
func (v *NullableJWKS) UnmarshalJSON(src []byte) error
func (*NullableJWKS) Unset ¶
func (v *NullableJWKS) Unset()
type NullableListAccessTokensResponse ¶
type NullableListAccessTokensResponse struct {
// contains filtered or unexported fields
}
func NewNullableListAccessTokensResponse ¶
func NewNullableListAccessTokensResponse(val *ListAccessTokensResponse) *NullableListAccessTokensResponse
func (NullableListAccessTokensResponse) Get ¶
func (v NullableListAccessTokensResponse) Get() *ListAccessTokensResponse
func (NullableListAccessTokensResponse) IsSet ¶
func (v NullableListAccessTokensResponse) IsSet() bool
func (NullableListAccessTokensResponse) MarshalJSON ¶
func (v NullableListAccessTokensResponse) MarshalJSON() ([]byte, error)
func (*NullableListAccessTokensResponse) Set ¶
func (v *NullableListAccessTokensResponse) Set(val *ListAccessTokensResponse)
func (*NullableListAccessTokensResponse) UnmarshalJSON ¶
func (v *NullableListAccessTokensResponse) UnmarshalJSON(src []byte) error
func (*NullableListAccessTokensResponse) Unset ¶
func (v *NullableListAccessTokensResponse) Unset()
type NullableListServiceAccountKeysResponse ¶
type NullableListServiceAccountKeysResponse struct {
// contains filtered or unexported fields
}
func NewNullableListServiceAccountKeysResponse ¶
func NewNullableListServiceAccountKeysResponse(val *ListServiceAccountKeysResponse) *NullableListServiceAccountKeysResponse
func (NullableListServiceAccountKeysResponse) Get ¶
func (v NullableListServiceAccountKeysResponse) Get() *ListServiceAccountKeysResponse
func (NullableListServiceAccountKeysResponse) IsSet ¶
func (v NullableListServiceAccountKeysResponse) IsSet() bool
func (NullableListServiceAccountKeysResponse) MarshalJSON ¶
func (v NullableListServiceAccountKeysResponse) MarshalJSON() ([]byte, error)
func (*NullableListServiceAccountKeysResponse) Set ¶
func (v *NullableListServiceAccountKeysResponse) Set(val *ListServiceAccountKeysResponse)
func (*NullableListServiceAccountKeysResponse) UnmarshalJSON ¶
func (v *NullableListServiceAccountKeysResponse) UnmarshalJSON(src []byte) error
func (*NullableListServiceAccountKeysResponse) Unset ¶
func (v *NullableListServiceAccountKeysResponse) Unset()
type NullableListServiceAccountsResponse ¶
type NullableListServiceAccountsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListServiceAccountsResponse ¶
func NewNullableListServiceAccountsResponse(val *ListServiceAccountsResponse) *NullableListServiceAccountsResponse
func (NullableListServiceAccountsResponse) Get ¶
func (v NullableListServiceAccountsResponse) Get() *ListServiceAccountsResponse
func (NullableListServiceAccountsResponse) IsSet ¶
func (v NullableListServiceAccountsResponse) IsSet() bool
func (NullableListServiceAccountsResponse) MarshalJSON ¶
func (v NullableListServiceAccountsResponse) MarshalJSON() ([]byte, error)
func (*NullableListServiceAccountsResponse) Set ¶
func (v *NullableListServiceAccountsResponse) Set(val *ListServiceAccountsResponse)
func (*NullableListServiceAccountsResponse) UnmarshalJSON ¶
func (v *NullableListServiceAccountsResponse) UnmarshalJSON(src []byte) error
func (*NullableListServiceAccountsResponse) Unset ¶
func (v *NullableListServiceAccountsResponse) Unset()
type NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload ¶
type NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateServiceAccountFederatedIdentityProviderPayload ¶
func NewNullablePartialUpdateServiceAccountFederatedIdentityProviderPayload(val *PartialUpdateServiceAccountFederatedIdentityProviderPayload) *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload
func (NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) IsSet ¶
func (v NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) IsSet() bool
func (NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) MarshalJSON ¶
func (v NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) Unset ¶
func (v *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) Unset()
type NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner ¶
type NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner ¶
func NewNullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner(val *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
func (NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON ¶
func (v NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) UnmarshalJSON ¶
func (v *NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) UnmarshalJSON(src []byte) error
type NullablePartialUpdateServiceAccountKeyPayload ¶
type NullablePartialUpdateServiceAccountKeyPayload struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateServiceAccountKeyPayload ¶
func NewNullablePartialUpdateServiceAccountKeyPayload(val *PartialUpdateServiceAccountKeyPayload) *NullablePartialUpdateServiceAccountKeyPayload
func (NullablePartialUpdateServiceAccountKeyPayload) IsSet ¶
func (v NullablePartialUpdateServiceAccountKeyPayload) IsSet() bool
func (NullablePartialUpdateServiceAccountKeyPayload) MarshalJSON ¶
func (v NullablePartialUpdateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateServiceAccountKeyPayload) Set ¶
func (v *NullablePartialUpdateServiceAccountKeyPayload) Set(val *PartialUpdateServiceAccountKeyPayload)
func (*NullablePartialUpdateServiceAccountKeyPayload) UnmarshalJSON ¶
func (v *NullablePartialUpdateServiceAccountKeyPayload) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateServiceAccountKeyPayload) Unset ¶
func (v *NullablePartialUpdateServiceAccountKeyPayload) Unset()
type NullablePartialUpdateServiceAccountKeyResponse ¶
type NullablePartialUpdateServiceAccountKeyResponse struct {
// contains filtered or unexported fields
}
func NewNullablePartialUpdateServiceAccountKeyResponse ¶
func NewNullablePartialUpdateServiceAccountKeyResponse(val *PartialUpdateServiceAccountKeyResponse) *NullablePartialUpdateServiceAccountKeyResponse
func (NullablePartialUpdateServiceAccountKeyResponse) IsSet ¶
func (v NullablePartialUpdateServiceAccountKeyResponse) IsSet() bool
func (NullablePartialUpdateServiceAccountKeyResponse) MarshalJSON ¶
func (v NullablePartialUpdateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
func (*NullablePartialUpdateServiceAccountKeyResponse) Set ¶
func (v *NullablePartialUpdateServiceAccountKeyResponse) Set(val *PartialUpdateServiceAccountKeyResponse)
func (*NullablePartialUpdateServiceAccountKeyResponse) UnmarshalJSON ¶
func (v *NullablePartialUpdateServiceAccountKeyResponse) UnmarshalJSON(src []byte) error
func (*NullablePartialUpdateServiceAccountKeyResponse) Unset ¶
func (v *NullablePartialUpdateServiceAccountKeyResponse) Unset()
type NullableServiceAccount ¶
type NullableServiceAccount struct {
// contains filtered or unexported fields
}
func NewNullableServiceAccount ¶
func NewNullableServiceAccount(val *ServiceAccount) *NullableServiceAccount
func (NullableServiceAccount) Get ¶
func (v NullableServiceAccount) Get() *ServiceAccount
func (NullableServiceAccount) IsSet ¶
func (v NullableServiceAccount) IsSet() bool
func (NullableServiceAccount) MarshalJSON ¶
func (v NullableServiceAccount) MarshalJSON() ([]byte, error)
func (*NullableServiceAccount) Set ¶
func (v *NullableServiceAccount) Set(val *ServiceAccount)
func (*NullableServiceAccount) UnmarshalJSON ¶
func (v *NullableServiceAccount) UnmarshalJSON(src []byte) error
func (*NullableServiceAccount) Unset ¶
func (v *NullableServiceAccount) Unset()
type NullableServiceAccountKeyListResponse ¶
type NullableServiceAccountKeyListResponse struct {
// contains filtered or unexported fields
}
func NewNullableServiceAccountKeyListResponse ¶
func NewNullableServiceAccountKeyListResponse(val *ServiceAccountKeyListResponse) *NullableServiceAccountKeyListResponse
func (NullableServiceAccountKeyListResponse) Get ¶
func (v NullableServiceAccountKeyListResponse) Get() *ServiceAccountKeyListResponse
func (NullableServiceAccountKeyListResponse) IsSet ¶
func (v NullableServiceAccountKeyListResponse) IsSet() bool
func (NullableServiceAccountKeyListResponse) MarshalJSON ¶
func (v NullableServiceAccountKeyListResponse) MarshalJSON() ([]byte, error)
func (*NullableServiceAccountKeyListResponse) Set ¶
func (v *NullableServiceAccountKeyListResponse) Set(val *ServiceAccountKeyListResponse)
func (*NullableServiceAccountKeyListResponse) UnmarshalJSON ¶
func (v *NullableServiceAccountKeyListResponse) UnmarshalJSON(src []byte) error
func (*NullableServiceAccountKeyListResponse) Unset ¶
func (v *NullableServiceAccountKeyListResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type PartialUpdateServiceAccountFederatedIdentityProviderPayload ¶
type PartialUpdateServiceAccountFederatedIdentityProviderPayload struct {
// list of assertions of the federated identity provider
Assertions []PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner `json:"assertions,omitempty"`
// Issuer of the federated identity provider.
Issuer string `json:"issuer"`
// Unique name used as identifier of the federated identity provider.
Name string `json:"name"`
}
PartialUpdateServiceAccountFederatedIdentityProviderPayload struct for PartialUpdateServiceAccountFederatedIdentityProviderPayload
func NewPartialUpdateServiceAccountFederatedIdentityProviderPayload ¶
func NewPartialUpdateServiceAccountFederatedIdentityProviderPayload(issuer string, name string) *PartialUpdateServiceAccountFederatedIdentityProviderPayload
NewPartialUpdateServiceAccountFederatedIdentityProviderPayload instantiates a new PartialUpdateServiceAccountFederatedIdentityProviderPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadWithDefaults ¶
func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadWithDefaults() *PartialUpdateServiceAccountFederatedIdentityProviderPayload
NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadWithDefaults instantiates a new PartialUpdateServiceAccountFederatedIdentityProviderPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetAssertions ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetAssertions() []PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
GetAssertions returns the Assertions field value if set, zero value otherwise.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetAssertionsOk ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetAssertionsOk() ([]PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner, bool)
GetAssertionsOk returns a tuple with the Assertions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetIssuer ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetIssuer() string
GetIssuer returns the Issuer field value
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetIssuerOk ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetIssuerOk() (*string, bool)
GetIssuerOk returns a tuple with the Issuer field value and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetName ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetName() string
GetName returns the Name field value
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetNameOk ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) HasAssertions ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) HasAssertions() bool
HasAssertions returns a boolean if a field has been set.
func (PartialUpdateServiceAccountFederatedIdentityProviderPayload) MarshalJSON ¶
func (o PartialUpdateServiceAccountFederatedIdentityProviderPayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetAssertions ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetAssertions(v []PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner)
SetAssertions gets a reference to the given []PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner and assigns it to the Assertions field.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetIssuer ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetIssuer(v string)
SetIssuer sets field value
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetName ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetName(v string)
SetName sets field value
func (PartialUpdateServiceAccountFederatedIdentityProviderPayload) ToMap ¶
func (o PartialUpdateServiceAccountFederatedIdentityProviderPayload) ToMap() (map[string]interface{}, error)
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) UnmarshalJSON ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayload) UnmarshalJSON(data []byte) (err error)
type PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner ¶
type PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner struct {
// Item to compare
Item *string `json:"item,omitempty"`
// Operator for the comparison
Operator *string `json:"operator,omitempty"`
// Value which the item is compared to
Value *string `json:"value,omitempty"`
}
PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner struct for PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner ¶
func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner() *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner instantiates a new PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInnerWithDefaults ¶
func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInnerWithDefaults() *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner
NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInnerWithDefaults instantiates a new PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetItem ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetItem() string
GetItem returns the Item field value if set, zero value otherwise.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetItemOk ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetItemOk() (*string, bool)
GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetOperator ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetOperator() string
GetOperator returns the Operator field value if set, zero value otherwise.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetOperatorOk ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetValue ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetValueOk ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasItem ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasItem() bool
HasItem returns a boolean if a field has been set.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasOperator ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasOperator() bool
HasOperator returns a boolean if a field has been set.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasValue ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasValue() bool
HasValue returns a boolean if a field has been set.
func (PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON ¶
func (o PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON() ([]byte, error)
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetItem ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetItem(v string)
SetItem gets a reference to the given string and assigns it to the Item field.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetOperator ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetOperator(v string)
SetOperator gets a reference to the given string and assigns it to the Operator field.
func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetValue ¶
func (o *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) ToMap ¶
func (o PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) ToMap() (map[string]interface{}, error)
type PartialUpdateServiceAccountKeyPayload ¶
type PartialUpdateServiceAccountKeyPayload struct {
// Active keys are valid, while inactive keys are temporarily deactivated.
Active *bool `json:"active,omitempty"`
// Optional, date of key expiration. To disable, set time to \"9999-01-01T01:01:01Z\"
ValidUntil *time.Time `json:"validUntil,omitempty"`
}
PartialUpdateServiceAccountKeyPayload struct for PartialUpdateServiceAccountKeyPayload
func NewPartialUpdateServiceAccountKeyPayload ¶
func NewPartialUpdateServiceAccountKeyPayload() *PartialUpdateServiceAccountKeyPayload
NewPartialUpdateServiceAccountKeyPayload instantiates a new PartialUpdateServiceAccountKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateServiceAccountKeyPayloadWithDefaults ¶
func NewPartialUpdateServiceAccountKeyPayloadWithDefaults() *PartialUpdateServiceAccountKeyPayload
NewPartialUpdateServiceAccountKeyPayloadWithDefaults instantiates a new PartialUpdateServiceAccountKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateServiceAccountKeyPayload) GetActive ¶
func (o *PartialUpdateServiceAccountKeyPayload) GetActive() bool
GetActive returns the Active field value if set, zero value otherwise.
func (*PartialUpdateServiceAccountKeyPayload) GetActiveOk ¶
func (o *PartialUpdateServiceAccountKeyPayload) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountKeyPayload) GetValidUntil ¶
func (o *PartialUpdateServiceAccountKeyPayload) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value if set, zero value otherwise.
func (*PartialUpdateServiceAccountKeyPayload) GetValidUntilOk ¶
func (o *PartialUpdateServiceAccountKeyPayload) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountKeyPayload) HasActive ¶
func (o *PartialUpdateServiceAccountKeyPayload) HasActive() bool
HasActive returns a boolean if a field has been set.
func (*PartialUpdateServiceAccountKeyPayload) HasValidUntil ¶
func (o *PartialUpdateServiceAccountKeyPayload) HasValidUntil() bool
HasValidUntil returns a boolean if a field has been set.
func (PartialUpdateServiceAccountKeyPayload) MarshalJSON ¶
func (o PartialUpdateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)
func (*PartialUpdateServiceAccountKeyPayload) SetActive ¶
func (o *PartialUpdateServiceAccountKeyPayload) SetActive(v bool)
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*PartialUpdateServiceAccountKeyPayload) SetValidUntil ¶
func (o *PartialUpdateServiceAccountKeyPayload) SetValidUntil(v time.Time)
SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.
func (PartialUpdateServiceAccountKeyPayload) ToMap ¶
func (o PartialUpdateServiceAccountKeyPayload) ToMap() (map[string]interface{}, error)
type PartialUpdateServiceAccountKeyResponse ¶
type PartialUpdateServiceAccountKeyResponse struct {
Active bool `json:"active"`
// Creation time of the key
CreatedAt time.Time `json:"createdAt"`
// Unique ID of the key.
Id string `json:"id"`
KeyAlgorithm string `json:"keyAlgorithm"`
KeyOrigin string `json:"keyOrigin"`
KeyType string `json:"keyType"`
// If specified, the timestamp until the key is active. May be null
ValidUntil *time.Time `json:"validUntil,omitempty"`
}
PartialUpdateServiceAccountKeyResponse struct for PartialUpdateServiceAccountKeyResponse
func NewPartialUpdateServiceAccountKeyResponse ¶
func NewPartialUpdateServiceAccountKeyResponse(active bool, createdAt time.Time, id string, keyAlgorithm string, keyOrigin string, keyType string) *PartialUpdateServiceAccountKeyResponse
NewPartialUpdateServiceAccountKeyResponse instantiates a new PartialUpdateServiceAccountKeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPartialUpdateServiceAccountKeyResponseWithDefaults ¶
func NewPartialUpdateServiceAccountKeyResponseWithDefaults() *PartialUpdateServiceAccountKeyResponse
NewPartialUpdateServiceAccountKeyResponseWithDefaults instantiates a new PartialUpdateServiceAccountKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PartialUpdateServiceAccountKeyResponse) GetActive ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetActive() bool
GetActive returns the Active field value
func (*PartialUpdateServiceAccountKeyResponse) GetActiveOk ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountKeyResponse) GetCreatedAt ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*PartialUpdateServiceAccountKeyResponse) GetCreatedAtOk ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountKeyResponse) GetId ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetId() string
GetId returns the Id field value
func (*PartialUpdateServiceAccountKeyResponse) GetIdOk ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithm ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithm() string
GetKeyAlgorithm returns the KeyAlgorithm field value
func (*PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithmOk ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithmOk() (*string, bool)
GetKeyAlgorithmOk returns a tuple with the KeyAlgorithm field value and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountKeyResponse) GetKeyOrigin ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetKeyOrigin() string
GetKeyOrigin returns the KeyOrigin field value
func (*PartialUpdateServiceAccountKeyResponse) GetKeyOriginOk ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetKeyOriginOk() (*string, bool)
GetKeyOriginOk returns a tuple with the KeyOrigin field value and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountKeyResponse) GetKeyType ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetKeyType() string
GetKeyType returns the KeyType field value
func (*PartialUpdateServiceAccountKeyResponse) GetKeyTypeOk ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetKeyTypeOk() (*string, bool)
GetKeyTypeOk returns a tuple with the KeyType field value and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountKeyResponse) GetValidUntil ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value if set, zero value otherwise.
func (*PartialUpdateServiceAccountKeyResponse) GetValidUntilOk ¶
func (o *PartialUpdateServiceAccountKeyResponse) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PartialUpdateServiceAccountKeyResponse) HasValidUntil ¶
func (o *PartialUpdateServiceAccountKeyResponse) HasValidUntil() bool
HasValidUntil returns a boolean if a field has been set.
func (PartialUpdateServiceAccountKeyResponse) MarshalJSON ¶
func (o PartialUpdateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)
func (*PartialUpdateServiceAccountKeyResponse) SetActive ¶
func (o *PartialUpdateServiceAccountKeyResponse) SetActive(v bool)
SetActive sets field value
func (*PartialUpdateServiceAccountKeyResponse) SetCreatedAt ¶
func (o *PartialUpdateServiceAccountKeyResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*PartialUpdateServiceAccountKeyResponse) SetId ¶
func (o *PartialUpdateServiceAccountKeyResponse) SetId(v string)
SetId sets field value
func (*PartialUpdateServiceAccountKeyResponse) SetKeyAlgorithm ¶
func (o *PartialUpdateServiceAccountKeyResponse) SetKeyAlgorithm(v string)
SetKeyAlgorithm sets field value
func (*PartialUpdateServiceAccountKeyResponse) SetKeyOrigin ¶
func (o *PartialUpdateServiceAccountKeyResponse) SetKeyOrigin(v string)
SetKeyOrigin sets field value
func (*PartialUpdateServiceAccountKeyResponse) SetKeyType ¶
func (o *PartialUpdateServiceAccountKeyResponse) SetKeyType(v string)
SetKeyType sets field value
func (*PartialUpdateServiceAccountKeyResponse) SetValidUntil ¶
func (o *PartialUpdateServiceAccountKeyResponse) SetValidUntil(v time.Time)
SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.
func (PartialUpdateServiceAccountKeyResponse) ToMap ¶
func (o PartialUpdateServiceAccountKeyResponse) ToMap() (map[string]interface{}, error)
func (*PartialUpdateServiceAccountKeyResponse) UnmarshalJSON ¶
func (o *PartialUpdateServiceAccountKeyResponse) UnmarshalJSON(data []byte) (err error)
type ServiceAccount ¶
type ServiceAccount struct {
// Unique identifier of the service account in format of an email address generated by the service containing the prefix provided by the user during creation.
Email string `json:"email"`
// Unique ID of the service account. It is also used in the 'sub' field of the service accounts access tokens.
Id string `json:"id"`
// Flag indicating internal service accounts
Internal bool `json:"internal"`
// ID of the related project
ProjectId string `json:"projectId"`
}
ServiceAccount struct for ServiceAccount
func NewServiceAccount ¶
func NewServiceAccount(email string, id string, internal bool, projectId string) *ServiceAccount
NewServiceAccount instantiates a new ServiceAccount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceAccountWithDefaults ¶
func NewServiceAccountWithDefaults() *ServiceAccount
NewServiceAccountWithDefaults instantiates a new ServiceAccount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServiceAccount) GetEmail ¶
func (o *ServiceAccount) GetEmail() string
GetEmail returns the Email field value
func (*ServiceAccount) GetEmailOk ¶
func (o *ServiceAccount) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*ServiceAccount) GetId ¶
func (o *ServiceAccount) GetId() string
GetId returns the Id field value
func (*ServiceAccount) GetIdOk ¶
func (o *ServiceAccount) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ServiceAccount) GetInternal ¶
func (o *ServiceAccount) GetInternal() bool
GetInternal returns the Internal field value
func (*ServiceAccount) GetInternalOk ¶
func (o *ServiceAccount) GetInternalOk() (*bool, bool)
GetInternalOk returns a tuple with the Internal field value and a boolean to check if the value has been set.
func (*ServiceAccount) GetProjectId ¶
func (o *ServiceAccount) GetProjectId() string
GetProjectId returns the ProjectId field value
func (*ServiceAccount) GetProjectIdOk ¶
func (o *ServiceAccount) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.
func (ServiceAccount) MarshalJSON ¶
func (o ServiceAccount) MarshalJSON() ([]byte, error)
func (*ServiceAccount) SetEmail ¶
func (o *ServiceAccount) SetEmail(v string)
SetEmail sets field value
func (*ServiceAccount) SetInternal ¶
func (o *ServiceAccount) SetInternal(v bool)
SetInternal sets field value
func (*ServiceAccount) SetProjectId ¶
func (o *ServiceAccount) SetProjectId(v string)
SetProjectId sets field value
func (ServiceAccount) ToMap ¶
func (o ServiceAccount) ToMap() (map[string]interface{}, error)
func (*ServiceAccount) UnmarshalJSON ¶
func (o *ServiceAccount) UnmarshalJSON(data []byte) (err error)
type ServiceAccountKeyListResponse ¶
type ServiceAccountKeyListResponse struct {
Active bool `json:"active"`
// Creation time of the key
CreatedAt time.Time `json:"createdAt"`
// Unique ID of the key.
Id string `json:"id"`
KeyAlgorithm string `json:"keyAlgorithm"`
KeyOrigin string `json:"keyOrigin"`
KeyType string `json:"keyType"`
// If specified, the timestamp until the key is active. May be null
ValidUntil *time.Time `json:"validUntil,omitempty"`
}
ServiceAccountKeyListResponse struct for ServiceAccountKeyListResponse
func NewServiceAccountKeyListResponse ¶
func NewServiceAccountKeyListResponse(active bool, createdAt time.Time, id string, keyAlgorithm string, keyOrigin string, keyType string) *ServiceAccountKeyListResponse
NewServiceAccountKeyListResponse instantiates a new ServiceAccountKeyListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceAccountKeyListResponseWithDefaults ¶
func NewServiceAccountKeyListResponseWithDefaults() *ServiceAccountKeyListResponse
NewServiceAccountKeyListResponseWithDefaults instantiates a new ServiceAccountKeyListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServiceAccountKeyListResponse) GetActive ¶
func (o *ServiceAccountKeyListResponse) GetActive() bool
GetActive returns the Active field value
func (*ServiceAccountKeyListResponse) GetActiveOk ¶
func (o *ServiceAccountKeyListResponse) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.
func (*ServiceAccountKeyListResponse) GetCreatedAt ¶
func (o *ServiceAccountKeyListResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ServiceAccountKeyListResponse) GetCreatedAtOk ¶
func (o *ServiceAccountKeyListResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ServiceAccountKeyListResponse) GetId ¶
func (o *ServiceAccountKeyListResponse) GetId() string
GetId returns the Id field value
func (*ServiceAccountKeyListResponse) GetIdOk ¶
func (o *ServiceAccountKeyListResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ServiceAccountKeyListResponse) GetKeyAlgorithm ¶
func (o *ServiceAccountKeyListResponse) GetKeyAlgorithm() string
GetKeyAlgorithm returns the KeyAlgorithm field value
func (*ServiceAccountKeyListResponse) GetKeyAlgorithmOk ¶
func (o *ServiceAccountKeyListResponse) GetKeyAlgorithmOk() (*string, bool)
GetKeyAlgorithmOk returns a tuple with the KeyAlgorithm field value and a boolean to check if the value has been set.
func (*ServiceAccountKeyListResponse) GetKeyOrigin ¶
func (o *ServiceAccountKeyListResponse) GetKeyOrigin() string
GetKeyOrigin returns the KeyOrigin field value
func (*ServiceAccountKeyListResponse) GetKeyOriginOk ¶
func (o *ServiceAccountKeyListResponse) GetKeyOriginOk() (*string, bool)
GetKeyOriginOk returns a tuple with the KeyOrigin field value and a boolean to check if the value has been set.
func (*ServiceAccountKeyListResponse) GetKeyType ¶
func (o *ServiceAccountKeyListResponse) GetKeyType() string
GetKeyType returns the KeyType field value
func (*ServiceAccountKeyListResponse) GetKeyTypeOk ¶
func (o *ServiceAccountKeyListResponse) GetKeyTypeOk() (*string, bool)
GetKeyTypeOk returns a tuple with the KeyType field value and a boolean to check if the value has been set.
func (*ServiceAccountKeyListResponse) GetValidUntil ¶
func (o *ServiceAccountKeyListResponse) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field value if set, zero value otherwise.
func (*ServiceAccountKeyListResponse) GetValidUntilOk ¶
func (o *ServiceAccountKeyListResponse) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceAccountKeyListResponse) HasValidUntil ¶
func (o *ServiceAccountKeyListResponse) HasValidUntil() bool
HasValidUntil returns a boolean if a field has been set.
func (ServiceAccountKeyListResponse) MarshalJSON ¶
func (o ServiceAccountKeyListResponse) MarshalJSON() ([]byte, error)
func (*ServiceAccountKeyListResponse) SetActive ¶
func (o *ServiceAccountKeyListResponse) SetActive(v bool)
SetActive sets field value
func (*ServiceAccountKeyListResponse) SetCreatedAt ¶
func (o *ServiceAccountKeyListResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ServiceAccountKeyListResponse) SetId ¶
func (o *ServiceAccountKeyListResponse) SetId(v string)
SetId sets field value
func (*ServiceAccountKeyListResponse) SetKeyAlgorithm ¶
func (o *ServiceAccountKeyListResponse) SetKeyAlgorithm(v string)
SetKeyAlgorithm sets field value
func (*ServiceAccountKeyListResponse) SetKeyOrigin ¶
func (o *ServiceAccountKeyListResponse) SetKeyOrigin(v string)
SetKeyOrigin sets field value
func (*ServiceAccountKeyListResponse) SetKeyType ¶
func (o *ServiceAccountKeyListResponse) SetKeyType(v string)
SetKeyType sets field value
func (*ServiceAccountKeyListResponse) SetValidUntil ¶
func (o *ServiceAccountKeyListResponse) SetValidUntil(v time.Time)
SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.
func (ServiceAccountKeyListResponse) ToMap ¶
func (o ServiceAccountKeyListResponse) ToMap() (map[string]interface{}, error)
func (*ServiceAccountKeyListResponse) UnmarshalJSON ¶
func (o *ServiceAccountKeyListResponse) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_access_token.go
- model_access_token_metadata.go
- model_auth_error.go
- model_auth_error_error.go
- model_create_access_token_payload.go
- model_create_federated_identity_provider_payload.go
- model_create_federated_identity_provider_payload_assertions_inner.go
- model_create_federated_identity_provider_response.go
- model_create_federated_identity_provider_response_assertions_inner.go
- model_create_service_account_key_payload.go
- model_create_service_account_key_response.go
- model_create_service_account_key_response_credentials.go
- model_create_service_account_payload.go
- model_create_short_lived_access_token_response.go
- model_error.go
- model_federated_list_federated_identity_providers_response.go
- model_get_service_account_key_response.go
- model_get_service_account_key_response_credentials.go
- model_jwk.go
- model_jwks.go
- model_list_access_tokens_response.go
- model_list_service_account_keys_response.go
- model_list_service_accounts_response.go
- model_partial_update_service_account_federated_identity_provider_payload.go
- model_partial_update_service_account_federated_identity_provider_payload_assertions_inner.go
- model_partial_update_service_account_key_payload.go
- model_partial_update_service_account_key_response.go
- model_service_account.go
- model_service_account_key_list_response.go
- response.go
- utils.go