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 ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ApiCreateSubscriptionRequest
- type ApiCreateTopicRequest
- type ApiDeleteSubscriptionRequest
- type ApiDeleteTopicRequest
- type ApiGetSubscriptionRequest
- type ApiGetTopicRequest
- type ApiGrantSubscriptionSubscriberAccessRequest
- type ApiGrantTopicPublisherAccessRequest
- type ApiListSubscriptionSubscribersRequest
- type ApiListSubscriptionsRequest
- func (r ApiListSubscriptionsRequest) Execute() (*ListSubscriptionsResponse, error)
- func (r ApiListSubscriptionsRequest) PageSize(pageSize int32) ApiListSubscriptionsRequest
- func (r ApiListSubscriptionsRequest) PageToken(pageToken string) ApiListSubscriptionsRequest
- func (r ApiListSubscriptionsRequest) Query(query string) ApiListSubscriptionsRequest
- type ApiListTopicPublishersRequest
- type ApiListTopicsRequest
- type ApiRevokeSubscriptionSubscriberAccessRequest
- type ApiRevokeTopicPublisherAccessRequest
- type ApiUpdatePublisherAccessRequest
- type ApiUpdateSubscriptionRequest
- type ApiUpdateSubscriptionSubscriberAccessRequest
- type ApiUpdateTopicRequest
- type CreateSubscriptionPayload
- func (o *CreateSubscriptionPayload) GetDescription() string
- func (o *CreateSubscriptionPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateSubscriptionPayload) GetDisplayName() string
- func (o *CreateSubscriptionPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateSubscriptionPayload) GetLabels() map[string]string
- func (o *CreateSubscriptionPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateSubscriptionPayload) GetSettings() SubscriptionSettings
- func (o *CreateSubscriptionPayload) GetSettingsOk() (*SubscriptionSettings, bool)
- func (o *CreateSubscriptionPayload) HasDescription() bool
- func (o *CreateSubscriptionPayload) HasLabels() bool
- func (o *CreateSubscriptionPayload) HasSettings() bool
- func (o CreateSubscriptionPayload) MarshalJSON() ([]byte, error)
- func (o *CreateSubscriptionPayload) SetDescription(v string)
- func (o *CreateSubscriptionPayload) SetDisplayName(v string)
- func (o *CreateSubscriptionPayload) SetLabels(v map[string]string)
- func (o *CreateSubscriptionPayload) SetSettings(v SubscriptionSettings)
- func (o CreateSubscriptionPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateSubscriptionPayload) UnmarshalJSON(data []byte) (err error)
- type CreateTopicPayload
- func (o *CreateTopicPayload) GetDescription() string
- func (o *CreateTopicPayload) GetDescriptionOk() (*string, bool)
- func (o *CreateTopicPayload) GetDisplayName() string
- func (o *CreateTopicPayload) GetDisplayNameOk() (*string, bool)
- func (o *CreateTopicPayload) GetLabels() map[string]string
- func (o *CreateTopicPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *CreateTopicPayload) GetSettings() TopicSettings
- func (o *CreateTopicPayload) GetSettingsOk() (*TopicSettings, bool)
- func (o *CreateTopicPayload) HasDescription() bool
- func (o *CreateTopicPayload) HasLabels() bool
- func (o *CreateTopicPayload) HasSettings() bool
- func (o CreateTopicPayload) MarshalJSON() ([]byte, error)
- func (o *CreateTopicPayload) SetDescription(v string)
- func (o *CreateTopicPayload) SetDisplayName(v string)
- func (o *CreateTopicPayload) SetLabels(v map[string]string)
- func (o *CreateTopicPayload) SetSettings(v TopicSettings)
- func (o CreateTopicPayload) ToMap() (map[string]interface{}, error)
- func (o *CreateTopicPayload) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateSubscription(ctx context.Context, projectId string, regionId string, topicId string) ApiCreateSubscriptionRequest
- func (a *DefaultAPIService) CreateSubscriptionExecute(r ApiCreateSubscriptionRequest) (*SubscriptionResponse, error)
- func (a *DefaultAPIService) CreateTopic(ctx context.Context, projectId string, regionId string) ApiCreateTopicRequest
- func (a *DefaultAPIService) CreateTopicExecute(r ApiCreateTopicRequest) (*TopicResponse, error)
- func (a *DefaultAPIService) DeleteSubscription(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiDeleteSubscriptionRequest
- func (a *DefaultAPIService) DeleteSubscriptionExecute(r ApiDeleteSubscriptionRequest) error
- func (a *DefaultAPIService) DeleteTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiDeleteTopicRequest
- func (a *DefaultAPIService) DeleteTopicExecute(r ApiDeleteTopicRequest) error
- func (a *DefaultAPIService) GetSubscription(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiGetSubscriptionRequest
- func (a *DefaultAPIService) GetSubscriptionExecute(r ApiGetSubscriptionRequest) (*SubscriptionResponse, error)
- func (a *DefaultAPIService) GetTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiGetTopicRequest
- func (a *DefaultAPIService) GetTopicExecute(r ApiGetTopicRequest) (*TopicResponse, error)
- func (a *DefaultAPIService) GrantSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiGrantSubscriptionSubscriberAccessRequest
- func (a *DefaultAPIService) GrantSubscriptionSubscriberAccessExecute(r ApiGrantSubscriptionSubscriberAccessRequest) error
- func (a *DefaultAPIService) GrantTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiGrantTopicPublisherAccessRequest
- func (a *DefaultAPIService) GrantTopicPublisherAccessExecute(r ApiGrantTopicPublisherAccessRequest) error
- func (a *DefaultAPIService) ListSubscriptionSubscribers(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiListSubscriptionSubscribersRequest
- func (a *DefaultAPIService) ListSubscriptionSubscribersExecute(r ApiListSubscriptionSubscribersRequest) (*ListEmailAddressesResponse, error)
- func (a *DefaultAPIService) ListSubscriptions(ctx context.Context, projectId string, regionId string, topicId string) ApiListSubscriptionsRequest
- func (a *DefaultAPIService) ListSubscriptionsExecute(r ApiListSubscriptionsRequest) (*ListSubscriptionsResponse, error)
- func (a *DefaultAPIService) ListTopicPublishers(ctx context.Context, projectId string, regionId string, topicId string) ApiListTopicPublishersRequest
- func (a *DefaultAPIService) ListTopicPublishersExecute(r ApiListTopicPublishersRequest) (*ListEmailAddressesResponse, error)
- func (a *DefaultAPIService) ListTopics(ctx context.Context, projectId string, regionId string) ApiListTopicsRequest
- func (a *DefaultAPIService) ListTopicsExecute(r ApiListTopicsRequest) (*ListTopicsResponse, error)
- func (a *DefaultAPIService) RevokeSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiRevokeSubscriptionSubscriberAccessRequest
- func (a *DefaultAPIService) RevokeSubscriptionSubscriberAccessExecute(r ApiRevokeSubscriptionSubscriberAccessRequest) error
- func (a *DefaultAPIService) RevokeTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiRevokeTopicPublisherAccessRequest
- func (a *DefaultAPIService) RevokeTopicPublisherAccessExecute(r ApiRevokeTopicPublisherAccessRequest) error
- func (a *DefaultAPIService) UpdatePublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdatePublisherAccessRequest
- func (a *DefaultAPIService) UpdatePublisherAccessExecute(r ApiUpdatePublisherAccessRequest) error
- func (a *DefaultAPIService) UpdateSubscription(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiUpdateSubscriptionRequest
- func (a *DefaultAPIService) UpdateSubscriptionExecute(r ApiUpdateSubscriptionRequest) error
- func (a *DefaultAPIService) UpdateSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiUpdateSubscriptionSubscriberAccessRequest
- func (a *DefaultAPIService) UpdateSubscriptionSubscriberAccessExecute(r ApiUpdateSubscriptionSubscriberAccessRequest) error
- func (a *DefaultAPIService) UpdateTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdateTopicRequest
- func (a *DefaultAPIService) UpdateTopicExecute(r ApiUpdateTopicRequest) error
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateSubscription(ctx context.Context, projectId string, regionId string, topicId string) ApiCreateSubscriptionRequest
- func (a DefaultAPIServiceMock) CreateSubscriptionExecute(r ApiCreateSubscriptionRequest) (*SubscriptionResponse, error)
- func (a DefaultAPIServiceMock) CreateTopic(ctx context.Context, projectId string, regionId string) ApiCreateTopicRequest
- func (a DefaultAPIServiceMock) CreateTopicExecute(r ApiCreateTopicRequest) (*TopicResponse, error)
- func (a DefaultAPIServiceMock) DeleteSubscription(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiDeleteSubscriptionRequest
- func (a DefaultAPIServiceMock) DeleteSubscriptionExecute(r ApiDeleteSubscriptionRequest) error
- func (a DefaultAPIServiceMock) DeleteTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiDeleteTopicRequest
- func (a DefaultAPIServiceMock) DeleteTopicExecute(r ApiDeleteTopicRequest) error
- func (a DefaultAPIServiceMock) GetSubscription(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiGetSubscriptionRequest
- func (a DefaultAPIServiceMock) GetSubscriptionExecute(r ApiGetSubscriptionRequest) (*SubscriptionResponse, error)
- func (a DefaultAPIServiceMock) GetTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiGetTopicRequest
- func (a DefaultAPIServiceMock) GetTopicExecute(r ApiGetTopicRequest) (*TopicResponse, error)
- func (a DefaultAPIServiceMock) GrantSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiGrantSubscriptionSubscriberAccessRequest
- func (a DefaultAPIServiceMock) GrantSubscriptionSubscriberAccessExecute(r ApiGrantSubscriptionSubscriberAccessRequest) error
- func (a DefaultAPIServiceMock) GrantTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiGrantTopicPublisherAccessRequest
- func (a DefaultAPIServiceMock) GrantTopicPublisherAccessExecute(r ApiGrantTopicPublisherAccessRequest) error
- func (a DefaultAPIServiceMock) ListSubscriptionSubscribers(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiListSubscriptionSubscribersRequest
- func (a DefaultAPIServiceMock) ListSubscriptionSubscribersExecute(r ApiListSubscriptionSubscribersRequest) (*ListEmailAddressesResponse, error)
- func (a DefaultAPIServiceMock) ListSubscriptions(ctx context.Context, projectId string, regionId string, topicId string) ApiListSubscriptionsRequest
- func (a DefaultAPIServiceMock) ListSubscriptionsExecute(r ApiListSubscriptionsRequest) (*ListSubscriptionsResponse, error)
- func (a DefaultAPIServiceMock) ListTopicPublishers(ctx context.Context, projectId string, regionId string, topicId string) ApiListTopicPublishersRequest
- func (a DefaultAPIServiceMock) ListTopicPublishersExecute(r ApiListTopicPublishersRequest) (*ListEmailAddressesResponse, error)
- func (a DefaultAPIServiceMock) ListTopics(ctx context.Context, projectId string, regionId string) ApiListTopicsRequest
- func (a DefaultAPIServiceMock) ListTopicsExecute(r ApiListTopicsRequest) (*ListTopicsResponse, error)
- func (a DefaultAPIServiceMock) RevokeSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiRevokeSubscriptionSubscriberAccessRequest
- func (a DefaultAPIServiceMock) RevokeSubscriptionSubscriberAccessExecute(r ApiRevokeSubscriptionSubscriberAccessRequest) error
- func (a DefaultAPIServiceMock) RevokeTopicPublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiRevokeTopicPublisherAccessRequest
- func (a DefaultAPIServiceMock) RevokeTopicPublisherAccessExecute(r ApiRevokeTopicPublisherAccessRequest) error
- func (a DefaultAPIServiceMock) UpdatePublisherAccess(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdatePublisherAccessRequest
- func (a DefaultAPIServiceMock) UpdatePublisherAccessExecute(r ApiUpdatePublisherAccessRequest) error
- func (a DefaultAPIServiceMock) UpdateSubscription(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiUpdateSubscriptionRequest
- func (a DefaultAPIServiceMock) UpdateSubscriptionExecute(r ApiUpdateSubscriptionRequest) error
- func (a DefaultAPIServiceMock) UpdateSubscriptionSubscriberAccess(ctx context.Context, projectId string, regionId string, topicId string, ...) ApiUpdateSubscriptionSubscriberAccessRequest
- func (a DefaultAPIServiceMock) UpdateSubscriptionSubscriberAccessExecute(r ApiUpdateSubscriptionSubscriberAccessRequest) error
- func (a DefaultAPIServiceMock) UpdateTopic(ctx context.Context, projectId string, regionId string, topicId string) ApiUpdateTopicRequest
- func (a DefaultAPIServiceMock) UpdateTopicExecute(r ApiUpdateTopicRequest) error
- type GrantSubscriptionSubscriberAccessPayload
- func (o *GrantSubscriptionSubscriberAccessPayload) GetEmailAddress() string
- func (o *GrantSubscriptionSubscriberAccessPayload) GetEmailAddressOk() (*string, bool)
- func (o GrantSubscriptionSubscriberAccessPayload) MarshalJSON() ([]byte, error)
- func (o *GrantSubscriptionSubscriberAccessPayload) SetEmailAddress(v string)
- func (o GrantSubscriptionSubscriberAccessPayload) ToMap() (map[string]interface{}, error)
- func (o *GrantSubscriptionSubscriberAccessPayload) UnmarshalJSON(data []byte) (err error)
- type GrantTopicPublisherAccessPayload
- func (o *GrantTopicPublisherAccessPayload) GetEmailAddress() string
- func (o *GrantTopicPublisherAccessPayload) GetEmailAddressOk() (*string, bool)
- func (o GrantTopicPublisherAccessPayload) MarshalJSON() ([]byte, error)
- func (o *GrantTopicPublisherAccessPayload) SetEmailAddress(v string)
- func (o GrantTopicPublisherAccessPayload) ToMap() (map[string]interface{}, error)
- func (o *GrantTopicPublisherAccessPayload) UnmarshalJSON(data []byte) (err error)
- type ListEmailAddressesResponse
- func (o *ListEmailAddressesResponse) GetEmailAddresses() []string
- func (o *ListEmailAddressesResponse) GetEmailAddressesOk() ([]string, bool)
- func (o ListEmailAddressesResponse) MarshalJSON() ([]byte, error)
- func (o *ListEmailAddressesResponse) SetEmailAddresses(v []string)
- func (o ListEmailAddressesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListEmailAddressesResponse) UnmarshalJSON(data []byte) (err error)
- type ListSubscriptionsResponse
- func (o *ListSubscriptionsResponse) GetNextPageToken() string
- func (o *ListSubscriptionsResponse) GetNextPageTokenOk() (*string, bool)
- func (o *ListSubscriptionsResponse) GetSubscriptions() []SubscriptionResponse
- func (o *ListSubscriptionsResponse) GetSubscriptionsOk() ([]SubscriptionResponse, bool)
- func (o *ListSubscriptionsResponse) HasNextPageToken() bool
- func (o ListSubscriptionsResponse) MarshalJSON() ([]byte, error)
- func (o *ListSubscriptionsResponse) SetNextPageToken(v string)
- func (o *ListSubscriptionsResponse) SetSubscriptions(v []SubscriptionResponse)
- func (o ListSubscriptionsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListSubscriptionsResponse) UnmarshalJSON(data []byte) (err error)
- type ListTopicsResponse
- func (o *ListTopicsResponse) GetNextPageToken() string
- func (o *ListTopicsResponse) GetNextPageTokenOk() (*string, bool)
- func (o *ListTopicsResponse) GetTopics() []TopicResponse
- func (o *ListTopicsResponse) GetTopicsOk() ([]TopicResponse, bool)
- func (o *ListTopicsResponse) HasNextPageToken() bool
- func (o ListTopicsResponse) MarshalJSON() ([]byte, error)
- func (o *ListTopicsResponse) SetNextPageToken(v string)
- func (o *ListTopicsResponse) SetTopics(v []TopicResponse)
- func (o ListTopicsResponse) ToMap() (map[string]interface{}, error)
- func (o *ListTopicsResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableBool
- type NullableCreateSubscriptionPayload
- func (v NullableCreateSubscriptionPayload) Get() *CreateSubscriptionPayload
- func (v NullableCreateSubscriptionPayload) IsSet() bool
- func (v NullableCreateSubscriptionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSubscriptionPayload) Set(val *CreateSubscriptionPayload)
- func (v *NullableCreateSubscriptionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSubscriptionPayload) Unset()
- type NullableCreateTopicPayload
- func (v NullableCreateTopicPayload) Get() *CreateTopicPayload
- func (v NullableCreateTopicPayload) IsSet() bool
- func (v NullableCreateTopicPayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTopicPayload) Set(val *CreateTopicPayload)
- func (v *NullableCreateTopicPayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTopicPayload) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGrantSubscriptionSubscriberAccessPayload
- func (v NullableGrantSubscriptionSubscriberAccessPayload) Get() *GrantSubscriptionSubscriberAccessPayload
- func (v NullableGrantSubscriptionSubscriberAccessPayload) IsSet() bool
- func (v NullableGrantSubscriptionSubscriberAccessPayload) MarshalJSON() ([]byte, error)
- func (v *NullableGrantSubscriptionSubscriberAccessPayload) Set(val *GrantSubscriptionSubscriberAccessPayload)
- func (v *NullableGrantSubscriptionSubscriberAccessPayload) UnmarshalJSON(src []byte) error
- func (v *NullableGrantSubscriptionSubscriberAccessPayload) Unset()
- type NullableGrantTopicPublisherAccessPayload
- func (v NullableGrantTopicPublisherAccessPayload) Get() *GrantTopicPublisherAccessPayload
- func (v NullableGrantTopicPublisherAccessPayload) IsSet() bool
- func (v NullableGrantTopicPublisherAccessPayload) MarshalJSON() ([]byte, error)
- func (v *NullableGrantTopicPublisherAccessPayload) Set(val *GrantTopicPublisherAccessPayload)
- func (v *NullableGrantTopicPublisherAccessPayload) UnmarshalJSON(src []byte) error
- func (v *NullableGrantTopicPublisherAccessPayload) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListEmailAddressesResponse
- func (v NullableListEmailAddressesResponse) Get() *ListEmailAddressesResponse
- func (v NullableListEmailAddressesResponse) IsSet() bool
- func (v NullableListEmailAddressesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListEmailAddressesResponse) Set(val *ListEmailAddressesResponse)
- func (v *NullableListEmailAddressesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListEmailAddressesResponse) Unset()
- type NullableListSubscriptionsResponse
- func (v NullableListSubscriptionsResponse) Get() *ListSubscriptionsResponse
- func (v NullableListSubscriptionsResponse) IsSet() bool
- func (v NullableListSubscriptionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListSubscriptionsResponse) Set(val *ListSubscriptionsResponse)
- func (v *NullableListSubscriptionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListSubscriptionsResponse) Unset()
- type NullableListTopicsResponse
- func (v NullableListTopicsResponse) Get() *ListTopicsResponse
- func (v NullableListTopicsResponse) IsSet() bool
- func (v NullableListTopicsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListTopicsResponse) Set(val *ListTopicsResponse)
- func (v *NullableListTopicsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListTopicsResponse) Unset()
- type NullableString
- type NullableSubscriptionResponse
- func (v NullableSubscriptionResponse) Get() *SubscriptionResponse
- func (v NullableSubscriptionResponse) IsSet() bool
- func (v NullableSubscriptionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSubscriptionResponse) Set(val *SubscriptionResponse)
- func (v *NullableSubscriptionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSubscriptionResponse) Unset()
- type NullableSubscriptionResponseState
- func (v NullableSubscriptionResponseState) Get() *SubscriptionResponseState
- func (v NullableSubscriptionResponseState) IsSet() bool
- func (v NullableSubscriptionResponseState) MarshalJSON() ([]byte, error)
- func (v *NullableSubscriptionResponseState) Set(val *SubscriptionResponseState)
- func (v *NullableSubscriptionResponseState) UnmarshalJSON(src []byte) error
- func (v *NullableSubscriptionResponseState) Unset()
- type NullableSubscriptionSettings
- func (v NullableSubscriptionSettings) Get() *SubscriptionSettings
- func (v NullableSubscriptionSettings) IsSet() bool
- func (v NullableSubscriptionSettings) MarshalJSON() ([]byte, error)
- func (v *NullableSubscriptionSettings) Set(val *SubscriptionSettings)
- func (v *NullableSubscriptionSettings) UnmarshalJSON(src []byte) error
- func (v *NullableSubscriptionSettings) Unset()
- type NullableTime
- type NullableTopicResponse
- func (v NullableTopicResponse) Get() *TopicResponse
- func (v NullableTopicResponse) IsSet() bool
- func (v NullableTopicResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTopicResponse) Set(val *TopicResponse)
- func (v *NullableTopicResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTopicResponse) Unset()
- type NullableTopicResponseState
- func (v NullableTopicResponseState) Get() *TopicResponseState
- func (v NullableTopicResponseState) IsSet() bool
- func (v NullableTopicResponseState) MarshalJSON() ([]byte, error)
- func (v *NullableTopicResponseState) Set(val *TopicResponseState)
- func (v *NullableTopicResponseState) UnmarshalJSON(src []byte) error
- func (v *NullableTopicResponseState) Unset()
- type NullableTopicSettings
- func (v NullableTopicSettings) Get() *TopicSettings
- func (v NullableTopicSettings) IsSet() bool
- func (v NullableTopicSettings) MarshalJSON() ([]byte, error)
- func (v *NullableTopicSettings) Set(val *TopicSettings)
- func (v *NullableTopicSettings) UnmarshalJSON(src []byte) error
- func (v *NullableTopicSettings) Unset()
- type NullableUpdatePublisherAccessPayload
- func (v NullableUpdatePublisherAccessPayload) Get() *UpdatePublisherAccessPayload
- func (v NullableUpdatePublisherAccessPayload) IsSet() bool
- func (v NullableUpdatePublisherAccessPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatePublisherAccessPayload) Set(val *UpdatePublisherAccessPayload)
- func (v *NullableUpdatePublisherAccessPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatePublisherAccessPayload) Unset()
- type NullableUpdateSubscriptionPayload
- func (v NullableUpdateSubscriptionPayload) Get() *UpdateSubscriptionPayload
- func (v NullableUpdateSubscriptionPayload) IsSet() bool
- func (v NullableUpdateSubscriptionPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSubscriptionPayload) Set(val *UpdateSubscriptionPayload)
- func (v *NullableUpdateSubscriptionPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSubscriptionPayload) Unset()
- type NullableUpdateSubscriptionSubscriberAccessPayload
- func (v NullableUpdateSubscriptionSubscriberAccessPayload) Get() *UpdateSubscriptionSubscriberAccessPayload
- func (v NullableUpdateSubscriptionSubscriberAccessPayload) IsSet() bool
- func (v NullableUpdateSubscriptionSubscriberAccessPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSubscriptionSubscriberAccessPayload) Set(val *UpdateSubscriptionSubscriberAccessPayload)
- func (v *NullableUpdateSubscriptionSubscriberAccessPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSubscriptionSubscriberAccessPayload) Unset()
- type NullableUpdateTopicPayload
- func (v NullableUpdateTopicPayload) Get() *UpdateTopicPayload
- func (v NullableUpdateTopicPayload) IsSet() bool
- func (v NullableUpdateTopicPayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateTopicPayload) Set(val *UpdateTopicPayload)
- func (v *NullableUpdateTopicPayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateTopicPayload) Unset()
- type SubscriptionResponse
- func (o *SubscriptionResponse) GetCreateTime() time.Time
- func (o *SubscriptionResponse) GetCreateTimeOk() (*time.Time, bool)
- func (o *SubscriptionResponse) GetDescription() string
- func (o *SubscriptionResponse) GetDescriptionOk() (*string, bool)
- func (o *SubscriptionResponse) GetDisplayName() string
- func (o *SubscriptionResponse) GetDisplayNameOk() (*string, bool)
- func (o *SubscriptionResponse) GetId() string
- func (o *SubscriptionResponse) GetIdOk() (*string, bool)
- func (o *SubscriptionResponse) GetLabels() map[string]string
- func (o *SubscriptionResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *SubscriptionResponse) GetSettings() SubscriptionSettings
- func (o *SubscriptionResponse) GetSettingsOk() (*SubscriptionSettings, bool)
- func (o *SubscriptionResponse) GetState() SubscriptionResponseState
- func (o *SubscriptionResponse) GetStateOk() (*SubscriptionResponseState, bool)
- func (o *SubscriptionResponse) GetTopicId() string
- func (o *SubscriptionResponse) GetTopicIdOk() (*string, bool)
- func (o *SubscriptionResponse) HasDescription() bool
- func (o *SubscriptionResponse) HasLabels() bool
- func (o *SubscriptionResponse) HasSettings() bool
- func (o SubscriptionResponse) MarshalJSON() ([]byte, error)
- func (o *SubscriptionResponse) SetCreateTime(v time.Time)
- func (o *SubscriptionResponse) SetDescription(v string)
- func (o *SubscriptionResponse) SetDisplayName(v string)
- func (o *SubscriptionResponse) SetId(v string)
- func (o *SubscriptionResponse) SetLabels(v map[string]string)
- func (o *SubscriptionResponse) SetSettings(v SubscriptionSettings)
- func (o *SubscriptionResponse) SetState(v SubscriptionResponseState)
- func (o *SubscriptionResponse) SetTopicId(v string)
- func (o SubscriptionResponse) ToMap() (map[string]interface{}, error)
- func (o *SubscriptionResponse) UnmarshalJSON(data []byte) (err error)
- type SubscriptionResponseState
- type SubscriptionSettings
- func (o *SubscriptionSettings) GetAckDeadline() string
- func (o *SubscriptionSettings) GetAckDeadlineOk() (*string, bool)
- func (o *SubscriptionSettings) HasAckDeadline() bool
- func (o SubscriptionSettings) MarshalJSON() ([]byte, error)
- func (o *SubscriptionSettings) SetAckDeadline(v string)
- func (o SubscriptionSettings) ToMap() (map[string]interface{}, error)
- func (o *SubscriptionSettings) UnmarshalJSON(data []byte) (err error)
- type TopicResponse
- func (o *TopicResponse) GetCreateTime() time.Time
- func (o *TopicResponse) GetCreateTimeOk() (*time.Time, bool)
- func (o *TopicResponse) GetDescription() string
- func (o *TopicResponse) GetDescriptionOk() (*string, bool)
- func (o *TopicResponse) GetDisplayName() string
- func (o *TopicResponse) GetDisplayNameOk() (*string, bool)
- func (o *TopicResponse) GetId() string
- func (o *TopicResponse) GetIdOk() (*string, bool)
- func (o *TopicResponse) GetLabels() map[string]string
- func (o *TopicResponse) GetLabelsOk() (*map[string]string, bool)
- func (o *TopicResponse) GetSettings() TopicSettings
- func (o *TopicResponse) GetSettingsOk() (*TopicSettings, bool)
- func (o *TopicResponse) GetState() TopicResponseState
- func (o *TopicResponse) GetStateOk() (*TopicResponseState, bool)
- func (o *TopicResponse) GetUri() string
- func (o *TopicResponse) GetUriOk() (*string, bool)
- func (o *TopicResponse) HasDescription() bool
- func (o *TopicResponse) HasLabels() bool
- func (o *TopicResponse) HasSettings() bool
- func (o *TopicResponse) HasUri() bool
- func (o TopicResponse) MarshalJSON() ([]byte, error)
- func (o *TopicResponse) SetCreateTime(v time.Time)
- func (o *TopicResponse) SetDescription(v string)
- func (o *TopicResponse) SetDisplayName(v string)
- func (o *TopicResponse) SetId(v string)
- func (o *TopicResponse) SetLabels(v map[string]string)
- func (o *TopicResponse) SetSettings(v TopicSettings)
- func (o *TopicResponse) SetState(v TopicResponseState)
- func (o *TopicResponse) SetUri(v string)
- func (o TopicResponse) ToMap() (map[string]interface{}, error)
- func (o *TopicResponse) UnmarshalJSON(data []byte) (err error)
- type TopicResponseState
- type TopicSettings
- func (o *TopicSettings) GetAcl() []string
- func (o *TopicSettings) GetAclOk() ([]string, bool)
- func (o *TopicSettings) GetMetrics() bool
- func (o *TopicSettings) GetMetricsOk() (*bool, bool)
- func (o *TopicSettings) GetRetention() string
- func (o *TopicSettings) GetRetentionOk() (*string, bool)
- func (o *TopicSettings) GetServiceLogs() bool
- func (o *TopicSettings) GetServiceLogsOk() (*bool, bool)
- func (o *TopicSettings) HasAcl() bool
- func (o *TopicSettings) HasMetrics() bool
- func (o *TopicSettings) HasRetention() bool
- func (o *TopicSettings) HasServiceLogs() bool
- func (o TopicSettings) MarshalJSON() ([]byte, error)
- func (o *TopicSettings) SetAcl(v []string)
- func (o *TopicSettings) SetMetrics(v bool)
- func (o *TopicSettings) SetRetention(v string)
- func (o *TopicSettings) SetServiceLogs(v bool)
- func (o TopicSettings) ToMap() (map[string]interface{}, error)
- func (o *TopicSettings) UnmarshalJSON(data []byte) (err error)
- type UpdatePublisherAccessPayload
- func (o *UpdatePublisherAccessPayload) GetEmailAddresses() []string
- func (o *UpdatePublisherAccessPayload) GetEmailAddressesOk() ([]string, bool)
- func (o UpdatePublisherAccessPayload) MarshalJSON() ([]byte, error)
- func (o *UpdatePublisherAccessPayload) SetEmailAddresses(v []string)
- func (o UpdatePublisherAccessPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdatePublisherAccessPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateSubscriptionPayload
- func (o *UpdateSubscriptionPayload) GetDescription() string
- func (o *UpdateSubscriptionPayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateSubscriptionPayload) GetDisplayName() string
- func (o *UpdateSubscriptionPayload) GetDisplayNameOk() (*string, bool)
- func (o *UpdateSubscriptionPayload) GetLabels() map[string]string
- func (o *UpdateSubscriptionPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateSubscriptionPayload) GetSettings() SubscriptionSettings
- func (o *UpdateSubscriptionPayload) GetSettingsOk() (*SubscriptionSettings, bool)
- func (o *UpdateSubscriptionPayload) HasDescription() bool
- func (o *UpdateSubscriptionPayload) HasDisplayName() bool
- func (o *UpdateSubscriptionPayload) HasLabels() bool
- func (o *UpdateSubscriptionPayload) HasSettings() bool
- func (o UpdateSubscriptionPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateSubscriptionPayload) SetDescription(v string)
- func (o *UpdateSubscriptionPayload) SetDisplayName(v string)
- func (o *UpdateSubscriptionPayload) SetLabels(v map[string]string)
- func (o *UpdateSubscriptionPayload) SetSettings(v SubscriptionSettings)
- func (o UpdateSubscriptionPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateSubscriptionPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateSubscriptionSubscriberAccessPayload
- func (o *UpdateSubscriptionSubscriberAccessPayload) GetEmailAddresses() []string
- func (o *UpdateSubscriptionSubscriberAccessPayload) GetEmailAddressesOk() ([]string, bool)
- func (o UpdateSubscriptionSubscriberAccessPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateSubscriptionSubscriberAccessPayload) SetEmailAddresses(v []string)
- func (o UpdateSubscriptionSubscriberAccessPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateSubscriptionSubscriberAccessPayload) UnmarshalJSON(data []byte) (err error)
- type UpdateTopicPayload
- func (o *UpdateTopicPayload) GetDescription() string
- func (o *UpdateTopicPayload) GetDescriptionOk() (*string, bool)
- func (o *UpdateTopicPayload) GetDisplayName() string
- func (o *UpdateTopicPayload) GetDisplayNameOk() (*string, bool)
- func (o *UpdateTopicPayload) GetLabels() map[string]string
- func (o *UpdateTopicPayload) GetLabelsOk() (*map[string]string, bool)
- func (o *UpdateTopicPayload) GetSettings() TopicSettings
- func (o *UpdateTopicPayload) GetSettingsOk() (*TopicSettings, bool)
- func (o *UpdateTopicPayload) HasDescription() bool
- func (o *UpdateTopicPayload) HasDisplayName() bool
- func (o *UpdateTopicPayload) HasLabels() bool
- func (o *UpdateTopicPayload) HasSettings() bool
- func (o UpdateTopicPayload) MarshalJSON() ([]byte, error)
- func (o *UpdateTopicPayload) SetDescription(v string)
- func (o *UpdateTopicPayload) SetDisplayName(v string)
- func (o *UpdateTopicPayload) SetLabels(v map[string]string)
- func (o *UpdateTopicPayload) SetSettings(v TopicSettings)
- func (o UpdateTopicPayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateTopicPayload) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedSubscriptionResponseStateEnumValues = []SubscriptionResponseState{
"reconciling",
"active",
"deleting",
"unknown_default_open_api",
}
All allowed values of SubscriptionResponseState enum
var AllowedTopicResponseStateEnumValues = []TopicResponseState{
"reconciling",
"active",
"deleting",
"unknown_default_open_api",
}
All allowed values of TopicResponseState enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
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 ¶
func (r ApiCreateSubscriptionRequest) Execute() (*SubscriptionResponse, error)
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 ¶
func (r ApiDeleteSubscriptionRequest) Force(force bool) ApiDeleteSubscriptionRequest
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 ¶
func (r ApiDeleteTopicRequest) Force(force bool) ApiDeleteTopicRequest
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 ¶
func (r ApiGetSubscriptionRequest) Execute() (*SubscriptionResponse, error)
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 (r ApiGrantSubscriptionSubscriberAccessRequest) Execute() error
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 (r ApiGrantTopicPublisherAccessRequest) Execute() error
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 ¶
func (r ApiListSubscriptionSubscribersRequest) Execute() (*ListEmailAddressesResponse, error)
type ApiListSubscriptionsRequest ¶
type ApiListSubscriptionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListSubscriptionsRequest) Execute ¶
func (r ApiListSubscriptionsRequest) Execute() (*ListSubscriptionsResponse, error)
func (ApiListSubscriptionsRequest) PageSize ¶
func (r ApiListSubscriptionsRequest) PageSize(pageSize int32) ApiListSubscriptionsRequest
Maximum number of items to return
func (ApiListSubscriptionsRequest) PageToken ¶
func (r ApiListSubscriptionsRequest) PageToken(pageToken string) ApiListSubscriptionsRequest
A token to retrieve the next page of results.
func (ApiListSubscriptionsRequest) Query ¶
func (r ApiListSubscriptionsRequest) Query(query string) ApiListSubscriptionsRequest
Supply a query string to filter the results.
type ApiListTopicPublishersRequest ¶
type ApiListTopicPublishersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListTopicPublishersRequest) Execute ¶
func (r ApiListTopicPublishersRequest) Execute() (*ListEmailAddressesResponse, error)
type ApiListTopicsRequest ¶
type ApiListTopicsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListTopicsRequest) Execute ¶
func (r ApiListTopicsRequest) Execute() (*ListTopicsResponse, error)
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 ¶
func (r ApiListTopicsRequest) Query(query string) ApiListTopicsRequest
Supply a query string to filter the results.
type ApiRevokeSubscriptionSubscriberAccessRequest ¶
type ApiRevokeSubscriptionSubscriberAccessRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRevokeSubscriptionSubscriberAccessRequest) Execute ¶
func (r ApiRevokeSubscriptionSubscriberAccessRequest) Execute() error
type ApiRevokeTopicPublisherAccessRequest ¶
type ApiRevokeTopicPublisherAccessRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiRevokeTopicPublisherAccessRequest) Execute ¶
func (r ApiRevokeTopicPublisherAccessRequest) Execute() error
type ApiUpdatePublisherAccessRequest ¶
type ApiUpdatePublisherAccessRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdatePublisherAccessRequest) Execute ¶
func (r ApiUpdatePublisherAccessRequest) Execute() error
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 (r ApiUpdateSubscriptionSubscriberAccessRequest) Execute() error
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 ¶
func (o *CreateSubscriptionPayload) GetSettings() SubscriptionSettings
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 ¶
func (o *CreateSubscriptionPayload) SetSettings(v SubscriptionSettings)
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 ¶
func (a *DefaultAPIService) ListSubscriptionsExecute(r ApiListSubscriptionsRequest) (*ListSubscriptionsResponse, error)
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 ¶
func (a *DefaultAPIService) ListTopicPublishersExecute(r ApiListTopicPublishersRequest) (*ListEmailAddressesResponse, error)
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 ¶
func (a DefaultAPIServiceMock) CreateSubscriptionExecute(r ApiCreateSubscriptionRequest) (*SubscriptionResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetSubscriptionExecute(r ApiGetSubscriptionRequest) (*SubscriptionResponse, error)
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 ¶
func (a DefaultAPIServiceMock) GetTopicExecute(r ApiGetTopicRequest) (*TopicResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListSubscriptionSubscribersExecute(r ApiListSubscriptionSubscribersRequest) (*ListEmailAddressesResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListSubscriptionsExecute(r ApiListSubscriptionsRequest) (*ListSubscriptionsResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListTopicPublishersExecute(r ApiListTopicPublishersRequest) (*ListEmailAddressesResponse, error)
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 ¶
func (a DefaultAPIServiceMock) ListTopicsExecute(r ApiListTopicsRequest) (*ListTopicsResponse, error)
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 (o GrantSubscriptionSubscriberAccessPayload) MarshalJSON() ([]byte, error)
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 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 NewNullableCreateSubscriptionPayload ¶
func NewNullableCreateSubscriptionPayload(val *CreateSubscriptionPayload) *NullableCreateSubscriptionPayload
func (NullableCreateSubscriptionPayload) Get ¶
func (v NullableCreateSubscriptionPayload) Get() *CreateSubscriptionPayload
func (NullableCreateSubscriptionPayload) IsSet ¶
func (v NullableCreateSubscriptionPayload) IsSet() bool
func (NullableCreateSubscriptionPayload) MarshalJSON ¶
func (v NullableCreateSubscriptionPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateSubscriptionPayload) Set ¶
func (v *NullableCreateSubscriptionPayload) Set(val *CreateSubscriptionPayload)
func (*NullableCreateSubscriptionPayload) UnmarshalJSON ¶
func (v *NullableCreateSubscriptionPayload) UnmarshalJSON(src []byte) error
func (*NullableCreateSubscriptionPayload) Unset ¶
func (v *NullableCreateSubscriptionPayload) Unset()
type NullableCreateTopicPayload ¶
type NullableCreateTopicPayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateTopicPayload ¶
func NewNullableCreateTopicPayload(val *CreateTopicPayload) *NullableCreateTopicPayload
func (NullableCreateTopicPayload) Get ¶
func (v NullableCreateTopicPayload) Get() *CreateTopicPayload
func (NullableCreateTopicPayload) IsSet ¶
func (v NullableCreateTopicPayload) IsSet() bool
func (NullableCreateTopicPayload) MarshalJSON ¶
func (v NullableCreateTopicPayload) MarshalJSON() ([]byte, error)
func (*NullableCreateTopicPayload) Set ¶
func (v *NullableCreateTopicPayload) Set(val *CreateTopicPayload)
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 NewNullableGrantSubscriptionSubscriberAccessPayload ¶
func NewNullableGrantSubscriptionSubscriberAccessPayload(val *GrantSubscriptionSubscriberAccessPayload) *NullableGrantSubscriptionSubscriberAccessPayload
func (NullableGrantSubscriptionSubscriberAccessPayload) IsSet ¶
func (v NullableGrantSubscriptionSubscriberAccessPayload) IsSet() bool
func (NullableGrantSubscriptionSubscriberAccessPayload) MarshalJSON ¶
func (v NullableGrantSubscriptionSubscriberAccessPayload) MarshalJSON() ([]byte, error)
func (*NullableGrantSubscriptionSubscriberAccessPayload) UnmarshalJSON ¶
func (v *NullableGrantSubscriptionSubscriberAccessPayload) UnmarshalJSON(src []byte) error
func (*NullableGrantSubscriptionSubscriberAccessPayload) Unset ¶
func (v *NullableGrantSubscriptionSubscriberAccessPayload) Unset()
type NullableGrantTopicPublisherAccessPayload ¶
type NullableGrantTopicPublisherAccessPayload struct {
// contains filtered or unexported fields
}
func NewNullableGrantTopicPublisherAccessPayload ¶
func NewNullableGrantTopicPublisherAccessPayload(val *GrantTopicPublisherAccessPayload) *NullableGrantTopicPublisherAccessPayload
func (NullableGrantTopicPublisherAccessPayload) IsSet ¶
func (v NullableGrantTopicPublisherAccessPayload) IsSet() bool
func (NullableGrantTopicPublisherAccessPayload) MarshalJSON ¶
func (v NullableGrantTopicPublisherAccessPayload) MarshalJSON() ([]byte, error)
func (*NullableGrantTopicPublisherAccessPayload) Set ¶
func (v *NullableGrantTopicPublisherAccessPayload) Set(val *GrantTopicPublisherAccessPayload)
func (*NullableGrantTopicPublisherAccessPayload) UnmarshalJSON ¶
func (v *NullableGrantTopicPublisherAccessPayload) UnmarshalJSON(src []byte) error
func (*NullableGrantTopicPublisherAccessPayload) Unset ¶
func (v *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 NewNullableListEmailAddressesResponse ¶
func NewNullableListEmailAddressesResponse(val *ListEmailAddressesResponse) *NullableListEmailAddressesResponse
func (NullableListEmailAddressesResponse) Get ¶
func (v NullableListEmailAddressesResponse) Get() *ListEmailAddressesResponse
func (NullableListEmailAddressesResponse) IsSet ¶
func (v NullableListEmailAddressesResponse) IsSet() bool
func (NullableListEmailAddressesResponse) MarshalJSON ¶
func (v NullableListEmailAddressesResponse) MarshalJSON() ([]byte, error)
func (*NullableListEmailAddressesResponse) Set ¶
func (v *NullableListEmailAddressesResponse) Set(val *ListEmailAddressesResponse)
func (*NullableListEmailAddressesResponse) UnmarshalJSON ¶
func (v *NullableListEmailAddressesResponse) UnmarshalJSON(src []byte) error
func (*NullableListEmailAddressesResponse) Unset ¶
func (v *NullableListEmailAddressesResponse) Unset()
type NullableListSubscriptionsResponse ¶
type NullableListSubscriptionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListSubscriptionsResponse ¶
func NewNullableListSubscriptionsResponse(val *ListSubscriptionsResponse) *NullableListSubscriptionsResponse
func (NullableListSubscriptionsResponse) Get ¶
func (v NullableListSubscriptionsResponse) Get() *ListSubscriptionsResponse
func (NullableListSubscriptionsResponse) IsSet ¶
func (v NullableListSubscriptionsResponse) IsSet() bool
func (NullableListSubscriptionsResponse) MarshalJSON ¶
func (v NullableListSubscriptionsResponse) MarshalJSON() ([]byte, error)
func (*NullableListSubscriptionsResponse) Set ¶
func (v *NullableListSubscriptionsResponse) Set(val *ListSubscriptionsResponse)
func (*NullableListSubscriptionsResponse) UnmarshalJSON ¶
func (v *NullableListSubscriptionsResponse) UnmarshalJSON(src []byte) error
func (*NullableListSubscriptionsResponse) Unset ¶
func (v *NullableListSubscriptionsResponse) Unset()
type NullableListTopicsResponse ¶
type NullableListTopicsResponse struct {
// contains filtered or unexported fields
}
func NewNullableListTopicsResponse ¶
func NewNullableListTopicsResponse(val *ListTopicsResponse) *NullableListTopicsResponse
func (NullableListTopicsResponse) Get ¶
func (v NullableListTopicsResponse) Get() *ListTopicsResponse
func (NullableListTopicsResponse) IsSet ¶
func (v NullableListTopicsResponse) IsSet() bool
func (NullableListTopicsResponse) MarshalJSON ¶
func (v NullableListTopicsResponse) MarshalJSON() ([]byte, error)
func (*NullableListTopicsResponse) Set ¶
func (v *NullableListTopicsResponse) Set(val *ListTopicsResponse)
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 (v NullableSubscriptionResponse) Get() *SubscriptionResponse
func (NullableSubscriptionResponse) IsSet ¶
func (v NullableSubscriptionResponse) IsSet() bool
func (NullableSubscriptionResponse) MarshalJSON ¶
func (v NullableSubscriptionResponse) MarshalJSON() ([]byte, error)
func (*NullableSubscriptionResponse) Set ¶
func (v *NullableSubscriptionResponse) Set(val *SubscriptionResponse)
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 NewNullableSubscriptionResponseState ¶
func NewNullableSubscriptionResponseState(val *SubscriptionResponseState) *NullableSubscriptionResponseState
func (NullableSubscriptionResponseState) Get ¶
func (v NullableSubscriptionResponseState) Get() *SubscriptionResponseState
func (NullableSubscriptionResponseState) IsSet ¶
func (v NullableSubscriptionResponseState) IsSet() bool
func (NullableSubscriptionResponseState) MarshalJSON ¶
func (v NullableSubscriptionResponseState) MarshalJSON() ([]byte, error)
func (*NullableSubscriptionResponseState) Set ¶
func (v *NullableSubscriptionResponseState) Set(val *SubscriptionResponseState)
func (*NullableSubscriptionResponseState) UnmarshalJSON ¶
func (v *NullableSubscriptionResponseState) UnmarshalJSON(src []byte) error
func (*NullableSubscriptionResponseState) Unset ¶
func (v *NullableSubscriptionResponseState) Unset()
type NullableSubscriptionSettings ¶
type NullableSubscriptionSettings struct {
// contains filtered or unexported fields
}
func NewNullableSubscriptionSettings ¶
func NewNullableSubscriptionSettings(val *SubscriptionSettings) *NullableSubscriptionSettings
func (NullableSubscriptionSettings) Get ¶
func (v NullableSubscriptionSettings) Get() *SubscriptionSettings
func (NullableSubscriptionSettings) IsSet ¶
func (v NullableSubscriptionSettings) IsSet() bool
func (NullableSubscriptionSettings) MarshalJSON ¶
func (v NullableSubscriptionSettings) MarshalJSON() ([]byte, error)
func (*NullableSubscriptionSettings) Set ¶
func (v *NullableSubscriptionSettings) Set(val *SubscriptionSettings)
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 (v NullableTopicResponse) Get() *TopicResponse
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 (v NullableTopicResponseState) Get() *TopicResponseState
func (NullableTopicResponseState) IsSet ¶
func (v NullableTopicResponseState) IsSet() bool
func (NullableTopicResponseState) MarshalJSON ¶
func (v NullableTopicResponseState) MarshalJSON() ([]byte, error)
func (*NullableTopicResponseState) Set ¶
func (v *NullableTopicResponseState) Set(val *TopicResponseState)
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 (v NullableTopicSettings) Get() *TopicSettings
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 NewNullableUpdatePublisherAccessPayload ¶
func NewNullableUpdatePublisherAccessPayload(val *UpdatePublisherAccessPayload) *NullableUpdatePublisherAccessPayload
func (NullableUpdatePublisherAccessPayload) Get ¶
func (v NullableUpdatePublisherAccessPayload) Get() *UpdatePublisherAccessPayload
func (NullableUpdatePublisherAccessPayload) IsSet ¶
func (v NullableUpdatePublisherAccessPayload) IsSet() bool
func (NullableUpdatePublisherAccessPayload) MarshalJSON ¶
func (v NullableUpdatePublisherAccessPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdatePublisherAccessPayload) Set ¶
func (v *NullableUpdatePublisherAccessPayload) Set(val *UpdatePublisherAccessPayload)
func (*NullableUpdatePublisherAccessPayload) UnmarshalJSON ¶
func (v *NullableUpdatePublisherAccessPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdatePublisherAccessPayload) Unset ¶
func (v *NullableUpdatePublisherAccessPayload) Unset()
type NullableUpdateSubscriptionPayload ¶
type NullableUpdateSubscriptionPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSubscriptionPayload ¶
func NewNullableUpdateSubscriptionPayload(val *UpdateSubscriptionPayload) *NullableUpdateSubscriptionPayload
func (NullableUpdateSubscriptionPayload) Get ¶
func (v NullableUpdateSubscriptionPayload) Get() *UpdateSubscriptionPayload
func (NullableUpdateSubscriptionPayload) IsSet ¶
func (v NullableUpdateSubscriptionPayload) IsSet() bool
func (NullableUpdateSubscriptionPayload) MarshalJSON ¶
func (v NullableUpdateSubscriptionPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateSubscriptionPayload) Set ¶
func (v *NullableUpdateSubscriptionPayload) Set(val *UpdateSubscriptionPayload)
func (*NullableUpdateSubscriptionPayload) UnmarshalJSON ¶
func (v *NullableUpdateSubscriptionPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateSubscriptionPayload) Unset ¶
func (v *NullableUpdateSubscriptionPayload) Unset()
type NullableUpdateSubscriptionSubscriberAccessPayload ¶
type NullableUpdateSubscriptionSubscriberAccessPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSubscriptionSubscriberAccessPayload ¶
func NewNullableUpdateSubscriptionSubscriberAccessPayload(val *UpdateSubscriptionSubscriberAccessPayload) *NullableUpdateSubscriptionSubscriberAccessPayload
func (NullableUpdateSubscriptionSubscriberAccessPayload) IsSet ¶
func (v NullableUpdateSubscriptionSubscriberAccessPayload) IsSet() bool
func (NullableUpdateSubscriptionSubscriberAccessPayload) MarshalJSON ¶
func (v NullableUpdateSubscriptionSubscriberAccessPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateSubscriptionSubscriberAccessPayload) UnmarshalJSON ¶
func (v *NullableUpdateSubscriptionSubscriberAccessPayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateSubscriptionSubscriberAccessPayload) Unset ¶
func (v *NullableUpdateSubscriptionSubscriberAccessPayload) Unset()
type NullableUpdateTopicPayload ¶
type NullableUpdateTopicPayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateTopicPayload ¶
func NewNullableUpdateTopicPayload(val *UpdateTopicPayload) *NullableUpdateTopicPayload
func (NullableUpdateTopicPayload) Get ¶
func (v NullableUpdateTopicPayload) Get() *UpdateTopicPayload
func (NullableUpdateTopicPayload) IsSet ¶
func (v NullableUpdateTopicPayload) IsSet() bool
func (NullableUpdateTopicPayload) MarshalJSON ¶
func (v NullableUpdateTopicPayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateTopicPayload) Set ¶
func (v *NullableUpdateTopicPayload) Set(val *UpdateTopicPayload)
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 ¶
func (o *SubscriptionResponse) GetState() SubscriptionResponseState
GetState returns the State field value
func (*SubscriptionResponse) GetStateOk ¶
func (o *SubscriptionResponse) GetStateOk() (*SubscriptionResponseState, bool)
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 ¶
func (o *SubscriptionResponse) SetState(v SubscriptionResponseState)
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 ¶
func (v SubscriptionResponseState) Ptr() *SubscriptionResponseState
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) 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 ¶
func (v TopicResponseState) Ptr() *TopicResponseState
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 ¶
func (o *UpdateSubscriptionPayload) GetSettings() SubscriptionSettings
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 ¶
func (o *UpdateSubscriptionPayload) SetSettings(v SubscriptionSettings)
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 (o UpdateSubscriptionSubscriberAccessPayload) MarshalJSON() ([]byte, error)
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)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_create_subscription_payload.go
- model_create_topic_payload.go
- model_grant_subscription_subscriber_access_payload.go
- model_grant_topic_publisher_access_payload.go
- model_list_email_addresses_response.go
- model_list_subscriptions_response.go
- model_list_topics_response.go
- model_subscription_response.go
- model_subscription_response_state.go
- model_subscription_settings.go
- model_topic_response.go
- model_topic_response_state.go
- model_topic_settings.go
- model_update_publisher_access_payload.go
- model_update_subscription_payload.go
- model_update_subscription_subscriber_access_payload.go
- model_update_topic_payload.go
- response.go
- utils.go