v1alphaapi

package
v0.0.0-...-ec49b83 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 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 AllowedSubscriptionResponseStateEnumValues = []SubscriptionResponseState{
	"reconciling",
	"active",
	"deleting",
	"unknown_default_open_api",
}

All allowed values of SubscriptionResponseState enum

View Source
var AllowedTopicResponseStateEnumValues = []TopicResponseState{
	"reconciling",
	"active",
	"deleting",
	"unknown_default_open_api",
}

All allowed values of TopicResponseState 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 [ALPHA] STACKIT PubSub API API v1alpha.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

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

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

func (*APIClient) GetConfig

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

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiCreateSubscriptionRequest

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

func (ApiCreateSubscriptionRequest) CreateSubscriptionPayload

func (r ApiCreateSubscriptionRequest) CreateSubscriptionPayload(createSubscriptionPayload CreateSubscriptionPayload) ApiCreateSubscriptionRequest

func (ApiCreateSubscriptionRequest) Execute

type ApiCreateTopicRequest

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

func (ApiCreateTopicRequest) CreateTopicPayload

func (r ApiCreateTopicRequest) CreateTopicPayload(createTopicPayload CreateTopicPayload) ApiCreateTopicRequest

func (ApiCreateTopicRequest) Execute

func (r ApiCreateTopicRequest) Execute() (*TopicResponse, error)

type ApiDeleteSubscriptionRequest

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

func (ApiDeleteSubscriptionRequest) Execute

func (r ApiDeleteSubscriptionRequest) Execute() error

func (ApiDeleteSubscriptionRequest) Force

If true, deletes the topic and all its active subscriptions (cascading delete). If false (default), the operation returns a 409 conflict if active subscriptions exist.

type ApiDeleteTopicRequest

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

func (ApiDeleteTopicRequest) Execute

func (r ApiDeleteTopicRequest) Execute() error

func (ApiDeleteTopicRequest) Force

If true, deletes the topic and all its active subscriptions (cascading delete). If false (default), the operation returns a 409 conflict if active subscriptions exist.

type ApiGetSubscriptionRequest

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

func (ApiGetSubscriptionRequest) Execute

type ApiGetTopicRequest

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

func (ApiGetTopicRequest) Execute

func (r ApiGetTopicRequest) Execute() (*TopicResponse, error)

type ApiGrantSubscriptionSubscriberAccessRequest

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

func (ApiGrantSubscriptionSubscriberAccessRequest) Execute

func (ApiGrantSubscriptionSubscriberAccessRequest) GrantSubscriptionSubscriberAccessPayload

func (r ApiGrantSubscriptionSubscriberAccessRequest) GrantSubscriptionSubscriberAccessPayload(grantSubscriptionSubscriberAccessPayload GrantSubscriptionSubscriberAccessPayload) ApiGrantSubscriptionSubscriberAccessRequest

type ApiGrantTopicPublisherAccessRequest

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

func (ApiGrantTopicPublisherAccessRequest) Execute

func (ApiGrantTopicPublisherAccessRequest) GrantTopicPublisherAccessPayload

func (r ApiGrantTopicPublisherAccessRequest) GrantTopicPublisherAccessPayload(grantTopicPublisherAccessPayload GrantTopicPublisherAccessPayload) ApiGrantTopicPublisherAccessRequest

type ApiListSubscriptionSubscribersRequest

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

func (ApiListSubscriptionSubscribersRequest) Execute

type ApiListSubscriptionsRequest

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

func (ApiListSubscriptionsRequest) Execute

func (ApiListSubscriptionsRequest) PageSize

Maximum number of items to return

func (ApiListSubscriptionsRequest) PageToken

A token to retrieve the next page of results.

func (ApiListSubscriptionsRequest) Query

Supply a query string to filter the results.

type ApiListTopicPublishersRequest

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

func (ApiListTopicPublishersRequest) Execute

type ApiListTopicsRequest

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

func (ApiListTopicsRequest) Execute

func (ApiListTopicsRequest) PageSize

func (r ApiListTopicsRequest) PageSize(pageSize int32) ApiListTopicsRequest

Maximum number of items to return

func (ApiListTopicsRequest) PageToken

func (r ApiListTopicsRequest) PageToken(pageToken string) ApiListTopicsRequest

A token to retrieve the next page of results.

func (ApiListTopicsRequest) Query

Supply a query string to filter the results.

type ApiRevokeSubscriptionSubscriberAccessRequest

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

func (ApiRevokeSubscriptionSubscriberAccessRequest) Execute

type ApiRevokeTopicPublisherAccessRequest

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

func (ApiRevokeTopicPublisherAccessRequest) Execute

type ApiUpdatePublisherAccessRequest

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

func (ApiUpdatePublisherAccessRequest) Execute

func (ApiUpdatePublisherAccessRequest) UpdatePublisherAccessPayload

func (r ApiUpdatePublisherAccessRequest) UpdatePublisherAccessPayload(updatePublisherAccessPayload UpdatePublisherAccessPayload) ApiUpdatePublisherAccessRequest

type ApiUpdateSubscriptionRequest

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

func (ApiUpdateSubscriptionRequest) Execute

func (r ApiUpdateSubscriptionRequest) Execute() error

func (ApiUpdateSubscriptionRequest) UpdateSubscriptionPayload

func (r ApiUpdateSubscriptionRequest) UpdateSubscriptionPayload(updateSubscriptionPayload UpdateSubscriptionPayload) ApiUpdateSubscriptionRequest

type ApiUpdateSubscriptionSubscriberAccessRequest

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

func (ApiUpdateSubscriptionSubscriberAccessRequest) Execute

func (ApiUpdateSubscriptionSubscriberAccessRequest) UpdateSubscriptionSubscriberAccessPayload

func (r ApiUpdateSubscriptionSubscriberAccessRequest) UpdateSubscriptionSubscriberAccessPayload(updateSubscriptionSubscriberAccessPayload UpdateSubscriptionSubscriberAccessPayload) ApiUpdateSubscriptionSubscriberAccessRequest

type ApiUpdateTopicRequest

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

func (ApiUpdateTopicRequest) Execute

func (r ApiUpdateTopicRequest) Execute() error

func (ApiUpdateTopicRequest) UpdateTopicPayload

func (r ApiUpdateTopicRequest) UpdateTopicPayload(updateTopicPayload UpdateTopicPayload) ApiUpdateTopicRequest

type CreateSubscriptionPayload

type CreateSubscriptionPayload struct {
	// The description is a longer text chosen by the user to provide more context for the resource.
	Description *string `json:"description,omitempty"`
	// The display name is a short name chosen by the user to identify the resource.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9 -]*$"`
	// Labels are key-value pairs used to group and organize subsets of resources.  **Key constraints:** - May contain an optional domain prefix separated by a slash (`/`). - The domain prefix must be less than or equal to 250 characters and a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - The name part (excluding the domain prefix) must be between 1 and 63 characters long. - The name part must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - The name part may contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use.  **Value constraints:** - Must be less than or equal to 63 characters long (can be empty). - Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) if not empty. - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between.  **Count constraint:** - A maximum of 64 labels can be applied per resource. Restricted labels are excluded from this count.
	Labels               *map[string]string    `json:"labels,omitempty"`
	Settings             *SubscriptionSettings `json:"settings,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateSubscriptionPayload struct for CreateSubscriptionPayload

func NewCreateSubscriptionPayload

func NewCreateSubscriptionPayload(displayName string) *CreateSubscriptionPayload

NewCreateSubscriptionPayload instantiates a new CreateSubscriptionPayload 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 NewCreateSubscriptionPayloadWithDefaults

func NewCreateSubscriptionPayloadWithDefaults() *CreateSubscriptionPayload

NewCreateSubscriptionPayloadWithDefaults instantiates a new CreateSubscriptionPayload 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 (*CreateSubscriptionPayload) GetDescription

func (o *CreateSubscriptionPayload) GetDescription() string

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

func (*CreateSubscriptionPayload) GetDescriptionOk

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

func (o *CreateSubscriptionPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateSubscriptionPayload) GetDisplayNameOk

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

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

func (*CreateSubscriptionPayload) GetLabels

func (o *CreateSubscriptionPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateSubscriptionPayload) GetLabelsOk

func (o *CreateSubscriptionPayload) GetLabelsOk() (*map[string]string, bool)

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

func (*CreateSubscriptionPayload) GetSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*CreateSubscriptionPayload) GetSettingsOk

func (o *CreateSubscriptionPayload) GetSettingsOk() (*SubscriptionSettings, bool)

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

func (*CreateSubscriptionPayload) HasDescription

func (o *CreateSubscriptionPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateSubscriptionPayload) HasLabels

func (o *CreateSubscriptionPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateSubscriptionPayload) HasSettings

func (o *CreateSubscriptionPayload) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (CreateSubscriptionPayload) MarshalJSON

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

func (*CreateSubscriptionPayload) SetDescription

func (o *CreateSubscriptionPayload) SetDescription(v string)

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

func (*CreateSubscriptionPayload) SetDisplayName

func (o *CreateSubscriptionPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateSubscriptionPayload) SetLabels

func (o *CreateSubscriptionPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*CreateSubscriptionPayload) SetSettings

SetSettings gets a reference to the given SubscriptionSettings and assigns it to the Settings field.

func (CreateSubscriptionPayload) ToMap

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

func (*CreateSubscriptionPayload) UnmarshalJSON

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

type CreateTopicPayload

type CreateTopicPayload struct {
	// The description is a longer text chosen by the user to provide more context for the resource.
	Description *string `json:"description,omitempty"`
	// The display name is a short name chosen by the user to identify the resource.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9 -]*$"`
	// Labels are key-value pairs used to group and organize subsets of resources.  **Key constraints:** - May contain an optional domain prefix separated by a slash (`/`). - The domain prefix must be less than or equal to 250 characters and a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - The name part (excluding the domain prefix) must be between 1 and 63 characters long. - The name part must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - The name part may contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use.  **Value constraints:** - Must be less than or equal to 63 characters long (can be empty). - Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) if not empty. - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between.  **Count constraint:** - A maximum of 64 labels can be applied per resource. Restricted labels are excluded from this count.
	Labels               *map[string]string `json:"labels,omitempty"`
	Settings             *TopicSettings     `json:"settings,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateTopicPayload struct for CreateTopicPayload

func NewCreateTopicPayload

func NewCreateTopicPayload(displayName string) *CreateTopicPayload

NewCreateTopicPayload instantiates a new CreateTopicPayload 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 NewCreateTopicPayloadWithDefaults

func NewCreateTopicPayloadWithDefaults() *CreateTopicPayload

NewCreateTopicPayloadWithDefaults instantiates a new CreateTopicPayload 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 (*CreateTopicPayload) GetDescription

func (o *CreateTopicPayload) GetDescription() string

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

func (*CreateTopicPayload) GetDescriptionOk

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

func (o *CreateTopicPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateTopicPayload) GetDisplayNameOk

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

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

func (*CreateTopicPayload) GetLabels

func (o *CreateTopicPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateTopicPayload) GetLabelsOk

func (o *CreateTopicPayload) GetLabelsOk() (*map[string]string, bool)

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

func (*CreateTopicPayload) GetSettings

func (o *CreateTopicPayload) GetSettings() TopicSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*CreateTopicPayload) GetSettingsOk

func (o *CreateTopicPayload) GetSettingsOk() (*TopicSettings, bool)

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

func (*CreateTopicPayload) HasDescription

func (o *CreateTopicPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateTopicPayload) HasLabels

func (o *CreateTopicPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateTopicPayload) HasSettings

func (o *CreateTopicPayload) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (CreateTopicPayload) MarshalJSON

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

func (*CreateTopicPayload) SetDescription

func (o *CreateTopicPayload) SetDescription(v string)

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

func (*CreateTopicPayload) SetDisplayName

func (o *CreateTopicPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateTopicPayload) SetLabels

func (o *CreateTopicPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*CreateTopicPayload) SetSettings

func (o *CreateTopicPayload) SetSettings(v TopicSettings)

SetSettings gets a reference to the given TopicSettings and assigns it to the Settings field.

func (CreateTopicPayload) ToMap

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

func (*CreateTopicPayload) UnmarshalJSON

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateSubscription Method for CreateSubscription

		Creates a new subscription for a topic within the PubSub 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.
		@param topicId The topic UUID.
		@return ApiCreateSubscriptionRequest
	*/
	CreateSubscription(ctx context.Context, projectId string, regionId string, topicId string) ApiCreateSubscriptionRequest

	// CreateSubscriptionExecute executes the request
	//  @return SubscriptionResponse
	CreateSubscriptionExecute(r ApiCreateSubscriptionRequest) (*SubscriptionResponse, error)

	/*
		CreateTopic Method for CreateTopic

		Creates a new topic within the PubSub 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 ApiCreateTopicRequest
	*/
	CreateTopic(ctx context.Context, projectId string, regionId string) ApiCreateTopicRequest

	// CreateTopicExecute executes the request
	//  @return TopicResponse
	CreateTopicExecute(r ApiCreateTopicRequest) (*TopicResponse, error)

	/*
		DeleteSubscription Method for DeleteSubscription

		Deletes the given subscription.

		@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 topicId The topic UUID.
		@param subscriptionId The subscription UUID.
		@return ApiDeleteSubscriptionRequest
	*/
	DeleteSubscription(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiDeleteSubscriptionRequest

	// DeleteSubscriptionExecute executes the request
	DeleteSubscriptionExecute(r ApiDeleteSubscriptionRequest) error

	/*
		DeleteTopic Method for DeleteTopic

		Deletes the given topic.

		@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 topicId The topic UUID.
		@return ApiDeleteTopicRequest
	*/
	DeleteTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiDeleteTopicRequest

	// DeleteTopicExecute executes the request
	DeleteTopicExecute(r ApiDeleteTopicRequest) error

	/*
		GetSubscription Method for GetSubscription

		Returns the details for the given subscription.

		@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 topicId The topic UUID.
		@param subscriptionId The subscription UUID.
		@return ApiGetSubscriptionRequest
	*/
	GetSubscription(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiGetSubscriptionRequest

	// GetSubscriptionExecute executes the request
	//  @return SubscriptionResponse
	GetSubscriptionExecute(r ApiGetSubscriptionRequest) (*SubscriptionResponse, error)

	/*
		GetTopic Method for GetTopic

		Returns the details for the given topic.

		@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 topicId The topic UUID.
		@return ApiGetTopicRequest
	*/
	GetTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiGetTopicRequest

	// GetTopicExecute executes the request
	//  @return TopicResponse
	GetTopicExecute(r ApiGetTopicRequest) (*TopicResponse, error)

	/*
		GrantSubscriptionSubscriberAccess Method for GrantSubscriptionSubscriberAccess

		Grants an emailAddress access to pull from the given subscription.

		@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 topicId The topic UUID.
		@param subscriptionId The subscription UUID.
		@return ApiGrantSubscriptionSubscriberAccessRequest
	*/
	GrantSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiGrantSubscriptionSubscriberAccessRequest

	// GrantSubscriptionSubscriberAccessExecute executes the request
	GrantSubscriptionSubscriberAccessExecute(r ApiGrantSubscriptionSubscriberAccessRequest) error

	/*
		GrantTopicPublisherAccess Method for GrantTopicPublisherAccess

		Grants an emailAddress access to publish to the given topic.

		@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 topicId The topic UUID.
		@return ApiGrantTopicPublisherAccessRequest
	*/
	GrantTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiGrantTopicPublisherAccessRequest

	// GrantTopicPublisherAccessExecute executes the request
	GrantTopicPublisherAccessExecute(r ApiGrantTopicPublisherAccessRequest) error

	/*
		ListSubscriptionSubscribers Method for ListSubscriptionSubscribers

		Returns a list of emailAddresses that are allowed to pull from the given subscription.

		@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 topicId The topic UUID.
		@param subscriptionId The subscription UUID.
		@return ApiListSubscriptionSubscribersRequest
	*/
	ListSubscriptionSubscribers(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiListSubscriptionSubscribersRequest

	// ListSubscriptionSubscribersExecute executes the request
	//  @return ListEmailAddressesResponse
	ListSubscriptionSubscribersExecute(r ApiListSubscriptionSubscribersRequest) (*ListEmailAddressesResponse, error)

	/*
		ListSubscriptions Method for ListSubscriptions

		Returns a list of all topic subscriptions.

		@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 topicId The topic UUID.
		@return ApiListSubscriptionsRequest
	*/
	ListSubscriptions(ctx context.Context, projectId string, regionId string, topicId string) ApiListSubscriptionsRequest

	// ListSubscriptionsExecute executes the request
	//  @return ListSubscriptionsResponse
	ListSubscriptionsExecute(r ApiListSubscriptionsRequest) (*ListSubscriptionsResponse, error)

	/*
		ListTopicPublishers Method for ListTopicPublishers

		Returns a list of emailAddresses that are allowed to publish to the given topic.

		@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 topicId The topic UUID.
		@return ApiListTopicPublishersRequest
	*/
	ListTopicPublishers(ctx context.Context, projectId string, regionId string, topicId string) ApiListTopicPublishersRequest

	// ListTopicPublishersExecute executes the request
	//  @return ListEmailAddressesResponse
	ListTopicPublishersExecute(r ApiListTopicPublishersRequest) (*ListEmailAddressesResponse, error)

	/*
		ListTopics Method for ListTopics

		Returns a list of all topics within the PubSub 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 ApiListTopicsRequest
	*/
	ListTopics(ctx context.Context, projectId string, regionId string) ApiListTopicsRequest

	// ListTopicsExecute executes the request
	//  @return ListTopicsResponse
	ListTopicsExecute(r ApiListTopicsRequest) (*ListTopicsResponse, error)

	/*
		RevokeSubscriptionSubscriberAccess Method for RevokeSubscriptionSubscriberAccess

		Revokes all email-addresses access to pull from the given subscription.

		@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 topicId The topic UUID.
		@param subscriptionId The subscription UUID.
		@return ApiRevokeSubscriptionSubscriberAccessRequest
	*/
	RevokeSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiRevokeSubscriptionSubscriberAccessRequest

	// RevokeSubscriptionSubscriberAccessExecute executes the request
	RevokeSubscriptionSubscriberAccessExecute(r ApiRevokeSubscriptionSubscriberAccessRequest) error

	/*
		RevokeTopicPublisherAccess Method for RevokeTopicPublisherAccess

		Revokes all email-addresses access to publish to the given topic.

		@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 topicId The topic UUID.
		@return ApiRevokeTopicPublisherAccessRequest
	*/
	RevokeTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiRevokeTopicPublisherAccessRequest

	// RevokeTopicPublisherAccessExecute executes the request
	RevokeTopicPublisherAccessExecute(r ApiRevokeTopicPublisherAccessRequest) error

	/*
		UpdatePublisherAccess Method for UpdatePublisherAccess

		Updates the access list of email-addresses to publish to the given topic.

		@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 topicId The topic UUID.
		@return ApiUpdatePublisherAccessRequest
	*/
	UpdatePublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdatePublisherAccessRequest

	// UpdatePublisherAccessExecute executes the request
	UpdatePublisherAccessExecute(r ApiUpdatePublisherAccessRequest) error

	/*
		UpdateSubscription Method for UpdateSubscription

		Will update the given subscription.

		@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 topicId The topic UUID.
		@param subscriptionId The subscription UUID.
		@return ApiUpdateSubscriptionRequest
	*/
	UpdateSubscription(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiUpdateSubscriptionRequest

	// UpdateSubscriptionExecute executes the request
	UpdateSubscriptionExecute(r ApiUpdateSubscriptionRequest) error

	/*
		UpdateSubscriptionSubscriberAccess Method for UpdateSubscriptionSubscriberAccess

		Updates the access list of emailAddresses to pull from the given subscription.

		@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 topicId The topic UUID.
		@param subscriptionId The subscription UUID.
		@return ApiUpdateSubscriptionSubscriberAccessRequest
	*/
	UpdateSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiUpdateSubscriptionSubscriberAccessRequest

	// UpdateSubscriptionSubscriberAccessExecute executes the request
	UpdateSubscriptionSubscriberAccessExecute(r ApiUpdateSubscriptionSubscriberAccessRequest) error

	/*
		UpdateTopic Method for UpdateTopic

		Will update the given topic.

		@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 topicId The topic UUID.
		@return ApiUpdateTopicRequest
	*/
	UpdateTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdateTopicRequest

	// UpdateTopicExecute executes the request
	UpdateTopicExecute(r ApiUpdateTopicRequest) error
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateSubscription

func (a *DefaultAPIService) CreateSubscription(ctx context.Context, projectId string, regionId string, topicId string) ApiCreateSubscriptionRequest

CreateSubscription Method for CreateSubscription

Creates a new subscription for a topic within the PubSub 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.
@param topicId The topic UUID.
@return ApiCreateSubscriptionRequest

func (*DefaultAPIService) CreateSubscriptionExecute

func (a *DefaultAPIService) CreateSubscriptionExecute(r ApiCreateSubscriptionRequest) (*SubscriptionResponse, error)

Execute executes the request

@return SubscriptionResponse

func (*DefaultAPIService) CreateTopic

func (a *DefaultAPIService) CreateTopic(ctx context.Context, projectId string, regionId string) ApiCreateTopicRequest

CreateTopic Method for CreateTopic

Creates a new topic within the PubSub 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 ApiCreateTopicRequest

func (*DefaultAPIService) CreateTopicExecute

func (a *DefaultAPIService) CreateTopicExecute(r ApiCreateTopicRequest) (*TopicResponse, error)

Execute executes the request

@return TopicResponse

func (*DefaultAPIService) DeleteSubscription

func (a *DefaultAPIService) DeleteSubscription(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiDeleteSubscriptionRequest

DeleteSubscription Method for DeleteSubscription

Deletes the given subscription.

@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 topicId The topic UUID.
@param subscriptionId The subscription UUID.
@return ApiDeleteSubscriptionRequest

func (*DefaultAPIService) DeleteSubscriptionExecute

func (a *DefaultAPIService) DeleteSubscriptionExecute(r ApiDeleteSubscriptionRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteTopic

func (a *DefaultAPIService) DeleteTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiDeleteTopicRequest

DeleteTopic Method for DeleteTopic

Deletes the given topic.

@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 topicId The topic UUID.
@return ApiDeleteTopicRequest

func (*DefaultAPIService) DeleteTopicExecute

func (a *DefaultAPIService) DeleteTopicExecute(r ApiDeleteTopicRequest) error

Execute executes the request

func (*DefaultAPIService) GetSubscription

func (a *DefaultAPIService) GetSubscription(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiGetSubscriptionRequest

GetSubscription Method for GetSubscription

Returns the details for the given subscription.

@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 topicId The topic UUID.
@param subscriptionId The subscription UUID.
@return ApiGetSubscriptionRequest

func (*DefaultAPIService) GetSubscriptionExecute

func (a *DefaultAPIService) GetSubscriptionExecute(r ApiGetSubscriptionRequest) (*SubscriptionResponse, error)

Execute executes the request

@return SubscriptionResponse

func (*DefaultAPIService) GetTopic

func (a *DefaultAPIService) GetTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiGetTopicRequest

GetTopic Method for GetTopic

Returns the details for the given topic.

@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 topicId The topic UUID.
@return ApiGetTopicRequest

func (*DefaultAPIService) GetTopicExecute

func (a *DefaultAPIService) GetTopicExecute(r ApiGetTopicRequest) (*TopicResponse, error)

Execute executes the request

@return TopicResponse

func (*DefaultAPIService) GrantSubscriptionSubscriberAccess

func (a *DefaultAPIService) GrantSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiGrantSubscriptionSubscriberAccessRequest

GrantSubscriptionSubscriberAccess Method for GrantSubscriptionSubscriberAccess

Grants an emailAddress access to pull from the given subscription.

@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 topicId The topic UUID.
@param subscriptionId The subscription UUID.
@return ApiGrantSubscriptionSubscriberAccessRequest

func (*DefaultAPIService) GrantSubscriptionSubscriberAccessExecute

func (a *DefaultAPIService) GrantSubscriptionSubscriberAccessExecute(r ApiGrantSubscriptionSubscriberAccessRequest) error

Execute executes the request

func (*DefaultAPIService) GrantTopicPublisherAccess

func (a *DefaultAPIService) GrantTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiGrantTopicPublisherAccessRequest

GrantTopicPublisherAccess Method for GrantTopicPublisherAccess

Grants an emailAddress access to publish to the given topic.

@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 topicId The topic UUID.
@return ApiGrantTopicPublisherAccessRequest

func (*DefaultAPIService) GrantTopicPublisherAccessExecute

func (a *DefaultAPIService) GrantTopicPublisherAccessExecute(r ApiGrantTopicPublisherAccessRequest) error

Execute executes the request

func (*DefaultAPIService) ListSubscriptionSubscribers

func (a *DefaultAPIService) ListSubscriptionSubscribers(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiListSubscriptionSubscribersRequest

ListSubscriptionSubscribers Method for ListSubscriptionSubscribers

Returns a list of emailAddresses that are allowed to pull from the given subscription.

@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 topicId The topic UUID.
@param subscriptionId The subscription UUID.
@return ApiListSubscriptionSubscribersRequest

func (*DefaultAPIService) ListSubscriptionSubscribersExecute

func (a *DefaultAPIService) ListSubscriptionSubscribersExecute(r ApiListSubscriptionSubscribersRequest) (*ListEmailAddressesResponse, error)

Execute executes the request

@return ListEmailAddressesResponse

func (*DefaultAPIService) ListSubscriptions

func (a *DefaultAPIService) ListSubscriptions(ctx context.Context, projectId string, regionId string, topicId string) ApiListSubscriptionsRequest

ListSubscriptions Method for ListSubscriptions

Returns a list of all topic subscriptions.

@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 topicId The topic UUID.
@return ApiListSubscriptionsRequest

func (*DefaultAPIService) ListSubscriptionsExecute

Execute executes the request

@return ListSubscriptionsResponse

func (*DefaultAPIService) ListTopicPublishers

func (a *DefaultAPIService) ListTopicPublishers(ctx context.Context, projectId string, regionId string, topicId string) ApiListTopicPublishersRequest

ListTopicPublishers Method for ListTopicPublishers

Returns a list of emailAddresses that are allowed to publish to the given topic.

@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 topicId The topic UUID.
@return ApiListTopicPublishersRequest

func (*DefaultAPIService) ListTopicPublishersExecute

Execute executes the request

@return ListEmailAddressesResponse

func (*DefaultAPIService) ListTopics

func (a *DefaultAPIService) ListTopics(ctx context.Context, projectId string, regionId string) ApiListTopicsRequest

ListTopics Method for ListTopics

Returns a list of all topics within the PubSub 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 ApiListTopicsRequest

func (*DefaultAPIService) ListTopicsExecute

func (a *DefaultAPIService) ListTopicsExecute(r ApiListTopicsRequest) (*ListTopicsResponse, error)

Execute executes the request

@return ListTopicsResponse

func (*DefaultAPIService) RevokeSubscriptionSubscriberAccess

func (a *DefaultAPIService) RevokeSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiRevokeSubscriptionSubscriberAccessRequest

RevokeSubscriptionSubscriberAccess Method for RevokeSubscriptionSubscriberAccess

Revokes all email-addresses access to pull from the given subscription.

@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 topicId The topic UUID.
@param subscriptionId The subscription UUID.
@return ApiRevokeSubscriptionSubscriberAccessRequest

func (*DefaultAPIService) RevokeSubscriptionSubscriberAccessExecute

func (a *DefaultAPIService) RevokeSubscriptionSubscriberAccessExecute(r ApiRevokeSubscriptionSubscriberAccessRequest) error

Execute executes the request

func (*DefaultAPIService) RevokeTopicPublisherAccess

func (a *DefaultAPIService) RevokeTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiRevokeTopicPublisherAccessRequest

RevokeTopicPublisherAccess Method for RevokeTopicPublisherAccess

Revokes all email-addresses access to publish to the given topic.

@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 topicId The topic UUID.
@return ApiRevokeTopicPublisherAccessRequest

func (*DefaultAPIService) RevokeTopicPublisherAccessExecute

func (a *DefaultAPIService) RevokeTopicPublisherAccessExecute(r ApiRevokeTopicPublisherAccessRequest) error

Execute executes the request

func (*DefaultAPIService) UpdatePublisherAccess

func (a *DefaultAPIService) UpdatePublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdatePublisherAccessRequest

UpdatePublisherAccess Method for UpdatePublisherAccess

Updates the access list of email-addresses to publish to the given topic.

@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 topicId The topic UUID.
@return ApiUpdatePublisherAccessRequest

func (*DefaultAPIService) UpdatePublisherAccessExecute

func (a *DefaultAPIService) UpdatePublisherAccessExecute(r ApiUpdatePublisherAccessRequest) error

Execute executes the request

func (*DefaultAPIService) UpdateSubscription

func (a *DefaultAPIService) UpdateSubscription(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiUpdateSubscriptionRequest

UpdateSubscription Method for UpdateSubscription

Will update the given subscription.

@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 topicId The topic UUID.
@param subscriptionId The subscription UUID.
@return ApiUpdateSubscriptionRequest

func (*DefaultAPIService) UpdateSubscriptionExecute

func (a *DefaultAPIService) UpdateSubscriptionExecute(r ApiUpdateSubscriptionRequest) error

Execute executes the request

func (*DefaultAPIService) UpdateSubscriptionSubscriberAccess

func (a *DefaultAPIService) UpdateSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiUpdateSubscriptionSubscriberAccessRequest

UpdateSubscriptionSubscriberAccess Method for UpdateSubscriptionSubscriberAccess

Updates the access list of emailAddresses to pull from the given subscription.

@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 topicId The topic UUID.
@param subscriptionId The subscription UUID.
@return ApiUpdateSubscriptionSubscriberAccessRequest

func (*DefaultAPIService) UpdateSubscriptionSubscriberAccessExecute

func (a *DefaultAPIService) UpdateSubscriptionSubscriberAccessExecute(r ApiUpdateSubscriptionSubscriberAccessRequest) error

Execute executes the request

func (*DefaultAPIService) UpdateTopic

func (a *DefaultAPIService) UpdateTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdateTopicRequest

UpdateTopic Method for UpdateTopic

Will update the given topic.

@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 topicId The topic UUID.
@return ApiUpdateTopicRequest

func (*DefaultAPIService) UpdateTopicExecute

func (a *DefaultAPIService) UpdateTopicExecute(r ApiUpdateTopicRequest) error

Execute executes the request

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateSubscriptionExecuteMock can be populated to implement the behavior of the CreateSubscriptionExecute function of this mock
	CreateSubscriptionExecuteMock *func(r ApiCreateSubscriptionRequest) (*SubscriptionResponse, error)
	// CreateTopicExecuteMock can be populated to implement the behavior of the CreateTopicExecute function of this mock
	CreateTopicExecuteMock *func(r ApiCreateTopicRequest) (*TopicResponse, error)
	// DeleteSubscriptionExecuteMock can be populated to implement the behavior of the DeleteSubscriptionExecute function of this mock
	DeleteSubscriptionExecuteMock *func(r ApiDeleteSubscriptionRequest) error
	// DeleteTopicExecuteMock can be populated to implement the behavior of the DeleteTopicExecute function of this mock
	DeleteTopicExecuteMock *func(r ApiDeleteTopicRequest) error
	// GetSubscriptionExecuteMock can be populated to implement the behavior of the GetSubscriptionExecute function of this mock
	GetSubscriptionExecuteMock *func(r ApiGetSubscriptionRequest) (*SubscriptionResponse, error)
	// GetTopicExecuteMock can be populated to implement the behavior of the GetTopicExecute function of this mock
	GetTopicExecuteMock *func(r ApiGetTopicRequest) (*TopicResponse, error)
	// GrantSubscriptionSubscriberAccessExecuteMock can be populated to implement the behavior of the GrantSubscriptionSubscriberAccessExecute function of this mock
	GrantSubscriptionSubscriberAccessExecuteMock *func(r ApiGrantSubscriptionSubscriberAccessRequest) error
	// GrantTopicPublisherAccessExecuteMock can be populated to implement the behavior of the GrantTopicPublisherAccessExecute function of this mock
	GrantTopicPublisherAccessExecuteMock *func(r ApiGrantTopicPublisherAccessRequest) error
	// ListSubscriptionSubscribersExecuteMock can be populated to implement the behavior of the ListSubscriptionSubscribersExecute function of this mock
	ListSubscriptionSubscribersExecuteMock *func(r ApiListSubscriptionSubscribersRequest) (*ListEmailAddressesResponse, error)
	// ListSubscriptionsExecuteMock can be populated to implement the behavior of the ListSubscriptionsExecute function of this mock
	ListSubscriptionsExecuteMock *func(r ApiListSubscriptionsRequest) (*ListSubscriptionsResponse, error)
	// ListTopicPublishersExecuteMock can be populated to implement the behavior of the ListTopicPublishersExecute function of this mock
	ListTopicPublishersExecuteMock *func(r ApiListTopicPublishersRequest) (*ListEmailAddressesResponse, error)
	// ListTopicsExecuteMock can be populated to implement the behavior of the ListTopicsExecute function of this mock
	ListTopicsExecuteMock *func(r ApiListTopicsRequest) (*ListTopicsResponse, error)
	// RevokeSubscriptionSubscriberAccessExecuteMock can be populated to implement the behavior of the RevokeSubscriptionSubscriberAccessExecute function of this mock
	RevokeSubscriptionSubscriberAccessExecuteMock *func(r ApiRevokeSubscriptionSubscriberAccessRequest) error
	// RevokeTopicPublisherAccessExecuteMock can be populated to implement the behavior of the RevokeTopicPublisherAccessExecute function of this mock
	RevokeTopicPublisherAccessExecuteMock *func(r ApiRevokeTopicPublisherAccessRequest) error
	// UpdatePublisherAccessExecuteMock can be populated to implement the behavior of the UpdatePublisherAccessExecute function of this mock
	UpdatePublisherAccessExecuteMock *func(r ApiUpdatePublisherAccessRequest) error
	// UpdateSubscriptionExecuteMock can be populated to implement the behavior of the UpdateSubscriptionExecute function of this mock
	UpdateSubscriptionExecuteMock *func(r ApiUpdateSubscriptionRequest) error
	// UpdateSubscriptionSubscriberAccessExecuteMock can be populated to implement the behavior of the UpdateSubscriptionSubscriberAccessExecute function of this mock
	UpdateSubscriptionSubscriberAccessExecuteMock *func(r ApiUpdateSubscriptionSubscriberAccessRequest) error
	// UpdateTopicExecuteMock can be populated to implement the behavior of the UpdateTopicExecute function of this mock
	UpdateTopicExecuteMock *func(r ApiUpdateTopicRequest) 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) CreateSubscription

func (a DefaultAPIServiceMock) CreateSubscription(ctx context.Context, projectId string, regionId string, topicId string) ApiCreateSubscriptionRequest

func (DefaultAPIServiceMock) CreateSubscriptionExecute

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

func (DefaultAPIServiceMock) CreateTopic

func (a DefaultAPIServiceMock) CreateTopic(ctx context.Context, projectId string, regionId string) ApiCreateTopicRequest

func (DefaultAPIServiceMock) CreateTopicExecute

func (a DefaultAPIServiceMock) CreateTopicExecute(r ApiCreateTopicRequest) (*TopicResponse, error)

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

func (DefaultAPIServiceMock) DeleteSubscription

func (a DefaultAPIServiceMock) DeleteSubscription(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiDeleteSubscriptionRequest

func (DefaultAPIServiceMock) DeleteSubscriptionExecute

func (a DefaultAPIServiceMock) DeleteSubscriptionExecute(r ApiDeleteSubscriptionRequest) error

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

func (DefaultAPIServiceMock) DeleteTopic

func (a DefaultAPIServiceMock) DeleteTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiDeleteTopicRequest

func (DefaultAPIServiceMock) DeleteTopicExecute

func (a DefaultAPIServiceMock) DeleteTopicExecute(r ApiDeleteTopicRequest) error

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

func (DefaultAPIServiceMock) GetSubscription

func (a DefaultAPIServiceMock) GetSubscription(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiGetSubscriptionRequest

func (DefaultAPIServiceMock) GetSubscriptionExecute

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

func (DefaultAPIServiceMock) GetTopic

func (a DefaultAPIServiceMock) GetTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiGetTopicRequest

func (DefaultAPIServiceMock) GetTopicExecute

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

func (DefaultAPIServiceMock) GrantSubscriptionSubscriberAccess

func (a DefaultAPIServiceMock) GrantSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiGrantSubscriptionSubscriberAccessRequest

func (DefaultAPIServiceMock) GrantSubscriptionSubscriberAccessExecute

func (a DefaultAPIServiceMock) GrantSubscriptionSubscriberAccessExecute(r ApiGrantSubscriptionSubscriberAccessRequest) error

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

func (DefaultAPIServiceMock) GrantTopicPublisherAccess

func (a DefaultAPIServiceMock) GrantTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiGrantTopicPublisherAccessRequest

func (DefaultAPIServiceMock) GrantTopicPublisherAccessExecute

func (a DefaultAPIServiceMock) GrantTopicPublisherAccessExecute(r ApiGrantTopicPublisherAccessRequest) error

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

func (DefaultAPIServiceMock) ListSubscriptionSubscribers

func (a DefaultAPIServiceMock) ListSubscriptionSubscribers(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiListSubscriptionSubscribersRequest

func (DefaultAPIServiceMock) ListSubscriptionSubscribersExecute

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

func (DefaultAPIServiceMock) ListSubscriptions

func (a DefaultAPIServiceMock) ListSubscriptions(ctx context.Context, projectId string, regionId string, topicId string) ApiListSubscriptionsRequest

func (DefaultAPIServiceMock) ListSubscriptionsExecute

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

func (DefaultAPIServiceMock) ListTopicPublishers

func (a DefaultAPIServiceMock) ListTopicPublishers(ctx context.Context, projectId string, regionId string, topicId string) ApiListTopicPublishersRequest

func (DefaultAPIServiceMock) ListTopicPublishersExecute

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

func (DefaultAPIServiceMock) ListTopics

func (a DefaultAPIServiceMock) ListTopics(ctx context.Context, projectId string, regionId string) ApiListTopicsRequest

func (DefaultAPIServiceMock) ListTopicsExecute

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

func (DefaultAPIServiceMock) RevokeSubscriptionSubscriberAccess

func (a DefaultAPIServiceMock) RevokeSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiRevokeSubscriptionSubscriberAccessRequest

func (DefaultAPIServiceMock) RevokeSubscriptionSubscriberAccessExecute

func (a DefaultAPIServiceMock) RevokeSubscriptionSubscriberAccessExecute(r ApiRevokeSubscriptionSubscriberAccessRequest) error

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

func (DefaultAPIServiceMock) RevokeTopicPublisherAccess

func (a DefaultAPIServiceMock) RevokeTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiRevokeTopicPublisherAccessRequest

func (DefaultAPIServiceMock) RevokeTopicPublisherAccessExecute

func (a DefaultAPIServiceMock) RevokeTopicPublisherAccessExecute(r ApiRevokeTopicPublisherAccessRequest) error

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

func (DefaultAPIServiceMock) UpdatePublisherAccess

func (a DefaultAPIServiceMock) UpdatePublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdatePublisherAccessRequest

func (DefaultAPIServiceMock) UpdatePublisherAccessExecute

func (a DefaultAPIServiceMock) UpdatePublisherAccessExecute(r ApiUpdatePublisherAccessRequest) error

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

func (DefaultAPIServiceMock) UpdateSubscription

func (a DefaultAPIServiceMock) UpdateSubscription(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiUpdateSubscriptionRequest

func (DefaultAPIServiceMock) UpdateSubscriptionExecute

func (a DefaultAPIServiceMock) UpdateSubscriptionExecute(r ApiUpdateSubscriptionRequest) error

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

func (DefaultAPIServiceMock) UpdateSubscriptionSubscriberAccess

func (a DefaultAPIServiceMock) UpdateSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, subscriptionId string) ApiUpdateSubscriptionSubscriberAccessRequest

func (DefaultAPIServiceMock) UpdateSubscriptionSubscriberAccessExecute

func (a DefaultAPIServiceMock) UpdateSubscriptionSubscriberAccessExecute(r ApiUpdateSubscriptionSubscriberAccessRequest) error

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

func (DefaultAPIServiceMock) UpdateTopic

func (a DefaultAPIServiceMock) UpdateTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdateTopicRequest

func (DefaultAPIServiceMock) UpdateTopicExecute

func (a DefaultAPIServiceMock) UpdateTopicExecute(r ApiUpdateTopicRequest) error

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

type GrantSubscriptionSubscriberAccessPayload

type GrantSubscriptionSubscriberAccessPayload struct {
	// A single RFC 5322 compliant email address.
	EmailAddress         string `json:"emailAddress"`
	AdditionalProperties map[string]interface{}
}

GrantSubscriptionSubscriberAccessPayload struct for GrantSubscriptionSubscriberAccessPayload

func NewGrantSubscriptionSubscriberAccessPayload

func NewGrantSubscriptionSubscriberAccessPayload(emailAddress string) *GrantSubscriptionSubscriberAccessPayload

NewGrantSubscriptionSubscriberAccessPayload instantiates a new GrantSubscriptionSubscriberAccessPayload 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 NewGrantSubscriptionSubscriberAccessPayloadWithDefaults

func NewGrantSubscriptionSubscriberAccessPayloadWithDefaults() *GrantSubscriptionSubscriberAccessPayload

NewGrantSubscriptionSubscriberAccessPayloadWithDefaults instantiates a new GrantSubscriptionSubscriberAccessPayload 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 (*GrantSubscriptionSubscriberAccessPayload) GetEmailAddress

func (o *GrantSubscriptionSubscriberAccessPayload) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value

func (*GrantSubscriptionSubscriberAccessPayload) GetEmailAddressOk

func (o *GrantSubscriptionSubscriberAccessPayload) GetEmailAddressOk() (*string, bool)

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

func (GrantSubscriptionSubscriberAccessPayload) MarshalJSON

func (*GrantSubscriptionSubscriberAccessPayload) SetEmailAddress

func (o *GrantSubscriptionSubscriberAccessPayload) SetEmailAddress(v string)

SetEmailAddress sets field value

func (GrantSubscriptionSubscriberAccessPayload) ToMap

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

func (*GrantSubscriptionSubscriberAccessPayload) UnmarshalJSON

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

type GrantTopicPublisherAccessPayload

type GrantTopicPublisherAccessPayload struct {
	// A single RFC 5322 compliant email address.
	EmailAddress         string `json:"emailAddress"`
	AdditionalProperties map[string]interface{}
}

GrantTopicPublisherAccessPayload struct for GrantTopicPublisherAccessPayload

func NewGrantTopicPublisherAccessPayload

func NewGrantTopicPublisherAccessPayload(emailAddress string) *GrantTopicPublisherAccessPayload

NewGrantTopicPublisherAccessPayload instantiates a new GrantTopicPublisherAccessPayload 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 NewGrantTopicPublisherAccessPayloadWithDefaults

func NewGrantTopicPublisherAccessPayloadWithDefaults() *GrantTopicPublisherAccessPayload

NewGrantTopicPublisherAccessPayloadWithDefaults instantiates a new GrantTopicPublisherAccessPayload 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 (*GrantTopicPublisherAccessPayload) GetEmailAddress

func (o *GrantTopicPublisherAccessPayload) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value

func (*GrantTopicPublisherAccessPayload) GetEmailAddressOk

func (o *GrantTopicPublisherAccessPayload) GetEmailAddressOk() (*string, bool)

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

func (GrantTopicPublisherAccessPayload) MarshalJSON

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

func (*GrantTopicPublisherAccessPayload) SetEmailAddress

func (o *GrantTopicPublisherAccessPayload) SetEmailAddress(v string)

SetEmailAddress sets field value

func (GrantTopicPublisherAccessPayload) ToMap

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

func (*GrantTopicPublisherAccessPayload) UnmarshalJSON

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

type ListEmailAddressesResponse

type ListEmailAddressesResponse struct {
	EmailAddresses       []string `json:"emailAddresses"`
	AdditionalProperties map[string]interface{}
}

ListEmailAddressesResponse struct for ListEmailAddressesResponse

func NewListEmailAddressesResponse

func NewListEmailAddressesResponse(emailAddresses []string) *ListEmailAddressesResponse

NewListEmailAddressesResponse instantiates a new ListEmailAddressesResponse 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 NewListEmailAddressesResponseWithDefaults

func NewListEmailAddressesResponseWithDefaults() *ListEmailAddressesResponse

NewListEmailAddressesResponseWithDefaults instantiates a new ListEmailAddressesResponse 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 (*ListEmailAddressesResponse) GetEmailAddresses

func (o *ListEmailAddressesResponse) GetEmailAddresses() []string

GetEmailAddresses returns the EmailAddresses field value

func (*ListEmailAddressesResponse) GetEmailAddressesOk

func (o *ListEmailAddressesResponse) GetEmailAddressesOk() ([]string, bool)

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

func (ListEmailAddressesResponse) MarshalJSON

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

func (*ListEmailAddressesResponse) SetEmailAddresses

func (o *ListEmailAddressesResponse) SetEmailAddresses(v []string)

SetEmailAddresses sets field value

func (ListEmailAddressesResponse) ToMap

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

func (*ListEmailAddressesResponse) UnmarshalJSON

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

type ListSubscriptionsResponse

type ListSubscriptionsResponse struct {
	// A token to retrieve the next page of results.
	NextPageToken        *string                `json:"nextPageToken,omitempty"`
	Subscriptions        []SubscriptionResponse `json:"subscriptions"`
	AdditionalProperties map[string]interface{}
}

ListSubscriptionsResponse struct for ListSubscriptionsResponse

func NewListSubscriptionsResponse

func NewListSubscriptionsResponse(subscriptions []SubscriptionResponse) *ListSubscriptionsResponse

NewListSubscriptionsResponse instantiates a new ListSubscriptionsResponse 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 NewListSubscriptionsResponseWithDefaults

func NewListSubscriptionsResponseWithDefaults() *ListSubscriptionsResponse

NewListSubscriptionsResponseWithDefaults instantiates a new ListSubscriptionsResponse 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 (*ListSubscriptionsResponse) GetNextPageToken

func (o *ListSubscriptionsResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ListSubscriptionsResponse) GetNextPageTokenOk

func (o *ListSubscriptionsResponse) GetNextPageTokenOk() (*string, bool)

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

func (*ListSubscriptionsResponse) GetSubscriptions

func (o *ListSubscriptionsResponse) GetSubscriptions() []SubscriptionResponse

GetSubscriptions returns the Subscriptions field value

func (*ListSubscriptionsResponse) GetSubscriptionsOk

func (o *ListSubscriptionsResponse) GetSubscriptionsOk() ([]SubscriptionResponse, bool)

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

func (*ListSubscriptionsResponse) HasNextPageToken

func (o *ListSubscriptionsResponse) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (ListSubscriptionsResponse) MarshalJSON

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

func (*ListSubscriptionsResponse) SetNextPageToken

func (o *ListSubscriptionsResponse) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

func (*ListSubscriptionsResponse) SetSubscriptions

func (o *ListSubscriptionsResponse) SetSubscriptions(v []SubscriptionResponse)

SetSubscriptions sets field value

func (ListSubscriptionsResponse) ToMap

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

func (*ListSubscriptionsResponse) UnmarshalJSON

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

type ListTopicsResponse

type ListTopicsResponse struct {
	// A token to retrieve the next page of results.
	NextPageToken        *string         `json:"nextPageToken,omitempty"`
	Topics               []TopicResponse `json:"topics"`
	AdditionalProperties map[string]interface{}
}

ListTopicsResponse struct for ListTopicsResponse

func NewListTopicsResponse

func NewListTopicsResponse(topics []TopicResponse) *ListTopicsResponse

NewListTopicsResponse instantiates a new ListTopicsResponse 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 NewListTopicsResponseWithDefaults

func NewListTopicsResponseWithDefaults() *ListTopicsResponse

NewListTopicsResponseWithDefaults instantiates a new ListTopicsResponse 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 (*ListTopicsResponse) GetNextPageToken

func (o *ListTopicsResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.

func (*ListTopicsResponse) GetNextPageTokenOk

func (o *ListTopicsResponse) GetNextPageTokenOk() (*string, bool)

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

func (*ListTopicsResponse) GetTopics

func (o *ListTopicsResponse) GetTopics() []TopicResponse

GetTopics returns the Topics field value

func (*ListTopicsResponse) GetTopicsOk

func (o *ListTopicsResponse) GetTopicsOk() ([]TopicResponse, bool)

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

func (*ListTopicsResponse) HasNextPageToken

func (o *ListTopicsResponse) HasNextPageToken() bool

HasNextPageToken returns a boolean if a field has been set.

func (ListTopicsResponse) MarshalJSON

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

func (*ListTopicsResponse) SetNextPageToken

func (o *ListTopicsResponse) SetNextPageToken(v string)

SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.

func (*ListTopicsResponse) SetTopics

func (o *ListTopicsResponse) SetTopics(v []TopicResponse)

SetTopics sets field value

func (ListTopicsResponse) ToMap

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

func (*ListTopicsResponse) UnmarshalJSON

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

type MappedNullable

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

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 NullableCreateSubscriptionPayload

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

func (NullableCreateSubscriptionPayload) Get

func (NullableCreateSubscriptionPayload) IsSet

func (NullableCreateSubscriptionPayload) MarshalJSON

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

func (*NullableCreateSubscriptionPayload) Set

func (*NullableCreateSubscriptionPayload) UnmarshalJSON

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

func (*NullableCreateSubscriptionPayload) Unset

type NullableCreateTopicPayload

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

func NewNullableCreateTopicPayload

func NewNullableCreateTopicPayload(val *CreateTopicPayload) *NullableCreateTopicPayload

func (NullableCreateTopicPayload) Get

func (NullableCreateTopicPayload) IsSet

func (v NullableCreateTopicPayload) IsSet() bool

func (NullableCreateTopicPayload) MarshalJSON

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

func (*NullableCreateTopicPayload) Set

func (*NullableCreateTopicPayload) UnmarshalJSON

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

func (*NullableCreateTopicPayload) Unset

func (v *NullableCreateTopicPayload) 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 NullableGrantSubscriptionSubscriberAccessPayload

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

func (NullableGrantSubscriptionSubscriberAccessPayload) Get

func (NullableGrantSubscriptionSubscriberAccessPayload) IsSet

func (NullableGrantSubscriptionSubscriberAccessPayload) MarshalJSON

func (*NullableGrantSubscriptionSubscriberAccessPayload) Set

func (*NullableGrantSubscriptionSubscriberAccessPayload) UnmarshalJSON

func (*NullableGrantSubscriptionSubscriberAccessPayload) Unset

type NullableGrantTopicPublisherAccessPayload

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

func (NullableGrantTopicPublisherAccessPayload) Get

func (NullableGrantTopicPublisherAccessPayload) IsSet

func (NullableGrantTopicPublisherAccessPayload) MarshalJSON

func (*NullableGrantTopicPublisherAccessPayload) Set

func (*NullableGrantTopicPublisherAccessPayload) UnmarshalJSON

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

func (*NullableGrantTopicPublisherAccessPayload) 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 NullableListEmailAddressesResponse

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

func (NullableListEmailAddressesResponse) Get

func (NullableListEmailAddressesResponse) IsSet

func (NullableListEmailAddressesResponse) MarshalJSON

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

func (*NullableListEmailAddressesResponse) Set

func (*NullableListEmailAddressesResponse) UnmarshalJSON

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

func (*NullableListEmailAddressesResponse) Unset

type NullableListSubscriptionsResponse

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

func (NullableListSubscriptionsResponse) Get

func (NullableListSubscriptionsResponse) IsSet

func (NullableListSubscriptionsResponse) MarshalJSON

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

func (*NullableListSubscriptionsResponse) Set

func (*NullableListSubscriptionsResponse) UnmarshalJSON

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

func (*NullableListSubscriptionsResponse) Unset

type NullableListTopicsResponse

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

func NewNullableListTopicsResponse

func NewNullableListTopicsResponse(val *ListTopicsResponse) *NullableListTopicsResponse

func (NullableListTopicsResponse) Get

func (NullableListTopicsResponse) IsSet

func (v NullableListTopicsResponse) IsSet() bool

func (NullableListTopicsResponse) MarshalJSON

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

func (*NullableListTopicsResponse) Set

func (*NullableListTopicsResponse) UnmarshalJSON

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

func (*NullableListTopicsResponse) Unset

func (v *NullableListTopicsResponse) 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 NullableSubscriptionResponse

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

func NewNullableSubscriptionResponse

func NewNullableSubscriptionResponse(val *SubscriptionResponse) *NullableSubscriptionResponse

func (NullableSubscriptionResponse) Get

func (NullableSubscriptionResponse) IsSet

func (NullableSubscriptionResponse) MarshalJSON

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

func (*NullableSubscriptionResponse) Set

func (*NullableSubscriptionResponse) UnmarshalJSON

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

func (*NullableSubscriptionResponse) Unset

func (v *NullableSubscriptionResponse) Unset()

type NullableSubscriptionResponseState

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

func (NullableSubscriptionResponseState) Get

func (NullableSubscriptionResponseState) IsSet

func (NullableSubscriptionResponseState) MarshalJSON

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

func (*NullableSubscriptionResponseState) Set

func (*NullableSubscriptionResponseState) UnmarshalJSON

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

func (*NullableSubscriptionResponseState) Unset

type NullableSubscriptionSettings

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

func NewNullableSubscriptionSettings

func NewNullableSubscriptionSettings(val *SubscriptionSettings) *NullableSubscriptionSettings

func (NullableSubscriptionSettings) Get

func (NullableSubscriptionSettings) IsSet

func (NullableSubscriptionSettings) MarshalJSON

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

func (*NullableSubscriptionSettings) Set

func (*NullableSubscriptionSettings) UnmarshalJSON

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

func (*NullableSubscriptionSettings) Unset

func (v *NullableSubscriptionSettings) 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 NullableTopicResponse

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

func NewNullableTopicResponse

func NewNullableTopicResponse(val *TopicResponse) *NullableTopicResponse

func (NullableTopicResponse) Get

func (NullableTopicResponse) IsSet

func (v NullableTopicResponse) IsSet() bool

func (NullableTopicResponse) MarshalJSON

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

func (*NullableTopicResponse) Set

func (v *NullableTopicResponse) Set(val *TopicResponse)

func (*NullableTopicResponse) UnmarshalJSON

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

func (*NullableTopicResponse) Unset

func (v *NullableTopicResponse) Unset()

type NullableTopicResponseState

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

func NewNullableTopicResponseState

func NewNullableTopicResponseState(val *TopicResponseState) *NullableTopicResponseState

func (NullableTopicResponseState) Get

func (NullableTopicResponseState) IsSet

func (v NullableTopicResponseState) IsSet() bool

func (NullableTopicResponseState) MarshalJSON

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

func (*NullableTopicResponseState) Set

func (*NullableTopicResponseState) UnmarshalJSON

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

func (*NullableTopicResponseState) Unset

func (v *NullableTopicResponseState) Unset()

type NullableTopicSettings

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

func NewNullableTopicSettings

func NewNullableTopicSettings(val *TopicSettings) *NullableTopicSettings

func (NullableTopicSettings) Get

func (NullableTopicSettings) IsSet

func (v NullableTopicSettings) IsSet() bool

func (NullableTopicSettings) MarshalJSON

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

func (*NullableTopicSettings) Set

func (v *NullableTopicSettings) Set(val *TopicSettings)

func (*NullableTopicSettings) UnmarshalJSON

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

func (*NullableTopicSettings) Unset

func (v *NullableTopicSettings) Unset()

type NullableUpdatePublisherAccessPayload

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

func (NullableUpdatePublisherAccessPayload) Get

func (NullableUpdatePublisherAccessPayload) IsSet

func (NullableUpdatePublisherAccessPayload) MarshalJSON

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

func (*NullableUpdatePublisherAccessPayload) Set

func (*NullableUpdatePublisherAccessPayload) UnmarshalJSON

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

func (*NullableUpdatePublisherAccessPayload) Unset

type NullableUpdateSubscriptionPayload

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

func (NullableUpdateSubscriptionPayload) Get

func (NullableUpdateSubscriptionPayload) IsSet

func (NullableUpdateSubscriptionPayload) MarshalJSON

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

func (*NullableUpdateSubscriptionPayload) Set

func (*NullableUpdateSubscriptionPayload) UnmarshalJSON

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

func (*NullableUpdateSubscriptionPayload) Unset

type NullableUpdateSubscriptionSubscriberAccessPayload

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

func (NullableUpdateSubscriptionSubscriberAccessPayload) Get

func (NullableUpdateSubscriptionSubscriberAccessPayload) IsSet

func (NullableUpdateSubscriptionSubscriberAccessPayload) MarshalJSON

func (*NullableUpdateSubscriptionSubscriberAccessPayload) Set

func (*NullableUpdateSubscriptionSubscriberAccessPayload) UnmarshalJSON

func (*NullableUpdateSubscriptionSubscriberAccessPayload) Unset

type NullableUpdateTopicPayload

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

func NewNullableUpdateTopicPayload

func NewNullableUpdateTopicPayload(val *UpdateTopicPayload) *NullableUpdateTopicPayload

func (NullableUpdateTopicPayload) Get

func (NullableUpdateTopicPayload) IsSet

func (v NullableUpdateTopicPayload) IsSet() bool

func (NullableUpdateTopicPayload) MarshalJSON

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

func (*NullableUpdateTopicPayload) Set

func (*NullableUpdateTopicPayload) UnmarshalJSON

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

func (*NullableUpdateTopicPayload) Unset

func (v *NullableUpdateTopicPayload) Unset()

type SubscriptionResponse

type SubscriptionResponse struct {
	// The point in time the resource was created.
	CreateTime time.Time `json:"createTime"`
	// The description is a longer text chosen by the user to provide more context for the resource.
	Description *string `json:"description,omitempty"`
	// The display name is a short name chosen by the user to identify the resource.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9 -]*$"`
	// An auto generated unique id which identifies the resource.
	Id string `json:"id"`
	// Labels are key-value pairs used to group and organize subsets of resources.  **Key constraints:** - May contain an optional domain prefix separated by a slash (`/`). - The domain prefix must be less than or equal to 250 characters and a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - The name part (excluding the domain prefix) must be between 1 and 63 characters long. - The name part must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - The name part may contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use.  **Value constraints:** - Must be less than or equal to 63 characters long (can be empty). - Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) if not empty. - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between.  **Count constraint:** - A maximum of 64 labels can be applied per resource. Restricted labels are excluded from this count.
	Labels   *map[string]string        `json:"labels,omitempty"`
	Settings *SubscriptionSettings     `json:"settings,omitempty"`
	State    SubscriptionResponseState `json:"state"`
	// The id of the topic to which the subscription belongs.
	TopicId              string `json:"topicId"`
	AdditionalProperties map[string]interface{}
}

SubscriptionResponse struct for SubscriptionResponse

func NewSubscriptionResponse

func NewSubscriptionResponse(createTime time.Time, displayName string, id string, state SubscriptionResponseState, topicId string) *SubscriptionResponse

NewSubscriptionResponse instantiates a new SubscriptionResponse 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 NewSubscriptionResponseWithDefaults

func NewSubscriptionResponseWithDefaults() *SubscriptionResponse

NewSubscriptionResponseWithDefaults instantiates a new SubscriptionResponse 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 (*SubscriptionResponse) GetCreateTime

func (o *SubscriptionResponse) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field value

func (*SubscriptionResponse) GetCreateTimeOk

func (o *SubscriptionResponse) GetCreateTimeOk() (*time.Time, bool)

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

func (*SubscriptionResponse) GetDescription

func (o *SubscriptionResponse) GetDescription() string

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

func (*SubscriptionResponse) GetDescriptionOk

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

func (o *SubscriptionResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*SubscriptionResponse) GetDisplayNameOk

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

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

func (*SubscriptionResponse) GetId

func (o *SubscriptionResponse) GetId() string

GetId returns the Id field value

func (*SubscriptionResponse) GetIdOk

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

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

func (*SubscriptionResponse) GetLabels

func (o *SubscriptionResponse) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*SubscriptionResponse) GetLabelsOk

func (o *SubscriptionResponse) GetLabelsOk() (*map[string]string, bool)

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

func (*SubscriptionResponse) GetSettings

func (o *SubscriptionResponse) GetSettings() SubscriptionSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*SubscriptionResponse) GetSettingsOk

func (o *SubscriptionResponse) GetSettingsOk() (*SubscriptionSettings, bool)

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

func (*SubscriptionResponse) GetState

GetState returns the State field value

func (*SubscriptionResponse) GetStateOk

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

func (*SubscriptionResponse) GetTopicId

func (o *SubscriptionResponse) GetTopicId() string

GetTopicId returns the TopicId field value

func (*SubscriptionResponse) GetTopicIdOk

func (o *SubscriptionResponse) GetTopicIdOk() (*string, bool)

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

func (*SubscriptionResponse) HasDescription

func (o *SubscriptionResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*SubscriptionResponse) HasLabels

func (o *SubscriptionResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*SubscriptionResponse) HasSettings

func (o *SubscriptionResponse) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (SubscriptionResponse) MarshalJSON

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

func (*SubscriptionResponse) SetCreateTime

func (o *SubscriptionResponse) SetCreateTime(v time.Time)

SetCreateTime sets field value

func (*SubscriptionResponse) SetDescription

func (o *SubscriptionResponse) SetDescription(v string)

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

func (*SubscriptionResponse) SetDisplayName

func (o *SubscriptionResponse) SetDisplayName(v string)

SetDisplayName sets field value

func (*SubscriptionResponse) SetId

func (o *SubscriptionResponse) SetId(v string)

SetId sets field value

func (*SubscriptionResponse) SetLabels

func (o *SubscriptionResponse) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*SubscriptionResponse) SetSettings

func (o *SubscriptionResponse) SetSettings(v SubscriptionSettings)

SetSettings gets a reference to the given SubscriptionSettings and assigns it to the Settings field.

func (*SubscriptionResponse) SetState

SetState sets field value

func (*SubscriptionResponse) SetTopicId

func (o *SubscriptionResponse) SetTopicId(v string)

SetTopicId sets field value

func (SubscriptionResponse) ToMap

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

func (*SubscriptionResponse) UnmarshalJSON

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

type SubscriptionResponseState

type SubscriptionResponseState string

SubscriptionResponseState The current state of the resource.

const (
	SUBSCRIPTIONRESPONSESTATE_RECONCILING              SubscriptionResponseState = "reconciling"
	SUBSCRIPTIONRESPONSESTATE_ACTIVE                   SubscriptionResponseState = "active"
	SUBSCRIPTIONRESPONSESTATE_DELETING                 SubscriptionResponseState = "deleting"
	SUBSCRIPTIONRESPONSESTATE_UNKNOWN_DEFAULT_OPEN_API SubscriptionResponseState = "unknown_default_open_api"
)

List of subscriptionResponse_state

func NewSubscriptionResponseStateFromValue

func NewSubscriptionResponseStateFromValue(v string) (*SubscriptionResponseState, error)

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

func (SubscriptionResponseState) IsValid

func (v SubscriptionResponseState) IsValid() bool

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

func (SubscriptionResponseState) Ptr

Ptr returns reference to subscriptionResponse_state value

func (*SubscriptionResponseState) UnmarshalJSON

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

type SubscriptionSettings

type SubscriptionSettings struct {
	// The maximum amount of time the system waits for a message acknowledgment.  If a message is not acknowledged within this window, it will be redelivered.  **Format:** Must be a duration string consisting of a number (integer or decimal) followed by a unit ('s', 'm', or 'h').  **Constraints:** - **Minimum:** \"1s\" - **Maximum:** \"168h\" (7 days)
	AckDeadline          *string `json:"ackDeadline,omitempty" validate:"regexp=^[0-9]+(\\\\.[0-9]+)?(s|m|h)$"`
	AdditionalProperties map[string]interface{}
}

SubscriptionSettings Configuration settings for the subscription.

func NewSubscriptionSettings

func NewSubscriptionSettings() *SubscriptionSettings

NewSubscriptionSettings instantiates a new SubscriptionSettings 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 NewSubscriptionSettingsWithDefaults

func NewSubscriptionSettingsWithDefaults() *SubscriptionSettings

NewSubscriptionSettingsWithDefaults instantiates a new SubscriptionSettings 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 (*SubscriptionSettings) GetAckDeadline

func (o *SubscriptionSettings) GetAckDeadline() string

GetAckDeadline returns the AckDeadline field value if set, zero value otherwise.

func (*SubscriptionSettings) GetAckDeadlineOk

func (o *SubscriptionSettings) GetAckDeadlineOk() (*string, bool)

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

func (*SubscriptionSettings) HasAckDeadline

func (o *SubscriptionSettings) HasAckDeadline() bool

HasAckDeadline returns a boolean if a field has been set.

func (SubscriptionSettings) MarshalJSON

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

func (*SubscriptionSettings) SetAckDeadline

func (o *SubscriptionSettings) SetAckDeadline(v string)

SetAckDeadline gets a reference to the given string and assigns it to the AckDeadline field.

func (SubscriptionSettings) ToMap

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

func (*SubscriptionSettings) UnmarshalJSON

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

type TopicResponse

type TopicResponse struct {
	// The point in time the resource was created.
	CreateTime time.Time `json:"createTime"`
	// The description is a longer text chosen by the user to provide more context for the resource.
	Description *string `json:"description,omitempty"`
	// The display name is a short name chosen by the user to identify the resource.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9 -]*$"`
	// An auto generated unique id which identifies the resource.
	Id string `json:"id"`
	// Labels are key-value pairs used to group and organize subsets of resources.  **Key constraints:** - May contain an optional domain prefix separated by a slash (`/`). - The domain prefix must be less than or equal to 250 characters and a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - The name part (excluding the domain prefix) must be between 1 and 63 characters long. - The name part must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - The name part may contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use.  **Value constraints:** - Must be less than or equal to 63 characters long (can be empty). - Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) if not empty. - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between.  **Count constraint:** - A maximum of 64 labels can be applied per resource. Restricted labels are excluded from this count.
	Labels   *map[string]string `json:"labels,omitempty"`
	Settings *TopicSettings     `json:"settings,omitempty"`
	State    TopicResponseState `json:"state"`
	// The URI for reaching the resource.
	Uri                  *string `json:"uri,omitempty"`
	AdditionalProperties map[string]interface{}
}

TopicResponse struct for TopicResponse

func NewTopicResponse

func NewTopicResponse(createTime time.Time, displayName string, id string, state TopicResponseState) *TopicResponse

NewTopicResponse instantiates a new TopicResponse 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 NewTopicResponseWithDefaults

func NewTopicResponseWithDefaults() *TopicResponse

NewTopicResponseWithDefaults instantiates a new TopicResponse 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 (*TopicResponse) GetCreateTime

func (o *TopicResponse) GetCreateTime() time.Time

GetCreateTime returns the CreateTime field value

func (*TopicResponse) GetCreateTimeOk

func (o *TopicResponse) GetCreateTimeOk() (*time.Time, bool)

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

func (*TopicResponse) GetDescription

func (o *TopicResponse) GetDescription() string

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

func (*TopicResponse) GetDescriptionOk

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

func (o *TopicResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*TopicResponse) GetDisplayNameOk

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

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

func (*TopicResponse) GetId

func (o *TopicResponse) GetId() string

GetId returns the Id field value

func (*TopicResponse) GetIdOk

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

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

func (*TopicResponse) GetLabels

func (o *TopicResponse) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*TopicResponse) GetLabelsOk

func (o *TopicResponse) GetLabelsOk() (*map[string]string, bool)

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

func (*TopicResponse) GetSettings

func (o *TopicResponse) GetSettings() TopicSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*TopicResponse) GetSettingsOk

func (o *TopicResponse) GetSettingsOk() (*TopicSettings, bool)

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

func (*TopicResponse) GetState

func (o *TopicResponse) GetState() TopicResponseState

GetState returns the State field value

func (*TopicResponse) GetStateOk

func (o *TopicResponse) GetStateOk() (*TopicResponseState, bool)

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

func (*TopicResponse) GetUri

func (o *TopicResponse) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*TopicResponse) GetUriOk

func (o *TopicResponse) GetUriOk() (*string, bool)

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

func (*TopicResponse) HasDescription

func (o *TopicResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TopicResponse) HasLabels

func (o *TopicResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*TopicResponse) HasSettings

func (o *TopicResponse) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*TopicResponse) HasUri

func (o *TopicResponse) HasUri() bool

HasUri returns a boolean if a field has been set.

func (TopicResponse) MarshalJSON

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

func (*TopicResponse) SetCreateTime

func (o *TopicResponse) SetCreateTime(v time.Time)

SetCreateTime sets field value

func (*TopicResponse) SetDescription

func (o *TopicResponse) SetDescription(v string)

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

func (*TopicResponse) SetDisplayName

func (o *TopicResponse) SetDisplayName(v string)

SetDisplayName sets field value

func (*TopicResponse) SetId

func (o *TopicResponse) SetId(v string)

SetId sets field value

func (*TopicResponse) SetLabels

func (o *TopicResponse) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*TopicResponse) SetSettings

func (o *TopicResponse) SetSettings(v TopicSettings)

SetSettings gets a reference to the given TopicSettings and assigns it to the Settings field.

func (*TopicResponse) SetState

func (o *TopicResponse) SetState(v TopicResponseState)

SetState sets field value

func (*TopicResponse) SetUri

func (o *TopicResponse) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (TopicResponse) ToMap

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

func (*TopicResponse) UnmarshalJSON

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

type TopicResponseState

type TopicResponseState string

TopicResponseState The current state of the resource.

const (
	TOPICRESPONSESTATE_RECONCILING              TopicResponseState = "reconciling"
	TOPICRESPONSESTATE_ACTIVE                   TopicResponseState = "active"
	TOPICRESPONSESTATE_DELETING                 TopicResponseState = "deleting"
	TOPICRESPONSESTATE_UNKNOWN_DEFAULT_OPEN_API TopicResponseState = "unknown_default_open_api"
)

List of topicResponse_state

func NewTopicResponseStateFromValue

func NewTopicResponseStateFromValue(v string) (*TopicResponseState, error)

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

func (TopicResponseState) IsValid

func (v TopicResponseState) IsValid() bool

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

func (TopicResponseState) Ptr

Ptr returns reference to topicResponse_state value

func (*TopicResponseState) UnmarshalJSON

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

type TopicSettings

type TopicSettings struct {
	// Whitelist of IPs in CIDR notation that can access the topic and its underlying subscriptions.
	Acl []string `json:"acl,omitempty"`
	// Enables or disables metrics collection for the topic.
	Metrics *bool `json:"metrics,omitempty"`
	// The maximum length of time a message is persisted in storage.  Messages older than this duration are automatically discarded/deleted.  **Format:** Must be a scalar duration: a number (integer or decimal) followed by a unit ('s', 'm', or 'h').  **Constraints:** - **Minimum:** \"1s\" - **Maximum:** \"168h\" (7 days)
	Retention *string `json:"retention,omitempty" validate:"regexp=^[0-9]+(\\\\.[0-9]+)?(s|m|h)$"`
	// Enables or disables sending of service logs for the topic.
	ServiceLogs          *bool `json:"serviceLogs,omitempty"`
	AdditionalProperties map[string]interface{}
}

TopicSettings Configuration settings for the topic.

func NewTopicSettings

func NewTopicSettings() *TopicSettings

NewTopicSettings instantiates a new TopicSettings 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 NewTopicSettingsWithDefaults

func NewTopicSettingsWithDefaults() *TopicSettings

NewTopicSettingsWithDefaults instantiates a new TopicSettings 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 (*TopicSettings) GetAcl

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

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

func (*TopicSettings) GetAclOk

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

func (o *TopicSettings) GetMetrics() bool

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*TopicSettings) GetMetricsOk

func (o *TopicSettings) GetMetricsOk() (*bool, bool)

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

func (*TopicSettings) GetRetention

func (o *TopicSettings) GetRetention() string

GetRetention returns the Retention field value if set, zero value otherwise.

func (*TopicSettings) GetRetentionOk

func (o *TopicSettings) GetRetentionOk() (*string, bool)

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

func (*TopicSettings) GetServiceLogs

func (o *TopicSettings) GetServiceLogs() bool

GetServiceLogs returns the ServiceLogs field value if set, zero value otherwise.

func (*TopicSettings) GetServiceLogsOk

func (o *TopicSettings) GetServiceLogsOk() (*bool, bool)

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

func (*TopicSettings) HasAcl

func (o *TopicSettings) HasAcl() bool

HasAcl returns a boolean if a field has been set.

func (*TopicSettings) HasMetrics

func (o *TopicSettings) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*TopicSettings) HasRetention

func (o *TopicSettings) HasRetention() bool

HasRetention returns a boolean if a field has been set.

func (*TopicSettings) HasServiceLogs

func (o *TopicSettings) HasServiceLogs() bool

HasServiceLogs returns a boolean if a field has been set.

func (TopicSettings) MarshalJSON

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

func (*TopicSettings) SetAcl

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

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

func (*TopicSettings) SetMetrics

func (o *TopicSettings) SetMetrics(v bool)

SetMetrics gets a reference to the given bool and assigns it to the Metrics field.

func (*TopicSettings) SetRetention

func (o *TopicSettings) SetRetention(v string)

SetRetention gets a reference to the given string and assigns it to the Retention field.

func (*TopicSettings) SetServiceLogs

func (o *TopicSettings) SetServiceLogs(v bool)

SetServiceLogs gets a reference to the given bool and assigns it to the ServiceLogs field.

func (TopicSettings) ToMap

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

func (*TopicSettings) UnmarshalJSON

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

type UpdatePublisherAccessPayload

type UpdatePublisherAccessPayload struct {
	// A list of valid subscriber email addresses.
	EmailAddresses       []string `json:"emailAddresses"`
	AdditionalProperties map[string]interface{}
}

UpdatePublisherAccessPayload struct for UpdatePublisherAccessPayload

func NewUpdatePublisherAccessPayload

func NewUpdatePublisherAccessPayload(emailAddresses []string) *UpdatePublisherAccessPayload

NewUpdatePublisherAccessPayload instantiates a new UpdatePublisherAccessPayload 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 NewUpdatePublisherAccessPayloadWithDefaults

func NewUpdatePublisherAccessPayloadWithDefaults() *UpdatePublisherAccessPayload

NewUpdatePublisherAccessPayloadWithDefaults instantiates a new UpdatePublisherAccessPayload 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 (*UpdatePublisherAccessPayload) GetEmailAddresses

func (o *UpdatePublisherAccessPayload) GetEmailAddresses() []string

GetEmailAddresses returns the EmailAddresses field value

func (*UpdatePublisherAccessPayload) GetEmailAddressesOk

func (o *UpdatePublisherAccessPayload) GetEmailAddressesOk() ([]string, bool)

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

func (UpdatePublisherAccessPayload) MarshalJSON

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

func (*UpdatePublisherAccessPayload) SetEmailAddresses

func (o *UpdatePublisherAccessPayload) SetEmailAddresses(v []string)

SetEmailAddresses sets field value

func (UpdatePublisherAccessPayload) ToMap

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

func (*UpdatePublisherAccessPayload) UnmarshalJSON

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

type UpdateSubscriptionPayload

type UpdateSubscriptionPayload struct {
	// The description is a longer text chosen by the user to provide more context for the resource.
	Description *string `json:"description,omitempty"`
	// The display name is a short name chosen by the user to identify the resource.
	DisplayName *string `json:"displayName,omitempty" validate:"regexp=^[a-zA-Z0-9 -]*$"`
	// Labels are key-value pairs used to group and organize subsets of resources.  **Key constraints:** - May contain an optional domain prefix separated by a slash (`/`). - The domain prefix must be less than or equal to 250 characters and a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - The name part (excluding the domain prefix) must be between 1 and 63 characters long. - The name part must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - The name part may contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use.  **Value constraints:** - Must be less than or equal to 63 characters long (can be empty). - Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) if not empty. - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between.  **Count constraint:** - A maximum of 64 labels can be applied per resource. Restricted labels are excluded from this count.
	Labels               *map[string]string    `json:"labels,omitempty"`
	Settings             *SubscriptionSettings `json:"settings,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateSubscriptionPayload struct for UpdateSubscriptionPayload

func NewUpdateSubscriptionPayload

func NewUpdateSubscriptionPayload() *UpdateSubscriptionPayload

NewUpdateSubscriptionPayload instantiates a new UpdateSubscriptionPayload 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 NewUpdateSubscriptionPayloadWithDefaults

func NewUpdateSubscriptionPayloadWithDefaults() *UpdateSubscriptionPayload

NewUpdateSubscriptionPayloadWithDefaults instantiates a new UpdateSubscriptionPayload 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 (*UpdateSubscriptionPayload) GetDescription

func (o *UpdateSubscriptionPayload) GetDescription() string

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

func (*UpdateSubscriptionPayload) GetDescriptionOk

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

func (o *UpdateSubscriptionPayload) GetDisplayName() string

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

func (*UpdateSubscriptionPayload) GetDisplayNameOk

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

func (o *UpdateSubscriptionPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateSubscriptionPayload) GetLabelsOk

func (o *UpdateSubscriptionPayload) GetLabelsOk() (*map[string]string, bool)

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

func (*UpdateSubscriptionPayload) GetSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*UpdateSubscriptionPayload) GetSettingsOk

func (o *UpdateSubscriptionPayload) GetSettingsOk() (*SubscriptionSettings, bool)

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

func (*UpdateSubscriptionPayload) HasDescription

func (o *UpdateSubscriptionPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateSubscriptionPayload) HasDisplayName

func (o *UpdateSubscriptionPayload) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*UpdateSubscriptionPayload) HasLabels

func (o *UpdateSubscriptionPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateSubscriptionPayload) HasSettings

func (o *UpdateSubscriptionPayload) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (UpdateSubscriptionPayload) MarshalJSON

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

func (*UpdateSubscriptionPayload) SetDescription

func (o *UpdateSubscriptionPayload) SetDescription(v string)

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

func (*UpdateSubscriptionPayload) SetDisplayName

func (o *UpdateSubscriptionPayload) SetDisplayName(v string)

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

func (*UpdateSubscriptionPayload) SetLabels

func (o *UpdateSubscriptionPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*UpdateSubscriptionPayload) SetSettings

SetSettings gets a reference to the given SubscriptionSettings and assigns it to the Settings field.

func (UpdateSubscriptionPayload) ToMap

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

func (*UpdateSubscriptionPayload) UnmarshalJSON

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

type UpdateSubscriptionSubscriberAccessPayload

type UpdateSubscriptionSubscriberAccessPayload struct {
	// A list of valid subscriber email addresses.
	EmailAddresses       []string `json:"emailAddresses"`
	AdditionalProperties map[string]interface{}
}

UpdateSubscriptionSubscriberAccessPayload struct for UpdateSubscriptionSubscriberAccessPayload

func NewUpdateSubscriptionSubscriberAccessPayload

func NewUpdateSubscriptionSubscriberAccessPayload(emailAddresses []string) *UpdateSubscriptionSubscriberAccessPayload

NewUpdateSubscriptionSubscriberAccessPayload instantiates a new UpdateSubscriptionSubscriberAccessPayload 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 NewUpdateSubscriptionSubscriberAccessPayloadWithDefaults

func NewUpdateSubscriptionSubscriberAccessPayloadWithDefaults() *UpdateSubscriptionSubscriberAccessPayload

NewUpdateSubscriptionSubscriberAccessPayloadWithDefaults instantiates a new UpdateSubscriptionSubscriberAccessPayload 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 (*UpdateSubscriptionSubscriberAccessPayload) GetEmailAddresses

func (o *UpdateSubscriptionSubscriberAccessPayload) GetEmailAddresses() []string

GetEmailAddresses returns the EmailAddresses field value

func (*UpdateSubscriptionSubscriberAccessPayload) GetEmailAddressesOk

func (o *UpdateSubscriptionSubscriberAccessPayload) GetEmailAddressesOk() ([]string, bool)

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

func (UpdateSubscriptionSubscriberAccessPayload) MarshalJSON

func (*UpdateSubscriptionSubscriberAccessPayload) SetEmailAddresses

func (o *UpdateSubscriptionSubscriberAccessPayload) SetEmailAddresses(v []string)

SetEmailAddresses sets field value

func (UpdateSubscriptionSubscriberAccessPayload) ToMap

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

func (*UpdateSubscriptionSubscriberAccessPayload) UnmarshalJSON

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

type UpdateTopicPayload

type UpdateTopicPayload struct {
	// The description is a longer text chosen by the user to provide more context for the resource.
	Description *string `json:"description,omitempty"`
	// The display name is a short name chosen by the user to identify the resource.
	DisplayName *string `json:"displayName,omitempty" validate:"regexp=^[a-zA-Z0-9 -]*$"`
	// Labels are key-value pairs used to group and organize subsets of resources.  **Key constraints:** - May contain an optional domain prefix separated by a slash (`/`). - The domain prefix must be less than or equal to 250 characters and a valid DNS subdomain containing only lowercase alphanumerics (`[a-z0-9]`) and dashes (`-`), separated by dots (`.`). - The name part (excluding the domain prefix) must be between 1 and 63 characters long. - The name part must begin and end with an alphanumeric character (`[a-z0-9A-Z]`). - The name part may contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between. - Keys starting with the prefix `stackit-` or having a domain prefix of `stackit.cloud` (including its subdomains, e.g., `*.stackit.cloud/`) are reserved for system use.  **Value constraints:** - Must be less than or equal to 63 characters long (can be empty). - Must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) if not empty. - May contain dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics in between.  **Count constraint:** - A maximum of 64 labels can be applied per resource. Restricted labels are excluded from this count.
	Labels               *map[string]string `json:"labels,omitempty"`
	Settings             *TopicSettings     `json:"settings,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateTopicPayload struct for UpdateTopicPayload

func NewUpdateTopicPayload

func NewUpdateTopicPayload() *UpdateTopicPayload

NewUpdateTopicPayload instantiates a new UpdateTopicPayload 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 NewUpdateTopicPayloadWithDefaults

func NewUpdateTopicPayloadWithDefaults() *UpdateTopicPayload

NewUpdateTopicPayloadWithDefaults instantiates a new UpdateTopicPayload 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 (*UpdateTopicPayload) GetDescription

func (o *UpdateTopicPayload) GetDescription() string

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

func (*UpdateTopicPayload) GetDescriptionOk

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

func (o *UpdateTopicPayload) GetDisplayName() string

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

func (*UpdateTopicPayload) GetDisplayNameOk

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

func (o *UpdateTopicPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateTopicPayload) GetLabelsOk

func (o *UpdateTopicPayload) GetLabelsOk() (*map[string]string, bool)

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

func (*UpdateTopicPayload) GetSettings

func (o *UpdateTopicPayload) GetSettings() TopicSettings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*UpdateTopicPayload) GetSettingsOk

func (o *UpdateTopicPayload) GetSettingsOk() (*TopicSettings, bool)

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

func (*UpdateTopicPayload) HasDescription

func (o *UpdateTopicPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateTopicPayload) HasDisplayName

func (o *UpdateTopicPayload) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*UpdateTopicPayload) HasLabels

func (o *UpdateTopicPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateTopicPayload) HasSettings

func (o *UpdateTopicPayload) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (UpdateTopicPayload) MarshalJSON

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

func (*UpdateTopicPayload) SetDescription

func (o *UpdateTopicPayload) SetDescription(v string)

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

func (*UpdateTopicPayload) SetDisplayName

func (o *UpdateTopicPayload) SetDisplayName(v string)

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

func (*UpdateTopicPayload) SetLabels

func (o *UpdateTopicPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*UpdateTopicPayload) SetSettings

func (o *UpdateTopicPayload) SetSettings(v TopicSettings)

SetSettings gets a reference to the given TopicSettings and assigns it to the Settings field.

func (UpdateTopicPayload) ToMap

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

func (*UpdateTopicPayload) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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