v2api

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)

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 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 {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the Service Account API API v2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AccessToken

type AccessToken struct {
	// Newly created access tokens are valid, and can be revoked if needed.
	Active bool `json:"active"`
	// Creation time of the access token.
	CreatedAt time.Time `json:"createdAt"`
	// Unique ID of the access token. Also used as JTI field.
	Id string `json:"id"`
	// The access token in JWT format. Use this with `Bearer` prefix for API calls. Store it, as it is not recoverable later.
	Token string `json:"token"`
	// Approximate expiration time of the access token. Check the JWT for actual validity date.
	ValidUntil time.Time `json:"validUntil"`
}

AccessToken Contains token metadata and actual token.

func NewAccessToken

func NewAccessToken(active bool, createdAt time.Time, id string, token string, validUntil time.Time) *AccessToken

NewAccessToken instantiates a new AccessToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessTokenWithDefaults

func NewAccessTokenWithDefaults() *AccessToken

NewAccessTokenWithDefaults instantiates a new AccessToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccessToken) GetActive

func (o *AccessToken) GetActive() bool

GetActive returns the Active field value

func (*AccessToken) GetActiveOk

func (o *AccessToken) GetActiveOk() (*bool, bool)

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

func (*AccessToken) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*AccessToken) GetCreatedAtOk

func (o *AccessToken) GetCreatedAtOk() (*time.Time, bool)

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

func (*AccessToken) GetId

func (o *AccessToken) GetId() string

GetId returns the Id field value

func (*AccessToken) GetIdOk

func (o *AccessToken) GetIdOk() (*string, bool)

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

func (*AccessToken) GetToken

func (o *AccessToken) GetToken() string

GetToken returns the Token field value

func (*AccessToken) GetTokenOk

func (o *AccessToken) GetTokenOk() (*string, bool)

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

func (*AccessToken) GetValidUntil

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

GetValidUntil returns the ValidUntil field value

func (*AccessToken) GetValidUntilOk

func (o *AccessToken) GetValidUntilOk() (*time.Time, bool)

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

func (AccessToken) MarshalJSON

func (o AccessToken) MarshalJSON() ([]byte, error)

func (*AccessToken) SetActive

func (o *AccessToken) SetActive(v bool)

SetActive sets field value

func (*AccessToken) SetCreatedAt

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

SetCreatedAt sets field value

func (*AccessToken) SetId

func (o *AccessToken) SetId(v string)

SetId sets field value

func (*AccessToken) SetToken

func (o *AccessToken) SetToken(v string)

SetToken sets field value

func (*AccessToken) SetValidUntil

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

SetValidUntil sets field value

func (AccessToken) ToMap

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

func (*AccessToken) UnmarshalJSON

func (o *AccessToken) UnmarshalJSON(data []byte) (err error)

type AccessTokenMetadata

type AccessTokenMetadata struct {
	// If true, access token can be used for authorized API calls, if false, the token is not usable anymore.
	Active bool `json:"active"`
	// Creation time of the access token.
	CreatedAt time.Time `json:"createdAt"`
	// Unique ID of the access token. Also used as JTI field.
	Id string `json:"id"`
	// Approximate expiration time of the access token. Check the JWT for actual validity date.
	ValidUntil time.Time `json:"validUntil"`
}

AccessTokenMetadata Does not contain the actual token.

func NewAccessTokenMetadata

func NewAccessTokenMetadata(active bool, createdAt time.Time, id string, validUntil time.Time) *AccessTokenMetadata

NewAccessTokenMetadata instantiates a new AccessTokenMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccessTokenMetadataWithDefaults

func NewAccessTokenMetadataWithDefaults() *AccessTokenMetadata

NewAccessTokenMetadataWithDefaults instantiates a new AccessTokenMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccessTokenMetadata) GetActive

func (o *AccessTokenMetadata) GetActive() bool

GetActive returns the Active field value

func (*AccessTokenMetadata) GetActiveOk

func (o *AccessTokenMetadata) GetActiveOk() (*bool, bool)

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

func (*AccessTokenMetadata) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*AccessTokenMetadata) GetCreatedAtOk

func (o *AccessTokenMetadata) GetCreatedAtOk() (*time.Time, bool)

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

func (*AccessTokenMetadata) GetId

func (o *AccessTokenMetadata) GetId() string

GetId returns the Id field value

func (*AccessTokenMetadata) GetIdOk

func (o *AccessTokenMetadata) GetIdOk() (*string, bool)

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

func (*AccessTokenMetadata) GetValidUntil

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

GetValidUntil returns the ValidUntil field value

func (*AccessTokenMetadata) GetValidUntilOk

func (o *AccessTokenMetadata) GetValidUntilOk() (*time.Time, bool)

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

func (AccessTokenMetadata) MarshalJSON

func (o AccessTokenMetadata) MarshalJSON() ([]byte, error)

func (*AccessTokenMetadata) SetActive

func (o *AccessTokenMetadata) SetActive(v bool)

SetActive sets field value

func (*AccessTokenMetadata) SetCreatedAt

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

SetCreatedAt sets field value

func (*AccessTokenMetadata) SetId

func (o *AccessTokenMetadata) SetId(v string)

SetId sets field value

func (*AccessTokenMetadata) SetValidUntil

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

SetValidUntil sets field value

func (AccessTokenMetadata) ToMap

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

func (*AccessTokenMetadata) UnmarshalJSON

func (o *AccessTokenMetadata) UnmarshalJSON(data []byte) (err error)

type ApiCreateAccessTokenRequest

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

func (ApiCreateAccessTokenRequest) CreateAccessTokenPayload

func (r ApiCreateAccessTokenRequest) CreateAccessTokenPayload(createAccessTokenPayload CreateAccessTokenPayload) ApiCreateAccessTokenRequest

Token request. Optional. If not specified the access token will be valid for 90days.

func (ApiCreateAccessTokenRequest) Execute

type ApiCreateFederatedIdentityProviderRequest

type ApiCreateFederatedIdentityProviderRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateFederatedIdentityProviderRequest) CreateFederatedIdentityProviderPayload

func (r ApiCreateFederatedIdentityProviderRequest) CreateFederatedIdentityProviderPayload(createFederatedIdentityProviderPayload CreateFederatedIdentityProviderPayload) ApiCreateFederatedIdentityProviderRequest

Federated identity provider request

func (ApiCreateFederatedIdentityProviderRequest) Execute

type ApiCreateServiceAccountKeyRequest

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

func (ApiCreateServiceAccountKeyRequest) CreateServiceAccountKeyPayload

func (r ApiCreateServiceAccountKeyRequest) CreateServiceAccountKeyPayload(createServiceAccountKeyPayload CreateServiceAccountKeyPayload) ApiCreateServiceAccountKeyRequest

Service account request

func (ApiCreateServiceAccountKeyRequest) Execute

type ApiCreateServiceAccountRequest

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

func (ApiCreateServiceAccountRequest) CreateServiceAccountPayload

func (r ApiCreateServiceAccountRequest) CreateServiceAccountPayload(createServiceAccountPayload CreateServiceAccountPayload) ApiCreateServiceAccountRequest

Service account request

func (ApiCreateServiceAccountRequest) Execute

type ApiCreateShortLivedAccessTokenRequest

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

func (ApiCreateShortLivedAccessTokenRequest) Assertion

The self signed JWT. Must be given when grant_type is urn:ietf:params:oauth:grant-type:jwt-bearer

func (ApiCreateShortLivedAccessTokenRequest) Execute

func (ApiCreateShortLivedAccessTokenRequest) GrantType

Always use URL encoded values. E.g. urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer

func (ApiCreateShortLivedAccessTokenRequest) RefreshToken

Refresh token provided by a previous call with a self signed token. Must be given when grant_type is refresh_token

type ApiDeleteAccessTokenRequest

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

func (ApiDeleteAccessTokenRequest) Execute

func (r ApiDeleteAccessTokenRequest) Execute() error

type ApiDeleteServiceAccountKeyRequest

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

func (ApiDeleteServiceAccountKeyRequest) Execute

type ApiDeleteServiceAccountRequest

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

func (ApiDeleteServiceAccountRequest) Execute

type ApiDeleteServiceFederatedIdentityProviderRequest

type ApiDeleteServiceFederatedIdentityProviderRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteServiceFederatedIdentityProviderRequest) Execute

type ApiGetJWKSRequest

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

func (ApiGetJWKSRequest) Execute

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

type ApiGetServiceAccountKeyRequest

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

func (ApiGetServiceAccountKeyRequest) Execute

func (ApiGetServiceAccountKeyRequest) Format

Requested format for the public key

type ApiListAccessTokensRequest

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

func (ApiListAccessTokensRequest) Execute

type ApiListFederatedIdentityProvidersRequest

type ApiListFederatedIdentityProvidersRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListFederatedIdentityProvidersRequest) Execute

type ApiListServiceAccountKeysRequest

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

func (ApiListServiceAccountKeysRequest) Execute

type ApiListServiceAccountsRequest

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

func (ApiListServiceAccountsRequest) Execute

type ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest

type ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) Execute

func (ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) PartialUpdateServiceAccountFederatedIdentityProviderPayload

func (r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) PartialUpdateServiceAccountFederatedIdentityProviderPayload(partialUpdateServiceAccountFederatedIdentityProviderPayload PartialUpdateServiceAccountFederatedIdentityProviderPayload) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest

Delete a Federated Identity Provider

type ApiPartialUpdateServiceAccountKeyRequest

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

func (ApiPartialUpdateServiceAccountKeyRequest) Execute

func (ApiPartialUpdateServiceAccountKeyRequest) PartialUpdateServiceAccountKeyPayload

func (r ApiPartialUpdateServiceAccountKeyRequest) PartialUpdateServiceAccountKeyPayload(partialUpdateServiceAccountKeyPayload PartialUpdateServiceAccountKeyPayload) ApiPartialUpdateServiceAccountKeyRequest

Service account request

type AuthError

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

AuthError struct for AuthError

func NewAuthError

func NewAuthError(error_ AuthErrorError) *AuthError

NewAuthError instantiates a new AuthError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuthErrorWithDefaults

func NewAuthErrorWithDefaults() *AuthError

NewAuthErrorWithDefaults instantiates a new AuthError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuthError) GetError

func (o *AuthError) GetError() AuthErrorError

GetError returns the Error field value

func (*AuthError) GetErrorOk

func (o *AuthError) GetErrorOk() (*AuthErrorError, bool)

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

func (AuthError) MarshalJSON

func (o AuthError) MarshalJSON() ([]byte, error)

func (*AuthError) SetError

func (o *AuthError) SetError(v AuthErrorError)

SetError sets field value

func (AuthError) ToMap

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

func (*AuthError) UnmarshalJSON

func (o *AuthError) UnmarshalJSON(data []byte) (err error)

type AuthErrorError

type AuthErrorError struct {
	Code    int32  `json:"code"`
	Message string `json:"message"`
	Status  string `json:"status"`
}

AuthErrorError struct for AuthErrorError

func NewAuthErrorError

func NewAuthErrorError(code int32, message string, status string) *AuthErrorError

NewAuthErrorError instantiates a new AuthErrorError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuthErrorErrorWithDefaults

func NewAuthErrorErrorWithDefaults() *AuthErrorError

NewAuthErrorErrorWithDefaults instantiates a new AuthErrorError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuthErrorError) GetCode

func (o *AuthErrorError) GetCode() int32

GetCode returns the Code field value

func (*AuthErrorError) GetCodeOk

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

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

func (*AuthErrorError) GetMessage

func (o *AuthErrorError) GetMessage() string

GetMessage returns the Message field value

func (*AuthErrorError) GetMessageOk

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

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

func (*AuthErrorError) GetStatus

func (o *AuthErrorError) GetStatus() string

GetStatus returns the Status field value

func (*AuthErrorError) GetStatusOk

func (o *AuthErrorError) GetStatusOk() (*string, bool)

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

func (AuthErrorError) MarshalJSON

func (o AuthErrorError) MarshalJSON() ([]byte, error)

func (*AuthErrorError) SetCode

func (o *AuthErrorError) SetCode(v int32)

SetCode sets field value

func (*AuthErrorError) SetMessage

func (o *AuthErrorError) SetMessage(v string)

SetMessage sets field value

func (*AuthErrorError) SetStatus

func (o *AuthErrorError) SetStatus(v string)

SetStatus sets field value

func (AuthErrorError) ToMap

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

func (*AuthErrorError) UnmarshalJSON

func (o *AuthErrorError) UnmarshalJSON(data []byte) (err error)

type CreateAccessTokenPayload

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

CreateAccessTokenPayload struct for CreateAccessTokenPayload

func NewCreateAccessTokenPayload

func NewCreateAccessTokenPayload(ttlDays int32) *CreateAccessTokenPayload

NewCreateAccessTokenPayload instantiates a new CreateAccessTokenPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateAccessTokenPayloadWithDefaults

func NewCreateAccessTokenPayloadWithDefaults() *CreateAccessTokenPayload

NewCreateAccessTokenPayloadWithDefaults instantiates a new CreateAccessTokenPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateAccessTokenPayload) GetTtlDays

func (o *CreateAccessTokenPayload) GetTtlDays() int32

GetTtlDays returns the TtlDays field value

func (*CreateAccessTokenPayload) GetTtlDaysOk

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

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

func (CreateAccessTokenPayload) MarshalJSON

func (o CreateAccessTokenPayload) MarshalJSON() ([]byte, error)

func (*CreateAccessTokenPayload) SetTtlDays

func (o *CreateAccessTokenPayload) SetTtlDays(v int32)

SetTtlDays sets field value

func (CreateAccessTokenPayload) ToMap

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

func (*CreateAccessTokenPayload) UnmarshalJSON

func (o *CreateAccessTokenPayload) UnmarshalJSON(data []byte) (err error)

type CreateFederatedIdentityProviderPayload

type CreateFederatedIdentityProviderPayload struct {
	// list of assertions of the federated identity provider
	Assertions []CreateFederatedIdentityProviderPayloadAssertionsInner `json:"assertions,omitempty"`
	// Issuer of the federated identity provider.
	Issuer string `json:"issuer"`
	// Unique name used as identifier of the federated identity provider.
	Name string `json:"name"`
}

CreateFederatedIdentityProviderPayload struct for CreateFederatedIdentityProviderPayload

func NewCreateFederatedIdentityProviderPayload

func NewCreateFederatedIdentityProviderPayload(issuer string, name string) *CreateFederatedIdentityProviderPayload

NewCreateFederatedIdentityProviderPayload instantiates a new CreateFederatedIdentityProviderPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateFederatedIdentityProviderPayloadWithDefaults

func NewCreateFederatedIdentityProviderPayloadWithDefaults() *CreateFederatedIdentityProviderPayload

NewCreateFederatedIdentityProviderPayloadWithDefaults instantiates a new CreateFederatedIdentityProviderPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateFederatedIdentityProviderPayload) GetAssertions

GetAssertions returns the Assertions field value if set, zero value otherwise.

func (*CreateFederatedIdentityProviderPayload) GetAssertionsOk

GetAssertionsOk returns a tuple with the Assertions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFederatedIdentityProviderPayload) GetIssuer

GetIssuer returns the Issuer field value

func (*CreateFederatedIdentityProviderPayload) GetIssuerOk

func (o *CreateFederatedIdentityProviderPayload) GetIssuerOk() (*string, bool)

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

func (*CreateFederatedIdentityProviderPayload) GetName

GetName returns the Name field value

func (*CreateFederatedIdentityProviderPayload) GetNameOk

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

func (*CreateFederatedIdentityProviderPayload) HasAssertions

func (o *CreateFederatedIdentityProviderPayload) HasAssertions() bool

HasAssertions returns a boolean if a field has been set.

func (CreateFederatedIdentityProviderPayload) MarshalJSON

func (o CreateFederatedIdentityProviderPayload) MarshalJSON() ([]byte, error)

func (*CreateFederatedIdentityProviderPayload) SetAssertions

SetAssertions gets a reference to the given []CreateFederatedIdentityProviderPayloadAssertionsInner and assigns it to the Assertions field.

func (*CreateFederatedIdentityProviderPayload) SetIssuer

SetIssuer sets field value

func (*CreateFederatedIdentityProviderPayload) SetName

SetName sets field value

func (CreateFederatedIdentityProviderPayload) ToMap

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

func (*CreateFederatedIdentityProviderPayload) UnmarshalJSON

func (o *CreateFederatedIdentityProviderPayload) UnmarshalJSON(data []byte) (err error)

type CreateFederatedIdentityProviderPayloadAssertionsInner

type CreateFederatedIdentityProviderPayloadAssertionsInner struct {
	// Item to compare
	Item *string `json:"item,omitempty"`
	// Operator for the comparison
	Operator *string `json:"operator,omitempty"`
	// Value which the item is compared to
	Value *string `json:"value,omitempty"`
}

CreateFederatedIdentityProviderPayloadAssertionsInner struct for CreateFederatedIdentityProviderPayloadAssertionsInner

func NewCreateFederatedIdentityProviderPayloadAssertionsInner

func NewCreateFederatedIdentityProviderPayloadAssertionsInner() *CreateFederatedIdentityProviderPayloadAssertionsInner

NewCreateFederatedIdentityProviderPayloadAssertionsInner instantiates a new CreateFederatedIdentityProviderPayloadAssertionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateFederatedIdentityProviderPayloadAssertionsInnerWithDefaults

func NewCreateFederatedIdentityProviderPayloadAssertionsInnerWithDefaults() *CreateFederatedIdentityProviderPayloadAssertionsInner

NewCreateFederatedIdentityProviderPayloadAssertionsInnerWithDefaults instantiates a new CreateFederatedIdentityProviderPayloadAssertionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetItem

GetItem returns the Item field value if set, zero value otherwise.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetItemOk

GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetOperator

GetOperator returns the Operator field value if set, zero value otherwise.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetOperatorOk

GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetValue

GetValue returns the Value field value if set, zero value otherwise.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) GetValueOk

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) HasItem

HasItem returns a boolean if a field has been set.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) HasOperator

HasOperator returns a boolean if a field has been set.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) HasValue

HasValue returns a boolean if a field has been set.

func (CreateFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) SetItem

SetItem gets a reference to the given string and assigns it to the Item field.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) SetOperator

SetOperator gets a reference to the given string and assigns it to the Operator field.

func (*CreateFederatedIdentityProviderPayloadAssertionsInner) SetValue

SetValue gets a reference to the given string and assigns it to the Value field.

func (CreateFederatedIdentityProviderPayloadAssertionsInner) ToMap

type CreateFederatedIdentityProviderResponse

type CreateFederatedIdentityProviderResponse struct {
	// list of assertions of the federated identity provider
	Assertions []CreateFederatedIdentityProviderResponseAssertionsInner `json:"assertions"`
	// Creation time of the federated identity provider.
	CreatedAt time.Time `json:"createdAt"`
	// Issuer of the federated identity provider.
	Issuer string `json:"issuer"`
	// Unique name of the federated identity provider.
	Name string `json:"name"`
	// Last update time of the federated identity provider.
	UpdatedAt time.Time `json:"updatedAt"`
}

CreateFederatedIdentityProviderResponse struct for CreateFederatedIdentityProviderResponse

func NewCreateFederatedIdentityProviderResponse

func NewCreateFederatedIdentityProviderResponse(assertions []CreateFederatedIdentityProviderResponseAssertionsInner, createdAt time.Time, issuer string, name string, updatedAt time.Time) *CreateFederatedIdentityProviderResponse

NewCreateFederatedIdentityProviderResponse instantiates a new CreateFederatedIdentityProviderResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateFederatedIdentityProviderResponseWithDefaults

func NewCreateFederatedIdentityProviderResponseWithDefaults() *CreateFederatedIdentityProviderResponse

NewCreateFederatedIdentityProviderResponseWithDefaults instantiates a new CreateFederatedIdentityProviderResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateFederatedIdentityProviderResponse) GetAssertions

GetAssertions returns the Assertions field value

func (*CreateFederatedIdentityProviderResponse) GetAssertionsOk

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

func (*CreateFederatedIdentityProviderResponse) GetCreatedAt

GetCreatedAt returns the CreatedAt field value

func (*CreateFederatedIdentityProviderResponse) GetCreatedAtOk

func (o *CreateFederatedIdentityProviderResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*CreateFederatedIdentityProviderResponse) GetIssuer

GetIssuer returns the Issuer field value

func (*CreateFederatedIdentityProviderResponse) GetIssuerOk

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

func (*CreateFederatedIdentityProviderResponse) GetName

GetName returns the Name field value

func (*CreateFederatedIdentityProviderResponse) GetNameOk

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

func (*CreateFederatedIdentityProviderResponse) GetUpdatedAt

GetUpdatedAt returns the UpdatedAt field value

func (*CreateFederatedIdentityProviderResponse) GetUpdatedAtOk

func (o *CreateFederatedIdentityProviderResponse) GetUpdatedAtOk() (*time.Time, bool)

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

func (CreateFederatedIdentityProviderResponse) MarshalJSON

func (o CreateFederatedIdentityProviderResponse) MarshalJSON() ([]byte, error)

func (*CreateFederatedIdentityProviderResponse) SetAssertions

SetAssertions sets field value

func (*CreateFederatedIdentityProviderResponse) SetCreatedAt

SetCreatedAt sets field value

func (*CreateFederatedIdentityProviderResponse) SetIssuer

SetIssuer sets field value

func (*CreateFederatedIdentityProviderResponse) SetName

SetName sets field value

func (*CreateFederatedIdentityProviderResponse) SetUpdatedAt

SetUpdatedAt sets field value

func (CreateFederatedIdentityProviderResponse) ToMap

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

func (*CreateFederatedIdentityProviderResponse) UnmarshalJSON

func (o *CreateFederatedIdentityProviderResponse) UnmarshalJSON(data []byte) (err error)

type CreateFederatedIdentityProviderResponseAssertionsInner

type CreateFederatedIdentityProviderResponseAssertionsInner struct {
	// Item to compare
	Item string `json:"item"`
	// Operator for the comparison
	Operator string `json:"operator"`
	// Value which the item is compared to
	Value string `json:"value"`
}

CreateFederatedIdentityProviderResponseAssertionsInner struct for CreateFederatedIdentityProviderResponseAssertionsInner

func NewCreateFederatedIdentityProviderResponseAssertionsInner

func NewCreateFederatedIdentityProviderResponseAssertionsInner(item string, operator string, value string) *CreateFederatedIdentityProviderResponseAssertionsInner

NewCreateFederatedIdentityProviderResponseAssertionsInner instantiates a new CreateFederatedIdentityProviderResponseAssertionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateFederatedIdentityProviderResponseAssertionsInnerWithDefaults

func NewCreateFederatedIdentityProviderResponseAssertionsInnerWithDefaults() *CreateFederatedIdentityProviderResponseAssertionsInner

NewCreateFederatedIdentityProviderResponseAssertionsInnerWithDefaults instantiates a new CreateFederatedIdentityProviderResponseAssertionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetItem

GetItem returns the Item field value

func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetItemOk

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

func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetOperator

GetOperator returns the Operator field value

func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetOperatorOk

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

func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetValue

GetValue returns the Value field value

func (*CreateFederatedIdentityProviderResponseAssertionsInner) GetValueOk

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

func (CreateFederatedIdentityProviderResponseAssertionsInner) MarshalJSON

func (*CreateFederatedIdentityProviderResponseAssertionsInner) SetItem

SetItem sets field value

func (*CreateFederatedIdentityProviderResponseAssertionsInner) SetOperator

SetOperator sets field value

func (*CreateFederatedIdentityProviderResponseAssertionsInner) SetValue

SetValue sets field value

func (CreateFederatedIdentityProviderResponseAssertionsInner) ToMap

func (*CreateFederatedIdentityProviderResponseAssertionsInner) UnmarshalJSON

func (o *CreateFederatedIdentityProviderResponseAssertionsInner) UnmarshalJSON(data []byte) (err error)

type CreateServiceAccountKeyPayload

type CreateServiceAccountKeyPayload struct {
	// Optional, key algorithm of the generated key-pair. Used only if publicKey attribute is not specified, otherwise the algorithm is derived from the public key.
	Algorithm *string `json:"algorithm,omitempty"`
	// Optional, public key part of the user generated RSA key-pair wrapped in a [X.509 v3 certificate](https://www.rfc-editor.org/rfc/rfc5280)
	PublicKey *string `json:"publicKey,omitempty"`
	// Optional, date of key expiration. When omitted, key is valid until deleted
	ValidUntil *time.Time `json:"validUntil,omitempty"`
}

CreateServiceAccountKeyPayload struct for CreateServiceAccountKeyPayload

func NewCreateServiceAccountKeyPayload

func NewCreateServiceAccountKeyPayload() *CreateServiceAccountKeyPayload

NewCreateServiceAccountKeyPayload instantiates a new CreateServiceAccountKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateServiceAccountKeyPayloadWithDefaults

func NewCreateServiceAccountKeyPayloadWithDefaults() *CreateServiceAccountKeyPayload

NewCreateServiceAccountKeyPayloadWithDefaults instantiates a new CreateServiceAccountKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateServiceAccountKeyPayload) GetAlgorithm

func (o *CreateServiceAccountKeyPayload) GetAlgorithm() string

GetAlgorithm returns the Algorithm field value if set, zero value otherwise.

func (*CreateServiceAccountKeyPayload) GetAlgorithmOk

func (o *CreateServiceAccountKeyPayload) GetAlgorithmOk() (*string, bool)

GetAlgorithmOk returns a tuple with the Algorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyPayload) GetPublicKey

func (o *CreateServiceAccountKeyPayload) GetPublicKey() string

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

func (*CreateServiceAccountKeyPayload) GetPublicKeyOk

func (o *CreateServiceAccountKeyPayload) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyPayload) GetValidUntil

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

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

func (*CreateServiceAccountKeyPayload) GetValidUntilOk

func (o *CreateServiceAccountKeyPayload) GetValidUntilOk() (*time.Time, bool)

GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyPayload) HasAlgorithm

func (o *CreateServiceAccountKeyPayload) HasAlgorithm() bool

HasAlgorithm returns a boolean if a field has been set.

func (*CreateServiceAccountKeyPayload) HasPublicKey

func (o *CreateServiceAccountKeyPayload) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*CreateServiceAccountKeyPayload) HasValidUntil

func (o *CreateServiceAccountKeyPayload) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (CreateServiceAccountKeyPayload) MarshalJSON

func (o CreateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)

func (*CreateServiceAccountKeyPayload) SetAlgorithm

func (o *CreateServiceAccountKeyPayload) SetAlgorithm(v string)

SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.

func (*CreateServiceAccountKeyPayload) SetPublicKey

func (o *CreateServiceAccountKeyPayload) SetPublicKey(v string)

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

func (*CreateServiceAccountKeyPayload) SetValidUntil

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

SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.

func (CreateServiceAccountKeyPayload) ToMap

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

type CreateServiceAccountKeyResponse

type CreateServiceAccountKeyResponse struct {
	Active bool `json:"active"`
	// Creation time of the key
	CreatedAt   time.Time                                  `json:"createdAt"`
	Credentials CreateServiceAccountKeyResponseCredentials `json:"credentials"`
	// Unique ID of the key.
	Id           string `json:"id"`
	KeyAlgorithm string `json:"keyAlgorithm"`
	KeyOrigin    string `json:"keyOrigin"`
	KeyType      string `json:"keyType"`
	// Public key, that was provider, or was generated by the service account API
	PublicKey string `json:"publicKey"`
	// If specified, the timestamp until the key is active. May be null
	ValidUntil *time.Time `json:"validUntil,omitempty"`
}

CreateServiceAccountKeyResponse struct for CreateServiceAccountKeyResponse

func NewCreateServiceAccountKeyResponse

func NewCreateServiceAccountKeyResponse(active bool, createdAt time.Time, credentials CreateServiceAccountKeyResponseCredentials, id string, keyAlgorithm string, keyOrigin string, keyType string, publicKey string) *CreateServiceAccountKeyResponse

NewCreateServiceAccountKeyResponse instantiates a new CreateServiceAccountKeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateServiceAccountKeyResponseWithDefaults

func NewCreateServiceAccountKeyResponseWithDefaults() *CreateServiceAccountKeyResponse

NewCreateServiceAccountKeyResponseWithDefaults instantiates a new CreateServiceAccountKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateServiceAccountKeyResponse) GetActive

func (o *CreateServiceAccountKeyResponse) GetActive() bool

GetActive returns the Active field value

func (*CreateServiceAccountKeyResponse) GetActiveOk

func (o *CreateServiceAccountKeyResponse) GetActiveOk() (*bool, bool)

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

func (*CreateServiceAccountKeyResponse) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*CreateServiceAccountKeyResponse) GetCreatedAtOk

func (o *CreateServiceAccountKeyResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*CreateServiceAccountKeyResponse) GetCredentials

GetCredentials returns the Credentials field value

func (*CreateServiceAccountKeyResponse) GetCredentialsOk

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

func (*CreateServiceAccountKeyResponse) GetId

GetId returns the Id field value

func (*CreateServiceAccountKeyResponse) GetIdOk

func (o *CreateServiceAccountKeyResponse) GetIdOk() (*string, bool)

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

func (*CreateServiceAccountKeyResponse) GetKeyAlgorithm

func (o *CreateServiceAccountKeyResponse) GetKeyAlgorithm() string

GetKeyAlgorithm returns the KeyAlgorithm field value

func (*CreateServiceAccountKeyResponse) GetKeyAlgorithmOk

func (o *CreateServiceAccountKeyResponse) GetKeyAlgorithmOk() (*string, bool)

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

func (*CreateServiceAccountKeyResponse) GetKeyOrigin

func (o *CreateServiceAccountKeyResponse) GetKeyOrigin() string

GetKeyOrigin returns the KeyOrigin field value

func (*CreateServiceAccountKeyResponse) GetKeyOriginOk

func (o *CreateServiceAccountKeyResponse) GetKeyOriginOk() (*string, bool)

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

func (*CreateServiceAccountKeyResponse) GetKeyType

func (o *CreateServiceAccountKeyResponse) GetKeyType() string

GetKeyType returns the KeyType field value

func (*CreateServiceAccountKeyResponse) GetKeyTypeOk

func (o *CreateServiceAccountKeyResponse) GetKeyTypeOk() (*string, bool)

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

func (*CreateServiceAccountKeyResponse) GetPublicKey

func (o *CreateServiceAccountKeyResponse) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*CreateServiceAccountKeyResponse) GetPublicKeyOk

func (o *CreateServiceAccountKeyResponse) GetPublicKeyOk() (*string, bool)

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

func (*CreateServiceAccountKeyResponse) GetValidUntil

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

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

func (*CreateServiceAccountKeyResponse) GetValidUntilOk

func (o *CreateServiceAccountKeyResponse) GetValidUntilOk() (*time.Time, bool)

GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyResponse) HasValidUntil

func (o *CreateServiceAccountKeyResponse) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (CreateServiceAccountKeyResponse) MarshalJSON

func (o CreateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)

func (*CreateServiceAccountKeyResponse) SetActive

func (o *CreateServiceAccountKeyResponse) SetActive(v bool)

SetActive sets field value

func (*CreateServiceAccountKeyResponse) SetCreatedAt

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

SetCreatedAt sets field value

func (*CreateServiceAccountKeyResponse) SetCredentials

SetCredentials sets field value

func (*CreateServiceAccountKeyResponse) SetId

SetId sets field value

func (*CreateServiceAccountKeyResponse) SetKeyAlgorithm

func (o *CreateServiceAccountKeyResponse) SetKeyAlgorithm(v string)

SetKeyAlgorithm sets field value

func (*CreateServiceAccountKeyResponse) SetKeyOrigin

func (o *CreateServiceAccountKeyResponse) SetKeyOrigin(v string)

SetKeyOrigin sets field value

func (*CreateServiceAccountKeyResponse) SetKeyType

func (o *CreateServiceAccountKeyResponse) SetKeyType(v string)

SetKeyType sets field value

func (*CreateServiceAccountKeyResponse) SetPublicKey

func (o *CreateServiceAccountKeyResponse) SetPublicKey(v string)

SetPublicKey sets field value

func (*CreateServiceAccountKeyResponse) SetValidUntil

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

SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.

func (CreateServiceAccountKeyResponse) ToMap

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

func (*CreateServiceAccountKeyResponse) UnmarshalJSON

func (o *CreateServiceAccountKeyResponse) UnmarshalJSON(data []byte) (err error)

type CreateServiceAccountKeyResponseCredentials

type CreateServiceAccountKeyResponseCredentials struct {
	// Audience - service account API URL
	Aud string `json:"aud"`
	// Service account email
	Iss string `json:"iss"`
	// Key id to use
	Kid string `json:"kid"`
	// Private key. Only present, if the service account API was generating the key. Not recoverable later.
	PrivateKey *string `json:"privateKey,omitempty"`
	// Service account id
	Sub string `json:"sub"`
}

CreateServiceAccountKeyResponseCredentials struct for CreateServiceAccountKeyResponseCredentials

func NewCreateServiceAccountKeyResponseCredentials

func NewCreateServiceAccountKeyResponseCredentials(aud string, iss string, kid string, sub string) *CreateServiceAccountKeyResponseCredentials

NewCreateServiceAccountKeyResponseCredentials instantiates a new CreateServiceAccountKeyResponseCredentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateServiceAccountKeyResponseCredentialsWithDefaults

func NewCreateServiceAccountKeyResponseCredentialsWithDefaults() *CreateServiceAccountKeyResponseCredentials

NewCreateServiceAccountKeyResponseCredentialsWithDefaults instantiates a new CreateServiceAccountKeyResponseCredentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateServiceAccountKeyResponseCredentials) GetAud

GetAud returns the Aud field value

func (*CreateServiceAccountKeyResponseCredentials) GetAudOk

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

func (*CreateServiceAccountKeyResponseCredentials) GetIss

GetIss returns the Iss field value

func (*CreateServiceAccountKeyResponseCredentials) GetIssOk

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

func (*CreateServiceAccountKeyResponseCredentials) GetKid

GetKid returns the Kid field value

func (*CreateServiceAccountKeyResponseCredentials) GetKidOk

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

func (*CreateServiceAccountKeyResponseCredentials) GetPrivateKey

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

func (*CreateServiceAccountKeyResponseCredentials) GetPrivateKeyOk

func (o *CreateServiceAccountKeyResponseCredentials) GetPrivateKeyOk() (*string, bool)

GetPrivateKeyOk returns a tuple with the PrivateKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateServiceAccountKeyResponseCredentials) GetSub

GetSub returns the Sub field value

func (*CreateServiceAccountKeyResponseCredentials) GetSubOk

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

func (*CreateServiceAccountKeyResponseCredentials) HasPrivateKey

HasPrivateKey returns a boolean if a field has been set.

func (CreateServiceAccountKeyResponseCredentials) MarshalJSON

func (*CreateServiceAccountKeyResponseCredentials) SetAud

SetAud sets field value

func (*CreateServiceAccountKeyResponseCredentials) SetIss

SetIss sets field value

func (*CreateServiceAccountKeyResponseCredentials) SetKid

SetKid sets field value

func (*CreateServiceAccountKeyResponseCredentials) SetPrivateKey

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

func (*CreateServiceAccountKeyResponseCredentials) SetSub

SetSub sets field value

func (CreateServiceAccountKeyResponseCredentials) ToMap

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

func (*CreateServiceAccountKeyResponseCredentials) UnmarshalJSON

func (o *CreateServiceAccountKeyResponseCredentials) UnmarshalJSON(data []byte) (err error)

type CreateServiceAccountPayload

type CreateServiceAccountPayload struct {
	// The requested name of the service account. The service will generate a unique email from this name.
	Name string `json:"name" validate:"regexp=^[a-z](?:-?[a-z0-9]+)*$"`
}

CreateServiceAccountPayload struct for CreateServiceAccountPayload

func NewCreateServiceAccountPayload

func NewCreateServiceAccountPayload(name string) *CreateServiceAccountPayload

NewCreateServiceAccountPayload instantiates a new CreateServiceAccountPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateServiceAccountPayloadWithDefaults

func NewCreateServiceAccountPayloadWithDefaults() *CreateServiceAccountPayload

NewCreateServiceAccountPayloadWithDefaults instantiates a new CreateServiceAccountPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateServiceAccountPayload) GetName

func (o *CreateServiceAccountPayload) GetName() string

GetName returns the Name field value

func (*CreateServiceAccountPayload) GetNameOk

func (o *CreateServiceAccountPayload) GetNameOk() (*string, bool)

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

func (CreateServiceAccountPayload) MarshalJSON

func (o CreateServiceAccountPayload) MarshalJSON() ([]byte, error)

func (*CreateServiceAccountPayload) SetName

func (o *CreateServiceAccountPayload) SetName(v string)

SetName sets field value

func (CreateServiceAccountPayload) ToMap

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

func (*CreateServiceAccountPayload) UnmarshalJSON

func (o *CreateServiceAccountPayload) UnmarshalJSON(data []byte) (err error)

type CreateShortLivedAccessTokenResponse

type CreateShortLivedAccessTokenResponse struct {
	// The short lived token that can be used for API access
	AccessToken string `json:"access_token"`
	ExpiresIn   int32  `json:"expires_in"`
	// Refresh token that can be used to request a new access token when it expires (and before refresh token expires). Tokens are rotated.
	RefreshToken string `json:"refresh_token"`
	// scope field of the self signed token
	Scope     string `json:"scope"`
	TokenType string `json:"token_type"`
}

CreateShortLivedAccessTokenResponse struct for CreateShortLivedAccessTokenResponse

func NewCreateShortLivedAccessTokenResponse

func NewCreateShortLivedAccessTokenResponse(accessToken string, expiresIn int32, refreshToken string, scope string, tokenType string) *CreateShortLivedAccessTokenResponse

NewCreateShortLivedAccessTokenResponse instantiates a new CreateShortLivedAccessTokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateShortLivedAccessTokenResponseWithDefaults

func NewCreateShortLivedAccessTokenResponseWithDefaults() *CreateShortLivedAccessTokenResponse

NewCreateShortLivedAccessTokenResponseWithDefaults instantiates a new CreateShortLivedAccessTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateShortLivedAccessTokenResponse) GetAccessToken

func (o *CreateShortLivedAccessTokenResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value

func (*CreateShortLivedAccessTokenResponse) GetAccessTokenOk

func (o *CreateShortLivedAccessTokenResponse) GetAccessTokenOk() (*string, bool)

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

func (*CreateShortLivedAccessTokenResponse) GetExpiresIn

func (o *CreateShortLivedAccessTokenResponse) GetExpiresIn() int32

GetExpiresIn returns the ExpiresIn field value

func (*CreateShortLivedAccessTokenResponse) GetExpiresInOk

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

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

func (*CreateShortLivedAccessTokenResponse) GetRefreshToken

func (o *CreateShortLivedAccessTokenResponse) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value

func (*CreateShortLivedAccessTokenResponse) GetRefreshTokenOk

func (o *CreateShortLivedAccessTokenResponse) GetRefreshTokenOk() (*string, bool)

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

func (*CreateShortLivedAccessTokenResponse) GetScope

GetScope returns the Scope field value

func (*CreateShortLivedAccessTokenResponse) GetScopeOk

func (o *CreateShortLivedAccessTokenResponse) GetScopeOk() (*string, bool)

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

func (*CreateShortLivedAccessTokenResponse) GetTokenType

func (o *CreateShortLivedAccessTokenResponse) GetTokenType() string

GetTokenType returns the TokenType field value

func (*CreateShortLivedAccessTokenResponse) GetTokenTypeOk

func (o *CreateShortLivedAccessTokenResponse) GetTokenTypeOk() (*string, bool)

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

func (CreateShortLivedAccessTokenResponse) MarshalJSON

func (o CreateShortLivedAccessTokenResponse) MarshalJSON() ([]byte, error)

func (*CreateShortLivedAccessTokenResponse) SetAccessToken

func (o *CreateShortLivedAccessTokenResponse) SetAccessToken(v string)

SetAccessToken sets field value

func (*CreateShortLivedAccessTokenResponse) SetExpiresIn

func (o *CreateShortLivedAccessTokenResponse) SetExpiresIn(v int32)

SetExpiresIn sets field value

func (*CreateShortLivedAccessTokenResponse) SetRefreshToken

func (o *CreateShortLivedAccessTokenResponse) SetRefreshToken(v string)

SetRefreshToken sets field value

func (*CreateShortLivedAccessTokenResponse) SetScope

SetScope sets field value

func (*CreateShortLivedAccessTokenResponse) SetTokenType

func (o *CreateShortLivedAccessTokenResponse) SetTokenType(v string)

SetTokenType sets field value

func (CreateShortLivedAccessTokenResponse) ToMap

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

func (*CreateShortLivedAccessTokenResponse) UnmarshalJSON

func (o *CreateShortLivedAccessTokenResponse) UnmarshalJSON(data []byte) (err error)

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateAccessToken Create a new Access Token

		Create an Access Token for a Service Account. The service token can be then used for API calls. Save the response token, as it is not recoverable later. Token metadata can be requested until the token is not expired. A token cannot be created using another token from the same service account. Consider using service account keys instead as a more secure and automation friendly solution.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the Service Account.
		@return ApiCreateAccessTokenRequest
	*/
	CreateAccessToken(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateAccessTokenRequest

	// CreateAccessTokenExecute executes the request
	//  @return AccessToken
	CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*AccessToken, error)

	/*
		CreateFederatedIdentityProvider Create a new Federated Identity Provider

		Federate the service account with an identity provider.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the service account.
		@return ApiCreateFederatedIdentityProviderRequest
	*/
	CreateFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateFederatedIdentityProviderRequest

	// CreateFederatedIdentityProviderExecute executes the request
	//  @return CreateFederatedIdentityProviderResponse
	CreateFederatedIdentityProviderExecute(r ApiCreateFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)

	/*
		CreateServiceAccount Create a new Service Account

		Create a new Service Account in a project. The service account only resides in the project, and initially has no roles or permissions on any resources. After creation, the service account can be assigned to this project, other projects in the parent organization or to the parent organization.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@return ApiCreateServiceAccountRequest
	*/
	CreateServiceAccount(ctx context.Context, projectId string) ApiCreateServiceAccountRequest

	// CreateServiceAccountExecute executes the request
	//  @return ServiceAccount
	CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)

	/*
		CreateServiceAccountKey Create a new Service Account key

		Create a new key to the service account. You can generate an RSA keypair, and post the PUBLIC part of the keypair, or leave empty, then the service will generate a pair. Maximum of 10 key can be added. A new key cannot be created using the same service account (authenticated using the short lived token of another key of the same service account).

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the service account.
		@return ApiCreateServiceAccountKeyRequest
	*/
	CreateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateServiceAccountKeyRequest

	// CreateServiceAccountKeyExecute executes the request
	//  @return CreateServiceAccountKeyResponse
	CreateServiceAccountKeyExecute(r ApiCreateServiceAccountKeyRequest) (*CreateServiceAccountKeyResponse, error)

	/*
			CreateShortLivedAccessToken Request short lived API access token (OAUTH2).

			Request a short lived API access token with OAUTH2. Compatible with [Using JWTs as Authorization Grants](https://www.rfc-editor.org/rfc/rfc7523.html#section-2.1)
		You can request a token with a self signed token, or with a refresh token.

			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@return ApiCreateShortLivedAccessTokenRequest
	*/
	CreateShortLivedAccessToken(ctx context.Context) ApiCreateShortLivedAccessTokenRequest

	// CreateShortLivedAccessTokenExecute executes the request
	//  @return CreateShortLivedAccessTokenResponse
	CreateShortLivedAccessTokenExecute(r ApiCreateShortLivedAccessTokenRequest) (*CreateShortLivedAccessTokenResponse, error)

	/*
		DeleteAccessToken Revoke Access Token

		Revoke an Access Token. The access token is instantly revoked, any following calls with the token will be unauthorized. The token metadata is still stored until the expiration time.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The ID of the Service Account.
		@param accessTokenId The ID of the Access Token.
		@return ApiDeleteAccessTokenRequest
	*/
	DeleteAccessToken(ctx context.Context, projectId string, serviceAccountEmail string, accessTokenId string) ApiDeleteAccessTokenRequest

	// DeleteAccessTokenExecute executes the request
	DeleteAccessTokenExecute(r ApiDeleteAccessTokenRequest) error

	/*
		DeleteServiceAccount Delete Service Account

		Delete a Service Account.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the Service Account.
		@return ApiDeleteServiceAccountRequest
	*/
	DeleteServiceAccount(ctx context.Context, projectId string, serviceAccountEmail string) ApiDeleteServiceAccountRequest

	// DeleteServiceAccountExecute executes the request
	DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) error

	/*
		DeleteServiceAccountKey Delete a service account key

		Delete a key

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the service account.
		@param keyId ID of the key.
		@return ApiDeleteServiceAccountKeyRequest
	*/
	DeleteServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiDeleteServiceAccountKeyRequest

	// DeleteServiceAccountKeyExecute executes the request
	DeleteServiceAccountKeyExecute(r ApiDeleteServiceAccountKeyRequest) error

	/*
		DeleteServiceFederatedIdentityProvider Delete a service account Federated Identity Provider

		Delete a Federated Identity Provider

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the service account.
		@param federationId ID of the Federated Identity Provider.
		@return ApiDeleteServiceFederatedIdentityProviderRequest
	*/
	DeleteServiceFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiDeleteServiceFederatedIdentityProviderRequest

	// DeleteServiceFederatedIdentityProviderExecute executes the request
	DeleteServiceFederatedIdentityProviderExecute(r ApiDeleteServiceFederatedIdentityProviderRequest) error

	/*
		GetJWKS Get JSON Web Key set of the service account

		Get JSON Web Key set of the service account

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param serviceAccountEmail The email of the service account.
		@return ApiGetJWKSRequest
	*/
	GetJWKS(ctx context.Context, serviceAccountEmail string) ApiGetJWKSRequest

	// GetJWKSExecute executes the request
	//  @return JWKS
	GetJWKSExecute(r ApiGetJWKSRequest) (*JWKS, error)

	/*
		GetServiceAccountKey Get service account key details

		Get key details

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the service account.
		@param keyId ID of the key.
		@return ApiGetServiceAccountKeyRequest
	*/
	GetServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiGetServiceAccountKeyRequest

	// GetServiceAccountKeyExecute executes the request
	//  @return GetServiceAccountKeyResponse
	GetServiceAccountKeyExecute(r ApiGetServiceAccountKeyRequest) (*GetServiceAccountKeyResponse, error)

	/*
		ListAccessTokens List Access Tokens of Service Account

		Get all Access Tokens of a Service Account. The token itself is not returned, only the metadata about the access tokens. Access tokens are listed until they are expired. Revoked tokens are returned until expired.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the Service Account.
		@return ApiListAccessTokensRequest
	*/
	ListAccessTokens(ctx context.Context, projectId string, serviceAccountEmail string) ApiListAccessTokensRequest

	// ListAccessTokensExecute executes the request
	//  @return ListAccessTokensResponse
	ListAccessTokensExecute(r ApiListAccessTokensRequest) (*ListAccessTokensResponse, error)

	/*
		ListFederatedIdentityProviders List all federated identity providers

		List all the identity providers the service account is federated with.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the service account.
		@return ApiListFederatedIdentityProvidersRequest
	*/
	ListFederatedIdentityProviders(ctx context.Context, projectId string, serviceAccountEmail string) ApiListFederatedIdentityProvidersRequest

	// ListFederatedIdentityProvidersExecute executes the request
	//  @return FederatedListFederatedIdentityProvidersResponse
	ListFederatedIdentityProvidersExecute(r ApiListFederatedIdentityProvidersRequest) (*FederatedListFederatedIdentityProvidersResponse, error)

	/*
		ListServiceAccountKeys List all keys that belong to the service account

		List all keys that belong to the service account

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the service account.
		@return ApiListServiceAccountKeysRequest
	*/
	ListServiceAccountKeys(ctx context.Context, projectId string, serviceAccountEmail string) ApiListServiceAccountKeysRequest

	// ListServiceAccountKeysExecute executes the request
	//  @return ListServiceAccountKeysResponse
	ListServiceAccountKeysExecute(r ApiListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)

	/*
		ListServiceAccounts List all Service Accounts

		List all Service Account resources in a project. Returns the service account resources, not the service accounts that has access to the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@return ApiListServiceAccountsRequest
	*/
	ListServiceAccounts(ctx context.Context, projectId string) ApiListServiceAccountsRequest

	// ListServiceAccountsExecute executes the request
	//  @return ListServiceAccountsResponse
	ListServiceAccountsExecute(r ApiListServiceAccountsRequest) (*ListServiceAccountsResponse, error)

	/*
		PartialUpdateServiceAccountFederatedIdentityProvider Update Service Account Federated Identity Provider

		Update a Federated Identity Provider.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the service account.
		@param federationId ID of the Federated Identity Provider.
		@return ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest
	*/
	PartialUpdateServiceAccountFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest

	// PartialUpdateServiceAccountFederatedIdentityProviderExecute executes the request
	//  @return CreateFederatedIdentityProviderResponse
	PartialUpdateServiceAccountFederatedIdentityProviderExecute(r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)

	/*
		PartialUpdateServiceAccountKey Update Service Account key

		Update a key. You can activate or deactivate a key, or set/delete validUntil. The key cannot be updated using the same service account (authenticated using the short lived token of the key).

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The ID of the project.
		@param serviceAccountEmail The email of the service account.
		@param keyId ID of the key.
		@return ApiPartialUpdateServiceAccountKeyRequest
	*/
	PartialUpdateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiPartialUpdateServiceAccountKeyRequest

	// PartialUpdateServiceAccountKeyExecute executes the request
	//  @return PartialUpdateServiceAccountKeyResponse
	PartialUpdateServiceAccountKeyExecute(r ApiPartialUpdateServiceAccountKeyRequest) (*PartialUpdateServiceAccountKeyResponse, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateAccessToken

func (a *DefaultAPIService) CreateAccessToken(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateAccessTokenRequest

CreateAccessToken Create a new Access Token

Create an Access Token for a Service Account. The service token can be then used for API calls. Save the response token, as it is not recoverable later. Token metadata can be requested until the token is not expired. A token cannot be created using another token from the same service account. Consider using service account keys instead as a more secure and automation friendly solution.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the Service Account.
@return ApiCreateAccessTokenRequest

func (*DefaultAPIService) CreateAccessTokenExecute

func (a *DefaultAPIService) CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*AccessToken, error)

Execute executes the request

@return AccessToken

func (*DefaultAPIService) CreateFederatedIdentityProvider

func (a *DefaultAPIService) CreateFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateFederatedIdentityProviderRequest

CreateFederatedIdentityProvider Create a new Federated Identity Provider

Federate the service account with an identity provider.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@return ApiCreateFederatedIdentityProviderRequest

func (*DefaultAPIService) CreateFederatedIdentityProviderExecute

Execute executes the request

@return CreateFederatedIdentityProviderResponse

func (*DefaultAPIService) CreateServiceAccount

func (a *DefaultAPIService) CreateServiceAccount(ctx context.Context, projectId string) ApiCreateServiceAccountRequest

CreateServiceAccount Create a new Service Account

Create a new Service Account in a project. The service account only resides in the project, and initially has no roles or permissions on any resources. After creation, the service account can be assigned to this project, other projects in the parent organization or to the parent organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiCreateServiceAccountRequest

func (*DefaultAPIService) CreateServiceAccountExecute

func (a *DefaultAPIService) CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)

Execute executes the request

@return ServiceAccount

func (*DefaultAPIService) CreateServiceAccountKey

func (a *DefaultAPIService) CreateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateServiceAccountKeyRequest

CreateServiceAccountKey Create a new Service Account key

Create a new key to the service account. You can generate an RSA keypair, and post the PUBLIC part of the keypair, or leave empty, then the service will generate a pair. Maximum of 10 key can be added. A new key cannot be created using the same service account (authenticated using the short lived token of another key of the same service account).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@return ApiCreateServiceAccountKeyRequest

func (*DefaultAPIService) CreateServiceAccountKeyExecute

Execute executes the request

@return CreateServiceAccountKeyResponse

func (*DefaultAPIService) CreateShortLivedAccessToken

func (a *DefaultAPIService) CreateShortLivedAccessToken(ctx context.Context) ApiCreateShortLivedAccessTokenRequest

CreateShortLivedAccessToken Request short lived API access token (OAUTH2).

Request a short lived API access token with OAUTH2. Compatible with [Using JWTs as Authorization Grants](https://www.rfc-editor.org/rfc/rfc7523.html#section-2.1) You can request a token with a self signed token, or with a refresh token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateShortLivedAccessTokenRequest

func (*DefaultAPIService) CreateShortLivedAccessTokenExecute

Execute executes the request

@return CreateShortLivedAccessTokenResponse

func (*DefaultAPIService) DeleteAccessToken

func (a *DefaultAPIService) DeleteAccessToken(ctx context.Context, projectId string, serviceAccountEmail string, accessTokenId string) ApiDeleteAccessTokenRequest

DeleteAccessToken Revoke Access Token

Revoke an Access Token. The access token is instantly revoked, any following calls with the token will be unauthorized. The token metadata is still stored until the expiration time.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The ID of the Service Account.
@param accessTokenId The ID of the Access Token.
@return ApiDeleteAccessTokenRequest

func (*DefaultAPIService) DeleteAccessTokenExecute

func (a *DefaultAPIService) DeleteAccessTokenExecute(r ApiDeleteAccessTokenRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteServiceAccount

func (a *DefaultAPIService) DeleteServiceAccount(ctx context.Context, projectId string, serviceAccountEmail string) ApiDeleteServiceAccountRequest

DeleteServiceAccount Delete Service Account

Delete a Service Account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the Service Account.
@return ApiDeleteServiceAccountRequest

func (*DefaultAPIService) DeleteServiceAccountExecute

func (a *DefaultAPIService) DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteServiceAccountKey

func (a *DefaultAPIService) DeleteServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiDeleteServiceAccountKeyRequest

DeleteServiceAccountKey Delete a service account key

Delete a key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param keyId ID of the key.
@return ApiDeleteServiceAccountKeyRequest

func (*DefaultAPIService) DeleteServiceAccountKeyExecute

func (a *DefaultAPIService) DeleteServiceAccountKeyExecute(r ApiDeleteServiceAccountKeyRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteServiceFederatedIdentityProvider

func (a *DefaultAPIService) DeleteServiceFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiDeleteServiceFederatedIdentityProviderRequest

DeleteServiceFederatedIdentityProvider Delete a service account Federated Identity Provider

Delete a Federated Identity Provider

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param federationId ID of the Federated Identity Provider.
@return ApiDeleteServiceFederatedIdentityProviderRequest

func (*DefaultAPIService) DeleteServiceFederatedIdentityProviderExecute

func (a *DefaultAPIService) DeleteServiceFederatedIdentityProviderExecute(r ApiDeleteServiceFederatedIdentityProviderRequest) error

Execute executes the request

func (*DefaultAPIService) GetJWKS

func (a *DefaultAPIService) GetJWKS(ctx context.Context, serviceAccountEmail string) ApiGetJWKSRequest

GetJWKS Get JSON Web Key set of the service account

Get JSON Web Key set of the service account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param serviceAccountEmail The email of the service account.
@return ApiGetJWKSRequest

func (*DefaultAPIService) GetJWKSExecute

func (a *DefaultAPIService) GetJWKSExecute(r ApiGetJWKSRequest) (*JWKS, error)

Execute executes the request

@return JWKS

func (*DefaultAPIService) GetServiceAccountKey

func (a *DefaultAPIService) GetServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiGetServiceAccountKeyRequest

GetServiceAccountKey Get service account key details

Get key details

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param keyId ID of the key.
@return ApiGetServiceAccountKeyRequest

func (*DefaultAPIService) GetServiceAccountKeyExecute

Execute executes the request

@return GetServiceAccountKeyResponse

func (*DefaultAPIService) ListAccessTokens

func (a *DefaultAPIService) ListAccessTokens(ctx context.Context, projectId string, serviceAccountEmail string) ApiListAccessTokensRequest

ListAccessTokens List Access Tokens of Service Account

Get all Access Tokens of a Service Account. The token itself is not returned, only the metadata about the access tokens. Access tokens are listed until they are expired. Revoked tokens are returned until expired.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the Service Account.
@return ApiListAccessTokensRequest

func (*DefaultAPIService) ListAccessTokensExecute

Execute executes the request

@return ListAccessTokensResponse

func (*DefaultAPIService) ListFederatedIdentityProviders

func (a *DefaultAPIService) ListFederatedIdentityProviders(ctx context.Context, projectId string, serviceAccountEmail string) ApiListFederatedIdentityProvidersRequest

ListFederatedIdentityProviders List all federated identity providers

List all the identity providers the service account is federated with.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@return ApiListFederatedIdentityProvidersRequest

func (*DefaultAPIService) ListFederatedIdentityProvidersExecute

Execute executes the request

@return FederatedListFederatedIdentityProvidersResponse

func (*DefaultAPIService) ListServiceAccountKeys

func (a *DefaultAPIService) ListServiceAccountKeys(ctx context.Context, projectId string, serviceAccountEmail string) ApiListServiceAccountKeysRequest

ListServiceAccountKeys List all keys that belong to the service account

List all keys that belong to the service account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@return ApiListServiceAccountKeysRequest

func (*DefaultAPIService) ListServiceAccountKeysExecute

Execute executes the request

@return ListServiceAccountKeysResponse

func (*DefaultAPIService) ListServiceAccounts

func (a *DefaultAPIService) ListServiceAccounts(ctx context.Context, projectId string) ApiListServiceAccountsRequest

ListServiceAccounts List all Service Accounts

List all Service Account resources in a project. Returns the service account resources, not the service accounts that has access to the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@return ApiListServiceAccountsRequest

func (*DefaultAPIService) ListServiceAccountsExecute

Execute executes the request

@return ListServiceAccountsResponse

func (*DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProvider

func (a *DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest

PartialUpdateServiceAccountFederatedIdentityProvider Update Service Account Federated Identity Provider

Update a Federated Identity Provider.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param federationId ID of the Federated Identity Provider.
@return ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest

func (*DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProviderExecute

func (a *DefaultAPIService) PartialUpdateServiceAccountFederatedIdentityProviderExecute(r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)

Execute executes the request

@return CreateFederatedIdentityProviderResponse

func (*DefaultAPIService) PartialUpdateServiceAccountKey

func (a *DefaultAPIService) PartialUpdateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiPartialUpdateServiceAccountKeyRequest

PartialUpdateServiceAccountKey Update Service Account key

Update a key. You can activate or deactivate a key, or set/delete validUntil. The key cannot be updated using the same service account (authenticated using the short lived token of the key).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The ID of the project.
@param serviceAccountEmail The email of the service account.
@param keyId ID of the key.
@return ApiPartialUpdateServiceAccountKeyRequest

func (*DefaultAPIService) PartialUpdateServiceAccountKeyExecute

Execute executes the request

@return PartialUpdateServiceAccountKeyResponse

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateAccessTokenExecuteMock can be populated to implement the behavior of the CreateAccessTokenExecute function of this mock
	CreateAccessTokenExecuteMock *func(r ApiCreateAccessTokenRequest) (*AccessToken, error)
	// CreateFederatedIdentityProviderExecuteMock can be populated to implement the behavior of the CreateFederatedIdentityProviderExecute function of this mock
	CreateFederatedIdentityProviderExecuteMock *func(r ApiCreateFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
	// CreateServiceAccountExecuteMock can be populated to implement the behavior of the CreateServiceAccountExecute function of this mock
	CreateServiceAccountExecuteMock *func(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)
	// CreateServiceAccountKeyExecuteMock can be populated to implement the behavior of the CreateServiceAccountKeyExecute function of this mock
	CreateServiceAccountKeyExecuteMock *func(r ApiCreateServiceAccountKeyRequest) (*CreateServiceAccountKeyResponse, error)
	// CreateShortLivedAccessTokenExecuteMock can be populated to implement the behavior of the CreateShortLivedAccessTokenExecute function of this mock
	CreateShortLivedAccessTokenExecuteMock *func(r ApiCreateShortLivedAccessTokenRequest) (*CreateShortLivedAccessTokenResponse, error)
	// DeleteAccessTokenExecuteMock can be populated to implement the behavior of the DeleteAccessTokenExecute function of this mock
	DeleteAccessTokenExecuteMock *func(r ApiDeleteAccessTokenRequest) error
	// DeleteServiceAccountExecuteMock can be populated to implement the behavior of the DeleteServiceAccountExecute function of this mock
	DeleteServiceAccountExecuteMock *func(r ApiDeleteServiceAccountRequest) error
	// DeleteServiceAccountKeyExecuteMock can be populated to implement the behavior of the DeleteServiceAccountKeyExecute function of this mock
	DeleteServiceAccountKeyExecuteMock *func(r ApiDeleteServiceAccountKeyRequest) error
	// DeleteServiceFederatedIdentityProviderExecuteMock can be populated to implement the behavior of the DeleteServiceFederatedIdentityProviderExecute function of this mock
	DeleteServiceFederatedIdentityProviderExecuteMock *func(r ApiDeleteServiceFederatedIdentityProviderRequest) error
	// GetJWKSExecuteMock can be populated to implement the behavior of the GetJWKSExecute function of this mock
	GetJWKSExecuteMock *func(r ApiGetJWKSRequest) (*JWKS, error)
	// GetServiceAccountKeyExecuteMock can be populated to implement the behavior of the GetServiceAccountKeyExecute function of this mock
	GetServiceAccountKeyExecuteMock *func(r ApiGetServiceAccountKeyRequest) (*GetServiceAccountKeyResponse, error)
	// ListAccessTokensExecuteMock can be populated to implement the behavior of the ListAccessTokensExecute function of this mock
	ListAccessTokensExecuteMock *func(r ApiListAccessTokensRequest) (*ListAccessTokensResponse, error)
	// ListFederatedIdentityProvidersExecuteMock can be populated to implement the behavior of the ListFederatedIdentityProvidersExecute function of this mock
	ListFederatedIdentityProvidersExecuteMock *func(r ApiListFederatedIdentityProvidersRequest) (*FederatedListFederatedIdentityProvidersResponse, error)
	// ListServiceAccountKeysExecuteMock can be populated to implement the behavior of the ListServiceAccountKeysExecute function of this mock
	ListServiceAccountKeysExecuteMock *func(r ApiListServiceAccountKeysRequest) (*ListServiceAccountKeysResponse, error)
	// ListServiceAccountsExecuteMock can be populated to implement the behavior of the ListServiceAccountsExecute function of this mock
	ListServiceAccountsExecuteMock *func(r ApiListServiceAccountsRequest) (*ListServiceAccountsResponse, error)
	// PartialUpdateServiceAccountFederatedIdentityProviderExecuteMock can be populated to implement the behavior of the PartialUpdateServiceAccountFederatedIdentityProviderExecute function of this mock
	PartialUpdateServiceAccountFederatedIdentityProviderExecuteMock *func(r ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest) (*CreateFederatedIdentityProviderResponse, error)
	// PartialUpdateServiceAccountKeyExecuteMock can be populated to implement the behavior of the PartialUpdateServiceAccountKeyExecute function of this mock
	PartialUpdateServiceAccountKeyExecuteMock *func(r ApiPartialUpdateServiceAccountKeyRequest) (*PartialUpdateServiceAccountKeyResponse, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateAccessToken

func (a DefaultAPIServiceMock) CreateAccessToken(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateAccessTokenRequest

func (DefaultAPIServiceMock) CreateAccessTokenExecute

func (a DefaultAPIServiceMock) CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*AccessToken, error)

CreateAccessTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateAccessTokenExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateFederatedIdentityProvider

func (a DefaultAPIServiceMock) CreateFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateFederatedIdentityProviderRequest

func (DefaultAPIServiceMock) CreateFederatedIdentityProviderExecute

CreateFederatedIdentityProviderExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateFederatedIdentityProviderExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateServiceAccount

func (a DefaultAPIServiceMock) CreateServiceAccount(ctx context.Context, projectId string) ApiCreateServiceAccountRequest

func (DefaultAPIServiceMock) CreateServiceAccountExecute

func (a DefaultAPIServiceMock) CreateServiceAccountExecute(r ApiCreateServiceAccountRequest) (*ServiceAccount, error)

CreateServiceAccountExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateServiceAccountExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateServiceAccountKey

func (a DefaultAPIServiceMock) CreateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string) ApiCreateServiceAccountKeyRequest

func (DefaultAPIServiceMock) CreateServiceAccountKeyExecute

CreateServiceAccountKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateServiceAccountKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateShortLivedAccessToken

func (DefaultAPIServiceMock) CreateShortLivedAccessTokenExecute

CreateShortLivedAccessTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateShortLivedAccessTokenExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteAccessToken

func (a DefaultAPIServiceMock) DeleteAccessToken(ctx context.Context, projectId string, serviceAccountEmail string, accessTokenId string) ApiDeleteAccessTokenRequest

func (DefaultAPIServiceMock) DeleteAccessTokenExecute

func (a DefaultAPIServiceMock) DeleteAccessTokenExecute(r ApiDeleteAccessTokenRequest) error

DeleteAccessTokenExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteAccessTokenExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteServiceAccount

func (a DefaultAPIServiceMock) DeleteServiceAccount(ctx context.Context, projectId string, serviceAccountEmail string) ApiDeleteServiceAccountRequest

func (DefaultAPIServiceMock) DeleteServiceAccountExecute

func (a DefaultAPIServiceMock) DeleteServiceAccountExecute(r ApiDeleteServiceAccountRequest) error

DeleteServiceAccountExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteServiceAccountExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteServiceAccountKey

func (a DefaultAPIServiceMock) DeleteServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiDeleteServiceAccountKeyRequest

func (DefaultAPIServiceMock) DeleteServiceAccountKeyExecute

func (a DefaultAPIServiceMock) DeleteServiceAccountKeyExecute(r ApiDeleteServiceAccountKeyRequest) error

DeleteServiceAccountKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteServiceAccountKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteServiceFederatedIdentityProvider

func (a DefaultAPIServiceMock) DeleteServiceFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiDeleteServiceFederatedIdentityProviderRequest

func (DefaultAPIServiceMock) DeleteServiceFederatedIdentityProviderExecute

func (a DefaultAPIServiceMock) DeleteServiceFederatedIdentityProviderExecute(r ApiDeleteServiceFederatedIdentityProviderRequest) error

DeleteServiceFederatedIdentityProviderExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteServiceFederatedIdentityProviderExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetJWKS

func (a DefaultAPIServiceMock) GetJWKS(ctx context.Context, serviceAccountEmail string) ApiGetJWKSRequest

func (DefaultAPIServiceMock) GetJWKSExecute

func (a DefaultAPIServiceMock) GetJWKSExecute(r ApiGetJWKSRequest) (*JWKS, error)

GetJWKSExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetJWKSExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetServiceAccountKey

func (a DefaultAPIServiceMock) GetServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiGetServiceAccountKeyRequest

func (DefaultAPIServiceMock) GetServiceAccountKeyExecute

GetServiceAccountKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetServiceAccountKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListAccessTokens

func (a DefaultAPIServiceMock) ListAccessTokens(ctx context.Context, projectId string, serviceAccountEmail string) ApiListAccessTokensRequest

func (DefaultAPIServiceMock) ListAccessTokensExecute

ListAccessTokensExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListAccessTokensExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListFederatedIdentityProviders

func (a DefaultAPIServiceMock) ListFederatedIdentityProviders(ctx context.Context, projectId string, serviceAccountEmail string) ApiListFederatedIdentityProvidersRequest

func (DefaultAPIServiceMock) ListFederatedIdentityProvidersExecute

ListFederatedIdentityProvidersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListFederatedIdentityProvidersExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListServiceAccountKeys

func (a DefaultAPIServiceMock) ListServiceAccountKeys(ctx context.Context, projectId string, serviceAccountEmail string) ApiListServiceAccountKeysRequest

func (DefaultAPIServiceMock) ListServiceAccountKeysExecute

ListServiceAccountKeysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServiceAccountKeysExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListServiceAccounts

func (a DefaultAPIServiceMock) ListServiceAccounts(ctx context.Context, projectId string) ApiListServiceAccountsRequest

func (DefaultAPIServiceMock) ListServiceAccountsExecute

ListServiceAccountsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListServiceAccountsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PartialUpdateServiceAccountFederatedIdentityProvider

func (a DefaultAPIServiceMock) PartialUpdateServiceAccountFederatedIdentityProvider(ctx context.Context, projectId string, serviceAccountEmail string, federationId string) ApiPartialUpdateServiceAccountFederatedIdentityProviderRequest

func (DefaultAPIServiceMock) PartialUpdateServiceAccountFederatedIdentityProviderExecute

PartialUpdateServiceAccountFederatedIdentityProviderExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateServiceAccountFederatedIdentityProviderExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) PartialUpdateServiceAccountKey

func (a DefaultAPIServiceMock) PartialUpdateServiceAccountKey(ctx context.Context, projectId string, serviceAccountEmail string, keyId string) ApiPartialUpdateServiceAccountKeyRequest

func (DefaultAPIServiceMock) PartialUpdateServiceAccountKeyExecute

PartialUpdateServiceAccountKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PartialUpdateServiceAccountKeyExecuteMock field in the DefaultAPIServiceMock struct.

type Error

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

Error Contains error information.

func NewError

func NewError(error_ string, message string, path string, status int32, 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

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

func (o *Error) GetError() string

GetError returns the Error field value

func (*Error) GetErrorOk

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

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

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

func (o *Error) GetPath() string

GetPath returns the Path field value

func (*Error) GetPathOk

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

func (o *Error) GetStatus() int32

GetStatus returns the Status field value

func (*Error) GetStatusOk

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

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

func (*Error) GetTimeStamp

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

GetTimeStamp returns the TimeStamp field value

func (*Error) GetTimeStampOk

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) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetError

func (o *Error) SetError(v string)

SetError sets field value

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

func (*Error) SetPath

func (o *Error) SetPath(v string)

SetPath sets field value

func (*Error) SetStatus

func (o *Error) SetStatus(v int32)

SetStatus sets field value

func (*Error) SetTimeStamp

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

SetTimeStamp sets field value

func (Error) ToMap

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

func (*Error) UnmarshalJSON

func (o *Error) UnmarshalJSON(data []byte) (err error)

type FederatedListFederatedIdentityProvidersResponse

type FederatedListFederatedIdentityProvidersResponse struct {
	ItemsPerPage float32                                   `json:"itemsPerPage"`
	Resources    []CreateFederatedIdentityProviderResponse `json:"resources"`
	StartIndex   float32                                   `json:"startIndex"`
	TotalResults float32                                   `json:"totalResults"`
}

FederatedListFederatedIdentityProvidersResponse struct for FederatedListFederatedIdentityProvidersResponse

func NewFederatedListFederatedIdentityProvidersResponse

func NewFederatedListFederatedIdentityProvidersResponse(itemsPerPage float32, resources []CreateFederatedIdentityProviderResponse, startIndex float32, totalResults float32) *FederatedListFederatedIdentityProvidersResponse

NewFederatedListFederatedIdentityProvidersResponse instantiates a new FederatedListFederatedIdentityProvidersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFederatedListFederatedIdentityProvidersResponseWithDefaults

func NewFederatedListFederatedIdentityProvidersResponseWithDefaults() *FederatedListFederatedIdentityProvidersResponse

NewFederatedListFederatedIdentityProvidersResponseWithDefaults instantiates a new FederatedListFederatedIdentityProvidersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FederatedListFederatedIdentityProvidersResponse) GetItemsPerPage

GetItemsPerPage returns the ItemsPerPage field value

func (*FederatedListFederatedIdentityProvidersResponse) GetItemsPerPageOk

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

func (*FederatedListFederatedIdentityProvidersResponse) GetResources

GetResources returns the Resources field value

func (*FederatedListFederatedIdentityProvidersResponse) GetResourcesOk

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

func (*FederatedListFederatedIdentityProvidersResponse) GetStartIndex

GetStartIndex returns the StartIndex field value

func (*FederatedListFederatedIdentityProvidersResponse) GetStartIndexOk

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

func (*FederatedListFederatedIdentityProvidersResponse) GetTotalResults

GetTotalResults returns the TotalResults field value

func (*FederatedListFederatedIdentityProvidersResponse) GetTotalResultsOk

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

func (FederatedListFederatedIdentityProvidersResponse) MarshalJSON

func (*FederatedListFederatedIdentityProvidersResponse) SetItemsPerPage

SetItemsPerPage sets field value

func (*FederatedListFederatedIdentityProvidersResponse) SetResources

SetResources sets field value

func (*FederatedListFederatedIdentityProvidersResponse) SetStartIndex

SetStartIndex sets field value

func (*FederatedListFederatedIdentityProvidersResponse) SetTotalResults

SetTotalResults sets field value

func (FederatedListFederatedIdentityProvidersResponse) ToMap

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

func (*FederatedListFederatedIdentityProvidersResponse) UnmarshalJSON

func (o *FederatedListFederatedIdentityProvidersResponse) UnmarshalJSON(data []byte) (err error)

type GetServiceAccountKeyResponse

type GetServiceAccountKeyResponse struct {
	Active bool `json:"active"`
	// Creation time of the key
	CreatedAt   time.Time                               `json:"createdAt"`
	Credentials GetServiceAccountKeyResponseCredentials `json:"credentials"`
	// Unique ID of the key.
	Id           string `json:"id"`
	KeyAlgorithm string `json:"keyAlgorithm"`
	KeyOrigin    string `json:"keyOrigin"`
	KeyType      string `json:"keyType"`
	// Public key, in the requested format
	PublicKey *string `json:"publicKey,omitempty"`
	// If specified, the timestamp until the key is active. May be null
	ValidUntil *time.Time `json:"validUntil,omitempty"`
}

GetServiceAccountKeyResponse struct for GetServiceAccountKeyResponse

func NewGetServiceAccountKeyResponse

func NewGetServiceAccountKeyResponse(active bool, createdAt time.Time, credentials GetServiceAccountKeyResponseCredentials, id string, keyAlgorithm string, keyOrigin string, keyType string) *GetServiceAccountKeyResponse

NewGetServiceAccountKeyResponse instantiates a new GetServiceAccountKeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetServiceAccountKeyResponseWithDefaults

func NewGetServiceAccountKeyResponseWithDefaults() *GetServiceAccountKeyResponse

NewGetServiceAccountKeyResponseWithDefaults instantiates a new GetServiceAccountKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetServiceAccountKeyResponse) GetActive

func (o *GetServiceAccountKeyResponse) GetActive() bool

GetActive returns the Active field value

func (*GetServiceAccountKeyResponse) GetActiveOk

func (o *GetServiceAccountKeyResponse) GetActiveOk() (*bool, bool)

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

func (*GetServiceAccountKeyResponse) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*GetServiceAccountKeyResponse) GetCreatedAtOk

func (o *GetServiceAccountKeyResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*GetServiceAccountKeyResponse) GetCredentials

GetCredentials returns the Credentials field value

func (*GetServiceAccountKeyResponse) GetCredentialsOk

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

func (*GetServiceAccountKeyResponse) GetId

GetId returns the Id field value

func (*GetServiceAccountKeyResponse) GetIdOk

func (o *GetServiceAccountKeyResponse) GetIdOk() (*string, bool)

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

func (*GetServiceAccountKeyResponse) GetKeyAlgorithm

func (o *GetServiceAccountKeyResponse) GetKeyAlgorithm() string

GetKeyAlgorithm returns the KeyAlgorithm field value

func (*GetServiceAccountKeyResponse) GetKeyAlgorithmOk

func (o *GetServiceAccountKeyResponse) GetKeyAlgorithmOk() (*string, bool)

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

func (*GetServiceAccountKeyResponse) GetKeyOrigin

func (o *GetServiceAccountKeyResponse) GetKeyOrigin() string

GetKeyOrigin returns the KeyOrigin field value

func (*GetServiceAccountKeyResponse) GetKeyOriginOk

func (o *GetServiceAccountKeyResponse) GetKeyOriginOk() (*string, bool)

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

func (*GetServiceAccountKeyResponse) GetKeyType

func (o *GetServiceAccountKeyResponse) GetKeyType() string

GetKeyType returns the KeyType field value

func (*GetServiceAccountKeyResponse) GetKeyTypeOk

func (o *GetServiceAccountKeyResponse) GetKeyTypeOk() (*string, bool)

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

func (*GetServiceAccountKeyResponse) GetPublicKey

func (o *GetServiceAccountKeyResponse) GetPublicKey() string

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

func (*GetServiceAccountKeyResponse) GetPublicKeyOk

func (o *GetServiceAccountKeyResponse) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetServiceAccountKeyResponse) GetValidUntil

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

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

func (*GetServiceAccountKeyResponse) GetValidUntilOk

func (o *GetServiceAccountKeyResponse) GetValidUntilOk() (*time.Time, bool)

GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetServiceAccountKeyResponse) HasPublicKey

func (o *GetServiceAccountKeyResponse) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*GetServiceAccountKeyResponse) HasValidUntil

func (o *GetServiceAccountKeyResponse) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (GetServiceAccountKeyResponse) MarshalJSON

func (o GetServiceAccountKeyResponse) MarshalJSON() ([]byte, error)

func (*GetServiceAccountKeyResponse) SetActive

func (o *GetServiceAccountKeyResponse) SetActive(v bool)

SetActive sets field value

func (*GetServiceAccountKeyResponse) SetCreatedAt

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

SetCreatedAt sets field value

func (*GetServiceAccountKeyResponse) SetCredentials

SetCredentials sets field value

func (*GetServiceAccountKeyResponse) SetId

SetId sets field value

func (*GetServiceAccountKeyResponse) SetKeyAlgorithm

func (o *GetServiceAccountKeyResponse) SetKeyAlgorithm(v string)

SetKeyAlgorithm sets field value

func (*GetServiceAccountKeyResponse) SetKeyOrigin

func (o *GetServiceAccountKeyResponse) SetKeyOrigin(v string)

SetKeyOrigin sets field value

func (*GetServiceAccountKeyResponse) SetKeyType

func (o *GetServiceAccountKeyResponse) SetKeyType(v string)

SetKeyType sets field value

func (*GetServiceAccountKeyResponse) SetPublicKey

func (o *GetServiceAccountKeyResponse) SetPublicKey(v string)

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

func (*GetServiceAccountKeyResponse) SetValidUntil

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

SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.

func (GetServiceAccountKeyResponse) ToMap

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

func (*GetServiceAccountKeyResponse) UnmarshalJSON

func (o *GetServiceAccountKeyResponse) UnmarshalJSON(data []byte) (err error)

type GetServiceAccountKeyResponseCredentials

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

GetServiceAccountKeyResponseCredentials struct for GetServiceAccountKeyResponseCredentials

func NewGetServiceAccountKeyResponseCredentials

func NewGetServiceAccountKeyResponseCredentials(aud string, iss string, kid string, sub string) *GetServiceAccountKeyResponseCredentials

NewGetServiceAccountKeyResponseCredentials instantiates a new GetServiceAccountKeyResponseCredentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetServiceAccountKeyResponseCredentialsWithDefaults

func NewGetServiceAccountKeyResponseCredentialsWithDefaults() *GetServiceAccountKeyResponseCredentials

NewGetServiceAccountKeyResponseCredentialsWithDefaults instantiates a new GetServiceAccountKeyResponseCredentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetServiceAccountKeyResponseCredentials) GetAud

GetAud returns the Aud field value

func (*GetServiceAccountKeyResponseCredentials) GetAudOk

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

func (*GetServiceAccountKeyResponseCredentials) GetIss

GetIss returns the Iss field value

func (*GetServiceAccountKeyResponseCredentials) GetIssOk

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

func (*GetServiceAccountKeyResponseCredentials) GetKid

GetKid returns the Kid field value

func (*GetServiceAccountKeyResponseCredentials) GetKidOk

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

func (*GetServiceAccountKeyResponseCredentials) GetSub

GetSub returns the Sub field value

func (*GetServiceAccountKeyResponseCredentials) GetSubOk

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

func (GetServiceAccountKeyResponseCredentials) MarshalJSON

func (o GetServiceAccountKeyResponseCredentials) MarshalJSON() ([]byte, error)

func (*GetServiceAccountKeyResponseCredentials) SetAud

SetAud sets field value

func (*GetServiceAccountKeyResponseCredentials) SetIss

SetIss sets field value

func (*GetServiceAccountKeyResponseCredentials) SetKid

SetKid sets field value

func (*GetServiceAccountKeyResponseCredentials) SetSub

SetSub sets field value

func (GetServiceAccountKeyResponseCredentials) ToMap

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

func (*GetServiceAccountKeyResponseCredentials) UnmarshalJSON

func (o *GetServiceAccountKeyResponseCredentials) UnmarshalJSON(data []byte) (err error)

type JWK

type JWK struct {
	Alg    *string `json:"alg,omitempty"`
	E      string  `json:"e"`
	Kid    *string `json:"kid,omitempty"`
	Ks     *string `json:"ks,omitempty"`
	N      string  `json:"n"`
	Ops    *string `json:"ops,omitempty"`
	Use    *string `json:"use,omitempty"`
	X5c    *string `json:"x5c,omitempty"`
	X5t    *string `json:"x5t,omitempty"`
	X5t256 *string `json:"x5t256,omitempty"`
	X5u    *string `json:"x5u,omitempty"`
}

JWK JSON Web Key according to https://datatracker.ietf.org/doc/html/rfc7517#section-4

func NewJWK

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

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

func (o *JWK) GetAlg() string

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

func (*JWK) GetAlgOk

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

func (o *JWK) GetE() string

GetE returns the E field value

func (*JWK) GetEOk

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

func (o *JWK) GetKid() string

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

func (*JWK) GetKidOk

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

func (o *JWK) GetKs() string

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

func (*JWK) GetKsOk

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

func (o *JWK) GetN() string

GetN returns the N field value

func (*JWK) GetNOk

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

func (o *JWK) GetOps() string

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

func (*JWK) GetOpsOk

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

func (o *JWK) GetUse() string

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

func (*JWK) GetUseOk

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

func (o *JWK) GetX5c() string

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

func (*JWK) GetX5cOk

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

func (o *JWK) GetX5t() string

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

func (*JWK) GetX5t256

func (o *JWK) GetX5t256() string

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

func (*JWK) GetX5t256Ok

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

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

func (o *JWK) GetX5u() string

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

func (*JWK) GetX5uOk

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

func (o *JWK) HasAlg() bool

HasAlg returns a boolean if a field has been set.

func (*JWK) HasKid

func (o *JWK) HasKid() bool

HasKid returns a boolean if a field has been set.

func (*JWK) HasKs

func (o *JWK) HasKs() bool

HasKs returns a boolean if a field has been set.

func (*JWK) HasOps

func (o *JWK) HasOps() bool

HasOps returns a boolean if a field has been set.

func (*JWK) HasUse

func (o *JWK) HasUse() bool

HasUse returns a boolean if a field has been set.

func (*JWK) HasX5c

func (o *JWK) HasX5c() bool

HasX5c returns a boolean if a field has been set.

func (*JWK) HasX5t

func (o *JWK) HasX5t() bool

HasX5t returns a boolean if a field has been set.

func (*JWK) HasX5t256

func (o *JWK) HasX5t256() bool

HasX5t256 returns a boolean if a field has been set.

func (*JWK) HasX5u

func (o *JWK) HasX5u() bool

HasX5u returns a boolean if a field has been set.

func (JWK) MarshalJSON

func (o JWK) MarshalJSON() ([]byte, error)

func (*JWK) SetAlg

func (o *JWK) SetAlg(v string)

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

func (*JWK) SetE

func (o *JWK) SetE(v string)

SetE sets field value

func (*JWK) SetKid

func (o *JWK) SetKid(v string)

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

func (*JWK) SetKs

func (o *JWK) SetKs(v string)

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

func (*JWK) SetN

func (o *JWK) SetN(v string)

SetN sets field value

func (*JWK) SetOps

func (o *JWK) SetOps(v string)

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

func (*JWK) SetUse

func (o *JWK) SetUse(v string)

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

func (*JWK) SetX5c

func (o *JWK) SetX5c(v string)

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

func (*JWK) SetX5t

func (o *JWK) SetX5t(v string)

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

func (*JWK) SetX5t256

func (o *JWK) SetX5t256(v string)

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

func (*JWK) SetX5u

func (o *JWK) SetX5u(v string)

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

func (JWK) ToMap

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

func (*JWK) UnmarshalJSON

func (o *JWK) UnmarshalJSON(data []byte) (err error)

type JWKS

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

JWKS struct for JWKS

func NewJWKS

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

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

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

GetKeys returns the Keys field value

func (*JWKS) GetKeysOk

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) MarshalJSON

func (o JWKS) MarshalJSON() ([]byte, error)

func (*JWKS) SetKeys

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

SetKeys sets field value

func (JWKS) ToMap

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

func (*JWKS) UnmarshalJSON

func (o *JWKS) UnmarshalJSON(data []byte) (err error)

type ListAccessTokensResponse

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

ListAccessTokensResponse struct for ListAccessTokensResponse

func NewListAccessTokensResponse

func NewListAccessTokensResponse() *ListAccessTokensResponse

NewListAccessTokensResponse instantiates a new ListAccessTokensResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListAccessTokensResponseWithDefaults

func NewListAccessTokensResponseWithDefaults() *ListAccessTokensResponse

NewListAccessTokensResponseWithDefaults instantiates a new ListAccessTokensResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListAccessTokensResponse) GetItems

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

func (*ListAccessTokensResponse) GetItemsOk

func (o *ListAccessTokensResponse) GetItemsOk() ([]AccessTokenMetadata, bool)

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

func (*ListAccessTokensResponse) HasItems

func (o *ListAccessTokensResponse) HasItems() bool

HasItems returns a boolean if a field has been set.

func (ListAccessTokensResponse) MarshalJSON

func (o ListAccessTokensResponse) MarshalJSON() ([]byte, error)

func (*ListAccessTokensResponse) SetItems

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

func (ListAccessTokensResponse) ToMap

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

type ListServiceAccountKeysResponse

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

ListServiceAccountKeysResponse struct for ListServiceAccountKeysResponse

func NewListServiceAccountKeysResponse

func NewListServiceAccountKeysResponse(items []ServiceAccountKeyListResponse) *ListServiceAccountKeysResponse

NewListServiceAccountKeysResponse instantiates a new ListServiceAccountKeysResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListServiceAccountKeysResponseWithDefaults

func NewListServiceAccountKeysResponseWithDefaults() *ListServiceAccountKeysResponse

NewListServiceAccountKeysResponseWithDefaults instantiates a new ListServiceAccountKeysResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListServiceAccountKeysResponse) GetItems

GetItems returns the Items field value

func (*ListServiceAccountKeysResponse) GetItemsOk

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

func (ListServiceAccountKeysResponse) MarshalJSON

func (o ListServiceAccountKeysResponse) MarshalJSON() ([]byte, error)

func (*ListServiceAccountKeysResponse) SetItems

SetItems sets field value

func (ListServiceAccountKeysResponse) ToMap

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

func (*ListServiceAccountKeysResponse) UnmarshalJSON

func (o *ListServiceAccountKeysResponse) UnmarshalJSON(data []byte) (err error)

type ListServiceAccountsResponse

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

ListServiceAccountsResponse struct for ListServiceAccountsResponse

func NewListServiceAccountsResponse

func NewListServiceAccountsResponse(items []ServiceAccount) *ListServiceAccountsResponse

NewListServiceAccountsResponse instantiates a new ListServiceAccountsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListServiceAccountsResponseWithDefaults

func NewListServiceAccountsResponseWithDefaults() *ListServiceAccountsResponse

NewListServiceAccountsResponseWithDefaults instantiates a new ListServiceAccountsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListServiceAccountsResponse) GetItems

GetItems returns the Items field value

func (*ListServiceAccountsResponse) GetItemsOk

func (o *ListServiceAccountsResponse) GetItemsOk() ([]ServiceAccount, bool)

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

func (ListServiceAccountsResponse) MarshalJSON

func (o ListServiceAccountsResponse) MarshalJSON() ([]byte, error)

func (*ListServiceAccountsResponse) SetItems

SetItems sets field value

func (ListServiceAccountsResponse) ToMap

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

func (*ListServiceAccountsResponse) UnmarshalJSON

func (o *ListServiceAccountsResponse) UnmarshalJSON(data []byte) (err error)

type MappedNullable

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

type NullableAccessToken

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

func NewNullableAccessToken

func NewNullableAccessToken(val *AccessToken) *NullableAccessToken

func (NullableAccessToken) Get

func (NullableAccessToken) IsSet

func (v NullableAccessToken) IsSet() bool

func (NullableAccessToken) MarshalJSON

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

func (*NullableAccessToken) Set

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

func (*NullableAccessToken) UnmarshalJSON

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

func (*NullableAccessToken) Unset

func (v *NullableAccessToken) Unset()

type NullableAccessTokenMetadata

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

func NewNullableAccessTokenMetadata

func NewNullableAccessTokenMetadata(val *AccessTokenMetadata) *NullableAccessTokenMetadata

func (NullableAccessTokenMetadata) Get

func (NullableAccessTokenMetadata) IsSet

func (NullableAccessTokenMetadata) MarshalJSON

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

func (*NullableAccessTokenMetadata) Set

func (*NullableAccessTokenMetadata) UnmarshalJSON

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

func (*NullableAccessTokenMetadata) Unset

func (v *NullableAccessTokenMetadata) Unset()

type NullableAuthError

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

func NewNullableAuthError

func NewNullableAuthError(val *AuthError) *NullableAuthError

func (NullableAuthError) Get

func (v NullableAuthError) Get() *AuthError

func (NullableAuthError) IsSet

func (v NullableAuthError) IsSet() bool

func (NullableAuthError) MarshalJSON

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

func (*NullableAuthError) Set

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

func (*NullableAuthError) UnmarshalJSON

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

func (*NullableAuthError) Unset

func (v *NullableAuthError) Unset()

type NullableAuthErrorError

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

func NewNullableAuthErrorError

func NewNullableAuthErrorError(val *AuthErrorError) *NullableAuthErrorError

func (NullableAuthErrorError) Get

func (NullableAuthErrorError) IsSet

func (v NullableAuthErrorError) IsSet() bool

func (NullableAuthErrorError) MarshalJSON

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

func (*NullableAuthErrorError) Set

func (*NullableAuthErrorError) UnmarshalJSON

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

func (*NullableAuthErrorError) Unset

func (v *NullableAuthErrorError) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateAccessTokenPayload

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

func (NullableCreateAccessTokenPayload) Get

func (NullableCreateAccessTokenPayload) IsSet

func (NullableCreateAccessTokenPayload) MarshalJSON

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

func (*NullableCreateAccessTokenPayload) Set

func (*NullableCreateAccessTokenPayload) UnmarshalJSON

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

func (*NullableCreateAccessTokenPayload) Unset

type NullableCreateFederatedIdentityProviderPayload

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

func (NullableCreateFederatedIdentityProviderPayload) Get

func (NullableCreateFederatedIdentityProviderPayload) IsSet

func (NullableCreateFederatedIdentityProviderPayload) MarshalJSON

func (*NullableCreateFederatedIdentityProviderPayload) Set

func (*NullableCreateFederatedIdentityProviderPayload) UnmarshalJSON

func (*NullableCreateFederatedIdentityProviderPayload) Unset

type NullableCreateFederatedIdentityProviderPayloadAssertionsInner

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

func (NullableCreateFederatedIdentityProviderPayloadAssertionsInner) Get

func (NullableCreateFederatedIdentityProviderPayloadAssertionsInner) IsSet

func (NullableCreateFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON

func (*NullableCreateFederatedIdentityProviderPayloadAssertionsInner) Set

func (*NullableCreateFederatedIdentityProviderPayloadAssertionsInner) UnmarshalJSON

func (*NullableCreateFederatedIdentityProviderPayloadAssertionsInner) Unset

type NullableCreateFederatedIdentityProviderResponse

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

func (NullableCreateFederatedIdentityProviderResponse) Get

func (NullableCreateFederatedIdentityProviderResponse) IsSet

func (NullableCreateFederatedIdentityProviderResponse) MarshalJSON

func (*NullableCreateFederatedIdentityProviderResponse) Set

func (*NullableCreateFederatedIdentityProviderResponse) UnmarshalJSON

func (*NullableCreateFederatedIdentityProviderResponse) Unset

type NullableCreateFederatedIdentityProviderResponseAssertionsInner

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

func (NullableCreateFederatedIdentityProviderResponseAssertionsInner) Get

func (NullableCreateFederatedIdentityProviderResponseAssertionsInner) IsSet

func (NullableCreateFederatedIdentityProviderResponseAssertionsInner) MarshalJSON

func (*NullableCreateFederatedIdentityProviderResponseAssertionsInner) Set

func (*NullableCreateFederatedIdentityProviderResponseAssertionsInner) UnmarshalJSON

func (*NullableCreateFederatedIdentityProviderResponseAssertionsInner) Unset

type NullableCreateServiceAccountKeyPayload

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

func (NullableCreateServiceAccountKeyPayload) Get

func (NullableCreateServiceAccountKeyPayload) IsSet

func (NullableCreateServiceAccountKeyPayload) MarshalJSON

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

func (*NullableCreateServiceAccountKeyPayload) Set

func (*NullableCreateServiceAccountKeyPayload) UnmarshalJSON

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

func (*NullableCreateServiceAccountKeyPayload) Unset

type NullableCreateServiceAccountKeyResponse

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

func (NullableCreateServiceAccountKeyResponse) Get

func (NullableCreateServiceAccountKeyResponse) IsSet

func (NullableCreateServiceAccountKeyResponse) MarshalJSON

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

func (*NullableCreateServiceAccountKeyResponse) Set

func (*NullableCreateServiceAccountKeyResponse) UnmarshalJSON

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

func (*NullableCreateServiceAccountKeyResponse) Unset

type NullableCreateServiceAccountKeyResponseCredentials

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

func (NullableCreateServiceAccountKeyResponseCredentials) Get

func (NullableCreateServiceAccountKeyResponseCredentials) IsSet

func (NullableCreateServiceAccountKeyResponseCredentials) MarshalJSON

func (*NullableCreateServiceAccountKeyResponseCredentials) Set

func (*NullableCreateServiceAccountKeyResponseCredentials) UnmarshalJSON

func (*NullableCreateServiceAccountKeyResponseCredentials) Unset

type NullableCreateServiceAccountPayload

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

func (NullableCreateServiceAccountPayload) Get

func (NullableCreateServiceAccountPayload) IsSet

func (NullableCreateServiceAccountPayload) MarshalJSON

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

func (*NullableCreateServiceAccountPayload) Set

func (*NullableCreateServiceAccountPayload) UnmarshalJSON

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

func (*NullableCreateServiceAccountPayload) Unset

type NullableCreateShortLivedAccessTokenResponse

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

func (NullableCreateShortLivedAccessTokenResponse) Get

func (NullableCreateShortLivedAccessTokenResponse) IsSet

func (NullableCreateShortLivedAccessTokenResponse) MarshalJSON

func (*NullableCreateShortLivedAccessTokenResponse) Set

func (*NullableCreateShortLivedAccessTokenResponse) UnmarshalJSON

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

func (*NullableCreateShortLivedAccessTokenResponse) Unset

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

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

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableFederatedListFederatedIdentityProvidersResponse

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

func (NullableFederatedListFederatedIdentityProvidersResponse) Get

func (NullableFederatedListFederatedIdentityProvidersResponse) IsSet

func (NullableFederatedListFederatedIdentityProvidersResponse) MarshalJSON

func (*NullableFederatedListFederatedIdentityProvidersResponse) Set

func (*NullableFederatedListFederatedIdentityProvidersResponse) UnmarshalJSON

func (*NullableFederatedListFederatedIdentityProvidersResponse) Unset

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetServiceAccountKeyResponse

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

func (NullableGetServiceAccountKeyResponse) Get

func (NullableGetServiceAccountKeyResponse) IsSet

func (NullableGetServiceAccountKeyResponse) MarshalJSON

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

func (*NullableGetServiceAccountKeyResponse) Set

func (*NullableGetServiceAccountKeyResponse) UnmarshalJSON

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

func (*NullableGetServiceAccountKeyResponse) Unset

type NullableGetServiceAccountKeyResponseCredentials

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

func (NullableGetServiceAccountKeyResponseCredentials) Get

func (NullableGetServiceAccountKeyResponseCredentials) IsSet

func (NullableGetServiceAccountKeyResponseCredentials) MarshalJSON

func (*NullableGetServiceAccountKeyResponseCredentials) Set

func (*NullableGetServiceAccountKeyResponseCredentials) UnmarshalJSON

func (*NullableGetServiceAccountKeyResponseCredentials) Unset

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableJWK

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

func NewNullableJWK

func NewNullableJWK(val *JWK) *NullableJWK

func (NullableJWK) Get

func (v NullableJWK) Get() *JWK

func (NullableJWK) IsSet

func (v NullableJWK) IsSet() bool

func (NullableJWK) MarshalJSON

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

func (*NullableJWK) Set

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

func (*NullableJWK) UnmarshalJSON

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

func (*NullableJWK) Unset

func (v *NullableJWK) Unset()

type NullableJWKS

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

func NewNullableJWKS

func NewNullableJWKS(val *JWKS) *NullableJWKS

func (NullableJWKS) Get

func (v NullableJWKS) Get() *JWKS

func (NullableJWKS) IsSet

func (v NullableJWKS) IsSet() bool

func (NullableJWKS) MarshalJSON

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

func (*NullableJWKS) Set

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

func (*NullableJWKS) UnmarshalJSON

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

func (*NullableJWKS) Unset

func (v *NullableJWKS) Unset()

type NullableListAccessTokensResponse

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

func (NullableListAccessTokensResponse) Get

func (NullableListAccessTokensResponse) IsSet

func (NullableListAccessTokensResponse) MarshalJSON

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

func (*NullableListAccessTokensResponse) Set

func (*NullableListAccessTokensResponse) UnmarshalJSON

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

func (*NullableListAccessTokensResponse) Unset

type NullableListServiceAccountKeysResponse

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

func (NullableListServiceAccountKeysResponse) Get

func (NullableListServiceAccountKeysResponse) IsSet

func (NullableListServiceAccountKeysResponse) MarshalJSON

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

func (*NullableListServiceAccountKeysResponse) Set

func (*NullableListServiceAccountKeysResponse) UnmarshalJSON

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

func (*NullableListServiceAccountKeysResponse) Unset

type NullableListServiceAccountsResponse

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

func (NullableListServiceAccountsResponse) Get

func (NullableListServiceAccountsResponse) IsSet

func (NullableListServiceAccountsResponse) MarshalJSON

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

func (*NullableListServiceAccountsResponse) Set

func (*NullableListServiceAccountsResponse) UnmarshalJSON

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

func (*NullableListServiceAccountsResponse) Unset

type NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload

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

func (NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) Get

func (NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) IsSet

func (NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) MarshalJSON

func (*NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) Set

func (*NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) UnmarshalJSON

func (*NullablePartialUpdateServiceAccountFederatedIdentityProviderPayload) Unset

type NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner

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

func (NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) Get

func (NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) IsSet

func (NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON

func (*NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) Set

func (*NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) UnmarshalJSON

func (*NullablePartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) Unset

type NullablePartialUpdateServiceAccountKeyPayload

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

func (NullablePartialUpdateServiceAccountKeyPayload) Get

func (NullablePartialUpdateServiceAccountKeyPayload) IsSet

func (NullablePartialUpdateServiceAccountKeyPayload) MarshalJSON

func (*NullablePartialUpdateServiceAccountKeyPayload) Set

func (*NullablePartialUpdateServiceAccountKeyPayload) UnmarshalJSON

func (*NullablePartialUpdateServiceAccountKeyPayload) Unset

type NullablePartialUpdateServiceAccountKeyResponse

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

func (NullablePartialUpdateServiceAccountKeyResponse) Get

func (NullablePartialUpdateServiceAccountKeyResponse) IsSet

func (NullablePartialUpdateServiceAccountKeyResponse) MarshalJSON

func (*NullablePartialUpdateServiceAccountKeyResponse) Set

func (*NullablePartialUpdateServiceAccountKeyResponse) UnmarshalJSON

func (*NullablePartialUpdateServiceAccountKeyResponse) Unset

type NullableServiceAccount

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

func NewNullableServiceAccount

func NewNullableServiceAccount(val *ServiceAccount) *NullableServiceAccount

func (NullableServiceAccount) Get

func (NullableServiceAccount) IsSet

func (v NullableServiceAccount) IsSet() bool

func (NullableServiceAccount) MarshalJSON

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

func (*NullableServiceAccount) Set

func (*NullableServiceAccount) UnmarshalJSON

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

func (*NullableServiceAccount) Unset

func (v *NullableServiceAccount) Unset()

type NullableServiceAccountKeyListResponse

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

func (NullableServiceAccountKeyListResponse) Get

func (NullableServiceAccountKeyListResponse) IsSet

func (NullableServiceAccountKeyListResponse) MarshalJSON

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

func (*NullableServiceAccountKeyListResponse) Set

func (*NullableServiceAccountKeyListResponse) UnmarshalJSON

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

func (*NullableServiceAccountKeyListResponse) Unset

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type PartialUpdateServiceAccountFederatedIdentityProviderPayload

type PartialUpdateServiceAccountFederatedIdentityProviderPayload struct {
	// list of assertions of the federated identity provider
	Assertions []PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner `json:"assertions,omitempty"`
	// Issuer of the federated identity provider.
	Issuer string `json:"issuer"`
	// Unique name used as identifier of the federated identity provider.
	Name string `json:"name"`
}

PartialUpdateServiceAccountFederatedIdentityProviderPayload struct for PartialUpdateServiceAccountFederatedIdentityProviderPayload

func NewPartialUpdateServiceAccountFederatedIdentityProviderPayload

func NewPartialUpdateServiceAccountFederatedIdentityProviderPayload(issuer string, name string) *PartialUpdateServiceAccountFederatedIdentityProviderPayload

NewPartialUpdateServiceAccountFederatedIdentityProviderPayload instantiates a new PartialUpdateServiceAccountFederatedIdentityProviderPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadWithDefaults

func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadWithDefaults() *PartialUpdateServiceAccountFederatedIdentityProviderPayload

NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadWithDefaults instantiates a new PartialUpdateServiceAccountFederatedIdentityProviderPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetAssertions

GetAssertions returns the Assertions field value if set, zero value otherwise.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetAssertionsOk

GetAssertionsOk returns a tuple with the Assertions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetIssuer

GetIssuer returns the Issuer field value

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetIssuerOk

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

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetName

GetName returns the Name field value

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) GetNameOk

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

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) HasAssertions

HasAssertions returns a boolean if a field has been set.

func (PartialUpdateServiceAccountFederatedIdentityProviderPayload) MarshalJSON

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetAssertions

SetAssertions gets a reference to the given []PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner and assigns it to the Assertions field.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetIssuer

SetIssuer sets field value

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) SetName

SetName sets field value

func (PartialUpdateServiceAccountFederatedIdentityProviderPayload) ToMap

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayload) UnmarshalJSON

type PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner

type PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner struct {
	// Item to compare
	Item *string `json:"item,omitempty"`
	// Operator for the comparison
	Operator *string `json:"operator,omitempty"`
	// Value which the item is compared to
	Value *string `json:"value,omitempty"`
}

PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner struct for PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner

func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner

func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner() *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner

NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner instantiates a new PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInnerWithDefaults

func NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInnerWithDefaults() *PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner

NewPartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInnerWithDefaults instantiates a new PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetItem

GetItem returns the Item field value if set, zero value otherwise.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetItemOk

GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetOperator

GetOperator returns the Operator field value if set, zero value otherwise.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetOperatorOk

GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetValue

GetValue returns the Value field value if set, zero value otherwise.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) GetValueOk

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasItem

HasItem returns a boolean if a field has been set.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasOperator

HasOperator returns a boolean if a field has been set.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) HasValue

HasValue returns a boolean if a field has been set.

func (PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) MarshalJSON

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetItem

SetItem gets a reference to the given string and assigns it to the Item field.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetOperator

SetOperator gets a reference to the given string and assigns it to the Operator field.

func (*PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) SetValue

SetValue gets a reference to the given string and assigns it to the Value field.

func (PartialUpdateServiceAccountFederatedIdentityProviderPayloadAssertionsInner) ToMap

type PartialUpdateServiceAccountKeyPayload

type PartialUpdateServiceAccountKeyPayload struct {
	// Active keys are valid, while inactive keys are temporarily deactivated.
	Active *bool `json:"active,omitempty"`
	// Optional, date of key expiration. To disable, set time to \"9999-01-01T01:01:01Z\"
	ValidUntil *time.Time `json:"validUntil,omitempty"`
}

PartialUpdateServiceAccountKeyPayload struct for PartialUpdateServiceAccountKeyPayload

func NewPartialUpdateServiceAccountKeyPayload

func NewPartialUpdateServiceAccountKeyPayload() *PartialUpdateServiceAccountKeyPayload

NewPartialUpdateServiceAccountKeyPayload instantiates a new PartialUpdateServiceAccountKeyPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialUpdateServiceAccountKeyPayloadWithDefaults

func NewPartialUpdateServiceAccountKeyPayloadWithDefaults() *PartialUpdateServiceAccountKeyPayload

NewPartialUpdateServiceAccountKeyPayloadWithDefaults instantiates a new PartialUpdateServiceAccountKeyPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialUpdateServiceAccountKeyPayload) GetActive

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

func (*PartialUpdateServiceAccountKeyPayload) GetActiveOk

func (o *PartialUpdateServiceAccountKeyPayload) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateServiceAccountKeyPayload) GetValidUntil

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

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

func (*PartialUpdateServiceAccountKeyPayload) GetValidUntilOk

func (o *PartialUpdateServiceAccountKeyPayload) GetValidUntilOk() (*time.Time, bool)

GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateServiceAccountKeyPayload) HasActive

HasActive returns a boolean if a field has been set.

func (*PartialUpdateServiceAccountKeyPayload) HasValidUntil

func (o *PartialUpdateServiceAccountKeyPayload) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (PartialUpdateServiceAccountKeyPayload) MarshalJSON

func (o PartialUpdateServiceAccountKeyPayload) MarshalJSON() ([]byte, error)

func (*PartialUpdateServiceAccountKeyPayload) SetActive

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

func (*PartialUpdateServiceAccountKeyPayload) SetValidUntil

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

SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.

func (PartialUpdateServiceAccountKeyPayload) ToMap

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

type PartialUpdateServiceAccountKeyResponse

type PartialUpdateServiceAccountKeyResponse struct {
	Active bool `json:"active"`
	// Creation time of the key
	CreatedAt time.Time `json:"createdAt"`
	// Unique ID of the key.
	Id           string `json:"id"`
	KeyAlgorithm string `json:"keyAlgorithm"`
	KeyOrigin    string `json:"keyOrigin"`
	KeyType      string `json:"keyType"`
	// If specified, the timestamp until the key is active. May be null
	ValidUntil *time.Time `json:"validUntil,omitempty"`
}

PartialUpdateServiceAccountKeyResponse struct for PartialUpdateServiceAccountKeyResponse

func NewPartialUpdateServiceAccountKeyResponse

func NewPartialUpdateServiceAccountKeyResponse(active bool, createdAt time.Time, id string, keyAlgorithm string, keyOrigin string, keyType string) *PartialUpdateServiceAccountKeyResponse

NewPartialUpdateServiceAccountKeyResponse instantiates a new PartialUpdateServiceAccountKeyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartialUpdateServiceAccountKeyResponseWithDefaults

func NewPartialUpdateServiceAccountKeyResponseWithDefaults() *PartialUpdateServiceAccountKeyResponse

NewPartialUpdateServiceAccountKeyResponseWithDefaults instantiates a new PartialUpdateServiceAccountKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PartialUpdateServiceAccountKeyResponse) GetActive

GetActive returns the Active field value

func (*PartialUpdateServiceAccountKeyResponse) GetActiveOk

func (o *PartialUpdateServiceAccountKeyResponse) GetActiveOk() (*bool, bool)

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

func (*PartialUpdateServiceAccountKeyResponse) GetCreatedAt

GetCreatedAt returns the CreatedAt field value

func (*PartialUpdateServiceAccountKeyResponse) GetCreatedAtOk

func (o *PartialUpdateServiceAccountKeyResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*PartialUpdateServiceAccountKeyResponse) GetId

GetId returns the Id field value

func (*PartialUpdateServiceAccountKeyResponse) GetIdOk

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

func (*PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithm

func (o *PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithm() string

GetKeyAlgorithm returns the KeyAlgorithm field value

func (*PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithmOk

func (o *PartialUpdateServiceAccountKeyResponse) GetKeyAlgorithmOk() (*string, bool)

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

func (*PartialUpdateServiceAccountKeyResponse) GetKeyOrigin

GetKeyOrigin returns the KeyOrigin field value

func (*PartialUpdateServiceAccountKeyResponse) GetKeyOriginOk

func (o *PartialUpdateServiceAccountKeyResponse) GetKeyOriginOk() (*string, bool)

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

func (*PartialUpdateServiceAccountKeyResponse) GetKeyType

GetKeyType returns the KeyType field value

func (*PartialUpdateServiceAccountKeyResponse) GetKeyTypeOk

func (o *PartialUpdateServiceAccountKeyResponse) GetKeyTypeOk() (*string, bool)

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

func (*PartialUpdateServiceAccountKeyResponse) GetValidUntil

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

func (*PartialUpdateServiceAccountKeyResponse) GetValidUntilOk

func (o *PartialUpdateServiceAccountKeyResponse) GetValidUntilOk() (*time.Time, bool)

GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PartialUpdateServiceAccountKeyResponse) HasValidUntil

func (o *PartialUpdateServiceAccountKeyResponse) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (PartialUpdateServiceAccountKeyResponse) MarshalJSON

func (o PartialUpdateServiceAccountKeyResponse) MarshalJSON() ([]byte, error)

func (*PartialUpdateServiceAccountKeyResponse) SetActive

SetActive sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetCreatedAt

SetCreatedAt sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetId

SetId sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetKeyAlgorithm

func (o *PartialUpdateServiceAccountKeyResponse) SetKeyAlgorithm(v string)

SetKeyAlgorithm sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetKeyOrigin

SetKeyOrigin sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetKeyType

SetKeyType sets field value

func (*PartialUpdateServiceAccountKeyResponse) SetValidUntil

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

SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.

func (PartialUpdateServiceAccountKeyResponse) ToMap

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

func (*PartialUpdateServiceAccountKeyResponse) UnmarshalJSON

func (o *PartialUpdateServiceAccountKeyResponse) UnmarshalJSON(data []byte) (err error)

type ServiceAccount

type ServiceAccount struct {
	// Unique identifier of the service account in format of an email address generated by the service containing the prefix provided by the user during creation.
	Email string `json:"email"`
	// Unique ID of the service account. It is also used in the 'sub' field of the service accounts access tokens.
	Id string `json:"id"`
	// Flag indicating internal service accounts
	Internal bool `json:"internal"`
	// ID of the related project
	ProjectId string `json:"projectId"`
}

ServiceAccount struct for ServiceAccount

func NewServiceAccount

func NewServiceAccount(email string, id string, internal bool, projectId string) *ServiceAccount

NewServiceAccount instantiates a new ServiceAccount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceAccountWithDefaults

func NewServiceAccountWithDefaults() *ServiceAccount

NewServiceAccountWithDefaults instantiates a new ServiceAccount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceAccount) GetEmail

func (o *ServiceAccount) GetEmail() string

GetEmail returns the Email field value

func (*ServiceAccount) GetEmailOk

func (o *ServiceAccount) GetEmailOk() (*string, bool)

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

func (*ServiceAccount) GetId

func (o *ServiceAccount) GetId() string

GetId returns the Id field value

func (*ServiceAccount) GetIdOk

func (o *ServiceAccount) GetIdOk() (*string, bool)

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

func (*ServiceAccount) GetInternal

func (o *ServiceAccount) GetInternal() bool

GetInternal returns the Internal field value

func (*ServiceAccount) GetInternalOk

func (o *ServiceAccount) GetInternalOk() (*bool, bool)

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

func (*ServiceAccount) GetProjectId

func (o *ServiceAccount) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*ServiceAccount) GetProjectIdOk

func (o *ServiceAccount) GetProjectIdOk() (*string, bool)

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

func (ServiceAccount) MarshalJSON

func (o ServiceAccount) MarshalJSON() ([]byte, error)

func (*ServiceAccount) SetEmail

func (o *ServiceAccount) SetEmail(v string)

SetEmail sets field value

func (*ServiceAccount) SetId

func (o *ServiceAccount) SetId(v string)

SetId sets field value

func (*ServiceAccount) SetInternal

func (o *ServiceAccount) SetInternal(v bool)

SetInternal sets field value

func (*ServiceAccount) SetProjectId

func (o *ServiceAccount) SetProjectId(v string)

SetProjectId sets field value

func (ServiceAccount) ToMap

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

func (*ServiceAccount) UnmarshalJSON

func (o *ServiceAccount) UnmarshalJSON(data []byte) (err error)

type ServiceAccountKeyListResponse

type ServiceAccountKeyListResponse struct {
	Active bool `json:"active"`
	// Creation time of the key
	CreatedAt time.Time `json:"createdAt"`
	// Unique ID of the key.
	Id           string `json:"id"`
	KeyAlgorithm string `json:"keyAlgorithm"`
	KeyOrigin    string `json:"keyOrigin"`
	KeyType      string `json:"keyType"`
	// If specified, the timestamp until the key is active. May be null
	ValidUntil *time.Time `json:"validUntil,omitempty"`
}

ServiceAccountKeyListResponse struct for ServiceAccountKeyListResponse

func NewServiceAccountKeyListResponse

func NewServiceAccountKeyListResponse(active bool, createdAt time.Time, id string, keyAlgorithm string, keyOrigin string, keyType string) *ServiceAccountKeyListResponse

NewServiceAccountKeyListResponse instantiates a new ServiceAccountKeyListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceAccountKeyListResponseWithDefaults

func NewServiceAccountKeyListResponseWithDefaults() *ServiceAccountKeyListResponse

NewServiceAccountKeyListResponseWithDefaults instantiates a new ServiceAccountKeyListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceAccountKeyListResponse) GetActive

func (o *ServiceAccountKeyListResponse) GetActive() bool

GetActive returns the Active field value

func (*ServiceAccountKeyListResponse) GetActiveOk

func (o *ServiceAccountKeyListResponse) GetActiveOk() (*bool, bool)

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

func (*ServiceAccountKeyListResponse) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*ServiceAccountKeyListResponse) GetCreatedAtOk

func (o *ServiceAccountKeyListResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*ServiceAccountKeyListResponse) GetId

GetId returns the Id field value

func (*ServiceAccountKeyListResponse) GetIdOk

func (o *ServiceAccountKeyListResponse) GetIdOk() (*string, bool)

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

func (*ServiceAccountKeyListResponse) GetKeyAlgorithm

func (o *ServiceAccountKeyListResponse) GetKeyAlgorithm() string

GetKeyAlgorithm returns the KeyAlgorithm field value

func (*ServiceAccountKeyListResponse) GetKeyAlgorithmOk

func (o *ServiceAccountKeyListResponse) GetKeyAlgorithmOk() (*string, bool)

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

func (*ServiceAccountKeyListResponse) GetKeyOrigin

func (o *ServiceAccountKeyListResponse) GetKeyOrigin() string

GetKeyOrigin returns the KeyOrigin field value

func (*ServiceAccountKeyListResponse) GetKeyOriginOk

func (o *ServiceAccountKeyListResponse) GetKeyOriginOk() (*string, bool)

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

func (*ServiceAccountKeyListResponse) GetKeyType

func (o *ServiceAccountKeyListResponse) GetKeyType() string

GetKeyType returns the KeyType field value

func (*ServiceAccountKeyListResponse) GetKeyTypeOk

func (o *ServiceAccountKeyListResponse) GetKeyTypeOk() (*string, bool)

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

func (*ServiceAccountKeyListResponse) GetValidUntil

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

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

func (*ServiceAccountKeyListResponse) GetValidUntilOk

func (o *ServiceAccountKeyListResponse) GetValidUntilOk() (*time.Time, bool)

GetValidUntilOk returns a tuple with the ValidUntil field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceAccountKeyListResponse) HasValidUntil

func (o *ServiceAccountKeyListResponse) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (ServiceAccountKeyListResponse) MarshalJSON

func (o ServiceAccountKeyListResponse) MarshalJSON() ([]byte, error)

func (*ServiceAccountKeyListResponse) SetActive

func (o *ServiceAccountKeyListResponse) SetActive(v bool)

SetActive sets field value

func (*ServiceAccountKeyListResponse) SetCreatedAt

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

SetCreatedAt sets field value

func (*ServiceAccountKeyListResponse) SetId

SetId sets field value

func (*ServiceAccountKeyListResponse) SetKeyAlgorithm

func (o *ServiceAccountKeyListResponse) SetKeyAlgorithm(v string)

SetKeyAlgorithm sets field value

func (*ServiceAccountKeyListResponse) SetKeyOrigin

func (o *ServiceAccountKeyListResponse) SetKeyOrigin(v string)

SetKeyOrigin sets field value

func (*ServiceAccountKeyListResponse) SetKeyType

func (o *ServiceAccountKeyListResponse) SetKeyType(v string)

SetKeyType sets field value

func (*ServiceAccountKeyListResponse) SetValidUntil

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

SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.

func (ServiceAccountKeyListResponse) ToMap

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

func (*ServiceAccountKeyListResponse) UnmarshalJSON

func (o *ServiceAccountKeyListResponse) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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