v1betaapi

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 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 STACKIT Logs API API v1beta.0.3 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 {
	// A generated access token. Only available on creation.
	AccessToken *string `json:"accessToken,omitempty"`
	// The user who created the access token.
	Creator string `json:"creator"`
	// The description of the access token.
	Description *string `json:"description,omitempty"`
	// The displayed name of the access token.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z][\\\\w -]*$"`
	// Indicates if the access token can expire.
	Expires bool `json:"expires"`
	// An auto generated unique id which identifies the access token.
	Id string `json:"id"`
	// The access permissions granted to the access token.
	Permissions []string `json:"permissions"`
	Status      string   `json:"status"`
	// The date and time util an access token is valid to (inclusively).
	ValidUntil *time.Time `json:"validUntil,omitempty"`
}

AccessToken struct for AccessToken

func NewAccessToken

func NewAccessToken(creator string, displayName string, expires bool, id string, permissions []string, status string) *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) GetAccessToken

func (o *AccessToken) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*AccessToken) GetAccessTokenOk

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

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

func (*AccessToken) GetCreator

func (o *AccessToken) GetCreator() string

GetCreator returns the Creator field value

func (*AccessToken) GetCreatorOk

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

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

func (*AccessToken) GetDescription

func (o *AccessToken) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*AccessToken) GetDescriptionOk

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

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

func (*AccessToken) GetDisplayName

func (o *AccessToken) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*AccessToken) GetDisplayNameOk

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

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

func (*AccessToken) GetExpires

func (o *AccessToken) GetExpires() bool

GetExpires returns the Expires field value

func (*AccessToken) GetExpiresOk

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

GetExpiresOk returns a tuple with the Expires 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) GetPermissions

func (o *AccessToken) GetPermissions() []string

GetPermissions returns the Permissions field value

func (*AccessToken) GetPermissionsOk

func (o *AccessToken) GetPermissionsOk() ([]string, bool)

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

func (*AccessToken) GetStatus

func (o *AccessToken) GetStatus() string

GetStatus returns the Status field value

func (*AccessToken) GetStatusOk

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

GetStatusOk returns a tuple with the Status 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 if set, zero value otherwise.

func (*AccessToken) GetValidUntilOk

func (o *AccessToken) 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 (*AccessToken) HasAccessToken

func (o *AccessToken) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*AccessToken) HasDescription

func (o *AccessToken) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccessToken) HasValidUntil

func (o *AccessToken) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (AccessToken) MarshalJSON

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

func (*AccessToken) SetAccessToken

func (o *AccessToken) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*AccessToken) SetCreator

func (o *AccessToken) SetCreator(v string)

SetCreator sets field value

func (*AccessToken) SetDescription

func (o *AccessToken) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*AccessToken) SetDisplayName

func (o *AccessToken) SetDisplayName(v string)

SetDisplayName sets field value

func (*AccessToken) SetExpires

func (o *AccessToken) SetExpires(v bool)

SetExpires sets field value

func (*AccessToken) SetId

func (o *AccessToken) SetId(v string)

SetId sets field value

func (*AccessToken) SetPermissions

func (o *AccessToken) SetPermissions(v []string)

SetPermissions sets field value

func (*AccessToken) SetStatus

func (o *AccessToken) SetStatus(v string)

SetStatus sets field value

func (*AccessToken) SetValidUntil

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

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

func (AccessToken) ToMap

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

func (*AccessToken) UnmarshalJSON

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

type AccessTokenList

type AccessTokenList struct {
	Tokens []AccessToken `json:"tokens"`
}

AccessTokenList struct for AccessTokenList

func NewAccessTokenList

func NewAccessTokenList(tokens []AccessToken) *AccessTokenList

NewAccessTokenList instantiates a new AccessTokenList 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 NewAccessTokenListWithDefaults

func NewAccessTokenListWithDefaults() *AccessTokenList

NewAccessTokenListWithDefaults instantiates a new AccessTokenList 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 (*AccessTokenList) GetTokens

func (o *AccessTokenList) GetTokens() []AccessToken

GetTokens returns the Tokens field value

func (*AccessTokenList) GetTokensOk

func (o *AccessTokenList) GetTokensOk() ([]AccessToken, bool)

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

func (AccessTokenList) MarshalJSON

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

func (*AccessTokenList) SetTokens

func (o *AccessTokenList) SetTokens(v []AccessToken)

SetTokens sets field value

func (AccessTokenList) ToMap

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

func (*AccessTokenList) UnmarshalJSON

func (o *AccessTokenList) 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

func (ApiCreateAccessTokenRequest) Execute

type ApiCreateLogsInstanceRequest

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

func (ApiCreateLogsInstanceRequest) CreateLogsInstancePayload

func (r ApiCreateLogsInstanceRequest) CreateLogsInstancePayload(createLogsInstancePayload CreateLogsInstancePayload) ApiCreateLogsInstanceRequest

func (ApiCreateLogsInstanceRequest) Execute

type ApiDeleteAccessTokenRequest

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

func (ApiDeleteAccessTokenRequest) Execute

func (r ApiDeleteAccessTokenRequest) Execute() error

type ApiDeleteAllAccessTokensRequest

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

func (ApiDeleteAllAccessTokensRequest) Execute

type ApiDeleteAllExpiredAccessTokensRequest

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

func (ApiDeleteAllExpiredAccessTokensRequest) Execute

type ApiDeleteLogsInstanceRequest

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

func (ApiDeleteLogsInstanceRequest) Execute

func (r ApiDeleteLogsInstanceRequest) Execute() error

type ApiGetAccessTokenRequest

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

func (ApiGetAccessTokenRequest) Execute

func (r ApiGetAccessTokenRequest) Execute() (*AccessToken, error)

type ApiGetLogsInstanceRequest

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

func (ApiGetLogsInstanceRequest) Execute

type ApiListAccessTokensRequest

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

func (ApiListAccessTokensRequest) Execute

type ApiListLogsInstancesRequest

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

func (ApiListLogsInstancesRequest) Execute

type ApiUpdateAccessTokenRequest

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

func (ApiUpdateAccessTokenRequest) Execute

func (r ApiUpdateAccessTokenRequest) Execute() error

func (ApiUpdateAccessTokenRequest) UpdateAccessTokenPayload

func (r ApiUpdateAccessTokenRequest) UpdateAccessTokenPayload(updateAccessTokenPayload UpdateAccessTokenPayload) ApiUpdateAccessTokenRequest

type ApiUpdateLogsInstanceRequest

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

func (ApiUpdateLogsInstanceRequest) Execute

func (ApiUpdateLogsInstanceRequest) UpdateLogsInstancePayload

func (r ApiUpdateLogsInstanceRequest) UpdateLogsInstancePayload(updateLogsInstancePayload UpdateLogsInstancePayload) ApiUpdateLogsInstanceRequest

type CreateAccessTokenPayload

type CreateAccessTokenPayload struct {
	// The description of the access token.
	Description *string `json:"description,omitempty"`
	// The displayed name of the access token.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z][\\\\w -]*$"`
	// A lifetime period for an access token in days. If unset the token will not expire.
	Lifetime *int32 `json:"lifetime,omitempty"`
	// The access permissions granted to the access token.
	Permissions []string `json:"permissions"`
}

CreateAccessTokenPayload struct for CreateAccessTokenPayload

func NewCreateAccessTokenPayload

func NewCreateAccessTokenPayload(displayName string, permissions []string) *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) GetDescription

func (o *CreateAccessTokenPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateAccessTokenPayload) GetDescriptionOk

func (o *CreateAccessTokenPayload) GetDescriptionOk() (*string, bool)

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

func (*CreateAccessTokenPayload) GetDisplayName

func (o *CreateAccessTokenPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateAccessTokenPayload) GetDisplayNameOk

func (o *CreateAccessTokenPayload) GetDisplayNameOk() (*string, bool)

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

func (*CreateAccessTokenPayload) GetLifetime

func (o *CreateAccessTokenPayload) GetLifetime() int32

GetLifetime returns the Lifetime field value if set, zero value otherwise.

func (*CreateAccessTokenPayload) GetLifetimeOk

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

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

func (*CreateAccessTokenPayload) GetPermissions

func (o *CreateAccessTokenPayload) GetPermissions() []string

GetPermissions returns the Permissions field value

func (*CreateAccessTokenPayload) GetPermissionsOk

func (o *CreateAccessTokenPayload) GetPermissionsOk() ([]string, bool)

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

func (*CreateAccessTokenPayload) HasDescription

func (o *CreateAccessTokenPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateAccessTokenPayload) HasLifetime

func (o *CreateAccessTokenPayload) HasLifetime() bool

HasLifetime returns a boolean if a field has been set.

func (CreateAccessTokenPayload) MarshalJSON

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

func (*CreateAccessTokenPayload) SetDescription

func (o *CreateAccessTokenPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateAccessTokenPayload) SetDisplayName

func (o *CreateAccessTokenPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateAccessTokenPayload) SetLifetime

func (o *CreateAccessTokenPayload) SetLifetime(v int32)

SetLifetime gets a reference to the given int32 and assigns it to the Lifetime field.

func (*CreateAccessTokenPayload) SetPermissions

func (o *CreateAccessTokenPayload) SetPermissions(v []string)

SetPermissions 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 CreateLogsInstancePayload

type CreateLogsInstancePayload struct {
	// The access control list for the Logs instance.
	Acl []string `json:"acl,omitempty"`
	// The description of the access token.
	Description *string `json:"description,omitempty"`
	// The displayed name to distinguish multiple Logs instances.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z][\\\\w -]*$"`
	// The log retention time in days.
	RetentionDays int32 `json:"retentionDays"`
}

CreateLogsInstancePayload struct for CreateLogsInstancePayload

func NewCreateLogsInstancePayload

func NewCreateLogsInstancePayload(displayName string, retentionDays int32) *CreateLogsInstancePayload

NewCreateLogsInstancePayload instantiates a new CreateLogsInstancePayload 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 NewCreateLogsInstancePayloadWithDefaults

func NewCreateLogsInstancePayloadWithDefaults() *CreateLogsInstancePayload

NewCreateLogsInstancePayloadWithDefaults instantiates a new CreateLogsInstancePayload 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 (*CreateLogsInstancePayload) GetAcl

func (o *CreateLogsInstancePayload) GetAcl() []string

GetAcl returns the Acl field value if set, zero value otherwise.

func (*CreateLogsInstancePayload) GetAclOk

func (o *CreateLogsInstancePayload) GetAclOk() ([]string, bool)

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

func (*CreateLogsInstancePayload) GetDescription

func (o *CreateLogsInstancePayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CreateLogsInstancePayload) GetDescriptionOk

func (o *CreateLogsInstancePayload) GetDescriptionOk() (*string, bool)

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

func (*CreateLogsInstancePayload) GetDisplayName

func (o *CreateLogsInstancePayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateLogsInstancePayload) GetDisplayNameOk

func (o *CreateLogsInstancePayload) GetDisplayNameOk() (*string, bool)

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

func (*CreateLogsInstancePayload) GetRetentionDays

func (o *CreateLogsInstancePayload) GetRetentionDays() int32

GetRetentionDays returns the RetentionDays field value

func (*CreateLogsInstancePayload) GetRetentionDaysOk

func (o *CreateLogsInstancePayload) GetRetentionDaysOk() (*int32, bool)

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

func (*CreateLogsInstancePayload) HasAcl

func (o *CreateLogsInstancePayload) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*CreateLogsInstancePayload) HasDescription

func (o *CreateLogsInstancePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateLogsInstancePayload) MarshalJSON

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

func (*CreateLogsInstancePayload) SetAcl

func (o *CreateLogsInstancePayload) SetAcl(v []string)

SetAcl gets a reference to the given []string and assigns it to the Acl field.

func (*CreateLogsInstancePayload) SetDescription

func (o *CreateLogsInstancePayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CreateLogsInstancePayload) SetDisplayName

func (o *CreateLogsInstancePayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateLogsInstancePayload) SetRetentionDays

func (o *CreateLogsInstancePayload) SetRetentionDays(v int32)

SetRetentionDays sets field value

func (CreateLogsInstancePayload) ToMap

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

func (*CreateLogsInstancePayload) UnmarshalJSON

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateAccessToken Create Access Token

		Create a new Logs instance access token

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@return ApiCreateAccessTokenRequest
	*/
	CreateAccessToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateAccessTokenRequest

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

	/*
		CreateLogsInstance Create Logs instance

		Creates a new Logs instance within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@return ApiCreateLogsInstanceRequest
	*/
	CreateLogsInstance(ctx context.Context, projectId string, regionId string) ApiCreateLogsInstanceRequest

	// CreateLogsInstanceExecute executes the request
	//  @return LogsInstance
	CreateLogsInstanceExecute(r ApiCreateLogsInstanceRequest) (*LogsInstance, error)

	/*
		DeleteAccessToken Delete Access Token

		Deletes a Logs instance access token

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@param tId The access token UUID.
		@return ApiDeleteAccessTokenRequest
	*/
	DeleteAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiDeleteAccessTokenRequest

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

	/*
		DeleteAllAccessTokens Delete All Access Tokens

		Deletes all access tokens available for a Logs instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@return ApiDeleteAllAccessTokensRequest
	*/
	DeleteAllAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllAccessTokensRequest

	// DeleteAllAccessTokensExecute executes the request
	//  @return AccessTokenList
	DeleteAllAccessTokensExecute(r ApiDeleteAllAccessTokensRequest) (*AccessTokenList, error)

	/*
		DeleteAllExpiredAccessTokens Deletes all expired access tokens

		Deletes all expired access tokens

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@return ApiDeleteAllExpiredAccessTokensRequest
	*/
	DeleteAllExpiredAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllExpiredAccessTokensRequest

	// DeleteAllExpiredAccessTokensExecute executes the request
	//  @return AccessTokenList
	DeleteAllExpiredAccessTokensExecute(r ApiDeleteAllExpiredAccessTokensRequest) (*AccessTokenList, error)

	/*
		DeleteLogsInstance Delete Logs instance

		Deletes the given Logs instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@return ApiDeleteLogsInstanceRequest
	*/
	DeleteLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteLogsInstanceRequest

	// DeleteLogsInstanceExecute executes the request
	DeleteLogsInstanceExecute(r ApiDeleteLogsInstanceRequest) error

	/*
		GetAccessToken Get Access Token

		Get the information of the given access token.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@param tId The access token UUID.
		@return ApiGetAccessTokenRequest
	*/
	GetAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiGetAccessTokenRequest

	// GetAccessTokenExecute executes the request
	//  @return AccessToken
	GetAccessTokenExecute(r ApiGetAccessTokenRequest) (*AccessToken, error)

	/*
		GetLogsInstance Get Logs Instance

		Returns the details for the given Logs instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@return ApiGetLogsInstanceRequest
	*/
	GetLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetLogsInstanceRequest

	// GetLogsInstanceExecute executes the request
	//  @return LogsInstance
	GetLogsInstanceExecute(r ApiGetLogsInstanceRequest) (*LogsInstance, error)

	/*
		ListAccessTokens List Access Tokens

		Returns a list of access tokens created for a Logs instance

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@return ApiListAccessTokensRequest
	*/
	ListAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListAccessTokensRequest

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

	/*
		ListLogsInstances List Logs instances

		Returns a list of all Logs instances within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@return ApiListLogsInstancesRequest
	*/
	ListLogsInstances(ctx context.Context, projectId string, regionId string) ApiListLogsInstancesRequest

	// ListLogsInstancesExecute executes the request
	//  @return LogsInstancesList
	ListLogsInstancesExecute(r ApiListLogsInstancesRequest) (*LogsInstancesList, error)

	/*
		UpdateAccessToken Update Access Token

		Updates the given access token.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@param tId The access token UUID.
		@return ApiUpdateAccessTokenRequest
	*/
	UpdateAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiUpdateAccessTokenRequest

	// UpdateAccessTokenExecute executes the request
	UpdateAccessTokenExecute(r ApiUpdateAccessTokenRequest) error

	/*
		UpdateLogsInstance Update Logs instance

		Updates the given Logs instance.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the resource is located in.
		@param regionId The STACKIT region name the resource is located in.
		@param instanceId The Logs Instance UUID.
		@return ApiUpdateLogsInstanceRequest
	*/
	UpdateLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateLogsInstanceRequest

	// UpdateLogsInstanceExecute executes the request
	//  @return LogsInstance
	UpdateLogsInstanceExecute(r ApiUpdateLogsInstanceRequest) (*LogsInstance, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateAccessToken

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

CreateAccessToken Create Access Token

Create a new Logs instance access token

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@return ApiCreateAccessTokenRequest

func (*DefaultAPIService) CreateAccessTokenExecute

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

Execute executes the request

@return AccessToken

func (*DefaultAPIService) CreateLogsInstance

func (a *DefaultAPIService) CreateLogsInstance(ctx context.Context, projectId string, regionId string) ApiCreateLogsInstanceRequest

CreateLogsInstance Create Logs instance

Creates a new Logs instance within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@return ApiCreateLogsInstanceRequest

func (*DefaultAPIService) CreateLogsInstanceExecute

func (a *DefaultAPIService) CreateLogsInstanceExecute(r ApiCreateLogsInstanceRequest) (*LogsInstance, error)

Execute executes the request

@return LogsInstance

func (*DefaultAPIService) DeleteAccessToken

func (a *DefaultAPIService) DeleteAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiDeleteAccessTokenRequest

DeleteAccessToken Delete Access Token

Deletes a Logs instance access token

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@param tId The access token UUID.
@return ApiDeleteAccessTokenRequest

func (*DefaultAPIService) DeleteAccessTokenExecute

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

Execute executes the request

func (*DefaultAPIService) DeleteAllAccessTokens

func (a *DefaultAPIService) DeleteAllAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllAccessTokensRequest

DeleteAllAccessTokens Delete All Access Tokens

Deletes all access tokens available for a Logs instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@return ApiDeleteAllAccessTokensRequest

func (*DefaultAPIService) DeleteAllAccessTokensExecute

func (a *DefaultAPIService) DeleteAllAccessTokensExecute(r ApiDeleteAllAccessTokensRequest) (*AccessTokenList, error)

Execute executes the request

@return AccessTokenList

func (*DefaultAPIService) DeleteAllExpiredAccessTokens

func (a *DefaultAPIService) DeleteAllExpiredAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllExpiredAccessTokensRequest

DeleteAllExpiredAccessTokens Deletes all expired access tokens

Deletes all expired access tokens

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@return ApiDeleteAllExpiredAccessTokensRequest

func (*DefaultAPIService) DeleteAllExpiredAccessTokensExecute

func (a *DefaultAPIService) DeleteAllExpiredAccessTokensExecute(r ApiDeleteAllExpiredAccessTokensRequest) (*AccessTokenList, error)

Execute executes the request

@return AccessTokenList

func (*DefaultAPIService) DeleteLogsInstance

func (a *DefaultAPIService) DeleteLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteLogsInstanceRequest

DeleteLogsInstance Delete Logs instance

Deletes the given Logs instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@return ApiDeleteLogsInstanceRequest

func (*DefaultAPIService) DeleteLogsInstanceExecute

func (a *DefaultAPIService) DeleteLogsInstanceExecute(r ApiDeleteLogsInstanceRequest) error

Execute executes the request

func (*DefaultAPIService) GetAccessToken

func (a *DefaultAPIService) GetAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiGetAccessTokenRequest

GetAccessToken Get Access Token

Get the information of the given access token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@param tId The access token UUID.
@return ApiGetAccessTokenRequest

func (*DefaultAPIService) GetAccessTokenExecute

func (a *DefaultAPIService) GetAccessTokenExecute(r ApiGetAccessTokenRequest) (*AccessToken, error)

Execute executes the request

@return AccessToken

func (*DefaultAPIService) GetLogsInstance

func (a *DefaultAPIService) GetLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetLogsInstanceRequest

GetLogsInstance Get Logs Instance

Returns the details for the given Logs instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@return ApiGetLogsInstanceRequest

func (*DefaultAPIService) GetLogsInstanceExecute

func (a *DefaultAPIService) GetLogsInstanceExecute(r ApiGetLogsInstanceRequest) (*LogsInstance, error)

Execute executes the request

@return LogsInstance

func (*DefaultAPIService) ListAccessTokens

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

ListAccessTokens List Access Tokens

Returns a list of access tokens created for a Logs instance

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@return ApiListAccessTokensRequest

func (*DefaultAPIService) ListAccessTokensExecute

func (a *DefaultAPIService) ListAccessTokensExecute(r ApiListAccessTokensRequest) (*AccessTokenList, error)

Execute executes the request

@return AccessTokenList

func (*DefaultAPIService) ListLogsInstances

func (a *DefaultAPIService) ListLogsInstances(ctx context.Context, projectId string, regionId string) ApiListLogsInstancesRequest

ListLogsInstances List Logs instances

Returns a list of all Logs instances within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@return ApiListLogsInstancesRequest

func (*DefaultAPIService) ListLogsInstancesExecute

func (a *DefaultAPIService) ListLogsInstancesExecute(r ApiListLogsInstancesRequest) (*LogsInstancesList, error)

Execute executes the request

@return LogsInstancesList

func (*DefaultAPIService) UpdateAccessToken

func (a *DefaultAPIService) UpdateAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiUpdateAccessTokenRequest

UpdateAccessToken Update Access Token

Updates the given access token.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@param tId The access token UUID.
@return ApiUpdateAccessTokenRequest

func (*DefaultAPIService) UpdateAccessTokenExecute

func (a *DefaultAPIService) UpdateAccessTokenExecute(r ApiUpdateAccessTokenRequest) error

Execute executes the request

func (*DefaultAPIService) UpdateLogsInstance

func (a *DefaultAPIService) UpdateLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateLogsInstanceRequest

UpdateLogsInstance Update Logs instance

Updates the given Logs instance.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the resource is located in.
@param regionId The STACKIT region name the resource is located in.
@param instanceId The Logs Instance UUID.
@return ApiUpdateLogsInstanceRequest

func (*DefaultAPIService) UpdateLogsInstanceExecute

func (a *DefaultAPIService) UpdateLogsInstanceExecute(r ApiUpdateLogsInstanceRequest) (*LogsInstance, error)

Execute executes the request

@return LogsInstance

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)
	// CreateLogsInstanceExecuteMock can be populated to implement the behavior of the CreateLogsInstanceExecute function of this mock
	CreateLogsInstanceExecuteMock *func(r ApiCreateLogsInstanceRequest) (*LogsInstance, error)
	// DeleteAccessTokenExecuteMock can be populated to implement the behavior of the DeleteAccessTokenExecute function of this mock
	DeleteAccessTokenExecuteMock *func(r ApiDeleteAccessTokenRequest) error
	// DeleteAllAccessTokensExecuteMock can be populated to implement the behavior of the DeleteAllAccessTokensExecute function of this mock
	DeleteAllAccessTokensExecuteMock *func(r ApiDeleteAllAccessTokensRequest) (*AccessTokenList, error)
	// DeleteAllExpiredAccessTokensExecuteMock can be populated to implement the behavior of the DeleteAllExpiredAccessTokensExecute function of this mock
	DeleteAllExpiredAccessTokensExecuteMock *func(r ApiDeleteAllExpiredAccessTokensRequest) (*AccessTokenList, error)
	// DeleteLogsInstanceExecuteMock can be populated to implement the behavior of the DeleteLogsInstanceExecute function of this mock
	DeleteLogsInstanceExecuteMock *func(r ApiDeleteLogsInstanceRequest) error
	// GetAccessTokenExecuteMock can be populated to implement the behavior of the GetAccessTokenExecute function of this mock
	GetAccessTokenExecuteMock *func(r ApiGetAccessTokenRequest) (*AccessToken, error)
	// GetLogsInstanceExecuteMock can be populated to implement the behavior of the GetLogsInstanceExecute function of this mock
	GetLogsInstanceExecuteMock *func(r ApiGetLogsInstanceRequest) (*LogsInstance, error)
	// ListAccessTokensExecuteMock can be populated to implement the behavior of the ListAccessTokensExecute function of this mock
	ListAccessTokensExecuteMock *func(r ApiListAccessTokensRequest) (*AccessTokenList, error)
	// ListLogsInstancesExecuteMock can be populated to implement the behavior of the ListLogsInstancesExecute function of this mock
	ListLogsInstancesExecuteMock *func(r ApiListLogsInstancesRequest) (*LogsInstancesList, error)
	// UpdateAccessTokenExecuteMock can be populated to implement the behavior of the UpdateAccessTokenExecute function of this mock
	UpdateAccessTokenExecuteMock *func(r ApiUpdateAccessTokenRequest) error
	// UpdateLogsInstanceExecuteMock can be populated to implement the behavior of the UpdateLogsInstanceExecute function of this mock
	UpdateLogsInstanceExecuteMock *func(r ApiUpdateLogsInstanceRequest) (*LogsInstance, 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, regionId string, instanceId 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) CreateLogsInstance

func (a DefaultAPIServiceMock) CreateLogsInstance(ctx context.Context, projectId string, regionId string) ApiCreateLogsInstanceRequest

func (DefaultAPIServiceMock) CreateLogsInstanceExecute

func (a DefaultAPIServiceMock) CreateLogsInstanceExecute(r ApiCreateLogsInstanceRequest) (*LogsInstance, error)

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

func (DefaultAPIServiceMock) DeleteAccessToken

func (a DefaultAPIServiceMock) DeleteAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId 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) DeleteAllAccessTokens

func (a DefaultAPIServiceMock) DeleteAllAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllAccessTokensRequest

func (DefaultAPIServiceMock) DeleteAllAccessTokensExecute

func (a DefaultAPIServiceMock) DeleteAllAccessTokensExecute(r ApiDeleteAllAccessTokensRequest) (*AccessTokenList, error)

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

func (DefaultAPIServiceMock) DeleteAllExpiredAccessTokens

func (a DefaultAPIServiceMock) DeleteAllExpiredAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllExpiredAccessTokensRequest

func (DefaultAPIServiceMock) DeleteAllExpiredAccessTokensExecute

func (a DefaultAPIServiceMock) DeleteAllExpiredAccessTokensExecute(r ApiDeleteAllExpiredAccessTokensRequest) (*AccessTokenList, error)

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

func (DefaultAPIServiceMock) DeleteLogsInstance

func (a DefaultAPIServiceMock) DeleteLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteLogsInstanceRequest

func (DefaultAPIServiceMock) DeleteLogsInstanceExecute

func (a DefaultAPIServiceMock) DeleteLogsInstanceExecute(r ApiDeleteLogsInstanceRequest) error

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

func (DefaultAPIServiceMock) GetAccessToken

func (a DefaultAPIServiceMock) GetAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiGetAccessTokenRequest

func (DefaultAPIServiceMock) GetAccessTokenExecute

func (a DefaultAPIServiceMock) GetAccessTokenExecute(r ApiGetAccessTokenRequest) (*AccessToken, error)

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

func (DefaultAPIServiceMock) GetLogsInstance

func (a DefaultAPIServiceMock) GetLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetLogsInstanceRequest

func (DefaultAPIServiceMock) GetLogsInstanceExecute

func (a DefaultAPIServiceMock) GetLogsInstanceExecute(r ApiGetLogsInstanceRequest) (*LogsInstance, error)

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

func (DefaultAPIServiceMock) ListAccessTokens

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

func (DefaultAPIServiceMock) ListAccessTokensExecute

func (a DefaultAPIServiceMock) ListAccessTokensExecute(r ApiListAccessTokensRequest) (*AccessTokenList, error)

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

func (DefaultAPIServiceMock) ListLogsInstances

func (a DefaultAPIServiceMock) ListLogsInstances(ctx context.Context, projectId string, regionId string) ApiListLogsInstancesRequest

func (DefaultAPIServiceMock) ListLogsInstancesExecute

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

func (DefaultAPIServiceMock) UpdateAccessToken

func (a DefaultAPIServiceMock) UpdateAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiUpdateAccessTokenRequest

func (DefaultAPIServiceMock) UpdateAccessTokenExecute

func (a DefaultAPIServiceMock) UpdateAccessTokenExecute(r ApiUpdateAccessTokenRequest) error

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

func (DefaultAPIServiceMock) UpdateLogsInstance

func (a DefaultAPIServiceMock) UpdateLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateLogsInstanceRequest

func (DefaultAPIServiceMock) UpdateLogsInstanceExecute

func (a DefaultAPIServiceMock) UpdateLogsInstanceExecute(r ApiUpdateLogsInstanceRequest) (*LogsInstance, error)

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

type LogsInstance

type LogsInstance struct {
	// The access control list for the Logs instance.
	Acl []string `json:"acl,omitempty"`
	// The date and time the creation of the Logs instance was triggered.
	Created time.Time `json:"created"`
	// The Logs instance's datasource URL, can be used in Grafana as a datasource URL
	DatasourceUrl *string `json:"datasourceUrl,omitempty"`
	// The description of the Logs instance.
	Description *string `json:"description,omitempty"`
	// The displayed name of the Logs instance.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z][\\\\w -]*$"`
	// A auto generated unique id which identifies the Logs instance.
	Id string `json:"id"`
	// The Logs instance's ingest logs via OTLP URL
	IngestOtlpUrl *string `json:"ingestOtlpUrl,omitempty"`
	// The Logs instance's ingest logs URL
	IngestUrl *string `json:"ingestUrl,omitempty"`
	// The Logs instance's query range URL
	QueryRangeUrl *string `json:"queryRangeUrl,omitempty"`
	// The Logs instance's query  URL
	QueryUrl *string `json:"queryUrl,omitempty"`
	// The log retention time in days.
	RetentionDays int32 `json:"retentionDays"`
	// The current status of the Logs instance.
	Status string `json:"status"`
}

LogsInstance struct for LogsInstance

func NewLogsInstance

func NewLogsInstance(created time.Time, displayName string, id string, retentionDays int32, status string) *LogsInstance

NewLogsInstance instantiates a new LogsInstance 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 NewLogsInstanceWithDefaults

func NewLogsInstanceWithDefaults() *LogsInstance

NewLogsInstanceWithDefaults instantiates a new LogsInstance 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 (*LogsInstance) GetAcl

func (o *LogsInstance) GetAcl() []string

GetAcl returns the Acl field value if set, zero value otherwise.

func (*LogsInstance) GetAclOk

func (o *LogsInstance) GetAclOk() ([]string, bool)

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

func (*LogsInstance) GetCreated

func (o *LogsInstance) GetCreated() time.Time

GetCreated returns the Created field value

func (*LogsInstance) GetCreatedOk

func (o *LogsInstance) GetCreatedOk() (*time.Time, bool)

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

func (*LogsInstance) GetDatasourceUrl

func (o *LogsInstance) GetDatasourceUrl() string

GetDatasourceUrl returns the DatasourceUrl field value if set, zero value otherwise.

func (*LogsInstance) GetDatasourceUrlOk

func (o *LogsInstance) GetDatasourceUrlOk() (*string, bool)

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

func (*LogsInstance) GetDescription

func (o *LogsInstance) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*LogsInstance) GetDescriptionOk

func (o *LogsInstance) GetDescriptionOk() (*string, bool)

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

func (*LogsInstance) GetDisplayName

func (o *LogsInstance) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*LogsInstance) GetDisplayNameOk

func (o *LogsInstance) GetDisplayNameOk() (*string, bool)

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

func (*LogsInstance) GetId

func (o *LogsInstance) GetId() string

GetId returns the Id field value

func (*LogsInstance) GetIdOk

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

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

func (*LogsInstance) GetIngestOtlpUrl

func (o *LogsInstance) GetIngestOtlpUrl() string

GetIngestOtlpUrl returns the IngestOtlpUrl field value if set, zero value otherwise.

func (*LogsInstance) GetIngestOtlpUrlOk

func (o *LogsInstance) GetIngestOtlpUrlOk() (*string, bool)

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

func (*LogsInstance) GetIngestUrl

func (o *LogsInstance) GetIngestUrl() string

GetIngestUrl returns the IngestUrl field value if set, zero value otherwise.

func (*LogsInstance) GetIngestUrlOk

func (o *LogsInstance) GetIngestUrlOk() (*string, bool)

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

func (*LogsInstance) GetQueryRangeUrl

func (o *LogsInstance) GetQueryRangeUrl() string

GetQueryRangeUrl returns the QueryRangeUrl field value if set, zero value otherwise.

func (*LogsInstance) GetQueryRangeUrlOk

func (o *LogsInstance) GetQueryRangeUrlOk() (*string, bool)

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

func (*LogsInstance) GetQueryUrl

func (o *LogsInstance) GetQueryUrl() string

GetQueryUrl returns the QueryUrl field value if set, zero value otherwise.

func (*LogsInstance) GetQueryUrlOk

func (o *LogsInstance) GetQueryUrlOk() (*string, bool)

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

func (*LogsInstance) GetRetentionDays

func (o *LogsInstance) GetRetentionDays() int32

GetRetentionDays returns the RetentionDays field value

func (*LogsInstance) GetRetentionDaysOk

func (o *LogsInstance) GetRetentionDaysOk() (*int32, bool)

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

func (*LogsInstance) GetStatus

func (o *LogsInstance) GetStatus() string

GetStatus returns the Status field value

func (*LogsInstance) GetStatusOk

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

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

func (*LogsInstance) HasAcl

func (o *LogsInstance) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*LogsInstance) HasDatasourceUrl

func (o *LogsInstance) HasDatasourceUrl() bool

HasDatasourceUrl returns a boolean if a field has been set.

func (*LogsInstance) HasDescription

func (o *LogsInstance) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*LogsInstance) HasIngestOtlpUrl

func (o *LogsInstance) HasIngestOtlpUrl() bool

HasIngestOtlpUrl returns a boolean if a field has been set.

func (*LogsInstance) HasIngestUrl

func (o *LogsInstance) HasIngestUrl() bool

HasIngestUrl returns a boolean if a field has been set.

func (*LogsInstance) HasQueryRangeUrl

func (o *LogsInstance) HasQueryRangeUrl() bool

HasQueryRangeUrl returns a boolean if a field has been set.

func (*LogsInstance) HasQueryUrl

func (o *LogsInstance) HasQueryUrl() bool

HasQueryUrl returns a boolean if a field has been set.

func (LogsInstance) MarshalJSON

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

func (*LogsInstance) SetAcl

func (o *LogsInstance) SetAcl(v []string)

SetAcl gets a reference to the given []string and assigns it to the Acl field.

func (*LogsInstance) SetCreated

func (o *LogsInstance) SetCreated(v time.Time)

SetCreated sets field value

func (*LogsInstance) SetDatasourceUrl

func (o *LogsInstance) SetDatasourceUrl(v string)

SetDatasourceUrl gets a reference to the given string and assigns it to the DatasourceUrl field.

func (*LogsInstance) SetDescription

func (o *LogsInstance) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*LogsInstance) SetDisplayName

func (o *LogsInstance) SetDisplayName(v string)

SetDisplayName sets field value

func (*LogsInstance) SetId

func (o *LogsInstance) SetId(v string)

SetId sets field value

func (*LogsInstance) SetIngestOtlpUrl

func (o *LogsInstance) SetIngestOtlpUrl(v string)

SetIngestOtlpUrl gets a reference to the given string and assigns it to the IngestOtlpUrl field.

func (*LogsInstance) SetIngestUrl

func (o *LogsInstance) SetIngestUrl(v string)

SetIngestUrl gets a reference to the given string and assigns it to the IngestUrl field.

func (*LogsInstance) SetQueryRangeUrl

func (o *LogsInstance) SetQueryRangeUrl(v string)

SetQueryRangeUrl gets a reference to the given string and assigns it to the QueryRangeUrl field.

func (*LogsInstance) SetQueryUrl

func (o *LogsInstance) SetQueryUrl(v string)

SetQueryUrl gets a reference to the given string and assigns it to the QueryUrl field.

func (*LogsInstance) SetRetentionDays

func (o *LogsInstance) SetRetentionDays(v int32)

SetRetentionDays sets field value

func (*LogsInstance) SetStatus

func (o *LogsInstance) SetStatus(v string)

SetStatus sets field value

func (LogsInstance) ToMap

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

func (*LogsInstance) UnmarshalJSON

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

type LogsInstancesList

type LogsInstancesList struct {
	Instances []LogsInstance `json:"instances"`
}

LogsInstancesList struct for LogsInstancesList

func NewLogsInstancesList

func NewLogsInstancesList(instances []LogsInstance) *LogsInstancesList

NewLogsInstancesList instantiates a new LogsInstancesList 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 NewLogsInstancesListWithDefaults

func NewLogsInstancesListWithDefaults() *LogsInstancesList

NewLogsInstancesListWithDefaults instantiates a new LogsInstancesList 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 (*LogsInstancesList) GetInstances

func (o *LogsInstancesList) GetInstances() []LogsInstance

GetInstances returns the Instances field value

func (*LogsInstancesList) GetInstancesOk

func (o *LogsInstancesList) GetInstancesOk() ([]LogsInstance, bool)

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

func (LogsInstancesList) MarshalJSON

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

func (*LogsInstancesList) SetInstances

func (o *LogsInstancesList) SetInstances(v []LogsInstance)

SetInstances sets field value

func (LogsInstancesList) ToMap

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

func (*LogsInstancesList) UnmarshalJSON

func (o *LogsInstancesList) 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 NullableAccessTokenList

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

func NewNullableAccessTokenList

func NewNullableAccessTokenList(val *AccessTokenList) *NullableAccessTokenList

func (NullableAccessTokenList) Get

func (NullableAccessTokenList) IsSet

func (v NullableAccessTokenList) IsSet() bool

func (NullableAccessTokenList) MarshalJSON

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

func (*NullableAccessTokenList) Set

func (*NullableAccessTokenList) UnmarshalJSON

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

func (*NullableAccessTokenList) Unset

func (v *NullableAccessTokenList) 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 NullableCreateLogsInstancePayload

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

func (NullableCreateLogsInstancePayload) Get

func (NullableCreateLogsInstancePayload) IsSet

func (NullableCreateLogsInstancePayload) MarshalJSON

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

func (*NullableCreateLogsInstancePayload) Set

func (*NullableCreateLogsInstancePayload) UnmarshalJSON

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

func (*NullableCreateLogsInstancePayload) 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 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 NullableLogsInstance

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

func NewNullableLogsInstance

func NewNullableLogsInstance(val *LogsInstance) *NullableLogsInstance

func (NullableLogsInstance) Get

func (NullableLogsInstance) IsSet

func (v NullableLogsInstance) IsSet() bool

func (NullableLogsInstance) MarshalJSON

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

func (*NullableLogsInstance) Set

func (v *NullableLogsInstance) Set(val *LogsInstance)

func (*NullableLogsInstance) UnmarshalJSON

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

func (*NullableLogsInstance) Unset

func (v *NullableLogsInstance) Unset()

type NullableLogsInstancesList

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

func NewNullableLogsInstancesList

func NewNullableLogsInstancesList(val *LogsInstancesList) *NullableLogsInstancesList

func (NullableLogsInstancesList) Get

func (NullableLogsInstancesList) IsSet

func (v NullableLogsInstancesList) IsSet() bool

func (NullableLogsInstancesList) MarshalJSON

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

func (*NullableLogsInstancesList) Set

func (*NullableLogsInstancesList) UnmarshalJSON

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

func (*NullableLogsInstancesList) Unset

func (v *NullableLogsInstancesList) 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 NullableUpdateAccessTokenPayload

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

func (NullableUpdateAccessTokenPayload) Get

func (NullableUpdateAccessTokenPayload) IsSet

func (NullableUpdateAccessTokenPayload) MarshalJSON

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

func (*NullableUpdateAccessTokenPayload) Set

func (*NullableUpdateAccessTokenPayload) UnmarshalJSON

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

func (*NullableUpdateAccessTokenPayload) Unset

type NullableUpdateLogsInstancePayload

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

func (NullableUpdateLogsInstancePayload) Get

func (NullableUpdateLogsInstancePayload) IsSet

func (NullableUpdateLogsInstancePayload) MarshalJSON

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

func (*NullableUpdateLogsInstancePayload) Set

func (*NullableUpdateLogsInstancePayload) UnmarshalJSON

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

func (*NullableUpdateLogsInstancePayload) Unset

type UpdateAccessTokenPayload

type UpdateAccessTokenPayload struct {
	// The description of the access token.
	Description *string `json:"description,omitempty"`
	// The displayed name of the access token.
	DisplayName *string `json:"displayName,omitempty" validate:"regexp=^[a-zA-Z][\\\\w -]*$"`
}

UpdateAccessTokenPayload struct for UpdateAccessTokenPayload

func NewUpdateAccessTokenPayload

func NewUpdateAccessTokenPayload() *UpdateAccessTokenPayload

NewUpdateAccessTokenPayload instantiates a new UpdateAccessTokenPayload 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 NewUpdateAccessTokenPayloadWithDefaults

func NewUpdateAccessTokenPayloadWithDefaults() *UpdateAccessTokenPayload

NewUpdateAccessTokenPayloadWithDefaults instantiates a new UpdateAccessTokenPayload 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 (*UpdateAccessTokenPayload) GetDescription

func (o *UpdateAccessTokenPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateAccessTokenPayload) GetDescriptionOk

func (o *UpdateAccessTokenPayload) GetDescriptionOk() (*string, bool)

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

func (*UpdateAccessTokenPayload) GetDisplayName

func (o *UpdateAccessTokenPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*UpdateAccessTokenPayload) GetDisplayNameOk

func (o *UpdateAccessTokenPayload) GetDisplayNameOk() (*string, bool)

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

func (*UpdateAccessTokenPayload) HasDescription

func (o *UpdateAccessTokenPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateAccessTokenPayload) HasDisplayName

func (o *UpdateAccessTokenPayload) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (UpdateAccessTokenPayload) MarshalJSON

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

func (*UpdateAccessTokenPayload) SetDescription

func (o *UpdateAccessTokenPayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateAccessTokenPayload) SetDisplayName

func (o *UpdateAccessTokenPayload) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (UpdateAccessTokenPayload) ToMap

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

type UpdateLogsInstancePayload

type UpdateLogsInstancePayload struct {
	// The access control list for the Logs instance.
	Acl []string `json:"acl,omitempty"`
	// The description of the Logs instance.
	Description *string `json:"description,omitempty"`
	// The displayed name to distinguish multiple Logs instances.
	DisplayName *string `json:"displayName,omitempty" validate:"regexp=^[a-zA-Z][\\\\w -]*$"`
	// The log retention time in days.
	RetentionDays *int32 `json:"retentionDays,omitempty"`
}

UpdateLogsInstancePayload struct for UpdateLogsInstancePayload

func NewUpdateLogsInstancePayload

func NewUpdateLogsInstancePayload() *UpdateLogsInstancePayload

NewUpdateLogsInstancePayload instantiates a new UpdateLogsInstancePayload 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 NewUpdateLogsInstancePayloadWithDefaults

func NewUpdateLogsInstancePayloadWithDefaults() *UpdateLogsInstancePayload

NewUpdateLogsInstancePayloadWithDefaults instantiates a new UpdateLogsInstancePayload 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 (*UpdateLogsInstancePayload) GetAcl

func (o *UpdateLogsInstancePayload) GetAcl() []string

GetAcl returns the Acl field value if set, zero value otherwise.

func (*UpdateLogsInstancePayload) GetAclOk

func (o *UpdateLogsInstancePayload) GetAclOk() ([]string, bool)

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

func (*UpdateLogsInstancePayload) GetDescription

func (o *UpdateLogsInstancePayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateLogsInstancePayload) GetDescriptionOk

func (o *UpdateLogsInstancePayload) GetDescriptionOk() (*string, bool)

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

func (*UpdateLogsInstancePayload) GetDisplayName

func (o *UpdateLogsInstancePayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*UpdateLogsInstancePayload) GetDisplayNameOk

func (o *UpdateLogsInstancePayload) GetDisplayNameOk() (*string, bool)

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

func (*UpdateLogsInstancePayload) GetRetentionDays

func (o *UpdateLogsInstancePayload) GetRetentionDays() int32

GetRetentionDays returns the RetentionDays field value if set, zero value otherwise.

func (*UpdateLogsInstancePayload) GetRetentionDaysOk

func (o *UpdateLogsInstancePayload) GetRetentionDaysOk() (*int32, bool)

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

func (*UpdateLogsInstancePayload) HasAcl

func (o *UpdateLogsInstancePayload) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*UpdateLogsInstancePayload) HasDescription

func (o *UpdateLogsInstancePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateLogsInstancePayload) HasDisplayName

func (o *UpdateLogsInstancePayload) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*UpdateLogsInstancePayload) HasRetentionDays

func (o *UpdateLogsInstancePayload) HasRetentionDays() bool

HasRetentionDays returns a boolean if a field has been set.

func (UpdateLogsInstancePayload) MarshalJSON

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

func (*UpdateLogsInstancePayload) SetAcl

func (o *UpdateLogsInstancePayload) SetAcl(v []string)

SetAcl gets a reference to the given []string and assigns it to the Acl field.

func (*UpdateLogsInstancePayload) SetDescription

func (o *UpdateLogsInstancePayload) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateLogsInstancePayload) SetDisplayName

func (o *UpdateLogsInstancePayload) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*UpdateLogsInstancePayload) SetRetentionDays

func (o *UpdateLogsInstancePayload) SetRetentionDays(v int32)

SetRetentionDays gets a reference to the given int32 and assigns it to the RetentionDays field.

func (UpdateLogsInstancePayload) ToMap

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

Jump to

Keyboard shortcuts

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