Documentation ¶
Index ¶
- type AddSubscriptionRequest
- type AddSubscriptionRequestBody
- type AddSubscriptionResponse
- type ApplicationEndpoint
- type ApplicationItem
- type BatchCreateOrDeleteResourceTagsRequest
- type BatchCreateOrDeleteResourceTagsRequestBody
- type BatchCreateOrDeleteResourceTagsResponse
- type CancelSubscriptionRequest
- type CancelSubscriptionResponse
- type CreateApplicationEndpointRequest
- type CreateApplicationEndpointRequestBody
- type CreateApplicationEndpointResponse
- type CreateApplicationRequest
- type CreateApplicationRequestBody
- type CreateApplicationResponse
- type CreateMessageTemplateRequest
- type CreateMessageTemplateRequestBody
- type CreateMessageTemplateResponse
- type CreateResourceTagRequest
- type CreateResourceTagRequestBody
- type CreateResourceTagRequestBodyTag
- type CreateResourceTagResponse
- type CreateTopicRequest
- type CreateTopicRequestBody
- type CreateTopicResponse
- type DeleteApplicationEndpointRequest
- type DeleteApplicationEndpointResponse
- type DeleteApplicationRequest
- type DeleteApplicationResponse
- type DeleteMessageTemplateRequest
- type DeleteMessageTemplateResponse
- type DeleteResourceTagRequest
- type DeleteResourceTagResponse
- type DeleteTopicAttributeByNameRequest
- type DeleteTopicAttributeByNameResponse
- type DeleteTopicAttributesRequest
- type DeleteTopicAttributesResponse
- type DeleteTopicRequest
- type DeleteTopicResponse
- type LinksItem
- type ListApplicationAttributesRequest
- type ListApplicationAttributesResponse
- type ListApplicationAttributesResponseBodyAttributes
- type ListApplicationEndpointAttributesRequest
- type ListApplicationEndpointAttributesResponse
- type ListApplicationEndpointAttributesResponseBodyAttributes
- type ListApplicationEndpointsRequest
- type ListApplicationEndpointsResponse
- type ListApplicationsRequest
- type ListApplicationsResponse
- type ListInstanceRequestBody
- type ListMessageTemplateDetailsRequest
- type ListMessageTemplateDetailsResponse
- type ListMessageTemplatesRequest
- type ListMessageTemplatesResponse
- type ListProjectTagsRequest
- type ListProjectTagsResponse
- type ListResourceInstancesRequest
- type ListResourceInstancesResponse
- type ListResourceTagsRequest
- type ListResourceTagsResponse
- type ListSubscriptionsByTopicRequest
- type ListSubscriptionsByTopicResponse
- type ListSubscriptionsItem
- type ListSubscriptionsRequest
- type ListSubscriptionsResponse
- type ListTopicAttributesRequest
- type ListTopicAttributesResponse
- type ListTopicDetailsRequest
- type ListTopicDetailsResponse
- type ListTopicsItem
- type ListTopicsRequest
- type ListTopicsResponse
- type ListVersionRequest
- type ListVersionResponse
- type ListVersionsRequest
- type ListVersionsResponse
- type MessageTemplate
- type PublishAppMessageRequest
- type PublishAppMessageRequestBody
- type PublishAppMessageResponse
- type PublishMessageRequest
- type PublishMessageRequestBody
- type PublishMessageResponse
- type ResourceDetail
- type ResourceTag
- type ResourceTags
- type Statement
- type TagMatch
- type TagResource
- type TopicAttribute
- type UpdateApplicationEndpointRequest
- type UpdateApplicationEndpointRequestBody
- type UpdateApplicationEndpointResponse
- type UpdateApplicationRequest
- type UpdateApplicationRequestBody
- type UpdateApplicationResponse
- type UpdateMessageTemplateRequest
- type UpdateMessageTemplateRequestBody
- type UpdateMessageTemplateResponse
- type UpdateTopicAttributeRequest
- type UpdateTopicAttributeRequestBody
- type UpdateTopicAttributeResponse
- type UpdateTopicRequest
- type UpdateTopicRequestBody
- type UpdateTopicResponse
- type VersionItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSubscriptionRequest ¶
type AddSubscriptionRequest struct { TopicUrn string `json:"topic_urn"` Body *AddSubscriptionRequestBody `json:"body,omitempty"` }
Request Object
func (AddSubscriptionRequest) String ¶
func (o AddSubscriptionRequest) String() string
type AddSubscriptionRequestBody ¶
type AddSubscriptionRequestBody struct { Endpoint string `json:"endpoint"` Protocol string `json:"protocol"` Remark string `json:"remark"` }
func (AddSubscriptionRequestBody) String ¶
func (o AddSubscriptionRequestBody) String() string
type AddSubscriptionResponse ¶
type AddSubscriptionResponse struct { RequestId *string `json:"request_id,omitempty"` SubscriptionUrn *string `json:"subscription_urn,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddSubscriptionResponse) String ¶
func (o AddSubscriptionResponse) String() string
type ApplicationEndpoint ¶
type ApplicationEndpoint struct { CreateTime string `json:"create_time"` EndpointUrn string `json:"endpoint_urn"` UserData string `json:"user_data"` Enabled string `json:"enabled"` Token string `json:"token"` }
func (ApplicationEndpoint) String ¶
func (o ApplicationEndpoint) String() string
type ApplicationItem ¶
type ApplicationItem struct { Name string `json:"name"` Platform string `json:"platform"` CreateTime string `json:"create_time"` ApplicationUrn string `json:"application_urn"` ApplicationId string `json:"application_id"` Enabled string `json:"enabled"` AppleCertificateExpirationDate *string `json:"apple_certificate_expiration_date,omitempty"` }
func (ApplicationItem) String ¶
func (o ApplicationItem) String() string
type BatchCreateOrDeleteResourceTagsRequest ¶
type BatchCreateOrDeleteResourceTagsRequest struct { ResourceType string `json:"resource_type"` ResourceId string `json:"resource_id"` Body *BatchCreateOrDeleteResourceTagsRequestBody `json:"body,omitempty"` }
Request Object
func (BatchCreateOrDeleteResourceTagsRequest) String ¶
func (o BatchCreateOrDeleteResourceTagsRequest) String() string
type BatchCreateOrDeleteResourceTagsRequestBody ¶
type BatchCreateOrDeleteResourceTagsRequestBody struct { Tags []ResourceTag `json:"tags"` Action string `json:"action"` }
func (BatchCreateOrDeleteResourceTagsRequestBody) String ¶
func (o BatchCreateOrDeleteResourceTagsRequestBody) String() string
type BatchCreateOrDeleteResourceTagsResponse ¶
type BatchCreateOrDeleteResourceTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchCreateOrDeleteResourceTagsResponse) String ¶
func (o BatchCreateOrDeleteResourceTagsResponse) String() string
type CancelSubscriptionRequest ¶
type CancelSubscriptionRequest struct {
SubscriptionUrn string `json:"subscription_urn"`
}
Request Object
func (CancelSubscriptionRequest) String ¶
func (o CancelSubscriptionRequest) String() string
type CancelSubscriptionResponse ¶
type CancelSubscriptionResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CancelSubscriptionResponse) String ¶
func (o CancelSubscriptionResponse) String() string
type CreateApplicationEndpointRequest ¶
type CreateApplicationEndpointRequest struct { ApplicationUrn string `json:"application_urn"` Body *CreateApplicationEndpointRequestBody `json:"body,omitempty"` }
Request Object
func (CreateApplicationEndpointRequest) String ¶
func (o CreateApplicationEndpointRequest) String() string
type CreateApplicationEndpointRequestBody ¶
type CreateApplicationEndpointRequestBody struct { Token string `json:"token"` UserData string `json:"user_data"` }
func (CreateApplicationEndpointRequestBody) String ¶
func (o CreateApplicationEndpointRequestBody) String() string
type CreateApplicationEndpointResponse ¶
type CreateApplicationEndpointResponse struct { RequestId *string `json:"request_id,omitempty"` EndpointUrn *string `json:"endpoint_urn,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApplicationEndpointResponse) String ¶
func (o CreateApplicationEndpointResponse) String() string
type CreateApplicationRequest ¶
type CreateApplicationRequest struct {
Body *CreateApplicationRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateApplicationRequest) String ¶
func (o CreateApplicationRequest) String() string
type CreateApplicationRequestBody ¶
type CreateApplicationRequestBody struct { Name string `json:"name"` Platform string `json:"platform"` PlatformPrincipal string `json:"platform_principal"` PlatformCredential string `json:"platform_credential"` }
func (CreateApplicationRequestBody) String ¶
func (o CreateApplicationRequestBody) String() string
type CreateApplicationResponse ¶
type CreateApplicationResponse struct { RequestId *string `json:"request_id,omitempty"` ApplicationUrn *string `json:"application_urn,omitempty"` ApplicationId *string `json:"application_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApplicationResponse) String ¶
func (o CreateApplicationResponse) String() string
type CreateMessageTemplateRequest ¶
type CreateMessageTemplateRequest struct {
Body *CreateMessageTemplateRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateMessageTemplateRequest) String ¶
func (o CreateMessageTemplateRequest) String() string
type CreateMessageTemplateRequestBody ¶
type CreateMessageTemplateRequestBody struct { MessageTemplateName string `json:"message_template_name"` Protocol string `json:"protocol"` Content string `json:"content"` }
func (CreateMessageTemplateRequestBody) String ¶
func (o CreateMessageTemplateRequestBody) String() string
type CreateMessageTemplateResponse ¶
type CreateMessageTemplateResponse struct { RequestId *string `json:"request_id,omitempty"` MessageTemplateId *string `json:"message_template_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateMessageTemplateResponse) String ¶
func (o CreateMessageTemplateResponse) String() string
type CreateResourceTagRequest ¶
type CreateResourceTagRequest struct { ResourceType string `json:"resource_type"` ResourceId string `json:"resource_id"` Body *CreateResourceTagRequestBody `json:"body,omitempty"` }
Request Object
func (CreateResourceTagRequest) String ¶
func (o CreateResourceTagRequest) String() string
type CreateResourceTagRequestBody ¶
type CreateResourceTagRequestBody struct {
Tag *CreateResourceTagRequestBodyTag `json:"tag"`
}
func (CreateResourceTagRequestBody) String ¶
func (o CreateResourceTagRequestBody) String() string
type CreateResourceTagRequestBodyTag ¶
资源标签结构体。
func (CreateResourceTagRequestBodyTag) String ¶
func (o CreateResourceTagRequestBodyTag) String() string
type CreateResourceTagResponse ¶
type CreateResourceTagResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateResourceTagResponse) String ¶
func (o CreateResourceTagResponse) String() string
type CreateTopicRequest ¶
type CreateTopicRequest struct {
Body *CreateTopicRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateTopicRequest) String ¶
func (o CreateTopicRequest) String() string
type CreateTopicRequestBody ¶
type CreateTopicRequestBody struct { Name string `json:"name"` DisplayName string `json:"display_name"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (CreateTopicRequestBody) String ¶
func (o CreateTopicRequestBody) String() string
type CreateTopicResponse ¶
type CreateTopicResponse struct { RequestId *string `json:"request_id,omitempty"` TopicUrn *string `json:"topic_urn,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateTopicResponse) String ¶
func (o CreateTopicResponse) String() string
type DeleteApplicationEndpointRequest ¶
type DeleteApplicationEndpointRequest struct {
EndpointUrn string `json:"endpoint_urn"`
}
Request Object
func (DeleteApplicationEndpointRequest) String ¶
func (o DeleteApplicationEndpointRequest) String() string
type DeleteApplicationEndpointResponse ¶
type DeleteApplicationEndpointResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteApplicationEndpointResponse) String ¶
func (o DeleteApplicationEndpointResponse) String() string
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct {
ApplicationUrn string `json:"application_urn"`
}
Request Object
func (DeleteApplicationRequest) String ¶
func (o DeleteApplicationRequest) String() string
type DeleteApplicationResponse ¶
type DeleteApplicationResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteApplicationResponse) String ¶
func (o DeleteApplicationResponse) String() string
type DeleteMessageTemplateRequest ¶
type DeleteMessageTemplateRequest struct {
MessageTemplateId string `json:"message_template_id"`
}
Request Object
func (DeleteMessageTemplateRequest) String ¶
func (o DeleteMessageTemplateRequest) String() string
type DeleteMessageTemplateResponse ¶
type DeleteMessageTemplateResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteMessageTemplateResponse) String ¶
func (o DeleteMessageTemplateResponse) String() string
type DeleteResourceTagRequest ¶
type DeleteResourceTagRequest struct { ResourceType string `json:"resource_type"` ResourceId string `json:"resource_id"` Key string `json:"key"` }
Request Object
func (DeleteResourceTagRequest) String ¶
func (o DeleteResourceTagRequest) String() string
type DeleteResourceTagResponse ¶
type DeleteResourceTagResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteResourceTagResponse) String ¶
func (o DeleteResourceTagResponse) String() string
type DeleteTopicAttributeByNameRequest ¶
type DeleteTopicAttributeByNameRequest struct { TopicUrn string `json:"topic_urn"` Name string `json:"name"` }
Request Object
func (DeleteTopicAttributeByNameRequest) String ¶
func (o DeleteTopicAttributeByNameRequest) String() string
type DeleteTopicAttributeByNameResponse ¶
type DeleteTopicAttributeByNameResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteTopicAttributeByNameResponse) String ¶
func (o DeleteTopicAttributeByNameResponse) String() string
type DeleteTopicAttributesRequest ¶
type DeleteTopicAttributesRequest struct {
TopicUrn string `json:"topic_urn"`
}
Request Object
func (DeleteTopicAttributesRequest) String ¶
func (o DeleteTopicAttributesRequest) String() string
type DeleteTopicAttributesResponse ¶
type DeleteTopicAttributesResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteTopicAttributesResponse) String ¶
func (o DeleteTopicAttributesResponse) String() string
type DeleteTopicRequest ¶
type DeleteTopicRequest struct {
TopicUrn string `json:"topic_urn"`
}
Request Object
func (DeleteTopicRequest) String ¶
func (o DeleteTopicRequest) String() string
type DeleteTopicResponse ¶
type DeleteTopicResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteTopicResponse) String ¶
func (o DeleteTopicResponse) String() string
type ListApplicationAttributesRequest ¶
type ListApplicationAttributesRequest struct {
ApplicationUrn string `json:"application_urn"`
}
Request Object
func (ListApplicationAttributesRequest) String ¶
func (o ListApplicationAttributesRequest) String() string
type ListApplicationAttributesResponse ¶
type ListApplicationAttributesResponse struct { RequestId *string `json:"request_id,omitempty"` ApplicationId *string `json:"application_id,omitempty"` Attributes *ListApplicationAttributesResponseBodyAttributes `json:"attributes,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApplicationAttributesResponse) String ¶
func (o ListApplicationAttributesResponse) String() string
type ListApplicationAttributesResponseBodyAttributes ¶
type ListApplicationAttributesResponseBodyAttributes struct { Enabled string `json:"enabled"` AppleCertificateExpirationDate *string `json:"apple_certificate_expiration_date,omitempty"` }
func (ListApplicationAttributesResponseBodyAttributes) String ¶
func (o ListApplicationAttributesResponseBodyAttributes) String() string
type ListApplicationEndpointAttributesRequest ¶
type ListApplicationEndpointAttributesRequest struct {
EndpointUrn string `json:"endpoint_urn"`
}
Request Object
func (ListApplicationEndpointAttributesRequest) String ¶
func (o ListApplicationEndpointAttributesRequest) String() string
type ListApplicationEndpointAttributesResponse ¶
type ListApplicationEndpointAttributesResponse struct { RequestId *string `json:"request_id,omitempty"` Attributes *ListApplicationEndpointAttributesResponseBodyAttributes `json:"attributes,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApplicationEndpointAttributesResponse) String ¶
func (o ListApplicationEndpointAttributesResponse) String() string
type ListApplicationEndpointAttributesResponseBodyAttributes ¶
type ListApplicationEndpointAttributesResponseBodyAttributes struct { Enabled string `json:"enabled"` Token string `json:"token"` UserData string `json:"user_data"` }
func (ListApplicationEndpointAttributesResponseBodyAttributes) String ¶
func (o ListApplicationEndpointAttributesResponseBodyAttributes) String() string
type ListApplicationEndpointsRequest ¶
type ListApplicationEndpointsRequest struct { ApplicationUrn string `json:"application_urn"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Enabled *string `json:"enabled,omitempty"` Token *string `json:"token,omitempty"` UserData *string `json:"user_data,omitempty"` }
Request Object
func (ListApplicationEndpointsRequest) String ¶
func (o ListApplicationEndpointsRequest) String() string
type ListApplicationEndpointsResponse ¶
type ListApplicationEndpointsResponse struct { RequestId *string `json:"request_id,omitempty"` NextPageFlag *bool `json:"next_page_flag,omitempty"` Endpoints *[]ApplicationEndpoint `json:"endpoints,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApplicationEndpointsResponse) String ¶
func (o ListApplicationEndpointsResponse) String() string
type ListApplicationsRequest ¶
type ListApplicationsRequest struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Name *string `json:"name,omitempty"` Platform *string `json:"platform,omitempty"` }
Request Object
func (ListApplicationsRequest) String ¶
func (o ListApplicationsRequest) String() string
type ListApplicationsResponse ¶
type ListApplicationsResponse struct { RequestId *string `json:"request_id,omitempty"` ApplicationCount *int32 `json:"application_count,omitempty"` Applications *[]ApplicationItem `json:"applications,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApplicationsResponse) String ¶
func (o ListApplicationsResponse) String() string
type ListInstanceRequestBody ¶
type ListInstanceRequestBody struct { Tags *[]ResourceTags `json:"tags,omitempty"` TagsAny *[]ResourceTags `json:"tags_any,omitempty"` NotTags *[]ResourceTags `json:"not_tags,omitempty"` NotTagsAny *[]ResourceTags `json:"not_tags_any,omitempty"` Offset *string `json:"offset,omitempty"` Limit *string `json:"limit,omitempty"` Action string `json:"action"` Matches *[]TagMatch `json:"matches,omitempty"` }
func (ListInstanceRequestBody) String ¶
func (o ListInstanceRequestBody) String() string
type ListMessageTemplateDetailsRequest ¶
type ListMessageTemplateDetailsRequest struct {
MessageTemplateId string `json:"message_template_id"`
}
Request Object
func (ListMessageTemplateDetailsRequest) String ¶
func (o ListMessageTemplateDetailsRequest) String() string
type ListMessageTemplateDetailsResponse ¶
type ListMessageTemplateDetailsResponse struct { MessageTemplateId *string `json:"message_template_id,omitempty"` MessageTemplateName *string `json:"message_template_name,omitempty"` Protocol *string `json:"protocol,omitempty"` TagNames *[]string `json:"tag_names,omitempty"` CreateTime *string `json:"create_time,omitempty"` UpdateTime *string `json:"update_time,omitempty"` Content *string `json:"content,omitempty"` RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMessageTemplateDetailsResponse) String ¶
func (o ListMessageTemplateDetailsResponse) String() string
type ListMessageTemplatesRequest ¶
type ListMessageTemplatesRequest struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` MessageTemplateName *string `json:"message_template_name,omitempty"` Protocol *string `json:"protocol,omitempty"` }
Request Object
func (ListMessageTemplatesRequest) String ¶
func (o ListMessageTemplatesRequest) String() string
type ListMessageTemplatesResponse ¶
type ListMessageTemplatesResponse struct { RequestId *string `json:"request_id,omitempty"` MessageTemplateCount *int32 `json:"message_template_count,omitempty"` MessageTemplates *[]MessageTemplate `json:"message_templates,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMessageTemplatesResponse) String ¶
func (o ListMessageTemplatesResponse) String() string
type ListProjectTagsRequest ¶
type ListProjectTagsRequest struct {
ResourceType string `json:"resource_type"`
}
Request Object
func (ListProjectTagsRequest) String ¶
func (o ListProjectTagsRequest) String() string
type ListProjectTagsResponse ¶
type ListProjectTagsResponse struct { Tags *[]ResourceTags `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectTagsResponse) String ¶
func (o ListProjectTagsResponse) String() string
type ListResourceInstancesRequest ¶
type ListResourceInstancesRequest struct { ResourceType string `json:"resource_type"` Body *ListInstanceRequestBody `json:"body,omitempty"` }
Request Object
func (ListResourceInstancesRequest) String ¶
func (o ListResourceInstancesRequest) String() string
type ListResourceInstancesResponse ¶
type ListResourceInstancesResponse struct { Resources *[]TagResource `json:"resources,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListResourceInstancesResponse) String ¶
func (o ListResourceInstancesResponse) String() string
type ListResourceTagsRequest ¶
type ListResourceTagsRequest struct { ResourceType string `json:"resource_type"` ResourceId string `json:"resource_id"` }
Request Object
func (ListResourceTagsRequest) String ¶
func (o ListResourceTagsRequest) String() string
type ListResourceTagsResponse ¶
type ListResourceTagsResponse struct { Tags *[]ResourceTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListResourceTagsResponse) String ¶
func (o ListResourceTagsResponse) String() string
type ListSubscriptionsByTopicRequest ¶
type ListSubscriptionsByTopicRequest struct { TopicUrn string `json:"topic_urn"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListSubscriptionsByTopicRequest) String ¶
func (o ListSubscriptionsByTopicRequest) String() string
type ListSubscriptionsByTopicResponse ¶
type ListSubscriptionsByTopicResponse struct { RequestId *string `json:"request_id,omitempty"` SubscriptionCount *int32 `json:"subscription_count,omitempty"` Subscriptions *[]ListSubscriptionsItem `json:"subscriptions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSubscriptionsByTopicResponse) String ¶
func (o ListSubscriptionsByTopicResponse) String() string
type ListSubscriptionsItem ¶
type ListSubscriptionsItem struct { TopicUrn string `json:"topic_urn"` Protocol string `json:"protocol"` SubscriptionUrn string `json:"subscription_urn"` Owner string `json:"owner"` Endpoint string `json:"endpoint"` Remark string `json:"remark"` Status int32 `json:"status"` }
func (ListSubscriptionsItem) String ¶
func (o ListSubscriptionsItem) String() string
type ListSubscriptionsRequest ¶
type ListSubscriptionsRequest struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListSubscriptionsRequest) String ¶
func (o ListSubscriptionsRequest) String() string
type ListSubscriptionsResponse ¶
type ListSubscriptionsResponse struct { RequestId *string `json:"request_id,omitempty"` SubscriptionCount *int32 `json:"subscription_count,omitempty"` Subscriptions *[]ListSubscriptionsItem `json:"subscriptions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSubscriptionsResponse) String ¶
func (o ListSubscriptionsResponse) String() string
type ListTopicAttributesRequest ¶
type ListTopicAttributesRequest struct { TopicUrn string `json:"topic_urn"` Name string `json:"name"` }
Request Object
func (ListTopicAttributesRequest) String ¶
func (o ListTopicAttributesRequest) String() string
type ListTopicAttributesResponse ¶
type ListTopicAttributesResponse struct { RequestId *string `json:"request_id,omitempty"` Attributes *TopicAttribute `json:"attributes,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTopicAttributesResponse) String ¶
func (o ListTopicAttributesResponse) String() string
type ListTopicDetailsRequest ¶
type ListTopicDetailsRequest struct {
TopicUrn string `json:"topic_urn"`
}
Request Object
func (ListTopicDetailsRequest) String ¶
func (o ListTopicDetailsRequest) String() string
type ListTopicDetailsResponse ¶
type ListTopicDetailsResponse struct { UpdateTime *string `json:"update_time,omitempty"` PushPolicy *int32 `json:"push_policy,omitempty"` CreateTime *string `json:"create_time,omitempty"` Name *string `json:"name,omitempty"` TopicUrn *string `json:"topic_urn,omitempty"` DisplayName *string `json:"display_name,omitempty"` RequestId *string `json:"request_id,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTopicDetailsResponse) String ¶
func (o ListTopicDetailsResponse) String() string
type ListTopicsItem ¶
type ListTopicsItem struct { TopicUrn string `json:"topic_urn"` Name string `json:"name"` DisplayName string `json:"display_name"` PushPolicy int32 `json:"push_policy"` EnterpriseProjectId string `json:"enterprise_project_id"` }
func (ListTopicsItem) String ¶
func (o ListTopicsItem) String() string
type ListTopicsRequest ¶
type ListTopicsRequest struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListTopicsRequest) String ¶
func (o ListTopicsRequest) String() string
type ListTopicsResponse ¶
type ListTopicsResponse struct { RequestId *string `json:"request_id,omitempty"` TopicCount *int32 `json:"topic_count,omitempty"` Topics *[]ListTopicsItem `json:"topics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTopicsResponse) String ¶
func (o ListTopicsResponse) String() string
type ListVersionRequest ¶
type ListVersionRequest struct {
ApiVersion string `json:"api_version"`
}
Request Object
func (ListVersionRequest) String ¶
func (o ListVersionRequest) String() string
type ListVersionResponse ¶
type ListVersionResponse struct { Version *interface{} `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListVersionResponse) String ¶
func (o ListVersionResponse) String() string
type ListVersionsRequest ¶
type ListVersionsRequest struct { }
Request Object
func (ListVersionsRequest) String ¶
func (o ListVersionsRequest) String() string
type ListVersionsResponse ¶
type ListVersionsResponse struct { Versions *[]VersionItem `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListVersionsResponse) String ¶
func (o ListVersionsResponse) String() string
type MessageTemplate ¶
type MessageTemplate struct { MessageTemplateId string `json:"message_template_id"` MessageTemplateName string `json:"message_template_name"` Protocol string `json:"protocol"` TagNames []string `json:"tag_names"` CreateTime string `json:"create_time"` UpdateTime string `json:"update_time"` }
func (MessageTemplate) String ¶
func (o MessageTemplate) String() string
type PublishAppMessageRequest ¶
type PublishAppMessageRequest struct { EndpointUrn string `json:"endpoint_urn"` Body *PublishAppMessageRequestBody `json:"body,omitempty"` }
Request Object
func (PublishAppMessageRequest) String ¶
func (o PublishAppMessageRequest) String() string
type PublishAppMessageRequestBody ¶
type PublishAppMessageRequestBody struct { Message *string `json:"message,omitempty"` MessageStructure *string `json:"message_structure,omitempty"` TimeToLive *string `json:"time_to_live,omitempty"` }
func (PublishAppMessageRequestBody) String ¶
func (o PublishAppMessageRequestBody) String() string
type PublishAppMessageResponse ¶
type PublishAppMessageResponse struct { MessageId *string `json:"message_id,omitempty"` RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (PublishAppMessageResponse) String ¶
func (o PublishAppMessageResponse) String() string
type PublishMessageRequest ¶
type PublishMessageRequest struct { TopicUrn string `json:"topic_urn"` Body *PublishMessageRequestBody `json:"body,omitempty"` }
Request Object
func (PublishMessageRequest) String ¶
func (o PublishMessageRequest) String() string
type PublishMessageRequestBody ¶
type PublishMessageRequestBody struct { Subject *string `json:"subject,omitempty"` Message *string `json:"message,omitempty"` MessageStructure *string `json:"message_structure,omitempty"` MessageTemplateName *string `json:"message_template_name,omitempty"` Tags map[string]string `json:"tags,omitempty"` TimeToLive string `json:"time_to_live"` }
func (PublishMessageRequestBody) String ¶
func (o PublishMessageRequestBody) String() string
type PublishMessageResponse ¶
type PublishMessageResponse struct { RequestId *string `json:"request_id,omitempty"` MessageId *string `json:"message_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (PublishMessageResponse) String ¶
func (o PublishMessageResponse) String() string
type ResourceDetail ¶
type ResourceDetail struct { EnterpriseProjectId string `json:"enterprise_project_id"` DetailId string `json:"detailId"` TopicUrn string `json:"topic_urn"` DisplayName string `json:"display_name"` }
func (ResourceDetail) String ¶
func (o ResourceDetail) String() string
type Statement ¶
type Statement struct { Sid string `json:"Sid"` Effect string `json:"Effect"` Principal *string `json:"Principal,omitempty"` NotPrincipal *string `json:"NotPrincipal,omitempty"` Action *string `json:"Action,omitempty"` NotAction *string `json:"NotAction,omitempty"` Resource *string `json:"Resource,omitempty"` NotResource *string `json:"NotResource,omitempty"` }
type TagResource ¶
type TagResource struct { ResourceId string `json:"resource_id"` ResourceDetail *ResourceDetail `json:"resource_detail"` Tags []ResourceTag `json:"tags"` ResourceName string `json:"resource_name"` }
资源结构体。
func (TagResource) String ¶
func (o TagResource) String() string
type TopicAttribute ¶
type TopicAttribute struct { Version string `json:"Version"` Id string `json:"Id"` Statement []Statement `json:"Statement"` }
func (TopicAttribute) String ¶
func (o TopicAttribute) String() string
type UpdateApplicationEndpointRequest ¶
type UpdateApplicationEndpointRequest struct { EndpointUrn string `json:"endpoint_urn"` Body *UpdateApplicationEndpointRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateApplicationEndpointRequest) String ¶
func (o UpdateApplicationEndpointRequest) String() string
type UpdateApplicationEndpointRequestBody ¶
type UpdateApplicationEndpointRequestBody struct { Enabled *string `json:"enabled,omitempty"` UserData *string `json:"user_data,omitempty"` }
func (UpdateApplicationEndpointRequestBody) String ¶
func (o UpdateApplicationEndpointRequestBody) String() string
type UpdateApplicationEndpointResponse ¶
type UpdateApplicationEndpointResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateApplicationEndpointResponse) String ¶
func (o UpdateApplicationEndpointResponse) String() string
type UpdateApplicationRequest ¶
type UpdateApplicationRequest struct { ApplicationUrn string `json:"application_urn"` Body *UpdateApplicationRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateApplicationRequest) String ¶
func (o UpdateApplicationRequest) String() string
type UpdateApplicationRequestBody ¶
type UpdateApplicationRequestBody struct { PlatformPrincipal string `json:"platform_principal"` PlatformCredential string `json:"platform_credential"` }
func (UpdateApplicationRequestBody) String ¶
func (o UpdateApplicationRequestBody) String() string
type UpdateApplicationResponse ¶
type UpdateApplicationResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateApplicationResponse) String ¶
func (o UpdateApplicationResponse) String() string
type UpdateMessageTemplateRequest ¶
type UpdateMessageTemplateRequest struct { MessageTemplateId string `json:"message_template_id"` Body *UpdateMessageTemplateRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateMessageTemplateRequest) String ¶
func (o UpdateMessageTemplateRequest) String() string
type UpdateMessageTemplateRequestBody ¶
type UpdateMessageTemplateRequestBody struct {
Content string `json:"content"`
}
func (UpdateMessageTemplateRequestBody) String ¶
func (o UpdateMessageTemplateRequestBody) String() string
type UpdateMessageTemplateResponse ¶
type UpdateMessageTemplateResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateMessageTemplateResponse) String ¶
func (o UpdateMessageTemplateResponse) String() string
type UpdateTopicAttributeRequest ¶
type UpdateTopicAttributeRequest struct { TopicUrn string `json:"topic_urn"` Name string `json:"name"` Body *UpdateTopicAttributeRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateTopicAttributeRequest) String ¶
func (o UpdateTopicAttributeRequest) String() string
type UpdateTopicAttributeRequestBody ¶
type UpdateTopicAttributeRequestBody struct {
Value string `json:"value"`
}
func (UpdateTopicAttributeRequestBody) String ¶
func (o UpdateTopicAttributeRequestBody) String() string
type UpdateTopicAttributeResponse ¶
type UpdateTopicAttributeResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateTopicAttributeResponse) String ¶
func (o UpdateTopicAttributeResponse) String() string
type UpdateTopicRequest ¶
type UpdateTopicRequest struct { TopicUrn string `json:"topic_urn"` Body *UpdateTopicRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateTopicRequest) String ¶
func (o UpdateTopicRequest) String() string
type UpdateTopicRequestBody ¶
type UpdateTopicRequestBody struct {
DisplayName string `json:"display_name"`
}
func (UpdateTopicRequestBody) String ¶
func (o UpdateTopicRequestBody) String() string
type UpdateTopicResponse ¶
type UpdateTopicResponse struct { RequestId *string `json:"request_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateTopicResponse) String ¶
func (o UpdateTopicResponse) String() string
Source Files ¶
- model_add_subscription_request.go
- model_add_subscription_request_body.go
- model_add_subscription_response.go
- model_application_endpoint.go
- model_application_item.go
- model_batch_create_or_delete_resource_tags_request.go
- model_batch_create_or_delete_resource_tags_request_body.go
- model_batch_create_or_delete_resource_tags_response.go
- model_cancel_subscription_request.go
- model_cancel_subscription_response.go
- model_create_application_endpoint_request.go
- model_create_application_endpoint_request_body.go
- model_create_application_endpoint_response.go
- model_create_application_request.go
- model_create_application_request_body.go
- model_create_application_response.go
- model_create_message_template_request.go
- model_create_message_template_request_body.go
- model_create_message_template_response.go
- model_create_resource_tag_request.go
- model_create_resource_tag_request_body.go
- model_create_resource_tag_request_body_tag.go
- model_create_resource_tag_response.go
- model_create_topic_request.go
- model_create_topic_request_body.go
- model_create_topic_response.go
- model_delete_application_endpoint_request.go
- model_delete_application_endpoint_response.go
- model_delete_application_request.go
- model_delete_application_response.go
- model_delete_message_template_request.go
- model_delete_message_template_response.go
- model_delete_resource_tag_request.go
- model_delete_resource_tag_response.go
- model_delete_topic_attribute_by_name_request.go
- model_delete_topic_attribute_by_name_response.go
- model_delete_topic_attributes_request.go
- model_delete_topic_attributes_response.go
- model_delete_topic_request.go
- model_delete_topic_response.go
- model_links_item.go
- model_list_application_attributes_request.go
- model_list_application_attributes_response.go
- model_list_application_attributes_response_body_attributes.go
- model_list_application_endpoint_attributes_request.go
- model_list_application_endpoint_attributes_response.go
- model_list_application_endpoint_attributes_response_body_attributes.go
- model_list_application_endpoints_request.go
- model_list_application_endpoints_response.go
- model_list_applications_request.go
- model_list_applications_response.go
- model_list_instance_request_body.go
- model_list_message_template_details_request.go
- model_list_message_template_details_response.go
- model_list_message_templates_request.go
- model_list_message_templates_response.go
- model_list_project_tags_request.go
- model_list_project_tags_response.go
- model_list_resource_instances_request.go
- model_list_resource_instances_response.go
- model_list_resource_tags_request.go
- model_list_resource_tags_response.go
- model_list_subscriptions_by_topic_request.go
- model_list_subscriptions_by_topic_response.go
- model_list_subscriptions_item.go
- model_list_subscriptions_request.go
- model_list_subscriptions_response.go
- model_list_topic_attributes_request.go
- model_list_topic_attributes_response.go
- model_list_topic_details_request.go
- model_list_topic_details_response.go
- model_list_topics_item.go
- model_list_topics_request.go
- model_list_topics_response.go
- model_list_version_request.go
- model_list_version_response.go
- model_list_versions_request.go
- model_list_versions_response.go
- model_message_template.go
- model_publish_app_message_request.go
- model_publish_app_message_request_body.go
- model_publish_app_message_response.go
- model_publish_message_request.go
- model_publish_message_request_body.go
- model_publish_message_response.go
- model_resource_detail.go
- model_resource_tag.go
- model_resource_tags.go
- model_statement.go
- model_tag_match.go
- model_tag_resource.go
- model_topic_attribute.go
- model_update_application_endpoint_request.go
- model_update_application_endpoint_request_body.go
- model_update_application_endpoint_response.go
- model_update_application_request.go
- model_update_application_request_body.go
- model_update_application_response.go
- model_update_message_template_request.go
- model_update_message_template_request_body.go
- model_update_message_template_response.go
- model_update_topic_attribute_request.go
- model_update_topic_attribute_request_body.go
- model_update_topic_attribute_response.go
- model_update_topic_request.go
- model_update_topic_request_body.go
- model_update_topic_response.go
- model_version_item.go