Documentation
¶
Overview ¶
Package eventnotificationsv1 : Operations and models for the EventNotificationsV1 service
Index ¶
- Constants
- func GetServiceURLForRegion(region string) (string, error)
- func UnmarshalBulkNotificationResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestination(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfigParams(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfigParamsChromeDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfigParamsFcmDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfigParamsFirefoxDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfigParamsIosDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfigParamsMsTeamsDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfigParamsSafariDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfigParamsSlackDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationConfigParamsWebhookDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationListItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDestinationTagsSubscriptionResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDeviceCount(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEmailAttributesResponseInvitedItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEmailAttributesResponseToItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEmailAttributesResponseUnsubscribedItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEmailUpdateAttributesTo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEmailUpdateAttributesUnsubscribed(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalNotificationCreate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalNotificationResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRules(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRulesGet(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSource(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSourceList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSourceListItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSourceResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSourcesListItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscription(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionAttributesEmailAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionAttributesSlackAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionAttributesSmsAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionAttributesWebhookAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionCreateAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionCreateAttributesEmailAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionCreateAttributesFcmAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionCreateAttributesSlackAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionCreateAttributesSmsAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionCreateAttributesWebhookAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionListItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionUpdateAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionUpdateAttributesEmailUpdateAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionUpdateAttributesSlackAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionUpdateAttributesSmsAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSubscriptionUpdateAttributesWebhookAttributes(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTagsSubscriptionList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTagsSubscriptionListItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTopic(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTopicList(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTopicResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTopicUpdateSourcesItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTopicsListItem(m map[string]json.RawMessage, result interface{}) (err error)
- type BulkNotificationResponse
- type CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetCertificate(certificate io.ReadCloser) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetCertificateContentType(certificateContentType string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetConfig(config *DestinationConfig) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetDescription(description string) *CreateDestinationOptions
- func (options *CreateDestinationOptions) SetHeaders(param map[string]string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon128x128(icon128x128 io.ReadCloser) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon128x1282x(icon128x1282x io.ReadCloser) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon128x1282xContentType(icon128x1282xContentType string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon128x128ContentType(icon128x128ContentType string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon16x16(icon16x16 io.ReadCloser) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon16x162x(icon16x162x io.ReadCloser) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon16x162xContentType(icon16x162xContentType string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon16x16ContentType(icon16x16ContentType string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon32x32(icon32x32 io.ReadCloser) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon32x322x(icon32x322x io.ReadCloser) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon32x322xContentType(icon32x322xContentType string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetIcon32x32ContentType(icon32x32ContentType string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetInstanceID(instanceID string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetName(name string) *CreateDestinationOptions
- func (_options *CreateDestinationOptions) SetType(typeVar string) *CreateDestinationOptions
- type CreateSourcesOptions
- func (_options *CreateSourcesOptions) SetDescription(description string) *CreateSourcesOptions
- func (_options *CreateSourcesOptions) SetEnabled(enabled bool) *CreateSourcesOptions
- func (options *CreateSourcesOptions) SetHeaders(param map[string]string) *CreateSourcesOptions
- func (_options *CreateSourcesOptions) SetInstanceID(instanceID string) *CreateSourcesOptions
- func (_options *CreateSourcesOptions) SetName(name string) *CreateSourcesOptions
- type CreateSubscriptionOptions
- func (_options *CreateSubscriptionOptions) SetAttributes(attributes SubscriptionCreateAttributesIntf) *CreateSubscriptionOptions
- func (_options *CreateSubscriptionOptions) SetDescription(description string) *CreateSubscriptionOptions
- func (_options *CreateSubscriptionOptions) SetDestinationID(destinationID string) *CreateSubscriptionOptions
- func (options *CreateSubscriptionOptions) SetHeaders(param map[string]string) *CreateSubscriptionOptions
- func (_options *CreateSubscriptionOptions) SetInstanceID(instanceID string) *CreateSubscriptionOptions
- func (_options *CreateSubscriptionOptions) SetName(name string) *CreateSubscriptionOptions
- func (_options *CreateSubscriptionOptions) SetTopicID(topicID string) *CreateSubscriptionOptions
- type CreateTagsSubscriptionOptions
- func (_options *CreateTagsSubscriptionOptions) SetDeviceID(deviceID string) *CreateTagsSubscriptionOptions
- func (options *CreateTagsSubscriptionOptions) SetHeaders(param map[string]string) *CreateTagsSubscriptionOptions
- func (_options *CreateTagsSubscriptionOptions) SetID(id string) *CreateTagsSubscriptionOptions
- func (_options *CreateTagsSubscriptionOptions) SetInstanceID(instanceID string) *CreateTagsSubscriptionOptions
- func (_options *CreateTagsSubscriptionOptions) SetTagName(tagName string) *CreateTagsSubscriptionOptions
- type CreateTopicOptions
- func (_options *CreateTopicOptions) SetDescription(description string) *CreateTopicOptions
- func (options *CreateTopicOptions) SetHeaders(param map[string]string) *CreateTopicOptions
- func (_options *CreateTopicOptions) SetInstanceID(instanceID string) *CreateTopicOptions
- func (_options *CreateTopicOptions) SetName(name string) *CreateTopicOptions
- func (_options *CreateTopicOptions) SetSources(sources []TopicUpdateSourcesItem) *CreateTopicOptions
- type DeleteDestinationOptions
- type DeleteSourceOptions
- type DeleteSubscriptionOptions
- type DeleteTagsSubscriptionOptions
- func (_options *DeleteTagsSubscriptionOptions) SetDeviceID(deviceID string) *DeleteTagsSubscriptionOptions
- func (options *DeleteTagsSubscriptionOptions) SetHeaders(param map[string]string) *DeleteTagsSubscriptionOptions
- func (_options *DeleteTagsSubscriptionOptions) SetID(id string) *DeleteTagsSubscriptionOptions
- func (_options *DeleteTagsSubscriptionOptions) SetInstanceID(instanceID string) *DeleteTagsSubscriptionOptions
- func (_options *DeleteTagsSubscriptionOptions) SetTagName(tagName string) *DeleteTagsSubscriptionOptions
- type DeleteTopicOptions
- type Destination
- type DestinationConfig
- type DestinationConfigParams
- type DestinationConfigParamsChromeDestinationConfig
- type DestinationConfigParamsFcmDestinationConfig
- type DestinationConfigParamsFirefoxDestinationConfig
- type DestinationConfigParamsIntf
- type DestinationConfigParamsIosDestinationConfig
- type DestinationConfigParamsMsTeamsDestinationConfig
- type DestinationConfigParamsSafariDestinationConfig
- type DestinationConfigParamsSlackDestinationConfig
- type DestinationConfigParamsWebhookDestinationConfig
- type DestinationList
- type DestinationListItem
- type DestinationResponse
- type DestinationTagsSubscriptionResponse
- type DeviceCount
- type EmailAttributesResponseInvitedItem
- type EmailAttributesResponseToItem
- type EmailAttributesResponseUnsubscribedItem
- type EmailUpdateAttributesTo
- type EmailUpdateAttributesUnsubscribed
- type EventNotificationsV1
- func (eventNotifications *EventNotificationsV1) Clone() *EventNotificationsV1
- func (eventNotifications *EventNotificationsV1) CreateDestination(createDestinationOptions *CreateDestinationOptions) (result *DestinationResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) CreateDestinationWithContext(ctx context.Context, createDestinationOptions *CreateDestinationOptions) (result *DestinationResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) CreateSources(createSourcesOptions *CreateSourcesOptions) (result *SourceResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) CreateSourcesWithContext(ctx context.Context, createSourcesOptions *CreateSourcesOptions) (result *SourceResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) CreateSubscription(createSubscriptionOptions *CreateSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) CreateSubscriptionWithContext(ctx context.Context, createSubscriptionOptions *CreateSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) CreateTagsSubscription(createTagsSubscriptionOptions *CreateTagsSubscriptionOptions) (result *DestinationTagsSubscriptionResponse, response *core.DetailedResponse, ...)
- func (eventNotifications *EventNotificationsV1) CreateTagsSubscriptionWithContext(ctx context.Context, ...) (result *DestinationTagsSubscriptionResponse, response *core.DetailedResponse, ...)
- func (eventNotifications *EventNotificationsV1) CreateTopic(createTopicOptions *CreateTopicOptions) (result *TopicResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) CreateTopicWithContext(ctx context.Context, createTopicOptions *CreateTopicOptions) (result *TopicResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteDestination(deleteDestinationOptions *DeleteDestinationOptions) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteDestinationWithContext(ctx context.Context, deleteDestinationOptions *DeleteDestinationOptions) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteSource(deleteSourceOptions *DeleteSourceOptions) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteSourceWithContext(ctx context.Context, deleteSourceOptions *DeleteSourceOptions) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteSubscription(deleteSubscriptionOptions *DeleteSubscriptionOptions) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteSubscriptionWithContext(ctx context.Context, deleteSubscriptionOptions *DeleteSubscriptionOptions) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteTagsSubscription(deleteTagsSubscriptionOptions *DeleteTagsSubscriptionOptions) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteTagsSubscriptionWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteTopic(deleteTopicOptions *DeleteTopicOptions) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DeleteTopicWithContext(ctx context.Context, deleteTopicOptions *DeleteTopicOptions) (response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) DisableRetries()
- func (eventNotifications *EventNotificationsV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
- func (eventNotifications *EventNotificationsV1) GetDestination(getDestinationOptions *GetDestinationOptions) (result *Destination, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetDestinationWithContext(ctx context.Context, getDestinationOptions *GetDestinationOptions) (result *Destination, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetDeviceCount(getDeviceCountOptions *GetDeviceCountOptions) (result *DeviceCount, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetDeviceCountWithContext(ctx context.Context, getDeviceCountOptions *GetDeviceCountOptions) (result *DeviceCount, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetEnableGzipCompression() bool
- func (eventNotifications *EventNotificationsV1) GetServiceURL() string
- func (eventNotifications *EventNotificationsV1) GetSource(getSourceOptions *GetSourceOptions) (result *Source, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetSourceWithContext(ctx context.Context, getSourceOptions *GetSourceOptions) (result *Source, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetSubscription(getSubscriptionOptions *GetSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetSubscriptionWithContext(ctx context.Context, getSubscriptionOptions *GetSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetTagsSubscriptionsDevice(getTagsSubscriptionsDeviceOptions *GetTagsSubscriptionsDeviceOptions) (result *TagsSubscriptionList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetTagsSubscriptionsDeviceWithContext(ctx context.Context, ...) (result *TagsSubscriptionList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetTopic(getTopicOptions *GetTopicOptions) (result *Topic, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) GetTopicWithContext(ctx context.Context, getTopicOptions *GetTopicOptions) (result *Topic, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListDestinations(listDestinationsOptions *ListDestinationsOptions) (result *DestinationList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListDestinationsWithContext(ctx context.Context, listDestinationsOptions *ListDestinationsOptions) (result *DestinationList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListSources(listSourcesOptions *ListSourcesOptions) (result *SourceList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListSourcesWithContext(ctx context.Context, listSourcesOptions *ListSourcesOptions) (result *SourceList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListSubscriptions(listSubscriptionsOptions *ListSubscriptionsOptions) (result *SubscriptionList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListSubscriptionsWithContext(ctx context.Context, listSubscriptionsOptions *ListSubscriptionsOptions) (result *SubscriptionList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListTagsSubscription(listTagsSubscriptionOptions *ListTagsSubscriptionOptions) (result *TagsSubscriptionList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListTagsSubscriptionWithContext(ctx context.Context, listTagsSubscriptionOptions *ListTagsSubscriptionOptions) (result *TagsSubscriptionList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListTopics(listTopicsOptions *ListTopicsOptions) (result *TopicList, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ListTopicsWithContext(ctx context.Context, listTopicsOptions *ListTopicsOptions) (result *TopicList, response *core.DetailedResponse, err error)
- func (*EventNotificationsV1) NewCreateDestinationOptions(instanceID string, name string, typeVar string) *CreateDestinationOptions
- func (*EventNotificationsV1) NewCreateSourcesOptions(instanceID string, name string, description string) *CreateSourcesOptions
- func (*EventNotificationsV1) NewCreateSubscriptionOptions(instanceID string, name string, destinationID string, topicID string) *CreateSubscriptionOptions
- func (*EventNotificationsV1) NewCreateTagsSubscriptionOptions(instanceID string, id string, deviceID string, tagName string) *CreateTagsSubscriptionOptions
- func (*EventNotificationsV1) NewCreateTopicOptions(instanceID string, name string) *CreateTopicOptions
- func (*EventNotificationsV1) NewDeleteDestinationOptions(instanceID string, id string) *DeleteDestinationOptions
- func (*EventNotificationsV1) NewDeleteSourceOptions(instanceID string, id string) *DeleteSourceOptions
- func (*EventNotificationsV1) NewDeleteSubscriptionOptions(instanceID string, id string) *DeleteSubscriptionOptions
- func (*EventNotificationsV1) NewDeleteTagsSubscriptionOptions(instanceID string, id string) *DeleteTagsSubscriptionOptions
- func (*EventNotificationsV1) NewDeleteTopicOptions(instanceID string, id string) *DeleteTopicOptions
- func (*EventNotificationsV1) NewDestinationConfig(params DestinationConfigParamsIntf) (_model *DestinationConfig, err error)
- func (*EventNotificationsV1) NewDestinationConfigParamsChromeDestinationConfig(apiKey string, websiteURL string) (_model *DestinationConfigParamsChromeDestinationConfig, err error)
- func (*EventNotificationsV1) NewDestinationConfigParamsFcmDestinationConfig(serverKey string, senderID string) (_model *DestinationConfigParamsFcmDestinationConfig, err error)
- func (*EventNotificationsV1) NewDestinationConfigParamsFirefoxDestinationConfig(websiteURL string) (_model *DestinationConfigParamsFirefoxDestinationConfig, err error)
- func (*EventNotificationsV1) NewDestinationConfigParamsIosDestinationConfig(certType string, isSandbox bool) (_model *DestinationConfigParamsIosDestinationConfig, err error)
- func (*EventNotificationsV1) NewDestinationConfigParamsMsTeamsDestinationConfig(url string) (_model *DestinationConfigParamsMsTeamsDestinationConfig, err error)
- func (*EventNotificationsV1) NewDestinationConfigParamsSafariDestinationConfig(certType string, password string, websiteURL string, websiteName string, ...) (_model *DestinationConfigParamsSafariDestinationConfig, err error)
- func (*EventNotificationsV1) NewDestinationConfigParamsSlackDestinationConfig(url string) (_model *DestinationConfigParamsSlackDestinationConfig, err error)
- func (*EventNotificationsV1) NewDestinationConfigParamsWebhookDestinationConfig(url string, verb string) (_model *DestinationConfigParamsWebhookDestinationConfig, err error)
- func (*EventNotificationsV1) NewGetDestinationOptions(instanceID string, id string) *GetDestinationOptions
- func (*EventNotificationsV1) NewGetDeviceCountOptions(instanceID string, id string) *GetDeviceCountOptions
- func (*EventNotificationsV1) NewGetSourceOptions(instanceID string, id string) *GetSourceOptions
- func (*EventNotificationsV1) NewGetSubscriptionOptions(instanceID string, id string) *GetSubscriptionOptions
- func (*EventNotificationsV1) NewGetTagsSubscriptionsDeviceOptions(instanceID string, id string, deviceID string) *GetTagsSubscriptionsDeviceOptions
- func (*EventNotificationsV1) NewGetTopicOptions(instanceID string, id string) *GetTopicOptions
- func (*EventNotificationsV1) NewListDestinationsOptions(instanceID string) *ListDestinationsOptions
- func (*EventNotificationsV1) NewListSourcesOptions(instanceID string) *ListSourcesOptions
- func (*EventNotificationsV1) NewListSubscriptionsOptions(instanceID string) *ListSubscriptionsOptions
- func (*EventNotificationsV1) NewListTagsSubscriptionOptions(instanceID string, id string) *ListTagsSubscriptionOptions
- func (*EventNotificationsV1) NewListTopicsOptions(instanceID string) *ListTopicsOptions
- func (*EventNotificationsV1) NewNotificationCreate(specversion string, ibmensourceid string, ibmendefaultshort string, ...) (_model *NotificationCreate, err error)
- func (*EventNotificationsV1) NewReplaceTopicOptions(instanceID string, id string) *ReplaceTopicOptions
- func (*EventNotificationsV1) NewRules(eventTypeFilter string) (_model *Rules, err error)
- func (*EventNotificationsV1) NewSendBulkNotificationsOptions(instanceID string) *SendBulkNotificationsOptions
- func (*EventNotificationsV1) NewSendNotificationsOptions(instanceID string) *SendNotificationsOptions
- func (*EventNotificationsV1) NewSubscriptionCreateAttributesEmailAttributes(to []string, addNotificationPayload bool, replyToMail string, ...) (_model *SubscriptionCreateAttributesEmailAttributes, err error)
- func (*EventNotificationsV1) NewSubscriptionCreateAttributesSlackAttributes(attachmentColor string) (_model *SubscriptionCreateAttributesSlackAttributes, err error)
- func (*EventNotificationsV1) NewSubscriptionCreateAttributesSmsAttributes(to []string) (_model *SubscriptionCreateAttributesSmsAttributes, err error)
- func (*EventNotificationsV1) NewSubscriptionCreateAttributesWebhookAttributes(signingEnabled bool) (_model *SubscriptionCreateAttributesWebhookAttributes, err error)
- func (*EventNotificationsV1) NewSubscriptionUpdateAttributesEmailUpdateAttributes(to *EmailUpdateAttributesTo, addNotificationPayload bool, replyToMail string, ...) (_model *SubscriptionUpdateAttributesEmailUpdateAttributes, err error)
- func (*EventNotificationsV1) NewSubscriptionUpdateAttributesSlackAttributes(attachmentColor string) (_model *SubscriptionUpdateAttributesSlackAttributes, err error)
- func (*EventNotificationsV1) NewSubscriptionUpdateAttributesSmsAttributes(to []string) (_model *SubscriptionUpdateAttributesSmsAttributes, err error)
- func (*EventNotificationsV1) NewSubscriptionUpdateAttributesWebhookAttributes(signingEnabled bool) (_model *SubscriptionUpdateAttributesWebhookAttributes, err error)
- func (*EventNotificationsV1) NewTopicUpdateSourcesItem(id string, rules []Rules) (_model *TopicUpdateSourcesItem, err error)
- func (*EventNotificationsV1) NewUpdateDestinationOptions(instanceID string, id string) *UpdateDestinationOptions
- func (*EventNotificationsV1) NewUpdateSourceOptions(instanceID string, id string) *UpdateSourceOptions
- func (*EventNotificationsV1) NewUpdateSubscriptionOptions(instanceID string, id string) *UpdateSubscriptionOptions
- func (eventNotifications *EventNotificationsV1) ReplaceTopic(replaceTopicOptions *ReplaceTopicOptions) (result *Topic, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) ReplaceTopicWithContext(ctx context.Context, replaceTopicOptions *ReplaceTopicOptions) (result *Topic, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) SendBulkNotifications(sendBulkNotificationsOptions *SendBulkNotificationsOptions) (result *BulkNotificationResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) SendBulkNotificationsWithContext(ctx context.Context, ...) (result *BulkNotificationResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) SendNotifications(sendNotificationsOptions *SendNotificationsOptions) (result *NotificationResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) SendNotificationsWithContext(ctx context.Context, sendNotificationsOptions *SendNotificationsOptions) (result *NotificationResponse, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) SetDefaultHeaders(headers http.Header)
- func (eventNotifications *EventNotificationsV1) SetEnableGzipCompression(enableGzip bool)
- func (eventNotifications *EventNotificationsV1) SetServiceURL(url string) error
- func (eventNotifications *EventNotificationsV1) UpdateDestination(updateDestinationOptions *UpdateDestinationOptions) (result *Destination, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) UpdateDestinationWithContext(ctx context.Context, updateDestinationOptions *UpdateDestinationOptions) (result *Destination, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) UpdateSource(updateSourceOptions *UpdateSourceOptions) (result *Source, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) UpdateSourceWithContext(ctx context.Context, updateSourceOptions *UpdateSourceOptions) (result *Source, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) UpdateSubscription(updateSubscriptionOptions *UpdateSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
- func (eventNotifications *EventNotificationsV1) UpdateSubscriptionWithContext(ctx context.Context, updateSubscriptionOptions *UpdateSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
- type EventNotificationsV1Options
- type GetDestinationOptions
- type GetDeviceCountOptions
- type GetSourceOptions
- type GetSubscriptionOptions
- type GetTagsSubscriptionsDeviceOptions
- func (_options *GetTagsSubscriptionsDeviceOptions) SetDeviceID(deviceID string) *GetTagsSubscriptionsDeviceOptions
- func (options *GetTagsSubscriptionsDeviceOptions) SetHeaders(param map[string]string) *GetTagsSubscriptionsDeviceOptions
- func (_options *GetTagsSubscriptionsDeviceOptions) SetID(id string) *GetTagsSubscriptionsDeviceOptions
- func (_options *GetTagsSubscriptionsDeviceOptions) SetInstanceID(instanceID string) *GetTagsSubscriptionsDeviceOptions
- func (_options *GetTagsSubscriptionsDeviceOptions) SetLimit(limit int64) *GetTagsSubscriptionsDeviceOptions
- func (_options *GetTagsSubscriptionsDeviceOptions) SetOffset(offset int64) *GetTagsSubscriptionsDeviceOptions
- func (_options *GetTagsSubscriptionsDeviceOptions) SetTagName(tagName string) *GetTagsSubscriptionsDeviceOptions
- type GetTopicOptions
- func (options *GetTopicOptions) SetHeaders(param map[string]string) *GetTopicOptions
- func (_options *GetTopicOptions) SetID(id string) *GetTopicOptions
- func (_options *GetTopicOptions) SetInclude(include string) *GetTopicOptions
- func (_options *GetTopicOptions) SetInstanceID(instanceID string) *GetTopicOptions
- type ListDestinationsOptions
- func (options *ListDestinationsOptions) SetHeaders(param map[string]string) *ListDestinationsOptions
- func (_options *ListDestinationsOptions) SetInstanceID(instanceID string) *ListDestinationsOptions
- func (_options *ListDestinationsOptions) SetLimit(limit int64) *ListDestinationsOptions
- func (_options *ListDestinationsOptions) SetOffset(offset int64) *ListDestinationsOptions
- func (_options *ListDestinationsOptions) SetSearch(search string) *ListDestinationsOptions
- type ListSourcesOptions
- func (options *ListSourcesOptions) SetHeaders(param map[string]string) *ListSourcesOptions
- func (_options *ListSourcesOptions) SetInstanceID(instanceID string) *ListSourcesOptions
- func (_options *ListSourcesOptions) SetLimit(limit int64) *ListSourcesOptions
- func (_options *ListSourcesOptions) SetOffset(offset int64) *ListSourcesOptions
- func (_options *ListSourcesOptions) SetSearch(search string) *ListSourcesOptions
- type ListSubscriptionsOptions
- func (options *ListSubscriptionsOptions) SetHeaders(param map[string]string) *ListSubscriptionsOptions
- func (_options *ListSubscriptionsOptions) SetInstanceID(instanceID string) *ListSubscriptionsOptions
- func (_options *ListSubscriptionsOptions) SetLimit(limit int64) *ListSubscriptionsOptions
- func (_options *ListSubscriptionsOptions) SetOffset(offset int64) *ListSubscriptionsOptions
- func (_options *ListSubscriptionsOptions) SetSearch(search string) *ListSubscriptionsOptions
- type ListTagsSubscriptionOptions
- func (_options *ListTagsSubscriptionOptions) SetDeviceID(deviceID string) *ListTagsSubscriptionOptions
- func (options *ListTagsSubscriptionOptions) SetHeaders(param map[string]string) *ListTagsSubscriptionOptions
- func (_options *ListTagsSubscriptionOptions) SetID(id string) *ListTagsSubscriptionOptions
- func (_options *ListTagsSubscriptionOptions) SetInstanceID(instanceID string) *ListTagsSubscriptionOptions
- func (_options *ListTagsSubscriptionOptions) SetLimit(limit int64) *ListTagsSubscriptionOptions
- func (_options *ListTagsSubscriptionOptions) SetOffset(offset int64) *ListTagsSubscriptionOptions
- func (_options *ListTagsSubscriptionOptions) SetSearch(search string) *ListTagsSubscriptionOptions
- func (_options *ListTagsSubscriptionOptions) SetTagName(tagName string) *ListTagsSubscriptionOptions
- func (_options *ListTagsSubscriptionOptions) SetUserID(userID string) *ListTagsSubscriptionOptions
- type ListTopicsOptions
- func (options *ListTopicsOptions) SetHeaders(param map[string]string) *ListTopicsOptions
- func (_options *ListTopicsOptions) SetInstanceID(instanceID string) *ListTopicsOptions
- func (_options *ListTopicsOptions) SetLimit(limit int64) *ListTopicsOptions
- func (_options *ListTopicsOptions) SetOffset(offset int64) *ListTopicsOptions
- func (_options *ListTopicsOptions) SetSearch(search string) *ListTopicsOptions
- type NotificationCreate
- func (o *NotificationCreate) GetProperties() map[string]interface{}
- func (o *NotificationCreate) GetProperty(key string) interface{}
- func (o *NotificationCreate) MarshalJSON() (buffer []byte, err error)
- func (o *NotificationCreate) SetProperties(m map[string]interface{})
- func (o *NotificationCreate) SetProperty(key string, value interface{})
- type NotificationResponse
- type ReplaceTopicOptions
- func (_options *ReplaceTopicOptions) SetDescription(description string) *ReplaceTopicOptions
- func (options *ReplaceTopicOptions) SetHeaders(param map[string]string) *ReplaceTopicOptions
- func (_options *ReplaceTopicOptions) SetID(id string) *ReplaceTopicOptions
- func (_options *ReplaceTopicOptions) SetInstanceID(instanceID string) *ReplaceTopicOptions
- func (_options *ReplaceTopicOptions) SetName(name string) *ReplaceTopicOptions
- func (_options *ReplaceTopicOptions) SetSources(sources []TopicUpdateSourcesItem) *ReplaceTopicOptions
- type Rules
- type RulesGet
- type SendBulkNotificationsOptions
- func (_options *SendBulkNotificationsOptions) SetBulkMessages(bulkMessages []NotificationCreate) *SendBulkNotificationsOptions
- func (options *SendBulkNotificationsOptions) SetHeaders(param map[string]string) *SendBulkNotificationsOptions
- func (_options *SendBulkNotificationsOptions) SetInstanceID(instanceID string) *SendBulkNotificationsOptions
- type SendNotificationsOptions
- func (_options *SendNotificationsOptions) SetBody(body *NotificationCreate) *SendNotificationsOptions
- func (options *SendNotificationsOptions) SetHeaders(param map[string]string) *SendNotificationsOptions
- func (_options *SendNotificationsOptions) SetInstanceID(instanceID string) *SendNotificationsOptions
- type Source
- type SourceList
- type SourceListItem
- type SourceResponse
- type SourcesListItem
- type Subscription
- func (o *Subscription) GetProperties() map[string]interface{}
- func (o *Subscription) GetProperty(key string) interface{}
- func (o *Subscription) MarshalJSON() (buffer []byte, err error)
- func (o *Subscription) SetProperties(m map[string]interface{})
- func (o *Subscription) SetProperty(key string, value interface{})
- type SubscriptionAttributes
- func (o *SubscriptionAttributes) GetProperties() map[string]interface{}
- func (o *SubscriptionAttributes) GetProperty(key string) interface{}
- func (o *SubscriptionAttributes) MarshalJSON() (buffer []byte, err error)
- func (o *SubscriptionAttributes) SetProperties(m map[string]interface{})
- func (o *SubscriptionAttributes) SetProperty(key string, value interface{})
- type SubscriptionAttributesEmailAttributesResponse
- func (o *SubscriptionAttributesEmailAttributesResponse) GetProperties() map[string]interface{}
- func (o *SubscriptionAttributesEmailAttributesResponse) GetProperty(key string) interface{}
- func (o *SubscriptionAttributesEmailAttributesResponse) MarshalJSON() (buffer []byte, err error)
- func (o *SubscriptionAttributesEmailAttributesResponse) SetProperties(m map[string]interface{})
- func (o *SubscriptionAttributesEmailAttributesResponse) SetProperty(key string, value interface{})
- type SubscriptionAttributesIntf
- type SubscriptionAttributesSlackAttributesResponse
- func (o *SubscriptionAttributesSlackAttributesResponse) GetProperties() map[string]interface{}
- func (o *SubscriptionAttributesSlackAttributesResponse) GetProperty(key string) interface{}
- func (o *SubscriptionAttributesSlackAttributesResponse) MarshalJSON() (buffer []byte, err error)
- func (o *SubscriptionAttributesSlackAttributesResponse) SetProperties(m map[string]interface{})
- func (o *SubscriptionAttributesSlackAttributesResponse) SetProperty(key string, value interface{})
- type SubscriptionAttributesSmsAttributesResponse
- func (o *SubscriptionAttributesSmsAttributesResponse) GetProperties() map[string]interface{}
- func (o *SubscriptionAttributesSmsAttributesResponse) GetProperty(key string) interface{}
- func (o *SubscriptionAttributesSmsAttributesResponse) MarshalJSON() (buffer []byte, err error)
- func (o *SubscriptionAttributesSmsAttributesResponse) SetProperties(m map[string]interface{})
- func (o *SubscriptionAttributesSmsAttributesResponse) SetProperty(key string, value interface{})
- type SubscriptionAttributesWebhookAttributesResponse
- func (o *SubscriptionAttributesWebhookAttributesResponse) GetProperties() map[string]interface{}
- func (o *SubscriptionAttributesWebhookAttributesResponse) GetProperty(key string) interface{}
- func (o *SubscriptionAttributesWebhookAttributesResponse) MarshalJSON() (buffer []byte, err error)
- func (o *SubscriptionAttributesWebhookAttributesResponse) SetProperties(m map[string]interface{})
- func (o *SubscriptionAttributesWebhookAttributesResponse) SetProperty(key string, value interface{})
- type SubscriptionCreateAttributes
- type SubscriptionCreateAttributesEmailAttributes
- type SubscriptionCreateAttributesFcmAttributes
- type SubscriptionCreateAttributesIntf
- type SubscriptionCreateAttributesSlackAttributes
- type SubscriptionCreateAttributesSmsAttributes
- type SubscriptionCreateAttributesWebhookAttributes
- type SubscriptionList
- type SubscriptionListItem
- type SubscriptionUpdateAttributes
- type SubscriptionUpdateAttributesEmailUpdateAttributes
- type SubscriptionUpdateAttributesIntf
- type SubscriptionUpdateAttributesSlackAttributes
- type SubscriptionUpdateAttributesSmsAttributes
- type SubscriptionUpdateAttributesWebhookAttributes
- type TagsSubscriptionList
- type TagsSubscriptionListItem
- type Topic
- type TopicList
- type TopicResponse
- type TopicUpdateSourcesItem
- type TopicsListItem
- type UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetCertificate(certificate io.ReadCloser) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetCertificateContentType(certificateContentType string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetConfig(config *DestinationConfig) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetDescription(description string) *UpdateDestinationOptions
- func (options *UpdateDestinationOptions) SetHeaders(param map[string]string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetID(id string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon128x128(icon128x128 io.ReadCloser) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon128x1282x(icon128x1282x io.ReadCloser) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon128x1282xContentType(icon128x1282xContentType string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon128x128ContentType(icon128x128ContentType string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon16x16(icon16x16 io.ReadCloser) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon16x162x(icon16x162x io.ReadCloser) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon16x162xContentType(icon16x162xContentType string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon16x16ContentType(icon16x16ContentType string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon32x32(icon32x32 io.ReadCloser) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon32x322x(icon32x322x io.ReadCloser) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon32x322xContentType(icon32x322xContentType string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetIcon32x32ContentType(icon32x32ContentType string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetInstanceID(instanceID string) *UpdateDestinationOptions
- func (_options *UpdateDestinationOptions) SetName(name string) *UpdateDestinationOptions
- type UpdateSourceOptions
- func (_options *UpdateSourceOptions) SetDescription(description string) *UpdateSourceOptions
- func (_options *UpdateSourceOptions) SetEnabled(enabled bool) *UpdateSourceOptions
- func (options *UpdateSourceOptions) SetHeaders(param map[string]string) *UpdateSourceOptions
- func (_options *UpdateSourceOptions) SetID(id string) *UpdateSourceOptions
- func (_options *UpdateSourceOptions) SetInstanceID(instanceID string) *UpdateSourceOptions
- func (_options *UpdateSourceOptions) SetName(name string) *UpdateSourceOptions
- type UpdateSubscriptionOptions
- func (_options *UpdateSubscriptionOptions) SetAttributes(attributes SubscriptionUpdateAttributesIntf) *UpdateSubscriptionOptions
- func (_options *UpdateSubscriptionOptions) SetDescription(description string) *UpdateSubscriptionOptions
- func (options *UpdateSubscriptionOptions) SetHeaders(param map[string]string) *UpdateSubscriptionOptions
- func (_options *UpdateSubscriptionOptions) SetID(id string) *UpdateSubscriptionOptions
- func (_options *UpdateSubscriptionOptions) SetInstanceID(instanceID string) *UpdateSubscriptionOptions
- func (_options *UpdateSubscriptionOptions) SetName(name string) *UpdateSubscriptionOptions
Constants ¶
const ( CreateDestinationOptionsTypeMsteamsConst = "msteams" CreateDestinationOptionsTypePushAndroidConst = "push_android" CreateDestinationOptionsTypePushChromeConst = "push_chrome" CreateDestinationOptionsTypePushFirefoxConst = "push_firefox" CreateDestinationOptionsTypePushIosConst = "push_ios" CreateDestinationOptionsTypePushSafariConst = "push_safari" CreateDestinationOptionsTypeSlackConst = "slack" CreateDestinationOptionsTypeWebhookConst = "webhook" )
Constants associated with the CreateDestinationOptions.Type property. The type of Destination Webhook.
const ( DestinationTypeMsteamsConst = "msteams" DestinationTypePushAndroidConst = "push_android" DestinationTypePushIosConst = "push_ios" DestinationTypePushSafariConst = "push_safari" DestinationTypeSMTPIBMConst = "smtp_ibm" DestinationTypeSlackConst = "slack" DestinationTypeSmsIBMConst = "sms_ibm" DestinationTypeWebhookConst = "webhook" )
Constants associated with the Destination.Type property. Destination type Email/SMS/Webhook/FCM/Slack/MSTeams.
const ( DestinationConfigParamsVerbGetConst = "get" DestinationConfigParamsVerbPostConst = "post" )
Constants associated with the DestinationConfigParams.Verb property. HTTP method of webhook.
const ( DestinationListItemTypeMsteamsConst = "msteams" DestinationListItemTypePushAndroidConst = "push_android" DestinationListItemTypePushIosConst = "push_ios" DestinationListItemTypePushSafariConst = "push_safari" DestinationListItemTypeSMTPIBMConst = "smtp_ibm" DestinationListItemTypeSlackConst = "slack" DestinationListItemTypeSmsIBMConst = "sms_ibm" DestinationListItemTypeWebhookConst = "webhook" )
Constants associated with the DestinationListItem.Type property. Destination type.
const ( DestinationResponseTypeMsteamsConst = "msteams" DestinationResponseTypePushAndroidConst = "push_android" DestinationResponseTypePushChromeConst = "push_chrome" DestinationResponseTypePushFirefoxConst = "push_firefox" DestinationResponseTypePushIosConst = "push_ios" DestinationResponseTypePushSafariConst = "push_safari" DestinationResponseTypeSlackConst = "slack" DestinationResponseTypeWebhookConst = "webhook" )
Constants associated with the DestinationResponse.Type property. Destination type.
const ( SubscriptionDestinationTypeMsteamsConst = "msteams" SubscriptionDestinationTypePushAndroidConst = "push_android" SubscriptionDestinationTypePushChromeConst = "push_chrome" SubscriptionDestinationTypePushFirefoxConst = "push_firefox" SubscriptionDestinationTypePushIosConst = "push_ios" SubscriptionDestinationTypePushSafariConst = "push_safari" SubscriptionDestinationTypeSMTPIBMConst = "smtp_ibm" SubscriptionDestinationTypeSlackConst = "slack" SubscriptionDestinationTypeSmsIBMConst = "sms_ibm" SubscriptionDestinationTypeWebhookConst = "webhook" )
Constants associated with the Subscription.DestinationType property. The type of destination.
const ( SubscriptionListItemDestinationTypeMsteamsConst = "msteams" SubscriptionListItemDestinationTypePushAndroidConst = "push_android" SubscriptionListItemDestinationTypePushChromeConst = "push_chrome" SubscriptionListItemDestinationTypePushFirefoxConst = "push_firefox" SubscriptionListItemDestinationTypePushIosConst = "push_ios" SubscriptionListItemDestinationTypePushSafariConst = "push_safari" SubscriptionListItemDestinationTypeSMTPIBMConst = "smtp_ibm" SubscriptionListItemDestinationTypeSlackConst = "slack" SubscriptionListItemDestinationTypeSmsIBMConst = "sms_ibm" SubscriptionListItemDestinationTypeWebhookConst = "webhook" )
Constants associated with the SubscriptionListItem.DestinationType property. The type of destination.
const ( DestinationConfigParamsWebhookDestinationConfigVerbGetConst = "get" DestinationConfigParamsWebhookDestinationConfigVerbPostConst = "post" )
Constants associated with the DestinationConfigParamsWebhookDestinationConfig.Verb property. HTTP method of webhook.
const DefaultServiceName = "event_notifications"
DefaultServiceName is the default key used to find external configuration information.
const DefaultServiceURL = "https://us-south.event-notifications.cloud.ibm.com/event-notifications"
DefaultServiceURL is the default URL to make service requests to.
Variables ¶
This section is empty.
Functions ¶
func GetServiceURLForRegion ¶
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalBulkNotificationResponse ¶ added in v0.1.1
func UnmarshalBulkNotificationResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalBulkNotificationResponse unmarshals an instance of BulkNotificationResponse from the specified map of raw messages.
func UnmarshalDestination ¶
func UnmarshalDestination(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestination unmarshals an instance of Destination from the specified map of raw messages.
func UnmarshalDestinationConfig ¶
func UnmarshalDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfig unmarshals an instance of DestinationConfig from the specified map of raw messages.
func UnmarshalDestinationConfigParams ¶
func UnmarshalDestinationConfigParams(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfigParams unmarshals an instance of DestinationConfigParams from the specified map of raw messages.
func UnmarshalDestinationConfigParamsChromeDestinationConfig ¶ added in v0.1.0
func UnmarshalDestinationConfigParamsChromeDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfigParamsChromeDestinationConfig unmarshals an instance of DestinationConfigParamsChromeDestinationConfig from the specified map of raw messages.
func UnmarshalDestinationConfigParamsFcmDestinationConfig ¶ added in v0.0.6
func UnmarshalDestinationConfigParamsFcmDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfigParamsFcmDestinationConfig unmarshals an instance of DestinationConfigParamsFcmDestinationConfig from the specified map of raw messages.
func UnmarshalDestinationConfigParamsFirefoxDestinationConfig ¶ added in v0.1.0
func UnmarshalDestinationConfigParamsFirefoxDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfigParamsFirefoxDestinationConfig unmarshals an instance of DestinationConfigParamsFirefoxDestinationConfig from the specified map of raw messages.
func UnmarshalDestinationConfigParamsIosDestinationConfig ¶ added in v0.0.7
func UnmarshalDestinationConfigParamsIosDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfigParamsIosDestinationConfig unmarshals an instance of DestinationConfigParamsIosDestinationConfig from the specified map of raw messages.
func UnmarshalDestinationConfigParamsMsTeamsDestinationConfig ¶ added in v0.1.3
func UnmarshalDestinationConfigParamsMsTeamsDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfigParamsMsTeamsDestinationConfig unmarshals an instance of DestinationConfigParamsMsTeamsDestinationConfig from the specified map of raw messages.
func UnmarshalDestinationConfigParamsSafariDestinationConfig ¶ added in v0.1.2
func UnmarshalDestinationConfigParamsSafariDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfigParamsSafariDestinationConfig unmarshals an instance of DestinationConfigParamsSafariDestinationConfig from the specified map of raw messages.
func UnmarshalDestinationConfigParamsSlackDestinationConfig ¶ added in v0.1.1
func UnmarshalDestinationConfigParamsSlackDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfigParamsSlackDestinationConfig unmarshals an instance of DestinationConfigParamsSlackDestinationConfig from the specified map of raw messages.
func UnmarshalDestinationConfigParamsWebhookDestinationConfig ¶
func UnmarshalDestinationConfigParamsWebhookDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationConfigParamsWebhookDestinationConfig unmarshals an instance of DestinationConfigParamsWebhookDestinationConfig from the specified map of raw messages.
func UnmarshalDestinationList ¶
func UnmarshalDestinationList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationList unmarshals an instance of DestinationList from the specified map of raw messages.
func UnmarshalDestinationListItem ¶ added in v0.0.6
func UnmarshalDestinationListItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationListItem unmarshals an instance of DestinationListItem from the specified map of raw messages.
func UnmarshalDestinationResponse ¶
func UnmarshalDestinationResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationResponse unmarshals an instance of DestinationResponse from the specified map of raw messages.
func UnmarshalDestinationTagsSubscriptionResponse ¶ added in v0.0.6
func UnmarshalDestinationTagsSubscriptionResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDestinationTagsSubscriptionResponse unmarshals an instance of DestinationTagsSubscriptionResponse from the specified map of raw messages.
func UnmarshalDeviceCount ¶ added in v0.1.4
func UnmarshalDeviceCount(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDeviceCount unmarshals an instance of DeviceCount from the specified map of raw messages.
func UnmarshalEmailAttributesResponseInvitedItem ¶ added in v0.1.4
func UnmarshalEmailAttributesResponseInvitedItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEmailAttributesResponseInvitedItem unmarshals an instance of EmailAttributesResponseInvitedItem from the specified map of raw messages.
func UnmarshalEmailAttributesResponseToItem ¶ added in v0.1.4
func UnmarshalEmailAttributesResponseToItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEmailAttributesResponseToItem unmarshals an instance of EmailAttributesResponseToItem from the specified map of raw messages.
func UnmarshalEmailAttributesResponseUnsubscribedItem ¶ added in v0.1.4
func UnmarshalEmailAttributesResponseUnsubscribedItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEmailAttributesResponseUnsubscribedItem unmarshals an instance of EmailAttributesResponseUnsubscribedItem from the specified map of raw messages.
func UnmarshalEmailUpdateAttributesTo ¶ added in v0.0.5
func UnmarshalEmailUpdateAttributesTo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEmailUpdateAttributesTo unmarshals an instance of EmailUpdateAttributesTo from the specified map of raw messages.
func UnmarshalEmailUpdateAttributesUnsubscribed ¶ added in v0.0.5
func UnmarshalEmailUpdateAttributesUnsubscribed(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEmailUpdateAttributesUnsubscribed unmarshals an instance of EmailUpdateAttributesUnsubscribed from the specified map of raw messages.
func UnmarshalNotificationCreate ¶ added in v0.1.0
func UnmarshalNotificationCreate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalNotificationCreate unmarshals an instance of NotificationCreate from the specified map of raw messages.
func UnmarshalNotificationResponse ¶ added in v0.0.6
func UnmarshalNotificationResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalNotificationResponse unmarshals an instance of NotificationResponse from the specified map of raw messages.
func UnmarshalRules ¶
func UnmarshalRules(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRules unmarshals an instance of Rules from the specified map of raw messages.
func UnmarshalRulesGet ¶
func UnmarshalRulesGet(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRulesGet unmarshals an instance of RulesGet from the specified map of raw messages.
func UnmarshalSource ¶
func UnmarshalSource(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSource unmarshals an instance of Source from the specified map of raw messages.
func UnmarshalSourceList ¶
func UnmarshalSourceList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSourceList unmarshals an instance of SourceList from the specified map of raw messages.
func UnmarshalSourceListItem ¶ added in v0.0.6
func UnmarshalSourceListItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSourceListItem unmarshals an instance of SourceListItem from the specified map of raw messages.
func UnmarshalSourceResponse ¶ added in v0.0.8
func UnmarshalSourceResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSourceResponse unmarshals an instance of SourceResponse from the specified map of raw messages.
func UnmarshalSourcesListItem ¶
func UnmarshalSourcesListItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSourcesListItem unmarshals an instance of SourcesListItem from the specified map of raw messages.
func UnmarshalSubscription ¶
func UnmarshalSubscription(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscription unmarshals an instance of Subscription from the specified map of raw messages.
func UnmarshalSubscriptionAttributes ¶
func UnmarshalSubscriptionAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionAttributes unmarshals an instance of SubscriptionAttributes from the specified map of raw messages.
func UnmarshalSubscriptionAttributesEmailAttributesResponse ¶
func UnmarshalSubscriptionAttributesEmailAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionAttributesEmailAttributesResponse unmarshals an instance of SubscriptionAttributesEmailAttributesResponse from the specified map of raw messages.
func UnmarshalSubscriptionAttributesSlackAttributesResponse ¶ added in v0.1.1
func UnmarshalSubscriptionAttributesSlackAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionAttributesSlackAttributesResponse unmarshals an instance of SubscriptionAttributesSlackAttributesResponse from the specified map of raw messages.
func UnmarshalSubscriptionAttributesSmsAttributesResponse ¶
func UnmarshalSubscriptionAttributesSmsAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionAttributesSmsAttributesResponse unmarshals an instance of SubscriptionAttributesSmsAttributesResponse from the specified map of raw messages.
func UnmarshalSubscriptionAttributesWebhookAttributesResponse ¶
func UnmarshalSubscriptionAttributesWebhookAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionAttributesWebhookAttributesResponse unmarshals an instance of SubscriptionAttributesWebhookAttributesResponse from the specified map of raw messages.
func UnmarshalSubscriptionCreateAttributes ¶
func UnmarshalSubscriptionCreateAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionCreateAttributes unmarshals an instance of SubscriptionCreateAttributes from the specified map of raw messages.
func UnmarshalSubscriptionCreateAttributesEmailAttributes ¶
func UnmarshalSubscriptionCreateAttributesEmailAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionCreateAttributesEmailAttributes unmarshals an instance of SubscriptionCreateAttributesEmailAttributes from the specified map of raw messages.
func UnmarshalSubscriptionCreateAttributesFcmAttributes ¶ added in v0.0.6
func UnmarshalSubscriptionCreateAttributesFcmAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionCreateAttributesFcmAttributes unmarshals an instance of SubscriptionCreateAttributesFcmAttributes from the specified map of raw messages.
func UnmarshalSubscriptionCreateAttributesSlackAttributes ¶ added in v0.1.1
func UnmarshalSubscriptionCreateAttributesSlackAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionCreateAttributesSlackAttributes unmarshals an instance of SubscriptionCreateAttributesSlackAttributes from the specified map of raw messages.
func UnmarshalSubscriptionCreateAttributesSmsAttributes ¶
func UnmarshalSubscriptionCreateAttributesSmsAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionCreateAttributesSmsAttributes unmarshals an instance of SubscriptionCreateAttributesSmsAttributes from the specified map of raw messages.
func UnmarshalSubscriptionCreateAttributesWebhookAttributes ¶
func UnmarshalSubscriptionCreateAttributesWebhookAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionCreateAttributesWebhookAttributes unmarshals an instance of SubscriptionCreateAttributesWebhookAttributes from the specified map of raw messages.
func UnmarshalSubscriptionList ¶
func UnmarshalSubscriptionList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionList unmarshals an instance of SubscriptionList from the specified map of raw messages.
func UnmarshalSubscriptionListItem ¶
func UnmarshalSubscriptionListItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionListItem unmarshals an instance of SubscriptionListItem from the specified map of raw messages.
func UnmarshalSubscriptionUpdateAttributes ¶
func UnmarshalSubscriptionUpdateAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionUpdateAttributes unmarshals an instance of SubscriptionUpdateAttributes from the specified map of raw messages.
func UnmarshalSubscriptionUpdateAttributesEmailUpdateAttributes ¶ added in v0.0.5
func UnmarshalSubscriptionUpdateAttributesEmailUpdateAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionUpdateAttributesEmailUpdateAttributes unmarshals an instance of SubscriptionUpdateAttributesEmailUpdateAttributes from the specified map of raw messages.
func UnmarshalSubscriptionUpdateAttributesSlackAttributes ¶ added in v0.1.1
func UnmarshalSubscriptionUpdateAttributesSlackAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionUpdateAttributesSlackAttributes unmarshals an instance of SubscriptionUpdateAttributesSlackAttributes from the specified map of raw messages.
func UnmarshalSubscriptionUpdateAttributesSmsAttributes ¶
func UnmarshalSubscriptionUpdateAttributesSmsAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionUpdateAttributesSmsAttributes unmarshals an instance of SubscriptionUpdateAttributesSmsAttributes from the specified map of raw messages.
func UnmarshalSubscriptionUpdateAttributesWebhookAttributes ¶
func UnmarshalSubscriptionUpdateAttributesWebhookAttributes(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSubscriptionUpdateAttributesWebhookAttributes unmarshals an instance of SubscriptionUpdateAttributesWebhookAttributes from the specified map of raw messages.
func UnmarshalTagsSubscriptionList ¶ added in v0.0.6
func UnmarshalTagsSubscriptionList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTagsSubscriptionList unmarshals an instance of TagsSubscriptionList from the specified map of raw messages.
func UnmarshalTagsSubscriptionListItem ¶ added in v0.0.6
func UnmarshalTagsSubscriptionListItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTagsSubscriptionListItem unmarshals an instance of TagsSubscriptionListItem from the specified map of raw messages.
func UnmarshalTopic ¶
func UnmarshalTopic(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTopic unmarshals an instance of Topic from the specified map of raw messages.
func UnmarshalTopicList ¶
func UnmarshalTopicList(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTopicList unmarshals an instance of TopicList from the specified map of raw messages.
func UnmarshalTopicResponse ¶
func UnmarshalTopicResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTopicResponse unmarshals an instance of TopicResponse from the specified map of raw messages.
func UnmarshalTopicUpdateSourcesItem ¶
func UnmarshalTopicUpdateSourcesItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTopicUpdateSourcesItem unmarshals an instance of TopicUpdateSourcesItem from the specified map of raw messages.
func UnmarshalTopicsListItem ¶
func UnmarshalTopicsListItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTopicsListItem unmarshals an instance of TopicsListItem from the specified map of raw messages.
Types ¶
type BulkNotificationResponse ¶ added in v0.1.1
type BulkNotificationResponse struct { // Bulk Notification ID. BulkNotificationID *string `json:"bulk_notification_id,omitempty"` // List of Notifications. BulkMessages []interface{} `json:"bulk_messages,omitempty"` }
BulkNotificationResponse : Payload describing a notifications response.
type CreateDestinationOptions ¶
type CreateDestinationOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // The Destintion name. Name *string `json:"name" validate:"required"` // The type of Destination Webhook. Type *string `json:"type" validate:"required"` // The Destination description. Description *string `json:"description,omitempty"` // Payload describing a destination configuration. Config *DestinationConfig `json:"config,omitempty"` // Certificate for APNS. Certificate io.ReadCloser `json:"certificate,omitempty"` // The content type of certificate. CertificateContentType *string `json:"certificate_content_type,omitempty"` // Safari icon 16x16. Icon16x16 io.ReadCloser `json:"icon_16x16,omitempty"` // The content type of icon16x16. Icon16x16ContentType *string `json:"icon_16x16_content_type,omitempty"` // Safari icon 16x16@2x. Icon16x162x io.ReadCloser `json:"icon_16x16_2x,omitempty"` // The content type of icon16x162x. Icon16x162xContentType *string `json:"icon_16x16_2x_content_type,omitempty"` // Safari icon 32x32. Icon32x32 io.ReadCloser `json:"icon_32x32,omitempty"` // The content type of icon32x32. Icon32x32ContentType *string `json:"icon_32x32_content_type,omitempty"` // Safari icon 32x32@2x. Icon32x322x io.ReadCloser `json:"icon_32x32_2x,omitempty"` // The content type of icon32x322x. Icon32x322xContentType *string `json:"icon_32x32_2x_content_type,omitempty"` // Safari icon 128x128. Icon128x128 io.ReadCloser `json:"icon_128x128,omitempty"` // The content type of icon128x128. Icon128x128ContentType *string `json:"icon_128x128_content_type,omitempty"` // Safari icon 128x128@2x. Icon128x1282x io.ReadCloser `json:"icon_128x128_2x,omitempty"` // The content type of icon128x1282x. Icon128x1282xContentType *string `json:"icon_128x128_2x_content_type,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateDestinationOptions : The CreateDestination options.
func (*CreateDestinationOptions) SetCertificate ¶ added in v0.0.7
func (_options *CreateDestinationOptions) SetCertificate(certificate io.ReadCloser) *CreateDestinationOptions
SetCertificate : Allow user to set Certificate
func (*CreateDestinationOptions) SetCertificateContentType ¶ added in v0.0.7
func (_options *CreateDestinationOptions) SetCertificateContentType(certificateContentType string) *CreateDestinationOptions
SetCertificateContentType : Allow user to set CertificateContentType
func (*CreateDestinationOptions) SetConfig ¶
func (_options *CreateDestinationOptions) SetConfig(config *DestinationConfig) *CreateDestinationOptions
SetConfig : Allow user to set Config
func (*CreateDestinationOptions) SetDescription ¶
func (_options *CreateDestinationOptions) SetDescription(description string) *CreateDestinationOptions
SetDescription : Allow user to set Description
func (*CreateDestinationOptions) SetHeaders ¶
func (options *CreateDestinationOptions) SetHeaders(param map[string]string) *CreateDestinationOptions
SetHeaders : Allow user to set Headers
func (*CreateDestinationOptions) SetIcon128x128 ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon128x128(icon128x128 io.ReadCloser) *CreateDestinationOptions
SetIcon128x128 : Allow user to set Icon128x128
func (*CreateDestinationOptions) SetIcon128x1282x ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon128x1282x(icon128x1282x io.ReadCloser) *CreateDestinationOptions
SetIcon128x1282x : Allow user to set Icon128x1282x
func (*CreateDestinationOptions) SetIcon128x1282xContentType ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon128x1282xContentType(icon128x1282xContentType string) *CreateDestinationOptions
SetIcon128x1282xContentType : Allow user to set Icon128x1282xContentType
func (*CreateDestinationOptions) SetIcon128x128ContentType ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon128x128ContentType(icon128x128ContentType string) *CreateDestinationOptions
SetIcon128x128ContentType : Allow user to set Icon128x128ContentType
func (*CreateDestinationOptions) SetIcon16x16 ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon16x16(icon16x16 io.ReadCloser) *CreateDestinationOptions
SetIcon16x16 : Allow user to set Icon16x16
func (*CreateDestinationOptions) SetIcon16x162x ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon16x162x(icon16x162x io.ReadCloser) *CreateDestinationOptions
SetIcon16x162x : Allow user to set Icon16x162x
func (*CreateDestinationOptions) SetIcon16x162xContentType ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon16x162xContentType(icon16x162xContentType string) *CreateDestinationOptions
SetIcon16x162xContentType : Allow user to set Icon16x162xContentType
func (*CreateDestinationOptions) SetIcon16x16ContentType ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon16x16ContentType(icon16x16ContentType string) *CreateDestinationOptions
SetIcon16x16ContentType : Allow user to set Icon16x16ContentType
func (*CreateDestinationOptions) SetIcon32x32 ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon32x32(icon32x32 io.ReadCloser) *CreateDestinationOptions
SetIcon32x32 : Allow user to set Icon32x32
func (*CreateDestinationOptions) SetIcon32x322x ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon32x322x(icon32x322x io.ReadCloser) *CreateDestinationOptions
SetIcon32x322x : Allow user to set Icon32x322x
func (*CreateDestinationOptions) SetIcon32x322xContentType ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon32x322xContentType(icon32x322xContentType string) *CreateDestinationOptions
SetIcon32x322xContentType : Allow user to set Icon32x322xContentType
func (*CreateDestinationOptions) SetIcon32x32ContentType ¶ added in v0.1.2
func (_options *CreateDestinationOptions) SetIcon32x32ContentType(icon32x32ContentType string) *CreateDestinationOptions
SetIcon32x32ContentType : Allow user to set Icon32x32ContentType
func (*CreateDestinationOptions) SetInstanceID ¶
func (_options *CreateDestinationOptions) SetInstanceID(instanceID string) *CreateDestinationOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateDestinationOptions) SetName ¶
func (_options *CreateDestinationOptions) SetName(name string) *CreateDestinationOptions
SetName : Allow user to set Name
func (*CreateDestinationOptions) SetType ¶
func (_options *CreateDestinationOptions) SetType(typeVar string) *CreateDestinationOptions
SetType : Allow user to set Type
type CreateSourcesOptions ¶ added in v0.0.8
type CreateSourcesOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Name of the source. Name *string `json:"name" validate:"required"` // Description of the source. Description *string `json:"description" validate:"required"` // Whether the source is enabled or not. Enabled *bool `json:"enabled,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateSourcesOptions : The CreateSources options.
func (*CreateSourcesOptions) SetDescription ¶ added in v0.0.8
func (_options *CreateSourcesOptions) SetDescription(description string) *CreateSourcesOptions
SetDescription : Allow user to set Description
func (*CreateSourcesOptions) SetEnabled ¶ added in v0.0.8
func (_options *CreateSourcesOptions) SetEnabled(enabled bool) *CreateSourcesOptions
SetEnabled : Allow user to set Enabled
func (*CreateSourcesOptions) SetHeaders ¶ added in v0.0.8
func (options *CreateSourcesOptions) SetHeaders(param map[string]string) *CreateSourcesOptions
SetHeaders : Allow user to set Headers
func (*CreateSourcesOptions) SetInstanceID ¶ added in v0.0.8
func (_options *CreateSourcesOptions) SetInstanceID(instanceID string) *CreateSourcesOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateSourcesOptions) SetName ¶ added in v0.0.8
func (_options *CreateSourcesOptions) SetName(name string) *CreateSourcesOptions
SetName : Allow user to set Name
type CreateSubscriptionOptions ¶
type CreateSubscriptionOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Subscription name. Name *string `json:"name" validate:"required"` // Destination ID. DestinationID *string `json:"destination_id" validate:"required"` // Topic ID. TopicID *string `json:"topic_id" validate:"required"` // Subscription description. Description *string `json:"description,omitempty"` Attributes SubscriptionCreateAttributesIntf `json:"attributes,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateSubscriptionOptions : The CreateSubscription options.
func (*CreateSubscriptionOptions) SetAttributes ¶
func (_options *CreateSubscriptionOptions) SetAttributes(attributes SubscriptionCreateAttributesIntf) *CreateSubscriptionOptions
SetAttributes : Allow user to set Attributes
func (*CreateSubscriptionOptions) SetDescription ¶
func (_options *CreateSubscriptionOptions) SetDescription(description string) *CreateSubscriptionOptions
SetDescription : Allow user to set Description
func (*CreateSubscriptionOptions) SetDestinationID ¶
func (_options *CreateSubscriptionOptions) SetDestinationID(destinationID string) *CreateSubscriptionOptions
SetDestinationID : Allow user to set DestinationID
func (*CreateSubscriptionOptions) SetHeaders ¶
func (options *CreateSubscriptionOptions) SetHeaders(param map[string]string) *CreateSubscriptionOptions
SetHeaders : Allow user to set Headers
func (*CreateSubscriptionOptions) SetInstanceID ¶
func (_options *CreateSubscriptionOptions) SetInstanceID(instanceID string) *CreateSubscriptionOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateSubscriptionOptions) SetName ¶
func (_options *CreateSubscriptionOptions) SetName(name string) *CreateSubscriptionOptions
SetName : Allow user to set Name
func (*CreateSubscriptionOptions) SetTopicID ¶
func (_options *CreateSubscriptionOptions) SetTopicID(topicID string) *CreateSubscriptionOptions
SetTopicID : Allow user to set TopicID
type CreateTagsSubscriptionOptions ¶ added in v0.0.6
type CreateTagsSubscriptionOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Destination. ID *string `json:"id" validate:"required,ne="` // Unique identifier of the device. DeviceID *string `json:"device_id" validate:"required"` // The name of the tag its subscribed. TagName *string `json:"tag_name" validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
CreateTagsSubscriptionOptions : The CreateTagsSubscription options.
func (*CreateTagsSubscriptionOptions) SetDeviceID ¶ added in v0.0.6
func (_options *CreateTagsSubscriptionOptions) SetDeviceID(deviceID string) *CreateTagsSubscriptionOptions
SetDeviceID : Allow user to set DeviceID
func (*CreateTagsSubscriptionOptions) SetHeaders ¶ added in v0.0.6
func (options *CreateTagsSubscriptionOptions) SetHeaders(param map[string]string) *CreateTagsSubscriptionOptions
SetHeaders : Allow user to set Headers
func (*CreateTagsSubscriptionOptions) SetID ¶ added in v0.0.6
func (_options *CreateTagsSubscriptionOptions) SetID(id string) *CreateTagsSubscriptionOptions
SetID : Allow user to set ID
func (*CreateTagsSubscriptionOptions) SetInstanceID ¶ added in v0.0.6
func (_options *CreateTagsSubscriptionOptions) SetInstanceID(instanceID string) *CreateTagsSubscriptionOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateTagsSubscriptionOptions) SetTagName ¶ added in v0.0.6
func (_options *CreateTagsSubscriptionOptions) SetTagName(tagName string) *CreateTagsSubscriptionOptions
SetTagName : Allow user to set TagName
type CreateTopicOptions ¶
type CreateTopicOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Name of the topic. Name *string `json:"name" validate:"required"` // Description of the topic. Description *string `json:"description,omitempty"` // List of sources. Sources []TopicUpdateSourcesItem `json:"sources,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateTopicOptions : The CreateTopic options.
func (*CreateTopicOptions) SetDescription ¶
func (_options *CreateTopicOptions) SetDescription(description string) *CreateTopicOptions
SetDescription : Allow user to set Description
func (*CreateTopicOptions) SetHeaders ¶
func (options *CreateTopicOptions) SetHeaders(param map[string]string) *CreateTopicOptions
SetHeaders : Allow user to set Headers
func (*CreateTopicOptions) SetInstanceID ¶
func (_options *CreateTopicOptions) SetInstanceID(instanceID string) *CreateTopicOptions
SetInstanceID : Allow user to set InstanceID
func (*CreateTopicOptions) SetName ¶
func (_options *CreateTopicOptions) SetName(name string) *CreateTopicOptions
SetName : Allow user to set Name
func (*CreateTopicOptions) SetSources ¶
func (_options *CreateTopicOptions) SetSources(sources []TopicUpdateSourcesItem) *CreateTopicOptions
SetSources : Allow user to set Sources
type DeleteDestinationOptions ¶
type DeleteDestinationOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Destination. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteDestinationOptions : The DeleteDestination options.
func (*DeleteDestinationOptions) SetHeaders ¶
func (options *DeleteDestinationOptions) SetHeaders(param map[string]string) *DeleteDestinationOptions
SetHeaders : Allow user to set Headers
func (*DeleteDestinationOptions) SetID ¶
func (_options *DeleteDestinationOptions) SetID(id string) *DeleteDestinationOptions
SetID : Allow user to set ID
func (*DeleteDestinationOptions) SetInstanceID ¶
func (_options *DeleteDestinationOptions) SetInstanceID(instanceID string) *DeleteDestinationOptions
SetInstanceID : Allow user to set InstanceID
type DeleteSourceOptions ¶ added in v0.0.8
type DeleteSourceOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Source. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteSourceOptions : The DeleteSource options.
func (*DeleteSourceOptions) SetHeaders ¶ added in v0.0.8
func (options *DeleteSourceOptions) SetHeaders(param map[string]string) *DeleteSourceOptions
SetHeaders : Allow user to set Headers
func (*DeleteSourceOptions) SetID ¶ added in v0.0.8
func (_options *DeleteSourceOptions) SetID(id string) *DeleteSourceOptions
SetID : Allow user to set ID
func (*DeleteSourceOptions) SetInstanceID ¶ added in v0.0.8
func (_options *DeleteSourceOptions) SetInstanceID(instanceID string) *DeleteSourceOptions
SetInstanceID : Allow user to set InstanceID
type DeleteSubscriptionOptions ¶
type DeleteSubscriptionOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Subscription. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteSubscriptionOptions : The DeleteSubscription options.
func (*DeleteSubscriptionOptions) SetHeaders ¶
func (options *DeleteSubscriptionOptions) SetHeaders(param map[string]string) *DeleteSubscriptionOptions
SetHeaders : Allow user to set Headers
func (*DeleteSubscriptionOptions) SetID ¶
func (_options *DeleteSubscriptionOptions) SetID(id string) *DeleteSubscriptionOptions
SetID : Allow user to set ID
func (*DeleteSubscriptionOptions) SetInstanceID ¶
func (_options *DeleteSubscriptionOptions) SetInstanceID(instanceID string) *DeleteSubscriptionOptions
SetInstanceID : Allow user to set InstanceID
type DeleteTagsSubscriptionOptions ¶ added in v0.0.6
type DeleteTagsSubscriptionOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Destination. ID *string `json:"id" validate:"required,ne="` // DeviceID of the destination tagsubscription. DeviceID *string `json:"device_id,omitempty"` // TagName of the subscription. TagName *string `json:"tag_name,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
DeleteTagsSubscriptionOptions : The DeleteTagsSubscription options.
func (*DeleteTagsSubscriptionOptions) SetDeviceID ¶ added in v0.0.6
func (_options *DeleteTagsSubscriptionOptions) SetDeviceID(deviceID string) *DeleteTagsSubscriptionOptions
SetDeviceID : Allow user to set DeviceID
func (*DeleteTagsSubscriptionOptions) SetHeaders ¶ added in v0.0.6
func (options *DeleteTagsSubscriptionOptions) SetHeaders(param map[string]string) *DeleteTagsSubscriptionOptions
SetHeaders : Allow user to set Headers
func (*DeleteTagsSubscriptionOptions) SetID ¶ added in v0.0.6
func (_options *DeleteTagsSubscriptionOptions) SetID(id string) *DeleteTagsSubscriptionOptions
SetID : Allow user to set ID
func (*DeleteTagsSubscriptionOptions) SetInstanceID ¶ added in v0.0.6
func (_options *DeleteTagsSubscriptionOptions) SetInstanceID(instanceID string) *DeleteTagsSubscriptionOptions
SetInstanceID : Allow user to set InstanceID
func (*DeleteTagsSubscriptionOptions) SetTagName ¶ added in v0.0.6
func (_options *DeleteTagsSubscriptionOptions) SetTagName(tagName string) *DeleteTagsSubscriptionOptions
SetTagName : Allow user to set TagName
type DeleteTopicOptions ¶
type DeleteTopicOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Topic. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteTopicOptions : The DeleteTopic options.
func (*DeleteTopicOptions) SetHeaders ¶
func (options *DeleteTopicOptions) SetHeaders(param map[string]string) *DeleteTopicOptions
SetHeaders : Allow user to set Headers
func (*DeleteTopicOptions) SetID ¶
func (_options *DeleteTopicOptions) SetID(id string) *DeleteTopicOptions
SetID : Allow user to set ID
func (*DeleteTopicOptions) SetInstanceID ¶
func (_options *DeleteTopicOptions) SetInstanceID(instanceID string) *DeleteTopicOptions
SetInstanceID : Allow user to set InstanceID
type Destination ¶
type Destination struct { // Destination ID. ID *string `json:"id" validate:"required"` // Destination name. Name *string `json:"name" validate:"required"` // Destination description. Description *string `json:"description" validate:"required"` // Destination type Email/SMS/Webhook/FCM/Slack/MSTeams. Type *string `json:"type" validate:"required"` // Payload describing a destination configuration. Config *DestinationConfig `json:"config,omitempty"` // Last updated time. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` // Number of subscriptions. SubscriptionCount *int64 `json:"subscription_count" validate:"required"` // List of subscriptions. SubscriptionNames []string `json:"subscription_names" validate:"required"` }
Destination : Payload describing a destination get request.
type DestinationConfig ¶
type DestinationConfig struct {
Params DestinationConfigParamsIntf `json:"params" validate:"required"`
}
DestinationConfig : Payload describing a destination configuration.
type DestinationConfigParams ¶
type DestinationConfigParams struct { // URL of webhook. URL *string `json:"url,omitempty"` // HTTP method of webhook. Verb *string `json:"verb,omitempty"` // Custom headers (Key-Value pair) for webhook call. CustomHeaders map[string]string `json:"custom_headers,omitempty"` // List of sensitive headers from custom headers. SensitiveHeaders []string `json:"sensitive_headers,omitempty"` // FCM server_key. ServerKey *string `json:"server_key,omitempty"` // FCM sender_id. SenderID *string `json:"sender_id,omitempty"` // If pre prod enabled. PreProd *bool `json:"pre_prod,omitempty"` // Authentication type (p8 or p12). CertType *string `json:"cert_type,omitempty"` // Sandbox mode for IOS destinations. IsSandbox *bool `json:"is_sandbox,omitempty"` // Password for certificate (Required when cert_type is p12). Password *string `json:"password,omitempty"` // Key ID for token (Required when cert_type is p8). KeyID *string `json:"key_id,omitempty"` // Team ID for token (Required when cert_type is p8). TeamID *string `json:"team_id,omitempty"` // Bundle ID for token (Required when cert_type is p8). BundleID *string `json:"bundle_id,omitempty"` // FCM api_key. APIKey *string `json:"api_key,omitempty"` // Website url. WebsiteURL *string `json:"website_url,omitempty"` // Chrome VAPID public key. PublicKey *string `json:"public_key,omitempty"` // Websire url. WebsiteName *string `json:"website_name,omitempty"` // Websire url. URLFormatString *string `json:"url_format_string,omitempty"` // Websire url. WebsitePushID *string `json:"website_push_id,omitempty"` }
DestinationConfigParams : DestinationConfigParams struct Models which "extend" this model: - DestinationConfigParamsWebhookDestinationConfig - DestinationConfigParamsFcmDestinationConfig - DestinationConfigParamsIosDestinationConfig - DestinationConfigParamsChromeDestinationConfig - DestinationConfigParamsFirefoxDestinationConfig - DestinationConfigParamsSlackDestinationConfig - DestinationConfigParamsSafariDestinationConfig - DestinationConfigParamsMsTeamsDestinationConfig
type DestinationConfigParamsChromeDestinationConfig ¶ added in v0.1.0
type DestinationConfigParamsChromeDestinationConfig struct { // FCM api_key. APIKey *string `json:"api_key" validate:"required"` // Website url. WebsiteURL *string `json:"website_url" validate:"required"` // Chrome VAPID public key. PublicKey *string `json:"public_key,omitempty"` // If pre prod enabled. PreProd *bool `json:"pre_prod,omitempty"` }
DestinationConfigParamsChromeDestinationConfig : Payload describing a Chrome destination configuration. This model "extends" DestinationConfigParams
type DestinationConfigParamsFcmDestinationConfig ¶ added in v0.0.6
type DestinationConfigParamsFcmDestinationConfig struct { // FCM server_key. ServerKey *string `json:"server_key" validate:"required"` // FCM sender_id. SenderID *string `json:"sender_id" validate:"required"` // If pre prod enabled. PreProd *bool `json:"pre_prod,omitempty"` }
DestinationConfigParamsFcmDestinationConfig : Payload describing a FCM destination configuration. This model "extends" DestinationConfigParams
type DestinationConfigParamsFirefoxDestinationConfig ¶ added in v0.1.0
type DestinationConfigParamsFirefoxDestinationConfig struct { // Website url. WebsiteURL *string `json:"website_url" validate:"required"` // Chrome VAPID public key. PublicKey *string `json:"public_key,omitempty"` // If pre prod enabled. PreProd *bool `json:"pre_prod,omitempty"` }
DestinationConfigParamsFirefoxDestinationConfig : Payload describing a Firefox destination configuration. This model "extends" DestinationConfigParams
type DestinationConfigParamsIntf ¶
type DestinationConfigParamsIntf interface {
// contains filtered or unexported methods
}
type DestinationConfigParamsIosDestinationConfig ¶ added in v0.0.7
type DestinationConfigParamsIosDestinationConfig struct { // Authentication type (p8 or p12). CertType *string `json:"cert_type" validate:"required"` // Sandbox mode for IOS destinations. IsSandbox *bool `json:"is_sandbox" validate:"required"` // Password for certificate (Required when cert_type is p12). Password *string `json:"password,omitempty"` // Key ID for token (Required when cert_type is p8). KeyID *string `json:"key_id,omitempty"` // Team ID for token (Required when cert_type is p8). TeamID *string `json:"team_id,omitempty"` // Bundle ID for token (Required when cert_type is p8). BundleID *string `json:"bundle_id,omitempty"` // If pre prod enabled. PreProd *bool `json:"pre_prod,omitempty"` }
DestinationConfigParamsIosDestinationConfig : Payload describing a IOS destination configuration. This model "extends" DestinationConfigParams
type DestinationConfigParamsMsTeamsDestinationConfig ¶ added in v0.1.3
type DestinationConfigParamsMsTeamsDestinationConfig struct { // URL of MS Teams Incoming Webhook. URL *string `json:"url" validate:"required"` }
DestinationConfigParamsMsTeamsDestinationConfig : Payload describing a MS Teams destination configuration. This model "extends" DestinationConfigParams
type DestinationConfigParamsSafariDestinationConfig ¶ added in v0.1.2
type DestinationConfigParamsSafariDestinationConfig struct { // Authentication type p12. CertType *string `json:"cert_type" validate:"required"` // Password for certificate (Required when cert_type is p12). Password *string `json:"password" validate:"required"` // Websire url. WebsiteURL *string `json:"website_url" validate:"required"` // Websire url. WebsiteName *string `json:"website_name" validate:"required"` // Websire url. URLFormatString *string `json:"url_format_string" validate:"required"` // Websire url. WebsitePushID *string `json:"website_push_id" validate:"required"` // If pre prod enabled. PreProd *bool `json:"pre_prod,omitempty"` }
DestinationConfigParamsSafariDestinationConfig : Payload describing a safari destination configuration. This model "extends" DestinationConfigParams
type DestinationConfigParamsSlackDestinationConfig ¶ added in v0.1.1
type DestinationConfigParamsSlackDestinationConfig struct { // URL of Slack Incoming Webhook. URL *string `json:"url" validate:"required"` }
DestinationConfigParamsSlackDestinationConfig : Payload describing a slack destination configuration. This model "extends" DestinationConfigParams
type DestinationConfigParamsWebhookDestinationConfig ¶
type DestinationConfigParamsWebhookDestinationConfig struct { // URL of webhook. URL *string `json:"url" validate:"required"` // HTTP method of webhook. Verb *string `json:"verb" validate:"required"` // Custom headers (Key-Value pair) for webhook call. CustomHeaders map[string]string `json:"custom_headers,omitempty"` // List of sensitive headers from custom headers. SensitiveHeaders []string `json:"sensitive_headers,omitempty"` }
DestinationConfigParamsWebhookDestinationConfig : Payload describing a webhook destination configuration. This model "extends" DestinationConfigParams
type DestinationList ¶
type DestinationList struct { // Total number of destinations. TotalCount *int64 `json:"total_count" validate:"required"` // Current offset. Offset *int64 `json:"offset" validate:"required"` // limit to show destinations. Limit *int64 `json:"limit" validate:"required"` // List of destinations. Destinations []DestinationListItem `json:"destinations" validate:"required"` }
DestinationList : Payload describing a destination list request.
type DestinationListItem ¶ added in v0.0.6
type DestinationListItem struct { // Destination ID. ID *string `json:"id" validate:"required"` // Destination name. Name *string `json:"name" validate:"required"` // Destination description. Description *string `json:"description" validate:"required"` // Destination type. Type *string `json:"type" validate:"required"` // Subscription count. SubscriptionCount *int64 `json:"subscription_count" validate:"required"` // Names of subscriptions. SubscriptionNames []string `json:"subscription_names" validate:"required"` // Updated at. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` }
DestinationListItem : Destination object.
type DestinationResponse ¶
type DestinationResponse struct { // Destination ID. ID *string `json:"id" validate:"required"` // Destination name. Name *string `json:"name" validate:"required"` // Destination description. Description *string `json:"description" validate:"required"` // Destination type. Type *string `json:"type" validate:"required"` // Payload describing a destination configuration. Config *DestinationConfig `json:"config" validate:"required"` // Last updated time. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` }
DestinationResponse : Payload describing a destination get request.
type DestinationTagsSubscriptionResponse ¶ added in v0.0.6
type DestinationTagsSubscriptionResponse struct { // Subscription Tag ID. ID *string `json:"id" validate:"required"` // Unique identifier of the device. DeviceID *string `json:"device_id" validate:"required"` // The name of the tag its subscribed. TagName *string `json:"tag_name" validate:"required"` // The user identifier for the the device registration. UserID *string `json:"user_id,omitempty"` // Last updated time. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` }
DestinationTagsSubscriptionResponse : Payload describing a destination get request.
type DeviceCount ¶ added in v0.1.4
type DeviceCount struct { // Total number of devices. TotalCount *int64 `json:"total_count" validate:"required"` }
DeviceCount : Payload describing Device Count.
type EmailAttributesResponseInvitedItem ¶ added in v0.1.4
type EmailAttributesResponseInvitedItem struct { // email address. Email *string `json:"email,omitempty"` // time of addition. Time *strfmt.DateTime `json:"time,omitempty"` }
EmailAttributesResponseInvitedItem : EmailAttributesResponseInvitedItem struct
type EmailAttributesResponseToItem ¶ added in v0.1.4
type EmailAttributesResponseToItem struct { // email address. Email *string `json:"email,omitempty"` // time of addition. Time *strfmt.DateTime `json:"time,omitempty"` }
EmailAttributesResponseToItem : EmailAttributesResponseToItem struct
type EmailAttributesResponseUnsubscribedItem ¶ added in v0.1.4
type EmailAttributesResponseUnsubscribedItem struct { // email address. Email *string `json:"email,omitempty"` // time of addition. Time *strfmt.DateTime `json:"time,omitempty"` }
EmailAttributesResponseUnsubscribedItem : EmailAttributesResponseUnsubscribedItem struct
type EmailUpdateAttributesTo ¶ added in v0.0.5
type EmailUpdateAttributesTo struct { // The email ids. Add []string `json:"add,omitempty"` // The email ids for removal. Remove []string `json:"remove,omitempty"` }
EmailUpdateAttributesTo : The email ids.
type EmailUpdateAttributesUnsubscribed ¶ added in v0.0.5
type EmailUpdateAttributesUnsubscribed struct { // The email ids unsubscribed. Remove []string `json:"remove,omitempty"` }
EmailUpdateAttributesUnsubscribed : The email ids.
type EventNotificationsV1 ¶
type EventNotificationsV1 struct {
Service *core.BaseService
}
EventNotificationsV1 : No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
API Version: 1.0
func NewEventNotificationsV1 ¶
func NewEventNotificationsV1(options *EventNotificationsV1Options) (service *EventNotificationsV1, err error)
NewEventNotificationsV1 : constructs an instance of EventNotificationsV1 with passed in options.
func NewEventNotificationsV1UsingExternalConfig ¶
func NewEventNotificationsV1UsingExternalConfig(options *EventNotificationsV1Options) (eventNotifications *EventNotificationsV1, err error)
NewEventNotificationsV1UsingExternalConfig : constructs an instance of EventNotificationsV1 with passed in options and external configuration.
func (*EventNotificationsV1) Clone ¶
func (eventNotifications *EventNotificationsV1) Clone() *EventNotificationsV1
Clone makes a copy of "eventNotifications" suitable for processing requests.
func (*EventNotificationsV1) CreateDestination ¶
func (eventNotifications *EventNotificationsV1) CreateDestination(createDestinationOptions *CreateDestinationOptions) (result *DestinationResponse, response *core.DetailedResponse, err error)
CreateDestination : Create a new Destination Create a new Destination.
func (*EventNotificationsV1) CreateDestinationWithContext ¶
func (eventNotifications *EventNotificationsV1) CreateDestinationWithContext(ctx context.Context, createDestinationOptions *CreateDestinationOptions) (result *DestinationResponse, response *core.DetailedResponse, err error)
CreateDestinationWithContext is an alternate form of the CreateDestination method which supports a Context parameter
func (*EventNotificationsV1) CreateSources ¶ added in v0.0.8
func (eventNotifications *EventNotificationsV1) CreateSources(createSourcesOptions *CreateSourcesOptions) (result *SourceResponse, response *core.DetailedResponse, err error)
CreateSources : Create a new API Source Create a new API Source.
func (*EventNotificationsV1) CreateSourcesWithContext ¶ added in v0.0.8
func (eventNotifications *EventNotificationsV1) CreateSourcesWithContext(ctx context.Context, createSourcesOptions *CreateSourcesOptions) (result *SourceResponse, response *core.DetailedResponse, err error)
CreateSourcesWithContext is an alternate form of the CreateSources method which supports a Context parameter
func (*EventNotificationsV1) CreateSubscription ¶
func (eventNotifications *EventNotificationsV1) CreateSubscription(createSubscriptionOptions *CreateSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
CreateSubscription : Create a new Subscription Create a new Subscription.
func (*EventNotificationsV1) CreateSubscriptionWithContext ¶
func (eventNotifications *EventNotificationsV1) CreateSubscriptionWithContext(ctx context.Context, createSubscriptionOptions *CreateSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
CreateSubscriptionWithContext is an alternate form of the CreateSubscription method which supports a Context parameter
func (*EventNotificationsV1) CreateTagsSubscription ¶ added in v0.0.6
func (eventNotifications *EventNotificationsV1) CreateTagsSubscription(createTagsSubscriptionOptions *CreateTagsSubscriptionOptions) (result *DestinationTagsSubscriptionResponse, response *core.DetailedResponse, err error)
CreateTagsSubscription : Create a new Tag subscription Create a new Tag subscription.
func (*EventNotificationsV1) CreateTagsSubscriptionWithContext ¶ added in v0.0.6
func (eventNotifications *EventNotificationsV1) CreateTagsSubscriptionWithContext(ctx context.Context, createTagsSubscriptionOptions *CreateTagsSubscriptionOptions) (result *DestinationTagsSubscriptionResponse, response *core.DetailedResponse, err error)
CreateTagsSubscriptionWithContext is an alternate form of the CreateTagsSubscription method which supports a Context parameter
func (*EventNotificationsV1) CreateTopic ¶
func (eventNotifications *EventNotificationsV1) CreateTopic(createTopicOptions *CreateTopicOptions) (result *TopicResponse, response *core.DetailedResponse, err error)
CreateTopic : Create a new Topic Create a new Topic.
func (*EventNotificationsV1) CreateTopicWithContext ¶
func (eventNotifications *EventNotificationsV1) CreateTopicWithContext(ctx context.Context, createTopicOptions *CreateTopicOptions) (result *TopicResponse, response *core.DetailedResponse, err error)
CreateTopicWithContext is an alternate form of the CreateTopic method which supports a Context parameter
func (*EventNotificationsV1) DeleteDestination ¶
func (eventNotifications *EventNotificationsV1) DeleteDestination(deleteDestinationOptions *DeleteDestinationOptions) (response *core.DetailedResponse, err error)
DeleteDestination : Delete a Destination Delete a Destination.
func (*EventNotificationsV1) DeleteDestinationWithContext ¶
func (eventNotifications *EventNotificationsV1) DeleteDestinationWithContext(ctx context.Context, deleteDestinationOptions *DeleteDestinationOptions) (response *core.DetailedResponse, err error)
DeleteDestinationWithContext is an alternate form of the DeleteDestination method which supports a Context parameter
func (*EventNotificationsV1) DeleteSource ¶ added in v0.0.8
func (eventNotifications *EventNotificationsV1) DeleteSource(deleteSourceOptions *DeleteSourceOptions) (response *core.DetailedResponse, err error)
DeleteSource : Delete a Source Delete a Source.
func (*EventNotificationsV1) DeleteSourceWithContext ¶ added in v0.0.8
func (eventNotifications *EventNotificationsV1) DeleteSourceWithContext(ctx context.Context, deleteSourceOptions *DeleteSourceOptions) (response *core.DetailedResponse, err error)
DeleteSourceWithContext is an alternate form of the DeleteSource method which supports a Context parameter
func (*EventNotificationsV1) DeleteSubscription ¶
func (eventNotifications *EventNotificationsV1) DeleteSubscription(deleteSubscriptionOptions *DeleteSubscriptionOptions) (response *core.DetailedResponse, err error)
DeleteSubscription : Delete a Subscription Delete a Subscription.
func (*EventNotificationsV1) DeleteSubscriptionWithContext ¶
func (eventNotifications *EventNotificationsV1) DeleteSubscriptionWithContext(ctx context.Context, deleteSubscriptionOptions *DeleteSubscriptionOptions) (response *core.DetailedResponse, err error)
DeleteSubscriptionWithContext is an alternate form of the DeleteSubscription method which supports a Context parameter
func (*EventNotificationsV1) DeleteTagsSubscription ¶ added in v0.0.6
func (eventNotifications *EventNotificationsV1) DeleteTagsSubscription(deleteTagsSubscriptionOptions *DeleteTagsSubscriptionOptions) (response *core.DetailedResponse, err error)
DeleteTagsSubscription : Delete a Tag subcription Delete a Tag subcription.
func (*EventNotificationsV1) DeleteTagsSubscriptionWithContext ¶ added in v0.0.6
func (eventNotifications *EventNotificationsV1) DeleteTagsSubscriptionWithContext(ctx context.Context, deleteTagsSubscriptionOptions *DeleteTagsSubscriptionOptions) (response *core.DetailedResponse, err error)
DeleteTagsSubscriptionWithContext is an alternate form of the DeleteTagsSubscription method which supports a Context parameter
func (*EventNotificationsV1) DeleteTopic ¶
func (eventNotifications *EventNotificationsV1) DeleteTopic(deleteTopicOptions *DeleteTopicOptions) (response *core.DetailedResponse, err error)
DeleteTopic : Delete a Topic Delete a Topic.
func (*EventNotificationsV1) DeleteTopicWithContext ¶
func (eventNotifications *EventNotificationsV1) DeleteTopicWithContext(ctx context.Context, deleteTopicOptions *DeleteTopicOptions) (response *core.DetailedResponse, err error)
DeleteTopicWithContext is an alternate form of the DeleteTopic method which supports a Context parameter
func (*EventNotificationsV1) DisableRetries ¶
func (eventNotifications *EventNotificationsV1) DisableRetries()
DisableRetries disables automatic retries for requests invoked for this service instance.
func (*EventNotificationsV1) EnableRetries ¶
func (eventNotifications *EventNotificationsV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.
func (*EventNotificationsV1) GetDestination ¶
func (eventNotifications *EventNotificationsV1) GetDestination(getDestinationOptions *GetDestinationOptions) (result *Destination, response *core.DetailedResponse, err error)
GetDestination : Get details of a Destination Get details of a Destination.
func (*EventNotificationsV1) GetDestinationWithContext ¶
func (eventNotifications *EventNotificationsV1) GetDestinationWithContext(ctx context.Context, getDestinationOptions *GetDestinationOptions) (result *Destination, response *core.DetailedResponse, err error)
GetDestinationWithContext is an alternate form of the GetDestination method which supports a Context parameter
func (*EventNotificationsV1) GetDeviceCount ¶ added in v0.1.4
func (eventNotifications *EventNotificationsV1) GetDeviceCount(getDeviceCountOptions *GetDeviceCountOptions) (result *DeviceCount, response *core.DetailedResponse, err error)
GetDeviceCount : Get Device count Get Device count.
func (*EventNotificationsV1) GetDeviceCountWithContext ¶ added in v0.1.4
func (eventNotifications *EventNotificationsV1) GetDeviceCountWithContext(ctx context.Context, getDeviceCountOptions *GetDeviceCountOptions) (result *DeviceCount, response *core.DetailedResponse, err error)
GetDeviceCountWithContext is an alternate form of the GetDeviceCount method which supports a Context parameter
func (*EventNotificationsV1) GetEnableGzipCompression ¶
func (eventNotifications *EventNotificationsV1) GetEnableGzipCompression() bool
GetEnableGzipCompression returns the service's EnableGzipCompression field
func (*EventNotificationsV1) GetServiceURL ¶
func (eventNotifications *EventNotificationsV1) GetServiceURL() string
GetServiceURL returns the service URL
func (*EventNotificationsV1) GetSource ¶
func (eventNotifications *EventNotificationsV1) GetSource(getSourceOptions *GetSourceOptions) (result *Source, response *core.DetailedResponse, err error)
GetSource : Get a Source Get a Sources.
func (*EventNotificationsV1) GetSourceWithContext ¶
func (eventNotifications *EventNotificationsV1) GetSourceWithContext(ctx context.Context, getSourceOptions *GetSourceOptions) (result *Source, response *core.DetailedResponse, err error)
GetSourceWithContext is an alternate form of the GetSource method which supports a Context parameter
func (*EventNotificationsV1) GetSubscription ¶
func (eventNotifications *EventNotificationsV1) GetSubscription(getSubscriptionOptions *GetSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
GetSubscription : Get details of a Subscription Get details of a Subscription.
func (*EventNotificationsV1) GetSubscriptionWithContext ¶
func (eventNotifications *EventNotificationsV1) GetSubscriptionWithContext(ctx context.Context, getSubscriptionOptions *GetSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
GetSubscriptionWithContext is an alternate form of the GetSubscription method which supports a Context parameter
func (*EventNotificationsV1) GetTagsSubscriptionsDevice ¶ added in v0.1.4
func (eventNotifications *EventNotificationsV1) GetTagsSubscriptionsDevice(getTagsSubscriptionsDeviceOptions *GetTagsSubscriptionsDeviceOptions) (result *TagsSubscriptionList, response *core.DetailedResponse, err error)
GetTagsSubscriptionsDevice : List all Tag Subscriptions for a device List all Tag Subscriptions for a device.
func (*EventNotificationsV1) GetTagsSubscriptionsDeviceWithContext ¶ added in v0.1.4
func (eventNotifications *EventNotificationsV1) GetTagsSubscriptionsDeviceWithContext(ctx context.Context, getTagsSubscriptionsDeviceOptions *GetTagsSubscriptionsDeviceOptions) (result *TagsSubscriptionList, response *core.DetailedResponse, err error)
GetTagsSubscriptionsDeviceWithContext is an alternate form of the GetTagsSubscriptionsDevice method which supports a Context parameter
func (*EventNotificationsV1) GetTopic ¶
func (eventNotifications *EventNotificationsV1) GetTopic(getTopicOptions *GetTopicOptions) (result *Topic, response *core.DetailedResponse, err error)
GetTopic : Get details of a Topic Get details of a Topic.
func (*EventNotificationsV1) GetTopicWithContext ¶
func (eventNotifications *EventNotificationsV1) GetTopicWithContext(ctx context.Context, getTopicOptions *GetTopicOptions) (result *Topic, response *core.DetailedResponse, err error)
GetTopicWithContext is an alternate form of the GetTopic method which supports a Context parameter
func (*EventNotificationsV1) ListDestinations ¶
func (eventNotifications *EventNotificationsV1) ListDestinations(listDestinationsOptions *ListDestinationsOptions) (result *DestinationList, response *core.DetailedResponse, err error)
ListDestinations : List all Destinations List all Destinations.
func (*EventNotificationsV1) ListDestinationsWithContext ¶
func (eventNotifications *EventNotificationsV1) ListDestinationsWithContext(ctx context.Context, listDestinationsOptions *ListDestinationsOptions) (result *DestinationList, response *core.DetailedResponse, err error)
ListDestinationsWithContext is an alternate form of the ListDestinations method which supports a Context parameter
func (*EventNotificationsV1) ListSources ¶
func (eventNotifications *EventNotificationsV1) ListSources(listSourcesOptions *ListSourcesOptions) (result *SourceList, response *core.DetailedResponse, err error)
ListSources : List all Sources List all Sources.
func (*EventNotificationsV1) ListSourcesWithContext ¶
func (eventNotifications *EventNotificationsV1) ListSourcesWithContext(ctx context.Context, listSourcesOptions *ListSourcesOptions) (result *SourceList, response *core.DetailedResponse, err error)
ListSourcesWithContext is an alternate form of the ListSources method which supports a Context parameter
func (*EventNotificationsV1) ListSubscriptions ¶
func (eventNotifications *EventNotificationsV1) ListSubscriptions(listSubscriptionsOptions *ListSubscriptionsOptions) (result *SubscriptionList, response *core.DetailedResponse, err error)
ListSubscriptions : List all Subscriptions List all Subscriptions.
func (*EventNotificationsV1) ListSubscriptionsWithContext ¶
func (eventNotifications *EventNotificationsV1) ListSubscriptionsWithContext(ctx context.Context, listSubscriptionsOptions *ListSubscriptionsOptions) (result *SubscriptionList, response *core.DetailedResponse, err error)
ListSubscriptionsWithContext is an alternate form of the ListSubscriptions method which supports a Context parameter
func (*EventNotificationsV1) ListTagsSubscription ¶ added in v0.0.6
func (eventNotifications *EventNotificationsV1) ListTagsSubscription(listTagsSubscriptionOptions *ListTagsSubscriptionOptions) (result *TagsSubscriptionList, response *core.DetailedResponse, err error)
ListTagsSubscription : List all Tag Subscriptions List all Tag Subscriptions.
func (*EventNotificationsV1) ListTagsSubscriptionWithContext ¶ added in v0.0.6
func (eventNotifications *EventNotificationsV1) ListTagsSubscriptionWithContext(ctx context.Context, listTagsSubscriptionOptions *ListTagsSubscriptionOptions) (result *TagsSubscriptionList, response *core.DetailedResponse, err error)
ListTagsSubscriptionWithContext is an alternate form of the ListTagsSubscription method which supports a Context parameter
func (*EventNotificationsV1) ListTopics ¶
func (eventNotifications *EventNotificationsV1) ListTopics(listTopicsOptions *ListTopicsOptions) (result *TopicList, response *core.DetailedResponse, err error)
ListTopics : List all Topics List all Topics.
func (*EventNotificationsV1) ListTopicsWithContext ¶
func (eventNotifications *EventNotificationsV1) ListTopicsWithContext(ctx context.Context, listTopicsOptions *ListTopicsOptions) (result *TopicList, response *core.DetailedResponse, err error)
ListTopicsWithContext is an alternate form of the ListTopics method which supports a Context parameter
func (*EventNotificationsV1) NewCreateDestinationOptions ¶
func (*EventNotificationsV1) NewCreateDestinationOptions(instanceID string, name string, typeVar string) *CreateDestinationOptions
NewCreateDestinationOptions : Instantiate CreateDestinationOptions
func (*EventNotificationsV1) NewCreateSourcesOptions ¶ added in v0.0.8
func (*EventNotificationsV1) NewCreateSourcesOptions(instanceID string, name string, description string) *CreateSourcesOptions
NewCreateSourcesOptions : Instantiate CreateSourcesOptions
func (*EventNotificationsV1) NewCreateSubscriptionOptions ¶
func (*EventNotificationsV1) NewCreateSubscriptionOptions(instanceID string, name string, destinationID string, topicID string) *CreateSubscriptionOptions
NewCreateSubscriptionOptions : Instantiate CreateSubscriptionOptions
func (*EventNotificationsV1) NewCreateTagsSubscriptionOptions ¶ added in v0.0.6
func (*EventNotificationsV1) NewCreateTagsSubscriptionOptions(instanceID string, id string, deviceID string, tagName string) *CreateTagsSubscriptionOptions
NewCreateTagsSubscriptionOptions : Instantiate CreateTagsSubscriptionOptions
func (*EventNotificationsV1) NewCreateTopicOptions ¶
func (*EventNotificationsV1) NewCreateTopicOptions(instanceID string, name string) *CreateTopicOptions
NewCreateTopicOptions : Instantiate CreateTopicOptions
func (*EventNotificationsV1) NewDeleteDestinationOptions ¶
func (*EventNotificationsV1) NewDeleteDestinationOptions(instanceID string, id string) *DeleteDestinationOptions
NewDeleteDestinationOptions : Instantiate DeleteDestinationOptions
func (*EventNotificationsV1) NewDeleteSourceOptions ¶ added in v0.0.8
func (*EventNotificationsV1) NewDeleteSourceOptions(instanceID string, id string) *DeleteSourceOptions
NewDeleteSourceOptions : Instantiate DeleteSourceOptions
func (*EventNotificationsV1) NewDeleteSubscriptionOptions ¶
func (*EventNotificationsV1) NewDeleteSubscriptionOptions(instanceID string, id string) *DeleteSubscriptionOptions
NewDeleteSubscriptionOptions : Instantiate DeleteSubscriptionOptions
func (*EventNotificationsV1) NewDeleteTagsSubscriptionOptions ¶ added in v0.0.6
func (*EventNotificationsV1) NewDeleteTagsSubscriptionOptions(instanceID string, id string) *DeleteTagsSubscriptionOptions
NewDeleteTagsSubscriptionOptions : Instantiate DeleteTagsSubscriptionOptions
func (*EventNotificationsV1) NewDeleteTopicOptions ¶
func (*EventNotificationsV1) NewDeleteTopicOptions(instanceID string, id string) *DeleteTopicOptions
NewDeleteTopicOptions : Instantiate DeleteTopicOptions
func (*EventNotificationsV1) NewDestinationConfig ¶
func (*EventNotificationsV1) NewDestinationConfig(params DestinationConfigParamsIntf) (_model *DestinationConfig, err error)
NewDestinationConfig : Instantiate DestinationConfig (Generic Model Constructor)
func (*EventNotificationsV1) NewDestinationConfigParamsChromeDestinationConfig ¶ added in v0.1.0
func (*EventNotificationsV1) NewDestinationConfigParamsChromeDestinationConfig(apiKey string, websiteURL string) (_model *DestinationConfigParamsChromeDestinationConfig, err error)
NewDestinationConfigParamsChromeDestinationConfig : Instantiate DestinationConfigParamsChromeDestinationConfig (Generic Model Constructor)
func (*EventNotificationsV1) NewDestinationConfigParamsFcmDestinationConfig ¶ added in v0.0.6
func (*EventNotificationsV1) NewDestinationConfigParamsFcmDestinationConfig(serverKey string, senderID string) (_model *DestinationConfigParamsFcmDestinationConfig, err error)
NewDestinationConfigParamsFcmDestinationConfig : Instantiate DestinationConfigParamsFcmDestinationConfig (Generic Model Constructor)
func (*EventNotificationsV1) NewDestinationConfigParamsFirefoxDestinationConfig ¶ added in v0.1.0
func (*EventNotificationsV1) NewDestinationConfigParamsFirefoxDestinationConfig(websiteURL string) (_model *DestinationConfigParamsFirefoxDestinationConfig, err error)
NewDestinationConfigParamsFirefoxDestinationConfig : Instantiate DestinationConfigParamsFirefoxDestinationConfig (Generic Model Constructor)
func (*EventNotificationsV1) NewDestinationConfigParamsIosDestinationConfig ¶ added in v0.0.7
func (*EventNotificationsV1) NewDestinationConfigParamsIosDestinationConfig(certType string, isSandbox bool) (_model *DestinationConfigParamsIosDestinationConfig, err error)
NewDestinationConfigParamsIosDestinationConfig : Instantiate DestinationConfigParamsIosDestinationConfig (Generic Model Constructor)
func (*EventNotificationsV1) NewDestinationConfigParamsMsTeamsDestinationConfig ¶ added in v0.1.3
func (*EventNotificationsV1) NewDestinationConfigParamsMsTeamsDestinationConfig(url string) (_model *DestinationConfigParamsMsTeamsDestinationConfig, err error)
NewDestinationConfigParamsMsTeamsDestinationConfig : Instantiate DestinationConfigParamsMsTeamsDestinationConfig (Generic Model Constructor)
func (*EventNotificationsV1) NewDestinationConfigParamsSafariDestinationConfig ¶ added in v0.1.2
func (*EventNotificationsV1) NewDestinationConfigParamsSafariDestinationConfig(certType string, password string, websiteURL string, websiteName string, urlFormatString string, websitePushID string) (_model *DestinationConfigParamsSafariDestinationConfig, err error)
NewDestinationConfigParamsSafariDestinationConfig : Instantiate DestinationConfigParamsSafariDestinationConfig (Generic Model Constructor)
func (*EventNotificationsV1) NewDestinationConfigParamsSlackDestinationConfig ¶ added in v0.1.1
func (*EventNotificationsV1) NewDestinationConfigParamsSlackDestinationConfig(url string) (_model *DestinationConfigParamsSlackDestinationConfig, err error)
NewDestinationConfigParamsSlackDestinationConfig : Instantiate DestinationConfigParamsSlackDestinationConfig (Generic Model Constructor)
func (*EventNotificationsV1) NewDestinationConfigParamsWebhookDestinationConfig ¶
func (*EventNotificationsV1) NewDestinationConfigParamsWebhookDestinationConfig(url string, verb string) (_model *DestinationConfigParamsWebhookDestinationConfig, err error)
NewDestinationConfigParamsWebhookDestinationConfig : Instantiate DestinationConfigParamsWebhookDestinationConfig (Generic Model Constructor)
func (*EventNotificationsV1) NewGetDestinationOptions ¶
func (*EventNotificationsV1) NewGetDestinationOptions(instanceID string, id string) *GetDestinationOptions
NewGetDestinationOptions : Instantiate GetDestinationOptions
func (*EventNotificationsV1) NewGetDeviceCountOptions ¶ added in v0.1.4
func (*EventNotificationsV1) NewGetDeviceCountOptions(instanceID string, id string) *GetDeviceCountOptions
NewGetDeviceCountOptions : Instantiate GetDeviceCountOptions
func (*EventNotificationsV1) NewGetSourceOptions ¶
func (*EventNotificationsV1) NewGetSourceOptions(instanceID string, id string) *GetSourceOptions
NewGetSourceOptions : Instantiate GetSourceOptions
func (*EventNotificationsV1) NewGetSubscriptionOptions ¶
func (*EventNotificationsV1) NewGetSubscriptionOptions(instanceID string, id string) *GetSubscriptionOptions
NewGetSubscriptionOptions : Instantiate GetSubscriptionOptions
func (*EventNotificationsV1) NewGetTagsSubscriptionsDeviceOptions ¶ added in v0.1.4
func (*EventNotificationsV1) NewGetTagsSubscriptionsDeviceOptions(instanceID string, id string, deviceID string) *GetTagsSubscriptionsDeviceOptions
NewGetTagsSubscriptionsDeviceOptions : Instantiate GetTagsSubscriptionsDeviceOptions
func (*EventNotificationsV1) NewGetTopicOptions ¶
func (*EventNotificationsV1) NewGetTopicOptions(instanceID string, id string) *GetTopicOptions
NewGetTopicOptions : Instantiate GetTopicOptions
func (*EventNotificationsV1) NewListDestinationsOptions ¶
func (*EventNotificationsV1) NewListDestinationsOptions(instanceID string) *ListDestinationsOptions
NewListDestinationsOptions : Instantiate ListDestinationsOptions
func (*EventNotificationsV1) NewListSourcesOptions ¶
func (*EventNotificationsV1) NewListSourcesOptions(instanceID string) *ListSourcesOptions
NewListSourcesOptions : Instantiate ListSourcesOptions
func (*EventNotificationsV1) NewListSubscriptionsOptions ¶
func (*EventNotificationsV1) NewListSubscriptionsOptions(instanceID string) *ListSubscriptionsOptions
NewListSubscriptionsOptions : Instantiate ListSubscriptionsOptions
func (*EventNotificationsV1) NewListTagsSubscriptionOptions ¶ added in v0.0.6
func (*EventNotificationsV1) NewListTagsSubscriptionOptions(instanceID string, id string) *ListTagsSubscriptionOptions
NewListTagsSubscriptionOptions : Instantiate ListTagsSubscriptionOptions
func (*EventNotificationsV1) NewListTopicsOptions ¶
func (*EventNotificationsV1) NewListTopicsOptions(instanceID string) *ListTopicsOptions
NewListTopicsOptions : Instantiate ListTopicsOptions
func (*EventNotificationsV1) NewNotificationCreate ¶ added in v0.1.4
func (*EventNotificationsV1) NewNotificationCreate(specversion string, ibmensourceid string, ibmendefaultshort string, ibmendefaultlong string) (_model *NotificationCreate, err error)
NewNotificationCreate : Instantiate NotificationCreate (Generic Model Constructor)
func (*EventNotificationsV1) NewReplaceTopicOptions ¶
func (*EventNotificationsV1) NewReplaceTopicOptions(instanceID string, id string) *ReplaceTopicOptions
NewReplaceTopicOptions : Instantiate ReplaceTopicOptions
func (*EventNotificationsV1) NewRules ¶
func (*EventNotificationsV1) NewRules(eventTypeFilter string) (_model *Rules, err error)
NewRules : Instantiate Rules (Generic Model Constructor)
func (*EventNotificationsV1) NewSendBulkNotificationsOptions ¶ added in v0.1.1
func (*EventNotificationsV1) NewSendBulkNotificationsOptions(instanceID string) *SendBulkNotificationsOptions
NewSendBulkNotificationsOptions : Instantiate SendBulkNotificationsOptions
func (*EventNotificationsV1) NewSendNotificationsOptions ¶ added in v0.0.6
func (*EventNotificationsV1) NewSendNotificationsOptions(instanceID string) *SendNotificationsOptions
NewSendNotificationsOptions : Instantiate SendNotificationsOptions
func (*EventNotificationsV1) NewSubscriptionCreateAttributesEmailAttributes ¶
func (*EventNotificationsV1) NewSubscriptionCreateAttributesEmailAttributes(to []string, addNotificationPayload bool, replyToMail string, replyToName string, fromName string) (_model *SubscriptionCreateAttributesEmailAttributes, err error)
NewSubscriptionCreateAttributesEmailAttributes : Instantiate SubscriptionCreateAttributesEmailAttributes (Generic Model Constructor)
func (*EventNotificationsV1) NewSubscriptionCreateAttributesSlackAttributes ¶ added in v0.1.1
func (*EventNotificationsV1) NewSubscriptionCreateAttributesSlackAttributes(attachmentColor string) (_model *SubscriptionCreateAttributesSlackAttributes, err error)
NewSubscriptionCreateAttributesSlackAttributes : Instantiate SubscriptionCreateAttributesSlackAttributes (Generic Model Constructor)
func (*EventNotificationsV1) NewSubscriptionCreateAttributesSmsAttributes ¶
func (*EventNotificationsV1) NewSubscriptionCreateAttributesSmsAttributes(to []string) (_model *SubscriptionCreateAttributesSmsAttributes, err error)
NewSubscriptionCreateAttributesSmsAttributes : Instantiate SubscriptionCreateAttributesSmsAttributes (Generic Model Constructor)
func (*EventNotificationsV1) NewSubscriptionCreateAttributesWebhookAttributes ¶
func (*EventNotificationsV1) NewSubscriptionCreateAttributesWebhookAttributes(signingEnabled bool) (_model *SubscriptionCreateAttributesWebhookAttributes, err error)
NewSubscriptionCreateAttributesWebhookAttributes : Instantiate SubscriptionCreateAttributesWebhookAttributes (Generic Model Constructor)
func (*EventNotificationsV1) NewSubscriptionUpdateAttributesEmailUpdateAttributes ¶ added in v0.0.5
func (*EventNotificationsV1) NewSubscriptionUpdateAttributesEmailUpdateAttributes(to *EmailUpdateAttributesTo, addNotificationPayload bool, replyToMail string, replyToName string, fromName string) (_model *SubscriptionUpdateAttributesEmailUpdateAttributes, err error)
NewSubscriptionUpdateAttributesEmailUpdateAttributes : Instantiate SubscriptionUpdateAttributesEmailUpdateAttributes (Generic Model Constructor)
func (*EventNotificationsV1) NewSubscriptionUpdateAttributesSlackAttributes ¶ added in v0.1.1
func (*EventNotificationsV1) NewSubscriptionUpdateAttributesSlackAttributes(attachmentColor string) (_model *SubscriptionUpdateAttributesSlackAttributes, err error)
NewSubscriptionUpdateAttributesSlackAttributes : Instantiate SubscriptionUpdateAttributesSlackAttributes (Generic Model Constructor)
func (*EventNotificationsV1) NewSubscriptionUpdateAttributesSmsAttributes ¶
func (*EventNotificationsV1) NewSubscriptionUpdateAttributesSmsAttributes(to []string) (_model *SubscriptionUpdateAttributesSmsAttributes, err error)
NewSubscriptionUpdateAttributesSmsAttributes : Instantiate SubscriptionUpdateAttributesSmsAttributes (Generic Model Constructor)
func (*EventNotificationsV1) NewSubscriptionUpdateAttributesWebhookAttributes ¶
func (*EventNotificationsV1) NewSubscriptionUpdateAttributesWebhookAttributes(signingEnabled bool) (_model *SubscriptionUpdateAttributesWebhookAttributes, err error)
NewSubscriptionUpdateAttributesWebhookAttributes : Instantiate SubscriptionUpdateAttributesWebhookAttributes (Generic Model Constructor)
func (*EventNotificationsV1) NewTopicUpdateSourcesItem ¶
func (*EventNotificationsV1) NewTopicUpdateSourcesItem(id string, rules []Rules) (_model *TopicUpdateSourcesItem, err error)
NewTopicUpdateSourcesItem : Instantiate TopicUpdateSourcesItem (Generic Model Constructor)
func (*EventNotificationsV1) NewUpdateDestinationOptions ¶
func (*EventNotificationsV1) NewUpdateDestinationOptions(instanceID string, id string) *UpdateDestinationOptions
NewUpdateDestinationOptions : Instantiate UpdateDestinationOptions
func (*EventNotificationsV1) NewUpdateSourceOptions ¶ added in v0.0.8
func (*EventNotificationsV1) NewUpdateSourceOptions(instanceID string, id string) *UpdateSourceOptions
NewUpdateSourceOptions : Instantiate UpdateSourceOptions
func (*EventNotificationsV1) NewUpdateSubscriptionOptions ¶
func (*EventNotificationsV1) NewUpdateSubscriptionOptions(instanceID string, id string) *UpdateSubscriptionOptions
NewUpdateSubscriptionOptions : Instantiate UpdateSubscriptionOptions
func (*EventNotificationsV1) ReplaceTopic ¶
func (eventNotifications *EventNotificationsV1) ReplaceTopic(replaceTopicOptions *ReplaceTopicOptions) (result *Topic, response *core.DetailedResponse, err error)
ReplaceTopic : Update details of a Topic Update details of a Topic.
func (*EventNotificationsV1) ReplaceTopicWithContext ¶
func (eventNotifications *EventNotificationsV1) ReplaceTopicWithContext(ctx context.Context, replaceTopicOptions *ReplaceTopicOptions) (result *Topic, response *core.DetailedResponse, err error)
ReplaceTopicWithContext is an alternate form of the ReplaceTopic method which supports a Context parameter
func (*EventNotificationsV1) SendBulkNotifications ¶ added in v0.1.1
func (eventNotifications *EventNotificationsV1) SendBulkNotifications(sendBulkNotificationsOptions *SendBulkNotificationsOptions) (result *BulkNotificationResponse, response *core.DetailedResponse, err error)
SendBulkNotifications : Send Bulk notification
func (*EventNotificationsV1) SendBulkNotificationsWithContext ¶ added in v0.1.1
func (eventNotifications *EventNotificationsV1) SendBulkNotificationsWithContext(ctx context.Context, sendBulkNotificationsOptions *SendBulkNotificationsOptions) (result *BulkNotificationResponse, response *core.DetailedResponse, err error)
SendBulkNotificationsWithContext is an alternate form of the SendBulkNotifications method which supports a Context parameter
func (*EventNotificationsV1) SendNotifications ¶ added in v0.0.6
func (eventNotifications *EventNotificationsV1) SendNotifications(sendNotificationsOptions *SendNotificationsOptions) (result *NotificationResponse, response *core.DetailedResponse, err error)
SendNotifications : Send a notification Send Notifications body from the instance.
func (*EventNotificationsV1) SendNotificationsWithContext ¶ added in v0.0.6
func (eventNotifications *EventNotificationsV1) SendNotificationsWithContext(ctx context.Context, sendNotificationsOptions *SendNotificationsOptions) (result *NotificationResponse, response *core.DetailedResponse, err error)
SendNotificationsWithContext is an alternate form of the SendNotifications method which supports a Context parameter
func (*EventNotificationsV1) SetDefaultHeaders ¶
func (eventNotifications *EventNotificationsV1) SetDefaultHeaders(headers http.Header)
SetDefaultHeaders sets HTTP headers to be sent in every request
func (*EventNotificationsV1) SetEnableGzipCompression ¶
func (eventNotifications *EventNotificationsV1) SetEnableGzipCompression(enableGzip bool)
SetEnableGzipCompression sets the service's EnableGzipCompression field
func (*EventNotificationsV1) SetServiceURL ¶
func (eventNotifications *EventNotificationsV1) SetServiceURL(url string) error
SetServiceURL sets the service URL
func (*EventNotificationsV1) UpdateDestination ¶
func (eventNotifications *EventNotificationsV1) UpdateDestination(updateDestinationOptions *UpdateDestinationOptions) (result *Destination, response *core.DetailedResponse, err error)
UpdateDestination : Update details of a Destination Update details of a Destination.
func (*EventNotificationsV1) UpdateDestinationWithContext ¶
func (eventNotifications *EventNotificationsV1) UpdateDestinationWithContext(ctx context.Context, updateDestinationOptions *UpdateDestinationOptions) (result *Destination, response *core.DetailedResponse, err error)
UpdateDestinationWithContext is an alternate form of the UpdateDestination method which supports a Context parameter
func (*EventNotificationsV1) UpdateSource ¶ added in v0.0.8
func (eventNotifications *EventNotificationsV1) UpdateSource(updateSourceOptions *UpdateSourceOptions) (result *Source, response *core.DetailedResponse, err error)
UpdateSource : Update details of a Source Update details of a Source.
func (*EventNotificationsV1) UpdateSourceWithContext ¶ added in v0.0.8
func (eventNotifications *EventNotificationsV1) UpdateSourceWithContext(ctx context.Context, updateSourceOptions *UpdateSourceOptions) (result *Source, response *core.DetailedResponse, err error)
UpdateSourceWithContext is an alternate form of the UpdateSource method which supports a Context parameter
func (*EventNotificationsV1) UpdateSubscription ¶
func (eventNotifications *EventNotificationsV1) UpdateSubscription(updateSubscriptionOptions *UpdateSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
UpdateSubscription : Update details of a Subscription Update details of a Subscription.
func (*EventNotificationsV1) UpdateSubscriptionWithContext ¶
func (eventNotifications *EventNotificationsV1) UpdateSubscriptionWithContext(ctx context.Context, updateSubscriptionOptions *UpdateSubscriptionOptions) (result *Subscription, response *core.DetailedResponse, err error)
UpdateSubscriptionWithContext is an alternate form of the UpdateSubscription method which supports a Context parameter
type EventNotificationsV1Options ¶
type EventNotificationsV1Options struct { ServiceName string URL string Authenticator core.Authenticator }
EventNotificationsV1Options : Service options
type GetDestinationOptions ¶
type GetDestinationOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Destination. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
GetDestinationOptions : The GetDestination options.
func (*GetDestinationOptions) SetHeaders ¶
func (options *GetDestinationOptions) SetHeaders(param map[string]string) *GetDestinationOptions
SetHeaders : Allow user to set Headers
func (*GetDestinationOptions) SetID ¶
func (_options *GetDestinationOptions) SetID(id string) *GetDestinationOptions
SetID : Allow user to set ID
func (*GetDestinationOptions) SetInstanceID ¶
func (_options *GetDestinationOptions) SetInstanceID(instanceID string) *GetDestinationOptions
SetInstanceID : Allow user to set InstanceID
type GetDeviceCountOptions ¶ added in v0.1.4
type GetDeviceCountOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Destination. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
GetDeviceCountOptions : The GetDeviceCount options.
func (*GetDeviceCountOptions) SetHeaders ¶ added in v0.1.4
func (options *GetDeviceCountOptions) SetHeaders(param map[string]string) *GetDeviceCountOptions
SetHeaders : Allow user to set Headers
func (*GetDeviceCountOptions) SetID ¶ added in v0.1.4
func (_options *GetDeviceCountOptions) SetID(id string) *GetDeviceCountOptions
SetID : Allow user to set ID
func (*GetDeviceCountOptions) SetInstanceID ¶ added in v0.1.4
func (_options *GetDeviceCountOptions) SetInstanceID(instanceID string) *GetDeviceCountOptions
SetInstanceID : Allow user to set InstanceID
type GetSourceOptions ¶
type GetSourceOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Source. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
GetSourceOptions : The GetSource options.
func (*GetSourceOptions) SetHeaders ¶
func (options *GetSourceOptions) SetHeaders(param map[string]string) *GetSourceOptions
SetHeaders : Allow user to set Headers
func (*GetSourceOptions) SetID ¶
func (_options *GetSourceOptions) SetID(id string) *GetSourceOptions
SetID : Allow user to set ID
func (*GetSourceOptions) SetInstanceID ¶
func (_options *GetSourceOptions) SetInstanceID(instanceID string) *GetSourceOptions
SetInstanceID : Allow user to set InstanceID
type GetSubscriptionOptions ¶
type GetSubscriptionOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Subscription. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
GetSubscriptionOptions : The GetSubscription options.
func (*GetSubscriptionOptions) SetHeaders ¶
func (options *GetSubscriptionOptions) SetHeaders(param map[string]string) *GetSubscriptionOptions
SetHeaders : Allow user to set Headers
func (*GetSubscriptionOptions) SetID ¶
func (_options *GetSubscriptionOptions) SetID(id string) *GetSubscriptionOptions
SetID : Allow user to set ID
func (*GetSubscriptionOptions) SetInstanceID ¶
func (_options *GetSubscriptionOptions) SetInstanceID(instanceID string) *GetSubscriptionOptions
SetInstanceID : Allow user to set InstanceID
type GetTagsSubscriptionsDeviceOptions ¶ added in v0.1.4
type GetTagsSubscriptionsDeviceOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Destination. ID *string `json:"id" validate:"required,ne="` // DeviceID of the destination. DeviceID *string `json:"device_id" validate:"required,ne="` // TagName of the subscription. TagName *string `json:"tag_name,omitempty"` // Page limit for paginated results. Limit *int64 `json:"limit,omitempty"` // offset for paginated results. Offset *int64 `json:"offset,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetTagsSubscriptionsDeviceOptions : The GetTagsSubscriptionsDevice options.
func (*GetTagsSubscriptionsDeviceOptions) SetDeviceID ¶ added in v0.1.4
func (_options *GetTagsSubscriptionsDeviceOptions) SetDeviceID(deviceID string) *GetTagsSubscriptionsDeviceOptions
SetDeviceID : Allow user to set DeviceID
func (*GetTagsSubscriptionsDeviceOptions) SetHeaders ¶ added in v0.1.4
func (options *GetTagsSubscriptionsDeviceOptions) SetHeaders(param map[string]string) *GetTagsSubscriptionsDeviceOptions
SetHeaders : Allow user to set Headers
func (*GetTagsSubscriptionsDeviceOptions) SetID ¶ added in v0.1.4
func (_options *GetTagsSubscriptionsDeviceOptions) SetID(id string) *GetTagsSubscriptionsDeviceOptions
SetID : Allow user to set ID
func (*GetTagsSubscriptionsDeviceOptions) SetInstanceID ¶ added in v0.1.4
func (_options *GetTagsSubscriptionsDeviceOptions) SetInstanceID(instanceID string) *GetTagsSubscriptionsDeviceOptions
SetInstanceID : Allow user to set InstanceID
func (*GetTagsSubscriptionsDeviceOptions) SetLimit ¶ added in v0.1.4
func (_options *GetTagsSubscriptionsDeviceOptions) SetLimit(limit int64) *GetTagsSubscriptionsDeviceOptions
SetLimit : Allow user to set Limit
func (*GetTagsSubscriptionsDeviceOptions) SetOffset ¶ added in v0.1.4
func (_options *GetTagsSubscriptionsDeviceOptions) SetOffset(offset int64) *GetTagsSubscriptionsDeviceOptions
SetOffset : Allow user to set Offset
func (*GetTagsSubscriptionsDeviceOptions) SetTagName ¶ added in v0.1.4
func (_options *GetTagsSubscriptionsDeviceOptions) SetTagName(tagName string) *GetTagsSubscriptionsDeviceOptions
SetTagName : Allow user to set TagName
type GetTopicOptions ¶
type GetTopicOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Topic. ID *string `json:"id" validate:"required,ne="` // Include sub topics. Include *string `json:"include,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetTopicOptions : The GetTopic options.
func (*GetTopicOptions) SetHeaders ¶
func (options *GetTopicOptions) SetHeaders(param map[string]string) *GetTopicOptions
SetHeaders : Allow user to set Headers
func (*GetTopicOptions) SetID ¶
func (_options *GetTopicOptions) SetID(id string) *GetTopicOptions
SetID : Allow user to set ID
func (*GetTopicOptions) SetInclude ¶
func (_options *GetTopicOptions) SetInclude(include string) *GetTopicOptions
SetInclude : Allow user to set Include
func (*GetTopicOptions) SetInstanceID ¶
func (_options *GetTopicOptions) SetInstanceID(instanceID string) *GetTopicOptions
SetInstanceID : Allow user to set InstanceID
type ListDestinationsOptions ¶
type ListDestinationsOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Page limit for paginated results. Limit *int64 `json:"limit,omitempty"` // offset for paginated results. Offset *int64 `json:"offset,omitempty"` // Search string for filtering results. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListDestinationsOptions : The ListDestinations options.
func (*ListDestinationsOptions) SetHeaders ¶
func (options *ListDestinationsOptions) SetHeaders(param map[string]string) *ListDestinationsOptions
SetHeaders : Allow user to set Headers
func (*ListDestinationsOptions) SetInstanceID ¶
func (_options *ListDestinationsOptions) SetInstanceID(instanceID string) *ListDestinationsOptions
SetInstanceID : Allow user to set InstanceID
func (*ListDestinationsOptions) SetLimit ¶
func (_options *ListDestinationsOptions) SetLimit(limit int64) *ListDestinationsOptions
SetLimit : Allow user to set Limit
func (*ListDestinationsOptions) SetOffset ¶
func (_options *ListDestinationsOptions) SetOffset(offset int64) *ListDestinationsOptions
SetOffset : Allow user to set Offset
func (*ListDestinationsOptions) SetSearch ¶
func (_options *ListDestinationsOptions) SetSearch(search string) *ListDestinationsOptions
SetSearch : Allow user to set Search
type ListSourcesOptions ¶
type ListSourcesOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Page limit for paginated results. Limit *int64 `json:"limit,omitempty"` // offset for paginated results. Offset *int64 `json:"offset,omitempty"` // Search string for filtering results. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListSourcesOptions : The ListSources options.
func (*ListSourcesOptions) SetHeaders ¶
func (options *ListSourcesOptions) SetHeaders(param map[string]string) *ListSourcesOptions
SetHeaders : Allow user to set Headers
func (*ListSourcesOptions) SetInstanceID ¶
func (_options *ListSourcesOptions) SetInstanceID(instanceID string) *ListSourcesOptions
SetInstanceID : Allow user to set InstanceID
func (*ListSourcesOptions) SetLimit ¶
func (_options *ListSourcesOptions) SetLimit(limit int64) *ListSourcesOptions
SetLimit : Allow user to set Limit
func (*ListSourcesOptions) SetOffset ¶
func (_options *ListSourcesOptions) SetOffset(offset int64) *ListSourcesOptions
SetOffset : Allow user to set Offset
func (*ListSourcesOptions) SetSearch ¶
func (_options *ListSourcesOptions) SetSearch(search string) *ListSourcesOptions
SetSearch : Allow user to set Search
type ListSubscriptionsOptions ¶
type ListSubscriptionsOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // offset for paginated results. Offset *int64 `json:"offset,omitempty"` // Page limit for paginated results. Limit *int64 `json:"limit,omitempty"` // Search string for filtering results. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListSubscriptionsOptions : The ListSubscriptions options.
func (*ListSubscriptionsOptions) SetHeaders ¶
func (options *ListSubscriptionsOptions) SetHeaders(param map[string]string) *ListSubscriptionsOptions
SetHeaders : Allow user to set Headers
func (*ListSubscriptionsOptions) SetInstanceID ¶
func (_options *ListSubscriptionsOptions) SetInstanceID(instanceID string) *ListSubscriptionsOptions
SetInstanceID : Allow user to set InstanceID
func (*ListSubscriptionsOptions) SetLimit ¶
func (_options *ListSubscriptionsOptions) SetLimit(limit int64) *ListSubscriptionsOptions
SetLimit : Allow user to set Limit
func (*ListSubscriptionsOptions) SetOffset ¶
func (_options *ListSubscriptionsOptions) SetOffset(offset int64) *ListSubscriptionsOptions
SetOffset : Allow user to set Offset
func (*ListSubscriptionsOptions) SetSearch ¶
func (_options *ListSubscriptionsOptions) SetSearch(search string) *ListSubscriptionsOptions
SetSearch : Allow user to set Search
type ListTagsSubscriptionOptions ¶ added in v0.0.6
type ListTagsSubscriptionOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Destination. ID *string `json:"id" validate:"required,ne="` // DeviceID of the destination tagsubscription. DeviceID *string `json:"device_id,omitempty"` // UserID of the destination. UserID *string `json:"user_id,omitempty"` // TagName of the subscription. TagName *string `json:"tag_name,omitempty"` // Page limit for paginated results. Limit *int64 `json:"limit,omitempty"` // offset for paginated results. Offset *int64 `json:"offset,omitempty"` // Search string for filtering results. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListTagsSubscriptionOptions : The ListTagsSubscription options.
func (*ListTagsSubscriptionOptions) SetDeviceID ¶ added in v0.0.6
func (_options *ListTagsSubscriptionOptions) SetDeviceID(deviceID string) *ListTagsSubscriptionOptions
SetDeviceID : Allow user to set DeviceID
func (*ListTagsSubscriptionOptions) SetHeaders ¶ added in v0.0.6
func (options *ListTagsSubscriptionOptions) SetHeaders(param map[string]string) *ListTagsSubscriptionOptions
SetHeaders : Allow user to set Headers
func (*ListTagsSubscriptionOptions) SetID ¶ added in v0.0.6
func (_options *ListTagsSubscriptionOptions) SetID(id string) *ListTagsSubscriptionOptions
SetID : Allow user to set ID
func (*ListTagsSubscriptionOptions) SetInstanceID ¶ added in v0.0.6
func (_options *ListTagsSubscriptionOptions) SetInstanceID(instanceID string) *ListTagsSubscriptionOptions
SetInstanceID : Allow user to set InstanceID
func (*ListTagsSubscriptionOptions) SetLimit ¶ added in v0.0.6
func (_options *ListTagsSubscriptionOptions) SetLimit(limit int64) *ListTagsSubscriptionOptions
SetLimit : Allow user to set Limit
func (*ListTagsSubscriptionOptions) SetOffset ¶ added in v0.0.6
func (_options *ListTagsSubscriptionOptions) SetOffset(offset int64) *ListTagsSubscriptionOptions
SetOffset : Allow user to set Offset
func (*ListTagsSubscriptionOptions) SetSearch ¶ added in v0.0.6
func (_options *ListTagsSubscriptionOptions) SetSearch(search string) *ListTagsSubscriptionOptions
SetSearch : Allow user to set Search
func (*ListTagsSubscriptionOptions) SetTagName ¶ added in v0.0.6
func (_options *ListTagsSubscriptionOptions) SetTagName(tagName string) *ListTagsSubscriptionOptions
SetTagName : Allow user to set TagName
func (*ListTagsSubscriptionOptions) SetUserID ¶ added in v0.0.6
func (_options *ListTagsSubscriptionOptions) SetUserID(userID string) *ListTagsSubscriptionOptions
SetUserID : Allow user to set UserID
type ListTopicsOptions ¶
type ListTopicsOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Page limit for paginated results. Limit *int64 `json:"limit,omitempty"` // offset for paginated results. Offset *int64 `json:"offset,omitempty"` // Search string for filtering results. Search *string `json:"search,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListTopicsOptions : The ListTopics options.
func (*ListTopicsOptions) SetHeaders ¶
func (options *ListTopicsOptions) SetHeaders(param map[string]string) *ListTopicsOptions
SetHeaders : Allow user to set Headers
func (*ListTopicsOptions) SetInstanceID ¶
func (_options *ListTopicsOptions) SetInstanceID(instanceID string) *ListTopicsOptions
SetInstanceID : Allow user to set InstanceID
func (*ListTopicsOptions) SetLimit ¶
func (_options *ListTopicsOptions) SetLimit(limit int64) *ListTopicsOptions
SetLimit : Allow user to set Limit
func (*ListTopicsOptions) SetOffset ¶
func (_options *ListTopicsOptions) SetOffset(offset int64) *ListTopicsOptions
SetOffset : Allow user to set Offset
func (*ListTopicsOptions) SetSearch ¶
func (_options *ListTopicsOptions) SetSearch(search string) *ListTopicsOptions
SetSearch : Allow user to set Search
type NotificationCreate ¶ added in v0.1.0
type NotificationCreate struct { // The version of the notification specification. Specversion *string `json:"specversion" validate:"required"` // The time notification was created. Time *strfmt.DateTime `json:"time,omitempty"` // The unique identifier of the notification. ID *string `json:"id,omitempty"` // The source of notifications. Source *string `json:"source,omitempty"` // The notifications type. Type *string `json:"type,omitempty"` // The severity of the notification. Ibmenseverity *string `json:"ibmenseverity,omitempty"` // The source id of the notification. Ibmensourceid *string `json:"ibmensourceid" validate:"required"` // Default short text for the message. Ibmendefaultshort *string `json:"ibmendefaultshort" validate:"required"` // Default long text for the message. Ibmendefaultlong *string `json:"ibmendefaultlong" validate:"required"` // The subject of the notification. Subject *string `json:"subject,omitempty"` // The payload for webhook notification. Data map[string]interface{} `json:"data,omitempty"` // The notification content type. Datacontenttype *string `json:"datacontenttype,omitempty"` // If platforms or tags or user_ids is used then do not use fcm_devices / apns_devices / chrome_devices / // firefox_devices / safari_devices with it. Value should be stringified json. Ibmenpushto *string `json:"ibmenpushto,omitempty"` // Payload describing a notification FCM body. Value should be stringified json. Ibmenfcmbody *string `json:"ibmenfcmbody,omitempty"` // Payload describing a notification APNs body. Value should be stringified json. Ibmenapnsbody *string `json:"ibmenapnsbody,omitempty"` // Headers for iOS notification. Value should be stringified json. Ibmenapnsheaders *string `json:"ibmenapnsheaders,omitempty"` // Notification payload for Chrome. Value should be stringified json. Ibmenchromebody *string `json:"ibmenchromebody,omitempty"` // Headers for a Chrome notification. Value should be stringified json. Ibmenchromeheaders *string `json:"ibmenchromeheaders,omitempty"` // Notification payload for Firefox. Value should be stringified json. Ibmenfirefoxbody *string `json:"ibmenfirefoxbody,omitempty"` // Headers for a Firefox notification. Value should be stringified json. Ibmenfirefoxheaders *string `json:"ibmenfirefoxheaders,omitempty"` // Payload describing a notification Safari body. Value should be stringified json. Ibmensafaribody *string `json:"ibmensafaribody,omitempty"` // contains filtered or unexported fields }
NotificationCreate : Payload describing a notification create request.
func (*NotificationCreate) GetProperties ¶ added in v0.1.0
func (o *NotificationCreate) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of NotificationCreate
func (*NotificationCreate) GetProperty ¶ added in v0.1.0
func (o *NotificationCreate) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of NotificationCreate
func (*NotificationCreate) MarshalJSON ¶ added in v0.1.0
func (o *NotificationCreate) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of NotificationCreate
func (*NotificationCreate) SetProperties ¶ added in v0.1.0
func (o *NotificationCreate) SetProperties(m map[string]interface{})
SetProperties allows the user to set a map of arbitrary properties on an instance of NotificationCreate
func (*NotificationCreate) SetProperty ¶ added in v0.1.0
func (o *NotificationCreate) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of NotificationCreate
type NotificationResponse ¶ added in v0.0.6
type NotificationResponse struct { // Notification ID. NotificationID *string `json:"notification_id,omitempty"` }
NotificationResponse : Payload describing a notifications response.
type ReplaceTopicOptions ¶
type ReplaceTopicOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Topic. ID *string `json:"id" validate:"required,ne="` // Name of the topic. Name *string `json:"name,omitempty"` // Description of the topic. Description *string `json:"description,omitempty"` // List of sources. Sources []TopicUpdateSourcesItem `json:"sources,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ReplaceTopicOptions : The ReplaceTopic options.
func (*ReplaceTopicOptions) SetDescription ¶
func (_options *ReplaceTopicOptions) SetDescription(description string) *ReplaceTopicOptions
SetDescription : Allow user to set Description
func (*ReplaceTopicOptions) SetHeaders ¶
func (options *ReplaceTopicOptions) SetHeaders(param map[string]string) *ReplaceTopicOptions
SetHeaders : Allow user to set Headers
func (*ReplaceTopicOptions) SetID ¶
func (_options *ReplaceTopicOptions) SetID(id string) *ReplaceTopicOptions
SetID : Allow user to set ID
func (*ReplaceTopicOptions) SetInstanceID ¶
func (_options *ReplaceTopicOptions) SetInstanceID(instanceID string) *ReplaceTopicOptions
SetInstanceID : Allow user to set InstanceID
func (*ReplaceTopicOptions) SetName ¶
func (_options *ReplaceTopicOptions) SetName(name string) *ReplaceTopicOptions
SetName : Allow user to set Name
func (*ReplaceTopicOptions) SetSources ¶
func (_options *ReplaceTopicOptions) SetSources(sources []TopicUpdateSourcesItem) *ReplaceTopicOptions
SetSources : Allow user to set Sources
type Rules ¶
type Rules struct { // Whether the rule is enabled or not. Enabled *bool `json:"enabled,omitempty"` // Event type filter. EventTypeFilter *string `json:"event_type_filter" validate:"required"` // Notification filter. NotificationFilter *string `json:"notification_filter,omitempty"` }
Rules : Rule object.
type RulesGet ¶
type RulesGet struct { // Whether the rule is enabled or not. Enabled *bool `json:"enabled" validate:"required"` // Event type filter. EventTypeFilter *string `json:"event_type_filter" validate:"required"` // Notification filter. NotificationFilter *string `json:"notification_filter" validate:"required"` // Last time the topic was updated. UpdatedAt *string `json:"updated_at" validate:"required"` // Autogenerated rule ID. ID *string `json:"id" validate:"required"` }
RulesGet : Rule object.
type SendBulkNotificationsOptions ¶ added in v0.1.1
type SendBulkNotificationsOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // List of notifications body. BulkMessages []NotificationCreate `json:"bulk_messages,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
SendBulkNotificationsOptions : The SendBulkNotifications options.
func (*SendBulkNotificationsOptions) SetBulkMessages ¶ added in v0.1.1
func (_options *SendBulkNotificationsOptions) SetBulkMessages(bulkMessages []NotificationCreate) *SendBulkNotificationsOptions
SetBulkMessages : Allow user to set BulkMessages
func (*SendBulkNotificationsOptions) SetHeaders ¶ added in v0.1.1
func (options *SendBulkNotificationsOptions) SetHeaders(param map[string]string) *SendBulkNotificationsOptions
SetHeaders : Allow user to set Headers
func (*SendBulkNotificationsOptions) SetInstanceID ¶ added in v0.1.1
func (_options *SendBulkNotificationsOptions) SetInstanceID(instanceID string) *SendBulkNotificationsOptions
SetInstanceID : Allow user to set InstanceID
type SendNotificationsOptions ¶ added in v0.0.6
type SendNotificationsOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Payload describing a notification create request. Body *NotificationCreate `json:"body,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
SendNotificationsOptions : The SendNotifications options.
func (*SendNotificationsOptions) SetBody ¶ added in v0.1.0
func (_options *SendNotificationsOptions) SetBody(body *NotificationCreate) *SendNotificationsOptions
SetBody : Allow user to set Body
func (*SendNotificationsOptions) SetHeaders ¶ added in v0.0.6
func (options *SendNotificationsOptions) SetHeaders(param map[string]string) *SendNotificationsOptions
SetHeaders : Allow user to set Headers
func (*SendNotificationsOptions) SetInstanceID ¶ added in v0.0.6
func (_options *SendNotificationsOptions) SetInstanceID(instanceID string) *SendNotificationsOptions
SetInstanceID : Allow user to set InstanceID
type Source ¶
type Source struct { // The id of the source. ID *string `json:"id" validate:"required"` // The name of the source. Name *string `json:"name" validate:"required"` // The description of the source. Description *string `json:"description" validate:"required"` // The status of the source. Enabled *bool `json:"enabled" validate:"required"` // Type of the source. Type *string `json:"type" validate:"required"` // The last updated time of the source. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` // The number of topics. TopicCount *int64 `json:"topic_count" validate:"required"` // The names of the topics. TopicNames []string `json:"topic_names" validate:"required"` }
Source : Payload describing a source generate request.
type SourceList ¶
type SourceList struct { // Number of sources. TotalCount *int64 `json:"total_count" validate:"required"` // Current offset. Offset *int64 `json:"offset" validate:"required"` // limit to show sources. Limit *int64 `json:"limit" validate:"required"` // List of sources. Sources []SourceListItem `json:"sources" validate:"required"` }
SourceList : Payload describing a source list request.
type SourceListItem ¶ added in v0.0.6
type SourceListItem struct { // ID of the source. ID *string `json:"id" validate:"required"` // Name of the source. Name *string `json:"name" validate:"required"` // Description of the source. Description *string `json:"description" validate:"required"` // Type of the source. Type *string `json:"type" validate:"required"` // Whether the source is enabled or not. Enabled *bool `json:"enabled" validate:"required"` // Time of the last update. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` // Number of topics. TopicCount *int64 `json:"topic_count" validate:"required"` }
SourceListItem : Payload describing a source list item.
type SourceResponse ¶ added in v0.0.8
type SourceResponse struct { // ID of the source. ID *string `json:"id" validate:"required"` // Name of the source. Name *string `json:"name" validate:"required"` // Description of the source. Description *string `json:"description" validate:"required"` // Whether the source is enabled or not. Enabled *bool `json:"enabled" validate:"required"` // Time of the created. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` }
SourceResponse : Payload describing a source.
type SourcesListItem ¶
type SourcesListItem struct { // ID of the source. ID *string `json:"id" validate:"required"` // Name of the source. Name *string `json:"name" validate:"required"` // List of rules. Rules []RulesGet `json:"rules" validate:"required"` }
SourcesListItem : SourcesListItem struct
type Subscription ¶
type Subscription struct { // Subscription ID. ID *string `json:"id" validate:"required"` // Subscription name. Name *string `json:"name" validate:"required"` // Subscription description. Description *string `json:"description" validate:"required"` // Last updated time. UpdatedAt *string `json:"updated_at" validate:"required"` // From Email ID (it will be displayed only in case of smtp_ibm destination type). From *string `json:"from,omitempty"` // The type of destination. DestinationType *string `json:"destination_type" validate:"required"` // The destination ID. DestinationID *string `json:"destination_id" validate:"required"` // The destination name. DestinationName *string `json:"destination_name" validate:"required"` // Topic ID. TopicID *string `json:"topic_id" validate:"required"` // Topic name. TopicName *string `json:"topic_name" validate:"required"` Attributes SubscriptionAttributesIntf `json:"attributes,omitempty"` // contains filtered or unexported fields }
Subscription : Subscription object.
func (*Subscription) GetProperties ¶
func (o *Subscription) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of Subscription
func (*Subscription) GetProperty ¶
func (o *Subscription) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of Subscription
func (*Subscription) MarshalJSON ¶
func (o *Subscription) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of Subscription
func (*Subscription) SetProperties ¶
func (o *Subscription) SetProperties(m map[string]interface{})
SetProperties allows the user to set a map of arbitrary properties on an instance of Subscription
func (*Subscription) SetProperty ¶
func (o *Subscription) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of Subscription
type SubscriptionAttributes ¶
type SubscriptionAttributes struct { // The email id string. To []EmailAttributesResponseToItem `json:"to,omitempty"` // The unsubscribe list. Unsubscribed []EmailAttributesResponseUnsubscribedItem `json:"unsubscribed,omitempty"` // The invited list. Invited []EmailAttributesResponseInvitedItem `json:"invited,omitempty"` // Whether to add the notification payload to the email. AddNotificationPayload *bool `json:"add_notification_payload,omitempty"` // The email address to reply to. ReplyToMail *string `json:"reply_to_mail,omitempty"` // The email name to reply to. ReplyToName *string `json:"reply_to_name,omitempty"` // The email name of From. FromName *string `json:"from_name,omitempty"` // Signing webhook attributes. SigningEnabled *bool `json:"signing_enabled,omitempty"` // Attachment Color for Slack Notification. AttachmentColor *string `json:"attachment_color,omitempty"` // contains filtered or unexported fields }
SubscriptionAttributes : SubscriptionAttributes struct Models which "extend" this model: - SubscriptionAttributesSmsAttributesResponse - SubscriptionAttributesEmailAttributesResponse - SubscriptionAttributesWebhookAttributesResponse - SubscriptionAttributesSlackAttributesResponse
func (*SubscriptionAttributes) GetProperties ¶ added in v0.0.5
func (o *SubscriptionAttributes) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of SubscriptionAttributes
func (*SubscriptionAttributes) GetProperty ¶ added in v0.0.5
func (o *SubscriptionAttributes) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of SubscriptionAttributes
func (*SubscriptionAttributes) MarshalJSON ¶ added in v0.0.5
func (o *SubscriptionAttributes) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of SubscriptionAttributes
func (*SubscriptionAttributes) SetProperties ¶ added in v0.0.5
func (o *SubscriptionAttributes) SetProperties(m map[string]interface{})
SetProperties allows the user to set a map of arbitrary properties on an instance of SubscriptionAttributes
func (*SubscriptionAttributes) SetProperty ¶ added in v0.0.5
func (o *SubscriptionAttributes) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of SubscriptionAttributes
type SubscriptionAttributesEmailAttributesResponse ¶
type SubscriptionAttributesEmailAttributesResponse struct { // The email id string. To []EmailAttributesResponseToItem `json:"to" validate:"required"` // The unsubscribe list. Unsubscribed []EmailAttributesResponseUnsubscribedItem `json:"unsubscribed,omitempty"` // The invited list. Invited []EmailAttributesResponseInvitedItem `json:"invited,omitempty"` // Whether to add the notification payload to the email. AddNotificationPayload *bool `json:"add_notification_payload" validate:"required"` // The email address to reply to. ReplyToMail *string `json:"reply_to_mail" validate:"required"` // The email name to reply to. ReplyToName *string `json:"reply_to_name" validate:"required"` // The email name of From. FromName *string `json:"from_name" validate:"required"` // contains filtered or unexported fields }
SubscriptionAttributesEmailAttributesResponse : The attributes reponse for an email destination. This model "extends" SubscriptionAttributes
func (*SubscriptionAttributesEmailAttributesResponse) GetProperties ¶ added in v0.0.5
func (o *SubscriptionAttributesEmailAttributesResponse) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of SubscriptionAttributesEmailAttributesResponse
func (*SubscriptionAttributesEmailAttributesResponse) GetProperty ¶ added in v0.0.5
func (o *SubscriptionAttributesEmailAttributesResponse) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of SubscriptionAttributesEmailAttributesResponse
func (*SubscriptionAttributesEmailAttributesResponse) MarshalJSON ¶ added in v0.0.5
func (o *SubscriptionAttributesEmailAttributesResponse) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of SubscriptionAttributesEmailAttributesResponse
func (*SubscriptionAttributesEmailAttributesResponse) SetProperties ¶ added in v0.0.5
func (o *SubscriptionAttributesEmailAttributesResponse) SetProperties(m map[string]interface{})
SetProperties allows the user to set a map of arbitrary properties on an instance of SubscriptionAttributesEmailAttributesResponse
func (*SubscriptionAttributesEmailAttributesResponse) SetProperty ¶ added in v0.0.5
func (o *SubscriptionAttributesEmailAttributesResponse) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of SubscriptionAttributesEmailAttributesResponse
type SubscriptionAttributesSlackAttributesResponse ¶ added in v0.1.1
type SubscriptionAttributesSlackAttributesResponse struct { // Attachment Color for Slack Notification. AttachmentColor *string `json:"attachment_color" validate:"required"` // contains filtered or unexported fields }
SubscriptionAttributesSlackAttributesResponse : The attributes for a slack notification. This model "extends" SubscriptionAttributes
func (*SubscriptionAttributesSlackAttributesResponse) GetProperties ¶ added in v0.1.1
func (o *SubscriptionAttributesSlackAttributesResponse) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of SubscriptionAttributesSlackAttributesResponse
func (*SubscriptionAttributesSlackAttributesResponse) GetProperty ¶ added in v0.1.1
func (o *SubscriptionAttributesSlackAttributesResponse) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of SubscriptionAttributesSlackAttributesResponse
func (*SubscriptionAttributesSlackAttributesResponse) MarshalJSON ¶ added in v0.1.1
func (o *SubscriptionAttributesSlackAttributesResponse) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of SubscriptionAttributesSlackAttributesResponse
func (*SubscriptionAttributesSlackAttributesResponse) SetProperties ¶ added in v0.1.1
func (o *SubscriptionAttributesSlackAttributesResponse) SetProperties(m map[string]interface{})
SetProperties allows the user to set a map of arbitrary properties on an instance of SubscriptionAttributesSlackAttributesResponse
func (*SubscriptionAttributesSlackAttributesResponse) SetProperty ¶ added in v0.1.1
func (o *SubscriptionAttributesSlackAttributesResponse) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of SubscriptionAttributesSlackAttributesResponse
type SubscriptionAttributesSmsAttributesResponse ¶
type SubscriptionAttributesSmsAttributesResponse struct {
// contains filtered or unexported fields
}
SubscriptionAttributesSmsAttributesResponse : SMS attributes object. This model "extends" SubscriptionAttributes
func (*SubscriptionAttributesSmsAttributesResponse) GetProperties ¶ added in v0.0.5
func (o *SubscriptionAttributesSmsAttributesResponse) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of SubscriptionAttributesSmsAttributesResponse
func (*SubscriptionAttributesSmsAttributesResponse) GetProperty ¶ added in v0.0.5
func (o *SubscriptionAttributesSmsAttributesResponse) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of SubscriptionAttributesSmsAttributesResponse
func (*SubscriptionAttributesSmsAttributesResponse) MarshalJSON ¶ added in v0.0.5
func (o *SubscriptionAttributesSmsAttributesResponse) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of SubscriptionAttributesSmsAttributesResponse
func (*SubscriptionAttributesSmsAttributesResponse) SetProperties ¶ added in v0.0.5
func (o *SubscriptionAttributesSmsAttributesResponse) SetProperties(m map[string]interface{})
SetProperties allows the user to set a map of arbitrary properties on an instance of SubscriptionAttributesSmsAttributesResponse
func (*SubscriptionAttributesSmsAttributesResponse) SetProperty ¶ added in v0.0.5
func (o *SubscriptionAttributesSmsAttributesResponse) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of SubscriptionAttributesSmsAttributesResponse
type SubscriptionAttributesWebhookAttributesResponse ¶
type SubscriptionAttributesWebhookAttributesResponse struct { // Signing webhook attributes. SigningEnabled *bool `json:"signing_enabled" validate:"required"` // Decision for Notification Payload to be added. AddNotificationPayload *bool `json:"add_notification_payload" validate:"required"` // contains filtered or unexported fields }
SubscriptionAttributesWebhookAttributesResponse : The attributes for a webhook notification. This model "extends" SubscriptionAttributes
func (*SubscriptionAttributesWebhookAttributesResponse) GetProperties ¶ added in v0.0.5
func (o *SubscriptionAttributesWebhookAttributesResponse) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of SubscriptionAttributesWebhookAttributesResponse
func (*SubscriptionAttributesWebhookAttributesResponse) GetProperty ¶ added in v0.0.5
func (o *SubscriptionAttributesWebhookAttributesResponse) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of SubscriptionAttributesWebhookAttributesResponse
func (*SubscriptionAttributesWebhookAttributesResponse) MarshalJSON ¶ added in v0.0.5
func (o *SubscriptionAttributesWebhookAttributesResponse) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of SubscriptionAttributesWebhookAttributesResponse
func (*SubscriptionAttributesWebhookAttributesResponse) SetProperties ¶ added in v0.0.5
func (o *SubscriptionAttributesWebhookAttributesResponse) SetProperties(m map[string]interface{})
SetProperties allows the user to set a map of arbitrary properties on an instance of SubscriptionAttributesWebhookAttributesResponse
func (*SubscriptionAttributesWebhookAttributesResponse) SetProperty ¶ added in v0.0.5
func (o *SubscriptionAttributesWebhookAttributesResponse) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of SubscriptionAttributesWebhookAttributesResponse
type SubscriptionCreateAttributes ¶
type SubscriptionCreateAttributes struct { // The phone number to send the SMS to. To []string `json:"to,omitempty"` // Whether to add the notification payload to the email. AddNotificationPayload *bool `json:"add_notification_payload,omitempty"` // The email address to reply to. ReplyToMail *string `json:"reply_to_mail,omitempty"` // The email name to reply to. ReplyToName *string `json:"reply_to_name,omitempty"` // The email name of From. FromName *string `json:"from_name,omitempty"` // Signing webhook attributes. SigningEnabled *bool `json:"signing_enabled,omitempty"` // Attachment Color for the slack message. AttachmentColor *string `json:"attachment_color,omitempty"` }
SubscriptionCreateAttributes : SubscriptionCreateAttributes struct Models which "extend" this model: - SubscriptionCreateAttributesSmsAttributes - SubscriptionCreateAttributesEmailAttributes - SubscriptionCreateAttributesWebhookAttributes - SubscriptionCreateAttributesFcmAttributes - SubscriptionCreateAttributesSlackAttributes
type SubscriptionCreateAttributesEmailAttributes ¶
type SubscriptionCreateAttributesEmailAttributes struct { // The email id string. To []string `json:"to" validate:"required"` // Whether to add the notification payload to the email. AddNotificationPayload *bool `json:"add_notification_payload" validate:"required"` // The email address to reply to. ReplyToMail *string `json:"reply_to_mail" validate:"required"` // The email name to reply to. ReplyToName *string `json:"reply_to_name" validate:"required"` // The email name of From. FromName *string `json:"from_name" validate:"required"` }
SubscriptionCreateAttributesEmailAttributes : The attributes for an email notification. This model "extends" SubscriptionCreateAttributes
type SubscriptionCreateAttributesFcmAttributes ¶ added in v0.0.6
type SubscriptionCreateAttributesFcmAttributes struct { }
SubscriptionCreateAttributesFcmAttributes : The attributes for an FCM notification. This model "extends" SubscriptionCreateAttributes
type SubscriptionCreateAttributesIntf ¶
type SubscriptionCreateAttributesIntf interface {
// contains filtered or unexported methods
}
type SubscriptionCreateAttributesSlackAttributes ¶ added in v0.1.1
type SubscriptionCreateAttributesSlackAttributes struct { // Attachment Color for the slack message. AttachmentColor *string `json:"attachment_color" validate:"required"` }
SubscriptionCreateAttributesSlackAttributes : The attributes for a slack notification. This model "extends" SubscriptionCreateAttributes
type SubscriptionCreateAttributesSmsAttributes ¶
type SubscriptionCreateAttributesSmsAttributes struct { // The phone number to send the SMS to. To []string `json:"to" validate:"required"` }
SubscriptionCreateAttributesSmsAttributes : SMS attributes object. This model "extends" SubscriptionCreateAttributes
type SubscriptionCreateAttributesWebhookAttributes ¶
type SubscriptionCreateAttributesWebhookAttributes struct { // Signing webhook attributes. SigningEnabled *bool `json:"signing_enabled" validate:"required"` }
SubscriptionCreateAttributesWebhookAttributes : The attributes for a webhook notification. This model "extends" SubscriptionCreateAttributes
type SubscriptionList ¶
type SubscriptionList struct { // Number of subscriptions. TotalCount *int64 `json:"total_count" validate:"required"` // Current offset. Offset *int64 `json:"offset" validate:"required"` // limit to show subscriptions. Limit *int64 `json:"limit" validate:"required"` // List of subscriptions. Subscriptions []SubscriptionListItem `json:"subscriptions" validate:"required"` }
SubscriptionList : Subscription list object.
type SubscriptionListItem ¶
type SubscriptionListItem struct { // ID of the subscription. ID *string `json:"id" validate:"required"` // Name of the subscription. Name *string `json:"name" validate:"required"` // Description of the subscription. Description *string `json:"description" validate:"required"` // ID of the destination. DestinationID *string `json:"destination_id" validate:"required"` // Name of the destination. DestinationName *string `json:"destination_name,omitempty"` // The type of destination. DestinationType *string `json:"destination_type" validate:"required"` // ID of the topic. TopicID *string `json:"topic_id" validate:"required"` // Name of the topic. TopicName *string `json:"topic_name,omitempty"` // Last updated time of the subscription. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` }
SubscriptionListItem : Subscription list item.
type SubscriptionUpdateAttributes ¶
type SubscriptionUpdateAttributes struct { // The phone number to send the SMS to. To []string `json:"to,omitempty"` // Whether to add the notification payload to the email. AddNotificationPayload *bool `json:"add_notification_payload,omitempty"` // The email address to reply to. ReplyToMail *string `json:"reply_to_mail,omitempty"` // The email name to reply to. ReplyToName *string `json:"reply_to_name,omitempty"` // The email name of From. FromName *string `json:"from_name,omitempty"` // The email ids invited. Invited []string `json:"invited,omitempty"` // The email ids. Unsubscribed *EmailUpdateAttributesUnsubscribed `json:"unsubscribed,omitempty"` // Signing webhook attributes. SigningEnabled *bool `json:"signing_enabled,omitempty"` // Attachment Color for the slack message. AttachmentColor *string `json:"attachment_color,omitempty"` }
SubscriptionUpdateAttributes : SubscriptionUpdateAttributes struct Models which "extend" this model: - SubscriptionUpdateAttributesSmsAttributes - SubscriptionUpdateAttributesEmailUpdateAttributes - SubscriptionUpdateAttributesWebhookAttributes - SubscriptionUpdateAttributesSlackAttributes
type SubscriptionUpdateAttributesEmailUpdateAttributes ¶ added in v0.0.5
type SubscriptionUpdateAttributesEmailUpdateAttributes struct { // The email ids. To *EmailUpdateAttributesTo `json:"to" validate:"required"` // Whether to add the notification payload to the email. AddNotificationPayload *bool `json:"add_notification_payload" validate:"required"` // The email address to reply to. ReplyToMail *string `json:"reply_to_mail" validate:"required"` // The email name to reply to. ReplyToName *string `json:"reply_to_name" validate:"required"` // The email name of From. FromName *string `json:"from_name" validate:"required"` // The email ids invited. Invited []string `json:"invited,omitempty"` // The email ids. Unsubscribed *EmailUpdateAttributesUnsubscribed `json:"unsubscribed,omitempty"` }
SubscriptionUpdateAttributesEmailUpdateAttributes : The attributes for an email notification. This model "extends" SubscriptionUpdateAttributes
type SubscriptionUpdateAttributesIntf ¶
type SubscriptionUpdateAttributesIntf interface {
// contains filtered or unexported methods
}
type SubscriptionUpdateAttributesSlackAttributes ¶ added in v0.1.1
type SubscriptionUpdateAttributesSlackAttributes struct { // Attachment Color for the slack message. AttachmentColor *string `json:"attachment_color" validate:"required"` }
SubscriptionUpdateAttributesSlackAttributes : The attributes for a slack notification. This model "extends" SubscriptionUpdateAttributes
type SubscriptionUpdateAttributesSmsAttributes ¶
type SubscriptionUpdateAttributesSmsAttributes struct { // The phone number to send the SMS to. To []string `json:"to" validate:"required"` }
SubscriptionUpdateAttributesSmsAttributes : SMS attributes object. This model "extends" SubscriptionUpdateAttributes
type SubscriptionUpdateAttributesWebhookAttributes ¶
type SubscriptionUpdateAttributesWebhookAttributes struct { // Signing webhook attributes. SigningEnabled *bool `json:"signing_enabled" validate:"required"` }
SubscriptionUpdateAttributesWebhookAttributes : The attributes for a webhook notification. This model "extends" SubscriptionUpdateAttributes
type TagsSubscriptionList ¶ added in v0.0.6
type TagsSubscriptionList struct { // Total number of tags. TotalCount *int64 `json:"total_count" validate:"required"` // Current offset. Offset *int64 `json:"offset" validate:"required"` // limit to show tags. Limit *int64 `json:"limit" validate:"required"` // List of tags. TagSubscriptions []TagsSubscriptionListItem `json:"tag_subscriptions" validate:"required"` }
TagsSubscriptionList : Payload describing a tags list request.
type TagsSubscriptionListItem ¶ added in v0.0.6
type TagsSubscriptionListItem struct { // Subscription Tag ID. ID *string `json:"id" validate:"required"` // Unique identifier of the device. DeviceID *string `json:"device_id" validate:"required"` // The name of the tag its subscribed. TagName *string `json:"tag_name" validate:"required"` // The user identifier for the the device registration. UserID *string `json:"user_id,omitempty"` // Updated at. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` }
TagsSubscriptionListItem : Tags subscription object.
type Topic ¶
type Topic struct { // Autogenerated topic ID. ID *string `json:"id" validate:"required"` // Description of the topic. Description *string `json:"description" validate:"required"` // Name of the topic. Name *string `json:"name" validate:"required"` // Last time the topic was updated. UpdatedAt *string `json:"updated_at" validate:"required"` // Number of sources. SourceCount *int64 `json:"source_count" validate:"required"` // List of sources. Sources []SourcesListItem `json:"sources" validate:"required"` // Number of subscriptions. SubscriptionCount *int64 `json:"subscription_count" validate:"required"` // List of subscriptions. Subscriptions []SubscriptionListItem `json:"subscriptions" validate:"required"` }
Topic : Topic object.
type TopicList ¶
type TopicList struct { // Number of topics. TotalCount *int64 `json:"total_count" validate:"required"` // Current offset. Offset *int64 `json:"offset" validate:"required"` // limit to show subscriptions. Limit *int64 `json:"limit" validate:"required"` // List of topics. Topics []TopicsListItem `json:"topics" validate:"required"` }
TopicList : Topic list object.
type TopicResponse ¶
type TopicResponse struct { // Autogenerated topic ID. ID *string `json:"id" validate:"required"` // Name of the topic. Name *string `json:"name" validate:"required"` // Description of the topic. Description *string `json:"description" validate:"required"` // Last time the topic was updated. CreatedAt *string `json:"created_at" validate:"required"` }
TopicResponse : Topic object.
type TopicUpdateSourcesItem ¶
type TopicUpdateSourcesItem struct { // ID of the source. ID *string `json:"id" validate:"required"` // List of rules. Rules []Rules `json:"rules" validate:"required"` }
TopicUpdateSourcesItem : TopicUpdateSourcesItem struct
type TopicsListItem ¶
type TopicsListItem struct { // Autogenerated topic ID. ID *string `json:"id" validate:"required"` // Name of the topic. Name *string `json:"name" validate:"required"` // Description of the topic. Description *string `json:"description" validate:"required"` // Number of sources. SourceCount *int64 `json:"source_count" validate:"required"` // List of source names. SourcesNames []string `json:"sources_names" validate:"required"` // Number of subscriptions. SubscriptionCount *int64 `json:"subscription_count" validate:"required"` }
TopicsListItem : Topic list item object.
type UpdateDestinationOptions ¶
type UpdateDestinationOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Destination. ID *string `json:"id" validate:"required,ne="` // Destination name. Name *string `json:"name,omitempty"` // Destination description. Description *string `json:"description,omitempty"` // Payload describing a destination configuration. Config *DestinationConfig `json:"config,omitempty"` // Certificate for APNS. Certificate io.ReadCloser `json:"certificate,omitempty"` // The content type of certificate. CertificateContentType *string `json:"certificate_content_type,omitempty"` // Safari icon 16x16. Icon16x16 io.ReadCloser `json:"icon_16x16,omitempty"` // The content type of icon16x16. Icon16x16ContentType *string `json:"icon_16x16_content_type,omitempty"` // Safari icon 16x16@2x. Icon16x162x io.ReadCloser `json:"icon_16x16_2x,omitempty"` // The content type of icon16x162x. Icon16x162xContentType *string `json:"icon_16x16_2x_content_type,omitempty"` // Safari icon 32x32. Icon32x32 io.ReadCloser `json:"icon_32x32,omitempty"` // The content type of icon32x32. Icon32x32ContentType *string `json:"icon_32x32_content_type,omitempty"` // Safari icon 32x32@2x. Icon32x322x io.ReadCloser `json:"icon_32x32_2x,omitempty"` // The content type of icon32x322x. Icon32x322xContentType *string `json:"icon_32x32_2x_content_type,omitempty"` // Safari icon 128x128. Icon128x128 io.ReadCloser `json:"icon_128x128,omitempty"` // The content type of icon128x128. Icon128x128ContentType *string `json:"icon_128x128_content_type,omitempty"` // Safari icon 128x128@2x. Icon128x1282x io.ReadCloser `json:"icon_128x128_2x,omitempty"` // The content type of icon128x1282x. Icon128x1282xContentType *string `json:"icon_128x128_2x_content_type,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateDestinationOptions : The UpdateDestination options.
func (*UpdateDestinationOptions) SetCertificate ¶ added in v0.0.7
func (_options *UpdateDestinationOptions) SetCertificate(certificate io.ReadCloser) *UpdateDestinationOptions
SetCertificate : Allow user to set Certificate
func (*UpdateDestinationOptions) SetCertificateContentType ¶ added in v0.0.7
func (_options *UpdateDestinationOptions) SetCertificateContentType(certificateContentType string) *UpdateDestinationOptions
SetCertificateContentType : Allow user to set CertificateContentType
func (*UpdateDestinationOptions) SetConfig ¶
func (_options *UpdateDestinationOptions) SetConfig(config *DestinationConfig) *UpdateDestinationOptions
SetConfig : Allow user to set Config
func (*UpdateDestinationOptions) SetDescription ¶
func (_options *UpdateDestinationOptions) SetDescription(description string) *UpdateDestinationOptions
SetDescription : Allow user to set Description
func (*UpdateDestinationOptions) SetHeaders ¶
func (options *UpdateDestinationOptions) SetHeaders(param map[string]string) *UpdateDestinationOptions
SetHeaders : Allow user to set Headers
func (*UpdateDestinationOptions) SetID ¶
func (_options *UpdateDestinationOptions) SetID(id string) *UpdateDestinationOptions
SetID : Allow user to set ID
func (*UpdateDestinationOptions) SetIcon128x128 ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon128x128(icon128x128 io.ReadCloser) *UpdateDestinationOptions
SetIcon128x128 : Allow user to set Icon128x128
func (*UpdateDestinationOptions) SetIcon128x1282x ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon128x1282x(icon128x1282x io.ReadCloser) *UpdateDestinationOptions
SetIcon128x1282x : Allow user to set Icon128x1282x
func (*UpdateDestinationOptions) SetIcon128x1282xContentType ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon128x1282xContentType(icon128x1282xContentType string) *UpdateDestinationOptions
SetIcon128x1282xContentType : Allow user to set Icon128x1282xContentType
func (*UpdateDestinationOptions) SetIcon128x128ContentType ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon128x128ContentType(icon128x128ContentType string) *UpdateDestinationOptions
SetIcon128x128ContentType : Allow user to set Icon128x128ContentType
func (*UpdateDestinationOptions) SetIcon16x16 ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon16x16(icon16x16 io.ReadCloser) *UpdateDestinationOptions
SetIcon16x16 : Allow user to set Icon16x16
func (*UpdateDestinationOptions) SetIcon16x162x ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon16x162x(icon16x162x io.ReadCloser) *UpdateDestinationOptions
SetIcon16x162x : Allow user to set Icon16x162x
func (*UpdateDestinationOptions) SetIcon16x162xContentType ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon16x162xContentType(icon16x162xContentType string) *UpdateDestinationOptions
SetIcon16x162xContentType : Allow user to set Icon16x162xContentType
func (*UpdateDestinationOptions) SetIcon16x16ContentType ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon16x16ContentType(icon16x16ContentType string) *UpdateDestinationOptions
SetIcon16x16ContentType : Allow user to set Icon16x16ContentType
func (*UpdateDestinationOptions) SetIcon32x32 ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon32x32(icon32x32 io.ReadCloser) *UpdateDestinationOptions
SetIcon32x32 : Allow user to set Icon32x32
func (*UpdateDestinationOptions) SetIcon32x322x ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon32x322x(icon32x322x io.ReadCloser) *UpdateDestinationOptions
SetIcon32x322x : Allow user to set Icon32x322x
func (*UpdateDestinationOptions) SetIcon32x322xContentType ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon32x322xContentType(icon32x322xContentType string) *UpdateDestinationOptions
SetIcon32x322xContentType : Allow user to set Icon32x322xContentType
func (*UpdateDestinationOptions) SetIcon32x32ContentType ¶ added in v0.1.2
func (_options *UpdateDestinationOptions) SetIcon32x32ContentType(icon32x32ContentType string) *UpdateDestinationOptions
SetIcon32x32ContentType : Allow user to set Icon32x32ContentType
func (*UpdateDestinationOptions) SetInstanceID ¶
func (_options *UpdateDestinationOptions) SetInstanceID(instanceID string) *UpdateDestinationOptions
SetInstanceID : Allow user to set InstanceID
func (*UpdateDestinationOptions) SetName ¶
func (_options *UpdateDestinationOptions) SetName(name string) *UpdateDestinationOptions
SetName : Allow user to set Name
type UpdateSourceOptions ¶ added in v0.0.8
type UpdateSourceOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Source. ID *string `json:"id" validate:"required,ne="` // Name of the source. Name *string `json:"name,omitempty"` // Description of the source. Description *string `json:"description,omitempty"` // Whether the source is enabled or not. Enabled *bool `json:"enabled,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateSourceOptions : The UpdateSource options.
func (*UpdateSourceOptions) SetDescription ¶ added in v0.0.8
func (_options *UpdateSourceOptions) SetDescription(description string) *UpdateSourceOptions
SetDescription : Allow user to set Description
func (*UpdateSourceOptions) SetEnabled ¶ added in v0.0.8
func (_options *UpdateSourceOptions) SetEnabled(enabled bool) *UpdateSourceOptions
SetEnabled : Allow user to set Enabled
func (*UpdateSourceOptions) SetHeaders ¶ added in v0.0.8
func (options *UpdateSourceOptions) SetHeaders(param map[string]string) *UpdateSourceOptions
SetHeaders : Allow user to set Headers
func (*UpdateSourceOptions) SetID ¶ added in v0.0.8
func (_options *UpdateSourceOptions) SetID(id string) *UpdateSourceOptions
SetID : Allow user to set ID
func (*UpdateSourceOptions) SetInstanceID ¶ added in v0.0.8
func (_options *UpdateSourceOptions) SetInstanceID(instanceID string) *UpdateSourceOptions
SetInstanceID : Allow user to set InstanceID
func (*UpdateSourceOptions) SetName ¶ added in v0.0.8
func (_options *UpdateSourceOptions) SetName(name string) *UpdateSourceOptions
SetName : Allow user to set Name
type UpdateSubscriptionOptions ¶
type UpdateSubscriptionOptions struct { // Unique identifier for IBM Cloud Event Notifications instance. InstanceID *string `json:"instance_id" validate:"required,ne="` // Unique identifier for Subscription. ID *string `json:"id" validate:"required,ne="` // Name of the subscription. Name *string `json:"name,omitempty"` // Description of the subscription. Description *string `json:"description,omitempty"` Attributes SubscriptionUpdateAttributesIntf `json:"attributes,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateSubscriptionOptions : The UpdateSubscription options.
func (*UpdateSubscriptionOptions) SetAttributes ¶
func (_options *UpdateSubscriptionOptions) SetAttributes(attributes SubscriptionUpdateAttributesIntf) *UpdateSubscriptionOptions
SetAttributes : Allow user to set Attributes
func (*UpdateSubscriptionOptions) SetDescription ¶
func (_options *UpdateSubscriptionOptions) SetDescription(description string) *UpdateSubscriptionOptions
SetDescription : Allow user to set Description
func (*UpdateSubscriptionOptions) SetHeaders ¶
func (options *UpdateSubscriptionOptions) SetHeaders(param map[string]string) *UpdateSubscriptionOptions
SetHeaders : Allow user to set Headers
func (*UpdateSubscriptionOptions) SetID ¶
func (_options *UpdateSubscriptionOptions) SetID(id string) *UpdateSubscriptionOptions
SetID : Allow user to set ID
func (*UpdateSubscriptionOptions) SetInstanceID ¶
func (_options *UpdateSubscriptionOptions) SetInstanceID(instanceID string) *UpdateSubscriptionOptions
SetInstanceID : Allow user to set InstanceID
func (*UpdateSubscriptionOptions) SetName ¶
func (_options *UpdateSubscriptionOptions) SetName(name string) *UpdateSubscriptionOptions
SetName : Allow user to set Name