logs

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedAccessTokenStatusEnumValues = []AccessTokenStatus{
	"active",
	"expired",
}

All allowed values of AccessToken enum

View Source
var AllowedLogsInstanceStatusEnumValues = []LogsInstanceStatus{
	"active",
	"deleting",
	"reconciling",
}

All allowed values of LogsInstance enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func ParameterValueToString

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

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

APIClient manages communication with the 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. Optionally receives configuration options

func (*APIClient) CreateAccessToken

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

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

func (*APIClient) CreateLogsInstance

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

func (a *APIClient) CreateLogsInstanceExecute(ctx context.Context, projectId string, regionId string) (*LogsInstance, error)

func (*APIClient) DeleteAccessToken

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

func (a *APIClient) DeleteAccessTokenExecute(ctx context.Context, projectId string, regionId string, instanceId string, tId string) error

func (*APIClient) DeleteAllAccessTokens

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

func (a *APIClient) DeleteAllAccessTokensExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*AccessTokenList, error)

func (*APIClient) DeleteAllExpiredAccessTokens

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

func (a *APIClient) DeleteAllExpiredAccessTokensExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*AccessTokenList, error)

func (*APIClient) DeleteLogsInstance

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

func (a *APIClient) DeleteLogsInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error

func (*APIClient) GetAccessToken added in v0.2.0

func (a *APIClient) 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 (*APIClient) GetAccessTokenExecute added in v0.2.0

func (a *APIClient) GetAccessTokenExecute(ctx context.Context, projectId string, regionId string, instanceId string, tId string) (*AccessToken, error)

func (*APIClient) GetConfig

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

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

func (*APIClient) GetLogsInstance

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

func (a *APIClient) GetLogsInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*LogsInstance, error)

func (*APIClient) ListAccessTokens

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

func (a *APIClient) ListAccessTokensExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*AccessTokenList, error)

func (*APIClient) ListLogsInstances

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

func (a *APIClient) ListLogsInstancesExecute(ctx context.Context, projectId string, regionId string) (*LogsInstancesList, error)

func (*APIClient) UpdateAccessToken

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

func (a *APIClient) UpdateAccessTokenExecute(ctx context.Context, projectId string, regionId string, instanceId string, tId string) error

func (*APIClient) UpdateLogsInstance

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

func (a *APIClient) UpdateLogsInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*LogsInstance, error)

type AccessToken

type AccessToken struct {
	// A generated access token. Only available on creation.
	AccessToken AccessTokenGetAccessTokenAttributeType `json:"accessToken,omitempty"`
	// The user who created the access token.
	// REQUIRED
	Creator AccessTokenGetCreatorAttributeType `json:"creator" required:"true"`
	// The description of the access token.
	Description AccessTokenGetDescriptionAttributeType `json:"description,omitempty"`
	// The displayed name of the access token.
	// REQUIRED
	DisplayName AccessTokenGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// Indicates if the access token can expire.
	// REQUIRED
	Expires AccessTokengetExpiresAttributeType `json:"expires" required:"true"`
	// An auto generated unique id which identifies the access token.
	// REQUIRED
	Id AccessTokenGetIdAttributeType `json:"id" required:"true"`
	// The access permissions granted to the access token.
	// REQUIRED
	Permissions AccessTokenGetPermissionsAttributeType `json:"permissions" required:"true"`
	// REQUIRED
	Status AccessTokenGetStatusAttributeType `json:"status" required:"true"`
	// The date and time util an access token is valid to (inclusively).
	ValidUntil AccessTokenGetValidUntilAttributeType `json:"validUntil,omitempty"`
}

AccessToken struct for AccessToken

func NewAccessToken

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() (res AccessTokenGetAccessTokenRetType)

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

func (*AccessToken) GetAccessTokenOk

func (o *AccessToken) GetAccessTokenOk() (ret AccessTokenGetAccessTokenRetType, ok 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() (ret AccessTokenGetCreatorRetType)

GetCreator returns the Creator field value

func (*AccessToken) GetCreatorOk

func (o *AccessToken) GetCreatorOk() (ret AccessTokenGetCreatorRetType, ok 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() (res AccessTokenGetDescriptionRetType)

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

func (*AccessToken) GetDescriptionOk

func (o *AccessToken) GetDescriptionOk() (ret AccessTokenGetDescriptionRetType, ok 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() (ret AccessTokenGetDisplayNameRetType)

GetDisplayName returns the DisplayName field value

func (*AccessToken) GetDisplayNameOk

func (o *AccessToken) GetDisplayNameOk() (ret AccessTokenGetDisplayNameRetType, ok 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() (ret AccessTokengetExpiresRetType)

GetExpires returns the Expires field value

func (*AccessToken) GetExpiresOk

func (o *AccessToken) GetExpiresOk() (ret AccessTokengetExpiresRetType, ok 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() (ret AccessTokenGetIdRetType)

GetId returns the Id field value

func (*AccessToken) GetIdOk

func (o *AccessToken) GetIdOk() (ret AccessTokenGetIdRetType, ok 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() (ret AccessTokenGetPermissionsRetType)

GetPermissions returns the Permissions field value

func (*AccessToken) GetPermissionsOk

func (o *AccessToken) GetPermissionsOk() (ret AccessTokenGetPermissionsRetType, ok 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() (ret AccessTokenGetStatusRetType)

GetStatus returns the Status field value

func (*AccessToken) GetStatusOk

func (o *AccessToken) GetStatusOk() (ret AccessTokenGetStatusRetType, ok 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() (res AccessTokenGetValidUntilRetType)

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

func (*AccessToken) GetValidUntilOk

func (o *AccessToken) GetValidUntilOk() (ret AccessTokenGetValidUntilRetType, ok 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) SetAccessToken

func (o *AccessToken) SetAccessToken(v AccessTokenGetAccessTokenRetType)

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

func (*AccessToken) SetCreator

func (o *AccessToken) SetCreator(v AccessTokenGetCreatorRetType)

SetCreator sets field value

func (*AccessToken) SetDescription

func (o *AccessToken) SetDescription(v AccessTokenGetDescriptionRetType)

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

func (*AccessToken) SetDisplayName

func (o *AccessToken) SetDisplayName(v AccessTokenGetDisplayNameRetType)

SetDisplayName sets field value

func (*AccessToken) SetExpires

func (o *AccessToken) SetExpires(v AccessTokengetExpiresRetType)

SetExpires sets field value

func (*AccessToken) SetId

SetId sets field value

func (*AccessToken) SetPermissions

func (o *AccessToken) SetPermissions(v AccessTokenGetPermissionsRetType)

SetPermissions sets field value

func (*AccessToken) SetStatus

func (o *AccessToken) SetStatus(v AccessTokenGetStatusRetType)

SetStatus sets field value

func (*AccessToken) SetValidUntil

func (o *AccessToken) SetValidUntil(v AccessTokenGetValidUntilRetType)

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)

type AccessTokenGetAccessTokenArgType

type AccessTokenGetAccessTokenArgType = string

type AccessTokenGetAccessTokenAttributeType

type AccessTokenGetAccessTokenAttributeType = *string

isNotNullableString

type AccessTokenGetAccessTokenRetType

type AccessTokenGetAccessTokenRetType = string

type AccessTokenGetCreatorArgType

type AccessTokenGetCreatorArgType = string

type AccessTokenGetCreatorAttributeType

type AccessTokenGetCreatorAttributeType = *string

isNotNullableString

type AccessTokenGetCreatorRetType

type AccessTokenGetCreatorRetType = string

type AccessTokenGetDescriptionArgType

type AccessTokenGetDescriptionArgType = string

type AccessTokenGetDescriptionAttributeType

type AccessTokenGetDescriptionAttributeType = *string

isNotNullableString

type AccessTokenGetDescriptionRetType

type AccessTokenGetDescriptionRetType = string

type AccessTokenGetDisplayNameArgType

type AccessTokenGetDisplayNameArgType = string

type AccessTokenGetDisplayNameAttributeType

type AccessTokenGetDisplayNameAttributeType = *string

isNotNullableString

type AccessTokenGetDisplayNameRetType

type AccessTokenGetDisplayNameRetType = string

type AccessTokenGetIdArgType

type AccessTokenGetIdArgType = string

type AccessTokenGetIdAttributeType

type AccessTokenGetIdAttributeType = *string

isNotNullableString

type AccessTokenGetIdRetType

type AccessTokenGetIdRetType = string

type AccessTokenGetPermissionsArgType

type AccessTokenGetPermissionsArgType = []string

type AccessTokenGetPermissionsAttributeType

type AccessTokenGetPermissionsAttributeType = *[]string

isArray

type AccessTokenGetPermissionsRetType

type AccessTokenGetPermissionsRetType = []string

type AccessTokenGetStatusArgType

type AccessTokenGetStatusArgType = AccessTokenStatus

type AccessTokenGetStatusAttributeType

type AccessTokenGetStatusAttributeType = *AccessTokenStatus

type AccessTokenGetStatusRetType

type AccessTokenGetStatusRetType = AccessTokenStatus

type AccessTokenGetValidUntilArgType

type AccessTokenGetValidUntilArgType = time.Time

type AccessTokenGetValidUntilAttributeType

type AccessTokenGetValidUntilAttributeType = *time.Time

isDateTime

type AccessTokenGetValidUntilRetType

type AccessTokenGetValidUntilRetType = time.Time

type AccessTokenList

type AccessTokenList struct {
	// REQUIRED
	Tokens AccessTokenListGetTokensAttributeType `json:"tokens" required:"true"`
}

AccessTokenList struct for AccessTokenList

func NewAccessTokenList

func NewAccessTokenList(tokens AccessTokenListGetTokensArgType) *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() (ret AccessTokenListGetTokensRetType)

GetTokens returns the Tokens field value

func (*AccessTokenList) GetTokensOk

func (o *AccessTokenList) GetTokensOk() (ret AccessTokenListGetTokensRetType, ok bool)

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

func (*AccessTokenList) SetTokens

SetTokens sets field value

func (AccessTokenList) ToMap

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

type AccessTokenListGetTokensArgType

type AccessTokenListGetTokensArgType = []AccessToken

type AccessTokenListGetTokensAttributeType

type AccessTokenListGetTokensAttributeType = *[]AccessToken

isArray

type AccessTokenListGetTokensRetType

type AccessTokenListGetTokensRetType = []AccessToken

type AccessTokenStatus

type AccessTokenStatus string

AccessTokenStatus the model 'AccessToken' value type for enums

const (
	ACCESSTOKENSTATUS_ACTIVE  AccessTokenStatus = "active"
	ACCESSTOKENSTATUS_EXPIRED AccessTokenStatus = "expired"
)

List of Status

func NewAccessTokenStatusFromValue

func NewAccessTokenStatusFromValue(v AccessTokenStatus) (*AccessTokenStatus, error)

NewAccessTokenStatusFromValue returns a pointer to a valid AccessTokenStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (AccessTokenStatus) IsValid

func (v AccessTokenStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (AccessTokenStatus) Ptr

Ptr returns reference to StatusStatus value

func (*AccessTokenStatus) UnmarshalJSON

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

type AccessTokengetExpiresArgType

type AccessTokengetExpiresArgType = bool

type AccessTokengetExpiresAttributeType

type AccessTokengetExpiresAttributeType = *bool

isBoolean

type AccessTokengetExpiresRetType

type AccessTokengetExpiresRetType = bool

type ApiCreateAccessTokenRequest

type ApiCreateAccessTokenRequest interface {
	CreateAccessTokenPayload(createAccessTokenPayload CreateAccessTokenPayload) ApiCreateAccessTokenRequest
	Execute() (*AccessToken, error)
}

type ApiCreateLogsInstanceRequest

type ApiCreateLogsInstanceRequest interface {
	CreateLogsInstancePayload(createLogsInstancePayload CreateLogsInstancePayload) ApiCreateLogsInstanceRequest
	Execute() (*LogsInstance, error)
}

type ApiDeleteAccessTokenRequest

type ApiDeleteAccessTokenRequest interface {
	Execute() error
}

type ApiDeleteAllAccessTokensRequest

type ApiDeleteAllAccessTokensRequest interface {
	Execute() (*AccessTokenList, error)
}

type ApiDeleteAllExpiredAccessTokensRequest

type ApiDeleteAllExpiredAccessTokensRequest interface {
	Execute() (*AccessTokenList, error)
}

type ApiDeleteLogsInstanceRequest

type ApiDeleteLogsInstanceRequest interface {
	Execute() error
}

type ApiGetAccessTokenRequest added in v0.2.0

type ApiGetAccessTokenRequest interface {
	Execute() (*AccessToken, error)
}

type ApiGetLogsInstanceRequest

type ApiGetLogsInstanceRequest interface {
	Execute() (*LogsInstance, error)
}

type ApiListAccessTokensRequest

type ApiListAccessTokensRequest interface {
	Execute() (*AccessTokenList, error)
}

type ApiListLogsInstancesRequest

type ApiListLogsInstancesRequest interface {
	Execute() (*LogsInstancesList, error)
}

type ApiUpdateAccessTokenRequest

type ApiUpdateAccessTokenRequest interface {
	UpdateAccessTokenPayload(updateAccessTokenPayload UpdateAccessTokenPayload) ApiUpdateAccessTokenRequest
	Execute() error
}

type ApiUpdateLogsInstanceRequest

type ApiUpdateLogsInstanceRequest interface {
	UpdateLogsInstancePayload(updateLogsInstancePayload UpdateLogsInstancePayload) ApiUpdateLogsInstanceRequest
	Execute() (*LogsInstance, error)
}

type CreateAccessTokenPayload

type CreateAccessTokenPayload struct {
	// The description of the access token.
	Description CreateAccessTokenPayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// The displayed name of the access token.
	// REQUIRED
	DisplayName CreateAccessTokenPayloadGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// A lifetime period for an access token in days. If unset the token will not expire.
	// Can be cast to int32 without loss of precision.
	Lifetime CreateAccessTokenPayloadGetLifetimeAttributeType `json:"lifetime,omitempty"`
	// The access permissions granted to the access token.
	// REQUIRED
	Permissions CreateAccessTokenPayloadGetPermissionsAttributeType `json:"permissions" required:"true"`
}

CreateAccessTokenPayload struct for CreateAccessTokenPayload

func NewCreateAccessTokenPayload

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

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

func (*CreateAccessTokenPayload) GetDescriptionOk

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

GetDisplayName returns the DisplayName field value

func (*CreateAccessTokenPayload) GetDisplayNameOk

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

func (*CreateAccessTokenPayload) GetLifetime

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

func (*CreateAccessTokenPayload) GetLifetimeOk

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

GetPermissions returns the Permissions field value

func (*CreateAccessTokenPayload) GetPermissionsOk

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

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

func (*CreateAccessTokenPayload) SetDisplayName

SetDisplayName sets field value

func (*CreateAccessTokenPayload) SetLifetime

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

func (*CreateAccessTokenPayload) SetPermissions

SetPermissions sets field value

func (CreateAccessTokenPayload) ToMap

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

type CreateAccessTokenPayloadGetDescriptionArgType

type CreateAccessTokenPayloadGetDescriptionArgType = string

type CreateAccessTokenPayloadGetDescriptionAttributeType

type CreateAccessTokenPayloadGetDescriptionAttributeType = *string

isNotNullableString

type CreateAccessTokenPayloadGetDescriptionRetType

type CreateAccessTokenPayloadGetDescriptionRetType = string

type CreateAccessTokenPayloadGetDisplayNameArgType

type CreateAccessTokenPayloadGetDisplayNameArgType = string

type CreateAccessTokenPayloadGetDisplayNameAttributeType

type CreateAccessTokenPayloadGetDisplayNameAttributeType = *string

isNotNullableString

type CreateAccessTokenPayloadGetDisplayNameRetType

type CreateAccessTokenPayloadGetDisplayNameRetType = string

type CreateAccessTokenPayloadGetLifetimeArgType

type CreateAccessTokenPayloadGetLifetimeArgType = int64

type CreateAccessTokenPayloadGetLifetimeAttributeType

type CreateAccessTokenPayloadGetLifetimeAttributeType = *int64

isInteger

type CreateAccessTokenPayloadGetLifetimeRetType

type CreateAccessTokenPayloadGetLifetimeRetType = int64

type CreateAccessTokenPayloadGetPermissionsArgType

type CreateAccessTokenPayloadGetPermissionsArgType = []string

type CreateAccessTokenPayloadGetPermissionsAttributeType

type CreateAccessTokenPayloadGetPermissionsAttributeType = *[]string

isArray

type CreateAccessTokenPayloadGetPermissionsRetType

type CreateAccessTokenPayloadGetPermissionsRetType = []string

type CreateAccessTokenRequest

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

func (CreateAccessTokenRequest) CreateAccessTokenPayload

func (r CreateAccessTokenRequest) CreateAccessTokenPayload(createAccessTokenPayload CreateAccessTokenPayload) ApiCreateAccessTokenRequest

func (CreateAccessTokenRequest) Execute

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

type CreateLogsInstancePayload

type CreateLogsInstancePayload struct {
	// The access control list for the Logs instance.
	Acl CreateLogsInstancePayloadGetAclAttributeType `json:"acl,omitempty"`
	// The description of the access token.
	Description CreateLogsInstancePayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// The displayed name to distinguish multiple Logs instances.
	// REQUIRED
	DisplayName CreateLogsInstancePayloadGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// The log retention time in days.
	// Can be cast to int32 without loss of precision.
	// REQUIRED
	RetentionDays CreateLogsInstancePayloadGetRetentionDaysAttributeType `json:"retentionDays" required:"true"`
}

CreateLogsInstancePayload struct for CreateLogsInstancePayload

func NewCreateLogsInstancePayload

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

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

func (*CreateLogsInstancePayload) GetAclOk

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

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

func (*CreateLogsInstancePayload) GetDescriptionOk

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

GetDisplayName returns the DisplayName field value

func (*CreateLogsInstancePayload) GetDisplayNameOk

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

func (*CreateLogsInstancePayload) GetRetentionDays

GetRetentionDays returns the RetentionDays field value

func (*CreateLogsInstancePayload) GetRetentionDaysOk

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

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

func (*CreateLogsInstancePayload) SetDescription

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

func (*CreateLogsInstancePayload) SetDisplayName

SetDisplayName sets field value

func (*CreateLogsInstancePayload) SetRetentionDays

SetRetentionDays sets field value

func (CreateLogsInstancePayload) ToMap

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

type CreateLogsInstancePayloadGetAclArgType

type CreateLogsInstancePayloadGetAclArgType = []string

type CreateLogsInstancePayloadGetAclAttributeType

type CreateLogsInstancePayloadGetAclAttributeType = *[]string

isArray

type CreateLogsInstancePayloadGetAclRetType

type CreateLogsInstancePayloadGetAclRetType = []string

type CreateLogsInstancePayloadGetDescriptionArgType

type CreateLogsInstancePayloadGetDescriptionArgType = string

type CreateLogsInstancePayloadGetDescriptionAttributeType

type CreateLogsInstancePayloadGetDescriptionAttributeType = *string

isNotNullableString

type CreateLogsInstancePayloadGetDescriptionRetType

type CreateLogsInstancePayloadGetDescriptionRetType = string

type CreateLogsInstancePayloadGetDisplayNameArgType

type CreateLogsInstancePayloadGetDisplayNameArgType = string

type CreateLogsInstancePayloadGetDisplayNameAttributeType

type CreateLogsInstancePayloadGetDisplayNameAttributeType = *string

isNotNullableString

type CreateLogsInstancePayloadGetDisplayNameRetType

type CreateLogsInstancePayloadGetDisplayNameRetType = string

type CreateLogsInstancePayloadGetRetentionDaysArgType

type CreateLogsInstancePayloadGetRetentionDaysArgType = int64

type CreateLogsInstancePayloadGetRetentionDaysAttributeType

type CreateLogsInstancePayloadGetRetentionDaysAttributeType = *int64

isInteger

type CreateLogsInstancePayloadGetRetentionDaysRetType

type CreateLogsInstancePayloadGetRetentionDaysRetType = int64

type CreateLogsInstanceRequest

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

func (CreateLogsInstanceRequest) CreateLogsInstancePayload

func (r CreateLogsInstanceRequest) CreateLogsInstancePayload(createLogsInstancePayload CreateLogsInstancePayload) ApiCreateLogsInstanceRequest

func (CreateLogsInstanceRequest) Execute

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

		@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 AccessToken

	*/
	CreateAccessTokenExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*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

		@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 LogsInstance

	*/
	CreateLogsInstanceExecute(ctx context.Context, projectId string, regionId string) (*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(ctx context.Context, projectId string, regionId string, instanceId string, tId string) 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

		@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 AccessTokenList

	*/
	DeleteAllAccessTokensExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*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

		@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 AccessTokenList

	*/
	DeleteAllExpiredAccessTokensExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*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(ctx context.Context, projectId string, regionId string, instanceId string) 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

		@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 AccessToken

	*/
	GetAccessTokenExecute(ctx context.Context, projectId string, regionId string, instanceId string, tId string) (*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

		@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 LogsInstance

	*/
	GetLogsInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*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

		@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 AccessTokenList

	*/
	ListAccessTokensExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*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

		@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 LogsInstancesList

	*/
	ListLogsInstancesExecute(ctx context.Context, projectId string, regionId string) (*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(ctx context.Context, projectId string, regionId string, instanceId string, tId string) 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

		@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 LogsInstance

	*/
	UpdateLogsInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*LogsInstance, error)
}

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

type DeleteAccessTokenRequest

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

func (DeleteAccessTokenRequest) Execute

func (r DeleteAccessTokenRequest) Execute() error

type DeleteAllAccessTokensRequest

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

func (DeleteAllAccessTokensRequest) Execute

type DeleteAllExpiredAccessTokensRequest

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

func (DeleteAllExpiredAccessTokensRequest) Execute

type DeleteLogsInstanceRequest

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

func (DeleteLogsInstanceRequest) Execute

func (r DeleteLogsInstanceRequest) Execute() error

type GetAccessTokenRequest added in v0.2.0

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

func (GetAccessTokenRequest) Execute added in v0.2.0

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

type GetLogsInstanceRequest

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

func (GetLogsInstanceRequest) Execute

func (r GetLogsInstanceRequest) Execute() (*LogsInstance, error)

type ListAccessTokensRequest

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

func (ListAccessTokensRequest) Execute

type ListLogsInstancesRequest

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

func (ListLogsInstancesRequest) Execute

type LogsInstance

type LogsInstance struct {
	// The access control list for the Logs instance.
	Acl LogsInstanceGetAclAttributeType `json:"acl,omitempty"`
	// The date and time the creation of the Logs instance was triggered.
	// REQUIRED
	Created LogsInstanceGetCreatedAttributeType `json:"created" required:"true"`
	// The Logs instance's datasource URL, can be used in Grafana as a datasource URL
	DatasourceUrl LogsInstanceGetDatasourceUrlAttributeType `json:"datasourceUrl,omitempty"`
	// The description of the Logs instance.
	Description LogsInstanceGetDescriptionAttributeType `json:"description,omitempty"`
	// The displayed name of the Logs instance.
	// REQUIRED
	DisplayName LogsInstanceGetDisplayNameAttributeType `json:"displayName" required:"true"`
	// A auto generated unique id which identifies the Logs instance.
	// REQUIRED
	Id LogsInstanceGetIdAttributeType `json:"id" required:"true"`
	// The Logs instance's ingest logs via OTLP URL
	IngestOtlpUrl LogsInstanceGetIngestOtlpUrlAttributeType `json:"ingestOtlpUrl,omitempty"`
	// The Logs instance's ingest logs URL
	IngestUrl LogsInstanceGetIngestUrlAttributeType `json:"ingestUrl,omitempty"`
	// The Logs instance's query range URL
	QueryRangeUrl LogsInstanceGetQueryRangeUrlAttributeType `json:"queryRangeUrl,omitempty"`
	// The Logs instance's query  URL
	QueryUrl LogsInstanceGetQueryUrlAttributeType `json:"queryUrl,omitempty"`
	// The log retention time in days.
	// Can be cast to int32 without loss of precision.
	// REQUIRED
	RetentionDays LogsInstanceGetRetentionDaysAttributeType `json:"retentionDays" required:"true"`
	// The current status of the Logs instance.
	// REQUIRED
	Status LogsInstanceGetStatusAttributeType `json:"status" required:"true"`
}

LogsInstance struct for LogsInstance

func NewLogsInstance

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() (res LogsInstanceGetAclRetType)

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

func (*LogsInstance) GetAclOk

func (o *LogsInstance) GetAclOk() (ret LogsInstanceGetAclRetType, ok 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() (ret LogsInstanceGetCreatedRetType)

GetCreated returns the Created field value

func (*LogsInstance) GetCreatedOk

func (o *LogsInstance) GetCreatedOk() (ret LogsInstanceGetCreatedRetType, ok 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() (res LogsInstanceGetDatasourceUrlRetType)

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

func (*LogsInstance) GetDatasourceUrlOk

func (o *LogsInstance) GetDatasourceUrlOk() (ret LogsInstanceGetDatasourceUrlRetType, ok 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() (res LogsInstanceGetDescriptionRetType)

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

func (*LogsInstance) GetDescriptionOk

func (o *LogsInstance) GetDescriptionOk() (ret LogsInstanceGetDescriptionRetType, ok 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() (ret LogsInstanceGetDisplayNameRetType)

GetDisplayName returns the DisplayName field value

func (*LogsInstance) GetDisplayNameOk

func (o *LogsInstance) GetDisplayNameOk() (ret LogsInstanceGetDisplayNameRetType, ok 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() (ret LogsInstanceGetIdRetType)

GetId returns the Id field value

func (*LogsInstance) GetIdOk

func (o *LogsInstance) GetIdOk() (ret LogsInstanceGetIdRetType, ok 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() (res LogsInstanceGetIngestOtlpUrlRetType)

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

func (*LogsInstance) GetIngestOtlpUrlOk

func (o *LogsInstance) GetIngestOtlpUrlOk() (ret LogsInstanceGetIngestOtlpUrlRetType, ok 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() (res LogsInstanceGetIngestUrlRetType)

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

func (*LogsInstance) GetIngestUrlOk

func (o *LogsInstance) GetIngestUrlOk() (ret LogsInstanceGetIngestUrlRetType, ok 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() (res LogsInstanceGetQueryRangeUrlRetType)

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

func (*LogsInstance) GetQueryRangeUrlOk

func (o *LogsInstance) GetQueryRangeUrlOk() (ret LogsInstanceGetQueryRangeUrlRetType, ok 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() (res LogsInstanceGetQueryUrlRetType)

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

func (*LogsInstance) GetQueryUrlOk

func (o *LogsInstance) GetQueryUrlOk() (ret LogsInstanceGetQueryUrlRetType, ok 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() (ret LogsInstanceGetRetentionDaysRetType)

GetRetentionDays returns the RetentionDays field value

func (*LogsInstance) GetRetentionDaysOk

func (o *LogsInstance) GetRetentionDaysOk() (ret LogsInstanceGetRetentionDaysRetType, ok 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() (ret LogsInstanceGetStatusRetType)

GetStatus returns the Status field value

func (*LogsInstance) GetStatusOk

func (o *LogsInstance) GetStatusOk() (ret LogsInstanceGetStatusRetType, ok 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) SetAcl

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

func (*LogsInstance) SetCreated

SetCreated sets field value

func (*LogsInstance) SetDatasourceUrl

func (o *LogsInstance) SetDatasourceUrl(v LogsInstanceGetDatasourceUrlRetType)

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

func (*LogsInstance) SetDescription

func (o *LogsInstance) SetDescription(v LogsInstanceGetDescriptionRetType)

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

func (*LogsInstance) SetDisplayName

func (o *LogsInstance) SetDisplayName(v LogsInstanceGetDisplayNameRetType)

SetDisplayName sets field value

func (*LogsInstance) SetId

SetId sets field value

func (*LogsInstance) SetIngestOtlpUrl

func (o *LogsInstance) SetIngestOtlpUrl(v LogsInstanceGetIngestOtlpUrlRetType)

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

func (*LogsInstance) SetIngestUrl

func (o *LogsInstance) SetIngestUrl(v LogsInstanceGetIngestUrlRetType)

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

func (*LogsInstance) SetQueryRangeUrl

func (o *LogsInstance) SetQueryRangeUrl(v LogsInstanceGetQueryRangeUrlRetType)

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

func (*LogsInstance) SetQueryUrl

func (o *LogsInstance) SetQueryUrl(v LogsInstanceGetQueryUrlRetType)

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

func (*LogsInstance) SetRetentionDays

func (o *LogsInstance) SetRetentionDays(v LogsInstanceGetRetentionDaysRetType)

SetRetentionDays sets field value

func (*LogsInstance) SetStatus

SetStatus sets field value

func (LogsInstance) ToMap

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

type LogsInstanceGetAclArgType

type LogsInstanceGetAclArgType = []string

type LogsInstanceGetAclAttributeType

type LogsInstanceGetAclAttributeType = *[]string

isArray

type LogsInstanceGetAclRetType

type LogsInstanceGetAclRetType = []string

type LogsInstanceGetCreatedArgType

type LogsInstanceGetCreatedArgType = time.Time

type LogsInstanceGetCreatedAttributeType

type LogsInstanceGetCreatedAttributeType = *time.Time

isDateTime

type LogsInstanceGetCreatedRetType

type LogsInstanceGetCreatedRetType = time.Time

type LogsInstanceGetDatasourceUrlArgType

type LogsInstanceGetDatasourceUrlArgType = string

type LogsInstanceGetDatasourceUrlAttributeType

type LogsInstanceGetDatasourceUrlAttributeType = *string

isNotNullableString

type LogsInstanceGetDatasourceUrlRetType

type LogsInstanceGetDatasourceUrlRetType = string

type LogsInstanceGetDescriptionArgType

type LogsInstanceGetDescriptionArgType = string

type LogsInstanceGetDescriptionAttributeType

type LogsInstanceGetDescriptionAttributeType = *string

isNotNullableString

type LogsInstanceGetDescriptionRetType

type LogsInstanceGetDescriptionRetType = string

type LogsInstanceGetDisplayNameArgType

type LogsInstanceGetDisplayNameArgType = string

type LogsInstanceGetDisplayNameAttributeType

type LogsInstanceGetDisplayNameAttributeType = *string

isNotNullableString

type LogsInstanceGetDisplayNameRetType

type LogsInstanceGetDisplayNameRetType = string

type LogsInstanceGetIdArgType

type LogsInstanceGetIdArgType = string

type LogsInstanceGetIdAttributeType

type LogsInstanceGetIdAttributeType = *string

isNotNullableString

type LogsInstanceGetIdRetType

type LogsInstanceGetIdRetType = string

type LogsInstanceGetIngestOtlpUrlArgType

type LogsInstanceGetIngestOtlpUrlArgType = string

type LogsInstanceGetIngestOtlpUrlAttributeType

type LogsInstanceGetIngestOtlpUrlAttributeType = *string

isNotNullableString

type LogsInstanceGetIngestOtlpUrlRetType

type LogsInstanceGetIngestOtlpUrlRetType = string

type LogsInstanceGetIngestUrlArgType

type LogsInstanceGetIngestUrlArgType = string

type LogsInstanceGetIngestUrlAttributeType

type LogsInstanceGetIngestUrlAttributeType = *string

isNotNullableString

type LogsInstanceGetIngestUrlRetType

type LogsInstanceGetIngestUrlRetType = string

type LogsInstanceGetQueryRangeUrlArgType

type LogsInstanceGetQueryRangeUrlArgType = string

type LogsInstanceGetQueryRangeUrlAttributeType

type LogsInstanceGetQueryRangeUrlAttributeType = *string

isNotNullableString

type LogsInstanceGetQueryRangeUrlRetType

type LogsInstanceGetQueryRangeUrlRetType = string

type LogsInstanceGetQueryUrlArgType

type LogsInstanceGetQueryUrlArgType = string

type LogsInstanceGetQueryUrlAttributeType

type LogsInstanceGetQueryUrlAttributeType = *string

isNotNullableString

type LogsInstanceGetQueryUrlRetType

type LogsInstanceGetQueryUrlRetType = string

type LogsInstanceGetRetentionDaysArgType

type LogsInstanceGetRetentionDaysArgType = int64

type LogsInstanceGetRetentionDaysAttributeType

type LogsInstanceGetRetentionDaysAttributeType = *int64

isInteger

type LogsInstanceGetRetentionDaysRetType

type LogsInstanceGetRetentionDaysRetType = int64

type LogsInstanceGetStatusArgType

type LogsInstanceGetStatusArgType = LogsInstanceStatus

type LogsInstanceGetStatusAttributeType

type LogsInstanceGetStatusAttributeType = *LogsInstanceStatus

type LogsInstanceGetStatusRetType

type LogsInstanceGetStatusRetType = LogsInstanceStatus

type LogsInstanceStatus

type LogsInstanceStatus string

LogsInstanceStatus The current status of the Logs instance. value type for enums

const (
	LOGSINSTANCESTATUS_ACTIVE      LogsInstanceStatus = "active"
	LOGSINSTANCESTATUS_DELETING    LogsInstanceStatus = "deleting"
	LOGSINSTANCESTATUS_RECONCILING LogsInstanceStatus = "reconciling"
)

List of Status

func NewLogsInstanceStatusFromValue

func NewLogsInstanceStatusFromValue(v LogsInstanceStatus) (*LogsInstanceStatus, error)

NewLogsInstanceStatusFromValue returns a pointer to a valid LogsInstanceStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (LogsInstanceStatus) IsValid

func (v LogsInstanceStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (LogsInstanceStatus) Ptr

Ptr returns reference to StatusStatus value

func (*LogsInstanceStatus) UnmarshalJSON

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

type LogsInstancesList

type LogsInstancesList struct {
	// REQUIRED
	Instances LogsInstancesListGetInstancesAttributeType `json:"instances" required:"true"`
}

LogsInstancesList struct for LogsInstancesList

func NewLogsInstancesList

func NewLogsInstancesList(instances LogsInstancesListGetInstancesArgType) *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

GetInstances returns the Instances field value

func (*LogsInstancesList) GetInstancesOk

func (o *LogsInstancesList) GetInstancesOk() (ret LogsInstancesListGetInstancesRetType, ok bool)

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

func (*LogsInstancesList) SetInstances

SetInstances sets field value

func (LogsInstancesList) ToMap

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

type LogsInstancesListGetInstancesArgType

type LogsInstancesListGetInstancesArgType = []LogsInstance

type LogsInstancesListGetInstancesAttributeType

type LogsInstancesListGetInstancesAttributeType = *[]LogsInstance

isArray

type LogsInstancesListGetInstancesRetType

type LogsInstancesListGetInstancesRetType = []LogsInstance

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 NullableAccessTokenStatus

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

func NewNullableAccessTokenStatus

func NewNullableAccessTokenStatus(val *AccessTokenStatus) *NullableAccessTokenStatus

func (NullableAccessTokenStatus) Get

func (NullableAccessTokenStatus) IsSet

func (v NullableAccessTokenStatus) IsSet() bool

func (NullableAccessTokenStatus) MarshalJSON

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

func (*NullableAccessTokenStatus) Set

func (*NullableAccessTokenStatus) UnmarshalJSON

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

func (*NullableAccessTokenStatus) Unset

func (v *NullableAccessTokenStatus) 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 NullableLogsInstanceStatus

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

func NewNullableLogsInstanceStatus

func NewNullableLogsInstanceStatus(val *LogsInstanceStatus) *NullableLogsInstanceStatus

func (NullableLogsInstanceStatus) Get

func (NullableLogsInstanceStatus) IsSet

func (v NullableLogsInstanceStatus) IsSet() bool

func (NullableLogsInstanceStatus) MarshalJSON

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

func (*NullableLogsInstanceStatus) Set

func (*NullableLogsInstanceStatus) UnmarshalJSON

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

func (*NullableLogsInstanceStatus) Unset

func (v *NullableLogsInstanceStatus) 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 NullableValue

type NullableValue[T any] struct {
	// contains filtered or unexported fields
}

func (NullableValue[T]) Get

func (v NullableValue[T]) Get() *T

func (NullableValue[T]) IsSet

func (v NullableValue[T]) IsSet() bool

func (*NullableValue[T]) Set

func (v *NullableValue[T]) Set(val *T)

func (*NullableValue[T]) Unset

func (v *NullableValue[T]) Unset()

type UpdateAccessTokenPayload

type UpdateAccessTokenPayload struct {
	// The description of the access token.
	Description UpdateAccessTokenPayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// The displayed name of the access token.
	DisplayName UpdateAccessTokenPayloadGetDisplayNameAttributeType `json:"displayName,omitempty"`
}

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

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

func (*UpdateAccessTokenPayload) GetDescriptionOk

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

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

func (*UpdateAccessTokenPayload) GetDisplayNameOk

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

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

func (*UpdateAccessTokenPayload) SetDisplayName

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 UpdateAccessTokenPayloadGetDescriptionArgType

type UpdateAccessTokenPayloadGetDescriptionArgType = string

type UpdateAccessTokenPayloadGetDescriptionAttributeType

type UpdateAccessTokenPayloadGetDescriptionAttributeType = *string

isNotNullableString

type UpdateAccessTokenPayloadGetDescriptionRetType

type UpdateAccessTokenPayloadGetDescriptionRetType = string

type UpdateAccessTokenPayloadGetDisplayNameArgType

type UpdateAccessTokenPayloadGetDisplayNameArgType = string

type UpdateAccessTokenPayloadGetDisplayNameAttributeType

type UpdateAccessTokenPayloadGetDisplayNameAttributeType = *string

isNotNullableString

type UpdateAccessTokenPayloadGetDisplayNameRetType

type UpdateAccessTokenPayloadGetDisplayNameRetType = string

type UpdateAccessTokenRequest

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

func (UpdateAccessTokenRequest) Execute

func (r UpdateAccessTokenRequest) Execute() error

func (UpdateAccessTokenRequest) UpdateAccessTokenPayload

func (r UpdateAccessTokenRequest) UpdateAccessTokenPayload(updateAccessTokenPayload UpdateAccessTokenPayload) ApiUpdateAccessTokenRequest

type UpdateLogsInstancePayload

type UpdateLogsInstancePayload struct {
	// The access control list for the Logs instance.
	Acl UpdateLogsInstancePayloadGetAclAttributeType `json:"acl,omitempty"`
	// The description of the Logs instance.
	Description UpdateLogsInstancePayloadGetDescriptionAttributeType `json:"description,omitempty"`
	// The displayed name to distinguish multiple Logs instances.
	DisplayName UpdateLogsInstancePayloadGetDisplayNameAttributeType `json:"displayName,omitempty"`
	// The log retention time in days.
	// Can be cast to int32 without loss of precision.
	RetentionDays UpdateLogsInstancePayloadGetRetentionDaysAttributeType `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

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

func (*UpdateLogsInstancePayload) GetAclOk

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

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

func (*UpdateLogsInstancePayload) GetDescriptionOk

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

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

func (*UpdateLogsInstancePayload) GetDisplayNameOk

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

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

func (*UpdateLogsInstancePayload) GetRetentionDaysOk

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

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

func (*UpdateLogsInstancePayload) SetDescription

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

func (*UpdateLogsInstancePayload) SetDisplayName

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

func (*UpdateLogsInstancePayload) SetRetentionDays

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

func (UpdateLogsInstancePayload) ToMap

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

type UpdateLogsInstancePayloadGetAclArgType

type UpdateLogsInstancePayloadGetAclArgType = []string

type UpdateLogsInstancePayloadGetAclAttributeType

type UpdateLogsInstancePayloadGetAclAttributeType = *[]string

isArray

type UpdateLogsInstancePayloadGetAclRetType

type UpdateLogsInstancePayloadGetAclRetType = []string

type UpdateLogsInstancePayloadGetDescriptionArgType

type UpdateLogsInstancePayloadGetDescriptionArgType = string

type UpdateLogsInstancePayloadGetDescriptionAttributeType

type UpdateLogsInstancePayloadGetDescriptionAttributeType = *string

isNotNullableString

type UpdateLogsInstancePayloadGetDescriptionRetType

type UpdateLogsInstancePayloadGetDescriptionRetType = string

type UpdateLogsInstancePayloadGetDisplayNameArgType

type UpdateLogsInstancePayloadGetDisplayNameArgType = string

type UpdateLogsInstancePayloadGetDisplayNameAttributeType

type UpdateLogsInstancePayloadGetDisplayNameAttributeType = *string

isNotNullableString

type UpdateLogsInstancePayloadGetDisplayNameRetType

type UpdateLogsInstancePayloadGetDisplayNameRetType = string

type UpdateLogsInstancePayloadGetRetentionDaysArgType

type UpdateLogsInstancePayloadGetRetentionDaysArgType = int64

type UpdateLogsInstancePayloadGetRetentionDaysAttributeType

type UpdateLogsInstancePayloadGetRetentionDaysAttributeType = *int64

isInteger

type UpdateLogsInstancePayloadGetRetentionDaysRetType

type UpdateLogsInstancePayloadGetRetentionDaysRetType = int64

type UpdateLogsInstanceRequest

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

func (UpdateLogsInstanceRequest) Execute

func (UpdateLogsInstanceRequest) UpdateLogsInstancePayload

func (r UpdateLogsInstanceRequest) UpdateLogsInstancePayload(updateLogsInstancePayload UpdateLogsInstancePayload) ApiUpdateLogsInstanceRequest

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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