Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- func (a *APIClient) CreateAccessToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateAccessTokenRequest
- func (a *APIClient) CreateAccessTokenExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*AccessToken, error)
- func (a *APIClient) CreateLogsInstance(ctx context.Context, projectId string, regionId string) ApiCreateLogsInstanceRequest
- func (a *APIClient) CreateLogsInstanceExecute(ctx context.Context, projectId string, regionId string) (*LogsInstance, error)
- func (a *APIClient) DeleteAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, ...) ApiDeleteAccessTokenRequest
- func (a *APIClient) DeleteAccessTokenExecute(ctx context.Context, projectId string, regionId string, instanceId string, ...) error
- func (a *APIClient) DeleteAllAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllAccessTokensRequest
- func (a *APIClient) DeleteAllAccessTokensExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*AccessTokenList, error)
- func (a *APIClient) DeleteAllExpiredAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllExpiredAccessTokensRequest
- func (a *APIClient) DeleteAllExpiredAccessTokensExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*AccessTokenList, error)
- func (a *APIClient) DeleteLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteLogsInstanceRequest
- func (a *APIClient) DeleteLogsInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) error
- func (a *APIClient) GetAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, ...) ApiGetAccessTokenRequest
- func (a *APIClient) GetAccessTokenExecute(ctx context.Context, projectId string, regionId string, instanceId string, ...) (*AccessToken, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetLogsInstanceRequest
- func (a *APIClient) GetLogsInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*LogsInstance, error)
- func (a *APIClient) ListAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListAccessTokensRequest
- func (a *APIClient) ListAccessTokensExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*AccessTokenList, error)
- func (a *APIClient) ListLogsInstances(ctx context.Context, projectId string, regionId string) ApiListLogsInstancesRequest
- func (a *APIClient) ListLogsInstancesExecute(ctx context.Context, projectId string, regionId string) (*LogsInstancesList, error)
- func (a *APIClient) UpdateAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, ...) ApiUpdateAccessTokenRequest
- func (a *APIClient) UpdateAccessTokenExecute(ctx context.Context, projectId string, regionId string, instanceId string, ...) error
- func (a *APIClient) UpdateLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateLogsInstanceRequest
- func (a *APIClient) UpdateLogsInstanceExecute(ctx context.Context, projectId string, regionId string, instanceId string) (*LogsInstance, error)
- type AccessToken
- func (o *AccessToken) GetAccessToken() (res AccessTokenGetAccessTokenRetType)
- func (o *AccessToken) GetAccessTokenOk() (ret AccessTokenGetAccessTokenRetType, ok bool)
- func (o *AccessToken) GetCreator() (ret AccessTokenGetCreatorRetType)
- func (o *AccessToken) GetCreatorOk() (ret AccessTokenGetCreatorRetType, ok bool)
- func (o *AccessToken) GetDescription() (res AccessTokenGetDescriptionRetType)
- func (o *AccessToken) GetDescriptionOk() (ret AccessTokenGetDescriptionRetType, ok bool)
- func (o *AccessToken) GetDisplayName() (ret AccessTokenGetDisplayNameRetType)
- func (o *AccessToken) GetDisplayNameOk() (ret AccessTokenGetDisplayNameRetType, ok bool)
- func (o *AccessToken) GetExpires() (ret AccessTokengetExpiresRetType)
- func (o *AccessToken) GetExpiresOk() (ret AccessTokengetExpiresRetType, ok bool)
- func (o *AccessToken) GetId() (ret AccessTokenGetIdRetType)
- func (o *AccessToken) GetIdOk() (ret AccessTokenGetIdRetType, ok bool)
- func (o *AccessToken) GetPermissions() (ret AccessTokenGetPermissionsRetType)
- func (o *AccessToken) GetPermissionsOk() (ret AccessTokenGetPermissionsRetType, ok bool)
- func (o *AccessToken) GetStatus() (ret AccessTokenGetStatusRetType)
- func (o *AccessToken) GetStatusOk() (ret AccessTokenGetStatusRetType, ok bool)
- func (o *AccessToken) GetValidUntil() (res AccessTokenGetValidUntilRetType)
- func (o *AccessToken) GetValidUntilOk() (ret AccessTokenGetValidUntilRetType, ok bool)
- func (o *AccessToken) HasAccessToken() bool
- func (o *AccessToken) HasDescription() bool
- func (o *AccessToken) HasValidUntil() bool
- func (o *AccessToken) SetAccessToken(v AccessTokenGetAccessTokenRetType)
- func (o *AccessToken) SetCreator(v AccessTokenGetCreatorRetType)
- func (o *AccessToken) SetDescription(v AccessTokenGetDescriptionRetType)
- func (o *AccessToken) SetDisplayName(v AccessTokenGetDisplayNameRetType)
- func (o *AccessToken) SetExpires(v AccessTokengetExpiresRetType)
- func (o *AccessToken) SetId(v AccessTokenGetIdRetType)
- func (o *AccessToken) SetPermissions(v AccessTokenGetPermissionsRetType)
- func (o *AccessToken) SetStatus(v AccessTokenGetStatusRetType)
- func (o *AccessToken) SetValidUntil(v AccessTokenGetValidUntilRetType)
- func (o AccessToken) ToMap() (map[string]interface{}, error)
- type AccessTokenGetAccessTokenArgType
- type AccessTokenGetAccessTokenAttributeType
- type AccessTokenGetAccessTokenRetType
- type AccessTokenGetCreatorArgType
- type AccessTokenGetCreatorAttributeType
- type AccessTokenGetCreatorRetType
- type AccessTokenGetDescriptionArgType
- type AccessTokenGetDescriptionAttributeType
- type AccessTokenGetDescriptionRetType
- type AccessTokenGetDisplayNameArgType
- type AccessTokenGetDisplayNameAttributeType
- type AccessTokenGetDisplayNameRetType
- type AccessTokenGetIdArgType
- type AccessTokenGetIdAttributeType
- type AccessTokenGetIdRetType
- type AccessTokenGetPermissionsArgType
- type AccessTokenGetPermissionsAttributeType
- type AccessTokenGetPermissionsRetType
- type AccessTokenGetStatusArgType
- type AccessTokenGetStatusAttributeType
- type AccessTokenGetStatusRetType
- type AccessTokenGetValidUntilArgType
- type AccessTokenGetValidUntilAttributeType
- type AccessTokenGetValidUntilRetType
- type AccessTokenList
- type AccessTokenListGetTokensArgType
- type AccessTokenListGetTokensAttributeType
- type AccessTokenListGetTokensRetType
- type AccessTokenStatus
- type AccessTokengetExpiresArgType
- type AccessTokengetExpiresAttributeType
- type AccessTokengetExpiresRetType
- type ApiCreateAccessTokenRequest
- type ApiCreateLogsInstanceRequest
- type ApiDeleteAccessTokenRequest
- type ApiDeleteAllAccessTokensRequest
- type ApiDeleteAllExpiredAccessTokensRequest
- type ApiDeleteLogsInstanceRequest
- type ApiGetAccessTokenRequest
- type ApiGetLogsInstanceRequest
- type ApiListAccessTokensRequest
- type ApiListLogsInstancesRequest
- type ApiUpdateAccessTokenRequest
- type ApiUpdateLogsInstanceRequest
- type CreateAccessTokenPayload
- func (o *CreateAccessTokenPayload) GetDescription() (res CreateAccessTokenPayloadGetDescriptionRetType)
- func (o *CreateAccessTokenPayload) GetDescriptionOk() (ret CreateAccessTokenPayloadGetDescriptionRetType, ok bool)
- func (o *CreateAccessTokenPayload) GetDisplayName() (ret CreateAccessTokenPayloadGetDisplayNameRetType)
- func (o *CreateAccessTokenPayload) GetDisplayNameOk() (ret CreateAccessTokenPayloadGetDisplayNameRetType, ok bool)
- func (o *CreateAccessTokenPayload) GetLifetime() (res CreateAccessTokenPayloadGetLifetimeRetType)
- func (o *CreateAccessTokenPayload) GetLifetimeOk() (ret CreateAccessTokenPayloadGetLifetimeRetType, ok bool)
- func (o *CreateAccessTokenPayload) GetPermissions() (ret CreateAccessTokenPayloadGetPermissionsRetType)
- func (o *CreateAccessTokenPayload) GetPermissionsOk() (ret CreateAccessTokenPayloadGetPermissionsRetType, ok bool)
- func (o *CreateAccessTokenPayload) HasDescription() bool
- func (o *CreateAccessTokenPayload) HasLifetime() bool
- func (o *CreateAccessTokenPayload) SetDescription(v CreateAccessTokenPayloadGetDescriptionRetType)
- func (o *CreateAccessTokenPayload) SetDisplayName(v CreateAccessTokenPayloadGetDisplayNameRetType)
- func (o *CreateAccessTokenPayload) SetLifetime(v CreateAccessTokenPayloadGetLifetimeRetType)
- func (o *CreateAccessTokenPayload) SetPermissions(v CreateAccessTokenPayloadGetPermissionsRetType)
- func (o CreateAccessTokenPayload) ToMap() (map[string]interface{}, error)
- type CreateAccessTokenPayloadGetDescriptionArgType
- type CreateAccessTokenPayloadGetDescriptionAttributeType
- type CreateAccessTokenPayloadGetDescriptionRetType
- type CreateAccessTokenPayloadGetDisplayNameArgType
- type CreateAccessTokenPayloadGetDisplayNameAttributeType
- type CreateAccessTokenPayloadGetDisplayNameRetType
- type CreateAccessTokenPayloadGetLifetimeArgType
- type CreateAccessTokenPayloadGetLifetimeAttributeType
- type CreateAccessTokenPayloadGetLifetimeRetType
- type CreateAccessTokenPayloadGetPermissionsArgType
- type CreateAccessTokenPayloadGetPermissionsAttributeType
- type CreateAccessTokenPayloadGetPermissionsRetType
- type CreateAccessTokenRequest
- type CreateLogsInstancePayload
- func (o *CreateLogsInstancePayload) GetAcl() (res CreateLogsInstancePayloadGetAclRetType)
- func (o *CreateLogsInstancePayload) GetAclOk() (ret CreateLogsInstancePayloadGetAclRetType, ok bool)
- func (o *CreateLogsInstancePayload) GetDescription() (res CreateLogsInstancePayloadGetDescriptionRetType)
- func (o *CreateLogsInstancePayload) GetDescriptionOk() (ret CreateLogsInstancePayloadGetDescriptionRetType, ok bool)
- func (o *CreateLogsInstancePayload) GetDisplayName() (ret CreateLogsInstancePayloadGetDisplayNameRetType)
- func (o *CreateLogsInstancePayload) GetDisplayNameOk() (ret CreateLogsInstancePayloadGetDisplayNameRetType, ok bool)
- func (o *CreateLogsInstancePayload) GetRetentionDays() (ret CreateLogsInstancePayloadGetRetentionDaysRetType)
- func (o *CreateLogsInstancePayload) GetRetentionDaysOk() (ret CreateLogsInstancePayloadGetRetentionDaysRetType, ok bool)
- func (o *CreateLogsInstancePayload) HasAcl() bool
- func (o *CreateLogsInstancePayload) HasDescription() bool
- func (o *CreateLogsInstancePayload) SetAcl(v CreateLogsInstancePayloadGetAclRetType)
- func (o *CreateLogsInstancePayload) SetDescription(v CreateLogsInstancePayloadGetDescriptionRetType)
- func (o *CreateLogsInstancePayload) SetDisplayName(v CreateLogsInstancePayloadGetDisplayNameRetType)
- func (o *CreateLogsInstancePayload) SetRetentionDays(v CreateLogsInstancePayloadGetRetentionDaysRetType)
- func (o CreateLogsInstancePayload) ToMap() (map[string]interface{}, error)
- type CreateLogsInstancePayloadGetAclArgType
- type CreateLogsInstancePayloadGetAclAttributeType
- type CreateLogsInstancePayloadGetAclRetType
- type CreateLogsInstancePayloadGetDescriptionArgType
- type CreateLogsInstancePayloadGetDescriptionAttributeType
- type CreateLogsInstancePayloadGetDescriptionRetType
- type CreateLogsInstancePayloadGetDisplayNameArgType
- type CreateLogsInstancePayloadGetDisplayNameAttributeType
- type CreateLogsInstancePayloadGetDisplayNameRetType
- type CreateLogsInstancePayloadGetRetentionDaysArgType
- type CreateLogsInstancePayloadGetRetentionDaysAttributeType
- type CreateLogsInstancePayloadGetRetentionDaysRetType
- type CreateLogsInstanceRequest
- type DefaultApi
- type DefaultApiService
- type DeleteAccessTokenRequest
- type DeleteAllAccessTokensRequest
- type DeleteAllExpiredAccessTokensRequest
- type DeleteLogsInstanceRequest
- type GetAccessTokenRequest
- type GetLogsInstanceRequest
- type ListAccessTokensRequest
- type ListLogsInstancesRequest
- type LogsInstance
- func (o *LogsInstance) GetAcl() (res LogsInstanceGetAclRetType)
- func (o *LogsInstance) GetAclOk() (ret LogsInstanceGetAclRetType, ok bool)
- func (o *LogsInstance) GetCreated() (ret LogsInstanceGetCreatedRetType)
- func (o *LogsInstance) GetCreatedOk() (ret LogsInstanceGetCreatedRetType, ok bool)
- func (o *LogsInstance) GetDatasourceUrl() (res LogsInstanceGetDatasourceUrlRetType)
- func (o *LogsInstance) GetDatasourceUrlOk() (ret LogsInstanceGetDatasourceUrlRetType, ok bool)
- func (o *LogsInstance) GetDescription() (res LogsInstanceGetDescriptionRetType)
- func (o *LogsInstance) GetDescriptionOk() (ret LogsInstanceGetDescriptionRetType, ok bool)
- func (o *LogsInstance) GetDisplayName() (ret LogsInstanceGetDisplayNameRetType)
- func (o *LogsInstance) GetDisplayNameOk() (ret LogsInstanceGetDisplayNameRetType, ok bool)
- func (o *LogsInstance) GetId() (ret LogsInstanceGetIdRetType)
- func (o *LogsInstance) GetIdOk() (ret LogsInstanceGetIdRetType, ok bool)
- func (o *LogsInstance) GetIngestOtlpUrl() (res LogsInstanceGetIngestOtlpUrlRetType)
- func (o *LogsInstance) GetIngestOtlpUrlOk() (ret LogsInstanceGetIngestOtlpUrlRetType, ok bool)
- func (o *LogsInstance) GetIngestUrl() (res LogsInstanceGetIngestUrlRetType)
- func (o *LogsInstance) GetIngestUrlOk() (ret LogsInstanceGetIngestUrlRetType, ok bool)
- func (o *LogsInstance) GetQueryRangeUrl() (res LogsInstanceGetQueryRangeUrlRetType)
- func (o *LogsInstance) GetQueryRangeUrlOk() (ret LogsInstanceGetQueryRangeUrlRetType, ok bool)
- func (o *LogsInstance) GetQueryUrl() (res LogsInstanceGetQueryUrlRetType)
- func (o *LogsInstance) GetQueryUrlOk() (ret LogsInstanceGetQueryUrlRetType, ok bool)
- func (o *LogsInstance) GetRetentionDays() (ret LogsInstanceGetRetentionDaysRetType)
- func (o *LogsInstance) GetRetentionDaysOk() (ret LogsInstanceGetRetentionDaysRetType, ok bool)
- func (o *LogsInstance) GetStatus() (ret LogsInstanceGetStatusRetType)
- func (o *LogsInstance) GetStatusOk() (ret LogsInstanceGetStatusRetType, ok bool)
- func (o *LogsInstance) HasAcl() bool
- func (o *LogsInstance) HasDatasourceUrl() bool
- func (o *LogsInstance) HasDescription() bool
- func (o *LogsInstance) HasIngestOtlpUrl() bool
- func (o *LogsInstance) HasIngestUrl() bool
- func (o *LogsInstance) HasQueryRangeUrl() bool
- func (o *LogsInstance) HasQueryUrl() bool
- func (o *LogsInstance) SetAcl(v LogsInstanceGetAclRetType)
- func (o *LogsInstance) SetCreated(v LogsInstanceGetCreatedRetType)
- func (o *LogsInstance) SetDatasourceUrl(v LogsInstanceGetDatasourceUrlRetType)
- func (o *LogsInstance) SetDescription(v LogsInstanceGetDescriptionRetType)
- func (o *LogsInstance) SetDisplayName(v LogsInstanceGetDisplayNameRetType)
- func (o *LogsInstance) SetId(v LogsInstanceGetIdRetType)
- func (o *LogsInstance) SetIngestOtlpUrl(v LogsInstanceGetIngestOtlpUrlRetType)
- func (o *LogsInstance) SetIngestUrl(v LogsInstanceGetIngestUrlRetType)
- func (o *LogsInstance) SetQueryRangeUrl(v LogsInstanceGetQueryRangeUrlRetType)
- func (o *LogsInstance) SetQueryUrl(v LogsInstanceGetQueryUrlRetType)
- func (o *LogsInstance) SetRetentionDays(v LogsInstanceGetRetentionDaysRetType)
- func (o *LogsInstance) SetStatus(v LogsInstanceGetStatusRetType)
- func (o LogsInstance) ToMap() (map[string]interface{}, error)
- type LogsInstanceGetAclArgType
- type LogsInstanceGetAclAttributeType
- type LogsInstanceGetAclRetType
- type LogsInstanceGetCreatedArgType
- type LogsInstanceGetCreatedAttributeType
- type LogsInstanceGetCreatedRetType
- type LogsInstanceGetDatasourceUrlArgType
- type LogsInstanceGetDatasourceUrlAttributeType
- type LogsInstanceGetDatasourceUrlRetType
- type LogsInstanceGetDescriptionArgType
- type LogsInstanceGetDescriptionAttributeType
- type LogsInstanceGetDescriptionRetType
- type LogsInstanceGetDisplayNameArgType
- type LogsInstanceGetDisplayNameAttributeType
- type LogsInstanceGetDisplayNameRetType
- type LogsInstanceGetIdArgType
- type LogsInstanceGetIdAttributeType
- type LogsInstanceGetIdRetType
- type LogsInstanceGetIngestOtlpUrlArgType
- type LogsInstanceGetIngestOtlpUrlAttributeType
- type LogsInstanceGetIngestOtlpUrlRetType
- type LogsInstanceGetIngestUrlArgType
- type LogsInstanceGetIngestUrlAttributeType
- type LogsInstanceGetIngestUrlRetType
- type LogsInstanceGetQueryRangeUrlArgType
- type LogsInstanceGetQueryRangeUrlAttributeType
- type LogsInstanceGetQueryRangeUrlRetType
- type LogsInstanceGetQueryUrlArgType
- type LogsInstanceGetQueryUrlAttributeType
- type LogsInstanceGetQueryUrlRetType
- type LogsInstanceGetRetentionDaysArgType
- type LogsInstanceGetRetentionDaysAttributeType
- type LogsInstanceGetRetentionDaysRetType
- type LogsInstanceGetStatusArgType
- type LogsInstanceGetStatusAttributeType
- type LogsInstanceGetStatusRetType
- type LogsInstanceStatus
- type LogsInstancesList
- func (o *LogsInstancesList) GetInstances() (ret LogsInstancesListGetInstancesRetType)
- func (o *LogsInstancesList) GetInstancesOk() (ret LogsInstancesListGetInstancesRetType, ok bool)
- func (o *LogsInstancesList) SetInstances(v LogsInstancesListGetInstancesRetType)
- func (o LogsInstancesList) ToMap() (map[string]interface{}, error)
- type LogsInstancesListGetInstancesArgType
- type LogsInstancesListGetInstancesAttributeType
- type LogsInstancesListGetInstancesRetType
- type MappedNullable
- type NullableAccessToken
- func (v NullableAccessToken) Get() *AccessToken
- func (v NullableAccessToken) IsSet() bool
- func (v NullableAccessToken) MarshalJSON() ([]byte, error)
- func (v *NullableAccessToken) Set(val *AccessToken)
- func (v *NullableAccessToken) UnmarshalJSON(src []byte) error
- func (v *NullableAccessToken) Unset()
- type NullableAccessTokenList
- func (v NullableAccessTokenList) Get() *AccessTokenList
- func (v NullableAccessTokenList) IsSet() bool
- func (v NullableAccessTokenList) MarshalJSON() ([]byte, error)
- func (v *NullableAccessTokenList) Set(val *AccessTokenList)
- func (v *NullableAccessTokenList) UnmarshalJSON(src []byte) error
- func (v *NullableAccessTokenList) Unset()
- type NullableAccessTokenStatus
- func (v NullableAccessTokenStatus) Get() *AccessTokenStatus
- func (v NullableAccessTokenStatus) IsSet() bool
- func (v NullableAccessTokenStatus) MarshalJSON() ([]byte, error)
- func (v *NullableAccessTokenStatus) Set(val *AccessTokenStatus)
- func (v *NullableAccessTokenStatus) UnmarshalJSON(src []byte) error
- func (v *NullableAccessTokenStatus) Unset()
- type NullableBool
- type NullableCreateAccessTokenPayload
- func (v NullableCreateAccessTokenPayload) Get() *CreateAccessTokenPayload
- func (v NullableCreateAccessTokenPayload) IsSet() bool
- func (v NullableCreateAccessTokenPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAccessTokenPayload) Set(val *CreateAccessTokenPayload)
- func (v *NullableCreateAccessTokenPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAccessTokenPayload) Unset()
- type NullableCreateLogsInstancePayload
- func (v NullableCreateLogsInstancePayload) Get() *CreateLogsInstancePayload
- func (v NullableCreateLogsInstancePayload) IsSet() bool
- func (v NullableCreateLogsInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateLogsInstancePayload) Set(val *CreateLogsInstancePayload)
- func (v *NullableCreateLogsInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateLogsInstancePayload) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLogsInstance
- func (v NullableLogsInstance) Get() *LogsInstance
- func (v NullableLogsInstance) IsSet() bool
- func (v NullableLogsInstance) MarshalJSON() ([]byte, error)
- func (v *NullableLogsInstance) Set(val *LogsInstance)
- func (v *NullableLogsInstance) UnmarshalJSON(src []byte) error
- func (v *NullableLogsInstance) Unset()
- type NullableLogsInstanceStatus
- func (v NullableLogsInstanceStatus) Get() *LogsInstanceStatus
- func (v NullableLogsInstanceStatus) IsSet() bool
- func (v NullableLogsInstanceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableLogsInstanceStatus) Set(val *LogsInstanceStatus)
- func (v *NullableLogsInstanceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableLogsInstanceStatus) Unset()
- type NullableLogsInstancesList
- func (v NullableLogsInstancesList) Get() *LogsInstancesList
- func (v NullableLogsInstancesList) IsSet() bool
- func (v NullableLogsInstancesList) MarshalJSON() ([]byte, error)
- func (v *NullableLogsInstancesList) Set(val *LogsInstancesList)
- func (v *NullableLogsInstancesList) UnmarshalJSON(src []byte) error
- func (v *NullableLogsInstancesList) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateAccessTokenPayload
- func (v NullableUpdateAccessTokenPayload) Get() *UpdateAccessTokenPayload
- func (v NullableUpdateAccessTokenPayload) IsSet() bool
- func (v NullableUpdateAccessTokenPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateAccessTokenPayload) Set(val *UpdateAccessTokenPayload)
- func (v *NullableUpdateAccessTokenPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateAccessTokenPayload) Unset()
- type NullableUpdateLogsInstancePayload
- func (v NullableUpdateLogsInstancePayload) Get() *UpdateLogsInstancePayload
- func (v NullableUpdateLogsInstancePayload) IsSet() bool
- func (v NullableUpdateLogsInstancePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateLogsInstancePayload) Set(val *UpdateLogsInstancePayload)
- func (v *NullableUpdateLogsInstancePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateLogsInstancePayload) Unset()
- type NullableValue
- type UpdateAccessTokenPayload
- func (o *UpdateAccessTokenPayload) GetDescription() (res UpdateAccessTokenPayloadGetDescriptionRetType)
- func (o *UpdateAccessTokenPayload) GetDescriptionOk() (ret UpdateAccessTokenPayloadGetDescriptionRetType, ok bool)
- func (o *UpdateAccessTokenPayload) GetDisplayName() (res UpdateAccessTokenPayloadGetDisplayNameRetType)
- func (o *UpdateAccessTokenPayload) GetDisplayNameOk() (ret UpdateAccessTokenPayloadGetDisplayNameRetType, ok bool)
- func (o *UpdateAccessTokenPayload) HasDescription() bool
- func (o *UpdateAccessTokenPayload) HasDisplayName() bool
- func (o *UpdateAccessTokenPayload) SetDescription(v UpdateAccessTokenPayloadGetDescriptionRetType)
- func (o *UpdateAccessTokenPayload) SetDisplayName(v UpdateAccessTokenPayloadGetDisplayNameRetType)
- func (o UpdateAccessTokenPayload) ToMap() (map[string]interface{}, error)
- type UpdateAccessTokenPayloadGetDescriptionArgType
- type UpdateAccessTokenPayloadGetDescriptionAttributeType
- type UpdateAccessTokenPayloadGetDescriptionRetType
- type UpdateAccessTokenPayloadGetDisplayNameArgType
- type UpdateAccessTokenPayloadGetDisplayNameAttributeType
- type UpdateAccessTokenPayloadGetDisplayNameRetType
- type UpdateAccessTokenRequest
- type UpdateLogsInstancePayload
- func (o *UpdateLogsInstancePayload) GetAcl() (res UpdateLogsInstancePayloadGetAclRetType)
- func (o *UpdateLogsInstancePayload) GetAclOk() (ret UpdateLogsInstancePayloadGetAclRetType, ok bool)
- func (o *UpdateLogsInstancePayload) GetDescription() (res UpdateLogsInstancePayloadGetDescriptionRetType)
- func (o *UpdateLogsInstancePayload) GetDescriptionOk() (ret UpdateLogsInstancePayloadGetDescriptionRetType, ok bool)
- func (o *UpdateLogsInstancePayload) GetDisplayName() (res UpdateLogsInstancePayloadGetDisplayNameRetType)
- func (o *UpdateLogsInstancePayload) GetDisplayNameOk() (ret UpdateLogsInstancePayloadGetDisplayNameRetType, ok bool)
- func (o *UpdateLogsInstancePayload) GetRetentionDays() (res UpdateLogsInstancePayloadGetRetentionDaysRetType)
- func (o *UpdateLogsInstancePayload) GetRetentionDaysOk() (ret UpdateLogsInstancePayloadGetRetentionDaysRetType, ok bool)
- func (o *UpdateLogsInstancePayload) HasAcl() bool
- func (o *UpdateLogsInstancePayload) HasDescription() bool
- func (o *UpdateLogsInstancePayload) HasDisplayName() bool
- func (o *UpdateLogsInstancePayload) HasRetentionDays() bool
- func (o *UpdateLogsInstancePayload) SetAcl(v UpdateLogsInstancePayloadGetAclRetType)
- func (o *UpdateLogsInstancePayload) SetDescription(v UpdateLogsInstancePayloadGetDescriptionRetType)
- func (o *UpdateLogsInstancePayload) SetDisplayName(v UpdateLogsInstancePayloadGetDisplayNameRetType)
- func (o *UpdateLogsInstancePayload) SetRetentionDays(v UpdateLogsInstancePayloadGetRetentionDaysRetType)
- func (o UpdateLogsInstancePayload) ToMap() (map[string]interface{}, error)
- type UpdateLogsInstancePayloadGetAclArgType
- type UpdateLogsInstancePayloadGetAclAttributeType
- type UpdateLogsInstancePayloadGetAclRetType
- type UpdateLogsInstancePayloadGetDescriptionArgType
- type UpdateLogsInstancePayloadGetDescriptionAttributeType
- type UpdateLogsInstancePayloadGetDescriptionRetType
- type UpdateLogsInstancePayloadGetDisplayNameArgType
- type UpdateLogsInstancePayloadGetDisplayNameAttributeType
- type UpdateLogsInstancePayloadGetDisplayNameRetType
- type UpdateLogsInstancePayloadGetRetentionDaysArgType
- type UpdateLogsInstancePayloadGetRetentionDaysAttributeType
- type UpdateLogsInstancePayloadGetRetentionDaysRetType
- type UpdateLogsInstanceRequest
Constants ¶
This section is empty.
Variables ¶
var AllowedAccessTokenStatusEnumValues = []AccessTokenStatus{
"active",
"expired",
}
All allowed values of AccessToken enum
var AllowedLogsInstanceStatusEnumValues = []LogsInstanceStatus{
"active",
"deleting",
"reconciling",
}
All allowed values of LogsInstance enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
// 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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 ¶
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 ¶
func NewAccessToken(creator AccessTokenGetCreatorArgType, displayName AccessTokenGetDisplayNameArgType, expires AccessTokengetExpiresArgType, id AccessTokenGetIdArgType, permissions AccessTokenGetPermissionsArgType, status AccessTokenGetStatusArgType) *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() (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 ¶
func (o *AccessToken) SetId(v AccessTokenGetIdRetType)
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 AccessTokenGetValidUntilAttributeType ¶
isDateTime
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 ¶
func (o *AccessTokenList) SetTokens(v AccessTokenListGetTokensRetType)
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 ¶
func (v AccessTokenStatus) Ptr() *AccessTokenStatus
Ptr returns reference to StatusStatus value
func (*AccessTokenStatus) UnmarshalJSON ¶
func (v *AccessTokenStatus) UnmarshalJSON(src []byte) error
type AccessTokengetExpiresArgType ¶
type AccessTokengetExpiresArgType = bool
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 ¶
func NewCreateAccessTokenPayload(displayName CreateAccessTokenPayloadGetDisplayNameArgType, permissions CreateAccessTokenPayloadGetPermissionsArgType) *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() (res CreateAccessTokenPayloadGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateAccessTokenPayload) GetDescriptionOk ¶
func (o *CreateAccessTokenPayload) GetDescriptionOk() (ret CreateAccessTokenPayloadGetDescriptionRetType, 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 (*CreateAccessTokenPayload) GetDisplayName ¶
func (o *CreateAccessTokenPayload) GetDisplayName() (ret CreateAccessTokenPayloadGetDisplayNameRetType)
GetDisplayName returns the DisplayName field value
func (*CreateAccessTokenPayload) GetDisplayNameOk ¶
func (o *CreateAccessTokenPayload) GetDisplayNameOk() (ret CreateAccessTokenPayloadGetDisplayNameRetType, ok 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() (res CreateAccessTokenPayloadGetLifetimeRetType)
GetLifetime returns the Lifetime field value if set, zero value otherwise.
func (*CreateAccessTokenPayload) GetLifetimeOk ¶
func (o *CreateAccessTokenPayload) GetLifetimeOk() (ret CreateAccessTokenPayloadGetLifetimeRetType, ok 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() (ret CreateAccessTokenPayloadGetPermissionsRetType)
GetPermissions returns the Permissions field value
func (*CreateAccessTokenPayload) GetPermissionsOk ¶
func (o *CreateAccessTokenPayload) GetPermissionsOk() (ret CreateAccessTokenPayloadGetPermissionsRetType, ok 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) SetDescription ¶
func (o *CreateAccessTokenPayload) SetDescription(v CreateAccessTokenPayloadGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateAccessTokenPayload) SetDisplayName ¶
func (o *CreateAccessTokenPayload) SetDisplayName(v CreateAccessTokenPayloadGetDisplayNameRetType)
SetDisplayName sets field value
func (*CreateAccessTokenPayload) SetLifetime ¶
func (o *CreateAccessTokenPayload) SetLifetime(v CreateAccessTokenPayloadGetLifetimeRetType)
SetLifetime gets a reference to the given int64 and assigns it to the Lifetime field.
func (*CreateAccessTokenPayload) SetPermissions ¶
func (o *CreateAccessTokenPayload) SetPermissions(v CreateAccessTokenPayloadGetPermissionsRetType)
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 ¶
func NewCreateLogsInstancePayload(displayName CreateLogsInstancePayloadGetDisplayNameArgType, retentionDays CreateLogsInstancePayloadGetRetentionDaysArgType) *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() (res CreateLogsInstancePayloadGetAclRetType)
GetAcl returns the Acl field value if set, zero value otherwise.
func (*CreateLogsInstancePayload) GetAclOk ¶
func (o *CreateLogsInstancePayload) GetAclOk() (ret CreateLogsInstancePayloadGetAclRetType, 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 (*CreateLogsInstancePayload) GetDescription ¶
func (o *CreateLogsInstancePayload) GetDescription() (res CreateLogsInstancePayloadGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateLogsInstancePayload) GetDescriptionOk ¶
func (o *CreateLogsInstancePayload) GetDescriptionOk() (ret CreateLogsInstancePayloadGetDescriptionRetType, 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 (*CreateLogsInstancePayload) GetDisplayName ¶
func (o *CreateLogsInstancePayload) GetDisplayName() (ret CreateLogsInstancePayloadGetDisplayNameRetType)
GetDisplayName returns the DisplayName field value
func (*CreateLogsInstancePayload) GetDisplayNameOk ¶
func (o *CreateLogsInstancePayload) GetDisplayNameOk() (ret CreateLogsInstancePayloadGetDisplayNameRetType, ok 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() (ret CreateLogsInstancePayloadGetRetentionDaysRetType)
GetRetentionDays returns the RetentionDays field value
func (*CreateLogsInstancePayload) GetRetentionDaysOk ¶
func (o *CreateLogsInstancePayload) GetRetentionDaysOk() (ret CreateLogsInstancePayloadGetRetentionDaysRetType, ok 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) SetAcl ¶
func (o *CreateLogsInstancePayload) SetAcl(v CreateLogsInstancePayloadGetAclRetType)
SetAcl gets a reference to the given []string and assigns it to the Acl field.
func (*CreateLogsInstancePayload) SetDescription ¶
func (o *CreateLogsInstancePayload) SetDescription(v CreateLogsInstancePayloadGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateLogsInstancePayload) SetDisplayName ¶
func (o *CreateLogsInstancePayload) SetDisplayName(v CreateLogsInstancePayloadGetDisplayNameRetType)
SetDisplayName sets field value
func (*CreateLogsInstancePayload) SetRetentionDays ¶
func (o *CreateLogsInstancePayload) SetRetentionDays(v CreateLogsInstancePayloadGetRetentionDaysRetType)
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 ¶
func (r CreateLogsInstanceRequest) Execute() (*LogsInstance, 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
@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 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 ¶
func (r DeleteAllAccessTokensRequest) Execute() (*AccessTokenList, error)
type DeleteAllExpiredAccessTokensRequest ¶
type DeleteAllExpiredAccessTokensRequest struct {
// contains filtered or unexported fields
}
func (DeleteAllExpiredAccessTokensRequest) Execute ¶
func (r DeleteAllExpiredAccessTokensRequest) Execute() (*AccessTokenList, error)
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 ¶
func (r ListAccessTokensRequest) Execute() (*AccessTokenList, error)
type ListLogsInstancesRequest ¶
type ListLogsInstancesRequest struct {
// contains filtered or unexported fields
}
func (ListLogsInstancesRequest) Execute ¶
func (r ListLogsInstancesRequest) Execute() (*LogsInstancesList, error)
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 ¶
func NewLogsInstance(created LogsInstanceGetCreatedArgType, displayName LogsInstanceGetDisplayNameArgType, id LogsInstanceGetIdArgType, retentionDays LogsInstanceGetRetentionDaysArgType, status LogsInstanceGetStatusArgType) *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() (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 ¶
func (o *LogsInstance) SetAcl(v LogsInstanceGetAclRetType)
SetAcl gets a reference to the given []string and assigns it to the Acl field.
func (*LogsInstance) SetCreated ¶
func (o *LogsInstance) SetCreated(v LogsInstanceGetCreatedRetType)
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 ¶
func (o *LogsInstance) SetId(v LogsInstanceGetIdRetType)
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 ¶
func (o *LogsInstance) SetStatus(v LogsInstanceGetStatusRetType)
SetStatus sets field value
func (LogsInstance) ToMap ¶
func (o LogsInstance) ToMap() (map[string]interface{}, error)
type LogsInstanceGetAclArgType ¶
type LogsInstanceGetAclArgType = []string
type LogsInstanceGetAclRetType ¶
type LogsInstanceGetAclRetType = []string
type LogsInstanceGetCreatedAttributeType ¶
isDateTime
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 ¶
func (v LogsInstanceStatus) Ptr() *LogsInstanceStatus
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 ¶
func (o *LogsInstancesList) GetInstances() (ret LogsInstancesListGetInstancesRetType)
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 ¶
func (o *LogsInstancesList) SetInstances(v LogsInstancesListGetInstancesRetType)
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 NullableAccessToken ¶
type NullableAccessToken struct {
// contains filtered or unexported fields
}
func NewNullableAccessToken ¶
func NewNullableAccessToken(val *AccessToken) *NullableAccessToken
func (NullableAccessToken) Get ¶
func (v NullableAccessToken) Get() *AccessToken
func (NullableAccessToken) IsSet ¶
func (v NullableAccessToken) IsSet() bool
func (NullableAccessToken) MarshalJSON ¶
func (v NullableAccessToken) MarshalJSON() ([]byte, error)
func (*NullableAccessToken) Set ¶
func (v *NullableAccessToken) Set(val *AccessToken)
func (*NullableAccessToken) UnmarshalJSON ¶
func (v *NullableAccessToken) UnmarshalJSON(src []byte) error
func (*NullableAccessToken) Unset ¶
func (v *NullableAccessToken) Unset()
type NullableAccessTokenList ¶
type NullableAccessTokenList struct {
// contains filtered or unexported fields
}
func NewNullableAccessTokenList ¶
func NewNullableAccessTokenList(val *AccessTokenList) *NullableAccessTokenList
func (NullableAccessTokenList) Get ¶
func (v NullableAccessTokenList) Get() *AccessTokenList
func (NullableAccessTokenList) IsSet ¶
func (v NullableAccessTokenList) IsSet() bool
func (NullableAccessTokenList) MarshalJSON ¶
func (v NullableAccessTokenList) MarshalJSON() ([]byte, error)
func (*NullableAccessTokenList) Set ¶
func (v *NullableAccessTokenList) Set(val *AccessTokenList)
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 (v NullableAccessTokenStatus) Get() *AccessTokenStatus
func (NullableAccessTokenStatus) IsSet ¶
func (v NullableAccessTokenStatus) IsSet() bool
func (NullableAccessTokenStatus) MarshalJSON ¶
func (v NullableAccessTokenStatus) MarshalJSON() ([]byte, error)
func (*NullableAccessTokenStatus) Set ¶
func (v *NullableAccessTokenStatus) Set(val *AccessTokenStatus)
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 NewNullableCreateAccessTokenPayload ¶
func NewNullableCreateAccessTokenPayload(val *CreateAccessTokenPayload) *NullableCreateAccessTokenPayload
func (NullableCreateAccessTokenPayload) Get ¶
func (v NullableCreateAccessTokenPayload) Get() *CreateAccessTokenPayload
func (NullableCreateAccessTokenPayload) IsSet ¶
func (v NullableCreateAccessTokenPayload) IsSet() bool
func (NullableCreateAccessTokenPayload) MarshalJSON ¶
func (v NullableCreateAccessTokenPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateAccessTokenPayload) Set ¶
func (v *NullableCreateAccessTokenPayload) Set(val *CreateAccessTokenPayload)
func (*NullableCreateAccessTokenPayload) UnmarshalJSON ¶
func (v *NullableCreateAccessTokenPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateAccessTokenPayload) Unset ¶
func (v *NullableCreateAccessTokenPayload) Unset()
type NullableCreateLogsInstancePayload ¶
type NullableCreateLogsInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateLogsInstancePayload ¶
func NewNullableCreateLogsInstancePayload(val *CreateLogsInstancePayload) *NullableCreateLogsInstancePayload
func (NullableCreateLogsInstancePayload) Get ¶
func (v NullableCreateLogsInstancePayload) Get() *CreateLogsInstancePayload
func (NullableCreateLogsInstancePayload) IsSet ¶
func (v NullableCreateLogsInstancePayload) IsSet() bool
func (NullableCreateLogsInstancePayload) MarshalJSON ¶
func (v NullableCreateLogsInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateLogsInstancePayload) Set ¶
func (v *NullableCreateLogsInstancePayload) Set(val *CreateLogsInstancePayload)
func (*NullableCreateLogsInstancePayload) UnmarshalJSON ¶
func (v *NullableCreateLogsInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateLogsInstancePayload) Unset ¶
func (v *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 (v NullableLogsInstance) Get() *LogsInstance
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 (v NullableLogsInstanceStatus) Get() *LogsInstanceStatus
func (NullableLogsInstanceStatus) IsSet ¶
func (v NullableLogsInstanceStatus) IsSet() bool
func (NullableLogsInstanceStatus) MarshalJSON ¶
func (v NullableLogsInstanceStatus) MarshalJSON() ([]byte, error)
func (*NullableLogsInstanceStatus) Set ¶
func (v *NullableLogsInstanceStatus) Set(val *LogsInstanceStatus)
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 (v NullableLogsInstancesList) Get() *LogsInstancesList
func (NullableLogsInstancesList) IsSet ¶
func (v NullableLogsInstancesList) IsSet() bool
func (NullableLogsInstancesList) MarshalJSON ¶
func (v NullableLogsInstancesList) MarshalJSON() ([]byte, error)
func (*NullableLogsInstancesList) Set ¶
func (v *NullableLogsInstancesList) Set(val *LogsInstancesList)
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 NewNullableUpdateAccessTokenPayload ¶
func NewNullableUpdateAccessTokenPayload(val *UpdateAccessTokenPayload) *NullableUpdateAccessTokenPayload
func (NullableUpdateAccessTokenPayload) Get ¶
func (v NullableUpdateAccessTokenPayload) Get() *UpdateAccessTokenPayload
func (NullableUpdateAccessTokenPayload) IsSet ¶
func (v NullableUpdateAccessTokenPayload) IsSet() bool
func (NullableUpdateAccessTokenPayload) MarshalJSON ¶
func (v NullableUpdateAccessTokenPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateAccessTokenPayload) Set ¶
func (v *NullableUpdateAccessTokenPayload) Set(val *UpdateAccessTokenPayload)
func (*NullableUpdateAccessTokenPayload) UnmarshalJSON ¶
func (v *NullableUpdateAccessTokenPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateAccessTokenPayload) Unset ¶
func (v *NullableUpdateAccessTokenPayload) Unset()
type NullableUpdateLogsInstancePayload ¶
type NullableUpdateLogsInstancePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateLogsInstancePayload ¶
func NewNullableUpdateLogsInstancePayload(val *UpdateLogsInstancePayload) *NullableUpdateLogsInstancePayload
func (NullableUpdateLogsInstancePayload) Get ¶
func (v NullableUpdateLogsInstancePayload) Get() *UpdateLogsInstancePayload
func (NullableUpdateLogsInstancePayload) IsSet ¶
func (v NullableUpdateLogsInstancePayload) IsSet() bool
func (NullableUpdateLogsInstancePayload) MarshalJSON ¶
func (v NullableUpdateLogsInstancePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateLogsInstancePayload) Set ¶
func (v *NullableUpdateLogsInstancePayload) Set(val *UpdateLogsInstancePayload)
func (*NullableUpdateLogsInstancePayload) UnmarshalJSON ¶
func (v *NullableUpdateLogsInstancePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateLogsInstancePayload) Unset ¶
func (v *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 ¶
func (o *UpdateAccessTokenPayload) GetDescription() (res UpdateAccessTokenPayloadGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateAccessTokenPayload) GetDescriptionOk ¶
func (o *UpdateAccessTokenPayload) GetDescriptionOk() (ret UpdateAccessTokenPayloadGetDescriptionRetType, 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 (*UpdateAccessTokenPayload) GetDisplayName ¶
func (o *UpdateAccessTokenPayload) GetDisplayName() (res UpdateAccessTokenPayloadGetDisplayNameRetType)
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*UpdateAccessTokenPayload) GetDisplayNameOk ¶
func (o *UpdateAccessTokenPayload) GetDisplayNameOk() (ret UpdateAccessTokenPayloadGetDisplayNameRetType, ok 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) SetDescription ¶
func (o *UpdateAccessTokenPayload) SetDescription(v UpdateAccessTokenPayloadGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateAccessTokenPayload) SetDisplayName ¶
func (o *UpdateAccessTokenPayload) SetDisplayName(v UpdateAccessTokenPayloadGetDisplayNameRetType)
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 ¶
func (o *UpdateLogsInstancePayload) GetAcl() (res UpdateLogsInstancePayloadGetAclRetType)
GetAcl returns the Acl field value if set, zero value otherwise.
func (*UpdateLogsInstancePayload) GetAclOk ¶
func (o *UpdateLogsInstancePayload) GetAclOk() (ret UpdateLogsInstancePayloadGetAclRetType, 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 (*UpdateLogsInstancePayload) GetDescription ¶
func (o *UpdateLogsInstancePayload) GetDescription() (res UpdateLogsInstancePayloadGetDescriptionRetType)
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateLogsInstancePayload) GetDescriptionOk ¶
func (o *UpdateLogsInstancePayload) GetDescriptionOk() (ret UpdateLogsInstancePayloadGetDescriptionRetType, 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 (*UpdateLogsInstancePayload) GetDisplayName ¶
func (o *UpdateLogsInstancePayload) GetDisplayName() (res UpdateLogsInstancePayloadGetDisplayNameRetType)
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*UpdateLogsInstancePayload) GetDisplayNameOk ¶
func (o *UpdateLogsInstancePayload) GetDisplayNameOk() (ret UpdateLogsInstancePayloadGetDisplayNameRetType, ok 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() (res UpdateLogsInstancePayloadGetRetentionDaysRetType)
GetRetentionDays returns the RetentionDays field value if set, zero value otherwise.
func (*UpdateLogsInstancePayload) GetRetentionDaysOk ¶
func (o *UpdateLogsInstancePayload) GetRetentionDaysOk() (ret UpdateLogsInstancePayloadGetRetentionDaysRetType, ok 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) SetAcl ¶
func (o *UpdateLogsInstancePayload) SetAcl(v UpdateLogsInstancePayloadGetAclRetType)
SetAcl gets a reference to the given []string and assigns it to the Acl field.
func (*UpdateLogsInstancePayload) SetDescription ¶
func (o *UpdateLogsInstancePayload) SetDescription(v UpdateLogsInstancePayloadGetDescriptionRetType)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateLogsInstancePayload) SetDisplayName ¶
func (o *UpdateLogsInstancePayload) SetDisplayName(v UpdateLogsInstancePayloadGetDisplayNameRetType)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*UpdateLogsInstancePayload) SetRetentionDays ¶
func (o *UpdateLogsInstancePayload) SetRetentionDays(v UpdateLogsInstancePayloadGetRetentionDaysRetType)
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 (r UpdateLogsInstanceRequest) Execute() (*LogsInstance, error)
func (UpdateLogsInstanceRequest) UpdateLogsInstancePayload ¶
func (r UpdateLogsInstanceRequest) UpdateLogsInstancePayload(updateLogsInstancePayload UpdateLogsInstancePayload) ApiUpdateLogsInstanceRequest