model

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

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

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

type BatchCreateOrDeleteResourceTagsRequestBody

type BatchCreateOrDeleteResourceTagsRequestBody struct {
	Tags []ResourceTag `json:"tags"`

	Action string `json:"action"`
}

func (BatchCreateOrDeleteResourceTagsRequestBody) String

type BatchCreateOrDeleteResourceTagsResponse

type BatchCreateOrDeleteResourceTagsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchCreateOrDeleteResourceTagsResponse) 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

type CreateApplicationEndpointRequest

type CreateApplicationEndpointRequest struct {
	ApplicationUrn string `json:"application_urn"`

	Body *CreateApplicationEndpointRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateApplicationEndpointRequest) String

type CreateApplicationEndpointRequestBody

type CreateApplicationEndpointRequestBody struct {
	Token string `json:"token"`

	UserData string `json:"user_data"`
}

func (CreateApplicationEndpointRequestBody) 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

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

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

type CreateMessageTemplateRequestBody

type CreateMessageTemplateRequestBody struct {
	MessageTemplateName string `json:"message_template_name"`

	Protocol string `json:"protocol"`

	Content string `json:"content"`
}

func (CreateMessageTemplateRequestBody) 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

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

type CreateResourceTagRequestBodyTag

type CreateResourceTagRequestBodyTag struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

资源标签结构体。

func (CreateResourceTagRequestBodyTag) 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

type DeleteApplicationEndpointResponse

type DeleteApplicationEndpointResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteApplicationEndpointResponse) 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

type DeleteMessageTemplateResponse

type DeleteMessageTemplateResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteMessageTemplateResponse) 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

type DeleteTopicAttributeByNameResponse

type DeleteTopicAttributeByNameResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteTopicAttributeByNameResponse) String

type DeleteTopicAttributesRequest

type DeleteTopicAttributesRequest struct {
	TopicUrn string `json:"topic_urn"`
}

Request Object

func (DeleteTopicAttributesRequest) String

type DeleteTopicAttributesResponse

type DeleteTopicAttributesResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteTopicAttributesResponse) 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 LinksItem

type LinksItem struct {
	Href string `json:"href"`

	Rel string `json:"rel"`
}

func (LinksItem) String

func (o LinksItem) String() string

type ListApplicationAttributesRequest

type ListApplicationAttributesRequest struct {
	ApplicationUrn string `json:"application_urn"`
}

Request Object

func (ListApplicationAttributesRequest) 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

type ListApplicationAttributesResponseBodyAttributes

type ListApplicationAttributesResponseBodyAttributes struct {
	Enabled string `json:"enabled"`

	AppleCertificateExpirationDate *string `json:"apple_certificate_expiration_date,omitempty"`
}

func (ListApplicationAttributesResponseBodyAttributes) String

type ListApplicationEndpointAttributesRequest

type ListApplicationEndpointAttributesRequest struct {
	EndpointUrn string `json:"endpoint_urn"`
}

Request Object

func (ListApplicationEndpointAttributesRequest) 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

type ListApplicationEndpointAttributesResponseBodyAttributes

type ListApplicationEndpointAttributesResponseBodyAttributes struct {
	Enabled string `json:"enabled"`

	Token string `json:"token"`

	UserData string `json:"user_data"`
}

func (ListApplicationEndpointAttributesResponseBodyAttributes) 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

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

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

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

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

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

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

type ListResourceInstancesResponse

type ListResourceInstancesResponse struct {
	Resources *[]TagResource `json:"resources,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListResourceInstancesResponse) 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

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

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

type ListTopicAttributesResponse

type ListTopicAttributesResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Attributes     *TopicAttribute `json:"attributes,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListTopicAttributesResponse) 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

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 ResourceTag

type ResourceTag struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

资源标签结构体。

func (ResourceTag) String

func (o ResourceTag) String() string

type ResourceTags

type ResourceTags struct {
	Key string `json:"key"`

	Values []string `json:"values"`
}

资源标签列表结构体。

func (ResourceTags) String

func (o ResourceTags) 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"`
}

func (Statement) String

func (o Statement) String() string

type TagMatch

type TagMatch struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

搜索字段,用于按条件搜索资源。

func (TagMatch) String

func (o TagMatch) String() string

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

type UpdateApplicationEndpointRequestBody

type UpdateApplicationEndpointRequestBody struct {
	Enabled *string `json:"enabled,omitempty"`

	UserData *string `json:"user_data,omitempty"`
}

func (UpdateApplicationEndpointRequestBody) String

type UpdateApplicationEndpointResponse

type UpdateApplicationEndpointResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateApplicationEndpointResponse) 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

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

type UpdateMessageTemplateRequestBody

type UpdateMessageTemplateRequestBody struct {
	Content string `json:"content"`
}

func (UpdateMessageTemplateRequestBody) String

type UpdateMessageTemplateResponse

type UpdateMessageTemplateResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateMessageTemplateResponse) 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

type UpdateTopicAttributeRequestBody

type UpdateTopicAttributeRequestBody struct {
	Value string `json:"value"`
}

func (UpdateTopicAttributeRequestBody) String

type UpdateTopicAttributeResponse

type UpdateTopicAttributeResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateTopicAttributeResponse) 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

type VersionItem

type VersionItem struct {
	Id string `json:"id"`

	MinVersion string `json:"min_version"`

	Status string `json:"status"`

	Updated string `json:"updated"`

	Version string `json:"version"`

	Links []LinksItem `json:"links"`
}

func (VersionItem) String

func (o VersionItem) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL