serviceaccount

package module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func ParameterValueToString

func ParameterValueToString(obj interface{}, key string) string

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	// 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. Optionally receives configuration options

func (*APIClient) CreateAccessToken

func (a *APIClient) 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 (*APIClient) CreateAccessTokenExecute

func (a *APIClient) CreateAccessTokenExecute(ctx context.Context, projectId string, serviceAccountEmail string) (*AccessToken, error)

func (*APIClient) CreateServiceAccount

func (a *APIClient) 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 (*APIClient) CreateServiceAccountExecute

func (a *APIClient) CreateServiceAccountExecute(ctx context.Context, projectId string) (*ServiceAccount, error)

func (*APIClient) CreateServiceAccountKey

func (a *APIClient) 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 (*APIClient) CreateServiceAccountKeyExecute

func (a *APIClient) CreateServiceAccountKeyExecute(ctx context.Context, projectId string, serviceAccountEmail string) (*CreateServiceAccountKeyResponse, error)

func (*APIClient) CreateShortLivedAccessToken

func (a *APIClient) 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 (*APIClient) CreateShortLivedAccessTokenExecute

func (a *APIClient) CreateShortLivedAccessTokenExecute(ctx context.Context) (*CreateShortLivedAccessTokenResponse, error)

func (*APIClient) DeleteAccessToken

func (a *APIClient) 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 (*APIClient) DeleteAccessTokenExecute

func (a *APIClient) DeleteAccessTokenExecute(ctx context.Context, projectId string, serviceAccountEmail string, accessTokenId string) error

func (*APIClient) DeleteServiceAccount

func (a *APIClient) 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 (*APIClient) DeleteServiceAccountExecute

func (a *APIClient) DeleteServiceAccountExecute(ctx context.Context, projectId string, serviceAccountEmail string) error

func (*APIClient) DeleteServiceAccountKey

func (a *APIClient) 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 (*APIClient) DeleteServiceAccountKeyExecute

func (a *APIClient) DeleteServiceAccountKeyExecute(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) error

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

func (*APIClient) GetJWKS

func (a *APIClient) 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 (*APIClient) GetJWKSExecute

func (a *APIClient) GetJWKSExecute(ctx context.Context, serviceAccountEmail string) (*JWKS, error)

func (*APIClient) GetServiceAccountKey

func (a *APIClient) 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 (*APIClient) GetServiceAccountKeyExecute

func (a *APIClient) GetServiceAccountKeyExecute(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) (*GetServiceAccountKeyResponse, error)

func (*APIClient) ListAccessTokens

func (a *APIClient) 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 (*APIClient) ListAccessTokensExecute

func (a *APIClient) ListAccessTokensExecute(ctx context.Context, projectId string, serviceAccountEmail string) (*ListAccessTokensResponse, error)

func (*APIClient) ListServiceAccountKeys

func (a *APIClient) 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 (*APIClient) ListServiceAccountKeysExecute

func (a *APIClient) ListServiceAccountKeysExecute(ctx context.Context, projectId string, serviceAccountEmail string) (*ListServiceAccountKeysResponse, error)

func (*APIClient) ListServiceAccounts

func (a *APIClient) 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 (*APIClient) ListServiceAccountsExecute

func (a *APIClient) ListServiceAccountsExecute(ctx context.Context, projectId string) (*ListServiceAccountsResponse, error)

func (*APIClient) PartialUpdateServiceAccountKey

func (a *APIClient) 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 (*APIClient) PartialUpdateServiceAccountKeyExecute

func (a *APIClient) PartialUpdateServiceAccountKeyExecute(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) (*PartialUpdateServiceAccountKeyResponse, error)

type AccessToken

type AccessToken struct {
	// Newly created access tokens are valid, and can be revoked if needed.
	// REQUIRED
	Active *bool `json:"active"`
	// Creation time of the access token.
	// REQUIRED
	CreatedAt *time.Time `json:"createdAt"`
	// Unique ID of the access token. Also used as JTI field.
	// REQUIRED
	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.
	// REQUIRED
	Token *string `json:"token"`
	// Approximate expiration time of the access token. Check the JWT for actual validity date.
	// REQUIRED
	ValidUntil *time.Time `json:"validUntil"`
}

AccessToken Contains token metadata and actual token.

func NewAccessToken added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *AccessToken) GetActive() *bool

GetActive returns the Active field value

func (*AccessToken) GetActiveOk added in v0.5.0

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 added in v0.5.0

func (o *AccessToken) GetCreatedAt() *time.Time

GetCreatedAt returns the CreatedAt field value

func (*AccessToken) GetCreatedAtOk added in v0.5.0

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) GetId added in v0.5.0

func (o *AccessToken) GetId() *string

GetId returns the Id field value

func (*AccessToken) GetIdOk added in v0.5.0

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 added in v0.5.0

func (o *AccessToken) GetToken() *string

GetToken returns the Token field value

func (*AccessToken) GetTokenOk added in v0.5.0

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 added in v0.5.0

func (o *AccessToken) GetValidUntil() *time.Time

GetValidUntil returns the ValidUntil field value

func (*AccessToken) GetValidUntilOk added in v0.5.0

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) SetActive added in v0.5.0

func (o *AccessToken) SetActive(v *bool)

SetActive sets field value

func (*AccessToken) SetCreatedAt added in v0.5.0

func (o *AccessToken) SetCreatedAt(v *time.Time)

SetCreatedAt sets field value

func (*AccessToken) SetId added in v0.5.0

func (o *AccessToken) SetId(v *string)

SetId sets field value

func (*AccessToken) SetToken added in v0.5.0

func (o *AccessToken) SetToken(v *string)

SetToken sets field value

func (*AccessToken) SetValidUntil added in v0.5.0

func (o *AccessToken) SetValidUntil(v *time.Time)

SetValidUntil sets field value

func (AccessToken) ToMap added in v0.5.0

func (o AccessToken) ToMap() (map[string]interface{}, 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.
	// REQUIRED
	Active *bool `json:"active"`
	// Creation time of the access token.
	// REQUIRED
	CreatedAt *time.Time `json:"createdAt"`
	// Unique ID of the access token. Also used as JTI field.
	// REQUIRED
	Id *string `json:"id"`
	// Approximate expiration time of the access token. Check the JWT for actual validity date.
	// REQUIRED
	ValidUntil *time.Time `json:"validUntil"`
}

AccessTokenMetadata Does not contain the actual token.

func NewAccessTokenMetadata added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *AccessTokenMetadata) GetActive() *bool

GetActive returns the Active field value

func (*AccessTokenMetadata) GetActiveOk added in v0.5.0

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 added in v0.5.0

func (o *AccessTokenMetadata) GetCreatedAt() *time.Time

GetCreatedAt returns the CreatedAt field value

func (*AccessTokenMetadata) GetCreatedAtOk added in v0.5.0

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 added in v0.5.0

func (o *AccessTokenMetadata) GetId() *string

GetId returns the Id field value

func (*AccessTokenMetadata) GetIdOk added in v0.5.0

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 added in v0.5.0

func (o *AccessTokenMetadata) GetValidUntil() *time.Time

GetValidUntil returns the ValidUntil field value

func (*AccessTokenMetadata) GetValidUntilOk added in v0.5.0

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) SetActive added in v0.5.0

func (o *AccessTokenMetadata) SetActive(v *bool)

SetActive sets field value

func (*AccessTokenMetadata) SetCreatedAt added in v0.5.0

func (o *AccessTokenMetadata) SetCreatedAt(v *time.Time)

SetCreatedAt sets field value

func (*AccessTokenMetadata) SetId added in v0.5.0

func (o *AccessTokenMetadata) SetId(v *string)

SetId sets field value

func (*AccessTokenMetadata) SetValidUntil added in v0.5.0

func (o *AccessTokenMetadata) SetValidUntil(v *time.Time)

SetValidUntil sets field value

func (AccessTokenMetadata) ToMap added in v0.5.0

func (o AccessTokenMetadata) ToMap() (map[string]interface{}, error)

type ApiCreateAccessTokenRequest

type ApiCreateAccessTokenRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateAccessTokenRequest) CreateAccessTokenPayload

func (r ApiCreateAccessTokenRequest) CreateAccessTokenPayload(createAccessTokenPayload CreateAccessTokenPayload) ApiCreateAccessTokenRequest

func (ApiCreateAccessTokenRequest) Execute

type ApiCreateServiceAccountKeyRequest

type ApiCreateServiceAccountKeyRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateServiceAccountKeyRequest) CreateServiceAccountKeyPayload

func (r ApiCreateServiceAccountKeyRequest) CreateServiceAccountKeyPayload(createServiceAccountKeyPayload CreateServiceAccountKeyPayload) ApiCreateServiceAccountKeyRequest

func (ApiCreateServiceAccountKeyRequest) Execute

type ApiCreateServiceAccountRequest

type ApiCreateServiceAccountRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateServiceAccountRequest) CreateServiceAccountPayload

func (r ApiCreateServiceAccountRequest) CreateServiceAccountPayload(createServiceAccountPayload CreateServiceAccountPayload) ApiCreateServiceAccountRequest

func (ApiCreateServiceAccountRequest) Execute

type ApiCreateShortLivedAccessTokenRequest

type ApiCreateShortLivedAccessTokenRequest struct {
	// contains filtered or unexported fields
}

func (ApiCreateShortLivedAccessTokenRequest) Assertion

func (ApiCreateShortLivedAccessTokenRequest) Execute

func (ApiCreateShortLivedAccessTokenRequest) GrantType

func (ApiCreateShortLivedAccessTokenRequest) RefreshToken

type ApiDeleteAccessTokenRequest

type ApiDeleteAccessTokenRequest struct {
	// contains filtered or unexported fields
}

func (ApiDeleteAccessTokenRequest) Execute

func (r ApiDeleteAccessTokenRequest) Execute() error

type ApiDeleteServiceAccountKeyRequest

type ApiDeleteServiceAccountKeyRequest struct {
	// contains filtered or unexported fields
}

func (ApiDeleteServiceAccountKeyRequest) Execute

type ApiDeleteServiceAccountRequest

type ApiDeleteServiceAccountRequest struct {
	// contains filtered or unexported fields
}

func (ApiDeleteServiceAccountRequest) Execute

type ApiGetJWKSRequest

type ApiGetJWKSRequest struct {
	// contains filtered or unexported fields
}

func (ApiGetJWKSRequest) Execute

func (r ApiGetJWKSRequest) Execute() (*JWKS, error)

type ApiGetServiceAccountKeyRequest

type ApiGetServiceAccountKeyRequest struct {
	// contains filtered or unexported fields
}

func (ApiGetServiceAccountKeyRequest) Execute

func (ApiGetServiceAccountKeyRequest) Format

type ApiListAccessTokensRequest

type ApiListAccessTokensRequest struct {
	// contains filtered or unexported fields
}

func (ApiListAccessTokensRequest) Execute

type ApiListServiceAccountKeysRequest

type ApiListServiceAccountKeysRequest struct {
	// contains filtered or unexported fields
}

func (ApiListServiceAccountKeysRequest) Execute

type ApiListServiceAccountsRequest

type ApiListServiceAccountsRequest struct {
	// contains filtered or unexported fields
}

func (ApiListServiceAccountsRequest) Execute

type ApiPartialUpdateServiceAccountKeyRequest

type ApiPartialUpdateServiceAccountKeyRequest struct {
	// contains filtered or unexported fields
}

func (ApiPartialUpdateServiceAccountKeyRequest) Execute

func (ApiPartialUpdateServiceAccountKeyRequest) PartialUpdateServiceAccountKeyPayload

func (r ApiPartialUpdateServiceAccountKeyRequest) PartialUpdateServiceAccountKeyPayload(partialUpdateServiceAccountKeyPayload PartialUpdateServiceAccountKeyPayload) ApiPartialUpdateServiceAccountKeyRequest

type AuthError

type AuthError struct {
	// REQUIRED
	Error *AuthErrorError `json:"error"`
}

AuthError struct for AuthError

func NewAuthError added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *AuthError) GetError() *AuthErrorError

GetError returns the Error field value

func (*AuthError) GetErrorOk added in v0.5.0

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) SetError added in v0.5.0

func (o *AuthError) SetError(v *AuthErrorError)

SetError sets field value

func (AuthError) ToMap added in v0.5.0

func (o AuthError) ToMap() (map[string]interface{}, error)

type AuthErrorError

type AuthErrorError struct {
	// REQUIRED
	Code *int64 `json:"code"`
	// REQUIRED
	Message *string `json:"message"`
	// REQUIRED
	Status *string `json:"status"`
}

AuthErrorError struct for AuthErrorError

func NewAuthErrorError added in v0.5.0

func NewAuthErrorError(code *int64, 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 added in v0.5.0

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 added in v0.5.0

func (o *AuthErrorError) GetCode() *int64

GetCode returns the Code field value

func (*AuthErrorError) GetCodeOk added in v0.5.0

func (o *AuthErrorError) GetCodeOk() (*int64, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*AuthErrorError) GetMessage added in v0.5.0

func (o *AuthErrorError) GetMessage() *string

GetMessage returns the Message field value

func (*AuthErrorError) GetMessageOk added in v0.5.0

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 added in v0.5.0

func (o *AuthErrorError) GetStatus() *string

GetStatus returns the Status field value

func (*AuthErrorError) GetStatusOk added in v0.5.0

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) SetCode added in v0.5.0

func (o *AuthErrorError) SetCode(v *int64)

SetCode sets field value

func (*AuthErrorError) SetMessage added in v0.5.0

func (o *AuthErrorError) SetMessage(v *string)

SetMessage sets field value

func (*AuthErrorError) SetStatus added in v0.5.0

func (o *AuthErrorError) SetStatus(v *string)

SetStatus sets field value

func (AuthErrorError) ToMap added in v0.5.0

func (o AuthErrorError) ToMap() (map[string]interface{}, error)

type CreateAccessTokenPayload

type CreateAccessTokenPayload struct {
	// The duration in days for how long the new Access Token should be valid.
	// REQUIRED
	TtlDays *int64 `json:"ttlDays"`
}

CreateAccessTokenPayload struct for CreateAccessTokenPayload

func NewCreateAccessTokenPayload added in v0.5.0

func NewCreateAccessTokenPayload(ttlDays *int64) *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 added in v0.5.0

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 added in v0.5.0

func (o *CreateAccessTokenPayload) GetTtlDays() *int64

GetTtlDays returns the TtlDays field value

func (*CreateAccessTokenPayload) GetTtlDaysOk added in v0.5.0

func (o *CreateAccessTokenPayload) GetTtlDaysOk() (*int64, bool)

GetTtlDaysOk returns a tuple with the TtlDays field value and a boolean to check if the value has been set.

func (*CreateAccessTokenPayload) SetTtlDays added in v0.5.0

func (o *CreateAccessTokenPayload) SetTtlDays(v *int64)

SetTtlDays sets field value

func (CreateAccessTokenPayload) ToMap added in v0.5.0

func (o CreateAccessTokenPayload) ToMap() (map[string]interface{}, error)

type CreateServiceAccountKeyPayload

type CreateServiceAccountKeyPayload struct {
	// 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 added in v0.5.0

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 added in v0.5.0

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) GetPublicKey added in v0.5.0

func (o *CreateServiceAccountKeyPayload) GetPublicKey() *string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*CreateServiceAccountKeyPayload) GetPublicKeyOk added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountKeyPayload) GetValidUntil() *time.Time

GetValidUntil returns the ValidUntil field value if set, zero value otherwise.

func (*CreateServiceAccountKeyPayload) GetValidUntilOk added in v0.5.0

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) HasPublicKey added in v0.5.0

func (o *CreateServiceAccountKeyPayload) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*CreateServiceAccountKeyPayload) HasValidUntil added in v0.5.0

func (o *CreateServiceAccountKeyPayload) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (*CreateServiceAccountKeyPayload) SetPublicKey added in v0.5.0

func (o *CreateServiceAccountKeyPayload) SetPublicKey(v *string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*CreateServiceAccountKeyPayload) SetValidUntil added in v0.5.0

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 added in v0.5.0

func (o CreateServiceAccountKeyPayload) ToMap() (map[string]interface{}, error)

type CreateServiceAccountKeyResponse

type CreateServiceAccountKeyResponse struct {
	// REQUIRED
	Active *bool `json:"active"`
	// Creation time of the key
	// REQUIRED
	CreatedAt *time.Time `json:"createdAt"`
	// REQUIRED
	Credentials *CreateServiceAccountKeyResponseCredentials `json:"credentials"`
	// Unique ID of the key.
	// REQUIRED
	Id *string `json:"id"`
	// REQUIRED
	KeyAlgorithm *string `json:"keyAlgorithm"`
	// REQUIRED
	KeyOrigin *string `json:"keyOrigin"`
	// REQUIRED
	KeyType *string `json:"keyType"`
	// Public key, that was provider, or was generated by the service account API
	// REQUIRED
	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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountKeyResponse) GetActive() *bool

GetActive returns the Active field value

func (*CreateServiceAccountKeyResponse) GetActiveOk added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountKeyResponse) GetCreatedAt() *time.Time

GetCreatedAt returns the CreatedAt field value

func (*CreateServiceAccountKeyResponse) GetCreatedAtOk added in v0.5.0

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 added in v0.5.0

GetCredentials returns the Credentials field value

func (*CreateServiceAccountKeyResponse) GetCredentialsOk added in v0.5.0

GetCredentialsOk returns a tuple with the Credentials field value and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyResponse) GetId added in v0.5.0

GetId returns the Id field value

func (*CreateServiceAccountKeyResponse) GetIdOk added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountKeyResponse) GetKeyAlgorithm() *string

GetKeyAlgorithm returns the KeyAlgorithm field value

func (*CreateServiceAccountKeyResponse) GetKeyAlgorithmOk added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountKeyResponse) GetKeyOrigin() *string

GetKeyOrigin returns the KeyOrigin field value

func (*CreateServiceAccountKeyResponse) GetKeyOriginOk added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountKeyResponse) GetKeyType() *string

GetKeyType returns the KeyType field value

func (*CreateServiceAccountKeyResponse) GetKeyTypeOk added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountKeyResponse) GetPublicKey() *string

GetPublicKey returns the PublicKey field value

func (*CreateServiceAccountKeyResponse) GetPublicKeyOk added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountKeyResponse) GetValidUntil() *time.Time

GetValidUntil returns the ValidUntil field value if set, zero value otherwise.

func (*CreateServiceAccountKeyResponse) GetValidUntilOk added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountKeyResponse) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (*CreateServiceAccountKeyResponse) SetActive added in v0.5.0

func (o *CreateServiceAccountKeyResponse) SetActive(v *bool)

SetActive sets field value

func (*CreateServiceAccountKeyResponse) SetCreatedAt added in v0.5.0

func (o *CreateServiceAccountKeyResponse) SetCreatedAt(v *time.Time)

SetCreatedAt sets field value

func (*CreateServiceAccountKeyResponse) SetCredentials added in v0.5.0

SetCredentials sets field value

func (*CreateServiceAccountKeyResponse) SetId added in v0.5.0

SetId sets field value

func (*CreateServiceAccountKeyResponse) SetKeyAlgorithm added in v0.5.0

func (o *CreateServiceAccountKeyResponse) SetKeyAlgorithm(v *string)

SetKeyAlgorithm sets field value

func (*CreateServiceAccountKeyResponse) SetKeyOrigin added in v0.5.0

func (o *CreateServiceAccountKeyResponse) SetKeyOrigin(v *string)

SetKeyOrigin sets field value

func (*CreateServiceAccountKeyResponse) SetKeyType added in v0.5.0

func (o *CreateServiceAccountKeyResponse) SetKeyType(v *string)

SetKeyType sets field value

func (*CreateServiceAccountKeyResponse) SetPublicKey added in v0.5.0

func (o *CreateServiceAccountKeyResponse) SetPublicKey(v *string)

SetPublicKey sets field value

func (*CreateServiceAccountKeyResponse) SetValidUntil added in v0.5.0

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 added in v0.5.0

func (o CreateServiceAccountKeyResponse) ToMap() (map[string]interface{}, error)

type CreateServiceAccountKeyResponseCredentials

type CreateServiceAccountKeyResponseCredentials struct {
	// Audience - service account API URL
	// REQUIRED
	Aud *string `json:"aud"`
	// Service account email
	// REQUIRED
	Iss *string `json:"iss"`
	// Key id to use
	// REQUIRED
	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
	// REQUIRED
	Sub *string `json:"sub"`
}

CreateServiceAccountKeyResponseCredentials struct for CreateServiceAccountKeyResponseCredentials

func NewCreateServiceAccountKeyResponseCredentials added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

GetAud returns the Aud field value

func (*CreateServiceAccountKeyResponseCredentials) GetAudOk added in v0.5.0

GetAudOk returns a tuple with the Aud field value and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyResponseCredentials) GetIss added in v0.5.0

GetIss returns the Iss field value

func (*CreateServiceAccountKeyResponseCredentials) GetIssOk added in v0.5.0

GetIssOk returns a tuple with the Iss field value and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyResponseCredentials) GetKid added in v0.5.0

GetKid returns the Kid field value

func (*CreateServiceAccountKeyResponseCredentials) GetKidOk added in v0.5.0

GetKidOk returns a tuple with the Kid field value and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyResponseCredentials) GetPrivateKey added in v0.5.0

GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.

func (*CreateServiceAccountKeyResponseCredentials) GetPrivateKeyOk added in v0.5.0

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 added in v0.5.0

GetSub returns the Sub field value

func (*CreateServiceAccountKeyResponseCredentials) GetSubOk added in v0.5.0

GetSubOk returns a tuple with the Sub field value and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyResponseCredentials) HasPrivateKey added in v0.5.0

HasPrivateKey returns a boolean if a field has been set.

func (*CreateServiceAccountKeyResponseCredentials) SetAud added in v0.5.0

SetAud sets field value

func (*CreateServiceAccountKeyResponseCredentials) SetIss added in v0.5.0

SetIss sets field value

func (*CreateServiceAccountKeyResponseCredentials) SetKid added in v0.5.0

SetKid sets field value

func (*CreateServiceAccountKeyResponseCredentials) SetPrivateKey added in v0.5.0

SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.

func (*CreateServiceAccountKeyResponseCredentials) SetSub added in v0.5.0

SetSub sets field value

func (CreateServiceAccountKeyResponseCredentials) ToMap added in v0.5.0

func (o CreateServiceAccountKeyResponseCredentials) ToMap() (map[string]interface{}, error)

type CreateServiceAccountPayload

type CreateServiceAccountPayload struct {
	// The requested name of the service account. The service will generate a unique email from this name.
	// REQUIRED
	Name *string `json:"name"`
}

CreateServiceAccountPayload struct for CreateServiceAccountPayload

func NewCreateServiceAccountPayload added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *CreateServiceAccountPayload) GetName() *string

GetName returns the Name field value

func (*CreateServiceAccountPayload) GetNameOk added in v0.5.0

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) SetName added in v0.5.0

func (o *CreateServiceAccountPayload) SetName(v *string)

SetName sets field value

func (CreateServiceAccountPayload) ToMap added in v0.5.0

func (o CreateServiceAccountPayload) ToMap() (map[string]interface{}, error)

type CreateShortLivedAccessTokenResponse

type CreateShortLivedAccessTokenResponse struct {
	// The short lived token that can be used for API access
	// REQUIRED
	AccessToken *string `json:"access_token"`
	// REQUIRED
	ExpiresIn *int64 `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.
	// REQUIRED
	RefreshToken *string `json:"refresh_token"`
	// scope field of the self signed token
	// REQUIRED
	Scope *string `json:"scope"`
	// REQUIRED
	TokenType *string `json:"token_type"`
}

CreateShortLivedAccessTokenResponse struct for CreateShortLivedAccessTokenResponse

func NewCreateShortLivedAccessTokenResponse added in v0.5.0

func NewCreateShortLivedAccessTokenResponse(accessToken *string, expiresIn *int64, 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 added in v0.5.0

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 added in v0.5.0

func (o *CreateShortLivedAccessTokenResponse) GetAccessToken() *string

GetAccessToken returns the AccessToken field value

func (*CreateShortLivedAccessTokenResponse) GetAccessTokenOk added in v0.5.0

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 added in v0.5.0

func (o *CreateShortLivedAccessTokenResponse) GetExpiresIn() *int64

GetExpiresIn returns the ExpiresIn field value

func (*CreateShortLivedAccessTokenResponse) GetExpiresInOk added in v0.5.0

func (o *CreateShortLivedAccessTokenResponse) GetExpiresInOk() (*int64, bool)

GetExpiresInOk returns a tuple with the ExpiresIn field value and a boolean to check if the value has been set.

func (*CreateShortLivedAccessTokenResponse) GetRefreshToken added in v0.5.0

func (o *CreateShortLivedAccessTokenResponse) GetRefreshToken() *string

GetRefreshToken returns the RefreshToken field value

func (*CreateShortLivedAccessTokenResponse) GetRefreshTokenOk added in v0.5.0

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 added in v0.5.0

GetScope returns the Scope field value

func (*CreateShortLivedAccessTokenResponse) GetScopeOk added in v0.5.0

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 added in v0.5.0

func (o *CreateShortLivedAccessTokenResponse) GetTokenType() *string

GetTokenType returns the TokenType field value

func (*CreateShortLivedAccessTokenResponse) GetTokenTypeOk added in v0.5.0

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) SetAccessToken added in v0.5.0

func (o *CreateShortLivedAccessTokenResponse) SetAccessToken(v *string)

SetAccessToken sets field value

func (*CreateShortLivedAccessTokenResponse) SetExpiresIn added in v0.5.0

func (o *CreateShortLivedAccessTokenResponse) SetExpiresIn(v *int64)

SetExpiresIn sets field value

func (*CreateShortLivedAccessTokenResponse) SetRefreshToken added in v0.5.0

func (o *CreateShortLivedAccessTokenResponse) SetRefreshToken(v *string)

SetRefreshToken sets field value

func (*CreateShortLivedAccessTokenResponse) SetScope added in v0.5.0

SetScope sets field value

func (*CreateShortLivedAccessTokenResponse) SetTokenType added in v0.5.0

func (o *CreateShortLivedAccessTokenResponse) SetTokenType(v *string)

SetTokenType sets field value

func (CreateShortLivedAccessTokenResponse) ToMap added in v0.5.0

func (o CreateShortLivedAccessTokenResponse) ToMap() (map[string]interface{}, error)

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type Error

type Error struct {
	// REQUIRED
	Error *string `json:"error"`
	// REQUIRED
	Message *string `json:"message"`
	// REQUIRED
	Path *string `json:"path"`
	// REQUIRED
	Status *int64 `json:"status"`
	// REQUIRED
	TimeStamp *time.Time `json:"timeStamp"`
}

Error Contains error information.

func NewError added in v0.5.0

func NewError(error_ *string, message *string, path *string, status *int64, timeStamp *time.Time) *Error

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 added in v0.5.0

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) GetError added in v0.5.0

func (o *Error) GetError() *string

GetError returns the Error field value

func (*Error) GetErrorOk added in v0.5.0

func (o *Error) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*Error) GetMessage added in v0.5.0

func (o *Error) GetMessage() *string

GetMessage returns the Message field value

func (*Error) GetMessageOk added in v0.5.0

func (o *Error) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*Error) GetPath added in v0.5.0

func (o *Error) GetPath() *string

GetPath returns the Path field value

func (*Error) GetPathOk added in v0.5.0

func (o *Error) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*Error) GetStatus added in v0.5.0

func (o *Error) GetStatus() *int64

GetStatus returns the Status field value

func (*Error) GetStatusOk added in v0.5.0

func (o *Error) GetStatusOk() (*int64, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Error) GetTimeStamp added in v0.5.0

func (o *Error) GetTimeStamp() *time.Time

GetTimeStamp returns the TimeStamp field value

func (*Error) GetTimeStampOk added in v0.5.0

func (o *Error) GetTimeStampOk() (*time.Time, bool)

GetTimeStampOk returns a tuple with the TimeStamp field value and a boolean to check if the value has been set.

func (*Error) SetError added in v0.5.0

func (o *Error) SetError(v *string)

SetError sets field value

func (*Error) SetMessage added in v0.5.0

func (o *Error) SetMessage(v *string)

SetMessage sets field value

func (*Error) SetPath added in v0.5.0

func (o *Error) SetPath(v *string)

SetPath sets field value

func (*Error) SetStatus added in v0.5.0

func (o *Error) SetStatus(v *int64)

SetStatus sets field value

func (*Error) SetTimeStamp added in v0.5.0

func (o *Error) SetTimeStamp(v *time.Time)

SetTimeStamp sets field value

func (Error) ToMap added in v0.5.0

func (o Error) ToMap() (map[string]interface{}, error)

type GetServiceAccountKeyResponse

type GetServiceAccountKeyResponse struct {
	// REQUIRED
	Active *bool `json:"active"`
	// Creation time of the key
	// REQUIRED
	CreatedAt *time.Time `json:"createdAt"`
	// REQUIRED
	Credentials *GetServiceAccountKeyResponseCredentials `json:"credentials"`
	// Unique ID of the key.
	// REQUIRED
	Id *string `json:"id"`
	// REQUIRED
	KeyAlgorithm *string `json:"keyAlgorithm"`
	// REQUIRED
	KeyOrigin *string `json:"keyOrigin"`
	// REQUIRED
	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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *GetServiceAccountKeyResponse) GetActive() *bool

GetActive returns the Active field value

func (*GetServiceAccountKeyResponse) GetActiveOk added in v0.5.0

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 added in v0.5.0

func (o *GetServiceAccountKeyResponse) GetCreatedAt() *time.Time

GetCreatedAt returns the CreatedAt field value

func (*GetServiceAccountKeyResponse) GetCreatedAtOk added in v0.5.0

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 added in v0.5.0

GetCredentials returns the Credentials field value

func (*GetServiceAccountKeyResponse) GetCredentialsOk added in v0.5.0

GetCredentialsOk returns a tuple with the Credentials field value and a boolean to check if the value has been set.

func (*GetServiceAccountKeyResponse) GetId added in v0.5.0

GetId returns the Id field value

func (*GetServiceAccountKeyResponse) GetIdOk added in v0.5.0

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 added in v0.5.0

func (o *GetServiceAccountKeyResponse) GetKeyAlgorithm() *string

GetKeyAlgorithm returns the KeyAlgorithm field value

func (*GetServiceAccountKeyResponse) GetKeyAlgorithmOk added in v0.5.0

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 added in v0.5.0

func (o *GetServiceAccountKeyResponse) GetKeyOrigin() *string

GetKeyOrigin returns the KeyOrigin field value

func (*GetServiceAccountKeyResponse) GetKeyOriginOk added in v0.5.0

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 added in v0.5.0

func (o *GetServiceAccountKeyResponse) GetKeyType() *string

GetKeyType returns the KeyType field value

func (*GetServiceAccountKeyResponse) GetKeyTypeOk added in v0.5.0

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 added in v0.5.0

func (o *GetServiceAccountKeyResponse) GetPublicKey() *string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*GetServiceAccountKeyResponse) GetPublicKeyOk added in v0.5.0

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 added in v0.5.0

func (o *GetServiceAccountKeyResponse) GetValidUntil() *time.Time

GetValidUntil returns the ValidUntil field value if set, zero value otherwise.

func (*GetServiceAccountKeyResponse) GetValidUntilOk added in v0.5.0

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 added in v0.5.0

func (o *GetServiceAccountKeyResponse) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*GetServiceAccountKeyResponse) HasValidUntil added in v0.5.0

func (o *GetServiceAccountKeyResponse) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (*GetServiceAccountKeyResponse) SetActive added in v0.5.0

func (o *GetServiceAccountKeyResponse) SetActive(v *bool)

SetActive sets field value

func (*GetServiceAccountKeyResponse) SetCreatedAt added in v0.5.0

func (o *GetServiceAccountKeyResponse) SetCreatedAt(v *time.Time)

SetCreatedAt sets field value

func (*GetServiceAccountKeyResponse) SetCredentials added in v0.5.0

SetCredentials sets field value

func (*GetServiceAccountKeyResponse) SetId added in v0.5.0

func (o *GetServiceAccountKeyResponse) SetId(v *string)

SetId sets field value

func (*GetServiceAccountKeyResponse) SetKeyAlgorithm added in v0.5.0

func (o *GetServiceAccountKeyResponse) SetKeyAlgorithm(v *string)

SetKeyAlgorithm sets field value

func (*GetServiceAccountKeyResponse) SetKeyOrigin added in v0.5.0

func (o *GetServiceAccountKeyResponse) SetKeyOrigin(v *string)

SetKeyOrigin sets field value

func (*GetServiceAccountKeyResponse) SetKeyType added in v0.5.0

func (o *GetServiceAccountKeyResponse) SetKeyType(v *string)

SetKeyType sets field value

func (*GetServiceAccountKeyResponse) SetPublicKey added in v0.5.0

func (o *GetServiceAccountKeyResponse) SetPublicKey(v *string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*GetServiceAccountKeyResponse) SetValidUntil added in v0.5.0

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 added in v0.5.0

func (o GetServiceAccountKeyResponse) ToMap() (map[string]interface{}, error)

type GetServiceAccountKeyResponseCredentials

type GetServiceAccountKeyResponseCredentials struct {
	// Audience - service account API URL
	// REQUIRED
	Aud *string `json:"aud"`
	// Service account email
	// REQUIRED
	Iss *string `json:"iss"`
	// Key id to use
	// REQUIRED
	Kid *string `json:"kid"`
	// Service account id
	// REQUIRED
	Sub *string `json:"sub"`
}

GetServiceAccountKeyResponseCredentials struct for GetServiceAccountKeyResponseCredentials

func NewGetServiceAccountKeyResponseCredentials added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

GetAud returns the Aud field value

func (*GetServiceAccountKeyResponseCredentials) GetAudOk added in v0.5.0

GetAudOk returns a tuple with the Aud field value and a boolean to check if the value has been set.

func (*GetServiceAccountKeyResponseCredentials) GetIss added in v0.5.0

GetIss returns the Iss field value

func (*GetServiceAccountKeyResponseCredentials) GetIssOk added in v0.5.0

GetIssOk returns a tuple with the Iss field value and a boolean to check if the value has been set.

func (*GetServiceAccountKeyResponseCredentials) GetKid added in v0.5.0

GetKid returns the Kid field value

func (*GetServiceAccountKeyResponseCredentials) GetKidOk added in v0.5.0

GetKidOk returns a tuple with the Kid field value and a boolean to check if the value has been set.

func (*GetServiceAccountKeyResponseCredentials) GetSub added in v0.5.0

GetSub returns the Sub field value

func (*GetServiceAccountKeyResponseCredentials) GetSubOk added in v0.5.0

GetSubOk returns a tuple with the Sub field value and a boolean to check if the value has been set.

func (*GetServiceAccountKeyResponseCredentials) SetAud added in v0.5.0

SetAud sets field value

func (*GetServiceAccountKeyResponseCredentials) SetIss added in v0.5.0

SetIss sets field value

func (*GetServiceAccountKeyResponseCredentials) SetKid added in v0.5.0

SetKid sets field value

func (*GetServiceAccountKeyResponseCredentials) SetSub added in v0.5.0

SetSub sets field value

func (GetServiceAccountKeyResponseCredentials) ToMap added in v0.5.0

func (o GetServiceAccountKeyResponseCredentials) ToMap() (map[string]interface{}, error)

type JWK

type JWK struct {
	Alg *string `json:"alg,omitempty"`
	// REQUIRED
	E   *string `json:"e"`
	Kid *string `json:"kid,omitempty"`
	Ks  *string `json:"ks,omitempty"`
	// REQUIRED
	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 added in v0.5.0

func NewJWK(e *string, n *string) *JWK

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 added in v0.5.0

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) GetAlg added in v0.5.0

func (o *JWK) GetAlg() *string

GetAlg returns the Alg field value if set, zero value otherwise.

func (*JWK) GetAlgOk added in v0.5.0

func (o *JWK) GetAlgOk() (*string, bool)

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) GetE added in v0.5.0

func (o *JWK) GetE() *string

GetE returns the E field value

func (*JWK) GetEOk added in v0.5.0

func (o *JWK) GetEOk() (*string, bool)

GetEOk returns a tuple with the E field value and a boolean to check if the value has been set.

func (*JWK) GetKid added in v0.5.0

func (o *JWK) GetKid() *string

GetKid returns the Kid field value if set, zero value otherwise.

func (*JWK) GetKidOk added in v0.5.0

func (o *JWK) GetKidOk() (*string, bool)

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) GetKs added in v0.5.0

func (o *JWK) GetKs() *string

GetKs returns the Ks field value if set, zero value otherwise.

func (*JWK) GetKsOk added in v0.5.0

func (o *JWK) GetKsOk() (*string, bool)

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) GetN added in v0.5.0

func (o *JWK) GetN() *string

GetN returns the N field value

func (*JWK) GetNOk added in v0.5.0

func (o *JWK) GetNOk() (*string, bool)

GetNOk returns a tuple with the N field value and a boolean to check if the value has been set.

func (*JWK) GetOps added in v0.5.0

func (o *JWK) GetOps() *string

GetOps returns the Ops field value if set, zero value otherwise.

func (*JWK) GetOpsOk added in v0.5.0

func (o *JWK) GetOpsOk() (*string, bool)

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) GetUse added in v0.5.0

func (o *JWK) GetUse() *string

GetUse returns the Use field value if set, zero value otherwise.

func (*JWK) GetUseOk added in v0.5.0

func (o *JWK) GetUseOk() (*string, bool)

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) GetX5c added in v0.5.0

func (o *JWK) GetX5c() *string

GetX5c returns the X5c field value if set, zero value otherwise.

func (*JWK) GetX5cOk added in v0.5.0

func (o *JWK) GetX5cOk() (*string, bool)

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) GetX5t added in v0.5.0

func (o *JWK) GetX5t() *string

GetX5t returns the X5t field value if set, zero value otherwise.

func (*JWK) GetX5t256 added in v0.5.0

func (o *JWK) GetX5t256() *string

GetX5t256 returns the X5t256 field value if set, zero value otherwise.

func (*JWK) GetX5t256Ok added in v0.5.0

func (o *JWK) GetX5t256Ok() (*string, bool)

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 added in v0.5.0

func (o *JWK) GetX5tOk() (*string, bool)

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) GetX5u added in v0.5.0

func (o *JWK) GetX5u() *string

GetX5u returns the X5u field value if set, zero value otherwise.

func (*JWK) GetX5uOk added in v0.5.0

func (o *JWK) GetX5uOk() (*string, bool)

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) HasAlg added in v0.5.0

func (o *JWK) HasAlg() bool

HasAlg returns a boolean if a field has been set.

func (*JWK) HasKid added in v0.5.0

func (o *JWK) HasKid() bool

HasKid returns a boolean if a field has been set.

func (*JWK) HasKs added in v0.5.0

func (o *JWK) HasKs() bool

HasKs returns a boolean if a field has been set.

func (*JWK) HasOps added in v0.5.0

func (o *JWK) HasOps() bool

HasOps returns a boolean if a field has been set.

func (*JWK) HasUse added in v0.5.0

func (o *JWK) HasUse() bool

HasUse returns a boolean if a field has been set.

func (*JWK) HasX5c added in v0.5.0

func (o *JWK) HasX5c() bool

HasX5c returns a boolean if a field has been set.

func (*JWK) HasX5t added in v0.5.0

func (o *JWK) HasX5t() bool

HasX5t returns a boolean if a field has been set.

func (*JWK) HasX5t256 added in v0.5.0

func (o *JWK) HasX5t256() bool

HasX5t256 returns a boolean if a field has been set.

func (*JWK) HasX5u added in v0.5.0

func (o *JWK) HasX5u() bool

HasX5u returns a boolean if a field has been set.

func (*JWK) SetAlg added in v0.5.0

func (o *JWK) SetAlg(v *string)

SetAlg gets a reference to the given string and assigns it to the Alg field.

func (*JWK) SetE added in v0.5.0

func (o *JWK) SetE(v *string)

SetE sets field value

func (*JWK) SetKid added in v0.5.0

func (o *JWK) SetKid(v *string)

SetKid gets a reference to the given string and assigns it to the Kid field.

func (*JWK) SetKs added in v0.5.0

func (o *JWK) SetKs(v *string)

SetKs gets a reference to the given string and assigns it to the Ks field.

func (*JWK) SetN added in v0.5.0

func (o *JWK) SetN(v *string)

SetN sets field value

func (*JWK) SetOps added in v0.5.0

func (o *JWK) SetOps(v *string)

SetOps gets a reference to the given string and assigns it to the Ops field.

func (*JWK) SetUse added in v0.5.0

func (o *JWK) SetUse(v *string)

SetUse gets a reference to the given string and assigns it to the Use field.

func (*JWK) SetX5c added in v0.5.0

func (o *JWK) SetX5c(v *string)

SetX5c gets a reference to the given string and assigns it to the X5c field.

func (*JWK) SetX5t added in v0.5.0

func (o *JWK) SetX5t(v *string)

SetX5t gets a reference to the given string and assigns it to the X5t field.

func (*JWK) SetX5t256 added in v0.5.0

func (o *JWK) SetX5t256(v *string)

SetX5t256 gets a reference to the given string and assigns it to the X5t256 field.

func (*JWK) SetX5u added in v0.5.0

func (o *JWK) SetX5u(v *string)

SetX5u gets a reference to the given string and assigns it to the X5u field.

func (JWK) ToMap added in v0.5.0

func (o JWK) ToMap() (map[string]interface{}, error)

type JWKS

type JWKS struct {
	// REQUIRED
	Keys *[]JWK `json:"keys"`
}

JWKS struct for JWKS

func NewJWKS added in v0.5.0

func NewJWKS(keys *[]JWK) *JWKS

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 added in v0.5.0

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) GetKeys added in v0.5.0

func (o *JWKS) GetKeys() *[]JWK

GetKeys returns the Keys field value

func (*JWKS) GetKeysOk added in v0.5.0

func (o *JWKS) GetKeysOk() (*[]JWK, bool)

GetKeysOk returns a tuple with the Keys field value and a boolean to check if the value has been set.

func (*JWKS) SetKeys added in v0.5.0

func (o *JWKS) SetKeys(v *[]JWK)

SetKeys sets field value

func (JWKS) ToMap added in v0.5.0

func (o JWKS) ToMap() (map[string]interface{}, error)

type ListAccessTokensResponse

type ListAccessTokensResponse struct {
	Items *[]AccessTokenMetadata `json:"items,omitempty"`
}

ListAccessTokensResponse struct for ListAccessTokensResponse

func NewListAccessTokensResponse added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

GetItems returns the Items field value if set, zero value otherwise.

func (*ListAccessTokensResponse) GetItemsOk added in v0.5.0

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 added in v0.5.0

func (o *ListAccessTokensResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ListAccessTokensResponse) SetItems added in v0.5.0

SetItems gets a reference to the given []AccessTokenMetadata and assigns it to the Items field.

func (ListAccessTokensResponse) ToMap added in v0.5.0

func (o ListAccessTokensResponse) ToMap() (map[string]interface{}, error)

type ListServiceAccountKeysResponse

type ListServiceAccountKeysResponse struct {
	// REQUIRED
	Items *[]ServiceAccountKeyListResponse `json:"items"`
}

ListServiceAccountKeysResponse struct for ListServiceAccountKeysResponse

func NewListServiceAccountKeysResponse added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

GetItems returns the Items field value

func (*ListServiceAccountKeysResponse) GetItemsOk added in v0.5.0

GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.

func (*ListServiceAccountKeysResponse) SetItems added in v0.5.0

SetItems sets field value

func (ListServiceAccountKeysResponse) ToMap added in v0.5.0

func (o ListServiceAccountKeysResponse) ToMap() (map[string]interface{}, error)

type ListServiceAccountsResponse

type ListServiceAccountsResponse struct {
	// REQUIRED
	Items *[]ServiceAccount `json:"items"`
}

ListServiceAccountsResponse struct for ListServiceAccountsResponse

func NewListServiceAccountsResponse added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

GetItems returns the Items field value

func (*ListServiceAccountsResponse) GetItemsOk added in v0.5.0

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) SetItems added in v0.5.0

func (o *ListServiceAccountsResponse) SetItems(v *[]ServiceAccount)

SetItems sets field value

func (ListServiceAccountsResponse) ToMap added in v0.5.0

func (o ListServiceAccountsResponse) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAccessToken added in v0.5.0

type NullableAccessToken struct {
	// contains filtered or unexported fields
}

func NewNullableAccessToken added in v0.5.0

func NewNullableAccessToken(val *AccessToken) *NullableAccessToken

func (NullableAccessToken) Get added in v0.5.0

func (NullableAccessToken) IsSet added in v0.5.0

func (v NullableAccessToken) IsSet() bool

func (NullableAccessToken) MarshalJSON added in v0.5.0

func (v NullableAccessToken) MarshalJSON() ([]byte, error)

func (*NullableAccessToken) Set added in v0.5.0

func (v *NullableAccessToken) Set(val *AccessToken)

func (*NullableAccessToken) UnmarshalJSON added in v0.5.0

func (v *NullableAccessToken) UnmarshalJSON(src []byte) error

func (*NullableAccessToken) Unset added in v0.5.0

func (v *NullableAccessToken) Unset()

type NullableAccessTokenMetadata added in v0.5.0

type NullableAccessTokenMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableAccessTokenMetadata added in v0.5.0

func NewNullableAccessTokenMetadata(val *AccessTokenMetadata) *NullableAccessTokenMetadata

func (NullableAccessTokenMetadata) Get added in v0.5.0

func (NullableAccessTokenMetadata) IsSet added in v0.5.0

func (NullableAccessTokenMetadata) MarshalJSON added in v0.5.0

func (v NullableAccessTokenMetadata) MarshalJSON() ([]byte, error)

func (*NullableAccessTokenMetadata) Set added in v0.5.0

func (*NullableAccessTokenMetadata) UnmarshalJSON added in v0.5.0

func (v *NullableAccessTokenMetadata) UnmarshalJSON(src []byte) error

func (*NullableAccessTokenMetadata) Unset added in v0.5.0

func (v *NullableAccessTokenMetadata) Unset()

type NullableAuthError added in v0.5.0

type NullableAuthError struct {
	// contains filtered or unexported fields
}

func NewNullableAuthError added in v0.5.0

func NewNullableAuthError(val *AuthError) *NullableAuthError

func (NullableAuthError) Get added in v0.5.0

func (v NullableAuthError) Get() *AuthError

func (NullableAuthError) IsSet added in v0.5.0

func (v NullableAuthError) IsSet() bool

func (NullableAuthError) MarshalJSON added in v0.5.0

func (v NullableAuthError) MarshalJSON() ([]byte, error)

func (*NullableAuthError) Set added in v0.5.0

func (v *NullableAuthError) Set(val *AuthError)

func (*NullableAuthError) UnmarshalJSON added in v0.5.0

func (v *NullableAuthError) UnmarshalJSON(src []byte) error

func (*NullableAuthError) Unset added in v0.5.0

func (v *NullableAuthError) Unset()

type NullableAuthErrorError added in v0.5.0

type NullableAuthErrorError struct {
	// contains filtered or unexported fields
}

func NewNullableAuthErrorError added in v0.5.0

func NewNullableAuthErrorError(val *AuthErrorError) *NullableAuthErrorError

func (NullableAuthErrorError) Get added in v0.5.0

func (NullableAuthErrorError) IsSet added in v0.5.0

func (v NullableAuthErrorError) IsSet() bool

func (NullableAuthErrorError) MarshalJSON added in v0.5.0

func (v NullableAuthErrorError) MarshalJSON() ([]byte, error)

func (*NullableAuthErrorError) Set added in v0.5.0

func (*NullableAuthErrorError) UnmarshalJSON added in v0.5.0

func (v *NullableAuthErrorError) UnmarshalJSON(src []byte) error

func (*NullableAuthErrorError) Unset added in v0.5.0

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 added in v0.5.0

type NullableCreateAccessTokenPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateAccessTokenPayload added in v0.5.0

func NewNullableCreateAccessTokenPayload(val *CreateAccessTokenPayload) *NullableCreateAccessTokenPayload

func (NullableCreateAccessTokenPayload) Get added in v0.5.0

func (NullableCreateAccessTokenPayload) IsSet added in v0.5.0

func (NullableCreateAccessTokenPayload) MarshalJSON added in v0.5.0

func (v NullableCreateAccessTokenPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateAccessTokenPayload) Set added in v0.5.0

func (*NullableCreateAccessTokenPayload) UnmarshalJSON added in v0.5.0

func (v *NullableCreateAccessTokenPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateAccessTokenPayload) Unset added in v0.5.0

type NullableCreateServiceAccountKeyPayload added in v0.5.0

type NullableCreateServiceAccountKeyPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateServiceAccountKeyPayload added in v0.5.0

func NewNullableCreateServiceAccountKeyPayload(val *CreateServiceAccountKeyPayload) *NullableCreateServiceAccountKeyPayload

func (NullableCreateServiceAccountKeyPayload) Get added in v0.5.0

func (NullableCreateServiceAccountKeyPayload) IsSet added in v0.5.0

func (NullableCreateServiceAccountKeyPayload) MarshalJSON added in v0.5.0

func (v NullableCreateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateServiceAccountKeyPayload) Set added in v0.5.0

func (*NullableCreateServiceAccountKeyPayload) UnmarshalJSON added in v0.5.0

func (v *NullableCreateServiceAccountKeyPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateServiceAccountKeyPayload) Unset added in v0.5.0

type NullableCreateServiceAccountKeyResponse added in v0.5.0

type NullableCreateServiceAccountKeyResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCreateServiceAccountKeyResponse added in v0.5.0

func NewNullableCreateServiceAccountKeyResponse(val *CreateServiceAccountKeyResponse) *NullableCreateServiceAccountKeyResponse

func (NullableCreateServiceAccountKeyResponse) Get added in v0.5.0

func (NullableCreateServiceAccountKeyResponse) IsSet added in v0.5.0

func (NullableCreateServiceAccountKeyResponse) MarshalJSON added in v0.5.0

func (v NullableCreateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)

func (*NullableCreateServiceAccountKeyResponse) Set added in v0.5.0

func (*NullableCreateServiceAccountKeyResponse) UnmarshalJSON added in v0.5.0

func (v *NullableCreateServiceAccountKeyResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateServiceAccountKeyResponse) Unset added in v0.5.0

type NullableCreateServiceAccountKeyResponseCredentials added in v0.5.0

type NullableCreateServiceAccountKeyResponseCredentials struct {
	// contains filtered or unexported fields
}

func (NullableCreateServiceAccountKeyResponseCredentials) Get added in v0.5.0

func (NullableCreateServiceAccountKeyResponseCredentials) IsSet added in v0.5.0

func (NullableCreateServiceAccountKeyResponseCredentials) MarshalJSON added in v0.5.0

func (*NullableCreateServiceAccountKeyResponseCredentials) Set added in v0.5.0

func (*NullableCreateServiceAccountKeyResponseCredentials) UnmarshalJSON added in v0.5.0

func (*NullableCreateServiceAccountKeyResponseCredentials) Unset added in v0.5.0

type NullableCreateServiceAccountPayload added in v0.5.0

type NullableCreateServiceAccountPayload struct {
	// contains filtered or unexported fields
}

func NewNullableCreateServiceAccountPayload added in v0.5.0

func NewNullableCreateServiceAccountPayload(val *CreateServiceAccountPayload) *NullableCreateServiceAccountPayload

func (NullableCreateServiceAccountPayload) Get added in v0.5.0

func (NullableCreateServiceAccountPayload) IsSet added in v0.5.0

func (NullableCreateServiceAccountPayload) MarshalJSON added in v0.5.0

func (v NullableCreateServiceAccountPayload) MarshalJSON() ([]byte, error)

func (*NullableCreateServiceAccountPayload) Set added in v0.5.0

func (*NullableCreateServiceAccountPayload) UnmarshalJSON added in v0.5.0

func (v *NullableCreateServiceAccountPayload) UnmarshalJSON(src []byte) error

func (*NullableCreateServiceAccountPayload) Unset added in v0.5.0

type NullableCreateShortLivedAccessTokenResponse added in v0.5.0

type NullableCreateShortLivedAccessTokenResponse struct {
	// contains filtered or unexported fields
}

func NewNullableCreateShortLivedAccessTokenResponse added in v0.5.0

func NewNullableCreateShortLivedAccessTokenResponse(val *CreateShortLivedAccessTokenResponse) *NullableCreateShortLivedAccessTokenResponse

func (NullableCreateShortLivedAccessTokenResponse) Get added in v0.5.0

func (NullableCreateShortLivedAccessTokenResponse) IsSet added in v0.5.0

func (NullableCreateShortLivedAccessTokenResponse) MarshalJSON added in v0.5.0

func (*NullableCreateShortLivedAccessTokenResponse) Set added in v0.5.0

func (*NullableCreateShortLivedAccessTokenResponse) UnmarshalJSON added in v0.5.0

func (v *NullableCreateShortLivedAccessTokenResponse) UnmarshalJSON(src []byte) error

func (*NullableCreateShortLivedAccessTokenResponse) Unset added in v0.5.0

type NullableError added in v0.5.0

type NullableError struct {
	// contains filtered or unexported fields
}

func NewNullableError added in v0.5.0

func NewNullableError(val *Error) *NullableError

func (NullableError) Get added in v0.5.0

func (v NullableError) Get() *Error

func (NullableError) IsSet added in v0.5.0

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON added in v0.5.0

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set added in v0.5.0

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON added in v0.5.0

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset added in v0.5.0

func (v *NullableError) 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 added in v0.5.0

type NullableGetServiceAccountKeyResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGetServiceAccountKeyResponse added in v0.5.0

func NewNullableGetServiceAccountKeyResponse(val *GetServiceAccountKeyResponse) *NullableGetServiceAccountKeyResponse

func (NullableGetServiceAccountKeyResponse) Get added in v0.5.0

func (NullableGetServiceAccountKeyResponse) IsSet added in v0.5.0

func (NullableGetServiceAccountKeyResponse) MarshalJSON added in v0.5.0

func (v NullableGetServiceAccountKeyResponse) MarshalJSON() ([]byte, error)

func (*NullableGetServiceAccountKeyResponse) Set added in v0.5.0

func (*NullableGetServiceAccountKeyResponse) UnmarshalJSON added in v0.5.0

func (v *NullableGetServiceAccountKeyResponse) UnmarshalJSON(src []byte) error

func (*NullableGetServiceAccountKeyResponse) Unset added in v0.5.0

type NullableGetServiceAccountKeyResponseCredentials added in v0.5.0

type NullableGetServiceAccountKeyResponseCredentials struct {
	// contains filtered or unexported fields
}

func (NullableGetServiceAccountKeyResponseCredentials) Get added in v0.5.0

func (NullableGetServiceAccountKeyResponseCredentials) IsSet added in v0.5.0

func (NullableGetServiceAccountKeyResponseCredentials) MarshalJSON added in v0.5.0

func (*NullableGetServiceAccountKeyResponseCredentials) Set added in v0.5.0

func (*NullableGetServiceAccountKeyResponseCredentials) UnmarshalJSON added in v0.5.0

func (*NullableGetServiceAccountKeyResponseCredentials) Unset added in v0.5.0

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 added in v0.5.0

type NullableJWK struct {
	// contains filtered or unexported fields
}

func NewNullableJWK added in v0.5.0

func NewNullableJWK(val *JWK) *NullableJWK

func (NullableJWK) Get added in v0.5.0

func (v NullableJWK) Get() *JWK

func (NullableJWK) IsSet added in v0.5.0

func (v NullableJWK) IsSet() bool

func (NullableJWK) MarshalJSON added in v0.5.0

func (v NullableJWK) MarshalJSON() ([]byte, error)

func (*NullableJWK) Set added in v0.5.0

func (v *NullableJWK) Set(val *JWK)

func (*NullableJWK) UnmarshalJSON added in v0.5.0

func (v *NullableJWK) UnmarshalJSON(src []byte) error

func (*NullableJWK) Unset added in v0.5.0

func (v *NullableJWK) Unset()

type NullableJWKS added in v0.5.0

type NullableJWKS struct {
	// contains filtered or unexported fields
}

func NewNullableJWKS added in v0.5.0

func NewNullableJWKS(val *JWKS) *NullableJWKS

func (NullableJWKS) Get added in v0.5.0

func (v NullableJWKS) Get() *JWKS

func (NullableJWKS) IsSet added in v0.5.0

func (v NullableJWKS) IsSet() bool

func (NullableJWKS) MarshalJSON added in v0.5.0

func (v NullableJWKS) MarshalJSON() ([]byte, error)

func (*NullableJWKS) Set added in v0.5.0

func (v *NullableJWKS) Set(val *JWKS)

func (*NullableJWKS) UnmarshalJSON added in v0.5.0

func (v *NullableJWKS) UnmarshalJSON(src []byte) error

func (*NullableJWKS) Unset added in v0.5.0

func (v *NullableJWKS) Unset()

type NullableListAccessTokensResponse added in v0.5.0

type NullableListAccessTokensResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListAccessTokensResponse added in v0.5.0

func NewNullableListAccessTokensResponse(val *ListAccessTokensResponse) *NullableListAccessTokensResponse

func (NullableListAccessTokensResponse) Get added in v0.5.0

func (NullableListAccessTokensResponse) IsSet added in v0.5.0

func (NullableListAccessTokensResponse) MarshalJSON added in v0.5.0

func (v NullableListAccessTokensResponse) MarshalJSON() ([]byte, error)

func (*NullableListAccessTokensResponse) Set added in v0.5.0

func (*NullableListAccessTokensResponse) UnmarshalJSON added in v0.5.0

func (v *NullableListAccessTokensResponse) UnmarshalJSON(src []byte) error

func (*NullableListAccessTokensResponse) Unset added in v0.5.0

type NullableListServiceAccountKeysResponse added in v0.5.0

type NullableListServiceAccountKeysResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListServiceAccountKeysResponse added in v0.5.0

func NewNullableListServiceAccountKeysResponse(val *ListServiceAccountKeysResponse) *NullableListServiceAccountKeysResponse

func (NullableListServiceAccountKeysResponse) Get added in v0.5.0

func (NullableListServiceAccountKeysResponse) IsSet added in v0.5.0

func (NullableListServiceAccountKeysResponse) MarshalJSON added in v0.5.0

func (v NullableListServiceAccountKeysResponse) MarshalJSON() ([]byte, error)

func (*NullableListServiceAccountKeysResponse) Set added in v0.5.0

func (*NullableListServiceAccountKeysResponse) UnmarshalJSON added in v0.5.0

func (v *NullableListServiceAccountKeysResponse) UnmarshalJSON(src []byte) error

func (*NullableListServiceAccountKeysResponse) Unset added in v0.5.0

type NullableListServiceAccountsResponse added in v0.5.0

type NullableListServiceAccountsResponse struct {
	// contains filtered or unexported fields
}

func NewNullableListServiceAccountsResponse added in v0.5.0

func NewNullableListServiceAccountsResponse(val *ListServiceAccountsResponse) *NullableListServiceAccountsResponse

func (NullableListServiceAccountsResponse) Get added in v0.5.0

func (NullableListServiceAccountsResponse) IsSet added in v0.5.0

func (NullableListServiceAccountsResponse) MarshalJSON added in v0.5.0

func (v NullableListServiceAccountsResponse) MarshalJSON() ([]byte, error)

func (*NullableListServiceAccountsResponse) Set added in v0.5.0

func (*NullableListServiceAccountsResponse) UnmarshalJSON added in v0.5.0

func (v *NullableListServiceAccountsResponse) UnmarshalJSON(src []byte) error

func (*NullableListServiceAccountsResponse) Unset added in v0.5.0

type NullablePartialUpdateServiceAccountKeyPayload added in v0.5.0

type NullablePartialUpdateServiceAccountKeyPayload struct {
	// contains filtered or unexported fields
}

func (NullablePartialUpdateServiceAccountKeyPayload) Get added in v0.5.0

func (NullablePartialUpdateServiceAccountKeyPayload) IsSet added in v0.5.0

func (NullablePartialUpdateServiceAccountKeyPayload) MarshalJSON added in v0.5.0

func (*NullablePartialUpdateServiceAccountKeyPayload) Set added in v0.5.0

func (*NullablePartialUpdateServiceAccountKeyPayload) UnmarshalJSON added in v0.5.0

func (*NullablePartialUpdateServiceAccountKeyPayload) Unset added in v0.5.0

type NullablePartialUpdateServiceAccountKeyResponse added in v0.5.0

type NullablePartialUpdateServiceAccountKeyResponse struct {
	// contains filtered or unexported fields
}

func (NullablePartialUpdateServiceAccountKeyResponse) Get added in v0.5.0

func (NullablePartialUpdateServiceAccountKeyResponse) IsSet added in v0.5.0

func (NullablePartialUpdateServiceAccountKeyResponse) MarshalJSON added in v0.5.0

func (*NullablePartialUpdateServiceAccountKeyResponse) Set added in v0.5.0

func (*NullablePartialUpdateServiceAccountKeyResponse) UnmarshalJSON added in v0.5.0

func (*NullablePartialUpdateServiceAccountKeyResponse) Unset added in v0.5.0

type NullableServiceAccount added in v0.5.0

type NullableServiceAccount struct {
	// contains filtered or unexported fields
}

func NewNullableServiceAccount added in v0.5.0

func NewNullableServiceAccount(val *ServiceAccount) *NullableServiceAccount

func (NullableServiceAccount) Get added in v0.5.0

func (NullableServiceAccount) IsSet added in v0.5.0

func (v NullableServiceAccount) IsSet() bool

func (NullableServiceAccount) MarshalJSON added in v0.5.0

func (v NullableServiceAccount) MarshalJSON() ([]byte, error)

func (*NullableServiceAccount) Set added in v0.5.0

func (*NullableServiceAccount) UnmarshalJSON added in v0.5.0

func (v *NullableServiceAccount) UnmarshalJSON(src []byte) error

func (*NullableServiceAccount) Unset added in v0.5.0

func (v *NullableServiceAccount) Unset()

type NullableServiceAccountKeyListResponse added in v0.5.0

type NullableServiceAccountKeyListResponse struct {
	// contains filtered or unexported fields
}

func NewNullableServiceAccountKeyListResponse added in v0.5.0

func NewNullableServiceAccountKeyListResponse(val *ServiceAccountKeyListResponse) *NullableServiceAccountKeyListResponse

func (NullableServiceAccountKeyListResponse) Get added in v0.5.0

func (NullableServiceAccountKeyListResponse) IsSet added in v0.5.0

func (NullableServiceAccountKeyListResponse) MarshalJSON added in v0.5.0

func (v NullableServiceAccountKeyListResponse) MarshalJSON() ([]byte, error)

func (*NullableServiceAccountKeyListResponse) Set added in v0.5.0

func (*NullableServiceAccountKeyListResponse) UnmarshalJSON added in v0.5.0

func (v *NullableServiceAccountKeyListResponse) UnmarshalJSON(src []byte) error

func (*NullableServiceAccountKeyListResponse) Unset added in v0.5.0

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 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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

GetActive returns the Active field value if set, zero value otherwise.

func (*PartialUpdateServiceAccountKeyPayload) GetActiveOk added in v0.5.0

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 added in v0.5.0

func (o *PartialUpdateServiceAccountKeyPayload) GetValidUntil() *time.Time

GetValidUntil returns the ValidUntil field value if set, zero value otherwise.

func (*PartialUpdateServiceAccountKeyPayload) GetValidUntilOk added in v0.5.0

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 added in v0.5.0

HasActive returns a boolean if a field has been set.

func (*PartialUpdateServiceAccountKeyPayload) HasValidUntil added in v0.5.0

func (o *PartialUpdateServiceAccountKeyPayload) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (*PartialUpdateServiceAccountKeyPayload) SetActive added in v0.5.0

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*PartialUpdateServiceAccountKeyPayload) SetValidUntil added in v0.5.0

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 added in v0.5.0

func (o PartialUpdateServiceAccountKeyPayload) ToMap() (map[string]interface{}, error)

type PartialUpdateServiceAccountKeyResponse

type PartialUpdateServiceAccountKeyResponse struct {
	// REQUIRED
	Active *bool `json:"active"`
	// Creation time of the key
	// REQUIRED
	CreatedAt *time.Time `json:"createdAt"`
	// Unique ID of the key.
	// REQUIRED
	Id *string `json:"id"`
	// REQUIRED
	KeyAlgorithm *string `json:"keyAlgorithm"`
	// REQUIRED
	KeyOrigin *string `json:"keyOrigin"`
	// REQUIRED
	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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

GetActive returns the Active field value

func (*PartialUpdateServiceAccountKeyResponse) GetActiveOk added in v0.5.0

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 added in v0.5.0

GetCreatedAt returns the CreatedAt field value

func (*PartialUpdateServiceAccountKeyResponse) GetCreatedAtOk added in v0.5.0

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 added in v0.5.0

GetId returns the Id field value

func (*PartialUpdateServiceAccountKeyResponse) GetIdOk added in v0.5.0

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithm added in v0.5.0

func (o *PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithm() *string

GetKeyAlgorithm returns the KeyAlgorithm field value

func (*PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithmOk added in v0.5.0

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 added in v0.5.0

GetKeyOrigin returns the KeyOrigin field value

func (*PartialUpdateServiceAccountKeyResponse) GetKeyOriginOk added in v0.5.0

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 added in v0.5.0

GetKeyType returns the KeyType field value

func (*PartialUpdateServiceAccountKeyResponse) GetKeyTypeOk added in v0.5.0

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 added in v0.5.0

func (o *PartialUpdateServiceAccountKeyResponse) GetValidUntil() *time.Time

GetValidUntil returns the ValidUntil field value if set, zero value otherwise.

func (*PartialUpdateServiceAccountKeyResponse) GetValidUntilOk added in v0.5.0

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 added in v0.5.0

func (o *PartialUpdateServiceAccountKeyResponse) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (*PartialUpdateServiceAccountKeyResponse) SetActive added in v0.5.0

SetActive sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetCreatedAt added in v0.5.0

func (o *PartialUpdateServiceAccountKeyResponse) SetCreatedAt(v *time.Time)

SetCreatedAt sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetId added in v0.5.0

SetId sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetKeyAlgorithm added in v0.5.0

func (o *PartialUpdateServiceAccountKeyResponse) SetKeyAlgorithm(v *string)

SetKeyAlgorithm sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetKeyOrigin added in v0.5.0

func (o *PartialUpdateServiceAccountKeyResponse) SetKeyOrigin(v *string)

SetKeyOrigin sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetKeyType added in v0.5.0

SetKeyType sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetValidUntil added in v0.5.0

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 added in v0.5.0

func (o PartialUpdateServiceAccountKeyResponse) ToMap() (map[string]interface{}, 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.
	// REQUIRED
	Email *string `json:"email"`
	// Unique ID of the service account. It is also used in the 'sub' field of the service accounts access tokens.
	// REQUIRED
	Id *string `json:"id"`
	// Flag indicating internal service accounts
	// REQUIRED
	Internal *bool `json:"internal"`
	// ID of the related project
	// REQUIRED
	ProjectId *string `json:"projectId"`
}

ServiceAccount struct for ServiceAccount

func NewServiceAccount added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccount) GetEmail() *string

GetEmail returns the Email field value

func (*ServiceAccount) GetEmailOk added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccount) GetId() *string

GetId returns the Id field value

func (*ServiceAccount) GetIdOk added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccount) GetInternal() *bool

GetInternal returns the Internal field value

func (*ServiceAccount) GetInternalOk added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccount) GetProjectId() *string

GetProjectId returns the ProjectId field value

func (*ServiceAccount) GetProjectIdOk added in v0.5.0

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) SetEmail added in v0.5.0

func (o *ServiceAccount) SetEmail(v *string)

SetEmail sets field value

func (*ServiceAccount) SetId added in v0.5.0

func (o *ServiceAccount) SetId(v *string)

SetId sets field value

func (*ServiceAccount) SetInternal added in v0.5.0

func (o *ServiceAccount) SetInternal(v *bool)

SetInternal sets field value

func (*ServiceAccount) SetProjectId added in v0.5.0

func (o *ServiceAccount) SetProjectId(v *string)

SetProjectId sets field value

func (ServiceAccount) ToMap added in v0.5.0

func (o ServiceAccount) ToMap() (map[string]interface{}, error)

type ServiceAccountKeyListResponse

type ServiceAccountKeyListResponse struct {
	// REQUIRED
	Active *bool `json:"active"`
	// Creation time of the key
	// REQUIRED
	CreatedAt *time.Time `json:"createdAt"`
	// Unique ID of the key.
	// REQUIRED
	Id *string `json:"id"`
	// REQUIRED
	KeyAlgorithm *string `json:"keyAlgorithm"`
	// REQUIRED
	KeyOrigin *string `json:"keyOrigin"`
	// REQUIRED
	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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccountKeyListResponse) GetActive() *bool

GetActive returns the Active field value

func (*ServiceAccountKeyListResponse) GetActiveOk added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccountKeyListResponse) GetCreatedAt() *time.Time

GetCreatedAt returns the CreatedAt field value

func (*ServiceAccountKeyListResponse) GetCreatedAtOk added in v0.5.0

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 added in v0.5.0

GetId returns the Id field value

func (*ServiceAccountKeyListResponse) GetIdOk added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccountKeyListResponse) GetKeyAlgorithm() *string

GetKeyAlgorithm returns the KeyAlgorithm field value

func (*ServiceAccountKeyListResponse) GetKeyAlgorithmOk added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccountKeyListResponse) GetKeyOrigin() *string

GetKeyOrigin returns the KeyOrigin field value

func (*ServiceAccountKeyListResponse) GetKeyOriginOk added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccountKeyListResponse) GetKeyType() *string

GetKeyType returns the KeyType field value

func (*ServiceAccountKeyListResponse) GetKeyTypeOk added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccountKeyListResponse) GetValidUntil() *time.Time

GetValidUntil returns the ValidUntil field value if set, zero value otherwise.

func (*ServiceAccountKeyListResponse) GetValidUntilOk added in v0.5.0

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 added in v0.5.0

func (o *ServiceAccountKeyListResponse) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (*ServiceAccountKeyListResponse) SetActive added in v0.5.0

func (o *ServiceAccountKeyListResponse) SetActive(v *bool)

SetActive sets field value

func (*ServiceAccountKeyListResponse) SetCreatedAt added in v0.5.0

func (o *ServiceAccountKeyListResponse) SetCreatedAt(v *time.Time)

SetCreatedAt sets field value

func (*ServiceAccountKeyListResponse) SetId added in v0.5.0

SetId sets field value

func (*ServiceAccountKeyListResponse) SetKeyAlgorithm added in v0.5.0

func (o *ServiceAccountKeyListResponse) SetKeyAlgorithm(v *string)

SetKeyAlgorithm sets field value

func (*ServiceAccountKeyListResponse) SetKeyOrigin added in v0.5.0

func (o *ServiceAccountKeyListResponse) SetKeyOrigin(v *string)

SetKeyOrigin sets field value

func (*ServiceAccountKeyListResponse) SetKeyType added in v0.5.0

func (o *ServiceAccountKeyListResponse) SetKeyType(v *string)

SetKeyType sets field value

func (*ServiceAccountKeyListResponse) SetValidUntil added in v0.5.0

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 added in v0.5.0

func (o ServiceAccountKeyListResponse) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL