@@ -5,18 +5,18 @@ import (
55 "encoding/xml"
66)
77
8- type notifyStrategyType string
8+ type NotifyStrategyType string
99
1010const (
11- BACKOFF_RETRY notifyStrategyType = "BACKOFF_RETRY"
12- EXPONENTIAL_DECAY_RETRY notifyStrategyType = "EXPONENTIAL_DECAY_RETRY"
11+ BACKOFF_RETRY NotifyStrategyType = "BACKOFF_RETRY"
12+ EXPONENTIAL_DECAY_RETRY NotifyStrategyType = "EXPONENTIAL_DECAY_RETRY"
1313)
1414
15- type notifyContentFormatType string
15+ type NotifyContentFormatType string
1616
1717const (
18- XML notifyContentFormatType = "XML"
19- SIMPLIFIED notifyContentFormatType = "SIMPLIFIED"
18+ XML NotifyContentFormatType = "XML"
19+ SIMPLIFIED NotifyContentFormatType = "SIMPLIFIED"
2020)
2121
2222type MessageResponse struct {
@@ -111,8 +111,8 @@ type MessageSubsribeRequest struct {
111111 XMLName xml.Name `xml:"Subscription"`
112112 Endpoint string `xml:"Endpoint"`
113113 FilterTag string `xml:"FilterTag,omitempty"`
114- NotifyStrategy notifyStrategyType `xml:"NotifyStrategy,omitempty"`
115- NotifyContentFormat notifyContentFormatType `xml:"NotifyContentFormat,omitempty"`
114+ NotifyStrategy NotifyStrategyType `xml:"NotifyStrategy,omitempty"`
115+ NotifyContentFormat NotifyContentFormatType `xml:"NotifyContentFormat,omitempty"`
116116}
117117
118118type MessageSendResponse struct {
@@ -220,16 +220,16 @@ type SubscriptionAttribute struct {
220220 TopicOwner string `xml:"TopicOwner,omitempty" json:"topic_owner,omitempty"`
221221 TopicName string `xml:"TopicName,omitempty" json:"topic_name,omitempty"`
222222 Endpoint string `xml:"Endpoint,omitempty" json:"endpoint,omitempty"`
223- NotifyStrategy notifyStrategyType `xml:"NotifyStrategy,omitempty" json:"notify_strategy,omitempty"`
224- NotifyContentFormat notifyContentFormatType `xml:"NotifyContentFormat,omitempty" json:"notify_content_format,omitempty"`
223+ NotifyStrategy NotifyStrategyType `xml:"NotifyStrategy,omitempty" json:"notify_strategy,omitempty"`
224+ NotifyContentFormat NotifyContentFormatType `xml:"NotifyContentFormat,omitempty" json:"notify_content_format,omitempty"`
225225 FilterTag string `xml:"FilterTag,omitempty" json:"filter_tag,omitempty"`
226226 CreateTime int64 `xml:"CreateTime,omitempty" json:"create_time,omitempty"`
227227 LastModifyTime int64 `xml:"LastModifyTime,omitempty" json:"last_modify_time,omitempty"`
228228}
229229
230230type SetSubscriptionAttributesRequest struct {
231231 XMLName xml.Name `xml:"Subscription" json:"-"`
232- NotifyStrategy notifyStrategyType `xml:"NotifyStrategy,omitempty" json:"notify_strategy,omitempty"`
232+ NotifyStrategy NotifyStrategyType `xml:"NotifyStrategy,omitempty" json:"notify_strategy,omitempty"`
233233}
234234
235235type Queue struct {
0 commit comments