model

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgencyCreateReq added in v0.1.3

type AgencyCreateReq struct {

	// 服务委托应用场景类型
	Type AgencyCreateReqType `json:"type"`
}

服务委托创建请求

func (AgencyCreateReq) String added in v0.1.3

func (o AgencyCreateReq) String() string

type AgencyCreateReqType added in v0.1.3

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

func (AgencyCreateReqType) MarshalJSON added in v0.1.3

func (c AgencyCreateReqType) MarshalJSON() ([]byte, error)

func (*AgencyCreateReqType) UnmarshalJSON added in v0.1.3

func (c *AgencyCreateReqType) UnmarshalJSON(b []byte) error

func (AgencyCreateReqType) Value added in v0.1.3

func (c AgencyCreateReqType) Value() string

type AgencyCreateReqTypeEnum added in v0.1.3

type AgencyCreateReqTypeEnum struct {
	TARGET_CONNECTION      AgencyCreateReqType
	CUSTOM_SOURCE_RABBITMQ AgencyCreateReqType
}

func GetAgencyCreateReqTypeEnum added in v0.1.3

func GetAgencyCreateReqTypeEnum() AgencyCreateReqTypeEnum
type ApiVersionsLinks struct {
	Href *string `json:"href,omitempty"`

	Rel *string `json:"rel,omitempty"`
}

func (ApiVersionsLinks) String added in v0.1.3

func (o ApiVersionsLinks) String() string

type ApiVersionsVersions added in v0.1.3

type ApiVersionsVersions struct {

	// 版本号,如v1
	Id *string `json:"id,omitempty"`

	// url地址
	Links *[]ApiVersionsLinks `json:"links,omitempty"`

	// 若该版本API支持微版本,则为支持的最大微版本号,如果不支持微版本,则为空
	Version *string `json:"version,omitempty"`

	// 若该版本API支持微版本,则为支持的最小微版本号,如果不支持微版本,则为空
	MinVersion *string `json:"min_version,omitempty"`

	// 版本状态,支持CURRENT:推荐版本;SUPPORTED:老版本,仍支持使用;DEPRECATED:废弃版本,后续会删除
	Status *ApiVersionsVersionsStatus `json:"status,omitempty"`

	// 版本发布UTC时间
	Updated *string `json:"updated,omitempty"`
}

func (ApiVersionsVersions) String added in v0.1.3

func (o ApiVersionsVersions) String() string

type ApiVersionsVersionsStatus added in v0.1.3

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

func (ApiVersionsVersionsStatus) MarshalJSON added in v0.1.3

func (c ApiVersionsVersionsStatus) MarshalJSON() ([]byte, error)

func (*ApiVersionsVersionsStatus) UnmarshalJSON added in v0.1.3

func (c *ApiVersionsVersionsStatus) UnmarshalJSON(b []byte) error

func (ApiVersionsVersionsStatus) Value added in v0.1.3

type ApiVersionsVersionsStatusEnum added in v0.1.3

type ApiVersionsVersionsStatusEnum struct {
	CURRENT    ApiVersionsVersionsStatus
	SUPPORTED  ApiVersionsVersionsStatus
	DEPRECATED ApiVersionsVersionsStatus
}

func GetApiVersionsVersionsStatusEnum added in v0.1.3

func GetApiVersionsVersionsStatusEnum() ApiVersionsVersionsStatusEnum

type CatalogTargetInfo

type CatalogTargetInfo struct {

	// 事件目标分类ID
	Id *string `json:"id,omitempty"`

	// 事件目标分类名称
	Name *string `json:"name,omitempty"`

	// 事件目标分类名称展示说明
	Label *string `json:"label,omitempty"`

	// 事件目标分类描述
	Description *string `json:"description,omitempty"`

	// 提供方类型,OFFICIAL:官方云服务事件目标;CUSTOM:第三方事件目标
	ProviderType *CatalogTargetInfoProviderType `json:"provider_type,omitempty"`

	Parameters *[]interface{} `json:"parameters,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`
}

func (CatalogTargetInfo) String

func (o CatalogTargetInfo) String() string

type CatalogTargetInfoProviderType

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

func (CatalogTargetInfoProviderType) MarshalJSON

func (c CatalogTargetInfoProviderType) MarshalJSON() ([]byte, error)

func (*CatalogTargetInfoProviderType) UnmarshalJSON

func (c *CatalogTargetInfoProviderType) UnmarshalJSON(b []byte) error

func (CatalogTargetInfoProviderType) Value

type CatalogTargetInfoProviderTypeEnum

type CatalogTargetInfoProviderTypeEnum struct {
	OFFICIAL CatalogTargetInfoProviderType
	CUSTOM   CatalogTargetInfoProviderType
}

func GetCatalogTargetInfoProviderTypeEnum

func GetCatalogTargetInfoProviderTypeEnum() CatalogTargetInfoProviderTypeEnum

type ChannelCreateReq

type ChannelCreateReq struct {

	// 通道名称,租户下唯一,由字母,数字,点,下划线和中划线组成,必须字母或数字开头,不能是default
	Name *string `json:"name,omitempty"`

	// 通道描述
	Description *string `json:"description,omitempty"`
}

func (ChannelCreateReq) String

func (o ChannelCreateReq) String() string

type ChannelInfo

type ChannelInfo struct {

	// 通道ID
	Id *string `json:"id,omitempty"`

	// 通道名称
	Name *string `json:"name,omitempty"`

	// 通道描述
	Description *string `json:"description,omitempty"`

	// 通道提供方类型,OFFICIAL:官方事件通道;CUSTOM:自定义事件通道
	ProviderType *ChannelInfoProviderType `json:"provider_type,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`
}

func (ChannelInfo) String

func (o ChannelInfo) String() string

type ChannelInfoProviderType

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

func (ChannelInfoProviderType) MarshalJSON

func (c ChannelInfoProviderType) MarshalJSON() ([]byte, error)

func (*ChannelInfoProviderType) UnmarshalJSON

func (c *ChannelInfoProviderType) UnmarshalJSON(b []byte) error

func (ChannelInfoProviderType) Value

func (c ChannelInfoProviderType) Value() string

type ChannelInfoProviderTypeEnum

type ChannelInfoProviderTypeEnum struct {
	OFFICIAL ChannelInfoProviderType
	CUSTOM   ChannelInfoProviderType
}

func GetChannelInfoProviderTypeEnum

func GetChannelInfoProviderTypeEnum() ChannelInfoProviderTypeEnum

type ChannelUpdateReq

type ChannelUpdateReq struct {

	// 通道描述
	Description *string `json:"description,omitempty"`
}

func (ChannelUpdateReq) String

func (o ChannelUpdateReq) String() string

type CloudEvents

type CloudEvents struct {

	// 事件唯一标识串,同一个事件来源里必须唯一
	Id string `json:"id"`

	// 事件来源上下文标识串,source+id可以唯一确定一个事件。采用URI-Reference格式,参考https://tools.ietf.org/html/rfc3986#section-4.1
	Source string `json:"source"`

	// CloudEvents协议版本,格式为major.minor
	Specversion string `json:"specversion"`

	// 事件类型
	Type string `json:"type"`

	// 事件内容格式,采用MIME格式,遵循RFC2046,参考https://tools.ietf.org/html/rfc2046
	Datacontenttype *string `json:"datacontenttype,omitempty"`

	// 件内容模型定义的URI,遵循RFC3986,参考https://tools.ietf.org/html/rfc3986#section-4.3
	Dataschema *string `json:"dataschema,omitempty"`

	// 事件的负载内容,采用datacontenttype字段指定的格式,内容字段遵循dataschema字段的描述
	Data *interface{} `json:"data,omitempty"`

	// 事件发生UTC日期时间,相同来源的事件格式相同,遵循RFC3339,格式需满足2018-04-05T17:31:00Z,参考https://tools.ietf.org/html/rfc3339
	Time *string `json:"time,omitempty"`

	// 事件发生的主题或对象,用以标识哪个具体对象发生了当前事件
	Subject *string `json:"subject,omitempty"`
}

CloudEvent事件格式定义,参考https://github.com/cloudevents/spec/blob/v1.0.1/spec.md

func (CloudEvents) String

func (o CloudEvents) String() string

type ConnectionCreateReq added in v0.1.3

type ConnectionCreateReq struct {

	// 目标连接名称,租户下唯一,由字母、数字、点、下划线和中划线组成,必须以字母或数字开头,不能为default
	Name string `json:"name"`

	// 目标连接描述
	Description *string `json:"description,omitempty"`

	// 待连接的VPC ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 待连接的子网ID
	SubnetId *string `json:"subnet_id,omitempty"`
}

func (ConnectionCreateReq) String added in v0.1.3

func (o ConnectionCreateReq) String() string

type ConnectionInfo added in v0.1.3

type ConnectionInfo struct {

	// 事件源ID
	Id *string `json:"id,omitempty"`

	// 目标连接名称,租户下唯一,由小写字母、数字、点、下划线和中划线组成,必须以字母或数字开头,不能为default
	Name *string `json:"name,omitempty"`

	// 目标连接描述
	Description *string `json:"description,omitempty"`

	// 目标连接状态
	Status *ConnectionInfoStatus `json:"status,omitempty"`

	// 待连接的VPC ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 待连接的子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 私网目标连接使用的用户委托名称
	Agency *string `json:"agency,omitempty"`

	Flavor *ConnectionInfoFlavor `json:"flavor,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`
}

func (ConnectionInfo) String added in v0.1.3

func (o ConnectionInfo) String() string

type ConnectionInfoFlavor added in v0.1.3

type ConnectionInfoFlavor struct {

	// 规格名称
	Name *string `json:"name,omitempty"`

	// 并发规格类型
	ConcurrencyType *ConnectionInfoFlavorConcurrencyType `json:"concurrency_type,omitempty"`

	// 并发数
	Concurrency *int32 `json:"concurrency,omitempty"`

	// 带宽类型
	BandwidthType *ConnectionInfoFlavorBandwidthType `json:"bandwidth_type,omitempty"`
}

func (ConnectionInfoFlavor) String added in v0.1.3

func (o ConnectionInfoFlavor) String() string

type ConnectionInfoFlavorBandwidthType added in v0.1.3

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

func (ConnectionInfoFlavorBandwidthType) MarshalJSON added in v0.1.3

func (c ConnectionInfoFlavorBandwidthType) MarshalJSON() ([]byte, error)

func (*ConnectionInfoFlavorBandwidthType) UnmarshalJSON added in v0.1.3

func (c *ConnectionInfoFlavorBandwidthType) UnmarshalJSON(b []byte) error

func (ConnectionInfoFlavorBandwidthType) Value added in v0.1.3

type ConnectionInfoFlavorBandwidthTypeEnum added in v0.1.3

type ConnectionInfoFlavorBandwidthTypeEnum struct {
	SHARED    ConnectionInfoFlavorBandwidthType
	EXCLUSIVE ConnectionInfoFlavorBandwidthType
}

func GetConnectionInfoFlavorBandwidthTypeEnum added in v0.1.3

func GetConnectionInfoFlavorBandwidthTypeEnum() ConnectionInfoFlavorBandwidthTypeEnum

type ConnectionInfoFlavorConcurrencyType added in v0.1.3

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

func (ConnectionInfoFlavorConcurrencyType) MarshalJSON added in v0.1.3

func (c ConnectionInfoFlavorConcurrencyType) MarshalJSON() ([]byte, error)

func (*ConnectionInfoFlavorConcurrencyType) UnmarshalJSON added in v0.1.3

func (c *ConnectionInfoFlavorConcurrencyType) UnmarshalJSON(b []byte) error

func (ConnectionInfoFlavorConcurrencyType) Value added in v0.1.3

type ConnectionInfoFlavorConcurrencyTypeEnum added in v0.1.3

type ConnectionInfoFlavorConcurrencyTypeEnum struct {
	SHARED    ConnectionInfoFlavorConcurrencyType
	EXCLUSIVE ConnectionInfoFlavorConcurrencyType
}

func GetConnectionInfoFlavorConcurrencyTypeEnum added in v0.1.3

func GetConnectionInfoFlavorConcurrencyTypeEnum() ConnectionInfoFlavorConcurrencyTypeEnum

type ConnectionInfoStatus added in v0.1.3

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

func (ConnectionInfoStatus) MarshalJSON added in v0.1.3

func (c ConnectionInfoStatus) MarshalJSON() ([]byte, error)

func (*ConnectionInfoStatus) UnmarshalJSON added in v0.1.3

func (c *ConnectionInfoStatus) UnmarshalJSON(b []byte) error

func (ConnectionInfoStatus) Value added in v0.1.3

func (c ConnectionInfoStatus) Value() string

type ConnectionInfoStatusEnum added in v0.1.3

type ConnectionInfoStatusEnum struct {
	CREATING      ConnectionInfoStatus
	CREATED       ConnectionInfoStatus
	CREATE_FAILED ConnectionInfoStatus
}

func GetConnectionInfoStatusEnum added in v0.1.3

func GetConnectionInfoStatusEnum() ConnectionInfoStatusEnum

type ConnectionUpdateReq added in v0.1.3

type ConnectionUpdateReq struct {

	// 目标连接描述
	Description *string `json:"description,omitempty"`
}

func (ConnectionUpdateReq) String added in v0.1.3

func (o ConnectionUpdateReq) String() string

type CreateAgenciesRequest added in v0.1.3

type CreateAgenciesRequest struct {
	Body *AgencyCreateReq `json:"body,omitempty"`
}

Request Object

func (CreateAgenciesRequest) String added in v0.1.3

func (o CreateAgenciesRequest) String() string

type CreateAgenciesResponse added in v0.1.3

type CreateAgenciesResponse struct {

	// 服务委托授权记录。
	Agencies       *[]string `json:"agencies,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateAgenciesResponse) String added in v0.1.3

func (o CreateAgenciesResponse) String() string

type CreateChannelRequest

type CreateChannelRequest struct {
	Body *ChannelCreateReq `json:"body,omitempty"`
}

Request Object

func (CreateChannelRequest) String

func (o CreateChannelRequest) String() string

type CreateChannelResponse

type CreateChannelResponse struct {

	// 通道ID
	Id *string `json:"id,omitempty"`

	// 通道名称
	Name *string `json:"name,omitempty"`

	// 通道描述
	Description *string `json:"description,omitempty"`

	// 通道提供方类型,OFFICIAL:官方事件通道;CUSTOM:自定义事件通道
	ProviderType *CreateChannelResponseProviderType `json:"provider_type,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateChannelResponse) String

func (o CreateChannelResponse) String() string

type CreateChannelResponseProviderType

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

func (CreateChannelResponseProviderType) MarshalJSON

func (c CreateChannelResponseProviderType) MarshalJSON() ([]byte, error)

func (*CreateChannelResponseProviderType) UnmarshalJSON

func (c *CreateChannelResponseProviderType) UnmarshalJSON(b []byte) error

func (CreateChannelResponseProviderType) Value

type CreateChannelResponseProviderTypeEnum

type CreateChannelResponseProviderTypeEnum struct {
	OFFICIAL CreateChannelResponseProviderType
	CUSTOM   CreateChannelResponseProviderType
}

func GetCreateChannelResponseProviderTypeEnum

func GetCreateChannelResponseProviderTypeEnum() CreateChannelResponseProviderTypeEnum

type CreateConnectionRequest added in v0.1.3

type CreateConnectionRequest struct {
	Body *ConnectionCreateReq `json:"body,omitempty"`
}

Request Object

func (CreateConnectionRequest) String added in v0.1.3

func (o CreateConnectionRequest) String() string

type CreateConnectionResponse added in v0.1.3

type CreateConnectionResponse struct {

	// 事件源ID
	Id *string `json:"id,omitempty"`

	// 目标连接名称,租户下唯一,由小写字母、数字、点、下划线和中划线组成,必须以字母或数字开头,不能为default
	Name *string `json:"name,omitempty"`

	// 目标连接描述
	Description *string `json:"description,omitempty"`

	// 目标连接状态
	Status *CreateConnectionResponseStatus `json:"status,omitempty"`

	// 待连接的VPC ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 待连接的子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 私网目标连接使用的用户委托名称
	Agency *string `json:"agency,omitempty"`

	Flavor *ConnectionInfoFlavor `json:"flavor,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateConnectionResponse) String added in v0.1.3

func (o CreateConnectionResponse) String() string

type CreateConnectionResponseStatus added in v0.1.3

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

func (CreateConnectionResponseStatus) MarshalJSON added in v0.1.3

func (c CreateConnectionResponseStatus) MarshalJSON() ([]byte, error)

func (*CreateConnectionResponseStatus) UnmarshalJSON added in v0.1.3

func (c *CreateConnectionResponseStatus) UnmarshalJSON(b []byte) error

func (CreateConnectionResponseStatus) Value added in v0.1.3

type CreateConnectionResponseStatusEnum added in v0.1.3

type CreateConnectionResponseStatusEnum struct {
	CREATING      CreateConnectionResponseStatus
	CREATED       CreateConnectionResponseStatus
	CREATE_FAILED CreateConnectionResponseStatus
}

func GetCreateConnectionResponseStatusEnum added in v0.1.3

func GetCreateConnectionResponseStatusEnum() CreateConnectionResponseStatusEnum

type CreateEndpointRequest added in v0.1.3

type CreateEndpointRequest struct {
	Body *EndpointCreateReq `json:"body,omitempty"`
}

Request Object

func (CreateEndpointRequest) String added in v0.1.3

func (o CreateEndpointRequest) String() string

type CreateEndpointResponse added in v0.1.3

type CreateEndpointResponse struct {

	// 访问端点ID
	Id *string `json:"id,omitempty"`

	// 用户指定的访问端点名称
	Name *string `json:"name,omitempty"`

	// 访问端点所在的VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 访问端点所在的子网的ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 访问域名
	Domain *string `json:"domain,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 访问端点状态
	Status *CreateEndpointResponseStatus `json:"status,omitempty"`

	// 访问端点类型
	Type *CreateEndpointResponseType `json:"type,omitempty"`

	// 是否可更新
	Scalable *bool `json:"scalable,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 访问端点终端节点列表
	Endpoints *[]EndpointConnection `json:"endpoints,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEndpointResponse) String added in v0.1.3

func (o CreateEndpointResponse) String() string

type CreateEndpointResponseStatus added in v0.1.3

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

func (CreateEndpointResponseStatus) MarshalJSON added in v0.1.3

func (c CreateEndpointResponseStatus) MarshalJSON() ([]byte, error)

func (*CreateEndpointResponseStatus) UnmarshalJSON added in v0.1.3

func (c *CreateEndpointResponseStatus) UnmarshalJSON(b []byte) error

func (CreateEndpointResponseStatus) Value added in v0.1.3

type CreateEndpointResponseStatusEnum added in v0.1.3

type CreateEndpointResponseStatusEnum struct {
	CREATED       CreateEndpointResponseStatus
	CREATING      CreateEndpointResponseStatus
	CREATE_FAILED CreateEndpointResponseStatus
	DELETE_FAILED CreateEndpointResponseStatus
}

func GetCreateEndpointResponseStatusEnum added in v0.1.3

func GetCreateEndpointResponseStatusEnum() CreateEndpointResponseStatusEnum

type CreateEndpointResponseType added in v0.1.3

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

func (CreateEndpointResponseType) MarshalJSON added in v0.1.3

func (c CreateEndpointResponseType) MarshalJSON() ([]byte, error)

func (*CreateEndpointResponseType) UnmarshalJSON added in v0.1.3

func (c *CreateEndpointResponseType) UnmarshalJSON(b []byte) error

func (CreateEndpointResponseType) Value added in v0.1.3

type CreateEndpointResponseTypeEnum added in v0.1.3

type CreateEndpointResponseTypeEnum struct {
	PRIVATE CreateEndpointResponseType
	PUBLIC  CreateEndpointResponseType
}

func GetCreateEndpointResponseTypeEnum added in v0.1.3

func GetCreateEndpointResponseTypeEnum() CreateEndpointResponseTypeEnum

type CreateEventSchemaRequest added in v0.1.3

type CreateEventSchemaRequest struct {
	Body *CustomizeSchemaCreateReq `json:"body,omitempty"`
}

Request Object

func (CreateEventSchemaRequest) String added in v0.1.3

func (o CreateEventSchemaRequest) String() string

type CreateEventSchemaResponse added in v0.1.3

type CreateEventSchemaResponse struct {

	// 事件模型ID
	Id *string `json:"id,omitempty"`

	// 事件模型名称,租户下唯一
	Name *string `json:"name,omitempty"`

	// 事件模型描述
	Description *string `json:"description,omitempty"`

	// 事件模型兼容性
	Compatibility *CreateEventSchemaResponseCompatibility `json:"compatibility,omitempty"`

	// 提供方类型,OFFICIAL:官方事件源;CUSTOM:自定义事件源
	ProviderType *CreateEventSchemaResponseProviderType `json:"provider_type,omitempty"`

	// 事件模型格式
	Format *string `json:"format,omitempty"`

	// 事件模型版本数
	NumberOfVersions *int32 `json:"number_of_versions,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 事件示例
	DataSample *string `json:"data_sample,omitempty"`

	// 事件模型当前版本号
	Version *int32 `json:"version,omitempty"`

	// 事件模型内容定义
	Definition *string `json:"definition,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEventSchemaResponse) String added in v0.1.3

func (o CreateEventSchemaResponse) String() string

type CreateEventSchemaResponseCompatibility added in v0.1.3

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

func (CreateEventSchemaResponseCompatibility) MarshalJSON added in v0.1.3

func (c CreateEventSchemaResponseCompatibility) MarshalJSON() ([]byte, error)

func (*CreateEventSchemaResponseCompatibility) UnmarshalJSON added in v0.1.3

func (c *CreateEventSchemaResponseCompatibility) UnmarshalJSON(b []byte) error

func (CreateEventSchemaResponseCompatibility) Value added in v0.1.3

type CreateEventSchemaResponseCompatibilityEnum added in v0.1.3

func GetCreateEventSchemaResponseCompatibilityEnum added in v0.1.3

func GetCreateEventSchemaResponseCompatibilityEnum() CreateEventSchemaResponseCompatibilityEnum

type CreateEventSchemaResponseProviderType added in v0.1.3

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

func (CreateEventSchemaResponseProviderType) MarshalJSON added in v0.1.3

func (c CreateEventSchemaResponseProviderType) MarshalJSON() ([]byte, error)

func (*CreateEventSchemaResponseProviderType) UnmarshalJSON added in v0.1.3

func (c *CreateEventSchemaResponseProviderType) UnmarshalJSON(b []byte) error

func (CreateEventSchemaResponseProviderType) Value added in v0.1.3

type CreateEventSchemaResponseProviderTypeEnum added in v0.1.3

type CreateEventSchemaResponseProviderTypeEnum struct {
	OFFICIAL CreateEventSchemaResponseProviderType
	CUSTOM   CreateEventSchemaResponseProviderType
}

func GetCreateEventSchemaResponseProviderTypeEnum added in v0.1.3

func GetCreateEventSchemaResponseProviderTypeEnum() CreateEventSchemaResponseProviderTypeEnum

type CreateEventSchemaVersionRequest added in v0.1.3

type CreateEventSchemaVersionRequest struct {

	// 指定查询的事件模型ID
	SchemaId string `json:"schema_id"`

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

Request Object

func (CreateEventSchemaVersionRequest) String added in v0.1.3

type CreateEventSchemaVersionResponse added in v0.1.3

type CreateEventSchemaVersionResponse struct {

	// 事件模型版本ID
	Id *string `json:"id,omitempty"`

	// 事件模型ID
	SchemaId *string `json:"schema_id,omitempty"`

	// 事件模型版本号
	Version *int32 `json:"version,omitempty"`

	// 事件模型格式
	Format *string `json:"format,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 事件示例
	DataSample *string `json:"data_sample,omitempty"`

	// 事件模型内容定义
	Definition *string `json:"definition,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEventSchemaVersionResponse) String added in v0.1.3

type CreateEventSourceRequest

type CreateEventSourceRequest struct {
	Body *CustomizeSourceCreateReq `json:"body,omitempty"`
}

Request Object

func (CreateEventSourceRequest) String

func (o CreateEventSourceRequest) String() string

type CreateEventSourceResponse

type CreateEventSourceResponse struct {

	// 事件源ID
	Id *string `json:"id,omitempty"`

	// 事件源名称
	Name *string `json:"name,omitempty"`

	// 事件源名称展示
	Label *string `json:"label,omitempty"`

	// 事件源描述
	Description *string `json:"description,omitempty"`

	// 事件源提供方类型,OFFICIAL:官方云服务事件源;CUSTOM:用户创建的自定义事件源
	ProviderType *CreateEventSourceResponseProviderType `json:"provider_type,omitempty"`

	// 事件源提供的事件类型列表,只有官方云服务事件源提供事件类型
	EventTypes *[]CustomizeSourceInfoEventTypes `json:"event_types,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 事件源归属的事件通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 事件源归属的事件通道名称
	ChannelName *string `json:"channel_name,omitempty"`

	// 事件源类型
	Type *string `json:"type,omitempty"`

	// json格式封装消息实例链接信息:如RabbitMQ实例的instance_id字段、虚拟主机vhost字段、队列queue字段、用户名、密码等
	Detail *interface{} `json:"detail,omitempty"`

	// 自定义事件源状态
	Status *CreateEventSourceResponseStatus `json:"status,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEventSourceResponse) String

func (o CreateEventSourceResponse) String() string

type CreateEventSourceResponseProviderType

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

func (CreateEventSourceResponseProviderType) MarshalJSON

func (c CreateEventSourceResponseProviderType) MarshalJSON() ([]byte, error)

func (*CreateEventSourceResponseProviderType) UnmarshalJSON

func (c *CreateEventSourceResponseProviderType) UnmarshalJSON(b []byte) error

func (CreateEventSourceResponseProviderType) Value

type CreateEventSourceResponseProviderTypeEnum

type CreateEventSourceResponseProviderTypeEnum struct {
	OFFICIAL CreateEventSourceResponseProviderType
	CUSTOM   CreateEventSourceResponseProviderType
}

func GetCreateEventSourceResponseProviderTypeEnum

func GetCreateEventSourceResponseProviderTypeEnum() CreateEventSourceResponseProviderTypeEnum

type CreateEventSourceResponseStatus added in v0.1.3

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

func (CreateEventSourceResponseStatus) MarshalJSON added in v0.1.3

func (c CreateEventSourceResponseStatus) MarshalJSON() ([]byte, error)

func (*CreateEventSourceResponseStatus) UnmarshalJSON added in v0.1.3

func (c *CreateEventSourceResponseStatus) UnmarshalJSON(b []byte) error

func (CreateEventSourceResponseStatus) Value added in v0.1.3

type CreateEventSourceResponseStatusEnum added in v0.1.3

type CreateEventSourceResponseStatusEnum struct {
	CREATE_FAILED CreateEventSourceResponseStatus
	RUNNING       CreateEventSourceResponseStatus
	ERROR         CreateEventSourceResponseStatus
}

func GetCreateEventSourceResponseStatusEnum added in v0.1.3

func GetCreateEventSourceResponseStatusEnum() CreateEventSourceResponseStatusEnum

type CreateSubscriptionRequest

type CreateSubscriptionRequest struct {
	Body *SubscriptionCreateReq `json:"body,omitempty"`
}

Request Object

func (CreateSubscriptionRequest) String

func (o CreateSubscriptionRequest) String() string

type CreateSubscriptionResponse

type CreateSubscriptionResponse struct {

	// 订阅ID
	Id *string `json:"id,omitempty"`

	// 订阅名称
	Name *string `json:"name,omitempty"`

	// 订阅描述
	Description *string `json:"description,omitempty"`

	// 类型
	Type *CreateSubscriptionResponseType `json:"type,omitempty"`

	// 状态
	Status *CreateSubscriptionResponseStatus `json:"status,omitempty"`

	// 通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 通道名称
	ChannelName *string `json:"channel_name,omitempty"`

	// 订阅源列表
	Sources *[]SubscriptionSourceInfo `json:"sources,omitempty"`

	// 订阅目标列表
	Targets *[]SubscriptionTargetInfo `json:"targets,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateSubscriptionResponse) String

type CreateSubscriptionResponseStatus

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

func (CreateSubscriptionResponseStatus) MarshalJSON

func (c CreateSubscriptionResponseStatus) MarshalJSON() ([]byte, error)

func (*CreateSubscriptionResponseStatus) UnmarshalJSON

func (c *CreateSubscriptionResponseStatus) UnmarshalJSON(b []byte) error

func (CreateSubscriptionResponseStatus) Value

type CreateSubscriptionResponseType

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

func (CreateSubscriptionResponseType) MarshalJSON

func (c CreateSubscriptionResponseType) MarshalJSON() ([]byte, error)

func (*CreateSubscriptionResponseType) UnmarshalJSON

func (c *CreateSubscriptionResponseType) UnmarshalJSON(b []byte) error

func (CreateSubscriptionResponseType) Value

type CreateSubscriptionResponseTypeEnum

type CreateSubscriptionResponseTypeEnum struct {
	EVENT     CreateSubscriptionResponseType
	SCHEDULED CreateSubscriptionResponseType
}

func GetCreateSubscriptionResponseTypeEnum

func GetCreateSubscriptionResponseTypeEnum() CreateSubscriptionResponseTypeEnum

type CreateSubscriptionTargetRequest

type CreateSubscriptionTargetRequest struct {

	// 事件订阅ID
	SubscriptionId string `json:"subscription_id"`

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

Request Object

func (CreateSubscriptionTargetRequest) String

type CreateSubscriptionTargetResponse

type CreateSubscriptionTargetResponse struct {

	// 订阅目标ID
	Id *string `json:"id,omitempty"`

	// 订阅的事件目标名称
	Name *string `json:"name,omitempty"`

	// 订阅的事件目标的提供方类型
	ProviderType *string `json:"provider_type,omitempty"`

	// 订阅的事件目标使用的目标链接ID
	ConnectionId *string `json:"connection_id,omitempty"`

	// 订阅的事件目标参数列表
	Detail *interface{} `json:"detail,omitempty"`

	Transform *SubscriptionTargetInfoTransform `json:"transform,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateSubscriptionTargetResponse) String

type CustomizeSchemaCreateReq added in v0.1.3

type CustomizeSchemaCreateReq struct {

	// 事件模型名称,租户下唯一,由字母、数字、点、下划线和中划线组成,必须字母或数字开头
	Name string `json:"name"`

	// 事件模型描述
	Description *string `json:"description,omitempty"`

	// 事件模型兼容性
	Compatibility CustomizeSchemaCreateReqCompatibility `json:"compatibility"`

	// schema内容格式
	Format *CustomizeSchemaCreateReqFormat `json:"format,omitempty"`

	// 事件示例
	DataSample *string `json:"data_sample,omitempty"`

	// 事件模型内容定义
	Definition string `json:"definition"`
}

func (CustomizeSchemaCreateReq) String added in v0.1.3

func (o CustomizeSchemaCreateReq) String() string

type CustomizeSchemaCreateReqCompatibility added in v0.1.3

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

func (CustomizeSchemaCreateReqCompatibility) MarshalJSON added in v0.1.3

func (c CustomizeSchemaCreateReqCompatibility) MarshalJSON() ([]byte, error)

func (*CustomizeSchemaCreateReqCompatibility) UnmarshalJSON added in v0.1.3

func (c *CustomizeSchemaCreateReqCompatibility) UnmarshalJSON(b []byte) error

func (CustomizeSchemaCreateReqCompatibility) Value added in v0.1.3

type CustomizeSchemaCreateReqCompatibilityEnum added in v0.1.3

func GetCustomizeSchemaCreateReqCompatibilityEnum added in v0.1.3

func GetCustomizeSchemaCreateReqCompatibilityEnum() CustomizeSchemaCreateReqCompatibilityEnum

type CustomizeSchemaCreateReqFormat added in v0.1.3

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

func (CustomizeSchemaCreateReqFormat) MarshalJSON added in v0.1.3

func (c CustomizeSchemaCreateReqFormat) MarshalJSON() ([]byte, error)

func (*CustomizeSchemaCreateReqFormat) UnmarshalJSON added in v0.1.3

func (c *CustomizeSchemaCreateReqFormat) UnmarshalJSON(b []byte) error

func (CustomizeSchemaCreateReqFormat) Value added in v0.1.3

type CustomizeSchemaCreateReqFormatEnum added in v0.1.3

type CustomizeSchemaCreateReqFormatEnum struct {
	JSON_SCHEMA_DRAFT_6 CustomizeSchemaCreateReqFormat
}

func GetCustomizeSchemaCreateReqFormatEnum added in v0.1.3

func GetCustomizeSchemaCreateReqFormatEnum() CustomizeSchemaCreateReqFormatEnum

type CustomizeSchemaItemInfo added in v0.1.3

type CustomizeSchemaItemInfo struct {

	// 事件模型ID
	Id *string `json:"id,omitempty"`

	// 事件模型名称,租户下唯一
	Name *string `json:"name,omitempty"`

	// 事件模型描述
	Description *string `json:"description,omitempty"`

	// 事件模型兼容性
	Compatibility *CustomizeSchemaItemInfoCompatibility `json:"compatibility,omitempty"`

	// 提供方类型,OFFICIAL:官方事件源;CUSTOM:自定义事件源
	ProviderType *CustomizeSchemaItemInfoProviderType `json:"provider_type,omitempty"`

	// 事件模型格式
	Format *string `json:"format,omitempty"`

	// 事件模型版本数
	NumberOfVersions *int32 `json:"number_of_versions,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
}

func (CustomizeSchemaItemInfo) String added in v0.1.3

func (o CustomizeSchemaItemInfo) String() string

type CustomizeSchemaItemInfoCompatibility added in v0.1.3

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

func (CustomizeSchemaItemInfoCompatibility) MarshalJSON added in v0.1.3

func (c CustomizeSchemaItemInfoCompatibility) MarshalJSON() ([]byte, error)

func (*CustomizeSchemaItemInfoCompatibility) UnmarshalJSON added in v0.1.3

func (c *CustomizeSchemaItemInfoCompatibility) UnmarshalJSON(b []byte) error

func (CustomizeSchemaItemInfoCompatibility) Value added in v0.1.3

type CustomizeSchemaItemInfoCompatibilityEnum added in v0.1.3

func GetCustomizeSchemaItemInfoCompatibilityEnum added in v0.1.3

func GetCustomizeSchemaItemInfoCompatibilityEnum() CustomizeSchemaItemInfoCompatibilityEnum

type CustomizeSchemaItemInfoProviderType added in v0.1.3

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

func (CustomizeSchemaItemInfoProviderType) MarshalJSON added in v0.1.3

func (c CustomizeSchemaItemInfoProviderType) MarshalJSON() ([]byte, error)

func (*CustomizeSchemaItemInfoProviderType) UnmarshalJSON added in v0.1.3

func (c *CustomizeSchemaItemInfoProviderType) UnmarshalJSON(b []byte) error

func (CustomizeSchemaItemInfoProviderType) Value added in v0.1.3

type CustomizeSchemaItemInfoProviderTypeEnum added in v0.1.3

type CustomizeSchemaItemInfoProviderTypeEnum struct {
	OFFICIAL CustomizeSchemaItemInfoProviderType
	CUSTOM   CustomizeSchemaItemInfoProviderType
}

func GetCustomizeSchemaItemInfoProviderTypeEnum added in v0.1.3

func GetCustomizeSchemaItemInfoProviderTypeEnum() CustomizeSchemaItemInfoProviderTypeEnum

type CustomizeSchemaUpdateReq added in v0.1.3

type CustomizeSchemaUpdateReq struct {

	// 事件模型描述
	Description *string `json:"description,omitempty"`

	// 事件模型兼容性
	Compatibility *CustomizeSchemaUpdateReqCompatibility `json:"compatibility,omitempty"`
}

func (CustomizeSchemaUpdateReq) String added in v0.1.3

func (o CustomizeSchemaUpdateReq) String() string

type CustomizeSchemaUpdateReqCompatibility added in v0.1.3

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

func (CustomizeSchemaUpdateReqCompatibility) MarshalJSON added in v0.1.3

func (c CustomizeSchemaUpdateReqCompatibility) MarshalJSON() ([]byte, error)

func (*CustomizeSchemaUpdateReqCompatibility) UnmarshalJSON added in v0.1.3

func (c *CustomizeSchemaUpdateReqCompatibility) UnmarshalJSON(b []byte) error

func (CustomizeSchemaUpdateReqCompatibility) Value added in v0.1.3

type CustomizeSchemaUpdateReqCompatibilityEnum added in v0.1.3

func GetCustomizeSchemaUpdateReqCompatibilityEnum added in v0.1.3

func GetCustomizeSchemaUpdateReqCompatibilityEnum() CustomizeSchemaUpdateReqCompatibilityEnum

type CustomizeSchemaVersionCreateReq added in v0.1.3

type CustomizeSchemaVersionCreateReq struct {

	// 事件示例
	DataSample *string `json:"data_sample,omitempty"`

	// 事件模型内容定义
	Definition *string `json:"definition,omitempty"`
}

func (CustomizeSchemaVersionCreateReq) String added in v0.1.3

type CustomizeSchemaVersionItemInfo added in v0.1.3

type CustomizeSchemaVersionItemInfo struct {

	// 事件模型版本ID
	Id *string `json:"id,omitempty"`

	// 事件模型版本号
	Version *int32 `json:"version,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
}

func (CustomizeSchemaVersionItemInfo) String added in v0.1.3

type CustomizeSourceCreateReq

type CustomizeSourceCreateReq struct {

	// 自定义事件源名称,租户下唯一,由小写字母、数字、点、下划线和中划线组成,必须以字母或数字开头,且不能以hc.开头
	Name string `json:"name"`

	// 事件源描述
	Description *string `json:"description,omitempty"`

	// 指导事件源归属的事件通道ID
	ChannelId string `json:"channel_id"`

	// 事件源类型
	Type *CustomizeSourceCreateReqType `json:"type,omitempty"`

	// json格式封装消息实例链接信息:如RabbitMQ实例的instance_id字段、虚拟主机vhost字段、队列queue字段、用户名、密码等
	Detail *interface{} `json:"detail,omitempty"`
}

func (CustomizeSourceCreateReq) String

func (o CustomizeSourceCreateReq) String() string

type CustomizeSourceCreateReqType added in v0.1.3

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

func (CustomizeSourceCreateReqType) MarshalJSON added in v0.1.3

func (c CustomizeSourceCreateReqType) MarshalJSON() ([]byte, error)

func (*CustomizeSourceCreateReqType) UnmarshalJSON added in v0.1.3

func (c *CustomizeSourceCreateReqType) UnmarshalJSON(b []byte) error

func (CustomizeSourceCreateReqType) Value added in v0.1.3

type CustomizeSourceCreateReqTypeEnum added in v0.1.3

type CustomizeSourceCreateReqTypeEnum struct {
	APPLICATION CustomizeSourceCreateReqType
	RABBITMQ    CustomizeSourceCreateReqType
}

func GetCustomizeSourceCreateReqTypeEnum added in v0.1.3

func GetCustomizeSourceCreateReqTypeEnum() CustomizeSourceCreateReqTypeEnum

type CustomizeSourceInfo added in v0.1.3

type CustomizeSourceInfo struct {

	// 事件源ID
	Id *string `json:"id,omitempty"`

	// 事件源名称
	Name *string `json:"name,omitempty"`

	// 事件源名称展示
	Label *string `json:"label,omitempty"`

	// 事件源描述
	Description *string `json:"description,omitempty"`

	// 事件源提供方类型,OFFICIAL:官方云服务事件源;CUSTOM:用户创建的自定义事件源
	ProviderType *CustomizeSourceInfoProviderType `json:"provider_type,omitempty"`

	// 事件源提供的事件类型列表,只有官方云服务事件源提供事件类型
	EventTypes *[]CustomizeSourceInfoEventTypes `json:"event_types,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 事件源归属的事件通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 事件源归属的事件通道名称
	ChannelName *string `json:"channel_name,omitempty"`

	// 事件源类型
	Type *string `json:"type,omitempty"`

	// json格式封装消息实例链接信息:如RabbitMQ实例的instance_id字段、虚拟主机vhost字段、队列queue字段、用户名、密码等
	Detail *interface{} `json:"detail,omitempty"`

	// 自定义事件源状态
	Status *CustomizeSourceInfoStatus `json:"status,omitempty"`
}

func (CustomizeSourceInfo) String added in v0.1.3

func (o CustomizeSourceInfo) String() string

type CustomizeSourceInfoEventTypes added in v0.1.3

type CustomizeSourceInfoEventTypes struct {

	// 事件类型名称
	Name *string `json:"name,omitempty"`

	// 事件类型描述
	Description *string `json:"description,omitempty"`
}

func (CustomizeSourceInfoEventTypes) String added in v0.1.3

type CustomizeSourceInfoProviderType added in v0.1.3

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

func (CustomizeSourceInfoProviderType) MarshalJSON added in v0.1.3

func (c CustomizeSourceInfoProviderType) MarshalJSON() ([]byte, error)

func (*CustomizeSourceInfoProviderType) UnmarshalJSON added in v0.1.3

func (c *CustomizeSourceInfoProviderType) UnmarshalJSON(b []byte) error

func (CustomizeSourceInfoProviderType) Value added in v0.1.3

type CustomizeSourceInfoProviderTypeEnum added in v0.1.3

type CustomizeSourceInfoProviderTypeEnum struct {
	OFFICIAL CustomizeSourceInfoProviderType
	CUSTOM   CustomizeSourceInfoProviderType
}

func GetCustomizeSourceInfoProviderTypeEnum added in v0.1.3

func GetCustomizeSourceInfoProviderTypeEnum() CustomizeSourceInfoProviderTypeEnum

type CustomizeSourceInfoStatus added in v0.1.3

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

func (CustomizeSourceInfoStatus) MarshalJSON added in v0.1.3

func (c CustomizeSourceInfoStatus) MarshalJSON() ([]byte, error)

func (*CustomizeSourceInfoStatus) UnmarshalJSON added in v0.1.3

func (c *CustomizeSourceInfoStatus) UnmarshalJSON(b []byte) error

func (CustomizeSourceInfoStatus) Value added in v0.1.3

type CustomizeSourceInfoStatusEnum added in v0.1.3

type CustomizeSourceInfoStatusEnum struct {
	CREATE_FAILED CustomizeSourceInfoStatus
	RUNNING       CustomizeSourceInfoStatus
	ERROR         CustomizeSourceInfoStatus
}

func GetCustomizeSourceInfoStatusEnum added in v0.1.3

func GetCustomizeSourceInfoStatusEnum() CustomizeSourceInfoStatusEnum

type CustomizeSourceUpdateReq

type CustomizeSourceUpdateReq struct {

	// 事件源描述
	Description *string `json:"description,omitempty"`

	// json格式封装消息实例更新信息:如RabbitMQ实例的虚拟主机vhost字段、队列queue字段、用户密码
	Detail *interface{} `json:"detail,omitempty"`
}

func (CustomizeSourceUpdateReq) String

func (o CustomizeSourceUpdateReq) String() string

type DeleteChannelRequest

type DeleteChannelRequest struct {

	// 指定查询的事件通道ID
	ChannelId string `json:"channel_id"`
}

Request Object

func (DeleteChannelRequest) String

func (o DeleteChannelRequest) String() string

type DeleteChannelResponse

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

Response Object

func (DeleteChannelResponse) String

func (o DeleteChannelResponse) String() string

type DeleteConnectionRequest added in v0.1.3

type DeleteConnectionRequest struct {

	// 指定查询的目标连接ID
	ConnectionId string `json:"connection_id"`
}

Request Object

func (DeleteConnectionRequest) String added in v0.1.3

func (o DeleteConnectionRequest) String() string

type DeleteConnectionResponse added in v0.1.3

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

Response Object

func (DeleteConnectionResponse) String added in v0.1.3

func (o DeleteConnectionResponse) String() string

type DeleteEndpointRequest added in v0.1.3

type DeleteEndpointRequest struct {

	// 指定查询访问端点的id
	EndpointId string `json:"endpoint_id"`
}

Request Object

func (DeleteEndpointRequest) String added in v0.1.3

func (o DeleteEndpointRequest) String() string

type DeleteEndpointResponse added in v0.1.3

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

Response Object

func (DeleteEndpointResponse) String added in v0.1.3

func (o DeleteEndpointResponse) String() string

type DeleteEventSchemaRequest added in v0.1.3

type DeleteEventSchemaRequest struct {

	// 指定查询的事件模型ID
	SchemaId string `json:"schema_id"`
}

Request Object

func (DeleteEventSchemaRequest) String added in v0.1.3

func (o DeleteEventSchemaRequest) String() string

type DeleteEventSchemaResponse added in v0.1.3

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

Response Object

func (DeleteEventSchemaResponse) String added in v0.1.3

func (o DeleteEventSchemaResponse) String() string

type DeleteEventSchemaVersionRequest added in v0.1.3

type DeleteEventSchemaVersionRequest struct {

	// 指定查询的事件模型ID
	SchemaId string `json:"schema_id"`

	// 指定查询的事件模型版本号
	Version int32 `json:"version"`
}

Request Object

func (DeleteEventSchemaVersionRequest) String added in v0.1.3

type DeleteEventSchemaVersionResponse added in v0.1.3

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

Response Object

func (DeleteEventSchemaVersionResponse) String added in v0.1.3

type DeleteEventSourceRequest

type DeleteEventSourceRequest struct {

	// 指定查询的事件源ID
	SourceId string `json:"source_id"`
}

Request Object

func (DeleteEventSourceRequest) String

func (o DeleteEventSourceRequest) String() string

type DeleteEventSourceResponse

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

Response Object

func (DeleteEventSourceResponse) String

func (o DeleteEventSourceResponse) String() string

type DeleteSubscriptionRequest

type DeleteSubscriptionRequest struct {

	// 事件订阅ID
	SubscriptionId string `json:"subscription_id"`
}

Request Object

func (DeleteSubscriptionRequest) String

func (o DeleteSubscriptionRequest) String() string

type DeleteSubscriptionResponse

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

Response Object

func (DeleteSubscriptionResponse) String

type DeleteSubscriptionTargetRequest

type DeleteSubscriptionTargetRequest struct {

	// 事件订阅ID
	SubscriptionId string `json:"subscription_id"`

	// 事件订阅目标ID
	TargetId string `json:"target_id"`
}

Request Object

func (DeleteSubscriptionTargetRequest) String

type DeleteSubscriptionTargetResponse

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

Response Object

func (DeleteSubscriptionTargetResponse) String

type DiscoverEventSchemaFromDataReq added in v0.1.3

type DiscoverEventSchemaFromDataReq struct {

	// 事件模型格式类型
	Format *DiscoverEventSchemaFromDataReqFormat `json:"format,omitempty"`

	// 事件数据内容
	Event string `json:"event"`
}

通过事件数据发现事件模型的请求

func (DiscoverEventSchemaFromDataReq) String added in v0.1.3

type DiscoverEventSchemaFromDataReqFormat added in v0.1.3

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

func (DiscoverEventSchemaFromDataReqFormat) MarshalJSON added in v0.1.3

func (c DiscoverEventSchemaFromDataReqFormat) MarshalJSON() ([]byte, error)

func (*DiscoverEventSchemaFromDataReqFormat) UnmarshalJSON added in v0.1.3

func (c *DiscoverEventSchemaFromDataReqFormat) UnmarshalJSON(b []byte) error

func (DiscoverEventSchemaFromDataReqFormat) Value added in v0.1.3

type DiscoverEventSchemaFromDataReqFormatEnum added in v0.1.3

type DiscoverEventSchemaFromDataReqFormatEnum struct {
	JSON_SCHEMA_DRAFT_6 DiscoverEventSchemaFromDataReqFormat
}

func GetDiscoverEventSchemaFromDataReqFormatEnum added in v0.1.3

func GetDiscoverEventSchemaFromDataReqFormatEnum() DiscoverEventSchemaFromDataReqFormatEnum

type DiscoverEventSchemaFromDataRequest added in v0.1.3

type DiscoverEventSchemaFromDataRequest struct {
	Body *DiscoverEventSchemaFromDataReq `json:"body,omitempty"`
}

Request Object

func (DiscoverEventSchemaFromDataRequest) String added in v0.1.3

type DiscoverEventSchemaFromDataResponse added in v0.1.3

type DiscoverEventSchemaFromDataResponse struct {

	// 自动发现后的模型
	Definition *string `json:"definition,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DiscoverEventSchemaFromDataResponse) String added in v0.1.3

type EndpointConnection added in v0.1.3

type EndpointConnection struct {

	// 访问端点的服务ID
	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	// 访问端点的服务名称
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 访问端点的终端节点的报文ID
	MarkerId *string `json:"marker_id,omitempty"`

	// 访问端点的终端节点ID
	Id *string `json:"id,omitempty"`

	// 访问端点的终端节点IP
	Ip *string `json:"ip,omitempty"`

	// 访问端点的终端节点创建时间
	CreatedTime *string `json:"created_time,omitempty"`
}

func (EndpointConnection) String added in v0.1.3

func (o EndpointConnection) String() string

type EndpointCreateReq added in v0.1.3

type EndpointCreateReq struct {

	// endpoint名称,租户下唯一,由字母、数字、点、下划线和中划线组成,必须以字母或数字开头
	Name string `json:"name"`

	// 访问端点所在的VPC的ID
	VpcId string `json:"vpc_id"`

	// 访问端点所在的子网的ID
	SubnetId string `json:"subnet_id"`

	// 描述
	Description *string `json:"description,omitempty"`
}

func (EndpointCreateReq) String added in v0.1.3

func (o EndpointCreateReq) String() string

type EndpointInfo added in v0.1.3

type EndpointInfo struct {

	// 访问端点ID
	Id *string `json:"id,omitempty"`

	// 用户指定的访问端点名称
	Name *string `json:"name,omitempty"`

	// 访问端点所在的VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 访问端点所在的子网的ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 访问域名
	Domain *string `json:"domain,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 访问端点状态
	Status *EndpointInfoStatus `json:"status,omitempty"`

	// 访问端点类型
	Type *EndpointInfoType `json:"type,omitempty"`

	// 是否可更新
	Scalable *bool `json:"scalable,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 访问端点终端节点列表
	Endpoints *[]EndpointConnection `json:"endpoints,omitempty"`
}

func (EndpointInfo) String added in v0.1.3

func (o EndpointInfo) String() string

type EndpointInfoStatus added in v0.1.3

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

func (EndpointInfoStatus) MarshalJSON added in v0.1.3

func (c EndpointInfoStatus) MarshalJSON() ([]byte, error)

func (*EndpointInfoStatus) UnmarshalJSON added in v0.1.3

func (c *EndpointInfoStatus) UnmarshalJSON(b []byte) error

func (EndpointInfoStatus) Value added in v0.1.3

func (c EndpointInfoStatus) Value() string

type EndpointInfoStatusEnum added in v0.1.3

type EndpointInfoStatusEnum struct {
	CREATED       EndpointInfoStatus
	CREATING      EndpointInfoStatus
	CREATE_FAILED EndpointInfoStatus
	DELETE_FAILED EndpointInfoStatus
}

func GetEndpointInfoStatusEnum added in v0.1.3

func GetEndpointInfoStatusEnum() EndpointInfoStatusEnum

type EndpointInfoType added in v0.1.3

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

func (EndpointInfoType) MarshalJSON added in v0.1.3

func (c EndpointInfoType) MarshalJSON() ([]byte, error)

func (*EndpointInfoType) UnmarshalJSON added in v0.1.3

func (c *EndpointInfoType) UnmarshalJSON(b []byte) error

func (EndpointInfoType) Value added in v0.1.3

func (c EndpointInfoType) Value() string

type EndpointInfoTypeEnum added in v0.1.3

type EndpointInfoTypeEnum struct {
	PRIVATE EndpointInfoType
	PUBLIC  EndpointInfoType
}

func GetEndpointInfoTypeEnum added in v0.1.3

func GetEndpointInfoTypeEnum() EndpointInfoTypeEnum

type EndpointUpdateReq added in v0.1.3

type EndpointUpdateReq struct {

	// 描述
	Description *string `json:"description,omitempty"`
}

func (EndpointUpdateReq) String added in v0.1.3

func (o EndpointUpdateReq) String() string

type ListAgenciesRequest added in v0.1.3

type ListAgenciesRequest struct {

	// 服务委托授权场景类型
	Type ListAgenciesRequestType `json:"type"`
}

Request Object

func (ListAgenciesRequest) String added in v0.1.3

func (o ListAgenciesRequest) String() string

type ListAgenciesRequestType added in v0.1.3

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

func (ListAgenciesRequestType) MarshalJSON added in v0.1.3

func (c ListAgenciesRequestType) MarshalJSON() ([]byte, error)

func (*ListAgenciesRequestType) UnmarshalJSON added in v0.1.3

func (c *ListAgenciesRequestType) UnmarshalJSON(b []byte) error

func (ListAgenciesRequestType) Value added in v0.1.3

func (c ListAgenciesRequestType) Value() string

type ListAgenciesRequestTypeEnum added in v0.1.3

type ListAgenciesRequestTypeEnum struct {
	TARGET_CONNECTION      ListAgenciesRequestType
	CUSTOM_SOURCE_RABBITMQ ListAgenciesRequestType
}

func GetListAgenciesRequestTypeEnum added in v0.1.3

func GetListAgenciesRequestTypeEnum() ListAgenciesRequestTypeEnum

type ListAgenciesResponse added in v0.1.3

type ListAgenciesResponse struct {

	// 服务委托授权记录。
	Agencies       *[]string `json:"agencies,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListAgenciesResponse) String added in v0.1.3

func (o ListAgenciesResponse) String() string

type ListApiVersionsRequest added in v0.1.3

type ListApiVersionsRequest struct {
}

Request Object

func (ListApiVersionsRequest) String added in v0.1.3

func (o ListApiVersionsRequest) String() string

type ListApiVersionsResponse added in v0.1.3

type ListApiVersionsResponse struct {

	// 版本定义
	Versions       *[]ApiVersionsVersions `json:"versions,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListApiVersionsResponse) String added in v0.1.3

func (o ListApiVersionsResponse) String() string

type ListChannelsRequest

type ListChannelsRequest struct {

	// 偏移量,表示从此偏移量开始查询,偏移量不能小于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,不能小于0
	Limit *int32 `json:"limit,omitempty"`

	// 指定查询排序
	Sort *string `json:"sort,omitempty"`

	// 指定查询提供方的类型
	ProviderType *ListChannelsRequestProviderType `json:"provider_type,omitempty"`

	// 指定查询的事件通道名称,精准匹配
	Name *string `json:"name,omitempty"`

	// 指定查询的事件通道名称,模糊匹配
	FuzzyName *string `json:"fuzzy_name,omitempty"`
}

Request Object

func (ListChannelsRequest) String

func (o ListChannelsRequest) String() string

type ListChannelsRequestProviderType

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

func (ListChannelsRequestProviderType) MarshalJSON

func (c ListChannelsRequestProviderType) MarshalJSON() ([]byte, error)

func (*ListChannelsRequestProviderType) UnmarshalJSON

func (c *ListChannelsRequestProviderType) UnmarshalJSON(b []byte) error

func (ListChannelsRequestProviderType) Value

type ListChannelsRequestProviderTypeEnum

type ListChannelsRequestProviderTypeEnum struct {
	OFFICIAL ListChannelsRequestProviderType
	CUSTOM   ListChannelsRequestProviderType
}

func GetListChannelsRequestProviderTypeEnum

func GetListChannelsRequestProviderTypeEnum() ListChannelsRequestProviderTypeEnum

type ListChannelsResponse

type ListChannelsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本页数量
	Size *int32 `json:"size,omitempty"`

	// 对象列表
	Items          *[]ChannelInfo `json:"items,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListChannelsResponse) String

func (o ListChannelsResponse) String() string

type ListConnectionsRequest added in v0.1.3

type ListConnectionsRequest struct {

	// 偏移量,表示从此偏移量开始查询,偏移量不能小于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,不能小于0
	Limit *int32 `json:"limit,omitempty"`

	// 指定查询排序
	Sort *string `json:"sort,omitempty"`

	// 指定查询的目标连接名称,精准匹配
	Name *string `json:"name,omitempty"`

	// 指定查询的目标连接名称,模糊匹配
	FuzzyName *string `json:"fuzzy_name,omitempty"`
}

Request Object

func (ListConnectionsRequest) String added in v0.1.3

func (o ListConnectionsRequest) String() string

type ListConnectionsResponse added in v0.1.3

type ListConnectionsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本页数量
	Size *int32 `json:"size,omitempty"`

	// 对象列表
	Items          *[]ConnectionInfo `json:"items,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListConnectionsResponse) String added in v0.1.3

func (o ListConnectionsResponse) String() string

type ListEndpointsRequest added in v0.1.3

type ListEndpointsRequest struct {

	// 偏移量,表示从此偏移量开始查询,偏移量不能小于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,不能小于0
	Limit *int32 `json:"limit,omitempty"`

	// 指定查询排序
	Sort *string `json:"sort,omitempty"`

	// 指定查询访问端点的类型
	Type *ListEndpointsRequestType `json:"type,omitempty"`

	// 指定查询访问端点的名称
	Name *string `json:"name,omitempty"`

	// 指定查询访问端点的vpcId
	VpcId *string `json:"vpc_id,omitempty"`

	// 指定查询访问端点的名称,模糊查询
	FuzzyName *string `json:"fuzzy_name,omitempty"`
}

Request Object

func (ListEndpointsRequest) String added in v0.1.3

func (o ListEndpointsRequest) String() string

type ListEndpointsRequestType added in v0.1.3

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

func (ListEndpointsRequestType) MarshalJSON added in v0.1.3

func (c ListEndpointsRequestType) MarshalJSON() ([]byte, error)

func (*ListEndpointsRequestType) UnmarshalJSON added in v0.1.3

func (c *ListEndpointsRequestType) UnmarshalJSON(b []byte) error

func (ListEndpointsRequestType) Value added in v0.1.3

func (c ListEndpointsRequestType) Value() string

type ListEndpointsRequestTypeEnum added in v0.1.3

type ListEndpointsRequestTypeEnum struct {
	PRIVATE ListEndpointsRequestType
	PUBLIC  ListEndpointsRequestType
}

func GetListEndpointsRequestTypeEnum added in v0.1.3

func GetListEndpointsRequestTypeEnum() ListEndpointsRequestTypeEnum

type ListEndpointsResponse added in v0.1.3

type ListEndpointsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本页数量
	Size *int32 `json:"size,omitempty"`

	// 对象列表
	Items *[]EndpointInfo `json:"items,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListEndpointsResponse) String added in v0.1.3

func (o ListEndpointsResponse) String() string

type ListEventSchemaRequest added in v0.1.3

type ListEventSchemaRequest struct {

	// 偏移量,表示从此偏移量开始查询,偏移量不能小于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,不能小于0
	Limit *int32 `json:"limit,omitempty"`

	// 指定查询排序
	Sort *string `json:"sort,omitempty"`

	// 指定查询提供方的类型
	ProviderType *ListEventSchemaRequestProviderType `json:"provider_type,omitempty"`

	// 指定查询的事件模型名称,精准匹配
	Name *string `json:"name,omitempty"`

	// 指定查询的事件模型名称,模糊匹配
	FuzzyName *string `json:"fuzzy_name,omitempty"`
}

Request Object

func (ListEventSchemaRequest) String added in v0.1.3

func (o ListEventSchemaRequest) String() string

type ListEventSchemaRequestProviderType added in v0.1.3

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

func (ListEventSchemaRequestProviderType) MarshalJSON added in v0.1.3

func (c ListEventSchemaRequestProviderType) MarshalJSON() ([]byte, error)

func (*ListEventSchemaRequestProviderType) UnmarshalJSON added in v0.1.3

func (c *ListEventSchemaRequestProviderType) UnmarshalJSON(b []byte) error

func (ListEventSchemaRequestProviderType) Value added in v0.1.3

type ListEventSchemaRequestProviderTypeEnum added in v0.1.3

type ListEventSchemaRequestProviderTypeEnum struct {
	OFFICIAL ListEventSchemaRequestProviderType
	CUSTOM   ListEventSchemaRequestProviderType
}

func GetListEventSchemaRequestProviderTypeEnum added in v0.1.3

func GetListEventSchemaRequestProviderTypeEnum() ListEventSchemaRequestProviderTypeEnum

type ListEventSchemaResponse added in v0.1.3

type ListEventSchemaResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本页数量
	Size *int32 `json:"size,omitempty"`

	// 对象列表
	Items          *[]CustomizeSchemaItemInfo `json:"items,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

Response Object

func (ListEventSchemaResponse) String added in v0.1.3

func (o ListEventSchemaResponse) String() string

type ListEventSchemaVersionsRequest added in v0.1.3

type ListEventSchemaVersionsRequest struct {

	// 指定查询的事件模型ID
	SchemaId string `json:"schema_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量不能小于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,不能小于0
	Limit *int32 `json:"limit,omitempty"`

	// 指定查询排序
	Sort *string `json:"sort,omitempty"`
}

Request Object

func (ListEventSchemaVersionsRequest) String added in v0.1.3

type ListEventSchemaVersionsResponse added in v0.1.3

type ListEventSchemaVersionsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本页数量
	Size *int32 `json:"size,omitempty"`

	// 对象列表
	Items          *[]CustomizeSchemaVersionItemInfo `json:"items,omitempty"`
	HttpStatusCode int                               `json:"-"`
}

Response Object

func (ListEventSchemaVersionsResponse) String added in v0.1.3

type ListEventSourcesRequest

type ListEventSourcesRequest struct {

	// 指定查询的事件通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 偏移量,表示从此偏移量开始查询,偏移量不能小于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,不能小于0
	Limit *int32 `json:"limit,omitempty"`

	// 指定查询排序
	Sort *string `json:"sort,omitempty"`

	// 指定查询提供方的类型
	ProviderType *ListEventSourcesRequestProviderType `json:"provider_type,omitempty"`

	// 指定查询的事件源名称,精准匹配
	Name *string `json:"name,omitempty"`

	// 指定查询的事件源名称,模糊匹配
	FuzzyName *string `json:"fuzzy_name,omitempty"`

	// 指定查询的事件源标签,模糊匹配
	FuzzyLabel *string `json:"fuzzy_label,omitempty"`
}

Request Object

func (ListEventSourcesRequest) String

func (o ListEventSourcesRequest) String() string

type ListEventSourcesRequestProviderType

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

func (ListEventSourcesRequestProviderType) MarshalJSON

func (c ListEventSourcesRequestProviderType) MarshalJSON() ([]byte, error)

func (*ListEventSourcesRequestProviderType) UnmarshalJSON

func (c *ListEventSourcesRequestProviderType) UnmarshalJSON(b []byte) error

func (ListEventSourcesRequestProviderType) Value

type ListEventSourcesRequestProviderTypeEnum

type ListEventSourcesRequestProviderTypeEnum struct {
	OFFICIAL ListEventSourcesRequestProviderType
	CUSTOM   ListEventSourcesRequestProviderType
}

func GetListEventSourcesRequestProviderTypeEnum

func GetListEventSourcesRequestProviderTypeEnum() ListEventSourcesRequestProviderTypeEnum

type ListEventSourcesResponse

type ListEventSourcesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本页数量
	Size *int32 `json:"size,omitempty"`

	// 对象列表
	Items          *[]CustomizeSourceInfo `json:"items,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListEventSourcesResponse) String

func (o ListEventSourcesResponse) String() string

type ListEventTargetRequest

type ListEventTargetRequest struct {

	// 偏移量,表示从此偏移量开始查询,偏移量不能小于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,不能小于0
	Limit *int32 `json:"limit,omitempty"`

	// 指定查询排序
	Sort *string `json:"sort,omitempty"`

	// 指定查询的事件目标标签,模糊匹配
	FuzzyLabel *string `json:"fuzzy_label,omitempty"`
}

Request Object

func (ListEventTargetRequest) String

func (o ListEventTargetRequest) String() string

type ListEventTargetResponse

type ListEventTargetResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本页数量
	Size *int32 `json:"size,omitempty"`

	// 对象列表
	Items          *[]CatalogTargetInfo `json:"items,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListEventTargetResponse) String

func (o ListEventTargetResponse) String() string

type ListQuotasRequest

type ListQuotasRequest struct {

	// 指定查询资源类型的配额
	Type *ListQuotasRequestType `json:"type,omitempty"`
}

Request Object

func (ListQuotasRequest) String

func (o ListQuotasRequest) String() string

type ListQuotasRequestType

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

func (ListQuotasRequestType) MarshalJSON

func (c ListQuotasRequestType) MarshalJSON() ([]byte, error)

func (*ListQuotasRequestType) UnmarshalJSON

func (c *ListQuotasRequestType) UnmarshalJSON(b []byte) error

func (ListQuotasRequestType) Value

func (c ListQuotasRequestType) Value() string

type ListQuotasRequestTypeEnum

type ListQuotasRequestTypeEnum struct {
	CHANNEL              ListQuotasRequestType
	CHANNEL_SUBSCRIPTION ListQuotasRequestType
	SOURCE               ListQuotasRequestType
	SUBSCRIPTION         ListQuotasRequestType
	SUBSCRIPTION_TARGET  ListQuotasRequestType
	SCHEMA               ListQuotasRequestType
	SCHEMA_VERSION       ListQuotasRequestType
	CONNECTION           ListQuotasRequestType
	PRIVATE_ENDPOINT     ListQuotasRequestType
	SOURCE_RABBITMQ      ListQuotasRequestType
}

func GetListQuotasRequestTypeEnum

func GetListQuotasRequestTypeEnum() ListQuotasRequestTypeEnum

type ListQuotasResponse

type ListQuotasResponse struct {
	Quotas         *QuotaResourceResp `json:"quotas,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListQuotasResponse) String

func (o ListQuotasResponse) String() string

type ListSubscriptionsRequest

type ListSubscriptionsRequest struct {

	// 指定查询的事件通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 偏移量,表示从此偏移量开始查询,偏移量不能小于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,不能小于0
	Limit *int32 `json:"limit,omitempty"`

	// 指定查询排序
	Sort *string `json:"sort,omitempty"`

	// 指定查询的事件订阅名称,精准匹配
	Name *string `json:"name,omitempty"`

	// 指定查询的事件订阅名称,模糊匹配
	FuzzyName *string `json:"fuzzy_name,omitempty"`
}

Request Object

func (ListSubscriptionsRequest) String

func (o ListSubscriptionsRequest) String() string

type ListSubscriptionsResponse

type ListSubscriptionsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本页数量
	Size *int32 `json:"size,omitempty"`

	// 对象列表
	Items          *[]SubscriptionInfo `json:"items,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListSubscriptionsResponse) String

func (o ListSubscriptionsResponse) String() string

type ListTriggersRequest added in v0.1.3

type ListTriggersRequest struct {

	// 目标函数的urn
	FuncUrn string `json:"func_urn"`

	// 偏移量,表示从此偏移量开始查询,偏移量不能小于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,不能小于0
	Limit *int32 `json:"limit,omitempty"`

	// 指定查询排序
	Sort *string `json:"sort,omitempty"`
}

Request Object

func (ListTriggersRequest) String added in v0.1.3

func (o ListTriggersRequest) String() string

type ListTriggersResponse added in v0.1.3

type ListTriggersResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本页数量
	Size *int32 `json:"size,omitempty"`

	// 对象列表
	Items          *[]SubscriptionInfo `json:"items,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListTriggersResponse) String added in v0.1.3

func (o ListTriggersResponse) String() string

type OperateSubscriptionRequest

type OperateSubscriptionRequest struct {
	Body *SubscriptionOperateReq `json:"body,omitempty"`
}

Request Object

func (OperateSubscriptionRequest) String

type OperateSubscriptionResponse

type OperateSubscriptionResponse struct {

	// 操作失败的订阅个数
	FailedCount *int32 `json:"failed_count,omitempty"`

	Events *[]SubscriptionOperateRespEvents `json:"events,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (OperateSubscriptionResponse) String

type PutEventsReq

type PutEventsReq struct {
	Events *[]CloudEvents `json:"events,omitempty"`
}

func (PutEventsReq) String

func (o PutEventsReq) String() string

type PutEventsRequest

type PutEventsRequest struct {

	// 指定查询的事件通道ID
	ChannelId string `json:"channel_id"`

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

Request Object

func (PutEventsRequest) String

func (o PutEventsRequest) String() string

type PutEventsRespEvents

type PutEventsRespEvents struct {

	// 发布失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 发布失败的原因
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 事件唯一标识串
	EventId *string `json:"event_id,omitempty"`
}

func (PutEventsRespEvents) String

func (o PutEventsRespEvents) String() string

type PutEventsResponse

type PutEventsResponse struct {

	// 发布失败的事件个数
	FailedCount *int32 `json:"failed_count,omitempty"`

	Events *[]PutEventsRespEvents `json:"events,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (PutEventsResponse) String

func (o PutEventsResponse) String() string

type QuotaItemInfo

type QuotaItemInfo struct {

	// 名称
	Name *string `json:"name,omitempty"`

	// 配额类型
	Type *QuotaItemInfoType `json:"type,omitempty"`

	// 配额最大值
	Max *int32 `json:"max,omitempty"`

	// 配额最小值
	Min *int32 `json:"min,omitempty"`

	// 当前租户的配额
	Quota *int32 `json:"quota,omitempty"`

	// 当前租户已使用的配额
	Used *int32 `json:"used,omitempty"`
}

func (QuotaItemInfo) String

func (o QuotaItemInfo) String() string

type QuotaItemInfoType

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

func (QuotaItemInfoType) MarshalJSON

func (c QuotaItemInfoType) MarshalJSON() ([]byte, error)

func (*QuotaItemInfoType) UnmarshalJSON

func (c *QuotaItemInfoType) UnmarshalJSON(b []byte) error

func (QuotaItemInfoType) Value

func (c QuotaItemInfoType) Value() string

type QuotaItemInfoTypeEnum

type QuotaItemInfoTypeEnum struct {
	CHANNEL              QuotaItemInfoType
	CHANNEL_SUBSCRIPTION QuotaItemInfoType
	SOURCE               QuotaItemInfoType
	SUBSCRIPTION         QuotaItemInfoType
	SUBSCRIPTION_TARGET  QuotaItemInfoType
	SCHEMA               QuotaItemInfoType
	SCHEMA_VERSION       QuotaItemInfoType
	CONNECTION           QuotaItemInfoType
	PRIVATE_ENDPOINT     QuotaItemInfoType
	SOURCE_RABBITMQ      QuotaItemInfoType
}

func GetQuotaItemInfoTypeEnum

func GetQuotaItemInfoTypeEnum() QuotaItemInfoTypeEnum

type QuotaResourceResp

type QuotaResourceResp struct {

	// 错误描述
	Resources *[]QuotaItemInfo `json:"resources,omitempty"`
}

func (QuotaResourceResp) String

func (o QuotaResourceResp) String() string

type ShowDetailOfChannelRequest

type ShowDetailOfChannelRequest struct {

	// 指定查询的事件通道ID
	ChannelId string `json:"channel_id"`
}

Request Object

func (ShowDetailOfChannelRequest) String

type ShowDetailOfChannelResponse

type ShowDetailOfChannelResponse struct {

	// 通道ID
	Id *string `json:"id,omitempty"`

	// 通道名称
	Name *string `json:"name,omitempty"`

	// 通道描述
	Description *string `json:"description,omitempty"`

	// 通道提供方类型,OFFICIAL:官方事件通道;CUSTOM:自定义事件通道
	ProviderType *ShowDetailOfChannelResponseProviderType `json:"provider_type,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime    *string `json:"updated_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDetailOfChannelResponse) String

type ShowDetailOfChannelResponseProviderType

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

func (ShowDetailOfChannelResponseProviderType) MarshalJSON

func (c ShowDetailOfChannelResponseProviderType) MarshalJSON() ([]byte, error)

func (*ShowDetailOfChannelResponseProviderType) UnmarshalJSON

func (c *ShowDetailOfChannelResponseProviderType) UnmarshalJSON(b []byte) error

func (ShowDetailOfChannelResponseProviderType) Value

type ShowDetailOfChannelResponseProviderTypeEnum

type ShowDetailOfChannelResponseProviderTypeEnum struct {
	OFFICIAL ShowDetailOfChannelResponseProviderType
	CUSTOM   ShowDetailOfChannelResponseProviderType
}

func GetShowDetailOfChannelResponseProviderTypeEnum

func GetShowDetailOfChannelResponseProviderTypeEnum() ShowDetailOfChannelResponseProviderTypeEnum

type ShowDetailOfConnectionRequest added in v0.1.3

type ShowDetailOfConnectionRequest struct {

	// 指定查询的目标连接ID
	ConnectionId string `json:"connection_id"`
}

Request Object

func (ShowDetailOfConnectionRequest) String added in v0.1.3

type ShowDetailOfConnectionResponse added in v0.1.3

type ShowDetailOfConnectionResponse struct {

	// 事件源ID
	Id *string `json:"id,omitempty"`

	// 目标连接名称,租户下唯一,由小写字母、数字、点、下划线和中划线组成,必须以字母或数字开头,不能为default
	Name *string `json:"name,omitempty"`

	// 目标连接描述
	Description *string `json:"description,omitempty"`

	// 目标连接状态
	Status *ShowDetailOfConnectionResponseStatus `json:"status,omitempty"`

	// 待连接的VPC ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 待连接的子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 私网目标连接使用的用户委托名称
	Agency *string `json:"agency,omitempty"`

	Flavor *ConnectionInfoFlavor `json:"flavor,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime    *string `json:"updated_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDetailOfConnectionResponse) String added in v0.1.3

type ShowDetailOfConnectionResponseStatus added in v0.1.3

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

func (ShowDetailOfConnectionResponseStatus) MarshalJSON added in v0.1.3

func (c ShowDetailOfConnectionResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailOfConnectionResponseStatus) UnmarshalJSON added in v0.1.3

func (c *ShowDetailOfConnectionResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailOfConnectionResponseStatus) Value added in v0.1.3

type ShowDetailOfConnectionResponseStatusEnum added in v0.1.3

type ShowDetailOfConnectionResponseStatusEnum struct {
	CREATING      ShowDetailOfConnectionResponseStatus
	CREATED       ShowDetailOfConnectionResponseStatus
	CREATE_FAILED ShowDetailOfConnectionResponseStatus
}

func GetShowDetailOfConnectionResponseStatusEnum added in v0.1.3

func GetShowDetailOfConnectionResponseStatusEnum() ShowDetailOfConnectionResponseStatusEnum

type ShowDetailOfEventSchemaRequest added in v0.1.3

type ShowDetailOfEventSchemaRequest struct {

	// 指定查询的事件模型ID
	SchemaId string `json:"schema_id"`
}

Request Object

func (ShowDetailOfEventSchemaRequest) String added in v0.1.3

type ShowDetailOfEventSchemaResponse added in v0.1.3

type ShowDetailOfEventSchemaResponse struct {

	// 事件模型ID
	Id *string `json:"id,omitempty"`

	// 事件模型名称,租户下唯一
	Name *string `json:"name,omitempty"`

	// 事件模型描述
	Description *string `json:"description,omitempty"`

	// 事件模型兼容性
	Compatibility *ShowDetailOfEventSchemaResponseCompatibility `json:"compatibility,omitempty"`

	// 提供方类型,OFFICIAL:官方事件源;CUSTOM:自定义事件源
	ProviderType *ShowDetailOfEventSchemaResponseProviderType `json:"provider_type,omitempty"`

	// 事件模型格式
	Format *string `json:"format,omitempty"`

	// 事件模型版本数
	NumberOfVersions *int32 `json:"number_of_versions,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 事件示例
	DataSample *string `json:"data_sample,omitempty"`

	// 事件模型当前版本号
	Version *int32 `json:"version,omitempty"`

	// 事件模型内容定义
	Definition     *string `json:"definition,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDetailOfEventSchemaResponse) String added in v0.1.3

type ShowDetailOfEventSchemaResponseCompatibility added in v0.1.3

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

func (ShowDetailOfEventSchemaResponseCompatibility) MarshalJSON added in v0.1.3

func (*ShowDetailOfEventSchemaResponseCompatibility) UnmarshalJSON added in v0.1.3

func (ShowDetailOfEventSchemaResponseCompatibility) Value added in v0.1.3

type ShowDetailOfEventSchemaResponseProviderType added in v0.1.3

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

func (ShowDetailOfEventSchemaResponseProviderType) MarshalJSON added in v0.1.3

func (*ShowDetailOfEventSchemaResponseProviderType) UnmarshalJSON added in v0.1.3

func (ShowDetailOfEventSchemaResponseProviderType) Value added in v0.1.3

type ShowDetailOfEventSchemaResponseProviderTypeEnum added in v0.1.3

type ShowDetailOfEventSchemaResponseProviderTypeEnum struct {
	OFFICIAL ShowDetailOfEventSchemaResponseProviderType
	CUSTOM   ShowDetailOfEventSchemaResponseProviderType
}

func GetShowDetailOfEventSchemaResponseProviderTypeEnum added in v0.1.3

func GetShowDetailOfEventSchemaResponseProviderTypeEnum() ShowDetailOfEventSchemaResponseProviderTypeEnum

type ShowDetailOfEventSchemaVersionRequest added in v0.1.3

type ShowDetailOfEventSchemaVersionRequest struct {

	// 指定查询的事件模型ID
	SchemaId string `json:"schema_id"`

	// 指定查询的事件模型版本号
	Version int32 `json:"version"`
}

Request Object

func (ShowDetailOfEventSchemaVersionRequest) String added in v0.1.3

type ShowDetailOfEventSchemaVersionResponse added in v0.1.3

type ShowDetailOfEventSchemaVersionResponse struct {

	// 事件模型版本ID
	Id *string `json:"id,omitempty"`

	// 事件模型ID
	SchemaId *string `json:"schema_id,omitempty"`

	// 事件模型版本号
	Version *int32 `json:"version,omitempty"`

	// 事件模型格式
	Format *string `json:"format,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 事件示例
	DataSample *string `json:"data_sample,omitempty"`

	// 事件模型内容定义
	Definition     *string `json:"definition,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDetailOfEventSchemaVersionResponse) String added in v0.1.3

type ShowDetailOfEventSourceRequest

type ShowDetailOfEventSourceRequest struct {

	// 指定查询的事件源ID
	SourceId string `json:"source_id"`
}

Request Object

func (ShowDetailOfEventSourceRequest) String

type ShowDetailOfEventSourceResponse

type ShowDetailOfEventSourceResponse struct {

	// 事件源ID
	Id *string `json:"id,omitempty"`

	// 事件源名称
	Name *string `json:"name,omitempty"`

	// 事件源名称展示
	Label *string `json:"label,omitempty"`

	// 事件源描述
	Description *string `json:"description,omitempty"`

	// 事件源提供方类型,OFFICIAL:官方云服务事件源;CUSTOM:用户创建的自定义事件源
	ProviderType *ShowDetailOfEventSourceResponseProviderType `json:"provider_type,omitempty"`

	// 事件源提供的事件类型列表,只有官方云服务事件源提供事件类型
	EventTypes *[]CustomizeSourceInfoEventTypes `json:"event_types,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 事件源归属的事件通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 事件源归属的事件通道名称
	ChannelName *string `json:"channel_name,omitempty"`

	// 事件源类型
	Type *string `json:"type,omitempty"`

	// json格式封装消息实例链接信息:如RabbitMQ实例的instance_id字段、虚拟主机vhost字段、队列queue字段、用户名、密码等
	Detail *interface{} `json:"detail,omitempty"`

	// 自定义事件源状态
	Status         *ShowDetailOfEventSourceResponseStatus `json:"status,omitempty"`
	HttpStatusCode int                                    `json:"-"`
}

Response Object

func (ShowDetailOfEventSourceResponse) String

type ShowDetailOfEventSourceResponseProviderType

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

func (ShowDetailOfEventSourceResponseProviderType) MarshalJSON

func (*ShowDetailOfEventSourceResponseProviderType) UnmarshalJSON

func (ShowDetailOfEventSourceResponseProviderType) Value

type ShowDetailOfEventSourceResponseProviderTypeEnum

type ShowDetailOfEventSourceResponseProviderTypeEnum struct {
	OFFICIAL ShowDetailOfEventSourceResponseProviderType
	CUSTOM   ShowDetailOfEventSourceResponseProviderType
}

func GetShowDetailOfEventSourceResponseProviderTypeEnum

func GetShowDetailOfEventSourceResponseProviderTypeEnum() ShowDetailOfEventSourceResponseProviderTypeEnum

type ShowDetailOfEventSourceResponseStatus added in v0.1.3

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

func (ShowDetailOfEventSourceResponseStatus) MarshalJSON added in v0.1.3

func (c ShowDetailOfEventSourceResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailOfEventSourceResponseStatus) UnmarshalJSON added in v0.1.3

func (c *ShowDetailOfEventSourceResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailOfEventSourceResponseStatus) Value added in v0.1.3

type ShowDetailOfEventSourceResponseStatusEnum added in v0.1.3

type ShowDetailOfEventSourceResponseStatusEnum struct {
	CREATE_FAILED ShowDetailOfEventSourceResponseStatus
	RUNNING       ShowDetailOfEventSourceResponseStatus
	ERROR         ShowDetailOfEventSourceResponseStatus
}

func GetShowDetailOfEventSourceResponseStatusEnum added in v0.1.3

func GetShowDetailOfEventSourceResponseStatusEnum() ShowDetailOfEventSourceResponseStatusEnum

type ShowDetailOfSubscriptionRequest

type ShowDetailOfSubscriptionRequest struct {

	// 事件订阅ID
	SubscriptionId string `json:"subscription_id"`
}

Request Object

func (ShowDetailOfSubscriptionRequest) String

type ShowDetailOfSubscriptionResponse

type ShowDetailOfSubscriptionResponse struct {

	// 订阅ID
	Id *string `json:"id,omitempty"`

	// 订阅名称
	Name *string `json:"name,omitempty"`

	// 订阅描述
	Description *string `json:"description,omitempty"`

	// 类型
	Type *ShowDetailOfSubscriptionResponseType `json:"type,omitempty"`

	// 状态
	Status *ShowDetailOfSubscriptionResponseStatus `json:"status,omitempty"`

	// 通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 通道名称
	ChannelName *string `json:"channel_name,omitempty"`

	// 订阅源列表
	Sources *[]SubscriptionSourceInfo `json:"sources,omitempty"`

	// 订阅目标列表
	Targets *[]SubscriptionTargetInfo `json:"targets,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime    *string `json:"updated_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDetailOfSubscriptionResponse) String

type ShowDetailOfSubscriptionResponseStatus

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

func (ShowDetailOfSubscriptionResponseStatus) MarshalJSON

func (c ShowDetailOfSubscriptionResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailOfSubscriptionResponseStatus) UnmarshalJSON

func (c *ShowDetailOfSubscriptionResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailOfSubscriptionResponseStatus) Value

type ShowDetailOfSubscriptionResponseType

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

func (ShowDetailOfSubscriptionResponseType) MarshalJSON

func (c ShowDetailOfSubscriptionResponseType) MarshalJSON() ([]byte, error)

func (*ShowDetailOfSubscriptionResponseType) UnmarshalJSON

func (c *ShowDetailOfSubscriptionResponseType) UnmarshalJSON(b []byte) error

func (ShowDetailOfSubscriptionResponseType) Value

type ShowDetailOfSubscriptionResponseTypeEnum

type ShowDetailOfSubscriptionResponseTypeEnum struct {
	EVENT     ShowDetailOfSubscriptionResponseType
	SCHEDULED ShowDetailOfSubscriptionResponseType
}

func GetShowDetailOfSubscriptionResponseTypeEnum

func GetShowDetailOfSubscriptionResponseTypeEnum() ShowDetailOfSubscriptionResponseTypeEnum

type ShowDetailOfSubscriptionTargetRequest

type ShowDetailOfSubscriptionTargetRequest struct {

	// 事件订阅ID
	SubscriptionId string `json:"subscription_id"`

	// 事件订阅目标ID
	TargetId string `json:"target_id"`
}

Request Object

func (ShowDetailOfSubscriptionTargetRequest) String

type ShowDetailOfSubscriptionTargetResponse

type ShowDetailOfSubscriptionTargetResponse struct {

	// 订阅目标ID
	Id *string `json:"id,omitempty"`

	// 订阅的事件目标名称
	Name *string `json:"name,omitempty"`

	// 订阅的事件目标的提供方类型
	ProviderType *string `json:"provider_type,omitempty"`

	// 订阅的事件目标使用的目标链接ID
	ConnectionId *string `json:"connection_id,omitempty"`

	// 订阅的事件目标参数列表
	Detail *interface{} `json:"detail,omitempty"`

	Transform *SubscriptionTargetInfoTransform `json:"transform,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime    *string `json:"updated_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDetailOfSubscriptionTargetResponse) String

type SubscriptionCreateReq

type SubscriptionCreateReq struct {

	// 订阅名称,租户下唯一,由字母、数字、点、下划线和中划线组成,必须字母或数字开头
	Name string `json:"name"`

	// 订阅描述
	Description *string `json:"description,omitempty"`

	// 所属事件通道ID
	ChannelId string `json:"channel_id"`

	// 订阅的事件源列表, 当前仅支持订阅一个事件源
	Sources []SubscriptionSource `json:"sources"`

	// 事件目标列表,至少订阅一个事件目标
	Targets []SubscriptionTarget `json:"targets"`
}

func (SubscriptionCreateReq) String

func (o SubscriptionCreateReq) String() string

type SubscriptionInfo

type SubscriptionInfo struct {

	// 订阅ID
	Id *string `json:"id,omitempty"`

	// 订阅名称
	Name *string `json:"name,omitempty"`

	// 订阅描述
	Description *string `json:"description,omitempty"`

	// 类型
	Type *SubscriptionInfoType `json:"type,omitempty"`

	// 状态
	Status *SubscriptionInfoStatus `json:"status,omitempty"`

	// 通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 通道名称
	ChannelName *string `json:"channel_name,omitempty"`

	// 订阅源列表
	Sources *[]SubscriptionSourceInfo `json:"sources,omitempty"`

	// 订阅目标列表
	Targets *[]SubscriptionTargetInfo `json:"targets,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
}

func (SubscriptionInfo) String

func (o SubscriptionInfo) String() string

type SubscriptionInfoStatus

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

func (SubscriptionInfoStatus) MarshalJSON

func (c SubscriptionInfoStatus) MarshalJSON() ([]byte, error)

func (*SubscriptionInfoStatus) UnmarshalJSON

func (c *SubscriptionInfoStatus) UnmarshalJSON(b []byte) error

func (SubscriptionInfoStatus) Value

func (c SubscriptionInfoStatus) Value() string

type SubscriptionInfoStatusEnum

type SubscriptionInfoStatusEnum struct {
	CREATED  SubscriptionInfoStatus
	ENABLED  SubscriptionInfoStatus
	DISABLED SubscriptionInfoStatus
	FROZEN   SubscriptionInfoStatus
	ERROR    SubscriptionInfoStatus
}

func GetSubscriptionInfoStatusEnum

func GetSubscriptionInfoStatusEnum() SubscriptionInfoStatusEnum

type SubscriptionInfoType

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

func (SubscriptionInfoType) MarshalJSON

func (c SubscriptionInfoType) MarshalJSON() ([]byte, error)

func (*SubscriptionInfoType) UnmarshalJSON

func (c *SubscriptionInfoType) UnmarshalJSON(b []byte) error

func (SubscriptionInfoType) Value

func (c SubscriptionInfoType) Value() string

type SubscriptionInfoTypeEnum

type SubscriptionInfoTypeEnum struct {
	EVENT     SubscriptionInfoType
	SCHEDULED SubscriptionInfoType
}

func GetSubscriptionInfoTypeEnum

func GetSubscriptionInfoTypeEnum() SubscriptionInfoTypeEnum

type SubscriptionOperateReq

type SubscriptionOperateReq struct {

	// 订阅对象ID列表,单次批量操作最多支持10个订阅
	SubscriptionIds *[]string `json:"subscription_ids,omitempty"`

	// 操作类型
	Operation *SubscriptionOperateReqOperation `json:"operation,omitempty"`
}

订阅批量操作请求

func (SubscriptionOperateReq) String

func (o SubscriptionOperateReq) String() string

type SubscriptionOperateReqOperation

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

func (SubscriptionOperateReqOperation) MarshalJSON

func (c SubscriptionOperateReqOperation) MarshalJSON() ([]byte, error)

func (*SubscriptionOperateReqOperation) UnmarshalJSON

func (c *SubscriptionOperateReqOperation) UnmarshalJSON(b []byte) error

func (SubscriptionOperateReqOperation) Value

type SubscriptionOperateReqOperationEnum

type SubscriptionOperateReqOperationEnum struct {
	DISABLE SubscriptionOperateReqOperation
	ENABLE  SubscriptionOperateReqOperation
}

func GetSubscriptionOperateReqOperationEnum

func GetSubscriptionOperateReqOperationEnum() SubscriptionOperateReqOperationEnum

type SubscriptionOperateRespEvents

type SubscriptionOperateRespEvents struct {

	// 失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 失败的原因
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 订阅ID
	SubscriptionId *string `json:"subscription_id,omitempty"`
}

func (SubscriptionOperateRespEvents) String

type SubscriptionSource

type SubscriptionSource struct {

	// 订阅源ID,需保证全局唯一。指定ID的订阅源存在时则进行更新,否则进行创建;未指定时由系统自动生成。由小写字母、数字、中划线组成,必须字母或数字开头。
	Id *string `json:"id,omitempty"`

	// 订阅的事件源名称
	Name string `json:"name"`

	// 订阅的事件源的提供方类型
	ProviderType SubscriptionSourceProviderType `json:"provider_type"`

	// 订阅的事件源参数列表, 该字段序列化后总长度不超过1024字节
	Detail *interface{} `json:"detail,omitempty"`

	// 订阅事件源的匹配过滤规则, 该字段序列化后总长度不超过2048字节
	Filter *interface{} `json:"filter"`
}

func (SubscriptionSource) String

func (o SubscriptionSource) String() string

type SubscriptionSourceInfo

type SubscriptionSourceInfo struct {

	// 订阅源ID
	Id *string `json:"id,omitempty"`

	// 订阅的事件源名称
	Name *string `json:"name,omitempty"`

	// 订阅的事件源的提供方类型
	ProviderType *string `json:"provider_type,omitempty"`

	// 订阅的事件源参数列表
	Detail *interface{} `json:"detail,omitempty"`

	// 订阅事件源的匹配过滤规则
	Filter *interface{} `json:"filter,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
}

func (SubscriptionSourceInfo) String

func (o SubscriptionSourceInfo) String() string

type SubscriptionSourceProviderType

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

func (SubscriptionSourceProviderType) MarshalJSON

func (c SubscriptionSourceProviderType) MarshalJSON() ([]byte, error)

func (*SubscriptionSourceProviderType) UnmarshalJSON

func (c *SubscriptionSourceProviderType) UnmarshalJSON(b []byte) error

func (SubscriptionSourceProviderType) Value

type SubscriptionSourceProviderTypeEnum

type SubscriptionSourceProviderTypeEnum struct {
	CUSTOM   SubscriptionSourceProviderType
	OFFICIAL SubscriptionSourceProviderType
}

func GetSubscriptionSourceProviderTypeEnum

func GetSubscriptionSourceProviderTypeEnum() SubscriptionSourceProviderTypeEnum

type SubscriptionTarget

type SubscriptionTarget struct {

	// 订阅目标ID,需保证全局唯一,由小写字母、数字、中划线组成,必须字母或数字开头。 更新订阅场景时,指定ID的订阅目标存在时则进行更新,否则进行创建; 创建订阅目标场景时,指定ID作为待创建的订阅目标对象ID,未指定时由系统自动生成。 更新订阅目标时,此字段忽略;
	Id *string `json:"id,omitempty"`

	// 订阅的事件目标名称
	Name string `json:"name"`

	// 订阅的事件目标的提供方类型
	ProviderType SubscriptionTargetProviderType `json:"provider_type"`

	// 订阅的事件目标使用的目标链接ID
	ConnectionId *string `json:"connection_id,omitempty"`

	// 订阅的事件目标参数列表,该字段序列化后总长度不超过1024字节
	Detail *interface{} `json:"detail,omitempty"`

	Transform *SubscriptionTargetTransform `json:"transform"`
}

func (SubscriptionTarget) String

func (o SubscriptionTarget) String() string

type SubscriptionTargetInfo

type SubscriptionTargetInfo struct {

	// 订阅目标ID
	Id *string `json:"id,omitempty"`

	// 订阅的事件目标名称
	Name *string `json:"name,omitempty"`

	// 订阅的事件目标的提供方类型
	ProviderType *string `json:"provider_type,omitempty"`

	// 订阅的事件目标使用的目标链接ID
	ConnectionId *string `json:"connection_id,omitempty"`

	// 订阅的事件目标参数列表
	Detail *interface{} `json:"detail,omitempty"`

	Transform *SubscriptionTargetInfoTransform `json:"transform,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`
}

func (SubscriptionTargetInfo) String

func (o SubscriptionTargetInfo) String() string

type SubscriptionTargetInfoTransform

type SubscriptionTargetInfoTransform struct {

	// 转换规则类型
	Type *string `json:"type,omitempty"`

	// 转换规则内容
	Value *string `json:"value,omitempty"`

	// 转换规则模板
	Template *string `json:"template,omitempty"`
}

订阅的事件目标转换规则

func (SubscriptionTargetInfoTransform) String

type SubscriptionTargetProviderType

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

func (SubscriptionTargetProviderType) MarshalJSON

func (c SubscriptionTargetProviderType) MarshalJSON() ([]byte, error)

func (*SubscriptionTargetProviderType) UnmarshalJSON

func (c *SubscriptionTargetProviderType) UnmarshalJSON(b []byte) error

func (SubscriptionTargetProviderType) Value

type SubscriptionTargetProviderTypeEnum

type SubscriptionTargetProviderTypeEnum struct {
	CUSTOM   SubscriptionTargetProviderType
	OFFICIAL SubscriptionTargetProviderType
}

func GetSubscriptionTargetProviderTypeEnum

func GetSubscriptionTargetProviderTypeEnum() SubscriptionTargetProviderTypeEnum

type SubscriptionTargetTransform

type SubscriptionTargetTransform struct {

	// 转换规则类型
	Type SubscriptionTargetTransformType `json:"type"`

	// 常量类型规则时,字段为常量内容定义; 变量类型规则时,为变量定义,内容必须为JsonObject字符串。    变量最多支持100个,且不支持嵌套结构定义;    变量名由字母、数字、点、下划线和中划线组成,必须字母或数字开头不能以HC.开头,长度不超过64个字符;    变量值表达式支持常量或JsonPath表达式,字符串长度不超过1024个字符。
	Value *string `json:"value,omitempty"`

	// 变量类型规则时,规则内容的模板定义,支持对已定义变量的引用。
	Template *string `json:"template,omitempty"`
}

订阅的事件目标转换规则

func (SubscriptionTargetTransform) String

type SubscriptionTargetTransformType

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

func (SubscriptionTargetTransformType) MarshalJSON

func (c SubscriptionTargetTransformType) MarshalJSON() ([]byte, error)

func (*SubscriptionTargetTransformType) UnmarshalJSON

func (c *SubscriptionTargetTransformType) UnmarshalJSON(b []byte) error

func (SubscriptionTargetTransformType) Value

type SubscriptionTargetTransformTypeEnum

type SubscriptionTargetTransformTypeEnum struct {
	ORIGINAL SubscriptionTargetTransformType
	CONSTANT SubscriptionTargetTransformType
	VARIABLE SubscriptionTargetTransformType
}

func GetSubscriptionTargetTransformTypeEnum

func GetSubscriptionTargetTransformTypeEnum() SubscriptionTargetTransformTypeEnum

type SubscriptionUpdateReq

type SubscriptionUpdateReq struct {

	// 订阅描述
	Description *string `json:"description,omitempty"`

	// 订阅事件源列表,字段存在则代表全量更新订阅源
	Sources *[]SubscriptionSource `json:"sources,omitempty"`

	// 订阅事件目标列表,字段存在则代表全量更新订阅目标
	Targets *[]SubscriptionTarget `json:"targets,omitempty"`
}

更新订阅,全量更新订阅源和目标

func (SubscriptionUpdateReq) String

func (o SubscriptionUpdateReq) String() string

type UpdateChannelRequest

type UpdateChannelRequest struct {

	// 指定查询的事件通道ID
	ChannelId string `json:"channel_id"`

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

Request Object

func (UpdateChannelRequest) String

func (o UpdateChannelRequest) String() string

type UpdateChannelResponse

type UpdateChannelResponse struct {

	// 通道ID
	Id *string `json:"id,omitempty"`

	// 通道名称
	Name *string `json:"name,omitempty"`

	// 通道描述
	Description *string `json:"description,omitempty"`

	// 通道提供方类型,OFFICIAL:官方事件通道;CUSTOM:自定义事件通道
	ProviderType *UpdateChannelResponseProviderType `json:"provider_type,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateChannelResponse) String

func (o UpdateChannelResponse) String() string

type UpdateChannelResponseProviderType

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

func (UpdateChannelResponseProviderType) MarshalJSON

func (c UpdateChannelResponseProviderType) MarshalJSON() ([]byte, error)

func (*UpdateChannelResponseProviderType) UnmarshalJSON

func (c *UpdateChannelResponseProviderType) UnmarshalJSON(b []byte) error

func (UpdateChannelResponseProviderType) Value

type UpdateChannelResponseProviderTypeEnum

type UpdateChannelResponseProviderTypeEnum struct {
	OFFICIAL UpdateChannelResponseProviderType
	CUSTOM   UpdateChannelResponseProviderType
}

func GetUpdateChannelResponseProviderTypeEnum

func GetUpdateChannelResponseProviderTypeEnum() UpdateChannelResponseProviderTypeEnum

type UpdateConnectionRequest added in v0.1.3

type UpdateConnectionRequest struct {

	// 指定查询的目标连接ID
	ConnectionId string `json:"connection_id"`

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

Request Object

func (UpdateConnectionRequest) String added in v0.1.3

func (o UpdateConnectionRequest) String() string

type UpdateConnectionResponse added in v0.1.3

type UpdateConnectionResponse struct {

	// 事件源ID
	Id *string `json:"id,omitempty"`

	// 目标连接名称,租户下唯一,由小写字母、数字、点、下划线和中划线组成,必须以字母或数字开头,不能为default
	Name *string `json:"name,omitempty"`

	// 目标连接描述
	Description *string `json:"description,omitempty"`

	// 目标连接状态
	Status *UpdateConnectionResponseStatus `json:"status,omitempty"`

	// 待连接的VPC ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 待连接的子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 私网目标连接使用的用户委托名称
	Agency *string `json:"agency,omitempty"`

	Flavor *ConnectionInfoFlavor `json:"flavor,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateConnectionResponse) String added in v0.1.3

func (o UpdateConnectionResponse) String() string

type UpdateConnectionResponseStatus added in v0.1.3

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

func (UpdateConnectionResponseStatus) MarshalJSON added in v0.1.3

func (c UpdateConnectionResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateConnectionResponseStatus) UnmarshalJSON added in v0.1.3

func (c *UpdateConnectionResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateConnectionResponseStatus) Value added in v0.1.3

type UpdateConnectionResponseStatusEnum added in v0.1.3

type UpdateConnectionResponseStatusEnum struct {
	CREATING      UpdateConnectionResponseStatus
	CREATED       UpdateConnectionResponseStatus
	CREATE_FAILED UpdateConnectionResponseStatus
}

func GetUpdateConnectionResponseStatusEnum added in v0.1.3

func GetUpdateConnectionResponseStatusEnum() UpdateConnectionResponseStatusEnum

type UpdateEndpointRequest added in v0.1.3

type UpdateEndpointRequest struct {

	// 指定查询访问端点的id
	EndpointId string `json:"endpoint_id"`

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

Request Object

func (UpdateEndpointRequest) String added in v0.1.3

func (o UpdateEndpointRequest) String() string

type UpdateEndpointResponse added in v0.1.3

type UpdateEndpointResponse struct {

	// 访问端点ID
	Id *string `json:"id,omitempty"`

	// 用户指定的访问端点名称
	Name *string `json:"name,omitempty"`

	// 访问端点所在的VPC的ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 访问端点所在的子网的ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 访问域名
	Domain *string `json:"domain,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 访问端点状态
	Status *UpdateEndpointResponseStatus `json:"status,omitempty"`

	// 访问端点类型
	Type *UpdateEndpointResponseType `json:"type,omitempty"`

	// 是否可更新
	Scalable *bool `json:"scalable,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 访问端点终端节点列表
	Endpoints      *[]EndpointConnection `json:"endpoints,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (UpdateEndpointResponse) String added in v0.1.3

func (o UpdateEndpointResponse) String() string

type UpdateEndpointResponseStatus added in v0.1.3

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

func (UpdateEndpointResponseStatus) MarshalJSON added in v0.1.3

func (c UpdateEndpointResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateEndpointResponseStatus) UnmarshalJSON added in v0.1.3

func (c *UpdateEndpointResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateEndpointResponseStatus) Value added in v0.1.3

type UpdateEndpointResponseStatusEnum added in v0.1.3

type UpdateEndpointResponseStatusEnum struct {
	CREATED       UpdateEndpointResponseStatus
	CREATING      UpdateEndpointResponseStatus
	CREATE_FAILED UpdateEndpointResponseStatus
	DELETE_FAILED UpdateEndpointResponseStatus
}

func GetUpdateEndpointResponseStatusEnum added in v0.1.3

func GetUpdateEndpointResponseStatusEnum() UpdateEndpointResponseStatusEnum

type UpdateEndpointResponseType added in v0.1.3

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

func (UpdateEndpointResponseType) MarshalJSON added in v0.1.3

func (c UpdateEndpointResponseType) MarshalJSON() ([]byte, error)

func (*UpdateEndpointResponseType) UnmarshalJSON added in v0.1.3

func (c *UpdateEndpointResponseType) UnmarshalJSON(b []byte) error

func (UpdateEndpointResponseType) Value added in v0.1.3

type UpdateEndpointResponseTypeEnum added in v0.1.3

type UpdateEndpointResponseTypeEnum struct {
	PRIVATE UpdateEndpointResponseType
	PUBLIC  UpdateEndpointResponseType
}

func GetUpdateEndpointResponseTypeEnum added in v0.1.3

func GetUpdateEndpointResponseTypeEnum() UpdateEndpointResponseTypeEnum

type UpdateEventSchemaRequest added in v0.1.3

type UpdateEventSchemaRequest struct {

	// 指定查询的事件模型ID
	SchemaId string `json:"schema_id"`

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

Request Object

func (UpdateEventSchemaRequest) String added in v0.1.3

func (o UpdateEventSchemaRequest) String() string

type UpdateEventSchemaResponse added in v0.1.3

type UpdateEventSchemaResponse struct {

	// 事件模型ID
	Id *string `json:"id,omitempty"`

	// 事件模型名称,租户下唯一
	Name *string `json:"name,omitempty"`

	// 事件模型描述
	Description *string `json:"description,omitempty"`

	// 事件模型兼容性
	Compatibility *UpdateEventSchemaResponseCompatibility `json:"compatibility,omitempty"`

	// 提供方类型,OFFICIAL:官方事件源;CUSTOM:自定义事件源
	ProviderType *UpdateEventSchemaResponseProviderType `json:"provider_type,omitempty"`

	// 事件模型格式
	Format *string `json:"format,omitempty"`

	// 事件模型版本数
	NumberOfVersions *int32 `json:"number_of_versions,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 事件示例
	DataSample *string `json:"data_sample,omitempty"`

	// 事件模型当前版本号
	Version *int32 `json:"version,omitempty"`

	// 事件模型内容定义
	Definition *string `json:"definition,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateEventSchemaResponse) String added in v0.1.3

func (o UpdateEventSchemaResponse) String() string

type UpdateEventSchemaResponseCompatibility added in v0.1.3

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

func (UpdateEventSchemaResponseCompatibility) MarshalJSON added in v0.1.3

func (c UpdateEventSchemaResponseCompatibility) MarshalJSON() ([]byte, error)

func (*UpdateEventSchemaResponseCompatibility) UnmarshalJSON added in v0.1.3

func (c *UpdateEventSchemaResponseCompatibility) UnmarshalJSON(b []byte) error

func (UpdateEventSchemaResponseCompatibility) Value added in v0.1.3

type UpdateEventSchemaResponseCompatibilityEnum added in v0.1.3

func GetUpdateEventSchemaResponseCompatibilityEnum added in v0.1.3

func GetUpdateEventSchemaResponseCompatibilityEnum() UpdateEventSchemaResponseCompatibilityEnum

type UpdateEventSchemaResponseProviderType added in v0.1.3

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

func (UpdateEventSchemaResponseProviderType) MarshalJSON added in v0.1.3

func (c UpdateEventSchemaResponseProviderType) MarshalJSON() ([]byte, error)

func (*UpdateEventSchemaResponseProviderType) UnmarshalJSON added in v0.1.3

func (c *UpdateEventSchemaResponseProviderType) UnmarshalJSON(b []byte) error

func (UpdateEventSchemaResponseProviderType) Value added in v0.1.3

type UpdateEventSchemaResponseProviderTypeEnum added in v0.1.3

type UpdateEventSchemaResponseProviderTypeEnum struct {
	OFFICIAL UpdateEventSchemaResponseProviderType
	CUSTOM   UpdateEventSchemaResponseProviderType
}

func GetUpdateEventSchemaResponseProviderTypeEnum added in v0.1.3

func GetUpdateEventSchemaResponseProviderTypeEnum() UpdateEventSchemaResponseProviderTypeEnum

type UpdateEventSourceRequest

type UpdateEventSourceRequest struct {

	// 指定查询的事件源ID
	SourceId string `json:"source_id"`

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

Request Object

func (UpdateEventSourceRequest) String

func (o UpdateEventSourceRequest) String() string

type UpdateEventSourceResponse

type UpdateEventSourceResponse struct {

	// 事件源ID
	Id *string `json:"id,omitempty"`

	// 事件源名称
	Name *string `json:"name,omitempty"`

	// 事件源名称展示
	Label *string `json:"label,omitempty"`

	// 事件源描述
	Description *string `json:"description,omitempty"`

	// 事件源提供方类型,OFFICIAL:官方云服务事件源;CUSTOM:用户创建的自定义事件源
	ProviderType *UpdateEventSourceResponseProviderType `json:"provider_type,omitempty"`

	// 事件源提供的事件类型列表,只有官方云服务事件源提供事件类型
	EventTypes *[]CustomizeSourceInfoEventTypes `json:"event_types,omitempty"`

	// 创建UTC时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新UTC时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	// 事件源归属的事件通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 事件源归属的事件通道名称
	ChannelName *string `json:"channel_name,omitempty"`

	// 事件源类型
	Type *string `json:"type,omitempty"`

	// json格式封装消息实例链接信息:如RabbitMQ实例的instance_id字段、虚拟主机vhost字段、队列queue字段、用户名、密码等
	Detail *interface{} `json:"detail,omitempty"`

	// 自定义事件源状态
	Status *UpdateEventSourceResponseStatus `json:"status,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateEventSourceResponse) String

func (o UpdateEventSourceResponse) String() string

type UpdateEventSourceResponseProviderType

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

func (UpdateEventSourceResponseProviderType) MarshalJSON

func (c UpdateEventSourceResponseProviderType) MarshalJSON() ([]byte, error)

func (*UpdateEventSourceResponseProviderType) UnmarshalJSON

func (c *UpdateEventSourceResponseProviderType) UnmarshalJSON(b []byte) error

func (UpdateEventSourceResponseProviderType) Value

type UpdateEventSourceResponseProviderTypeEnum

type UpdateEventSourceResponseProviderTypeEnum struct {
	OFFICIAL UpdateEventSourceResponseProviderType
	CUSTOM   UpdateEventSourceResponseProviderType
}

func GetUpdateEventSourceResponseProviderTypeEnum

func GetUpdateEventSourceResponseProviderTypeEnum() UpdateEventSourceResponseProviderTypeEnum

type UpdateEventSourceResponseStatus added in v0.1.3

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

func (UpdateEventSourceResponseStatus) MarshalJSON added in v0.1.3

func (c UpdateEventSourceResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateEventSourceResponseStatus) UnmarshalJSON added in v0.1.3

func (c *UpdateEventSourceResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateEventSourceResponseStatus) Value added in v0.1.3

type UpdateEventSourceResponseStatusEnum added in v0.1.3

type UpdateEventSourceResponseStatusEnum struct {
	CREATE_FAILED UpdateEventSourceResponseStatus
	RUNNING       UpdateEventSourceResponseStatus
	ERROR         UpdateEventSourceResponseStatus
}

func GetUpdateEventSourceResponseStatusEnum added in v0.1.3

func GetUpdateEventSourceResponseStatusEnum() UpdateEventSourceResponseStatusEnum

type UpdateSubscriptionRequest

type UpdateSubscriptionRequest struct {

	// 事件订阅ID
	SubscriptionId string `json:"subscription_id"`

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

Request Object

func (UpdateSubscriptionRequest) String

func (o UpdateSubscriptionRequest) String() string

type UpdateSubscriptionResponse

type UpdateSubscriptionResponse struct {

	// 订阅ID
	Id *string `json:"id,omitempty"`

	// 订阅名称
	Name *string `json:"name,omitempty"`

	// 订阅描述
	Description *string `json:"description,omitempty"`

	// 类型
	Type *UpdateSubscriptionResponseType `json:"type,omitempty"`

	// 状态
	Status *UpdateSubscriptionResponseStatus `json:"status,omitempty"`

	// 通道ID
	ChannelId *string `json:"channel_id,omitempty"`

	// 通道名称
	ChannelName *string `json:"channel_name,omitempty"`

	// 订阅源列表
	Sources *[]SubscriptionSourceInfo `json:"sources,omitempty"`

	// 订阅目标列表
	Targets *[]SubscriptionTargetInfo `json:"targets,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateSubscriptionResponse) String

type UpdateSubscriptionResponseStatus

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

func (UpdateSubscriptionResponseStatus) MarshalJSON

func (c UpdateSubscriptionResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateSubscriptionResponseStatus) UnmarshalJSON

func (c *UpdateSubscriptionResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateSubscriptionResponseStatus) Value

type UpdateSubscriptionResponseType

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

func (UpdateSubscriptionResponseType) MarshalJSON

func (c UpdateSubscriptionResponseType) MarshalJSON() ([]byte, error)

func (*UpdateSubscriptionResponseType) UnmarshalJSON

func (c *UpdateSubscriptionResponseType) UnmarshalJSON(b []byte) error

func (UpdateSubscriptionResponseType) Value

type UpdateSubscriptionResponseTypeEnum

type UpdateSubscriptionResponseTypeEnum struct {
	EVENT     UpdateSubscriptionResponseType
	SCHEDULED UpdateSubscriptionResponseType
}

func GetUpdateSubscriptionResponseTypeEnum

func GetUpdateSubscriptionResponseTypeEnum() UpdateSubscriptionResponseTypeEnum

type UpdateSubscriptionSourceRequest

type UpdateSubscriptionSourceRequest struct {

	// 事件订阅ID
	SubscriptionId string `json:"subscription_id"`

	// 事件订阅源ID
	SourceId string `json:"source_id"`

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

Request Object

func (UpdateSubscriptionSourceRequest) String

type UpdateSubscriptionSourceResponse

type UpdateSubscriptionSourceResponse struct {

	// 订阅源ID
	Id *string `json:"id,omitempty"`

	// 订阅的事件源名称
	Name *string `json:"name,omitempty"`

	// 订阅的事件源的提供方类型
	ProviderType *string `json:"provider_type,omitempty"`

	// 订阅的事件源参数列表
	Detail *interface{} `json:"detail,omitempty"`

	// 订阅事件源的匹配过滤规则
	Filter *interface{} `json:"filter,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateSubscriptionSourceResponse) String

type UpdateSubscriptionTargetRequest

type UpdateSubscriptionTargetRequest struct {

	// 事件订阅ID
	SubscriptionId string `json:"subscription_id"`

	// 事件订阅目标ID
	TargetId string `json:"target_id"`

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

Request Object

func (UpdateSubscriptionTargetRequest) String

type UpdateSubscriptionTargetResponse

type UpdateSubscriptionTargetResponse struct {

	// 订阅目标ID
	Id *string `json:"id,omitempty"`

	// 订阅的事件目标名称
	Name *string `json:"name,omitempty"`

	// 订阅的事件目标的提供方类型
	ProviderType *string `json:"provider_type,omitempty"`

	// 订阅的事件目标使用的目标链接ID
	ConnectionId *string `json:"connection_id,omitempty"`

	// 订阅的事件目标参数列表
	Detail *interface{} `json:"detail,omitempty"`

	Transform *SubscriptionTargetInfoTransform `json:"transform,omitempty"`

	// 创建时间
	CreatedTime *string `json:"created_time,omitempty"`

	// 更新时间
	UpdatedTime *string `json:"updated_time,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateSubscriptionTargetResponse) String

Source Files

Jump to

Keyboard shortcuts

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