eventnotificationsv1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Overview

Package eventnotificationsv1 : Operations and models for the EventNotificationsV1 service

Index

Constants

View Source
const (
	CreateDestinationOptionsTypeIbmceConst       = "ibmce"
	CreateDestinationOptionsTypeIbmcfConst       = "ibmcf"
	CreateDestinationOptionsTypeIbmcosConst      = "ibmcos"
	CreateDestinationOptionsTypeMsteamsConst     = "msteams"
	CreateDestinationOptionsTypePagerdutyConst   = "pagerduty"
	CreateDestinationOptionsTypePushAndroidConst = "push_android"
	CreateDestinationOptionsTypePushChromeConst  = "push_chrome"
	CreateDestinationOptionsTypePushFirefoxConst = "push_firefox"
	CreateDestinationOptionsTypePushHuaweiConst  = "push_huawei"
	CreateDestinationOptionsTypePushIosConst     = "push_ios"
	CreateDestinationOptionsTypePushSafariConst  = "push_safari"
	CreateDestinationOptionsTypeSMTPCustomConst  = "smtp_custom"
	CreateDestinationOptionsTypeServicenowConst  = "servicenow"
	CreateDestinationOptionsTypeSlackConst       = "slack"
	CreateDestinationOptionsTypeSmsCustomConst   = "sms_custom"
	CreateDestinationOptionsTypeWebhookConst     = "webhook"
)

Constants associated with the CreateDestinationOptions.Type property. The type of Destination Webhook.

View Source
const (
	DestinationTypeIbmceConst       = "ibmce"
	DestinationTypeIbmcfConst       = "ibmcf"
	DestinationTypeIbmcosConst      = "ibmcos"
	DestinationTypeMsteamsConst     = "msteams"
	DestinationTypePagerdutyConst   = "pagerduty"
	DestinationTypePushAndroidConst = "push_android"
	DestinationTypePushHuaweiConst  = "push_huawei"
	DestinationTypePushIosConst     = "push_ios"
	DestinationTypePushSafariConst  = "push_safari"
	DestinationTypeSMTPCustomConst  = "smtp_custom"
	DestinationTypeSMTPIBMConst     = "smtp_ibm"
	DestinationTypeServicenowConst  = "servicenow"
	DestinationTypeSlackConst       = "slack"
	DestinationTypeSmsCustomConst   = "sms_custom"
	DestinationTypeSmsIBMConst      = "sms_ibm"
	DestinationTypeWebhookConst     = "webhook"
)

Constants associated with the Destination.Type property. Destination type Email/SMS/Webhook/FCM/Slack/MSTeams/PagerDuty/IBMCloudFunctions/IBMCodeEngine/ServiceNow/IBMCloudObjectStorage/Huawei.

View Source
const (
	DestinationConfigOneOfVerbGetConst  = "get"
	DestinationConfigOneOfVerbPostConst = "post"
)

Constants associated with the DestinationConfigOneOf.Verb property. HTTP method of webhook.

View Source
const (
	DestinationConfigOneOfTypeApplicationConst = "application"
	DestinationConfigOneOfTypeJobConst         = "job"
)

Constants associated with the DestinationConfigOneOf.Type property. The code engine destination type.

View Source
const (
	DestinationListItemTypeIbmceConst       = "ibmce"
	DestinationListItemTypeIbmcfConst       = "ibmcf"
	DestinationListItemTypeIbmcosConst      = "ibmcos"
	DestinationListItemTypeMsteamsConst     = "msteams"
	DestinationListItemTypePagerdutyConst   = "pagerduty"
	DestinationListItemTypePushAndroidConst = "push_android"
	DestinationListItemTypePushHuaweiConst  = "push_huawei"
	DestinationListItemTypePushIosConst     = "push_ios"
	DestinationListItemTypePushSafariConst  = "push_safari"
	DestinationListItemTypeSMTPCustomConst  = "smtp_custom"
	DestinationListItemTypeSMTPIBMConst     = "smtp_ibm"
	DestinationListItemTypeServicenowConst  = "servicenow"
	DestinationListItemTypeSlackConst       = "slack"
	DestinationListItemTypeSmsCustomConst   = "sms_custom"
	DestinationListItemTypeSmsIBMConst      = "sms_ibm"
	DestinationListItemTypeWebhookConst     = "webhook"
)

Constants associated with the DestinationListItem.Type property. Destination type.

View Source
const (
	DestinationResponseTypeIbmceConst       = "ibmce"
	DestinationResponseTypeIbmcfConst       = "ibmcf"
	DestinationResponseTypeIbmcosConst      = "ibmcos"
	DestinationResponseTypeMsteamsConst     = "msteams"
	DestinationResponseTypePagerdutyConst   = "pagerduty"
	DestinationResponseTypePushAndroidConst = "push_android"
	DestinationResponseTypePushChromeConst  = "push_chrome"
	DestinationResponseTypePushFirefoxConst = "push_firefox"
	DestinationResponseTypePushHuaweiConst  = "push_huawei"
	DestinationResponseTypePushIosConst     = "push_ios"
	DestinationResponseTypePushSafariConst  = "push_safari"
	DestinationResponseTypeSMTPCustomConst  = "smtp_custom"
	DestinationResponseTypeServicenowConst  = "servicenow"
	DestinationResponseTypeSlackConst       = "slack"
	DestinationResponseTypeSmsCustomConst   = "sms_custom"
	DestinationResponseTypeWebhookConst     = "webhook"
)

Constants associated with the DestinationResponse.Type property. Destination type.

View Source
const (
	SubscriptionDestinationTypeIbmceConst       = "ibmce"
	SubscriptionDestinationTypeIbmcfConst       = "ibmcf"
	SubscriptionDestinationTypeIbmcosConst      = "ibmcos"
	SubscriptionDestinationTypeMsteamsConst     = "msteams"
	SubscriptionDestinationTypePagerdutyConst   = "pagerduty"
	SubscriptionDestinationTypePushAndroidConst = "push_android"
	SubscriptionDestinationTypePushChromeConst  = "push_chrome"
	SubscriptionDestinationTypePushFirefoxConst = "push_firefox"
	SubscriptionDestinationTypePushHuaweiConst  = "push_huawei"
	SubscriptionDestinationTypePushIosConst     = "push_ios"
	SubscriptionDestinationTypePushSafariConst  = "push_safari"
	SubscriptionDestinationTypeSMTPCustomConst  = "smtp_custom"
	SubscriptionDestinationTypeSMTPIBMConst     = "smtp_ibm"
	SubscriptionDestinationTypeServicenowConst  = "servicenow"
	SubscriptionDestinationTypeSlackConst       = "slack"
	SubscriptionDestinationTypeSmsCustomConst   = "sms_custom"
	SubscriptionDestinationTypeSmsIBMConst      = "sms_ibm"
	SubscriptionDestinationTypeWebhookConst     = "webhook"
)

Constants associated with the Subscription.DestinationType property. The type of destination.

View Source
const (
	SubscriptionListItemDestinationTypeIbmceConst       = "ibmce"
	SubscriptionListItemDestinationTypeIbmcfConst       = "ibmcf"
	SubscriptionListItemDestinationTypeIbmcosConst      = "ibmcos"
	SubscriptionListItemDestinationTypeMsteamsConst     = "msteams"
	SubscriptionListItemDestinationTypePagerdutyConst   = "pagerduty"
	SubscriptionListItemDestinationTypePushAndroidConst = "push_android"
	SubscriptionListItemDestinationTypePushChromeConst  = "push_chrome"
	SubscriptionListItemDestinationTypePushFirefoxConst = "push_firefox"
	SubscriptionListItemDestinationTypePushHuaweiConst  = "push_huawei"
	SubscriptionListItemDestinationTypePushIosConst     = "push_ios"
	SubscriptionListItemDestinationTypePushSafariConst  = "push_safari"
	SubscriptionListItemDestinationTypeSMTPCustomConst  = "smtp_custom"
	SubscriptionListItemDestinationTypeSMTPIBMConst     = "smtp_ibm"
	SubscriptionListItemDestinationTypeServicenowConst  = "servicenow"
	SubscriptionListItemDestinationTypeSlackConst       = "slack"
	SubscriptionListItemDestinationTypeSmsCustomConst   = "sms_custom"
	SubscriptionListItemDestinationTypeSmsIBMConst      = "sms_ibm"
	SubscriptionListItemDestinationTypeWebhookConst     = "webhook"
)

Constants associated with the SubscriptionListItem.DestinationType property. The type of destination.

View Source
const (
	DestinationConfigOneOfCodeEngineDestinationConfigVerbGetConst  = "get"
	DestinationConfigOneOfCodeEngineDestinationConfigVerbPostConst = "post"
)

Constants associated with the DestinationConfigOneOfCodeEngineDestinationConfig.Verb property. HTTP method of code engine.

View Source
const (
	DestinationConfigOneOfCodeEngineDestinationConfigTypeApplicationConst = "application"
	DestinationConfigOneOfCodeEngineDestinationConfigTypeJobConst         = "job"
)

Constants associated with the DestinationConfigOneOfCodeEngineDestinationConfig.Type property. The code engine destination type.

View Source
const (
	DestinationConfigOneOfWebhookDestinationConfigVerbGetConst  = "get"
	DestinationConfigOneOfWebhookDestinationConfigVerbPostConst = "post"
)

Constants associated with the DestinationConfigOneOfWebhookDestinationConfig.Verb property. HTTP method of webhook.

View Source
const (
	CreateIntegrationOptionsTypeCollectFailedEventsConst = "collect_failed_events"
)

Constants associated with the CreateIntegrationOptions.Type property. The type of Integration.

View Source
const DefaultServiceName = "event_notifications"

DefaultServiceName is the default key used to find external configuration information.

View Source
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

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

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 UnmarshalDestinationConfigOneOf added in v0.1.6

func UnmarshalDestinationConfigOneOf(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOf unmarshals an instance of DestinationConfigOneOf from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfChromeDestinationConfig added in v0.1.6

func UnmarshalDestinationConfigOneOfChromeDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfChromeDestinationConfig unmarshals an instance of DestinationConfigOneOfChromeDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfCodeEngineDestinationConfig added in v0.5.0

func UnmarshalDestinationConfigOneOfCodeEngineDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfCodeEngineDestinationConfig unmarshals an instance of DestinationConfigOneOfCodeEngineDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfCustomDomainEmailDestinationConfig added in v0.2.5

func UnmarshalDestinationConfigOneOfCustomDomainEmailDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfCustomDomainEmailDestinationConfig unmarshals an instance of DestinationConfigOneOfCustomDomainEmailDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfFcmDestinationConfig added in v0.1.6

func UnmarshalDestinationConfigOneOfFcmDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfFcmDestinationConfig unmarshals an instance of DestinationConfigOneOfFcmDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfFirefoxDestinationConfig added in v0.1.6

func UnmarshalDestinationConfigOneOfFirefoxDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfFirefoxDestinationConfig unmarshals an instance of DestinationConfigOneOfFirefoxDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfHuaweiDestinationConfig added in v0.2.3

func UnmarshalDestinationConfigOneOfHuaweiDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfHuaweiDestinationConfig unmarshals an instance of DestinationConfigOneOfHuaweiDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfIBMCloudFunctionsDestinationConfig added in v0.1.6

func UnmarshalDestinationConfigOneOfIBMCloudFunctionsDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfIBMCloudFunctionsDestinationConfig unmarshals an instance of DestinationConfigOneOfIBMCloudFunctionsDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfIBMCloudObjectStorageDestinationConfig added in v0.2.2

func UnmarshalDestinationConfigOneOfIBMCloudObjectStorageDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfIBMCloudObjectStorageDestinationConfig unmarshals an instance of DestinationConfigOneOfIBMCloudObjectStorageDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfIosDestinationConfig added in v0.1.6

func UnmarshalDestinationConfigOneOfIosDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfIosDestinationConfig unmarshals an instance of DestinationConfigOneOfIosDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfMsTeamsDestinationConfig added in v0.1.6

func UnmarshalDestinationConfigOneOfMsTeamsDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfMsTeamsDestinationConfig unmarshals an instance of DestinationConfigOneOfMsTeamsDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfPagerDutyDestinationConfig added in v0.1.7

func UnmarshalDestinationConfigOneOfPagerDutyDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfPagerDutyDestinationConfig unmarshals an instance of DestinationConfigOneOfPagerDutyDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfSafariDestinationConfig added in v0.1.6

func UnmarshalDestinationConfigOneOfSafariDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfSafariDestinationConfig unmarshals an instance of DestinationConfigOneOfSafariDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfServiceNowDestinationConfig added in v0.1.8

func UnmarshalDestinationConfigOneOfServiceNowDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfServiceNowDestinationConfig unmarshals an instance of DestinationConfigOneOfServiceNowDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfSlackDestinationConfig added in v0.1.6

func UnmarshalDestinationConfigOneOfSlackDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfSlackDestinationConfig unmarshals an instance of DestinationConfigOneOfSlackDestinationConfig from the specified map of raw messages.

func UnmarshalDestinationConfigOneOfWebhookDestinationConfig added in v0.1.6

func UnmarshalDestinationConfigOneOfWebhookDestinationConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDestinationConfigOneOfWebhookDestinationConfig unmarshals an instance of DestinationConfigOneOfWebhookDestinationConfig 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 UnmarshalDkimAttributes added in v0.2.5

func UnmarshalDkimAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDkimAttributes unmarshals an instance of DkimAttributes from the specified map of raw messages.

func UnmarshalEmailAttributesResponseInvitedItems added in v0.1.6

func UnmarshalEmailAttributesResponseInvitedItems(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEmailAttributesResponseInvitedItems unmarshals an instance of EmailAttributesResponseInvitedItems from the specified map of raw messages.

func UnmarshalEmailAttributesResponseSubscribedUnsubscribedItems added in v0.1.6

func UnmarshalEmailAttributesResponseSubscribedUnsubscribedItems(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEmailAttributesResponseSubscribedUnsubscribedItems unmarshals an instance of EmailAttributesResponseSubscribedUnsubscribedItems from the specified map of raw messages.

func UnmarshalEnAuthAttributes added in v0.6.0

func UnmarshalEnAuthAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEnAuthAttributes unmarshals an instance of EnAuthAttributes from the specified map of raw messages.

func UnmarshalEnabledCountriesResponse added in v0.4.0

func UnmarshalEnabledCountriesResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEnabledCountriesResponse unmarshals an instance of EnabledCountriesResponse from the specified map of raw messages.

func UnmarshalIntegrationCreateMetadata added in v0.4.0

func UnmarshalIntegrationCreateMetadata(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIntegrationCreateMetadata unmarshals an instance of IntegrationCreateMetadata from the specified map of raw messages.

func UnmarshalIntegrationCreateResponse added in v0.4.0

func UnmarshalIntegrationCreateResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIntegrationCreateResponse unmarshals an instance of IntegrationCreateResponse from the specified map of raw messages.

func UnmarshalIntegrationGetResponse added in v0.1.7

func UnmarshalIntegrationGetResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIntegrationGetResponse unmarshals an instance of IntegrationGetResponse from the specified map of raw messages.

func UnmarshalIntegrationList added in v0.1.7

func UnmarshalIntegrationList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIntegrationList unmarshals an instance of IntegrationList from the specified map of raw messages.

func UnmarshalIntegrationListItem added in v0.1.7

func UnmarshalIntegrationListItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIntegrationListItem unmarshals an instance of IntegrationListItem from the specified map of raw messages.

func UnmarshalIntegrationMetadata added in v0.1.7

func UnmarshalIntegrationMetadata(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalIntegrationMetadata unmarshals an instance of IntegrationMetadata 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 UnmarshalPageHrefResponse added in v0.1.6

func UnmarshalPageHrefResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPageHrefResponse unmarshals an instance of PageHrefResponse 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 UnmarshalSMTPAllowedIPs added in v0.6.0

func UnmarshalSMTPAllowedIPs(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPAllowedIPs unmarshals an instance of SMTPAllowedIPs from the specified map of raw messages.

func UnmarshalSMTPConfig added in v0.6.0

func UnmarshalSMTPConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPConfig unmarshals an instance of SMTPConfig from the specified map of raw messages.

func UnmarshalSMTPConfiguration added in v0.6.0

func UnmarshalSMTPConfiguration(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPConfiguration unmarshals an instance of SMTPConfiguration from the specified map of raw messages.

func UnmarshalSMTPConfigurationsList added in v0.6.0

func UnmarshalSMTPConfigurationsList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPConfigurationsList unmarshals an instance of SMTPConfigurationsList from the specified map of raw messages.

func UnmarshalSMTPCreateResponse added in v0.6.0

func UnmarshalSMTPCreateResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPCreateResponse unmarshals an instance of SMTPCreateResponse from the specified map of raw messages.

func UnmarshalSMTPUser added in v0.6.0

func UnmarshalSMTPUser(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPUser unmarshals an instance of SMTPUser from the specified map of raw messages.

func UnmarshalSMTPUserResponse added in v0.6.0

func UnmarshalSMTPUserResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPUserResponse unmarshals an instance of SMTPUserResponse from the specified map of raw messages.

func UnmarshalSMTPUsersList added in v0.6.0

func UnmarshalSMTPUsersList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPUsersList unmarshals an instance of SMTPUsersList from the specified map of raw messages.

func UnmarshalSMTPVerificationResponse added in v0.6.0

func UnmarshalSMTPVerificationResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPVerificationResponse unmarshals an instance of SMTPVerificationResponse from the specified map of raw messages.

func UnmarshalSMTPVerificationUpdateResponse added in v0.6.0

func UnmarshalSMTPVerificationUpdateResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSMTPVerificationUpdateResponse unmarshals an instance of SMTPVerificationUpdateResponse from the specified map of raw messages.

func UnmarshalSmsAttributesItems added in v0.1.6

func UnmarshalSmsAttributesItems(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSmsAttributesItems unmarshals an instance of SmsAttributesItems from the specified map of raw messages.

func UnmarshalSmsCountryConfig added in v0.4.0

func UnmarshalSmsCountryConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSmsCountryConfig unmarshals an instance of SmsCountryConfig from the specified map of raw messages.

func UnmarshalSmsInviteAttributesItems added in v0.1.6

func UnmarshalSmsInviteAttributesItems(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSmsInviteAttributesItems unmarshals an instance of SmsInviteAttributesItems 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 UnmarshalSourcesItems added in v0.1.6

func UnmarshalSourcesItems(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSourcesItems unmarshals an instance of SourcesItems from the specified map of raw messages.

func UnmarshalSourcesListItems added in v0.1.6

func UnmarshalSourcesListItems(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSourcesListItems unmarshals an instance of SourcesListItems from the specified map of raw messages.

func UnmarshalSpfAttributes added in v0.2.5

func UnmarshalSpfAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSpfAttributes unmarshals an instance of SpfAttributes 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 UnmarshalSubscriptionAttributesCustomEmailAttributesResponse added in v0.2.5

func UnmarshalSubscriptionAttributesCustomEmailAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionAttributesCustomEmailAttributesResponse unmarshals an instance of SubscriptionAttributesCustomEmailAttributesResponse from the specified map of raw messages.

func UnmarshalSubscriptionAttributesCustomSmsAttributesResponse added in v0.4.0

func UnmarshalSubscriptionAttributesCustomSmsAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionAttributesCustomSmsAttributesResponse unmarshals an instance of SubscriptionAttributesCustomSmsAttributesResponse 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 UnmarshalSubscriptionAttributesServiceNowAttributesResponse added in v0.1.8

func UnmarshalSubscriptionAttributesServiceNowAttributesResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionAttributesServiceNowAttributesResponse unmarshals an instance of SubscriptionAttributesServiceNowAttributesResponse 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 UnmarshalSubscriptionCreateAttributesCustomEmailAttributes added in v0.2.5

func UnmarshalSubscriptionCreateAttributesCustomEmailAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionCreateAttributesCustomEmailAttributes unmarshals an instance of SubscriptionCreateAttributesCustomEmailAttributes from the specified map of raw messages.

func UnmarshalSubscriptionCreateAttributesCustomSmsAttributes added in v0.4.0

func UnmarshalSubscriptionCreateAttributesCustomSmsAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionCreateAttributesCustomSmsAttributes unmarshals an instance of SubscriptionCreateAttributesCustomSmsAttributes 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 UnmarshalSubscriptionCreateAttributesServiceNowAttributes added in v0.1.8

func UnmarshalSubscriptionCreateAttributesServiceNowAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionCreateAttributesServiceNowAttributes unmarshals an instance of SubscriptionCreateAttributesServiceNowAttributes 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 UnmarshalSubscriptionUpdateAttributesCustomEmailUpdateAttributes added in v0.2.5

func UnmarshalSubscriptionUpdateAttributesCustomEmailUpdateAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionUpdateAttributesCustomEmailUpdateAttributes unmarshals an instance of SubscriptionUpdateAttributesCustomEmailUpdateAttributes from the specified map of raw messages.

func UnmarshalSubscriptionUpdateAttributesCustomSmsUpdateAttributes added in v0.4.0

func UnmarshalSubscriptionUpdateAttributesCustomSmsUpdateAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionUpdateAttributesCustomSmsUpdateAttributes unmarshals an instance of SubscriptionUpdateAttributesCustomSmsUpdateAttributes 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 UnmarshalSubscriptionUpdateAttributesServiceNowAttributes added in v0.1.8

func UnmarshalSubscriptionUpdateAttributesServiceNowAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionUpdateAttributesServiceNowAttributes unmarshals an instance of SubscriptionUpdateAttributesServiceNowAttributes 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 UnmarshalSubscriptionUpdateAttributesSmsUpdateAttributes added in v0.1.5

func UnmarshalSubscriptionUpdateAttributesSmsUpdateAttributes(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSubscriptionUpdateAttributesSmsUpdateAttributes unmarshals an instance of SubscriptionUpdateAttributesSmsUpdateAttributes 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 UnmarshalTemplate added in v0.2.7

func UnmarshalTemplate(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTemplate unmarshals an instance of Template from the specified map of raw messages.

func UnmarshalTemplateConfigOneOf added in v0.6.0

func UnmarshalTemplateConfigOneOf(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTemplateConfigOneOf unmarshals an instance of TemplateConfigOneOf from the specified map of raw messages.

func UnmarshalTemplateConfigOneOfEmailTemplateConfig added in v0.6.0

func UnmarshalTemplateConfigOneOfEmailTemplateConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTemplateConfigOneOfEmailTemplateConfig unmarshals an instance of TemplateConfigOneOfEmailTemplateConfig from the specified map of raw messages.

func UnmarshalTemplateConfigOneOfSlackTemplateConfig added in v0.6.0

func UnmarshalTemplateConfigOneOfSlackTemplateConfig(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTemplateConfigOneOfSlackTemplateConfig unmarshals an instance of TemplateConfigOneOfSlackTemplateConfig from the specified map of raw messages.

func UnmarshalTemplateList added in v0.2.7

func UnmarshalTemplateList(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTemplateList unmarshals an instance of TemplateList from the specified map of raw messages.

func UnmarshalTemplateResponse added in v0.2.7

func UnmarshalTemplateResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTemplateResponse unmarshals an instance of TemplateResponse from the specified map of raw messages.

func UnmarshalTestDestinationResponse added in v0.3.0

func UnmarshalTestDestinationResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTestDestinationResponse unmarshals an instance of TestDestinationResponse 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 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.

func UnmarshalUpdateAttributesInvited added in v0.1.6

func UnmarshalUpdateAttributesInvited(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdateAttributesInvited unmarshals an instance of UpdateAttributesInvited from the specified map of raw messages.

func UnmarshalUpdateAttributesSubscribed added in v0.1.6

func UnmarshalUpdateAttributesSubscribed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdateAttributesSubscribed unmarshals an instance of UpdateAttributesSubscribed from the specified map of raw messages.

func UnmarshalUpdateAttributesUnsubscribed added in v0.1.6

func UnmarshalUpdateAttributesUnsubscribed(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdateAttributesUnsubscribed unmarshals an instance of UpdateAttributesUnsubscribed from the specified map of raw messages.

func UnmarshalVerificationResponse added in v0.2.5

func UnmarshalVerificationResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalVerificationResponse unmarshals an instance of VerificationResponse from the specified map of raw messages.

Types

type CreateDestinationOptions

type CreateDestinationOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The Destination 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"`

	// Whether to collect the failed event in Cloud Object Storage bucket.
	CollectFailedEvents *bool `json:"collect_failed_events,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) SetCollectFailedEvents added in v0.4.0

func (_options *CreateDestinationOptions) SetCollectFailedEvents(collectFailedEvents bool) *CreateDestinationOptions

SetCollectFailedEvents : Allow user to set CollectFailedEvents

func (*CreateDestinationOptions) SetConfig

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 CreateIntegrationOptions added in v0.4.0

type CreateIntegrationOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The type of Integration.
	Type *string `json:"type" validate:"required"`

	// Integration Metadata object.
	Metadata *IntegrationCreateMetadata `json:"metadata" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateIntegrationOptions : The CreateIntegration options.

func (*CreateIntegrationOptions) SetHeaders added in v0.4.0

func (options *CreateIntegrationOptions) SetHeaders(param map[string]string) *CreateIntegrationOptions

SetHeaders : Allow user to set Headers

func (*CreateIntegrationOptions) SetInstanceID added in v0.4.0

func (_options *CreateIntegrationOptions) SetInstanceID(instanceID string) *CreateIntegrationOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateIntegrationOptions) SetMetadata added in v0.4.0

SetMetadata : Allow user to set Metadata

func (*CreateIntegrationOptions) SetType added in v0.4.0

func (_options *CreateIntegrationOptions) SetType(typeVar string) *CreateIntegrationOptions

SetType : Allow user to set Type

type CreateSMTPConfigurationOptions added in v0.6.0

type CreateSMTPConfigurationOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The name of SMTP configuration.
	Name *string `json:"name" validate:"required"`

	// Domain Name.
	Domain *string `json:"domain" validate:"required"`

	// The description of SMTP configuration.
	Description *string `json:"description,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSMTPConfigurationOptions : The CreateSMTPConfiguration options.

func (*CreateSMTPConfigurationOptions) SetDescription added in v0.6.0

func (_options *CreateSMTPConfigurationOptions) SetDescription(description string) *CreateSMTPConfigurationOptions

SetDescription : Allow user to set Description

func (*CreateSMTPConfigurationOptions) SetDomain added in v0.6.0

SetDomain : Allow user to set Domain

func (*CreateSMTPConfigurationOptions) SetHeaders added in v0.6.0

SetHeaders : Allow user to set Headers

func (*CreateSMTPConfigurationOptions) SetInstanceID added in v0.6.0

func (_options *CreateSMTPConfigurationOptions) SetInstanceID(instanceID string) *CreateSMTPConfigurationOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateSMTPConfigurationOptions) SetName added in v0.6.0

SetName : Allow user to set Name

type CreateSMTPUserOptions added in v0.6.0

type CreateSMTPUserOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// The description of SMTP configuration.
	Description *string `json:"description,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSMTPUserOptions : The CreateSMTPUser options.

func (*CreateSMTPUserOptions) SetDescription added in v0.6.0

func (_options *CreateSMTPUserOptions) SetDescription(description string) *CreateSMTPUserOptions

SetDescription : Allow user to set Description

func (*CreateSMTPUserOptions) SetHeaders added in v0.6.0

func (options *CreateSMTPUserOptions) SetHeaders(param map[string]string) *CreateSMTPUserOptions

SetHeaders : Allow user to set Headers

func (*CreateSMTPUserOptions) SetID added in v0.6.0

func (_options *CreateSMTPUserOptions) SetID(id string) *CreateSMTPUserOptions

SetID : Allow user to set ID

func (*CreateSMTPUserOptions) SetInstanceID added in v0.6.0

func (_options *CreateSMTPUserOptions) SetInstanceID(instanceID string) *CreateSMTPUserOptions

SetInstanceID : Allow user to set InstanceID

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

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

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

SetHeaders : Allow user to set Headers

func (*CreateTagsSubscriptionOptions) SetID added in v0.0.6

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

SetTagName : Allow user to set TagName

type CreateTemplateOptions added in v0.2.7

type CreateTemplateOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// The Message Template.
	Name *string `json:"name" validate:"required"`

	// The type of template.
	Type *string `json:"type" validate:"required"`

	Params TemplateConfigOneOfIntf `json:"params" validate:"required"`

	// The Template description.
	Description *string `json:"description,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateTemplateOptions : The CreateTemplate options.

func (*CreateTemplateOptions) SetDescription added in v0.2.7

func (_options *CreateTemplateOptions) SetDescription(description string) *CreateTemplateOptions

SetDescription : Allow user to set Description

func (*CreateTemplateOptions) SetHeaders added in v0.2.7

func (options *CreateTemplateOptions) SetHeaders(param map[string]string) *CreateTemplateOptions

SetHeaders : Allow user to set Headers

func (*CreateTemplateOptions) SetInstanceID added in v0.2.7

func (_options *CreateTemplateOptions) SetInstanceID(instanceID string) *CreateTemplateOptions

SetInstanceID : Allow user to set InstanceID

func (*CreateTemplateOptions) SetName added in v0.2.7

func (_options *CreateTemplateOptions) SetName(name string) *CreateTemplateOptions

SetName : Allow user to set Name

func (*CreateTemplateOptions) SetParams added in v0.2.7

SetParams : Allow user to set Params

func (*CreateTemplateOptions) SetType added in v0.2.7

func (_options *CreateTemplateOptions) SetType(typeVar string) *CreateTemplateOptions

SetType : Allow user to set Type

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 []SourcesItems `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 []SourcesItems) *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

SetID : Allow user to set ID

func (*DeleteDestinationOptions) SetInstanceID

func (_options *DeleteDestinationOptions) SetInstanceID(instanceID string) *DeleteDestinationOptions

SetInstanceID : Allow user to set InstanceID

type DeleteSMTPConfigurationOptions added in v0.6.0

type DeleteSMTPConfigurationOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSMTPConfigurationOptions : The DeleteSMTPConfiguration options.

func (*DeleteSMTPConfigurationOptions) SetHeaders added in v0.6.0

SetHeaders : Allow user to set Headers

func (*DeleteSMTPConfigurationOptions) SetID added in v0.6.0

SetID : Allow user to set ID

func (*DeleteSMTPConfigurationOptions) SetInstanceID added in v0.6.0

func (_options *DeleteSMTPConfigurationOptions) SetInstanceID(instanceID string) *DeleteSMTPConfigurationOptions

SetInstanceID : Allow user to set InstanceID

type DeleteSMTPUserOptions added in v0.6.0

type DeleteSMTPUserOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// UserID.
	UserID *string `json:"user_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSMTPUserOptions : The DeleteSMTPUser options.

func (*DeleteSMTPUserOptions) SetHeaders added in v0.6.0

func (options *DeleteSMTPUserOptions) SetHeaders(param map[string]string) *DeleteSMTPUserOptions

SetHeaders : Allow user to set Headers

func (*DeleteSMTPUserOptions) SetID added in v0.6.0

func (_options *DeleteSMTPUserOptions) SetID(id string) *DeleteSMTPUserOptions

SetID : Allow user to set ID

func (*DeleteSMTPUserOptions) SetInstanceID added in v0.6.0

func (_options *DeleteSMTPUserOptions) SetInstanceID(instanceID string) *DeleteSMTPUserOptions

SetInstanceID : Allow user to set InstanceID

func (*DeleteSMTPUserOptions) SetUserID added in v0.6.0

func (_options *DeleteSMTPUserOptions) SetUserID(userID string) *DeleteSMTPUserOptions

SetUserID : Allow user to set UserID

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

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="`

	// Device ID 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

SetHeaders : Allow user to set Headers

func (*DeleteTagsSubscriptionOptions) SetID added in v0.0.6

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

SetTagName : Allow user to set TagName

type DeleteTemplateOptions added in v0.2.7

type DeleteTemplateOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for Template.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteTemplateOptions : The DeleteTemplate options.

func (*DeleteTemplateOptions) SetHeaders added in v0.2.7

func (options *DeleteTemplateOptions) SetHeaders(param map[string]string) *DeleteTemplateOptions

SetHeaders : Allow user to set Headers

func (*DeleteTemplateOptions) SetID added in v0.2.7

func (_options *DeleteTemplateOptions) SetID(id string) *DeleteTemplateOptions

SetID : Allow user to set ID

func (*DeleteTemplateOptions) SetInstanceID added in v0.2.7

func (_options *DeleteTemplateOptions) SetInstanceID(instanceID string) *DeleteTemplateOptions

SetInstanceID : Allow user to set InstanceID

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/PagerDuty/IBMCloudFunctions/IBMCodeEngine/ServiceNow/IBMCloudObjectStorage/Huawei.
	Type *string `json:"type" validate:"required"`

	// Whether to collect the failed event in Cloud Object Storage bucket.
	CollectFailedEvents *bool `json:"collect_failed_events,omitempty"`

	// 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 DestinationConfigOneOfIntf `json:"params" validate:"required"`
}

DestinationConfig : Payload describing a destination configuration.

type DestinationConfigOneOf added in v0.1.6

type DestinationConfigOneOf struct {
	// Email Domain.
	Domain *string `json:"domain,omitempty"`

	// The DKIM attributes.
	Dkim *DkimAttributes `json:"dkim,omitempty"`

	// The SPF attributes.
	Spf *SpfAttributes `json:"spf,omitempty"`

	// 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"`

	// The code engine destination type.
	Type *string `json:"type,omitempty"`

	// CRN of the code engine project.
	ProjectCRN *string `json:"project_crn,omitempty"`

	// name of the code engine job.
	JobName *string `json:"job_name,omitempty"`

	// FCM server_key.
	// Deprecated: this field is deprecated and may be removed in a future release.
	ServerKey *string `json:"server_key,omitempty"`

	// FCM sender_id.
	// Deprecated: this field is deprecated and may be removed in a future release.
	SenderID *string `json:"sender_id,omitempty"`

	// If pre prod enabled.
	PreProd *bool `json:"pre_prod,omitempty"`

	// FCM project_id.
	ProjectID *string `json:"project_id,omitempty"`

	// FCM private_key.
	PrivateKey *string `json:"private_key,omitempty"`

	// FCM client_email.
	ClientEmail *string `json:"client_email,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"`

	// Website url.
	WebsiteName *string `json:"website_name,omitempty"`

	// Website url.
	URLFormatString *string `json:"url_format_string,omitempty"`

	// Website url.
	WebsitePushID *string `json:"website_push_id,omitempty"`

	// Routing Key (Integration Key) for the team in PagerDuty account.
	RoutingKey *string `json:"routing_key,omitempty"`

	// ClientID for the ServiceNow account oauth.
	ClientID *string `json:"client_id,omitempty"`

	// ClientSecret for the ServiceNow account oauth.
	ClientSecret *string `json:"client_secret,omitempty"`

	// Username for ServiceNow account REST API.
	Username *string `json:"username,omitempty"`

	// Instance name for ServiceNow account.
	InstanceName *string `json:"instance_name,omitempty"`

	// Bucket Name for Cloud Object Storage.
	BucketName *string `json:"bucket_name,omitempty"`

	// Instance Id of Cloud Object Storage.
	InstanceID *string `json:"instance_id,omitempty"`

	// End Point of Cloud Object Storage.
	Endpoint *string `json:"endpoint,omitempty"`
}

DestinationConfigOneOf : DestinationConfigOneOf struct Models which "extend" this model: - DestinationConfigOneOfCustomDomainEmailDestinationConfig - DestinationConfigOneOfWebhookDestinationConfig - DestinationConfigOneOfCodeEngineDestinationConfig - DestinationConfigOneOfFcmDestinationConfig - DestinationConfigOneOfIosDestinationConfig - DestinationConfigOneOfChromeDestinationConfig - DestinationConfigOneOfFirefoxDestinationConfig - DestinationConfigOneOfSlackDestinationConfig - DestinationConfigOneOfSafariDestinationConfig - DestinationConfigOneOfMsTeamsDestinationConfig - DestinationConfigOneOfIBMCloudFunctionsDestinationConfig - DestinationConfigOneOfPagerDutyDestinationConfig - DestinationConfigOneOfServiceNowDestinationConfig - DestinationConfigOneOfIBMCloudObjectStorageDestinationConfig - DestinationConfigOneOfHuaweiDestinationConfig

type DestinationConfigOneOfChromeDestinationConfig added in v0.1.6

type DestinationConfigOneOfChromeDestinationConfig 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"`
}

DestinationConfigOneOfChromeDestinationConfig : Payload describing a Chrome destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfCodeEngineDestinationConfig added in v0.5.0

type DestinationConfigOneOfCodeEngineDestinationConfig struct {
	// URL of code engine.
	URL *string `json:"url,omitempty"`

	// HTTP method of code engine.
	Verb *string `json:"verb,omitempty"`

	// The code engine destination type.
	Type *string `json:"type" validate:"required"`

	// CRN of the code engine project.
	ProjectCRN *string `json:"project_crn,omitempty"`

	// name of the code engine job.
	JobName *string `json:"job_name,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"`
}

DestinationConfigOneOfCodeEngineDestinationConfig : Payload describing a code engine destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfCustomDomainEmailDestinationConfig added in v0.2.5

type DestinationConfigOneOfCustomDomainEmailDestinationConfig struct {
	// Email Domain.
	Domain *string `json:"domain" validate:"required"`

	// The DKIM attributes.
	Dkim *DkimAttributes `json:"dkim,omitempty"`

	// The SPF attributes.
	Spf *SpfAttributes `json:"spf,omitempty"`
}

DestinationConfigOneOfCustomDomainEmailDestinationConfig : Payload describing a custom Domain Email destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfFcmDestinationConfig added in v0.1.6

type DestinationConfigOneOfFcmDestinationConfig struct {
	// FCM server_key.
	// Deprecated: this field is deprecated and may be removed in a future release.
	ServerKey *string `json:"server_key,omitempty"`

	// FCM sender_id.
	// Deprecated: this field is deprecated and may be removed in a future release.
	SenderID *string `json:"sender_id,omitempty"`

	// If pre prod enabled.
	PreProd *bool `json:"pre_prod,omitempty"`

	// FCM project_id.
	ProjectID *string `json:"project_id,omitempty"`

	// FCM private_key.
	PrivateKey *string `json:"private_key,omitempty"`

	// FCM client_email.
	ClientEmail *string `json:"client_email,omitempty"`
}

DestinationConfigOneOfFcmDestinationConfig : Payload describing an FCM destination configuration. project_id, private_key and client_email for FCM HTTP v1 APIs. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfFirefoxDestinationConfig added in v0.1.6

type DestinationConfigOneOfFirefoxDestinationConfig 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"`
}

DestinationConfigOneOfFirefoxDestinationConfig : Payload describing a Firefox destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfHuaweiDestinationConfig added in v0.2.3

type DestinationConfigOneOfHuaweiDestinationConfig struct {
	// ClientID for the Huawei account oauth.
	ClientID *string `json:"client_id" validate:"required"`

	// ClientSecret for the Huawei account oauth.
	ClientSecret *string `json:"client_secret" validate:"required"`

	// If pre prod enabled.
	PreProd *bool `json:"pre_prod,omitempty"`
}

DestinationConfigOneOfHuaweiDestinationConfig : Payload describing a Huawei destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfIBMCloudFunctionsDestinationConfig added in v0.1.6

type DestinationConfigOneOfIBMCloudFunctionsDestinationConfig struct {
	// URL of IBM Cloud Functions Trigger EndPoint.
	URL *string `json:"url" validate:"required"`

	// API Key with access of IBM Cloud Functions IAM Namespace.
	APIKey *string `json:"api_key,omitempty"`
}

DestinationConfigOneOfIBMCloudFunctionsDestinationConfig : Payload describing an IBM Cloud Functions destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfIBMCloudObjectStorageDestinationConfig added in v0.2.2

type DestinationConfigOneOfIBMCloudObjectStorageDestinationConfig struct {
	// Bucket Name for Cloud Object Storage.
	BucketName *string `json:"bucket_name" validate:"required"`

	// Instance Id of Cloud Object Storage.
	InstanceID *string `json:"instance_id" validate:"required"`

	// End Point of Cloud Object Storage.
	Endpoint *string `json:"endpoint" validate:"required"`
}

DestinationConfigOneOfIBMCloudObjectStorageDestinationConfig : Payload describing a Cloud Object Storage destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfIntf added in v0.1.6

type DestinationConfigOneOfIntf interface {
	// contains filtered or unexported methods
}

type DestinationConfigOneOfIosDestinationConfig added in v0.1.6

type DestinationConfigOneOfIosDestinationConfig 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"`
}

DestinationConfigOneOfIosDestinationConfig : Payload describing an iOS destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfMsTeamsDestinationConfig added in v0.1.6

type DestinationConfigOneOfMsTeamsDestinationConfig struct {
	// URL of MS Teams Incoming Notifications.
	URL *string `json:"url" validate:"required"`
}

DestinationConfigOneOfMsTeamsDestinationConfig : Payload describing a MS Teams destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfPagerDutyDestinationConfig added in v0.1.7

type DestinationConfigOneOfPagerDutyDestinationConfig struct {
	// API Key for the PagerDuty account.
	APIKey *string `json:"api_key" validate:"required"`

	// Routing Key (Integration Key) for the team in PagerDuty account.
	RoutingKey *string `json:"routing_key" validate:"required"`
}

DestinationConfigOneOfPagerDutyDestinationConfig : Payload describing a PagerDuty destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfSafariDestinationConfig added in v0.1.6

type DestinationConfigOneOfSafariDestinationConfig 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"`

	// Website url.
	WebsiteURL *string `json:"website_url" validate:"required"`

	// Website url.
	WebsiteName *string `json:"website_name" validate:"required"`

	// Website url.
	URLFormatString *string `json:"url_format_string" validate:"required"`

	// Website url.
	WebsitePushID *string `json:"website_push_id" validate:"required"`

	// If pre prod enabled.
	PreProd *bool `json:"pre_prod,omitempty"`
}

DestinationConfigOneOfSafariDestinationConfig : Payload describing a Safari destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfServiceNowDestinationConfig added in v0.1.8

type DestinationConfigOneOfServiceNowDestinationConfig struct {
	// ClientID for the ServiceNow account oauth.
	ClientID *string `json:"client_id" validate:"required"`

	// ClientSecret for the ServiceNow account oauth.
	ClientSecret *string `json:"client_secret" validate:"required"`

	// Username for ServiceNow account REST API.
	Username *string `json:"username" validate:"required"`

	// Password for ServiceNow account REST API.
	Password *string `json:"password" validate:"required"`

	// Instance name for ServiceNow account.
	InstanceName *string `json:"instance_name" validate:"required"`
}

DestinationConfigOneOfServiceNowDestinationConfig : Payload describing a ServiceNow destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfSlackDestinationConfig added in v0.1.6

type DestinationConfigOneOfSlackDestinationConfig struct {
	// URL of Slack Incoming Notifications.
	URL *string `json:"url" validate:"required"`
}

DestinationConfigOneOfSlackDestinationConfig : Payload describing a Slack destination configuration. This model "extends" DestinationConfigOneOf

type DestinationConfigOneOfWebhookDestinationConfig added in v0.1.6

type DestinationConfigOneOfWebhookDestinationConfig 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"`
}

DestinationConfigOneOfWebhookDestinationConfig : Payload describing a webhook destination configuration. This model "extends" DestinationConfigOneOf

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"`

	// Response having URL of the page.
	First *PageHrefResponse `json:"first,omitempty"`

	// Response having URL of the page.
	Previous *PageHrefResponse `json:"previous,omitempty"`

	// Response having URL of the page.
	Next *PageHrefResponse `json:"next,omitempty"`
}

DestinationList : Payload describing a destination list request.

func (*DestinationList) GetNextOffset added in v0.1.6

func (resp *DestinationList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

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"`

	// Whether to collect the failed event in Cloud Object Storage bucket.
	CollectFailedEvents *bool `json:"collect_failed_events,omitempty"`

	// 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"`

	// Whether to collect the failed event in Cloud Object Storage bucket.
	CollectFailedEvents *bool `json:"collect_failed_events,omitempty"`

	// 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 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 DestinationsPager added in v0.1.6

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

DestinationsPager can be used to simplify the use of the "ListDestinations" method.

func (*DestinationsPager) GetAll added in v0.1.6

func (pager *DestinationsPager) GetAll() (allItems []DestinationListItem, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*DestinationsPager) GetAllWithContext added in v0.1.6

func (pager *DestinationsPager) GetAllWithContext(ctx context.Context) (allItems []DestinationListItem, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*DestinationsPager) GetNext added in v0.1.6

func (pager *DestinationsPager) GetNext() (page []DestinationListItem, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*DestinationsPager) GetNextWithContext added in v0.1.6

func (pager *DestinationsPager) GetNextWithContext(ctx context.Context) (page []DestinationListItem, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*DestinationsPager) HasNext added in v0.1.6

func (pager *DestinationsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type DkimAttributes added in v0.2.5

type DkimAttributes struct {
	// dkim public key.
	PublicKey *string `json:"public_key,omitempty"`

	// dkim selector.
	Selector *string `json:"selector,omitempty"`

	// dkim verification.
	Verification *string `json:"verification,omitempty"`
}

DkimAttributes : The DKIM attributes.

type EmailAttributesResponseInvitedItems added in v0.1.6

type EmailAttributesResponseInvitedItems struct {
	// email address.
	Email *string `json:"email,omitempty"`

	// last updated time.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`

	// time of expiration.
	ExpiresAt *strfmt.DateTime `json:"expires_at,omitempty"`
}

EmailAttributesResponseInvitedItems : EmailAttributesResponseInvitedItems struct

type EmailAttributesResponseSubscribedUnsubscribedItems added in v0.1.6

type EmailAttributesResponseSubscribedUnsubscribedItems struct {
	// email address.
	Email *string `json:"email,omitempty"`

	// last updated time.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`
}

EmailAttributesResponseSubscribedUnsubscribedItems : EmailAttributesResponseSubscribedUnsubscribedItems struct

type EnAuthAttributes added in v0.6.0

type EnAuthAttributes struct {
	// en_authorization verification.
	Verification *string `json:"verification,omitempty"`
}

EnAuthAttributes : The en_authorization attributes.

type EnabledCountriesResponse added in v0.4.0

type EnabledCountriesResponse struct {
	// The SMS destination status.
	Status *string `json:"status" validate:"required"`

	// List enabled countries.
	EnabledCountries []SmsCountryConfig `json:"enabled_countries" validate:"required"`
}

EnabledCountriesResponse : Payload describing a custom SMS Configuration.

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) CreateIntegration added in v0.4.0

func (eventNotifications *EventNotificationsV1) CreateIntegration(createIntegrationOptions *CreateIntegrationOptions) (result *IntegrationCreateResponse, response *core.DetailedResponse, err error)

CreateIntegration : Create an Integration Create an Integration.

func (*EventNotificationsV1) CreateIntegrationWithContext added in v0.4.0

func (eventNotifications *EventNotificationsV1) CreateIntegrationWithContext(ctx context.Context, createIntegrationOptions *CreateIntegrationOptions) (result *IntegrationCreateResponse, response *core.DetailedResponse, err error)

CreateIntegrationWithContext is an alternate form of the CreateIntegration method which supports a Context parameter

func (*EventNotificationsV1) CreateSMTPConfiguration added in v0.6.0

func (eventNotifications *EventNotificationsV1) CreateSMTPConfiguration(createSMTPConfigurationOptions *CreateSMTPConfigurationOptions) (result *SMTPCreateResponse, response *core.DetailedResponse, err error)

CreateSMTPConfiguration : Create a new SMTP Configuration Create a new SMTP Configuration.

func (*EventNotificationsV1) CreateSMTPConfigurationWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) CreateSMTPConfigurationWithContext(ctx context.Context, createSMTPConfigurationOptions *CreateSMTPConfigurationOptions) (result *SMTPCreateResponse, response *core.DetailedResponse, err error)

CreateSMTPConfigurationWithContext is an alternate form of the CreateSMTPConfiguration method which supports a Context parameter

func (*EventNotificationsV1) CreateSMTPUser added in v0.6.0

func (eventNotifications *EventNotificationsV1) CreateSMTPUser(createSMTPUserOptions *CreateSMTPUserOptions) (result *SMTPUserResponse, response *core.DetailedResponse, err error)

CreateSMTPUser : Create a new SMTP User Create a new SMTP User.

func (*EventNotificationsV1) CreateSMTPUserWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) CreateSMTPUserWithContext(ctx context.Context, createSMTPUserOptions *CreateSMTPUserOptions) (result *SMTPUserResponse, response *core.DetailedResponse, err error)

CreateSMTPUserWithContext is an alternate form of the CreateSMTPUser 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) CreateTemplate added in v0.2.7

func (eventNotifications *EventNotificationsV1) CreateTemplate(createTemplateOptions *CreateTemplateOptions) (result *TemplateResponse, response *core.DetailedResponse, err error)

CreateTemplate : Create a new Template Create a new Template.

func (*EventNotificationsV1) CreateTemplateWithContext added in v0.2.7

func (eventNotifications *EventNotificationsV1) CreateTemplateWithContext(ctx context.Context, createTemplateOptions *CreateTemplateOptions) (result *TemplateResponse, response *core.DetailedResponse, err error)

CreateTemplateWithContext is an alternate form of the CreateTemplate 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) DeleteSMTPConfiguration added in v0.6.0

func (eventNotifications *EventNotificationsV1) DeleteSMTPConfiguration(deleteSMTPConfigurationOptions *DeleteSMTPConfigurationOptions) (response *core.DetailedResponse, err error)

DeleteSMTPConfiguration : Delete a SMTP Configuration Delete a SMTP Configuration.

func (*EventNotificationsV1) DeleteSMTPConfigurationWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) DeleteSMTPConfigurationWithContext(ctx context.Context, deleteSMTPConfigurationOptions *DeleteSMTPConfigurationOptions) (response *core.DetailedResponse, err error)

DeleteSMTPConfigurationWithContext is an alternate form of the DeleteSMTPConfiguration method which supports a Context parameter

func (*EventNotificationsV1) DeleteSMTPUser added in v0.6.0

func (eventNotifications *EventNotificationsV1) DeleteSMTPUser(deleteSMTPUserOptions *DeleteSMTPUserOptions) (response *core.DetailedResponse, err error)

DeleteSMTPUser : Delete a SMTP user Delete a SMTP user.

func (*EventNotificationsV1) DeleteSMTPUserWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) DeleteSMTPUserWithContext(ctx context.Context, deleteSMTPUserOptions *DeleteSMTPUserOptions) (response *core.DetailedResponse, err error)

DeleteSMTPUserWithContext is an alternate form of the DeleteSMTPUser 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 subscription Delete a tag subscription.

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) DeleteTemplate added in v0.2.7

func (eventNotifications *EventNotificationsV1) DeleteTemplate(deleteTemplateOptions *DeleteTemplateOptions) (response *core.DetailedResponse, err error)

DeleteTemplate : Delete a Template Delete a Template.

func (*EventNotificationsV1) DeleteTemplateWithContext added in v0.2.7

func (eventNotifications *EventNotificationsV1) DeleteTemplateWithContext(ctx context.Context, deleteTemplateOptions *DeleteTemplateOptions) (response *core.DetailedResponse, err error)

DeleteTemplateWithContext is an alternate form of the DeleteTemplate 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) GetEnableGzipCompression

func (eventNotifications *EventNotificationsV1) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*EventNotificationsV1) GetEnabledCountries added in v0.4.0

func (eventNotifications *EventNotificationsV1) GetEnabledCountries(getEnabledCountriesOptions *GetEnabledCountriesOptions) (result *EnabledCountriesResponse, response *core.DetailedResponse, err error)

GetEnabledCountries : Get enabled country details of SMS destination Get enabled country details of SMS destination.

func (*EventNotificationsV1) GetEnabledCountriesWithContext added in v0.4.0

func (eventNotifications *EventNotificationsV1) GetEnabledCountriesWithContext(ctx context.Context, getEnabledCountriesOptions *GetEnabledCountriesOptions) (result *EnabledCountriesResponse, response *core.DetailedResponse, err error)

GetEnabledCountriesWithContext is an alternate form of the GetEnabledCountries method which supports a Context parameter

func (*EventNotificationsV1) GetIntegration added in v0.1.7

func (eventNotifications *EventNotificationsV1) GetIntegration(getIntegrationOptions *GetIntegrationOptions) (result *IntegrationGetResponse, response *core.DetailedResponse, err error)

GetIntegration : Get a single Integration Get a single KMS Integration.

func (*EventNotificationsV1) GetIntegrationWithContext added in v0.1.7

func (eventNotifications *EventNotificationsV1) GetIntegrationWithContext(ctx context.Context, getIntegrationOptions *GetIntegrationOptions) (result *IntegrationGetResponse, response *core.DetailedResponse, err error)

GetIntegrationWithContext is an alternate form of the GetIntegration method which supports a Context parameter

func (*EventNotificationsV1) GetSMTPAllowedIps added in v0.6.0

func (eventNotifications *EventNotificationsV1) GetSMTPAllowedIps(getSMTPAllowedIpsOptions *GetSMTPAllowedIpsOptions) (result *SMTPAllowedIPs, response *core.DetailedResponse, err error)

GetSMTPAllowedIps : Get details of a SMTP allowed IPs Get details of a SMTP allowed IPs.

func (*EventNotificationsV1) GetSMTPAllowedIpsWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) GetSMTPAllowedIpsWithContext(ctx context.Context, getSMTPAllowedIpsOptions *GetSMTPAllowedIpsOptions) (result *SMTPAllowedIPs, response *core.DetailedResponse, err error)

GetSMTPAllowedIpsWithContext is an alternate form of the GetSMTPAllowedIps method which supports a Context parameter

func (*EventNotificationsV1) GetSMTPConfiguration added in v0.6.0

func (eventNotifications *EventNotificationsV1) GetSMTPConfiguration(getSMTPConfigurationOptions *GetSMTPConfigurationOptions) (result *SMTPConfiguration, response *core.DetailedResponse, err error)

GetSMTPConfiguration : Get details of a SMTP Configuration Get details of a SMTP Configuration.

func (*EventNotificationsV1) GetSMTPConfigurationWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) GetSMTPConfigurationWithContext(ctx context.Context, getSMTPConfigurationOptions *GetSMTPConfigurationOptions) (result *SMTPConfiguration, response *core.DetailedResponse, err error)

GetSMTPConfigurationWithContext is an alternate form of the GetSMTPConfiguration method which supports a Context parameter

func (*EventNotificationsV1) GetSMTPUser added in v0.6.0

func (eventNotifications *EventNotificationsV1) GetSMTPUser(getSMTPUserOptions *GetSMTPUserOptions) (result *SMTPUser, response *core.DetailedResponse, err error)

GetSMTPUser : Get details of a SMTP User Get details of a SMTP User.

func (*EventNotificationsV1) GetSMTPUserWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) GetSMTPUserWithContext(ctx context.Context, getSMTPUserOptions *GetSMTPUserOptions) (result *SMTPUser, response *core.DetailedResponse, err error)

GetSMTPUserWithContext is an alternate form of the GetSMTPUser method which supports a Context parameter

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 Source.

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) GetTemplate added in v0.2.7

func (eventNotifications *EventNotificationsV1) GetTemplate(getTemplateOptions *GetTemplateOptions) (result *Template, response *core.DetailedResponse, err error)

GetTemplate : Get details of a Template Get details of a Template.

func (*EventNotificationsV1) GetTemplateWithContext added in v0.2.7

func (eventNotifications *EventNotificationsV1) GetTemplateWithContext(ctx context.Context, getTemplateOptions *GetTemplateOptions) (result *Template, response *core.DetailedResponse, err error)

GetTemplateWithContext is an alternate form of the GetTemplate 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) ListIntegrations added in v0.1.7

func (eventNotifications *EventNotificationsV1) ListIntegrations(listIntegrationsOptions *ListIntegrationsOptions) (result *IntegrationList, response *core.DetailedResponse, err error)

ListIntegrations : List all Integrations List of all KMS Integrations.

func (*EventNotificationsV1) ListIntegrationsWithContext added in v0.1.7

func (eventNotifications *EventNotificationsV1) ListIntegrationsWithContext(ctx context.Context, listIntegrationsOptions *ListIntegrationsOptions) (result *IntegrationList, response *core.DetailedResponse, err error)

ListIntegrationsWithContext is an alternate form of the ListIntegrations method which supports a Context parameter

func (*EventNotificationsV1) ListSMTPConfigurations added in v0.6.0

func (eventNotifications *EventNotificationsV1) ListSMTPConfigurations(listSMTPConfigurationsOptions *ListSMTPConfigurationsOptions) (result *SMTPConfigurationsList, response *core.DetailedResponse, err error)

ListSMTPConfigurations : List all SMTP Configurations List all SMTP Configurations.

func (*EventNotificationsV1) ListSMTPConfigurationsWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) ListSMTPConfigurationsWithContext(ctx context.Context, listSMTPConfigurationsOptions *ListSMTPConfigurationsOptions) (result *SMTPConfigurationsList, response *core.DetailedResponse, err error)

ListSMTPConfigurationsWithContext is an alternate form of the ListSMTPConfigurations method which supports a Context parameter

func (*EventNotificationsV1) ListSMTPUsers added in v0.6.0

func (eventNotifications *EventNotificationsV1) ListSMTPUsers(listSMTPUsersOptions *ListSMTPUsersOptions) (result *SMTPUsersList, response *core.DetailedResponse, err error)

ListSMTPUsers : List all SMTP users List all SMTP users.

func (*EventNotificationsV1) ListSMTPUsersWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) ListSMTPUsersWithContext(ctx context.Context, listSMTPUsersOptions *ListSMTPUsersOptions) (result *SMTPUsersList, response *core.DetailedResponse, err error)

ListSMTPUsersWithContext is an alternate form of the ListSMTPUsers 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) ListTemplates added in v0.2.7

func (eventNotifications *EventNotificationsV1) ListTemplates(listTemplatesOptions *ListTemplatesOptions) (result *TemplateList, response *core.DetailedResponse, err error)

ListTemplates : List all templates List all Templates.

func (*EventNotificationsV1) ListTemplatesWithContext added in v0.2.7

func (eventNotifications *EventNotificationsV1) ListTemplatesWithContext(ctx context.Context, listTemplatesOptions *ListTemplatesOptions) (result *TemplateList, response *core.DetailedResponse, err error)

ListTemplatesWithContext is an alternate form of the ListTemplates 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) NewCreateIntegrationOptions added in v0.4.0

func (*EventNotificationsV1) NewCreateIntegrationOptions(instanceID string, typeVar string, metadata *IntegrationCreateMetadata) *CreateIntegrationOptions

NewCreateIntegrationOptions : Instantiate CreateIntegrationOptions

func (*EventNotificationsV1) NewCreateSMTPConfigurationOptions added in v0.6.0

func (*EventNotificationsV1) NewCreateSMTPConfigurationOptions(instanceID string, name string, domain string) *CreateSMTPConfigurationOptions

NewCreateSMTPConfigurationOptions : Instantiate CreateSMTPConfigurationOptions

func (*EventNotificationsV1) NewCreateSMTPUserOptions added in v0.6.0

func (*EventNotificationsV1) NewCreateSMTPUserOptions(instanceID string, id string) *CreateSMTPUserOptions

NewCreateSMTPUserOptions : Instantiate CreateSMTPUserOptions

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) NewCreateTemplateOptions added in v0.2.7

func (*EventNotificationsV1) NewCreateTemplateOptions(instanceID string, name string, typeVar string, params TemplateConfigOneOfIntf) *CreateTemplateOptions

NewCreateTemplateOptions : Instantiate CreateTemplateOptions

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) NewDeleteSMTPConfigurationOptions added in v0.6.0

func (*EventNotificationsV1) NewDeleteSMTPConfigurationOptions(instanceID string, id string) *DeleteSMTPConfigurationOptions

NewDeleteSMTPConfigurationOptions : Instantiate DeleteSMTPConfigurationOptions

func (*EventNotificationsV1) NewDeleteSMTPUserOptions added in v0.6.0

func (*EventNotificationsV1) NewDeleteSMTPUserOptions(instanceID string, id string, userID string) *DeleteSMTPUserOptions

NewDeleteSMTPUserOptions : Instantiate DeleteSMTPUserOptions

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) NewDeleteTemplateOptions added in v0.2.7

func (*EventNotificationsV1) NewDeleteTemplateOptions(instanceID string, id string) *DeleteTemplateOptions

NewDeleteTemplateOptions : Instantiate DeleteTemplateOptions

func (*EventNotificationsV1) NewDeleteTopicOptions

func (*EventNotificationsV1) NewDeleteTopicOptions(instanceID string, id string) *DeleteTopicOptions

NewDeleteTopicOptions : Instantiate DeleteTopicOptions

func (*EventNotificationsV1) NewDestinationConfig

func (*EventNotificationsV1) NewDestinationConfig(params DestinationConfigOneOfIntf) (_model *DestinationConfig, err error)

NewDestinationConfig : Instantiate DestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfChromeDestinationConfig added in v0.1.6

func (*EventNotificationsV1) NewDestinationConfigOneOfChromeDestinationConfig(apiKey string, websiteURL string) (_model *DestinationConfigOneOfChromeDestinationConfig, err error)

NewDestinationConfigOneOfChromeDestinationConfig : Instantiate DestinationConfigOneOfChromeDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfCodeEngineDestinationConfig added in v0.5.0

func (*EventNotificationsV1) NewDestinationConfigOneOfCodeEngineDestinationConfig(typeVar string) (_model *DestinationConfigOneOfCodeEngineDestinationConfig, err error)

NewDestinationConfigOneOfCodeEngineDestinationConfig : Instantiate DestinationConfigOneOfCodeEngineDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfCustomDomainEmailDestinationConfig added in v0.2.5

func (*EventNotificationsV1) NewDestinationConfigOneOfCustomDomainEmailDestinationConfig(domain string) (_model *DestinationConfigOneOfCustomDomainEmailDestinationConfig, err error)

NewDestinationConfigOneOfCustomDomainEmailDestinationConfig : Instantiate DestinationConfigOneOfCustomDomainEmailDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfFirefoxDestinationConfig added in v0.1.6

func (*EventNotificationsV1) NewDestinationConfigOneOfFirefoxDestinationConfig(websiteURL string) (_model *DestinationConfigOneOfFirefoxDestinationConfig, err error)

NewDestinationConfigOneOfFirefoxDestinationConfig : Instantiate DestinationConfigOneOfFirefoxDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfHuaweiDestinationConfig added in v0.2.3

func (*EventNotificationsV1) NewDestinationConfigOneOfHuaweiDestinationConfig(clientID string, clientSecret string) (_model *DestinationConfigOneOfHuaweiDestinationConfig, err error)

NewDestinationConfigOneOfHuaweiDestinationConfig : Instantiate DestinationConfigOneOfHuaweiDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfIBMCloudFunctionsDestinationConfig added in v0.1.6

func (*EventNotificationsV1) NewDestinationConfigOneOfIBMCloudFunctionsDestinationConfig(url string) (_model *DestinationConfigOneOfIBMCloudFunctionsDestinationConfig, err error)

NewDestinationConfigOneOfIBMCloudFunctionsDestinationConfig : Instantiate DestinationConfigOneOfIBMCloudFunctionsDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfIBMCloudObjectStorageDestinationConfig added in v0.2.2

func (*EventNotificationsV1) NewDestinationConfigOneOfIBMCloudObjectStorageDestinationConfig(bucketName string, instanceID string, endpoint string) (_model *DestinationConfigOneOfIBMCloudObjectStorageDestinationConfig, err error)

NewDestinationConfigOneOfIBMCloudObjectStorageDestinationConfig : Instantiate DestinationConfigOneOfIBMCloudObjectStorageDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfIosDestinationConfig added in v0.1.6

func (*EventNotificationsV1) NewDestinationConfigOneOfIosDestinationConfig(certType string, isSandbox bool) (_model *DestinationConfigOneOfIosDestinationConfig, err error)

NewDestinationConfigOneOfIosDestinationConfig : Instantiate DestinationConfigOneOfIosDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfMsTeamsDestinationConfig added in v0.1.6

func (*EventNotificationsV1) NewDestinationConfigOneOfMsTeamsDestinationConfig(url string) (_model *DestinationConfigOneOfMsTeamsDestinationConfig, err error)

NewDestinationConfigOneOfMsTeamsDestinationConfig : Instantiate DestinationConfigOneOfMsTeamsDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfPagerDutyDestinationConfig added in v0.1.7

func (*EventNotificationsV1) NewDestinationConfigOneOfPagerDutyDestinationConfig(apiKey string, routingKey string) (_model *DestinationConfigOneOfPagerDutyDestinationConfig, err error)

NewDestinationConfigOneOfPagerDutyDestinationConfig : Instantiate DestinationConfigOneOfPagerDutyDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfSafariDestinationConfig added in v0.1.6

func (*EventNotificationsV1) NewDestinationConfigOneOfSafariDestinationConfig(certType string, password string, websiteURL string, websiteName string, urlFormatString string, websitePushID string) (_model *DestinationConfigOneOfSafariDestinationConfig, err error)

NewDestinationConfigOneOfSafariDestinationConfig : Instantiate DestinationConfigOneOfSafariDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfServiceNowDestinationConfig added in v0.1.8

func (*EventNotificationsV1) NewDestinationConfigOneOfServiceNowDestinationConfig(clientID string, clientSecret string, username string, password string, instanceName string) (_model *DestinationConfigOneOfServiceNowDestinationConfig, err error)

NewDestinationConfigOneOfServiceNowDestinationConfig : Instantiate DestinationConfigOneOfServiceNowDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfSlackDestinationConfig added in v0.1.6

func (*EventNotificationsV1) NewDestinationConfigOneOfSlackDestinationConfig(url string) (_model *DestinationConfigOneOfSlackDestinationConfig, err error)

NewDestinationConfigOneOfSlackDestinationConfig : Instantiate DestinationConfigOneOfSlackDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationConfigOneOfWebhookDestinationConfig added in v0.1.6

func (*EventNotificationsV1) NewDestinationConfigOneOfWebhookDestinationConfig(url string, verb string) (_model *DestinationConfigOneOfWebhookDestinationConfig, err error)

NewDestinationConfigOneOfWebhookDestinationConfig : Instantiate DestinationConfigOneOfWebhookDestinationConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewDestinationsPager added in v0.1.6

func (eventNotifications *EventNotificationsV1) NewDestinationsPager(options *ListDestinationsOptions) (pager *DestinationsPager, err error)

NewDestinationsPager returns a new DestinationsPager instance.

func (*EventNotificationsV1) NewGetDestinationOptions

func (*EventNotificationsV1) NewGetDestinationOptions(instanceID string, id string) *GetDestinationOptions

NewGetDestinationOptions : Instantiate GetDestinationOptions

func (*EventNotificationsV1) NewGetEnabledCountriesOptions added in v0.4.0

func (*EventNotificationsV1) NewGetEnabledCountriesOptions(instanceID string, id string) *GetEnabledCountriesOptions

NewGetEnabledCountriesOptions : Instantiate GetEnabledCountriesOptions

func (*EventNotificationsV1) NewGetIntegrationOptions added in v0.1.7

func (*EventNotificationsV1) NewGetIntegrationOptions(instanceID string, id string) *GetIntegrationOptions

NewGetIntegrationOptions : Instantiate GetIntegrationOptions

func (*EventNotificationsV1) NewGetSMTPAllowedIpsOptions added in v0.6.0

func (*EventNotificationsV1) NewGetSMTPAllowedIpsOptions(instanceID string, id string) *GetSMTPAllowedIpsOptions

NewGetSMTPAllowedIpsOptions : Instantiate GetSMTPAllowedIpsOptions

func (*EventNotificationsV1) NewGetSMTPConfigurationOptions added in v0.6.0

func (*EventNotificationsV1) NewGetSMTPConfigurationOptions(instanceID string, id string) *GetSMTPConfigurationOptions

NewGetSMTPConfigurationOptions : Instantiate GetSMTPConfigurationOptions

func (*EventNotificationsV1) NewGetSMTPUserOptions added in v0.6.0

func (*EventNotificationsV1) NewGetSMTPUserOptions(instanceID string, id string, userID string) *GetSMTPUserOptions

NewGetSMTPUserOptions : Instantiate GetSMTPUserOptions

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) NewGetTemplateOptions added in v0.2.7

func (*EventNotificationsV1) NewGetTemplateOptions(instanceID string, id string) *GetTemplateOptions

NewGetTemplateOptions : Instantiate GetTemplateOptions

func (*EventNotificationsV1) NewGetTopicOptions

func (*EventNotificationsV1) NewGetTopicOptions(instanceID string, id string) *GetTopicOptions

NewGetTopicOptions : Instantiate GetTopicOptions

func (*EventNotificationsV1) NewIntegrationCreateMetadata added in v0.4.0

func (*EventNotificationsV1) NewIntegrationCreateMetadata(endpoint string, crn string, bucketName string) (_model *IntegrationCreateMetadata, err error)

NewIntegrationCreateMetadata : Instantiate IntegrationCreateMetadata (Generic Model Constructor)

func (*EventNotificationsV1) NewIntegrationMetadata added in v0.1.7

func (*EventNotificationsV1) NewIntegrationMetadata(endpoint string, crn string) (_model *IntegrationMetadata, err error)

NewIntegrationMetadata : Instantiate IntegrationMetadata (Generic Model Constructor)

func (*EventNotificationsV1) NewIntegrationsPager added in v0.1.7

func (eventNotifications *EventNotificationsV1) NewIntegrationsPager(options *ListIntegrationsOptions) (pager *IntegrationsPager, err error)

NewIntegrationsPager returns a new IntegrationsPager instance.

func (*EventNotificationsV1) NewListDestinationsOptions

func (*EventNotificationsV1) NewListDestinationsOptions(instanceID string) *ListDestinationsOptions

NewListDestinationsOptions : Instantiate ListDestinationsOptions

func (*EventNotificationsV1) NewListIntegrationsOptions added in v0.1.7

func (*EventNotificationsV1) NewListIntegrationsOptions(instanceID string) *ListIntegrationsOptions

NewListIntegrationsOptions : Instantiate ListIntegrationsOptions

func (*EventNotificationsV1) NewListSMTPConfigurationsOptions added in v0.6.0

func (*EventNotificationsV1) NewListSMTPConfigurationsOptions(instanceID string) *ListSMTPConfigurationsOptions

NewListSMTPConfigurationsOptions : Instantiate ListSMTPConfigurationsOptions

func (*EventNotificationsV1) NewListSMTPUsersOptions added in v0.6.0

func (*EventNotificationsV1) NewListSMTPUsersOptions(instanceID string, id string) *ListSMTPUsersOptions

NewListSMTPUsersOptions : Instantiate ListSMTPUsersOptions

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) NewListTemplatesOptions added in v0.2.7

func (*EventNotificationsV1) NewListTemplatesOptions(instanceID string) *ListTemplatesOptions

NewListTemplatesOptions : Instantiate ListTemplatesOptions

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, id string, source string, typeVar string, ibmensourceid string, ibmendefaultshort string, ibmendefaultlong string) (_model *NotificationCreate, err error)

NewNotificationCreate : Instantiate NotificationCreate (Generic Model Constructor)

func (*EventNotificationsV1) NewReplaceIntegrationOptions added in v0.1.7

func (*EventNotificationsV1) NewReplaceIntegrationOptions(instanceID string, id string, typeVar string, metadata *IntegrationMetadata) *ReplaceIntegrationOptions

NewReplaceIntegrationOptions : Instantiate ReplaceIntegrationOptions

func (*EventNotificationsV1) NewReplaceTemplateOptions added in v0.4.0

func (*EventNotificationsV1) NewReplaceTemplateOptions(instanceID string, id string) *ReplaceTemplateOptions

NewReplaceTemplateOptions : Instantiate ReplaceTemplateOptions

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) NewSMTPConfigurationsPager added in v0.6.0

func (eventNotifications *EventNotificationsV1) NewSMTPConfigurationsPager(options *ListSMTPConfigurationsOptions) (pager *SMTPConfigurationsPager, err error)

NewSMTPConfigurationsPager returns a new SMTPConfigurationsPager instance.

func (*EventNotificationsV1) NewSMTPUsersPager added in v0.6.0

func (eventNotifications *EventNotificationsV1) NewSMTPUsersPager(options *ListSMTPUsersOptions) (pager *SMTPUsersPager, err error)

NewSMTPUsersPager returns a new SMTPUsersPager instance.

func (*EventNotificationsV1) NewSendNotificationsOptions added in v0.0.6

func (*EventNotificationsV1) NewSendNotificationsOptions(instanceID string) *SendNotificationsOptions

NewSendNotificationsOptions : Instantiate SendNotificationsOptions

func (*EventNotificationsV1) NewSourcesItems added in v0.1.6

func (*EventNotificationsV1) NewSourcesItems(id string, rules []Rules) (_model *SourcesItems, err error)

NewSourcesItems : Instantiate SourcesItems (Generic Model Constructor)

func (*EventNotificationsV1) NewSourcesPager added in v0.1.6

func (eventNotifications *EventNotificationsV1) NewSourcesPager(options *ListSourcesOptions) (pager *SourcesPager, err error)

NewSourcesPager returns a new SourcesPager instance.

func (*EventNotificationsV1) NewSubscriptionCreateAttributesCustomEmailAttributes added in v0.2.5

func (*EventNotificationsV1) NewSubscriptionCreateAttributesCustomEmailAttributes(invited []string, addNotificationPayload bool, replyToMail string, replyToName string, fromName string, fromEmail string) (_model *SubscriptionCreateAttributesCustomEmailAttributes, err error)

NewSubscriptionCreateAttributesCustomEmailAttributes : Instantiate SubscriptionCreateAttributesCustomEmailAttributes (Generic Model Constructor)

func (*EventNotificationsV1) NewSubscriptionCreateAttributesCustomSmsAttributes added in v0.4.0

func (*EventNotificationsV1) NewSubscriptionCreateAttributesCustomSmsAttributes(invited []string) (_model *SubscriptionCreateAttributesCustomSmsAttributes, err error)

NewSubscriptionCreateAttributesCustomSmsAttributes : Instantiate SubscriptionCreateAttributesCustomSmsAttributes (Generic Model Constructor)

func (*EventNotificationsV1) NewSubscriptionCreateAttributesEmailAttributes

func (*EventNotificationsV1) NewSubscriptionCreateAttributesEmailAttributes(invited []string, addNotificationPayload bool, replyToMail string, replyToName string, fromName string) (_model *SubscriptionCreateAttributesEmailAttributes, err error)

NewSubscriptionCreateAttributesEmailAttributes : Instantiate SubscriptionCreateAttributesEmailAttributes (Generic Model Constructor)

func (*EventNotificationsV1) NewSubscriptionCreateAttributesSmsAttributes

func (*EventNotificationsV1) NewSubscriptionCreateAttributesSmsAttributes(invited []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) NewSubscriptionUpdateAttributesCustomEmailUpdateAttributes added in v0.2.5

func (*EventNotificationsV1) NewSubscriptionUpdateAttributesCustomEmailUpdateAttributes(addNotificationPayload bool, replyToMail string, replyToName string, fromName string, fromEmail string) (_model *SubscriptionUpdateAttributesCustomEmailUpdateAttributes, err error)

NewSubscriptionUpdateAttributesCustomEmailUpdateAttributes : Instantiate SubscriptionUpdateAttributesCustomEmailUpdateAttributes (Generic Model Constructor)

func (*EventNotificationsV1) NewSubscriptionUpdateAttributesEmailUpdateAttributes added in v0.0.5

func (*EventNotificationsV1) NewSubscriptionUpdateAttributesEmailUpdateAttributes(addNotificationPayload bool, replyToMail string, replyToName string, fromName string) (_model *SubscriptionUpdateAttributesEmailUpdateAttributes, err error)

NewSubscriptionUpdateAttributesEmailUpdateAttributes : Instantiate SubscriptionUpdateAttributesEmailUpdateAttributes (Generic Model Constructor)

func (*EventNotificationsV1) NewSubscriptionUpdateAttributesWebhookAttributes

func (*EventNotificationsV1) NewSubscriptionUpdateAttributesWebhookAttributes(signingEnabled bool) (_model *SubscriptionUpdateAttributesWebhookAttributes, err error)

NewSubscriptionUpdateAttributesWebhookAttributes : Instantiate SubscriptionUpdateAttributesWebhookAttributes (Generic Model Constructor)

func (*EventNotificationsV1) NewSubscriptionsPager added in v0.1.6

func (eventNotifications *EventNotificationsV1) NewSubscriptionsPager(options *ListSubscriptionsOptions) (pager *SubscriptionsPager, err error)

NewSubscriptionsPager returns a new SubscriptionsPager instance.

func (*EventNotificationsV1) NewTagsSubscriptionPager added in v0.1.6

func (eventNotifications *EventNotificationsV1) NewTagsSubscriptionPager(options *ListTagsSubscriptionOptions) (pager *TagsSubscriptionPager, err error)

NewTagsSubscriptionPager returns a new TagsSubscriptionPager instance.

func (*EventNotificationsV1) NewTemplateConfigOneOfEmailTemplateConfig added in v0.6.0

func (*EventNotificationsV1) NewTemplateConfigOneOfEmailTemplateConfig(body string) (_model *TemplateConfigOneOfEmailTemplateConfig, err error)

NewTemplateConfigOneOfEmailTemplateConfig : Instantiate TemplateConfigOneOfEmailTemplateConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewTemplateConfigOneOfSlackTemplateConfig added in v0.6.0

func (*EventNotificationsV1) NewTemplateConfigOneOfSlackTemplateConfig(body string) (_model *TemplateConfigOneOfSlackTemplateConfig, err error)

NewTemplateConfigOneOfSlackTemplateConfig : Instantiate TemplateConfigOneOfSlackTemplateConfig (Generic Model Constructor)

func (*EventNotificationsV1) NewTemplatesPager added in v0.2.7

func (eventNotifications *EventNotificationsV1) NewTemplatesPager(options *ListTemplatesOptions) (pager *TemplatesPager, err error)

NewTemplatesPager returns a new TemplatesPager instance.

func (*EventNotificationsV1) NewTestDestinationOptions added in v0.3.0

func (*EventNotificationsV1) NewTestDestinationOptions(instanceID string, id string) *TestDestinationOptions

NewTestDestinationOptions : Instantiate TestDestinationOptions

func (*EventNotificationsV1) NewTopicsPager added in v0.1.6

func (eventNotifications *EventNotificationsV1) NewTopicsPager(options *ListTopicsOptions) (pager *TopicsPager, err error)

NewTopicsPager returns a new TopicsPager instance.

func (*EventNotificationsV1) NewUpdateDestinationOptions

func (*EventNotificationsV1) NewUpdateDestinationOptions(instanceID string, id string) *UpdateDestinationOptions

NewUpdateDestinationOptions : Instantiate UpdateDestinationOptions

func (*EventNotificationsV1) NewUpdateSMTPAllowedIpsOptions added in v0.6.0

func (*EventNotificationsV1) NewUpdateSMTPAllowedIpsOptions(instanceID string, id string, subnets []string) *UpdateSMTPAllowedIpsOptions

NewUpdateSMTPAllowedIpsOptions : Instantiate UpdateSMTPAllowedIpsOptions

func (*EventNotificationsV1) NewUpdateSMTPConfigurationOptions added in v0.6.0

func (*EventNotificationsV1) NewUpdateSMTPConfigurationOptions(instanceID string, id string) *UpdateSMTPConfigurationOptions

NewUpdateSMTPConfigurationOptions : Instantiate UpdateSMTPConfigurationOptions

func (*EventNotificationsV1) NewUpdateSMTPUserOptions added in v0.6.0

func (*EventNotificationsV1) NewUpdateSMTPUserOptions(instanceID string, id string, userID string) *UpdateSMTPUserOptions

NewUpdateSMTPUserOptions : Instantiate UpdateSMTPUserOptions

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) NewUpdateVerifyDestinationOptions added in v0.2.5

func (*EventNotificationsV1) NewUpdateVerifyDestinationOptions(instanceID string, id string, typeVar string) *UpdateVerifyDestinationOptions

NewUpdateVerifyDestinationOptions : Instantiate UpdateVerifyDestinationOptions

func (*EventNotificationsV1) NewUpdateVerifySMTPOptions added in v0.6.0

func (*EventNotificationsV1) NewUpdateVerifySMTPOptions(instanceID string, id string, typeVar string) *UpdateVerifySMTPOptions

NewUpdateVerifySMTPOptions : Instantiate UpdateVerifySMTPOptions

func (*EventNotificationsV1) ReplaceIntegration added in v0.1.7

func (eventNotifications *EventNotificationsV1) ReplaceIntegration(replaceIntegrationOptions *ReplaceIntegrationOptions) (result *IntegrationGetResponse, response *core.DetailedResponse, err error)

ReplaceIntegration : Update an existing Integration Update an existing Integration.

func (*EventNotificationsV1) ReplaceIntegrationWithContext added in v0.1.7

func (eventNotifications *EventNotificationsV1) ReplaceIntegrationWithContext(ctx context.Context, replaceIntegrationOptions *ReplaceIntegrationOptions) (result *IntegrationGetResponse, response *core.DetailedResponse, err error)

ReplaceIntegrationWithContext is an alternate form of the ReplaceIntegration method which supports a Context parameter

func (*EventNotificationsV1) ReplaceTemplate added in v0.4.0

func (eventNotifications *EventNotificationsV1) ReplaceTemplate(replaceTemplateOptions *ReplaceTemplateOptions) (result *Template, response *core.DetailedResponse, err error)

ReplaceTemplate : Update details of a Template Update details of a Template.

func (*EventNotificationsV1) ReplaceTemplateWithContext added in v0.4.0

func (eventNotifications *EventNotificationsV1) ReplaceTemplateWithContext(ctx context.Context, replaceTemplateOptions *ReplaceTemplateOptions) (result *Template, response *core.DetailedResponse, err error)

ReplaceTemplateWithContext is an alternate form of the ReplaceTemplate method which supports a Context parameter

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) 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. For more information about Event Notifications payload, see [here](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-spec-payload).

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) TestDestination added in v0.3.0

func (eventNotifications *EventNotificationsV1) TestDestination(testDestinationOptions *TestDestinationOptions) (result *TestDestinationResponse, response *core.DetailedResponse, err error)

TestDestination : Test a Destination Test a Destination.

func (*EventNotificationsV1) TestDestinationWithContext added in v0.3.0

func (eventNotifications *EventNotificationsV1) TestDestinationWithContext(ctx context.Context, testDestinationOptions *TestDestinationOptions) (result *TestDestinationResponse, response *core.DetailedResponse, err error)

TestDestinationWithContext is an alternate form of the TestDestination method which supports a Context parameter

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) UpdateSMTPAllowedIps added in v0.6.0

func (eventNotifications *EventNotificationsV1) UpdateSMTPAllowedIps(updateSMTPAllowedIpsOptions *UpdateSMTPAllowedIpsOptions) (result *SMTPAllowedIPs, response *core.DetailedResponse, err error)

UpdateSMTPAllowedIps : Update details of SMTP allowed IP Update details of SMTP.

func (*EventNotificationsV1) UpdateSMTPAllowedIpsWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) UpdateSMTPAllowedIpsWithContext(ctx context.Context, updateSMTPAllowedIpsOptions *UpdateSMTPAllowedIpsOptions) (result *SMTPAllowedIPs, response *core.DetailedResponse, err error)

UpdateSMTPAllowedIpsWithContext is an alternate form of the UpdateSMTPAllowedIps method which supports a Context parameter

func (*EventNotificationsV1) UpdateSMTPConfiguration added in v0.6.0

func (eventNotifications *EventNotificationsV1) UpdateSMTPConfiguration(updateSMTPConfigurationOptions *UpdateSMTPConfigurationOptions) (result *SMTPConfiguration, response *core.DetailedResponse, err error)

UpdateSMTPConfiguration : Update details of SMTP Update details of SMTP.

func (*EventNotificationsV1) UpdateSMTPConfigurationWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) UpdateSMTPConfigurationWithContext(ctx context.Context, updateSMTPConfigurationOptions *UpdateSMTPConfigurationOptions) (result *SMTPConfiguration, response *core.DetailedResponse, err error)

UpdateSMTPConfigurationWithContext is an alternate form of the UpdateSMTPConfiguration method which supports a Context parameter

func (*EventNotificationsV1) UpdateSMTPUser added in v0.6.0

func (eventNotifications *EventNotificationsV1) UpdateSMTPUser(updateSMTPUserOptions *UpdateSMTPUserOptions) (result *SMTPUser, response *core.DetailedResponse, err error)

UpdateSMTPUser : Update details of SMTP User Update details of SMTP User.

func (*EventNotificationsV1) UpdateSMTPUserWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) UpdateSMTPUserWithContext(ctx context.Context, updateSMTPUserOptions *UpdateSMTPUserOptions) (result *SMTPUser, response *core.DetailedResponse, err error)

UpdateSMTPUserWithContext is an alternate form of the UpdateSMTPUser 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

func (*EventNotificationsV1) UpdateVerifyDestination added in v0.2.5

func (eventNotifications *EventNotificationsV1) UpdateVerifyDestination(updateVerifyDestinationOptions *UpdateVerifyDestinationOptions) (result *VerificationResponse, response *core.DetailedResponse, err error)

UpdateVerifyDestination : Verify SPF and DKIM records of custom domain Verify SPF and DKIM records of custom domain.

func (*EventNotificationsV1) UpdateVerifyDestinationWithContext added in v0.2.5

func (eventNotifications *EventNotificationsV1) UpdateVerifyDestinationWithContext(ctx context.Context, updateVerifyDestinationOptions *UpdateVerifyDestinationOptions) (result *VerificationResponse, response *core.DetailedResponse, err error)

UpdateVerifyDestinationWithContext is an alternate form of the UpdateVerifyDestination method which supports a Context parameter

func (*EventNotificationsV1) UpdateVerifySMTP added in v0.6.0

func (eventNotifications *EventNotificationsV1) UpdateVerifySMTP(updateVerifySMTPOptions *UpdateVerifySMTPOptions) (result *SMTPVerificationUpdateResponse, response *core.DetailedResponse, err error)

UpdateVerifySMTP : Verify SPF and DKIM records of SMTP Verify SPF and DKIM records of SMTP.

func (*EventNotificationsV1) UpdateVerifySMTPWithContext added in v0.6.0

func (eventNotifications *EventNotificationsV1) UpdateVerifySMTPWithContext(ctx context.Context, updateVerifySMTPOptions *UpdateVerifySMTPOptions) (result *SMTPVerificationUpdateResponse, response *core.DetailedResponse, err error)

UpdateVerifySMTPWithContext is an alternate form of the UpdateVerifySMTP 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 GetEnabledCountriesOptions added in v0.4.0

type GetEnabledCountriesOptions 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
}

GetEnabledCountriesOptions : The GetEnabledCountries options.

func (*GetEnabledCountriesOptions) SetHeaders added in v0.4.0

func (options *GetEnabledCountriesOptions) SetHeaders(param map[string]string) *GetEnabledCountriesOptions

SetHeaders : Allow user to set Headers

func (*GetEnabledCountriesOptions) SetID added in v0.4.0

SetID : Allow user to set ID

func (*GetEnabledCountriesOptions) SetInstanceID added in v0.4.0

func (_options *GetEnabledCountriesOptions) SetInstanceID(instanceID string) *GetEnabledCountriesOptions

SetInstanceID : Allow user to set InstanceID

type GetIntegrationOptions added in v0.1.7

type GetIntegrationOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for integration.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetIntegrationOptions : The GetIntegration options.

func (*GetIntegrationOptions) SetHeaders added in v0.1.7

func (options *GetIntegrationOptions) SetHeaders(param map[string]string) *GetIntegrationOptions

SetHeaders : Allow user to set Headers

func (*GetIntegrationOptions) SetID added in v0.1.7

func (_options *GetIntegrationOptions) SetID(id string) *GetIntegrationOptions

SetID : Allow user to set ID

func (*GetIntegrationOptions) SetInstanceID added in v0.1.7

func (_options *GetIntegrationOptions) SetInstanceID(instanceID string) *GetIntegrationOptions

SetInstanceID : Allow user to set InstanceID

type GetSMTPAllowedIpsOptions added in v0.6.0

type GetSMTPAllowedIpsOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSMTPAllowedIpsOptions : The GetSMTPAllowedIps options.

func (*GetSMTPAllowedIpsOptions) SetHeaders added in v0.6.0

func (options *GetSMTPAllowedIpsOptions) SetHeaders(param map[string]string) *GetSMTPAllowedIpsOptions

SetHeaders : Allow user to set Headers

func (*GetSMTPAllowedIpsOptions) SetID added in v0.6.0

SetID : Allow user to set ID

func (*GetSMTPAllowedIpsOptions) SetInstanceID added in v0.6.0

func (_options *GetSMTPAllowedIpsOptions) SetInstanceID(instanceID string) *GetSMTPAllowedIpsOptions

SetInstanceID : Allow user to set InstanceID

type GetSMTPConfigurationOptions added in v0.6.0

type GetSMTPConfigurationOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSMTPConfigurationOptions : The GetSMTPConfiguration options.

func (*GetSMTPConfigurationOptions) SetHeaders added in v0.6.0

func (options *GetSMTPConfigurationOptions) SetHeaders(param map[string]string) *GetSMTPConfigurationOptions

SetHeaders : Allow user to set Headers

func (*GetSMTPConfigurationOptions) SetID added in v0.6.0

SetID : Allow user to set ID

func (*GetSMTPConfigurationOptions) SetInstanceID added in v0.6.0

func (_options *GetSMTPConfigurationOptions) SetInstanceID(instanceID string) *GetSMTPConfigurationOptions

SetInstanceID : Allow user to set InstanceID

type GetSMTPUserOptions added in v0.6.0

type GetSMTPUserOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// UserID.
	UserID *string `json:"user_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetSMTPUserOptions : The GetSMTPUser options.

func (*GetSMTPUserOptions) SetHeaders added in v0.6.0

func (options *GetSMTPUserOptions) SetHeaders(param map[string]string) *GetSMTPUserOptions

SetHeaders : Allow user to set Headers

func (*GetSMTPUserOptions) SetID added in v0.6.0

func (_options *GetSMTPUserOptions) SetID(id string) *GetSMTPUserOptions

SetID : Allow user to set ID

func (*GetSMTPUserOptions) SetInstanceID added in v0.6.0

func (_options *GetSMTPUserOptions) SetInstanceID(instanceID string) *GetSMTPUserOptions

SetInstanceID : Allow user to set InstanceID

func (*GetSMTPUserOptions) SetUserID added in v0.6.0

func (_options *GetSMTPUserOptions) SetUserID(userID string) *GetSMTPUserOptions

SetUserID : Allow user to set UserID

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

SetID : Allow user to set ID

func (*GetSubscriptionOptions) SetInstanceID

func (_options *GetSubscriptionOptions) SetInstanceID(instanceID string) *GetSubscriptionOptions

SetInstanceID : Allow user to set InstanceID

type GetTemplateOptions added in v0.2.7

type GetTemplateOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for Template.
	ID *string `json:"id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetTemplateOptions : The GetTemplate options.

func (*GetTemplateOptions) SetHeaders added in v0.2.7

func (options *GetTemplateOptions) SetHeaders(param map[string]string) *GetTemplateOptions

SetHeaders : Allow user to set Headers

func (*GetTemplateOptions) SetID added in v0.2.7

func (_options *GetTemplateOptions) SetID(id string) *GetTemplateOptions

SetID : Allow user to set ID

func (*GetTemplateOptions) SetInstanceID added in v0.2.7

func (_options *GetTemplateOptions) SetInstanceID(instanceID string) *GetTemplateOptions

SetInstanceID : Allow user to set InstanceID

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 IntegrationCreateMetadata added in v0.4.0

type IntegrationCreateMetadata struct {
	// URL for Cloud Object storage.
	Endpoint *string `json:"endpoint" validate:"required"`

	// CRN of the Cloud Object Storage instance.
	CRN *string `json:"crn" validate:"required"`

	// Cloud Object Storage bucket name.
	BucketName *string `json:"bucket_name" validate:"required"`
}

IntegrationCreateMetadata : Integration Metadata object.

type IntegrationCreateResponse added in v0.4.0

type IntegrationCreateResponse struct {
	// ID of the integration.
	ID *strfmt.UUID `json:"id" validate:"required"`

	// Integration type. Allowed values collect_failed_events.
	Type *string `json:"type" validate:"required"`

	// Integration Metadata object.
	Metadata *IntegrationCreateMetadata `json:"metadata" validate:"required"`

	// Creation time of an integration.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`
}

IntegrationCreateResponse : Integration create response object.

type IntegrationGetResponse added in v0.1.7

type IntegrationGetResponse struct {
	// ID of the integration.
	ID *strfmt.UUID `json:"id" validate:"required"`

	// Integration type. Allowed values are kms and hs-crypto.
	Type *string `json:"type" validate:"required"`

	// Integration Metadata object.
	Metadata *IntegrationMetadata `json:"metadata" validate:"required"`

	// Creation time of an integration.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// Last update time of an integration.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`
}

IntegrationGetResponse : Integration response object.

type IntegrationList added in v0.1.7

type IntegrationList struct {
	// Number of integrations.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// Current offset.
	Offset *int64 `json:"offset" validate:"required"`

	// limit to show integrations.
	Limit *int64 `json:"limit" validate:"required"`

	// List of integrations.
	Integrations []IntegrationListItem `json:"integrations" validate:"required"`

	// Response having URL of the page.
	First *PageHrefResponse `json:"first,omitempty"`

	// Response having URL of the page.
	Previous *PageHrefResponse `json:"previous,omitempty"`

	// Response having URL of the page.
	Next *PageHrefResponse `json:"next,omitempty"`
}

IntegrationList : all Integrations response object.

func (*IntegrationList) GetNextOffset added in v0.1.7

func (resp *IntegrationList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type IntegrationListItem added in v0.1.7

type IntegrationListItem struct {
	// ID of the integration.
	ID *strfmt.UUID `json:"id" validate:"required"`

	// Integration type. Allowed values are kms and hs-crypto.
	Type *string `json:"type" validate:"required"`

	// Integration Metadata object.
	Metadata *IntegrationMetadata `json:"metadata" validate:"required"`

	// Creation time of an integration.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// Update time of an integration.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`
}

IntegrationListItem : all Integrations response object.

type IntegrationMetadata added in v0.1.7

type IntegrationMetadata struct {
	// KMS url for key management or url for COS bucket.
	Endpoint *string `json:"endpoint" validate:"required"`

	// CRN of the KMS/COS instance.
	CRN *string `json:"crn" validate:"required"`

	// Root Key ID of KMS.
	RootKeyID *string `json:"root_key_id,omitempty"`

	// cloud object storage bucket name.
	BucketName *string `json:"bucket_name,omitempty"`
}

IntegrationMetadata : Integration Metadata object.

type IntegrationsPager added in v0.1.7

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

IntegrationsPager can be used to simplify the use of the "ListIntegrations" method.

func (*IntegrationsPager) GetAll added in v0.1.7

func (pager *IntegrationsPager) GetAll() (allItems []IntegrationListItem, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*IntegrationsPager) GetAllWithContext added in v0.1.7

func (pager *IntegrationsPager) GetAllWithContext(ctx context.Context) (allItems []IntegrationListItem, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*IntegrationsPager) GetNext added in v0.1.7

func (pager *IntegrationsPager) GetNext() (page []IntegrationListItem, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*IntegrationsPager) GetNextWithContext added in v0.1.7

func (pager *IntegrationsPager) GetNextWithContext(ctx context.Context) (page []IntegrationListItem, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*IntegrationsPager) HasNext added in v0.1.7

func (pager *IntegrationsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

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 ListIntegrationsOptions added in v0.1.7

type ListIntegrationsOptions 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
}

ListIntegrationsOptions : The ListIntegrations options.

func (*ListIntegrationsOptions) SetHeaders added in v0.1.7

func (options *ListIntegrationsOptions) SetHeaders(param map[string]string) *ListIntegrationsOptions

SetHeaders : Allow user to set Headers

func (*ListIntegrationsOptions) SetInstanceID added in v0.1.7

func (_options *ListIntegrationsOptions) SetInstanceID(instanceID string) *ListIntegrationsOptions

SetInstanceID : Allow user to set InstanceID

func (*ListIntegrationsOptions) SetLimit added in v0.1.7

func (_options *ListIntegrationsOptions) SetLimit(limit int64) *ListIntegrationsOptions

SetLimit : Allow user to set Limit

func (*ListIntegrationsOptions) SetOffset added in v0.1.7

func (_options *ListIntegrationsOptions) SetOffset(offset int64) *ListIntegrationsOptions

SetOffset : Allow user to set Offset

func (*ListIntegrationsOptions) SetSearch added in v0.1.7

func (_options *ListIntegrationsOptions) SetSearch(search string) *ListIntegrationsOptions

SetSearch : Allow user to set Search

type ListSMTPConfigurationsOptions added in v0.6.0

type ListSMTPConfigurationsOptions 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
}

ListSMTPConfigurationsOptions : The ListSMTPConfigurations options.

func (*ListSMTPConfigurationsOptions) SetHeaders added in v0.6.0

SetHeaders : Allow user to set Headers

func (*ListSMTPConfigurationsOptions) SetInstanceID added in v0.6.0

func (_options *ListSMTPConfigurationsOptions) SetInstanceID(instanceID string) *ListSMTPConfigurationsOptions

SetInstanceID : Allow user to set InstanceID

func (*ListSMTPConfigurationsOptions) SetLimit added in v0.6.0

SetLimit : Allow user to set Limit

func (*ListSMTPConfigurationsOptions) SetOffset added in v0.6.0

SetOffset : Allow user to set Offset

func (*ListSMTPConfigurationsOptions) SetSearch added in v0.6.0

SetSearch : Allow user to set Search

type ListSMTPUsersOptions added in v0.6.0

type ListSMTPUsersOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"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
}

ListSMTPUsersOptions : The ListSMTPUsers options.

func (*ListSMTPUsersOptions) SetHeaders added in v0.6.0

func (options *ListSMTPUsersOptions) SetHeaders(param map[string]string) *ListSMTPUsersOptions

SetHeaders : Allow user to set Headers

func (*ListSMTPUsersOptions) SetID added in v0.6.0

func (_options *ListSMTPUsersOptions) SetID(id string) *ListSMTPUsersOptions

SetID : Allow user to set ID

func (*ListSMTPUsersOptions) SetInstanceID added in v0.6.0

func (_options *ListSMTPUsersOptions) SetInstanceID(instanceID string) *ListSMTPUsersOptions

SetInstanceID : Allow user to set InstanceID

func (*ListSMTPUsersOptions) SetLimit added in v0.6.0

func (_options *ListSMTPUsersOptions) SetLimit(limit int64) *ListSMTPUsersOptions

SetLimit : Allow user to set Limit

func (*ListSMTPUsersOptions) SetOffset added in v0.6.0

func (_options *ListSMTPUsersOptions) SetOffset(offset int64) *ListSMTPUsersOptions

SetOffset : Allow user to set Offset

func (*ListSMTPUsersOptions) SetSearch added in v0.6.0

func (_options *ListSMTPUsersOptions) SetSearch(search string) *ListSMTPUsersOptions

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="`

	// Device ID 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

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

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 ListTemplatesOptions added in v0.2.7

type ListTemplatesOptions 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
}

ListTemplatesOptions : The ListTemplates options.

func (*ListTemplatesOptions) SetHeaders added in v0.2.7

func (options *ListTemplatesOptions) SetHeaders(param map[string]string) *ListTemplatesOptions

SetHeaders : Allow user to set Headers

func (*ListTemplatesOptions) SetInstanceID added in v0.2.7

func (_options *ListTemplatesOptions) SetInstanceID(instanceID string) *ListTemplatesOptions

SetInstanceID : Allow user to set InstanceID

func (*ListTemplatesOptions) SetLimit added in v0.2.7

func (_options *ListTemplatesOptions) SetLimit(limit int64) *ListTemplatesOptions

SetLimit : Allow user to set Limit

func (*ListTemplatesOptions) SetOffset added in v0.2.7

func (_options *ListTemplatesOptions) SetOffset(offset int64) *ListTemplatesOptions

SetOffset : Allow user to set Offset

func (*ListTemplatesOptions) SetSearch added in v0.2.7

func (_options *ListTemplatesOptions) SetSearch(search string) *ListTemplatesOptions

SetSearch : Allow user to set Search

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" validate:"required"`

	// The source of notifications.
	Source *string `json:"source" validate:"required"`

	// The notifications type.
	Type *string `json:"type" validate:"required"`

	// 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.
	Ibmensubject *string `json:"ibmensubject,omitempty"`

	// The template id Array of string.
	Ibmentemplates *string `json:"ibmentemplates,omitempty"`

	// The email id string.
	Ibmenmailto *string `json:"ibmenmailto,omitempty"`

	// The SMS number string.
	Ibmensmsto *string `json:"ibmensmsto,omitempty"`

	// The html body of notification.
	Ibmenhtmlbody *string `json:"ibmenhtmlbody,omitempty"`

	// 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.
	Ibmenpushto *string `json:"ibmenpushto,omitempty"`

	// Payload describing a notification FCM body. Value should be stringified.
	Ibmenfcmbody *string `json:"ibmenfcmbody,omitempty"`

	// Payload describing a notification APNs body. Value should be stringified.
	Ibmenapnsbody *string `json:"ibmenapnsbody,omitempty"`

	// Headers for iOS notification. Value should be stringified.
	Ibmenapnsheaders *string `json:"ibmenapnsheaders,omitempty"`

	// Notification payload for Chrome. Value should be stringified.
	Ibmenchromebody *string `json:"ibmenchromebody,omitempty"`

	// Headers for a Chrome notification. Value should be stringified.
	Ibmenchromeheaders *string `json:"ibmenchromeheaders,omitempty"`

	// Notification payload for Firefox. Value should be stringified.
	Ibmenfirefoxbody *string `json:"ibmenfirefoxbody,omitempty"`

	// Headers for a Firefox notification. Value should be stringified.
	Ibmenfirefoxheaders *string `json:"ibmenfirefoxheaders,omitempty"`

	// Payload describing a notification Huawei body. Value should be stringified.
	Ibmenhuaweibody *string `json:"ibmenhuaweibody,omitempty"`

	// Payload describing a notification Safari body. Value should be stringified.
	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 PageHrefResponse added in v0.1.6

type PageHrefResponse struct {
	// URL to the page.
	Href *string `json:"href" validate:"required"`
}

PageHrefResponse : Response having URL of the page.

type ReplaceIntegrationOptions added in v0.1.7

type ReplaceIntegrationOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for integration.
	ID *string `json:"id" validate:"required,ne="`

	// Integration type. Allowed values are kms and hs-crypto.
	Type *string `json:"type" validate:"required"`

	// Integration Metadata object.
	Metadata *IntegrationMetadata `json:"metadata" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ReplaceIntegrationOptions : The ReplaceIntegration options.

func (*ReplaceIntegrationOptions) SetHeaders added in v0.1.7

func (options *ReplaceIntegrationOptions) SetHeaders(param map[string]string) *ReplaceIntegrationOptions

SetHeaders : Allow user to set Headers

func (*ReplaceIntegrationOptions) SetID added in v0.1.7

SetID : Allow user to set ID

func (*ReplaceIntegrationOptions) SetInstanceID added in v0.1.7

func (_options *ReplaceIntegrationOptions) SetInstanceID(instanceID string) *ReplaceIntegrationOptions

SetInstanceID : Allow user to set InstanceID

func (*ReplaceIntegrationOptions) SetMetadata added in v0.1.7

SetMetadata : Allow user to set Metadata

func (*ReplaceIntegrationOptions) SetType added in v0.1.7

func (_options *ReplaceIntegrationOptions) SetType(typeVar string) *ReplaceIntegrationOptions

SetType : Allow user to set Type

type ReplaceTemplateOptions added in v0.4.0

type ReplaceTemplateOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for Template.
	ID *string `json:"id" validate:"required,ne="`

	// Template name.
	Name *string `json:"name,omitempty"`

	// Template description.
	Description *string `json:"description,omitempty"`

	// The type of template.
	Type *string `json:"type,omitempty"`

	Params TemplateConfigOneOfIntf `json:"params,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ReplaceTemplateOptions : The ReplaceTemplate options.

func (*ReplaceTemplateOptions) SetDescription added in v0.4.0

func (_options *ReplaceTemplateOptions) SetDescription(description string) *ReplaceTemplateOptions

SetDescription : Allow user to set Description

func (*ReplaceTemplateOptions) SetHeaders added in v0.4.0

func (options *ReplaceTemplateOptions) SetHeaders(param map[string]string) *ReplaceTemplateOptions

SetHeaders : Allow user to set Headers

func (*ReplaceTemplateOptions) SetID added in v0.4.0

SetID : Allow user to set ID

func (*ReplaceTemplateOptions) SetInstanceID added in v0.4.0

func (_options *ReplaceTemplateOptions) SetInstanceID(instanceID string) *ReplaceTemplateOptions

SetInstanceID : Allow user to set InstanceID

func (*ReplaceTemplateOptions) SetName added in v0.4.0

func (_options *ReplaceTemplateOptions) SetName(name string) *ReplaceTemplateOptions

SetName : Allow user to set Name

func (*ReplaceTemplateOptions) SetParams added in v0.4.0

SetParams : Allow user to set Params

func (*ReplaceTemplateOptions) SetType added in v0.4.0

func (_options *ReplaceTemplateOptions) SetType(typeVar string) *ReplaceTemplateOptions

SetType : Allow user to set Type

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 []SourcesItems `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 []SourcesItems) *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 SMTPAllowedIPs added in v0.6.0

type SMTPAllowedIPs struct {
	// The SMTP allowed Ips.
	Subnets []string `json:"subnets" validate:"required"`

	// Updated at.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`
}

SMTPAllowedIPs : Payload describing a SMTP allowed Ips.

type SMTPConfig added in v0.6.0

type SMTPConfig struct {
	// The DKIM attributes.
	Dkim *DkimAttributes `json:"dkim,omitempty"`

	// The en_authorization attributes.
	EnAuthorization *EnAuthAttributes `json:"en_authorization,omitempty"`

	// The SPF attributes.
	Spf *SpfAttributes `json:"spf,omitempty"`
}

SMTPConfig : Payload describing a SMTP configuration.

type SMTPConfiguration added in v0.6.0

type SMTPConfiguration struct {
	// SMTP ID.
	ID *string `json:"id" validate:"required"`

	// SMTP name.
	Name *string `json:"name" validate:"required"`

	// SMTP description.
	Description *string `json:"description,omitempty"`

	// Domain Name.
	Domain *string `json:"domain" validate:"required"`

	// Payload describing a SMTP configuration.
	Config *SMTPConfig `json:"config" validate:"required"`

	// Created time.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`
}

SMTPConfiguration : Payload describing a SMTP List response.

type SMTPConfigurationsList added in v0.6.0

type SMTPConfigurationsList struct {
	// Total number of SMTP configurations.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// Current offset.
	Offset *int64 `json:"offset" validate:"required"`

	// limit to show configurations.
	Limit *int64 `json:"limit" validate:"required"`

	// List of SMTP Configurations.
	SMTPConfigurations []SMTPConfiguration `json:"smtp_configurations" validate:"required"`

	// Response having URL of the page.
	First *PageHrefResponse `json:"first,omitempty"`

	// Response having URL of the page.
	Previous *PageHrefResponse `json:"previous,omitempty"`

	// Response having URL of the page.
	Next *PageHrefResponse `json:"next,omitempty"`
}

SMTPConfigurationsList : Payload describing a SMTP Configurations list.

func (*SMTPConfigurationsList) GetNextOffset added in v0.6.0

func (resp *SMTPConfigurationsList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type SMTPConfigurationsPager added in v0.6.0

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

SMTPConfigurationsPager can be used to simplify the use of the "ListSMTPConfigurations" method.

func (*SMTPConfigurationsPager) GetAll added in v0.6.0

func (pager *SMTPConfigurationsPager) GetAll() (allItems []SMTPConfiguration, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SMTPConfigurationsPager) GetAllWithContext added in v0.6.0

func (pager *SMTPConfigurationsPager) GetAllWithContext(ctx context.Context) (allItems []SMTPConfiguration, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SMTPConfigurationsPager) GetNext added in v0.6.0

func (pager *SMTPConfigurationsPager) GetNext() (page []SMTPConfiguration, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SMTPConfigurationsPager) GetNextWithContext added in v0.6.0

func (pager *SMTPConfigurationsPager) GetNextWithContext(ctx context.Context) (page []SMTPConfiguration, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SMTPConfigurationsPager) HasNext added in v0.6.0

func (pager *SMTPConfigurationsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SMTPCreateResponse added in v0.6.0

type SMTPCreateResponse struct {
	// SMTP ID.
	ID *string `json:"id" validate:"required"`

	// SMTP name.
	Name *string `json:"name" validate:"required"`

	// SMTP description.
	Description *string `json:"description,omitempty"`

	// Domain Name.
	Domain *string `json:"domain" validate:"required"`

	// Payload describing a SMTP configuration.
	Config *SMTPConfig `json:"config" validate:"required"`

	// Created time.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`
}

SMTPCreateResponse : Payload describing a SMTP create response.

type SMTPUser added in v0.6.0

type SMTPUser struct {
	// Id.
	ID *string `json:"id" validate:"required"`

	// SMTP confg Id.
	SMTPConfigID *string `json:"smtp_config_id" validate:"required"`

	// SMTP User description.
	Description *string `json:"description" validate:"required"`

	// Domain Name.
	Domain *string `json:"domain" validate:"required"`

	// SMTP user name.
	Username *string `json:"username" validate:"required"`

	// Updated time.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`

	// Updated time.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`
}

SMTPUser : Payload describing a SMTP User.

type SMTPUserResponse added in v0.6.0

type SMTPUserResponse struct {
	// SMTP Id.
	ID *string `json:"id" validate:"required"`

	// SMTP User description.
	Description *string `json:"description,omitempty"`

	// Domain Name.
	Domain *string `json:"domain,omitempty"`

	// SMTP confg Id.
	SMTPConfigID *string `json:"smtp_config_id" validate:"required"`

	// SMTP user name.
	Username *string `json:"username" validate:"required"`

	// password.
	Password *string `json:"password" validate:"required"`

	// Created time.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`
}

SMTPUserResponse : Payload describing a SMTP User create response.

type SMTPUsersList added in v0.6.0

type SMTPUsersList 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 users.
	Users []SMTPUser `json:"users" validate:"required"`

	// Response having URL of the page.
	First *PageHrefResponse `json:"first,omitempty"`

	// Response having URL of the page.
	Previous *PageHrefResponse `json:"previous,omitempty"`

	// Response having URL of the page.
	Next *PageHrefResponse `json:"next,omitempty"`
}

SMTPUsersList : Payload describing a SMTP users list request.

func (*SMTPUsersList) GetNextOffset added in v0.6.0

func (resp *SMTPUsersList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type SMTPUsersPager added in v0.6.0

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

SMTPUsersPager can be used to simplify the use of the "ListSMTPUsers" method.

func (*SMTPUsersPager) GetAll added in v0.6.0

func (pager *SMTPUsersPager) GetAll() (allItems []SMTPUser, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SMTPUsersPager) GetAllWithContext added in v0.6.0

func (pager *SMTPUsersPager) GetAllWithContext(ctx context.Context) (allItems []SMTPUser, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SMTPUsersPager) GetNext added in v0.6.0

func (pager *SMTPUsersPager) GetNext() (page []SMTPUser, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SMTPUsersPager) GetNextWithContext added in v0.6.0

func (pager *SMTPUsersPager) GetNextWithContext(ctx context.Context) (page []SMTPUser, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SMTPUsersPager) HasNext added in v0.6.0

func (pager *SMTPUsersPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SMTPVerificationResponse added in v0.6.0

type SMTPVerificationResponse struct {
	// verification type.
	Type *string `json:"type" validate:"required"`

	// verification status.
	Verification *string `json:"verification" validate:"required"`
}

SMTPVerificationResponse : verification object.

type SMTPVerificationUpdateResponse added in v0.6.0

type SMTPVerificationUpdateResponse struct {
	// SMTP verification status.
	Status []SMTPVerificationResponse `json:"status" validate:"required"`
}

SMTPVerificationUpdateResponse : Payload describing SMTP verification response.

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

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 SmsAttributesItems added in v0.1.6

type SmsAttributesItems struct {
	// Phone number.
	PhoneNumber *string `json:"phone_number,omitempty"`

	// last updated time.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`
}

SmsAttributesItems : The sms attributes.

type SmsCountryConfig added in v0.4.0

type SmsCountryConfig struct {
	// Phone number.
	Number *string `json:"number" validate:"required"`

	// List of Countries.
	Country []string `json:"country" validate:"required"`
}

SmsCountryConfig : Payload describing a country Configuration.

type SmsInviteAttributesItems added in v0.1.6

type SmsInviteAttributesItems struct {
	// Phone number.
	PhoneNumber *string `json:"phone_number,omitempty"`

	// last updated time.
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`

	// time of expiration.
	ExpiresAt *strfmt.DateTime `json:"expires_at,omitempty"`
}

SmsInviteAttributesItems : The sms attributes.

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"`

	// Response having URL of the page.
	First *PageHrefResponse `json:"first,omitempty"`

	// Response having URL of the page.
	Previous *PageHrefResponse `json:"previous,omitempty"`

	// Response having URL of the page.
	Next *PageHrefResponse `json:"next,omitempty"`
}

SourceList : Payload describing a source list request.

func (*SourceList) GetNextOffset added in v0.1.6

func (resp *SourceList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

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 SourcesItems added in v0.1.6

type SourcesItems struct {
	// ID of the source.
	ID *string `json:"id" validate:"required"`

	// List of rules.
	Rules []Rules `json:"rules" validate:"required"`
}

SourcesItems : SourcesItems struct

type SourcesListItems added in v0.1.6

type SourcesListItems 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,omitempty"`
}

SourcesListItems : Payload describing a source list item.

type SourcesPager added in v0.1.6

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

SourcesPager can be used to simplify the use of the "ListSources" method.

func (*SourcesPager) GetAll added in v0.1.6

func (pager *SourcesPager) GetAll() (allItems []SourceListItem, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SourcesPager) GetAllWithContext added in v0.1.6

func (pager *SourcesPager) GetAllWithContext(ctx context.Context) (allItems []SourceListItem, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SourcesPager) GetNext added in v0.1.6

func (pager *SourcesPager) GetNext() (page []SourceListItem, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SourcesPager) GetNextWithContext added in v0.1.6

func (pager *SourcesPager) GetNextWithContext(ctx context.Context) (page []SourceListItem, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SourcesPager) HasNext added in v0.1.6

func (pager *SourcesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SpfAttributes added in v0.2.5

type SpfAttributes struct {
	// spf text name.
	TxtName *string `json:"txt_name,omitempty"`

	// spf text value.
	TxtValue *string `json:"txt_value,omitempty"`

	// spf verification.
	Verification *string `json:"verification,omitempty"`
}

SpfAttributes : The SPF attributes.

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 subscribed list.
	Subscribed []SmsAttributesItems `json:"subscribed,omitempty"`

	// The unsubscribe list.
	Unsubscribed []SmsAttributesItems `json:"unsubscribed,omitempty"`

	// The SMS numder string.
	Invited []SmsInviteAttributesItems `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"`

	// The email from.
	FromEmail *string `json:"from_email,omitempty"`

	// The templete id for notification.
	TemplateIDNotification *string `json:"template_id_notification,omitempty"`

	// The templete id for invitation.
	TemplateIDInvitation *string `json:"template_id_invitation,omitempty"`

	// Signing webhook attributes.
	SigningEnabled *bool `json:"signing_enabled,omitempty"`

	// Attachment Color for Slack Notification.
	AttachmentColor *string `json:"attachment_color,omitempty"`

	// Assigned name from ServiceNow account.
	AssignedTo *string `json:"assigned_to,omitempty"`

	// Assigned group name from ServiceNow account.
	AssignmentGroup *string `json:"assignment_group,omitempty"`
	// contains filtered or unexported fields
}

SubscriptionAttributes : SubscriptionAttributes struct Models which "extend" this model: - SubscriptionAttributesSmsAttributesResponse - SubscriptionAttributesCustomSmsAttributesResponse - SubscriptionAttributesEmailAttributesResponse - SubscriptionAttributesCustomEmailAttributesResponse - SubscriptionAttributesWebhookAttributesResponse - SubscriptionAttributesSlackAttributesResponse - SubscriptionAttributesServiceNowAttributesResponse

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 SubscriptionAttributesCustomEmailAttributesResponse added in v0.2.5

type SubscriptionAttributesCustomEmailAttributesResponse struct {
	// The email id string.
	Invited []EmailAttributesResponseInvitedItems `json:"invited,omitempty"`

	// The unsubscribe list.
	Subscribed []EmailAttributesResponseSubscribedUnsubscribedItems `json:"subscribed,omitempty"`

	// The subscribed list.
	Unsubscribed []EmailAttributesResponseSubscribedUnsubscribedItems `json:"unsubscribed,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"`

	// The email from.
	FromEmail *string `json:"from_email" validate:"required"`

	// The templete id for notification.
	TemplateIDNotification *string `json:"template_id_notification,omitempty"`

	// The templete id for invitation.
	TemplateIDInvitation *string `json:"template_id_invitation,omitempty"`
	// contains filtered or unexported fields
}

SubscriptionAttributesCustomEmailAttributesResponse : The attributes reponse for an email destination. This model "extends" SubscriptionAttributes

func (*SubscriptionAttributesCustomEmailAttributesResponse) GetProperties added in v0.2.5

func (o *SubscriptionAttributesCustomEmailAttributesResponse) GetProperties() map[string]interface{}

GetProperties allows the user to retrieve the map of arbitrary properties from an instance of SubscriptionAttributesCustomEmailAttributesResponse

func (*SubscriptionAttributesCustomEmailAttributesResponse) GetProperty added in v0.2.5

func (o *SubscriptionAttributesCustomEmailAttributesResponse) GetProperty(key string) interface{}

GetProperty allows the user to retrieve an arbitrary property from an instance of SubscriptionAttributesCustomEmailAttributesResponse

func (*SubscriptionAttributesCustomEmailAttributesResponse) MarshalJSON added in v0.2.5

func (o *SubscriptionAttributesCustomEmailAttributesResponse) MarshalJSON() (buffer []byte, err error)

MarshalJSON performs custom serialization for instances of SubscriptionAttributesCustomEmailAttributesResponse

func (*SubscriptionAttributesCustomEmailAttributesResponse) SetProperties added in v0.2.5

func (o *SubscriptionAttributesCustomEmailAttributesResponse) SetProperties(m map[string]interface{})

SetProperties allows the user to set a map of arbitrary properties on an instance of SubscriptionAttributesCustomEmailAttributesResponse

func (*SubscriptionAttributesCustomEmailAttributesResponse) SetProperty added in v0.2.5

func (o *SubscriptionAttributesCustomEmailAttributesResponse) SetProperty(key string, value interface{})

SetProperty allows the user to set an arbitrary property on an instance of SubscriptionAttributesCustomEmailAttributesResponse

type SubscriptionAttributesCustomSmsAttributesResponse added in v0.4.0

type SubscriptionAttributesCustomSmsAttributesResponse struct {
	// The subscribed list.
	Subscribed []SmsAttributesItems `json:"subscribed,omitempty"`

	// The unsubscribe list.
	Unsubscribed []SmsAttributesItems `json:"unsubscribed,omitempty"`

	// The SMS number string.
	Invited []SmsInviteAttributesItems `json:"invited,omitempty"`
	// contains filtered or unexported fields
}

SubscriptionAttributesCustomSmsAttributesResponse : Custom SMS attributes object. This model "extends" SubscriptionAttributes

func (*SubscriptionAttributesCustomSmsAttributesResponse) GetProperties added in v0.4.0

func (o *SubscriptionAttributesCustomSmsAttributesResponse) GetProperties() map[string]interface{}

GetProperties allows the user to retrieve the map of arbitrary properties from an instance of SubscriptionAttributesCustomSmsAttributesResponse

func (*SubscriptionAttributesCustomSmsAttributesResponse) GetProperty added in v0.4.0

func (o *SubscriptionAttributesCustomSmsAttributesResponse) GetProperty(key string) interface{}

GetProperty allows the user to retrieve an arbitrary property from an instance of SubscriptionAttributesCustomSmsAttributesResponse

func (*SubscriptionAttributesCustomSmsAttributesResponse) MarshalJSON added in v0.4.0

func (o *SubscriptionAttributesCustomSmsAttributesResponse) MarshalJSON() (buffer []byte, err error)

MarshalJSON performs custom serialization for instances of SubscriptionAttributesCustomSmsAttributesResponse

func (*SubscriptionAttributesCustomSmsAttributesResponse) SetProperties added in v0.4.0

func (o *SubscriptionAttributesCustomSmsAttributesResponse) SetProperties(m map[string]interface{})

SetProperties allows the user to set a map of arbitrary properties on an instance of SubscriptionAttributesCustomSmsAttributesResponse

func (*SubscriptionAttributesCustomSmsAttributesResponse) SetProperty added in v0.4.0

func (o *SubscriptionAttributesCustomSmsAttributesResponse) SetProperty(key string, value interface{})

SetProperty allows the user to set an arbitrary property on an instance of SubscriptionAttributesCustomSmsAttributesResponse

type SubscriptionAttributesEmailAttributesResponse

type SubscriptionAttributesEmailAttributesResponse struct {
	// The email id string.
	Invited []EmailAttributesResponseInvitedItems `json:"invited,omitempty"`

	// The unsubscribe list.
	Subscribed []EmailAttributesResponseSubscribedUnsubscribedItems `json:"subscribed,omitempty"`

	// The subscribed list.
	Unsubscribed []EmailAttributesResponseSubscribedUnsubscribedItems `json:"unsubscribed,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 SubscriptionAttributesIntf

type SubscriptionAttributesIntf interface {
	SetProperty(key string, value interface{})
	SetProperties(m map[string]interface{})
	GetProperty(key string) interface{}
	GetProperties() map[string]interface{}
	// contains filtered or unexported methods
}

type SubscriptionAttributesServiceNowAttributesResponse added in v0.1.8

type SubscriptionAttributesServiceNowAttributesResponse struct {
	// Assigned name from ServiceNow account.
	AssignedTo *string `json:"assigned_to,omitempty"`

	// Assigned group name from ServiceNow account.
	AssignmentGroup *string `json:"assignment_group,omitempty"`
	// contains filtered or unexported fields
}

SubscriptionAttributesServiceNowAttributesResponse : The attributes for a ServiceNow notification. This model "extends" SubscriptionAttributes

func (*SubscriptionAttributesServiceNowAttributesResponse) GetProperties added in v0.1.8

func (o *SubscriptionAttributesServiceNowAttributesResponse) GetProperties() map[string]interface{}

GetProperties allows the user to retrieve the map of arbitrary properties from an instance of SubscriptionAttributesServiceNowAttributesResponse

func (*SubscriptionAttributesServiceNowAttributesResponse) GetProperty added in v0.1.8

func (o *SubscriptionAttributesServiceNowAttributesResponse) GetProperty(key string) interface{}

GetProperty allows the user to retrieve an arbitrary property from an instance of SubscriptionAttributesServiceNowAttributesResponse

func (*SubscriptionAttributesServiceNowAttributesResponse) MarshalJSON added in v0.1.8

func (o *SubscriptionAttributesServiceNowAttributesResponse) MarshalJSON() (buffer []byte, err error)

MarshalJSON performs custom serialization for instances of SubscriptionAttributesServiceNowAttributesResponse

func (*SubscriptionAttributesServiceNowAttributesResponse) SetProperties added in v0.1.8

func (o *SubscriptionAttributesServiceNowAttributesResponse) SetProperties(m map[string]interface{})

SetProperties allows the user to set a map of arbitrary properties on an instance of SubscriptionAttributesServiceNowAttributesResponse

func (*SubscriptionAttributesServiceNowAttributesResponse) SetProperty added in v0.1.8

func (o *SubscriptionAttributesServiceNowAttributesResponse) SetProperty(key string, value interface{})

SetProperty allows the user to set an arbitrary property on an instance of SubscriptionAttributesServiceNowAttributesResponse

type SubscriptionAttributesSlackAttributesResponse added in v0.1.1

type SubscriptionAttributesSlackAttributesResponse struct {
	// Attachment Color for Slack Notification.
	AttachmentColor *string `json:"attachment_color,omitempty"`

	// ID of Base64 converted JSON Slack Blocks w/o Handlebars.
	TemplateIDNotification *string `json:"template_id_notification,omitempty"`
	// 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 {
	// The subscribed list.
	Subscribed []SmsAttributesItems `json:"subscribed,omitempty"`

	// The unsubscribe list.
	Unsubscribed []SmsAttributesItems `json:"unsubscribed,omitempty"`

	// The SMS numder string.
	Invited []SmsInviteAttributesItems `json:"invited,omitempty"`
	// 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 sms id string.
	Invited []string `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"`

	// The email from.
	FromEmail *string `json:"from_email,omitempty"`

	// The templete id for notification.
	TemplateIDNotification *string `json:"template_id_notification,omitempty"`

	// The templete id for invitation.
	TemplateIDInvitation *string `json:"template_id_invitation,omitempty"`

	// Signing webhook attributes.
	SigningEnabled *bool `json:"signing_enabled,omitempty"`

	// Attachment Color for the slack message.
	AttachmentColor *string `json:"attachment_color,omitempty"`

	// Name of user ServiceNow incident will be assigned to.
	AssignedTo *string `json:"assigned_to,omitempty"`

	// Group Name to which incident will be assigned to.
	AssignmentGroup *string `json:"assignment_group,omitempty"`
}

SubscriptionCreateAttributes : SubscriptionCreateAttributes struct Models which "extend" this model: - SubscriptionCreateAttributesSmsAttributes - SubscriptionCreateAttributesEmailAttributes - SubscriptionCreateAttributesCustomSmsAttributes - SubscriptionCreateAttributesCustomEmailAttributes - SubscriptionCreateAttributesWebhookAttributes - SubscriptionCreateAttributesFcmAttributes - SubscriptionCreateAttributesSlackAttributes - SubscriptionCreateAttributesServiceNowAttributes

type SubscriptionCreateAttributesCustomEmailAttributes added in v0.2.5

type SubscriptionCreateAttributesCustomEmailAttributes struct {
	// The email id string.
	Invited []string `json:"invited" 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 from.
	FromEmail *string `json:"from_email" validate:"required"`

	// The templete id for notification.
	TemplateIDNotification *string `json:"template_id_notification,omitempty"`

	// The templete id for invitation.
	TemplateIDInvitation *string `json:"template_id_invitation,omitempty"`
}

SubscriptionCreateAttributesCustomEmailAttributes : The attributes for an email notification. This model "extends" SubscriptionCreateAttributes

type SubscriptionCreateAttributesCustomSmsAttributes added in v0.4.0

type SubscriptionCreateAttributesCustomSmsAttributes struct {
	// The sms id string.
	Invited []string `json:"invited" validate:"required"`
}

SubscriptionCreateAttributesCustomSmsAttributes : The attributes for an custom sms notification. This model "extends" SubscriptionCreateAttributes

type SubscriptionCreateAttributesEmailAttributes

type SubscriptionCreateAttributesEmailAttributes struct {
	// The email id string.
	Invited []string `json:"invited" 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 SubscriptionCreateAttributesServiceNowAttributes added in v0.1.8

type SubscriptionCreateAttributesServiceNowAttributes struct {
	// Name of user ServiceNow incident will be assigned to.
	AssignedTo *string `json:"assigned_to,omitempty"`

	// Group Name to which incident will be assigned to.
	AssignmentGroup *string `json:"assignment_group,omitempty"`
}

SubscriptionCreateAttributesServiceNowAttributes : The attributes for a ServiceNow notification. This model "extends" SubscriptionCreateAttributes

type SubscriptionCreateAttributesSlackAttributes added in v0.1.1

type SubscriptionCreateAttributesSlackAttributes struct {
	// Attachment Color for the slack message.
	AttachmentColor *string `json:"attachment_color,omitempty"`

	// ID of Base64 converted JSON Slack Blocks w/o Handlebars.
	TemplateIDNotification *string `json:"template_id_notification,omitempty"`
}

SubscriptionCreateAttributesSlackAttributes : The attributes for a slack notification. This model "extends" SubscriptionCreateAttributes

type SubscriptionCreateAttributesSmsAttributes

type SubscriptionCreateAttributesSmsAttributes struct {
	// The sms id string.
	Invited []string `json:"invited" validate:"required"`
}

SubscriptionCreateAttributesSmsAttributes : The attributes for an sms notification. 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"`

	// Response having URL of the page.
	First *PageHrefResponse `json:"first,omitempty"`

	// Response having URL of the page.
	Previous *PageHrefResponse `json:"previous,omitempty"`

	// Response having URL of the page.
	Next *PageHrefResponse `json:"next,omitempty"`
}

SubscriptionList : Subscription list object.

func (*SubscriptionList) GetNextOffset added in v0.1.6

func (resp *SubscriptionList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

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 email ids or phone numbers.
	Invited *UpdateAttributesInvited `json:"invited,omitempty"`

	// The email ids or phone numbers.
	Subscribed *UpdateAttributesSubscribed `json:"subscribed,omitempty"`

	// The email ids or phone numbers.
	Unsubscribed *UpdateAttributesUnsubscribed `json:"unsubscribed,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 from.
	FromEmail *string `json:"from_email,omitempty"`

	// The templete id for notification.
	TemplateIDNotification *string `json:"template_id_notification,omitempty"`

	// The templete id for invitation.
	TemplateIDInvitation *string `json:"template_id_invitation,omitempty"`

	// Signing webhook attributes.
	SigningEnabled *bool `json:"signing_enabled,omitempty"`

	// Attachment Color for the slack message.
	AttachmentColor *string `json:"attachment_color,omitempty"`

	// Name of user ServiceNow incident will be assigned to.
	AssignedTo *string `json:"assigned_to,omitempty"`

	// Group Name to which incident will be assigned to.
	AssignmentGroup *string `json:"assignment_group,omitempty"`
}

SubscriptionUpdateAttributes : SubscriptionUpdateAttributes struct Models which "extend" this model: - SubscriptionUpdateAttributesSmsUpdateAttributes - SubscriptionUpdateAttributesEmailUpdateAttributes - SubscriptionUpdateAttributesCustomSmsUpdateAttributes - SubscriptionUpdateAttributesCustomEmailUpdateAttributes - SubscriptionUpdateAttributesWebhookAttributes - SubscriptionUpdateAttributesSlackAttributes - SubscriptionUpdateAttributesServiceNowAttributes

type SubscriptionUpdateAttributesCustomEmailUpdateAttributes added in v0.2.5

type SubscriptionUpdateAttributesCustomEmailUpdateAttributes struct {
	// The email ids or phone numbers.
	Invited *UpdateAttributesInvited `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"`

	// The email from.
	FromEmail *string `json:"from_email" validate:"required"`

	// The email ids or phone numbers.
	Subscribed *UpdateAttributesSubscribed `json:"subscribed,omitempty"`

	// The email ids or phone numbers.
	Unsubscribed *UpdateAttributesUnsubscribed `json:"unsubscribed,omitempty"`

	// The templete id for notification.
	TemplateIDNotification *string `json:"template_id_notification,omitempty"`

	// The templete id for invitation.
	TemplateIDInvitation *string `json:"template_id_invitation,omitempty"`
}

SubscriptionUpdateAttributesCustomEmailUpdateAttributes : The attributes for an email notification. This model "extends" SubscriptionUpdateAttributes

type SubscriptionUpdateAttributesCustomSmsUpdateAttributes added in v0.4.0

type SubscriptionUpdateAttributesCustomSmsUpdateAttributes struct {
	// The email ids or phone numbers.
	Invited *UpdateAttributesInvited `json:"invited,omitempty"`

	// The email ids or phone numbers.
	Subscribed *UpdateAttributesSubscribed `json:"subscribed,omitempty"`

	// The email ids or phone numbers.
	Unsubscribed *UpdateAttributesUnsubscribed `json:"unsubscribed,omitempty"`
}

SubscriptionUpdateAttributesCustomSmsUpdateAttributes : SMS attributes object. This model "extends" SubscriptionUpdateAttributes

type SubscriptionUpdateAttributesEmailUpdateAttributes added in v0.0.5

type SubscriptionUpdateAttributesEmailUpdateAttributes struct {
	// The email ids or phone numbers.
	Invited *UpdateAttributesInvited `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"`

	// The email ids or phone numbers.
	Subscribed *UpdateAttributesSubscribed `json:"subscribed,omitempty"`

	// The email ids or phone numbers.
	Unsubscribed *UpdateAttributesUnsubscribed `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 SubscriptionUpdateAttributesServiceNowAttributes added in v0.1.8

type SubscriptionUpdateAttributesServiceNowAttributes struct {
	// Name of user ServiceNow incident will be assigned to.
	AssignedTo *string `json:"assigned_to,omitempty"`

	// Group Name to which incident will be assigned to.
	AssignmentGroup *string `json:"assignment_group,omitempty"`
}

SubscriptionUpdateAttributesServiceNowAttributes : The attributes for a ServiceNow notification. This model "extends" SubscriptionUpdateAttributes

type SubscriptionUpdateAttributesSlackAttributes added in v0.1.1

type SubscriptionUpdateAttributesSlackAttributes struct {
	// Attachment Color for the slack message.
	AttachmentColor *string `json:"attachment_color,omitempty"`

	// ID of Base64 converted JSON Slack Blocks w/o Handlebars.
	TemplateIDNotification *string `json:"template_id_notification,omitempty"`
}

SubscriptionUpdateAttributesSlackAttributes : The attributes for a slack notification. This model "extends" SubscriptionUpdateAttributes

type SubscriptionUpdateAttributesSmsUpdateAttributes added in v0.1.5

type SubscriptionUpdateAttributesSmsUpdateAttributes struct {
	// The email ids or phone numbers.
	Invited *UpdateAttributesInvited `json:"invited,omitempty"`

	// The email ids or phone numbers.
	Subscribed *UpdateAttributesSubscribed `json:"subscribed,omitempty"`

	// The email ids or phone numbers.
	Unsubscribed *UpdateAttributesUnsubscribed `json:"unsubscribed,omitempty"`
}

SubscriptionUpdateAttributesSmsUpdateAttributes : 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 SubscriptionsPager added in v0.1.6

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

SubscriptionsPager can be used to simplify the use of the "ListSubscriptions" method.

func (*SubscriptionsPager) GetAll added in v0.1.6

func (pager *SubscriptionsPager) GetAll() (allItems []SubscriptionListItem, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*SubscriptionsPager) GetAllWithContext added in v0.1.6

func (pager *SubscriptionsPager) GetAllWithContext(ctx context.Context) (allItems []SubscriptionListItem, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*SubscriptionsPager) GetNext added in v0.1.6

func (pager *SubscriptionsPager) GetNext() (page []SubscriptionListItem, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*SubscriptionsPager) GetNextWithContext added in v0.1.6

func (pager *SubscriptionsPager) GetNextWithContext(ctx context.Context) (page []SubscriptionListItem, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*SubscriptionsPager) HasNext added in v0.1.6

func (pager *SubscriptionsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

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"`

	// Response having URL of the page.
	First *PageHrefResponse `json:"first,omitempty"`

	// Response having URL of the page.
	Previous *PageHrefResponse `json:"previous,omitempty"`

	// Response having URL of the page.
	Next *PageHrefResponse `json:"next,omitempty"`
}

TagsSubscriptionList : Payload describing a tags list request.

func (*TagsSubscriptionList) GetNextOffset added in v0.1.6

func (resp *TagsSubscriptionList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

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 device registration.
	UserID *string `json:"user_id,omitempty"`

	// Updated at.
	UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"`
}

TagsSubscriptionListItem : Tags subscription object.

type TagsSubscriptionPager added in v0.1.6

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

TagsSubscriptionPager can be used to simplify the use of the "ListTagsSubscription" method.

func (*TagsSubscriptionPager) GetAll added in v0.1.6

func (pager *TagsSubscriptionPager) GetAll() (allItems []TagsSubscriptionListItem, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*TagsSubscriptionPager) GetAllWithContext added in v0.1.6

func (pager *TagsSubscriptionPager) GetAllWithContext(ctx context.Context) (allItems []TagsSubscriptionListItem, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*TagsSubscriptionPager) GetNext added in v0.1.6

func (pager *TagsSubscriptionPager) GetNext() (page []TagsSubscriptionListItem, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*TagsSubscriptionPager) GetNextWithContext added in v0.1.6

func (pager *TagsSubscriptionPager) GetNextWithContext(ctx context.Context) (page []TagsSubscriptionListItem, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*TagsSubscriptionPager) HasNext added in v0.1.6

func (pager *TagsSubscriptionPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type Template added in v0.2.7

type Template struct {
	// Template ID.
	ID *string `json:"id" validate:"required"`

	// Template name.
	Name *string `json:"name" validate:"required"`

	// Template description.
	Description *string `json:"description" validate:"required"`

	// The type of template.
	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"`
}

Template : Template object.

type TemplateConfigOneOf added in v0.6.0

type TemplateConfigOneOf struct {
	// Template body.
	Body *string `json:"body,omitempty"`

	// The template subject.
	Subject *string `json:"subject,omitempty"`
}

TemplateConfigOneOf : TemplateConfigOneOf struct Models which "extend" this model: - TemplateConfigOneOfEmailTemplateConfig - TemplateConfigOneOfSlackTemplateConfig

type TemplateConfigOneOfEmailTemplateConfig added in v0.6.0

type TemplateConfigOneOfEmailTemplateConfig struct {
	// Template body.
	Body *string `json:"body" validate:"required"`

	// The template subject.
	Subject *string `json:"subject,omitempty"`
}

TemplateConfigOneOfEmailTemplateConfig : Payload describing an email template configuration. This model "extends" TemplateConfigOneOf

type TemplateConfigOneOfIntf added in v0.6.0

type TemplateConfigOneOfIntf interface {
	// contains filtered or unexported methods
}

type TemplateConfigOneOfSlackTemplateConfig added in v0.6.0

type TemplateConfigOneOfSlackTemplateConfig struct {
	// Template body.
	Body *string `json:"body" validate:"required"`
}

TemplateConfigOneOfSlackTemplateConfig : Payload describing a slack template configuration. This model "extends" TemplateConfigOneOf

type TemplateList added in v0.2.7

type TemplateList struct {
	// Total number of templates.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// Current offset.
	Offset *int64 `json:"offset" validate:"required"`

	// limit to show templates.
	Limit *int64 `json:"limit" validate:"required"`

	// List of templates.
	Templates []Template `json:"templates" validate:"required"`

	// Response having URL of the page.
	First *PageHrefResponse `json:"first,omitempty"`

	// Response having URL of the page.
	Previous *PageHrefResponse `json:"previous,omitempty"`

	// Response having URL of the page.
	Next *PageHrefResponse `json:"next,omitempty"`
}

TemplateList : Payload describing a template list request.

func (*TemplateList) GetNextOffset added in v0.2.7

func (resp *TemplateList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type TemplateResponse added in v0.2.7

type TemplateResponse struct {
	// Template ID.
	ID *string `json:"id" validate:"required"`

	// Template name.
	Name *string `json:"name" validate:"required"`

	// Template description.
	Description *string `json:"description,omitempty"`

	// The type of template.
	Type *string `json:"type" validate:"required"`

	Params TemplateConfigOneOfIntf `json:"params" validate:"required"`

	// Created time.
	CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"`
}

TemplateResponse : Payload describing a template get request.

type TemplatesPager added in v0.2.7

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

TemplatesPager can be used to simplify the use of the "ListTemplates" method.

func (*TemplatesPager) GetAll added in v0.2.7

func (pager *TemplatesPager) GetAll() (allItems []Template, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*TemplatesPager) GetAllWithContext added in v0.2.7

func (pager *TemplatesPager) GetAllWithContext(ctx context.Context) (allItems []Template, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*TemplatesPager) GetNext added in v0.2.7

func (pager *TemplatesPager) GetNext() (page []Template, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*TemplatesPager) GetNextWithContext added in v0.2.7

func (pager *TemplatesPager) GetNextWithContext(ctx context.Context) (page []Template, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*TemplatesPager) HasNext added in v0.2.7

func (pager *TemplatesPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type TestDestinationOptions added in v0.3.0

type TestDestinationOptions 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
}

TestDestinationOptions : The TestDestination options.

func (*TestDestinationOptions) SetHeaders added in v0.3.0

func (options *TestDestinationOptions) SetHeaders(param map[string]string) *TestDestinationOptions

SetHeaders : Allow user to set Headers

func (*TestDestinationOptions) SetID added in v0.3.0

SetID : Allow user to set ID

func (*TestDestinationOptions) SetInstanceID added in v0.3.0

func (_options *TestDestinationOptions) SetInstanceID(instanceID string) *TestDestinationOptions

SetInstanceID : Allow user to set InstanceID

type TestDestinationResponse added in v0.3.0

type TestDestinationResponse struct {
	// test destiantion status.
	Status *string `json:"status" validate:"required"`
}

TestDestinationResponse : Destination test 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 []SourcesListItems `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"`

	// Response having URL of the page.
	First *PageHrefResponse `json:"first,omitempty"`

	// Response having URL of the page.
	Previous *PageHrefResponse `json:"previous,omitempty"`

	// Response having URL of the page.
	Next *PageHrefResponse `json:"next,omitempty"`
}

TopicList : Topic list object.

func (*TopicList) GetNextOffset added in v0.1.6

func (resp *TopicList) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

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 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 TopicsPager added in v0.1.6

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

TopicsPager can be used to simplify the use of the "ListTopics" method.

func (*TopicsPager) GetAll added in v0.1.6

func (pager *TopicsPager) GetAll() (allItems []TopicsListItem, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*TopicsPager) GetAllWithContext added in v0.1.6

func (pager *TopicsPager) GetAllWithContext(ctx context.Context) (allItems []TopicsListItem, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*TopicsPager) GetNext added in v0.1.6

func (pager *TopicsPager) GetNext() (page []TopicsListItem, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*TopicsPager) GetNextWithContext added in v0.1.6

func (pager *TopicsPager) GetNextWithContext(ctx context.Context) (page []TopicsListItem, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*TopicsPager) HasNext added in v0.1.6

func (pager *TopicsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type UpdateAttributesInvited added in v0.1.6

type UpdateAttributesInvited struct {
	// The email ids or phone numbers to be invited.
	Add []string `json:"add,omitempty"`

	// The email ids or phone numbers for removal.
	Remove []string `json:"remove,omitempty"`
}

UpdateAttributesInvited : The email ids or phone numbers.

type UpdateAttributesSubscribed added in v0.1.6

type UpdateAttributesSubscribed struct {
	// The email ids or phone numbers to be unsubscribed.
	Remove []string `json:"remove,omitempty"`
}

UpdateAttributesSubscribed : The email ids or phone numbers.

type UpdateAttributesUnsubscribed added in v0.1.6

type UpdateAttributesUnsubscribed struct {
	// The email ids or phone numbers to be unsubscribed.
	Remove []string `json:"remove,omitempty"`
}

UpdateAttributesUnsubscribed : The email ids or phone numbers.

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"`

	// Whether to collect the failed event in Cloud Object Storage bucket.
	CollectFailedEvents *bool `json:"collect_failed_events,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) SetCollectFailedEvents added in v0.4.0

func (_options *UpdateDestinationOptions) SetCollectFailedEvents(collectFailedEvents bool) *UpdateDestinationOptions

SetCollectFailedEvents : Allow user to set CollectFailedEvents

func (*UpdateDestinationOptions) SetConfig

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

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 UpdateSMTPAllowedIpsOptions added in v0.6.0

type UpdateSMTPAllowedIpsOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// The SMTP allowed Ips.
	Subnets []string `json:"subnets" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSMTPAllowedIpsOptions : The UpdateSMTPAllowedIps options.

func (*UpdateSMTPAllowedIpsOptions) SetHeaders added in v0.6.0

func (options *UpdateSMTPAllowedIpsOptions) SetHeaders(param map[string]string) *UpdateSMTPAllowedIpsOptions

SetHeaders : Allow user to set Headers

func (*UpdateSMTPAllowedIpsOptions) SetID added in v0.6.0

SetID : Allow user to set ID

func (*UpdateSMTPAllowedIpsOptions) SetInstanceID added in v0.6.0

func (_options *UpdateSMTPAllowedIpsOptions) SetInstanceID(instanceID string) *UpdateSMTPAllowedIpsOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateSMTPAllowedIpsOptions) SetSubnets added in v0.6.0

func (_options *UpdateSMTPAllowedIpsOptions) SetSubnets(subnets []string) *UpdateSMTPAllowedIpsOptions

SetSubnets : Allow user to set Subnets

type UpdateSMTPConfigurationOptions added in v0.6.0

type UpdateSMTPConfigurationOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// SMTP name.
	Name *string `json:"name,omitempty"`

	// SMTP description.
	Description *string `json:"description,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSMTPConfigurationOptions : The UpdateSMTPConfiguration options.

func (*UpdateSMTPConfigurationOptions) SetDescription added in v0.6.0

func (_options *UpdateSMTPConfigurationOptions) SetDescription(description string) *UpdateSMTPConfigurationOptions

SetDescription : Allow user to set Description

func (*UpdateSMTPConfigurationOptions) SetHeaders added in v0.6.0

SetHeaders : Allow user to set Headers

func (*UpdateSMTPConfigurationOptions) SetID added in v0.6.0

SetID : Allow user to set ID

func (*UpdateSMTPConfigurationOptions) SetInstanceID added in v0.6.0

func (_options *UpdateSMTPConfigurationOptions) SetInstanceID(instanceID string) *UpdateSMTPConfigurationOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateSMTPConfigurationOptions) SetName added in v0.6.0

SetName : Allow user to set Name

type UpdateSMTPUserOptions added in v0.6.0

type UpdateSMTPUserOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// UserID.
	UserID *string `json:"user_id" validate:"required,ne="`

	// SMTP user description.
	Description *string `json:"description,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSMTPUserOptions : The UpdateSMTPUser options.

func (*UpdateSMTPUserOptions) SetDescription added in v0.6.0

func (_options *UpdateSMTPUserOptions) SetDescription(description string) *UpdateSMTPUserOptions

SetDescription : Allow user to set Description

func (*UpdateSMTPUserOptions) SetHeaders added in v0.6.0

func (options *UpdateSMTPUserOptions) SetHeaders(param map[string]string) *UpdateSMTPUserOptions

SetHeaders : Allow user to set Headers

func (*UpdateSMTPUserOptions) SetID added in v0.6.0

func (_options *UpdateSMTPUserOptions) SetID(id string) *UpdateSMTPUserOptions

SetID : Allow user to set ID

func (*UpdateSMTPUserOptions) SetInstanceID added in v0.6.0

func (_options *UpdateSMTPUserOptions) SetInstanceID(instanceID string) *UpdateSMTPUserOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateSMTPUserOptions) SetUserID added in v0.6.0

func (_options *UpdateSMTPUserOptions) SetUserID(userID string) *UpdateSMTPUserOptions

SetUserID : Allow user to set UserID

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

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

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

SetName : Allow user to set Name

type UpdateVerifyDestinationOptions added in v0.2.5

type UpdateVerifyDestinationOptions 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="`

	// Verification type.
	Type *string `json:"type" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVerifyDestinationOptions : The UpdateVerifyDestination options.

func (*UpdateVerifyDestinationOptions) SetHeaders added in v0.2.5

SetHeaders : Allow user to set Headers

func (*UpdateVerifyDestinationOptions) SetID added in v0.2.5

SetID : Allow user to set ID

func (*UpdateVerifyDestinationOptions) SetInstanceID added in v0.2.5

func (_options *UpdateVerifyDestinationOptions) SetInstanceID(instanceID string) *UpdateVerifyDestinationOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateVerifyDestinationOptions) SetType added in v0.2.5

SetType : Allow user to set Type

type UpdateVerifySMTPOptions added in v0.6.0

type UpdateVerifySMTPOptions struct {
	// Unique identifier for IBM Cloud Event Notifications instance.
	InstanceID *string `json:"instance_id" validate:"required,ne="`

	// Unique identifier for SMTP.
	ID *string `json:"id" validate:"required,ne="`

	// SMTP Verification type.
	Type *string `json:"type" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateVerifySMTPOptions : The UpdateVerifySMTP options.

func (*UpdateVerifySMTPOptions) SetHeaders added in v0.6.0

func (options *UpdateVerifySMTPOptions) SetHeaders(param map[string]string) *UpdateVerifySMTPOptions

SetHeaders : Allow user to set Headers

func (*UpdateVerifySMTPOptions) SetID added in v0.6.0

SetID : Allow user to set ID

func (*UpdateVerifySMTPOptions) SetInstanceID added in v0.6.0

func (_options *UpdateVerifySMTPOptions) SetInstanceID(instanceID string) *UpdateVerifySMTPOptions

SetInstanceID : Allow user to set InstanceID

func (*UpdateVerifySMTPOptions) SetType added in v0.6.0

func (_options *UpdateVerifySMTPOptions) SetType(typeVar string) *UpdateVerifySMTPOptions

SetType : Allow user to set Type

type VerificationResponse added in v0.2.5

type VerificationResponse struct {
	// verification type.
	Type *string `json:"type" validate:"required"`

	// verification status.
	Verification *string `json:"verification" validate:"required"`
}

VerificationResponse : Destination verification object.

Jump to

Keyboard shortcuts

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