Help us shape the future of Go! Take the 2026 Go Developer Survey

v1betaapi

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedAccessTokenStatusEnumValues = []AccessTokenStatus{
	"active",
	"expired",
	"unknown_default_open_api",
}

All allowed values of AccessTokenStatus enum

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

All allowed values of LogsInstanceStatus enum

View Source
var AllowedPermissionsInnerEnumValues = []PermissionsInner{
	"read",
	"write",
	"unknown_default_open_api",
}

All allowed values of PermissionsInner enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

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

APIClient manages communication with the STACKIT Logs API (Deprecated) API v1beta.0.4 In most cases there should be only one, shared, APIClient.

func NewAPIClient

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

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

func (*APIClient) GetConfig

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

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AccessPolicy added in v0.12.0

type AccessPolicy struct {
	// The description of the access policy.
	Description *string `json:"description,omitempty"`
	// The email address of the STACKIT IAM subject (user, group, or service account).
	Email string `json:"email"`
	// An auto generated unique id which identifies the access policy.
	Id string `json:"id"`
	// The access permissions granted to the access token or access policy.
	Permissions          []PermissionsInner `json:"permissions"`
	AdditionalProperties map[string]interface{}
}

AccessPolicy struct for AccessPolicy

func NewAccessPolicy added in v0.12.0

func NewAccessPolicy(email string, id string, permissions []PermissionsInner) *AccessPolicy

NewAccessPolicy instantiates a new AccessPolicy 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 NewAccessPolicyWithDefaults added in v0.12.0

func NewAccessPolicyWithDefaults() *AccessPolicy

NewAccessPolicyWithDefaults instantiates a new AccessPolicy 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 (*AccessPolicy) GetDescription added in v0.12.0

func (o *AccessPolicy) GetDescription() string

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

func (*AccessPolicy) GetDescriptionOk added in v0.12.0

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

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

func (*AccessPolicy) GetEmail added in v0.12.0

func (o *AccessPolicy) GetEmail() string

GetEmail returns the Email field value

func (*AccessPolicy) GetEmailOk added in v0.12.0

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

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

func (*AccessPolicy) GetId added in v0.12.0

func (o *AccessPolicy) GetId() string

GetId returns the Id field value

func (*AccessPolicy) GetIdOk added in v0.12.0

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

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

func (*AccessPolicy) GetPermissions added in v0.12.0

func (o *AccessPolicy) GetPermissions() []PermissionsInner

GetPermissions returns the Permissions field value

func (*AccessPolicy) GetPermissionsOk added in v0.12.0

func (o *AccessPolicy) GetPermissionsOk() ([]PermissionsInner, bool)

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

func (*AccessPolicy) HasDescription added in v0.12.0

func (o *AccessPolicy) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (AccessPolicy) MarshalJSON added in v0.12.0

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

func (*AccessPolicy) SetDescription added in v0.12.0

func (o *AccessPolicy) SetDescription(v string)

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

func (*AccessPolicy) SetEmail added in v0.12.0

func (o *AccessPolicy) SetEmail(v string)

SetEmail sets field value

func (*AccessPolicy) SetId added in v0.12.0

func (o *AccessPolicy) SetId(v string)

SetId sets field value

func (*AccessPolicy) SetPermissions added in v0.12.0

func (o *AccessPolicy) SetPermissions(v []PermissionsInner)

SetPermissions sets field value

func (AccessPolicy) ToMap added in v0.12.0

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

func (*AccessPolicy) UnmarshalJSON added in v0.12.0

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

type AccessPolicyList added in v0.12.0

type AccessPolicyList struct {
	Policies             []AccessPolicy `json:"policies"`
	AdditionalProperties map[string]interface{}
}

AccessPolicyList struct for AccessPolicyList

func NewAccessPolicyList added in v0.12.0

func NewAccessPolicyList(policies []AccessPolicy) *AccessPolicyList

NewAccessPolicyList instantiates a new AccessPolicyList 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 NewAccessPolicyListWithDefaults added in v0.12.0

func NewAccessPolicyListWithDefaults() *AccessPolicyList

NewAccessPolicyListWithDefaults instantiates a new AccessPolicyList 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 (*AccessPolicyList) GetPolicies added in v0.12.0

func (o *AccessPolicyList) GetPolicies() []AccessPolicy

GetPolicies returns the Policies field value

func (*AccessPolicyList) GetPoliciesOk added in v0.12.0

func (o *AccessPolicyList) GetPoliciesOk() ([]AccessPolicy, bool)

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

func (AccessPolicyList) MarshalJSON added in v0.12.0

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

func (*AccessPolicyList) SetPolicies added in v0.12.0

func (o *AccessPolicyList) SetPolicies(v []AccessPolicy)

SetPolicies sets field value

func (AccessPolicyList) ToMap added in v0.12.0

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

func (*AccessPolicyList) UnmarshalJSON added in v0.12.0

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

type AccessToken

type AccessToken struct {
	// A generated access token. Only available on creation.
	AccessToken *string `json:"accessToken,omitempty"`
	// The user who created the access token.
	Creator string `json:"creator"`
	// The description of the access token.
	Description *string `json:"description,omitempty"`
	// The displayed name of the access token.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z][\\w -]*$"`
	// Indicates if the access token can expire.
	Expires bool `json:"expires"`
	// An auto generated unique id which identifies the access token.
	Id string `json:"id"`
	// The access permissions granted to the access token or access policy.
	Permissions []PermissionsInner `json:"permissions"`
	Status      AccessTokenStatus  `json:"status"`
	// The date and time util an access token is valid to (inclusively).
	ValidUntil           *time.Time `json:"validUntil,omitempty"`
	AdditionalProperties map[string]interface{}
}

AccessToken struct for AccessToken

func NewAccessToken

func NewAccessToken(creator string, displayName string, expires bool, id string, permissions []PermissionsInner, status AccessTokenStatus) *AccessToken

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

func NewAccessTokenWithDefaults

func NewAccessTokenWithDefaults() *AccessToken

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

func (*AccessToken) GetAccessToken

func (o *AccessToken) GetAccessToken() string

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

func (*AccessToken) GetAccessTokenOk

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

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

func (*AccessToken) GetCreator

func (o *AccessToken) GetCreator() string

GetCreator returns the Creator field value

func (*AccessToken) GetCreatorOk

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

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

func (*AccessToken) GetDescription

func (o *AccessToken) GetDescription() string

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

func (*AccessToken) GetDescriptionOk

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

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

func (*AccessToken) GetDisplayName

func (o *AccessToken) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*AccessToken) GetDisplayNameOk

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

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

func (*AccessToken) GetExpires

func (o *AccessToken) GetExpires() bool

GetExpires returns the Expires field value

func (*AccessToken) GetExpiresOk

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

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

func (*AccessToken) GetId

func (o *AccessToken) GetId() string

GetId returns the Id field value

func (*AccessToken) GetIdOk

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

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

func (*AccessToken) GetPermissions

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

GetPermissions returns the Permissions field value

func (*AccessToken) GetPermissionsOk

func (o *AccessToken) GetPermissionsOk() ([]PermissionsInner, 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() AccessTokenStatus

GetStatus returns the Status field value

func (*AccessToken) GetStatusOk

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

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

func (*AccessToken) GetValidUntil

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

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

func (*AccessToken) GetValidUntilOk

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

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

func (*AccessToken) HasAccessToken

func (o *AccessToken) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*AccessToken) HasDescription

func (o *AccessToken) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AccessToken) HasValidUntil

func (o *AccessToken) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (AccessToken) MarshalJSON

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

func (*AccessToken) SetAccessToken

func (o *AccessToken) SetAccessToken(v string)

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

func (*AccessToken) SetCreator

func (o *AccessToken) SetCreator(v string)

SetCreator sets field value

func (*AccessToken) SetDescription

func (o *AccessToken) SetDescription(v string)

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

func (*AccessToken) SetDisplayName

func (o *AccessToken) SetDisplayName(v string)

SetDisplayName sets field value

func (*AccessToken) SetExpires

func (o *AccessToken) SetExpires(v bool)

SetExpires sets field value

func (*AccessToken) SetId

func (o *AccessToken) SetId(v string)

SetId sets field value

func (*AccessToken) SetPermissions

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

SetPermissions sets field value

func (*AccessToken) SetStatus

func (o *AccessToken) SetStatus(v AccessTokenStatus)

SetStatus sets field value

func (*AccessToken) SetValidUntil

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

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

func (AccessToken) ToMap

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

func (*AccessToken) UnmarshalJSON

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

type AccessTokenList

type AccessTokenList struct {
	Tokens               []AccessToken `json:"tokens"`
	AdditionalProperties map[string]interface{}
}

AccessTokenList struct for AccessTokenList

func NewAccessTokenList

func NewAccessTokenList(tokens []AccessToken) *AccessTokenList

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

func NewAccessTokenListWithDefaults

func NewAccessTokenListWithDefaults() *AccessTokenList

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

func (*AccessTokenList) GetTokens

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

GetTokens returns the Tokens field value

func (*AccessTokenList) GetTokensOk

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

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

func (AccessTokenList) MarshalJSON

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

func (*AccessTokenList) SetTokens

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

SetTokens sets field value

func (AccessTokenList) ToMap

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

func (*AccessTokenList) UnmarshalJSON

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

type AccessTokenStatus added in v0.10.0

type AccessTokenStatus string

AccessTokenStatus the model 'AccessTokenStatus'

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

List of accessToken_status

func NewAccessTokenStatusFromValue added in v0.10.0

func NewAccessTokenStatusFromValue(v string) (*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 added in v0.10.0

func (v AccessTokenStatus) IsValid() bool

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

func (AccessTokenStatus) Ptr added in v0.10.0

Ptr returns reference to accessToken_status value

func (*AccessTokenStatus) UnmarshalJSON added in v0.10.0

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

type ApiCreateAccessPolicyRequest added in v0.12.0

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

func (ApiCreateAccessPolicyRequest) CreateAccessPolicyPayload added in v0.12.0

func (r ApiCreateAccessPolicyRequest) CreateAccessPolicyPayload(createAccessPolicyPayload CreateAccessPolicyPayload) ApiCreateAccessPolicyRequest

func (ApiCreateAccessPolicyRequest) Execute added in v0.12.0

type ApiCreateAccessTokenRequest

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

func (ApiCreateAccessTokenRequest) CreateAccessTokenPayload

func (r ApiCreateAccessTokenRequest) CreateAccessTokenPayload(createAccessTokenPayload CreateAccessTokenPayload) ApiCreateAccessTokenRequest

func (ApiCreateAccessTokenRequest) Execute

type ApiCreateLogsInstanceRequest

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

func (ApiCreateLogsInstanceRequest) CreateLogsInstancePayload

func (r ApiCreateLogsInstanceRequest) CreateLogsInstancePayload(createLogsInstancePayload CreateLogsInstancePayload) ApiCreateLogsInstanceRequest

func (ApiCreateLogsInstanceRequest) Execute

type ApiDeleteAccessPolicyRequest added in v0.12.0

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

func (ApiDeleteAccessPolicyRequest) Execute added in v0.12.0

func (r ApiDeleteAccessPolicyRequest) Execute() error

type ApiDeleteAccessTokenRequest

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

func (ApiDeleteAccessTokenRequest) Execute

func (r ApiDeleteAccessTokenRequest) Execute() error

type ApiDeleteAllAccessPoliciesRequest added in v0.12.0

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

func (ApiDeleteAllAccessPoliciesRequest) Execute added in v0.12.0

type ApiDeleteAllAccessTokensRequest

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

func (ApiDeleteAllAccessTokensRequest) Execute

type ApiDeleteAllExpiredAccessTokensRequest

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

func (ApiDeleteAllExpiredAccessTokensRequest) Execute

type ApiDeleteLogsInstanceRequest

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

func (ApiDeleteLogsInstanceRequest) Execute

func (r ApiDeleteLogsInstanceRequest) Execute() error

type ApiGetAccessPolicyRequest added in v0.12.0

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

func (ApiGetAccessPolicyRequest) Execute added in v0.12.0

type ApiGetAccessTokenRequest

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

func (ApiGetAccessTokenRequest) Execute

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

type ApiGetLogsInstanceRequest

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

func (ApiGetLogsInstanceRequest) Execute

type ApiListAccessPoliciesRequest added in v0.12.0

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

func (ApiListAccessPoliciesRequest) Execute added in v0.12.0

type ApiListAccessTokensRequest

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

func (ApiListAccessTokensRequest) Execute

type ApiListLogsInstancesRequest

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

func (ApiListLogsInstancesRequest) Execute

type ApiUpdateAccessPolicyRequest added in v0.12.0

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

func (ApiUpdateAccessPolicyRequest) Execute added in v0.12.0

func (ApiUpdateAccessPolicyRequest) UpdateAccessPolicyPayload added in v0.12.0

func (r ApiUpdateAccessPolicyRequest) UpdateAccessPolicyPayload(updateAccessPolicyPayload UpdateAccessPolicyPayload) ApiUpdateAccessPolicyRequest

type ApiUpdateAccessTokenRequest

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

func (ApiUpdateAccessTokenRequest) Execute

func (r ApiUpdateAccessTokenRequest) Execute() error

func (ApiUpdateAccessTokenRequest) UpdateAccessTokenPayload

func (r ApiUpdateAccessTokenRequest) UpdateAccessTokenPayload(updateAccessTokenPayload UpdateAccessTokenPayload) ApiUpdateAccessTokenRequest

type ApiUpdateLogsInstanceRequest

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

func (ApiUpdateLogsInstanceRequest) Execute

func (ApiUpdateLogsInstanceRequest) UpdateLogsInstancePayload

func (r ApiUpdateLogsInstanceRequest) UpdateLogsInstancePayload(updateLogsInstancePayload UpdateLogsInstancePayload) ApiUpdateLogsInstanceRequest

type CreateAccessPolicyPayload added in v0.12.0

type CreateAccessPolicyPayload struct {
	// The description of the access policy.
	Description NullableString `json:"description,omitempty"`
	// The email address of the STACKIT IAM subject (user, group, or service account).
	Email string `json:"email"`
	// The access permissions granted to the access token or access policy.
	Permissions          []PermissionsInner `json:"permissions"`
	AdditionalProperties map[string]interface{}
}

CreateAccessPolicyPayload struct for CreateAccessPolicyPayload

func NewCreateAccessPolicyPayload added in v0.12.0

func NewCreateAccessPolicyPayload(email string, permissions []PermissionsInner) *CreateAccessPolicyPayload

NewCreateAccessPolicyPayload instantiates a new CreateAccessPolicyPayload 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 NewCreateAccessPolicyPayloadWithDefaults added in v0.12.0

func NewCreateAccessPolicyPayloadWithDefaults() *CreateAccessPolicyPayload

NewCreateAccessPolicyPayloadWithDefaults instantiates a new CreateAccessPolicyPayload 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 (*CreateAccessPolicyPayload) GetDescription added in v0.12.0

func (o *CreateAccessPolicyPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateAccessPolicyPayload) GetDescriptionOk added in v0.12.0

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

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateAccessPolicyPayload) GetEmail added in v0.12.0

func (o *CreateAccessPolicyPayload) GetEmail() string

GetEmail returns the Email field value

func (*CreateAccessPolicyPayload) GetEmailOk added in v0.12.0

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

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

func (*CreateAccessPolicyPayload) GetPermissions added in v0.12.0

func (o *CreateAccessPolicyPayload) GetPermissions() []PermissionsInner

GetPermissions returns the Permissions field value

func (*CreateAccessPolicyPayload) GetPermissionsOk added in v0.12.0

func (o *CreateAccessPolicyPayload) GetPermissionsOk() ([]PermissionsInner, bool)

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

func (*CreateAccessPolicyPayload) HasDescription added in v0.12.0

func (o *CreateAccessPolicyPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateAccessPolicyPayload) MarshalJSON added in v0.12.0

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

func (*CreateAccessPolicyPayload) SetDescription added in v0.12.0

func (o *CreateAccessPolicyPayload) SetDescription(v string)

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

func (*CreateAccessPolicyPayload) SetDescriptionNil added in v0.12.0

func (o *CreateAccessPolicyPayload) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*CreateAccessPolicyPayload) SetEmail added in v0.12.0

func (o *CreateAccessPolicyPayload) SetEmail(v string)

SetEmail sets field value

func (*CreateAccessPolicyPayload) SetPermissions added in v0.12.0

func (o *CreateAccessPolicyPayload) SetPermissions(v []PermissionsInner)

SetPermissions sets field value

func (CreateAccessPolicyPayload) ToMap added in v0.12.0

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

func (*CreateAccessPolicyPayload) UnmarshalJSON added in v0.12.0

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

func (*CreateAccessPolicyPayload) UnsetDescription added in v0.12.0

func (o *CreateAccessPolicyPayload) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type CreateAccessTokenPayload

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

CreateAccessTokenPayload struct for CreateAccessTokenPayload

func NewCreateAccessTokenPayload

func NewCreateAccessTokenPayload(displayName string, permissions []PermissionsInner) *CreateAccessTokenPayload

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

func NewCreateAccessTokenPayloadWithDefaults

func NewCreateAccessTokenPayloadWithDefaults() *CreateAccessTokenPayload

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

func (*CreateAccessTokenPayload) GetDescription

func (o *CreateAccessTokenPayload) GetDescription() string

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

func (*CreateAccessTokenPayload) GetDescriptionOk

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

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

func (*CreateAccessTokenPayload) GetDisplayName

func (o *CreateAccessTokenPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateAccessTokenPayload) GetDisplayNameOk

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

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

func (*CreateAccessTokenPayload) GetLifetime

func (o *CreateAccessTokenPayload) GetLifetime() int32

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

func (*CreateAccessTokenPayload) GetLifetimeOk

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

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

func (*CreateAccessTokenPayload) GetPermissions

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

GetPermissions returns the Permissions field value

func (*CreateAccessTokenPayload) GetPermissionsOk

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

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

func (*CreateAccessTokenPayload) HasDescription

func (o *CreateAccessTokenPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateAccessTokenPayload) HasLifetime

func (o *CreateAccessTokenPayload) HasLifetime() bool

HasLifetime returns a boolean if a field has been set.

func (CreateAccessTokenPayload) MarshalJSON

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

func (*CreateAccessTokenPayload) SetDescription

func (o *CreateAccessTokenPayload) SetDescription(v string)

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

func (*CreateAccessTokenPayload) SetDisplayName

func (o *CreateAccessTokenPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateAccessTokenPayload) SetLifetime

func (o *CreateAccessTokenPayload) SetLifetime(v int32)

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

func (*CreateAccessTokenPayload) SetPermissions

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

SetPermissions sets field value

func (CreateAccessTokenPayload) ToMap

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

func (*CreateAccessTokenPayload) UnmarshalJSON

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

type CreateLogsInstancePayload

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

CreateLogsInstancePayload struct for CreateLogsInstancePayload

func NewCreateLogsInstancePayload

func NewCreateLogsInstancePayload(displayName string, retentionDays int32) *CreateLogsInstancePayload

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

func NewCreateLogsInstancePayloadWithDefaults

func NewCreateLogsInstancePayloadWithDefaults() *CreateLogsInstancePayload

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

func (*CreateLogsInstancePayload) GetAcl

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

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

func (*CreateLogsInstancePayload) GetAclOk

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

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

func (*CreateLogsInstancePayload) GetDescription

func (o *CreateLogsInstancePayload) GetDescription() string

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

func (*CreateLogsInstancePayload) GetDescriptionOk

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

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

func (*CreateLogsInstancePayload) GetDisplayName

func (o *CreateLogsInstancePayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateLogsInstancePayload) GetDisplayNameOk

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

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

func (*CreateLogsInstancePayload) GetRetentionDays

func (o *CreateLogsInstancePayload) GetRetentionDays() int32

GetRetentionDays returns the RetentionDays field value

func (*CreateLogsInstancePayload) GetRetentionDaysOk

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

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

func (*CreateLogsInstancePayload) HasAcl

func (o *CreateLogsInstancePayload) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*CreateLogsInstancePayload) HasDescription

func (o *CreateLogsInstancePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateLogsInstancePayload) MarshalJSON

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

func (*CreateLogsInstancePayload) SetAcl

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

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

func (*CreateLogsInstancePayload) SetDescription

func (o *CreateLogsInstancePayload) SetDescription(v string)

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

func (*CreateLogsInstancePayload) SetDisplayName

func (o *CreateLogsInstancePayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateLogsInstancePayload) SetRetentionDays

func (o *CreateLogsInstancePayload) SetRetentionDays(v int32)

SetRetentionDays sets field value

func (CreateLogsInstancePayload) ToMap

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

func (*CreateLogsInstancePayload) UnmarshalJSON

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

type DefaultAPI

type DefaultAPI interface {

	/*
			CreateAccessPolicy Create Access Policy

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies` instead.

		Create a new access policy for 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 ApiCreateAccessPolicyRequest

			Deprecated
	*/
	CreateAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateAccessPolicyRequest

	// CreateAccessPolicyExecute executes the request
	//  @return AccessPolicy
	// Deprecated
	CreateAccessPolicyExecute(r ApiCreateAccessPolicyRequest) (*AccessPolicy, error)

	/*
			CreateAccessToken Create Access Token

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens` instead.

		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

			Deprecated
	*/
	CreateAccessToken(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateAccessTokenRequest

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

	/*
			CreateLogsInstance Create Logs instance

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances` instead.

		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

			Deprecated
	*/
	CreateLogsInstance(ctx context.Context, projectId string, regionId string) ApiCreateLogsInstanceRequest

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

	/*
			DeleteAccessPolicy Delete Access Policy

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies/{pId}` instead.

		Deletes a Logs instance access policy

			@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 pId The access policy unique id.
			@return ApiDeleteAccessPolicyRequest

			Deprecated
	*/
	DeleteAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string, pId string) ApiDeleteAccessPolicyRequest

	// DeleteAccessPolicyExecute executes the request
	// Deprecated
	DeleteAccessPolicyExecute(r ApiDeleteAccessPolicyRequest) error

	/*
			DeleteAccessToken Delete Access Token

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}` instead.

		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

			Deprecated
	*/
	DeleteAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiDeleteAccessTokenRequest

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

	/*
			DeleteAllAccessPolicies Delete All Access Policies

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies` instead.

		Deletes all access policies 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 ApiDeleteAllAccessPoliciesRequest

			Deprecated
	*/
	DeleteAllAccessPolicies(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllAccessPoliciesRequest

	// DeleteAllAccessPoliciesExecute executes the request
	//  @return AccessPolicyList
	// Deprecated
	DeleteAllAccessPoliciesExecute(r ApiDeleteAllAccessPoliciesRequest) (*AccessPolicyList, error)

	/*
			DeleteAllAccessTokens Delete All Access Tokens

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens` instead.

		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

			Deprecated
	*/
	DeleteAllAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllAccessTokensRequest

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

	/*
			DeleteAllExpiredAccessTokens Deletes all expired access tokens

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/expired` instead.

		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

			Deprecated
	*/
	DeleteAllExpiredAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllExpiredAccessTokensRequest

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

	/*
			DeleteLogsInstance Delete Logs instance

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}` instead.

		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

			Deprecated
	*/
	DeleteLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteLogsInstanceRequest

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

	/*
			GetAccessPolicy Get Access Policy

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies/{pId}` instead.

		Get the information of the given access policy.

			@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 pId The access policy unique id.
			@return ApiGetAccessPolicyRequest

			Deprecated
	*/
	GetAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string, pId string) ApiGetAccessPolicyRequest

	// GetAccessPolicyExecute executes the request
	//  @return AccessPolicy
	// Deprecated
	GetAccessPolicyExecute(r ApiGetAccessPolicyRequest) (*AccessPolicy, error)

	/*
			GetAccessToken Get Access Token

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}` instead.

		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

			Deprecated
	*/
	GetAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiGetAccessTokenRequest

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

	/*
			GetLogsInstance Get Logs Instance

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}` instead.

		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

			Deprecated
	*/
	GetLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiGetLogsInstanceRequest

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

	/*
			ListAccessPolicies List Access Policies

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies` instead.

		Returns a list of access policies 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 ApiListAccessPoliciesRequest

			Deprecated
	*/
	ListAccessPolicies(ctx context.Context, projectId string, regionId string, instanceId string) ApiListAccessPoliciesRequest

	// ListAccessPoliciesExecute executes the request
	//  @return AccessPolicyList
	// Deprecated
	ListAccessPoliciesExecute(r ApiListAccessPoliciesRequest) (*AccessPolicyList, error)

	/*
			ListAccessTokens List Access Tokens

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens` instead.

		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

			Deprecated
	*/
	ListAccessTokens(ctx context.Context, projectId string, regionId string, instanceId string) ApiListAccessTokensRequest

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

	/*
			ListLogsInstances List Logs instances

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances` instead.

		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

			Deprecated
	*/
	ListLogsInstances(ctx context.Context, projectId string, regionId string) ApiListLogsInstancesRequest

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

	/*
			UpdateAccessPolicy Update Access Policy

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies/{pId}` instead.

		Updates the given access policy.

			@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 pId The access policy unique id.
			@return ApiUpdateAccessPolicyRequest

			Deprecated
	*/
	UpdateAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string, pId string) ApiUpdateAccessPolicyRequest

	// UpdateAccessPolicyExecute executes the request
	//  @return AccessPolicy
	// Deprecated
	UpdateAccessPolicyExecute(r ApiUpdateAccessPolicyRequest) (*AccessPolicy, error)

	/*
			UpdateAccessToken Update Access Token

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}` instead.

		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

			Deprecated
	*/
	UpdateAccessToken(ctx context.Context, projectId string, regionId string, instanceId string, tId string) ApiUpdateAccessTokenRequest

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

	/*
			UpdateLogsInstance Update Logs instance

			**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}` instead.

		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

			Deprecated
	*/
	UpdateLogsInstance(ctx context.Context, projectId string, regionId string, instanceId string) ApiUpdateLogsInstanceRequest

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

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateAccessPolicy added in v0.12.0

func (a *DefaultAPIService) CreateAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateAccessPolicyRequest

CreateAccessPolicy Create Access Policy

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies` instead.

Create a new access policy for 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 ApiCreateAccessPolicyRequest

Deprecated

func (*DefaultAPIService) CreateAccessPolicyExecute added in v0.12.0

func (a *DefaultAPIService) CreateAccessPolicyExecute(r ApiCreateAccessPolicyRequest) (*AccessPolicy, error)

Execute executes the request

@return AccessPolicy

Deprecated

func (*DefaultAPIService) CreateAccessToken

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

CreateAccessToken Create Access Token

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens` instead.

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

Deprecated

func (*DefaultAPIService) CreateAccessTokenExecute

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

Execute executes the request

@return AccessToken

Deprecated

func (*DefaultAPIService) CreateLogsInstance

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

CreateLogsInstance Create Logs instance

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances` instead.

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

Deprecated

func (*DefaultAPIService) CreateLogsInstanceExecute

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

Execute executes the request

@return LogsInstance

Deprecated

func (*DefaultAPIService) DeleteAccessPolicy added in v0.12.0

func (a *DefaultAPIService) DeleteAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string, pId string) ApiDeleteAccessPolicyRequest

DeleteAccessPolicy Delete Access Policy

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies/{pId}` instead.

Deletes a Logs instance access policy

@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 pId The access policy unique id.
@return ApiDeleteAccessPolicyRequest

Deprecated

func (*DefaultAPIService) DeleteAccessPolicyExecute added in v0.12.0

func (a *DefaultAPIService) DeleteAccessPolicyExecute(r ApiDeleteAccessPolicyRequest) error

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteAccessToken

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

DeleteAccessToken Delete Access Token

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}` instead.

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

Deprecated

func (*DefaultAPIService) DeleteAccessTokenExecute

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

Execute executes the request Deprecated

func (*DefaultAPIService) DeleteAllAccessPolicies added in v0.12.0

func (a *DefaultAPIService) DeleteAllAccessPolicies(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllAccessPoliciesRequest

DeleteAllAccessPolicies Delete All Access Policies

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies` instead.

Deletes all access policies 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 ApiDeleteAllAccessPoliciesRequest

Deprecated

func (*DefaultAPIService) DeleteAllAccessPoliciesExecute added in v0.12.0

func (a *DefaultAPIService) DeleteAllAccessPoliciesExecute(r ApiDeleteAllAccessPoliciesRequest) (*AccessPolicyList, error)

Execute executes the request

@return AccessPolicyList

Deprecated

func (*DefaultAPIService) DeleteAllAccessTokens

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

DeleteAllAccessTokens Delete All Access Tokens

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens` instead.

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

Deprecated

func (*DefaultAPIService) DeleteAllAccessTokensExecute

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

Execute executes the request

@return AccessTokenList

Deprecated

func (*DefaultAPIService) DeleteAllExpiredAccessTokens

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

DeleteAllExpiredAccessTokens Deletes all expired access tokens

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/expired` instead.

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

Deprecated

func (*DefaultAPIService) DeleteAllExpiredAccessTokensExecute

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

Execute executes the request

@return AccessTokenList

Deprecated

func (*DefaultAPIService) DeleteLogsInstance

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

DeleteLogsInstance Delete Logs instance

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}` instead.

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

Deprecated

func (*DefaultAPIService) DeleteLogsInstanceExecute

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

Execute executes the request Deprecated

func (*DefaultAPIService) GetAccessPolicy added in v0.12.0

func (a *DefaultAPIService) GetAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string, pId string) ApiGetAccessPolicyRequest

GetAccessPolicy Get Access Policy

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies/{pId}` instead.

Get the information of the given access policy.

@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 pId The access policy unique id.
@return ApiGetAccessPolicyRequest

Deprecated

func (*DefaultAPIService) GetAccessPolicyExecute added in v0.12.0

func (a *DefaultAPIService) GetAccessPolicyExecute(r ApiGetAccessPolicyRequest) (*AccessPolicy, error)

Execute executes the request

@return AccessPolicy

Deprecated

func (*DefaultAPIService) GetAccessToken

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

GetAccessToken Get Access Token

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}` instead.

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

Deprecated

func (*DefaultAPIService) GetAccessTokenExecute

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

Execute executes the request

@return AccessToken

Deprecated

func (*DefaultAPIService) GetLogsInstance

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

GetLogsInstance Get Logs Instance

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}` instead.

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

Deprecated

func (*DefaultAPIService) GetLogsInstanceExecute

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

Execute executes the request

@return LogsInstance

Deprecated

func (*DefaultAPIService) ListAccessPolicies added in v0.12.0

func (a *DefaultAPIService) ListAccessPolicies(ctx context.Context, projectId string, regionId string, instanceId string) ApiListAccessPoliciesRequest

ListAccessPolicies List Access Policies

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies` instead.

Returns a list of access policies 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 ApiListAccessPoliciesRequest

Deprecated

func (*DefaultAPIService) ListAccessPoliciesExecute added in v0.12.0

func (a *DefaultAPIService) ListAccessPoliciesExecute(r ApiListAccessPoliciesRequest) (*AccessPolicyList, error)

Execute executes the request

@return AccessPolicyList

Deprecated

func (*DefaultAPIService) ListAccessTokens

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

ListAccessTokens List Access Tokens

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens` instead.

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

Deprecated

func (*DefaultAPIService) ListAccessTokensExecute

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

Execute executes the request

@return AccessTokenList

Deprecated

func (*DefaultAPIService) ListLogsInstances

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

ListLogsInstances List Logs instances

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances` instead.

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

Deprecated

func (*DefaultAPIService) ListLogsInstancesExecute

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

Execute executes the request

@return LogsInstancesList

Deprecated

func (*DefaultAPIService) UpdateAccessPolicy added in v0.12.0

func (a *DefaultAPIService) UpdateAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string, pId string) ApiUpdateAccessPolicyRequest

UpdateAccessPolicy Update Access Policy

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-policies/{pId}` instead.

Updates the given access policy.

@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 pId The access policy unique id.
@return ApiUpdateAccessPolicyRequest

Deprecated

func (*DefaultAPIService) UpdateAccessPolicyExecute added in v0.12.0

func (a *DefaultAPIService) UpdateAccessPolicyExecute(r ApiUpdateAccessPolicyRequest) (*AccessPolicy, error)

Execute executes the request

@return AccessPolicy

Deprecated

func (*DefaultAPIService) UpdateAccessToken

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

UpdateAccessToken Update Access Token

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}/access-tokens/{tId}` instead.

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

Deprecated

func (*DefaultAPIService) UpdateAccessTokenExecute

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

Execute executes the request Deprecated

func (*DefaultAPIService) UpdateLogsInstance

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

UpdateLogsInstance Update Logs instance

**Deprecated**: Use Logs API v1 `/v1/projects/{projectId}/regions/{regionId}/instances/{instanceId}` instead.

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

Deprecated

func (*DefaultAPIService) UpdateLogsInstanceExecute

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

Execute executes the request

@return LogsInstance

Deprecated

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// Deprecated: CreateAccessPolicyExecuteMock can be populated to implement the behavior of the CreateAccessPolicyExecute function of this mock
	CreateAccessPolicyExecuteMock *func(r ApiCreateAccessPolicyRequest) (*AccessPolicy, error)
	// Deprecated: CreateAccessTokenExecuteMock can be populated to implement the behavior of the CreateAccessTokenExecute function of this mock
	CreateAccessTokenExecuteMock *func(r ApiCreateAccessTokenRequest) (*AccessToken, error)
	// Deprecated: CreateLogsInstanceExecuteMock can be populated to implement the behavior of the CreateLogsInstanceExecute function of this mock
	CreateLogsInstanceExecuteMock *func(r ApiCreateLogsInstanceRequest) (*LogsInstance, error)
	// Deprecated: DeleteAccessPolicyExecuteMock can be populated to implement the behavior of the DeleteAccessPolicyExecute function of this mock
	DeleteAccessPolicyExecuteMock *func(r ApiDeleteAccessPolicyRequest) error
	// Deprecated: DeleteAccessTokenExecuteMock can be populated to implement the behavior of the DeleteAccessTokenExecute function of this mock
	DeleteAccessTokenExecuteMock *func(r ApiDeleteAccessTokenRequest) error
	// Deprecated: DeleteAllAccessPoliciesExecuteMock can be populated to implement the behavior of the DeleteAllAccessPoliciesExecute function of this mock
	DeleteAllAccessPoliciesExecuteMock *func(r ApiDeleteAllAccessPoliciesRequest) (*AccessPolicyList, error)
	// Deprecated: DeleteAllAccessTokensExecuteMock can be populated to implement the behavior of the DeleteAllAccessTokensExecute function of this mock
	DeleteAllAccessTokensExecuteMock *func(r ApiDeleteAllAccessTokensRequest) (*AccessTokenList, error)
	// Deprecated: DeleteAllExpiredAccessTokensExecuteMock can be populated to implement the behavior of the DeleteAllExpiredAccessTokensExecute function of this mock
	DeleteAllExpiredAccessTokensExecuteMock *func(r ApiDeleteAllExpiredAccessTokensRequest) (*AccessTokenList, error)
	// Deprecated: DeleteLogsInstanceExecuteMock can be populated to implement the behavior of the DeleteLogsInstanceExecute function of this mock
	DeleteLogsInstanceExecuteMock *func(r ApiDeleteLogsInstanceRequest) error
	// Deprecated: GetAccessPolicyExecuteMock can be populated to implement the behavior of the GetAccessPolicyExecute function of this mock
	GetAccessPolicyExecuteMock *func(r ApiGetAccessPolicyRequest) (*AccessPolicy, error)
	// Deprecated: GetAccessTokenExecuteMock can be populated to implement the behavior of the GetAccessTokenExecute function of this mock
	GetAccessTokenExecuteMock *func(r ApiGetAccessTokenRequest) (*AccessToken, error)
	// Deprecated: GetLogsInstanceExecuteMock can be populated to implement the behavior of the GetLogsInstanceExecute function of this mock
	GetLogsInstanceExecuteMock *func(r ApiGetLogsInstanceRequest) (*LogsInstance, error)
	// Deprecated: ListAccessPoliciesExecuteMock can be populated to implement the behavior of the ListAccessPoliciesExecute function of this mock
	ListAccessPoliciesExecuteMock *func(r ApiListAccessPoliciesRequest) (*AccessPolicyList, error)
	// Deprecated: ListAccessTokensExecuteMock can be populated to implement the behavior of the ListAccessTokensExecute function of this mock
	ListAccessTokensExecuteMock *func(r ApiListAccessTokensRequest) (*AccessTokenList, error)
	// Deprecated: ListLogsInstancesExecuteMock can be populated to implement the behavior of the ListLogsInstancesExecute function of this mock
	ListLogsInstancesExecuteMock *func(r ApiListLogsInstancesRequest) (*LogsInstancesList, error)
	// Deprecated: UpdateAccessPolicyExecuteMock can be populated to implement the behavior of the UpdateAccessPolicyExecute function of this mock
	UpdateAccessPolicyExecuteMock *func(r ApiUpdateAccessPolicyRequest) (*AccessPolicy, error)
	// Deprecated: UpdateAccessTokenExecuteMock can be populated to implement the behavior of the UpdateAccessTokenExecute function of this mock
	UpdateAccessTokenExecuteMock *func(r ApiUpdateAccessTokenRequest) error
	// Deprecated: UpdateLogsInstanceExecuteMock can be populated to implement the behavior of the UpdateLogsInstanceExecute function of this mock
	UpdateLogsInstanceExecuteMock *func(r ApiUpdateLogsInstanceRequest) (*LogsInstance, error)
}

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

func (DefaultAPIServiceMock) CreateAccessPolicy added in v0.12.0

func (a DefaultAPIServiceMock) CreateAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string) ApiCreateAccessPolicyRequest

Deprecated

func (DefaultAPIServiceMock) CreateAccessPolicyExecute deprecated added in v0.12.0

func (a DefaultAPIServiceMock) CreateAccessPolicyExecute(r ApiCreateAccessPolicyRequest) (*AccessPolicy, error)

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

func (DefaultAPIServiceMock) CreateAccessToken

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

Deprecated

func (DefaultAPIServiceMock) CreateAccessTokenExecute deprecated

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

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

func (DefaultAPIServiceMock) CreateLogsInstance

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

Deprecated

func (DefaultAPIServiceMock) CreateLogsInstanceExecute deprecated

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

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

func (DefaultAPIServiceMock) DeleteAccessPolicy added in v0.12.0

func (a DefaultAPIServiceMock) DeleteAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string, pId string) ApiDeleteAccessPolicyRequest

Deprecated

func (DefaultAPIServiceMock) DeleteAccessPolicyExecute deprecated added in v0.12.0

func (a DefaultAPIServiceMock) DeleteAccessPolicyExecute(r ApiDeleteAccessPolicyRequest) error

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

func (DefaultAPIServiceMock) DeleteAccessToken

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

Deprecated

func (DefaultAPIServiceMock) DeleteAccessTokenExecute deprecated

func (a DefaultAPIServiceMock) DeleteAccessTokenExecute(r ApiDeleteAccessTokenRequest) error

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

func (DefaultAPIServiceMock) DeleteAllAccessPolicies added in v0.12.0

func (a DefaultAPIServiceMock) DeleteAllAccessPolicies(ctx context.Context, projectId string, regionId string, instanceId string) ApiDeleteAllAccessPoliciesRequest

Deprecated

func (DefaultAPIServiceMock) DeleteAllAccessPoliciesExecute deprecated added in v0.12.0

func (a DefaultAPIServiceMock) DeleteAllAccessPoliciesExecute(r ApiDeleteAllAccessPoliciesRequest) (*AccessPolicyList, error)

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

func (DefaultAPIServiceMock) DeleteAllAccessTokens

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

Deprecated

func (DefaultAPIServiceMock) DeleteAllAccessTokensExecute deprecated

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

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

func (DefaultAPIServiceMock) DeleteAllExpiredAccessTokens

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

Deprecated

func (DefaultAPIServiceMock) DeleteAllExpiredAccessTokensExecute deprecated

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

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

func (DefaultAPIServiceMock) DeleteLogsInstance

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

Deprecated

func (DefaultAPIServiceMock) DeleteLogsInstanceExecute deprecated

func (a DefaultAPIServiceMock) DeleteLogsInstanceExecute(r ApiDeleteLogsInstanceRequest) error

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

func (DefaultAPIServiceMock) GetAccessPolicy added in v0.12.0

func (a DefaultAPIServiceMock) GetAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string, pId string) ApiGetAccessPolicyRequest

Deprecated

func (DefaultAPIServiceMock) GetAccessPolicyExecute deprecated added in v0.12.0

func (a DefaultAPIServiceMock) GetAccessPolicyExecute(r ApiGetAccessPolicyRequest) (*AccessPolicy, error)

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

func (DefaultAPIServiceMock) GetAccessToken

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

Deprecated

func (DefaultAPIServiceMock) GetAccessTokenExecute deprecated

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

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

func (DefaultAPIServiceMock) GetLogsInstance

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

Deprecated

func (DefaultAPIServiceMock) GetLogsInstanceExecute deprecated

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

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

func (DefaultAPIServiceMock) ListAccessPolicies added in v0.12.0

func (a DefaultAPIServiceMock) ListAccessPolicies(ctx context.Context, projectId string, regionId string, instanceId string) ApiListAccessPoliciesRequest

Deprecated

func (DefaultAPIServiceMock) ListAccessPoliciesExecute deprecated added in v0.12.0

func (a DefaultAPIServiceMock) ListAccessPoliciesExecute(r ApiListAccessPoliciesRequest) (*AccessPolicyList, error)

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

func (DefaultAPIServiceMock) ListAccessTokens

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

Deprecated

func (DefaultAPIServiceMock) ListAccessTokensExecute deprecated

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

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

func (DefaultAPIServiceMock) ListLogsInstances

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

Deprecated

func (DefaultAPIServiceMock) ListLogsInstancesExecute deprecated

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

func (DefaultAPIServiceMock) UpdateAccessPolicy added in v0.12.0

func (a DefaultAPIServiceMock) UpdateAccessPolicy(ctx context.Context, projectId string, regionId string, instanceId string, pId string) ApiUpdateAccessPolicyRequest

Deprecated

func (DefaultAPIServiceMock) UpdateAccessPolicyExecute deprecated added in v0.12.0

func (a DefaultAPIServiceMock) UpdateAccessPolicyExecute(r ApiUpdateAccessPolicyRequest) (*AccessPolicy, error)

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

func (DefaultAPIServiceMock) UpdateAccessToken

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

Deprecated

func (DefaultAPIServiceMock) UpdateAccessTokenExecute deprecated

func (a DefaultAPIServiceMock) UpdateAccessTokenExecute(r ApiUpdateAccessTokenRequest) error

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

func (DefaultAPIServiceMock) UpdateLogsInstance

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

Deprecated

func (DefaultAPIServiceMock) UpdateLogsInstanceExecute deprecated

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

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

type LogsInstance

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

LogsInstance struct for LogsInstance

func NewLogsInstance

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

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

func NewLogsInstanceWithDefaults

func NewLogsInstanceWithDefaults() *LogsInstance

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

func (*LogsInstance) GetAcl

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

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

func (*LogsInstance) GetAclOk

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

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

func (*LogsInstance) GetCreated

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

GetCreated returns the Created field value

func (*LogsInstance) GetCreatedOk

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

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

func (*LogsInstance) GetDatasourceUrl

func (o *LogsInstance) GetDatasourceUrl() string

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

func (*LogsInstance) GetDatasourceUrlOk

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

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

func (*LogsInstance) GetDescription

func (o *LogsInstance) GetDescription() string

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

func (*LogsInstance) GetDescriptionOk

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

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

func (*LogsInstance) GetDisplayName

func (o *LogsInstance) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*LogsInstance) GetDisplayNameOk

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

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

func (*LogsInstance) GetId

func (o *LogsInstance) GetId() string

GetId returns the Id field value

func (*LogsInstance) GetIdOk

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

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

func (*LogsInstance) GetIngestOtlpUrl

func (o *LogsInstance) GetIngestOtlpUrl() string

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

func (*LogsInstance) GetIngestOtlpUrlOk

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

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

func (*LogsInstance) GetIngestUrl

func (o *LogsInstance) GetIngestUrl() string

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

func (*LogsInstance) GetIngestUrlOk

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

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

func (*LogsInstance) GetQueryRangeUrl

func (o *LogsInstance) GetQueryRangeUrl() string

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

func (*LogsInstance) GetQueryRangeUrlOk

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

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

func (*LogsInstance) GetQueryUrl

func (o *LogsInstance) GetQueryUrl() string

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

func (*LogsInstance) GetQueryUrlOk

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

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

func (*LogsInstance) GetRetentionDays

func (o *LogsInstance) GetRetentionDays() int32

GetRetentionDays returns the RetentionDays field value

func (*LogsInstance) GetRetentionDaysOk

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

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

func (*LogsInstance) GetStatus

func (o *LogsInstance) GetStatus() LogsInstanceStatus

GetStatus returns the Status field value

func (*LogsInstance) GetStatusOk

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

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

func (*LogsInstance) HasAcl

func (o *LogsInstance) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*LogsInstance) HasDatasourceUrl

func (o *LogsInstance) HasDatasourceUrl() bool

HasDatasourceUrl returns a boolean if a field has been set.

func (*LogsInstance) HasDescription

func (o *LogsInstance) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*LogsInstance) HasIngestOtlpUrl

func (o *LogsInstance) HasIngestOtlpUrl() bool

HasIngestOtlpUrl returns a boolean if a field has been set.

func (*LogsInstance) HasIngestUrl

func (o *LogsInstance) HasIngestUrl() bool

HasIngestUrl returns a boolean if a field has been set.

func (*LogsInstance) HasQueryRangeUrl

func (o *LogsInstance) HasQueryRangeUrl() bool

HasQueryRangeUrl returns a boolean if a field has been set.

func (*LogsInstance) HasQueryUrl

func (o *LogsInstance) HasQueryUrl() bool

HasQueryUrl returns a boolean if a field has been set.

func (LogsInstance) MarshalJSON

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

func (*LogsInstance) SetAcl

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

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

func (*LogsInstance) SetCreated

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

SetCreated sets field value

func (*LogsInstance) SetDatasourceUrl

func (o *LogsInstance) SetDatasourceUrl(v string)

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

func (*LogsInstance) SetDescription

func (o *LogsInstance) SetDescription(v string)

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

func (*LogsInstance) SetDisplayName

func (o *LogsInstance) SetDisplayName(v string)

SetDisplayName sets field value

func (*LogsInstance) SetId

func (o *LogsInstance) SetId(v string)

SetId sets field value

func (*LogsInstance) SetIngestOtlpUrl

func (o *LogsInstance) SetIngestOtlpUrl(v string)

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

func (*LogsInstance) SetIngestUrl

func (o *LogsInstance) SetIngestUrl(v string)

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

func (*LogsInstance) SetQueryRangeUrl

func (o *LogsInstance) SetQueryRangeUrl(v string)

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

func (*LogsInstance) SetQueryUrl

func (o *LogsInstance) SetQueryUrl(v string)

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

func (*LogsInstance) SetRetentionDays

func (o *LogsInstance) SetRetentionDays(v int32)

SetRetentionDays sets field value

func (*LogsInstance) SetStatus

func (o *LogsInstance) SetStatus(v LogsInstanceStatus)

SetStatus sets field value

func (LogsInstance) ToMap

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

func (*LogsInstance) UnmarshalJSON

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

type LogsInstanceStatus added in v0.10.0

type LogsInstanceStatus string

LogsInstanceStatus The current status of the Logs instance.

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

List of logsInstance_status

func NewLogsInstanceStatusFromValue added in v0.10.0

func NewLogsInstanceStatusFromValue(v string) (*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 added in v0.10.0

func (v LogsInstanceStatus) IsValid() bool

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

func (LogsInstanceStatus) Ptr added in v0.10.0

Ptr returns reference to logsInstance_status value

func (*LogsInstanceStatus) UnmarshalJSON added in v0.10.0

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

type LogsInstancesList

type LogsInstancesList struct {
	Instances            []LogsInstance `json:"instances"`
	AdditionalProperties map[string]interface{}
}

LogsInstancesList struct for LogsInstancesList

func NewLogsInstancesList

func NewLogsInstancesList(instances []LogsInstance) *LogsInstancesList

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

func NewLogsInstancesListWithDefaults

func NewLogsInstancesListWithDefaults() *LogsInstancesList

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

func (*LogsInstancesList) GetInstances

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

GetInstances returns the Instances field value

func (*LogsInstancesList) GetInstancesOk

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

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

func (LogsInstancesList) MarshalJSON

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

func (*LogsInstancesList) SetInstances

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

SetInstances sets field value

func (LogsInstancesList) ToMap

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

func (*LogsInstancesList) UnmarshalJSON

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

type MappedNullable

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

type NullableAccessPolicy added in v0.12.0

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

func NewNullableAccessPolicy added in v0.12.0

func NewNullableAccessPolicy(val *AccessPolicy) *NullableAccessPolicy

func (NullableAccessPolicy) Get added in v0.12.0

func (NullableAccessPolicy) IsSet added in v0.12.0

func (v NullableAccessPolicy) IsSet() bool

func (NullableAccessPolicy) MarshalJSON added in v0.12.0

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

func (*NullableAccessPolicy) Set added in v0.12.0

func (v *NullableAccessPolicy) Set(val *AccessPolicy)

func (*NullableAccessPolicy) UnmarshalJSON added in v0.12.0

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

func (*NullableAccessPolicy) Unset added in v0.12.0

func (v *NullableAccessPolicy) Unset()

type NullableAccessPolicyList added in v0.12.0

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

func NewNullableAccessPolicyList added in v0.12.0

func NewNullableAccessPolicyList(val *AccessPolicyList) *NullableAccessPolicyList

func (NullableAccessPolicyList) Get added in v0.12.0

func (NullableAccessPolicyList) IsSet added in v0.12.0

func (v NullableAccessPolicyList) IsSet() bool

func (NullableAccessPolicyList) MarshalJSON added in v0.12.0

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

func (*NullableAccessPolicyList) Set added in v0.12.0

func (*NullableAccessPolicyList) UnmarshalJSON added in v0.12.0

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

func (*NullableAccessPolicyList) Unset added in v0.12.0

func (v *NullableAccessPolicyList) Unset()

type NullableAccessToken

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

func NewNullableAccessToken

func NewNullableAccessToken(val *AccessToken) *NullableAccessToken

func (NullableAccessToken) Get

func (NullableAccessToken) IsSet

func (v NullableAccessToken) IsSet() bool

func (NullableAccessToken) MarshalJSON

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

func (*NullableAccessToken) Set

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

func (*NullableAccessToken) UnmarshalJSON

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

func (*NullableAccessToken) Unset

func (v *NullableAccessToken) Unset()

type NullableAccessTokenList

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

func NewNullableAccessTokenList

func NewNullableAccessTokenList(val *AccessTokenList) *NullableAccessTokenList

func (NullableAccessTokenList) Get

func (NullableAccessTokenList) IsSet

func (v NullableAccessTokenList) IsSet() bool

func (NullableAccessTokenList) MarshalJSON

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

func (*NullableAccessTokenList) Set

func (*NullableAccessTokenList) UnmarshalJSON

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

func (*NullableAccessTokenList) Unset

func (v *NullableAccessTokenList) Unset()

type NullableAccessTokenStatus added in v0.10.0

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

func NewNullableAccessTokenStatus added in v0.10.0

func NewNullableAccessTokenStatus(val *AccessTokenStatus) *NullableAccessTokenStatus

func (NullableAccessTokenStatus) Get added in v0.10.0

func (NullableAccessTokenStatus) IsSet added in v0.10.0

func (v NullableAccessTokenStatus) IsSet() bool

func (NullableAccessTokenStatus) MarshalJSON added in v0.10.0

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

func (*NullableAccessTokenStatus) Set added in v0.10.0

func (*NullableAccessTokenStatus) UnmarshalJSON added in v0.10.0

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

func (*NullableAccessTokenStatus) Unset added in v0.10.0

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

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

func NewNullableCreateAccessPolicyPayload added in v0.12.0

func NewNullableCreateAccessPolicyPayload(val *CreateAccessPolicyPayload) *NullableCreateAccessPolicyPayload

func (NullableCreateAccessPolicyPayload) Get added in v0.12.0

func (NullableCreateAccessPolicyPayload) IsSet added in v0.12.0

func (NullableCreateAccessPolicyPayload) MarshalJSON added in v0.12.0

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

func (*NullableCreateAccessPolicyPayload) Set added in v0.12.0

func (*NullableCreateAccessPolicyPayload) UnmarshalJSON added in v0.12.0

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

func (*NullableCreateAccessPolicyPayload) Unset added in v0.12.0

type NullableCreateAccessTokenPayload

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

func (NullableCreateAccessTokenPayload) Get

func (NullableCreateAccessTokenPayload) IsSet

func (NullableCreateAccessTokenPayload) MarshalJSON

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

func (*NullableCreateAccessTokenPayload) Set

func (*NullableCreateAccessTokenPayload) UnmarshalJSON

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

func (*NullableCreateAccessTokenPayload) Unset

type NullableCreateLogsInstancePayload

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

func (NullableCreateLogsInstancePayload) Get

func (NullableCreateLogsInstancePayload) IsSet

func (NullableCreateLogsInstancePayload) MarshalJSON

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

func (*NullableCreateLogsInstancePayload) Set

func (*NullableCreateLogsInstancePayload) UnmarshalJSON

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

func (*NullableCreateLogsInstancePayload) Unset

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

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

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

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

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

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

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLogsInstance

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

func NewNullableLogsInstance

func NewNullableLogsInstance(val *LogsInstance) *NullableLogsInstance

func (NullableLogsInstance) Get

func (NullableLogsInstance) IsSet

func (v NullableLogsInstance) IsSet() bool

func (NullableLogsInstance) MarshalJSON

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

func (*NullableLogsInstance) Set

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

func (*NullableLogsInstance) UnmarshalJSON

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

func (*NullableLogsInstance) Unset

func (v *NullableLogsInstance) Unset()

type NullableLogsInstanceStatus added in v0.10.0

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

func NewNullableLogsInstanceStatus added in v0.10.0

func NewNullableLogsInstanceStatus(val *LogsInstanceStatus) *NullableLogsInstanceStatus

func (NullableLogsInstanceStatus) Get added in v0.10.0

func (NullableLogsInstanceStatus) IsSet added in v0.10.0

func (v NullableLogsInstanceStatus) IsSet() bool

func (NullableLogsInstanceStatus) MarshalJSON added in v0.10.0

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

func (*NullableLogsInstanceStatus) Set added in v0.10.0

func (*NullableLogsInstanceStatus) UnmarshalJSON added in v0.10.0

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

func (*NullableLogsInstanceStatus) Unset added in v0.10.0

func (v *NullableLogsInstanceStatus) Unset()

type NullableLogsInstancesList

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

func NewNullableLogsInstancesList

func NewNullableLogsInstancesList(val *LogsInstancesList) *NullableLogsInstancesList

func (NullableLogsInstancesList) Get

func (NullableLogsInstancesList) IsSet

func (v NullableLogsInstancesList) IsSet() bool

func (NullableLogsInstancesList) MarshalJSON

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

func (*NullableLogsInstancesList) Set

func (*NullableLogsInstancesList) UnmarshalJSON

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

func (*NullableLogsInstancesList) Unset

func (v *NullableLogsInstancesList) Unset()

type NullablePermissionsInner added in v0.10.0

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

func NewNullablePermissionsInner added in v0.10.0

func NewNullablePermissionsInner(val *PermissionsInner) *NullablePermissionsInner

func (NullablePermissionsInner) Get added in v0.10.0

func (NullablePermissionsInner) IsSet added in v0.10.0

func (v NullablePermissionsInner) IsSet() bool

func (NullablePermissionsInner) MarshalJSON added in v0.10.0

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

func (*NullablePermissionsInner) Set added in v0.10.0

func (*NullablePermissionsInner) UnmarshalJSON added in v0.10.0

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

func (*NullablePermissionsInner) Unset added in v0.10.0

func (v *NullablePermissionsInner) 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 NullableUpdateAccessPolicyPayload added in v0.12.0

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

func NewNullableUpdateAccessPolicyPayload added in v0.12.0

func NewNullableUpdateAccessPolicyPayload(val *UpdateAccessPolicyPayload) *NullableUpdateAccessPolicyPayload

func (NullableUpdateAccessPolicyPayload) Get added in v0.12.0

func (NullableUpdateAccessPolicyPayload) IsSet added in v0.12.0

func (NullableUpdateAccessPolicyPayload) MarshalJSON added in v0.12.0

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

func (*NullableUpdateAccessPolicyPayload) Set added in v0.12.0

func (*NullableUpdateAccessPolicyPayload) UnmarshalJSON added in v0.12.0

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

func (*NullableUpdateAccessPolicyPayload) Unset added in v0.12.0

type NullableUpdateAccessTokenPayload

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

func (NullableUpdateAccessTokenPayload) Get

func (NullableUpdateAccessTokenPayload) IsSet

func (NullableUpdateAccessTokenPayload) MarshalJSON

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

func (*NullableUpdateAccessTokenPayload) Set

func (*NullableUpdateAccessTokenPayload) UnmarshalJSON

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

func (*NullableUpdateAccessTokenPayload) Unset

type NullableUpdateLogsInstancePayload

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

func (NullableUpdateLogsInstancePayload) Get

func (NullableUpdateLogsInstancePayload) IsSet

func (NullableUpdateLogsInstancePayload) MarshalJSON

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

func (*NullableUpdateLogsInstancePayload) Set

func (*NullableUpdateLogsInstancePayload) UnmarshalJSON

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

func (*NullableUpdateLogsInstancePayload) Unset

type PermissionsInner added in v0.10.0

type PermissionsInner string

PermissionsInner the model 'PermissionsInner'

const (
	PERMISSIONSINNER_READ                     PermissionsInner = "read"
	PERMISSIONSINNER_WRITE                    PermissionsInner = "write"
	PERMISSIONSINNER_UNKNOWN_DEFAULT_OPEN_API PermissionsInner = "unknown_default_open_api"
)

List of permissions_inner

func NewPermissionsInnerFromValue added in v0.10.0

func NewPermissionsInnerFromValue(v string) (*PermissionsInner, error)

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

func (PermissionsInner) IsValid added in v0.10.0

func (v PermissionsInner) IsValid() bool

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

func (PermissionsInner) Ptr added in v0.10.0

Ptr returns reference to permissions_inner value

func (*PermissionsInner) UnmarshalJSON added in v0.10.0

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

type UpdateAccessPolicyPayload added in v0.12.0

type UpdateAccessPolicyPayload struct {
	// The updated description of the access policy. If not present will be ignored in update.
	Description NullableString `json:"description,omitempty"`
	// The access permissions granted to the access token or access policy.
	Permissions          []PermissionsInner `json:"permissions,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateAccessPolicyPayload struct for UpdateAccessPolicyPayload

func NewUpdateAccessPolicyPayload added in v0.12.0

func NewUpdateAccessPolicyPayload() *UpdateAccessPolicyPayload

NewUpdateAccessPolicyPayload instantiates a new UpdateAccessPolicyPayload 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 NewUpdateAccessPolicyPayloadWithDefaults added in v0.12.0

func NewUpdateAccessPolicyPayloadWithDefaults() *UpdateAccessPolicyPayload

NewUpdateAccessPolicyPayloadWithDefaults instantiates a new UpdateAccessPolicyPayload 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 (*UpdateAccessPolicyPayload) GetDescription added in v0.12.0

func (o *UpdateAccessPolicyPayload) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateAccessPolicyPayload) GetDescriptionOk added in v0.12.0

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

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateAccessPolicyPayload) GetPermissions added in v0.12.0

func (o *UpdateAccessPolicyPayload) GetPermissions() []PermissionsInner

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*UpdateAccessPolicyPayload) GetPermissionsOk added in v0.12.0

func (o *UpdateAccessPolicyPayload) GetPermissionsOk() ([]PermissionsInner, bool)

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

func (*UpdateAccessPolicyPayload) HasDescription added in v0.12.0

func (o *UpdateAccessPolicyPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateAccessPolicyPayload) HasPermissions added in v0.12.0

func (o *UpdateAccessPolicyPayload) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (UpdateAccessPolicyPayload) MarshalJSON added in v0.12.0

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

func (*UpdateAccessPolicyPayload) SetDescription added in v0.12.0

func (o *UpdateAccessPolicyPayload) SetDescription(v string)

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

func (*UpdateAccessPolicyPayload) SetDescriptionNil added in v0.12.0

func (o *UpdateAccessPolicyPayload) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*UpdateAccessPolicyPayload) SetPermissions added in v0.12.0

func (o *UpdateAccessPolicyPayload) SetPermissions(v []PermissionsInner)

SetPermissions gets a reference to the given []PermissionsInner and assigns it to the Permissions field.

func (UpdateAccessPolicyPayload) ToMap added in v0.12.0

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

func (*UpdateAccessPolicyPayload) UnmarshalJSON added in v0.12.0

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

func (*UpdateAccessPolicyPayload) UnsetDescription added in v0.12.0

func (o *UpdateAccessPolicyPayload) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type UpdateAccessTokenPayload

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

UpdateAccessTokenPayload struct for UpdateAccessTokenPayload

func NewUpdateAccessTokenPayload

func NewUpdateAccessTokenPayload() *UpdateAccessTokenPayload

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

func NewUpdateAccessTokenPayloadWithDefaults

func NewUpdateAccessTokenPayloadWithDefaults() *UpdateAccessTokenPayload

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

func (*UpdateAccessTokenPayload) GetDescription

func (o *UpdateAccessTokenPayload) GetDescription() string

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

func (*UpdateAccessTokenPayload) GetDescriptionOk

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

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

func (*UpdateAccessTokenPayload) GetDisplayName

func (o *UpdateAccessTokenPayload) GetDisplayName() string

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

func (*UpdateAccessTokenPayload) GetDisplayNameOk

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

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

func (*UpdateAccessTokenPayload) HasDescription

func (o *UpdateAccessTokenPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateAccessTokenPayload) HasDisplayName

func (o *UpdateAccessTokenPayload) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (UpdateAccessTokenPayload) MarshalJSON

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

func (*UpdateAccessTokenPayload) SetDescription

func (o *UpdateAccessTokenPayload) SetDescription(v string)

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

func (*UpdateAccessTokenPayload) SetDisplayName

func (o *UpdateAccessTokenPayload) SetDisplayName(v string)

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

func (UpdateAccessTokenPayload) ToMap

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

func (*UpdateAccessTokenPayload) UnmarshalJSON added in v0.7.0

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

type UpdateLogsInstancePayload

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

UpdateLogsInstancePayload struct for UpdateLogsInstancePayload

func NewUpdateLogsInstancePayload

func NewUpdateLogsInstancePayload() *UpdateLogsInstancePayload

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

func NewUpdateLogsInstancePayloadWithDefaults

func NewUpdateLogsInstancePayloadWithDefaults() *UpdateLogsInstancePayload

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

func (*UpdateLogsInstancePayload) GetAcl

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

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

func (*UpdateLogsInstancePayload) GetAclOk

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

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

func (*UpdateLogsInstancePayload) GetDescription

func (o *UpdateLogsInstancePayload) GetDescription() string

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

func (*UpdateLogsInstancePayload) GetDescriptionOk

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

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

func (*UpdateLogsInstancePayload) GetDisplayName

func (o *UpdateLogsInstancePayload) GetDisplayName() string

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

func (*UpdateLogsInstancePayload) GetDisplayNameOk

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

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

func (*UpdateLogsInstancePayload) GetRetentionDays

func (o *UpdateLogsInstancePayload) GetRetentionDays() int32

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

func (*UpdateLogsInstancePayload) GetRetentionDaysOk

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

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

func (*UpdateLogsInstancePayload) HasAcl

func (o *UpdateLogsInstancePayload) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*UpdateLogsInstancePayload) HasDescription

func (o *UpdateLogsInstancePayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateLogsInstancePayload) HasDisplayName

func (o *UpdateLogsInstancePayload) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*UpdateLogsInstancePayload) HasRetentionDays

func (o *UpdateLogsInstancePayload) HasRetentionDays() bool

HasRetentionDays returns a boolean if a field has been set.

func (UpdateLogsInstancePayload) MarshalJSON

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

func (*UpdateLogsInstancePayload) SetAcl

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

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

func (*UpdateLogsInstancePayload) SetDescription

func (o *UpdateLogsInstancePayload) SetDescription(v string)

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

func (*UpdateLogsInstancePayload) SetDisplayName

func (o *UpdateLogsInstancePayload) SetDisplayName(v string)

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

func (*UpdateLogsInstancePayload) SetRetentionDays

func (o *UpdateLogsInstancePayload) SetRetentionDays(v int32)

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

func (UpdateLogsInstancePayload) ToMap

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

func (*UpdateLogsInstancePayload) UnmarshalJSON added in v0.7.0

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

Jump to

Keyboard shortcuts

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