model

package
v0.1.53 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AclApiBindingCreate

type AclApiBindingCreate struct {

	// ACL策略编号
	AclId string `json:"acl_id"`

	// API发布记录编号
	PublishIds []string `json:"publish_ids"`
}

func (AclApiBindingCreate) String

func (o AclApiBindingCreate) String() string

type AclApiBindingInfo

type AclApiBindingInfo struct {

	// 绑定关系编号
	Id *string `json:"id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// ACL策略编号
	AclId *string `json:"acl_id,omitempty"`

	// 绑定时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

func (AclApiBindingInfo) String

func (o AclApiBindingInfo) String() string

type AclBatchDelete

type AclBatchDelete struct {

	// 需要删除的ACL策略ID列表
	Acls *[]string `json:"acls,omitempty"`
}

func (AclBatchDelete) String

func (o AclBatchDelete) String() string

type AclBatchFailure

type AclBatchFailure struct {

	// 删除失败的ACL策略ID
	AclId *string `json:"acl_id,omitempty"`

	// 删除失败的ACL策略名称
	AclName *string `json:"acl_name,omitempty"`

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

	// 删除失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`
}

func (AclBatchFailure) String

func (o AclBatchFailure) String() string

type AclBindApiInfo

type AclBindApiInfo struct {

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API分组名称
	GroupName *string `json:"group_name,omitempty"`

	// API类型
	ApiType *int32 `json:"api_type,omitempty"`

	// API的描述信息
	ApiRemark *string `json:"api_remark,omitempty"`

	// 生效的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 生效的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 绑定关系编号
	BindId *string `json:"bind_id,omitempty"`

	// 绑定时间
	BindTime *sdktime.SdkTime `json:"bind_time,omitempty"`

	// API发布记录编号
	PublishId *string `json:"publish_id,omitempty"`
}

func (AclBindApiInfo) String

func (o AclBindApiInfo) String() string

type AclBindingBatchDelete

type AclBindingBatchDelete struct {

	// 需要解除绑定的API和ACL绑定关系ID列表
	AclBindings *[]string `json:"acl_bindings,omitempty"`
}

func (AclBindingBatchDelete) String

func (o AclBindingBatchDelete) String() string

type AclBindingBatchFailure

type AclBindingBatchFailure struct {

	// 解除绑定失败的API和ACL绑定关系ID
	BindId *string `json:"bind_id,omitempty"`

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

	// 解除绑定失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 解除绑定失败的API的ID
	ApiId *string `json:"api_id,omitempty"`

	// 解除绑定失败的API的名称
	ApiName *string `json:"api_name,omitempty"`
}

func (AclBindingBatchFailure) String

func (o AclBindingBatchFailure) String() string

type AddSubsetsToGatewayRequest

type AddSubsetsToGatewayRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`

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

AddSubsetsToGatewayRequest Request Object

func (AddSubsetsToGatewayRequest) String

type AddSubsetsToGatewayRequestBody

type AddSubsetsToGatewayRequestBody struct {

	// 待添加子设备ID列表,且设备需是普通设备,自动向下取整
	Resources []int32 `json:"resources"`
}

func (AddSubsetsToGatewayRequestBody) String

type AddSubsetsToGatewayResponse

type AddSubsetsToGatewayResponse struct {
	Body           *[]AddSubsetsToGatewayResponseBody `json:"body,omitempty"`
	HttpStatusCode int                                `json:"-"`
}

AddSubsetsToGatewayResponse Response Object

func (AddSubsetsToGatewayResponse) String

type AddSubsetsToGatewayResponseBody added in v0.1.11

type AddSubsetsToGatewayResponseBody struct {

	// 设备ID
	Id *int32 `json:"id,omitempty"`

	// 设备ID(兼容20.0)
	DeviceId *int32 `json:"device_id,omitempty"`

	// 父设备ID
	ParentDeviceId *int32 `json:"parent_device_id,omitempty"`

	Product *ProductReferer `json:"product,omitempty"`

	// 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64
	DeviceName *string `json:"device_name,omitempty"`

	// 实例id
	InstanceId *string `json:"instance_id,omitempty"`

	// 设备客户端ID,平台生成的设备唯一标识
	ClientId *string `json:"client_id,omitempty"`

	// 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64
	NodeId *string `json:"node_id,omitempty"`

	// 设备状态 0-启用 1-禁用
	Status *AddSubsetsToGatewayResponseBodyStatus `json:"status,omitempty"`

	// 是否在线 0-未连接 1-在线 2-离线
	OnlineStatus *AddSubsetsToGatewayResponseBodyOnlineStatus `json:"online_status,omitempty"`

	// 备注
	Description *string `json:"description,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`
}

func (AddSubsetsToGatewayResponseBody) String added in v0.1.11

type AddSubsetsToGatewayResponseBodyOnlineStatus added in v0.1.11

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

func (AddSubsetsToGatewayResponseBodyOnlineStatus) MarshalJSON added in v0.1.11

func (*AddSubsetsToGatewayResponseBodyOnlineStatus) UnmarshalJSON added in v0.1.11

func (AddSubsetsToGatewayResponseBodyOnlineStatus) Value added in v0.1.11

type AddSubsetsToGatewayResponseBodyOnlineStatusEnum added in v0.1.11

func GetAddSubsetsToGatewayResponseBodyOnlineStatusEnum added in v0.1.11

func GetAddSubsetsToGatewayResponseBodyOnlineStatusEnum() AddSubsetsToGatewayResponseBodyOnlineStatusEnum

type AddSubsetsToGatewayResponseBodyStatus added in v0.1.11

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

func (AddSubsetsToGatewayResponseBodyStatus) MarshalJSON added in v0.1.11

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

func (*AddSubsetsToGatewayResponseBodyStatus) UnmarshalJSON added in v0.1.11

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

func (AddSubsetsToGatewayResponseBodyStatus) Value added in v0.1.11

type AddSubsetsToGatewayResponseBodyStatusEnum added in v0.1.11

type AddSubsetsToGatewayResponseBodyStatusEnum struct {
	E_0 AddSubsetsToGatewayResponseBodyStatus
	E_1 AddSubsetsToGatewayResponseBodyStatus
}

func GetAddSubsetsToGatewayResponseBodyStatusEnum added in v0.1.11

func GetAddSubsetsToGatewayResponseBodyStatusEnum() AddSubsetsToGatewayResponseBodyStatusEnum

type AddUserToApp

type AddUserToApp struct {

	// 要添加的用户成员列表,空列表时代表清空应用的所有成员
	Users *[]User `json:"users,omitempty"`
}

func (AddUserToApp) String

func (o AddUserToApp) String() string

type AddUserToAppRequest

type AddUserToAppRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`

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

AddUserToAppRequest Request Object

func (AddUserToAppRequest) String

func (o AddUserToAppRequest) String() string

type AddUserToAppResponse

type AddUserToAppResponse struct {

	// 应用的总成员数量
	Total *int32 `json:"total,omitempty"`

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 用户成员列表
	Users          *[]AppUsersUsers `json:"users,omitempty"`
	HttpStatusCode int              `json:"-"`
}

AddUserToAppResponse Response Object

func (AddUserToAppResponse) String

func (o AddUserToAppResponse) String() string

type AddingBackendInstancesV2Request

type AddingBackendInstancesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

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

AddingBackendInstancesV2Request Request Object

func (AddingBackendInstancesV2Request) String

type AddingBackendInstancesV2Response

type AddingBackendInstancesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的云服务器列表
	Members        *[]VpcMemberInfo `json:"members,omitempty"`
	HttpStatusCode int              `json:"-"`
}

AddingBackendInstancesV2Response Response Object

func (AddingBackendInstancesV2Response) String

type ApiAclCreate

type ApiAclCreate struct {

	// ACL策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	AclName string `json:"acl_name"`

	// 类型 -  PERMIT (白名单类型) -  DENY (黑名单类型)
	AclType string `json:"acl_type"`

	// ACL策略值,支持一个或多个值,使用英文半角逗号分隔
	AclValue string `json:"acl_value"`

	// 对象类型: - IP - DOMAIN
	EntityType string `json:"entity_type"`
}

func (ApiAclCreate) String

func (o ApiAclCreate) String() string

type ApiAclInfoWithBindNum

type ApiAclInfoWithBindNum struct {

	// ACL策略名称
	AclName *string `json:"acl_name,omitempty"`

	// 类型 - PERMIT(白名单类型) - DENY(黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// ACL策略的值
	AclValue *string `json:"acl_value,omitempty"`

	// 绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 对象类型 - IP - DOMAIN
	EntityType *string `json:"entity_type,omitempty"`

	// ACL策略编号
	Id *string `json:"id,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

func (ApiAclInfoWithBindNum) String

func (o ApiAclInfoWithBindNum) String() string

type ApiActionInfo

type ApiActionInfo struct {

	// 需要进行的操作。 - online:发布 - offline:下线
	Action ApiActionInfoAction `json:"action"`

	// API的编号,即:需要进行发布或下线的API的编号
	ApiId string `json:"api_id"`

	// 环境的编号,即:API需要发布到哪个环境
	EnvId string `json:"env_id"`

	// 对发布动作的简述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (ApiActionInfo) String

func (o ApiActionInfo) String() string

type ApiActionInfoAction

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

func (ApiActionInfoAction) MarshalJSON

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

func (*ApiActionInfoAction) UnmarshalJSON

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

func (ApiActionInfoAction) Value added in v0.0.90

func (c ApiActionInfoAction) Value() string

type ApiActionInfoActionEnum

type ApiActionInfoActionEnum struct {
	ONLINE  ApiActionInfoAction
	OFFLINE ApiActionInfoAction
}

func GetApiActionInfoActionEnum

func GetApiActionInfoActionEnum() ApiActionInfoActionEnum

type ApiAuthBase

type ApiAuthBase struct {

	// 授权关系编号
	Id *string `json:"id,omitempty"`

	// API的编号
	ApiId *string `json:"api_id,omitempty"`

	// API的名称
	ApiName *string `json:"api_name,omitempty"`

	// API绑定的分组名称
	GroupName *string `json:"group_name,omitempty"`

	// API类型
	ApiType *int32 `json:"api_type,omitempty"`

	// API的描述信息
	ApiRemark *string `json:"api_remark,omitempty"`

	// api授权绑定的环境ID
	EnvId *string `json:"env_id,omitempty"`

	// 授权者
	AuthRole *string `json:"auth_role,omitempty"`

	// 授权创建的时间
	AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"`

	// APP的名称
	AppName *string `json:"app_name,omitempty"`

	// APP的描述
	AppRemark *string `json:"app_remark,omitempty"`

	// APP的类型: - apig:存量apic客户端,新建实例不支持此类型 - roma:roma集成客户端
	AppType *ApiAuthBaseAppType `json:"app_type,omitempty"`

	// APP的创建者,取值如下: - USER:租户自己创建 - MARKET:API市场分配,暂不支持
	AppCreator *string `json:"app_creator,omitempty"`

	// API的发布编号
	PublishId *string `json:"publish_id,omitempty"`

	// API绑定的分组ID
	GroupId *string `json:"group_id,omitempty"`

	// 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道
	AuthTunnel *ApiAuthBaseAuthTunnel `json:"auth_tunnel,omitempty"`

	// 绿色通道的白名单配置
	AuthWhitelist *[]string `json:"auth_whitelist,omitempty"`

	// 绿色通道的黑名单配置
	AuthBlacklist *[]string `json:"auth_blacklist,omitempty"`

	// 访问参数。
	VisitParam *string `json:"visit_param,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用
	RomaAppType *string `json:"roma_app_type,omitempty"`
}

func (ApiAuthBase) String

func (o ApiAuthBase) String() string

type ApiAuthBaseAppType

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

func (ApiAuthBaseAppType) MarshalJSON

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

func (*ApiAuthBaseAppType) UnmarshalJSON

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

func (ApiAuthBaseAppType) Value added in v0.0.90

func (c ApiAuthBaseAppType) Value() string

type ApiAuthBaseAppTypeEnum

type ApiAuthBaseAppTypeEnum struct {
	APIG ApiAuthBaseAppType
	ROMA ApiAuthBaseAppType
}

func GetApiAuthBaseAppTypeEnum

func GetApiAuthBaseAppTypeEnum() ApiAuthBaseAppTypeEnum

type ApiAuthBaseAuthTunnel

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

func (ApiAuthBaseAuthTunnel) MarshalJSON

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

func (*ApiAuthBaseAuthTunnel) UnmarshalJSON

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

func (ApiAuthBaseAuthTunnel) Value added in v0.0.90

func (c ApiAuthBaseAuthTunnel) Value() string

type ApiAuthBaseAuthTunnelEnum

type ApiAuthBaseAuthTunnelEnum struct {
	NORMAL ApiAuthBaseAuthTunnel
	GREEN  ApiAuthBaseAuthTunnel
}

func GetApiAuthBaseAuthTunnelEnum

func GetApiAuthBaseAuthTunnelEnum() ApiAuthBaseAuthTunnelEnum

type ApiAuthCreate

type ApiAuthCreate struct {

	// 需要授权的环境编号
	EnvId string `json:"env_id"`

	// APP的编号列表
	AppIds []string `json:"app_ids"`

	// API的编号列表。
	ApiIds []string `json:"api_ids"`

	// 授权通道类型: - GREEN:绿色通道 - NORMAL:非绿色通道  实例开启green_tunnel特性时可以开启绿色通道,此字段不填默认为不使用绿色通道
	AuthTunnel *string `json:"auth_tunnel,omitempty"`

	// 绿色通道授权白名单。  允许白名单中的IP不使用认证信息访问,auth_tunnel = GREEN时生效
	AuthWhitelist *[]string `json:"auth_whitelist,omitempty"`

	// 绿色通道授权黑名单。  auth_tunnel = GREEN时生效
	AuthBlacklist *[]string `json:"auth_blacklist,omitempty"`

	// 访问参数列表。
	VisitParams *[]ApiAuthVisitParam `json:"visit_params,omitempty"`
}

func (ApiAuthCreate) String

func (o ApiAuthCreate) String() string

type ApiAuthDetail

type ApiAuthDetail struct {

	// 访问API服务的认证方式 - none - basicauth - oauth2.0 - hmac - secret - md5 - apiGateway - keyTop - hikVision - huaweiNetworkManagement - liHe
	AuthMethod *ApiAuthDetailAuthMethod `json:"auth_method,omitempty"`

	// 访问API服务的APP认证方式,认证方式为(apiGateway)时填写 - default - secret - jwt
	AppAuthType *ApiAuthDetailAppAuthType `json:"app_auth_type,omitempty"`

	// 访问API服务的用户名 - 认证方式为(lihe、huaweiNetworkManagement、basicauth)时填写
	UserName *string `json:"user_name,omitempty"`

	// 访问API服务的密码 - 认证方式为(lihe、huaweiNetworkManagement、basicauth、secret、md5、hmac)时填写
	Password *string `json:"password,omitempty"`

	// 访问API服务的AppKey - 认证方式为(apiGateway、oauth2.0)时填写
	AppKey *string `json:"app_key,omitempty"`

	// 访问API服务的AppSecret - 认证方式为(apiGateway、oauth2.0)时填写
	AppSecret *string `json:"app_secret,omitempty"`

	// 访问API服务的Secret - 认证方式为(KeyTop、HikVision、Secret、HMAC、MD5)时填写
	Secret *string `json:"secret,omitempty"`

	// 访问API服务的备用IP - 认证方式为(HuaweiNetworkManagement)时填写
	AltIp *string `json:"alt_ip,omitempty"`

	// 访问API服务的AccessTokenUrl - 认证方式为(liHe、oauth2.0 huaweiNetworkManagement)时填写
	AccessTokenUrl *string `json:"access_token_url,omitempty"`

	// 访问API服务的客户端标识 - 认证方式为Oauth2时填写
	ClientId *string `json:"client_id,omitempty"`

	// 访问API服务的客户端密钥 - 认证方式为Oauth2时填写
	ClientSecret *string `json:"client_secret,omitempty"`

	// 访问API服务的Scope - 认证方式为(LiHe、Oauth2)时填写
	Scope *string `json:"scope,omitempty"`

	// 访问API服务的Authorization - 认证方式为(LiHe)时填写
	Authorization *string `json:"authorization,omitempty"`

	// 访问API服务的授权类型 - 认证方式为(LiHe、Oauth2)时填写 - client_credentials (oauth2.0使用)
	GrantType *string `json:"grant_type,omitempty"`
}

ApiAuthDetail api鉴权字段

func (ApiAuthDetail) String

func (o ApiAuthDetail) String() string

type ApiAuthDetailAppAuthType

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

func (ApiAuthDetailAppAuthType) MarshalJSON

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

func (*ApiAuthDetailAppAuthType) UnmarshalJSON

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

func (ApiAuthDetailAppAuthType) Value added in v0.0.90

func (c ApiAuthDetailAppAuthType) Value() string

type ApiAuthDetailAppAuthTypeEnum

type ApiAuthDetailAppAuthTypeEnum struct {
	DEFAULT ApiAuthDetailAppAuthType
	SECRET  ApiAuthDetailAppAuthType
	JWT     ApiAuthDetailAppAuthType
}

func GetApiAuthDetailAppAuthTypeEnum

func GetApiAuthDetailAppAuthTypeEnum() ApiAuthDetailAppAuthTypeEnum

type ApiAuthDetailAuthMethod

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

func (ApiAuthDetailAuthMethod) MarshalJSON

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

func (*ApiAuthDetailAuthMethod) UnmarshalJSON

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

func (ApiAuthDetailAuthMethod) Value added in v0.0.90

func (c ApiAuthDetailAuthMethod) Value() string

type ApiAuthInfo

type ApiAuthInfo struct {

	// 授权关系编号
	Id *string `json:"id,omitempty"`

	// API的编号
	ApiId *string `json:"api_id,omitempty"`

	// API的名称
	ApiName *string `json:"api_name,omitempty"`

	// API绑定的分组名称
	GroupName *string `json:"group_name,omitempty"`

	// API类型
	ApiType *int32 `json:"api_type,omitempty"`

	// API的描述信息
	ApiRemark *string `json:"api_remark,omitempty"`

	// api授权绑定的环境ID
	EnvId *string `json:"env_id,omitempty"`

	// 授权者
	AuthRole *string `json:"auth_role,omitempty"`

	// 授权创建的时间
	AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"`

	// APP的名称
	AppName *string `json:"app_name,omitempty"`

	// APP的描述
	AppRemark *string `json:"app_remark,omitempty"`

	// APP的类型: - apig:存量apic客户端,新建实例不支持此类型 - roma:roma集成客户端
	AppType *ApiAuthInfoAppType `json:"app_type,omitempty"`

	// APP的创建者,取值如下: - USER:租户自己创建 - MARKET:API市场分配,暂不支持
	AppCreator *string `json:"app_creator,omitempty"`

	// API的发布编号
	PublishId *string `json:"publish_id,omitempty"`

	// API绑定的分组ID
	GroupId *string `json:"group_id,omitempty"`

	// 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道
	AuthTunnel *ApiAuthInfoAuthTunnel `json:"auth_tunnel,omitempty"`

	// 绿色通道的白名单配置
	AuthWhitelist *[]string `json:"auth_whitelist,omitempty"`

	// 绿色通道的黑名单配置
	AuthBlacklist *[]string `json:"auth_blacklist,omitempty"`

	// 访问参数。
	VisitParam *string `json:"visit_param,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用
	RomaAppType *string `json:"roma_app_type,omitempty"`

	// api授权绑定的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// APP的编号
	AppId *string `json:"app_id,omitempty"`
}

func (ApiAuthInfo) String

func (o ApiAuthInfo) String() string

type ApiAuthInfoAppType

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

func (ApiAuthInfoAppType) MarshalJSON

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

func (*ApiAuthInfoAppType) UnmarshalJSON

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

func (ApiAuthInfoAppType) Value added in v0.0.90

func (c ApiAuthInfoAppType) Value() string

type ApiAuthInfoAppTypeEnum

type ApiAuthInfoAppTypeEnum struct {
	APIG ApiAuthInfoAppType
	ROMA ApiAuthInfoAppType
}

func GetApiAuthInfoAppTypeEnum

func GetApiAuthInfoAppTypeEnum() ApiAuthInfoAppTypeEnum

type ApiAuthInfoAuthTunnel

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

func (ApiAuthInfoAuthTunnel) MarshalJSON

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

func (*ApiAuthInfoAuthTunnel) UnmarshalJSON

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

func (ApiAuthInfoAuthTunnel) Value added in v0.0.90

func (c ApiAuthInfoAuthTunnel) Value() string

type ApiAuthInfoAuthTunnelEnum

type ApiAuthInfoAuthTunnelEnum struct {
	NORMAL ApiAuthInfoAuthTunnel
	GREEN  ApiAuthInfoAuthTunnel
}

func GetApiAuthInfoAuthTunnelEnum

func GetApiAuthInfoAuthTunnelEnum() ApiAuthInfoAuthTunnelEnum

type ApiAuthRelations

type ApiAuthRelations struct {

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	AuthResult *AuthResult `json:"auth_result,omitempty"`

	// 授权时间
	AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"`

	// 授权关系编号
	Id *string `json:"id,omitempty"`

	// APP编号
	AppId *string `json:"app_id,omitempty"`

	// 授权者 - PROVIDER:API提供者授权 - CONSUMER:API消费者授权
	AuthRole *ApiAuthRelationsAuthRole `json:"auth_role,omitempty"`

	// 授权通道类型: - GREEN:绿色通道 - NORMAL:非绿色通道  此字段不填默认为不使用绿色通道
	AuthTunnel *string `json:"auth_tunnel,omitempty"`

	// 绿色通道授权白名单。  允许白名单中的IP不使用认证信息访问
	AuthWhitelist *[]string `json:"auth_whitelist,omitempty"`

	// 绿色通道授权黑名单
	AuthBlacklist *[]string `json:"auth_blacklist,omitempty"`

	// 访问参数。
	VisitParams *string `json:"visit_params,omitempty"`
}

func (ApiAuthRelations) String

func (o ApiAuthRelations) String() string

type ApiAuthRelationsAuthRole

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

func (ApiAuthRelationsAuthRole) MarshalJSON

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

func (*ApiAuthRelationsAuthRole) UnmarshalJSON

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

func (ApiAuthRelationsAuthRole) Value added in v0.0.90

func (c ApiAuthRelationsAuthRole) Value() string

type ApiAuthRelationsAuthRoleEnum

type ApiAuthRelationsAuthRoleEnum struct {
	PROVIDER ApiAuthRelationsAuthRole
	CONSUMER ApiAuthRelationsAuthRole
}

func GetApiAuthRelationsAuthRoleEnum

func GetApiAuthRelationsAuthRoleEnum() ApiAuthRelationsAuthRoleEnum

type ApiAuthVisitParam

type ApiAuthVisitParam struct {

	// 需要授权的API编号
	ApiId string `json:"api_id"`

	// 需要授权的APP编号
	AppId *string `json:"app_id,omitempty"`

	// 访问参数  支持英文、数字、下划线和中划线,多个参数以英文格式下的逗号隔开,单个参数须以英文或数字结尾且不能重复,且单个参数长度不超过255个字符。
	VisitParam string `json:"visit_param"`
}

func (ApiAuthVisitParam) String

func (o ApiAuthVisitParam) String() string

type ApiBaseInfo

type ApiBaseInfo struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ApiBaseInfoType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiBaseInfoReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiBaseInfoReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiBaseInfoAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiBaseInfoMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiBaseInfoBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ApiBaseInfoContentType `json:"content_type,omitempty"`
}

func (ApiBaseInfo) String

func (o ApiBaseInfo) String() string

type ApiBaseInfoAuthType

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

func (ApiBaseInfoAuthType) MarshalJSON

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

func (*ApiBaseInfoAuthType) UnmarshalJSON

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

func (ApiBaseInfoAuthType) Value added in v0.0.90

func (c ApiBaseInfoAuthType) Value() string

type ApiBaseInfoAuthTypeEnum

type ApiBaseInfoAuthTypeEnum struct {
	NONE       ApiBaseInfoAuthType
	APP        ApiBaseInfoAuthType
	IAM        ApiBaseInfoAuthType
	AUTHORIZER ApiBaseInfoAuthType
}

func GetApiBaseInfoAuthTypeEnum

func GetApiBaseInfoAuthTypeEnum() ApiBaseInfoAuthTypeEnum

type ApiBaseInfoBackendType

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

func (ApiBaseInfoBackendType) MarshalJSON

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

func (*ApiBaseInfoBackendType) UnmarshalJSON

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

func (ApiBaseInfoBackendType) Value added in v0.0.90

func (c ApiBaseInfoBackendType) Value() string

type ApiBaseInfoBackendTypeEnum

type ApiBaseInfoBackendTypeEnum struct {
	HTTP     ApiBaseInfoBackendType
	FUNCTION ApiBaseInfoBackendType
	MOCK     ApiBaseInfoBackendType
}

func GetApiBaseInfoBackendTypeEnum

func GetApiBaseInfoBackendTypeEnum() ApiBaseInfoBackendTypeEnum

type ApiBaseInfoContentType

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

func (ApiBaseInfoContentType) MarshalJSON

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

func (*ApiBaseInfoContentType) UnmarshalJSON

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

func (ApiBaseInfoContentType) Value added in v0.0.90

func (c ApiBaseInfoContentType) Value() string

type ApiBaseInfoContentTypeEnum

type ApiBaseInfoContentTypeEnum struct {
	APPLICATION_JSON    ApiBaseInfoContentType
	APPLICATION_XML     ApiBaseInfoContentType
	MULTIPART_FORM_DATE ApiBaseInfoContentType
	TEXT_PLAIN          ApiBaseInfoContentType
}

func GetApiBaseInfoContentTypeEnum

func GetApiBaseInfoContentTypeEnum() ApiBaseInfoContentTypeEnum

type ApiBaseInfoMatchMode

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

func (ApiBaseInfoMatchMode) MarshalJSON

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

func (*ApiBaseInfoMatchMode) UnmarshalJSON

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

func (ApiBaseInfoMatchMode) Value added in v0.0.90

func (c ApiBaseInfoMatchMode) Value() string

type ApiBaseInfoMatchModeEnum

type ApiBaseInfoMatchModeEnum struct {
	SWA    ApiBaseInfoMatchMode
	NORMAL ApiBaseInfoMatchMode
}

func GetApiBaseInfoMatchModeEnum

func GetApiBaseInfoMatchModeEnum() ApiBaseInfoMatchModeEnum

type ApiBaseInfoReqMethod

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

func (ApiBaseInfoReqMethod) MarshalJSON

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

func (*ApiBaseInfoReqMethod) UnmarshalJSON

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

func (ApiBaseInfoReqMethod) Value added in v0.0.90

func (c ApiBaseInfoReqMethod) Value() string

type ApiBaseInfoReqProtocol

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

func (ApiBaseInfoReqProtocol) MarshalJSON

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

func (*ApiBaseInfoReqProtocol) UnmarshalJSON

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

func (ApiBaseInfoReqProtocol) Value added in v0.0.90

func (c ApiBaseInfoReqProtocol) Value() string

type ApiBaseInfoReqProtocolEnum

type ApiBaseInfoReqProtocolEnum struct {
	HTTP  ApiBaseInfoReqProtocol
	HTTPS ApiBaseInfoReqProtocol
	BOTH  ApiBaseInfoReqProtocol
}

func GetApiBaseInfoReqProtocolEnum

func GetApiBaseInfoReqProtocolEnum() ApiBaseInfoReqProtocolEnum

type ApiBaseInfoType

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

func (ApiBaseInfoType) MarshalJSON

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

func (*ApiBaseInfoType) UnmarshalJSON

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

func (ApiBaseInfoType) Value added in v0.0.90

func (c ApiBaseInfoType) Value() int32

type ApiBaseInfoTypeEnum

type ApiBaseInfoTypeEnum struct {
	E_1 ApiBaseInfoType
	E_2 ApiBaseInfoType
}

func GetApiBaseInfoTypeEnum

func GetApiBaseInfoTypeEnum() ApiBaseInfoTypeEnum

type ApiBatchPublish

type ApiBatchPublish struct {

	// 需要发布或下线的API ID列表
	Apis *[]string `json:"apis,omitempty"`

	// 环境ID
	EnvId string `json:"env_id"`

	// 对本次发布的描述信息  字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (ApiBatchPublish) String

func (o ApiBatchPublish) String() string

type ApiBindAclInfo

type ApiBindAclInfo struct {

	// ACL策略编号
	AclId *string `json:"acl_id,omitempty"`

	// ACL策略名称
	AclName *string `json:"acl_name,omitempty"`

	// ACL策略作用的对象类型
	EntityType *ApiBindAclInfoEntityType `json:"entity_type,omitempty"`

	// ACL策略类型 - PERMIT:白名单类型 - DENY:黑名单类型
	AclType *ApiBindAclInfoAclType `json:"acl_type,omitempty"`

	// ACL策略值
	AclValue *string `json:"acl_value,omitempty"`

	// 生效的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 生效的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 绑定关系编号
	BindId *string `json:"bind_id,omitempty"`

	// 绑定时间
	BindTime *sdktime.SdkTime `json:"bind_time,omitempty"`
}

func (ApiBindAclInfo) String

func (o ApiBindAclInfo) String() string

type ApiBindAclInfoAclType

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

func (ApiBindAclInfoAclType) MarshalJSON

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

func (*ApiBindAclInfoAclType) UnmarshalJSON

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

func (ApiBindAclInfoAclType) Value added in v0.0.90

func (c ApiBindAclInfoAclType) Value() string

type ApiBindAclInfoAclTypeEnum

type ApiBindAclInfoAclTypeEnum struct {
	PERMIT ApiBindAclInfoAclType
	DENY   ApiBindAclInfoAclType
}

func GetApiBindAclInfoAclTypeEnum

func GetApiBindAclInfoAclTypeEnum() ApiBindAclInfoAclTypeEnum

type ApiBindAclInfoEntityType

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

func (ApiBindAclInfoEntityType) MarshalJSON

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

func (*ApiBindAclInfoEntityType) UnmarshalJSON

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

func (ApiBindAclInfoEntityType) Value added in v0.0.90

func (c ApiBindAclInfoEntityType) Value() string

type ApiBindAclInfoEntityTypeEnum

type ApiBindAclInfoEntityTypeEnum struct {
	IP     ApiBindAclInfoEntityType
	DOMAIN ApiBindAclInfoEntityType
}

func GetApiBindAclInfoEntityTypeEnum

func GetApiBindAclInfoEntityTypeEnum() ApiBindAclInfoEntityTypeEnum

type ApiCheckInfo

type ApiCheckInfo struct {

	// API名称。  type = name时必填
	Name *string `json:"name,omitempty"`

	// 请求方式。  type = path时必填
	ReqMethod *ApiCheckInfoReqMethod `json:"req_method,omitempty"`

	// API的访问地址。  type = path时必填
	ReqUri *string `json:"req_uri,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配)  type = path时必填
	MatchMode *ApiCheckInfoMatchMode `json:"match_mode,omitempty"`

	// 分组ID。  校验分组下API定义是否重复时必填
	GroupId *string `json:"group_id,omitempty"`

	// 集成应用ID。  校验应用下API定义是否重复时必填
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 需要对比的API ID
	ApiId *string `json:"api_id,omitempty"`
}

func (ApiCheckInfo) String

func (o ApiCheckInfo) String() string

type ApiCheckInfoMatchMode

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

func (ApiCheckInfoMatchMode) MarshalJSON

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

func (*ApiCheckInfoMatchMode) UnmarshalJSON

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

func (ApiCheckInfoMatchMode) Value added in v0.0.90

func (c ApiCheckInfoMatchMode) Value() string

type ApiCheckInfoMatchModeEnum

type ApiCheckInfoMatchModeEnum struct {
	SWA    ApiCheckInfoMatchMode
	NORMAL ApiCheckInfoMatchMode
}

func GetApiCheckInfoMatchModeEnum

func GetApiCheckInfoMatchModeEnum() ApiCheckInfoMatchModeEnum

type ApiCheckInfoReqMethod

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

func (ApiCheckInfoReqMethod) MarshalJSON

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

func (*ApiCheckInfoReqMethod) UnmarshalJSON

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

func (ApiCheckInfoReqMethod) Value added in v0.0.90

func (c ApiCheckInfoReqMethod) Value() string

type ApiCheckInfoV2

type ApiCheckInfoV2 struct {

	// API名称。  type = name时必填
	Name *string `json:"name,omitempty"`

	// 请求方式。  type = path时必填
	ReqMethod *ApiCheckInfoV2ReqMethod `json:"req_method,omitempty"`

	// API的访问地址。  type = path时必填
	ReqUri *string `json:"req_uri,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配)  type = path时必填
	MatchMode *ApiCheckInfoV2MatchMode `json:"match_mode,omitempty"`

	// 分组ID。  校验分组下API定义是否重复时必填
	GroupId *string `json:"group_id,omitempty"`

	// 集成应用ID。  校验应用下API定义是否重复时必填
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 需要对比的API ID
	ApiId *string `json:"api_id,omitempty"`

	// 校验类型:   - path:路径类型   - name:名称类型
	Type *ApiCheckInfoV2Type `json:"type,omitempty"`
}

func (ApiCheckInfoV2) String

func (o ApiCheckInfoV2) String() string

type ApiCheckInfoV2MatchMode

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

func (ApiCheckInfoV2MatchMode) MarshalJSON

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

func (*ApiCheckInfoV2MatchMode) UnmarshalJSON

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

func (ApiCheckInfoV2MatchMode) Value added in v0.0.90

func (c ApiCheckInfoV2MatchMode) Value() string

type ApiCheckInfoV2MatchModeEnum

type ApiCheckInfoV2MatchModeEnum struct {
	SWA    ApiCheckInfoV2MatchMode
	NORMAL ApiCheckInfoV2MatchMode
}

func GetApiCheckInfoV2MatchModeEnum

func GetApiCheckInfoV2MatchModeEnum() ApiCheckInfoV2MatchModeEnum

type ApiCheckInfoV2ReqMethod

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

func (ApiCheckInfoV2ReqMethod) MarshalJSON

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

func (*ApiCheckInfoV2ReqMethod) UnmarshalJSON

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

func (ApiCheckInfoV2ReqMethod) Value added in v0.0.90

func (c ApiCheckInfoV2ReqMethod) Value() string

type ApiCheckInfoV2Type

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

func (ApiCheckInfoV2Type) MarshalJSON

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

func (*ApiCheckInfoV2Type) UnmarshalJSON

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

func (ApiCheckInfoV2Type) Value added in v0.0.90

func (c ApiCheckInfoV2Type) Value() string

type ApiCheckInfoV2TypeEnum

type ApiCheckInfoV2TypeEnum struct {
	PATH ApiCheckInfoV2Type
	NAME ApiCheckInfoV2Type
}

func GetApiCheckInfoV2TypeEnum

func GetApiCheckInfoV2TypeEnum() ApiCheckInfoV2TypeEnum

type ApiCommon

type ApiCommon struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ApiCommonType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiCommonReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiCommonReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiCommonAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiCommonMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiCommonBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ApiCommonContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *ApiCommonStatus `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// [函数工作流策略后端列表](tag:hws,hws_hk,hcs,fcs,g42)[暂不支持](tag:Site)
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`
}

func (ApiCommon) String

func (o ApiCommon) String() string

type ApiCommonAuthType

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

func (ApiCommonAuthType) MarshalJSON

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

func (*ApiCommonAuthType) UnmarshalJSON

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

func (ApiCommonAuthType) Value added in v0.0.90

func (c ApiCommonAuthType) Value() string

type ApiCommonAuthTypeEnum

type ApiCommonAuthTypeEnum struct {
	NONE       ApiCommonAuthType
	APP        ApiCommonAuthType
	IAM        ApiCommonAuthType
	AUTHORIZER ApiCommonAuthType
}

func GetApiCommonAuthTypeEnum

func GetApiCommonAuthTypeEnum() ApiCommonAuthTypeEnum

type ApiCommonBackendType

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

func (ApiCommonBackendType) MarshalJSON

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

func (*ApiCommonBackendType) UnmarshalJSON

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

func (ApiCommonBackendType) Value added in v0.0.90

func (c ApiCommonBackendType) Value() string

type ApiCommonBackendTypeEnum

type ApiCommonBackendTypeEnum struct {
	HTTP     ApiCommonBackendType
	FUNCTION ApiCommonBackendType
	MOCK     ApiCommonBackendType
}

func GetApiCommonBackendTypeEnum

func GetApiCommonBackendTypeEnum() ApiCommonBackendTypeEnum

type ApiCommonContentType

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

func (ApiCommonContentType) MarshalJSON

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

func (*ApiCommonContentType) UnmarshalJSON

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

func (ApiCommonContentType) Value added in v0.0.90

func (c ApiCommonContentType) Value() string

type ApiCommonContentTypeEnum

type ApiCommonContentTypeEnum struct {
	APPLICATION_JSON    ApiCommonContentType
	APPLICATION_XML     ApiCommonContentType
	MULTIPART_FORM_DATE ApiCommonContentType
	TEXT_PLAIN          ApiCommonContentType
}

func GetApiCommonContentTypeEnum

func GetApiCommonContentTypeEnum() ApiCommonContentTypeEnum

type ApiCommonMatchMode

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

func (ApiCommonMatchMode) MarshalJSON

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

func (*ApiCommonMatchMode) UnmarshalJSON

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

func (ApiCommonMatchMode) Value added in v0.0.90

func (c ApiCommonMatchMode) Value() string

type ApiCommonMatchModeEnum

type ApiCommonMatchModeEnum struct {
	SWA    ApiCommonMatchMode
	NORMAL ApiCommonMatchMode
}

func GetApiCommonMatchModeEnum

func GetApiCommonMatchModeEnum() ApiCommonMatchModeEnum

type ApiCommonReqMethod

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

func (ApiCommonReqMethod) MarshalJSON

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

func (*ApiCommonReqMethod) UnmarshalJSON

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

func (ApiCommonReqMethod) Value added in v0.0.90

func (c ApiCommonReqMethod) Value() string

type ApiCommonReqProtocol

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

func (ApiCommonReqProtocol) MarshalJSON

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

func (*ApiCommonReqProtocol) UnmarshalJSON

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

func (ApiCommonReqProtocol) Value added in v0.0.90

func (c ApiCommonReqProtocol) Value() string

type ApiCommonReqProtocolEnum

type ApiCommonReqProtocolEnum struct {
	HTTP  ApiCommonReqProtocol
	HTTPS ApiCommonReqProtocol
	BOTH  ApiCommonReqProtocol
}

func GetApiCommonReqProtocolEnum

func GetApiCommonReqProtocolEnum() ApiCommonReqProtocolEnum

type ApiCommonStatus

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

func (ApiCommonStatus) MarshalJSON

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

func (*ApiCommonStatus) UnmarshalJSON

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

func (ApiCommonStatus) Value added in v0.0.90

func (c ApiCommonStatus) Value() int32

type ApiCommonStatusEnum

type ApiCommonStatusEnum struct {
	E_1 ApiCommonStatus
}

func GetApiCommonStatusEnum

func GetApiCommonStatusEnum() ApiCommonStatusEnum

type ApiCommonType

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

func (ApiCommonType) MarshalJSON

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

func (*ApiCommonType) UnmarshalJSON

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

func (ApiCommonType) Value added in v0.0.90

func (c ApiCommonType) Value() int32

type ApiCommonTypeEnum

type ApiCommonTypeEnum struct {
	E_1 ApiCommonType
	E_2 ApiCommonType
}

func GetApiCommonTypeEnum

func GetApiCommonTypeEnum() ApiCommonTypeEnum

type ApiConditionBase

type ApiConditionBase struct {

	// 关联的请求参数对象名称。策略类型为param时必选
	ReqParamName *string `json:"req_param_name,omitempty"`

	// 系统参数名称。策略类型为system时必选。支持以下系统参数 - req_path:请求路径。如 /a/b - req_method:请求方法。如 GET
	SysParamName *ApiConditionBaseSysParamName `json:"sys_param_name,omitempty"`

	// COOKIE参数名称;策略类型为cookie时必选
	CookieParamName *string `json:"cookie_param_name,omitempty"`

	// 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则  策略类型为param时必选
	ConditionType *ApiConditionBaseConditionType `json:"condition_type,omitempty"`

	// 策略类型 - param:参数 - source:源IP - system:系统参数
	ConditionOrigin ApiConditionBaseConditionOrigin `json:"condition_origin"`

	// 策略值
	ConditionValue string `json:"condition_value"`
}

func (ApiConditionBase) String

func (o ApiConditionBase) String() string

type ApiConditionBaseConditionOrigin

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

func (ApiConditionBaseConditionOrigin) MarshalJSON

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

func (*ApiConditionBaseConditionOrigin) UnmarshalJSON

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

func (ApiConditionBaseConditionOrigin) Value added in v0.0.90

type ApiConditionBaseConditionOriginEnum

type ApiConditionBaseConditionOriginEnum struct {
	PARAM  ApiConditionBaseConditionOrigin
	SOURCE ApiConditionBaseConditionOrigin
}

func GetApiConditionBaseConditionOriginEnum

func GetApiConditionBaseConditionOriginEnum() ApiConditionBaseConditionOriginEnum

type ApiConditionBaseConditionType

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

func (ApiConditionBaseConditionType) MarshalJSON

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

func (*ApiConditionBaseConditionType) UnmarshalJSON

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

func (ApiConditionBaseConditionType) Value added in v0.0.90

type ApiConditionBaseConditionTypeEnum

type ApiConditionBaseConditionTypeEnum struct {
	EXACT   ApiConditionBaseConditionType
	ENUM    ApiConditionBaseConditionType
	PATTERN ApiConditionBaseConditionType
}

func GetApiConditionBaseConditionTypeEnum

func GetApiConditionBaseConditionTypeEnum() ApiConditionBaseConditionTypeEnum

type ApiConditionBaseSysParamName

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

func (ApiConditionBaseSysParamName) MarshalJSON

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

func (*ApiConditionBaseSysParamName) UnmarshalJSON

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

func (ApiConditionBaseSysParamName) Value added in v0.0.90

type ApiConditionBaseSysParamNameEnum

type ApiConditionBaseSysParamNameEnum struct {
	REQ_PATH   ApiConditionBaseSysParamName
	REQ_METHOD ApiConditionBaseSysParamName
}

func GetApiConditionBaseSysParamNameEnum

func GetApiConditionBaseSysParamNameEnum() ApiConditionBaseSysParamNameEnum

type ApiConditionCreate

type ApiConditionCreate struct {

	// 关联的请求参数对象名称。策略类型为param时必选
	ReqParamName *string `json:"req_param_name,omitempty"`

	// 系统参数名称。策略类型为system时必选。支持以下系统参数 - req_path:请求路径。如 /a/b - req_method:请求方法。如 GET
	SysParamName *ApiConditionCreateSysParamName `json:"sys_param_name,omitempty"`

	// COOKIE参数名称;策略类型为cookie时必选
	CookieParamName *string `json:"cookie_param_name,omitempty"`

	// 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则  策略类型为param时必选
	ConditionType *ApiConditionCreateConditionType `json:"condition_type,omitempty"`

	// 策略类型 - param:参数 - source:源IP - system:系统参数
	ConditionOrigin ApiConditionCreateConditionOrigin `json:"condition_origin"`

	// 策略值
	ConditionValue string `json:"condition_value"`
}

func (ApiConditionCreate) String

func (o ApiConditionCreate) String() string

type ApiConditionCreateConditionOrigin

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

func (ApiConditionCreateConditionOrigin) MarshalJSON

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

func (*ApiConditionCreateConditionOrigin) UnmarshalJSON

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

func (ApiConditionCreateConditionOrigin) Value added in v0.0.90

type ApiConditionCreateConditionOriginEnum

type ApiConditionCreateConditionOriginEnum struct {
	PARAM  ApiConditionCreateConditionOrigin
	SOURCE ApiConditionCreateConditionOrigin
}

func GetApiConditionCreateConditionOriginEnum

func GetApiConditionCreateConditionOriginEnum() ApiConditionCreateConditionOriginEnum

type ApiConditionCreateConditionType

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

func (ApiConditionCreateConditionType) MarshalJSON

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

func (*ApiConditionCreateConditionType) UnmarshalJSON

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

func (ApiConditionCreateConditionType) Value added in v0.0.90

type ApiConditionCreateSysParamName

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

func (ApiConditionCreateSysParamName) MarshalJSON

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

func (*ApiConditionCreateSysParamName) UnmarshalJSON

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

func (ApiConditionCreateSysParamName) Value added in v0.0.90

type ApiConditionCreateSysParamNameEnum

type ApiConditionCreateSysParamNameEnum struct {
	REQ_PATH   ApiConditionCreateSysParamName
	REQ_METHOD ApiConditionCreateSysParamName
}

func GetApiConditionCreateSysParamNameEnum

func GetApiConditionCreateSysParamNameEnum() ApiConditionCreateSysParamNameEnum

type ApiCreate

type ApiCreate struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ApiCreateType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiCreateReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiCreateReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiCreateAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiCreateMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiCreateBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ApiCreateContentType `json:"content_type,omitempty"`

	MockInfo *ApiMockCreate `json:"mock_info,omitempty"`

	FuncInfo *ApiFuncCreate `json:"func_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParamBase `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"`

	// [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site)
	PolicyFunctions *[]ApiPolicyFunctionCreate `json:"policy_functions,omitempty"`

	BackendApi *BackendApiCreate `json:"backend_api,omitempty"`

	// web策略后端列表
	PolicyHttps *[]ApiPolicyHttpCreate `json:"policy_https,omitempty"`
}

func (ApiCreate) String

func (o ApiCreate) String() string

type ApiCreateAuthType

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

func (ApiCreateAuthType) MarshalJSON

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

func (*ApiCreateAuthType) UnmarshalJSON

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

func (ApiCreateAuthType) Value added in v0.0.90

func (c ApiCreateAuthType) Value() string

type ApiCreateAuthTypeEnum

type ApiCreateAuthTypeEnum struct {
	NONE       ApiCreateAuthType
	APP        ApiCreateAuthType
	IAM        ApiCreateAuthType
	AUTHORIZER ApiCreateAuthType
}

func GetApiCreateAuthTypeEnum

func GetApiCreateAuthTypeEnum() ApiCreateAuthTypeEnum

type ApiCreateBackendType

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

func (ApiCreateBackendType) MarshalJSON

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

func (*ApiCreateBackendType) UnmarshalJSON

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

func (ApiCreateBackendType) Value added in v0.0.90

func (c ApiCreateBackendType) Value() string

type ApiCreateBackendTypeEnum

type ApiCreateBackendTypeEnum struct {
	HTTP     ApiCreateBackendType
	FUNCTION ApiCreateBackendType
	MOCK     ApiCreateBackendType
}

func GetApiCreateBackendTypeEnum

func GetApiCreateBackendTypeEnum() ApiCreateBackendTypeEnum

type ApiCreateBase

type ApiCreateBase struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ApiCreateBaseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiCreateBaseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiCreateBaseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiCreateBaseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiCreateBaseMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiCreateBaseBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ApiCreateBaseContentType `json:"content_type,omitempty"`

	MockInfo *ApiMockCreate `json:"mock_info,omitempty"`

	FuncInfo *ApiFuncCreate `json:"func_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParamBase `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"`

	// [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site)
	PolicyFunctions *[]ApiPolicyFunctionCreate `json:"policy_functions,omitempty"`
}

func (ApiCreateBase) String

func (o ApiCreateBase) String() string

type ApiCreateBaseAuthType

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

func (ApiCreateBaseAuthType) MarshalJSON

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

func (*ApiCreateBaseAuthType) UnmarshalJSON

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

func (ApiCreateBaseAuthType) Value added in v0.0.90

func (c ApiCreateBaseAuthType) Value() string

type ApiCreateBaseAuthTypeEnum

type ApiCreateBaseAuthTypeEnum struct {
	NONE       ApiCreateBaseAuthType
	APP        ApiCreateBaseAuthType
	IAM        ApiCreateBaseAuthType
	AUTHORIZER ApiCreateBaseAuthType
}

func GetApiCreateBaseAuthTypeEnum

func GetApiCreateBaseAuthTypeEnum() ApiCreateBaseAuthTypeEnum

type ApiCreateBaseBackendType

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

func (ApiCreateBaseBackendType) MarshalJSON

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

func (*ApiCreateBaseBackendType) UnmarshalJSON

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

func (ApiCreateBaseBackendType) Value added in v0.0.90

func (c ApiCreateBaseBackendType) Value() string

type ApiCreateBaseBackendTypeEnum

type ApiCreateBaseBackendTypeEnum struct {
	HTTP     ApiCreateBaseBackendType
	FUNCTION ApiCreateBaseBackendType
	MOCK     ApiCreateBaseBackendType
}

func GetApiCreateBaseBackendTypeEnum

func GetApiCreateBaseBackendTypeEnum() ApiCreateBaseBackendTypeEnum

type ApiCreateBaseContentType

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

func (ApiCreateBaseContentType) MarshalJSON

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

func (*ApiCreateBaseContentType) UnmarshalJSON

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

func (ApiCreateBaseContentType) Value added in v0.0.90

func (c ApiCreateBaseContentType) Value() string

type ApiCreateBaseContentTypeEnum

type ApiCreateBaseContentTypeEnum struct {
	APPLICATION_JSON    ApiCreateBaseContentType
	APPLICATION_XML     ApiCreateBaseContentType
	MULTIPART_FORM_DATE ApiCreateBaseContentType
	TEXT_PLAIN          ApiCreateBaseContentType
}

func GetApiCreateBaseContentTypeEnum

func GetApiCreateBaseContentTypeEnum() ApiCreateBaseContentTypeEnum

type ApiCreateBaseMatchMode

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

func (ApiCreateBaseMatchMode) MarshalJSON

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

func (*ApiCreateBaseMatchMode) UnmarshalJSON

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

func (ApiCreateBaseMatchMode) Value added in v0.0.90

func (c ApiCreateBaseMatchMode) Value() string

type ApiCreateBaseMatchModeEnum

type ApiCreateBaseMatchModeEnum struct {
	SWA    ApiCreateBaseMatchMode
	NORMAL ApiCreateBaseMatchMode
}

func GetApiCreateBaseMatchModeEnum

func GetApiCreateBaseMatchModeEnum() ApiCreateBaseMatchModeEnum

type ApiCreateBaseReqMethod

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

func (ApiCreateBaseReqMethod) MarshalJSON

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

func (*ApiCreateBaseReqMethod) UnmarshalJSON

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

func (ApiCreateBaseReqMethod) Value added in v0.0.90

func (c ApiCreateBaseReqMethod) Value() string

type ApiCreateBaseReqProtocol

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

func (ApiCreateBaseReqProtocol) MarshalJSON

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

func (*ApiCreateBaseReqProtocol) UnmarshalJSON

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

func (ApiCreateBaseReqProtocol) Value added in v0.0.90

func (c ApiCreateBaseReqProtocol) Value() string

type ApiCreateBaseReqProtocolEnum

type ApiCreateBaseReqProtocolEnum struct {
	HTTP  ApiCreateBaseReqProtocol
	HTTPS ApiCreateBaseReqProtocol
	BOTH  ApiCreateBaseReqProtocol
}

func GetApiCreateBaseReqProtocolEnum

func GetApiCreateBaseReqProtocolEnum() ApiCreateBaseReqProtocolEnum

type ApiCreateBaseType

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

func (ApiCreateBaseType) MarshalJSON

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

func (*ApiCreateBaseType) UnmarshalJSON

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

func (ApiCreateBaseType) Value added in v0.0.90

func (c ApiCreateBaseType) Value() int32

type ApiCreateBaseTypeEnum

type ApiCreateBaseTypeEnum struct {
	E_1 ApiCreateBaseType
	E_2 ApiCreateBaseType
}

func GetApiCreateBaseTypeEnum

func GetApiCreateBaseTypeEnum() ApiCreateBaseTypeEnum

type ApiCreateContentType

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

func (ApiCreateContentType) MarshalJSON

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

func (*ApiCreateContentType) UnmarshalJSON

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

func (ApiCreateContentType) Value added in v0.0.90

func (c ApiCreateContentType) Value() string

type ApiCreateContentTypeEnum

type ApiCreateContentTypeEnum struct {
	APPLICATION_JSON    ApiCreateContentType
	APPLICATION_XML     ApiCreateContentType
	MULTIPART_FORM_DATE ApiCreateContentType
	TEXT_PLAIN          ApiCreateContentType
}

func GetApiCreateContentTypeEnum

func GetApiCreateContentTypeEnum() ApiCreateContentTypeEnum

type ApiCreateMatchMode

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

func (ApiCreateMatchMode) MarshalJSON

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

func (*ApiCreateMatchMode) UnmarshalJSON

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

func (ApiCreateMatchMode) Value added in v0.0.90

func (c ApiCreateMatchMode) Value() string

type ApiCreateMatchModeEnum

type ApiCreateMatchModeEnum struct {
	SWA    ApiCreateMatchMode
	NORMAL ApiCreateMatchMode
}

func GetApiCreateMatchModeEnum

func GetApiCreateMatchModeEnum() ApiCreateMatchModeEnum

type ApiCreateReqMethod

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

func (ApiCreateReqMethod) MarshalJSON

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

func (*ApiCreateReqMethod) UnmarshalJSON

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

func (ApiCreateReqMethod) Value added in v0.0.90

func (c ApiCreateReqMethod) Value() string

type ApiCreateReqProtocol

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

func (ApiCreateReqProtocol) MarshalJSON

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

func (*ApiCreateReqProtocol) UnmarshalJSON

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

func (ApiCreateReqProtocol) Value added in v0.0.90

func (c ApiCreateReqProtocol) Value() string

type ApiCreateReqProtocolEnum

type ApiCreateReqProtocolEnum struct {
	HTTP  ApiCreateReqProtocol
	HTTPS ApiCreateReqProtocol
	BOTH  ApiCreateReqProtocol
}

func GetApiCreateReqProtocolEnum

func GetApiCreateReqProtocolEnum() ApiCreateReqProtocolEnum

type ApiCreateType

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

func (ApiCreateType) MarshalJSON

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

func (*ApiCreateType) UnmarshalJSON

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

func (ApiCreateType) Value added in v0.0.90

func (c ApiCreateType) Value() int32

type ApiCreateTypeEnum

type ApiCreateTypeEnum struct {
	E_1 ApiCreateType
	E_2 ApiCreateType
}

func GetApiCreateTypeEnum

func GetApiCreateTypeEnum() ApiCreateTypeEnum

type ApiDebugInfo

type ApiDebugInfo struct {

	// 请求消息体,最长2097152字节
	Body *string `json:"body,omitempty"`

	// 头域参数,每个参数值为字符串数组,每个参数名称有如下约束: - 英文字母、数字、点、中连线组成 - 必须以英文字母开头,最长32字节 - 不支持以\"X-Apig-\"或\"X-Sdk-\"开头,不区分大小写 - 不支持取值为\"X-Stage\",不区分大小写 - mode为MARKET或CONSUMER时,不支持取值为\"X-Auth-Token\"和\"Authorization\",不区分大小写 > 头域名称在使用前会被规范化,如:\"x-MY-hEaDer\"会被规范化为\"X-My-Header\"
	Header map[string][]string `json:"header,omitempty"`

	// API的请求方法
	Method ApiDebugInfoMethod `json:"method"`

	// 调试模式 - DEVELOPER 调试尚未发布的API定义 - MARKET 调试云市场已购买的API - CONSUMER 调试指定运行环境下的API定义 > DEVELOPER模式,接口调用者必须是API拥有者。    MARKET模式,接口调用者必须是API购买者或拥有者。    CONSUMER模式,接口调用者必须有API在指定环境上的授权信息或是API拥有者。
	Mode string `json:"mode"`

	// API的请求路径,需以\"/\"开头,最大长度1024 > 须符合路径规范,百分号编码格式可被正确解码
	Path string `json:"path"`

	// 查询参数,每个参数值为字符串数组,每个参数名称有如下约束: - 英文字母、数字、点、下划线、中连线组成 - 必须以英文字母开头,最长32字节 - 不支持以\"X-Apig-\"或\"X-Sdk-\"开头,不区分大小写 - 不支持取值为\"X-Stage\",不区分大小写
	Query map[string][]string `json:"query,omitempty"`

	// API的请求协议 - HTTP - HTTPS
	Scheme string `json:"scheme"`

	// 调试请求使用的APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 调试请求使用的APP的密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// API的访问域名,未提供时根据mode的取值使用如下默认值: - DEVELOPER API分组的子域名 - MARKET 云市场为API分组分配的域名 - CONSUMER API分组的子域名
	Domain *string `json:"domain,omitempty"`

	// 调试请求指定的运行环境,仅在mode为CONSUMER时有效,未提供时有如下默认值: - CONSUMER RELEASE
	Stage *string `json:"stage,omitempty"`
}

func (ApiDebugInfo) String

func (o ApiDebugInfo) String() string

type ApiDebugInfoMethod

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

func (ApiDebugInfoMethod) MarshalJSON

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

func (*ApiDebugInfoMethod) UnmarshalJSON

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

func (ApiDebugInfoMethod) Value added in v0.0.90

func (c ApiDebugInfoMethod) Value() string

type ApiDebugInfoMethodEnum

type ApiDebugInfoMethodEnum struct {
	GET     ApiDebugInfoMethod
	POST    ApiDebugInfoMethod
	PUT     ApiDebugInfoMethod
	DELETE  ApiDebugInfoMethod
	HEAD    ApiDebugInfoMethod
	PATCH   ApiDebugInfoMethod
	OPTIONS ApiDebugInfoMethod
}

func GetApiDebugInfoMethodEnum

func GetApiDebugInfoMethodEnum() ApiDebugInfoMethodEnum

type ApiDuplicationInfo

type ApiDuplicationInfo struct {

	// 请求方式
	ReqMethod *ApiDuplicationInfoReqMethod `json:"req_method,omitempty"`

	// API的访问地址
	ReqUri *string `json:"req_uri,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiDuplicationInfoMatchMode `json:"match_mode,omitempty"`

	// 该路径下冲突的api列表
	DuplicatedApis *[]DuplicateApiInfo `json:"duplicated_apis,omitempty"`
}

func (ApiDuplicationInfo) String

func (o ApiDuplicationInfo) String() string

type ApiDuplicationInfoMatchMode

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

func (ApiDuplicationInfoMatchMode) MarshalJSON

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

func (*ApiDuplicationInfoMatchMode) UnmarshalJSON

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

func (ApiDuplicationInfoMatchMode) Value added in v0.0.90

type ApiDuplicationInfoMatchModeEnum

type ApiDuplicationInfoMatchModeEnum struct {
	SWA    ApiDuplicationInfoMatchMode
	NORMAL ApiDuplicationInfoMatchMode
}

func GetApiDuplicationInfoMatchModeEnum

func GetApiDuplicationInfoMatchModeEnum() ApiDuplicationInfoMatchModeEnum

type ApiDuplicationInfoReqMethod

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

func (ApiDuplicationInfoReqMethod) MarshalJSON

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

func (*ApiDuplicationInfoReqMethod) UnmarshalJSON

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

func (ApiDuplicationInfoReqMethod) Value added in v0.0.90

type ApiForSign

type ApiForSign struct {

	// API的认证方式
	AuthType *string `json:"auth_type,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 发布记录的编号
	PublishId *string `json:"publish_id,omitempty"`

	// API所属分组的编号
	GroupId *string `json:"group_id,omitempty"`

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

	// API描述
	Remark *string `json:"remark,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API的请求地址
	ReqUri *string `json:"req_uri,omitempty"`

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

	// 已绑定的签名密钥名称
	SignatureName *string `json:"signature_name,omitempty"`
}

func (ApiForSign) String

func (o ApiForSign) String() string

type ApiForThrottle

type ApiForThrottle struct {

	// API的认证方式
	AuthType *string `json:"auth_type,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 发布记录的编号
	PublishId *string `json:"publish_id,omitempty"`

	// API所属分组的编号
	GroupId *string `json:"group_id,omitempty"`

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

	// API描述
	Remark *string `json:"remark,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API的请求地址
	ReqUri *string `json:"req_uri,omitempty"`

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

	// 与流控策略的绑定关系编号
	ThrottleApplyId *string `json:"throttle_apply_id,omitempty"`

	// 绑定的流控策略名称
	ThrottleName *string `json:"throttle_name,omitempty"`

	// 已绑定的流控策略的绑定时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`
}

func (ApiForThrottle) String

func (o ApiForThrottle) String() string

type ApiFunc

type ApiFunc struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 描述信息。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiFuncInvocationType `json:"invocation_type"`

	// 版本。
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 后端状态   - 1: 有效
	Status *ApiFuncStatus `json:"status,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

ApiFunc [函数工作流后端详情](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site)

func (ApiFunc) String

func (o ApiFunc) String() string

type ApiFuncCreate

type ApiFuncCreate struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 描述信息。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiFuncCreateInvocationType `json:"invocation_type"`

	// 版本。
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

ApiFuncCreate [函数工作流后端详情](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site)

func (ApiFuncCreate) String

func (o ApiFuncCreate) String() string

type ApiFuncCreateInvocationType

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

func (ApiFuncCreateInvocationType) MarshalJSON

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

func (*ApiFuncCreateInvocationType) UnmarshalJSON

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

func (ApiFuncCreateInvocationType) Value added in v0.0.90

type ApiFuncCreateInvocationTypeEnum

type ApiFuncCreateInvocationTypeEnum struct {
	ASYNC ApiFuncCreateInvocationType
	SYNC  ApiFuncCreateInvocationType
}

func GetApiFuncCreateInvocationTypeEnum

func GetApiFuncCreateInvocationTypeEnum() ApiFuncCreateInvocationTypeEnum

type ApiFuncInvocationType

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

func (ApiFuncInvocationType) MarshalJSON

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

func (*ApiFuncInvocationType) UnmarshalJSON

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

func (ApiFuncInvocationType) Value added in v0.0.90

func (c ApiFuncInvocationType) Value() string

type ApiFuncInvocationTypeEnum

type ApiFuncInvocationTypeEnum struct {
	ASYNC ApiFuncInvocationType
	SYNC  ApiFuncInvocationType
}

func GetApiFuncInvocationTypeEnum

func GetApiFuncInvocationTypeEnum() ApiFuncInvocationTypeEnum

type ApiFuncStatus

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

func (ApiFuncStatus) MarshalJSON

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

func (*ApiFuncStatus) UnmarshalJSON

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

func (ApiFuncStatus) Value added in v0.0.90

func (c ApiFuncStatus) Value() int32

type ApiFuncStatusEnum

type ApiFuncStatusEnum struct {
	E_1 ApiFuncStatus
}

func GetApiFuncStatusEnum

func GetApiFuncStatusEnum() ApiFuncStatusEnum

type ApiGroupBase

type ApiGroupBase struct {

	// API分组的名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API分组描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (ApiGroupBase) String

func (o ApiGroupBase) String() string

type ApiGroupCheck

type ApiGroupCheck struct {

	// 待校验的API分组名称
	GroupName string `json:"group_name"`

	// 集成应用ID  校验分组在集成应用下是否重名时必填,不填写默认校验全局分组是否重名
	RomaAppId *string `json:"roma_app_id,omitempty"`
}

func (ApiGroupCheck) String

func (o ApiGroupCheck) String() string

type ApiGroupCommonInfo

type ApiGroupCommonInfo struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status ApiGroupCommonInfoStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中  ROMAConnect暂未对接云市场,此字段默认返回2
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`
}

func (ApiGroupCommonInfo) String

func (o ApiGroupCommonInfo) String() string

type ApiGroupCommonInfoStatus

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

func (ApiGroupCommonInfoStatus) MarshalJSON

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

func (*ApiGroupCommonInfoStatus) UnmarshalJSON

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

func (ApiGroupCommonInfoStatus) Value added in v0.0.90

func (c ApiGroupCommonInfoStatus) Value() int32

type ApiGroupCommonInfoStatusEnum

type ApiGroupCommonInfoStatusEnum struct {
	E_1 ApiGroupCommonInfoStatus
}

func GetApiGroupCommonInfoStatusEnum

func GetApiGroupCommonInfoStatusEnum() ApiGroupCommonInfoStatusEnum

type ApiGroupCreate

type ApiGroupCreate struct {

	// API分组的名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API分组描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组
	Version *string `json:"version,omitempty"`
}

func (ApiGroupCreate) String

func (o ApiGroupCreate) String() string

type ApiGroupInfo

type ApiGroupInfo struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status ApiGroupInfoStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中  ROMAConnect暂未对接云市场,此字段默认返回2
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置  暂不支持
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 流控时长  暂不支持
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 流控的时间单位  暂不支持
	TimeUnit *string `json:"time_unit,omitempty"`

	// 是否为默认分组
	IsDefault *int32 `json:"is_default,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组
	Version *string `json:"version,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`
}

func (ApiGroupInfo) String

func (o ApiGroupInfo) String() string

type ApiGroupInfoStatus

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

func (ApiGroupInfoStatus) MarshalJSON

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

func (*ApiGroupInfoStatus) UnmarshalJSON

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

func (ApiGroupInfoStatus) Value added in v0.0.90

func (c ApiGroupInfoStatus) Value() int32

type ApiGroupInfoStatusEnum

type ApiGroupInfoStatusEnum struct {
	E_1 ApiGroupInfoStatus
}

func GetApiGroupInfoStatusEnum

func GetApiGroupInfoStatusEnum() ApiGroupInfoStatusEnum

type ApiInfo

type ApiInfo struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ApiInfoType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiInfoReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiInfoReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiInfoAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiInfoMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiInfoBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ApiInfoContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *ApiInfoStatus `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// [函数工作流策略后端列表](tag:hws,hws_hk,hcs,fcs,g42)[暂不支持](tag:Site)
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
}

func (ApiInfo) String

func (o ApiInfo) String() string

type ApiInfoAuthType

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

func (ApiInfoAuthType) MarshalJSON

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

func (*ApiInfoAuthType) UnmarshalJSON

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

func (ApiInfoAuthType) Value added in v0.0.90

func (c ApiInfoAuthType) Value() string

type ApiInfoAuthTypeEnum

type ApiInfoAuthTypeEnum struct {
	NONE       ApiInfoAuthType
	APP        ApiInfoAuthType
	IAM        ApiInfoAuthType
	AUTHORIZER ApiInfoAuthType
}

func GetApiInfoAuthTypeEnum

func GetApiInfoAuthTypeEnum() ApiInfoAuthTypeEnum

type ApiInfoBackendType

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

func (ApiInfoBackendType) MarshalJSON

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

func (*ApiInfoBackendType) UnmarshalJSON

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

func (ApiInfoBackendType) Value added in v0.0.90

func (c ApiInfoBackendType) Value() string

type ApiInfoBackendTypeEnum

type ApiInfoBackendTypeEnum struct {
	HTTP     ApiInfoBackendType
	FUNCTION ApiInfoBackendType
	MOCK     ApiInfoBackendType
}

func GetApiInfoBackendTypeEnum

func GetApiInfoBackendTypeEnum() ApiInfoBackendTypeEnum

type ApiInfoContentType

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

func (ApiInfoContentType) MarshalJSON

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

func (*ApiInfoContentType) UnmarshalJSON

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

func (ApiInfoContentType) Value added in v0.0.90

func (c ApiInfoContentType) Value() string

type ApiInfoContentTypeEnum

type ApiInfoContentTypeEnum struct {
	APPLICATION_JSON    ApiInfoContentType
	APPLICATION_XML     ApiInfoContentType
	MULTIPART_FORM_DATE ApiInfoContentType
	TEXT_PLAIN          ApiInfoContentType
}

func GetApiInfoContentTypeEnum

func GetApiInfoContentTypeEnum() ApiInfoContentTypeEnum

type ApiInfoMatchMode

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

func (ApiInfoMatchMode) MarshalJSON

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

func (*ApiInfoMatchMode) UnmarshalJSON

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

func (ApiInfoMatchMode) Value added in v0.0.90

func (c ApiInfoMatchMode) Value() string

type ApiInfoMatchModeEnum

type ApiInfoMatchModeEnum struct {
	SWA    ApiInfoMatchMode
	NORMAL ApiInfoMatchMode
}

func GetApiInfoMatchModeEnum

func GetApiInfoMatchModeEnum() ApiInfoMatchModeEnum

type ApiInfoPerPage

type ApiInfoPerPage struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ApiInfoPerPageType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiInfoPerPageReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiInfoPerPageReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiInfoPerPageAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiInfoPerPageMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiInfoPerPageBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ApiInfoPerPageContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *ApiInfoPerPageStatus `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`
}

func (ApiInfoPerPage) String

func (o ApiInfoPerPage) String() string

type ApiInfoPerPageAuthType

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

func (ApiInfoPerPageAuthType) MarshalJSON

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

func (*ApiInfoPerPageAuthType) UnmarshalJSON

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

func (ApiInfoPerPageAuthType) Value added in v0.0.90

func (c ApiInfoPerPageAuthType) Value() string

type ApiInfoPerPageAuthTypeEnum

type ApiInfoPerPageAuthTypeEnum struct {
	NONE       ApiInfoPerPageAuthType
	APP        ApiInfoPerPageAuthType
	IAM        ApiInfoPerPageAuthType
	AUTHORIZER ApiInfoPerPageAuthType
}

func GetApiInfoPerPageAuthTypeEnum

func GetApiInfoPerPageAuthTypeEnum() ApiInfoPerPageAuthTypeEnum

type ApiInfoPerPageBackendType

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

func (ApiInfoPerPageBackendType) MarshalJSON

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

func (*ApiInfoPerPageBackendType) UnmarshalJSON

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

func (ApiInfoPerPageBackendType) Value added in v0.0.90

type ApiInfoPerPageBackendTypeEnum

type ApiInfoPerPageBackendTypeEnum struct {
	HTTP     ApiInfoPerPageBackendType
	FUNCTION ApiInfoPerPageBackendType
	MOCK     ApiInfoPerPageBackendType
}

func GetApiInfoPerPageBackendTypeEnum

func GetApiInfoPerPageBackendTypeEnum() ApiInfoPerPageBackendTypeEnum

type ApiInfoPerPageContentType

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

func (ApiInfoPerPageContentType) MarshalJSON

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

func (*ApiInfoPerPageContentType) UnmarshalJSON

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

func (ApiInfoPerPageContentType) Value added in v0.0.90

type ApiInfoPerPageContentTypeEnum

type ApiInfoPerPageContentTypeEnum struct {
	APPLICATION_JSON    ApiInfoPerPageContentType
	APPLICATION_XML     ApiInfoPerPageContentType
	MULTIPART_FORM_DATE ApiInfoPerPageContentType
	TEXT_PLAIN          ApiInfoPerPageContentType
}

func GetApiInfoPerPageContentTypeEnum

func GetApiInfoPerPageContentTypeEnum() ApiInfoPerPageContentTypeEnum

type ApiInfoPerPageMatchMode

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

func (ApiInfoPerPageMatchMode) MarshalJSON

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

func (*ApiInfoPerPageMatchMode) UnmarshalJSON

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

func (ApiInfoPerPageMatchMode) Value added in v0.0.90

func (c ApiInfoPerPageMatchMode) Value() string

type ApiInfoPerPageMatchModeEnum

type ApiInfoPerPageMatchModeEnum struct {
	SWA    ApiInfoPerPageMatchMode
	NORMAL ApiInfoPerPageMatchMode
}

func GetApiInfoPerPageMatchModeEnum

func GetApiInfoPerPageMatchModeEnum() ApiInfoPerPageMatchModeEnum

type ApiInfoPerPageReqMethod

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

func (ApiInfoPerPageReqMethod) MarshalJSON

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

func (*ApiInfoPerPageReqMethod) UnmarshalJSON

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

func (ApiInfoPerPageReqMethod) Value added in v0.0.90

func (c ApiInfoPerPageReqMethod) Value() string

type ApiInfoPerPageReqProtocol

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

func (ApiInfoPerPageReqProtocol) MarshalJSON

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

func (*ApiInfoPerPageReqProtocol) UnmarshalJSON

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

func (ApiInfoPerPageReqProtocol) Value added in v0.0.90

type ApiInfoPerPageReqProtocolEnum

type ApiInfoPerPageReqProtocolEnum struct {
	HTTP  ApiInfoPerPageReqProtocol
	HTTPS ApiInfoPerPageReqProtocol
	BOTH  ApiInfoPerPageReqProtocol
}

func GetApiInfoPerPageReqProtocolEnum

func GetApiInfoPerPageReqProtocolEnum() ApiInfoPerPageReqProtocolEnum

type ApiInfoPerPageStatus

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

func (ApiInfoPerPageStatus) MarshalJSON

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

func (*ApiInfoPerPageStatus) UnmarshalJSON

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

func (ApiInfoPerPageStatus) Value added in v0.0.90

func (c ApiInfoPerPageStatus) Value() int32

type ApiInfoPerPageStatusEnum

type ApiInfoPerPageStatusEnum struct {
	E_1 ApiInfoPerPageStatus
}

func GetApiInfoPerPageStatusEnum

func GetApiInfoPerPageStatusEnum() ApiInfoPerPageStatusEnum

type ApiInfoPerPageType

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

func (ApiInfoPerPageType) MarshalJSON

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

func (*ApiInfoPerPageType) UnmarshalJSON

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

func (ApiInfoPerPageType) Value added in v0.0.90

func (c ApiInfoPerPageType) Value() int32

type ApiInfoPerPageTypeEnum

type ApiInfoPerPageTypeEnum struct {
	E_1 ApiInfoPerPageType
	E_2 ApiInfoPerPageType
}

func GetApiInfoPerPageTypeEnum

func GetApiInfoPerPageTypeEnum() ApiInfoPerPageTypeEnum

type ApiInfoReqMethod

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

func (ApiInfoReqMethod) MarshalJSON

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

func (*ApiInfoReqMethod) UnmarshalJSON

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

func (ApiInfoReqMethod) Value added in v0.0.90

func (c ApiInfoReqMethod) Value() string

type ApiInfoReqMethodEnum

type ApiInfoReqMethodEnum struct {
	GET     ApiInfoReqMethod
	POST    ApiInfoReqMethod
	PUT     ApiInfoReqMethod
	DELETE  ApiInfoReqMethod
	HEAD    ApiInfoReqMethod
	PATCH   ApiInfoReqMethod
	OPTIONS ApiInfoReqMethod
	ANY     ApiInfoReqMethod
}

func GetApiInfoReqMethodEnum

func GetApiInfoReqMethodEnum() ApiInfoReqMethodEnum

type ApiInfoReqProtocol

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

func (ApiInfoReqProtocol) MarshalJSON

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

func (*ApiInfoReqProtocol) UnmarshalJSON

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

func (ApiInfoReqProtocol) Value added in v0.0.90

func (c ApiInfoReqProtocol) Value() string

type ApiInfoReqProtocolEnum

type ApiInfoReqProtocolEnum struct {
	HTTP  ApiInfoReqProtocol
	HTTPS ApiInfoReqProtocol
	BOTH  ApiInfoReqProtocol
}

func GetApiInfoReqProtocolEnum

func GetApiInfoReqProtocolEnum() ApiInfoReqProtocolEnum

type ApiInfoStatus

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

func (ApiInfoStatus) MarshalJSON

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

func (*ApiInfoStatus) UnmarshalJSON

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

func (ApiInfoStatus) Value added in v0.0.90

func (c ApiInfoStatus) Value() int32

type ApiInfoStatusEnum

type ApiInfoStatusEnum struct {
	E_1 ApiInfoStatus
}

func GetApiInfoStatusEnum

func GetApiInfoStatusEnum() ApiInfoStatusEnum

type ApiInfoType

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

func (ApiInfoType) MarshalJSON

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

func (*ApiInfoType) UnmarshalJSON

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

func (ApiInfoType) Value added in v0.0.90

func (c ApiInfoType) Value() int32

type ApiInfoTypeEnum

type ApiInfoTypeEnum struct {
	E_1 ApiInfoType
	E_2 ApiInfoType
}

func GetApiInfoTypeEnum

func GetApiInfoTypeEnum() ApiInfoTypeEnum

type ApiMock

type ApiMock struct {

	// 描述信息。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`

	// 版本。字符长度不超过64
	Version *string `json:"version,omitempty"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\",
	StatusCode *ApiMockStatusCode `json:"status_code,omitempty"`

	// mock后端自定义响应头header  格式:[{\"key\":\"\",\"value\": \"\", \"remark:\"\"}, {\"key2\":\"\",\"value2\": \"\",\"remark2:\"\"}]  参数说明:  key:mock后端自定义响应头header key, 支持英文,数字,中划线,且只能以英文字母或数字开头,1 ~ 64字符  value: mock后端自定义响应头header value,中文字符必须为UTF-8或者unicode编码, 不能为空,最大长度为10240  remark:mock后端自定义响应头header remark,中文字符必须为UTF-8 或者unicode编码,可以为空,最大长度为2048
	Header *string `json:"header,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 后端状态   - 1: 有效
	Status *ApiMockStatus `json:"status,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

ApiMock mock后端详情

func (ApiMock) String

func (o ApiMock) String() string

type ApiMockCreate

type ApiMockCreate struct {

	// 描述信息。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`

	// 版本。字符长度不超过64
	Version *string `json:"version,omitempty"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\",
	StatusCode *ApiMockCreateStatusCode `json:"status_code,omitempty"`

	// mock后端自定义响应头header  格式:[{\"key\":\"\",\"value\": \"\", \"remark:\"\"}, {\"key2\":\"\",\"value2\": \"\",\"remark2:\"\"}]  参数说明:  key:mock后端自定义响应头header key, 支持英文,数字,中划线,且只能以英文字母或数字开头,1 ~ 64字符  value: mock后端自定义响应头header value,中文字符必须为UTF-8或者unicode编码, 不能为空,最大长度为10240  remark:mock后端自定义响应头header remark,中文字符必须为UTF-8 或者unicode编码,可以为空,最大长度为2048
	Header *string `json:"header,omitempty"`
}

ApiMockCreate mock后端详情

func (ApiMockCreate) String

func (o ApiMockCreate) String() string

type ApiMockCreateStatusCode

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

func (ApiMockCreateStatusCode) MarshalJSON

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

func (*ApiMockCreateStatusCode) UnmarshalJSON

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

func (ApiMockCreateStatusCode) Value added in v0.0.90

func (c ApiMockCreateStatusCode) Value() int32

type ApiMockStatus

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

func (ApiMockStatus) MarshalJSON

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

func (*ApiMockStatus) UnmarshalJSON

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

func (ApiMockStatus) Value added in v0.0.90

func (c ApiMockStatus) Value() int32

type ApiMockStatusCode

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

func (ApiMockStatusCode) MarshalJSON

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

func (*ApiMockStatusCode) UnmarshalJSON

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

func (ApiMockStatusCode) Value added in v0.0.90

func (c ApiMockStatusCode) Value() int32

type ApiMockStatusEnum

type ApiMockStatusEnum struct {
	E_1 ApiMockStatus
}

func GetApiMockStatusEnum

func GetApiMockStatusEnum() ApiMockStatusEnum

type ApiOutline

type ApiOutline struct {

	// API的认证方式
	AuthType *string `json:"auth_type,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 发布记录的编号
	PublishId *string `json:"publish_id,omitempty"`

	// API所属分组的编号
	GroupId *string `json:"group_id,omitempty"`

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

	// API描述
	Remark *string `json:"remark,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API的请求地址
	ReqUri *string `json:"req_uri,omitempty"`
}

func (ApiOutline) String

func (o ApiOutline) String() string

type ApiPolicyFunctionBase

type ApiPolicyFunctionBase struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiPolicyFunctionBaseInvocationType `json:"invocation_type"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 版本。字符长度不超过64
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`
}

func (ApiPolicyFunctionBase) String

func (o ApiPolicyFunctionBase) String() string

type ApiPolicyFunctionBaseInvocationType

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

func (ApiPolicyFunctionBaseInvocationType) MarshalJSON

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

func (*ApiPolicyFunctionBaseInvocationType) UnmarshalJSON

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

func (ApiPolicyFunctionBaseInvocationType) Value added in v0.0.90

type ApiPolicyFunctionBaseInvocationTypeEnum

type ApiPolicyFunctionBaseInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionBaseInvocationType
	SYNC  ApiPolicyFunctionBaseInvocationType
}

func GetApiPolicyFunctionBaseInvocationTypeEnum

func GetApiPolicyFunctionBaseInvocationTypeEnum() ApiPolicyFunctionBaseInvocationTypeEnum

type ApiPolicyFunctionCreate

type ApiPolicyFunctionCreate struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiPolicyFunctionCreateInvocationType `json:"invocation_type"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 版本。字符长度不超过64
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyFunctionCreateEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []ApiConditionCreate `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyFunctionCreate) String

func (o ApiPolicyFunctionCreate) String() string

type ApiPolicyFunctionCreateEffectMode

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

func (ApiPolicyFunctionCreateEffectMode) MarshalJSON

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

func (*ApiPolicyFunctionCreateEffectMode) UnmarshalJSON

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

func (ApiPolicyFunctionCreateEffectMode) Value added in v0.0.90

type ApiPolicyFunctionCreateEffectModeEnum

type ApiPolicyFunctionCreateEffectModeEnum struct {
	ALL ApiPolicyFunctionCreateEffectMode
	ANY ApiPolicyFunctionCreateEffectMode
}

func GetApiPolicyFunctionCreateEffectModeEnum

func GetApiPolicyFunctionCreateEffectModeEnum() ApiPolicyFunctionCreateEffectModeEnum

type ApiPolicyFunctionCreateInvocationType

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

func (ApiPolicyFunctionCreateInvocationType) MarshalJSON

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

func (*ApiPolicyFunctionCreateInvocationType) UnmarshalJSON

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

func (ApiPolicyFunctionCreateInvocationType) Value added in v0.0.90

type ApiPolicyFunctionCreateInvocationTypeEnum

type ApiPolicyFunctionCreateInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionCreateInvocationType
	SYNC  ApiPolicyFunctionCreateInvocationType
}

func GetApiPolicyFunctionCreateInvocationTypeEnum

func GetApiPolicyFunctionCreateInvocationTypeEnum() ApiPolicyFunctionCreateInvocationTypeEnum

type ApiPolicyFunctionResp

type ApiPolicyFunctionResp struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiPolicyFunctionRespInvocationType `json:"invocation_type"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 版本。字符长度不超过64
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 策略条件列表
	Conditions []ConditionResp `json:"conditions"`

	// 后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyFunctionRespEffectMode `json:"effect_mode"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyFunctionResp) String

func (o ApiPolicyFunctionResp) String() string

type ApiPolicyFunctionRespEffectMode

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

func (ApiPolicyFunctionRespEffectMode) MarshalJSON

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

func (*ApiPolicyFunctionRespEffectMode) UnmarshalJSON

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

func (ApiPolicyFunctionRespEffectMode) Value added in v0.0.90

type ApiPolicyFunctionRespEffectModeEnum

type ApiPolicyFunctionRespEffectModeEnum struct {
	ALL ApiPolicyFunctionRespEffectMode
	ANY ApiPolicyFunctionRespEffectMode
}

func GetApiPolicyFunctionRespEffectModeEnum

func GetApiPolicyFunctionRespEffectModeEnum() ApiPolicyFunctionRespEffectModeEnum

type ApiPolicyFunctionRespInvocationType

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

func (ApiPolicyFunctionRespInvocationType) MarshalJSON

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

func (*ApiPolicyFunctionRespInvocationType) UnmarshalJSON

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

func (ApiPolicyFunctionRespInvocationType) Value added in v0.0.90

type ApiPolicyFunctionRespInvocationTypeEnum

type ApiPolicyFunctionRespInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionRespInvocationType
	SYNC  ApiPolicyFunctionRespInvocationType
}

func GetApiPolicyFunctionRespInvocationTypeEnum

func GetApiPolicyFunctionRespInvocationTypeEnum() ApiPolicyFunctionRespInvocationTypeEnum

type ApiPolicyHttpBase

type ApiPolicyHttpBase struct {

	// 策略后端的Endpoint。 由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议:HTTP、HTTPS
	ReqProtocol ApiPolicyHttpBaseReqProtocol `json:"req_protocol"`

	// 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY
	ReqMethod ApiPolicyHttpBaseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout *int32 `json:"timeout,omitempty"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10]
	RetryCount *string `json:"retry_count,omitempty"`
}

func (ApiPolicyHttpBase) String

func (o ApiPolicyHttpBase) String() string

type ApiPolicyHttpBaseReqMethod

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

func (ApiPolicyHttpBaseReqMethod) MarshalJSON

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

func (*ApiPolicyHttpBaseReqMethod) UnmarshalJSON

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

func (ApiPolicyHttpBaseReqMethod) Value added in v0.0.90

type ApiPolicyHttpBaseReqProtocol

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

func (ApiPolicyHttpBaseReqProtocol) MarshalJSON

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

func (*ApiPolicyHttpBaseReqProtocol) UnmarshalJSON

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

func (ApiPolicyHttpBaseReqProtocol) Value added in v0.0.90

type ApiPolicyHttpBaseReqProtocolEnum

type ApiPolicyHttpBaseReqProtocolEnum struct {
	HTTP  ApiPolicyHttpBaseReqProtocol
	HTTPS ApiPolicyHttpBaseReqProtocol
}

func GetApiPolicyHttpBaseReqProtocolEnum

func GetApiPolicyHttpBaseReqProtocolEnum() ApiPolicyHttpBaseReqProtocolEnum

type ApiPolicyHttpCreate

type ApiPolicyHttpCreate struct {

	// 策略后端的Endpoint。 由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议:HTTP、HTTPS
	ReqProtocol ApiPolicyHttpCreateReqProtocol `json:"req_protocol"`

	// 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY
	ReqMethod ApiPolicyHttpCreateReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout *int32 `json:"timeout,omitempty"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10]
	RetryCount *string `json:"retry_count,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyHttpCreateEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []ApiConditionCreate `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"`

	// 是否使用VPC通道 - 1 : 使用VPC通道 - 2 : 不使用VPC通道
	VpcChannelStatus *ApiPolicyHttpCreateVpcChannelStatus `json:"vpc_channel_status,omitempty"`
}

func (ApiPolicyHttpCreate) String

func (o ApiPolicyHttpCreate) String() string

type ApiPolicyHttpCreateEffectMode

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

func (ApiPolicyHttpCreateEffectMode) MarshalJSON

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

func (*ApiPolicyHttpCreateEffectMode) UnmarshalJSON

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

func (ApiPolicyHttpCreateEffectMode) Value added in v0.0.90

type ApiPolicyHttpCreateEffectModeEnum

type ApiPolicyHttpCreateEffectModeEnum struct {
	ALL ApiPolicyHttpCreateEffectMode
	ANY ApiPolicyHttpCreateEffectMode
}

func GetApiPolicyHttpCreateEffectModeEnum

func GetApiPolicyHttpCreateEffectModeEnum() ApiPolicyHttpCreateEffectModeEnum

type ApiPolicyHttpCreateReqMethod

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

func (ApiPolicyHttpCreateReqMethod) MarshalJSON

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

func (*ApiPolicyHttpCreateReqMethod) UnmarshalJSON

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

func (ApiPolicyHttpCreateReqMethod) Value added in v0.0.90

type ApiPolicyHttpCreateReqProtocol

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

func (ApiPolicyHttpCreateReqProtocol) MarshalJSON

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

func (*ApiPolicyHttpCreateReqProtocol) UnmarshalJSON

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

func (ApiPolicyHttpCreateReqProtocol) Value added in v0.0.90

type ApiPolicyHttpCreateReqProtocolEnum

type ApiPolicyHttpCreateReqProtocolEnum struct {
	HTTP  ApiPolicyHttpCreateReqProtocol
	HTTPS ApiPolicyHttpCreateReqProtocol
}

func GetApiPolicyHttpCreateReqProtocolEnum

func GetApiPolicyHttpCreateReqProtocolEnum() ApiPolicyHttpCreateReqProtocolEnum

type ApiPolicyHttpCreateVpcChannelStatus

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

func (ApiPolicyHttpCreateVpcChannelStatus) MarshalJSON

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

func (*ApiPolicyHttpCreateVpcChannelStatus) UnmarshalJSON

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

func (ApiPolicyHttpCreateVpcChannelStatus) Value added in v0.0.90

type ApiPolicyHttpCreateVpcChannelStatusEnum

type ApiPolicyHttpCreateVpcChannelStatusEnum struct {
	E_1 ApiPolicyHttpCreateVpcChannelStatus
	E_2 ApiPolicyHttpCreateVpcChannelStatus
}

func GetApiPolicyHttpCreateVpcChannelStatusEnum

func GetApiPolicyHttpCreateVpcChannelStatusEnum() ApiPolicyHttpCreateVpcChannelStatusEnum

type ApiPolicyHttpResp

type ApiPolicyHttpResp struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 策略条件列表
	Conditions []ConditionResp `json:"conditions"`

	// 后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyHttpRespEffectMode `json:"effect_mode"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 策略后端的Endpoint。 由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议:HTTP、HTTPS
	ReqProtocol ApiPolicyHttpRespReqProtocol `json:"req_protocol"`

	// 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY
	ReqMethod ApiPolicyHttpRespReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout *int32 `json:"timeout,omitempty"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10]
	RetryCount *string `json:"retry_count,omitempty"`

	VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"`

	// 是否使用VPC通道: - 1: 使用VPC通道 - 2:不使用VPC通道
	VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"`
}

func (ApiPolicyHttpResp) String

func (o ApiPolicyHttpResp) String() string

type ApiPolicyHttpRespEffectMode

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

func (ApiPolicyHttpRespEffectMode) MarshalJSON

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

func (*ApiPolicyHttpRespEffectMode) UnmarshalJSON

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

func (ApiPolicyHttpRespEffectMode) Value added in v0.0.90

type ApiPolicyHttpRespEffectModeEnum

type ApiPolicyHttpRespEffectModeEnum struct {
	ALL ApiPolicyHttpRespEffectMode
	ANY ApiPolicyHttpRespEffectMode
}

func GetApiPolicyHttpRespEffectModeEnum

func GetApiPolicyHttpRespEffectModeEnum() ApiPolicyHttpRespEffectModeEnum

type ApiPolicyHttpRespReqMethod

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

func (ApiPolicyHttpRespReqMethod) MarshalJSON

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

func (*ApiPolicyHttpRespReqMethod) UnmarshalJSON

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

func (ApiPolicyHttpRespReqMethod) Value added in v0.0.90

type ApiPolicyHttpRespReqProtocol

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

func (ApiPolicyHttpRespReqProtocol) MarshalJSON

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

func (*ApiPolicyHttpRespReqProtocol) UnmarshalJSON

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

func (ApiPolicyHttpRespReqProtocol) Value added in v0.0.90

type ApiPolicyHttpRespReqProtocolEnum

type ApiPolicyHttpRespReqProtocolEnum struct {
	HTTP  ApiPolicyHttpRespReqProtocol
	HTTPS ApiPolicyHttpRespReqProtocol
}

func GetApiPolicyHttpRespReqProtocolEnum

func GetApiPolicyHttpRespReqProtocolEnum() ApiPolicyHttpRespReqProtocolEnum

type ApiPolicyMockBase

type ApiPolicyMockBase struct {

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`

	// mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\",
	StatusCode *ApiPolicyMockBaseStatusCode `json:"status_code,omitempty"`

	// mock后端自定义响应头header  格式:[{\"key\":\"\",\"value\": \"\", \"remark:\"\"}, {\"key2\":\"\",\"value2\": \"\",\"remark2:\"\"}]  参数说明:  key:mock后端自定义响应头header key, 支持英文,数字,中划线,且只能以英文字母或数字开头,1 ~ 64字符  value: mock后端自定义响应头header value,中文字符必须为UTF-8或者unicode编码, 不能为空,最大长度为10240  remark:mock后端自定义响应头header remark,中文字符必须为UTF-8 或者unicode编码,可以为空,最大长度为2048
	Header *string `json:"header,omitempty"`
}

func (ApiPolicyMockBase) String

func (o ApiPolicyMockBase) String() string

type ApiPolicyMockBaseStatusCode

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

func (ApiPolicyMockBaseStatusCode) MarshalJSON

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

func (*ApiPolicyMockBaseStatusCode) UnmarshalJSON

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

func (ApiPolicyMockBaseStatusCode) Value added in v0.0.90

type ApiPolicyMockBaseStatusCodeEnum

func GetApiPolicyMockBaseStatusCodeEnum

func GetApiPolicyMockBaseStatusCodeEnum() ApiPolicyMockBaseStatusCodeEnum

type ApiPolicyMockCreate

type ApiPolicyMockCreate struct {

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`

	// mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\",
	StatusCode *ApiPolicyMockCreateStatusCode `json:"status_code,omitempty"`

	// mock后端自定义响应头header  格式:[{\"key\":\"\",\"value\": \"\", \"remark:\"\"}, {\"key2\":\"\",\"value2\": \"\",\"remark2:\"\"}]  参数说明:  key:mock后端自定义响应头header key, 支持英文,数字,中划线,且只能以英文字母或数字开头,1 ~ 64字符  value: mock后端自定义响应头header value,中文字符必须为UTF-8或者unicode编码, 不能为空,最大长度为10240  remark:mock后端自定义响应头header remark,中文字符必须为UTF-8 或者unicode编码,可以为空,最大长度为2048
	Header *string `json:"header,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyMockCreateEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []ApiConditionCreate `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyMockCreate) String

func (o ApiPolicyMockCreate) String() string

type ApiPolicyMockCreateEffectMode

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

func (ApiPolicyMockCreateEffectMode) MarshalJSON

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

func (*ApiPolicyMockCreateEffectMode) UnmarshalJSON

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

func (ApiPolicyMockCreateEffectMode) Value added in v0.0.90

type ApiPolicyMockCreateEffectModeEnum

type ApiPolicyMockCreateEffectModeEnum struct {
	ALL ApiPolicyMockCreateEffectMode
	ANY ApiPolicyMockCreateEffectMode
}

func GetApiPolicyMockCreateEffectModeEnum

func GetApiPolicyMockCreateEffectModeEnum() ApiPolicyMockCreateEffectModeEnum

type ApiPolicyMockCreateStatusCode

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

func (ApiPolicyMockCreateStatusCode) MarshalJSON

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

func (*ApiPolicyMockCreateStatusCode) UnmarshalJSON

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

func (ApiPolicyMockCreateStatusCode) Value added in v0.0.90

type ApiPolicyMockCreateStatusCodeEnum

type ApiPolicyMockCreateStatusCodeEnum struct {
	E_200 ApiPolicyMockCreateStatusCode
	E_201 ApiPolicyMockCreateStatusCode
	E_202 ApiPolicyMockCreateStatusCode
	E_203 ApiPolicyMockCreateStatusCode
	E_204 ApiPolicyMockCreateStatusCode
	E_205 ApiPolicyMockCreateStatusCode
	E_206 ApiPolicyMockCreateStatusCode
	E_300 ApiPolicyMockCreateStatusCode
	E_301 ApiPolicyMockCreateStatusCode
	E_302 ApiPolicyMockCreateStatusCode
	E_303 ApiPolicyMockCreateStatusCode
	E_304 ApiPolicyMockCreateStatusCode
	E_305 ApiPolicyMockCreateStatusCode
	E_306 ApiPolicyMockCreateStatusCode
	E_307 ApiPolicyMockCreateStatusCode
	E_400 ApiPolicyMockCreateStatusCode
	E_401 ApiPolicyMockCreateStatusCode
	E_402 ApiPolicyMockCreateStatusCode
	E_403 ApiPolicyMockCreateStatusCode
	E_404 ApiPolicyMockCreateStatusCode
	E_405 ApiPolicyMockCreateStatusCode
	E_406 ApiPolicyMockCreateStatusCode
	E_407 ApiPolicyMockCreateStatusCode
	E_408 ApiPolicyMockCreateStatusCode
	E_409 ApiPolicyMockCreateStatusCode
	E_410 ApiPolicyMockCreateStatusCode
	E_411 ApiPolicyMockCreateStatusCode
	E_412 ApiPolicyMockCreateStatusCode
	E_413 ApiPolicyMockCreateStatusCode
	E_414 ApiPolicyMockCreateStatusCode
	E_415 ApiPolicyMockCreateStatusCode
	E_416 ApiPolicyMockCreateStatusCode
	E_417 ApiPolicyMockCreateStatusCode
	E_450 ApiPolicyMockCreateStatusCode
	E_451 ApiPolicyMockCreateStatusCode
	E_500 ApiPolicyMockCreateStatusCode
	E_501 ApiPolicyMockCreateStatusCode
	E_502 ApiPolicyMockCreateStatusCode
	E_503 ApiPolicyMockCreateStatusCode
	E_504 ApiPolicyMockCreateStatusCode
	E_505 ApiPolicyMockCreateStatusCode
}

func GetApiPolicyMockCreateStatusCodeEnum

func GetApiPolicyMockCreateStatusCodeEnum() ApiPolicyMockCreateStatusCodeEnum

type ApiPolicyMockResp

type ApiPolicyMockResp struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 策略条件列表
	Conditions []ConditionResp `json:"conditions"`

	// 后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyMockRespEffectMode `json:"effect_mode"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`

	// mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\",
	StatusCode *ApiPolicyMockRespStatusCode `json:"status_code,omitempty"`

	// mock后端自定义响应头header  格式:[{\"key\":\"\",\"value\": \"\", \"remark:\"\"}, {\"key2\":\"\",\"value2\": \"\",\"remark2:\"\"}]  参数说明:  key:mock后端自定义响应头header key, 支持英文,数字,中划线,且只能以英文字母或数字开头,1 ~ 64字符  value: mock后端自定义响应头header value,中文字符必须为UTF-8或者unicode编码, 不能为空,最大长度为10240  remark:mock后端自定义响应头header remark,中文字符必须为UTF-8 或者unicode编码,可以为空,最大长度为2048
	Header *string `json:"header,omitempty"`
}

func (ApiPolicyMockResp) String

func (o ApiPolicyMockResp) String() string

type ApiPolicyMockRespEffectMode

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

func (ApiPolicyMockRespEffectMode) MarshalJSON

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

func (*ApiPolicyMockRespEffectMode) UnmarshalJSON

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

func (ApiPolicyMockRespEffectMode) Value added in v0.0.90

type ApiPolicyMockRespEffectModeEnum

type ApiPolicyMockRespEffectModeEnum struct {
	ALL ApiPolicyMockRespEffectMode
	ANY ApiPolicyMockRespEffectMode
}

func GetApiPolicyMockRespEffectModeEnum

func GetApiPolicyMockRespEffectModeEnum() ApiPolicyMockRespEffectModeEnum

type ApiPolicyMockRespStatusCode

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

func (ApiPolicyMockRespStatusCode) MarshalJSON

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

func (*ApiPolicyMockRespStatusCode) UnmarshalJSON

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

func (ApiPolicyMockRespStatusCode) Value added in v0.0.90

type ApiPolicyMockRespStatusCodeEnum

func GetApiPolicyMockRespStatusCodeEnum

func GetApiPolicyMockRespStatusCodeEnum() ApiPolicyMockRespStatusCodeEnum

type ApiPolicyReqBase

type ApiPolicyReqBase struct {

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyReqBaseEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []ApiConditionCreate `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyReqBase) String

func (o ApiPolicyReqBase) String() string

type ApiPolicyReqBaseEffectMode

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

func (ApiPolicyReqBaseEffectMode) MarshalJSON

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

func (*ApiPolicyReqBaseEffectMode) UnmarshalJSON

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

func (ApiPolicyReqBaseEffectMode) Value added in v0.0.90

type ApiPolicyReqBaseEffectModeEnum

type ApiPolicyReqBaseEffectModeEnum struct {
	ALL ApiPolicyReqBaseEffectMode
	ANY ApiPolicyReqBaseEffectMode
}

func GetApiPolicyReqBaseEffectModeEnum

func GetApiPolicyReqBaseEffectModeEnum() ApiPolicyReqBaseEffectModeEnum

type ApiPolicyRespBase

type ApiPolicyRespBase struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 策略条件列表
	Conditions []ConditionResp `json:"conditions"`

	// 后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyRespBaseEffectMode `json:"effect_mode"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyRespBase) String

func (o ApiPolicyRespBase) String() string

type ApiPolicyRespBaseEffectMode

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

func (ApiPolicyRespBaseEffectMode) MarshalJSON

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

func (*ApiPolicyRespBaseEffectMode) UnmarshalJSON

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

func (ApiPolicyRespBaseEffectMode) Value added in v0.0.90

type ApiPolicyRespBaseEffectModeEnum

type ApiPolicyRespBaseEffectModeEnum struct {
	ALL ApiPolicyRespBaseEffectMode
	ANY ApiPolicyRespBaseEffectMode
}

func GetApiPolicyRespBaseEffectModeEnum

func GetApiPolicyRespBaseEffectModeEnum() ApiPolicyRespBaseEffectModeEnum

type ApiRespBaseInfo

type ApiRespBaseInfo struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ApiRespBaseInfoType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiRespBaseInfoReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiRespBaseInfoReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiRespBaseInfoAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiRespBaseInfoMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiRespBaseInfoBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ApiRespBaseInfoContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *ApiRespBaseInfoStatus `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`
}

func (ApiRespBaseInfo) String

func (o ApiRespBaseInfo) String() string

type ApiRespBaseInfoAuthType

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

func (ApiRespBaseInfoAuthType) MarshalJSON

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

func (*ApiRespBaseInfoAuthType) UnmarshalJSON

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

func (ApiRespBaseInfoAuthType) Value added in v0.0.90

func (c ApiRespBaseInfoAuthType) Value() string

type ApiRespBaseInfoAuthTypeEnum

type ApiRespBaseInfoAuthTypeEnum struct {
	NONE       ApiRespBaseInfoAuthType
	APP        ApiRespBaseInfoAuthType
	IAM        ApiRespBaseInfoAuthType
	AUTHORIZER ApiRespBaseInfoAuthType
}

func GetApiRespBaseInfoAuthTypeEnum

func GetApiRespBaseInfoAuthTypeEnum() ApiRespBaseInfoAuthTypeEnum

type ApiRespBaseInfoBackendType

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

func (ApiRespBaseInfoBackendType) MarshalJSON

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

func (*ApiRespBaseInfoBackendType) UnmarshalJSON

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

func (ApiRespBaseInfoBackendType) Value added in v0.0.90

type ApiRespBaseInfoBackendTypeEnum

type ApiRespBaseInfoBackendTypeEnum struct {
	HTTP     ApiRespBaseInfoBackendType
	FUNCTION ApiRespBaseInfoBackendType
	MOCK     ApiRespBaseInfoBackendType
}

func GetApiRespBaseInfoBackendTypeEnum

func GetApiRespBaseInfoBackendTypeEnum() ApiRespBaseInfoBackendTypeEnum

type ApiRespBaseInfoContentType

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

func (ApiRespBaseInfoContentType) MarshalJSON

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

func (*ApiRespBaseInfoContentType) UnmarshalJSON

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

func (ApiRespBaseInfoContentType) Value added in v0.0.90

type ApiRespBaseInfoContentTypeEnum

type ApiRespBaseInfoContentTypeEnum struct {
	APPLICATION_JSON    ApiRespBaseInfoContentType
	APPLICATION_XML     ApiRespBaseInfoContentType
	MULTIPART_FORM_DATE ApiRespBaseInfoContentType
	TEXT_PLAIN          ApiRespBaseInfoContentType
}

func GetApiRespBaseInfoContentTypeEnum

func GetApiRespBaseInfoContentTypeEnum() ApiRespBaseInfoContentTypeEnum

type ApiRespBaseInfoMatchMode

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

func (ApiRespBaseInfoMatchMode) MarshalJSON

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

func (*ApiRespBaseInfoMatchMode) UnmarshalJSON

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

func (ApiRespBaseInfoMatchMode) Value added in v0.0.90

func (c ApiRespBaseInfoMatchMode) Value() string

type ApiRespBaseInfoMatchModeEnum

type ApiRespBaseInfoMatchModeEnum struct {
	SWA    ApiRespBaseInfoMatchMode
	NORMAL ApiRespBaseInfoMatchMode
}

func GetApiRespBaseInfoMatchModeEnum

func GetApiRespBaseInfoMatchModeEnum() ApiRespBaseInfoMatchModeEnum

type ApiRespBaseInfoReqMethod

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

func (ApiRespBaseInfoReqMethod) MarshalJSON

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

func (*ApiRespBaseInfoReqMethod) UnmarshalJSON

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

func (ApiRespBaseInfoReqMethod) Value added in v0.0.90

func (c ApiRespBaseInfoReqMethod) Value() string

type ApiRespBaseInfoReqProtocol

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

func (ApiRespBaseInfoReqProtocol) MarshalJSON

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

func (*ApiRespBaseInfoReqProtocol) UnmarshalJSON

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

func (ApiRespBaseInfoReqProtocol) Value added in v0.0.90

type ApiRespBaseInfoReqProtocolEnum

type ApiRespBaseInfoReqProtocolEnum struct {
	HTTP  ApiRespBaseInfoReqProtocol
	HTTPS ApiRespBaseInfoReqProtocol
	BOTH  ApiRespBaseInfoReqProtocol
}

func GetApiRespBaseInfoReqProtocolEnum

func GetApiRespBaseInfoReqProtocolEnum() ApiRespBaseInfoReqProtocolEnum

type ApiRespBaseInfoStatus

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

func (ApiRespBaseInfoStatus) MarshalJSON

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

func (*ApiRespBaseInfoStatus) UnmarshalJSON

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

func (ApiRespBaseInfoStatus) Value added in v0.0.90

func (c ApiRespBaseInfoStatus) Value() int32

type ApiRespBaseInfoStatusEnum

type ApiRespBaseInfoStatusEnum struct {
	E_1 ApiRespBaseInfoStatus
}

func GetApiRespBaseInfoStatusEnum

func GetApiRespBaseInfoStatusEnum() ApiRespBaseInfoStatusEnum

type ApiRespBaseInfoType

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

func (ApiRespBaseInfoType) MarshalJSON

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

func (*ApiRespBaseInfoType) UnmarshalJSON

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

func (ApiRespBaseInfoType) Value added in v0.0.90

func (c ApiRespBaseInfoType) Value() int32

type ApiRespBaseInfoTypeEnum

type ApiRespBaseInfoTypeEnum struct {
	E_1 ApiRespBaseInfoType
	E_2 ApiRespBaseInfoType
}

func GetApiRespBaseInfoTypeEnum

func GetApiRespBaseInfoTypeEnum() ApiRespBaseInfoTypeEnum

type ApiVersion

type ApiVersion struct {

	// API版本的编号
	VersionId string `json:"version_id"`
}

func (ApiVersion) String

func (o ApiVersion) String() string

type ApiVersionResp

type ApiVersionResp struct {

	// API历史版本的ID
	VersionId *string `json:"version_id,omitempty"`

	// API的版本号
	VersionNo *string `json:"version_no,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 发布的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 发布描述
	Remark *string `json:"remark,omitempty"`

	// 发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// 版本状态 - 1:当前生效中的版本 - 2:未生效的版本
	Status *ApiVersionRespStatus `json:"status,omitempty"`
}

func (ApiVersionResp) String

func (o ApiVersionResp) String() string

type ApiVersionRespStatus

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

func (ApiVersionRespStatus) MarshalJSON

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

func (*ApiVersionRespStatus) UnmarshalJSON

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

func (ApiVersionRespStatus) Value added in v0.0.90

func (c ApiVersionRespStatus) Value() int32

type ApiVersionRespStatusEnum

type ApiVersionRespStatusEnum struct {
	E_1 ApiVersionRespStatus
	E_2 ApiVersionRespStatus
}

func GetApiVersionRespStatusEnum

func GetApiVersionRespStatusEnum() ApiVersionRespStatusEnum

type AppAclCreate

type AppAclCreate struct {

	// 类型 -  PERMIT (白名单类型) -  DENY (黑名单类型)
	AppAclType string `json:"app_acl_type"`

	// ACL策略值,支持IP、IP范围和CIDR方式。IP范围以英文中划线分隔。
	AppAclValues []string `json:"app_acl_values"`
}

func (AppAclCreate) String

func (o AppAclCreate) String() string

type AppBaseInfo

type AppBaseInfo struct {

	// 编号
	Id *string `json:"id,omitempty"`

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

	// 描述
	Remark *string `json:"remark,omitempty"`
}

func (AppBaseInfo) String

func (o AppBaseInfo) String() string

type AppCodeBaseInfo

type AppCodeBaseInfo struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头。
	AppCode string `json:"app_code"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

func (AppCodeBaseInfo) String

func (o AppCodeBaseInfo) String() string

type AppCodeCreate

type AppCodeCreate struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头。
	AppCode string `json:"app_code"`
}

func (AppCodeCreate) String

func (o AppCodeCreate) String() string

type AppConfigCreateRequestV2

type AppConfigCreateRequestV2 struct {

	// 应用配置类型: - variable:模板变量 - password:密码 - certificate:证书
	ConfigType AppConfigCreateRequestV2ConfigType `json:"config_type"`

	// 应用配置值: - config_type = variable:config_value为模板变量的值 - config_type = password:config_value为密码值 - config_type = certificate:config_value需要包含证书public_key(必填),私钥private_key(必填)和密码passphrase(非必填),格式如:\"{\\\\\"public_key\\\\\": \\\"\\,\\\\\"private_key\\\\\":\\\\\"\\\\\",\\\\\"passphrase\\\\\":\\\\\"\\\\\"}\"
	ConfigValue *string `json:"config_value,omitempty"`

	// 应用配置描述
	Description *string `json:"description,omitempty"`

	// 应用配置名称。  支持英文大小写字符、数字、下划线、中划线、点和@,且只能以英文字母开头。
	ConfigName *string `json:"config_name,omitempty"`
}

func (AppConfigCreateRequestV2) String

func (o AppConfigCreateRequestV2) String() string

type AppConfigCreateRequestV2ConfigType

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

func (AppConfigCreateRequestV2ConfigType) MarshalJSON

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

func (*AppConfigCreateRequestV2ConfigType) UnmarshalJSON

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

func (AppConfigCreateRequestV2ConfigType) Value added in v0.0.90

type AppConfigCreateRequestV2ConfigTypeEnum

type AppConfigCreateRequestV2ConfigTypeEnum struct {
	VARIABLE    AppConfigCreateRequestV2ConfigType
	PASSWORD    AppConfigCreateRequestV2ConfigType
	CERTIFICATE AppConfigCreateRequestV2ConfigType
}

func GetAppConfigCreateRequestV2ConfigTypeEnum

func GetAppConfigCreateRequestV2ConfigTypeEnum() AppConfigCreateRequestV2ConfigTypeEnum

type AppConfigInfoV2

type AppConfigInfoV2 struct {

	// 应用配置编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 应用配置类型
	ConfigType *string `json:"config_type,omitempty"`

	// 应用配置名称
	ConfigName *string `json:"config_name,omitempty"`

	// 应用配置值
	ConfigValue *string `json:"config_value,omitempty"`

	// 应用配置更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 应用配置描述
	Description *string `json:"description,omitempty"`
}

func (AppConfigInfoV2) String

func (o AppConfigInfoV2) String() string

type AppConfigModifyRequestV2

type AppConfigModifyRequestV2 struct {

	// 应用配置类型: - variable:模板变量 - password:密码 - certificate:证书
	ConfigType AppConfigModifyRequestV2ConfigType `json:"config_type"`

	// 应用配置值: - config_type = variable:config_value为模板变量的值 - config_type = password:config_value为密码值 - config_type = certificate:config_value需要包含证书public_key(必填),私钥private_key(必填)和密码passphrase(非必填),格式如:\"{\\\\\"public_key\\\\\": \\\"\\,\\\\\"private_key\\\\\":\\\\\"\\\\\",\\\\\"passphrase\\\\\":\\\\\"\\\\\"}\"
	ConfigValue *string `json:"config_value,omitempty"`

	// 应用配置描述
	Description *string `json:"description,omitempty"`
}

func (AppConfigModifyRequestV2) String

func (o AppConfigModifyRequestV2) String() string

type AppConfigModifyRequestV2ConfigType

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

func (AppConfigModifyRequestV2ConfigType) MarshalJSON

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

func (*AppConfigModifyRequestV2ConfigType) UnmarshalJSON

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

func (AppConfigModifyRequestV2ConfigType) Value added in v0.0.90

type AppConfigModifyRequestV2ConfigTypeEnum

type AppConfigModifyRequestV2ConfigTypeEnum struct {
	VARIABLE    AppConfigModifyRequestV2ConfigType
	PASSWORD    AppConfigModifyRequestV2ConfigType
	CERTIFICATE AppConfigModifyRequestV2ConfigType
}

func GetAppConfigModifyRequestV2ConfigTypeEnum

func GetAppConfigModifyRequestV2ConfigTypeEnum() AppConfigModifyRequestV2ConfigTypeEnum

type AppFavorite

type AppFavorite struct {
}

AppFavorite 是否收藏应用,收藏的应用会在列表里优先显示

func (AppFavorite) String

func (o AppFavorite) String() string

type AppId

type AppId struct {
}

AppId 应用ID

func (AppId) String

func (o AppId) String() string

type AppInfo

type AppInfo struct {

	// 编号
	Id *string `json:"id,omitempty"`

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

	// 描述
	Remark *string `json:"remark,omitempty"`

	// APP的创建者 - USER:用户自行创建 - MARKET:云市场分配  暂不支持MARKET
	Creator *AppInfoCreator `json:"creator,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态   - 1: 有效
	Status *AppInfoStatus `json:"status,omitempty"`

	// APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用
	AppType *AppInfoAppType `json:"app_type,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用
	RomaAppType *string `json:"roma_app_type,omitempty"`
}

func (AppInfo) String

func (o AppInfo) String() string

type AppInfoAppType

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

func (AppInfoAppType) MarshalJSON

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

func (*AppInfoAppType) UnmarshalJSON

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

func (AppInfoAppType) Value added in v0.0.90

func (c AppInfoAppType) Value() string

type AppInfoAppTypeEnum

type AppInfoAppTypeEnum struct {
	APIG AppInfoAppType
	ROMA AppInfoAppType
}

func GetAppInfoAppTypeEnum

func GetAppInfoAppTypeEnum() AppInfoAppTypeEnum

type AppInfoCreator

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

func (AppInfoCreator) MarshalJSON

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

func (*AppInfoCreator) UnmarshalJSON

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

func (AppInfoCreator) Value added in v0.0.90

func (c AppInfoCreator) Value() string

type AppInfoCreatorEnum

type AppInfoCreatorEnum struct {
	USER   AppInfoCreator
	MARKET AppInfoCreator
}

func GetAppInfoCreatorEnum

func GetAppInfoCreatorEnum() AppInfoCreatorEnum

type AppInfoStatus

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

func (AppInfoStatus) MarshalJSON

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

func (*AppInfoStatus) UnmarshalJSON

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

func (AppInfoStatus) Value added in v0.0.90

func (c AppInfoStatus) Value() int32

type AppInfoStatusEnum

type AppInfoStatusEnum struct {
	E_1 AppInfoStatus
}

func GetAppInfoStatusEnum

func GetAppInfoStatusEnum() AppInfoStatusEnum

type AppInfoWithBindNum

type AppInfoWithBindNum struct {

	// 编号
	Id *string `json:"id,omitempty"`

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

	// 描述
	Remark *string `json:"remark,omitempty"`

	// APP的创建者 - USER:用户自行创建 - MARKET:云市场分配  暂不支持MARKET
	Creator *AppInfoWithBindNumCreator `json:"creator,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态   - 1: 有效
	Status *AppInfoWithBindNumStatus `json:"status,omitempty"`

	// APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用
	AppType *AppInfoWithBindNumAppType `json:"app_type,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用
	RomaAppType *string `json:"roma_app_type,omitempty"`

	// 绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`
}

func (AppInfoWithBindNum) String

func (o AppInfoWithBindNum) String() string

type AppInfoWithBindNumAppType

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

func (AppInfoWithBindNumAppType) MarshalJSON

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

func (*AppInfoWithBindNumAppType) UnmarshalJSON

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

func (AppInfoWithBindNumAppType) Value added in v0.0.90

type AppInfoWithBindNumAppTypeEnum

type AppInfoWithBindNumAppTypeEnum struct {
	APIG AppInfoWithBindNumAppType
	ROMA AppInfoWithBindNumAppType
}

func GetAppInfoWithBindNumAppTypeEnum

func GetAppInfoWithBindNumAppTypeEnum() AppInfoWithBindNumAppTypeEnum

type AppInfoWithBindNumCreator

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

func (AppInfoWithBindNumCreator) MarshalJSON

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

func (*AppInfoWithBindNumCreator) UnmarshalJSON

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

func (AppInfoWithBindNumCreator) Value added in v0.0.90

type AppInfoWithBindNumCreatorEnum

type AppInfoWithBindNumCreatorEnum struct {
	USER   AppInfoWithBindNumCreator
	MARKET AppInfoWithBindNumCreator
}

func GetAppInfoWithBindNumCreatorEnum

func GetAppInfoWithBindNumCreatorEnum() AppInfoWithBindNumCreatorEnum

type AppInfoWithBindNumStatus

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

func (AppInfoWithBindNumStatus) MarshalJSON

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

func (*AppInfoWithBindNumStatus) UnmarshalJSON

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

func (AppInfoWithBindNumStatus) Value added in v0.0.90

func (c AppInfoWithBindNumStatus) Value() int32

type AppInfoWithBindNumStatusEnum

type AppInfoWithBindNumStatusEnum struct {
	E_1 AppInfoWithBindNumStatus
}

func GetAppInfoWithBindNumStatusEnum

func GetAppInfoWithBindNumStatusEnum() AppInfoWithBindNumStatusEnum

type AppKey

type AppKey struct {
}

AppKey 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一

func (AppKey) String

func (o AppKey) String() string

type AppName

type AppName struct {
}

AppName 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一

func (AppName) String

func (o AppName) String() string

type AppQuotaAppBinding

type AppQuotaAppBinding struct {

	// 客户端配额编号
	AppQuotaId *string `json:"app_quota_id,omitempty"`

	// 客户端应用编号
	AppId *string `json:"app_id,omitempty"`

	// 绑定时间
	BoundTime *sdktime.SdkTime `json:"bound_time,omitempty"`
}

AppQuotaAppBinding 客户端应用与客户端配额绑定信息

func (AppQuotaAppBinding) String

func (o AppQuotaAppBinding) String() string

type AppQuotaAppInfo

type AppQuotaAppInfo struct {

	// 客户端应用编号
	AppId *string `json:"app_id,omitempty"`

	// 客户端应用名称
	Name *string `json:"name,omitempty"`

	// 客户端应用状态: - 1:启用 - 2:禁用
	Status *int32 `json:"status,omitempty"`

	// 客户端应用的Key
	AppKey *string `json:"app_key,omitempty"`

	// 客户端应用描述
	Remark *string `json:"remark,omitempty"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 客户端配额编号
	AppQuotaId *string `json:"app_quota_id,omitempty"`

	// 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符
	AppQuotaName *string `json:"app_quota_name,omitempty"`

	// 绑定时间
	BoundTime *sdktime.SdkTime `json:"bound_time,omitempty"`
}

func (AppQuotaAppInfo) String

func (o AppQuotaAppInfo) String() string

type AppQuotaCreate

type AppQuotaCreate struct {

	// 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头
	Name string `json:"name"`

	// 客户端配额的访问次数限制
	CallLimits int32 `json:"call_limits"`

	// 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天
	TimeUnit AppQuotaCreateTimeUnit `json:"time_unit"`

	// 流控的限定时间值
	TimeInterval int32 `json:"time_interval"`

	// 首次配额重置时间点,不配置默认为首次调用时间计算
	ResetTime *string `json:"reset_time,omitempty"`

	// 参数说明和描述。  不支持<,>字符
	Remark *string `json:"remark,omitempty"`
}

func (AppQuotaCreate) String

func (o AppQuotaCreate) String() string

type AppQuotaCreateTimeUnit

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

func (AppQuotaCreateTimeUnit) MarshalJSON

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

func (*AppQuotaCreateTimeUnit) UnmarshalJSON

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

func (AppQuotaCreateTimeUnit) Value added in v0.0.90

func (c AppQuotaCreateTimeUnit) Value() string

type AppQuotaCreateTimeUnitEnum

type AppQuotaCreateTimeUnitEnum struct {
	SECOND AppQuotaCreateTimeUnit
	MINUTE AppQuotaCreateTimeUnit
	HOUR   AppQuotaCreateTimeUnit
	DAY    AppQuotaCreateTimeUnit
}

func GetAppQuotaCreateTimeUnitEnum

func GetAppQuotaCreateTimeUnitEnum() AppQuotaCreateTimeUnitEnum

type AppQuotaInfo

type AppQuotaInfo struct {

	// 客户端配额编号
	AppQuotaId *string `json:"app_quota_id,omitempty"`

	// 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符
	Name *string `json:"name,omitempty"`

	// 客户端配额的访问次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天
	TimeUnit *AppQuotaInfoTimeUnit `json:"time_unit,omitempty"`

	// 配额的限定时间值
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 参数说明和描述
	Remark *string `json:"remark,omitempty"`

	// 首次配额重置时间点,不配置默认为首次调用时间计算
	ResetTime *string `json:"reset_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 配额策略已绑定应用数量
	BoundAppNum *int32 `json:"bound_app_num,omitempty"`
}

func (AppQuotaInfo) String

func (o AppQuotaInfo) String() string

type AppQuotaInfoTimeUnit

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

func (AppQuotaInfoTimeUnit) MarshalJSON

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

func (*AppQuotaInfoTimeUnit) UnmarshalJSON

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

func (AppQuotaInfoTimeUnit) Value added in v0.0.90

func (c AppQuotaInfoTimeUnit) Value() string

type AppQuotaInfoTimeUnitEnum

type AppQuotaInfoTimeUnitEnum struct {
	SECOND AppQuotaInfoTimeUnit
	MINUTE AppQuotaInfoTimeUnit
	HOUR   AppQuotaInfoTimeUnit
	DAY    AppQuotaInfoTimeUnit
}

func GetAppQuotaInfoTimeUnitEnum

func GetAppQuotaInfoTimeUnitEnum() AppQuotaInfoTimeUnitEnum

type AppRemark

type AppRemark struct {
}

AppRemark 应用描述

func (AppRemark) String

func (o AppRemark) String() string

type AppSecret

type AppSecret struct {
}

AppSecret 应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做

func (AppSecret) String

func (o AppSecret) String() string

type AppUsersUsers

type AppUsersUsers struct {

	// 用户ID
	Id *string `json:"id,omitempty"`

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

	// 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限
	Roles *[]AppUsersUsersRoles `json:"roles,omitempty"`
}

func (AppUsersUsers) String

func (o AppUsersUsers) String() string

type AppUsersUsersRoles

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

func (AppUsersUsersRoles) MarshalJSON

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

func (*AppUsersUsersRoles) UnmarshalJSON

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

func (AppUsersUsersRoles) Value added in v0.0.90

func (c AppUsersUsersRoles) Value() string

type AppUsersUsersRolesEnum

type AppUsersUsersRolesEnum struct {
	READ   AppUsersUsersRoles
	ACCESS AppUsersUsersRoles
	DELETE AppUsersUsersRoles
	MODIFY AppUsersUsersRoles
	ADMIN  AppUsersUsersRoles
}

func GetAppUsersUsersRolesEnum

func GetAppUsersUsersRolesEnum() AppUsersUsersRolesEnum

type AssetExportRequest

type AssetExportRequest struct {

	// 应用列表
	Apps []AssetExportRequestApps `json:"apps"`

	// 任务列表
	Tasks *[]AssetExportRequestTasks `json:"tasks,omitempty"`
}

func (AssetExportRequest) String

func (o AssetExportRequest) String() string

type AssetExportRequestApps

type AssetExportRequestApps struct {

	// 应用ID
	Id *string `json:"id,omitempty"`
}

func (AssetExportRequestApps) String

func (o AssetExportRequestApps) String() string

type AssetExportRequestTasks

type AssetExportRequestTasks struct {

	// 任务ID
	Id *string `json:"id,omitempty"`
}

func (AssetExportRequestTasks) String

func (o AssetExportRequestTasks) String() string

type AssetExportTask

type AssetExportTask struct {
}

AssetExportTask 任务ID

func (AssetExportTask) String

func (o AssetExportTask) String() string

type AssetJobReason

type AssetJobReason struct {

	// 资源类型
	ResourceType *AssetJobReasonResourceType `json:"resource_type,omitempty"`

	// 资源名称
	ResourceName *string `json:"resource_name,omitempty"`

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

	// 错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`
}

func (AssetJobReason) String

func (o AssetJobReason) String() string

type AssetJobReasonResourceType

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

func (AssetJobReasonResourceType) MarshalJSON

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

func (*AssetJobReasonResourceType) UnmarshalJSON

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

func (AssetJobReasonResourceType) Value added in v0.0.90

type AssetJobReasonResourceTypeEnum

type AssetJobReasonResourceTypeEnum struct {
	APPLICATION AssetJobReasonResourceType
	TASK        AssetJobReasonResourceType
}

func GetAssetJobReasonResourceTypeEnum

func GetAssetJobReasonResourceTypeEnum() AssetJobReasonResourceTypeEnum

type AssetOperateRequest

type AssetOperateRequest struct {

	// 应用列表
	Apps []AssetExportRequestApps `json:"apps"`

	// 任务列表
	Tasks []AssetExportRequestTasks `json:"tasks"`
}

func (AssetOperateRequest) String

func (o AssetOperateRequest) String() string

type AssociateAppsForAppQuotaRequest

type AssociateAppsForAppQuotaRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 客户端配额编号
	AppQuotaId string `json:"app_quota_id"`

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

AssociateAppsForAppQuotaRequest Request Object

func (AssociateAppsForAppQuotaRequest) String

type AssociateAppsForAppQuotaResponse

type AssociateAppsForAppQuotaResponse struct {

	// 客户端应用与客户端配额绑定列表
	Applies        *[]AppQuotaAppBinding `json:"applies,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

AssociateAppsForAppQuotaResponse Response Object

func (AssociateAppsForAppQuotaResponse) String

type AssociateCertificateV2Request

type AssociateCertificateV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

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

AssociateCertificateV2Request Request Object

func (AssociateCertificateV2Request) String

type AssociateCertificateV2Response

type AssociateCertificateV2Response struct {

	// 自定义域名
	UrlDomain string `json:"url_domain"`

	// 自定义域名的编号
	Id string `json:"id"`

	// CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败
	Status AssociateCertificateV2ResponseStatus `json:"status"`

	// 支持的最小SSL版本
	MinSslVersion string `json:"min_ssl_version"`

	// 证书的名称
	SslName *string `json:"ssl_name,omitempty"`

	// 证书的编号
	SslId          *string `json:"ssl_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AssociateCertificateV2Response Response Object

func (AssociateCertificateV2Response) String

type AssociateCertificateV2ResponseStatus

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

func (AssociateCertificateV2ResponseStatus) MarshalJSON

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

func (*AssociateCertificateV2ResponseStatus) UnmarshalJSON

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

func (AssociateCertificateV2ResponseStatus) Value added in v0.0.90

type AssociateDomainV2Request

type AssociateDomainV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

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

AssociateDomainV2Request Request Object

func (AssociateDomainV2Request) String

func (o AssociateDomainV2Request) String() string

type AssociateDomainV2Response

type AssociateDomainV2Response struct {

	// 自定义域名
	UrlDomain *string `json:"url_domain,omitempty"`

	// 自定义域名的编号
	Id *string `json:"id,omitempty"`

	// CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败
	Status *AssociateDomainV2ResponseStatus `json:"status,omitempty"`

	// 支持的最小SSL版本
	MinSslVersion  *string `json:"min_ssl_version,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AssociateDomainV2Response Response Object

func (AssociateDomainV2Response) String

func (o AssociateDomainV2Response) String() string

type AssociateDomainV2ResponseStatus

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

func (AssociateDomainV2ResponseStatus) MarshalJSON

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

func (*AssociateDomainV2ResponseStatus) UnmarshalJSON

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

func (AssociateDomainV2ResponseStatus) Value added in v0.0.90

type AssociateRequestThrottlingPolicyV2Request

type AssociateRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

AssociateRequestThrottlingPolicyV2Request Request Object

func (AssociateRequestThrottlingPolicyV2Request) String

type AssociateRequestThrottlingPolicyV2Response

type AssociateRequestThrottlingPolicyV2Response struct {

	// API与流控策略的绑定关系列表
	ThrottleApplys *[]ThrottleApiBinding `json:"throttle_applys,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

AssociateRequestThrottlingPolicyV2Response Response Object

func (AssociateRequestThrottlingPolicyV2Response) String

type AssociateSignatureKeyV2Request

type AssociateSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

AssociateSignatureKeyV2Request Request Object

func (AssociateSignatureKeyV2Request) String

type AssociateSignatureKeyV2Response

type AssociateSignatureKeyV2Response struct {

	// API与签名密钥的绑定关系列表
	Bindings       *[]SignApiBindingInfo `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

AssociateSignatureKeyV2Response Response Object

func (AssociateSignatureKeyV2Response) String

type AuthOpt

type AuthOpt struct {

	// AppCode简易认证类型,仅在auth_type为APP时生效,默认为DISABLE: - DISABLE:不开启简易认证 - HEADER:开启简易认证且AppCode位置在HEADER
	AppCodeAuthType *AuthOptAppCodeAuthType `json:"app_code_auth_type,omitempty"`
}

AuthOpt 认证方式参数

func (AuthOpt) String

func (o AuthOpt) String() string

type AuthOptAppCodeAuthType

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

func (AuthOptAppCodeAuthType) MarshalJSON

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

func (*AuthOptAppCodeAuthType) UnmarshalJSON

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

func (AuthOptAppCodeAuthType) Value added in v0.0.90

func (c AuthOptAppCodeAuthType) Value() string

type AuthOptAppCodeAuthTypeEnum

type AuthOptAppCodeAuthTypeEnum struct {
	DISABLE AuthOptAppCodeAuthType
	HEADER  AuthOptAppCodeAuthType
}

func GetAuthOptAppCodeAuthTypeEnum

func GetAuthOptAppCodeAuthTypeEnum() AuthOptAppCodeAuthTypeEnum

type AuthResult

type AuthResult struct {

	// 授权结果 - SUCCESS:授权成功 - SKIPPED:跳过 - FILAED:授权失败
	Status *AuthResultStatus `json:"status,omitempty"`

	// 授权失败错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`

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

	// 授权失败的API名称
	ApiName *string `json:"api_name,omitempty"`

	// 授权失败的APP名称
	AppName *string `json:"app_name,omitempty"`
}

AuthResult 授权结果

func (AuthResult) String

func (o AuthResult) String() string

type AuthResultStatus

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

func (AuthResultStatus) MarshalJSON

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

func (*AuthResultStatus) UnmarshalJSON

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

func (AuthResultStatus) Value added in v0.0.90

func (c AuthResultStatus) Value() string

type AuthResultStatusEnum

type AuthResultStatusEnum struct {
	SUCCESS AuthResultStatus
	SKIPPED AuthResultStatus
	FAILED  AuthResultStatus
}

func GetAuthResultStatusEnum

func GetAuthResultStatusEnum() AuthResultStatusEnum

type Authentication

type Authentication struct {

	// 一型一密/一机一密的用户名
	UserName *string `json:"user_name,omitempty"`

	// 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符
	Password *string `json:"password,omitempty"`
}

Authentication 鉴权

func (Authentication) String

func (o Authentication) String() string

type AuthorizerBase

type AuthorizerBase struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端
	Type AuthorizerBaseType `json:"type"`

	// 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数
	AuthorizerType AuthorizerBaseAuthorizerType `json:"authorizer_type"`

	// 函数地址。  注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。
	AuthorizerUri string `json:"authorizer_uri"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  自定义认证函数类型为LD时必填
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`
}

func (AuthorizerBase) String

func (o AuthorizerBase) String() string

type AuthorizerBaseAuthorizerType

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

func (AuthorizerBaseAuthorizerType) MarshalJSON

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

func (*AuthorizerBaseAuthorizerType) UnmarshalJSON

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

func (AuthorizerBaseAuthorizerType) Value added in v0.0.90

type AuthorizerBaseAuthorizerTypeEnum

type AuthorizerBaseAuthorizerTypeEnum struct {
	LD   AuthorizerBaseAuthorizerType
	FUNC AuthorizerBaseAuthorizerType
}

func GetAuthorizerBaseAuthorizerTypeEnum

func GetAuthorizerBaseAuthorizerTypeEnum() AuthorizerBaseAuthorizerTypeEnum

type AuthorizerBaseType

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

func (AuthorizerBaseType) MarshalJSON

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

func (*AuthorizerBaseType) UnmarshalJSON

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

func (AuthorizerBaseType) Value added in v0.0.90

func (c AuthorizerBaseType) Value() string

type AuthorizerBaseTypeEnum

type AuthorizerBaseTypeEnum struct {
	FRONTEND AuthorizerBaseType
	BACKEND  AuthorizerBaseType
}

func GetAuthorizerBaseTypeEnum

func GetAuthorizerBaseTypeEnum() AuthorizerBaseTypeEnum

type AuthorizerCreate

type AuthorizerCreate struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端
	Type AuthorizerCreateType `json:"type"`

	// 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数
	AuthorizerType AuthorizerCreateAuthorizerType `json:"authorizer_type"`

	// 函数地址。  注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。
	AuthorizerUri string `json:"authorizer_uri"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  自定义认证函数类型为LD时必填
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`
}

func (AuthorizerCreate) String

func (o AuthorizerCreate) String() string

type AuthorizerCreateAuthorizerType

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

func (AuthorizerCreateAuthorizerType) MarshalJSON

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

func (*AuthorizerCreateAuthorizerType) UnmarshalJSON

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

func (AuthorizerCreateAuthorizerType) Value added in v0.0.90

type AuthorizerCreateAuthorizerTypeEnum

type AuthorizerCreateAuthorizerTypeEnum struct {
	LD   AuthorizerCreateAuthorizerType
	FUNC AuthorizerCreateAuthorizerType
}

func GetAuthorizerCreateAuthorizerTypeEnum

func GetAuthorizerCreateAuthorizerTypeEnum() AuthorizerCreateAuthorizerTypeEnum

type AuthorizerCreateType

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

func (AuthorizerCreateType) MarshalJSON

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

func (*AuthorizerCreateType) UnmarshalJSON

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

func (AuthorizerCreateType) Value added in v0.0.90

func (c AuthorizerCreateType) Value() string

type AuthorizerCreateTypeEnum

type AuthorizerCreateTypeEnum struct {
	FRONTEND AuthorizerCreateType
	BACKEND  AuthorizerCreateType
}

func GetAuthorizerCreateTypeEnum

func GetAuthorizerCreateTypeEnum() AuthorizerCreateTypeEnum

type AuthorizerResp

type AuthorizerResp struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端
	Type AuthorizerRespType `json:"type"`

	// 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数
	AuthorizerType AuthorizerRespAuthorizerType `json:"authorizer_type"`

	// 函数地址。  注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。
	AuthorizerUri string `json:"authorizer_uri"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  自定义认证函数类型为LD时必填
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`

	// 自定义认证编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 自定义认证所属应用编号
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 自定义认证所属应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`
}

func (AuthorizerResp) String

func (o AuthorizerResp) String() string

type AuthorizerRespAuthorizerType

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

func (AuthorizerRespAuthorizerType) MarshalJSON

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

func (*AuthorizerRespAuthorizerType) UnmarshalJSON

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

func (AuthorizerRespAuthorizerType) Value added in v0.0.90

type AuthorizerRespAuthorizerTypeEnum

type AuthorizerRespAuthorizerTypeEnum struct {
	LD   AuthorizerRespAuthorizerType
	FUNC AuthorizerRespAuthorizerType
}

func GetAuthorizerRespAuthorizerTypeEnum

func GetAuthorizerRespAuthorizerTypeEnum() AuthorizerRespAuthorizerTypeEnum

type AuthorizerRespType

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

func (AuthorizerRespType) MarshalJSON

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

func (*AuthorizerRespType) UnmarshalJSON

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

func (AuthorizerRespType) Value added in v0.0.90

func (c AuthorizerRespType) Value() string

type AuthorizerRespTypeEnum

type AuthorizerRespTypeEnum struct {
	FRONTEND AuthorizerRespType
	BACKEND  AuthorizerRespType
}

func GetAuthorizerRespTypeEnum

func GetAuthorizerRespTypeEnum() AuthorizerRespTypeEnum

type Backend

type Backend struct {

	// 后端主机地址列表
	Ip *[]string `json:"ip,omitempty"`

	// 后端服务端口,不存在时使用监听器端口
	Port *int32 `json:"port,omitempty"`

	HealthCheck *HealthCheck `json:"health_check,omitempty"`
}

Backend 后端服务定义

func (Backend) String

func (o Backend) String() string

type BackendApi

type BackendApi struct {

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 后端服务的地址。  由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议
	ReqProtocol BackendApiReqProtocol `json:"req_protocol"`

	// 描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 请求方式
	ReqMethod BackendApiReqMethod `json:"req_method"`

	// web后端版本,字符长度不超过16
	Version *string `json:"version,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10]
	RetryCount *string `json:"retry_count,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 后端状态   - 1: 有效
	Status *BackendApiStatus `json:"status,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"`

	// 是否使用VPC通道 - 1:使用VPC通道 - 2:不使用VPC通道
	VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"`
}

BackendApi web后端详情

func (BackendApi) String

func (o BackendApi) String() string

type BackendApiBase

type BackendApiBase struct {

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 后端服务的地址。  由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议
	ReqProtocol BackendApiBaseReqProtocol `json:"req_protocol"`

	// 描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 请求方式
	ReqMethod BackendApiBaseReqMethod `json:"req_method"`

	// web后端版本,字符长度不超过16
	Version *string `json:"version,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10]
	RetryCount *string `json:"retry_count,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 后端状态   - 1: 有效
	Status *BackendApiBaseStatus `json:"status,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

func (BackendApiBase) String

func (o BackendApiBase) String() string

type BackendApiBaseInfo

type BackendApiBaseInfo struct {

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 后端服务的地址。  由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议
	ReqProtocol BackendApiBaseInfoReqProtocol `json:"req_protocol"`

	// 描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 请求方式
	ReqMethod BackendApiBaseInfoReqMethod `json:"req_method"`

	// web后端版本,字符长度不超过16
	Version *string `json:"version,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10]
	RetryCount *string `json:"retry_count,omitempty"`
}

func (BackendApiBaseInfo) String

func (o BackendApiBaseInfo) String() string

type BackendApiBaseInfoReqMethod

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

func (BackendApiBaseInfoReqMethod) MarshalJSON

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

func (*BackendApiBaseInfoReqMethod) UnmarshalJSON

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

func (BackendApiBaseInfoReqMethod) Value added in v0.0.90

type BackendApiBaseInfoReqProtocol

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

func (BackendApiBaseInfoReqProtocol) MarshalJSON

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

func (*BackendApiBaseInfoReqProtocol) UnmarshalJSON

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

func (BackendApiBaseInfoReqProtocol) Value added in v0.0.90

type BackendApiBaseInfoReqProtocolEnum

type BackendApiBaseInfoReqProtocolEnum struct {
	HTTP  BackendApiBaseInfoReqProtocol
	HTTPS BackendApiBaseInfoReqProtocol
}

func GetBackendApiBaseInfoReqProtocolEnum

func GetBackendApiBaseInfoReqProtocolEnum() BackendApiBaseInfoReqProtocolEnum

type BackendApiBaseReqMethod

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

func (BackendApiBaseReqMethod) MarshalJSON

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

func (*BackendApiBaseReqMethod) UnmarshalJSON

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

func (BackendApiBaseReqMethod) Value added in v0.0.90

func (c BackendApiBaseReqMethod) Value() string

type BackendApiBaseReqProtocol

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

func (BackendApiBaseReqProtocol) MarshalJSON

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

func (*BackendApiBaseReqProtocol) UnmarshalJSON

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

func (BackendApiBaseReqProtocol) Value added in v0.0.90

type BackendApiBaseReqProtocolEnum

type BackendApiBaseReqProtocolEnum struct {
	HTTP  BackendApiBaseReqProtocol
	HTTPS BackendApiBaseReqProtocol
}

func GetBackendApiBaseReqProtocolEnum

func GetBackendApiBaseReqProtocolEnum() BackendApiBaseReqProtocolEnum

type BackendApiBaseStatus

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

func (BackendApiBaseStatus) MarshalJSON

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

func (*BackendApiBaseStatus) UnmarshalJSON

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

func (BackendApiBaseStatus) Value added in v0.0.90

func (c BackendApiBaseStatus) Value() int32

type BackendApiBaseStatusEnum

type BackendApiBaseStatusEnum struct {
	E_1 BackendApiBaseStatus
}

func GetBackendApiBaseStatusEnum

func GetBackendApiBaseStatusEnum() BackendApiBaseStatusEnum

type BackendApiCreate

type BackendApiCreate struct {

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 后端服务的地址。  由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议
	ReqProtocol BackendApiCreateReqProtocol `json:"req_protocol"`

	// 描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 请求方式
	ReqMethod BackendApiCreateReqMethod `json:"req_method"`

	// web后端版本,字符长度不超过16
	Version *string `json:"version,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10]
	RetryCount *string `json:"retry_count,omitempty"`

	VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"`

	// 是否使用VPC通道 - 1:使用VPC通道 - 2:不使用VPC通道
	VpcChannelStatus *BackendApiCreateVpcChannelStatus `json:"vpc_channel_status,omitempty"`
}

BackendApiCreate web后端详情

func (BackendApiCreate) String

func (o BackendApiCreate) String() string

type BackendApiCreateReqMethod

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

func (BackendApiCreateReqMethod) MarshalJSON

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

func (*BackendApiCreateReqMethod) UnmarshalJSON

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

func (BackendApiCreateReqMethod) Value added in v0.0.90

type BackendApiCreateReqProtocol

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

func (BackendApiCreateReqProtocol) MarshalJSON

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

func (*BackendApiCreateReqProtocol) UnmarshalJSON

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

func (BackendApiCreateReqProtocol) Value added in v0.0.90

type BackendApiCreateReqProtocolEnum

type BackendApiCreateReqProtocolEnum struct {
	HTTP  BackendApiCreateReqProtocol
	HTTPS BackendApiCreateReqProtocol
}

func GetBackendApiCreateReqProtocolEnum

func GetBackendApiCreateReqProtocolEnum() BackendApiCreateReqProtocolEnum

type BackendApiCreateVpcChannelStatus

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

func (BackendApiCreateVpcChannelStatus) MarshalJSON

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

func (*BackendApiCreateVpcChannelStatus) UnmarshalJSON

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

func (BackendApiCreateVpcChannelStatus) Value added in v0.0.90

type BackendApiCreateVpcChannelStatusEnum

type BackendApiCreateVpcChannelStatusEnum struct {
	E_1 BackendApiCreateVpcChannelStatus
	E_2 BackendApiCreateVpcChannelStatus
}

func GetBackendApiCreateVpcChannelStatusEnum

func GetBackendApiCreateVpcChannelStatusEnum() BackendApiCreateVpcChannelStatusEnum

type BackendApiReqMethod

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

func (BackendApiReqMethod) MarshalJSON

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

func (*BackendApiReqMethod) UnmarshalJSON

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

func (BackendApiReqMethod) Value added in v0.0.90

func (c BackendApiReqMethod) Value() string

type BackendApiReqProtocol

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

func (BackendApiReqProtocol) MarshalJSON

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

func (*BackendApiReqProtocol) UnmarshalJSON

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

func (BackendApiReqProtocol) Value added in v0.0.90

func (c BackendApiReqProtocol) Value() string

type BackendApiReqProtocolEnum

type BackendApiReqProtocolEnum struct {
	HTTP  BackendApiReqProtocol
	HTTPS BackendApiReqProtocol
}

func GetBackendApiReqProtocolEnum

func GetBackendApiReqProtocolEnum() BackendApiReqProtocolEnum

type BackendApiStatus

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

func (BackendApiStatus) MarshalJSON

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

func (*BackendApiStatus) UnmarshalJSON

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

func (BackendApiStatus) Value added in v0.0.90

func (c BackendApiStatus) Value() int32

type BackendApiStatusEnum

type BackendApiStatusEnum struct {
	E_1 BackendApiStatus
}

func GetBackendApiStatusEnum

func GetBackendApiStatusEnum() BackendApiStatusEnum

type BackendLatencyStats

type BackendLatencyStats struct {

	// 最大后端延时
	MaxBackendLatency *int32 `json:"max_backend_latency,omitempty"`

	// 平均后端延时
	AvgBackendLatency *float32 `json:"avg_backend_latency,omitempty"`
}

func (BackendLatencyStats) String

func (o BackendLatencyStats) String() string

type BackendParam

type BackendParam struct {

	// 参数名称。 字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。
	Name string `json:"name"`

	// 参数位置:PATH、QUERY、HEADER
	Location BackendParamLocation `json:"location"`

	// 参数类别:REQUEST、CONSTANT、SYSTEM
	Origin BackendParamOrigin `json:"origin"`

	// 参数值。字符长度不超过255 origin类别为REQUEST时,此字段值为req_params中的参数名称;  origin类别为CONSTANT时,此字段值为参数真正的值;  origin类别为SYSTEM时,此字段值为系统参数名称,系统参数分为网关内置参数、前端认证参数和后端认证参数,当api前端安全认证方式为自定义认证时,可以填写前端认证参数,当api开启后端认证时,可以填写后端认证参数。  网关内置参数取值及对应含义: - $context.sourceIp:API调用者的源地址 - $context.stage:API调用的部署环境 - $context.apiName: API的名称 - $context.apiId:API的ID - $context.appName: API调用者的APP对象名称 - $context.appId:API调用者的APP对象ID - $context.requestId:当次API调用生成跟踪ID - $context.serverAddr:网关的服务器地址 - $context.serverName:网关的服务器名称 - $context.handleTime:本次API调用的处理时间 - $context.providerAppId:API拥有者的应用对象ID,暂不支持使用  前端认证参数取值:以“$context.authorizer.frontend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.frontend.aaa  后端认证参数取值:以“$context.authorizer.backend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.backend.aaa
	Value string `json:"value"`

	// 描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 参数编号
	Id *string `json:"id,omitempty"`

	// 对应的请求参数编号
	ReqParamId *string `json:"req_param_id,omitempty"`
}

func (BackendParam) String

func (o BackendParam) String() string

type BackendParamBase

type BackendParamBase struct {

	// 参数名称。 字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。
	Name string `json:"name"`

	// 参数位置:PATH、QUERY、HEADER
	Location BackendParamBaseLocation `json:"location"`

	// 参数类别:REQUEST、CONSTANT、SYSTEM
	Origin BackendParamBaseOrigin `json:"origin"`

	// 参数值。字符长度不超过255 origin类别为REQUEST时,此字段值为req_params中的参数名称;  origin类别为CONSTANT时,此字段值为参数真正的值;  origin类别为SYSTEM时,此字段值为系统参数名称,系统参数分为网关内置参数、前端认证参数和后端认证参数,当api前端安全认证方式为自定义认证时,可以填写前端认证参数,当api开启后端认证时,可以填写后端认证参数。  网关内置参数取值及对应含义: - $context.sourceIp:API调用者的源地址 - $context.stage:API调用的部署环境 - $context.apiName: API的名称 - $context.apiId:API的ID - $context.appName: API调用者的APP对象名称 - $context.appId:API调用者的APP对象ID - $context.requestId:当次API调用生成跟踪ID - $context.serverAddr:网关的服务器地址 - $context.serverName:网关的服务器名称 - $context.handleTime:本次API调用的处理时间 - $context.providerAppId:API拥有者的应用对象ID,暂不支持使用  前端认证参数取值:以“$context.authorizer.frontend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.frontend.aaa  后端认证参数取值:以“$context.authorizer.backend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.backend.aaa
	Value string `json:"value"`

	// 描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (BackendParamBase) String

func (o BackendParamBase) String() string

type BackendParamBaseLocation

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

func (BackendParamBaseLocation) MarshalJSON

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

func (*BackendParamBaseLocation) UnmarshalJSON

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

func (BackendParamBaseLocation) Value added in v0.0.90

func (c BackendParamBaseLocation) Value() string

type BackendParamBaseLocationEnum

type BackendParamBaseLocationEnum struct {
	PATH   BackendParamBaseLocation
	QUERY  BackendParamBaseLocation
	HEADER BackendParamBaseLocation
}

func GetBackendParamBaseLocationEnum

func GetBackendParamBaseLocationEnum() BackendParamBaseLocationEnum

type BackendParamBaseOrigin

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

func (BackendParamBaseOrigin) MarshalJSON

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

func (*BackendParamBaseOrigin) UnmarshalJSON

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

func (BackendParamBaseOrigin) Value added in v0.0.90

func (c BackendParamBaseOrigin) Value() string

type BackendParamBaseOriginEnum

type BackendParamBaseOriginEnum struct {
	REQUEST  BackendParamBaseOrigin
	CONSTANT BackendParamBaseOrigin
	SYSTEM   BackendParamBaseOrigin
}

func GetBackendParamBaseOriginEnum

func GetBackendParamBaseOriginEnum() BackendParamBaseOriginEnum

type BackendParamLocation

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

func (BackendParamLocation) MarshalJSON

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

func (*BackendParamLocation) UnmarshalJSON

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

func (BackendParamLocation) Value added in v0.0.90

func (c BackendParamLocation) Value() string

type BackendParamLocationEnum

type BackendParamLocationEnum struct {
	PATH   BackendParamLocation
	QUERY  BackendParamLocation
	HEADER BackendParamLocation
}

func GetBackendParamLocationEnum

func GetBackendParamLocationEnum() BackendParamLocationEnum

type BackendParamOrigin

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

func (BackendParamOrigin) MarshalJSON

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

func (*BackendParamOrigin) UnmarshalJSON

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

func (BackendParamOrigin) Value added in v0.0.90

func (c BackendParamOrigin) Value() string

type BackendParamOriginEnum

type BackendParamOriginEnum struct {
	REQUEST  BackendParamOrigin
	CONSTANT BackendParamOrigin
	SYSTEM   BackendParamOrigin
}

func GetBackendParamOriginEnum

func GetBackendParamOriginEnum() BackendParamOriginEnum

type BasePage

type BasePage struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`
}

BasePage 分页基本信息

func (BasePage) String

func (o BasePage) String() string

type BaseSignature

type BaseSignature struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *BaseSignatureSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。
	SignAlgorithm *BaseSignatureSignAlgorithm `json:"sign_algorithm,omitempty"`
}

func (BaseSignature) String

func (o BaseSignature) String() string

type BaseSignatureSignAlgorithm

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

func (BaseSignatureSignAlgorithm) MarshalJSON

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

func (*BaseSignatureSignAlgorithm) UnmarshalJSON

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

func (BaseSignatureSignAlgorithm) Value added in v0.0.90

type BaseSignatureSignAlgorithmEnum

type BaseSignatureSignAlgorithmEnum struct {
	AES_128_CFB BaseSignatureSignAlgorithm
	AES_256_CFB BaseSignatureSignAlgorithm
}

func GetBaseSignatureSignAlgorithmEnum

func GetBaseSignatureSignAlgorithmEnum() BaseSignatureSignAlgorithmEnum

type BaseSignatureSignType

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

func (BaseSignatureSignType) MarshalJSON

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

func (*BaseSignatureSignType) UnmarshalJSON

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

func (BaseSignatureSignType) Value added in v0.0.90

func (c BaseSignatureSignType) Value() string

type BaseSignatureSignTypeEnum

type BaseSignatureSignTypeEnum struct {
	HMAC       BaseSignatureSignType
	BASIC      BaseSignatureSignType
	PUBLIC_KEY BaseSignatureSignType
	AES        BaseSignatureSignType
}

func GetBaseSignatureSignTypeEnum

func GetBaseSignatureSignTypeEnum() BaseSignatureSignTypeEnum

type BatchAddDeviceToGroupRequest

type BatchAddDeviceToGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备分组ID
	GroupId int32 `json:"group_id"`

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

BatchAddDeviceToGroupRequest Request Object

func (BatchAddDeviceToGroupRequest) String

type BatchAddDeviceToGroupRequestBody

type BatchAddDeviceToGroupRequestBody struct {

	// 设备ID列表,自动向下取整
	Resources []int32 `json:"resources"`
}

func (BatchAddDeviceToGroupRequestBody) String

type BatchAddDeviceToGroupResponse

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

BatchAddDeviceToGroupResponse Response Object

func (BatchAddDeviceToGroupResponse) String

type BatchDeleteAclV2Request

type BatchDeleteAclV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 必须为delete
	Action string `json:"action"`

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

BatchDeleteAclV2Request Request Object

func (BatchDeleteAclV2Request) String

func (o BatchDeleteAclV2Request) String() string

type BatchDeleteAclV2Response

type BatchDeleteAclV2Response struct {

	// 删除成功的ACL策略数量
	SuccessCount *int32 `json:"success_count,omitempty"`

	// 删除失败的ACL策略及错误信息
	Failure        *[]AclBatchFailure `json:"failure,omitempty"`
	HttpStatusCode int                `json:"-"`
}

BatchDeleteAclV2Response Response Object

func (BatchDeleteAclV2Response) String

func (o BatchDeleteAclV2Response) String() string

type BatchDeleteApiAclBindingV2Request

type BatchDeleteApiAclBindingV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 必须为delete
	Action string `json:"action"`

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

BatchDeleteApiAclBindingV2Request Request Object

func (BatchDeleteApiAclBindingV2Request) String

type BatchDeleteApiAclBindingV2Response

type BatchDeleteApiAclBindingV2Response struct {

	// 成功解除绑定的ACL策略数量
	SuccessCount *int32 `json:"success_count,omitempty"`

	// 解除绑定失败的ACL策略及错误信息
	Failure        *[]AclBindingBatchFailure `json:"failure,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

BatchDeleteApiAclBindingV2Response Response Object

func (BatchDeleteApiAclBindingV2Response) String

type BatchDeleteDevicesRequest

type BatchDeleteDevicesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

BatchDeleteDevicesRequest Request Object

func (BatchDeleteDevicesRequest) String

func (o BatchDeleteDevicesRequest) String() string

type BatchDeleteDevicesRequestBody

type BatchDeleteDevicesRequestBody struct {

	// 删除设备ID列表,自动向下取整
	Resources []int32 `json:"resources"`
}

func (BatchDeleteDevicesRequestBody) String

type BatchDeleteDevicesResponse

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

BatchDeleteDevicesResponse Response Object

func (BatchDeleteDevicesResponse) String

type BatchDeleteMqsInstanceTopicReq

type BatchDeleteMqsInstanceTopicReq struct {

	// 待删除的topic列表。
	Topics []string `json:"topics"`
}

func (BatchDeleteMqsInstanceTopicReq) String

type BatchDeleteMqsInstanceTopicRequest

type BatchDeleteMqsInstanceTopicRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

BatchDeleteMqsInstanceTopicRequest Request Object

func (BatchDeleteMqsInstanceTopicRequest) String

type BatchDeleteMqsInstanceTopicRespTopics

type BatchDeleteMqsInstanceTopicRespTopics struct {

	// topic名称。
	Id *string `json:"id,omitempty"`

	// 是否删除成功。
	Success *bool `json:"success,omitempty"`
}

func (BatchDeleteMqsInstanceTopicRespTopics) String

type BatchDeleteMqsInstanceTopicResponse

type BatchDeleteMqsInstanceTopicResponse struct {

	// 待删除的topic列表。
	Topics         *[]BatchDeleteMqsInstanceTopicRespTopics `json:"topics,omitempty"`
	HttpStatusCode int                                      `json:"-"`
}

BatchDeleteMqsInstanceTopicResponse Response Object

func (BatchDeleteMqsInstanceTopicResponse) String

type BatchDeleteRulesRequest

type BatchDeleteRulesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

BatchDeleteRulesRequest Request Object

func (BatchDeleteRulesRequest) String

func (o BatchDeleteRulesRequest) String() string

type BatchDeleteRulesRequestBody

type BatchDeleteRulesRequestBody struct {

	// 规则ID列表,自动向下取整
	Resources []int32 `json:"resources"`
}

func (BatchDeleteRulesRequestBody) String

type BatchDeleteRulesResponse

type BatchDeleteRulesResponse struct {

	// 返回数组
	Resources      *[]SingleResponse `json:"resources,omitempty"`
	HttpStatusCode int               `json:"-"`
}

BatchDeleteRulesResponse Response Object

func (BatchDeleteRulesResponse) String

func (o BatchDeleteRulesResponse) String() string

type BatchDisableMembersRequest

type BatchDisableMembersRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

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

BatchDisableMembersRequest Request Object

func (BatchDisableMembersRequest) String

type BatchDisableMembersResponse

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

BatchDisableMembersResponse Response Object

func (BatchDisableMembersResponse) String

type BatchDisassociateThrottlingPolicyV2Request

type BatchDisassociateThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 必须为delete
	Action string `json:"action"`

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

BatchDisassociateThrottlingPolicyV2Request Request Object

func (BatchDisassociateThrottlingPolicyV2Request) String

type BatchDisassociateThrottlingPolicyV2Response

type BatchDisassociateThrottlingPolicyV2Response struct {

	// 成功解除绑定的API和流控策略绑定关系的数量
	SuccessCount *int32 `json:"success_count,omitempty"`

	// 解除绑定失败的API和流控绑定关系及错误信息
	Failure        *[]ThrottleBindingBatchFailure `json:"failure,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

BatchDisassociateThrottlingPolicyV2Response Response Object

func (BatchDisassociateThrottlingPolicyV2Response) String

type BatchEnableMembersRequest

type BatchEnableMembersRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

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

BatchEnableMembersRequest Request Object

func (BatchEnableMembersRequest) String

func (o BatchEnableMembersRequest) String() string

type BatchEnableMembersResponse

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

BatchEnableMembersResponse Response Object

func (BatchEnableMembersResponse) String

type BatchFailure

type BatchFailure struct {

	// 操作失败的API ID
	ApiId *string `json:"api_id,omitempty"`

	// 操作失败的APi名称
	ApiName *string `json:"api_name,omitempty"`

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

	// 操作失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`
}

BatchFailure 批量操作失败的返回结果

func (BatchFailure) String

func (o BatchFailure) String() string

type BatchFreezeDevicesRequest

type BatchFreezeDevicesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

BatchFreezeDevicesRequest Request Object

func (BatchFreezeDevicesRequest) String

func (o BatchFreezeDevicesRequest) String() string

type BatchFreezeDevicesRequestBody

type BatchFreezeDevicesRequestBody struct {

	// 设备ID列表,自动向下取整
	DeviceIds []int32 `json:"device_ids"`
}

func (BatchFreezeDevicesRequestBody) String

type BatchFreezeDevicesResponse

type BatchFreezeDevicesResponse struct {

	// 下线成功设备列表
	Success *[]DeviceInfoSimple `json:"success,omitempty"`

	// 下线失败设备列表
	Failed         *[]DeviceInfoSimple `json:"failed,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

BatchFreezeDevicesResponse Response Object

func (BatchFreezeDevicesResponse) String

type BatchPublishOrOfflineApiV2Request

type BatchPublishOrOfflineApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// - online:发布 - offline:下线
	Action string `json:"action"`

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

BatchPublishOrOfflineApiV2Request Request Object

func (BatchPublishOrOfflineApiV2Request) String

type BatchPublishOrOfflineApiV2Response

type BatchPublishOrOfflineApiV2Response struct {

	// 发布或下线成功的信息
	Success *[]PublishResp `json:"success,omitempty"`

	// 发布或下线失败的API及错误信息
	Failure        *[]BatchFailure `json:"failure,omitempty"`
	HttpStatusCode int             `json:"-"`
}

BatchPublishOrOfflineApiV2Response Response Object

func (BatchPublishOrOfflineApiV2Response) String

type BatchStartOrStopTasksRequest

type BatchStartOrStopTasksRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

BatchStartOrStopTasksRequest Request Object

func (BatchStartOrStopTasksRequest) String

type BatchStartOrStopTasksResponse

type BatchStartOrStopTasksResponse struct {

	// 成功的个数
	SuccessCount *int32 `json:"success_count,omitempty"`

	// 失败的个数
	FailureCount *int32 `json:"failure_count,omitempty"`

	// 失败的详情
	Failure *[]TaskBeanFacade `json:"failure,omitempty"`

	// 成功的任务信息
	Success        *[]TaskBeanFacade `json:"success,omitempty"`
	HttpStatusCode int               `json:"-"`
}

BatchStartOrStopTasksResponse Response Object

func (BatchStartOrStopTasksResponse) String

type BriefTaskRespBean

type BriefTaskRespBean struct {

	// 任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 任务名称
	TaskName *string `json:"task_name,omitempty"`

	// 任务类型 - REALTIME (实时) - TIMING (定时)
	TaskType *BriefTaskRespBeanTaskType `json:"task_type,omitempty"`

	// 任务状态 - 0 (停止/未启动) - 1 (运行中)
	Status *BriefTaskRespBeanStatus `json:"status,omitempty"`

	// 创建时间
	CreatedDate *string `json:"created_date,omitempty"`

	// 任务的版本
	Version *string `json:"version,omitempty"`

	// 上次修改时间
	LastModifiedTime *int64 `json:"last_modified_time,omitempty"`

	// 任务执行状态  - UNSTARTED (未启动)  - WAITING (等待执行)  - RUNNING (执行中)  - SUCCESS (执行成功)  - CANCELLED (任务取消)  - ERROR (执行异常)
	ExecuteStatus *string `json:"execute_status,omitempty"`

	// 源端数据源所属应用ID
	SourceAppId *string `json:"source_app_id,omitempty"`

	// 目标端数据源所属应用ID
	TargetAppId *string `json:"target_app_id,omitempty"`

	// 源端实例ID
	SourceInstanceId *string `json:"source_instance_id,omitempty"`

	// 目标端实例ID
	TargetInstanceId *string `json:"target_instance_id,omitempty"`

	// 组合任务类型, 可为空
	ExtType *string `json:"ext_type,omitempty"`

	// 企业项目id
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 任务标签
	TaskTag *string `json:"task_tag,omitempty"`
}

BriefTaskRespBean 查询任务列表返回的对象

func (BriefTaskRespBean) String

func (o BriefTaskRespBean) String() string

type BriefTaskRespBeanStatus

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

func (BriefTaskRespBeanStatus) MarshalJSON

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

func (*BriefTaskRespBeanStatus) UnmarshalJSON

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

func (BriefTaskRespBeanStatus) Value added in v0.0.90

func (c BriefTaskRespBeanStatus) Value() int32

type BriefTaskRespBeanStatusEnum

type BriefTaskRespBeanStatusEnum struct {
	E_0 BriefTaskRespBeanStatus
	E_1 BriefTaskRespBeanStatus
}

func GetBriefTaskRespBeanStatusEnum

func GetBriefTaskRespBeanStatusEnum() BriefTaskRespBeanStatusEnum

type BriefTaskRespBeanTaskType

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

func (BriefTaskRespBeanTaskType) MarshalJSON

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

func (*BriefTaskRespBeanTaskType) UnmarshalJSON

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

func (BriefTaskRespBeanTaskType) Value added in v0.0.90

type BriefTaskRespBeanTaskTypeEnum

type BriefTaskRespBeanTaskTypeEnum struct {
	REALTIME BriefTaskRespBeanTaskType
	TIMING   BriefTaskRespBeanTaskType
}

func GetBriefTaskRespBeanTaskTypeEnum

func GetBriefTaskRespBeanTaskTypeEnum() BriefTaskRespBeanTaskTypeEnum

type Calculation

type Calculation struct {

	// 从未连接过的设备数量
	NeverConnected *int32 `json:"never_connected,omitempty"`

	// 在线设备数量
	Online *int32 `json:"online,omitempty"`

	// 离线设备数量
	Offline *int32 `json:"offline,omitempty"`
}

func (Calculation) String

func (o Calculation) String() string

type CancelingAuthorizationV2Request

type CancelingAuthorizationV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 授权关系的编号
	AppAuthId string `json:"app_auth_id"`
}

CancelingAuthorizationV2Request Request Object

func (CancelingAuthorizationV2Request) String

type CancelingAuthorizationV2Response

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

CancelingAuthorizationV2Response Response Object

func (CancelingAuthorizationV2Response) String

type CandidatesUser

type CandidatesUser struct {

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

	// 用户ID
	Id *string `json:"id,omitempty"`
}

func (CandidatesUser) String

func (o CandidatesUser) String() string

type CertForm

type CertForm struct {

	// 证书内容
	CertContent string `json:"cert_content"`

	// 证书名称。长度为4 ~ 50位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 私钥内容
	PrivateKey string `json:"private_key"`
}

func (CertForm) String

func (o CertForm) String() string

type ChangeApiVersionV2Request

type ChangeApiVersionV2Request struct {

	// 实例编号
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

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

ChangeApiVersionV2Request Request Object

func (ChangeApiVersionV2Request) String

func (o ChangeApiVersionV2Request) String() string

type ChangeApiVersionV2Response

type ChangeApiVersionV2Response struct {

	// 发布记录的ID
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 发布描述
	Remark *string `json:"remark,omitempty"`

	// 发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// 在线的版本号
	VersionId      *string `json:"version_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ChangeApiVersionV2Response Response Object

func (ChangeApiVersionV2Response) String

type CheckApiGroupsV2Request

type CheckApiGroupsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CheckApiGroupsV2Request Request Object

func (CheckApiGroupsV2Request) String

func (o CheckApiGroupsV2Request) String() string

type CheckApiGroupsV2Response

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

CheckApiGroupsV2Response Response Object

func (CheckApiGroupsV2Response) String

func (o CheckApiGroupsV2Response) String() string

type CheckApisV2Request

type CheckApisV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CheckApisV2Request Request Object

func (CheckApisV2Request) String

func (o CheckApisV2Request) String() string

type CheckApisV2Response

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

CheckApisV2Response Response Object

func (CheckApisV2Response) String

func (o CheckApisV2Response) String() string

type CheckAssetJobStatusRequest

type CheckAssetJobStatusRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 作业ID
	JobId string `json:"job_id"`
}

CheckAssetJobStatusRequest Request Object

func (CheckAssetJobStatusRequest) String

type CheckAssetJobStatusResponse

type CheckAssetJobStatusResponse struct {

	// 作业ID
	Id *string `json:"id,omitempty"`

	// 作业类型
	Type *CheckAssetJobStatusResponseType `json:"type,omitempty"`

	// 作业状态 - RUNNING : 作业正在执行 - SUCCEEDED : 作业执行成功,对于导出作业,用户可以通过archive_id来下载资产包 - FAILED : 作业执行失败,通过reason字段查看具体错误原因
	Status *CheckAssetJobStatusResponseStatus `json:"status,omitempty"`

	// 导致作业失败的错误原因
	Reasons *[]AssetJobReason `json:"reasons,omitempty"`

	// 作业进度百分比
	ProgressPercent *float32 `json:"progress_percent,omitempty"`

	// 导出作业成功时,供下载的资产包ID
	ArchiveId *string `json:"archive_id,omitempty"`

	// 作业开始时间
	BeginTime *string `json:"begin_time,omitempty"`

	// 作业结束时间
	EndTime        *string `json:"end_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CheckAssetJobStatusResponse Response Object

func (CheckAssetJobStatusResponse) String

type CheckAssetJobStatusResponseStatus

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

func (CheckAssetJobStatusResponseStatus) MarshalJSON

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

func (*CheckAssetJobStatusResponseStatus) UnmarshalJSON

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

func (CheckAssetJobStatusResponseStatus) Value added in v0.0.90

type CheckAssetJobStatusResponseStatusEnum

type CheckAssetJobStatusResponseStatusEnum struct {
	RUNNING   CheckAssetJobStatusResponseStatus
	SUCCEEDED CheckAssetJobStatusResponseStatus
	FAILED    CheckAssetJobStatusResponseStatus
}

func GetCheckAssetJobStatusResponseStatusEnum

func GetCheckAssetJobStatusResponseStatusEnum() CheckAssetJobStatusResponseStatusEnum

type CheckAssetJobStatusResponseType

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

func (CheckAssetJobStatusResponseType) MarshalJSON

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

func (*CheckAssetJobStatusResponseType) UnmarshalJSON

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

func (CheckAssetJobStatusResponseType) Value added in v0.0.90

type CheckAssetJobStatusResponseTypeEnum

type CheckAssetJobStatusResponseTypeEnum struct {
	IMPORT_ASSET CheckAssetJobStatusResponseType
	EXPORT_ASSET CheckAssetJobStatusResponseType
}

func GetCheckAssetJobStatusResponseTypeEnum

func GetCheckAssetJobStatusResponseTypeEnum() CheckAssetJobStatusResponseTypeEnum

type CheckAuthUsersOfAppRequest

type CheckAuthUsersOfAppRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 查询应用的指定名称的成员,精确匹配
	UserName *string `json:"user_name,omitempty"`
}

CheckAuthUsersOfAppRequest Request Object

func (CheckAuthUsersOfAppRequest) String

type CheckAuthUsersOfAppResponse

type CheckAuthUsersOfAppResponse struct {

	// 应用的总成员数量
	Total *int32 `json:"total,omitempty"`

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 用户成员列表
	Users          *[]AppUsersUsers `json:"users,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CheckAuthUsersOfAppResponse Response Object

func (CheckAuthUsersOfAppResponse) String

type CheckCanAuthUsersOfAppRequest

type CheckCanAuthUsersOfAppRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 过滤条件 - 过滤条件,未提供时返回包括应用成员在内的所有候选用户列表 - 取值members时,过滤掉当前应用成员,适合增量添加应用成员时使用
	Filter *string `json:"filter,omitempty"`
}

CheckCanAuthUsersOfAppRequest Request Object

func (CheckCanAuthUsersOfAppRequest) String

type CheckCanAuthUsersOfAppResponse

type CheckCanAuthUsersOfAppResponse struct {

	// 候选用户成员列表
	Users          *[]CandidatesUser `json:"users,omitempty"`
	HttpStatusCode int               `json:"-"`
}

CheckCanAuthUsersOfAppResponse Response Object

func (CheckCanAuthUsersOfAppResponse) String

type CheckDictionaryRequest

type CheckDictionaryRequest struct {

	// 字典ID
	DictId string `json:"dict_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`
}

CheckDictionaryRequest Request Object

func (CheckDictionaryRequest) String

func (o CheckDictionaryRequest) String() string

type CheckDictionaryResponse

type CheckDictionaryResponse struct {

	// 字典ID
	Id *string `json:"id,omitempty"`

	// 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 字典描述
	Remark *string `json:"remark,omitempty"`

	// 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一
	Code *string `json:"code,omitempty"`

	// 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendOne *string `json:"extend_one,omitempty"`

	// 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendTwo *string `json:"extend_two,omitempty"`

	// 父字典编码,为空时代表自身就是最顶级字典
	ParentCode *string `json:"parent_code,omitempty"`

	Type *DictionaryType `json:"type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

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

CheckDictionaryResponse Response Object

func (CheckDictionaryResponse) String

func (o CheckDictionaryResponse) String() string

type CheckLivedataApisV2Request

type CheckLivedataApisV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CheckLivedataApisV2Request Request Object

func (CheckLivedataApisV2Request) String

type CheckLivedataApisV2Response

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

CheckLivedataApisV2Response Response Object

func (CheckLivedataApisV2Response) String

type CheckRomaAppDetailsRequest

type CheckRomaAppDetailsRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`
}

CheckRomaAppDetailsRequest Request Object

func (CheckRomaAppDetailsRequest) String

type CheckRomaAppDetailsResponse

type CheckRomaAppDetailsResponse struct {

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 应用描述
	Remark *string `json:"remark,omitempty"`

	// 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限
	Roles *[]CheckRomaAppDetailsResponseRoles `json:"roles,omitempty"`

	// 创建UTC时间
	CreateTime *string `json:"create_time,omitempty"`

	// 创建UTC时间
	UpdateTime *string `json:"update_time,omitempty"`

	CreatedUser *ServerAppInfoCreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *ServerAppInfoLastUpdatedUser `json:"last_updated_user,omitempty"`

	// 是否是应用拥有者
	Owner *bool `json:"owner,omitempty"`

	// 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一
	Key *string `json:"key,omitempty"`

	// 是否收藏应用,收藏的应用会在列表里优先显示
	Favorite       *bool `json:"favorite,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CheckRomaAppDetailsResponse Response Object

func (CheckRomaAppDetailsResponse) String

type CheckRomaAppDetailsResponseRoles

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

func (CheckRomaAppDetailsResponseRoles) MarshalJSON

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

func (*CheckRomaAppDetailsResponseRoles) UnmarshalJSON

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

func (CheckRomaAppDetailsResponseRoles) Value added in v0.0.90

type CheckRomaAppSecretRequest

type CheckRomaAppSecretRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`
}

CheckRomaAppSecretRequest Request Object

func (CheckRomaAppSecretRequest) String

func (o CheckRomaAppSecretRequest) String() string

type CheckRomaAppSecretResponse

type CheckRomaAppSecretResponse struct {

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做
	Secret         *string `json:"secret,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CheckRomaAppSecretResponse Response Object

func (CheckRomaAppSecretResponse) String

type CheckRomaInstanceListV2Request

type CheckRomaInstanceListV2Request struct {

	// 实例状态
	Status *string `json:"status,omitempty"`

	// 偏移量,大于等于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

CheckRomaInstanceListV2Request Request Object

func (CheckRomaInstanceListV2Request) String

type CheckRomaInstanceListV2Response

type CheckRomaInstanceListV2Response struct {

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

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

	// 实例列表
	Instances      *[]RomaInstanceCheckListRespInstances `json:"instances,omitempty"`
	HttpStatusCode int                                   `json:"-"`
}

CheckRomaInstanceListV2Response Response Object

func (CheckRomaInstanceListV2Response) String

type ColumnInfo

type ColumnInfo struct {

	// 字段名称
	FieldName *string `json:"field_name,omitempty"`

	// 字段类型
	FieldType *string `json:"field_type,omitempty"`

	// 字段长度
	FieldLength *string `json:"field_length,omitempty"`

	// 是否允许为空
	NullAble *string `json:"null_able,omitempty"`

	// 是否是分区字段
	IsPartition *bool `json:"is_partition,omitempty"`

	// 是否是主键字段
	Primary *string `json:"primary,omitempty"`

	// 是否是唯一键字段
	Unique *string `json:"unique,omitempty"`

	// 小数部分位数,非数字类型返回null
	DecimalDigits *string `json:"decimal_digits,omitempty"`
}

ColumnInfo 表字段详情

func (ColumnInfo) String

func (o ColumnInfo) String() string

type Command

type Command struct {

	// 命令所属服务id
	ServiceId *int32 `json:"service_id,omitempty"`

	// 命令id
	CommandId *int32 `json:"command_id,omitempty"`

	// 命令名称
	CommandName *string `json:"command_name,omitempty"`

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

func (Command) String

func (o Command) String() string

type ConditionResp

type ConditionResp struct {

	// 关联的请求参数对象名称。策略类型为param时必选
	ReqParamName *string `json:"req_param_name,omitempty"`

	// 系统参数名称。策略类型为system时必选。支持以下系统参数 - req_path:请求路径。如 /a/b - req_method:请求方法。如 GET
	SysParamName *ConditionRespSysParamName `json:"sys_param_name,omitempty"`

	// COOKIE参数名称;策略类型为cookie时必选
	CookieParamName *string `json:"cookie_param_name,omitempty"`

	// 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则  策略类型为param时必选
	ConditionType *ConditionRespConditionType `json:"condition_type,omitempty"`

	// 策略类型 - param:参数 - source:源IP - system:系统参数
	ConditionOrigin ConditionRespConditionOrigin `json:"condition_origin"`

	// 策略值
	ConditionValue string `json:"condition_value"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 关联的请求参数对象编号
	ReqParamId *string `json:"req_param_id,omitempty"`

	// 关联的请求参数对象位置
	ReqParamLocation *string `json:"req_param_location,omitempty"`
}

func (ConditionResp) String

func (o ConditionResp) String() string

type ConditionRespConditionOrigin

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

func (ConditionRespConditionOrigin) MarshalJSON

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

func (*ConditionRespConditionOrigin) UnmarshalJSON

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

func (ConditionRespConditionOrigin) Value added in v0.0.90

type ConditionRespConditionOriginEnum

type ConditionRespConditionOriginEnum struct {
	PARAM  ConditionRespConditionOrigin
	SOURCE ConditionRespConditionOrigin
}

func GetConditionRespConditionOriginEnum

func GetConditionRespConditionOriginEnum() ConditionRespConditionOriginEnum

type ConditionRespConditionType

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

func (ConditionRespConditionType) MarshalJSON

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

func (*ConditionRespConditionType) UnmarshalJSON

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

func (ConditionRespConditionType) Value added in v0.0.90

type ConditionRespConditionTypeEnum

type ConditionRespConditionTypeEnum struct {
	EXACT   ConditionRespConditionType
	ENUM    ConditionRespConditionType
	PATTERN ConditionRespConditionType
}

func GetConditionRespConditionTypeEnum

func GetConditionRespConditionTypeEnum() ConditionRespConditionTypeEnum

type ConditionRespSysParamName

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

func (ConditionRespSysParamName) MarshalJSON

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

func (*ConditionRespSysParamName) UnmarshalJSON

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

func (ConditionRespSysParamName) Value added in v0.0.90

type ConditionRespSysParamNameEnum

type ConditionRespSysParamNameEnum struct {
	REQ_PATH   ConditionRespSysParamName
	REQ_METHOD ConditionRespSysParamName
}

func GetConditionRespSysParamNameEnum

func GetConditionRespSysParamNameEnum() ConditionRespSysParamNameEnum

type Config

type Config struct {

	// 配额编号
	ConfigId *string `json:"config_id,omitempty"`

	// 配额名称
	ConfigName *ConfigConfigName `json:"config_name,omitempty"`

	// 配额值  当前实例所在租户该配额对应的数量
	ConfigValue *string `json:"config_value,omitempty"`

	// 配额创建时间
	ConfigTime *sdktime.SdkTime `json:"config_time,omitempty"`

	// 配额描述:   - API_NUM_LIMIT:租户可以创建的API个数限制   - APP_NUM_LIMIT:租户可以创建的APP个数限制   - APIGROUP_NUM_LIMIT:租户可以创建的API分组个数限制   - ENVIRONMENT_NUM_LIMIT:租户可以创建的环境个数限制   - VARIABLE_NUM_LIMIT:每个API分组上可以创建的环境变量个数限制   - SIGN_NUM_LIMIT:租户可以创建的签名密钥个数限制   - THROTTLE_NUM_LIMIT:租户可以创建的流控策略个数限制   - APIGROUP_DOMAIN_NUM_LIMIT:每个API分组上可以绑定的自定义域名个数限制   - API_VERSION_NUM_LIMIT:每个API可以保留的发布版本个数限制   - VPC_NUM_LIMIT:租户可以创建的VPC通道个数限制   - VPC_INSTANCE_NUM_LIMIT:每个VPC通道上可以绑定的弹性云服务器个数限制   - API_PARAM_NUM_LIMIT:每个API可以设置的参数个数限制   - API_USER_CALL_LIMIT:每个租户的API单位时间内的请求默认限制   - ACL_NUM_LIMIT:每个租户可以创建的ACL策略个数限制   - APP_THROTTLE_LIMIT:特殊应用流控策略个数限制   - USER_THROTTLE_LIMIT:特殊用户流控策略个数限制   - API_NUM_LIMIT_PER_GROUP:租户每个API分组可以创建的API数量限制   - API_POLICY_NUM_LIMIT:每个API可以设置的策略后端个数限制   - API_CONDITION_NUM_LIMIT:每个API策略后端可以设置的条件个数限制   - SL_DOMAIN_CALL_LIMIT:每个二级域名单位时间内的请求默认限制   - ELB_SWITCH:是否启用ELB通道   - AUTHORIZER_NUM_LIMIT:租户可创建的自定义认证个数限制   - AUTHORIZER_IDENTITY_NUM_LIMIT:每个自定义认证可以设置的身份来源个数限制   - APP_CODE_NUM_LIMIT:每个APP可以创建的APP code数量限制   - REGION_MANAGER_WHITELIST_SERVICES:不校验region manager服务白名单列表,暂不支持   - API_SWAGGER_NUM_LIMIT:单个API分组可以绑定的swagger文档数量限制   - API_TAG_NUM_LIMIT:每个API可以设置的标签个数限制   - LTS_SWITCH:是启用LTS上报   - APP_KEY_SECRET_SWITCH:是否打开APP支持自定义KEY和SECRET的开关,1:开启;2:关闭   - RESPONSE_NUM_LIMIT:分组自定义响应个数限制   - CONFIG_NUM_LIMIT_PER_APP:每个APP可以设置的配置项个数限制   - BACKEND_TOKEN_ALLOW_SWITCH:是否支持普通租户透传后端token,1:开启;2:关闭   - APP_TOKEN_SWITCH:是否启用APPTOKEN   - API_DESIGNER_SWITCH:是否启用api设计器,1:开启;2:关闭   - APP_API_KEY_SWITCH:是否启用APP_API_KEY认证方式   - APP_BASIC_SWITCH:是否启用APP_BASIC认证方式   - APP_JWT_SWITCH:是否启用APP_JWT认证方式   - APP_ROUTE_SWITCH:是否启用APP路由   - PUBLIC_KEY_SWITCH:是否启用PUBLIK_KEY后端认证方式   - APP_SECRET_SWITCH:是否启用APP_SECRET认证方式   - CASCADE_SWITCH:是否启用级联网关   - IS_INIT_API_PATH_HASH:是否执行过API PATH HASH刷新   - APP_QUOTA_NUM_LIMIT:租户可以创建的客户端配额个数   - IS_INIT_API_VERSION:是否执行过API VERSION CANONICAL PATH刷新   - PLUGIN_NUM_LIMIT:租户可以创建的插件个数   - APICLIENT_FIRST_USE_X_HW_ID_SWITCH:ApiClient是否优先使用x-hw-id校验权限   [- API_TASK_NUM_LIMIT:租户可以创建的API定时任务个数限制    - THROTTLE_LOCAL_SWITCH:是否启用本地流控模式    - API_TASK_SWITCH:租户是否支持定时任务    - SET_HEADERS_NUM_LIMIT_PER_PLUGIN:租户可以通过插件创建的HTTP头个数限制    - LUA_SCRIPT_SWITCH:租户是否允许使用lua_script插件    - LUA_SCRIPT_NUM_LIMIT:每个实例可以创建的lua_script类型插件个数限制    - SM_DICT_NUM_LIMIT:每个实例可以创建的数据字典个数限制    - BM_VPC_INSTANCE_GROUP_NUM_LIMIT:每个实例可以创建的VPC通道后端服务器组个数限制](tag:hws)
	Remark *string `json:"remark,omitempty"`

	// 该实例对应配额已使用数量
	Used *int64 `json:"used,omitempty"`
}

func (Config) String

func (o Config) String() string

type ConfigConfigName

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

func (ConfigConfigName) MarshalJSON

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

func (*ConfigConfigName) UnmarshalJSON

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

func (ConfigConfigName) Value added in v0.0.90

func (c ConfigConfigName) Value() string

type ConfigConfigNameEnum

type ConfigConfigNameEnum struct {
	API_NUM_LIMIT                      ConfigConfigName
	APP_NUM_LIMIT                      ConfigConfigName
	APIGROUP_NUM_LIMIT                 ConfigConfigName
	ENVIRONMENT_NUM_LIMIT              ConfigConfigName
	VARIABLE_NUM_LIMIT                 ConfigConfigName
	SIGN_NUM_LIMIT                     ConfigConfigName
	THROTTLE_NUM_LIMIT                 ConfigConfigName
	APIGROUP_DOMAIN_NUM_LIMIT          ConfigConfigName
	API_VERSION_NUM_LIMIT              ConfigConfigName
	VPC_NUM_LIMIT                      ConfigConfigName
	VPC_INSTANCE_NUM_LIMIT             ConfigConfigName
	API_PARAM_NUM_LIMIT                ConfigConfigName
	API_USER_CALL_LIMIT                ConfigConfigName
	ACL_NUM_LIMIT                      ConfigConfigName
	APP_THROTTLE_LIMIT                 ConfigConfigName
	USER_THROTTLE_LIMIT                ConfigConfigName
	API_NUM_LIMIT_PER_GROUP            ConfigConfigName
	API_POLICY_NUM_LIMIT               ConfigConfigName
	API_CONDITION_NUM_LIMIT            ConfigConfigName
	SL_DOMAIN_CALL_LIMIT               ConfigConfigName
	ELB_SWITCH                         ConfigConfigName
	AUTHORIZER_NUM_LIMIT               ConfigConfigName
	AUTHORIZER_IDENTITY_NUM_LIMIT      ConfigConfigName
	APP_CODE_NUM_LIMIT                 ConfigConfigName
	REGION_MANAGER_WHITELIST_SERVICES  ConfigConfigName
	API_SWAGGER_NUM_LIMIT              ConfigConfigName
	API_TAG_NUM_LIMIT                  ConfigConfigName
	LTS_SWITCH                         ConfigConfigName
	APP_KEY_SECRET_SWITCH              ConfigConfigName
	RESPONSE_NUM_LIMIT                 ConfigConfigName
	CONFIG_NUM_LIMIT_PER_APP           ConfigConfigName
	BACKEND_TOKEN_ALLOW_SWITCH         ConfigConfigName
	APP_TOKEN_SWITCH                   ConfigConfigName
	API_DESIGNER_SWITCH                ConfigConfigName
	APP_API_KEY_SWITCH                 ConfigConfigName
	APP_BASIC_SWITCH                   ConfigConfigName
	APP_JWT_SWITCH                     ConfigConfigName
	APP_ROUTE_SWITCH                   ConfigConfigName
	PUBLIC_KEY_SWITCH                  ConfigConfigName
	APP_SECRET_SWITCH                  ConfigConfigName
	CASCADE_SWITCH                     ConfigConfigName
	IS_INIT_API_PATH_HASH              ConfigConfigName
	APP_QUOTA_NUM_LIMIT                ConfigConfigName
	IS_INIT_API_VERSION                ConfigConfigName
	PLUGIN_NUM_LIMIT                   ConfigConfigName
	APICLIENT_FIRST_USE_X_HW_ID_SWITCH ConfigConfigName
	API_TASK_NUM_LIMIT                 ConfigConfigName
	SET_HEADERS_NUM_LIMIT_PER_PLUGIN   ConfigConfigName
	API_TASK_SWITCH                    ConfigConfigName
	THROTTLE_LOCAL_SWITCH              ConfigConfigName
	LUA_SCRIPT_SWITCH                  ConfigConfigName
	SM_DICT_NUM_LIMIT                  ConfigConfigName
	BM_VPC_INSTANCE_GROUP_NUM_LIMIT    ConfigConfigName
}

func GetConfigConfigNameEnum

func GetConfigConfigNameEnum() ConfigConfigNameEnum

type ConfigOutline

type ConfigOutline struct {

	// 配额编号
	ConfigId *string `json:"config_id,omitempty"`

	// 配额名称
	ConfigName *ConfigOutlineConfigName `json:"config_name,omitempty"`

	// 配额值  当前实例所在租户该配额对应的数量
	ConfigValue *string `json:"config_value,omitempty"`

	// 配额创建时间
	ConfigTime *sdktime.SdkTime `json:"config_time,omitempty"`

	// 配额描述:   - API_NUM_LIMIT:租户可以创建的API个数限制   - APP_NUM_LIMIT:租户可以创建的APP个数限制   - APIGROUP_NUM_LIMIT:租户可以创建的API分组个数限制   - ENVIRONMENT_NUM_LIMIT:租户可以创建的环境个数限制   - VARIABLE_NUM_LIMIT:每个API分组上可以创建的环境变量个数限制   - SIGN_NUM_LIMIT:租户可以创建的签名密钥个数限制   - THROTTLE_NUM_LIMIT:租户可以创建的流控策略个数限制   - APIGROUP_DOMAIN_NUM_LIMIT:每个API分组上可以绑定的自定义域名个数限制   - API_VERSION_NUM_LIMIT:每个API可以保留的发布版本个数限制   - VPC_NUM_LIMIT:租户可以创建的VPC通道个数限制   - VPC_INSTANCE_NUM_LIMIT:每个VPC通道上可以绑定的弹性云服务器个数限制   - API_PARAM_NUM_LIMIT:每个API可以设置的参数个数限制   - API_USER_CALL_LIMIT:每个租户的API单位时间内的请求默认限制   - ACL_NUM_LIMIT:每个租户可以创建的ACL策略个数限制   - APP_THROTTLE_LIMIT:特殊应用流控策略个数限制   - USER_THROTTLE_LIMIT:特殊用户流控策略个数限制   - API_NUM_LIMIT_PER_GROUP:租户每个API分组可以创建的API数量限制   - API_POLICY_NUM_LIMIT:每个API可以设置的策略后端个数限制   - API_CONDITION_NUM_LIMIT:每个API策略后端可以设置的条件个数限制   - SL_DOMAIN_CALL_LIMIT:每个二级域名单位时间内的请求默认限制   - ELB_SWITCH:是否启用ELB通道   - AUTHORIZER_NUM_LIMIT:租户可创建的自定义认证个数限制   - AUTHORIZER_IDENTITY_NUM_LIMIT:每个自定义认证可以设置的身份来源个数限制   - APP_CODE_NUM_LIMIT:每个APP可以创建的APP code数量限制   - REGION_MANAGER_WHITELIST_SERVICES:不校验region manager服务白名单列表,暂不支持   - API_SWAGGER_NUM_LIMIT:单个API分组可以绑定的swagger文档数量限制   - API_TAG_NUM_LIMIT:每个API可以设置的标签个数限制   - LTS_SWITCH:是启用LTS上报   - APP_KEY_SECRET_SWITCH:是否打开APP支持自定义KEY和SECRET的开关,1:开启;2:关闭   - RESPONSE_NUM_LIMIT:分组自定义响应个数限制   - CONFIG_NUM_LIMIT_PER_APP:每个APP可以设置的配置项个数限制   - BACKEND_TOKEN_ALLOW_SWITCH:是否支持普通租户透传后端token,1:开启;2:关闭   - APP_TOKEN_SWITCH:是否启用APPTOKEN   - API_DESIGNER_SWITCH:是否启用api设计器,1:开启;2:关闭   - APP_API_KEY_SWITCH:是否启用APP_API_KEY认证方式   - APP_BASIC_SWITCH:是否启用APP_BASIC认证方式   - APP_JWT_SWITCH:是否启用APP_JWT认证方式   - APP_ROUTE_SWITCH:是否启用APP路由   - PUBLIC_KEY_SWITCH:是否启用PUBLIK_KEY后端认证方式   - APP_SECRET_SWITCH:是否启用APP_SECRET认证方式   - CASCADE_SWITCH:是否启用级联网关   - IS_INIT_API_PATH_HASH:是否执行过API PATH HASH刷新   - APP_QUOTA_NUM_LIMIT:租户可以创建的客户端配额个数   - IS_INIT_API_VERSION:是否执行过API VERSION CANONICAL PATH刷新   - PLUGIN_NUM_LIMIT:租户可以创建的插件个数   - APICLIENT_FIRST_USE_X_HW_ID_SWITCH:ApiClient是否优先使用x-hw-id校验权限   [- API_TASK_NUM_LIMIT:租户可以创建的API定时任务个数限制    - THROTTLE_LOCAL_SWITCH:是否启用本地流控模式    - API_TASK_SWITCH:租户是否支持定时任务    - SET_HEADERS_NUM_LIMIT_PER_PLUGIN:租户可以通过插件创建的HTTP头个数限制    - LUA_SCRIPT_SWITCH:租户是否允许使用lua_script插件    - LUA_SCRIPT_NUM_LIMIT:每个实例可以创建的lua_script类型插件个数限制    - SM_DICT_NUM_LIMIT:每个实例可以创建的数据字典个数限制    - BM_VPC_INSTANCE_GROUP_NUM_LIMIT:每个实例可以创建的VPC通道后端服务器组个数限制](tag:hws)
	Remark *string `json:"remark,omitempty"`
}

func (ConfigOutline) String

func (o ConfigOutline) String() string

type ConfigOutlineConfigName

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

func (ConfigOutlineConfigName) MarshalJSON

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

func (*ConfigOutlineConfigName) UnmarshalJSON

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

func (ConfigOutlineConfigName) Value added in v0.0.90

func (c ConfigOutlineConfigName) Value() string

type ConfigOutlineConfigNameEnum

type ConfigOutlineConfigNameEnum struct {
	API_NUM_LIMIT                      ConfigOutlineConfigName
	APP_NUM_LIMIT                      ConfigOutlineConfigName
	APIGROUP_NUM_LIMIT                 ConfigOutlineConfigName
	ENVIRONMENT_NUM_LIMIT              ConfigOutlineConfigName
	VARIABLE_NUM_LIMIT                 ConfigOutlineConfigName
	SIGN_NUM_LIMIT                     ConfigOutlineConfigName
	THROTTLE_NUM_LIMIT                 ConfigOutlineConfigName
	APIGROUP_DOMAIN_NUM_LIMIT          ConfigOutlineConfigName
	API_VERSION_NUM_LIMIT              ConfigOutlineConfigName
	VPC_NUM_LIMIT                      ConfigOutlineConfigName
	VPC_INSTANCE_NUM_LIMIT             ConfigOutlineConfigName
	API_PARAM_NUM_LIMIT                ConfigOutlineConfigName
	API_USER_CALL_LIMIT                ConfigOutlineConfigName
	ACL_NUM_LIMIT                      ConfigOutlineConfigName
	APP_THROTTLE_LIMIT                 ConfigOutlineConfigName
	USER_THROTTLE_LIMIT                ConfigOutlineConfigName
	API_NUM_LIMIT_PER_GROUP            ConfigOutlineConfigName
	API_POLICY_NUM_LIMIT               ConfigOutlineConfigName
	API_CONDITION_NUM_LIMIT            ConfigOutlineConfigName
	SL_DOMAIN_CALL_LIMIT               ConfigOutlineConfigName
	ELB_SWITCH                         ConfigOutlineConfigName
	AUTHORIZER_NUM_LIMIT               ConfigOutlineConfigName
	AUTHORIZER_IDENTITY_NUM_LIMIT      ConfigOutlineConfigName
	APP_CODE_NUM_LIMIT                 ConfigOutlineConfigName
	REGION_MANAGER_WHITELIST_SERVICES  ConfigOutlineConfigName
	API_SWAGGER_NUM_LIMIT              ConfigOutlineConfigName
	API_TAG_NUM_LIMIT                  ConfigOutlineConfigName
	LTS_SWITCH                         ConfigOutlineConfigName
	APP_KEY_SECRET_SWITCH              ConfigOutlineConfigName
	RESPONSE_NUM_LIMIT                 ConfigOutlineConfigName
	CONFIG_NUM_LIMIT_PER_APP           ConfigOutlineConfigName
	BACKEND_TOKEN_ALLOW_SWITCH         ConfigOutlineConfigName
	APP_TOKEN_SWITCH                   ConfigOutlineConfigName
	API_DESIGNER_SWITCH                ConfigOutlineConfigName
	APP_API_KEY_SWITCH                 ConfigOutlineConfigName
	APP_BASIC_SWITCH                   ConfigOutlineConfigName
	APP_JWT_SWITCH                     ConfigOutlineConfigName
	APP_ROUTE_SWITCH                   ConfigOutlineConfigName
	PUBLIC_KEY_SWITCH                  ConfigOutlineConfigName
	APP_SECRET_SWITCH                  ConfigOutlineConfigName
	CASCADE_SWITCH                     ConfigOutlineConfigName
	IS_INIT_API_PATH_HASH              ConfigOutlineConfigName
	APP_QUOTA_NUM_LIMIT                ConfigOutlineConfigName
	IS_INIT_API_VERSION                ConfigOutlineConfigName
	PLUGIN_NUM_LIMIT                   ConfigOutlineConfigName
	APICLIENT_FIRST_USE_X_HW_ID_SWITCH ConfigOutlineConfigName
	API_TASK_NUM_LIMIT                 ConfigOutlineConfigName
	SET_HEADERS_NUM_LIMIT_PER_PLUGIN   ConfigOutlineConfigName
	API_TASK_SWITCH                    ConfigOutlineConfigName
	THROTTLE_LOCAL_SWITCH              ConfigOutlineConfigName
	LUA_SCRIPT_SWITCH                  ConfigOutlineConfigName
	SM_DICT_NUM_LIMIT                  ConfigOutlineConfigName
	BM_VPC_INSTANCE_GROUP_NUM_LIMIT    ConfigOutlineConfigName
}

func GetConfigOutlineConfigNameEnum

func GetConfigOutlineConfigNameEnum() ConfigOutlineConfigNameEnum

type Content

type Content struct {

	// gauss100的版本号 - V100R003C20 - V300R001C00
	Gauss100Version *ContentGauss100Version `json:"gauss100_version,omitempty"`

	// 主机IP地址 - 数据源为DWS、HANA、RABBITMQ、SAP、SNMP、IBMMQ类型时需要配置。 - 数据源为MYSQL、ORACLE、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ARTEMISMQ、POSTGRESQL、HIVE类型且mode为default时需要配置。 - 数据源为HL7类型且作为目标端(position为target)时需要配置。 - 初始值为空,配置任务启动后生成host
	Host *string `json:"host,omitempty"`

	// 端口,端口号为0到65535 - 数据源为DWS、HANA、RABBITMQ、SAP、SNMP、IBMMQ,obs类型时需要配置, - 数据源为MYSQL、ORACLE、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ARTEMISMQ、POSTGRESQL、HIVE类型且mode为default时需要配置, - 数据源为HL7类型且作为目标端(position为target)时需要配置
	Port *string `json:"port,omitempty"`

	// 数据库名称 - 数据源为DWS、HANA、RABBITMQ、SAP、SNMP、IBMMQ,obs类型时需要配置, - 数据源为MYSQL、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ARTEMISMQ、POSTGRESQL、HIVE类型且mode为default时需要配置, - 数据源为ORACLE类型且mode为(default、multiAddress)时需要配置
	DatabaseName *string `json:"database_name,omitempty"`

	// REDIS数据源类型配置,数据库编号, 纯数字编码
	RedisDatabase *string `json:"redis_database,omitempty"`

	// 访问服务的用户名 - 数据源为MYSQL、DWS、FTP、ORACLE、MONGODB、HANA、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ACTIVEMQ、ARTEMISMQ、POSTGRESQL、RABBITMQ、SAP、IBMMQ、HIVE类型时需要配置 - 数据源为WEBSOCKET类型,认证方式(basicauth)时需要配置 - 数据源为LDAP,安全认证类型(security_auth_type)为simple时需要配置
	UserName *string `json:"user_name,omitempty"`

	// 访问服务的密码 - 数据源为MYSQL、DWS、FTP、ORACLE、MONGODB、HANA、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ACTIVEMQ、ARTEMISMQ、POSTGRESQL、RABBITMQ、SAP、IBMMQ、HIVE类型时需要配置 - 数据源为WEBSOCKET,且认证方式(basicauth)时需要配置 - 数据源为LDAP,且安全认证类型(security_auth_type)为simple时需要配置
	Password *string `json:"password,omitempty"`

	// 数据源连接模式 - 数据源为DWS、MONGODB、REDIS、HANA时配置默认, - 数据源为MYSQL、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、POSTGRESQL、HIVE时配置(default,professional), - 数据源为ORACLE时配置专有的模式multiAddress - default (默认模式) - professional (专业模式) - multiAddress (多地址)
	Mode *ContentMode `json:"mode,omitempty"`

	// cdc模式,只有组合任务使用
	CdcMode *ContentCdcMode `json:"cdc_mode,omitempty"`

	// ORACLE集群地址,当mode为multiAddress时需要配置
	MultiOracleAddress *[]MultiOracleAddress `json:"multi_oracle_address,omitempty"`

	// ORACLE集群服务名
	OracleServiceName *string `json:"oracle_service_name,omitempty"`

	// 访问FTP服务的连接模式 - active (主动模式) - passive (被动模式)
	FtpConnectMode *ContentFtpConnectMode `json:"ftp_connect_mode,omitempty"`

	// 访问FTP服务协议类型 - sftp - ftp
	FtpProtocol *ContentFtpProtocol `json:"ftp_protocol,omitempty"`

	// 地址 - OBS (obs远端地址,obs数据源使用) - MONGODB (MONGODB数据源类型主机IP地址,多个IP:PORT, 使用\",\"隔开) - REDIS (redis服务地址,多个IP:PORT, 使用\",\"隔开)
	Address *string `json:"address,omitempty"`

	// Access Key ID - 数据源为OBS,DIS类型时需要配置
	Ak *string `json:"ak,omitempty"`

	// Secret Access Key - 数据源为OBS,DIS类型时需要配置
	Sk *string `json:"sk,omitempty"`

	// 桶名称,数据源为OBS时需要配置
	BucketName *string `json:"bucket_name,omitempty"`

	// 是否使用https, 数据源为OBS时需要配置,一般默认使用
	Https *bool `json:"https,omitempty"`

	// 连接字符串,访问url - 数据源为API、LDAP、WEBSOCKE类型时需要配置, - 数据源为MYSQL、ORACLE、DB2、GAUSS200、GAUSS100、TAURUS、POSTGRESQL,且mode配置为professional专业时需要配置
	Url *string `json:"url,omitempty"`

	// 访问API请求方式 - POST - PUT - DELETE - PATCH - GET
	ApiMethod *ContentApiMethod `json:"api_method,omitempty"`

	// 访问WEBSOCKET服务的认证方式 - none - basicauth
	AuthMethod *ContentAuthMethod `json:"auth_method,omitempty"`

	ApiAuthDetail *ApiAuthDetail `json:"api_auth_detail,omitempty"`

	// KAFKA、ACTIVEMQ的服务器地址,多个IP:PORT, 使用\",\"分隔
	Broker *string `json:"broker,omitempty"`

	// 是否开启SSL认证 - 连接MQS内网地址时,若MQS开启了SSL,请选择“是”
	Ssl *bool `json:"ssl,omitempty"`

	// 是否开启SSL认证 - 数据源为KAFKA时需要配置,连接MQS内网地址时,若MQS同时开启了SSL与VPC内网明文访问,请选择“否” - 数据源为ARTEMISMQ、ACTIVEMQ、RABBITMQ、IBMMQ时需要配置, - 数据源为HL7时且作为源端时需要配置
	SslEnable *bool `json:"ssl_enable,omitempty"`

	// SSL用户名/应用Key - 数据源为KAFKA且开启SSL认证时需要配置
	SslUsername *string `json:"ssl_username,omitempty"`

	// SSL密码/应用Secret - 数据源为KAFKA且开启SSL认证时需要配置
	SslPassword *string `json:"ssl_password,omitempty"`

	// MONGODB认证源
	MongodbAuthSource *string `json:"mongodb_auth_source,omitempty"`

	// MONGODB集群模式 - true (集群模式) - false (非集群模式)
	MongodbClusterEnable *bool `json:"mongodb_cluster_enable,omitempty"`

	// MONGODB副本集 当MONGODB为非集群模式时配置
	MongodbReplicaSet *string `json:"mongodb_replica_set,omitempty"`

	// 编码格式 - 数据源为GAUSS200、GAUSS100、POSTGRESQL类型时配置\"big5\", - 数据源为MYSQL、TAURUS类型且mode为default时配置
	Encoding *ContentEncoding `json:"encoding,omitempty"`

	// MYSQL连接超时时间(秒)
	MysqlTimeout *int32 `json:"mysql_timeout,omitempty"`

	// 公钥库密码 - 数据源类型为ACTIVEMQ、ARTEMISMQ、RABBITMQ、IBMMQ且开启SSL认证时需要配置 - 数据源类为HL7且HL7为目标端(position为target)时,并且开启SSL认证时需要配置
	TrustStorePassword *string `json:"trust_store_password,omitempty"`

	// - 数据源类型为ACTIVEMQ、ARTEMISMQ、RABBITMQ、IBMMQ且开启SSL认证时需要配置,公钥库密码 - 数据源类型为HL7且为目标端(position为target),并且开启SSL认证时需要配置,公钥库密码
	TrustStore *string `json:"trust_store,omitempty"`

	// - 数据源类型为ACTIVEMQ、ARTEMISMQ、RABBITMQ、IBMMQ且开启SSL认证时需要配置,公钥库密码 - 数据源类型为HL7且为目标端(position为target),并且开启SSL认证时需要配置,公钥库密码
	TrustStoreFileType *ContentTrustStoreFileType `json:"trust_store_file_type,omitempty"`

	// 数据源类型为ACTIVEMQ、ARTEMISMQ且开启SSL认证时需要配置 - one-way (单向认证) - two-way (双向认证)
	SslAuthMethod *ContentSslAuthMethod `json:"ssl_auth_method,omitempty"`

	// 私钥库文件内容, - 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置 - 数据源类型HL7且为源端(position为source),并且开启SSL认证时需要配置
	KeyStore *string `json:"key_store,omitempty"`

	// 私钥库文件类型 - 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置
	KeyStoreFileType *ContentKeyStoreFileType `json:"key_store_file_type,omitempty"`

	// 私钥库密码 - 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置 - 数据源为HL7类型,为源端(position为source)并且开启SSL认证时需要配置
	KeyStorePassword *string `json:"key_store_password,omitempty"`

	// 私钥库私钥密码 - 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置 - 数据源为HL7类型,为源端(position为source)并且开启SSL认证时需要配置
	KeyStoreKeyPassword *string `json:"key_store_key_password,omitempty"`

	// DIS通道名称
	DisTunnelName *string `json:"dis_tunnel_name,omitempty"`

	// DIS数据类别 - JSON
	DisDataType *ContentDisDataType `json:"dis_data_type,omitempty"`

	// DIS配置类别 - senior (高级) - basic (基础)
	DisSettingType *ContentDisSettingType `json:"dis_setting_type,omitempty"`

	// DIS Endpoint,当setting_type为senior时填写
	DisEndpoint *string `json:"dis_endpoint,omitempty"`

	// DIS Region,当setting_type为senior时填写
	DisRegion *string `json:"dis_region,omitempty"`

	// DIS源端项目id,当setting_type为senior时填写
	DisSourceProjectId *string `json:"dis_source_project_id,omitempty"`

	// HL7数据源方向 - source (源端) - target (目标端)
	Hl7Position *ContentHl7Position `json:"hl7_position,omitempty"`

	// HL7是否开启白名单设置
	Hl7WhitelistEnable *bool `json:"hl7_whitelist_enable,omitempty"`

	// HL7白名单 - 允许同步数据到源端HL7的服务器地址,当HL7为源端(position为source)并且开启白名单设置(open_whitelist为true)时填写
	Hl7Whitelist *string `json:"hl7_whitelist,omitempty"`

	// LDAP安全认证类型
	LdapSecurityAuthType *ContentLdapSecurityAuthType `json:"ldap_security_auth_type,omitempty"`

	// RABBITMQ虚拟主机
	RabbitmqVirtualHost *string `json:"rabbitmq_virtual_host,omitempty"`

	// RABBITMQ SSL认证协议 - TLS
	RabbitmqSslProtocol *ContentRabbitmqSslProtocol `json:"rabbitmq_ssl_protocol,omitempty"`

	// SAP客户端号
	SapClient *string `json:"sap_client,omitempty"`

	// SAP实例编号
	SapSysnr *string `json:"sap_sysnr,omitempty"`

	// SNMP网络协议 - udp - tcp
	SnmpNetworkProtocol *ContentSnmpNetworkProtocol `json:"snmp_network_protocol,omitempty"`

	// SNMP版本号
	SnmpVersion *ContentSnmpVersion `json:"snmp_version,omitempty"`

	// SNMP团体名,用于访问SNMP管理代理的身份认证,相当于访问密码
	SnmpCommunity *string `json:"snmp_community,omitempty"`

	// IBMMQ字符集标识
	IbmmqCcsId *string `json:"ibmmq_ccs_id,omitempty"`

	// IBMMQ队列管理器
	IbmmqQueueManager *string `json:"ibmmq_queue_manager,omitempty"`

	// IBMMQ通道名称
	IbmmqChannel *string `json:"ibmmq_channel,omitempty"`

	// IBMMQ密钥算法套件
	IbmmqCipherSuite *string `json:"ibmmq_cipher_suite,omitempty"`

	// HDFS URL - 数据源为MRSHIVE、MRSHDFS、FIHDFS、FIHIVE类型时配置 - fihadfs (/fdi/autotest)
	HdfsPath *string `json:"hdfs_path,omitempty"`

	// 机机交互用户名 - 数据源为MRSHIVE、MRSHDFS、MRSHBASE、MRSKAFKA、FIHDFS、FIHIVE、FIKAFKA类型时配置
	PrincipalName *string `json:"principal_name,omitempty"`

	// - 用户认证文件,文件获取方式参考《ROMA Connect API参考》的“附录>获取数据源配置文件”章节 - 将获取到的文件打包成zip文件,文件名配置在config_file_name中,内容以BASE64编码形式放到config_file_content。 - 数据源为MRSHIVE、MRSHDFS、MRSHBASE、MRSKAFKA、FIHDFS、FIHIVE、FIKAFKA类型时配置
	ConfigFileName *string `json:"config_file_name,omitempty"`

	// - 用户认证文件内容,config_file_name对应的文件内容BASE64编码 - 数据源为MRSHIVE、MRSHDFS、MRSHBASE、MRSKAFKA、FIHDFS、FIHIVE、FIKAFKA类型时配置
	ConfigFileContent *string `json:"config_file_content,omitempty"`

	// 连接器实例ID,连接器发布后对应的实例ID
	ConnectionInstanceId *string `json:"connection_instance_id,omitempty"`

	// 连接器对应的数据源参数,值按实际填写
	ConnectorParams *interface{} `json:"connector_params,omitempty"`
}

func (Content) String

func (o Content) String() string

type ContentApiMethod

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

func (ContentApiMethod) MarshalJSON

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

func (*ContentApiMethod) UnmarshalJSON

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

func (ContentApiMethod) Value added in v0.0.90

func (c ContentApiMethod) Value() string

type ContentApiMethodEnum

type ContentApiMethodEnum struct {
	POST   ContentApiMethod
	PUT    ContentApiMethod
	DELETE ContentApiMethod
	PATCH  ContentApiMethod
	GET    ContentApiMethod
}

func GetContentApiMethodEnum

func GetContentApiMethodEnum() ContentApiMethodEnum

type ContentAuthMethod

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

func (ContentAuthMethod) MarshalJSON

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

func (*ContentAuthMethod) UnmarshalJSON

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

func (ContentAuthMethod) Value added in v0.0.90

func (c ContentAuthMethod) Value() string

type ContentAuthMethodEnum

type ContentAuthMethodEnum struct {
	NONE      ContentAuthMethod
	BASICAUTH ContentAuthMethod
}

func GetContentAuthMethodEnum

func GetContentAuthMethodEnum() ContentAuthMethodEnum

type ContentCdcMode

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

func (ContentCdcMode) MarshalJSON

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

func (*ContentCdcMode) UnmarshalJSON

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

func (ContentCdcMode) Value added in v0.0.90

func (c ContentCdcMode) Value() string

type ContentCdcModeEnum

type ContentCdcModeEnum struct {
	XSTREAM  ContentCdcMode
	LOGMINER ContentCdcMode
}

func GetContentCdcModeEnum

func GetContentCdcModeEnum() ContentCdcModeEnum

type ContentDisDataType

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

func (ContentDisDataType) MarshalJSON

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

func (*ContentDisDataType) UnmarshalJSON

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

func (ContentDisDataType) Value added in v0.0.90

func (c ContentDisDataType) Value() string

type ContentDisDataTypeEnum

type ContentDisDataTypeEnum struct {
	JSON ContentDisDataType
}

func GetContentDisDataTypeEnum

func GetContentDisDataTypeEnum() ContentDisDataTypeEnum

type ContentDisSettingType

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

func (ContentDisSettingType) MarshalJSON

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

func (*ContentDisSettingType) UnmarshalJSON

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

func (ContentDisSettingType) Value added in v0.0.90

func (c ContentDisSettingType) Value() string

type ContentDisSettingTypeEnum

type ContentDisSettingTypeEnum struct {
	BASIC  ContentDisSettingType
	SENIOR ContentDisSettingType
}

func GetContentDisSettingTypeEnum

func GetContentDisSettingTypeEnum() ContentDisSettingTypeEnum

type ContentEncoding

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

func (ContentEncoding) MarshalJSON

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

func (*ContentEncoding) UnmarshalJSON

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

func (ContentEncoding) Value added in v0.0.90

func (c ContentEncoding) Value() string

type ContentFtpConnectMode

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

func (ContentFtpConnectMode) MarshalJSON

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

func (*ContentFtpConnectMode) UnmarshalJSON

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

func (ContentFtpConnectMode) Value added in v0.0.90

func (c ContentFtpConnectMode) Value() string

type ContentFtpConnectModeEnum

type ContentFtpConnectModeEnum struct {
	ACTIVE  ContentFtpConnectMode
	PASSIVE ContentFtpConnectMode
}

func GetContentFtpConnectModeEnum

func GetContentFtpConnectModeEnum() ContentFtpConnectModeEnum

type ContentFtpProtocol

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

func (ContentFtpProtocol) MarshalJSON

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

func (*ContentFtpProtocol) UnmarshalJSON

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

func (ContentFtpProtocol) Value added in v0.0.90

func (c ContentFtpProtocol) Value() string

type ContentFtpProtocolEnum

type ContentFtpProtocolEnum struct {
	SFTP ContentFtpProtocol
	FTP  ContentFtpProtocol
}

func GetContentFtpProtocolEnum

func GetContentFtpProtocolEnum() ContentFtpProtocolEnum

type ContentGauss100Version

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

func (ContentGauss100Version) MarshalJSON

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

func (*ContentGauss100Version) UnmarshalJSON

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

func (ContentGauss100Version) Value added in v0.0.90

func (c ContentGauss100Version) Value() string

type ContentGauss100VersionEnum

type ContentGauss100VersionEnum struct {
	V100_R003_C20 ContentGauss100Version
	V300_R001_C00 ContentGauss100Version
}

func GetContentGauss100VersionEnum

func GetContentGauss100VersionEnum() ContentGauss100VersionEnum

type ContentHl7Position

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

func (ContentHl7Position) MarshalJSON

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

func (*ContentHl7Position) UnmarshalJSON

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

func (ContentHl7Position) Value added in v0.0.90

func (c ContentHl7Position) Value() string

type ContentHl7PositionEnum

type ContentHl7PositionEnum struct {
	SOURCE ContentHl7Position
	TARGET ContentHl7Position
}

func GetContentHl7PositionEnum

func GetContentHl7PositionEnum() ContentHl7PositionEnum

type ContentKeyStoreFileType

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

func (ContentKeyStoreFileType) MarshalJSON

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

func (*ContentKeyStoreFileType) UnmarshalJSON

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

func (ContentKeyStoreFileType) Value added in v0.0.90

func (c ContentKeyStoreFileType) Value() string

type ContentKeyStoreFileTypeEnum

type ContentKeyStoreFileTypeEnum struct {
	KS  ContentKeyStoreFileType
	JKS ContentKeyStoreFileType
}

func GetContentKeyStoreFileTypeEnum

func GetContentKeyStoreFileTypeEnum() ContentKeyStoreFileTypeEnum

type ContentLdapSecurityAuthType

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

func (ContentLdapSecurityAuthType) MarshalJSON

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

func (*ContentLdapSecurityAuthType) UnmarshalJSON

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

func (ContentLdapSecurityAuthType) Value added in v0.0.90

type ContentLdapSecurityAuthTypeEnum

type ContentLdapSecurityAuthTypeEnum struct {
	NO     ContentLdapSecurityAuthType
	SIMPLE ContentLdapSecurityAuthType
}

func GetContentLdapSecurityAuthTypeEnum

func GetContentLdapSecurityAuthTypeEnum() ContentLdapSecurityAuthTypeEnum

type ContentMode

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

func (ContentMode) MarshalJSON

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

func (*ContentMode) UnmarshalJSON

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

func (ContentMode) Value added in v0.0.90

func (c ContentMode) Value() string

type ContentModeEnum

type ContentModeEnum struct {
	DEFAULT       ContentMode
	PROFESSIONAL  ContentMode
	MULTI_ADDRESS ContentMode
}

func GetContentModeEnum

func GetContentModeEnum() ContentModeEnum

type ContentRabbitmqSslProtocol

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

func (ContentRabbitmqSslProtocol) MarshalJSON

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

func (*ContentRabbitmqSslProtocol) UnmarshalJSON

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

func (ContentRabbitmqSslProtocol) Value added in v0.0.90

type ContentRabbitmqSslProtocolEnum

type ContentRabbitmqSslProtocolEnum struct {
	TLS ContentRabbitmqSslProtocol
}

func GetContentRabbitmqSslProtocolEnum

func GetContentRabbitmqSslProtocolEnum() ContentRabbitmqSslProtocolEnum

type ContentSnmpNetworkProtocol

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

func (ContentSnmpNetworkProtocol) MarshalJSON

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

func (*ContentSnmpNetworkProtocol) UnmarshalJSON

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

func (ContentSnmpNetworkProtocol) Value added in v0.0.90

type ContentSnmpNetworkProtocolEnum

type ContentSnmpNetworkProtocolEnum struct {
	UDP ContentSnmpNetworkProtocol
	TCP ContentSnmpNetworkProtocol
}

func GetContentSnmpNetworkProtocolEnum

func GetContentSnmpNetworkProtocolEnum() ContentSnmpNetworkProtocolEnum

type ContentSnmpVersion added in v0.0.78

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

func (ContentSnmpVersion) MarshalJSON added in v0.0.78

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

func (*ContentSnmpVersion) UnmarshalJSON added in v0.0.78

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

func (ContentSnmpVersion) Value added in v0.0.90

func (c ContentSnmpVersion) Value() int32

type ContentSnmpVersionEnum added in v0.0.78

type ContentSnmpVersionEnum struct {
	E_0 ContentSnmpVersion
	E_1 ContentSnmpVersion
	E_3 ContentSnmpVersion
}

func GetContentSnmpVersionEnum added in v0.0.78

func GetContentSnmpVersionEnum() ContentSnmpVersionEnum

type ContentSslAuthMethod

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

func (ContentSslAuthMethod) MarshalJSON

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

func (*ContentSslAuthMethod) UnmarshalJSON

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

func (ContentSslAuthMethod) Value added in v0.0.90

func (c ContentSslAuthMethod) Value() string

type ContentSslAuthMethodEnum

type ContentSslAuthMethodEnum struct {
	ONE_WAY ContentSslAuthMethod
	TWO_WAY ContentSslAuthMethod
}

func GetContentSslAuthMethodEnum

func GetContentSslAuthMethodEnum() ContentSslAuthMethodEnum

type ContentTrustStoreFileType

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

func (ContentTrustStoreFileType) MarshalJSON

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

func (*ContentTrustStoreFileType) UnmarshalJSON

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

func (ContentTrustStoreFileType) Value added in v0.0.90

type ContentTrustStoreFileTypeEnum

type ContentTrustStoreFileTypeEnum struct {
	JKS ContentTrustStoreFileType
	TS  ContentTrustStoreFileType
}

func GetContentTrustStoreFileTypeEnum

func GetContentTrustStoreFileTypeEnum() ContentTrustStoreFileTypeEnum

type CountDevicesRequest

type CountDevicesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

CountDevicesRequest Request Object

func (CountDevicesRequest) String

func (o CountDevicesRequest) String() string

type CountDevicesResponse

type CountDevicesResponse struct {
	ProductTemplates *ProductTemplatesCalculation `json:"product_templates,omitempty"`

	Products *ProductsCalculation `json:"products,omitempty"`

	Devices        *DevicesCalculation `json:"devices,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

CountDevicesResponse Response Object

func (CountDevicesResponse) String

func (o CountDevicesResponse) String() string

type CountTasksRequest

type CountTasksRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

CountTasksRequest Request Object

func (CountTasksRequest) String

func (o CountTasksRequest) String() string

type CountTasksResponse

type CountTasksResponse struct {
	CommonTaskDetails *TaskStatisticDetails `json:"common_task_details,omitempty"`

	CdcTaskDetails *TaskStatisticDetails `json:"cdc_task_details,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

CountTasksResponse Response Object

func (CountTasksResponse) String

func (o CountTasksResponse) String() string

type CreateAclStrategyV2Request

type CreateAclStrategyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateAclStrategyV2Request Request Object

func (CreateAclStrategyV2Request) String

type CreateAclStrategyV2Response

type CreateAclStrategyV2Response struct {

	// 名称
	AclName *string `json:"acl_name,omitempty"`

	// 类型: - PERMIT(白名单类型) - DENY(黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// ACL策略值
	AclValue *string `json:"acl_value,omitempty"`

	// 对象类型: - IP - DOMAIN
	EntityType *string `json:"entity_type,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateAclStrategyV2Response Response Object

func (CreateAclStrategyV2Response) String

type CreateApiAclBindingV2Request

type CreateApiAclBindingV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateApiAclBindingV2Request Request Object

func (CreateApiAclBindingV2Request) String

type CreateApiAclBindingV2Response

type CreateApiAclBindingV2Response struct {

	// API与ACL的绑定关系列表
	AclBindings    *[]AclApiBindingInfo `json:"acl_bindings,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

CreateApiAclBindingV2Response Response Object

func (CreateApiAclBindingV2Response) String

type CreateApiGroupV2Request

type CreateApiGroupV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateApiGroupV2Request Request Object

func (CreateApiGroupV2Request) String

func (o CreateApiGroupV2Request) String() string

type CreateApiGroupV2Response

type CreateApiGroupV2Response struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status CreateApiGroupV2ResponseStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中  ROMAConnect暂未对接云市场,此字段默认返回2
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置  暂不支持
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 流控时长  暂不支持
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 流控的时间单位  暂不支持
	TimeUnit *string `json:"time_unit,omitempty"`

	// 是否为默认分组
	IsDefault *int32 `json:"is_default,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组
	Version *string `json:"version,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组归属的集成应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateApiGroupV2Response Response Object

func (CreateApiGroupV2Response) String

func (o CreateApiGroupV2Response) String() string

type CreateApiGroupV2ResponseStatus

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

func (CreateApiGroupV2ResponseStatus) MarshalJSON

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

func (*CreateApiGroupV2ResponseStatus) UnmarshalJSON

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

func (CreateApiGroupV2ResponseStatus) Value added in v0.0.90

type CreateApiGroupV2ResponseStatusEnum

type CreateApiGroupV2ResponseStatusEnum struct {
	E_1 CreateApiGroupV2ResponseStatus
}

func GetCreateApiGroupV2ResponseStatusEnum

func GetCreateApiGroupV2ResponseStatusEnum() CreateApiGroupV2ResponseStatusEnum

type CreateApiV2Request

type CreateApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateApiV2Request Request Object

func (CreateApiV2Request) String

func (o CreateApiV2Request) String() string

type CreateApiV2Response

type CreateApiV2Response struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type CreateApiV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol CreateApiV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod CreateApiV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType CreateApiV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *CreateApiV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType CreateApiV2ResponseBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *CreateApiV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *CreateApiV2ResponseStatus `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// [函数工作流策略后端列表](tag:hws,hws_hk,hcs,fcs,g42)[暂不支持](tag:Site)
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps    *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

CreateApiV2Response Response Object

func (CreateApiV2Response) String

func (o CreateApiV2Response) String() string

type CreateApiV2ResponseAuthType

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

func (CreateApiV2ResponseAuthType) MarshalJSON

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

func (*CreateApiV2ResponseAuthType) UnmarshalJSON

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

func (CreateApiV2ResponseAuthType) Value added in v0.0.90

type CreateApiV2ResponseBackendType

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

func (CreateApiV2ResponseBackendType) MarshalJSON

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

func (*CreateApiV2ResponseBackendType) UnmarshalJSON

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

func (CreateApiV2ResponseBackendType) Value added in v0.0.90

type CreateApiV2ResponseBackendTypeEnum

type CreateApiV2ResponseBackendTypeEnum struct {
	HTTP     CreateApiV2ResponseBackendType
	FUNCTION CreateApiV2ResponseBackendType
	MOCK     CreateApiV2ResponseBackendType
}

func GetCreateApiV2ResponseBackendTypeEnum

func GetCreateApiV2ResponseBackendTypeEnum() CreateApiV2ResponseBackendTypeEnum

type CreateApiV2ResponseContentType

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

func (CreateApiV2ResponseContentType) MarshalJSON

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

func (*CreateApiV2ResponseContentType) UnmarshalJSON

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

func (CreateApiV2ResponseContentType) Value added in v0.0.90

type CreateApiV2ResponseContentTypeEnum

type CreateApiV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    CreateApiV2ResponseContentType
	APPLICATION_XML     CreateApiV2ResponseContentType
	MULTIPART_FORM_DATE CreateApiV2ResponseContentType
	TEXT_PLAIN          CreateApiV2ResponseContentType
}

func GetCreateApiV2ResponseContentTypeEnum

func GetCreateApiV2ResponseContentTypeEnum() CreateApiV2ResponseContentTypeEnum

type CreateApiV2ResponseMatchMode

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

func (CreateApiV2ResponseMatchMode) MarshalJSON

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

func (*CreateApiV2ResponseMatchMode) UnmarshalJSON

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

func (CreateApiV2ResponseMatchMode) Value added in v0.0.90

type CreateApiV2ResponseMatchModeEnum

type CreateApiV2ResponseMatchModeEnum struct {
	SWA    CreateApiV2ResponseMatchMode
	NORMAL CreateApiV2ResponseMatchMode
}

func GetCreateApiV2ResponseMatchModeEnum

func GetCreateApiV2ResponseMatchModeEnum() CreateApiV2ResponseMatchModeEnum

type CreateApiV2ResponseReqMethod

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

func (CreateApiV2ResponseReqMethod) MarshalJSON

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

func (*CreateApiV2ResponseReqMethod) UnmarshalJSON

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

func (CreateApiV2ResponseReqMethod) Value added in v0.0.90

type CreateApiV2ResponseReqProtocol

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

func (CreateApiV2ResponseReqProtocol) MarshalJSON

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

func (*CreateApiV2ResponseReqProtocol) UnmarshalJSON

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

func (CreateApiV2ResponseReqProtocol) Value added in v0.0.90

type CreateApiV2ResponseStatus

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

func (CreateApiV2ResponseStatus) MarshalJSON

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

func (*CreateApiV2ResponseStatus) UnmarshalJSON

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

func (CreateApiV2ResponseStatus) Value added in v0.0.90

func (c CreateApiV2ResponseStatus) Value() int32

type CreateApiV2ResponseStatusEnum

type CreateApiV2ResponseStatusEnum struct {
	E_1 CreateApiV2ResponseStatus
}

func GetCreateApiV2ResponseStatusEnum

func GetCreateApiV2ResponseStatusEnum() CreateApiV2ResponseStatusEnum

type CreateApiV2ResponseType

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

func (CreateApiV2ResponseType) MarshalJSON

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

func (*CreateApiV2ResponseType) UnmarshalJSON

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

func (CreateApiV2ResponseType) Value added in v0.0.90

func (c CreateApiV2ResponseType) Value() int32

type CreateApiV2ResponseTypeEnum

type CreateApiV2ResponseTypeEnum struct {
	E_1 CreateApiV2ResponseType
	E_2 CreateApiV2ResponseType
}

func GetCreateApiV2ResponseTypeEnum

func GetCreateApiV2ResponseTypeEnum() CreateApiV2ResponseTypeEnum

type CreateAppCodeAutoV2Request

type CreateAppCodeAutoV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

CreateAppCodeAutoV2Request Request Object

func (CreateAppCodeAutoV2Request) String

type CreateAppCodeAutoV2Response

type CreateAppCodeAutoV2Response struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头。
	AppCode string `json:"app_code"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateAppCodeAutoV2Response Response Object

func (CreateAppCodeAutoV2Response) String

type CreateAppCodeV2Request

type CreateAppCodeV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

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

CreateAppCodeV2Request Request Object

func (CreateAppCodeV2Request) String

func (o CreateAppCodeV2Request) String() string

type CreateAppCodeV2Response

type CreateAppCodeV2Response struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头。
	AppCode string `json:"app_code"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateAppCodeV2Response Response Object

func (CreateAppCodeV2Response) String

func (o CreateAppCodeV2Response) String() string

type CreateAppConfigV2Request

type CreateAppConfigV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

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

CreateAppConfigV2Request Request Object

func (CreateAppConfigV2Request) String

func (o CreateAppConfigV2Request) String() string

type CreateAppConfigV2Response

type CreateAppConfigV2Response struct {

	// 应用配置编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 应用配置类型
	ConfigType *string `json:"config_type,omitempty"`

	// 应用配置名称
	ConfigName *string `json:"config_name,omitempty"`

	// 应用配置值
	ConfigValue *string `json:"config_value,omitempty"`

	// 应用配置更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 应用配置描述
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAppConfigV2Response Response Object

func (CreateAppConfigV2Response) String

func (o CreateAppConfigV2Response) String() string

type CreateAppQuotaBindingApp

type CreateAppQuotaBindingApp struct {

	// 客户端应用编号列表
	AppIds []string `json:"app_ids"`
}

func (CreateAppQuotaBindingApp) String

func (o CreateAppQuotaBindingApp) String() string

type CreateAppQuotaRequest

type CreateAppQuotaRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateAppQuotaRequest Request Object

func (CreateAppQuotaRequest) String

func (o CreateAppQuotaRequest) String() string

type CreateAppQuotaResponse

type CreateAppQuotaResponse struct {

	// 客户端配额编号
	AppQuotaId *string `json:"app_quota_id,omitempty"`

	// 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符
	Name *string `json:"name,omitempty"`

	// 客户端配额的访问次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天
	TimeUnit *CreateAppQuotaResponseTimeUnit `json:"time_unit,omitempty"`

	// 配额的限定时间值
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 参数说明和描述
	Remark *string `json:"remark,omitempty"`

	// 首次配额重置时间点,不配置默认为首次调用时间计算
	ResetTime *string `json:"reset_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 配额策略已绑定应用数量
	BoundAppNum    *int32 `json:"bound_app_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateAppQuotaResponse Response Object

func (CreateAppQuotaResponse) String

func (o CreateAppQuotaResponse) String() string

type CreateAppQuotaResponseTimeUnit

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

func (CreateAppQuotaResponseTimeUnit) MarshalJSON

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

func (*CreateAppQuotaResponseTimeUnit) UnmarshalJSON

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

func (CreateAppQuotaResponseTimeUnit) Value added in v0.0.90

type CreateAppReq

type CreateAppReq struct {

	// 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一
	Name string `json:"name"`

	// 应用描述
	Remark *string `json:"remark,omitempty"`

	// 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一
	Key *string `json:"key,omitempty"`

	// 应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做
	Secret *string `json:"secret,omitempty"`

	// 是否收藏应用,收藏的应用会在列表里优先显示
	Favorite *bool `json:"favorite,omitempty"`
}

func (CreateAppReq) String

func (o CreateAppReq) String() string

type CreateAuthorizingAppsV2Request

type CreateAuthorizingAppsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateAuthorizingAppsV2Request Request Object

func (CreateAuthorizingAppsV2Request) String

type CreateAuthorizingAppsV2Response

type CreateAuthorizingAppsV2Response struct {

	// API与APP的授权关系列表
	Auths          *[]ApiAuthRelations `json:"auths,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

CreateAuthorizingAppsV2Response Response Object

func (CreateAuthorizingAppsV2Response) String

type CreateCommandRequest

type CreateCommandRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

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

CreateCommandRequest Request Object

func (CreateCommandRequest) String

func (o CreateCommandRequest) String() string

type CreateCommandRequestBody

type CreateCommandRequestBody struct {

	// 服务命令名称,支持大小写字母,数字,中划线及下划线,长度2-50
	Name string `json:"name"`

	// 服务命令描述,长度0-200
	Description *string `json:"description,omitempty"`
}

func (CreateCommandRequestBody) String

func (o CreateCommandRequestBody) String() string

type CreateCommandResponse

type CreateCommandResponse struct {

	// 命令所属服务id
	ServiceId *int32 `json:"service_id,omitempty"`

	// 命令id
	CommandId *int32 `json:"command_id,omitempty"`

	// 命令名称
	CommandName *string `json:"command_name,omitempty"`

	// 命令描述
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateCommandResponse Response Object

func (CreateCommandResponse) String

func (o CreateCommandResponse) String() string

type CreateCommonTaskRequest

type CreateCommonTaskRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateCommonTaskRequest Request Object

func (CreateCommonTaskRequest) String

func (o CreateCommonTaskRequest) String() string

type CreateCommonTaskRequestBody

type CreateCommonTaskRequestBody struct {
	Task *TaskBasicRequestBody `json:"task"`

	// 参数类型为string,参数结构参照附录中“数据集成参数说明>RawFormDataRequest”章节
	TaskDetail string `json:"task_detail"`
}

CreateCommonTaskRequestBody 任务信息

func (CreateCommonTaskRequestBody) String

type CreateCommonTaskResponse

type CreateCommonTaskResponse struct {
	Task *TaskBasicRsp `json:"task,omitempty"`

	// 参数类型为string,参数结构参照附录中“数据集成参数说明>RawFormDataResponse”章节
	TaskDetail     *string `json:"task_detail,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateCommonTaskResponse Response Object

func (CreateCommonTaskResponse) String

func (o CreateCommonTaskResponse) String() string

type CreateCustomAuthorizerV2Request

type CreateCustomAuthorizerV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateCustomAuthorizerV2Request Request Object

func (CreateCustomAuthorizerV2Request) String

type CreateCustomAuthorizerV2Response

type CreateCustomAuthorizerV2Response struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端
	Type CreateCustomAuthorizerV2ResponseType `json:"type"`

	// 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数
	AuthorizerType CreateCustomAuthorizerV2ResponseAuthorizerType `json:"authorizer_type"`

	// 函数地址。  注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。
	AuthorizerUri string `json:"authorizer_uri"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  自定义认证函数类型为LD时必填
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`

	// 自定义认证编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 自定义认证所属应用编号
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 自定义认证所属应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateCustomAuthorizerV2Response Response Object

func (CreateCustomAuthorizerV2Response) String

type CreateCustomAuthorizerV2ResponseAuthorizerType

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

func (CreateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON

func (*CreateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON

func (CreateCustomAuthorizerV2ResponseAuthorizerType) Value added in v0.0.90

type CreateCustomAuthorizerV2ResponseType

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

func (CreateCustomAuthorizerV2ResponseType) MarshalJSON

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

func (*CreateCustomAuthorizerV2ResponseType) UnmarshalJSON

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

func (CreateCustomAuthorizerV2ResponseType) Value added in v0.0.90

type CreateCustomAuthorizerV2ResponseTypeEnum

type CreateCustomAuthorizerV2ResponseTypeEnum struct {
	FRONTEND CreateCustomAuthorizerV2ResponseType
	BACKEND  CreateCustomAuthorizerV2ResponseType
}

func GetCreateCustomAuthorizerV2ResponseTypeEnum

func GetCreateCustomAuthorizerV2ResponseTypeEnum() CreateCustomAuthorizerV2ResponseTypeEnum

type CreateDatasourceInfoRequest

type CreateDatasourceInfoRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateDatasourceInfoRequest Request Object

func (CreateDatasourceInfoRequest) String

type CreateDatasourceInfoResponse

type CreateDatasourceInfoResponse struct {

	// 数据源ID
	DatasourceId *string `json:"datasource_id,omitempty"`

	// 数据源名称
	DatasourceName *string `json:"datasource_name,omitempty"`

	// 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS
	DatasourceType *CreateDatasourceInfoResponseDatasourceType `json:"datasource_type,omitempty"`

	// 数据源所属虚拟私有云VpcId
	VpcId *string `json:"vpc_id,omitempty"`

	// 数据源所属应用ID
	AppId *string `json:"app_id,omitempty"`

	// 数据源所属应用名称
	AppName *string `json:"app_name,omitempty"`

	// 数据源所属实例Id
	InstanceId *string `json:"instance_id,omitempty"`

	// 数据源创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 数据源修改时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 数据源所属连接器Id
	CustomPluginId *string `json:"custom_plugin_id,omitempty"`

	Content *Content `json:"content,omitempty"`

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

	// 集成应用权限信息 - read (读权限) - access (调用权限) - delete (删除权限) - modify (修改权限)
	AppPermission  *[]CreateDatasourceInfoResponseAppPermission `json:"app_permission,omitempty"`
	HttpStatusCode int                                          `json:"-"`
}

CreateDatasourceInfoResponse Response Object

func (CreateDatasourceInfoResponse) String

type CreateDatasourceInfoResponseAppPermission

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

func (CreateDatasourceInfoResponseAppPermission) MarshalJSON

func (*CreateDatasourceInfoResponseAppPermission) UnmarshalJSON

func (CreateDatasourceInfoResponseAppPermission) Value added in v0.0.90

type CreateDatasourceInfoResponseDatasourceType

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

func (CreateDatasourceInfoResponseDatasourceType) MarshalJSON

func (*CreateDatasourceInfoResponseDatasourceType) UnmarshalJSON

func (CreateDatasourceInfoResponseDatasourceType) Value added in v0.0.90

type CreateDatasourceInfoResponseDatasourceTypeEnum

type CreateDatasourceInfoResponseDatasourceTypeEnum struct {
	DWS        CreateDatasourceInfoResponseDatasourceType
	MYSQL      CreateDatasourceInfoResponseDatasourceType
	KAFKA      CreateDatasourceInfoResponseDatasourceType
	API        CreateDatasourceInfoResponseDatasourceType
	OBS        CreateDatasourceInfoResponseDatasourceType
	SAP        CreateDatasourceInfoResponseDatasourceType
	MRSHBASE   CreateDatasourceInfoResponseDatasourceType
	MRSHDFS    CreateDatasourceInfoResponseDatasourceType
	MRSHIVE    CreateDatasourceInfoResponseDatasourceType
	WEBSOCKET  CreateDatasourceInfoResponseDatasourceType
	SQLSERVER  CreateDatasourceInfoResponseDatasourceType
	ORACLE     CreateDatasourceInfoResponseDatasourceType
	POSTGRESQL CreateDatasourceInfoResponseDatasourceType
	REDIS      CreateDatasourceInfoResponseDatasourceType
	MONGODB    CreateDatasourceInfoResponseDatasourceType
	DIS        CreateDatasourceInfoResponseDatasourceType
	HL7        CreateDatasourceInfoResponseDatasourceType
	RABBITMQ   CreateDatasourceInfoResponseDatasourceType
	SNMP       CreateDatasourceInfoResponseDatasourceType
	IBMMQ      CreateDatasourceInfoResponseDatasourceType
	CUSTOMIZED CreateDatasourceInfoResponseDatasourceType
	ACTIVEMQ   CreateDatasourceInfoResponseDatasourceType
	ARTEMISMQ  CreateDatasourceInfoResponseDatasourceType
	FTP        CreateDatasourceInfoResponseDatasourceType
	HIVE       CreateDatasourceInfoResponseDatasourceType
	HANA       CreateDatasourceInfoResponseDatasourceType
	FIKAFKA    CreateDatasourceInfoResponseDatasourceType
	MRSKAFKA   CreateDatasourceInfoResponseDatasourceType
	FIHDFS     CreateDatasourceInfoResponseDatasourceType
	FIHIVE     CreateDatasourceInfoResponseDatasourceType
	GAUSS200   CreateDatasourceInfoResponseDatasourceType
	GAUSS100   CreateDatasourceInfoResponseDatasourceType
	LDAP       CreateDatasourceInfoResponseDatasourceType
	DB2        CreateDatasourceInfoResponseDatasourceType
	TAURUS     CreateDatasourceInfoResponseDatasourceType
}

func GetCreateDatasourceInfoResponseDatasourceTypeEnum

func GetCreateDatasourceInfoResponseDatasourceTypeEnum() CreateDatasourceInfoResponseDatasourceTypeEnum

type CreateDestinationRequest

type CreateDestinationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 规则ID
	RuleId string `json:"rule_id"`

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

CreateDestinationRequest Request Object

func (CreateDestinationRequest) String

func (o CreateDestinationRequest) String() string

type CreateDestinationRequestBody

type CreateDestinationRequestBody struct {

	// 操作类型,枚举值:0-目标端为本ROMA实例内MQS,; 7-目标端为设备
	DestinationType CreateDestinationRequestBodyDestinationType `json:"destination_type"`

	// 应用ID,目标端为0时需明确对方的APP_ID
	AppId *string `json:"app_id,omitempty"`

	// 目标数据源名称
	DestinationName *string `json:"destination_name,omitempty"`

	// 目标数据源主题,从MQS服务中获取已有topic
	Topic string `json:"topic"`

	// 目标端数据源服务,连接地址
	Server *string `json:"server,omitempty"`

	// 目标端数据源token
	Token *string `json:"token,omitempty"`

	// 目标数据源标签
	Tag *string `json:"tag,omitempty"`

	// 目标端数据源MQS的SASL字段是否需要支持SSL加密
	MqsSaslSsl *bool `json:"mqs_sasl_ssl,omitempty"`

	// 目标数据源用户名
	UserName *string `json:"user_name,omitempty"`

	// 目标数据源密码
	Password *string `json:"password,omitempty"`
}

func (CreateDestinationRequestBody) String

type CreateDestinationRequestBodyDestinationType added in v0.0.78

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

func (CreateDestinationRequestBodyDestinationType) MarshalJSON added in v0.0.78

func (*CreateDestinationRequestBodyDestinationType) UnmarshalJSON added in v0.0.78

func (CreateDestinationRequestBodyDestinationType) Value added in v0.0.90

type CreateDestinationRequestBodyDestinationTypeEnum added in v0.0.78

type CreateDestinationRequestBodyDestinationTypeEnum struct {
	E_0 CreateDestinationRequestBodyDestinationType
	E_7 CreateDestinationRequestBodyDestinationType
}

func GetCreateDestinationRequestBodyDestinationTypeEnum added in v0.0.78

func GetCreateDestinationRequestBodyDestinationTypeEnum() CreateDestinationRequestBodyDestinationTypeEnum

type CreateDestinationResponse

type CreateDestinationResponse struct {

	// 目标数据源ID
	DestinationId *int32 `json:"destination_id,omitempty"`

	// 操作类型,枚举值:0-目标端为本ROMA实例内MQS; 7-目标端为设备
	DestinationType *CreateDestinationResponseDestinationType `json:"destination_type,omitempty"`

	// 应用ID,目标端为0时需明确对方的APP_ID
	AppId *string `json:"app_id,omitempty"`

	// 目标数据源名称
	DestinationName *string `json:"destination_name,omitempty"`

	// 目标数据源主题
	Topic *string `json:"topic,omitempty"`

	// 目标端数据源服务
	Server *string `json:"server,omitempty"`

	// 目标端数据源token
	Token *string `json:"token,omitempty"`

	// 目标数据源标签
	Tag *string `json:"tag,omitempty"`

	// 目标端数据源MQS的SASL字段是否需要支持SSL加密
	MqsSaslSsl *bool `json:"mqs_sasl_ssl,omitempty"`

	// 目标数据源用户名
	UserName *string `json:"user_name,omitempty"`

	// 目标数据源密码
	Password       *string `json:"password,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDestinationResponse Response Object

func (CreateDestinationResponse) String

func (o CreateDestinationResponse) String() string

type CreateDestinationResponseDestinationType added in v0.0.78

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

func (CreateDestinationResponseDestinationType) MarshalJSON added in v0.0.78

func (*CreateDestinationResponseDestinationType) UnmarshalJSON added in v0.0.78

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

func (CreateDestinationResponseDestinationType) Value added in v0.0.90

type CreateDestinationResponseDestinationTypeEnum added in v0.0.78

type CreateDestinationResponseDestinationTypeEnum struct {
	E_0 CreateDestinationResponseDestinationType
	E_7 CreateDestinationResponseDestinationType
}

func GetCreateDestinationResponseDestinationTypeEnum added in v0.0.78

func GetCreateDestinationResponseDestinationTypeEnum() CreateDestinationResponseDestinationTypeEnum

type CreateDeviceGroupRequest

type CreateDeviceGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateDeviceGroupRequest Request Object

func (CreateDeviceGroupRequest) String

func (o CreateDeviceGroupRequest) String() string

type CreateDeviceGroupRequestBody

type CreateDeviceGroupRequestBody struct {

	// 父分组ID,自动向下取整
	ParentId int32 `json:"parent_id"`

	// 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	Name string `json:"name"`

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

	// 分组归属应用ID
	AppId string `json:"app_id"`
}

func (CreateDeviceGroupRequestBody) String

type CreateDeviceGroupResponse

type CreateDeviceGroupResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 父分组ID
	ParentId *int32 `json:"parent_id,omitempty"`

	// 分组ID
	Id *int32 `json:"id,omitempty"`

	// 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	Name *string `json:"name,omitempty"`

	// 分组描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 分组归属应用ID
	AppId *string `json:"app_id,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间
	CreatedDatetime *string `json:"created_datetime,omitempty"`

	// 最后修改时间
	LastUpdatedDatetime *string `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

CreateDeviceGroupResponse Response Object

func (CreateDeviceGroupResponse) String

func (o CreateDeviceGroupResponse) String() string

type CreateDeviceRequest

type CreateDeviceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateDeviceRequest Request Object

func (CreateDeviceRequest) String

func (o CreateDeviceRequest) String() string

type CreateDeviceRequestBody

type CreateDeviceRequestBody struct {

	// 父设备ID,无父设备时不填写,自动向下取整
	ParentDeviceId *int32 `json:"parent_device_id,omitempty"`

	Product *ProductReferer `json:"product"`

	// 设备密码,输入要求:至少1数字,1大写字母,1小写字母,1特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符
	Password *string `json:"password,omitempty"`

	// 设备用户名,支持英文大小写、英文符号(-)及数字,长度10-50
	UserName *string `json:"user_name,omitempty"`

	// 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64
	DeviceName string `json:"device_name"`

	// 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64
	NodeId string `json:"node_id"`

	// 应用ID
	AppId string `json:"app_id"`

	// 设备状态 0启用 1禁用,不填时默认为0启用
	Status *CreateDeviceRequestBodyStatus `json:"status,omitempty"`

	// 备注
	Description *string `json:"description,omitempty"`

	// 标签
	Tags *[]string `json:"tags,omitempty"`
}

func (CreateDeviceRequestBody) String

func (o CreateDeviceRequestBody) String() string

type CreateDeviceRequestBodyStatus added in v0.0.78

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

func (CreateDeviceRequestBodyStatus) MarshalJSON added in v0.0.78

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

func (*CreateDeviceRequestBodyStatus) UnmarshalJSON added in v0.0.78

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

func (CreateDeviceRequestBodyStatus) Value added in v0.0.90

type CreateDeviceRequestBodyStatusEnum added in v0.0.78

type CreateDeviceRequestBodyStatusEnum struct {
	E_0 CreateDeviceRequestBodyStatus
	E_1 CreateDeviceRequestBodyStatus
}

func GetCreateDeviceRequestBodyStatusEnum added in v0.0.78

func GetCreateDeviceRequestBodyStatusEnum() CreateDeviceRequestBodyStatusEnum

type CreateDeviceResponse

type CreateDeviceResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 设备ID
	Id *int32 `json:"id,omitempty"`

	// 设备ID(兼容20.0)
	DeviceId *int32 `json:"device_id,omitempty"`

	Product *ProductReferer `json:"product,omitempty"`

	// 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64
	DeviceName *string `json:"device_name,omitempty"`

	// 实例id
	InstanceId *string `json:"instance_id,omitempty"`

	// 设备客户端ID,平台生成的设备唯一标识
	ClientId *string `json:"client_id,omitempty"`

	// 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64
	NodeId *string `json:"node_id,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 设备状态 0-启用 1-禁用
	Status *int32 `json:"status,omitempty"`

	// 是否在线 0-未连接 1-在线 2-离线
	OnlineStatus *int32 `json:"online_status,omitempty"`

	// 备注
	Description *string `json:"description,omitempty"`

	Authentication *Authentication `json:"authentication,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 标签
	Tags *[]string `json:"tags,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`

	// 设备接入地址
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 设备接入SSL地址
	SslConnectAddress *string `json:"ssl_connect_address,omitempty"`

	// 设备接入IPV6地址
	Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"`

	// 设备接入IPV6 SSL地址
	Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"`

	// 节点类型 0-直连 1-网关 2-子设备
	NodeType *int32 `json:"node_type,omitempty"`

	// 设备类型<br>0-普通设备(无子设备也无父设备)<br>1-网关设备(可挂载子设备)<br>2-子设备(归属于某个网关设备)
	DeviceType *int32 `json:"device_type,omitempty"`

	// 应用ID
	AppId          *string `json:"app_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDeviceResponse Response Object

func (CreateDeviceResponse) String

func (o CreateDeviceResponse) String() string

type CreateDictionary

type CreateDictionary struct {

	// 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一
	Name string `json:"name"`

	// 字典描述
	Remark *string `json:"remark,omitempty"`

	// 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一
	Code string `json:"code"`

	// 字典排序,值越小顺序越靠前
	Order *int32 `json:"order,omitempty"`

	// 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendOne *string `json:"extend_one,omitempty"`

	// 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendTwo *string `json:"extend_two,omitempty"`

	// 父字典编码,为空时代表自身就是最顶级字典
	ParentCode *string `json:"parent_code,omitempty"`
}

func (CreateDictionary) String

func (o CreateDictionary) String() string

type CreateDictionaryRequest

type CreateDictionaryRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateDictionaryRequest Request Object

func (CreateDictionaryRequest) String

func (o CreateDictionaryRequest) String() string

type CreateDictionaryResponse

type CreateDictionaryResponse struct {

	// 字典ID
	Id *string `json:"id,omitempty"`

	// 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 字典描述
	Remark *string `json:"remark,omitempty"`

	// 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一
	Code *string `json:"code,omitempty"`

	// 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendOne *string `json:"extend_one,omitempty"`

	// 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendTwo *string `json:"extend_two,omitempty"`

	// 父字典编码,为空时代表自身就是最顶级字典
	ParentCode *string `json:"parent_code,omitempty"`

	Type *DictionaryType `json:"type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

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

CreateDictionaryResponse Response Object

func (CreateDictionaryResponse) String

func (o CreateDictionaryResponse) String() string

type CreateDispatchesRequest

type CreateDispatchesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`

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

CreateDispatchesRequest Request Object

func (CreateDispatchesRequest) String

func (o CreateDispatchesRequest) String() string

type CreateDispatchesResponse

type CreateDispatchesResponse struct {

	// 调度计划ID
	DispatchId *string `json:"dispatch_id,omitempty"`

	// 调度计划关联的任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 调度计划的执行开始时间
	StartDatetime *int64 `json:"start_datetime,omitempty"`

	// 调度计划执行周期的时间单位,当使用cron表达式时,为空 - MIN (分钟) - HOUR (小时) - DAY (日) - WEEK (周) - MON (月)
	Period *CreateDispatchesResponsePeriod `json:"period,omitempty"`

	// 调度计划的执行间隔时间周期
	DispatchInterval *int64 `json:"dispatch_interval,omitempty"`

	// 调度计划的创建时间
	CreatedDate *int64 `json:"created_date,omitempty"`

	// 调度计划最近一次的修改时间
	LastModifiedDate *int64 `json:"last_modified_date,omitempty"`

	// 调度计划的备注信息
	Remark *string `json:"remark,omitempty"`

	// 调度计划是否使用cron表达式,允许如下值: - true (使用cron表达式) - false (不使用cron表达式)
	UseQuartzCron *bool `json:"use_quartz_cron,omitempty"`

	// 调度计划的cron表达式
	Cron           *string `json:"cron,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDispatchesResponse Response Object

func (CreateDispatchesResponse) String

func (o CreateDispatchesResponse) String() string

type CreateDispatchesResponsePeriod

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

func (CreateDispatchesResponsePeriod) MarshalJSON

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

func (*CreateDispatchesResponsePeriod) UnmarshalJSON

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

func (CreateDispatchesResponsePeriod) Value added in v0.0.90

type CreateEnvironmentV2Request

type CreateEnvironmentV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateEnvironmentV2Request Request Object

func (CreateEnvironmentV2Request) String

type CreateEnvironmentV2Response

type CreateEnvironmentV2Response struct {

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

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

	// 描述信息
	Remark *string `json:"remark,omitempty"`

	// 环境编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEnvironmentV2Response Response Object

func (CreateEnvironmentV2Response) String

type CreateEnvironmentVariableV2Request

type CreateEnvironmentVariableV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateEnvironmentVariableV2Request Request Object

func (CreateEnvironmentVariableV2Request) String

type CreateEnvironmentVariableV2Response

type CreateEnvironmentVariableV2Response struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。
	VariableName *string `json:"variable_name,omitempty"`

	// 环境变量编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEnvironmentVariableV2Response Response Object

func (CreateEnvironmentVariableV2Response) String

type CreateFeatureV2Request

type CreateFeatureV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateFeatureV2Request Request Object

func (CreateFeatureV2Request) String

func (o CreateFeatureV2Request) String() string

type CreateFeatureV2Response

type CreateFeatureV2Response struct {

	// 特性编号
	Id *string `json:"id,omitempty"`

	// 特性名称
	Name *CreateFeatureV2ResponseName `json:"name,omitempty"`

	// 是否开启特性
	Enable *bool `json:"enable,omitempty"`

	// 特性参数配置
	Config *string `json:"config,omitempty"`

	// 实例编号
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例特性更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateFeatureV2Response Response Object

func (CreateFeatureV2Response) String

func (o CreateFeatureV2Response) String() string

type CreateFeatureV2ResponseName

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

func (CreateFeatureV2ResponseName) MarshalJSON

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

func (*CreateFeatureV2ResponseName) UnmarshalJSON

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

func (CreateFeatureV2ResponseName) Value added in v0.0.90

type CreateLiveDataApiScriptV2Request

type CreateLiveDataApiScriptV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 后端API的编号
	LdApiId string `json:"ld_api_id"`

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

CreateLiveDataApiScriptV2Request Request Object

func (CreateLiveDataApiScriptV2Request) String

type CreateLiveDataApiScriptV2Response

type CreateLiveDataApiScriptV2Response struct {

	// 后端API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。
	Name string `json:"name"`

	// 后端API请求路径。  支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。
	Path string `json:"path"`

	// 后端API请求方法。  支持GET、PUT、POST、DELETE
	Method CreateLiveDataApiScriptV2ResponseMethod `json:"method"`

	// 后端API描述。  不支持<,>字符
	Description *string `json:"description,omitempty"`

	// 后端API版本  支持英文,数字,下划线,中划线,点。
	Version string `json:"version"`

	// 后端API返回类型
	ContentType CreateLiveDataApiScriptV2ResponseContentType `json:"content_type"`

	// 后端API为签名认证时绑定的签名密钥编号
	ApiSignatureId *string `json:"api_signature_id,omitempty"`

	// 后端API归属的集成应用编号
	RomaAppId string `json:"roma_app_id"`

	// API响应信息是否格式化  true: 对响应信息进行格式化  false:对响应信息格式化不进行格式化
	ReturnFormat *bool `json:"return_format,omitempty"`

	// 后端API的请求参数列表
	Parameters *[]LdApiParameter `json:"parameters,omitempty"`

	// 后端API编号
	Id *string `json:"id,omitempty"`

	// 后端API所属实例编号
	Instance *string `json:"instance,omitempty"`

	// 后端API类型: - data:数据后端 - function: 函数后端
	Type *CreateLiveDataApiScriptV2ResponseType `json:"type,omitempty"`

	// 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署
	Status *CreateLiveDataApiScriptV2ResponseStatus `json:"status,omitempty"`

	// 后端API创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 后端API修改时间
	ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"`

	// 后端API脚本信息
	Scripts *[]LdApiScript `json:"scripts,omitempty"`

	// 后端API归属的集成应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateLiveDataApiScriptV2Response Response Object

func (CreateLiveDataApiScriptV2Response) String

type CreateLiveDataApiScriptV2ResponseContentType

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

func (CreateLiveDataApiScriptV2ResponseContentType) MarshalJSON

func (*CreateLiveDataApiScriptV2ResponseContentType) UnmarshalJSON

func (CreateLiveDataApiScriptV2ResponseContentType) Value added in v0.0.90

type CreateLiveDataApiScriptV2ResponseMethod

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

func (CreateLiveDataApiScriptV2ResponseMethod) MarshalJSON

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

func (*CreateLiveDataApiScriptV2ResponseMethod) UnmarshalJSON

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

func (CreateLiveDataApiScriptV2ResponseMethod) Value added in v0.0.90

type CreateLiveDataApiScriptV2ResponseStatus

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

func (CreateLiveDataApiScriptV2ResponseStatus) MarshalJSON

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

func (*CreateLiveDataApiScriptV2ResponseStatus) UnmarshalJSON

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

func (CreateLiveDataApiScriptV2ResponseStatus) Value added in v0.0.90

type CreateLiveDataApiScriptV2ResponseType

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

func (CreateLiveDataApiScriptV2ResponseType) MarshalJSON

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

func (*CreateLiveDataApiScriptV2ResponseType) UnmarshalJSON

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

func (CreateLiveDataApiScriptV2ResponseType) Value added in v0.0.90

type CreateLiveDataApiScriptV2ResponseTypeEnum

type CreateLiveDataApiScriptV2ResponseTypeEnum struct {
	DATA     CreateLiveDataApiScriptV2ResponseType
	FUNCTION CreateLiveDataApiScriptV2ResponseType
}

func GetCreateLiveDataApiScriptV2ResponseTypeEnum

func GetCreateLiveDataApiScriptV2ResponseTypeEnum() CreateLiveDataApiScriptV2ResponseTypeEnum

type CreateLiveDataApiV2Request

type CreateLiveDataApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateLiveDataApiV2Request Request Object

func (CreateLiveDataApiV2Request) String

type CreateLiveDataApiV2Response

type CreateLiveDataApiV2Response struct {

	// 后端API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。
	Name string `json:"name"`

	// 后端API请求路径。  支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。
	Path string `json:"path"`

	// 后端API请求方法。  支持GET、PUT、POST、DELETE
	Method CreateLiveDataApiV2ResponseMethod `json:"method"`

	// 后端API描述。  不支持<,>字符
	Description *string `json:"description,omitempty"`

	// 后端API版本  支持英文,数字,下划线,中划线,点。
	Version string `json:"version"`

	// 后端API返回类型
	ContentType CreateLiveDataApiV2ResponseContentType `json:"content_type"`

	// 后端API为签名认证时绑定的签名密钥编号
	ApiSignatureId *string `json:"api_signature_id,omitempty"`

	// 后端API归属的集成应用编号
	RomaAppId string `json:"roma_app_id"`

	// API响应信息是否格式化  true: 对响应信息进行格式化  false:对响应信息格式化不进行格式化
	ReturnFormat *bool `json:"return_format,omitempty"`

	// 后端API的请求参数列表
	Parameters *[]LdApiParameter `json:"parameters,omitempty"`

	// 后端API编号
	Id *string `json:"id,omitempty"`

	// 后端API所属实例编号
	Instance *string `json:"instance,omitempty"`

	// 后端API类型: - data:数据后端 - function: 函数后端
	Type *CreateLiveDataApiV2ResponseType `json:"type,omitempty"`

	// 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署
	Status *CreateLiveDataApiV2ResponseStatus `json:"status,omitempty"`

	// 后端API创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 后端API修改时间
	ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"`

	// 后端API脚本信息
	Scripts *[]LdApiScript `json:"scripts,omitempty"`

	// 后端API归属的集成应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateLiveDataApiV2Response Response Object

func (CreateLiveDataApiV2Response) String

type CreateLiveDataApiV2ResponseContentType

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

func (CreateLiveDataApiV2ResponseContentType) MarshalJSON

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

func (*CreateLiveDataApiV2ResponseContentType) UnmarshalJSON

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

func (CreateLiveDataApiV2ResponseContentType) Value added in v0.0.90

type CreateLiveDataApiV2ResponseMethod

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

func (CreateLiveDataApiV2ResponseMethod) MarshalJSON

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

func (*CreateLiveDataApiV2ResponseMethod) UnmarshalJSON

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

func (CreateLiveDataApiV2ResponseMethod) Value added in v0.0.90

type CreateLiveDataApiV2ResponseStatus

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

func (CreateLiveDataApiV2ResponseStatus) MarshalJSON

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

func (*CreateLiveDataApiV2ResponseStatus) UnmarshalJSON

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

func (CreateLiveDataApiV2ResponseStatus) Value added in v0.0.90

type CreateLiveDataApiV2ResponseType

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

func (CreateLiveDataApiV2ResponseType) MarshalJSON

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

func (*CreateLiveDataApiV2ResponseType) UnmarshalJSON

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

func (CreateLiveDataApiV2ResponseType) Value added in v0.0.90

type CreateLiveDataApiV2ResponseTypeEnum

type CreateLiveDataApiV2ResponseTypeEnum struct {
	DATA     CreateLiveDataApiV2ResponseType
	FUNCTION CreateLiveDataApiV2ResponseType
}

func GetCreateLiveDataApiV2ResponseTypeEnum

func GetCreateLiveDataApiV2ResponseTypeEnum() CreateLiveDataApiV2ResponseTypeEnum

type CreateMemberGroupRequest

type CreateMemberGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

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

CreateMemberGroupRequest Request Object

func (CreateMemberGroupRequest) String

func (o CreateMemberGroupRequest) String() string

type CreateMemberGroupResponse

type CreateMemberGroupResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// VPC通道后端服务器组列表
	MemberGroups   *[]MemberGroupInfo `json:"member_groups,omitempty"`
	HttpStatusCode int                `json:"-"`
}

CreateMemberGroupResponse Response Object

func (CreateMemberGroupResponse) String

func (o CreateMemberGroupResponse) String() string

type CreateMqsInstanceTopicReq

type CreateMqsInstanceTopicReq struct {

	// topic名称,以字母开头,仅能包含数字,字母,下划线(_),中划线(-),长度3-200字符。
	Name string `json:"name"`

	// 集成应用key。
	AppId string `json:"app_id"`

	// topic分区数,设置消费的并发数。  取值范围:1-50。  默认值:3。
	Partition *int32 `json:"partition,omitempty"`

	// 副本数,配置数据的可靠性。  取值范围:1-3。  默认值:3。  > 体验版实例的副本数只能为1。
	Replication *int32 `json:"replication,omitempty"`

	// 权限类型。   - all:发布+订阅   - pub:发布   - sub:订阅
	AccessPolicy CreateMqsInstanceTopicReqAccessPolicy `json:"access_policy"`

	// 是否使用同步落盘。默认值为false。同步落盘会导致性能降低。
	SyncMessageFlush *bool `json:"sync_message_flush,omitempty"`

	// 是否开启同步复制,开启后,客户端生产消息时相应的也要设置acks=-1,否则不生效,默认关闭。
	SyncReplication *bool `json:"sync_replication,omitempty"`

	// 消息老化时间。默认值为72。取值范围1~720,单位小时。
	RetentionTime *int32 `json:"retention_time,omitempty"`

	// 权限类型对应的标签。  当权限类型是all时,发布和订阅的标签用符号“&”隔开。  当有多个标签时,标签用符号“||”隔开。
	Tag *string `json:"tag,omitempty"`

	// 描述。长度0-1000字符。
	Description *string `json:"description,omitempty"`

	// 敏感字段。  当有多个敏感字段时,敏感字段用符号“||”隔开。
	SensitiveWord *string `json:"sensitive_word,omitempty"`
}

func (CreateMqsInstanceTopicReq) String

func (o CreateMqsInstanceTopicReq) String() string

type CreateMqsInstanceTopicReqAccessPolicy

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

func (CreateMqsInstanceTopicReqAccessPolicy) MarshalJSON

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

func (*CreateMqsInstanceTopicReqAccessPolicy) UnmarshalJSON

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

func (CreateMqsInstanceTopicReqAccessPolicy) Value added in v0.0.90

type CreateMqsInstanceTopicRequest

type CreateMqsInstanceTopicRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

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

CreateMqsInstanceTopicRequest Request Object

func (CreateMqsInstanceTopicRequest) String

type CreateMqsInstanceTopicResponse

type CreateMqsInstanceTopicResponse struct {

	// topic名称。
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateMqsInstanceTopicResponse Response Object

func (CreateMqsInstanceTopicResponse) String

type CreateMultiTaskMappingsRequest

type CreateMultiTaskMappingsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`

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

CreateMultiTaskMappingsRequest Request Object

func (CreateMultiTaskMappingsRequest) String

type CreateMultiTaskMappingsResponse

type CreateMultiTaskMappingsResponse struct {

	// 映射唯一ID
	MappingId      *string `json:"mapping_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateMultiTaskMappingsResponse Response Object

func (CreateMultiTaskMappingsResponse) String

type CreateMultiTasksRequest

type CreateMultiTasksRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateMultiTasksRequest Request Object

func (CreateMultiTasksRequest) String

func (o CreateMultiTasksRequest) String() string

type CreateMultiTasksResponse

type CreateMultiTasksResponse struct {

	// 任务ID, 可为空
	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateMultiTasksResponse Response Object

func (CreateMultiTasksResponse) String

func (o CreateMultiTasksResponse) String() string

type CreateNotificationRequest

type CreateNotificationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateNotificationRequest Request Object

func (CreateNotificationRequest) String

func (o CreateNotificationRequest) String() string

type CreateNotificationRequestBody

type CreateNotificationRequestBody struct {

	// 通知归属的应用ID
	AppId string `json:"app_id"`

	// 通知类型 0-设备上线通知 1-设备下线通知 2-设备添加通知 3-设备删除通知 4-设备变更通知
	Type CreateNotificationRequestBodyType `json:"type"`

	// 通知发送的主题名,该主题需要在MQS存在
	Topic string `json:"topic"`

	// 启停状态 0-启用 1-停用
	Status CreateNotificationRequestBodyStatus `json:"status"`
}

func (CreateNotificationRequestBody) String

type CreateNotificationRequestBodyStatus

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

func (CreateNotificationRequestBodyStatus) MarshalJSON

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

func (*CreateNotificationRequestBodyStatus) UnmarshalJSON

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

func (CreateNotificationRequestBodyStatus) Value added in v0.0.90

type CreateNotificationRequestBodyStatusEnum

type CreateNotificationRequestBodyStatusEnum struct {
	E_0 CreateNotificationRequestBodyStatus
	E_1 CreateNotificationRequestBodyStatus
}

func GetCreateNotificationRequestBodyStatusEnum

func GetCreateNotificationRequestBodyStatusEnum() CreateNotificationRequestBodyStatusEnum

type CreateNotificationRequestBodyType

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

func (CreateNotificationRequestBodyType) MarshalJSON

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

func (*CreateNotificationRequestBodyType) UnmarshalJSON

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

func (CreateNotificationRequestBodyType) Value added in v0.0.90

type CreateNotificationResponse

type CreateNotificationResponse struct {

	// 订阅ID
	NotificationId *int64 `json:"notification_id,omitempty"`

	// 订阅类型, 0:设备上线通知类型, 1:设备下线通知类型, 2:设备添加通知类型, 3:设备删除通知类型, 4:设备变更通知类型
	Type *CreateNotificationResponseType `json:"type,omitempty"`

	// 订阅管理状态,0:启用,1:停用
	Status *CreateNotificationResponseStatus `json:"status,omitempty"`

	// 订阅的topic名称
	Topic *string `json:"topic,omitempty"`

	// 实例ID
	InstanceId *string `json:"instance_id,omitempty"`

	// 应用ID
	AppId          *string `json:"app_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateNotificationResponse Response Object

func (CreateNotificationResponse) String

type CreateNotificationResponseStatus

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

func (CreateNotificationResponseStatus) MarshalJSON

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

func (*CreateNotificationResponseStatus) UnmarshalJSON

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

func (CreateNotificationResponseStatus) Value added in v0.0.90

type CreateNotificationResponseStatusEnum

type CreateNotificationResponseStatusEnum struct {
	E_0 CreateNotificationResponseStatus
	E_1 CreateNotificationResponseStatus
}

func GetCreateNotificationResponseStatusEnum

func GetCreateNotificationResponseStatusEnum() CreateNotificationResponseStatusEnum

type CreateNotificationResponseType

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

func (CreateNotificationResponseType) MarshalJSON

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

func (*CreateNotificationResponseType) UnmarshalJSON

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

func (CreateNotificationResponseType) Value added in v0.0.90

type CreateOrDeletePublishRecordForApiV2Request

type CreateOrDeletePublishRecordForApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateOrDeletePublishRecordForApiV2Request Request Object

func (CreateOrDeletePublishRecordForApiV2Request) String

type CreateOrDeletePublishRecordForApiV2Response

type CreateOrDeletePublishRecordForApiV2Response struct {

	// 发布记录的ID
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 发布描述
	Remark *string `json:"remark,omitempty"`

	// 发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// 在线的版本号
	VersionId      *string `json:"version_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateOrDeletePublishRecordForApiV2Response Response Object

func (CreateOrDeletePublishRecordForApiV2Response) String

type CreateProductRequest

type CreateProductRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateProductRequest Request Object

func (CreateProductRequest) String

func (o CreateProductRequest) String() string

type CreateProductRequestBody

type CreateProductRequestBody struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线
	Name string `json:"name"`

	// 产品供应商ID
	ManufacturerId string `json:"manufacturer_id"`

	// 厂商名称
	ManufacturerName string `json:"manufacturer_name"`

	// 产品型号
	Model string `json:"model"`

	// 产品类型,0-普通产品(不支持子设备) 1-网关产品
	ProductType CreateProductRequestBodyProductType `json:"product_type"`

	// 产品描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 产品的协议类型 0-mqtt 2-modbus 4-opcua
	ProtocolType CreateProductRequestBodyProtocolType `json:"protocol_type"`

	// 产品的设备类型(默认Default)
	DeviceType *string `json:"device_type,omitempty"`

	// 关联产品模板ID(使用产品模板创建产品时使用,否则为空),自动向下取整
	TemplateId *int32 `json:"template_id,omitempty"`

	// 模型版本
	Version *string `json:"version,omitempty"`

	// 产品的数据格式 0-JSON 1-USER_DEFINED
	DataFormat *CreateProductRequestBodyDataFormat `json:"data_format,omitempty"`
}

func (CreateProductRequestBody) String

func (o CreateProductRequestBody) String() string

type CreateProductRequestBodyDataFormat added in v0.0.78

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

func (CreateProductRequestBodyDataFormat) MarshalJSON added in v0.0.78

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

func (*CreateProductRequestBodyDataFormat) UnmarshalJSON added in v0.0.78

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

func (CreateProductRequestBodyDataFormat) Value added in v0.0.90

type CreateProductRequestBodyDataFormatEnum added in v0.0.78

type CreateProductRequestBodyDataFormatEnum struct {
	E_0 CreateProductRequestBodyDataFormat
	E_1 CreateProductRequestBodyDataFormat
}

func GetCreateProductRequestBodyDataFormatEnum added in v0.0.78

func GetCreateProductRequestBodyDataFormatEnum() CreateProductRequestBodyDataFormatEnum

type CreateProductRequestBodyProductType added in v0.0.78

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

func (CreateProductRequestBodyProductType) MarshalJSON added in v0.0.78

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

func (*CreateProductRequestBodyProductType) UnmarshalJSON added in v0.0.78

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

func (CreateProductRequestBodyProductType) Value added in v0.0.90

type CreateProductRequestBodyProductTypeEnum added in v0.0.78

type CreateProductRequestBodyProductTypeEnum struct {
	E_0 CreateProductRequestBodyProductType
	E_1 CreateProductRequestBodyProductType
}

func GetCreateProductRequestBodyProductTypeEnum added in v0.0.78

func GetCreateProductRequestBodyProductTypeEnum() CreateProductRequestBodyProductTypeEnum

type CreateProductRequestBodyProtocolType added in v0.0.78

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

func (CreateProductRequestBodyProtocolType) MarshalJSON added in v0.0.78

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

func (*CreateProductRequestBodyProtocolType) UnmarshalJSON added in v0.0.78

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

func (CreateProductRequestBodyProtocolType) Value added in v0.0.90

type CreateProductRequestBodyProtocolTypeEnum added in v0.0.78

type CreateProductRequestBodyProtocolTypeEnum struct {
	E_0 CreateProductRequestBodyProtocolType
	E_2 CreateProductRequestBodyProtocolType
	E_4 CreateProductRequestBodyProtocolType
}

func GetCreateProductRequestBodyProtocolTypeEnum added in v0.0.78

func GetCreateProductRequestBodyProtocolTypeEnum() CreateProductRequestBodyProtocolTypeEnum

type CreateProductResponse

type CreateProductResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 产品ID
	Id *int32 `json:"id,omitempty"`

	// 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品)
	ProductSerial *string `json:"product_serial,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线
	Name *string `json:"name,omitempty"`

	// 产品供应商ID
	ManufacturerId *string `json:"manufacturer_id,omitempty"`

	// 厂商名称
	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	// 产品型号
	Model *string `json:"model,omitempty"`

	// 产品类型,0-普通产品(不支持子设备) 1-网关产品
	ProductType *CreateProductResponseProductType `json:"product_type,omitempty"`

	// 产品描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 产品的协议类型 0-mqtt 2-modbus 4-opcua
	ProtocolType *CreateProductResponseProtocolType `json:"protocol_type,omitempty"`

	// 产品的设备类型(默认Default)
	DeviceType *string `json:"device_type,omitempty"`

	// 产品版本
	Version *string `json:"version,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	Authentication *Authentication `json:"authentication,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// data_format 0-JSON 1-USER_DEFINED
	DataFormat     *int32 `json:"data_format,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateProductResponse Response Object

func (CreateProductResponse) String

func (o CreateProductResponse) String() string

type CreateProductResponseProductType added in v0.0.78

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

func (CreateProductResponseProductType) MarshalJSON added in v0.0.78

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

func (*CreateProductResponseProductType) UnmarshalJSON added in v0.0.78

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

func (CreateProductResponseProductType) Value added in v0.0.90

type CreateProductResponseProductTypeEnum added in v0.0.78

type CreateProductResponseProductTypeEnum struct {
	E_0 CreateProductResponseProductType
	E_1 CreateProductResponseProductType
}

func GetCreateProductResponseProductTypeEnum added in v0.0.78

func GetCreateProductResponseProductTypeEnum() CreateProductResponseProductTypeEnum

type CreateProductResponseProtocolType added in v0.0.78

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

func (CreateProductResponseProtocolType) MarshalJSON added in v0.0.78

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

func (*CreateProductResponseProtocolType) UnmarshalJSON added in v0.0.78

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

func (CreateProductResponseProtocolType) Value added in v0.0.90

type CreateProductResponseProtocolTypeEnum added in v0.0.78

type CreateProductResponseProtocolTypeEnum struct {
	E_0 CreateProductResponseProtocolType
	E_2 CreateProductResponseProtocolType
	E_4 CreateProductResponseProtocolType
}

func GetCreateProductResponseProtocolTypeEnum added in v0.0.78

func GetCreateProductResponseProtocolTypeEnum() CreateProductResponseProtocolTypeEnum

type CreateProductTemplateRequest

type CreateProductTemplateRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateProductTemplateRequest Request Object

func (CreateProductTemplateRequest) String

type CreateProductTemplateRequestBody

type CreateProductTemplateRequestBody struct {

	// 产品模板名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	Name string `json:"name"`

	// 产品模板描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 产品模板状态 0-启用 1-禁用
	Status CreateProductTemplateRequestBodyStatus `json:"status"`
}

func (CreateProductTemplateRequestBody) String

type CreateProductTemplateRequestBodyStatus added in v0.0.78

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

func (CreateProductTemplateRequestBodyStatus) MarshalJSON added in v0.0.78

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

func (*CreateProductTemplateRequestBodyStatus) UnmarshalJSON added in v0.0.78

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

func (CreateProductTemplateRequestBodyStatus) Value added in v0.0.90

type CreateProductTemplateRequestBodyStatusEnum added in v0.0.78

type CreateProductTemplateRequestBodyStatusEnum struct {
	E_0 CreateProductTemplateRequestBodyStatus
	E_1 CreateProductTemplateRequestBodyStatus
}

func GetCreateProductTemplateRequestBodyStatusEnum added in v0.0.78

func GetCreateProductTemplateRequestBodyStatusEnum() CreateProductTemplateRequestBodyStatusEnum

type CreateProductTemplateResponse

type CreateProductTemplateResponse struct {

	// 产品模板ID
	Id *int32 `json:"id,omitempty"`

	// 产品模板名称
	Name *string `json:"name,omitempty"`

	// 产品模板描述
	Description *string `json:"description,omitempty"`

	// 产品模板状态 0-启用 1-停用
	Status *CreateProductTemplateResponseStatus `json:"status,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

CreateProductTemplateResponse Response Object

func (CreateProductTemplateResponse) String

type CreateProductTemplateResponseStatus added in v0.0.78

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

func (CreateProductTemplateResponseStatus) MarshalJSON added in v0.0.78

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

func (*CreateProductTemplateResponseStatus) UnmarshalJSON added in v0.0.78

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

func (CreateProductTemplateResponseStatus) Value added in v0.0.90

type CreateProductTemplateResponseStatusEnum added in v0.0.78

type CreateProductTemplateResponseStatusEnum struct {
	E_0 CreateProductTemplateResponseStatus
	E_1 CreateProductTemplateResponseStatus
}

func GetCreateProductTemplateResponseStatusEnum added in v0.0.78

func GetCreateProductTemplateResponseStatusEnum() CreateProductTemplateResponseStatusEnum

type CreateProductTopicRequest

type CreateProductTopicRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`

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

CreateProductTopicRequest Request Object

func (CreateProductTopicRequest) String

func (o CreateProductTopicRequest) String() string

type CreateProductTopicRequestBody

type CreateProductTopicRequestBody struct {

	// 主题权限 0-发布 1-订阅
	Permission CreateProductTopicRequestBodyPermission `json:"permission"`

	// 产品级主题名称<br>Topic类格式必须以“/”进行分层,区分每个类目。其中第一个为用户自定义的版本号;第二个已经规定好,为${deviceId}通配设备ID;第三个为用户自定义的topic类名(即本字段)。Topic类组成即为:/${version}/${deviceId}/${customizePart}。简单来说,Topic类:/v1/${deviceId}/customizePart是具体Topic:/v1/deviceid1/customizePart1和/v1/deviceid2/customizePart2等的集合。
	Name string `json:"name"`

	// 版本号,输入2-50个字符。值以字母或数字开头和结尾。仅允许使用字母,数字,中划线和点号。
	Version string `json:"version"`

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

func (CreateProductTopicRequestBody) String

type CreateProductTopicRequestBodyPermission added in v0.0.78

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

func (CreateProductTopicRequestBodyPermission) MarshalJSON added in v0.0.78

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

func (*CreateProductTopicRequestBodyPermission) UnmarshalJSON added in v0.0.78

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

func (CreateProductTopicRequestBodyPermission) Value added in v0.0.90

type CreateProductTopicRequestBodyPermissionEnum added in v0.0.78

type CreateProductTopicRequestBodyPermissionEnum struct {
	E_0 CreateProductTopicRequestBodyPermission
	E_1 CreateProductTopicRequestBodyPermission
}

func GetCreateProductTopicRequestBodyPermissionEnum added in v0.0.78

func GetCreateProductTopicRequestBodyPermissionEnum() CreateProductTopicRequestBodyPermissionEnum

type CreateProductTopicResponse

type CreateProductTopicResponse struct {

	// 归属产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 产品主题ID
	TopicId *string `json:"topic_id,omitempty"`

	// 主题权限 0-发布 1-订阅
	Permission *CreateProductTopicResponsePermission `json:"permission,omitempty"`

	// 主题名称
	TopicName *string `json:"topic_name,omitempty"`

	// 版本号
	Version *string `json:"version,omitempty"`

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

CreateProductTopicResponse Response Object

func (CreateProductTopicResponse) String

type CreateProductTopicResponsePermission added in v0.0.78

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

func (CreateProductTopicResponsePermission) MarshalJSON added in v0.0.78

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

func (*CreateProductTopicResponsePermission) UnmarshalJSON added in v0.0.78

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

func (CreateProductTopicResponsePermission) Value added in v0.0.90

type CreateProductTopicResponsePermissionEnum added in v0.0.78

type CreateProductTopicResponsePermissionEnum struct {
	E_0 CreateProductTopicResponsePermission
	E_1 CreateProductTopicResponsePermission
}

func GetCreateProductTopicResponsePermissionEnum added in v0.0.78

func GetCreateProductTopicResponsePermissionEnum() CreateProductTopicResponsePermissionEnum

type CreateProjectVpcChannelRequest

type CreateProjectVpcChannelRequest struct {
	Body *ProjectVpcCreate `json:"body,omitempty"`
}

CreateProjectVpcChannelRequest Request Object

func (CreateProjectVpcChannelRequest) String

type CreateProjectVpcChannelResponse

type CreateProjectVpcChannelResponse struct {

	// 项目VPC通道列表
	ProjectVpcChannels *[]ProjectVpcChannelInfo `json:"project_vpc_channels,omitempty"`
	HttpStatusCode     int                      `json:"-"`
}

CreateProjectVpcChannelResponse Response Object

func (CreateProjectVpcChannelResponse) String

type CreateProjectVpcChannelSyncsRequest

type CreateProjectVpcChannelSyncsRequest struct {
	Body *ProjectVpcSync `json:"body,omitempty"`
}

CreateProjectVpcChannelSyncsRequest Request Object

func (CreateProjectVpcChannelSyncsRequest) String

type CreateProjectVpcChannelSyncsResponse

type CreateProjectVpcChannelSyncsResponse struct {

	// 项目VPC通道列表
	ProjectVpcChannels *[]ProjectVpcChannelInfo `json:"project_vpc_channels,omitempty"`
	HttpStatusCode     int                      `json:"-"`
}

CreateProjectVpcChannelSyncsResponse Response Object

func (CreateProjectVpcChannelSyncsResponse) String

type CreatePropertyRequest

type CreatePropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

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

CreatePropertyRequest Request Object

func (CreatePropertyRequest) String

func (o CreatePropertyRequest) String() string

type CreatePropertyRequestBody

type CreatePropertyRequestBody struct {

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName string `json:"property_name"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式
	DataType CreatePropertyRequestBodyDataType `json:"data_type"`

	// 是否必填 0-非必填 1-必填
	Required CreatePropertyRequestBodyRequired `json:"required"`

	// 最小值,当data_type为integer或number时必填
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时必填
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时必填
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时必填,自动向下取整
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict *interface{} `json:"enum_dict,omitempty"`

	// 访问模式(兼容20.0,R属性可读,W属性可写,E属性可执行)
	Method *string `json:"method,omitempty"`
}

func (CreatePropertyRequestBody) String

func (o CreatePropertyRequestBody) String() string

type CreatePropertyRequestBodyDataType

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

func (CreatePropertyRequestBodyDataType) MarshalJSON

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

func (*CreatePropertyRequestBodyDataType) UnmarshalJSON

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

func (CreatePropertyRequestBodyDataType) Value added in v0.0.90

type CreatePropertyRequestBodyRequired added in v0.0.78

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

func (CreatePropertyRequestBodyRequired) MarshalJSON added in v0.0.78

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

func (*CreatePropertyRequestBodyRequired) UnmarshalJSON added in v0.0.78

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

func (CreatePropertyRequestBodyRequired) Value added in v0.0.90

type CreatePropertyRequestBodyRequiredEnum added in v0.0.78

type CreatePropertyRequestBodyRequiredEnum struct {
	E_0 CreatePropertyRequestBodyRequired
	E_1 CreatePropertyRequestBodyRequired
}

func GetCreatePropertyRequestBodyRequiredEnum added in v0.0.78

func GetCreatePropertyRequestBodyRequiredEnum() CreatePropertyRequestBodyRequiredEnum

type CreatePropertyResponse

type CreatePropertyResponse struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *CreatePropertyResponseDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *CreatePropertyResponseRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict *interface{} `json:"enum_dict,omitempty"`

	// 访问模式(兼容20.0,R属性可读,W属性可写,E属性可执行)
	Method         *string `json:"method,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreatePropertyResponse Response Object

func (CreatePropertyResponse) String

func (o CreatePropertyResponse) String() string

type CreatePropertyResponseDataType

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

func (CreatePropertyResponseDataType) MarshalJSON

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

func (*CreatePropertyResponseDataType) UnmarshalJSON

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

func (CreatePropertyResponseDataType) Value added in v0.0.90

type CreatePropertyResponseRequired added in v0.0.78

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

func (CreatePropertyResponseRequired) MarshalJSON added in v0.0.78

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

func (*CreatePropertyResponseRequired) UnmarshalJSON added in v0.0.78

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

func (CreatePropertyResponseRequired) Value added in v0.0.90

type CreatePropertyResponseRequiredEnum added in v0.0.78

type CreatePropertyResponseRequiredEnum struct {
	E_0 CreatePropertyResponseRequired
	E_1 CreatePropertyResponseRequired
}

func GetCreatePropertyResponseRequiredEnum added in v0.0.78

func GetCreatePropertyResponseRequiredEnum() CreatePropertyResponseRequiredEnum

type CreateRequestPropertyRequest

type CreateRequestPropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

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

CreateRequestPropertyRequest Request Object

func (CreateRequestPropertyRequest) String

type CreateRequestPropertyResponse

type CreateRequestPropertyResponse struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *CreateRequestPropertyResponseDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *CreateRequestPropertyResponseRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict       *interface{} `json:"enum_dict,omitempty"`
	HttpStatusCode int          `json:"-"`
}

CreateRequestPropertyResponse Response Object

func (CreateRequestPropertyResponse) String

type CreateRequestPropertyResponseDataType

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

func (CreateRequestPropertyResponseDataType) MarshalJSON

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

func (*CreateRequestPropertyResponseDataType) UnmarshalJSON

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

func (CreateRequestPropertyResponseDataType) Value added in v0.0.90

type CreateRequestPropertyResponseRequired added in v0.0.78

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

func (CreateRequestPropertyResponseRequired) MarshalJSON added in v0.0.78

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

func (*CreateRequestPropertyResponseRequired) UnmarshalJSON added in v0.0.78

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

func (CreateRequestPropertyResponseRequired) Value added in v0.0.90

type CreateRequestPropertyResponseRequiredEnum added in v0.0.78

type CreateRequestPropertyResponseRequiredEnum struct {
	E_0 CreateRequestPropertyResponseRequired
	E_1 CreateRequestPropertyResponseRequired
}

func GetCreateRequestPropertyResponseRequiredEnum added in v0.0.78

func GetCreateRequestPropertyResponseRequiredEnum() CreateRequestPropertyResponseRequiredEnum

type CreateRequestThrottlingPolicyV2Request

type CreateRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateRequestThrottlingPolicyV2Request Request Object

func (CreateRequestThrottlingPolicyV2Request) String

type CreateRequestThrottlingPolicyV2Response

type CreateRequestThrottlingPolicyV2Response struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit CreateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *CreateRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site)
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateRequestThrottlingPolicyV2Response Response Object

func (CreateRequestThrottlingPolicyV2Response) String

type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle

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

func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON

func (*CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON

func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value added in v0.0.90

type CreateRequestThrottlingPolicyV2ResponseTimeUnit

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

func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*CreateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) Value added in v0.0.90

type CreateRequestThrottlingPolicyV2ResponseType

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

func (CreateRequestThrottlingPolicyV2ResponseType) MarshalJSON

func (*CreateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON

func (CreateRequestThrottlingPolicyV2ResponseType) Value added in v0.0.90

type CreateResponsePropertyRequest

type CreateResponsePropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

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

CreateResponsePropertyRequest Request Object

func (CreateResponsePropertyRequest) String

type CreateResponsePropertyResponse

type CreateResponsePropertyResponse struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *CreateResponsePropertyResponseDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *CreateResponsePropertyResponseRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict       *interface{} `json:"enum_dict,omitempty"`
	HttpStatusCode int          `json:"-"`
}

CreateResponsePropertyResponse Response Object

func (CreateResponsePropertyResponse) String

type CreateResponsePropertyResponseDataType

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

func (CreateResponsePropertyResponseDataType) MarshalJSON

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

func (*CreateResponsePropertyResponseDataType) UnmarshalJSON

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

func (CreateResponsePropertyResponseDataType) Value added in v0.0.90

type CreateResponsePropertyResponseRequired added in v0.0.78

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

func (CreateResponsePropertyResponseRequired) MarshalJSON added in v0.0.78

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

func (*CreateResponsePropertyResponseRequired) UnmarshalJSON added in v0.0.78

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

func (CreateResponsePropertyResponseRequired) Value added in v0.0.90

type CreateResponsePropertyResponseRequiredEnum added in v0.0.78

type CreateResponsePropertyResponseRequiredEnum struct {
	E_0 CreateResponsePropertyResponseRequired
	E_1 CreateResponsePropertyResponseRequired
}

func GetCreateResponsePropertyResponseRequiredEnum added in v0.0.78

func GetCreateResponsePropertyResponseRequiredEnum() CreateResponsePropertyResponseRequiredEnum

type CreateRomaAppRequest

type CreateRomaAppRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateRomaAppRequest Request Object

func (CreateRomaAppRequest) String

func (o CreateRomaAppRequest) String() string

type CreateRomaAppResponse

type CreateRomaAppResponse struct {

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 应用描述
	Remark *string `json:"remark,omitempty"`

	// 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限
	Roles *[]CreateRomaAppResponseRoles `json:"roles,omitempty"`

	// 创建UTC时间
	CreateTime *string `json:"create_time,omitempty"`

	// 创建UTC时间
	UpdateTime *string `json:"update_time,omitempty"`

	CreatedUser *ServerAppInfoCreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *ServerAppInfoLastUpdatedUser `json:"last_updated_user,omitempty"`

	// 是否是应用拥有者
	Owner *bool `json:"owner,omitempty"`

	// 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一
	Key *string `json:"key,omitempty"`

	// 是否收藏应用,收藏的应用会在列表里优先显示
	Favorite       *bool `json:"favorite,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CreateRomaAppResponse Response Object

func (CreateRomaAppResponse) String

func (o CreateRomaAppResponse) String() string

type CreateRomaAppResponseRoles

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

func (CreateRomaAppResponseRoles) MarshalJSON

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

func (*CreateRomaAppResponseRoles) UnmarshalJSON

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

func (CreateRomaAppResponseRoles) Value added in v0.0.90

type CreateRuleRequest

type CreateRuleRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateRuleRequest Request Object

func (CreateRuleRequest) String

func (o CreateRuleRequest) String() string

type CreateRuleRequestBody

type CreateRuleRequestBody struct {

	// 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64
	Name string `json:"name"`

	// 应用ID
	AppId string `json:"app_id"`

	// 描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 规则状态 0-启用 1-停用,不填写时默认为0-启用
	Status *CreateRuleRequestBodyStatus `json:"status,omitempty"`

	// 数据解析状态,0-启用 1-停用,不填写时默认为1-禁用
	DataParsingStatus *CreateRuleRequestBodyDataParsingStatus `json:"data_parsing_status,omitempty"`
}

func (CreateRuleRequestBody) String

func (o CreateRuleRequestBody) String() string

type CreateRuleRequestBodyDataParsingStatus added in v0.0.78

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

func (CreateRuleRequestBodyDataParsingStatus) MarshalJSON added in v0.0.78

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

func (*CreateRuleRequestBodyDataParsingStatus) UnmarshalJSON added in v0.0.78

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

func (CreateRuleRequestBodyDataParsingStatus) Value added in v0.0.90

type CreateRuleRequestBodyDataParsingStatusEnum added in v0.0.78

type CreateRuleRequestBodyDataParsingStatusEnum struct {
	E_0 CreateRuleRequestBodyDataParsingStatus
	E_1 CreateRuleRequestBodyDataParsingStatus
}

func GetCreateRuleRequestBodyDataParsingStatusEnum added in v0.0.78

func GetCreateRuleRequestBodyDataParsingStatusEnum() CreateRuleRequestBodyDataParsingStatusEnum

type CreateRuleRequestBodyStatus added in v0.0.78

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

func (CreateRuleRequestBodyStatus) MarshalJSON added in v0.0.78

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

func (*CreateRuleRequestBodyStatus) UnmarshalJSON added in v0.0.78

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

func (CreateRuleRequestBodyStatus) Value added in v0.0.90

type CreateRuleRequestBodyStatusEnum added in v0.0.78

type CreateRuleRequestBodyStatusEnum struct {
	E_0 CreateRuleRequestBodyStatus
	E_1 CreateRuleRequestBodyStatus
}

func GetCreateRuleRequestBodyStatusEnum added in v0.0.78

func GetCreateRuleRequestBodyStatusEnum() CreateRuleRequestBodyStatusEnum

type CreateRuleResponse

type CreateRuleResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 规则ID
	RuleId *int32 `json:"rule_id,omitempty"`

	// 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64
	Name *string `json:"name,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

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

	// 规则状态 0-启用 1-停用
	Status *CreateRuleResponseStatus `json:"status,omitempty"`

	// 数据解析状态,ENABLE时data_parsing必填 0-启用 1-停用
	DataParsingStatus *CreateRuleResponseDataParsingStatus `json:"data_parsing_status,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

CreateRuleResponse Response Object

func (CreateRuleResponse) String

func (o CreateRuleResponse) String() string

type CreateRuleResponseDataParsingStatus added in v0.0.78

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

func (CreateRuleResponseDataParsingStatus) MarshalJSON added in v0.0.78

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

func (*CreateRuleResponseDataParsingStatus) UnmarshalJSON added in v0.0.78

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

func (CreateRuleResponseDataParsingStatus) Value added in v0.0.90

type CreateRuleResponseDataParsingStatusEnum added in v0.0.78

type CreateRuleResponseDataParsingStatusEnum struct {
	E_0 CreateRuleResponseDataParsingStatus
	E_1 CreateRuleResponseDataParsingStatus
}

func GetCreateRuleResponseDataParsingStatusEnum added in v0.0.78

func GetCreateRuleResponseDataParsingStatusEnum() CreateRuleResponseDataParsingStatusEnum

type CreateRuleResponseStatus added in v0.0.78

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

func (CreateRuleResponseStatus) MarshalJSON added in v0.0.78

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

func (*CreateRuleResponseStatus) UnmarshalJSON added in v0.0.78

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

func (CreateRuleResponseStatus) Value added in v0.0.90

func (c CreateRuleResponseStatus) Value() int32

type CreateRuleResponseStatusEnum added in v0.0.78

type CreateRuleResponseStatusEnum struct {
	E_0 CreateRuleResponseStatus
	E_1 CreateRuleResponseStatus
}

func GetCreateRuleResponseStatusEnum added in v0.0.78

func GetCreateRuleResponseStatusEnum() CreateRuleResponseStatusEnum

type CreateServiceRequest

type CreateServiceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateServiceRequest Request Object

func (CreateServiceRequest) String

func (o CreateServiceRequest) String() string

type CreateServiceRequestBody

type CreateServiceRequestBody struct {

	// 服务归属的产品模板ID,产品模板ID和产品ID二选一必填,自动向下取整
	ProductTemplateId *int32 `json:"product_template_id,omitempty"`

	// 服务归属的产品ID,产品模板ID和产品ID二选一必填,自动向下取整
	ProductId *int32 `json:"product_id,omitempty"`

	// 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	ServiceName string `json:"service_name"`

	// 服务描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 服务状态 0-启用 1-停用
	Status CreateServiceRequestBodyStatus `json:"status"`
}

func (CreateServiceRequestBody) String

func (o CreateServiceRequestBody) String() string

type CreateServiceRequestBodyStatus added in v0.0.78

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

func (CreateServiceRequestBodyStatus) MarshalJSON added in v0.0.78

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

func (*CreateServiceRequestBodyStatus) UnmarshalJSON added in v0.0.78

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

func (CreateServiceRequestBodyStatus) Value added in v0.0.90

type CreateServiceRequestBodyStatusEnum added in v0.0.78

type CreateServiceRequestBodyStatusEnum struct {
	E_0 CreateServiceRequestBodyStatus
	E_1 CreateServiceRequestBodyStatus
}

func GetCreateServiceRequestBodyStatusEnum added in v0.0.78

func GetCreateServiceRequestBodyStatusEnum() CreateServiceRequestBodyStatusEnum

type CreateServiceResponse

type CreateServiceResponse struct {

	// 服务归属的产品模板ID
	ProductTemplateId *int32 `json:"product_template_id,omitempty"`

	// 服务归属的产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 服务ID
	ServiceId *int32 `json:"service_id,omitempty"`

	// 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	ServiceName *string `json:"service_name,omitempty"`

	// 服务描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 服务状态 0-启用 1-停用
	Status *CreateServiceResponseStatus `json:"status,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间止,格式timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间止,格式timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

CreateServiceResponse Response Object

func (CreateServiceResponse) String

func (o CreateServiceResponse) String() string

type CreateServiceResponseStatus added in v0.0.78

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

func (CreateServiceResponseStatus) MarshalJSON added in v0.0.78

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

func (*CreateServiceResponseStatus) UnmarshalJSON added in v0.0.78

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

func (CreateServiceResponseStatus) Value added in v0.0.90

type CreateServiceResponseStatusEnum added in v0.0.78

type CreateServiceResponseStatusEnum struct {
	E_0 CreateServiceResponseStatus
	E_1 CreateServiceResponseStatus
}

func GetCreateServiceResponseStatusEnum added in v0.0.78

func GetCreateServiceResponseStatusEnum() CreateServiceResponseStatusEnum

type CreateSignatureKeyV2Request

type CreateSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

CreateSignatureKeyV2Request Request Object

func (CreateSignatureKeyV2Request) String

type CreateSignatureKeyV2Response

type CreateSignatureKeyV2Response struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *CreateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。
	SignAlgorithm *CreateSignatureKeyV2ResponseSignAlgorithm `json:"sign_algorithm,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 签名密钥的编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateSignatureKeyV2Response Response Object

func (CreateSignatureKeyV2Response) String

type CreateSignatureKeyV2ResponseSignAlgorithm

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

func (CreateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON

func (*CreateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON

func (CreateSignatureKeyV2ResponseSignAlgorithm) Value added in v0.0.90

type CreateSignatureKeyV2ResponseSignAlgorithmEnum

type CreateSignatureKeyV2ResponseSignAlgorithmEnum struct {
	AES_128_CFB CreateSignatureKeyV2ResponseSignAlgorithm
	AES_256_CFB CreateSignatureKeyV2ResponseSignAlgorithm
}

func GetCreateSignatureKeyV2ResponseSignAlgorithmEnum

func GetCreateSignatureKeyV2ResponseSignAlgorithmEnum() CreateSignatureKeyV2ResponseSignAlgorithmEnum

type CreateSignatureKeyV2ResponseSignType

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

func (CreateSignatureKeyV2ResponseSignType) MarshalJSON

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

func (*CreateSignatureKeyV2ResponseSignType) UnmarshalJSON

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

func (CreateSignatureKeyV2ResponseSignType) Value added in v0.0.90

type CreateSourceRequest

type CreateSourceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 规则ID
	RuleId string `json:"rule_id"`

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

CreateSourceRequest Request Object

func (CreateSourceRequest) String

func (o CreateSourceRequest) String() string

type CreateSourceRequestBody

type CreateSourceRequestBody struct {

	// 产品ID,自动向下取整
	ProductId int32 `json:"product_id"`

	// 设备ID,自动向下取整,不填为全部设备
	DeviceId *int32 `json:"device_id,omitempty"`

	// 主题,当设备ID为空时为产品级主题,设备ID不为空时为设备级主题
	Topic string `json:"topic"`

	// 是否payload使用base64,0-是 1-否
	IsBase64 *CreateSourceRequestBodyIsBase64 `json:"is_base64,omitempty"`

	// 是否包含设备信息是否包含设备信息,0-是 1-否
	ContainDeviceInfo *CreateSourceRequestBodyContainDeviceInfo `json:"contain_device_info,omitempty"`
}

func (CreateSourceRequestBody) String

func (o CreateSourceRequestBody) String() string

type CreateSourceRequestBodyContainDeviceInfo added in v0.0.78

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

func (CreateSourceRequestBodyContainDeviceInfo) MarshalJSON added in v0.0.78

func (*CreateSourceRequestBodyContainDeviceInfo) UnmarshalJSON added in v0.0.78

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

func (CreateSourceRequestBodyContainDeviceInfo) Value added in v0.0.90

type CreateSourceRequestBodyContainDeviceInfoEnum added in v0.0.78

type CreateSourceRequestBodyContainDeviceInfoEnum struct {
	E_0 CreateSourceRequestBodyContainDeviceInfo
	E_1 CreateSourceRequestBodyContainDeviceInfo
}

func GetCreateSourceRequestBodyContainDeviceInfoEnum added in v0.0.78

func GetCreateSourceRequestBodyContainDeviceInfoEnum() CreateSourceRequestBodyContainDeviceInfoEnum

type CreateSourceRequestBodyIsBase64 added in v0.0.78

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

func (CreateSourceRequestBodyIsBase64) MarshalJSON added in v0.0.78

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

func (*CreateSourceRequestBodyIsBase64) UnmarshalJSON added in v0.0.78

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

func (CreateSourceRequestBodyIsBase64) Value added in v0.0.90

type CreateSourceRequestBodyIsBase64Enum added in v0.0.78

type CreateSourceRequestBodyIsBase64Enum struct {
	E_0 CreateSourceRequestBodyIsBase64
	E_1 CreateSourceRequestBodyIsBase64
}

func GetCreateSourceRequestBodyIsBase64Enum added in v0.0.78

func GetCreateSourceRequestBodyIsBase64Enum() CreateSourceRequestBodyIsBase64Enum

type CreateSourceResponse

type CreateSourceResponse struct {

	// 源数据源ID
	SourceId *int32 `json:"source_id,omitempty"`

	// 产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 设备ID,不填为全部设备
	DeviceId *int32 `json:"device_id,omitempty"`

	// 主题,当设备ID为空时为产品级主题,设备ID不为空时为设备级主题
	Topic *string `json:"topic,omitempty"`

	// 设备名称
	DeviceName *string `json:"device_name,omitempty"`

	// 产品名称
	ProductName *string `json:"product_name,omitempty"`

	// 是否payload使用base64,0-是 1-否
	IsBase64 *CreateSourceResponseIsBase64 `json:"is_base64,omitempty"`

	// 是否包含设备信息,0-是,1-否
	ContainDeviceInfo *CreateSourceResponseContainDeviceInfo `json:"contain_device_info,omitempty"`
	HttpStatusCode    int                                    `json:"-"`
}

CreateSourceResponse Response Object

func (CreateSourceResponse) String

func (o CreateSourceResponse) String() string

type CreateSourceResponseContainDeviceInfo added in v0.0.78

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

func (CreateSourceResponseContainDeviceInfo) MarshalJSON added in v0.0.78

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

func (*CreateSourceResponseContainDeviceInfo) UnmarshalJSON added in v0.0.78

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

func (CreateSourceResponseContainDeviceInfo) Value added in v0.0.90

type CreateSourceResponseContainDeviceInfoEnum added in v0.0.78

type CreateSourceResponseContainDeviceInfoEnum struct {
	E_0 CreateSourceResponseContainDeviceInfo
	E_1 CreateSourceResponseContainDeviceInfo
}

func GetCreateSourceResponseContainDeviceInfoEnum added in v0.0.78

func GetCreateSourceResponseContainDeviceInfoEnum() CreateSourceResponseContainDeviceInfoEnum

type CreateSourceResponseIsBase64 added in v0.0.78

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

func (CreateSourceResponseIsBase64) MarshalJSON added in v0.0.78

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

func (*CreateSourceResponseIsBase64) UnmarshalJSON added in v0.0.78

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

func (CreateSourceResponseIsBase64) Value added in v0.0.90

type CreateSourceResponseIsBase64Enum added in v0.0.78

type CreateSourceResponseIsBase64Enum struct {
	E_0 CreateSourceResponseIsBase64
	E_1 CreateSourceResponseIsBase64
}

func GetCreateSourceResponseIsBase64Enum added in v0.0.78

func GetCreateSourceResponseIsBase64Enum() CreateSourceResponseIsBase64Enum

type CreateSpecialThrottlingConfigurationV2Request

type CreateSpecialThrottlingConfigurationV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	Body *ThrottleSpecialCreate `json:"body,omitempty"`
}

CreateSpecialThrottlingConfigurationV2Request Request Object

func (CreateSpecialThrottlingConfigurationV2Request) String

type CreateSpecialThrottlingConfigurationV2Response

type CreateSpecialThrottlingConfigurationV2Response struct {

	// 特殊配置的编号
	Id *string `json:"id,omitempty"`

	// 特殊对象在流控时间内能够访问API的最大次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 设置时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 作用的APP名称
	AppName *string `json:"app_name,omitempty"`

	// 作用的APP编号
	AppId *string `json:"app_id,omitempty"`

	// 特殊对象的身份标识
	ObjectId *string `json:"object_id,omitempty"`

	// 特殊对象类型:APP、USER
	ObjectType *string `json:"object_type,omitempty"`

	// [作用的APP或租户的名称](tag:hws;hws_hk;hcs;fcs;g42;)[作用的APP或租户ID](tag:Site)
	ObjectName *string `json:"object_name,omitempty"`

	// 流控策略编号
	ThrottleId     *string `json:"throttle_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateSpecialThrottlingConfigurationV2Response Response Object

func (CreateSpecialThrottlingConfigurationV2Response) String

type CreateVpcChannelV2Request

type CreateVpcChannelV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *VpcCreate `json:"body,omitempty"`
}

CreateVpcChannelV2Request Request Object

func (CreateVpcChannelV2Request) String

func (o CreateVpcChannelV2Request) String() string

type CreateVpcChannelV2Response

type CreateVpcChannelV2Response struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy CreateVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs
	MemberType CreateVpcChannelV2ResponseMemberType `json:"member_type"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的状态。 - 1:正常 - 2:异常
	Status *CreateVpcChannelV2ResponseStatus `json:"status,omitempty"`

	// 后端云服务器组列表。  [暂不支持](tag:Site)
	MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"`

	MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"`

	// vpc通道类型。 - BUILTIN:BUILTIN通道类型 - MICROSERVICE:微服务类型
	Type           *CreateVpcChannelV2ResponseType `json:"type,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

CreateVpcChannelV2Response Response Object

func (CreateVpcChannelV2Response) String

type CreateVpcChannelV2ResponseBalanceStrategy

type CreateVpcChannelV2ResponseBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (CreateVpcChannelV2ResponseBalanceStrategy) MarshalJSON

func (*CreateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON

func (CreateVpcChannelV2ResponseBalanceStrategy) Value added in v0.0.90

type CreateVpcChannelV2ResponseMemberType

type CreateVpcChannelV2ResponseMemberType struct {
	// contains filtered or unexported fields
}

func (CreateVpcChannelV2ResponseMemberType) MarshalJSON

func (c CreateVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)

func (*CreateVpcChannelV2ResponseMemberType) UnmarshalJSON

func (c *CreateVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error

func (CreateVpcChannelV2ResponseMemberType) Value added in v0.0.90

type CreateVpcChannelV2ResponseMemberTypeEnum

type CreateVpcChannelV2ResponseMemberTypeEnum struct {
	IP  CreateVpcChannelV2ResponseMemberType
	ECS CreateVpcChannelV2ResponseMemberType
}

func GetCreateVpcChannelV2ResponseMemberTypeEnum

func GetCreateVpcChannelV2ResponseMemberTypeEnum() CreateVpcChannelV2ResponseMemberTypeEnum

type CreateVpcChannelV2ResponseStatus

type CreateVpcChannelV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (CreateVpcChannelV2ResponseStatus) MarshalJSON

func (c CreateVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*CreateVpcChannelV2ResponseStatus) UnmarshalJSON

func (c *CreateVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error

func (CreateVpcChannelV2ResponseStatus) Value added in v0.0.90

type CreateVpcChannelV2ResponseStatusEnum

type CreateVpcChannelV2ResponseStatusEnum struct {
	E_1 CreateVpcChannelV2ResponseStatus
	E_2 CreateVpcChannelV2ResponseStatus
}

func GetCreateVpcChannelV2ResponseStatusEnum

func GetCreateVpcChannelV2ResponseStatusEnum() CreateVpcChannelV2ResponseStatusEnum

type CreateVpcChannelV2ResponseType added in v0.1.13

type CreateVpcChannelV2ResponseType struct {
	// contains filtered or unexported fields
}

func (CreateVpcChannelV2ResponseType) MarshalJSON added in v0.1.13

func (c CreateVpcChannelV2ResponseType) MarshalJSON() ([]byte, error)

func (*CreateVpcChannelV2ResponseType) UnmarshalJSON added in v0.1.13

func (c *CreateVpcChannelV2ResponseType) UnmarshalJSON(b []byte) error

func (CreateVpcChannelV2ResponseType) Value added in v0.1.13

type CreateVpcChannelV2ResponseTypeEnum added in v0.1.13

type CreateVpcChannelV2ResponseTypeEnum struct {
	BUILTIN      CreateVpcChannelV2ResponseType
	MICROSERVICE CreateVpcChannelV2ResponseType
}

func GetCreateVpcChannelV2ResponseTypeEnum added in v0.1.13

func GetCreateVpcChannelV2ResponseTypeEnum() CreateVpcChannelV2ResponseTypeEnum

type CreatedUser

type CreatedUser struct {

	// 用户ID
	UserId *string `json:"user_id,omitempty"`

	// 用户名
	UserName *string `json:"user_name,omitempty"`
}

CreatedUser 创建时的用户

func (CreatedUser) String

func (o CreatedUser) String() string

type DataSourceRsp

type DataSourceRsp struct {

	// 数据源ID
	DatasourceId *string `json:"datasource_id,omitempty"`

	// 数据源名称
	DatasourceName *string `json:"datasource_name,omitempty"`

	// 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS
	DatasourceType *DataSourceRspDatasourceType `json:"datasource_type,omitempty"`

	// 数据源所属虚拟私有云VpcId
	VpcId *string `json:"vpc_id,omitempty"`

	// 数据源所属应用ID
	AppId *string `json:"app_id,omitempty"`

	// 数据源所属应用名称
	AppName *string `json:"app_name,omitempty"`

	// 数据源所属实例Id
	InstanceId *string `json:"instance_id,omitempty"`

	// 数据源创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 数据源修改时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 数据源所属连接器Id
	CustomPluginId *string `json:"custom_plugin_id,omitempty"`

	Content *Content `json:"content,omitempty"`

	// 数据源描述
	Description *string `json:"description,omitempty"`

	// 集成应用权限信息 - read (读权限) - access (调用权限) - delete (删除权限) - modify (修改权限)
	AppPermission *[]DataSourceRspAppPermission `json:"app_permission,omitempty"`
}

DataSourceRsp 数据源

func (DataSourceRsp) String

func (o DataSourceRsp) String() string

type DataSourceRspAppPermission

type DataSourceRspAppPermission struct {
	// contains filtered or unexported fields
}

func (DataSourceRspAppPermission) MarshalJSON

func (c DataSourceRspAppPermission) MarshalJSON() ([]byte, error)

func (*DataSourceRspAppPermission) UnmarshalJSON

func (c *DataSourceRspAppPermission) UnmarshalJSON(b []byte) error

func (DataSourceRspAppPermission) Value added in v0.0.90

type DataSourceRspAppPermissionEnum

type DataSourceRspAppPermissionEnum struct {
	READ   DataSourceRspAppPermission
	ACCESS DataSourceRspAppPermission
	DELETE DataSourceRspAppPermission
	MODIFY DataSourceRspAppPermission
}

func GetDataSourceRspAppPermissionEnum

func GetDataSourceRspAppPermissionEnum() DataSourceRspAppPermissionEnum

type DataSourceRspDatasourceType

type DataSourceRspDatasourceType struct {
	// contains filtered or unexported fields
}

func (DataSourceRspDatasourceType) MarshalJSON

func (c DataSourceRspDatasourceType) MarshalJSON() ([]byte, error)

func (*DataSourceRspDatasourceType) UnmarshalJSON

func (c *DataSourceRspDatasourceType) UnmarshalJSON(b []byte) error

func (DataSourceRspDatasourceType) Value added in v0.0.90

type DatasourceInfo

type DatasourceInfo struct {

	// 数据源名称,数据源名称不能包含&、<、>、\"、'、(、) ,长度为1~255字符
	DatasourceName string `json:"datasource_name"`

	// 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS
	DatasourceType DatasourceInfoDatasourceType `json:"datasource_type"`

	// 数据源所属应用ID
	AppId string `json:"app_id"`

	Content *Content `json:"content"`

	// 数据源描述
	Description *string `json:"description,omitempty"`
}

DatasourceInfo 数据源

func (DatasourceInfo) String

func (o DatasourceInfo) String() string

type DatasourceInfoDatasourceType

type DatasourceInfoDatasourceType struct {
	// contains filtered or unexported fields
}

func (DatasourceInfoDatasourceType) MarshalJSON

func (c DatasourceInfoDatasourceType) MarshalJSON() ([]byte, error)

func (*DatasourceInfoDatasourceType) UnmarshalJSON

func (c *DatasourceInfoDatasourceType) UnmarshalJSON(b []byte) error

func (DatasourceInfoDatasourceType) Value added in v0.0.90

type DebugApiV2Request

type DebugApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	Body *ApiDebugInfo `json:"body,omitempty"`
}

DebugApiV2Request Request Object

func (DebugApiV2Request) String

func (o DebugApiV2Request) String() string

type DebugApiV2Response

type DebugApiV2Response struct {

	// 调试请求报文内容
	Request *string `json:"request,omitempty"`

	// 调试响应报文内容,响应消息体最大支持2097152字节,超过部分会被截断 > 响应消息体超过限制长度时,超过部分会被截断,并追加\"[TRUNCATED]\"信息。
	Response *string `json:"response,omitempty"`

	// 调试耗时,单位:毫秒
	Latency *int32 `json:"latency,omitempty"`

	// 调试过程日志
	Log            *string `json:"log,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DebugApiV2Response Response Object

func (DebugApiV2Response) String

func (o DebugApiV2Response) String() string

type DebugLiveDataApiV2Request

type DebugLiveDataApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 后端API的编号
	LdApiId string `json:"ld_api_id"`

	Body *LdApiTest `json:"body,omitempty"`
}

DebugLiveDataApiV2Request Request Object

func (DebugLiveDataApiV2Request) String

func (o DebugLiveDataApiV2Request) String() string

type DebugLiveDataApiV2Response

type DebugLiveDataApiV2Response struct {

	// 测试返回的状态码
	TestStatusCode *string `json:"test_status_code,omitempty"`

	// 测试的请求内容
	TestRequest *string `json:"test_request,omitempty"`

	// 测试耗时
	TestUsedTime *int32 `json:"test_used_time,omitempty"`

	// 测试者的项目编号
	TestOperator *string `json:"test_operator,omitempty"`

	// 测试的响应内容
	TestResponse *string `json:"test_response,omitempty"`

	// 测试的请求方法
	TestMethod *string `json:"test_method,omitempty"`

	// 测试编号
	TestId *int32 `json:"test_id,omitempty"`

	// 测试时间
	TestDate *sdktime.SdkTime `json:"test_date,omitempty"`

	// 后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 本次测试日志列表
	DebugLog       *[]string `json:"debug_log,omitempty"`
	HttpStatusCode int       `json:"-"`
}

DebugLiveDataApiV2Response Response Object

func (DebugLiveDataApiV2Response) String

type DebugRuleRequest

type DebugRuleRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *DebugRuleRequestBody `json:"body,omitempty"`
}

DebugRuleRequest Request Object

func (DebugRuleRequest) String

func (o DebugRuleRequest) String() string

type DebugRuleRequestBody

type DebugRuleRequestBody struct {

	// 测试的被规则执行的数据
	TestData *string `json:"test_data,omitempty"`

	// 测试的规则
	TestRuleExpress *string `json:"test_rule_express,omitempty"`
}

func (DebugRuleRequestBody) String

func (o DebugRuleRequestBody) String() string

type DebugRuleResponse

type DebugRuleResponse struct {

	// 规则测试输出结果
	TestResult     *string `json:"test_result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DebugRuleResponse Response Object

func (DebugRuleResponse) String

func (o DebugRuleResponse) String() string

type DeleteAclV2Request

type DeleteAclV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// ACL策略的编号
	AclId string `json:"acl_id"`
}

DeleteAclV2Request Request Object

func (DeleteAclV2Request) String

func (o DeleteAclV2Request) String() string

type DeleteAclV2Response

type DeleteAclV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteAclV2Response Response Object

func (DeleteAclV2Response) String

func (o DeleteAclV2Response) String() string

type DeleteApiAclBindingV2Request

type DeleteApiAclBindingV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 绑定关系编号
	AclBindingsId string `json:"acl_bindings_id"`
}

DeleteApiAclBindingV2Request Request Object

func (DeleteApiAclBindingV2Request) String

type DeleteApiAclBindingV2Response

type DeleteApiAclBindingV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteApiAclBindingV2Response Response Object

func (DeleteApiAclBindingV2Response) String

type DeleteApiByVersionIdV2Request

type DeleteApiByVersionIdV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API版本的编号
	VersionId string `json:"version_id"`
}

DeleteApiByVersionIdV2Request Request Object

func (DeleteApiByVersionIdV2Request) String

type DeleteApiByVersionIdV2Response

type DeleteApiByVersionIdV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteApiByVersionIdV2Response Response Object

func (DeleteApiByVersionIdV2Response) String

type DeleteApiGroupV2Request

type DeleteApiGroupV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`
}

DeleteApiGroupV2Request Request Object

func (DeleteApiGroupV2Request) String

func (o DeleteApiGroupV2Request) String() string

type DeleteApiGroupV2Response

type DeleteApiGroupV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteApiGroupV2Response Response Object

func (DeleteApiGroupV2Response) String

func (o DeleteApiGroupV2Response) String() string

type DeleteApiV2Request

type DeleteApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`
}

DeleteApiV2Request Request Object

func (DeleteApiV2Request) String

func (o DeleteApiV2Request) String() string

type DeleteApiV2Response

type DeleteApiV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteApiV2Response Response Object

func (DeleteApiV2Response) String

func (o DeleteApiV2Response) String() string

type DeleteAppAclRequest

type DeleteAppAclRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

DeleteAppAclRequest Request Object

func (DeleteAppAclRequest) String

func (o DeleteAppAclRequest) String() string

type DeleteAppAclResponse

type DeleteAppAclResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteAppAclResponse Response Object

func (DeleteAppAclResponse) String

func (o DeleteAppAclResponse) String() string

type DeleteAppCodeV2Request

type DeleteAppCodeV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// APP Code编号
	AppCodeId string `json:"app_code_id"`
}

DeleteAppCodeV2Request Request Object

func (DeleteAppCodeV2Request) String

func (o DeleteAppCodeV2Request) String() string

type DeleteAppCodeV2Response

type DeleteAppCodeV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteAppCodeV2Response Response Object

func (DeleteAppCodeV2Response) String

func (o DeleteAppCodeV2Response) String() string

type DeleteAppConfigV2Request

type DeleteAppConfigV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// 应用配置编号
	AppConfigId string `json:"app_config_id"`
}

DeleteAppConfigV2Request Request Object

func (DeleteAppConfigV2Request) String

func (o DeleteAppConfigV2Request) String() string

type DeleteAppConfigV2Response

type DeleteAppConfigV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteAppConfigV2Response Response Object

func (DeleteAppConfigV2Response) String

func (o DeleteAppConfigV2Response) String() string

type DeleteAppQuotaRequest

type DeleteAppQuotaRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 客户端配额编号
	AppQuotaId string `json:"app_quota_id"`
}

DeleteAppQuotaRequest Request Object

func (DeleteAppQuotaRequest) String

func (o DeleteAppQuotaRequest) String() string

type DeleteAppQuotaResponse

type DeleteAppQuotaResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteAppQuotaResponse Response Object

func (DeleteAppQuotaResponse) String

func (o DeleteAppQuotaResponse) String() string

type DeleteAssetRequest

type DeleteAssetRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *AssetOperateRequest `json:"body,omitempty"`
}

DeleteAssetRequest Request Object

func (DeleteAssetRequest) String

func (o DeleteAssetRequest) String() string

type DeleteAssetResponse

type DeleteAssetResponse struct {

	// 资产导出或删除作业的ID,可用于查询作业进。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteAssetResponse Response Object

func (DeleteAssetResponse) String

func (o DeleteAssetResponse) String() string

type DeleteBackendInstanceV2Request

type DeleteBackendInstanceV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// 后端实例对象的编号
	MemberId string `json:"member_id"`
}

DeleteBackendInstanceV2Request Request Object

func (DeleteBackendInstanceV2Request) String

type DeleteBackendInstanceV2Response

type DeleteBackendInstanceV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteBackendInstanceV2Response Response Object

func (DeleteBackendInstanceV2Response) String

type DeleteCommandRequest

type DeleteCommandRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`
}

DeleteCommandRequest Request Object

func (DeleteCommandRequest) String

func (o DeleteCommandRequest) String() string

type DeleteCommandResponse

type DeleteCommandResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteCommandResponse Response Object

func (DeleteCommandResponse) String

func (o DeleteCommandResponse) String() string

type DeleteCustomAuthorizerV2Request

type DeleteCustomAuthorizerV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 自定义认证的编号
	AuthorizerId string `json:"authorizer_id"`
}

DeleteCustomAuthorizerV2Request Request Object

func (DeleteCustomAuthorizerV2Request) String

type DeleteCustomAuthorizerV2Response

type DeleteCustomAuthorizerV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteCustomAuthorizerV2Response Response Object

func (DeleteCustomAuthorizerV2Response) String

type DeleteDatasourceInfoByIdRequest

type DeleteDatasourceInfoByIdRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 数据源ID
	DatasourceId string `json:"datasource_id"`
}

DeleteDatasourceInfoByIdRequest Request Object

func (DeleteDatasourceInfoByIdRequest) String

type DeleteDatasourceInfoByIdResponse

type DeleteDatasourceInfoByIdResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteDatasourceInfoByIdResponse Response Object

func (DeleteDatasourceInfoByIdResponse) String

type DeleteDestinationRequest

type DeleteDestinationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 规则ID
	RuleId string `json:"rule_id"`

	// 目标数据源ID
	DestinationId int32 `json:"destination_id"`
}

DeleteDestinationRequest Request Object

func (DeleteDestinationRequest) String

func (o DeleteDestinationRequest) String() string

type DeleteDestinationResponse

type DeleteDestinationResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDestinationResponse Response Object

func (DeleteDestinationResponse) String

func (o DeleteDestinationResponse) String() string

type DeleteDeviceFromGroupRequest

type DeleteDeviceFromGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`

	// 设备分组ID
	GroupId int32 `json:"group_id"`
}

DeleteDeviceFromGroupRequest Request Object

func (DeleteDeviceFromGroupRequest) String

type DeleteDeviceFromGroupResponse

type DeleteDeviceFromGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDeviceFromGroupResponse Response Object

func (DeleteDeviceFromGroupResponse) String

type DeleteDeviceGroupRequest

type DeleteDeviceGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备分组ID
	GroupId int32 `json:"group_id"`
}

DeleteDeviceGroupRequest Request Object

func (DeleteDeviceGroupRequest) String

func (o DeleteDeviceGroupRequest) String() string

type DeleteDeviceGroupResponse

type DeleteDeviceGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDeviceGroupResponse Response Object

func (DeleteDeviceGroupResponse) String

func (o DeleteDeviceGroupResponse) String() string

type DeleteDeviceRequest

type DeleteDeviceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`
}

DeleteDeviceRequest Request Object

func (DeleteDeviceRequest) String

func (o DeleteDeviceRequest) String() string

type DeleteDeviceResponse

type DeleteDeviceResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDeviceResponse Response Object

func (DeleteDeviceResponse) String

func (o DeleteDeviceResponse) String() string

type DeleteDictionaryRequest

type DeleteDictionaryRequest struct {

	// 字典ID
	DictId string `json:"dict_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`
}

DeleteDictionaryRequest Request Object

func (DeleteDictionaryRequest) String

func (o DeleteDictionaryRequest) String() string

type DeleteDictionaryResponse

type DeleteDictionaryResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDictionaryResponse Response Object

func (DeleteDictionaryResponse) String

func (o DeleteDictionaryResponse) String() string

type DeleteEnvironmentV2Request

type DeleteEnvironmentV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 环境的ID
	EnvId string `json:"env_id"`
}

DeleteEnvironmentV2Request Request Object

func (DeleteEnvironmentV2Request) String

type DeleteEnvironmentV2Response

type DeleteEnvironmentV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteEnvironmentV2Response Response Object

func (DeleteEnvironmentV2Response) String

type DeleteEnvironmentVariableV2Request

type DeleteEnvironmentVariableV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 环境变量的编号
	EnvVariableId string `json:"env_variable_id"`
}

DeleteEnvironmentVariableV2Request Request Object

func (DeleteEnvironmentVariableV2Request) String

type DeleteEnvironmentVariableV2Response

type DeleteEnvironmentVariableV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteEnvironmentVariableV2Response Response Object

func (DeleteEnvironmentVariableV2Response) String

type DeleteLiveDataApiV2Request

type DeleteLiveDataApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 后端API的编号
	LdApiId string `json:"ld_api_id"`
}

DeleteLiveDataApiV2Request Request Object

func (DeleteLiveDataApiV2Request) String

type DeleteLiveDataApiV2Response

type DeleteLiveDataApiV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteLiveDataApiV2Response Response Object

func (DeleteLiveDataApiV2Response) String

type DeleteMemberGroupRequest

type DeleteMemberGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// VPC通道后端服务器组编号
	MemberGroupId string `json:"member_group_id"`
}

DeleteMemberGroupRequest Request Object

func (DeleteMemberGroupRequest) String

func (o DeleteMemberGroupRequest) String() string

type DeleteMemberGroupResponse

type DeleteMemberGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteMemberGroupResponse Response Object

func (DeleteMemberGroupResponse) String

func (o DeleteMemberGroupResponse) String() string

type DeleteMqsInstanceTopicRequest

type DeleteMqsInstanceTopicRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 待删除的topic,多个topic以“,”分割。
	Name string `json:"name"`
}

DeleteMqsInstanceTopicRequest Request Object

func (DeleteMqsInstanceTopicRequest) String

type DeleteMqsInstanceTopicRespTopics

type DeleteMqsInstanceTopicRespTopics struct {

	// Topic名称。
	Id *string `json:"id,omitempty"`

	// 是否删除成功。
	Success *bool `json:"success,omitempty"`
}

func (DeleteMqsInstanceTopicRespTopics) String

type DeleteMqsInstanceTopicResponse

type DeleteMqsInstanceTopicResponse struct {

	// Topic列表。
	Topics         *[]DeleteMqsInstanceTopicRespTopics `json:"topics,omitempty"`
	HttpStatusCode int                                 `json:"-"`
}

DeleteMqsInstanceTopicResponse Response Object

func (DeleteMqsInstanceTopicResponse) String

type DeleteMultiTaskMappingRequest

type DeleteMultiTaskMappingRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`

	// 组合任务映射唯一标识
	MappingId string `json:"mapping_id"`
}

DeleteMultiTaskMappingRequest Request Object

func (DeleteMultiTaskMappingRequest) String

type DeleteMultiTaskMappingResponse

type DeleteMultiTaskMappingResponse struct {

	// 映射唯一ID
	MappingId      *string `json:"mapping_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteMultiTaskMappingResponse Response Object

func (DeleteMultiTaskMappingResponse) String

type DeleteNotificationRequest

type DeleteNotificationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 订阅管理ID
	NotificationId int64 `json:"notification_id"`
}

DeleteNotificationRequest Request Object

func (DeleteNotificationRequest) String

func (o DeleteNotificationRequest) String() string

type DeleteNotificationResponse

type DeleteNotificationResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteNotificationResponse Response Object

func (DeleteNotificationResponse) String

type DeleteProductRequest

type DeleteProductRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`
}

DeleteProductRequest Request Object

func (DeleteProductRequest) String

func (o DeleteProductRequest) String() string

type DeleteProductResponse

type DeleteProductResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteProductResponse Response Object

func (DeleteProductResponse) String

func (o DeleteProductResponse) String() string

type DeleteProductTemplateRequest

type DeleteProductTemplateRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品模板ID
	ProductTemplateId int32 `json:"product_template_id"`
}

DeleteProductTemplateRequest Request Object

func (DeleteProductTemplateRequest) String

type DeleteProductTemplateResponse

type DeleteProductTemplateResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteProductTemplateResponse Response Object

func (DeleteProductTemplateResponse) String

type DeleteProductTopicRequest

type DeleteProductTopicRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`

	// 产品主题ID
	TopicId int32 `json:"topic_id"`
}

DeleteProductTopicRequest Request Object

func (DeleteProductTopicRequest) String

func (o DeleteProductTopicRequest) String() string

type DeleteProductTopicResponse

type DeleteProductTopicResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteProductTopicResponse Response Object

func (DeleteProductTopicResponse) String

type DeletePropertyRequest

type DeletePropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 属性/请求属性/响应属性ID
	PropertyId int32 `json:"property_id"`
}

DeletePropertyRequest Request Object

func (DeletePropertyRequest) String

func (o DeletePropertyRequest) String() string

type DeletePropertyResponse

type DeletePropertyResponse struct {
	HttpStatusCode int `json:"-"`
}

DeletePropertyResponse Response Object

func (DeletePropertyResponse) String

func (o DeletePropertyResponse) String() string

type DeleteRequestPropertyRequest

type DeleteRequestPropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

	// 属性/请求属性/响应属性ID
	PropertyId int32 `json:"property_id"`
}

DeleteRequestPropertyRequest Request Object

func (DeleteRequestPropertyRequest) String

type DeleteRequestPropertyResponse

type DeleteRequestPropertyResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteRequestPropertyResponse Response Object

func (DeleteRequestPropertyResponse) String

type DeleteRequestThrottlingPolicyV2Request

type DeleteRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`
}

DeleteRequestThrottlingPolicyV2Request Request Object

func (DeleteRequestThrottlingPolicyV2Request) String

type DeleteRequestThrottlingPolicyV2Response

type DeleteRequestThrottlingPolicyV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteRequestThrottlingPolicyV2Response Response Object

func (DeleteRequestThrottlingPolicyV2Response) String

type DeleteResponsePropertyRequest

type DeleteResponsePropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

	// 属性/请求属性/响应属性ID
	PropertyId int32 `json:"property_id"`
}

DeleteResponsePropertyRequest Request Object

func (DeleteResponsePropertyRequest) String

type DeleteResponsePropertyResponse

type DeleteResponsePropertyResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteResponsePropertyResponse Response Object

func (DeleteResponsePropertyResponse) String

type DeleteRomaAppRequest

type DeleteRomaAppRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`
}

DeleteRomaAppRequest Request Object

func (DeleteRomaAppRequest) String

func (o DeleteRomaAppRequest) String() string

type DeleteRomaAppResponse

type DeleteRomaAppResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteRomaAppResponse Response Object

func (DeleteRomaAppResponse) String

func (o DeleteRomaAppResponse) String() string

type DeleteRuleRequest

type DeleteRuleRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 规则ID
	RuleId string `json:"rule_id"`
}

DeleteRuleRequest Request Object

func (DeleteRuleRequest) String

func (o DeleteRuleRequest) String() string

type DeleteRuleResponse

type DeleteRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteRuleResponse Response Object

func (DeleteRuleResponse) String

func (o DeleteRuleResponse) String() string

type DeleteServiceRequest

type DeleteServiceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`
}

DeleteServiceRequest Request Object

func (DeleteServiceRequest) String

func (o DeleteServiceRequest) String() string

type DeleteServiceResponse

type DeleteServiceResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteServiceResponse Response Object

func (DeleteServiceResponse) String

func (o DeleteServiceResponse) String() string

type DeleteSignatureKeyV2Request

type DeleteSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 签名密钥编号
	SignId string `json:"sign_id"`
}

DeleteSignatureKeyV2Request Request Object

func (DeleteSignatureKeyV2Request) String

type DeleteSignatureKeyV2Response

type DeleteSignatureKeyV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteSignatureKeyV2Response Response Object

func (DeleteSignatureKeyV2Response) String

type DeleteSourceRequest

type DeleteSourceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 规则ID
	RuleId string `json:"rule_id"`

	// 源数据源ID
	SourceId int32 `json:"source_id"`
}

DeleteSourceRequest Request Object

func (DeleteSourceRequest) String

func (o DeleteSourceRequest) String() string

type DeleteSourceResponse

type DeleteSourceResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSourceResponse Response Object

func (DeleteSourceResponse) String

func (o DeleteSourceResponse) String() string

type DeleteSpecialThrottlingConfigurationV2Request

type DeleteSpecialThrottlingConfigurationV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	// 特殊配置的编号
	StrategyId string `json:"strategy_id"`
}

DeleteSpecialThrottlingConfigurationV2Request Request Object

func (DeleteSpecialThrottlingConfigurationV2Request) String

type DeleteSpecialThrottlingConfigurationV2Response

type DeleteSpecialThrottlingConfigurationV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteSpecialThrottlingConfigurationV2Response Response Object

func (DeleteSpecialThrottlingConfigurationV2Response) String

type DeleteTaskRequest

type DeleteTaskRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`
}

DeleteTaskRequest Request Object

func (DeleteTaskRequest) String

func (o DeleteTaskRequest) String() string

type DeleteTaskResponse

type DeleteTaskResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteTaskResponse Response Object

func (DeleteTaskResponse) String

func (o DeleteTaskResponse) String() string

type DeleteVpcChannelV2Request

type DeleteVpcChannelV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`
}

DeleteVpcChannelV2Request Request Object

func (DeleteVpcChannelV2Request) String

func (o DeleteVpcChannelV2Request) String() string

type DeleteVpcChannelV2Response

type DeleteVpcChannelV2Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteVpcChannelV2Response Response Object

func (DeleteVpcChannelV2Response) String

type Destination

type Destination struct {

	// 目标数据源ID
	DestinationId *int32 `json:"destination_id,omitempty"`

	// 操作类型,枚举值:0-目标端为本ROMA实例内MQS; 7-目标端为设备
	DestinationType *DestinationDestinationType `json:"destination_type,omitempty"`

	// 应用ID,目标端为0时需明确对方的APP_ID
	AppId *string `json:"app_id,omitempty"`

	// 目标数据源名称
	DestinationName *string `json:"destination_name,omitempty"`

	// 目标数据源主题
	Topic *string `json:"topic,omitempty"`

	// 目标端数据源服务
	Server *string `json:"server,omitempty"`

	// 目标端数据源token
	Token *string `json:"token,omitempty"`

	// 目标数据源标签
	Tag *string `json:"tag,omitempty"`

	// 目标端数据源MQS的SASL字段是否需要支持SSL加密
	MqsSaslSsl *bool `json:"mqs_sasl_ssl,omitempty"`

	// 目标数据源用户名
	UserName *string `json:"user_name,omitempty"`

	// 目标数据源密码
	Password *string `json:"password,omitempty"`
}

func (Destination) String

func (o Destination) String() string

type DestinationDestinationType added in v0.0.78

type DestinationDestinationType struct {
	// contains filtered or unexported fields
}

func (DestinationDestinationType) MarshalJSON added in v0.0.78

func (c DestinationDestinationType) MarshalJSON() ([]byte, error)

func (*DestinationDestinationType) UnmarshalJSON added in v0.0.78

func (c *DestinationDestinationType) UnmarshalJSON(b []byte) error

func (DestinationDestinationType) Value added in v0.0.90

type DestinationDestinationTypeEnum added in v0.0.78

type DestinationDestinationTypeEnum struct {
	E_0 DestinationDestinationType
	E_7 DestinationDestinationType
}

func GetDestinationDestinationTypeEnum added in v0.0.78

func GetDestinationDestinationTypeEnum() DestinationDestinationTypeEnum

type Device

type Device struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 设备ID
	Id *int32 `json:"id,omitempty"`

	// 设备ID(兼容20.0)
	DeviceId *int32 `json:"device_id,omitempty"`

	// 父设备ID
	ParentDeviceId *int32 `json:"parent_device_id,omitempty"`

	// 父设备名称
	ParentDeviceName *string `json:"parent_device_name,omitempty"`

	Product *ProductReferer `json:"product,omitempty"`

	// 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64
	DeviceName *string `json:"device_name,omitempty"`

	// 实例id
	InstanceId *string `json:"instance_id,omitempty"`

	// 设备客户端ID,平台生成的设备唯一标识
	ClientId *string `json:"client_id,omitempty"`

	// 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64
	NodeId *string `json:"node_id,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 设备状态 0-启用 1-禁用
	Status *DeviceStatus `json:"status,omitempty"`

	// 是否在线 0-未连接 1-在线 2-离线
	OnlineStatus *DeviceOnlineStatus `json:"online_status,omitempty"`

	// 备注
	Description *string `json:"description,omitempty"`

	Authentication *Authentication `json:"authentication,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 标签
	Tags *[]string `json:"tags,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`

	// 设备接入地址
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 设备接入SSL地址
	SslConnectAddress *string `json:"ssl_connect_address,omitempty"`

	// 设备接入IPV6地址
	Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"`

	// 设备接入IPV6 SSL地址
	Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"`

	// 最后登录时间
	LastLoginDatetime *int64 `json:"last_login_datetime,omitempty"`

	// 节点类型 0-直连 1-网关 2-子设备
	NodeType *int32 `json:"node_type,omitempty"`

	// 设备类型<br>0-普通设备(无子设备也无父设备)<br>1-网关设备(可挂载子设备)<br>2-子设备(归属于某个网关设备)
	DeviceType *DeviceDeviceType `json:"device_type,omitempty"`

	// 客户端ip
	ClientIp *string `json:"client_ip,omitempty"`

	// 心跳时间
	KeepAlive *string `json:"keep_alive,omitempty"`

	// 最后登录时间
	LastActiveTime *int64 `json:"last_active_time,omitempty"`

	// 设备版本
	Version *string `json:"version,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`
}

func (Device) String

func (o Device) String() string

type DeviceDeviceType added in v0.0.78

type DeviceDeviceType struct {
	// contains filtered or unexported fields
}

func (DeviceDeviceType) MarshalJSON added in v0.0.78

func (c DeviceDeviceType) MarshalJSON() ([]byte, error)

func (*DeviceDeviceType) UnmarshalJSON added in v0.0.78

func (c *DeviceDeviceType) UnmarshalJSON(b []byte) error

func (DeviceDeviceType) Value added in v0.0.90

func (c DeviceDeviceType) Value() int32

type DeviceDeviceTypeEnum added in v0.0.78

type DeviceDeviceTypeEnum struct {
	E_0 DeviceDeviceType
	E_1 DeviceDeviceType
	E_2 DeviceDeviceType
}

func GetDeviceDeviceTypeEnum added in v0.0.78

func GetDeviceDeviceTypeEnum() DeviceDeviceTypeEnum

type DeviceInfoSimple

type DeviceInfoSimple struct {

	// 设备ID
	Id *int32 `json:"id,omitempty"`

	// 设备名称
	DeviceName *string `json:"device_name,omitempty"`

	// 设备ID(兼容20.0)
	DeviceId *int64 `json:"device_id,omitempty"`
}

func (DeviceInfoSimple) String

func (o DeviceInfoSimple) String() string

type DeviceOnlineStatus added in v0.0.78

type DeviceOnlineStatus struct {
	// contains filtered or unexported fields
}

func (DeviceOnlineStatus) MarshalJSON added in v0.0.78

func (c DeviceOnlineStatus) MarshalJSON() ([]byte, error)

func (*DeviceOnlineStatus) UnmarshalJSON added in v0.0.78

func (c *DeviceOnlineStatus) UnmarshalJSON(b []byte) error

func (DeviceOnlineStatus) Value added in v0.0.90

func (c DeviceOnlineStatus) Value() int32

type DeviceOnlineStatusEnum added in v0.0.78

type DeviceOnlineStatusEnum struct {
	E_0 DeviceOnlineStatus
	E_1 DeviceOnlineStatus
	E_2 DeviceOnlineStatus
}

func GetDeviceOnlineStatusEnum added in v0.0.78

func GetDeviceOnlineStatusEnum() DeviceOnlineStatusEnum

type DeviceStatus added in v0.0.78

type DeviceStatus struct {
	// contains filtered or unexported fields
}

func (DeviceStatus) MarshalJSON added in v0.0.78

func (c DeviceStatus) MarshalJSON() ([]byte, error)

func (*DeviceStatus) UnmarshalJSON added in v0.0.78

func (c *DeviceStatus) UnmarshalJSON(b []byte) error

func (DeviceStatus) Value added in v0.0.90

func (c DeviceStatus) Value() int32

type DeviceStatusEnum added in v0.0.78

type DeviceStatusEnum struct {
	E_0 DeviceStatus
	E_1 DeviceStatus
}

func GetDeviceStatusEnum added in v0.0.78

func GetDeviceStatusEnum() DeviceStatusEnum

type DevicesCalculation

type DevicesCalculation struct {
	NormalDevices *Calculation `json:"normal_devices,omitempty"`

	GatewayDevices *Calculation `json:"gateway_devices,omitempty"`

	SubsetsDevices *Calculation `json:"subsets_devices,omitempty"`
}

func (DevicesCalculation) String

func (o DevicesCalculation) String() string

type DevicesInGroup

type DevicesInGroup struct {

	// 设备ID
	DeviceId *int32 `json:"device_id,omitempty"`

	// 设备名称
	DeviceName *string `json:"device_name,omitempty"`

	// 产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 产品名称
	ProductName *string `json:"product_name,omitempty"`

	// 设备状态 0-启用 1-禁用
	Status *DevicesInGroupStatus `json:"status,omitempty"`

	// 是否在线 0-未连接 1-在线 2-离线
	OnlineStatus *DevicesInGroupOnlineStatus `json:"online_status,omitempty"`
}

func (DevicesInGroup) String

func (o DevicesInGroup) String() string

type DevicesInGroupOnlineStatus added in v0.0.78

type DevicesInGroupOnlineStatus struct {
	// contains filtered or unexported fields
}

func (DevicesInGroupOnlineStatus) MarshalJSON added in v0.0.78

func (c DevicesInGroupOnlineStatus) MarshalJSON() ([]byte, error)

func (*DevicesInGroupOnlineStatus) UnmarshalJSON added in v0.0.78

func (c *DevicesInGroupOnlineStatus) UnmarshalJSON(b []byte) error

func (DevicesInGroupOnlineStatus) Value added in v0.0.90

type DevicesInGroupOnlineStatusEnum added in v0.0.78

type DevicesInGroupOnlineStatusEnum struct {
	E_0 DevicesInGroupOnlineStatus
	E_1 DevicesInGroupOnlineStatus
	E_2 DevicesInGroupOnlineStatus
}

func GetDevicesInGroupOnlineStatusEnum added in v0.0.78

func GetDevicesInGroupOnlineStatusEnum() DevicesInGroupOnlineStatusEnum

type DevicesInGroupStatus added in v0.0.78

type DevicesInGroupStatus struct {
	// contains filtered or unexported fields
}

func (DevicesInGroupStatus) MarshalJSON added in v0.0.78

func (c DevicesInGroupStatus) MarshalJSON() ([]byte, error)

func (*DevicesInGroupStatus) UnmarshalJSON added in v0.0.78

func (c *DevicesInGroupStatus) UnmarshalJSON(b []byte) error

func (DevicesInGroupStatus) Value added in v0.0.90

func (c DevicesInGroupStatus) Value() int32

type DevicesInGroupStatusEnum added in v0.0.78

type DevicesInGroupStatusEnum struct {
	E_0 DevicesInGroupStatus
	E_1 DevicesInGroupStatus
}

func GetDevicesInGroupStatusEnum added in v0.0.78

func GetDevicesInGroupStatusEnum() DevicesInGroupStatusEnum

type Dictionary

type Dictionary struct {

	// 字典ID
	Id *string `json:"id,omitempty"`

	// 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 字典描述
	Remark *string `json:"remark,omitempty"`

	// 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一
	Code *string `json:"code,omitempty"`

	// 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendOne *string `json:"extend_one,omitempty"`

	// 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendTwo *string `json:"extend_two,omitempty"`

	// 父字典编码,为空时代表自身就是最顶级字典
	ParentCode *string `json:"parent_code,omitempty"`

	Type *DictionaryType `json:"type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`
}

func (Dictionary) String

func (o Dictionary) String() string

type DictionaryCode

type DictionaryCode struct {
}

DictionaryCode 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一

func (DictionaryCode) String

func (o DictionaryCode) String() string

type DictionaryExtendOne

type DictionaryExtendOne struct {
}

DictionaryExtendOne 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格

func (DictionaryExtendOne) String

func (o DictionaryExtendOne) String() string

type DictionaryExtendTwo

type DictionaryExtendTwo struct {
}

DictionaryExtendTwo 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格

func (DictionaryExtendTwo) String

func (o DictionaryExtendTwo) String() string

type DictionaryName

type DictionaryName struct {
}

DictionaryName 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一

func (DictionaryName) String

func (o DictionaryName) String() string

type DictionaryOrder

type DictionaryOrder struct {
}

DictionaryOrder 字典排序,值越小顺序越靠前

func (DictionaryOrder) String

func (o DictionaryOrder) String() string

type DictionaryParent

type DictionaryParent struct {
}

DictionaryParent 父字典编码,为空时代表自身就是最顶级字典

func (DictionaryParent) String

func (o DictionaryParent) String() string

type DictionaryRemark

type DictionaryRemark struct {
}

DictionaryRemark 字典描述

func (DictionaryRemark) String

func (o DictionaryRemark) String() string

type DictionaryType

type DictionaryType struct {
	// contains filtered or unexported fields
}

DictionaryType 字典类型 - system: 代表系统内置字典,用户可编辑但不可删除 - user: 代表用户创建字典

func (DictionaryType) MarshalJSON

func (c DictionaryType) MarshalJSON() ([]byte, error)

func (*DictionaryType) UnmarshalJSON

func (c *DictionaryType) UnmarshalJSON(b []byte) error

func (DictionaryType) Value added in v0.0.90

func (c DictionaryType) Value() string

type DictionaryTypeEnum

type DictionaryTypeEnum struct {
	SYSTEM DictionaryType
	USER   DictionaryType
}

func GetDictionaryTypeEnum

func GetDictionaryTypeEnum() DictionaryTypeEnum

type DisassociateAppQuotaWithAppRequest

type DisassociateAppQuotaWithAppRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 客户端配额编号
	AppQuotaId string `json:"app_quota_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

DisassociateAppQuotaWithAppRequest Request Object

func (DisassociateAppQuotaWithAppRequest) String

type DisassociateAppQuotaWithAppResponse

type DisassociateAppQuotaWithAppResponse struct {
	HttpStatusCode int `json:"-"`
}

DisassociateAppQuotaWithAppResponse Response Object

func (DisassociateAppQuotaWithAppResponse) String

type DisassociateCertificateV2Request

type DisassociateCertificateV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

DisassociateCertificateV2Request Request Object

func (DisassociateCertificateV2Request) String

type DisassociateCertificateV2Response

type DisassociateCertificateV2Response struct {
	HttpStatusCode int `json:"-"`
}

DisassociateCertificateV2Response Response Object

func (DisassociateCertificateV2Response) String

type DisassociateDomainV2Request

type DisassociateDomainV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`
}

DisassociateDomainV2Request Request Object

func (DisassociateDomainV2Request) String

type DisassociateDomainV2Response

type DisassociateDomainV2Response struct {
	HttpStatusCode int `json:"-"`
}

DisassociateDomainV2Response Response Object

func (DisassociateDomainV2Response) String

type DisassociateRequestThrottlingPolicyV2Request

type DisassociateRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API和流控策略绑定关系的编号
	ThrottleBindingId string `json:"throttle_binding_id"`
}

DisassociateRequestThrottlingPolicyV2Request Request Object

func (DisassociateRequestThrottlingPolicyV2Request) String

type DisassociateRequestThrottlingPolicyV2Response

type DisassociateRequestThrottlingPolicyV2Response struct {
	HttpStatusCode int `json:"-"`
}

DisassociateRequestThrottlingPolicyV2Response Response Object

func (DisassociateRequestThrottlingPolicyV2Response) String

type DisassociateSignatureKeyV2Request

type DisassociateSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API与签名密钥的绑定关系编号
	SignBindingsId string `json:"sign_bindings_id"`
}

DisassociateSignatureKeyV2Request Request Object

func (DisassociateSignatureKeyV2Request) String

type DisassociateSignatureKeyV2Response

type DisassociateSignatureKeyV2Response struct {
	HttpStatusCode int `json:"-"`
}

DisassociateSignatureKeyV2Response Response Object

func (DisassociateSignatureKeyV2Response) String

type DownloadAssetArchiveRequest

type DownloadAssetArchiveRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 作业执行成功后,查询作业进度返回的entities.archive_id字段
	ArchiveId string `json:"archive_id"`
}

DownloadAssetArchiveRequest Request Object

func (DownloadAssetArchiveRequest) String

type DownloadAssetArchiveResponse

type DownloadAssetArchiveResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

DownloadAssetArchiveResponse Response Object

func (DownloadAssetArchiveResponse) Consume added in v0.0.75

func (o DownloadAssetArchiveResponse) Consume(writer io.Writer) (int64, error)

func (DownloadAssetArchiveResponse) String

type DownloadProductsRequest

type DownloadProductsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 待导出产品ID列表
	ProductIds *[]int32 `json:"product_ids,omitempty"`
}

DownloadProductsRequest Request Object

func (DownloadProductsRequest) String

func (o DownloadProductsRequest) String() string

type DownloadProductsResponse

type DownloadProductsResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

DownloadProductsResponse Response Object

func (DownloadProductsResponse) Consume

func (o DownloadProductsResponse) Consume(writer io.Writer) (int64, error)

func (DownloadProductsResponse) String

func (o DownloadProductsResponse) String() string

type DuplicateApiInfo

type DuplicateApiInfo struct {

	// API ID
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 分组名称
	GroupName *string `json:"group_name,omitempty"`

	// 分组ID
	GroupId *string `json:"group_id,omitempty"`

	// API描述
	Remark *string `json:"remark,omitempty"`

	// api类型: - self-owned:自有API - authorized:授权API
	ApiType *DuplicateApiInfoApiType `json:"api_type,omitempty"`
}

func (DuplicateApiInfo) String

func (o DuplicateApiInfo) String() string

type DuplicateApiInfoApiType

type DuplicateApiInfoApiType struct {
	// contains filtered or unexported fields
}

func (DuplicateApiInfoApiType) MarshalJSON

func (c DuplicateApiInfoApiType) MarshalJSON() ([]byte, error)

func (*DuplicateApiInfoApiType) UnmarshalJSON

func (c *DuplicateApiInfoApiType) UnmarshalJSON(b []byte) error

func (DuplicateApiInfoApiType) Value added in v0.0.90

func (c DuplicateApiInfoApiType) Value() string

type DuplicateApiInfoApiTypeEnum

type DuplicateApiInfoApiTypeEnum struct {
	SELF_OWNED DuplicateApiInfoApiType
	AUTHORIZED DuplicateApiInfoApiType
}

func GetDuplicateApiInfoApiTypeEnum

func GetDuplicateApiInfoApiTypeEnum() DuplicateApiInfoApiTypeEnum

type EnvCreate

type EnvCreate struct {

	// 环境的名称,支持英文,数字,下划线,且只能以英文字母开头。
	Name string `json:"name"`

	// 描述信息 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (EnvCreate) String

func (o EnvCreate) String() string

type EnvInfo

type EnvInfo struct {

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 环境名称
	Name *string `json:"name,omitempty"`

	// 描述信息
	Remark *string `json:"remark,omitempty"`

	// 环境编号
	Id *string `json:"id,omitempty"`
}

func (EnvInfo) String

func (o EnvInfo) String() string

type EnvVariableBase

type EnvVariableBase struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`
}

func (EnvVariableBase) String

func (o EnvVariableBase) String() string

type EnvVariableCreate

type EnvVariableCreate struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。
	VariableName *string `json:"variable_name,omitempty"`
}

func (EnvVariableCreate) String

func (o EnvVariableCreate) String() string

type EnvVariableInfo

type EnvVariableInfo struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。
	VariableName *string `json:"variable_name,omitempty"`

	// 环境变量编号
	Id *string `json:"id,omitempty"`
}

func (EnvVariableInfo) String

func (o EnvVariableInfo) String() string

type ExportApiDefinitionsV2Request

type ExportApiDefinitionsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *ExportOpenApiReq `json:"body,omitempty"`
}

ExportApiDefinitionsV2Request Request Object

func (ExportApiDefinitionsV2Request) String

type ExportApiDefinitionsV2Response

type ExportApiDefinitionsV2Response struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

ExportApiDefinitionsV2Response Response Object

func (ExportApiDefinitionsV2Response) Consume

func (o ExportApiDefinitionsV2Response) Consume(writer io.Writer) (int64, error)

func (ExportApiDefinitionsV2Response) String

type ExportAssetRequest

type ExportAssetRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *AssetExportRequest `json:"body,omitempty"`
}

ExportAssetRequest Request Object

func (ExportAssetRequest) String

func (o ExportAssetRequest) String() string

type ExportAssetResponse

type ExportAssetResponse struct {

	// 资产导出作业的ID,可用于查询作业进度,获取导出作业进度
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ExportAssetResponse Response Object

func (ExportAssetResponse) String

func (o ExportAssetResponse) String() string

type ExportLiveDataApiDefinitionsV2Request

type ExportLiveDataApiDefinitionsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *LiveDataExportReq `json:"body,omitempty"`
}

ExportLiveDataApiDefinitionsV2Request Request Object

func (ExportLiveDataApiDefinitionsV2Request) String

type ExportLiveDataApiDefinitionsV2Response

type ExportLiveDataApiDefinitionsV2Response struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

ExportLiveDataApiDefinitionsV2Response Response Object

func (ExportLiveDataApiDefinitionsV2Response) Consume

func (ExportLiveDataApiDefinitionsV2Response) String

type ExportMqsInstanceTopicRequest

type ExportMqsInstanceTopicRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 待导出的topic。多个topic以“,”分隔。默认导出所有的topic。
	Name *string `json:"name,omitempty"`
}

ExportMqsInstanceTopicRequest Request Object

func (ExportMqsInstanceTopicRequest) String

type ExportMqsInstanceTopicResponse

type ExportMqsInstanceTopicResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

ExportMqsInstanceTopicResponse Response Object

func (ExportMqsInstanceTopicResponse) Consume

func (o ExportMqsInstanceTopicResponse) Consume(writer io.Writer) (int64, error)

func (ExportMqsInstanceTopicResponse) String

type ExportOpenApiReq

type ExportOpenApiReq struct {

	// API分组发布的环境ID
	EnvId *string `json:"env_id,omitempty"`

	// API分组ID
	GroupId string `json:"group_id"`

	// 导出API的定义范围: - spec:基础定义,只包括api前端定义 - proxy:全量定义,包括api前后端定义 - all:扩展定义,包括api前后端定义以及流控、访问控制、自定义认证等扩展定义 - dev:开发定义,包括未发布的api的前后端定义
	Define *ExportOpenApiReqDefine `json:"define,omitempty"`

	// 导出的API定义的格式
	Type *ExportOpenApiReqType `json:"type,omitempty"`

	// 导出的API定义版本,默认为当前时间
	Version *string `json:"version,omitempty"`

	// 导出的API ID列表
	Apis *[]string `json:"apis,omitempty"`
}

func (ExportOpenApiReq) String

func (o ExportOpenApiReq) String() string

type ExportOpenApiReqDefine

type ExportOpenApiReqDefine struct {
	// contains filtered or unexported fields
}

func (ExportOpenApiReqDefine) MarshalJSON

func (c ExportOpenApiReqDefine) MarshalJSON() ([]byte, error)

func (*ExportOpenApiReqDefine) UnmarshalJSON

func (c *ExportOpenApiReqDefine) UnmarshalJSON(b []byte) error

func (ExportOpenApiReqDefine) Value added in v0.0.90

func (c ExportOpenApiReqDefine) Value() string

type ExportOpenApiReqDefineEnum

type ExportOpenApiReqDefineEnum struct {
	SPEC  ExportOpenApiReqDefine
	PROXY ExportOpenApiReqDefine
	ALL   ExportOpenApiReqDefine
	DEV   ExportOpenApiReqDefine
}

func GetExportOpenApiReqDefineEnum

func GetExportOpenApiReqDefineEnum() ExportOpenApiReqDefineEnum

type ExportOpenApiReqType

type ExportOpenApiReqType struct {
	// contains filtered or unexported fields
}

func (ExportOpenApiReqType) MarshalJSON

func (c ExportOpenApiReqType) MarshalJSON() ([]byte, error)

func (*ExportOpenApiReqType) UnmarshalJSON

func (c *ExportOpenApiReqType) UnmarshalJSON(b []byte) error

func (ExportOpenApiReqType) Value added in v0.0.90

func (c ExportOpenApiReqType) Value() string

type ExportOpenApiReqTypeEnum

type ExportOpenApiReqTypeEnum struct {
	JSON ExportOpenApiReqType
	YAML ExportOpenApiReqType
	YML  ExportOpenApiReqType
}

func GetExportOpenApiReqTypeEnum

func GetExportOpenApiReqTypeEnum() ExportOpenApiReqTypeEnum

type Failure

type Failure struct {

	// API请求路径
	Path *string `json:"path,omitempty"`

	// 导入失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`

	// API请求方法
	Method *string `json:"method,omitempty"`

	// 导入失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`
}

func (Failure) String

func (o Failure) String() string

type FeatureInfoV2

type FeatureInfoV2 struct {

	// 特性编号
	Id *string `json:"id,omitempty"`

	// 特性名称
	Name *FeatureInfoV2Name `json:"name,omitempty"`

	// 是否开启特性
	Enable *bool `json:"enable,omitempty"`

	// 特性参数配置
	Config *string `json:"config,omitempty"`

	// 实例编号
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例特性更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

func (FeatureInfoV2) String

func (o FeatureInfoV2) String() string

type FeatureInfoV2Name

type FeatureInfoV2Name struct {
	// contains filtered or unexported fields
}

func (FeatureInfoV2Name) MarshalJSON

func (c FeatureInfoV2Name) MarshalJSON() ([]byte, error)

func (*FeatureInfoV2Name) UnmarshalJSON

func (c *FeatureInfoV2Name) UnmarshalJSON(b []byte) error

func (FeatureInfoV2Name) Value added in v0.0.90

func (c FeatureInfoV2Name) Value() string

type FeatureInfoV2NameEnum

type FeatureInfoV2NameEnum struct {
	LTS                         FeatureInfoV2Name
	GATEWAY_RESPONSES           FeatureInfoV2Name
	RATELIMIT                   FeatureInfoV2Name
	REQUEST_BODY_SIZE           FeatureInfoV2Name
	BACKEND_TIMEOUT             FeatureInfoV2Name
	APP_TOKEN                   FeatureInfoV2Name
	APP_API_KEY                 FeatureInfoV2Name
	APP_BASIC                   FeatureInfoV2Name
	APP_SECRET                  FeatureInfoV2Name
	APP_JWT                     FeatureInfoV2Name
	PUBLIC_KEY                  FeatureInfoV2Name
	BACKEND_TOKEN_ALLOW         FeatureInfoV2Name
	SIGN_BASIC                  FeatureInfoV2Name
	MULTI_AUTH                  FeatureInfoV2Name
	BACKEND_CLIENT_CERTIFICATE  FeatureInfoV2Name
	SSL_CIPHERS                 FeatureInfoV2Name
	APP_CONFIG                  FeatureInfoV2Name
	GREEN_TUNNEL                FeatureInfoV2Name
	APP_ROUTE                   FeatureInfoV2Name
	DEFAULT_GROUP_HIDE          FeatureInfoV2Name
	CASCADE                     FeatureInfoV2Name
	SANDBOX                     FeatureInfoV2Name
	LIVEDATA_CONFIG             FeatureInfoV2Name
	APICLIENT_FIRST_USE_X_HW_ID FeatureInfoV2Name
	CORS                        FeatureInfoV2Name
	API_TASK                    FeatureInfoV2Name
	APP_QUOTA                   FeatureInfoV2Name
	APP_ACL                     FeatureInfoV2Name
	VPC_BACKUP                  FeatureInfoV2Name
	THROTTLE_STRATEGY           FeatureInfoV2Name
}

func GetFeatureInfoV2NameEnum

func GetFeatureInfoV2NameEnum() FeatureInfoV2NameEnum

type FeatureToggleV2

type FeatureToggleV2 struct {

	// 特性名称
	Name string `json:"name"`

	// 是否开启特性
	Enable bool `json:"enable"`

	// 特性参数配置
	Config *string `json:"config,omitempty"`
}

func (FeatureToggleV2) String

func (o FeatureToggleV2) String() string

type FunctionApiBaseInfo

type FunctionApiBaseInfo struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 描述信息。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType FunctionApiBaseInfoInvocationType `json:"invocation_type"`

	// 版本。
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

FunctionApiBaseInfo 函数后端详情

func (FunctionApiBaseInfo) String

func (o FunctionApiBaseInfo) String() string

type FunctionApiBaseInfoInvocationType

type FunctionApiBaseInfoInvocationType struct {
	// contains filtered or unexported fields
}

func (FunctionApiBaseInfoInvocationType) MarshalJSON

func (c FunctionApiBaseInfoInvocationType) MarshalJSON() ([]byte, error)

func (*FunctionApiBaseInfoInvocationType) UnmarshalJSON

func (c *FunctionApiBaseInfoInvocationType) UnmarshalJSON(b []byte) error

func (FunctionApiBaseInfoInvocationType) Value added in v0.0.90

type FunctionApiBaseInfoInvocationTypeEnum

type FunctionApiBaseInfoInvocationTypeEnum struct {
	ASYNC FunctionApiBaseInfoInvocationType
	SYNC  FunctionApiBaseInfoInvocationType
}

func GetFunctionApiBaseInfoInvocationTypeEnum

func GetFunctionApiBaseInfoInvocationTypeEnum() FunctionApiBaseInfoInvocationTypeEnum

type GroupTreeResponse

type GroupTreeResponse struct {

	// 分组id
	Id *int32 `json:"id,omitempty"`

	// 分组名称
	Name *string `json:"name,omitempty"`

	// 父分组id
	ParentId *int32 `json:"parent_id,omitempty"`

	// 子分组
	Children *[]GroupTreeResponse `json:"children,omitempty"`
}

func (GroupTreeResponse) String

func (o GroupTreeResponse) String() string

type HealthCheck

type HealthCheck struct {

	// 当前LVS只支持TCP_CHECK
	Protocol *HealthCheckProtocol `json:"protocol,omitempty"`

	// 健康检查端口
	Port *int32 `json:"port,omitempty"`

	// 判定后端不健康的阈值,连续探测失败次数
	Unhealthy *int32 `json:"unhealthy,omitempty"`

	// 探测后端的超时时间,单位秒
	Timeout *int32 `json:"timeout,omitempty"`

	// 探测后端的间隔时间,单位秒
	Interval *int32 `json:"interval,omitempty"`
}

HealthCheck 健康检查配置

func (HealthCheck) String

func (o HealthCheck) String() string

type HealthCheckProtocol

type HealthCheckProtocol struct {
	// contains filtered or unexported fields
}

func (HealthCheckProtocol) MarshalJSON

func (c HealthCheckProtocol) MarshalJSON() ([]byte, error)

func (*HealthCheckProtocol) UnmarshalJSON

func (c *HealthCheckProtocol) UnmarshalJSON(b []byte) error

func (HealthCheckProtocol) Value added in v0.0.90

func (c HealthCheckProtocol) Value() string

type HealthCheckProtocolEnum

type HealthCheckProtocolEnum struct {
	TCP_CHECK HealthCheckProtocol
	HTTP_GET  HealthCheckProtocol
	SSL_GET   HealthCheckProtocol
}

func GetHealthCheckProtocolEnum

func GetHealthCheckProtocolEnum() HealthCheckProtocolEnum

type Identity

type Identity struct {

	// 参数名称。  支持数字,英文,下划线,中划线,点,且只能以数字或英文开头。
	Name string `json:"name"`

	// 参数位置
	Location IdentityLocation `json:"location"`

	// 参数校验表达式,默认为null,不做校验
	Validation *string `json:"validation,omitempty"`
}

func (Identity) String

func (o Identity) String() string

type IdentityLocation

type IdentityLocation struct {
	// contains filtered or unexported fields
}

func (IdentityLocation) MarshalJSON

func (c IdentityLocation) MarshalJSON() ([]byte, error)

func (*IdentityLocation) UnmarshalJSON

func (c *IdentityLocation) UnmarshalJSON(b []byte) error

func (IdentityLocation) Value added in v0.0.90

func (c IdentityLocation) Value() string

type IdentityLocationEnum

type IdentityLocationEnum struct {
	HEADER IdentityLocation
	QUERY  IdentityLocation
}

func GetIdentityLocationEnum

func GetIdentityLocationEnum() IdentityLocationEnum

type Ignore

type Ignore struct {

	// API请求方法
	Method *string `json:"method,omitempty"`

	// API请求路径
	Path *string `json:"path,omitempty"`
}

func (Ignore) String

func (o Ignore) String() string

type ImportApiDefinitionsV2Request

type ImportApiDefinitionsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *ImportApiDefinitionsV2RequestBody `json:"body,omitempty" type:"multipart"`
}

ImportApiDefinitionsV2Request Request Object

func (ImportApiDefinitionsV2Request) String

type ImportApiDefinitionsV2RequestBody

type ImportApiDefinitionsV2RequestBody struct {

	// 是否创建新分组
	IsCreateGroup *def.MultiPart `json:"is_create_group,omitempty"`

	// API分组编号。  当is_create_group=false时为必填
	GroupId *def.MultiPart `json:"group_id,omitempty"`

	// 应用编号。  当is_create_group=false且使用集成应用分组时必填
	AppId *def.MultiPart `json:"app_id,omitempty"`

	// 扩展信息导入模式 - merge:当扩展信息定义冲突时,merge保留原有扩展信息 - override:当扩展信息定义冲突时,override会覆盖原有扩展信息
	ExtendMode *def.MultiPart `json:"extend_mode,omitempty"`

	// 是否开启简易导入模式
	SimpleMode *def.MultiPart `json:"simple_mode,omitempty"`

	// 是否开启Mock后端
	MockMode *def.MultiPart `json:"mock_mode,omitempty"`

	// 导入模式 - merge:当API信息定义冲突时,merge保留原有API信息 - override:当API信息定义冲突时,override会覆盖原有API信息
	ApiMode *def.MultiPart `json:"api_mode,omitempty"`

	// 导入Api的请求体,json或yaml格式的文件
	FileName *def.FilePart `json:"file_name"`
}

func (ImportApiDefinitionsV2RequestBody) String

func (*ImportApiDefinitionsV2RequestBody) UnmarshalJSON

func (o *ImportApiDefinitionsV2RequestBody) UnmarshalJSON(b []byte) error

type ImportApiDefinitionsV2RequestBodyApiMode

type ImportApiDefinitionsV2RequestBodyApiMode struct {
	// contains filtered or unexported fields
}

func (ImportApiDefinitionsV2RequestBodyApiMode) MarshalJSON

func (*ImportApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON

func (c *ImportApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON(b []byte) error

func (ImportApiDefinitionsV2RequestBodyApiMode) Value added in v0.0.90

type ImportApiDefinitionsV2RequestBodyApiModeEnum

type ImportApiDefinitionsV2RequestBodyApiModeEnum struct {
	MERGE    ImportApiDefinitionsV2RequestBodyApiMode
	OVERRIDE ImportApiDefinitionsV2RequestBodyApiMode
}

func GetImportApiDefinitionsV2RequestBodyApiModeEnum

func GetImportApiDefinitionsV2RequestBodyApiModeEnum() ImportApiDefinitionsV2RequestBodyApiModeEnum

type ImportApiDefinitionsV2RequestBodyExtendMode

type ImportApiDefinitionsV2RequestBodyExtendMode struct {
	// contains filtered or unexported fields
}

func (ImportApiDefinitionsV2RequestBodyExtendMode) MarshalJSON

func (*ImportApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON

func (ImportApiDefinitionsV2RequestBodyExtendMode) Value added in v0.0.90

type ImportApiDefinitionsV2Response

type ImportApiDefinitionsV2Response struct {

	// 导入成功信息
	Success *[]Success `json:"success,omitempty"`

	// 导入失败信息
	Failure *[]Failure `json:"failure,omitempty"`

	Swagger *Swagger `json:"swagger,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 被忽略导入的API信息
	Ignore         *[]Ignore `json:"ignore,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ImportApiDefinitionsV2Response Response Object

func (ImportApiDefinitionsV2Response) String

type ImportAssetRequest

type ImportAssetRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *ImportAssetRequestBody `json:"body,omitempty" type:"multipart"`
}

ImportAssetRequest Request Object

func (ImportAssetRequest) String

func (o ImportAssetRequest) String() string

type ImportAssetRequestBody added in v0.0.108

type ImportAssetRequestBody struct {

	// 资产压缩文件
	ImportAssetRequestBody *def.FilePart `json:"ImportAssetRequestBody"`
}

func (ImportAssetRequestBody) String added in v0.0.108

func (o ImportAssetRequestBody) String() string

func (*ImportAssetRequestBody) UnmarshalJSON added in v0.0.108

func (o *ImportAssetRequestBody) UnmarshalJSON(b []byte) error

type ImportAssetResponse

type ImportAssetResponse struct {

	// 资产导入作业的ID,可用于查询作业进度,获取导入作业进度
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ImportAssetResponse Response Object

func (ImportAssetResponse) String

func (o ImportAssetResponse) String() string

type ImportBaseResult

type ImportBaseResult struct {

	// 导入成功信息
	Success *[]Success `json:"success,omitempty"`

	// 导入失败信息
	Failure *[]Failure `json:"failure,omitempty"`

	Swagger *Swagger `json:"swagger,omitempty"`
}

func (ImportBaseResult) String

func (o ImportBaseResult) String() string

type ImportLiveDataApiDefinitionsV2Request

type ImportLiveDataApiDefinitionsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *ImportLiveDataApiDefinitionsV2RequestBody `json:"body,omitempty" type:"multipart"`
}

ImportLiveDataApiDefinitionsV2Request Request Object

func (ImportLiveDataApiDefinitionsV2Request) String

type ImportLiveDataApiDefinitionsV2RequestBody

type ImportLiveDataApiDefinitionsV2RequestBody struct {

	// 扩展信息导入模式 - merge:当扩展信息定义冲突时,merge保留原有扩展信息 - override:当扩展信息定义冲突时,override会覆盖原有扩展信息
	ExtendMode *def.MultiPart `json:"extend_mode,omitempty"`

	// 导入模式 - merge:当API信息定义冲突时,merge保留原有API信息 - override:当API信息定义冲突时,override会覆盖原有API信息
	ApiMode *def.MultiPart `json:"api_mode,omitempty"`

	// 导入自定义后端API的请求体,json或yaml格式的文件
	FileName *def.FilePart `json:"file_name"`
}

func (ImportLiveDataApiDefinitionsV2RequestBody) String

func (*ImportLiveDataApiDefinitionsV2RequestBody) UnmarshalJSON

type ImportLiveDataApiDefinitionsV2RequestBodyApiMode

type ImportLiveDataApiDefinitionsV2RequestBodyApiMode struct {
	// contains filtered or unexported fields
}

func (ImportLiveDataApiDefinitionsV2RequestBodyApiMode) MarshalJSON

func (*ImportLiveDataApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON

func (ImportLiveDataApiDefinitionsV2RequestBodyApiMode) Value added in v0.0.90

type ImportLiveDataApiDefinitionsV2RequestBodyExtendMode

type ImportLiveDataApiDefinitionsV2RequestBodyExtendMode struct {
	// contains filtered or unexported fields
}

func (ImportLiveDataApiDefinitionsV2RequestBodyExtendMode) MarshalJSON

func (*ImportLiveDataApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON

func (ImportLiveDataApiDefinitionsV2RequestBodyExtendMode) Value added in v0.0.90

type ImportLiveDataApiDefinitionsV2Response

type ImportLiveDataApiDefinitionsV2Response struct {

	// 导入成功信息
	Success *[]Success `json:"success,omitempty"`

	// 导入失败信息
	Failure *[]Failure `json:"failure,omitempty"`

	Swagger        *Swagger `json:"swagger,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ImportLiveDataApiDefinitionsV2Response Response Object

func (ImportLiveDataApiDefinitionsV2Response) String

type ImportMqsInstanceTopicRequest

type ImportMqsInstanceTopicRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 导入topic的模式。 - AddNew:全量新增导入。 - Merge:合并导入。  默认为AddNew模式。
	Mode *ImportMqsInstanceTopicRequestMode `json:"mode,omitempty"`

	// App应用的前缀。  若加上前缀,导入Topic时会拼接前缀和已有的App应用,形成新的App应用名称,再根据新的App应用名称导入Topic。
	Prefix *string `json:"prefix,omitempty"`

	Body *ImportMqsInstanceTopicRequestBody `json:"body,omitempty" type:"multipart"`
}

ImportMqsInstanceTopicRequest Request Object

func (ImportMqsInstanceTopicRequest) String

type ImportMqsInstanceTopicRequestBody

type ImportMqsInstanceTopicRequestBody struct {

	// 待导入的topic列表文件。
	UploadFileName *def.FilePart `json:"upload_file_name"`
}

func (ImportMqsInstanceTopicRequestBody) String

func (*ImportMqsInstanceTopicRequestBody) UnmarshalJSON

func (o *ImportMqsInstanceTopicRequestBody) UnmarshalJSON(b []byte) error

type ImportMqsInstanceTopicRequestMode

type ImportMqsInstanceTopicRequestMode struct {
	// contains filtered or unexported fields
}

func (ImportMqsInstanceTopicRequestMode) MarshalJSON

func (c ImportMqsInstanceTopicRequestMode) MarshalJSON() ([]byte, error)

func (*ImportMqsInstanceTopicRequestMode) UnmarshalJSON

func (c *ImportMqsInstanceTopicRequestMode) UnmarshalJSON(b []byte) error

func (ImportMqsInstanceTopicRequestMode) Value added in v0.0.90

type ImportMqsInstanceTopicRequestModeEnum

type ImportMqsInstanceTopicRequestModeEnum struct {
	ADD_NEW ImportMqsInstanceTopicRequestMode
	MERGE   ImportMqsInstanceTopicRequestMode
}

func GetImportMqsInstanceTopicRequestModeEnum

func GetImportMqsInstanceTopicRequestModeEnum() ImportMqsInstanceTopicRequestModeEnum

type ImportMqsInstanceTopicResponse

type ImportMqsInstanceTopicResponse struct {
	HttpStatusCode int `json:"-"`
}

ImportMqsInstanceTopicResponse Response Object

func (ImportMqsInstanceTopicResponse) String

type InnerLatencyStats

type InnerLatencyStats struct {

	// 最大网关内部延时
	MaxInnerLatency *int32 `json:"max_inner_latency,omitempty"`

	// 平均网关内部延时
	AvgInnerLatency *float32 `json:"avg_inner_latency,omitempty"`
}

func (InnerLatencyStats) String

func (o InnerLatencyStats) String() string

type InstallMultiTasksRequest

type InstallMultiTasksRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *MultiTaskInitBody `json:"body,omitempty"`
}

InstallMultiTasksRequest Request Object

func (InstallMultiTasksRequest) String

func (o InstallMultiTasksRequest) String() string

type InstallMultiTasksResponse

type InstallMultiTasksResponse struct {
	Body           *[]MultiTaskInitElement `json:"body,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

InstallMultiTasksResponse Response Object

func (InstallMultiTasksResponse) String

func (o InstallMultiTasksResponse) String() string

type LastUpdatedUser

type LastUpdatedUser struct {

	// 用户ID
	UserId *string `json:"user_id,omitempty"`

	// 用户名
	UserName *string `json:"user_name,omitempty"`
}

LastUpdatedUser 最后更新时的用户

func (LastUpdatedUser) String

func (o LastUpdatedUser) String() string

type LatencyStats

type LatencyStats struct {

	// 最大延时
	MaxLatency *int32 `json:"max_latency,omitempty"`

	// 平均延时
	AvgLatency *float32 `json:"avg_latency,omitempty"`
}

func (LatencyStats) String

func (o LatencyStats) String() string

type LdApiCheckInfo

type LdApiCheckInfo struct {

	// 校验类型:   - path:路径类型   - name:名称类型
	Type LdApiCheckInfoType `json:"type"`

	// 自定义后端API名称。  type = name时必填
	LdApiName *string `json:"ld_api_name,omitempty"`

	// 自定义后端API请求方式。  type = path时必填
	LdApiMethod *LdApiCheckInfoLdApiMethod `json:"ld_api_method,omitempty"`

	// 自定义后端API的访问地址。  type = path时必填
	LdApiPath *string `json:"ld_api_path,omitempty"`

	// 集成应用ID。  校验应用下后端API定义是否重复时必填
	RomaAppId *string `json:"roma_app_id,omitempty"`
}

func (LdApiCheckInfo) String

func (o LdApiCheckInfo) String() string

type LdApiCheckInfoLdApiMethod

type LdApiCheckInfoLdApiMethod struct {
	// contains filtered or unexported fields
}

func (LdApiCheckInfoLdApiMethod) MarshalJSON

func (c LdApiCheckInfoLdApiMethod) MarshalJSON() ([]byte, error)

func (*LdApiCheckInfoLdApiMethod) UnmarshalJSON

func (c *LdApiCheckInfoLdApiMethod) UnmarshalJSON(b []byte) error

func (LdApiCheckInfoLdApiMethod) Value added in v0.0.90

type LdApiCheckInfoType

type LdApiCheckInfoType struct {
	// contains filtered or unexported fields
}

func (LdApiCheckInfoType) MarshalJSON

func (c LdApiCheckInfoType) MarshalJSON() ([]byte, error)

func (*LdApiCheckInfoType) UnmarshalJSON

func (c *LdApiCheckInfoType) UnmarshalJSON(b []byte) error

func (LdApiCheckInfoType) Value added in v0.0.90

func (c LdApiCheckInfoType) Value() string

type LdApiCheckInfoTypeEnum

type LdApiCheckInfoTypeEnum struct {
	PATH LdApiCheckInfoType
	NAME LdApiCheckInfoType
}

func GetLdApiCheckInfoTypeEnum

func GetLdApiCheckInfoTypeEnum() LdApiCheckInfoTypeEnum

type LdApiCreate

type LdApiCreate struct {

	// 后端API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。
	Name string `json:"name"`

	// 后端API请求路径。  支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。
	Path string `json:"path"`

	// 后端API请求方法。  支持GET、PUT、POST、DELETE
	Method LdApiCreateMethod `json:"method"`

	// 后端API描述。  不支持<,>字符
	Description *string `json:"description,omitempty"`

	// 后端API版本  支持英文,数字,下划线,中划线,点。
	Version string `json:"version"`

	// 后端API返回类型
	ContentType LdApiCreateContentType `json:"content_type"`

	// 后端API为签名认证时绑定的签名密钥编号
	ApiSignatureId *string `json:"api_signature_id,omitempty"`

	// 后端API归属的集成应用编号
	RomaAppId string `json:"roma_app_id"`

	// API响应信息是否格式化  true: 对响应信息进行格式化  false:对响应信息格式化不进行格式化
	ReturnFormat *bool `json:"return_format,omitempty"`

	// 后端API的请求参数列表
	Parameters *[]LdApiParameter `json:"parameters,omitempty"`
}

func (LdApiCreate) String

func (o LdApiCreate) String() string

type LdApiCreateContentType

type LdApiCreateContentType struct {
	// contains filtered or unexported fields
}

func (LdApiCreateContentType) MarshalJSON

func (c LdApiCreateContentType) MarshalJSON() ([]byte, error)

func (*LdApiCreateContentType) UnmarshalJSON

func (c *LdApiCreateContentType) UnmarshalJSON(b []byte) error

func (LdApiCreateContentType) Value added in v0.0.90

func (c LdApiCreateContentType) Value() string

type LdApiCreateContentTypeEnum

type LdApiCreateContentTypeEnum struct {
	JSON   LdApiCreateContentType
	XML    LdApiCreateContentType
	STREAM LdApiCreateContentType
}

func GetLdApiCreateContentTypeEnum

func GetLdApiCreateContentTypeEnum() LdApiCreateContentTypeEnum

type LdApiCreateMethod

type LdApiCreateMethod struct {
	// contains filtered or unexported fields
}

func (LdApiCreateMethod) MarshalJSON

func (c LdApiCreateMethod) MarshalJSON() ([]byte, error)

func (*LdApiCreateMethod) UnmarshalJSON

func (c *LdApiCreateMethod) UnmarshalJSON(b []byte) error

func (LdApiCreateMethod) Value added in v0.0.90

func (c LdApiCreateMethod) Value() string

type LdApiCreateMethodEnum

type LdApiCreateMethodEnum struct {
	GET    LdApiCreateMethod
	PUT    LdApiCreateMethod
	POST   LdApiCreateMethod
	DELETE LdApiCreateMethod
}

func GetLdApiCreateMethodEnum

func GetLdApiCreateMethodEnum() LdApiCreateMethodEnum

type LdApiDeploy

type LdApiDeploy struct {

	// 是否自动发布API - true:部署完成后自动创建并发布前端API。此时auth_type,group_id,env_id,protocol必填。 - false:部署完成后不创建前端API
	DeployFrontApi *bool `json:"deploy_front_api,omitempty"`

	// 认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType *string `json:"auth_type,omitempty"`

	// 自定义认证编号。  认证方式auth_type = AUTHORIZER时必填
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 部署的前端API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 部署的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 请求协议
	Protocol *LdApiDeployProtocol `json:"protocol,omitempty"`

	// 超时时间
	BackendTimeout *int32 `json:"backend_timeout,omitempty"`

	// 请求路径
	Path *string `json:"path,omitempty"`

	// 请求方式
	Method *string `json:"method,omitempty"`

	// 是否支持跨域 - true:支持 - false:不支持
	Cors *bool `json:"cors,omitempty"`

	// 部署到前端的api归属的应用编号,与后端归属的应用编号保持一致
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10]
	RetryCount *string `json:"retry_count,omitempty"`
}

func (LdApiDeploy) String

func (o LdApiDeploy) String() string

type LdApiDeployHistoryInfo

type LdApiDeployHistoryInfo struct {

	// 部署的编号
	Id *string `json:"id,omitempty"`

	// 部署的后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 部署的前端API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 部署的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 部署的前端API编号
	ApiId *string `json:"api_id,omitempty"`

	// 部署时间
	DeployTime *sdktime.SdkTime `json:"deploy_time,omitempty"`

	ApiDefinition *LdApiInfo `json:"api_definition,omitempty"`
}

func (LdApiDeployHistoryInfo) String

func (o LdApiDeployHistoryInfo) String() string

type LdApiDeployProtocol

type LdApiDeployProtocol struct {
	// contains filtered or unexported fields
}

func (LdApiDeployProtocol) MarshalJSON

func (c LdApiDeployProtocol) MarshalJSON() ([]byte, error)

func (*LdApiDeployProtocol) UnmarshalJSON

func (c *LdApiDeployProtocol) UnmarshalJSON(b []byte) error

func (LdApiDeployProtocol) Value added in v0.0.90

func (c LdApiDeployProtocol) Value() string

type LdApiDeployProtocolEnum

type LdApiDeployProtocolEnum struct {
	HTTPS     LdApiDeployProtocol
	HTTP      LdApiDeployProtocol
	HTTPSHTTP LdApiDeployProtocol
}

func GetLdApiDeployProtocolEnum

func GetLdApiDeployProtocolEnum() LdApiDeployProtocolEnum

type LdApiInfo

type LdApiInfo struct {

	// 后端API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。
	Name string `json:"name"`

	// 后端API请求路径。  支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。
	Path string `json:"path"`

	// 后端API请求方法。  支持GET、PUT、POST、DELETE
	Method LdApiInfoMethod `json:"method"`

	// 后端API描述。  不支持<,>字符
	Description *string `json:"description,omitempty"`

	// 后端API版本  支持英文,数字,下划线,中划线,点。
	Version string `json:"version"`

	// 后端API返回类型
	ContentType LdApiInfoContentType `json:"content_type"`

	// 后端API为签名认证时绑定的签名密钥编号
	ApiSignatureId *string `json:"api_signature_id,omitempty"`

	// 后端API归属的集成应用编号
	RomaAppId string `json:"roma_app_id"`

	// API响应信息是否格式化  true: 对响应信息进行格式化  false:对响应信息格式化不进行格式化
	ReturnFormat *bool `json:"return_format,omitempty"`

	// 后端API的请求参数列表
	Parameters *[]LdApiParameter `json:"parameters,omitempty"`

	// 后端API编号
	Id *string `json:"id,omitempty"`

	// 后端API所属实例编号
	Instance *string `json:"instance,omitempty"`

	// 后端API类型: - data:数据后端 - function: 函数后端
	Type *LdApiInfoType `json:"type,omitempty"`

	// 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署
	Status *LdApiInfoStatus `json:"status,omitempty"`

	// 后端API创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 后端API修改时间
	ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"`

	// 后端API脚本信息
	Scripts *[]LdApiScript `json:"scripts,omitempty"`

	// 后端API归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`
}

LdApiInfo 后端API详情

func (LdApiInfo) String

func (o LdApiInfo) String() string

type LdApiInfoContentType

type LdApiInfoContentType struct {
	// contains filtered or unexported fields
}

func (LdApiInfoContentType) MarshalJSON

func (c LdApiInfoContentType) MarshalJSON() ([]byte, error)

func (*LdApiInfoContentType) UnmarshalJSON

func (c *LdApiInfoContentType) UnmarshalJSON(b []byte) error

func (LdApiInfoContentType) Value added in v0.0.90

func (c LdApiInfoContentType) Value() string

type LdApiInfoContentTypeEnum

type LdApiInfoContentTypeEnum struct {
	JSON   LdApiInfoContentType
	XML    LdApiInfoContentType
	STREAM LdApiInfoContentType
}

func GetLdApiInfoContentTypeEnum

func GetLdApiInfoContentTypeEnum() LdApiInfoContentTypeEnum

type LdApiInfoMethod

type LdApiInfoMethod struct {
	// contains filtered or unexported fields
}

func (LdApiInfoMethod) MarshalJSON

func (c LdApiInfoMethod) MarshalJSON() ([]byte, error)

func (*LdApiInfoMethod) UnmarshalJSON

func (c *LdApiInfoMethod) UnmarshalJSON(b []byte) error

func (LdApiInfoMethod) Value added in v0.0.90

func (c LdApiInfoMethod) Value() string

type LdApiInfoMethodEnum

type LdApiInfoMethodEnum struct {
	GET    LdApiInfoMethod
	PUT    LdApiInfoMethod
	POST   LdApiInfoMethod
	DELETE LdApiInfoMethod
}

func GetLdApiInfoMethodEnum

func GetLdApiInfoMethodEnum() LdApiInfoMethodEnum

type LdApiInfoStatus

type LdApiInfoStatus struct {
	// contains filtered or unexported fields
}

func (LdApiInfoStatus) MarshalJSON

func (c LdApiInfoStatus) MarshalJSON() ([]byte, error)

func (*LdApiInfoStatus) UnmarshalJSON

func (c *LdApiInfoStatus) UnmarshalJSON(b []byte) error

func (LdApiInfoStatus) Value added in v0.0.90

func (c LdApiInfoStatus) Value() int32

type LdApiInfoStatusEnum

type LdApiInfoStatusEnum struct {
	E_1 LdApiInfoStatus
	E_3 LdApiInfoStatus
	E_4 LdApiInfoStatus
}

func GetLdApiInfoStatusEnum

func GetLdApiInfoStatusEnum() LdApiInfoStatusEnum

type LdApiInfoType

type LdApiInfoType struct {
	// contains filtered or unexported fields
}

func (LdApiInfoType) MarshalJSON

func (c LdApiInfoType) MarshalJSON() ([]byte, error)

func (*LdApiInfoType) UnmarshalJSON

func (c *LdApiInfoType) UnmarshalJSON(b []byte) error

func (LdApiInfoType) Value added in v0.0.90

func (c LdApiInfoType) Value() string

type LdApiInfoTypeEnum

type LdApiInfoTypeEnum struct {
	DATA     LdApiInfoType
	FUNCTION LdApiInfoType
}

func GetLdApiInfoTypeEnum

func GetLdApiInfoTypeEnum() LdApiInfoTypeEnum

type LdApiParameter

type LdApiParameter struct {

	// 参数名称: - 参数位于Headers、 Parameters时,用户自行定义,支持英文、数字、点、中划线、下划线,且需要英文开头,不区分大小写。 - 参数位于Body时候,参数以application/json、application/xml、application/text为名,但实际是以请求body里的键值对作为参数名和参数值,比如请求消息样例,参数名为application/json,参数值为{\\\"table\\\":\\\"apic01\\\",\\\"id\\\":\\\"1\\\"},后端取table:apic01,id:1这两个键值对作为入参。 - 注意:定义参数不要重名,否则会覆盖掉,当Headers、Parameters重复时候,Parameters会被覆盖,当Parameters和Body里的键值对重复时候,Parameters会被覆盖。
	Name string `json:"name"`

	// 该参数在调用API时候所放的位置: - Headers :放于请求头 - Parameters :放于请求参数 - Body:放于请求体
	In LdApiParameterIn `json:"in"`

	// 参数默认值
	Default *string `json:"default,omitempty"`

	// 参数描述  不支持<,>字符
	Description *string `json:"description,omitempty"`

	// 参数是否必须。true:必须,false:不必须
	Required *bool `json:"required,omitempty"`
}

LdApiParameter 后端API请求参数

func (LdApiParameter) String

func (o LdApiParameter) String() string

type LdApiParameterIn

type LdApiParameterIn struct {
	// contains filtered or unexported fields
}

func (LdApiParameterIn) MarshalJSON

func (c LdApiParameterIn) MarshalJSON() ([]byte, error)

func (*LdApiParameterIn) UnmarshalJSON

func (c *LdApiParameterIn) UnmarshalJSON(b []byte) error

func (LdApiParameterIn) Value added in v0.0.90

func (c LdApiParameterIn) Value() string

type LdApiParameterInEnum

type LdApiParameterInEnum struct {
	HEADERS    LdApiParameterIn
	PARAMETERS LdApiParameterIn
	BODY       LdApiParameterIn
}

func GetLdApiParameterInEnum

func GetLdApiParameterInEnum() LdApiParameterInEnum

type LdApiScript

type LdApiScript struct {

	// 数据源编号,当api_type = data时,必选
	DsId *string `json:"ds_id,omitempty"`

	// 数据源名称
	DsName *string `json:"ds_name,omitempty"`

	// 数据源类型: - oracle:oracle数据源类型 - mysql:mysql数据源类型 - mongodb:mongodb数据源类型 - redis:redis数据源类型 - postgresql:postgresql数据源类型 - hive:hive数据源类型 - mssql:sqlserver数据源类型 - sqlserver:sqlserver数据源类型 - gauss200:gauss200数据源类型 - dws:dws数据源类型 - gauss100:gauss100数据源类型 - zenith:zenith数据源类型
	DsType *LdApiScriptDsType `json:"ds_type,omitempty"`

	// 脚本类型 - SQL:sql语句 - SP:存储过程
	Type *string `json:"type,omitempty"`

	// 返回对象。  当api_type = data时,必选
	ObjectName *string `json:"object_name,omitempty"`

	// API脚本内容  请对脚本进行base64编码
	Content string `json:"content"`

	// 数据脚本是否结果分页,当api_type = data时有效
	EnableResultPaging *bool `json:"enable_result_paging,omitempty"`

	// 数据脚本是否预编译,当api_type = data时有效
	EnablePreparestatement *bool `json:"enable_preparestatement,omitempty"`

	// 后端API脚本创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 后端API脚本修改时间
	ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"`
}

func (LdApiScript) String

func (o LdApiScript) String() string

type LdApiScriptBase

type LdApiScriptBase struct {

	// 数据源编号,当api_type = data时,必选
	DsId *string `json:"ds_id,omitempty"`

	// 数据源名称
	DsName *string `json:"ds_name,omitempty"`

	// 数据源类型: - oracle:oracle数据源类型 - mysql:mysql数据源类型 - mongodb:mongodb数据源类型 - redis:redis数据源类型 - postgresql:postgresql数据源类型 - hive:hive数据源类型 - mssql:sqlserver数据源类型 - sqlserver:sqlserver数据源类型 - gauss200:gauss200数据源类型 - dws:dws数据源类型 - gauss100:gauss100数据源类型 - zenith:zenith数据源类型
	DsType *LdApiScriptBaseDsType `json:"ds_type,omitempty"`

	// 脚本类型 - SQL:sql语句 - SP:存储过程
	Type *string `json:"type,omitempty"`

	// 返回对象。  当api_type = data时,必选
	ObjectName *string `json:"object_name,omitempty"`

	// API脚本内容  请对脚本进行base64编码
	Content string `json:"content"`

	// 数据脚本是否结果分页,当api_type = data时有效
	EnableResultPaging *bool `json:"enable_result_paging,omitempty"`

	// 数据脚本是否预编译,当api_type = data时有效
	EnablePreparestatement *bool `json:"enable_preparestatement,omitempty"`
}

func (LdApiScriptBase) String

func (o LdApiScriptBase) String() string

type LdApiScriptBaseDsType

type LdApiScriptBaseDsType struct {
	// contains filtered or unexported fields
}

func (LdApiScriptBaseDsType) MarshalJSON

func (c LdApiScriptBaseDsType) MarshalJSON() ([]byte, error)

func (*LdApiScriptBaseDsType) UnmarshalJSON

func (c *LdApiScriptBaseDsType) UnmarshalJSON(b []byte) error

func (LdApiScriptBaseDsType) Value added in v0.0.90

func (c LdApiScriptBaseDsType) Value() string

type LdApiScriptCreate

type LdApiScriptCreate struct {

	// API类型 - data:数据API - function:函数API
	ApiType *LdApiScriptCreateApiType `json:"api_type,omitempty"`

	// API脚本信息列表
	Scripts *[]LdApiScriptBase `json:"scripts,omitempty"`
}

func (LdApiScriptCreate) String

func (o LdApiScriptCreate) String() string

type LdApiScriptCreateApiType

type LdApiScriptCreateApiType struct {
	// contains filtered or unexported fields
}

func (LdApiScriptCreateApiType) MarshalJSON

func (c LdApiScriptCreateApiType) MarshalJSON() ([]byte, error)

func (*LdApiScriptCreateApiType) UnmarshalJSON

func (c *LdApiScriptCreateApiType) UnmarshalJSON(b []byte) error

func (LdApiScriptCreateApiType) Value added in v0.0.90

func (c LdApiScriptCreateApiType) Value() string

type LdApiScriptCreateApiTypeEnum

type LdApiScriptCreateApiTypeEnum struct {
	DATA     LdApiScriptCreateApiType
	FUNCTION LdApiScriptCreateApiType
}

func GetLdApiScriptCreateApiTypeEnum

func GetLdApiScriptCreateApiTypeEnum() LdApiScriptCreateApiTypeEnum

type LdApiScriptDsType

type LdApiScriptDsType struct {
	// contains filtered or unexported fields
}

func (LdApiScriptDsType) MarshalJSON

func (c LdApiScriptDsType) MarshalJSON() ([]byte, error)

func (*LdApiScriptDsType) UnmarshalJSON

func (c *LdApiScriptDsType) UnmarshalJSON(b []byte) error

func (LdApiScriptDsType) Value added in v0.0.90

func (c LdApiScriptDsType) Value() string

type LdApiScriptDsTypeEnum

type LdApiScriptDsTypeEnum struct {
	ORACLE     LdApiScriptDsType
	MYSQL      LdApiScriptDsType
	MONGODB    LdApiScriptDsType
	REDIS      LdApiScriptDsType
	POSTGRESQL LdApiScriptDsType
	HIVE       LdApiScriptDsType
	MSSQL      LdApiScriptDsType
	SQLSERVER  LdApiScriptDsType
	GAUSS200   LdApiScriptDsType
	DWS        LdApiScriptDsType
	GAUSS100   LdApiScriptDsType
	ZENITH     LdApiScriptDsType
}

func GetLdApiScriptDsTypeEnum

func GetLdApiScriptDsTypeEnum() LdApiScriptDsTypeEnum

type LdApiTest

type LdApiTest struct {

	// 后端API请求参数
	Parameters *[]LdApiParameter `json:"parameters,omitempty"`
}

func (LdApiTest) String

func (o LdApiTest) String() string

type LdApiTestHistoryInfoV2

type LdApiTestHistoryInfoV2 struct {

	// 测试返回的状态码
	TestStatusCode *string `json:"test_status_code,omitempty"`

	// 测试的请求内容
	TestRequest *string `json:"test_request,omitempty"`

	// 测试耗时
	TestUsedTime *int32 `json:"test_used_time,omitempty"`

	// 测试者的项目编号
	TestOperator *string `json:"test_operator,omitempty"`

	// 测试的响应内容
	TestResponse *string `json:"test_response,omitempty"`

	// 测试的请求方法
	TestMethod *string `json:"test_method,omitempty"`

	// 测试编号
	TestId *int32 `json:"test_id,omitempty"`

	// 测试时间
	TestDate *sdktime.SdkTime `json:"test_date,omitempty"`

	// 后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`
}

func (LdApiTestHistoryInfoV2) String

func (o LdApiTestHistoryInfoV2) String() string

type LdDatasourceCreate

type LdDatasourceCreate struct {

	// 数据源名称
	Name *string `json:"name,omitempty"`

	// 数据源类型: - oracle:oracle数据源类型 - mysql:mysql数据源类型 - mongodb:mongodb数据源类型 - redis:redis数据源类型 - postgresql:postgresql数据源类型 - hive:hive数据源类型 - mssql:sqlserver数据源类型 - sqlserver:sqlserver数据源类型 - gauss200:gauss200数据源类型 - dws:dws数据源类型 - gauss100:gauss100数据源类型 - zenith:zenith数据源类型
	Type *LdDatasourceCreateType `json:"type,omitempty"`

	// 数据源描述
	Description *string `json:"description,omitempty"`

	// 数据源连接字符串
	Url *string `json:"url,omitempty"`

	// 用户名
	User *string `json:"user,omitempty"`

	// 密码。  敏感信息不作为响应返回
	Password *string `json:"password,omitempty"`

	// ftp上传路径  预留字段,暂不支持。
	Remotepath *string `json:"remotepath,omitempty"`
}

func (LdDatasourceCreate) String

func (o LdDatasourceCreate) String() string

type LdDatasourceCreateType

type LdDatasourceCreateType struct {
	// contains filtered or unexported fields
}

func (LdDatasourceCreateType) MarshalJSON

func (c LdDatasourceCreateType) MarshalJSON() ([]byte, error)

func (*LdDatasourceCreateType) UnmarshalJSON

func (c *LdDatasourceCreateType) UnmarshalJSON(b []byte) error

func (LdDatasourceCreateType) Value added in v0.0.90

func (c LdDatasourceCreateType) Value() string

type LdDatasourceInfo

type LdDatasourceInfo struct {

	// 数据源名称
	Name *string `json:"name,omitempty"`

	// 数据源类型: - oracle:oracle数据源类型 - mysql:mysql数据源类型 - mongodb:mongodb数据源类型 - redis:redis数据源类型 - postgresql:postgresql数据源类型 - hive:hive数据源类型 - mssql:sqlserver数据源类型 - sqlserver:sqlserver数据源类型 - gauss200:gauss200数据源类型 - dws:dws数据源类型 - gauss100:gauss100数据源类型 - zenith:zenith数据源类型
	Type *LdDatasourceInfoType `json:"type,omitempty"`

	// 数据源描述
	Description *string `json:"description,omitempty"`

	// 数据源连接字符串
	Url *string `json:"url,omitempty"`

	// 用户名
	User *string `json:"user,omitempty"`

	// 密码。  敏感信息不作为响应返回
	Password *string `json:"password,omitempty"`

	// ftp上传路径  预留字段,暂不支持。
	Remotepath *string `json:"remotepath,omitempty"`

	// 数据源ID
	Id *string `json:"id,omitempty"`

	// 数据源状态: - old:存量数据源 - new:roma数据源
	Status *string `json:"status,omitempty"`

	// 数据源创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 数据源更新时间
	ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"`
}

func (LdDatasourceInfo) String

func (o LdDatasourceInfo) String() string

type LdDatasourceInfoType

type LdDatasourceInfoType struct {
	// contains filtered or unexported fields
}

func (LdDatasourceInfoType) MarshalJSON

func (c LdDatasourceInfoType) MarshalJSON() ([]byte, error)

func (*LdDatasourceInfoType) UnmarshalJSON

func (c *LdDatasourceInfoType) UnmarshalJSON(b []byte) error

func (LdDatasourceInfoType) Value added in v0.0.90

func (c LdDatasourceInfoType) Value() string

type ListAclPolicyBindedToApiV2Request

type ListAclPolicyBindedToApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	ApiId string `json:"api_id"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 环境名称
	EnvName *string `json:"env_name,omitempty"`

	// ACL策略编号
	AclId *string `json:"acl_id,omitempty"`

	// ACL策略名称
	AclName *string `json:"acl_name,omitempty"`
}

ListAclPolicyBindedToApiV2Request Request Object

func (ListAclPolicyBindedToApiV2Request) String

type ListAclPolicyBindedToApiV2Response

type ListAclPolicyBindedToApiV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的ACL列表
	Acls           *[]ApiBindAclInfo `json:"acls,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListAclPolicyBindedToApiV2Response Response Object

func (ListAclPolicyBindedToApiV2Response) String

type ListAclStrategiesV2Request

type ListAclStrategiesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// ACL策略编号。
	Id *string `json:"id,omitempty"`

	// ACL策略名称。
	Name *string `json:"name,omitempty"`

	// 类型 - PERMIT (白名单类型) - DENY (黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// 作用的对象类型: - IP - DOMAIN
	EntityType *string `json:"entity_type,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前仅支持name。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListAclStrategiesV2Request Request Object

func (ListAclStrategiesV2Request) String

type ListAclStrategiesV2Response

type ListAclStrategiesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的ACL策略列表
	Acls           *[]ApiAclInfoWithBindNum `json:"acls,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListAclStrategiesV2Response Response Object

func (ListAclStrategiesV2Response) String

type ListApiGroupsV2Request

type ListApiGroupsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// API分组编号
	Id *string `json:"id,omitempty"`

	// API分组名称
	Name *string `json:"name,omitempty"`

	// 集成应用编号
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  [当前支持name,domain_name。](tag:hws;hws_hk;hcs;fcs;g42;)[目前仅支持API分组名称](tag:Site)
	PreciseSearch *string `json:"precise_search,omitempty"`

	// 域名
	DomainName *string `json:"domain_name,omitempty"`
}

ListApiGroupsV2Request Request Object

func (ListApiGroupsV2Request) String

func (o ListApiGroupsV2Request) String() string

type ListApiGroupsV2Response

type ListApiGroupsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 分组列表
	Groups         *[]ApiGroupInfo `json:"groups,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListApiGroupsV2Response Response Object

func (ListApiGroupsV2Response) String

func (o ListApiGroupsV2Response) String() string

type ListApiRuntimeDefinitionV2Request

type ListApiRuntimeDefinitionV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	// API的发布环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListApiRuntimeDefinitionV2Request Request Object

func (ListApiRuntimeDefinitionV2Request) String

type ListApiRuntimeDefinitionV2Response

type ListApiRuntimeDefinitionV2Response struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ListApiRuntimeDefinitionV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ListApiRuntimeDefinitionV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ListApiRuntimeDefinitionV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ListApiRuntimeDefinitionV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ListApiRuntimeDefinitionV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ListApiRuntimeDefinitionV2ResponseBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ListApiRuntimeDefinitionV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录的编号
	PublishId *string `json:"publish_id,omitempty"`

	// 分组的二级域名
	SlDomain *string `json:"sl_domain,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// API的请求参数列表
	ReqParams      *[]ReqParam `json:"req_params,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListApiRuntimeDefinitionV2Response Response Object

func (ListApiRuntimeDefinitionV2Response) String

type ListApiRuntimeDefinitionV2ResponseAuthType

type ListApiRuntimeDefinitionV2ResponseAuthType struct {
	// contains filtered or unexported fields
}

func (ListApiRuntimeDefinitionV2ResponseAuthType) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseAuthType) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseAuthType) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseBackendType

type ListApiRuntimeDefinitionV2ResponseBackendType struct {
	// contains filtered or unexported fields
}

func (ListApiRuntimeDefinitionV2ResponseBackendType) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseBackendType) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseBackendType) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseContentType

type ListApiRuntimeDefinitionV2ResponseContentType struct {
	// contains filtered or unexported fields
}

func (ListApiRuntimeDefinitionV2ResponseContentType) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseContentType) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseContentType) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseMatchMode

type ListApiRuntimeDefinitionV2ResponseMatchMode struct {
	// contains filtered or unexported fields
}

func (ListApiRuntimeDefinitionV2ResponseMatchMode) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseMatchMode) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseMatchMode) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseReqMethod

type ListApiRuntimeDefinitionV2ResponseReqMethod struct {
	// contains filtered or unexported fields
}

func (ListApiRuntimeDefinitionV2ResponseReqMethod) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseReqMethod) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseReqMethod) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseReqProtocol

type ListApiRuntimeDefinitionV2ResponseReqProtocol struct {
	// contains filtered or unexported fields
}

func (ListApiRuntimeDefinitionV2ResponseReqProtocol) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseReqProtocol) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseReqProtocol) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseType

type ListApiRuntimeDefinitionV2ResponseType struct {
	// contains filtered or unexported fields
}

func (ListApiRuntimeDefinitionV2ResponseType) MarshalJSON

func (c ListApiRuntimeDefinitionV2ResponseType) MarshalJSON() ([]byte, error)

func (*ListApiRuntimeDefinitionV2ResponseType) UnmarshalJSON

func (c *ListApiRuntimeDefinitionV2ResponseType) UnmarshalJSON(b []byte) error

func (ListApiRuntimeDefinitionV2ResponseType) Value added in v0.0.90

type ListApiVersionDetailV2Request

type ListApiVersionDetailV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API版本的编号
	VersionId string `json:"version_id"`
}

ListApiVersionDetailV2Request Request Object

func (ListApiVersionDetailV2Request) String

type ListApiVersionDetailV2Response

type ListApiVersionDetailV2Response struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ListApiVersionDetailV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ListApiVersionDetailV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ListApiVersionDetailV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ListApiVersionDetailV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ListApiVersionDetailV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ListApiVersionDetailV2ResponseBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ListApiVersionDetailV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *ListApiVersionDetailV2ResponseStatus `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 版本发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// API归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// [函数工作流策略后端列表](tag:hws,hws_hk,hcs,fcs,g42)[暂不支持](tag:Site)
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`

	// 系统默认分配的子域名
	SlDomain *string `json:"sl_domain,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 版本编号
	VersionId      *string `json:"version_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListApiVersionDetailV2Response Response Object

func (ListApiVersionDetailV2Response) String

type ListApiVersionDetailV2ResponseAuthType

type ListApiVersionDetailV2ResponseAuthType struct {
	// contains filtered or unexported fields
}

func (ListApiVersionDetailV2ResponseAuthType) MarshalJSON

func (c ListApiVersionDetailV2ResponseAuthType) MarshalJSON() ([]byte, error)

func (*ListApiVersionDetailV2ResponseAuthType) UnmarshalJSON

func (c *ListApiVersionDetailV2ResponseAuthType) UnmarshalJSON(b []byte) error

func (ListApiVersionDetailV2ResponseAuthType) Value added in v0.0.90

type ListApiVersionDetailV2ResponseBackendType

type ListApiVersionDetailV2ResponseBackendType struct {
	// contains filtered or unexported fields
}

func (ListApiVersionDetailV2ResponseBackendType) MarshalJSON

func (*ListApiVersionDetailV2ResponseBackendType) UnmarshalJSON

func (ListApiVersionDetailV2ResponseBackendType) Value added in v0.0.90

type ListApiVersionDetailV2ResponseContentType

type ListApiVersionDetailV2ResponseContentType struct {
	// contains filtered or unexported fields
}

func (ListApiVersionDetailV2ResponseContentType) MarshalJSON

func (*ListApiVersionDetailV2ResponseContentType) UnmarshalJSON

func (ListApiVersionDetailV2ResponseContentType) Value added in v0.0.90

type ListApiVersionDetailV2ResponseMatchMode

type ListApiVersionDetailV2ResponseMatchMode struct {
	// contains filtered or unexported fields
}

func (ListApiVersionDetailV2ResponseMatchMode) MarshalJSON

func (c ListApiVersionDetailV2ResponseMatchMode) MarshalJSON() ([]byte, error)

func (*ListApiVersionDetailV2ResponseMatchMode) UnmarshalJSON

func (c *ListApiVersionDetailV2ResponseMatchMode) UnmarshalJSON(b []byte) error

func (ListApiVersionDetailV2ResponseMatchMode) Value added in v0.0.90

type ListApiVersionDetailV2ResponseMatchModeEnum

type ListApiVersionDetailV2ResponseMatchModeEnum struct {
	SWA    ListApiVersionDetailV2ResponseMatchMode
	NORMAL ListApiVersionDetailV2ResponseMatchMode
}

func GetListApiVersionDetailV2ResponseMatchModeEnum

func GetListApiVersionDetailV2ResponseMatchModeEnum() ListApiVersionDetailV2ResponseMatchModeEnum

type ListApiVersionDetailV2ResponseReqMethod

type ListApiVersionDetailV2ResponseReqMethod struct {
	// contains filtered or unexported fields
}

func (ListApiVersionDetailV2ResponseReqMethod) MarshalJSON

func (c ListApiVersionDetailV2ResponseReqMethod) MarshalJSON() ([]byte, error)

func (*ListApiVersionDetailV2ResponseReqMethod) UnmarshalJSON

func (c *ListApiVersionDetailV2ResponseReqMethod) UnmarshalJSON(b []byte) error

func (ListApiVersionDetailV2ResponseReqMethod) Value added in v0.0.90

type ListApiVersionDetailV2ResponseReqProtocol

type ListApiVersionDetailV2ResponseReqProtocol struct {
	// contains filtered or unexported fields
}

func (ListApiVersionDetailV2ResponseReqProtocol) MarshalJSON

func (*ListApiVersionDetailV2ResponseReqProtocol) UnmarshalJSON

func (ListApiVersionDetailV2ResponseReqProtocol) Value added in v0.0.90

type ListApiVersionDetailV2ResponseStatus

type ListApiVersionDetailV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (ListApiVersionDetailV2ResponseStatus) MarshalJSON

func (c ListApiVersionDetailV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*ListApiVersionDetailV2ResponseStatus) UnmarshalJSON

func (c *ListApiVersionDetailV2ResponseStatus) UnmarshalJSON(b []byte) error

func (ListApiVersionDetailV2ResponseStatus) Value added in v0.0.90

type ListApiVersionDetailV2ResponseStatusEnum

type ListApiVersionDetailV2ResponseStatusEnum struct {
	E_1 ListApiVersionDetailV2ResponseStatus
}

func GetListApiVersionDetailV2ResponseStatusEnum

func GetListApiVersionDetailV2ResponseStatusEnum() ListApiVersionDetailV2ResponseStatusEnum

type ListApiVersionDetailV2ResponseType

type ListApiVersionDetailV2ResponseType struct {
	// contains filtered or unexported fields
}

func (ListApiVersionDetailV2ResponseType) MarshalJSON

func (c ListApiVersionDetailV2ResponseType) MarshalJSON() ([]byte, error)

func (*ListApiVersionDetailV2ResponseType) UnmarshalJSON

func (c *ListApiVersionDetailV2ResponseType) UnmarshalJSON(b []byte) error

func (ListApiVersionDetailV2ResponseType) Value added in v0.0.90

type ListApiVersionDetailV2ResponseTypeEnum

type ListApiVersionDetailV2ResponseTypeEnum struct {
	E_1 ListApiVersionDetailV2ResponseType
	E_2 ListApiVersionDetailV2ResponseType
}

func GetListApiVersionDetailV2ResponseTypeEnum

func GetListApiVersionDetailV2ResponseTypeEnum() ListApiVersionDetailV2ResponseTypeEnum

type ListApiVersionsV2Request

type ListApiVersionsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 环境的编号
	EnvId *string `json:"env_id,omitempty"`

	// 环境的名称
	EnvName *string `json:"env_name,omitempty"`
}

ListApiVersionsV2Request Request Object

func (ListApiVersionsV2Request) String

func (o ListApiVersionsV2Request) String() string

type ListApiVersionsV2Response

type ListApiVersionsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API历史版本列表
	ApiVersions    *[]ApiVersionResp `json:"api_versions,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApiVersionsV2Response Response Object

func (ListApiVersionsV2Response) String

func (o ListApiVersionsV2Response) String() string

type ListApisBindedToAclPolicyV2Request

type ListApisBindedToAclPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// ACL编号
	AclId string `json:"acl_id"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`
}

ListApisBindedToAclPolicyV2Request Request Object

func (ListApisBindedToAclPolicyV2Request) String

type ListApisBindedToAclPolicyV2Response

type ListApisBindedToAclPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]AclBindApiInfo `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApisBindedToAclPolicyV2Response Response Object

func (ListApisBindedToAclPolicyV2Response) String

type ListApisBindedToAppV2Request

type ListApisBindedToAppV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 应用编号
	AppId string `json:"app_id"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API分组名称
	GroupName *string `json:"group_name,omitempty"`

	// 授权的环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListApisBindedToAppV2Request Request Object

func (ListApisBindedToAppV2Request) String

type ListApisBindedToAppV2Response

type ListApisBindedToAppV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的API列表
	Auths          *[]ApiAuthInfo `json:"auths,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListApisBindedToAppV2Response Response Object

func (ListApisBindedToAppV2Response) String

type ListApisBindedToRequestThrottlingPolicyV2Request

type ListApisBindedToRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 流控策略编号
	ThrottleId string `json:"throttle_id"`

	// 环境的ID
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`
}

ListApisBindedToRequestThrottlingPolicyV2Request Request Object

func (ListApisBindedToRequestThrottlingPolicyV2Request) String

type ListApisBindedToRequestThrottlingPolicyV2Response

type ListApisBindedToRequestThrottlingPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]ApiForThrottle `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApisBindedToRequestThrottlingPolicyV2Response Response Object

func (ListApisBindedToRequestThrottlingPolicyV2Response) String

type ListApisBindedToSignatureKeyV2Request

type ListApisBindedToSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 签名密钥编号
	SignId string `json:"sign_id"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API的编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`
}

ListApisBindedToSignatureKeyV2Request Request Object

func (ListApisBindedToSignatureKeyV2Request) String

type ListApisBindedToSignatureKeyV2Response

type ListApisBindedToSignatureKeyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的签名密钥和API绑定关系列表
	Bindings       *[]SignApiBindingBase `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListApisBindedToSignatureKeyV2Response Response Object

func (ListApisBindedToSignatureKeyV2Response) String

type ListApisNotBoundWithSignatureKeyV2Request

type ListApisNotBoundWithSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 签名密钥编号
	SignId string `json:"sign_id"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`
}

ListApisNotBoundWithSignatureKeyV2Request Request Object

func (ListApisNotBoundWithSignatureKeyV2Request) String

type ListApisNotBoundWithSignatureKeyV2Response

type ListApisNotBoundWithSignatureKeyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]ApiForSign `json:"apis,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListApisNotBoundWithSignatureKeyV2Response Response Object

func (ListApisNotBoundWithSignatureKeyV2Response) String

type ListApisUnbindedToAclPolicyV2Request

type ListApisUnbindedToAclPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// ACL策略编号
	AclId string `json:"acl_id"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`
}

ListApisUnbindedToAclPolicyV2Request Request Object

func (ListApisUnbindedToAclPolicyV2Request) String

type ListApisUnbindedToAclPolicyV2Response

type ListApisUnbindedToAclPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]UnbindApiForAcl `json:"apis,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListApisUnbindedToAclPolicyV2Response Response Object

func (ListApisUnbindedToAclPolicyV2Response) String

type ListApisUnbindedToAppV2Request

type ListApisUnbindedToAppV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 应用id
	AppId string `json:"app_id"`

	// 环境id
	EnvId string `json:"env_id"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`
}

ListApisUnbindedToAppV2Request Request Object

func (ListApisUnbindedToAppV2Request) String

type ListApisUnbindedToAppV2Response

type ListApisUnbindedToAppV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的API列表
	Apis           *[]ApiOutline `json:"apis,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListApisUnbindedToAppV2Response Response Object

func (ListApisUnbindedToAppV2Response) String

type ListApisUnbindedToRequestThrottlingPolicyV2Request

type ListApisUnbindedToRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 流控策略编号
	ThrottleId string `json:"throttle_id"`

	// 环境的ID
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`
}

ListApisUnbindedToRequestThrottlingPolicyV2Request Request Object

func (ListApisUnbindedToRequestThrottlingPolicyV2Request) String

type ListApisUnbindedToRequestThrottlingPolicyV2Response

type ListApisUnbindedToRequestThrottlingPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]ApiForThrottle `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApisUnbindedToRequestThrottlingPolicyV2Response Response Object

func (ListApisUnbindedToRequestThrottlingPolicyV2Response) String

type ListApisV2Request

type ListApisV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API名称
	Name *string `json:"name,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 请求协议
	ReqProtocol *string `json:"req_protocol,omitempty"`

	// 请求方法
	ReqMethod *string `json:"req_method,omitempty"`

	// 请求路径
	ReqUri *string `json:"req_uri,omitempty"`

	// 授权类型
	AuthType *string `json:"auth_type,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API类型
	Type *int32 `json:"type,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前仅支持name,req_uri,vpc_channel_name。
	PreciseSearch *string `json:"precise_search,omitempty"`

	// 负载通道编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// 负载通道名称。
	VpcChannelName *string `json:"vpc_channel_name,omitempty"`
}

ListApisV2Request Request Object

func (ListApisV2Request) String

func (o ListApisV2Request) String() string

type ListApisV2Response

type ListApisV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的API列表
	Apis           *[]ApiInfoPerPage `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApisV2Response Response Object

func (ListApisV2Response) String

func (o ListApisV2Response) String() string

type ListAppCodesV2Request

type ListAppCodesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListAppCodesV2Request Request Object

func (ListAppCodesV2Request) String

func (o ListAppCodesV2Request) String() string

type ListAppCodesV2Response

type ListAppCodesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// App Code列表
	AppCodes       *[]AppCodeBaseInfo `json:"app_codes,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListAppCodesV2Response Response Object

func (ListAppCodesV2Response) String

func (o ListAppCodesV2Response) String() string

type ListAppConfigsV2Request

type ListAppConfigsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 应用配置名称
	ConfigName *string `json:"config_name,omitempty"`

	// 应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`
}

ListAppConfigsV2Request Request Object

func (ListAppConfigsV2Request) String

func (o ListAppConfigsV2Request) String() string

type ListAppConfigsV2Response

type ListAppConfigsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的应用配置列表
	Configs        *[]AppConfigInfoV2 `json:"configs,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListAppConfigsV2Response Response Object

func (ListAppConfigsV2Response) String

func (o ListAppConfigsV2Response) String() string

type ListAppQuotaBindableAppsRequest

type ListAppQuotaBindableAppsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 客户端配额编号
	AppQuotaId string `json:"app_quota_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`
}

ListAppQuotaBindableAppsRequest Request Object

func (ListAppQuotaBindableAppsRequest) String

type ListAppQuotaBindableAppsResponse

type ListAppQuotaBindableAppsResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 客户端应用列表
	Apps           *[]AppQuotaAppInfo `json:"apps,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListAppQuotaBindableAppsResponse Response Object

func (ListAppQuotaBindableAppsResponse) String

type ListAppQuotaBoundAppsRequest

type ListAppQuotaBoundAppsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 客户端配额编号
	AppQuotaId string `json:"app_quota_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 客户端应用名称
	AppName *string `json:"app_name,omitempty"`
}

ListAppQuotaBoundAppsRequest Request Object

func (ListAppQuotaBoundAppsRequest) String

type ListAppQuotaBoundAppsResponse

type ListAppQuotaBoundAppsResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 客户端应用列表
	Apps           *[]AppQuotaAppInfo `json:"apps,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListAppQuotaBoundAppsResponse Response Object

func (ListAppQuotaBoundAppsResponse) String

type ListAppQuotasRequest

type ListAppQuotasRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 客户端配额名称
	Name *string `json:"name,omitempty"`
}

ListAppQuotasRequest Request Object

func (ListAppQuotasRequest) String

func (o ListAppQuotasRequest) String() string

type ListAppQuotasResponse

type ListAppQuotasResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 客户端配额列表
	Quotas         *[]AppQuotaInfo `json:"quotas,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListAppQuotasResponse Response Object

func (ListAppQuotasResponse) String

func (o ListAppQuotasResponse) String() string

type ListAppsBindedToApiV2Request

type ListAppsBindedToApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// APP名称
	AppName *string `json:"app_name,omitempty"`

	// APP编号
	AppId *string `json:"app_id,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListAppsBindedToApiV2Request Request Object

func (ListAppsBindedToApiV2Request) String

type ListAppsBindedToApiV2Response

type ListAppsBindedToApiV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的API列表
	Auths          *[]ApiAuthInfo `json:"auths,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListAppsBindedToApiV2Response Response Object

func (ListAppsBindedToApiV2Response) String

type ListAppsV2Request

type ListAppsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// APP编号
	Id *string `json:"id,omitempty"`

	// APP名称
	Name *string `json:"name,omitempty"`

	// APP状态
	Status *int32 `json:"status,omitempty"`

	// APP的KEY
	AppKey *string `json:"app_key,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前仅支持name。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListAppsV2Request Request Object

func (ListAppsV2Request) String

func (o ListAppsV2Request) String() string

type ListAppsV2Response

type ListAppsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// APP列表
	Apps           *[]AppInfoWithBindNum `json:"apps,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListAppsV2Response Response Object

func (ListAppsV2Response) String

func (o ListAppsV2Response) String() string

type ListBackendInstancesV2Request

type ListBackendInstancesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 云服务器的名称。
	Name *string `json:"name,omitempty"`

	// 后端服务器组名称。
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前支持name,member_group_name。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListBackendInstancesV2Request Request Object

func (ListBackendInstancesV2Request) String

type ListBackendInstancesV2Response

type ListBackendInstancesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的云服务器列表
	Members        *[]VpcMemberInfo `json:"members,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListBackendInstancesV2Response Response Object

func (ListBackendInstancesV2Response) String

type ListCommandsRequest

type ListCommandsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 命令ID
	CommandId *int32 `json:"command_id,omitempty"`

	// 命令名称
	CommandName *string `json:"command_name,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListCommandsRequest Request Object

func (ListCommandsRequest) String

func (o ListCommandsRequest) String() string

type ListCommandsResponse

type ListCommandsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 命令列表
	Items          *[]Command `json:"items,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListCommandsResponse Response Object

func (ListCommandsResponse) String

func (o ListCommandsResponse) String() string

type ListCustomAuthorizersV2Request

type ListCustomAuthorizersV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 类型
	Type *string `json:"type,omitempty"`
}

ListCustomAuthorizersV2Request Request Object

func (ListCustomAuthorizersV2Request) String

type ListCustomAuthorizersV2Response

type ListCustomAuthorizersV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 自定义认证列表
	AuthorizerList *[]AuthorizerResp `json:"authorizer_list,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListCustomAuthorizersV2Response Response Object

func (ListCustomAuthorizersV2Response) String

type ListDatasourceColumnsRequest

type ListDatasourceColumnsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 数据源ID
	DatasourceId string `json:"datasource_id"`

	// 数据源所在任务位置 - SOURCE 数据源处于任务源端 - TARGET 数据源处于任务目标端
	Position ListDatasourceColumnsRequestPosition `json:"position"`

	// 数据库名称,只支持MRSHIVE,FIHIVE类型的数据源
	DbName *string `json:"db_name,omitempty"`

	// 字段所在的表名
	TableName *string `json:"table_name,omitempty"`
}

ListDatasourceColumnsRequest Request Object

func (ListDatasourceColumnsRequest) String

type ListDatasourceColumnsRequestPosition

type ListDatasourceColumnsRequestPosition struct {
	// contains filtered or unexported fields
}

func (ListDatasourceColumnsRequestPosition) MarshalJSON

func (c ListDatasourceColumnsRequestPosition) MarshalJSON() ([]byte, error)

func (*ListDatasourceColumnsRequestPosition) UnmarshalJSON

func (c *ListDatasourceColumnsRequestPosition) UnmarshalJSON(b []byte) error

func (ListDatasourceColumnsRequestPosition) Value added in v0.0.90

type ListDatasourceColumnsRequestPositionEnum

type ListDatasourceColumnsRequestPositionEnum struct {
	SOURCE ListDatasourceColumnsRequestPosition
	TARGET ListDatasourceColumnsRequestPosition
}

func GetListDatasourceColumnsRequestPositionEnum

func GetListDatasourceColumnsRequestPositionEnum() ListDatasourceColumnsRequestPositionEnum

type ListDatasourceColumnsResponse

type ListDatasourceColumnsResponse struct {

	// 返回的实体对象
	Columns        *[]ColumnInfo `json:"columns,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListDatasourceColumnsResponse Response Object

func (ListDatasourceColumnsResponse) String

type ListDatasourceTablesRequest

type ListDatasourceTablesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 数据源ID
	DatasourceId string `json:"datasource_id"`

	// 数据源所在任务位置 - SOURCE 数据源处于任务源端 - TARGET 数据源处于任务目标端
	Position ListDatasourceTablesRequestPosition `json:"position"`

	// 数据库名称,只支持MRSHIVE,FIHIVE类型的数据源
	DbName *string `json:"db_name,omitempty"`

	// 数据库模式,GAUSS100数据库使用
	DbSchema *string `json:"db_schema,omitempty"`

	// 表名模糊匹配过滤器
	Filter *string `json:"filter,omitempty"`
}

ListDatasourceTablesRequest Request Object

func (ListDatasourceTablesRequest) String

type ListDatasourceTablesRequestPosition

type ListDatasourceTablesRequestPosition struct {
	// contains filtered or unexported fields
}

func (ListDatasourceTablesRequestPosition) MarshalJSON

func (c ListDatasourceTablesRequestPosition) MarshalJSON() ([]byte, error)

func (*ListDatasourceTablesRequestPosition) UnmarshalJSON

func (c *ListDatasourceTablesRequestPosition) UnmarshalJSON(b []byte) error

func (ListDatasourceTablesRequestPosition) Value added in v0.0.90

type ListDatasourceTablesRequestPositionEnum

type ListDatasourceTablesRequestPositionEnum struct {
	SOURCE ListDatasourceTablesRequestPosition
	TARGET ListDatasourceTablesRequestPosition
}

func GetListDatasourceTablesRequestPositionEnum

func GetListDatasourceTablesRequestPositionEnum() ListDatasourceTablesRequestPositionEnum

type ListDatasourceTablesResponse

type ListDatasourceTablesResponse struct {

	// 数据源中所有的表名称
	Tables         *[]string `json:"tables,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListDatasourceTablesResponse Response Object

func (ListDatasourceTablesResponse) String

type ListDatasourcesRequest

type ListDatasourcesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询,分页的偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int32 `json:"offset,omitempty"`

	// 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS
	DatasourceType *ListDatasourcesRequestDatasourceType `json:"datasource_type,omitempty"`

	// 排序字段(CREATED_DATE)
	SortField *string `json:"sort_field,omitempty"`

	// 查询数据源排序的类型,增序还是降序,可为空
	SortType *ListDatasourcesRequestSortType `json:"sort_type,omitempty"`

	// 数据源名称,支持模糊匹配
	Name *string `json:"name,omitempty"`

	// 集成应用ID
	AppId *string `json:"app_id,omitempty"`

	// 连接器ID
	CustomPluginId *string `json:"custom_plugin_id,omitempty"`
}

ListDatasourcesRequest Request Object

func (ListDatasourcesRequest) String

func (o ListDatasourcesRequest) String() string

type ListDatasourcesRequestDatasourceType

type ListDatasourcesRequestDatasourceType struct {
	// contains filtered or unexported fields
}

func (ListDatasourcesRequestDatasourceType) MarshalJSON

func (c ListDatasourcesRequestDatasourceType) MarshalJSON() ([]byte, error)

func (*ListDatasourcesRequestDatasourceType) UnmarshalJSON

func (c *ListDatasourcesRequestDatasourceType) UnmarshalJSON(b []byte) error

func (ListDatasourcesRequestDatasourceType) Value added in v0.0.90

type ListDatasourcesRequestDatasourceTypeEnum

type ListDatasourcesRequestDatasourceTypeEnum struct {
	DWS        ListDatasourcesRequestDatasourceType
	MYSQL      ListDatasourcesRequestDatasourceType
	KAFKA      ListDatasourcesRequestDatasourceType
	API        ListDatasourcesRequestDatasourceType
	OBS        ListDatasourcesRequestDatasourceType
	SAP        ListDatasourcesRequestDatasourceType
	MRSHBASE   ListDatasourcesRequestDatasourceType
	MRSHDFS    ListDatasourcesRequestDatasourceType
	MRSHIVE    ListDatasourcesRequestDatasourceType
	WEBSOCKET  ListDatasourcesRequestDatasourceType
	SQLSERVER  ListDatasourcesRequestDatasourceType
	ORACLE     ListDatasourcesRequestDatasourceType
	POSTGRESQL ListDatasourcesRequestDatasourceType
	REDIS      ListDatasourcesRequestDatasourceType
	MONGODB    ListDatasourcesRequestDatasourceType
	DIS        ListDatasourcesRequestDatasourceType
	HL7        ListDatasourcesRequestDatasourceType
	RABBITMQ   ListDatasourcesRequestDatasourceType
	SNMP       ListDatasourcesRequestDatasourceType
	IBMMQ      ListDatasourcesRequestDatasourceType
	CUSTOMIZED ListDatasourcesRequestDatasourceType
	ACTIVEMQ   ListDatasourcesRequestDatasourceType
	ARTEMISMQ  ListDatasourcesRequestDatasourceType
	FTP        ListDatasourcesRequestDatasourceType
	HIVE       ListDatasourcesRequestDatasourceType
	HANA       ListDatasourcesRequestDatasourceType
	FIKAFKA    ListDatasourcesRequestDatasourceType
	MRSKAFKA   ListDatasourcesRequestDatasourceType
	FIHDFS     ListDatasourcesRequestDatasourceType
	FIHIVE     ListDatasourcesRequestDatasourceType
	GAUSS200   ListDatasourcesRequestDatasourceType
	GAUSS100   ListDatasourcesRequestDatasourceType
	LDAP       ListDatasourcesRequestDatasourceType
	DB2        ListDatasourcesRequestDatasourceType
	TAURUS     ListDatasourcesRequestDatasourceType
}

func GetListDatasourcesRequestDatasourceTypeEnum

func GetListDatasourcesRequestDatasourceTypeEnum() ListDatasourcesRequestDatasourceTypeEnum

type ListDatasourcesRequestSortType

type ListDatasourcesRequestSortType struct {
	// contains filtered or unexported fields
}

func (ListDatasourcesRequestSortType) MarshalJSON

func (c ListDatasourcesRequestSortType) MarshalJSON() ([]byte, error)

func (*ListDatasourcesRequestSortType) UnmarshalJSON

func (c *ListDatasourcesRequestSortType) UnmarshalJSON(b []byte) error

func (ListDatasourcesRequestSortType) Value added in v0.0.90

type ListDatasourcesRequestSortTypeEnum

type ListDatasourcesRequestSortTypeEnum struct {
	ASC  ListDatasourcesRequestSortType
	DESC ListDatasourcesRequestSortType
}

func GetListDatasourcesRequestSortTypeEnum

func GetListDatasourcesRequestSortTypeEnum() ListDatasourcesRequestSortTypeEnum

type ListDatasourcesResponse

type ListDatasourcesResponse struct {

	// 返回所有满足条件的对象个数
	Total *int64 `json:"total,omitempty"`

	// 返回对象的大小
	Size *int32 `json:"size,omitempty"`

	// 返回的实体对象
	Entities       *[]DataSourceRsp `json:"entities,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListDatasourcesResponse Response Object

func (ListDatasourcesResponse) String

func (o ListDatasourcesResponse) String() string

type ListDestinationsRequest

type ListDestinationsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 规则ID
	RuleId string `json:"rule_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListDestinationsRequest Request Object

func (ListDestinationsRequest) String

func (o ListDestinationsRequest) String() string

type ListDestinationsResponse

type ListDestinationsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 目标数据源列表
	Items          *[]Destination `json:"items,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListDestinationsResponse Response Object

func (ListDestinationsResponse) String

func (o ListDestinationsResponse) String() string

type ListDevicesInProductRequest

type ListDevicesInProductRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`
}

ListDevicesInProductRequest Request Object

func (ListDevicesInProductRequest) String

type ListDevicesInProductResponse

type ListDevicesInProductResponse struct {

	// 产品内设备数量
	Summary        *int32 `json:"summary,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDevicesInProductResponse Response Object

func (ListDevicesInProductResponse) String

type ListDevicesRequest

type ListDevicesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 设备归属的产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 设备归属的产品名称
	ProductName *string `json:"product_name,omitempty"`

	// 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64
	DeviceName *string `json:"device_name,omitempty"`

	// 设备客户端ID,平台生成的设备唯一标识
	ClientId *string `json:"client_id,omitempty"`

	// 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64
	NodeId *string `json:"node_id,omitempty"`

	// 节点类型 0-直连 1-网关 2-子设备,不传默认查询所有
	NodeType *int32 `json:"node_type,omitempty"`

	// 是否在线 0-未连接 1-在线 2-离线,支持传入多个值以逗号分隔
	OnlineStatus *string `json:"online_status,omitempty"`

	// 创建时间起始,格式timestamp(ms),使用UTC时区
	CreatedDateStart *int64 `json:"created_date_start,omitempty"`

	// 创建时间截止,格式timestamp(ms),使用UTC时区
	CreatedDateEnd *int64 `json:"created_date_end,omitempty"`

	// 标签
	Tag *string `json:"tag,omitempty"`
}

ListDevicesRequest Request Object

func (ListDevicesRequest) String

func (o ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 设备接入地址
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 设备接入SSL地址
	SslConnectAddress *string `json:"ssl_connect_address,omitempty"`

	// 设备接入IPV6地址
	Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"`

	// 设备接入IPV6 SSL地址
	Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"`

	// 设备ID列表
	Items          *[]Device `json:"items,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListDevicesResponse Response Object

func (ListDevicesResponse) String

func (o ListDevicesResponse) String() string

type ListDictionaryRequest

type ListDictionaryRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,大于等于0
	Offset *string `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *string `json:"limit,omitempty"`

	// 指定父字典编码,返回子字典列表信息,未指定时查询顶级字典列表信息
	ParentCode *string `json:"parent_code,omitempty"`

	// 通过code进行模糊匹配查询
	Code *string `json:"code,omitempty"`

	// 通过name进行模糊匹配查询
	Name *string `json:"name,omitempty"`
}

ListDictionaryRequest Request Object

func (ListDictionaryRequest) String

func (o ListDictionaryRequest) String() string

type ListDictionaryResponse

type ListDictionaryResponse struct {

	// 总数,与分页无关
	Total *int32 `json:"total,omitempty"`

	// 当前页的数量,小于等于请求里指定的limit
	Size *int32 `json:"size,omitempty"`

	// 字典列表
	Dictionaries   *[]Dictionary `json:"dictionaries,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListDictionaryResponse Response Object

func (ListDictionaryResponse) String

func (o ListDictionaryResponse) String() string

type ListDuplicateApisForAppV2Request

type ListDuplicateApisForAppV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用id
	AppId string `json:"app_id"`
}

ListDuplicateApisForAppV2Request Request Object

func (ListDuplicateApisForAppV2Request) String

type ListDuplicateApisForAppV2Response

type ListDuplicateApisForAppV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 应用下所有路径冲突的api信息列表
	Apis           *[]ApiDuplicationInfo `json:"apis,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListDuplicateApisForAppV2Response Response Object

func (ListDuplicateApisForAppV2Response) String

type ListEnvironmentVariablesV2Request

type ListEnvironmentVariablesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// API分组编号
	GroupId string `json:"group_id"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 变量名
	VariableName *string `json:"variable_name,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前仅支持variable_name。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListEnvironmentVariablesV2Request Request Object

func (ListEnvironmentVariablesV2Request) String

type ListEnvironmentVariablesV2Response

type ListEnvironmentVariablesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的环境变量列表
	Variables      *[]EnvVariableInfo `json:"variables,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListEnvironmentVariablesV2Response Response Object

func (ListEnvironmentVariablesV2Response) String

type ListEnvironmentsV2Request

type ListEnvironmentsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 环境名称
	Name *string `json:"name,omitempty"`
}

ListEnvironmentsV2Request Request Object

func (ListEnvironmentsV2Request) String

func (o ListEnvironmentsV2Request) String() string

type ListEnvironmentsV2Response

type ListEnvironmentsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的环境列表
	Envs           *[]EnvInfo `json:"envs,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListEnvironmentsV2Response Response Object

func (ListEnvironmentsV2Response) String

type ListFeaturesV2Request

type ListFeaturesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListFeaturesV2Request Request Object

func (ListFeaturesV2Request) String

func (o ListFeaturesV2Request) String() string

type ListFeaturesV2Response

type ListFeaturesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 实例特性列表
	Features       *[]FeatureInfoV2 `json:"features,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListFeaturesV2Response Response Object

func (ListFeaturesV2Response) String

func (o ListFeaturesV2Response) String() string

type ListInstanceTopicsRespTopics

type ListInstanceTopicsRespTopics struct {

	// 是否只更新策略。
	PoliciesOnly *bool `json:"policiesOnly,omitempty"`

	// topic名称。
	Name *string `json:"name,omitempty"`

	// 副本数,配置数据的可靠性。
	Replication *int32 `json:"replication,omitempty"`

	// topic分区数,设置消费的并发数。
	Partition *int32 `json:"partition,omitempty"`

	// 消息老化时间。
	RetentionTime *int32 `json:"retention_time,omitempty"`

	// 是否使用同步落盘。默认值为false。同步落盘会导致性能降低。
	SyncMessageFlush *bool `json:"sync_message_flush,omitempty"`

	// 是否开启同步复制,开启后,客户端生产消息时相应的也要设置acks=-1,否则不生效,默认关闭。
	SyncReplication *bool `json:"sync_replication,omitempty"`

	// 应用ID。
	AppId *string `json:"app_id,omitempty"`

	// 应用名称。
	AppName *string `json:"app_name,omitempty"`

	// 允许操作的权限。
	Permissions *[]string `json:"permissions,omitempty"`

	// 其他配置。
	ExternalConfigs *interface{} `json:"external_configs,omitempty"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 敏感字段。
	SensitiveWord *string `json:"sensitive_word,omitempty"`

	// topic类型。
	TopicType *int32 `json:"topic_type,omitempty"`
}

func (ListInstanceTopicsRespTopics) String

type ListLatelyApiStatisticsV2Request

type ListLatelyApiStatisticsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	// 最近统计时长,单位必须为h和m,比如1h和1m,分别代表最近1小时和最近1分钟
	Duration string `json:"duration"`
}

ListLatelyApiStatisticsV2Request Request Object

func (ListLatelyApiStatisticsV2Request) String

type ListLatelyApiStatisticsV2Response

type ListLatelyApiStatisticsV2Response struct {

	// 响应码
	Code *string `json:"code,omitempty"`

	// 开始时间的UTC的时间戳
	StartTime *int64 `json:"start_time,omitempty"`

	// 截止时间的UTC的时间戳
	EndTime *int64 `json:"end_time,omitempty"`

	// 统计指标的数据结构结构体
	List           *[]StatisticsApi `json:"list,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListLatelyApiStatisticsV2Response Response Object

func (ListLatelyApiStatisticsV2Response) String

type ListLiveDataApiDeploymentHistoryV2Request

type ListLiveDataApiDeploymentHistoryV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 后端API的编号
	LdApiId string `json:"ld_api_id"`
}

ListLiveDataApiDeploymentHistoryV2Request Request Object

func (ListLiveDataApiDeploymentHistoryV2Request) String

type ListLiveDataApiDeploymentHistoryV2Response

type ListLiveDataApiDeploymentHistoryV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的后端API部署结果对象列表
	Histories      *[]LdApiDeployHistoryInfo `json:"histories,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

ListLiveDataApiDeploymentHistoryV2Response Response Object

func (ListLiveDataApiDeploymentHistoryV2Response) String

type ListLiveDataApiTestHistoryV2Request

type ListLiveDataApiTestHistoryV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 后端API的编号
	LdApiId string `json:"ld_api_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListLiveDataApiTestHistoryV2Request Request Object

func (ListLiveDataApiTestHistoryV2Request) String

type ListLiveDataApiTestHistoryV2Response

type ListLiveDataApiTestHistoryV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的测试结果对象列表
	Histories      *[]LdApiTestHistoryInfoV2 `json:"histories,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

ListLiveDataApiTestHistoryV2Response Response Object

func (ListLiveDataApiTestHistoryV2Response) String

type ListLiveDataApiV2Request

type ListLiveDataApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 后端API归属的集成应用编号
	AppId *string `json:"app_id,omitempty"`

	// 后端API归属的集成应用名称
	AppName *string `json:"app_name,omitempty"`

	// 后端API名称
	Name *string `json:"name,omitempty"`

	// 后端API状态,支持1,3,4,分别表示待开发,开发中和已部署状态
	Status *string `json:"status,omitempty"`

	// 后端API请求路径
	Path *string `json:"path,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  当前支持name,path,status。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListLiveDataApiV2Request Request Object

func (ListLiveDataApiV2Request) String

func (o ListLiveDataApiV2Request) String() string

type ListLiveDataApiV2Response

type ListLiveDataApiV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的API列表
	Apis           *[]LdApiInfo `json:"apis,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListLiveDataApiV2Response Response Object

func (ListLiveDataApiV2Response) String

func (o ListLiveDataApiV2Response) String() string

type ListLiveDataDataSourcesV2Request

type ListLiveDataDataSourcesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 应用编号
	AppId string `json:"app_id"`

	// 数据源名称
	Name *string `json:"name,omitempty"`
}

ListLiveDataDataSourcesV2Request Request Object

func (ListLiveDataDataSourcesV2Request) String

type ListLiveDataDataSourcesV2Response

type ListLiveDataDataSourcesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 数据源列表
	DataSources    *[]LdDatasourceInfo `json:"data_sources,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListLiveDataDataSourcesV2Response Response Object

func (ListLiveDataDataSourcesV2Response) String

type ListLiveDataQuotaV2Request

type ListLiveDataQuotaV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

ListLiveDataQuotaV2Request Request Object

func (ListLiveDataQuotaV2Request) String

type ListLiveDataQuotaV2Response

type ListLiveDataQuotaV2Response struct {

	// 数据源配额
	Datasource *string `json:"datasource,omitempty"`

	// 后端api配额
	Api *string `json:"api,omitempty"`

	// 脚本配额
	Scripts *string `json:"scripts,omitempty"`

	// 已使用的数据源数量
	DatasourceUsed *string `json:"datasource_used,omitempty"`

	// 已使用的后端api数量
	ApiUsed        *string `json:"api_used,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListLiveDataQuotaV2Response Response Object

func (ListLiveDataQuotaV2Response) String

type ListMemberGroupsRequest

type ListMemberGroupsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 字典编码。  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端云服务组的名称
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  当前支持member_group_name。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListMemberGroupsRequest Request Object

func (ListMemberGroupsRequest) String

func (o ListMemberGroupsRequest) String() string

type ListMemberGroupsResponse

type ListMemberGroupsResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// VPC通道后端服务器组列表
	MemberGroups   *[]MemberGroupInfo `json:"member_groups,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListMemberGroupsResponse Response Object

func (ListMemberGroupsResponse) String

func (o ListMemberGroupsResponse) String() string

type ListMonitorInfosRequest

type ListMonitorInfosRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于1
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 需要搜索的任务名称,支持模糊搜索,大小写敏感,非必填参数,如果为空,搜索所有任务
	TaskName *string `json:"task_name,omitempty"`

	// 需要搜索任务的执行状态, 只允许如下枚举值:UNSTARTED-未启动, WAITING-等待执行,RUNNING-执行中, SUCCESS-执行成功, CANCELLED-任务取消, ERROR-执行异常</br> 非必填参数,如果为空,搜索所有任务
	ExecuteStatus *ListMonitorInfosRequestExecuteStatus `json:"execute_status,omitempty"`
}

ListMonitorInfosRequest Request Object

func (ListMonitorInfosRequest) String

func (o ListMonitorInfosRequest) String() string

type ListMonitorInfosRequestExecuteStatus

type ListMonitorInfosRequestExecuteStatus struct {
	// contains filtered or unexported fields
}

func (ListMonitorInfosRequestExecuteStatus) MarshalJSON

func (c ListMonitorInfosRequestExecuteStatus) MarshalJSON() ([]byte, error)

func (*ListMonitorInfosRequestExecuteStatus) UnmarshalJSON

func (c *ListMonitorInfosRequestExecuteStatus) UnmarshalJSON(b []byte) error

func (ListMonitorInfosRequestExecuteStatus) Value added in v0.0.90

type ListMonitorInfosResponse

type ListMonitorInfosResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 当前页监控信息数量
	Size *int32 `json:"size,omitempty"`

	// 任务监控信息当前页元素
	Entities       *[]TaskMonitorInfo `json:"entities,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListMonitorInfosResponse Response Object

func (ListMonitorInfosResponse) String

func (o ListMonitorInfosResponse) String() string

type ListMonitorLogRequest

type ListMonitorLogRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于1
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 日志查询的起始时间,格式timestamp(ms),使用UTC时区
	BeginTime *int64 `json:"begin_time,omitempty"`

	// 日志查询的结束时间,格式timestamp(ms),使用UTC时区
	EndTime *int64 `json:"end_time,omitempty"`
}

ListMonitorLogRequest Request Object

func (ListMonitorLogRequest) String

func (o ListMonitorLogRequest) String() string

type ListMonitorLogResponse

type ListMonitorLogResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 当前页日志数量
	Size *int32 `json:"size,omitempty"`

	// 任务监控日志当前页元素
	Entities       *[]TaskMonitorLog `json:"entities,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListMonitorLogResponse Response Object

func (ListMonitorLogResponse) String

func (o ListMonitorLogResponse) String() string

type ListMqsInstanceRequest

type ListMqsInstanceRequest struct {

	// 是否包含内部的实例。include_internal参数必须为true。
	IncludeInternal ListMqsInstanceRequestIncludeInternal `json:"include_internal"`
}

ListMqsInstanceRequest Request Object

func (ListMqsInstanceRequest) String

func (o ListMqsInstanceRequest) String() string

type ListMqsInstanceRequestIncludeInternal

type ListMqsInstanceRequestIncludeInternal struct {
	// contains filtered or unexported fields
}

func (ListMqsInstanceRequestIncludeInternal) MarshalJSON

func (c ListMqsInstanceRequestIncludeInternal) MarshalJSON() ([]byte, error)

func (*ListMqsInstanceRequestIncludeInternal) UnmarshalJSON

func (c *ListMqsInstanceRequestIncludeInternal) UnmarshalJSON(b []byte) error

func (ListMqsInstanceRequestIncludeInternal) Value added in v0.0.90

type ListMqsInstanceRequestIncludeInternalEnum

type ListMqsInstanceRequestIncludeInternalEnum struct {
	TRUE ListMqsInstanceRequestIncludeInternal
}

func GetListMqsInstanceRequestIncludeInternalEnum

func GetListMqsInstanceRequestIncludeInternalEnum() ListMqsInstanceRequestIncludeInternalEnum

type ListMqsInstanceResponse

type ListMqsInstanceResponse struct {

	// 实例列表
	Instances *[]ShowInstanceResp `json:"instances,omitempty"`

	// 实例数量。
	InstanceNum    *int32 `json:"instance_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListMqsInstanceResponse Response Object

func (ListMqsInstanceResponse) String

func (o ListMqsInstanceResponse) String() string

type ListMqsInstanceTopicsRequest

type ListMqsInstanceTopicsRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 应用名称。
	AppName *string `json:"app_name,omitempty"`

	// Topic名称。
	Name *string `json:"name,omitempty"`

	// 权限类型。 - all:发布+订阅 - pub:发布 - sub:订阅
	AccessPolicy *ListMqsInstanceTopicsRequestAccessPolicy `json:"access_policy,omitempty"`

	// 分页查询大小。默认查询所有的topic。
	Limit *string `json:"limit,omitempty"`

	// 分页查询的偏移量。默认值是0。
	Offset *string `json:"offset,omitempty"`
}

ListMqsInstanceTopicsRequest Request Object

func (ListMqsInstanceTopicsRequest) String

type ListMqsInstanceTopicsRequestAccessPolicy

type ListMqsInstanceTopicsRequestAccessPolicy struct {
	// contains filtered or unexported fields
}

func (ListMqsInstanceTopicsRequestAccessPolicy) MarshalJSON

func (*ListMqsInstanceTopicsRequestAccessPolicy) UnmarshalJSON

func (c *ListMqsInstanceTopicsRequestAccessPolicy) UnmarshalJSON(b []byte) error

func (ListMqsInstanceTopicsRequestAccessPolicy) Value added in v0.0.90

type ListMqsInstanceTopicsResponse

type ListMqsInstanceTopicsResponse struct {

	// topic的总数。
	Total *int32 `json:"total,omitempty"`

	// 当前查询的topic数量。
	Size *int32 `json:"size,omitempty"`

	// 允许操作的权限。
	Permissions *[]string `json:"permissions,omitempty"`

	// Topic列表。
	Topics *[]ListInstanceTopicsRespTopics `json:"topics,omitempty"`

	// 剩余分区数。
	RemainPartitions *int32 `json:"remain_partitions,omitempty"`

	// 分区总数。
	MaxPartitions  *int32 `json:"max_partitions,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListMqsInstanceTopicsResponse Response Object

func (ListMqsInstanceTopicsResponse) String

type ListNotificationRequest

type ListNotificationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询,分页的偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int32 `json:"offset,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`
}

ListNotificationRequest Request Object

func (ListNotificationRequest) String

func (o ListNotificationRequest) String() string

type ListNotificationResponse

type ListNotificationResponse struct {

	// 总数
	Total *int64 `json:"total,omitempty"`

	// 本次返回数量
	Size *int64 `json:"size,omitempty"`

	// 订阅管理列表
	Items          *[]NotificationResponseBody `json:"items,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

ListNotificationResponse Response Object

func (ListNotificationResponse) String

func (o ListNotificationResponse) String() string

type ListProductTemplatesRequest

type ListProductTemplatesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 产品模板ID
	Id *int32 `json:"id,omitempty"`

	// 产品模板名称
	Name *string `json:"name,omitempty"`

	// 产品模板状态 0-启用 1-停用
	Status *ListProductTemplatesRequestStatus `json:"status,omitempty"`

	// 创建用户名
	CreatedUserName *string `json:"created_user_name,omitempty"`

	// 创建时间起始,格式timestamp(ms),使用UTC时区
	CreatedDateStart *int64 `json:"created_date_start,omitempty"`

	// 创建时间截止,格式timestamp(ms),使用UTC时区
	CreatedDateEnd *int64 `json:"created_date_end,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListProductTemplatesRequest Request Object

func (ListProductTemplatesRequest) String

type ListProductTemplatesRequestStatus

type ListProductTemplatesRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListProductTemplatesRequestStatus) MarshalJSON

func (c ListProductTemplatesRequestStatus) MarshalJSON() ([]byte, error)

func (*ListProductTemplatesRequestStatus) UnmarshalJSON

func (c *ListProductTemplatesRequestStatus) UnmarshalJSON(b []byte) error

func (ListProductTemplatesRequestStatus) Value added in v0.0.90

type ListProductTemplatesRequestStatusEnum

type ListProductTemplatesRequestStatusEnum struct {
	E_0 ListProductTemplatesRequestStatus
	E_1 ListProductTemplatesRequestStatus
}

func GetListProductTemplatesRequestStatusEnum

func GetListProductTemplatesRequestStatusEnum() ListProductTemplatesRequestStatusEnum

type ListProductTemplatesResponse

type ListProductTemplatesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 产品模板信息
	Items          *[]ProductTemplate `json:"items,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListProductTemplatesResponse Response Object

func (ListProductTemplatesResponse) String

type ListProductTopicsRequest

type ListProductTopicsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListProductTopicsRequest Request Object

func (ListProductTopicsRequest) String

func (o ListProductTopicsRequest) String() string

type ListProductTopicsResponse

type ListProductTopicsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 产品主题列表
	Items          *[]ProductTopic `json:"items,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListProductTopicsResponse Response Object

func (ListProductTopicsResponse) String

func (o ListProductTopicsResponse) String() string

type ListProductsRequest

type ListProductsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 产品ID
	Id *string `json:"id,omitempty"`

	// 产品名称
	Name *string `json:"name,omitempty"`

	// 厂商ID
	ManufacturerId *string `json:"manufacturer_id,omitempty"`

	// 厂商名称
	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	// 型号
	Model *string `json:"model,omitempty"`

	// 产品的设备类型,默认Default
	DeviceType *string `json:"device_type,omitempty"`

	// 产品类型,0-普通产品(不支持子设备) 1-网关产品
	ProductType *ListProductsRequestProductType `json:"product_type,omitempty"`

	// 产品的协议类型 0-mqtt 2-modbus 4-opcua
	ProtocolType *ListProductsRequestProtocolType `json:"protocol_type,omitempty"`

	// 创建用户
	CreatedUserName *string `json:"created_user_name,omitempty"`

	// 创建时间起始,格式timestamp(ms),使用UTC时区
	CreatedDateStart *int64 `json:"created_date_start,omitempty"`

	// 创建时间截止,格式timestamp(ms),使用UTC时区
	CreatedDateEnd *int64 `json:"created_date_end,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品)
	ProductSerial *string `json:"product_serial,omitempty"`
}

ListProductsRequest Request Object

func (ListProductsRequest) String

func (o ListProductsRequest) String() string

type ListProductsRequestProductType

type ListProductsRequestProductType struct {
	// contains filtered or unexported fields
}

func (ListProductsRequestProductType) MarshalJSON

func (c ListProductsRequestProductType) MarshalJSON() ([]byte, error)

func (*ListProductsRequestProductType) UnmarshalJSON

func (c *ListProductsRequestProductType) UnmarshalJSON(b []byte) error

func (ListProductsRequestProductType) Value added in v0.0.90

type ListProductsRequestProductTypeEnum

type ListProductsRequestProductTypeEnum struct {
	E_0 ListProductsRequestProductType
	E_1 ListProductsRequestProductType
}

func GetListProductsRequestProductTypeEnum

func GetListProductsRequestProductTypeEnum() ListProductsRequestProductTypeEnum

type ListProductsRequestProtocolType

type ListProductsRequestProtocolType struct {
	// contains filtered or unexported fields
}

func (ListProductsRequestProtocolType) MarshalJSON

func (c ListProductsRequestProtocolType) MarshalJSON() ([]byte, error)

func (*ListProductsRequestProtocolType) UnmarshalJSON

func (c *ListProductsRequestProtocolType) UnmarshalJSON(b []byte) error

func (ListProductsRequestProtocolType) Value added in v0.0.90

type ListProductsResponse

type ListProductsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 产品列表
	Items          *[]Product `json:"items,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListProductsResponse Response Object

func (ListProductsResponse) String

func (o ListProductsResponse) String() string

type ListProjectCofigsV2Request

type ListProjectCofigsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListProjectCofigsV2Request Request Object

func (ListProjectCofigsV2Request) String

type ListProjectCofigsV2Response

type ListProjectCofigsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 配额列表
	Configs        *[]Config `json:"configs,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListProjectCofigsV2Response Response Object

func (ListProjectCofigsV2Response) String

type ListProjectVpcChannelsV2Request

type ListProjectVpcChannelsV2Request struct {

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的名称
	Name *string `json:"name,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前支持name,member_group_name。
	PreciseSearch *string `json:"precise_search,omitempty"`

	// 后端服务地址。默认精确查询,不支持模糊查询。
	MemberHost *string `json:"member_host,omitempty"`

	// 后端服务器端口
	MemberPort *int32 `json:"member_port,omitempty"`

	// 后端服务器组名称
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`

	// 是否返回后端实例列表
	MembersReturn *bool `json:"members_return,omitempty"`
}

ListProjectVpcChannelsV2Request Request Object

func (ListProjectVpcChannelsV2Request) String

type ListProjectVpcChannelsV2Response

type ListProjectVpcChannelsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的实例VPC通道列表
	ProjectVpcChannels *[]ProjectVpcChannelInfo `json:"project_vpc_channels,omitempty"`
	HttpStatusCode     int                      `json:"-"`
}

ListProjectVpcChannelsV2Response Response Object

func (ListProjectVpcChannelsV2Response) String

type ListPropertiesRequest

type ListPropertiesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称
	PropertyName *string `json:"property_name,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListPropertiesRequest Request Object

func (ListPropertiesRequest) String

func (o ListPropertiesRequest) String() string

type ListPropertiesResponse

type ListPropertiesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 属性列表
	Items          *[]PropertyResponseBody `json:"items,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListPropertiesResponse Response Object

func (ListPropertiesResponse) String

func (o ListPropertiesResponse) String() string

type ListRequestPropertiesRequest

type ListRequestPropertiesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 请求属性ID
	RequestId *int32 `json:"request_id,omitempty"`

	// 请求属性名称
	RequestName *string `json:"request_name,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListRequestPropertiesRequest Request Object

func (ListRequestPropertiesRequest) String

type ListRequestPropertiesResponse

type ListRequestPropertiesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 属性列表
	Items          *[]Property `json:"items,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListRequestPropertiesResponse Response Object

func (ListRequestPropertiesResponse) String

type ListRequestThrottlingPoliciesBindedToApiV2Request

type ListRequestThrottlingPoliciesBindedToApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	ApiId string `json:"api_id"`

	// 流控策略的编号
	ThrottleId *string `json:"throttle_id,omitempty"`

	// 流控策略的名称
	ThrottleName *string `json:"throttle_name,omitempty"`

	// 绑定的环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListRequestThrottlingPoliciesBindedToApiV2Request Request Object

func (ListRequestThrottlingPoliciesBindedToApiV2Request) String

type ListRequestThrottlingPoliciesBindedToApiV2Response

type ListRequestThrottlingPoliciesBindedToApiV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的流控策略列表
	Throttles      *[]ThrottleForApi `json:"throttles,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListRequestThrottlingPoliciesBindedToApiV2Response Response Object

func (ListRequestThrottlingPoliciesBindedToApiV2Response) String

type ListRequestThrottlingPolicyV2Request

type ListRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 流控策略编号
	Id *string `json:"id,omitempty"`

	// 流控策略名称
	Name *string `json:"name,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前仅支持name。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListRequestThrottlingPolicyV2Request Request Object

func (ListRequestThrottlingPolicyV2Request) String

type ListRequestThrottlingPolicyV2Response

type ListRequestThrottlingPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的流控策略列表
	Throttles      *[]ThrottlesInfo `json:"throttles,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListRequestThrottlingPolicyV2Response Response Object

func (ListRequestThrottlingPolicyV2Response) String

type ListResponsePropertiesRequest

type ListResponsePropertiesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 响应属性ID
	ResponseId *int32 `json:"response_id,omitempty"`

	// 响应属性名称
	ResponseName *string `json:"response_name,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListResponsePropertiesRequest Request Object

func (ListResponsePropertiesRequest) String

type ListResponsePropertiesResponse

type ListResponsePropertiesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 属性列表
	Items          *[]Property `json:"items,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListResponsePropertiesResponse Response Object

func (ListResponsePropertiesResponse) String

type ListRomaAppRequest

type ListRomaAppRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,大于等于0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 查询收藏的应用 - 未提供时,查询当前用户有权限的所有应用 - 为true时,获取收藏的应用 - 为false时,获取未被收藏的应用
	Favorite *bool `json:"favorite,omitempty"`

	// 获取拥有指定权限应用
	AuthRole *string `json:"auth_role,omitempty"`

	// 应用名称,模糊匹配
	Name *string `json:"name,omitempty"`

	// 查询有权限访问的应用 - 未提供时,查询当前用户有权限的所有应用 - 为true时,查询当前用户创建的应用 - 为false时,查询非当前用户创建的有权限的应用,比如其它人共享的应用
	Owner *bool `json:"owner,omitempty"`

	// 从当前调用者有权限的所有应用中过滤出指定用户名有权限的应用
	UserName *string `json:"user_name,omitempty"`
}

ListRomaAppRequest Request Object

func (ListRomaAppRequest) String

func (o ListRomaAppRequest) String() string

type ListRomaAppResponse

type ListRomaAppResponse struct {

	// 总的数量
	Total *int32 `json:"total,omitempty"`

	// 当前页数量
	Size *int32 `json:"size,omitempty"`

	// 创建用户信息
	Apps           *[]ServerAppInfo `json:"apps,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListRomaAppResponse Response Object

func (ListRomaAppResponse) String

func (o ListRomaAppResponse) String() string

type ListRulesRequest

type ListRulesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 规则名称
	Name *string `json:"name,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListRulesRequest Request Object

func (ListRulesRequest) String

func (o ListRulesRequest) String() string

type ListRulesResponse

type ListRulesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 规则列表
	Items          *[]Rule `json:"items,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListRulesResponse Response Object

func (ListRulesResponse) String

func (o ListRulesResponse) String() string

type ListServicesRequest

type ListServicesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 服务ID
	ServiceId *int32 `json:"service_id,omitempty"`

	// 服务名称
	ServiceName *string `json:"service_name,omitempty"`

	// 归属产品模板ID,product_template_id和product_id二选一
	ProductTemplateId *int32 `json:"product_template_id,omitempty"`

	// 归属产品ID,product_template_id和product_id二选一
	ProductId *int32 `json:"product_id,omitempty"`

	// 创建用户名
	CreatedUserName *string `json:"created_user_name,omitempty"`

	// 创建时间起始,格式timestamp(ms),使用UTC时区
	CreatedDateStart *int64 `json:"created_date_start,omitempty"`

	// 创建时间截止,格式timestamp(ms)。使用UTC时区
	CreatedDateEnd *int64 `json:"created_date_end,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListServicesRequest Request Object

func (ListServicesRequest) String

func (o ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 服务列表
	Items          *[]Service `json:"items,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListServicesResponse Response Object

func (ListServicesResponse) String

func (o ListServicesResponse) String() string

type ListShadowsRequest

type ListShadowsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`
}

ListShadowsRequest Request Object

func (ListShadowsRequest) String

func (o ListShadowsRequest) String() string

type ListShadowsResponse

type ListShadowsResponse struct {
	Body           *[]ShadowService `json:"body,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListShadowsResponse Response Object

func (ListShadowsResponse) String

func (o ListShadowsResponse) String() string

type ListSignatureKeysBindedToApiV2Request

type ListSignatureKeysBindedToApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// API的编号
	ApiId string `json:"api_id"`

	// 签名密钥的编号
	SignId *string `json:"sign_id,omitempty"`

	// 签名密钥的名称
	SignName *string `json:"sign_name,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListSignatureKeysBindedToApiV2Request Request Object

func (ListSignatureKeysBindedToApiV2Request) String

type ListSignatureKeysBindedToApiV2Response

type ListSignatureKeysBindedToApiV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// API与签名密钥的绑定关系列表
	Bindings       *[]SignApiBindingInfo `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListSignatureKeysBindedToApiV2Response Response Object

func (ListSignatureKeysBindedToApiV2Response) String

type ListSignatureKeysV2Request

type ListSignatureKeysV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 签名密钥编号
	Id *string `json:"id,omitempty"`

	// 签名密钥名称
	Name *string `json:"name,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前仅支持name。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListSignatureKeysV2Request Request Object

func (ListSignatureKeysV2Request) String

type ListSignatureKeysV2Response

type ListSignatureKeysV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的签名密钥列表
	Signs          *[]SignatureWithBindNum `json:"signs,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListSignatureKeysV2Response Response Object

func (ListSignatureKeysV2Response) String

type ListSourcesRequest

type ListSourcesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 规则ID
	RuleId string `json:"rule_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListSourcesRequest Request Object

func (ListSourcesRequest) String

func (o ListSourcesRequest) String() string

type ListSourcesResponse

type ListSourcesResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 数据源列表
	Items          *[]Source `json:"items,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListSourcesResponse Response Object

func (ListSourcesResponse) String

func (o ListSourcesResponse) String() string

type ListSpecialThrottlingConfigurationsV2Request

type ListSpecialThrottlingConfigurationsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 特殊流控类型:APP, USER
	ObjectType *string `json:"object_type,omitempty"`

	// 筛选的特殊应用名称
	AppName *string `json:"app_name,omitempty"`
}

ListSpecialThrottlingConfigurationsV2Request Request Object

func (ListSpecialThrottlingConfigurationsV2Request) String

type ListSpecialThrottlingConfigurationsV2Response

type ListSpecialThrottlingConfigurationsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的特殊配置列表
	ThrottleSpecials *[]ThrottleSpecialInfo `json:"throttle_specials,omitempty"`
	HttpStatusCode   int                    `json:"-"`
}

ListSpecialThrottlingConfigurationsV2Response Response Object

func (ListSpecialThrottlingConfigurationsV2Response) String

type ListStatisticsApiRequest

type ListStatisticsApiRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 查询模式,默认为INSTANCE * ALL:实例下所有调用应用,要求主帐号权限 * APP:指定集成应用 * API:指定API * INSTANCE:实例,默认值  注意:mode = APP或ALL时,接口响应中不返回cycle,api_id,group_id,provider,register_time,status字段
	Mode *ListStatisticsApiRequestMode `json:"mode,omitempty"`

	// 集成应用编号,查询模式为APP时必填
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API编号,查询模式为API时必填
	ApiId *string `json:"api_id,omitempty"`

	// 查询统计周期 * minute:分钟 * hour:小时 * day:天
	Cycle *ListStatisticsApiRequestCycle `json:"cycle,omitempty"`

	// 开始时间,格式:2020-06-18 10:00:01
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间,格式:2020-06-18 23:00:00
	EndTime *string `json:"end_time,omitempty"`

	// 统计时长格式:整数+单位(m、h),m:分钟,h:小时,可支持小时与分钟的组合。例如:1h或2h45m * 同时给定start_time和end_time优先查询[start_time, end_time] * start_time不存在,end_time和duration存在且合法,则查询区间为[end_time - duration, end_time] * start_time和end_time不存在,duration存在且合法,令end_time=now,则查询区间为[end_time - duration, end_time] * start_time,end_time和duration都不存在,报错missing time range parameters。 * duration最长查询范围:小时最长支持72小时,分钟最长支持90分钟。
	Duration *string `json:"duration,omitempty"`
}

ListStatisticsApiRequest Request Object

func (ListStatisticsApiRequest) String

func (o ListStatisticsApiRequest) String() string

type ListStatisticsApiRequestCycle

type ListStatisticsApiRequestCycle struct {
	// contains filtered or unexported fields
}

func (ListStatisticsApiRequestCycle) MarshalJSON

func (c ListStatisticsApiRequestCycle) MarshalJSON() ([]byte, error)

func (*ListStatisticsApiRequestCycle) UnmarshalJSON

func (c *ListStatisticsApiRequestCycle) UnmarshalJSON(b []byte) error

func (ListStatisticsApiRequestCycle) Value added in v0.0.90

type ListStatisticsApiRequestCycleEnum

type ListStatisticsApiRequestCycleEnum struct {
	MINUTE ListStatisticsApiRequestCycle
	HOUR   ListStatisticsApiRequestCycle
	DAY    ListStatisticsApiRequestCycle
}

func GetListStatisticsApiRequestCycleEnum

func GetListStatisticsApiRequestCycleEnum() ListStatisticsApiRequestCycleEnum

type ListStatisticsApiRequestMode

type ListStatisticsApiRequestMode struct {
	// contains filtered or unexported fields
}

func (ListStatisticsApiRequestMode) MarshalJSON

func (c ListStatisticsApiRequestMode) MarshalJSON() ([]byte, error)

func (*ListStatisticsApiRequestMode) UnmarshalJSON

func (c *ListStatisticsApiRequestMode) UnmarshalJSON(b []byte) error

func (ListStatisticsApiRequestMode) Value added in v0.0.90

type ListStatisticsApiResponse

type ListStatisticsApiResponse struct {

	// 响应码
	Code *string `json:"code,omitempty"`

	// 开始时间的UTC的时间戳
	StartTime *int64 `json:"start_time,omitempty"`

	// 截止时间的UTC的时间戳
	EndTime *int64 `json:"end_time,omitempty"`

	// 统计指标的数据结构结构体
	List           *[]StatisticsApi `json:"list,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListStatisticsApiResponse Response Object

func (ListStatisticsApiResponse) String

func (o ListStatisticsApiResponse) String() string

type ListSubsetsRequest

type ListSubsetsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 设备名称
	DeviceName *string `json:"device_name,omitempty"`

	// 设备状态 0-启动 1-停用
	Status *ListSubsetsRequestStatus `json:"status,omitempty"`

	// 设备状态 0-未连接 1-在线 2-离线
	OnlineStatus *ListSubsetsRequestOnlineStatus `json:"online_status,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ListSubsetsRequest Request Object

func (ListSubsetsRequest) String

func (o ListSubsetsRequest) String() string

type ListSubsetsRequestOnlineStatus

type ListSubsetsRequestOnlineStatus struct {
	// contains filtered or unexported fields
}

func (ListSubsetsRequestOnlineStatus) MarshalJSON

func (c ListSubsetsRequestOnlineStatus) MarshalJSON() ([]byte, error)

func (*ListSubsetsRequestOnlineStatus) UnmarshalJSON

func (c *ListSubsetsRequestOnlineStatus) UnmarshalJSON(b []byte) error

func (ListSubsetsRequestOnlineStatus) Value added in v0.0.90

type ListSubsetsRequestStatus

type ListSubsetsRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListSubsetsRequestStatus) MarshalJSON

func (c ListSubsetsRequestStatus) MarshalJSON() ([]byte, error)

func (*ListSubsetsRequestStatus) UnmarshalJSON

func (c *ListSubsetsRequestStatus) UnmarshalJSON(b []byte) error

func (ListSubsetsRequestStatus) Value added in v0.0.90

func (c ListSubsetsRequestStatus) Value() int32

type ListSubsetsRequestStatusEnum

type ListSubsetsRequestStatusEnum struct {
	E_0 ListSubsetsRequestStatus
	E_1 ListSubsetsRequestStatus
}

func GetListSubsetsRequestStatusEnum

func GetListSubsetsRequestStatusEnum() ListSubsetsRequestStatusEnum

type ListSubsetsResponse

type ListSubsetsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 设备ID列表
	Items          *[]SubDevice `json:"items,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListSubsetsResponse Response Object

func (ListSubsetsResponse) String

func (o ListSubsetsResponse) String() string

type ListTagsV2Request

type ListTagsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListTagsV2Request Request Object

func (ListTagsV2Request) String

func (o ListTagsV2Request) String() string

type ListTagsV2Response

type ListTagsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 标签列表
	Tags           *[]string `json:"tags,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListTagsV2Response Response Object

func (ListTagsV2Response) String

func (o ListTagsV2Response) String() string

type ListTasksRequest

type ListTasksRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询,分页的偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int32 `json:"offset,omitempty"`

	// 任务ID,可为空
	TaskId *string `json:"task_id,omitempty"`

	// 模糊匹配任务名称,可为空
	Name *string `json:"name,omitempty"`

	// 任务状态,可为空 - 0 (停止/未启动) - 1 (运行中)
	Status *ListTasksRequestStatus `json:"status,omitempty"`

	// 任务类型 - realtime (实时) - timing (定时)
	TaskType *ListTasksRequestTaskType `json:"task_type,omitempty"`

	// 源端数据源ID,可为空
	SourceDatasourceId *string `json:"source_datasource_id,omitempty"`

	// 目标端数据源ID,可为空
	TargetDatasourceId *string `json:"target_datasource_id,omitempty"`

	// 查询排序的条件
	SortField *ListTasksRequestSortField `json:"sort_field,omitempty"`

	// 排序类型,可为空 - ASC (升序) - DESC (降序)
	SortType *ListTasksRequestSortType `json:"sort_type,omitempty"`

	// 执行状态,可为空 - UNSTARTED (未启动) - WAITING (等待执行) - RUNNING (执行中) - SUCCESS (执行成功) - CANCELLED (任务取消) - ERROR (执行异常)
	ExecuteStatus *string `json:"execute_status,omitempty"`

	// 源端数据源所属集成应用ID,可为空
	SourceAppId *string `json:"source_app_id,omitempty"`

	// 目标端数据源所属集成应用ID,可为空
	TargetAppId *string `json:"target_app_id,omitempty"`

	// 任务标签,可为空
	TaskTag *string `json:"task_tag,omitempty"`
}

ListTasksRequest Request Object

func (ListTasksRequest) String

func (o ListTasksRequest) String() string

type ListTasksRequestSortField

type ListTasksRequestSortField struct {
	// contains filtered or unexported fields
}

func (ListTasksRequestSortField) MarshalJSON

func (c ListTasksRequestSortField) MarshalJSON() ([]byte, error)

func (*ListTasksRequestSortField) UnmarshalJSON

func (c *ListTasksRequestSortField) UnmarshalJSON(b []byte) error

func (ListTasksRequestSortField) Value added in v0.0.90

type ListTasksRequestSortFieldEnum

type ListTasksRequestSortFieldEnum struct {
	CREATED_DATE ListTasksRequestSortField
	STATUS       ListTasksRequestSortField
}

func GetListTasksRequestSortFieldEnum

func GetListTasksRequestSortFieldEnum() ListTasksRequestSortFieldEnum

type ListTasksRequestSortType

type ListTasksRequestSortType struct {
	// contains filtered or unexported fields
}

func (ListTasksRequestSortType) MarshalJSON

func (c ListTasksRequestSortType) MarshalJSON() ([]byte, error)

func (*ListTasksRequestSortType) UnmarshalJSON

func (c *ListTasksRequestSortType) UnmarshalJSON(b []byte) error

func (ListTasksRequestSortType) Value added in v0.0.90

func (c ListTasksRequestSortType) Value() string

type ListTasksRequestSortTypeEnum

type ListTasksRequestSortTypeEnum struct {
	ASC  ListTasksRequestSortType
	DESC ListTasksRequestSortType
}

func GetListTasksRequestSortTypeEnum

func GetListTasksRequestSortTypeEnum() ListTasksRequestSortTypeEnum

type ListTasksRequestStatus

type ListTasksRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListTasksRequestStatus) MarshalJSON

func (c ListTasksRequestStatus) MarshalJSON() ([]byte, error)

func (*ListTasksRequestStatus) UnmarshalJSON

func (c *ListTasksRequestStatus) UnmarshalJSON(b []byte) error

func (ListTasksRequestStatus) Value added in v0.0.90

func (c ListTasksRequestStatus) Value() int32

type ListTasksRequestStatusEnum

type ListTasksRequestStatusEnum struct {
	E_0 ListTasksRequestStatus
	E_1 ListTasksRequestStatus
}

func GetListTasksRequestStatusEnum

func GetListTasksRequestStatusEnum() ListTasksRequestStatusEnum

type ListTasksRequestTaskType

type ListTasksRequestTaskType struct {
	// contains filtered or unexported fields
}

func (ListTasksRequestTaskType) MarshalJSON

func (c ListTasksRequestTaskType) MarshalJSON() ([]byte, error)

func (*ListTasksRequestTaskType) UnmarshalJSON

func (c *ListTasksRequestTaskType) UnmarshalJSON(b []byte) error

func (ListTasksRequestTaskType) Value added in v0.0.90

func (c ListTasksRequestTaskType) Value() string

type ListTasksRequestTaskTypeEnum

type ListTasksRequestTaskTypeEnum struct {
	REALTIME ListTasksRequestTaskType
	TIMING   ListTasksRequestTaskType
}

func GetListTasksRequestTaskTypeEnum

func GetListTasksRequestTaskTypeEnum() ListTasksRequestTaskTypeEnum

type ListTasksResponse

type ListTasksResponse struct {

	// 查询任务列表任务总个数
	Total *int64 `json:"total,omitempty"`

	// 查询任务列表返回的当前页的任务个数
	Size *int32 `json:"size,omitempty"`

	// 查询任务列表返回的对象
	Entities       *[]BriefTaskRespBean `json:"entities,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ListTasksResponse Response Object

func (ListTasksResponse) String

func (o ListTasksResponse) String() string

type ListTopicsRequest

type ListTopicsRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`

	// topic名称
	Name *string `json:"name,omitempty"`

	// topic权限,0为发布,1为订阅
	TopicPermission *int32 `json:"topic_permission,omitempty"`

	// topic类型,0为设备类topic,1为产品类topic
	TopicType *int32 `json:"topic_type,omitempty"`

	// topic是否为自定义,0为基础topic,1为自定义topic
	IsPrivate *int32 `json:"is_private,omitempty"`
}

ListTopicsRequest Request Object

func (ListTopicsRequest) String

func (o ListTopicsRequest) String() string

type ListTopicsResponse

type ListTopicsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 主题列表
	Items          *[]Topic `json:"items,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ListTopicsResponse Response Object

func (ListTopicsResponse) String

func (o ListTopicsResponse) String() string

type ListVpcChannelsV2Request

type ListVpcChannelsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的名称
	Name *string `json:"name,omitempty"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前支持name,member_group_name。
	PreciseSearch *string `json:"precise_search,omitempty"`

	// 后端服务地址。默认精确查询,不支持模糊查询。
	MemberHost *string `json:"member_host,omitempty"`

	// 后端服务器端口
	MemberPort *int32 `json:"member_port,omitempty"`

	// 后端服务器组名称
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`
}

ListVpcChannelsV2Request Request Object

func (ListVpcChannelsV2Request) String

func (o ListVpcChannelsV2Request) String() string

type ListVpcChannelsV2Response

type ListVpcChannelsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的VPC通道列表
	VpcChannels    *[]VpcChannelInfo `json:"vpc_channels,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListVpcChannelsV2Response Response Object

func (ListVpcChannelsV2Response) String

func (o ListVpcChannelsV2Response) String() string

type Listener

type Listener struct {

	// 监听器名称
	Name *string `json:"name,omitempty"`

	// 监听器对外提供服务端口
	Port *int32 `json:"port,omitempty"`

	Backend *Backend `json:"backend,omitempty"`

	// 创建负载均衡器的IP协议类型
	IpVersion *ListenerIpVersion `json:"ip_version,omitempty"`
}

Listener 监听器

func (Listener) String

func (o Listener) String() string

type ListenerIpVersion added in v0.0.78

type ListenerIpVersion struct {
	// contains filtered or unexported fields
}

func (ListenerIpVersion) MarshalJSON added in v0.0.78

func (c ListenerIpVersion) MarshalJSON() ([]byte, error)

func (*ListenerIpVersion) UnmarshalJSON added in v0.0.78

func (c *ListenerIpVersion) UnmarshalJSON(b []byte) error

func (ListenerIpVersion) Value added in v0.0.90

func (c ListenerIpVersion) Value() int32

type ListenerIpVersionEnum added in v0.0.78

type ListenerIpVersionEnum struct {
	E_4 ListenerIpVersion
	E_6 ListenerIpVersion
}

func GetListenerIpVersionEnum added in v0.0.78

func GetListenerIpVersionEnum() ListenerIpVersionEnum

type LiveDataExportReq

type LiveDataExportReq struct {

	// API所属的应用ID
	AppId *string `json:"app_id,omitempty"`

	// 导出的API定义的格式
	Format *LiveDataExportReqFormat `json:"format,omitempty"`

	// 导出的自定义后端API ID列表
	Apis *[]string `json:"apis,omitempty"`

	// 导出的后端API状态: - 1:待开发 - 3:开发中 - 4:已部署
	Status *int32 `json:"status,omitempty"`
}

func (LiveDataExportReq) String

func (o LiveDataExportReq) String() string

type LiveDataExportReqFormat

type LiveDataExportReqFormat struct {
	// contains filtered or unexported fields
}

func (LiveDataExportReqFormat) MarshalJSON

func (c LiveDataExportReqFormat) MarshalJSON() ([]byte, error)

func (*LiveDataExportReqFormat) UnmarshalJSON

func (c *LiveDataExportReqFormat) UnmarshalJSON(b []byte) error

func (LiveDataExportReqFormat) Value added in v0.0.90

func (c LiveDataExportReqFormat) Value() string

type LiveDataExportReqFormatEnum

type LiveDataExportReqFormatEnum struct {
	JSON LiveDataExportReqFormat
	YAML LiveDataExportReqFormat
	YML  LiveDataExportReqFormat
}

func GetLiveDataExportReqFormatEnum

func GetLiveDataExportReqFormatEnum() LiveDataExportReqFormatEnum

type MappingInfo

type MappingInfo struct {

	// 源端字段
	SourceColumn *string `json:"source_column,omitempty"`

	// 源端字段类型
	SourceColumnType *string `json:"source_column_type,omitempty"`

	// 源端字段长度
	SourceColumnLength *string `json:"source_column_length,omitempty"`

	// 目标端字段
	TargetColumn *string `json:"target_column,omitempty"`

	// 目标端字段类型
	TargetColumnType *string `json:"target_column_type,omitempty"`

	// 目标端字段长度
	TargetColumnLength *string `json:"target_column_length,omitempty"`
}

func (MappingInfo) String

func (o MappingInfo) String() string

type MemberBase

type MemberBase struct {

	// 后端服务器地址  后端实例类型为ip时必填
	Host *string `json:"host,omitempty"`

	// 权重值。  允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。
	Weight *int32 `json:"weight,omitempty"`

	// 是否备用节点。  开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。  实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。
	IsBackup *bool `json:"is_backup,omitempty"`

	// 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器状态   - 1:可用   - 2:不可用
	Status *MemberBaseStatus `json:"status,omitempty"`

	// 后端服务器端口
	Port *int32 `json:"port,omitempty"`
}

func (MemberBase) String

func (o MemberBase) String() string

type MemberBaseStatus

type MemberBaseStatus struct {
	// contains filtered or unexported fields
}

func (MemberBaseStatus) MarshalJSON

func (c MemberBaseStatus) MarshalJSON() ([]byte, error)

func (*MemberBaseStatus) UnmarshalJSON

func (c *MemberBaseStatus) UnmarshalJSON(b []byte) error

func (MemberBaseStatus) Value added in v0.0.90

func (c MemberBaseStatus) Value() int32

type MemberBaseStatusEnum

type MemberBaseStatusEnum struct {
	E_1 MemberBaseStatus
	E_2 MemberBaseStatus
}

func GetMemberBaseStatusEnum

func GetMemberBaseStatusEnum() MemberBaseStatusEnum

type MemberGroupCreate

type MemberGroupCreate struct {

	// VPC通道后端服务器组名称
	MemberGroupName string `json:"member_group_name"`

	// VPC通道后端服务器组描述
	MemberGroupRemark *string `json:"member_group_remark,omitempty"`

	// VPC通道后端服务器组权重值。  当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。
	MemberGroupWeight *int32 `json:"member_group_weight,omitempty"`

	// VPC通道后端服务器组的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`
}

func (MemberGroupCreate) String

func (o MemberGroupCreate) String() string

type MemberGroupCreateBatch

type MemberGroupCreateBatch struct {

	// 后端服务器组列表
	MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"`
}

func (MemberGroupCreateBatch) String

func (o MemberGroupCreateBatch) String() string

type MemberGroupInfo

type MemberGroupInfo struct {

	// VPC通道后端服务器组名称
	MemberGroupName string `json:"member_group_name"`

	// VPC通道后端服务器组描述
	MemberGroupRemark *string `json:"member_group_remark,omitempty"`

	// VPC通道后端服务器组权重值。  当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。
	MemberGroupWeight *int32 `json:"member_group_weight,omitempty"`

	// VPC通道后端服务器组的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`

	// VPC通道后端服务器组创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道后端服务器组更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

func (MemberGroupInfo) String

func (o MemberGroupInfo) String() string

type MemberInfo

type MemberInfo struct {

	// 后端服务器地址  后端实例类型为ip时必填
	Host *string `json:"host,omitempty"`

	// 权重值。  允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。
	Weight *int32 `json:"weight,omitempty"`

	// 是否备用节点。  开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。  实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。
	IsBackup *bool `json:"is_backup,omitempty"`

	// 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器状态   - 1:可用   - 2:不可用
	Status *MemberInfoStatus `json:"status,omitempty"`

	// 后端服务器端口
	Port *int32 `json:"port,omitempty"`

	// [后端云服务器的编号。](tag:hws;hws_hk;hcs;fcs;g42;)  [后端实例类型为ecs时必填,支持英文,数字,“-”,“_”,1 ~ 64字符。](tag:hws;hws_hk;hcs;fcs;g42;) [不支持后端云服务器类型](tag:Site)
	EcsId *string `json:"ecs_id,omitempty"`

	// [后端云服务器的名称。]  [后端实例类型为ecs时必填,支持汉字,英文,数字,“-”,“_”,“.”,1 ~ 64字符。](tag:hws;hws_hk;hcs;fcs;g42;) [不支持后端云服务器类型](tag:Site)
	EcsName *string `json:"ecs_name,omitempty"`
}

func (MemberInfo) String

func (o MemberInfo) String() string

type MemberInfoStatus

type MemberInfoStatus struct {
	// contains filtered or unexported fields
}

func (MemberInfoStatus) MarshalJSON

func (c MemberInfoStatus) MarshalJSON() ([]byte, error)

func (*MemberInfoStatus) UnmarshalJSON

func (c *MemberInfoStatus) UnmarshalJSON(b []byte) error

func (MemberInfoStatus) Value added in v0.0.90

func (c MemberInfoStatus) Value() int32

type MemberInfoStatusEnum

type MemberInfoStatusEnum struct {
	E_1 MemberInfoStatus
	E_2 MemberInfoStatus
}

func GetMemberInfoStatusEnum

func GetMemberInfoStatusEnum() MemberInfoStatusEnum

type MembersBatchEnableOrDisable

type MembersBatchEnableOrDisable struct {

	// 后端服务器编号列表。
	MemberIds *[]string `json:"member_ids,omitempty"`
}

func (MembersBatchEnableOrDisable) String

type MicroServiceInfo added in v0.1.13

type MicroServiceInfo struct {

	// 微服务编号
	Id *string `json:"id,omitempty"`

	// 微服务类型: - CSE:CSE微服务注册中心
	ServiceType *MicroServiceInfoServiceType `json:"service_type,omitempty"`

	CseInfo *MicroServiceInfoCse `json:"cse_info,omitempty"`

	// 微服务更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 微服务创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

MicroServiceInfo 微服务的响应对象

func (MicroServiceInfo) String added in v0.1.13

func (o MicroServiceInfo) String() string

type MicroServiceInfoCse added in v0.1.13

type MicroServiceInfoCse struct {

	// 微服务引擎编号
	EngineId string `json:"engine_id"`

	// 微服务编号
	ServiceId string `json:"service_id"`

	// 微服务引擎名称
	EngineName *string `json:"engine_name,omitempty"`

	// 微服务名称
	ServiceName *string `json:"service_name,omitempty"`

	// 注册中心地址
	RegisterAddress *string `json:"register_address,omitempty"`

	// 微服务所属的应用
	CseAppId *string `json:"cse_app_id,omitempty"`

	// 微服务的版本,已废弃,通过后端服务器组中的版本承载。
	Version *string `json:"version,omitempty"`
}

MicroServiceInfoCse CSE微服务详细信息

func (MicroServiceInfoCse) String added in v0.1.13

func (o MicroServiceInfoCse) String() string

type MicroServiceInfoCseBase added in v0.1.13

type MicroServiceInfoCseBase struct {

	// 微服务引擎编号
	EngineId string `json:"engine_id"`

	// 微服务编号
	ServiceId string `json:"service_id"`
}

MicroServiceInfoCseBase CSE微服务详细信息,service_type为CSE时必填

func (MicroServiceInfoCseBase) String added in v0.1.13

func (o MicroServiceInfoCseBase) String() string

type MicroServiceInfoServiceType added in v0.1.13

type MicroServiceInfoServiceType struct {
	// contains filtered or unexported fields
}

func (MicroServiceInfoServiceType) MarshalJSON added in v0.1.13

func (c MicroServiceInfoServiceType) MarshalJSON() ([]byte, error)

func (*MicroServiceInfoServiceType) UnmarshalJSON added in v0.1.13

func (c *MicroServiceInfoServiceType) UnmarshalJSON(b []byte) error

func (MicroServiceInfoServiceType) Value added in v0.1.13

type MicroServiceInfoServiceTypeEnum added in v0.1.13

type MicroServiceInfoServiceTypeEnum struct {
	CSE MicroServiceInfoServiceType
}

func GetMicroServiceInfoServiceTypeEnum added in v0.1.13

func GetMicroServiceInfoServiceTypeEnum() MicroServiceInfoServiceTypeEnum

type MockApiBaseInfo

type MockApiBaseInfo struct {

	// 描述信息。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`

	// 版本。字符长度不超过64
	Version *string `json:"version,omitempty"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\",
	StatusCode *MockApiBaseInfoStatusCode `json:"status_code,omitempty"`

	// mock后端自定义响应头header  格式:[{\"key\":\"\",\"value\": \"\", \"remark:\"\"}, {\"key2\":\"\",\"value2\": \"\",\"remark2:\"\"}]  参数说明:  key:mock后端自定义响应头header key, 支持英文,数字,中划线,且只能以英文字母或数字开头,1 ~ 64字符  value: mock后端自定义响应头header value,中文字符必须为UTF-8或者unicode编码, 不能为空,最大长度为10240  remark:mock后端自定义响应头header remark,中文字符必须为UTF-8 或者unicode编码,可以为空,最大长度为2048
	Header *string `json:"header,omitempty"`
}

MockApiBaseInfo mock后端详情

func (MockApiBaseInfo) String

func (o MockApiBaseInfo) String() string

type MockApiBaseInfoStatusCode

type MockApiBaseInfoStatusCode struct {
	// contains filtered or unexported fields
}

func (MockApiBaseInfoStatusCode) MarshalJSON

func (c MockApiBaseInfoStatusCode) MarshalJSON() ([]byte, error)

func (*MockApiBaseInfoStatusCode) UnmarshalJSON

func (c *MockApiBaseInfoStatusCode) UnmarshalJSON(b []byte) error

func (MockApiBaseInfoStatusCode) Value added in v0.0.90

func (c MockApiBaseInfoStatusCode) Value() int32

type MockApiBaseInfoStatusCodeEnum

func GetMockApiBaseInfoStatusCodeEnum

func GetMockApiBaseInfoStatusCodeEnum() MockApiBaseInfoStatusCodeEnum

type MultiOracleAddress

type MultiOracleAddress struct {

	// ORACLE地址
	OracleAddress *string `json:"oracle_address,omitempty"`

	// ORACLE端口
	OraclePort *string `json:"oracle_port,omitempty"`
}

MultiOracleAddress ORACLE集群地址

func (MultiOracleAddress) String

func (o MultiOracleAddress) String() string

type MultiTaskColumnInfo

type MultiTaskColumnInfo struct {

	// 字段名
	FieldName *string `json:"field_name,omitempty"`

	// 字段类型
	FieldType *string `json:"field_type,omitempty"`

	// 字段长度
	FieldLength *string `json:"field_length,omitempty"`
}

func (MultiTaskColumnInfo) String

func (o MultiTaskColumnInfo) String() string

type MultiTaskInitBody

type MultiTaskInitBody struct {
	ExtInfo *MultiTaskInitBodyExtInfo `json:"ext_info,omitempty"`

	// 源端数据源ID
	SourceDatasourceId *string `json:"source_datasource_id,omitempty"`

	// 目标端数据源ID
	TargetDatasourceId *string `json:"target_datasource_id,omitempty"`

	// 任务ID,可以为空,为空时自动分配任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 是否自动建立源端到目标端映射
	AutoMapping *bool `json:"auto_mapping,omitempty"`
}

func (MultiTaskInitBody) String

func (o MultiTaskInitBody) String() string

type MultiTaskInitBodyExtInfo

type MultiTaskInitBodyExtInfo struct {

	// Mysql的ServerID
	ServerId *string `json:"server_id,omitempty"`
}

MultiTaskInitBodyExtInfo 扩展属性,目前支持server_id,允许为空

func (MultiTaskInitBodyExtInfo) String

func (o MultiTaskInitBodyExtInfo) String() string

type MultiTaskInitElement

type MultiTaskInitElement struct {
	ExtInfo *MultiTaskInitElementExtInfo `json:"ext_info,omitempty"`

	// 任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 源端数据源ID
	SourceDatasourceId *string `json:"source_datasource_id,omitempty"`

	// 目标端数据源ID
	TargetDatasourceId *string `json:"target_datasource_id,omitempty"`

	// 源端组
	SourceGroup *string `json:"source_group,omitempty"`

	// 目标端组
	TargetGroup *string `json:"target_group,omitempty"`

	// 源端数据源ID
	SourceDsId *string `json:"source_ds_id,omitempty"`

	// 目标端数据源ID
	TargetDsId *string `json:"target_ds_id,omitempty"`

	// 源端实例ID
	SourceInstanceId *string `json:"source_instance_id,omitempty"`

	// 目标端实例ID
	TargetInstanceId *string `json:"target_instance_id,omitempty"`

	// 源端数据源所属集成应用ID
	SourceAppId *string `json:"source_app_id,omitempty"`

	// 目标端数据源所属集成应用ID
	TargetAppId *string `json:"target_app_id,omitempty"`

	// 源端数据源的名称
	SourceDatasourceName *string `json:"source_datasource_name,omitempty"`

	// 目标端数据源的名称
	TargetDatasourceName *string `json:"target_datasource_name,omitempty"`

	// 源端数据源的类型
	SourceDatasourceType *string `json:"source_datasource_type,omitempty"`

	// 目标端数据源的类型
	TargetDatasourceType *string `json:"target_datasource_type,omitempty"`

	// 映射关系列表,只返回前10条
	Mappings *[]MultiTaskMappingElement `json:"mappings,omitempty"`

	// 映射关系总数
	MappingsTotalCount *int64 `json:"mappings_total_count,omitempty"`
}

func (MultiTaskInitElement) String

func (o MultiTaskInitElement) String() string

type MultiTaskInitElementExtInfo

type MultiTaskInitElementExtInfo struct {

	// Mysql的ServerID
	ServerId *string `json:"server_id,omitempty"`
}

MultiTaskInitElementExtInfo 扩展属性,目前只支持server_id

func (MultiTaskInitElementExtInfo) String

type MultiTaskMappingCreateBody

type MultiTaskMappingCreateBody struct {
	ExtInfo *MultiTaskInitElementExtInfo `json:"ext_info,omitempty"`

	// 源端数据源ID
	SourceDatasourceId string `json:"source_datasource_id"`

	// 目标端数据源ID
	TargetDatasourceId string `json:"target_datasource_id"`

	// 源端字段列表
	SourceColumns *[]MultiTaskColumnInfo `json:"source_columns,omitempty"`

	// 目标端字段列表
	TargetColumns *[]MultiTaskColumnInfo `json:"target_columns,omitempty"`

	// 源表名
	SourceTable *string `json:"source_table,omitempty"`

	// 目标表名
	TargetTable *string `json:"target_table,omitempty"`

	// 字段映射列表
	MappingColumns *[]MappingInfo `json:"mapping_columns,omitempty"`
}

func (MultiTaskMappingCreateBody) String

type MultiTaskMappingElement

type MultiTaskMappingElement struct {

	// 映射唯一ID
	Id *string `json:"id,omitempty"`

	// 源表名
	SourceTable *string `json:"source_table,omitempty"`

	// 目标表名
	TargetTable *string `json:"target_table,omitempty"`

	// 上次修改时间
	UpdatedTime *int64 `json:"updated_time,omitempty"`

	// 匹配度
	MappingPercent *int64 `json:"mapping_percent,omitempty"`

	// 映射状态 - AUTO (自动映射) - MANUAL (手工新增) - ADD (自动新增) - UPDATE (更新) - DELETE (删除) - USING (使用中)
	Status *MultiTaskMappingElementStatus `json:"status,omitempty"`

	// 源端字段列表
	SourceColumns *[]MultiTaskColumnInfo `json:"source_columns,omitempty"`

	// 目标端字段列表
	TargetColumns *[]MultiTaskColumnInfo `json:"target_columns,omitempty"`

	// 字段映射列表
	Mapping *[]MappingInfo `json:"mapping,omitempty"`
}

func (MultiTaskMappingElement) String

func (o MultiTaskMappingElement) String() string

type MultiTaskMappingElementStatus

type MultiTaskMappingElementStatus struct {
	// contains filtered or unexported fields
}

func (MultiTaskMappingElementStatus) MarshalJSON

func (c MultiTaskMappingElementStatus) MarshalJSON() ([]byte, error)

func (*MultiTaskMappingElementStatus) UnmarshalJSON

func (c *MultiTaskMappingElementStatus) UnmarshalJSON(b []byte) error

func (MultiTaskMappingElementStatus) Value added in v0.0.90

type MultiTaskRequestBody

type MultiTaskRequestBody struct {

	// 任务名称,只能以字母、数字为开头,包含字母、数字和 . _ -  3~100个字符
	TaskName string `json:"task_name"`

	// 任务ID,可以为空
	TaskId *string `json:"task_id,omitempty"`

	// 任务类型,目前组合任务仅支持实时任务 - REALTIME (实时) - TIMING (定时)
	TaskType *MultiTaskRequestBodyTaskType `json:"task_type,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 任务标签,只能包含字母、数字、中划线、下划线
	TaskTag *string `json:"task_tag,omitempty"`

	// 需要支持的操作类型,支持多选,至少需要选择以下一种: - INSERT - UPDATE - DELETE
	OperationTypes []MultiTaskRequestBodyOperationTypes `json:"operation_types"`

	// 源端数据源所属集成应用ID
	SourceAppId *string `json:"source_app_id,omitempty"`

	// 目标端数据源所属集成应用ID
	TargetAppId *string `json:"target_app_id,omitempty"`
}

func (MultiTaskRequestBody) String

func (o MultiTaskRequestBody) String() string

type MultiTaskRequestBodyOperationTypes

type MultiTaskRequestBodyOperationTypes struct {
	// contains filtered or unexported fields
}

func (MultiTaskRequestBodyOperationTypes) MarshalJSON

func (c MultiTaskRequestBodyOperationTypes) MarshalJSON() ([]byte, error)

func (*MultiTaskRequestBodyOperationTypes) UnmarshalJSON

func (c *MultiTaskRequestBodyOperationTypes) UnmarshalJSON(b []byte) error

func (MultiTaskRequestBodyOperationTypes) Value added in v0.0.90

type MultiTaskRequestBodyTaskType

type MultiTaskRequestBodyTaskType struct {
	// contains filtered or unexported fields
}

func (MultiTaskRequestBodyTaskType) MarshalJSON

func (c MultiTaskRequestBodyTaskType) MarshalJSON() ([]byte, error)

func (*MultiTaskRequestBodyTaskType) UnmarshalJSON

func (c *MultiTaskRequestBodyTaskType) UnmarshalJSON(b []byte) error

func (MultiTaskRequestBodyTaskType) Value added in v0.0.90

type MultiTaskRequestBodyTaskTypeEnum

type MultiTaskRequestBodyTaskTypeEnum struct {
	REALTIME MultiTaskRequestBodyTaskType
	TIMING   MultiTaskRequestBodyTaskType
}

func GetMultiTaskRequestBodyTaskTypeEnum

func GetMultiTaskRequestBodyTaskTypeEnum() MultiTaskRequestBodyTaskTypeEnum

type MultiTaskResetBody

type MultiTaskResetBody struct {

	// 任务重置开始时间,UTC时间戳,允许为空
	DateFrom *int64 `json:"date_from,omitempty"`
}

func (MultiTaskResetBody) String

func (o MultiTaskResetBody) String() string

type MultiTaskUpdateBody

type MultiTaskUpdateBody struct {

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 任务标签,只能包含字母、数字、中划线、下划线
	TaskTag *string `json:"task_tag,omitempty"`

	// 需要支持的操作类型,支持多选,至少需要选择以下一种: - INSERT - UPDATE - DELETE
	OperationTypes []MultiTaskUpdateBodyOperationTypes `json:"operation_types"`

	// 是否同步已有数据,仅在编辑任务时生效
	RepullingSnapshot bool `json:"repulling_snapshot"`
}

func (MultiTaskUpdateBody) String

func (o MultiTaskUpdateBody) String() string

type MultiTaskUpdateBodyOperationTypes

type MultiTaskUpdateBodyOperationTypes struct {
	// contains filtered or unexported fields
}

func (MultiTaskUpdateBodyOperationTypes) MarshalJSON

func (c MultiTaskUpdateBodyOperationTypes) MarshalJSON() ([]byte, error)

func (*MultiTaskUpdateBodyOperationTypes) UnmarshalJSON

func (c *MultiTaskUpdateBodyOperationTypes) UnmarshalJSON(b []byte) error

func (MultiTaskUpdateBodyOperationTypes) Value added in v0.0.90

type NetworkTrafficStats

type NetworkTrafficStats struct {

	// 下行吞吐量(byte)
	OutputThroughput *int64 `json:"output_throughput,omitempty"`

	// 上行吞吐量(byte)
	InputThroughput *int64 `json:"input_throughput,omitempty"`
}

func (NetworkTrafficStats) String

func (o NetworkTrafficStats) String() string

type NodeIps

type NodeIps struct {

	// 自定义后端服务livedta组件节点ip列表
	Livedata *[]string `json:"livedata,omitempty"`

	// API网关shubao组件节点ip列表
	Shubao *[]string `json:"shubao,omitempty"`
}

NodeIps 节点内部ip信息

func (NodeIps) String

func (o NodeIps) String() string

type NotificationResponseBody

type NotificationResponseBody struct {

	// 订阅ID
	NotificationId *int64 `json:"notification_id,omitempty"`

	// 订阅类型, 0:设备上线通知类型, 1:设备下线通知类型, 2:设备添加通知类型, 3:设备删除通知类型, 4:设备变更通知类型
	Type *NotificationResponseBodyType `json:"type,omitempty"`

	// 订阅管理状态,0:启用,1:停用
	Status *NotificationResponseBodyStatus `json:"status,omitempty"`

	// 订阅的topic名称
	Topic *string `json:"topic,omitempty"`

	// 实例ID
	InstanceId *string `json:"instance_id,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`
}

func (NotificationResponseBody) String

func (o NotificationResponseBody) String() string

type NotificationResponseBodyStatus

type NotificationResponseBodyStatus struct {
	// contains filtered or unexported fields
}

func (NotificationResponseBodyStatus) MarshalJSON

func (c NotificationResponseBodyStatus) MarshalJSON() ([]byte, error)

func (*NotificationResponseBodyStatus) UnmarshalJSON

func (c *NotificationResponseBodyStatus) UnmarshalJSON(b []byte) error

func (NotificationResponseBodyStatus) Value added in v0.0.90

type NotificationResponseBodyStatusEnum

type NotificationResponseBodyStatusEnum struct {
	E_0 NotificationResponseBodyStatus
	E_1 NotificationResponseBodyStatus
}

func GetNotificationResponseBodyStatusEnum

func GetNotificationResponseBodyStatusEnum() NotificationResponseBodyStatusEnum

type NotificationResponseBodyType

type NotificationResponseBodyType struct {
	// contains filtered or unexported fields
}

func (NotificationResponseBodyType) MarshalJSON

func (c NotificationResponseBodyType) MarshalJSON() ([]byte, error)

func (*NotificationResponseBodyType) UnmarshalJSON

func (c *NotificationResponseBodyType) UnmarshalJSON(b []byte) error

func (NotificationResponseBodyType) Value added in v0.0.90

type OperateTasksBean

type OperateTasksBean struct {

	// 操作类型 - start (启动) - stop (停止)
	ActionId OperateTasksBeanActionId `json:"action_id"`

	// 需要启动或者停止的任务ID列表
	List *[]TaskBean `json:"list,omitempty"`
}

func (OperateTasksBean) String

func (o OperateTasksBean) String() string

type OperateTasksBeanActionId

type OperateTasksBeanActionId struct {
	// contains filtered or unexported fields
}

func (OperateTasksBeanActionId) MarshalJSON

func (c OperateTasksBeanActionId) MarshalJSON() ([]byte, error)

func (*OperateTasksBeanActionId) UnmarshalJSON

func (c *OperateTasksBeanActionId) UnmarshalJSON(b []byte) error

func (OperateTasksBeanActionId) Value added in v0.0.90

func (c OperateTasksBeanActionId) Value() string

type OperateTasksBeanActionIdEnum

type OperateTasksBeanActionIdEnum struct {
	START OperateTasksBeanActionId
	STOP  OperateTasksBeanActionId
}

func GetOperateTasksBeanActionIdEnum

func GetOperateTasksBeanActionIdEnum() OperateTasksBeanActionIdEnum

type Product

type Product struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 产品ID
	Id *int32 `json:"id,omitempty"`

	// 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品)
	ProductSerial *string `json:"product_serial,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线
	Name *string `json:"name,omitempty"`

	// 产品供应商ID
	ManufacturerId *string `json:"manufacturer_id,omitempty"`

	// 厂商名称
	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	// 产品型号
	Model *string `json:"model,omitempty"`

	// 产品类型,0-普通产品(不支持子设备) 1-网关产品
	ProductType *ProductProductType `json:"product_type,omitempty"`

	// 产品描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 产品的协议类型 0-mqtt 2-modbus 4-opcua
	ProtocolType *ProductProtocolType `json:"protocol_type,omitempty"`

	// 产品的设备类型(默认Default)
	DeviceType *string `json:"device_type,omitempty"`

	// 产品版本
	Version *string `json:"version,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	Authentication *Authentication `json:"authentication,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// data_format 0-JSON 1-USER_DEFINED
	DataFormat *int32 `json:"data_format,omitempty"`
}

func (Product) String

func (o Product) String() string

type ProductProductType added in v0.0.78

type ProductProductType struct {
	// contains filtered or unexported fields
}

func (ProductProductType) MarshalJSON added in v0.0.78

func (c ProductProductType) MarshalJSON() ([]byte, error)

func (*ProductProductType) UnmarshalJSON added in v0.0.78

func (c *ProductProductType) UnmarshalJSON(b []byte) error

func (ProductProductType) Value added in v0.0.90

func (c ProductProductType) Value() int32

type ProductProductTypeEnum added in v0.0.78

type ProductProductTypeEnum struct {
	E_0 ProductProductType
	E_1 ProductProductType
}

func GetProductProductTypeEnum added in v0.0.78

func GetProductProductTypeEnum() ProductProductTypeEnum

type ProductProtocolType added in v0.0.78

type ProductProtocolType struct {
	// contains filtered or unexported fields
}

func (ProductProtocolType) MarshalJSON added in v0.0.78

func (c ProductProtocolType) MarshalJSON() ([]byte, error)

func (*ProductProtocolType) UnmarshalJSON added in v0.0.78

func (c *ProductProtocolType) UnmarshalJSON(b []byte) error

func (ProductProtocolType) Value added in v0.0.90

func (c ProductProtocolType) Value() int32

type ProductProtocolTypeEnum added in v0.0.78

type ProductProtocolTypeEnum struct {
	E_0 ProductProtocolType
	E_2 ProductProtocolType
	E_4 ProductProtocolType
}

func GetProductProtocolTypeEnum added in v0.0.78

func GetProductProtocolTypeEnum() ProductProtocolTypeEnum

type ProductReferer

type ProductReferer struct {

	// 产品ID,未填写厂商ID+型号时产品ID必填
	ProductId *int32 `json:"product_id,omitempty"`

	// 产品名称
	ProductName *string `json:"product_name,omitempty"`

	// 厂商ID,未填写产品ID时厂商ID和型号必填
	ManufacturerId *string `json:"manufacturer_id,omitempty"`

	// 型号,未填写产品ID时厂商ID和型号必填
	Model *string `json:"model,omitempty"`

	// 产品的协议类型:0-mqtt,1-coap,2-modbus,3-http, 4-opcua
	ProtocolType *ProductRefererProtocolType `json:"protocol_type,omitempty"`

	// 产品类型:0-普通产品 1-网关产品
	ProductType *ProductRefererProductType `json:"product_type,omitempty"`
}

ProductReferer 产品

func (ProductReferer) String

func (o ProductReferer) String() string

type ProductRefererProductType added in v0.0.78

type ProductRefererProductType struct {
	// contains filtered or unexported fields
}

func (ProductRefererProductType) MarshalJSON added in v0.0.78

func (c ProductRefererProductType) MarshalJSON() ([]byte, error)

func (*ProductRefererProductType) UnmarshalJSON added in v0.0.78

func (c *ProductRefererProductType) UnmarshalJSON(b []byte) error

func (ProductRefererProductType) Value added in v0.0.90

func (c ProductRefererProductType) Value() int32

type ProductRefererProductTypeEnum added in v0.0.78

type ProductRefererProductTypeEnum struct {
	E_0 ProductRefererProductType
	E_1 ProductRefererProductType
}

func GetProductRefererProductTypeEnum added in v0.0.78

func GetProductRefererProductTypeEnum() ProductRefererProductTypeEnum

type ProductRefererProtocolType added in v0.0.78

type ProductRefererProtocolType struct {
	// contains filtered or unexported fields
}

func (ProductRefererProtocolType) MarshalJSON added in v0.0.78

func (c ProductRefererProtocolType) MarshalJSON() ([]byte, error)

func (*ProductRefererProtocolType) UnmarshalJSON added in v0.0.78

func (c *ProductRefererProtocolType) UnmarshalJSON(b []byte) error

func (ProductRefererProtocolType) Value added in v0.0.90

type ProductRefererProtocolTypeEnum added in v0.0.78

func GetProductRefererProtocolTypeEnum added in v0.0.78

func GetProductRefererProtocolTypeEnum() ProductRefererProtocolTypeEnum

type ProductTemplate

type ProductTemplate struct {

	// 产品模板ID
	Id *int32 `json:"id,omitempty"`

	// 产品模板名称
	Name *string `json:"name,omitempty"`

	// 产品模板描述
	Description *string `json:"description,omitempty"`

	// 产品模板状态 0-启用 1-停用
	Status *ProductTemplateStatus `json:"status,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
}

func (ProductTemplate) String

func (o ProductTemplate) String() string

type ProductTemplateStatus added in v0.0.78

type ProductTemplateStatus struct {
	// contains filtered or unexported fields
}

func (ProductTemplateStatus) MarshalJSON added in v0.0.78

func (c ProductTemplateStatus) MarshalJSON() ([]byte, error)

func (*ProductTemplateStatus) UnmarshalJSON added in v0.0.78

func (c *ProductTemplateStatus) UnmarshalJSON(b []byte) error

func (ProductTemplateStatus) Value added in v0.0.90

func (c ProductTemplateStatus) Value() int32

type ProductTemplateStatusEnum added in v0.0.78

type ProductTemplateStatusEnum struct {
	E_0 ProductTemplateStatus
	E_1 ProductTemplateStatus
}

func GetProductTemplateStatusEnum added in v0.0.78

func GetProductTemplateStatusEnum() ProductTemplateStatusEnum

type ProductTemplatesCalculation

type ProductTemplatesCalculation struct {

	// 产品模板数量
	ProductTemplatesNumbers *int32 `json:"product_templates_numbers,omitempty"`
}

func (ProductTemplatesCalculation) String

type ProductTopic

type ProductTopic struct {

	// 归属产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 产品主题ID
	TopicId *string `json:"topic_id,omitempty"`

	// 主题权限 0-发布 1-订阅
	Permission *ProductTopicPermission `json:"permission,omitempty"`

	// 主题名称
	TopicName *string `json:"topic_name,omitempty"`

	// 版本号
	Version *string `json:"version,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`
}

func (ProductTopic) String

func (o ProductTopic) String() string

type ProductTopicPermission added in v0.0.78

type ProductTopicPermission struct {
	// contains filtered or unexported fields
}

func (ProductTopicPermission) MarshalJSON added in v0.0.78

func (c ProductTopicPermission) MarshalJSON() ([]byte, error)

func (*ProductTopicPermission) UnmarshalJSON added in v0.0.78

func (c *ProductTopicPermission) UnmarshalJSON(b []byte) error

func (ProductTopicPermission) Value added in v0.0.90

func (c ProductTopicPermission) Value() int32

type ProductTopicPermissionEnum added in v0.0.78

type ProductTopicPermissionEnum struct {
	E_0 ProductTopicPermission
	E_1 ProductTopicPermission
}

func GetProductTopicPermissionEnum added in v0.0.78

func GetProductTopicPermissionEnum() ProductTopicPermissionEnum

type ProductsCalculation

type ProductsCalculation struct {

	// 普通产品数量
	NormalProductsNumbers *int32 `json:"normal_products_numbers,omitempty"`

	// 网关产品数量
	GatewayProductsNumbers *int32 `json:"gateway_products_numbers,omitempty"`
}

func (ProductsCalculation) String

func (o ProductsCalculation) String() string

type ProjectVpcChannelInfo

type ProjectVpcChannelInfo struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy ProjectVpcChannelInfoBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs
	MemberType ProjectVpcChannelInfoMemberType `json:"member_type"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的状态。 - 1:正常 - 2:异常
	Status *ProjectVpcChannelInfoStatus `json:"status,omitempty"`

	// 后端云服务器组列表。
	MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"`

	// 实例编号
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 后端实例列表。
	Members *[]VpcMemberInfo `json:"members,omitempty"`

	VpcHealthConfig *VpcHealthConfigInfo `json:"vpc_health_config,omitempty"`

	MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"`

	// vpc通道类型。 - BUILTIN:BUILTIN通道类型 - MICROSERVICE:微服务类型
	Type *ProjectVpcChannelInfoType `json:"type,omitempty"`
}

func (ProjectVpcChannelInfo) String

func (o ProjectVpcChannelInfo) String() string

type ProjectVpcChannelInfoBalanceStrategy

type ProjectVpcChannelInfoBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (ProjectVpcChannelInfoBalanceStrategy) MarshalJSON

func (c ProjectVpcChannelInfoBalanceStrategy) MarshalJSON() ([]byte, error)

func (*ProjectVpcChannelInfoBalanceStrategy) UnmarshalJSON

func (c *ProjectVpcChannelInfoBalanceStrategy) UnmarshalJSON(b []byte) error

func (ProjectVpcChannelInfoBalanceStrategy) Value added in v0.0.90

type ProjectVpcChannelInfoMemberType

type ProjectVpcChannelInfoMemberType struct {
	// contains filtered or unexported fields
}

func (ProjectVpcChannelInfoMemberType) MarshalJSON

func (c ProjectVpcChannelInfoMemberType) MarshalJSON() ([]byte, error)

func (*ProjectVpcChannelInfoMemberType) UnmarshalJSON

func (c *ProjectVpcChannelInfoMemberType) UnmarshalJSON(b []byte) error

func (ProjectVpcChannelInfoMemberType) Value added in v0.0.90

type ProjectVpcChannelInfoMemberTypeEnum

type ProjectVpcChannelInfoMemberTypeEnum struct {
	IP  ProjectVpcChannelInfoMemberType
	ECS ProjectVpcChannelInfoMemberType
}

func GetProjectVpcChannelInfoMemberTypeEnum

func GetProjectVpcChannelInfoMemberTypeEnum() ProjectVpcChannelInfoMemberTypeEnum

type ProjectVpcChannelInfoStatus added in v0.0.78

type ProjectVpcChannelInfoStatus struct {
	// contains filtered or unexported fields
}

func (ProjectVpcChannelInfoStatus) MarshalJSON added in v0.0.78

func (c ProjectVpcChannelInfoStatus) MarshalJSON() ([]byte, error)

func (*ProjectVpcChannelInfoStatus) UnmarshalJSON added in v0.0.78

func (c *ProjectVpcChannelInfoStatus) UnmarshalJSON(b []byte) error

func (ProjectVpcChannelInfoStatus) Value added in v0.0.90

type ProjectVpcChannelInfoStatusEnum added in v0.0.78

type ProjectVpcChannelInfoStatusEnum struct {
	E_1 ProjectVpcChannelInfoStatus
	E_2 ProjectVpcChannelInfoStatus
}

func GetProjectVpcChannelInfoStatusEnum added in v0.0.78

func GetProjectVpcChannelInfoStatusEnum() ProjectVpcChannelInfoStatusEnum

type ProjectVpcChannelInfoType added in v0.1.13

type ProjectVpcChannelInfoType struct {
	// contains filtered or unexported fields
}

func (ProjectVpcChannelInfoType) MarshalJSON added in v0.1.13

func (c ProjectVpcChannelInfoType) MarshalJSON() ([]byte, error)

func (*ProjectVpcChannelInfoType) UnmarshalJSON added in v0.1.13

func (c *ProjectVpcChannelInfoType) UnmarshalJSON(b []byte) error

func (ProjectVpcChannelInfoType) Value added in v0.1.13

type ProjectVpcChannelInfoTypeEnum added in v0.1.13

type ProjectVpcChannelInfoTypeEnum struct {
	BUILTIN      ProjectVpcChannelInfoType
	MICROSERVICE ProjectVpcChannelInfoType
}

func GetProjectVpcChannelInfoTypeEnum added in v0.1.13

func GetProjectVpcChannelInfoTypeEnum() ProjectVpcChannelInfoTypeEnum

type ProjectVpcCreate

type ProjectVpcCreate struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy ProjectVpcCreateBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs
	MemberType ProjectVpcCreateMemberType `json:"member_type"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组列表
	MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"`

	// VPC后端实例列表。
	Members *[]MemberInfo `json:"members,omitempty"`

	VpcHealthConfig *VpcHealthConfig `json:"vpc_health_config,omitempty"`

	// 关联实例列表。至少包含一个实例编号,最多10个,如需扩大配额请联系技术工程师修改PROJECT_VPC_OPERATOR_NUM_LIMIT配置。
	InstanceIds []string `json:"instance_ids"`
}

func (ProjectVpcCreate) String

func (o ProjectVpcCreate) String() string

type ProjectVpcCreateBalanceStrategy

type ProjectVpcCreateBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (ProjectVpcCreateBalanceStrategy) MarshalJSON

func (c ProjectVpcCreateBalanceStrategy) MarshalJSON() ([]byte, error)

func (*ProjectVpcCreateBalanceStrategy) UnmarshalJSON

func (c *ProjectVpcCreateBalanceStrategy) UnmarshalJSON(b []byte) error

func (ProjectVpcCreateBalanceStrategy) Value added in v0.0.90

type ProjectVpcCreateMemberType

type ProjectVpcCreateMemberType struct {
	// contains filtered or unexported fields
}

func (ProjectVpcCreateMemberType) MarshalJSON

func (c ProjectVpcCreateMemberType) MarshalJSON() ([]byte, error)

func (*ProjectVpcCreateMemberType) UnmarshalJSON

func (c *ProjectVpcCreateMemberType) UnmarshalJSON(b []byte) error

func (ProjectVpcCreateMemberType) Value added in v0.0.90

type ProjectVpcCreateMemberTypeEnum

type ProjectVpcCreateMemberTypeEnum struct {
	IP  ProjectVpcCreateMemberType
	ECS ProjectVpcCreateMemberType
}

func GetProjectVpcCreateMemberTypeEnum

func GetProjectVpcCreateMemberTypeEnum() ProjectVpcCreateMemberTypeEnum

type ProjectVpcSync

type ProjectVpcSync struct {

	// VPC通道编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// 新增关联的实例列表
	InstanceIds *[]string `json:"instance_ids,omitempty"`

	// 是否强制同步,默认不强制同步
	ForceSync *bool `json:"force_sync,omitempty"`
}

func (ProjectVpcSync) String

func (o ProjectVpcSync) String() string

type Property

type Property struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *PropertyDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *PropertyRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict *interface{} `json:"enum_dict,omitempty"`
}

func (Property) String

func (o Property) String() string

type PropertyDataType

type PropertyDataType struct {
	// contains filtered or unexported fields
}

func (PropertyDataType) MarshalJSON

func (c PropertyDataType) MarshalJSON() ([]byte, error)

func (*PropertyDataType) UnmarshalJSON

func (c *PropertyDataType) UnmarshalJSON(b []byte) error

func (PropertyDataType) Value added in v0.0.90

func (c PropertyDataType) Value() string

type PropertyDataTypeEnum

type PropertyDataTypeEnum struct {
	INTEGER  PropertyDataType
	NUMBER   PropertyDataType
	STRING   PropertyDataType
	DATETIME PropertyDataType
	JSON     PropertyDataType
	BOOLEAN  PropertyDataType
	ARRAY    PropertyDataType
}

func GetPropertyDataTypeEnum

func GetPropertyDataTypeEnum() PropertyDataTypeEnum

type PropertyRequired added in v0.0.78

type PropertyRequired struct {
	// contains filtered or unexported fields
}

func (PropertyRequired) MarshalJSON added in v0.0.78

func (c PropertyRequired) MarshalJSON() ([]byte, error)

func (*PropertyRequired) UnmarshalJSON added in v0.0.78

func (c *PropertyRequired) UnmarshalJSON(b []byte) error

func (PropertyRequired) Value added in v0.0.90

func (c PropertyRequired) Value() int32

type PropertyRequiredEnum added in v0.0.78

type PropertyRequiredEnum struct {
	E_0 PropertyRequired
	E_1 PropertyRequired
}

func GetPropertyRequiredEnum added in v0.0.78

func GetPropertyRequiredEnum() PropertyRequiredEnum

type PropertyResponseBody added in v0.1.11

type PropertyResponseBody struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *PropertyResponseBodyDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *PropertyResponseBodyRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict *interface{} `json:"enum_dict,omitempty"`

	// 访问模式(兼容20.0,R属性可读,W属性可写,E属性可执行)
	Method *string `json:"method,omitempty"`
}

func (PropertyResponseBody) String added in v0.1.11

func (o PropertyResponseBody) String() string

type PropertyResponseBodyDataType added in v0.1.11

type PropertyResponseBodyDataType struct {
	// contains filtered or unexported fields
}

func (PropertyResponseBodyDataType) MarshalJSON added in v0.1.11

func (c PropertyResponseBodyDataType) MarshalJSON() ([]byte, error)

func (*PropertyResponseBodyDataType) UnmarshalJSON added in v0.1.11

func (c *PropertyResponseBodyDataType) UnmarshalJSON(b []byte) error

func (PropertyResponseBodyDataType) Value added in v0.1.11

type PropertyResponseBodyRequired added in v0.1.11

type PropertyResponseBodyRequired struct {
	// contains filtered or unexported fields
}

func (PropertyResponseBodyRequired) MarshalJSON added in v0.1.11

func (c PropertyResponseBodyRequired) MarshalJSON() ([]byte, error)

func (*PropertyResponseBodyRequired) UnmarshalJSON added in v0.1.11

func (c *PropertyResponseBodyRequired) UnmarshalJSON(b []byte) error

func (PropertyResponseBodyRequired) Value added in v0.1.11

type PropertyResponseBodyRequiredEnum added in v0.1.11

type PropertyResponseBodyRequiredEnum struct {
	E_0 PropertyResponseBodyRequired
	E_1 PropertyResponseBodyRequired
}

func GetPropertyResponseBodyRequiredEnum added in v0.1.11

func GetPropertyResponseBodyRequiredEnum() PropertyResponseBodyRequiredEnum

type PublishLiveDataApiV2Request

type PublishLiveDataApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 后端API的编号
	LdApiId string `json:"ld_api_id"`

	Body *LdApiDeploy `json:"body,omitempty"`
}

PublishLiveDataApiV2Request Request Object

func (PublishLiveDataApiV2Request) String

type PublishLiveDataApiV2Response

type PublishLiveDataApiV2Response struct {

	// 部署的编号
	Id *string `json:"id,omitempty"`

	// 部署的后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 部署的前端API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 部署的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 部署的前端API编号
	ApiId *string `json:"api_id,omitempty"`

	// 部署时间
	DeployTime *sdktime.SdkTime `json:"deploy_time,omitempty"`

	ApiDefinition  *LdApiInfo `json:"api_definition,omitempty"`
	HttpStatusCode int        `json:"-"`
}

PublishLiveDataApiV2Response Response Object

func (PublishLiveDataApiV2Response) String

type PublishResp

type PublishResp struct {

	// 发布记录的ID
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 发布描述
	Remark *string `json:"remark,omitempty"`

	// 发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// 在线的版本号
	VersionId *string `json:"version_id,omitempty"`
}

func (PublishResp) String

func (o PublishResp) String() string

type ReqParam

type ReqParam struct {

	// 参数名称。 由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。
	Name string `json:"name"`

	// 参数类型
	Type ReqParamType `json:"type"`

	// 参数位置
	Location ReqParamLocation `json:"location"`

	// 参数默认值
	DefaultValue *string `json:"default_value,omitempty"`

	// 参数示例值
	SampleValue *string `json:"sample_value,omitempty"`

	// 是否必须 - 1:是 - 2:否  location为PATH时,required默认为1,其他场景required默认为2
	Required *ReqParamRequired `json:"required,omitempty"`

	// 是否开启校验 - 1:开启校验 - 2:不开启校验
	ValidEnable *ReqParamValidEnable `json:"valid_enable,omitempty"`

	// 描述信息。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 参数枚举值
	Enumerations *string `json:"enumerations,omitempty"`

	// 参数最小值  参数类型为NUMBER时有效
	MinNum *int32 `json:"min_num,omitempty"`

	// 参数最大值  参数类型为NUMBER时有效
	MaxNum *int32 `json:"max_num,omitempty"`

	// 参数最小长度  参数类型为STRING时有效
	MinSize *int32 `json:"min_size,omitempty"`

	// 参数最大长度  参数类型为STRING时有效
	MaxSize *int32 `json:"max_size,omitempty"`

	// 正则校验规则  暂不支持
	Regular *string `json:"regular,omitempty"`

	// JSON校验规则  暂不支持
	JsonSchema *string `json:"json_schema,omitempty"`

	// 是否透传 - 1:是 - 2:否
	PassThrough *ReqParamPassThrough `json:"pass_through,omitempty"`

	// 参数编号
	Id *string `json:"id,omitempty"`
}

func (ReqParam) String

func (o ReqParam) String() string

type ReqParamBase

type ReqParamBase struct {

	// 参数名称。 由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。
	Name string `json:"name"`

	// 参数类型
	Type ReqParamBaseType `json:"type"`

	// 参数位置
	Location ReqParamBaseLocation `json:"location"`

	// 参数默认值
	DefaultValue *string `json:"default_value,omitempty"`

	// 参数示例值
	SampleValue *string `json:"sample_value,omitempty"`

	// 是否必须 - 1:是 - 2:否  location为PATH时,required默认为1,其他场景required默认为2
	Required *ReqParamBaseRequired `json:"required,omitempty"`

	// 是否开启校验 - 1:开启校验 - 2:不开启校验
	ValidEnable *ReqParamBaseValidEnable `json:"valid_enable,omitempty"`

	// 描述信息。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 参数枚举值
	Enumerations *string `json:"enumerations,omitempty"`

	// 参数最小值  参数类型为NUMBER时有效
	MinNum *int32 `json:"min_num,omitempty"`

	// 参数最大值  参数类型为NUMBER时有效
	MaxNum *int32 `json:"max_num,omitempty"`

	// 参数最小长度  参数类型为STRING时有效
	MinSize *int32 `json:"min_size,omitempty"`

	// 参数最大长度  参数类型为STRING时有效
	MaxSize *int32 `json:"max_size,omitempty"`

	// 正则校验规则  暂不支持
	Regular *string `json:"regular,omitempty"`

	// JSON校验规则  暂不支持
	JsonSchema *string `json:"json_schema,omitempty"`

	// 是否透传 - 1:是 - 2:否
	PassThrough *ReqParamBasePassThrough `json:"pass_through,omitempty"`
}

func (ReqParamBase) String

func (o ReqParamBase) String() string

type ReqParamBaseLocation

type ReqParamBaseLocation struct {
	// contains filtered or unexported fields
}

func (ReqParamBaseLocation) MarshalJSON

func (c ReqParamBaseLocation) MarshalJSON() ([]byte, error)

func (*ReqParamBaseLocation) UnmarshalJSON

func (c *ReqParamBaseLocation) UnmarshalJSON(b []byte) error

func (ReqParamBaseLocation) Value added in v0.0.90

func (c ReqParamBaseLocation) Value() string

type ReqParamBaseLocationEnum

type ReqParamBaseLocationEnum struct {
	PATH   ReqParamBaseLocation
	QUERY  ReqParamBaseLocation
	HEADER ReqParamBaseLocation
}

func GetReqParamBaseLocationEnum

func GetReqParamBaseLocationEnum() ReqParamBaseLocationEnum

type ReqParamBasePassThrough

type ReqParamBasePassThrough struct {
	// contains filtered or unexported fields
}

func (ReqParamBasePassThrough) MarshalJSON

func (c ReqParamBasePassThrough) MarshalJSON() ([]byte, error)

func (*ReqParamBasePassThrough) UnmarshalJSON

func (c *ReqParamBasePassThrough) UnmarshalJSON(b []byte) error

func (ReqParamBasePassThrough) Value added in v0.0.90

func (c ReqParamBasePassThrough) Value() int32

type ReqParamBasePassThroughEnum

type ReqParamBasePassThroughEnum struct {
	E_1 ReqParamBasePassThrough
	E_2 ReqParamBasePassThrough
}

func GetReqParamBasePassThroughEnum

func GetReqParamBasePassThroughEnum() ReqParamBasePassThroughEnum

type ReqParamBaseRequired

type ReqParamBaseRequired struct {
	// contains filtered or unexported fields
}

func (ReqParamBaseRequired) MarshalJSON

func (c ReqParamBaseRequired) MarshalJSON() ([]byte, error)

func (*ReqParamBaseRequired) UnmarshalJSON

func (c *ReqParamBaseRequired) UnmarshalJSON(b []byte) error

func (ReqParamBaseRequired) Value added in v0.0.90

func (c ReqParamBaseRequired) Value() int32

type ReqParamBaseRequiredEnum

type ReqParamBaseRequiredEnum struct {
	E_1 ReqParamBaseRequired
	E_2 ReqParamBaseRequired
}

func GetReqParamBaseRequiredEnum

func GetReqParamBaseRequiredEnum() ReqParamBaseRequiredEnum

type ReqParamBaseType

type ReqParamBaseType struct {
	// contains filtered or unexported fields
}

func (ReqParamBaseType) MarshalJSON

func (c ReqParamBaseType) MarshalJSON() ([]byte, error)

func (*ReqParamBaseType) UnmarshalJSON

func (c *ReqParamBaseType) UnmarshalJSON(b []byte) error

func (ReqParamBaseType) Value added in v0.0.90

func (c ReqParamBaseType) Value() string

type ReqParamBaseTypeEnum

type ReqParamBaseTypeEnum struct {
	STRING ReqParamBaseType
	NUMBER ReqParamBaseType
}

func GetReqParamBaseTypeEnum

func GetReqParamBaseTypeEnum() ReqParamBaseTypeEnum

type ReqParamBaseValidEnable

type ReqParamBaseValidEnable struct {
	// contains filtered or unexported fields
}

func (ReqParamBaseValidEnable) MarshalJSON

func (c ReqParamBaseValidEnable) MarshalJSON() ([]byte, error)

func (*ReqParamBaseValidEnable) UnmarshalJSON

func (c *ReqParamBaseValidEnable) UnmarshalJSON(b []byte) error

func (ReqParamBaseValidEnable) Value added in v0.0.90

func (c ReqParamBaseValidEnable) Value() int32

type ReqParamBaseValidEnableEnum

type ReqParamBaseValidEnableEnum struct {
	E_1 ReqParamBaseValidEnable
	E_2 ReqParamBaseValidEnable
}

func GetReqParamBaseValidEnableEnum

func GetReqParamBaseValidEnableEnum() ReqParamBaseValidEnableEnum

type ReqParamLocation

type ReqParamLocation struct {
	// contains filtered or unexported fields
}

func (ReqParamLocation) MarshalJSON

func (c ReqParamLocation) MarshalJSON() ([]byte, error)

func (*ReqParamLocation) UnmarshalJSON

func (c *ReqParamLocation) UnmarshalJSON(b []byte) error

func (ReqParamLocation) Value added in v0.0.90

func (c ReqParamLocation) Value() string

type ReqParamLocationEnum

type ReqParamLocationEnum struct {
	PATH   ReqParamLocation
	QUERY  ReqParamLocation
	HEADER ReqParamLocation
}

func GetReqParamLocationEnum

func GetReqParamLocationEnum() ReqParamLocationEnum

type ReqParamPassThrough

type ReqParamPassThrough struct {
	// contains filtered or unexported fields
}

func (ReqParamPassThrough) MarshalJSON

func (c ReqParamPassThrough) MarshalJSON() ([]byte, error)

func (*ReqParamPassThrough) UnmarshalJSON

func (c *ReqParamPassThrough) UnmarshalJSON(b []byte) error

func (ReqParamPassThrough) Value added in v0.0.90

func (c ReqParamPassThrough) Value() int32

type ReqParamPassThroughEnum

type ReqParamPassThroughEnum struct {
	E_1 ReqParamPassThrough
	E_2 ReqParamPassThrough
}

func GetReqParamPassThroughEnum

func GetReqParamPassThroughEnum() ReqParamPassThroughEnum

type ReqParamRequired

type ReqParamRequired struct {
	// contains filtered or unexported fields
}

func (ReqParamRequired) MarshalJSON

func (c ReqParamRequired) MarshalJSON() ([]byte, error)

func (*ReqParamRequired) UnmarshalJSON

func (c *ReqParamRequired) UnmarshalJSON(b []byte) error

func (ReqParamRequired) Value added in v0.0.90

func (c ReqParamRequired) Value() int32

type ReqParamRequiredEnum

type ReqParamRequiredEnum struct {
	E_1 ReqParamRequired
	E_2 ReqParamRequired
}

func GetReqParamRequiredEnum

func GetReqParamRequiredEnum() ReqParamRequiredEnum

type ReqParamType

type ReqParamType struct {
	// contains filtered or unexported fields
}

func (ReqParamType) MarshalJSON

func (c ReqParamType) MarshalJSON() ([]byte, error)

func (*ReqParamType) UnmarshalJSON

func (c *ReqParamType) UnmarshalJSON(b []byte) error

func (ReqParamType) Value added in v0.0.90

func (c ReqParamType) Value() string

type ReqParamTypeEnum

type ReqParamTypeEnum struct {
	STRING ReqParamType
	NUMBER ReqParamType
}

func GetReqParamTypeEnum

func GetReqParamTypeEnum() ReqParamTypeEnum

type ReqParamValidEnable

type ReqParamValidEnable struct {
	// contains filtered or unexported fields
}

func (ReqParamValidEnable) MarshalJSON

func (c ReqParamValidEnable) MarshalJSON() ([]byte, error)

func (*ReqParamValidEnable) UnmarshalJSON

func (c *ReqParamValidEnable) UnmarshalJSON(b []byte) error

func (ReqParamValidEnable) Value added in v0.0.90

func (c ReqParamValidEnable) Value() int32

type ReqParamValidEnableEnum

type ReqParamValidEnableEnum struct {
	E_1 ReqParamValidEnable
	E_2 ReqParamValidEnable
}

func GetReqParamValidEnableEnum

func GetReqParamValidEnableEnum() ReqParamValidEnableEnum

type RequestCountStats

type RequestCountStats struct {

	// 请求总次数
	ReqCount *int32 `json:"req_count,omitempty"`

	// 2xx响应码总次数
	ReqCount2xx *int32 `json:"req_count2xx,omitempty"`

	// 4xx响应码总次数
	ReqCount4xx *int32 `json:"req_count4xx,omitempty"`

	// 5xx响应码总次数
	ReqCount5xx *int32 `json:"req_count5xx,omitempty"`

	// 错误次数
	ReqCountError *int32 `json:"req_count_error,omitempty"`
}

func (RequestCountStats) String

func (o RequestCountStats) String() string

type RequestParameter

type RequestParameter struct {

	// 请求参数名
	ParameterName *string `json:"parameter_name,omitempty"`

	// 请求参数值
	ParameterValue *string `json:"parameter_value,omitempty"`
}

func (RequestParameter) String

func (o RequestParameter) String() string

type ResetAuthenticationRequest

type ResetAuthenticationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`

	Body *ResetAuthenticationRequestBody `json:"body,omitempty"`
}

ResetAuthenticationRequest Request Object

func (ResetAuthenticationRequest) String

type ResetAuthenticationRequestBody added in v0.1.11

type ResetAuthenticationRequestBody struct {

	// 设备用户名,支持英文大小写、英文符号(-)及数字,长度限制10-50位,传参空,用户名不被重置
	UserName *string `json:"user_name,omitempty"`

	// 设备密码,输入要求:至少1数字,1大写字母,1小写字母,1特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32位,传参空,密码不被重置。当用户名与密码都为空时,密码重置,由系统生成。
	Password *string `json:"password,omitempty"`
}

ResetAuthenticationRequestBody 设备用户密码更新请求

func (ResetAuthenticationRequestBody) String added in v0.1.11

type ResetAuthenticationResponse

type ResetAuthenticationResponse struct {

	// 一型一密/一机一密的用户名
	UserName *string `json:"user_name,omitempty"`

	// 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符
	Password       *string `json:"password,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ResetAuthenticationResponse Response Object

func (ResetAuthenticationResponse) String

type ResetMessagesReq

type ResetMessagesReq struct {

	// topic名称。
	Topic string `json:"topic"`

	// 分区。
	Partition int32 `json:"partition"`

	// 消息偏移量。
	MessageOffset float32 `json:"message_offset"`

	// 应用key。在该消息头中添加一个consumer_key的消息头。
	ConsumerKey *string `json:"consumer_key,omitempty"`
}

func (ResetMessagesReq) String

func (o ResetMessagesReq) String() string

type ResetMessagesRequest

type ResetMessagesRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 重发类型。当前只支持“resend”。
	ActionId ResetMessagesRequestActionId `json:"action_id"`

	Body *ResetMessagesReq `json:"body,omitempty"`
}

ResetMessagesRequest Request Object

func (ResetMessagesRequest) String

func (o ResetMessagesRequest) String() string

type ResetMessagesRequestActionId

type ResetMessagesRequestActionId struct {
	// contains filtered or unexported fields
}

func (ResetMessagesRequestActionId) MarshalJSON

func (c ResetMessagesRequestActionId) MarshalJSON() ([]byte, error)

func (*ResetMessagesRequestActionId) UnmarshalJSON

func (c *ResetMessagesRequestActionId) UnmarshalJSON(b []byte) error

func (ResetMessagesRequestActionId) Value added in v0.0.90

type ResetMessagesRequestActionIdEnum

type ResetMessagesRequestActionIdEnum struct {
	RESEND ResetMessagesRequestActionId
}

func GetResetMessagesRequestActionIdEnum

func GetResetMessagesRequestActionIdEnum() ResetMessagesRequestActionIdEnum

type ResetMessagesResponse

type ResetMessagesResponse struct {

	// topic名称。
	Topic *string `json:"topic,omitempty"`

	// 分区。
	Partition *int32 `json:"partition,omitempty"`

	// 消息偏移量。
	MessageOffset *int64 `json:"message_offset,omitempty"`

	// 应用key。在该消息头中添加一个consumer_key的消息头。
	ConsumerKey    *string `json:"consumer_key,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ResetMessagesResponse Response Object

func (ResetMessagesResponse) String

func (o ResetMessagesResponse) String() string

type ResetMultiTaskOffsetRequest

type ResetMultiTaskOffsetRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`

	Body *MultiTaskResetBody `json:"body,omitempty"`
}

ResetMultiTaskOffsetRequest Request Object

func (ResetMultiTaskOffsetRequest) String

type ResetMultiTaskOffsetResponse

type ResetMultiTaskOffsetResponse struct {

	// 任务重置结果
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ResetMultiTaskOffsetResponse Response Object

func (ResetMultiTaskOffsetResponse) String

type ResetProductAuthenticationRequest

type ResetProductAuthenticationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`

	Body *ResetProductAuthenticationRequestBody `json:"body,omitempty"`
}

ResetProductAuthenticationRequest Request Object

func (ResetProductAuthenticationRequest) String

type ResetProductAuthenticationRequestBody added in v0.1.11

type ResetProductAuthenticationRequestBody struct {

	// 产品用户名,支持英文大小写、英文符号(-)及数字,长度限制10-50位,传参空,用户名不被重置
	UserName *string `json:"user_name,omitempty"`

	// 产品密码,包含数字、英文字母大小写、特殊字符(-~!@#$%^&*()-_=+|[{}];:<>/?),长度10-80位,传参空,密码不被重置。当用户名与密码都为空时,密码重置,由系统生成。
	Password *string `json:"password,omitempty"`
}

func (ResetProductAuthenticationRequestBody) String added in v0.1.11

type ResetProductAuthenticationResponse

type ResetProductAuthenticationResponse struct {

	// 一型一密/一机一密的用户名
	UserName *string `json:"user_name,omitempty"`

	// 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符
	Password       *string `json:"password,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ResetProductAuthenticationResponse Response Object

func (ResetProductAuthenticationResponse) String

type ResetRomaAppSecretRequest

type ResetRomaAppSecretRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *UpdateAppSecretReq `json:"body,omitempty"`
}

ResetRomaAppSecretRequest Request Object

func (ResetRomaAppSecretRequest) String

func (o ResetRomaAppSecretRequest) String() string

type ResetRomaAppSecretResponse

type ResetRomaAppSecretResponse struct {

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做
	Secret         *string `json:"secret,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ResetRomaAppSecretResponse Response Object

func (ResetRomaAppSecretResponse) String

type RespInstanceBase

type RespInstanceBase struct {

	// 实例编号
	Id *string `json:"id,omitempty"`

	// 实例所属项目编号
	ProjectId *string `json:"project_id,omitempty"`

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时
	Status *RespInstanceBaseStatus `json:"status,omitempty"`

	// 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时
	InstanceStatus *RespInstanceBaseInstanceStatus `json:"instance_status,omitempty"`

	// 实例类型  暂不支持
	Type *string `json:"type,omitempty"`

	// 实例规格: - ROMA_BASIC:基础版实例 - ROMA_PROFESSIONAL:专业版实例 - ROMA_ENTERPRISE:企业版实例 - ROMA_PLATINUM:铂金版实例 [- ROMA_BASIC_IPV6:基础版IPV6实例](tag:hcs) [- ROMA_PROFESSIONAL_IPV6:专业版IPV6实例](tag:hcs) [- ROMA_ENTERPRISE_IPV6:企业版IPV6实例](tag:hcs) [- ROMA_PLATINUM_IPV6:铂金版IPV6实例](tag:hcs)
	Spec *RespInstanceBaseSpec `json:"spec,omitempty"`

	// 实例创建时间。unix时间戳格式。
	CreateTime *int64 `json:"create_time,omitempty"`

	// 企业项目ID,企业帐号必填
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 实例绑定的弹性IP地址
	EipAddress *string `json:"eip_address,omitempty"`

	// 实例计费方式: - 0:按需计费 - 1:包周期计费
	ChargingMode *RespInstanceBaseChargingMode `json:"charging_mode,omitempty"`

	// 包周期计费订单编号
	CbcMetadata *string `json:"cbc_metadata,omitempty"`
}

func (RespInstanceBase) String

func (o RespInstanceBase) String() string

type RespInstanceBaseChargingMode added in v0.0.78

type RespInstanceBaseChargingMode struct {
	// contains filtered or unexported fields
}

func (RespInstanceBaseChargingMode) MarshalJSON added in v0.0.78

func (c RespInstanceBaseChargingMode) MarshalJSON() ([]byte, error)

func (*RespInstanceBaseChargingMode) UnmarshalJSON added in v0.0.78

func (c *RespInstanceBaseChargingMode) UnmarshalJSON(b []byte) error

func (RespInstanceBaseChargingMode) Value added in v0.0.90

type RespInstanceBaseChargingModeEnum added in v0.0.78

type RespInstanceBaseChargingModeEnum struct {
	E_0 RespInstanceBaseChargingMode
	E_1 RespInstanceBaseChargingMode
}

func GetRespInstanceBaseChargingModeEnum added in v0.0.78

func GetRespInstanceBaseChargingModeEnum() RespInstanceBaseChargingModeEnum

type RespInstanceBaseInstanceStatus added in v0.0.78

type RespInstanceBaseInstanceStatus struct {
	// contains filtered or unexported fields
}

func (RespInstanceBaseInstanceStatus) MarshalJSON added in v0.0.78

func (c RespInstanceBaseInstanceStatus) MarshalJSON() ([]byte, error)

func (*RespInstanceBaseInstanceStatus) UnmarshalJSON added in v0.0.78

func (c *RespInstanceBaseInstanceStatus) UnmarshalJSON(b []byte) error

func (RespInstanceBaseInstanceStatus) Value added in v0.0.90

type RespInstanceBaseSpec

type RespInstanceBaseSpec struct {
	// contains filtered or unexported fields
}

func (RespInstanceBaseSpec) MarshalJSON

func (c RespInstanceBaseSpec) MarshalJSON() ([]byte, error)

func (*RespInstanceBaseSpec) UnmarshalJSON

func (c *RespInstanceBaseSpec) UnmarshalJSON(b []byte) error

func (RespInstanceBaseSpec) Value added in v0.0.90

func (c RespInstanceBaseSpec) Value() string

type RespInstanceBaseSpecEnum

type RespInstanceBaseSpecEnum struct {
	ROMA_BASIC             RespInstanceBaseSpec
	ROMA_PROFESSIONAL      RespInstanceBaseSpec
	ROMA_ENTERPRISE        RespInstanceBaseSpec
	ROMA_PLATINUM          RespInstanceBaseSpec
	ROMA_BASIC_IPV6        RespInstanceBaseSpec
	ROMA_PROFESSIONAL_IPV6 RespInstanceBaseSpec
	ROMA_ENTERPRISE_IPV6   RespInstanceBaseSpec
	ROMA_PLATINUM_IPV6     RespInstanceBaseSpec
}

func GetRespInstanceBaseSpecEnum

func GetRespInstanceBaseSpecEnum() RespInstanceBaseSpecEnum

type RespInstanceBaseStatus

type RespInstanceBaseStatus struct {
	// contains filtered or unexported fields
}

func (RespInstanceBaseStatus) MarshalJSON

func (c RespInstanceBaseStatus) MarshalJSON() ([]byte, error)

func (*RespInstanceBaseStatus) UnmarshalJSON

func (c *RespInstanceBaseStatus) UnmarshalJSON(b []byte) error

func (RespInstanceBaseStatus) Value added in v0.0.90

func (c RespInstanceBaseStatus) Value() string

type RespInstanceBaseStatusEnum

type RespInstanceBaseStatusEnum struct {
	CREATING           RespInstanceBaseStatus
	CREATE_SUCCESS     RespInstanceBaseStatus
	CREATE_FAIL        RespInstanceBaseStatus
	INITING            RespInstanceBaseStatus
	REGISTERING        RespInstanceBaseStatus
	RUNNING            RespInstanceBaseStatus
	INITING_FAILED     RespInstanceBaseStatus
	REGISTER_FAILED    RespInstanceBaseStatus
	INSTALLING         RespInstanceBaseStatus
	INSTALL_FAILED     RespInstanceBaseStatus
	UPDATING           RespInstanceBaseStatus
	UPDATE_FAILED      RespInstanceBaseStatus
	ROLLBACKING        RespInstanceBaseStatus
	ROLLBACK_SUCCESS   RespInstanceBaseStatus
	ROLLBACK_FAILED    RespInstanceBaseStatus
	DELETING           RespInstanceBaseStatus
	DELETE_FAILED      RespInstanceBaseStatus
	UNREGISTERING      RespInstanceBaseStatus
	UN_REGISTER_FAILED RespInstanceBaseStatus
	CREATE_TIMEOUT     RespInstanceBaseStatus
	INIT_TIMEOUT       RespInstanceBaseStatus
	REGISTER_TIMEOUT   RespInstanceBaseStatus
	INSTALL_TIMEOUT    RespInstanceBaseStatus
	UPDATE_TIMEOUT     RespInstanceBaseStatus
	ROLLBACK_TIMEOUT   RespInstanceBaseStatus
	DELETE_TIMEOUT     RespInstanceBaseStatus
	UNREGISTER_TIMEOUT RespInstanceBaseStatus
	STARTING           RespInstanceBaseStatus
	FREEZING           RespInstanceBaseStatus
	FROZEN             RespInstanceBaseStatus
	RESTARTING         RespInstanceBaseStatus
	RESTART_FAIL       RespInstanceBaseStatus
	UNHEALTHY          RespInstanceBaseStatus
	RESTART_TIMEOUT    RespInstanceBaseStatus
}

func GetRespInstanceBaseStatusEnum

func GetRespInstanceBaseStatusEnum() RespInstanceBaseStatusEnum

type RomaInstanceCheckListRespInstances

type RomaInstanceCheckListRespInstances struct {

	// 实例ID
	Id *string `json:"id,omitempty"`

	// 实例名称
	Name *string `json:"name,omitempty"`

	// 实例描述
	Description *string `json:"description,omitempty"`

	// 实例规格ID
	FlavorId *string `json:"flavor_id,omitempty"`

	// 实例规格类型
	FlavorType *string `json:"flavor_type,omitempty"`

	// CPU架构类型,取值如下: - x86_64: x86架构 - aarch64: arm架构
	CpuArch *RomaInstanceCheckListRespInstancesCpuArch `json:"cpu_arch,omitempty"`

	// 实例指定虚拟私有云ID
	VpcId *string `json:"vpc_id,omitempty"`

	// 实例指定虚拟私有云子网ID
	SubnetId *string `json:"subnet_id,omitempty"`

	// 实例指定安全组ID
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 是否开启公网访问,开启时publicip_id字段必填。
	PublicipEnable *bool `json:"publicip_enable,omitempty"`

	// 实例绑定的弹性公网地址ID
	PublicipId *string `json:"publicip_id,omitempty"`

	// 实例绑定的弹性公网地址
	PublicipAddress *string `json:"publicip_address,omitempty"`

	// 实例运行状态
	Status *RomaInstanceCheckListRespInstancesStatus `json:"status,omitempty"`

	// 错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误消息
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 实例计费模式
	ChargeType *RomaInstanceCheckListRespInstancesChargeType `json:"charge_type,omitempty"`

	// 租户项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 运维开始时间
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 运维结束时间
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// 创实例使用的可用区列表
	AvailableZoneIds *[]string `json:"available_zone_ids,omitempty"`

	// 实例所属企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (RomaInstanceCheckListRespInstances) String

type RomaInstanceCheckListRespInstancesChargeType

type RomaInstanceCheckListRespInstancesChargeType struct {
	// contains filtered or unexported fields
}

func (RomaInstanceCheckListRespInstancesChargeType) MarshalJSON

func (*RomaInstanceCheckListRespInstancesChargeType) UnmarshalJSON

func (RomaInstanceCheckListRespInstancesChargeType) Value added in v0.0.90

type RomaInstanceCheckListRespInstancesChargeTypeEnum

type RomaInstanceCheckListRespInstancesChargeTypeEnum struct {
	PRE_PAID  RomaInstanceCheckListRespInstancesChargeType
	POST_PAID RomaInstanceCheckListRespInstancesChargeType
}

func GetRomaInstanceCheckListRespInstancesChargeTypeEnum

func GetRomaInstanceCheckListRespInstancesChargeTypeEnum() RomaInstanceCheckListRespInstancesChargeTypeEnum

type RomaInstanceCheckListRespInstancesCpuArch

type RomaInstanceCheckListRespInstancesCpuArch struct {
	// contains filtered or unexported fields
}

func (RomaInstanceCheckListRespInstancesCpuArch) MarshalJSON

func (*RomaInstanceCheckListRespInstancesCpuArch) UnmarshalJSON

func (RomaInstanceCheckListRespInstancesCpuArch) Value added in v0.0.90

type RomaInstanceCheckListRespInstancesCpuArchEnum

type RomaInstanceCheckListRespInstancesCpuArchEnum struct {
	X86_64  RomaInstanceCheckListRespInstancesCpuArch
	AARCH64 RomaInstanceCheckListRespInstancesCpuArch
}

func GetRomaInstanceCheckListRespInstancesCpuArchEnum

func GetRomaInstanceCheckListRespInstancesCpuArchEnum() RomaInstanceCheckListRespInstancesCpuArchEnum

type RomaInstanceCheckListRespInstancesStatus

type RomaInstanceCheckListRespInstancesStatus struct {
	// contains filtered or unexported fields
}

func (RomaInstanceCheckListRespInstancesStatus) MarshalJSON

func (*RomaInstanceCheckListRespInstancesStatus) UnmarshalJSON

func (c *RomaInstanceCheckListRespInstancesStatus) UnmarshalJSON(b []byte) error

func (RomaInstanceCheckListRespInstancesStatus) Value added in v0.0.90

type Rule

type Rule struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 规则ID
	RuleId *int32 `json:"rule_id,omitempty"`

	// 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64
	Name *string `json:"name,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 规则状态 0-启用 1-停用
	Status *RuleStatus `json:"status,omitempty"`

	// 数据解析状态,ENABLE时data_parsing必填 0-启用 1-停用
	DataParsingStatus *RuleDataParsingStatus `json:"data_parsing_status,omitempty"`

	// SQL查询字段
	SqlField *string `json:"sql_field,omitempty"`

	// SQL查询条件
	SqlWhere *string `json:"sql_where,omitempty"`

	// 完整的规则表达式
	RuleExpress *string `json:"rule_express,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
}

func (Rule) String

func (o Rule) String() string

type RuleDataParsingStatus added in v0.0.78

type RuleDataParsingStatus struct {
	// contains filtered or unexported fields
}

func (RuleDataParsingStatus) MarshalJSON added in v0.0.78

func (c RuleDataParsingStatus) MarshalJSON() ([]byte, error)

func (*RuleDataParsingStatus) UnmarshalJSON added in v0.0.78

func (c *RuleDataParsingStatus) UnmarshalJSON(b []byte) error

func (RuleDataParsingStatus) Value added in v0.0.90

func (c RuleDataParsingStatus) Value() int32

type RuleDataParsingStatusEnum added in v0.0.78

type RuleDataParsingStatusEnum struct {
	E_0 RuleDataParsingStatus
	E_1 RuleDataParsingStatus
}

func GetRuleDataParsingStatusEnum added in v0.0.78

func GetRuleDataParsingStatusEnum() RuleDataParsingStatusEnum

type RuleStatus added in v0.0.78

type RuleStatus struct {
	// contains filtered or unexported fields
}

func (RuleStatus) MarshalJSON added in v0.0.78

func (c RuleStatus) MarshalJSON() ([]byte, error)

func (*RuleStatus) UnmarshalJSON added in v0.0.78

func (c *RuleStatus) UnmarshalJSON(b []byte) error

func (RuleStatus) Value added in v0.0.90

func (c RuleStatus) Value() int32

type RuleStatusEnum added in v0.0.78

type RuleStatusEnum struct {
	E_0 RuleStatus
	E_1 RuleStatus
}

func GetRuleStatusEnum added in v0.0.78

func GetRuleStatusEnum() RuleStatusEnum

type RunTaskRequest

type RunTaskRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`
}

RunTaskRequest Request Object

func (RunTaskRequest) String

func (o RunTaskRequest) String() string

type RunTaskResponse

type RunTaskResponse struct {
	HttpStatusCode int `json:"-"`
}

RunTaskResponse Response Object

func (RunTaskResponse) String

func (o RunTaskResponse) String() string

type SendCommandRequest

type SendCommandRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`

	Body *SendCommandRequestBody `json:"body,omitempty"`
}

SendCommandRequest Request Object

func (SendCommandRequest) String

func (o SendCommandRequest) String() string

type SendCommandRequestBody

type SendCommandRequestBody struct {

	// 服务ID,自动向下取整
	ServiceId int32 `json:"service_id"`

	// 命令ID,自动向下取整
	CommandId int32 `json:"command_id"`

	// 命令是否同步 true-同步 false-异步 同步命令会将命令以MQTT消息发送给设备后等待设备的MQTT命令响应,收到响应后再回复响应(默认超时5秒),异步命令则以立即返回响应
	IsSync bool `json:"is_sync"`

	// 请求参数列表
	Requests *[]RequestParameter `json:"requests,omitempty"`
}

func (SendCommandRequestBody) String

func (o SendCommandRequestBody) String() string

type SendCommandResponse

type SendCommandResponse struct {
	HttpStatusCode int `json:"-"`
}

SendCommandResponse Response Object

func (SendCommandResponse) String

func (o SendCommandResponse) String() string

type ServerAppInfo

type ServerAppInfo struct {

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 应用描述
	Remark *string `json:"remark,omitempty"`

	// 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限
	Roles *[]ServerAppInfoRoles `json:"roles,omitempty"`

	// 创建UTC时间
	CreateTime *string `json:"create_time,omitempty"`

	// 创建UTC时间
	UpdateTime *string `json:"update_time,omitempty"`

	CreatedUser *ServerAppInfoCreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *ServerAppInfoLastUpdatedUser `json:"last_updated_user,omitempty"`

	// 是否是应用拥有者
	Owner *bool `json:"owner,omitempty"`

	// 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一
	Key *string `json:"key,omitempty"`

	// 是否收藏应用,收藏的应用会在列表里优先显示
	Favorite *bool `json:"favorite,omitempty"`
}

func (ServerAppInfo) String

func (o ServerAppInfo) String() string

type ServerAppInfoCreatedUser

type ServerAppInfoCreatedUser struct {

	// 创建应用的用户ID
	UserId *string `json:"user_id,omitempty"`

	// 创建应用的用户名称
	UserName *string `json:"user_name,omitempty"`
}

ServerAppInfoCreatedUser 创建用户信息

func (ServerAppInfoCreatedUser) String

func (o ServerAppInfoCreatedUser) String() string

type ServerAppInfoLastUpdatedUser

type ServerAppInfoLastUpdatedUser struct {

	// 最后修改者的用户ID
	UserId *string `json:"user_id,omitempty"`

	// 最后修改者的用户名
	UserName *string `json:"user_name,omitempty"`
}

ServerAppInfoLastUpdatedUser 最后更新用户信息

func (ServerAppInfoLastUpdatedUser) String

type ServerAppInfoRoles

type ServerAppInfoRoles struct {
	// contains filtered or unexported fields
}

func (ServerAppInfoRoles) MarshalJSON

func (c ServerAppInfoRoles) MarshalJSON() ([]byte, error)

func (*ServerAppInfoRoles) UnmarshalJSON

func (c *ServerAppInfoRoles) UnmarshalJSON(b []byte) error

func (ServerAppInfoRoles) Value added in v0.0.90

func (c ServerAppInfoRoles) Value() string

type ServerAppInfoRolesEnum

type ServerAppInfoRolesEnum struct {
	READ   ServerAppInfoRoles
	ACCESS ServerAppInfoRoles
	DELETE ServerAppInfoRoles
	MODIFY ServerAppInfoRoles
	ADMIN  ServerAppInfoRoles
}

func GetServerAppInfoRolesEnum

func GetServerAppInfoRolesEnum() ServerAppInfoRolesEnum

type Service

type Service struct {

	// 服务归属的产品模板ID
	ProductTemplateId *int32 `json:"product_template_id,omitempty"`

	// 服务归属的产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 服务ID
	ServiceId *int32 `json:"service_id,omitempty"`

	// 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	ServiceName *string `json:"service_name,omitempty"`

	// 服务描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 服务状态 0-启用 1-停用
	Status *ServiceStatus `json:"status,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间止,格式timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间止,格式timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
}

func (Service) String

func (o Service) String() string

type ServiceStatus added in v0.0.78

type ServiceStatus struct {
	// contains filtered or unexported fields
}

func (ServiceStatus) MarshalJSON added in v0.0.78

func (c ServiceStatus) MarshalJSON() ([]byte, error)

func (*ServiceStatus) UnmarshalJSON added in v0.0.78

func (c *ServiceStatus) UnmarshalJSON(b []byte) error

func (ServiceStatus) Value added in v0.0.90

func (c ServiceStatus) Value() int32

type ServiceStatusEnum added in v0.0.78

type ServiceStatusEnum struct {
	E_0 ServiceStatus
	E_1 ServiceStatus
}

func GetServiceStatusEnum added in v0.0.78

func GetServiceStatusEnum() ServiceStatusEnum

type ShadowService

type ShadowService struct {

	// 服务ID
	ServiceId *int32 `json:"service_id,omitempty"`

	// 服务名称
	ServiceName *string `json:"service_name,omitempty"`

	// 影子值
	Properties *[]ShadowValue `json:"properties,omitempty"`
}

func (ShadowService) String

func (o ShadowService) String() string

type ShadowValue

type ShadowValue struct {

	// 属性名称
	PropertyName *string `json:"property_name,omitempty"`

	// 属性最后一次上报值
	PropertyValue *string `json:"property_value,omitempty"`

	// 属性最后一次上报时间,格式timestamp(ms),使用UTC时区
	PropertyUpdatedDate *int64 `json:"property_updated_date,omitempty"`
}

func (ShadowValue) String

func (o ShadowValue) String() string

type ShowAppBoundAppQuotaRequest

type ShowAppBoundAppQuotaRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

ShowAppBoundAppQuotaRequest Request Object

func (ShowAppBoundAppQuotaRequest) String

type ShowAppBoundAppQuotaResponse

type ShowAppBoundAppQuotaResponse struct {

	// 客户端配额编号
	AppQuotaId *string `json:"app_quota_id,omitempty"`

	// 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符
	Name *string `json:"name,omitempty"`

	// 客户端配额的访问次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天
	TimeUnit *ShowAppBoundAppQuotaResponseTimeUnit `json:"time_unit,omitempty"`

	// 配额的限定时间值
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 参数说明和描述
	Remark *string `json:"remark,omitempty"`

	// 首次配额重置时间点,不配置默认为首次调用时间计算
	ResetTime *string `json:"reset_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 配额策略已绑定应用数量
	BoundAppNum    *int32 `json:"bound_app_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowAppBoundAppQuotaResponse Response Object

func (ShowAppBoundAppQuotaResponse) String

type ShowAppBoundAppQuotaResponseTimeUnit

type ShowAppBoundAppQuotaResponseTimeUnit struct {
	// contains filtered or unexported fields
}

func (ShowAppBoundAppQuotaResponseTimeUnit) MarshalJSON

func (c ShowAppBoundAppQuotaResponseTimeUnit) MarshalJSON() ([]byte, error)

func (*ShowAppBoundAppQuotaResponseTimeUnit) UnmarshalJSON

func (c *ShowAppBoundAppQuotaResponseTimeUnit) UnmarshalJSON(b []byte) error

func (ShowAppBoundAppQuotaResponseTimeUnit) Value added in v0.0.90

type ShowAppQuotaRequest

type ShowAppQuotaRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 客户端配额编号
	AppQuotaId string `json:"app_quota_id"`
}

ShowAppQuotaRequest Request Object

func (ShowAppQuotaRequest) String

func (o ShowAppQuotaRequest) String() string

type ShowAppQuotaResponse

type ShowAppQuotaResponse struct {

	// 客户端配额编号
	AppQuotaId *string `json:"app_quota_id,omitempty"`

	// 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符
	Name *string `json:"name,omitempty"`

	// 客户端配额的访问次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天
	TimeUnit *ShowAppQuotaResponseTimeUnit `json:"time_unit,omitempty"`

	// 配额的限定时间值
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 参数说明和描述
	Remark *string `json:"remark,omitempty"`

	// 首次配额重置时间点,不配置默认为首次调用时间计算
	ResetTime *string `json:"reset_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 配额策略已绑定应用数量
	BoundAppNum    *int32 `json:"bound_app_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowAppQuotaResponse Response Object

func (ShowAppQuotaResponse) String

func (o ShowAppQuotaResponse) String() string

type ShowAppQuotaResponseTimeUnit

type ShowAppQuotaResponseTimeUnit struct {
	// contains filtered or unexported fields
}

func (ShowAppQuotaResponseTimeUnit) MarshalJSON

func (c ShowAppQuotaResponseTimeUnit) MarshalJSON() ([]byte, error)

func (*ShowAppQuotaResponseTimeUnit) UnmarshalJSON

func (c *ShowAppQuotaResponseTimeUnit) UnmarshalJSON(b []byte) error

func (ShowAppQuotaResponseTimeUnit) Value added in v0.0.90

type ShowAuthenticationRequest

type ShowAuthenticationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`
}

ShowAuthenticationRequest Request Object

func (ShowAuthenticationRequest) String

func (o ShowAuthenticationRequest) String() string

type ShowAuthenticationResponse

type ShowAuthenticationResponse struct {

	// 一型一密/一机一密的用户名
	UserName *string `json:"user_name,omitempty"`

	// 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符
	Password       *string `json:"password,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAuthenticationResponse Response Object

func (ShowAuthenticationResponse) String

type ShowCommandRequest

type ShowCommandRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`
}

ShowCommandRequest Request Object

func (ShowCommandRequest) String

func (o ShowCommandRequest) String() string

type ShowCommandResponse

type ShowCommandResponse struct {

	// 命令所属服务id
	ServiceId *int32 `json:"service_id,omitempty"`

	// 命令id
	CommandId *int32 `json:"command_id,omitempty"`

	// 命令名称
	CommandName *string `json:"command_name,omitempty"`

	// 命令描述
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowCommandResponse Response Object

func (ShowCommandResponse) String

func (o ShowCommandResponse) String() string

type ShowDataourceDetailRequest

type ShowDataourceDetailRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 数据源ID
	DatasourceId string `json:"datasource_id"`
}

ShowDataourceDetailRequest Request Object

func (ShowDataourceDetailRequest) String

type ShowDataourceDetailResponse

type ShowDataourceDetailResponse struct {

	// 数据源ID
	DatasourceId *string `json:"datasource_id,omitempty"`

	// 数据源名称
	DatasourceName *string `json:"datasource_name,omitempty"`

	// 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS
	DatasourceType *ShowDataourceDetailResponseDatasourceType `json:"datasource_type,omitempty"`

	// 数据源所属虚拟私有云VpcId
	VpcId *string `json:"vpc_id,omitempty"`

	// 数据源所属应用ID
	AppId *string `json:"app_id,omitempty"`

	// 数据源所属应用名称
	AppName *string `json:"app_name,omitempty"`

	// 数据源所属实例Id
	InstanceId *string `json:"instance_id,omitempty"`

	// 数据源创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 数据源修改时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 数据源所属连接器Id
	CustomPluginId *string `json:"custom_plugin_id,omitempty"`

	Content *Content `json:"content,omitempty"`

	// 数据源描述
	Description *string `json:"description,omitempty"`

	// 集成应用权限信息 - read (读权限) - access (调用权限) - delete (删除权限) - modify (修改权限)
	AppPermission  *[]ShowDataourceDetailResponseAppPermission `json:"app_permission,omitempty"`
	HttpStatusCode int                                         `json:"-"`
}

ShowDataourceDetailResponse Response Object

func (ShowDataourceDetailResponse) String

type ShowDataourceDetailResponseAppPermission

type ShowDataourceDetailResponseAppPermission struct {
	// contains filtered or unexported fields
}

func (ShowDataourceDetailResponseAppPermission) MarshalJSON

func (*ShowDataourceDetailResponseAppPermission) UnmarshalJSON

func (c *ShowDataourceDetailResponseAppPermission) UnmarshalJSON(b []byte) error

func (ShowDataourceDetailResponseAppPermission) Value added in v0.0.90

type ShowDataourceDetailResponseDatasourceType

type ShowDataourceDetailResponseDatasourceType struct {
	// contains filtered or unexported fields
}

func (ShowDataourceDetailResponseDatasourceType) MarshalJSON

func (*ShowDataourceDetailResponseDatasourceType) UnmarshalJSON

func (ShowDataourceDetailResponseDatasourceType) Value added in v0.0.90

type ShowDataourceDetailResponseDatasourceTypeEnum

type ShowDataourceDetailResponseDatasourceTypeEnum struct {
	DWS        ShowDataourceDetailResponseDatasourceType
	MYSQL      ShowDataourceDetailResponseDatasourceType
	KAFKA      ShowDataourceDetailResponseDatasourceType
	API        ShowDataourceDetailResponseDatasourceType
	OBS        ShowDataourceDetailResponseDatasourceType
	SAP        ShowDataourceDetailResponseDatasourceType
	MRSHBASE   ShowDataourceDetailResponseDatasourceType
	MRSHDFS    ShowDataourceDetailResponseDatasourceType
	MRSHIVE    ShowDataourceDetailResponseDatasourceType
	WEBSOCKET  ShowDataourceDetailResponseDatasourceType
	SQLSERVER  ShowDataourceDetailResponseDatasourceType
	ORACLE     ShowDataourceDetailResponseDatasourceType
	POSTGRESQL ShowDataourceDetailResponseDatasourceType
	REDIS      ShowDataourceDetailResponseDatasourceType
	MONGODB    ShowDataourceDetailResponseDatasourceType
	DIS        ShowDataourceDetailResponseDatasourceType
	HL7        ShowDataourceDetailResponseDatasourceType
	RABBITMQ   ShowDataourceDetailResponseDatasourceType
	SNMP       ShowDataourceDetailResponseDatasourceType
	IBMMQ      ShowDataourceDetailResponseDatasourceType
	CUSTOMIZED ShowDataourceDetailResponseDatasourceType
	ACTIVEMQ   ShowDataourceDetailResponseDatasourceType
	ARTEMISMQ  ShowDataourceDetailResponseDatasourceType
	FTP        ShowDataourceDetailResponseDatasourceType
	HIVE       ShowDataourceDetailResponseDatasourceType
	HANA       ShowDataourceDetailResponseDatasourceType
	FIKAFKA    ShowDataourceDetailResponseDatasourceType
	MRSKAFKA   ShowDataourceDetailResponseDatasourceType
	FIHDFS     ShowDataourceDetailResponseDatasourceType
	FIHIVE     ShowDataourceDetailResponseDatasourceType
	GAUSS200   ShowDataourceDetailResponseDatasourceType
	GAUSS100   ShowDataourceDetailResponseDatasourceType
	LDAP       ShowDataourceDetailResponseDatasourceType
	DB2        ShowDataourceDetailResponseDatasourceType
	TAURUS     ShowDataourceDetailResponseDatasourceType
}

func GetShowDataourceDetailResponseDatasourceTypeEnum

func GetShowDataourceDetailResponseDatasourceTypeEnum() ShowDataourceDetailResponseDatasourceTypeEnum

type ShowDetailsOfAclPolicyV2Request

type ShowDetailsOfAclPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// ACL策略的编号
	AclId string `json:"acl_id"`
}

ShowDetailsOfAclPolicyV2Request Request Object

func (ShowDetailsOfAclPolicyV2Request) String

type ShowDetailsOfAclPolicyV2Response

type ShowDetailsOfAclPolicyV2Response struct {

	// 名称
	AclName *string `json:"acl_name,omitempty"`

	// 类型: - PERMIT(白名单类型) - DENY(黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// ACL策略值
	AclValue *string `json:"acl_value,omitempty"`

	// 对象类型: - IP - DOMAIN
	EntityType *string `json:"entity_type,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowDetailsOfAclPolicyV2Response Response Object

func (ShowDetailsOfAclPolicyV2Response) String

type ShowDetailsOfApiGroupV2Request

type ShowDetailsOfApiGroupV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`
}

ShowDetailsOfApiGroupV2Request Request Object

func (ShowDetailsOfApiGroupV2Request) String

type ShowDetailsOfApiGroupV2Response

type ShowDetailsOfApiGroupV2Response struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status ShowDetailsOfApiGroupV2ResponseStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中  ROMAConnect暂未对接云市场,此字段默认返回2
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置  暂不支持
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 流控时长  暂不支持
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 流控的时间单位  暂不支持
	TimeUnit *string `json:"time_unit,omitempty"`

	// 是否为默认分组
	IsDefault *int32 `json:"is_default,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组
	Version *string `json:"version,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组归属的集成应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfApiGroupV2Response Response Object

func (ShowDetailsOfApiGroupV2Response) String

type ShowDetailsOfApiGroupV2ResponseStatus

type ShowDetailsOfApiGroupV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfApiGroupV2ResponseStatus) MarshalJSON

func (c ShowDetailsOfApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfApiGroupV2ResponseStatus) UnmarshalJSON

func (c *ShowDetailsOfApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailsOfApiGroupV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfApiGroupV2ResponseStatusEnum

type ShowDetailsOfApiGroupV2ResponseStatusEnum struct {
	E_1 ShowDetailsOfApiGroupV2ResponseStatus
}

func GetShowDetailsOfApiGroupV2ResponseStatusEnum

func GetShowDetailsOfApiGroupV2ResponseStatusEnum() ShowDetailsOfApiGroupV2ResponseStatusEnum

type ShowDetailsOfApiV2Request

type ShowDetailsOfApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`
}

ShowDetailsOfApiV2Request Request Object

func (ShowDetailsOfApiV2Request) String

func (o ShowDetailsOfApiV2Request) String() string

type ShowDetailsOfApiV2Response

type ShowDetailsOfApiV2Response struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type ShowDetailsOfApiV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ShowDetailsOfApiV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ShowDetailsOfApiV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ShowDetailsOfApiV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ShowDetailsOfApiV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ShowDetailsOfApiV2ResponseBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *ShowDetailsOfApiV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *ShowDetailsOfApiV2ResponseStatus `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// [函数工作流策略后端列表](tag:hws,hws_hk,hcs,fcs,g42)[暂不支持](tag:Site)
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps    *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ShowDetailsOfApiV2Response Response Object

func (ShowDetailsOfApiV2Response) String

type ShowDetailsOfApiV2ResponseAuthType

type ShowDetailsOfApiV2ResponseAuthType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfApiV2ResponseAuthType) MarshalJSON

func (c ShowDetailsOfApiV2ResponseAuthType) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfApiV2ResponseAuthType) UnmarshalJSON

func (c *ShowDetailsOfApiV2ResponseAuthType) UnmarshalJSON(b []byte) error

func (ShowDetailsOfApiV2ResponseAuthType) Value added in v0.0.90

type ShowDetailsOfApiV2ResponseBackendType

type ShowDetailsOfApiV2ResponseBackendType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfApiV2ResponseBackendType) MarshalJSON

func (c ShowDetailsOfApiV2ResponseBackendType) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfApiV2ResponseBackendType) UnmarshalJSON

func (c *ShowDetailsOfApiV2ResponseBackendType) UnmarshalJSON(b []byte) error

func (ShowDetailsOfApiV2ResponseBackendType) Value added in v0.0.90

type ShowDetailsOfApiV2ResponseContentType

type ShowDetailsOfApiV2ResponseContentType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfApiV2ResponseContentType) MarshalJSON

func (c ShowDetailsOfApiV2ResponseContentType) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfApiV2ResponseContentType) UnmarshalJSON

func (c *ShowDetailsOfApiV2ResponseContentType) UnmarshalJSON(b []byte) error

func (ShowDetailsOfApiV2ResponseContentType) Value added in v0.0.90

type ShowDetailsOfApiV2ResponseContentTypeEnum

type ShowDetailsOfApiV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    ShowDetailsOfApiV2ResponseContentType
	APPLICATION_XML     ShowDetailsOfApiV2ResponseContentType
	MULTIPART_FORM_DATE ShowDetailsOfApiV2ResponseContentType
	TEXT_PLAIN          ShowDetailsOfApiV2ResponseContentType
}

func GetShowDetailsOfApiV2ResponseContentTypeEnum

func GetShowDetailsOfApiV2ResponseContentTypeEnum() ShowDetailsOfApiV2ResponseContentTypeEnum

type ShowDetailsOfApiV2ResponseMatchMode

type ShowDetailsOfApiV2ResponseMatchMode struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfApiV2ResponseMatchMode) MarshalJSON

func (c ShowDetailsOfApiV2ResponseMatchMode) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfApiV2ResponseMatchMode) UnmarshalJSON

func (c *ShowDetailsOfApiV2ResponseMatchMode) UnmarshalJSON(b []byte) error

func (ShowDetailsOfApiV2ResponseMatchMode) Value added in v0.0.90

type ShowDetailsOfApiV2ResponseMatchModeEnum

type ShowDetailsOfApiV2ResponseMatchModeEnum struct {
	SWA    ShowDetailsOfApiV2ResponseMatchMode
	NORMAL ShowDetailsOfApiV2ResponseMatchMode
}

func GetShowDetailsOfApiV2ResponseMatchModeEnum

func GetShowDetailsOfApiV2ResponseMatchModeEnum() ShowDetailsOfApiV2ResponseMatchModeEnum

type ShowDetailsOfApiV2ResponseReqMethod

type ShowDetailsOfApiV2ResponseReqMethod struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfApiV2ResponseReqMethod) MarshalJSON

func (c ShowDetailsOfApiV2ResponseReqMethod) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfApiV2ResponseReqMethod) UnmarshalJSON

func (c *ShowDetailsOfApiV2ResponseReqMethod) UnmarshalJSON(b []byte) error

func (ShowDetailsOfApiV2ResponseReqMethod) Value added in v0.0.90

type ShowDetailsOfApiV2ResponseReqProtocol

type ShowDetailsOfApiV2ResponseReqProtocol struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfApiV2ResponseReqProtocol) MarshalJSON

func (c ShowDetailsOfApiV2ResponseReqProtocol) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfApiV2ResponseReqProtocol) UnmarshalJSON

func (c *ShowDetailsOfApiV2ResponseReqProtocol) UnmarshalJSON(b []byte) error

func (ShowDetailsOfApiV2ResponseReqProtocol) Value added in v0.0.90

type ShowDetailsOfApiV2ResponseStatus

type ShowDetailsOfApiV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfApiV2ResponseStatus) MarshalJSON

func (c ShowDetailsOfApiV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfApiV2ResponseStatus) UnmarshalJSON

func (c *ShowDetailsOfApiV2ResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailsOfApiV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfApiV2ResponseStatusEnum

type ShowDetailsOfApiV2ResponseStatusEnum struct {
	E_1 ShowDetailsOfApiV2ResponseStatus
}

func GetShowDetailsOfApiV2ResponseStatusEnum

func GetShowDetailsOfApiV2ResponseStatusEnum() ShowDetailsOfApiV2ResponseStatusEnum

type ShowDetailsOfApiV2ResponseType

type ShowDetailsOfApiV2ResponseType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfApiV2ResponseType) MarshalJSON

func (c ShowDetailsOfApiV2ResponseType) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfApiV2ResponseType) UnmarshalJSON

func (c *ShowDetailsOfApiV2ResponseType) UnmarshalJSON(b []byte) error

func (ShowDetailsOfApiV2ResponseType) Value added in v0.0.90

type ShowDetailsOfApiV2ResponseTypeEnum

type ShowDetailsOfApiV2ResponseTypeEnum struct {
	E_1 ShowDetailsOfApiV2ResponseType
	E_2 ShowDetailsOfApiV2ResponseType
}

func GetShowDetailsOfApiV2ResponseTypeEnum

func GetShowDetailsOfApiV2ResponseTypeEnum() ShowDetailsOfApiV2ResponseTypeEnum

type ShowDetailsOfAppAclRequest

type ShowDetailsOfAppAclRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

ShowDetailsOfAppAclRequest Request Object

func (ShowDetailsOfAppAclRequest) String

type ShowDetailsOfAppAclResponse

type ShowDetailsOfAppAclResponse struct {

	// APP编号
	AppId *string `json:"app_id,omitempty"`

	// 类型 -  PERMIT (白名单类型) -  DENY (黑名单类型)
	AppAclType *string `json:"app_acl_type,omitempty"`

	// ACL策略值,支持IP、IP范围和CIDR方式。IP范围以英文中划线分隔。
	AppAclValues   *[]string `json:"app_acl_values,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ShowDetailsOfAppAclResponse Response Object

func (ShowDetailsOfAppAclResponse) String

type ShowDetailsOfAppCodeV2Request

type ShowDetailsOfAppCodeV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// APP Code编号
	AppCodeId string `json:"app_code_id"`
}

ShowDetailsOfAppCodeV2Request Request Object

func (ShowDetailsOfAppCodeV2Request) String

type ShowDetailsOfAppCodeV2Response

type ShowDetailsOfAppCodeV2Response struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头。
	AppCode string `json:"app_code"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowDetailsOfAppCodeV2Response Response Object

func (ShowDetailsOfAppCodeV2Response) String

type ShowDetailsOfAppConfigV2Request

type ShowDetailsOfAppConfigV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// 应用配置编号
	AppConfigId string `json:"app_config_id"`
}

ShowDetailsOfAppConfigV2Request Request Object

func (ShowDetailsOfAppConfigV2Request) String

type ShowDetailsOfAppConfigV2Response

type ShowDetailsOfAppConfigV2Response struct {

	// 应用配置编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 应用配置类型
	ConfigType *string `json:"config_type,omitempty"`

	// 应用配置名称
	ConfigName *string `json:"config_name,omitempty"`

	// 应用配置值
	ConfigValue *string `json:"config_value,omitempty"`

	// 应用配置更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 应用配置描述
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfAppConfigV2Response Response Object

func (ShowDetailsOfAppConfigV2Response) String

type ShowDetailsOfAppV2Request

type ShowDetailsOfAppV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

ShowDetailsOfAppV2Request Request Object

func (ShowDetailsOfAppV2Request) String

func (o ShowDetailsOfAppV2Request) String() string

type ShowDetailsOfAppV2Response

type ShowDetailsOfAppV2Response struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// APP的创建者 - USER:用户自行创建 - MARKET:云市场分配  暂不支持MARKET
	Creator *ShowDetailsOfAppV2ResponseCreator `json:"creator,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态   - 1: 有效
	Status *ShowDetailsOfAppV2ResponseStatus `json:"status,omitempty"`

	// APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用
	AppType *ShowDetailsOfAppV2ResponseAppType `json:"app_type,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用
	RomaAppType    *string `json:"roma_app_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfAppV2Response Response Object

func (ShowDetailsOfAppV2Response) String

type ShowDetailsOfAppV2ResponseAppType

type ShowDetailsOfAppV2ResponseAppType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfAppV2ResponseAppType) MarshalJSON

func (c ShowDetailsOfAppV2ResponseAppType) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfAppV2ResponseAppType) UnmarshalJSON

func (c *ShowDetailsOfAppV2ResponseAppType) UnmarshalJSON(b []byte) error

func (ShowDetailsOfAppV2ResponseAppType) Value added in v0.0.90

type ShowDetailsOfAppV2ResponseAppTypeEnum

type ShowDetailsOfAppV2ResponseAppTypeEnum struct {
	APIG ShowDetailsOfAppV2ResponseAppType
	ROMA ShowDetailsOfAppV2ResponseAppType
}

func GetShowDetailsOfAppV2ResponseAppTypeEnum

func GetShowDetailsOfAppV2ResponseAppTypeEnum() ShowDetailsOfAppV2ResponseAppTypeEnum

type ShowDetailsOfAppV2ResponseCreator

type ShowDetailsOfAppV2ResponseCreator struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfAppV2ResponseCreator) MarshalJSON

func (c ShowDetailsOfAppV2ResponseCreator) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfAppV2ResponseCreator) UnmarshalJSON

func (c *ShowDetailsOfAppV2ResponseCreator) UnmarshalJSON(b []byte) error

func (ShowDetailsOfAppV2ResponseCreator) Value added in v0.0.90

type ShowDetailsOfAppV2ResponseCreatorEnum

type ShowDetailsOfAppV2ResponseCreatorEnum struct {
	USER   ShowDetailsOfAppV2ResponseCreator
	MARKET ShowDetailsOfAppV2ResponseCreator
}

func GetShowDetailsOfAppV2ResponseCreatorEnum

func GetShowDetailsOfAppV2ResponseCreatorEnum() ShowDetailsOfAppV2ResponseCreatorEnum

type ShowDetailsOfAppV2ResponseStatus

type ShowDetailsOfAppV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfAppV2ResponseStatus) MarshalJSON

func (c ShowDetailsOfAppV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfAppV2ResponseStatus) UnmarshalJSON

func (c *ShowDetailsOfAppV2ResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailsOfAppV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfAppV2ResponseStatusEnum

type ShowDetailsOfAppV2ResponseStatusEnum struct {
	E_1 ShowDetailsOfAppV2ResponseStatus
}

func GetShowDetailsOfAppV2ResponseStatusEnum

func GetShowDetailsOfAppV2ResponseStatusEnum() ShowDetailsOfAppV2ResponseStatusEnum

type ShowDetailsOfCustomAuthorizersV2Request

type ShowDetailsOfCustomAuthorizersV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 自定义认证的编号
	AuthorizerId string `json:"authorizer_id"`
}

ShowDetailsOfCustomAuthorizersV2Request Request Object

func (ShowDetailsOfCustomAuthorizersV2Request) String

type ShowDetailsOfCustomAuthorizersV2Response

type ShowDetailsOfCustomAuthorizersV2Response struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端
	Type ShowDetailsOfCustomAuthorizersV2ResponseType `json:"type"`

	// 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数
	AuthorizerType ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType `json:"authorizer_type"`

	// 函数地址。  注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。
	AuthorizerUri string `json:"authorizer_uri"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  自定义认证函数类型为LD时必填
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`

	// 自定义认证编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 自定义认证所属应用编号
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 自定义认证所属应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfCustomAuthorizersV2Response Response Object

func (ShowDetailsOfCustomAuthorizersV2Response) String

type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType

type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) MarshalJSON

func (*ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) UnmarshalJSON

func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) Value added in v0.0.90

type ShowDetailsOfCustomAuthorizersV2ResponseType

type ShowDetailsOfCustomAuthorizersV2ResponseType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfCustomAuthorizersV2ResponseType) MarshalJSON

func (*ShowDetailsOfCustomAuthorizersV2ResponseType) UnmarshalJSON

func (ShowDetailsOfCustomAuthorizersV2ResponseType) Value added in v0.0.90

type ShowDetailsOfDomainNameCertificateV2Request

type ShowDetailsOfDomainNameCertificateV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

ShowDetailsOfDomainNameCertificateV2Request Request Object

func (ShowDetailsOfDomainNameCertificateV2Request) String

type ShowDetailsOfDomainNameCertificateV2Response

type ShowDetailsOfDomainNameCertificateV2Response struct {

	// 证书域名
	CommonName *string `json:"common_name,omitempty"`

	// SAN域名
	San *[]string `json:"san,omitempty"`

	// 证书版本
	Version *int32 `json:"version,omitempty"`

	// 公司、组织
	Organization *[]string `json:"organization,omitempty"`

	// 部门
	OrganizationalUnit *[]string `json:"organizational_unit,omitempty"`

	// 城市
	Locality *[]string `json:"locality,omitempty"`

	// 省份
	State *[]string `json:"state,omitempty"`

	// 国家
	Country *[]string `json:"country,omitempty"`

	// 证书有效期起始时间
	NotBefore *sdktime.SdkTime `json:"not_before,omitempty"`

	// 证书有效期截止时间
	NotAfter *sdktime.SdkTime `json:"not_after,omitempty"`

	// 序列号
	SerialNumber *string `json:"serial_number,omitempty"`

	// 颁发者
	Issuer *[]string `json:"issuer,omitempty"`

	// 签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`
	HttpStatusCode     int     `json:"-"`
}

ShowDetailsOfDomainNameCertificateV2Response Response Object

func (ShowDetailsOfDomainNameCertificateV2Response) String

type ShowDetailsOfEnvironmentVariableV2Request

type ShowDetailsOfEnvironmentVariableV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 环境变量的编号
	EnvVariableId string `json:"env_variable_id"`
}

ShowDetailsOfEnvironmentVariableV2Request Request Object

func (ShowDetailsOfEnvironmentVariableV2Request) String

type ShowDetailsOfEnvironmentVariableV2Response

type ShowDetailsOfEnvironmentVariableV2Response struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。
	VariableName *string `json:"variable_name,omitempty"`

	// 环境变量编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfEnvironmentVariableV2Response Response Object

func (ShowDetailsOfEnvironmentVariableV2Response) String

type ShowDetailsOfInstanceV2Request

type ShowDetailsOfInstanceV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

ShowDetailsOfInstanceV2Request Request Object

func (ShowDetailsOfInstanceV2Request) String

type ShowDetailsOfInstanceV2Response

type ShowDetailsOfInstanceV2Response struct {

	// 实例编号
	Id *string `json:"id,omitempty"`

	// 实例所属项目编号
	ProjectId *string `json:"project_id,omitempty"`

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时
	Status *ShowDetailsOfInstanceV2ResponseStatus `json:"status,omitempty"`

	// 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时
	InstanceStatus *ShowDetailsOfInstanceV2ResponseInstanceStatus `json:"instance_status,omitempty"`

	// 实例类型  暂不支持
	Type *string `json:"type,omitempty"`

	// 实例规格: - ROMA_BASIC:基础版实例 - ROMA_PROFESSIONAL:专业版实例 - ROMA_ENTERPRISE:企业版实例 - ROMA_PLATINUM:铂金版实例 [- ROMA_BASIC_IPV6:基础版IPV6实例](tag:hcs) [- ROMA_PROFESSIONAL_IPV6:专业版IPV6实例](tag:hcs) [- ROMA_ENTERPRISE_IPV6:企业版IPV6实例](tag:hcs) [- ROMA_PLATINUM_IPV6:铂金版IPV6实例](tag:hcs)
	Spec *ShowDetailsOfInstanceV2ResponseSpec `json:"spec,omitempty"`

	// 实例创建时间。unix时间戳格式。
	CreateTime *int64 `json:"create_time,omitempty"`

	// 企业项目ID,企业帐号必填
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 实例绑定的弹性IP地址
	EipAddress *string `json:"eip_address,omitempty"`

	// 实例计费方式: - 0:按需计费 - 1:包周期计费
	ChargingMode *ShowDetailsOfInstanceV2ResponseChargingMode `json:"charging_mode,omitempty"`

	// 包周期计费订单编号
	CbcMetadata *string `json:"cbc_metadata,omitempty"`

	// 实例描述
	Description *string `json:"description,omitempty"`

	// 虚拟私有云ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网的网络ID。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 实例所属的安全组。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// '维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。'  '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。'
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// '维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。'  '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次'。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// 实例入口,虚拟私有云访问地址
	IngressIp *string `json:"ingress_ip,omitempty"`

	// 实例所属用户ID
	UserId *string `json:"user_id,omitempty"`

	// 出公网网段 (IPv6)  。  当前仅部分region部分可用区支持IPv6
	NatEipIpv6Cidr *string `json:"nat_eip_ipv6_cidr,omitempty"`

	// 弹性IP地址(IPv6)。  当前仅部分region部分可用区支持IPv6
	EipIpv6Address *string `json:"eip_ipv6_address,omitempty"`

	// 实例出公网IP
	NatEipAddress *string `json:"nat_eip_address,omitempty"`

	// 出公网带宽
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 可用区
	AvailableZoneIds *string `json:"available_zone_ids,omitempty"`

	// 实例版本编号
	InstanceVersion *string `json:"instance_version,omitempty"`

	// 子网的网络ID。  暂不支持
	VirsubnetId *string `json:"virsubnet_id,omitempty"`

	// roma弹性公网IP。  暂不支持
	RomaEipAddress *string `json:"roma_eip_address,omitempty"`

	// 监听信息  [暂不支持](tag:public)
	Listeners *[]Listener `json:"listeners,omitempty"`

	// 实例支持的特性列表
	SupportedFeatures *[]string `json:"supported_features,omitempty"`

	// 实例入口(IPV6)  当前仅部分region部分可用区支持IPv6
	IngressIpV6 *string `json:"ingress_ip_v6,omitempty"`

	NodeIps *NodeIps `json:"node_ips,omitempty"`

	// 实例集群全量入口(多入口实例)
	IngressIps     *string `json:"ingress_ips,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfInstanceV2Response Response Object

func (ShowDetailsOfInstanceV2Response) String

type ShowDetailsOfInstanceV2ResponseChargingMode added in v0.0.78

type ShowDetailsOfInstanceV2ResponseChargingMode struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfInstanceV2ResponseChargingMode) MarshalJSON added in v0.0.78

func (*ShowDetailsOfInstanceV2ResponseChargingMode) UnmarshalJSON added in v0.0.78

func (ShowDetailsOfInstanceV2ResponseChargingMode) Value added in v0.0.90

type ShowDetailsOfInstanceV2ResponseChargingModeEnum added in v0.0.78

type ShowDetailsOfInstanceV2ResponseChargingModeEnum struct {
	E_0 ShowDetailsOfInstanceV2ResponseChargingMode
	E_1 ShowDetailsOfInstanceV2ResponseChargingMode
}

func GetShowDetailsOfInstanceV2ResponseChargingModeEnum added in v0.0.78

func GetShowDetailsOfInstanceV2ResponseChargingModeEnum() ShowDetailsOfInstanceV2ResponseChargingModeEnum

type ShowDetailsOfInstanceV2ResponseInstanceStatus added in v0.0.78

type ShowDetailsOfInstanceV2ResponseInstanceStatus struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfInstanceV2ResponseInstanceStatus) MarshalJSON added in v0.0.78

func (*ShowDetailsOfInstanceV2ResponseInstanceStatus) UnmarshalJSON added in v0.0.78

func (ShowDetailsOfInstanceV2ResponseInstanceStatus) Value added in v0.0.90

type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum added in v0.0.78

type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum struct {
	E_1  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_2  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_3  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_4  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_5  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_6  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_7  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_8  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_10 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_11 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_12 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_13 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_20 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_21 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_22 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_23 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_24 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_25 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_26 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_27 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_28 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_29 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_30 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_31 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_32 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_33 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_34 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_35 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_36 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_37 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_38 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_39 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_40 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_41 ShowDetailsOfInstanceV2ResponseInstanceStatus
}

func GetShowDetailsOfInstanceV2ResponseInstanceStatusEnum added in v0.0.78

func GetShowDetailsOfInstanceV2ResponseInstanceStatusEnum() ShowDetailsOfInstanceV2ResponseInstanceStatusEnum

type ShowDetailsOfInstanceV2ResponseSpec

type ShowDetailsOfInstanceV2ResponseSpec struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfInstanceV2ResponseSpec) MarshalJSON

func (c ShowDetailsOfInstanceV2ResponseSpec) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfInstanceV2ResponseSpec) UnmarshalJSON

func (c *ShowDetailsOfInstanceV2ResponseSpec) UnmarshalJSON(b []byte) error

func (ShowDetailsOfInstanceV2ResponseSpec) Value added in v0.0.90

type ShowDetailsOfInstanceV2ResponseStatus

type ShowDetailsOfInstanceV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfInstanceV2ResponseStatus) MarshalJSON

func (c ShowDetailsOfInstanceV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfInstanceV2ResponseStatus) UnmarshalJSON

func (c *ShowDetailsOfInstanceV2ResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailsOfInstanceV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfInstanceV2ResponseStatusEnum

type ShowDetailsOfInstanceV2ResponseStatusEnum struct {
	CREATING           ShowDetailsOfInstanceV2ResponseStatus
	CREATE_SUCCESS     ShowDetailsOfInstanceV2ResponseStatus
	CREATE_FAIL        ShowDetailsOfInstanceV2ResponseStatus
	INITING            ShowDetailsOfInstanceV2ResponseStatus
	REGISTERING        ShowDetailsOfInstanceV2ResponseStatus
	RUNNING            ShowDetailsOfInstanceV2ResponseStatus
	INITING_FAILED     ShowDetailsOfInstanceV2ResponseStatus
	REGISTER_FAILED    ShowDetailsOfInstanceV2ResponseStatus
	INSTALLING         ShowDetailsOfInstanceV2ResponseStatus
	INSTALL_FAILED     ShowDetailsOfInstanceV2ResponseStatus
	UPDATING           ShowDetailsOfInstanceV2ResponseStatus
	UPDATE_FAILED      ShowDetailsOfInstanceV2ResponseStatus
	ROLLBACKING        ShowDetailsOfInstanceV2ResponseStatus
	ROLLBACK_SUCCESS   ShowDetailsOfInstanceV2ResponseStatus
	ROLLBACK_FAILED    ShowDetailsOfInstanceV2ResponseStatus
	DELETING           ShowDetailsOfInstanceV2ResponseStatus
	DELETE_FAILED      ShowDetailsOfInstanceV2ResponseStatus
	UNREGISTERING      ShowDetailsOfInstanceV2ResponseStatus
	UN_REGISTER_FAILED ShowDetailsOfInstanceV2ResponseStatus
	CREATE_TIMEOUT     ShowDetailsOfInstanceV2ResponseStatus
	INIT_TIMEOUT       ShowDetailsOfInstanceV2ResponseStatus
	REGISTER_TIMEOUT   ShowDetailsOfInstanceV2ResponseStatus
	INSTALL_TIMEOUT    ShowDetailsOfInstanceV2ResponseStatus
	UPDATE_TIMEOUT     ShowDetailsOfInstanceV2ResponseStatus
	ROLLBACK_TIMEOUT   ShowDetailsOfInstanceV2ResponseStatus
	DELETE_TIMEOUT     ShowDetailsOfInstanceV2ResponseStatus
	UNREGISTER_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus
	STARTING           ShowDetailsOfInstanceV2ResponseStatus
	FREEZING           ShowDetailsOfInstanceV2ResponseStatus
	FROZEN             ShowDetailsOfInstanceV2ResponseStatus
	RESTARTING         ShowDetailsOfInstanceV2ResponseStatus
	RESTART_FAIL       ShowDetailsOfInstanceV2ResponseStatus
	UNHEALTHY          ShowDetailsOfInstanceV2ResponseStatus
	RESTART_TIMEOUT    ShowDetailsOfInstanceV2ResponseStatus
}

func GetShowDetailsOfInstanceV2ResponseStatusEnum

func GetShowDetailsOfInstanceV2ResponseStatusEnum() ShowDetailsOfInstanceV2ResponseStatusEnum

type ShowDetailsOfMemberGroupRequest

type ShowDetailsOfMemberGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// VPC通道后端服务器组编号
	MemberGroupId string `json:"member_group_id"`
}

ShowDetailsOfMemberGroupRequest Request Object

func (ShowDetailsOfMemberGroupRequest) String

type ShowDetailsOfMemberGroupResponse

type ShowDetailsOfMemberGroupResponse struct {

	// VPC通道后端服务器组名称
	MemberGroupName string `json:"member_group_name"`

	// VPC通道后端服务器组描述
	MemberGroupRemark *string `json:"member_group_remark,omitempty"`

	// VPC通道后端服务器组权重值。  当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。
	MemberGroupWeight *int32 `json:"member_group_weight,omitempty"`

	// VPC通道后端服务器组的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`

	// VPC通道后端服务器组创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道后端服务器组更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowDetailsOfMemberGroupResponse Response Object

func (ShowDetailsOfMemberGroupResponse) String

type ShowDetailsOfRequestThrottlingPolicyV2Request

type ShowDetailsOfRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`
}

ShowDetailsOfRequestThrottlingPolicyV2Request Request Object

func (ShowDetailsOfRequestThrottlingPolicyV2Request) String

type ShowDetailsOfRequestThrottlingPolicyV2Response

type ShowDetailsOfRequestThrottlingPolicyV2Response struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *ShowDetailsOfRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site)
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowDetailsOfRequestThrottlingPolicyV2Response Response Object

func (ShowDetailsOfRequestThrottlingPolicyV2Response) String

type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle

type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value added in v0.0.90

type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit

type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) Value added in v0.0.90

type ShowDetailsOfRequestThrottlingPolicyV2ResponseType

type ShowDetailsOfRequestThrottlingPolicyV2ResponseType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) MarshalJSON

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseType) UnmarshalJSON

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) Value added in v0.0.90

type ShowDetailsOfVpcChannelV2Request

type ShowDetailsOfVpcChannelV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`
}

ShowDetailsOfVpcChannelV2Request Request Object

func (ShowDetailsOfVpcChannelV2Request) String

type ShowDetailsOfVpcChannelV2Response

type ShowDetailsOfVpcChannelV2Response struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy ShowDetailsOfVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs
	MemberType ShowDetailsOfVpcChannelV2ResponseMemberType `json:"member_type"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的状态。 - 1:正常 - 2:异常
	Status *ShowDetailsOfVpcChannelV2ResponseStatus `json:"status,omitempty"`

	// 后端云服务器组列表。  [暂不支持](tag:Site)
	MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"`

	MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"`

	// vpc通道类型。 - BUILTIN:BUILTIN通道类型 - MICROSERVICE:微服务类型
	Type *ShowDetailsOfVpcChannelV2ResponseType `json:"type,omitempty"`

	// 后端实例列表。
	Members *[]VpcMemberInfo `json:"members,omitempty"`

	VpcHealthConfig *VpcHealthConfigInfo `json:"vpc_health_config,omitempty"`
	HttpStatusCode  int                  `json:"-"`
}

ShowDetailsOfVpcChannelV2Response Response Object

func (ShowDetailsOfVpcChannelV2Response) String

type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy

type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) MarshalJSON

func (*ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON

func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) Value added in v0.0.90

type ShowDetailsOfVpcChannelV2ResponseMemberType

type ShowDetailsOfVpcChannelV2ResponseMemberType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfVpcChannelV2ResponseMemberType) MarshalJSON

func (*ShowDetailsOfVpcChannelV2ResponseMemberType) UnmarshalJSON

func (ShowDetailsOfVpcChannelV2ResponseMemberType) Value added in v0.0.90

type ShowDetailsOfVpcChannelV2ResponseStatus

type ShowDetailsOfVpcChannelV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfVpcChannelV2ResponseStatus) MarshalJSON

func (c ShowDetailsOfVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfVpcChannelV2ResponseStatus) UnmarshalJSON

func (c *ShowDetailsOfVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailsOfVpcChannelV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfVpcChannelV2ResponseType added in v0.1.13

type ShowDetailsOfVpcChannelV2ResponseType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfVpcChannelV2ResponseType) MarshalJSON added in v0.1.13

func (c ShowDetailsOfVpcChannelV2ResponseType) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfVpcChannelV2ResponseType) UnmarshalJSON added in v0.1.13

func (c *ShowDetailsOfVpcChannelV2ResponseType) UnmarshalJSON(b []byte) error

func (ShowDetailsOfVpcChannelV2ResponseType) Value added in v0.1.13

type ShowDetailsOfVpcChannelV2ResponseTypeEnum added in v0.1.13

type ShowDetailsOfVpcChannelV2ResponseTypeEnum struct {
	BUILTIN      ShowDetailsOfVpcChannelV2ResponseType
	MICROSERVICE ShowDetailsOfVpcChannelV2ResponseType
}

func GetShowDetailsOfVpcChannelV2ResponseTypeEnum added in v0.1.13

func GetShowDetailsOfVpcChannelV2ResponseTypeEnum() ShowDetailsOfVpcChannelV2ResponseTypeEnum

type ShowDeviceGroupRequest

type ShowDeviceGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备分组ID
	GroupId int32 `json:"group_id"`
}

ShowDeviceGroupRequest Request Object

func (ShowDeviceGroupRequest) String

func (o ShowDeviceGroupRequest) String() string

type ShowDeviceGroupResponse

type ShowDeviceGroupResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 父分组ID
	ParentId *int32 `json:"parent_id,omitempty"`

	// 分组ID
	Id *int32 `json:"id,omitempty"`

	// 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	Name *string `json:"name,omitempty"`

	// 分组描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 分组归属应用ID
	AppId *string `json:"app_id,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间
	CreatedDatetime *string `json:"created_datetime,omitempty"`

	// 最后修改时间
	LastUpdatedDatetime *string `json:"last_updated_datetime,omitempty"`

	// 分组归属应用名称
	AppName        *string `json:"app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDeviceGroupResponse Response Object

func (ShowDeviceGroupResponse) String

func (o ShowDeviceGroupResponse) String() string

type ShowDeviceGroupTreeRequest

type ShowDeviceGroupTreeRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用ID
	AppId string `json:"app_id"`
}

ShowDeviceGroupTreeRequest Request Object

func (ShowDeviceGroupTreeRequest) String

type ShowDeviceGroupTreeResponse

type ShowDeviceGroupTreeResponse struct {

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 设备分组信息
	Items          *[]GroupTreeResponse `json:"items,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ShowDeviceGroupTreeResponse Response Object

func (ShowDeviceGroupTreeResponse) String

type ShowDeviceRequest

type ShowDeviceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`
}

ShowDeviceRequest Request Object

func (ShowDeviceRequest) String

func (o ShowDeviceRequest) String() string

type ShowDeviceResponse

type ShowDeviceResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 设备ID
	Id *int32 `json:"id,omitempty"`

	// 设备ID(兼容20.0)
	DeviceId *int32 `json:"device_id,omitempty"`

	// 父设备ID
	ParentDeviceId *int32 `json:"parent_device_id,omitempty"`

	// 父设备名称
	ParentDeviceName *string `json:"parent_device_name,omitempty"`

	Product *ProductReferer `json:"product,omitempty"`

	// 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64
	DeviceName *string `json:"device_name,omitempty"`

	// 实例id
	InstanceId *string `json:"instance_id,omitempty"`

	// 设备客户端ID,平台生成的设备唯一标识
	ClientId *string `json:"client_id,omitempty"`

	// 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64
	NodeId *string `json:"node_id,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 设备状态 0-启用 1-禁用
	Status *int32 `json:"status,omitempty"`

	// 是否在线 0-未连接 1-在线 2-离线
	OnlineStatus *int32 `json:"online_status,omitempty"`

	// 备注
	Description *string `json:"description,omitempty"`

	Authentication *Authentication `json:"authentication,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 标签
	Tags *[]string `json:"tags,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`

	// 设备接入地址
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 设备接入SSL地址
	SslConnectAddress *string `json:"ssl_connect_address,omitempty"`

	// 设备接入IPV6地址
	Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"`

	// 设备接入IPV6 SSL地址
	Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"`

	// 最后登录时间
	LastLoginDatetime *int64 `json:"last_login_datetime,omitempty"`

	// 节点类型 0-直连 1-网关 2-子设备
	NodeType *int32 `json:"node_type,omitempty"`

	// 设备类型<br>0-普通设备(无子设备也无父设备)<br>1-网关设备(可挂载子设备)<br>2-子设备(归属于某个网关设备)
	DeviceType *int32 `json:"device_type,omitempty"`

	// 客户端ip
	ClientIp *string `json:"client_ip,omitempty"`

	// 心跳时间
	KeepAlive *string `json:"keep_alive,omitempty"`

	// 最后登录时间
	LastActiveTime *int64 `json:"last_active_time,omitempty"`

	// 设备版本
	Version *string `json:"version,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// modbus和opcua设备特有,表示插件Id 1-modbus插件 2-opcua插件
	PluginId       *int32 `json:"plugin_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowDeviceResponse Response Object

func (ShowDeviceResponse) String

func (o ShowDeviceResponse) String() string

type ShowDevicesInGroupRequest

type ShowDevicesInGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备分组ID
	GroupId int32 `json:"group_id"`

	// 每页显示条目数量,最大数量999,超过999后只返回999
	Limit *int32 `json:"limit,omitempty"`

	// 产品名称
	ProductName *string `json:"product_name,omitempty"`

	// 设备名称
	DeviceName *string `json:"device_name,omitempty"`

	// 偏移量,表示从此偏移量开始查询, offset大于等于0
	Offset *int32 `json:"offset,omitempty"`
}

ShowDevicesInGroupRequest Request Object

func (ShowDevicesInGroupRequest) String

func (o ShowDevicesInGroupRequest) String() string

type ShowDevicesInGroupResponse

type ShowDevicesInGroupResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 本次返回数量
	Size *int32 `json:"size,omitempty"`

	// 组内设备清单
	Items          *[]DevicesInGroup `json:"items,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowDevicesInGroupResponse Response Object

func (ShowDevicesInGroupResponse) String

type ShowDispatchesRequest

type ShowDispatchesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`
}

ShowDispatchesRequest Request Object

func (ShowDispatchesRequest) String

func (o ShowDispatchesRequest) String() string

type ShowDispatchesResponse

type ShowDispatchesResponse struct {

	// 调度计划ID
	DispatchId *string `json:"dispatch_id,omitempty"`

	// 调度计划关联的任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 调度计划的执行开始时间
	StartDatetime *int64 `json:"start_datetime,omitempty"`

	// 调度计划执行周期的时间单位,当使用cron表达式时,为空 - MIN (分钟) - HOUR (小时) - DAY (日) - WEEK (周) - MON (月)
	Period *ShowDispatchesResponsePeriod `json:"period,omitempty"`

	// 调度计划的执行间隔时间周期
	DispatchInterval *int64 `json:"dispatch_interval,omitempty"`

	// 调度计划的创建时间
	CreatedDate *int64 `json:"created_date,omitempty"`

	// 调度计划最近一次的修改时间
	LastModifiedDate *int64 `json:"last_modified_date,omitempty"`

	// 调度计划的备注信息
	Remark *string `json:"remark,omitempty"`

	// 调度计划是否使用cron表达式,允许如下值: - true (使用cron表达式) - false (不使用cron表达式)
	UseQuartzCron *bool `json:"use_quartz_cron,omitempty"`

	// 调度计划的cron表达式
	Cron           *string `json:"cron,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDispatchesResponse Response Object

func (ShowDispatchesResponse) String

func (o ShowDispatchesResponse) String() string

type ShowDispatchesResponsePeriod

type ShowDispatchesResponsePeriod struct {
	// contains filtered or unexported fields
}

func (ShowDispatchesResponsePeriod) MarshalJSON

func (c ShowDispatchesResponsePeriod) MarshalJSON() ([]byte, error)

func (*ShowDispatchesResponsePeriod) UnmarshalJSON

func (c *ShowDispatchesResponsePeriod) UnmarshalJSON(b []byte) error

func (ShowDispatchesResponsePeriod) Value added in v0.0.90

type ShowInstanceResp added in v0.0.74

type ShowInstanceResp struct {

	// 实例名称。
	Name *string `json:"name,omitempty"`

	// 描述信息。
	Description *string `json:"description,omitempty"`

	// 引擎。
	Engine *string `json:"engine,omitempty"`

	// 版本。
	EngineVersion *string `json:"engine_version,omitempty"`

	// 实例规格。
	Specification *string `json:"specification,omitempty"`

	// 消息存储空间,单位:GB。
	StorageSpace *int32 `json:"storage_space,omitempty"`

	// 最大分区数。不同规格的ROMA Connect实例的最大分区数不相同。
	PartitionNum *string `json:"partition_num,omitempty"`

	// 已使用的消息存储空间,单位:GB。
	UsedStorageSpace *int32 `json:"used_storage_space,omitempty"`

	// 实例连接IP地址。
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 实例连接端口。
	Port *int32 `json:"port,omitempty"`

	// 实例的状态。   - CREATING: 申请实例后,在实例状态进入运行中之前的状态。   - RUNNING: 实例正常运行状态。在这个状态的实例可以运行您的业务。
	Status *string `json:"status,omitempty"`

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 资源规格标识。  - dms.instance.kafka.cluster.c3.mini:Kafka实例的基准带宽为100MByte/秒。  - dms.instance.kafka.cluster.c3.small.2:Kafka实例的基准带宽为300MByte/秒。  - dms.instance.kafka.cluster.c3.middle.2:Kafka实例的基准带宽为600MByte/秒。  - dms.instance.kafka.cluster.c3.high.2:Kafka实例的基准带宽为1200MByte/秒。
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	// 付费模式,1表示按需计费,0表示包周期计费。
	ChargingMode *int32 `json:"charging_mode,omitempty"`

	// VPC ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// VPC的名称。
	VpcName *string `json:"vpc_name,omitempty"`

	// 完成创建时间。  格式为时间戳,指从格林威治时间 1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
	CreatedAt *string `json:"created_at,omitempty"`

	// 用户ID。
	UserId *string `json:"user_id,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

	// 订单ID,只有在包周期计费时才会有order_id值,其他计费方式order_id值为空。
	OrderId *string `json:"order_id,omitempty"`

	// 维护时间窗开始时间,格式为HH:mm:ss。
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 维护时间窗结束时间,格式为HH:mm:ss。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// 实例是否开启公网访问功能。  - true:开启  - false:未开启
	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	// Kafka实例的KafkaManager连接地址。
	ManagementConnectAddress *string `json:"management_connect_address,omitempty"`

	// 是否开启安全认证。 - true:开启 - false:未开启
	SslEnable *bool `json:"ssl_enable,omitempty"`

	// 企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 实例扩容时用于区分老实例与新实例。  - true:新创建的实例,允许磁盘动态扩容不需要重启。  - false:老实例
	IsLogicalVolume *bool `json:"is_logical_volume,omitempty"`

	// 实例扩容磁盘次数,如果超过20次则无法扩容磁盘。
	ExtendTimes *int32 `json:"extend_times,omitempty"`

	// 是否打开kafka自动创建topic功能。  - true:开启  - false:关闭
	EnableAutoTopic *bool `json:"enable_auto_topic,omitempty"`

	// 实例类型:集群,cluster。
	Type *ShowInstanceRespType `json:"type,omitempty"`

	// 产品标识。
	ProductId *string `json:"product_id,omitempty"`

	// 安全组ID。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 租户安全组名称。
	SecurityGroupName *string `json:"security_group_name,omitempty"`

	// 子网ID。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 子网名称。
	SubnetName *string `json:"subnet_name,omitempty"`

	// 子网网段。
	SubnetCidr *string `json:"subnet_cidr,omitempty"`

	// 实例节点所在的可用区,返回“可用区ID”。
	AvailableZones *[]string `json:"available_zones,omitempty"`

	// 总共消息存储空间,单位:GB。
	TotalStorageSpace *int32 `json:"total_storage_space,omitempty"`

	// 实例公网连接IP地址。当实例开启了公网访问,实例才包含该参数。
	PublicConnectAddress *string `json:"public_connect_address,omitempty"`

	// 存储资源ID。
	StorageResourceId *string `json:"storage_resource_id,omitempty"`

	// IO规格。
	StorageSpecCode *string `json:"storage_spec_code,omitempty"`

	// 服务类型。
	ServiceType *string `json:"service_type,omitempty"`

	// 存储类型。
	StorageType *string `json:"storage_type,omitempty"`

	// 消息老化策略。
	RetentionPolicy *ShowInstanceRespRetentionPolicy `json:"retention_policy,omitempty"`

	// Kafka公网开启状态。
	KafkaPublicStatus *string `json:"kafka_public_status,omitempty"`

	// 公网带宽。
	PublicBandwidth *int32 `json:"public_bandwidth,omitempty"`

	// 登录Kafka Manager的用户名。
	KafkaManagerUser *string `json:"kafka_manager_user,omitempty"`

	// 是否开启消息收集功能。
	EnableLogCollection *bool `json:"enable_log_collection,omitempty"`

	// 跨VPC访问信息。
	CrossVpcInfo *string `json:"cross_vpc_info,omitempty"`

	// 是否开启ipv6。
	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	// IPv6的连接地址。
	Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"`

	// 是否开启转储。
	ConnectorEnable *bool `json:"connector_enable,omitempty"`

	// 转储任务ID。
	ConnectorId *string `json:"connector_id,omitempty"`

	// 是否开启MQS connector。
	MqsConnectorEnable *bool `json:"mqs_connector_enable,omitempty"`

	// MQS connector地址。
	MqsConnectorAddress *string `json:"mqs_connector_address,omitempty"`

	// 是否开启插件功能。
	PluginEnable *bool `json:"plugin_enable,omitempty"`

	// 是否开启Kafka rest功能。
	RestEnable *bool `json:"rest_enable,omitempty"`

	// Kafka rest地址。
	RestConnectAddress *string `json:"rest_connect_address,omitempty"`

	// 是否开启消息查询功能。
	MessageQueryInstEnable *bool `json:"message_query_inst_enable,omitempty"`

	// 是否开启VPC明文访问。
	VpcClientPlain *bool `json:"vpc_client_plain,omitempty"`

	// Kafka实例支持的特性功能。
	SupportFeatures *string `json:"support_features,omitempty"`

	// 是否开启消息轨迹功能。
	TraceEnable *bool `json:"trace_enable,omitempty"`

	// 租户侧连接地址。
	PodConnectAddress *string `json:"pod_connect_address,omitempty"`

	// 是否开启磁盘加密。
	DiskEncrypted *bool `json:"disk_encrypted,omitempty"`

	// Kafka实例私有连接地址。
	KafkaPrivateConnectAddress *string `json:"kafka_private_connect_address,omitempty"`

	// 云监控版本。
	CesVersion *string `json:"ces_version,omitempty"`

	// 节点数量。
	NodeNum *int32 `json:"node_num,omitempty"`

	// 公网连接地址。
	PublicipAddress *string `json:"publicip_address,omitempty"`

	// 监听信息。
	Listeners *interface{} `json:"listeners,omitempty"`

	// 是否开启公网访问。用于区分何时开启的公网访问。
	PublicAccessEnabled *string `json:"public_access_enabled,omitempty"`

	// 公网访问带宽。
	PublicBoundwidth *int32 `json:"public_boundwidth,omitempty"`

	// 认证用户名。
	AccessUser *string `json:"access_user,omitempty"`

	// 是否开启代理。
	AgentEnable *bool `json:"agent_enable,omitempty"`
}

func (ShowInstanceResp) String added in v0.0.74

func (o ShowInstanceResp) String() string

type ShowInstanceRespRetentionPolicy added in v0.0.74

type ShowInstanceRespRetentionPolicy struct {
	// contains filtered or unexported fields
}

func (ShowInstanceRespRetentionPolicy) MarshalJSON added in v0.0.74

func (c ShowInstanceRespRetentionPolicy) MarshalJSON() ([]byte, error)

func (*ShowInstanceRespRetentionPolicy) UnmarshalJSON added in v0.0.74

func (c *ShowInstanceRespRetentionPolicy) UnmarshalJSON(b []byte) error

func (ShowInstanceRespRetentionPolicy) Value added in v0.0.90

type ShowInstanceRespRetentionPolicyEnum added in v0.0.74

type ShowInstanceRespRetentionPolicyEnum struct {
	TIME_BASE      ShowInstanceRespRetentionPolicy
	PRODUCE_REJECT ShowInstanceRespRetentionPolicy
}

func GetShowInstanceRespRetentionPolicyEnum added in v0.0.74

func GetShowInstanceRespRetentionPolicyEnum() ShowInstanceRespRetentionPolicyEnum

type ShowInstanceRespType added in v0.0.74

type ShowInstanceRespType struct {
	// contains filtered or unexported fields
}

func (ShowInstanceRespType) MarshalJSON added in v0.0.74

func (c ShowInstanceRespType) MarshalJSON() ([]byte, error)

func (*ShowInstanceRespType) UnmarshalJSON added in v0.0.74

func (c *ShowInstanceRespType) UnmarshalJSON(b []byte) error

func (ShowInstanceRespType) Value added in v0.0.90

func (c ShowInstanceRespType) Value() string

type ShowInstanceRespTypeEnum added in v0.0.74

type ShowInstanceRespTypeEnum struct {
	SINGLE  ShowInstanceRespType
	CLUSTER ShowInstanceRespType
}

func GetShowInstanceRespTypeEnum added in v0.0.74

func GetShowInstanceRespTypeEnum() ShowInstanceRespTypeEnum

type ShowLiveDataApiV2Request

type ShowLiveDataApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 后端API的编号
	LdApiId string `json:"ld_api_id"`
}

ShowLiveDataApiV2Request Request Object

func (ShowLiveDataApiV2Request) String

func (o ShowLiveDataApiV2Request) String() string

type ShowLiveDataApiV2Response

type ShowLiveDataApiV2Response struct {

	// 后端API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。
	Name string `json:"name"`

	// 后端API请求路径。  支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。
	Path string `json:"path"`

	// 后端API请求方法。  支持GET、PUT、POST、DELETE
	Method ShowLiveDataApiV2ResponseMethod `json:"method"`

	// 后端API描述。  不支持<,>字符
	Description *string `json:"description,omitempty"`

	// 后端API版本  支持英文,数字,下划线,中划线,点。
	Version string `json:"version"`

	// 后端API返回类型
	ContentType ShowLiveDataApiV2ResponseContentType `json:"content_type"`

	// 后端API为签名认证时绑定的签名密钥编号
	ApiSignatureId *string `json:"api_signature_id,omitempty"`

	// 后端API归属的集成应用编号
	RomaAppId string `json:"roma_app_id"`

	// API响应信息是否格式化  true: 对响应信息进行格式化  false:对响应信息格式化不进行格式化
	ReturnFormat *bool `json:"return_format,omitempty"`

	// 后端API的请求参数列表
	Parameters *[]LdApiParameter `json:"parameters,omitempty"`

	// 后端API编号
	Id *string `json:"id,omitempty"`

	// 后端API所属实例编号
	Instance *string `json:"instance,omitempty"`

	// 后端API类型: - data:数据后端 - function: 函数后端
	Type *ShowLiveDataApiV2ResponseType `json:"type,omitempty"`

	// 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署
	Status *ShowLiveDataApiV2ResponseStatus `json:"status,omitempty"`

	// 后端API创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 后端API修改时间
	ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"`

	// 后端API脚本信息
	Scripts *[]LdApiScript `json:"scripts,omitempty"`

	// 后端API归属的集成应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowLiveDataApiV2Response Response Object

func (ShowLiveDataApiV2Response) String

func (o ShowLiveDataApiV2Response) String() string

type ShowLiveDataApiV2ResponseContentType

type ShowLiveDataApiV2ResponseContentType struct {
	// contains filtered or unexported fields
}

func (ShowLiveDataApiV2ResponseContentType) MarshalJSON

func (c ShowLiveDataApiV2ResponseContentType) MarshalJSON() ([]byte, error)

func (*ShowLiveDataApiV2ResponseContentType) UnmarshalJSON

func (c *ShowLiveDataApiV2ResponseContentType) UnmarshalJSON(b []byte) error

func (ShowLiveDataApiV2ResponseContentType) Value added in v0.0.90

type ShowLiveDataApiV2ResponseMethod

type ShowLiveDataApiV2ResponseMethod struct {
	// contains filtered or unexported fields
}

func (ShowLiveDataApiV2ResponseMethod) MarshalJSON

func (c ShowLiveDataApiV2ResponseMethod) MarshalJSON() ([]byte, error)

func (*ShowLiveDataApiV2ResponseMethod) UnmarshalJSON

func (c *ShowLiveDataApiV2ResponseMethod) UnmarshalJSON(b []byte) error

func (ShowLiveDataApiV2ResponseMethod) Value added in v0.0.90

type ShowLiveDataApiV2ResponseStatus

type ShowLiveDataApiV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowLiveDataApiV2ResponseStatus) MarshalJSON

func (c ShowLiveDataApiV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowLiveDataApiV2ResponseStatus) UnmarshalJSON

func (c *ShowLiveDataApiV2ResponseStatus) UnmarshalJSON(b []byte) error

func (ShowLiveDataApiV2ResponseStatus) Value added in v0.0.90

type ShowLiveDataApiV2ResponseType

type ShowLiveDataApiV2ResponseType struct {
	// contains filtered or unexported fields
}

func (ShowLiveDataApiV2ResponseType) MarshalJSON

func (c ShowLiveDataApiV2ResponseType) MarshalJSON() ([]byte, error)

func (*ShowLiveDataApiV2ResponseType) UnmarshalJSON

func (c *ShowLiveDataApiV2ResponseType) UnmarshalJSON(b []byte) error

func (ShowLiveDataApiV2ResponseType) Value added in v0.0.90

type ShowLiveDataApiV2ResponseTypeEnum

type ShowLiveDataApiV2ResponseTypeEnum struct {
	DATA     ShowLiveDataApiV2ResponseType
	FUNCTION ShowLiveDataApiV2ResponseType
}

func GetShowLiveDataApiV2ResponseTypeEnum

func GetShowLiveDataApiV2ResponseTypeEnum() ShowLiveDataApiV2ResponseTypeEnum

type ShowMqsInstanceMessagesRequest

type ShowMqsInstanceMessagesRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// topic名称。
	Topic string `json:"topic"`

	// 是否按照时间排序。
	Asc *bool `json:"asc,omitempty"`

	// 开始时间。Unix毫秒时间戳。 查询消息偏移量时,为必选参数。
	StartTime string `json:"start_time"`

	// 结束时间。Unix毫秒时间戳。 查询消息偏移量时,为必选参数。
	EndTime string `json:"end_time"`

	// 查询消息的数量。
	Limit *string `json:"limit,omitempty"`

	// 查询的偏移量。
	Offset *string `json:"offset,omitempty"`

	// 是否下载。
	Download *bool `json:"download,omitempty"`

	// 消息偏移量。 查询消息内容时,为必选参数。 若start_time、end_time参数不为空,该参数无效。
	MessageOffset *string `json:"message_offset,omitempty"`

	// 分区。 查询消息内容时,为必选参数。 若start_time、end_time参数不为空,该参数无效。
	Partition *string `json:"partition,omitempty"`

	// 消息key。
	Key *string `json:"key,omitempty"`

	// 消息ID。
	MessageId *string `json:"message_id,omitempty"`

	// 消息标签。
	Tag *string `json:"tag,omitempty"`
}

ShowMqsInstanceMessagesRequest Request Object

func (ShowMqsInstanceMessagesRequest) String

type ShowMqsInstanceMessagesRespMessages

type ShowMqsInstanceMessagesRespMessages struct {

	// topic名称。
	Topic *string `json:"topic,omitempty"`

	// 消息所在的分区。
	Partition *int32 `json:"partition,omitempty"`

	// 消息key。
	Key *string `json:"key,omitempty"`

	// 消息内容。
	Value *string `json:"value,omitempty"`

	// 消息大小。
	Size *int64 `json:"size,omitempty"`

	// topic名称。
	Timestamp *int64 `json:"timestamp,omitempty"`

	// 大数据标识。
	HugeMessage *bool `json:"huge_message,omitempty"`

	// 消息偏移量。
	MessageOffset *int64 `json:"message_offset,omitempty"`

	// 消息ID。
	MessageId *string `json:"message_id,omitempty"`

	// 应用ID。
	AppId *string `json:"app_id,omitempty"`

	// 消息标签。
	Tag *string `json:"tag,omitempty"`
}

func (ShowMqsInstanceMessagesRespMessages) String

type ShowMqsInstanceMessagesResponse

type ShowMqsInstanceMessagesResponse struct {

	// 消息列表。
	Messages *[]ShowMqsInstanceMessagesRespMessages `json:"messages,omitempty"`

	// 消息总数。
	Total float32 `json:"total,omitempty"`

	// 返回总条数。
	Size           float32 `json:"size,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowMqsInstanceMessagesResponse Response Object

func (ShowMqsInstanceMessagesResponse) String

type ShowMqsInstanceRequest

type ShowMqsInstanceRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

ShowMqsInstanceRequest Request Object

func (ShowMqsInstanceRequest) String

func (o ShowMqsInstanceRequest) String() string

type ShowMqsInstanceResponse

type ShowMqsInstanceResponse struct {

	// 实例名称。
	Name *string `json:"name,omitempty"`

	// 描述信息。
	Description *string `json:"description,omitempty"`

	// 引擎。
	Engine *string `json:"engine,omitempty"`

	// 版本。
	EngineVersion *string `json:"engine_version,omitempty"`

	// 实例规格。
	Specification *string `json:"specification,omitempty"`

	// 消息存储空间,单位:GB。
	StorageSpace *int32 `json:"storage_space,omitempty"`

	// 最大分区数。不同规格的ROMA Connect实例的最大分区数不相同。
	PartitionNum *string `json:"partition_num,omitempty"`

	// 已使用的消息存储空间,单位:GB。
	UsedStorageSpace *int32 `json:"used_storage_space,omitempty"`

	// 实例连接IP地址。
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 实例连接端口。
	Port *int32 `json:"port,omitempty"`

	// 实例的状态。   - CREATING: 申请实例后,在实例状态进入运行中之前的状态。   - RUNNING: 实例正常运行状态。在这个状态的实例可以运行您的业务。
	Status *string `json:"status,omitempty"`

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 资源规格标识。  - dms.instance.kafka.cluster.c3.mini:Kafka实例的基准带宽为100MByte/秒。  - dms.instance.kafka.cluster.c3.small.2:Kafka实例的基准带宽为300MByte/秒。  - dms.instance.kafka.cluster.c3.middle.2:Kafka实例的基准带宽为600MByte/秒。  - dms.instance.kafka.cluster.c3.high.2:Kafka实例的基准带宽为1200MByte/秒。
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	// 付费模式,1表示按需计费,0表示包周期计费。
	ChargingMode *int32 `json:"charging_mode,omitempty"`

	// VPC ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// VPC的名称。
	VpcName *string `json:"vpc_name,omitempty"`

	// 完成创建时间。  格式为时间戳,指从格林威治时间 1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
	CreatedAt *string `json:"created_at,omitempty"`

	// 用户ID。
	UserId *string `json:"user_id,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

	// 订单ID,只有在包周期计费时才会有order_id值,其他计费方式order_id值为空。
	OrderId *string `json:"order_id,omitempty"`

	// 维护时间窗开始时间,格式为HH:mm:ss。
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 维护时间窗结束时间,格式为HH:mm:ss。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// 实例是否开启公网访问功能。  - true:开启  - false:未开启
	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	// Kafka实例的KafkaManager连接地址。
	ManagementConnectAddress *string `json:"management_connect_address,omitempty"`

	// 是否开启安全认证。 - true:开启 - false:未开启
	SslEnable *bool `json:"ssl_enable,omitempty"`

	// 企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 实例扩容时用于区分老实例与新实例。  - true:新创建的实例,允许磁盘动态扩容不需要重启。  - false:老实例
	IsLogicalVolume *bool `json:"is_logical_volume,omitempty"`

	// 实例扩容磁盘次数,如果超过20次则无法扩容磁盘。
	ExtendTimes *int32 `json:"extend_times,omitempty"`

	// 是否打开kafka自动创建topic功能。  - true:开启  - false:关闭
	EnableAutoTopic *bool `json:"enable_auto_topic,omitempty"`

	// 实例类型:集群,cluster。
	Type *ShowMqsInstanceResponseType `json:"type,omitempty"`

	// 产品标识。
	ProductId *string `json:"product_id,omitempty"`

	// 安全组ID。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 租户安全组名称。
	SecurityGroupName *string `json:"security_group_name,omitempty"`

	// 子网ID。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 子网名称。
	SubnetName *string `json:"subnet_name,omitempty"`

	// 子网网段。
	SubnetCidr *string `json:"subnet_cidr,omitempty"`

	// 实例节点所在的可用区,返回“可用区ID”。
	AvailableZones *[]string `json:"available_zones,omitempty"`

	// 总共消息存储空间,单位:GB。
	TotalStorageSpace *int32 `json:"total_storage_space,omitempty"`

	// 实例公网连接IP地址。当实例开启了公网访问,实例才包含该参数。
	PublicConnectAddress *string `json:"public_connect_address,omitempty"`

	// 存储资源ID。
	StorageResourceId *string `json:"storage_resource_id,omitempty"`

	// IO规格。
	StorageSpecCode *string `json:"storage_spec_code,omitempty"`

	// 服务类型。
	ServiceType *string `json:"service_type,omitempty"`

	// 存储类型。
	StorageType *string `json:"storage_type,omitempty"`

	// 消息老化策略。
	RetentionPolicy *ShowMqsInstanceResponseRetentionPolicy `json:"retention_policy,omitempty"`

	// Kafka公网开启状态。
	KafkaPublicStatus *string `json:"kafka_public_status,omitempty"`

	// 公网带宽。
	PublicBandwidth *int32 `json:"public_bandwidth,omitempty"`

	// 登录Kafka Manager的用户名。
	KafkaManagerUser *string `json:"kafka_manager_user,omitempty"`

	// 是否开启消息收集功能。
	EnableLogCollection *bool `json:"enable_log_collection,omitempty"`

	// 跨VPC访问信息。
	CrossVpcInfo *string `json:"cross_vpc_info,omitempty"`

	// 是否开启ipv6。
	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	// IPv6的连接地址。
	Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"`

	// 是否开启转储。
	ConnectorEnable *bool `json:"connector_enable,omitempty"`

	// 转储任务ID。
	ConnectorId *string `json:"connector_id,omitempty"`

	// 是否开启MQS connector。
	MqsConnectorEnable *bool `json:"mqs_connector_enable,omitempty"`

	// MQS connector地址。
	MqsConnectorAddress *string `json:"mqs_connector_address,omitempty"`

	// 是否开启插件功能。
	PluginEnable *bool `json:"plugin_enable,omitempty"`

	// 是否开启Kafka rest功能。
	RestEnable *bool `json:"rest_enable,omitempty"`

	// Kafka rest地址。
	RestConnectAddress *string `json:"rest_connect_address,omitempty"`

	// 是否开启消息查询功能。
	MessageQueryInstEnable *bool `json:"message_query_inst_enable,omitempty"`

	// 是否开启VPC明文访问。
	VpcClientPlain *bool `json:"vpc_client_plain,omitempty"`

	// Kafka实例支持的特性功能。
	SupportFeatures *string `json:"support_features,omitempty"`

	// 是否开启消息轨迹功能。
	TraceEnable *bool `json:"trace_enable,omitempty"`

	// 租户侧连接地址。
	PodConnectAddress *string `json:"pod_connect_address,omitempty"`

	// 是否开启磁盘加密。
	DiskEncrypted *bool `json:"disk_encrypted,omitempty"`

	// Kafka实例私有连接地址。
	KafkaPrivateConnectAddress *string `json:"kafka_private_connect_address,omitempty"`

	// 云监控版本。
	CesVersion *string `json:"ces_version,omitempty"`

	// 节点数量。
	NodeNum *int32 `json:"node_num,omitempty"`

	// 公网连接地址。
	PublicipAddress *string `json:"publicip_address,omitempty"`

	// 监听信息。
	Listeners *interface{} `json:"listeners,omitempty"`

	// 是否开启公网访问。用于区分何时开启的公网访问。
	PublicAccessEnabled *string `json:"public_access_enabled,omitempty"`

	// 公网访问带宽。
	PublicBoundwidth *int32 `json:"public_boundwidth,omitempty"`

	// 认证用户名。
	AccessUser *string `json:"access_user,omitempty"`

	// 是否开启代理。
	AgentEnable    *bool `json:"agent_enable,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ShowMqsInstanceResponse Response Object

func (ShowMqsInstanceResponse) String

func (o ShowMqsInstanceResponse) String() string

type ShowMqsInstanceResponseRetentionPolicy

type ShowMqsInstanceResponseRetentionPolicy struct {
	// contains filtered or unexported fields
}

func (ShowMqsInstanceResponseRetentionPolicy) MarshalJSON

func (c ShowMqsInstanceResponseRetentionPolicy) MarshalJSON() ([]byte, error)

func (*ShowMqsInstanceResponseRetentionPolicy) UnmarshalJSON

func (c *ShowMqsInstanceResponseRetentionPolicy) UnmarshalJSON(b []byte) error

func (ShowMqsInstanceResponseRetentionPolicy) Value added in v0.0.90

type ShowMqsInstanceResponseRetentionPolicyEnum

type ShowMqsInstanceResponseRetentionPolicyEnum struct {
	TIME_BASE      ShowMqsInstanceResponseRetentionPolicy
	PRODUCE_REJECT ShowMqsInstanceResponseRetentionPolicy
}

func GetShowMqsInstanceResponseRetentionPolicyEnum

func GetShowMqsInstanceResponseRetentionPolicyEnum() ShowMqsInstanceResponseRetentionPolicyEnum

type ShowMqsInstanceResponseType

type ShowMqsInstanceResponseType struct {
	// contains filtered or unexported fields
}

func (ShowMqsInstanceResponseType) MarshalJSON

func (c ShowMqsInstanceResponseType) MarshalJSON() ([]byte, error)

func (*ShowMqsInstanceResponseType) UnmarshalJSON

func (c *ShowMqsInstanceResponseType) UnmarshalJSON(b []byte) error

func (ShowMqsInstanceResponseType) Value added in v0.0.90

type ShowMqsInstanceResponseTypeEnum

type ShowMqsInstanceResponseTypeEnum struct {
	SINGLE  ShowMqsInstanceResponseType
	CLUSTER ShowMqsInstanceResponseType
}

func GetShowMqsInstanceResponseTypeEnum

func GetShowMqsInstanceResponseTypeEnum() ShowMqsInstanceResponseTypeEnum

type ShowMqsInstanceTopicAccessPolicyRequest

type ShowMqsInstanceTopicAccessPolicyRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// topic名称。
	TopicName string `json:"topic_name"`

	// 分页查询偏移量。
	Offset *string `json:"offset,omitempty"`

	// 分页查询大小。
	Limit *string `json:"limit,omitempty"`
}

ShowMqsInstanceTopicAccessPolicyRequest Request Object

func (ShowMqsInstanceTopicAccessPolicyRequest) String

type ShowMqsInstanceTopicAccessPolicyRespPolicies

type ShowMqsInstanceTopicAccessPolicyRespPolicies struct {

	// 是否为创建topic时所选择的应用。
	Owner *bool `json:"owner,omitempty"`

	// 应用ID。
	UserName *string `json:"user_name,omitempty"`

	// 权限类型。   - all:发布+订阅   - pub:发布   - sub:订阅
	AccessPolicy *string `json:"access_policy,omitempty"`

	// 应用名称。
	AppName *string `json:"app_name,omitempty"`

	// 权限类型对应的标签。
	Tag *string `json:"tag,omitempty"`
}

func (ShowMqsInstanceTopicAccessPolicyRespPolicies) String

type ShowMqsInstanceTopicAccessPolicyResponse

type ShowMqsInstanceTopicAccessPolicyResponse struct {

	// topic名称。
	Name *string `json:"name,omitempty"`

	// 策略列表。
	Policies *[]ShowMqsInstanceTopicAccessPolicyRespPolicies `json:"policies,omitempty"`

	// 权限策略的总数。
	Total *int32 `json:"total,omitempty"`

	// 查询权限策略的数量。
	Size *int32 `json:"size,omitempty"`

	// topic名称。
	Operation      *string `json:"operation,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowMqsInstanceTopicAccessPolicyResponse Response Object

func (ShowMqsInstanceTopicAccessPolicyResponse) String

type ShowProductAuthenticationRequest

type ShowProductAuthenticationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`
}

ShowProductAuthenticationRequest Request Object

func (ShowProductAuthenticationRequest) String

type ShowProductAuthenticationResponse

type ShowProductAuthenticationResponse struct {

	// 一型一密/一机一密的用户名
	UserName *string `json:"user_name,omitempty"`

	// 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符
	Password       *string `json:"password,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowProductAuthenticationResponse Response Object

func (ShowProductAuthenticationResponse) String

type ShowProductRequest

type ShowProductRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`
}

ShowProductRequest Request Object

func (ShowProductRequest) String

func (o ShowProductRequest) String() string

type ShowProductResponse

type ShowProductResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 产品ID
	Id *int32 `json:"id,omitempty"`

	// 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品)
	ProductSerial *string `json:"product_serial,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线
	Name *string `json:"name,omitempty"`

	// 产品供应商ID
	ManufacturerId *string `json:"manufacturer_id,omitempty"`

	// 厂商名称
	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	// 产品型号
	Model *string `json:"model,omitempty"`

	// 产品类型,0-普通产品(不支持子设备) 1-网关产品
	ProductType *ShowProductResponseProductType `json:"product_type,omitempty"`

	// 产品描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 产品的协议类型 0-mqtt 2-modbus 4-opcua
	ProtocolType *ShowProductResponseProtocolType `json:"protocol_type,omitempty"`

	// 产品的设备类型(默认Default)
	DeviceType *string `json:"device_type,omitempty"`

	// 产品版本
	Version *string `json:"version,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	Authentication *Authentication `json:"authentication,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// data_format 0-JSON 1-USER_DEFINED
	DataFormat     *int32 `json:"data_format,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowProductResponse Response Object

func (ShowProductResponse) String

func (o ShowProductResponse) String() string

type ShowProductResponseProductType added in v0.0.78

type ShowProductResponseProductType struct {
	// contains filtered or unexported fields
}

func (ShowProductResponseProductType) MarshalJSON added in v0.0.78

func (c ShowProductResponseProductType) MarshalJSON() ([]byte, error)

func (*ShowProductResponseProductType) UnmarshalJSON added in v0.0.78

func (c *ShowProductResponseProductType) UnmarshalJSON(b []byte) error

func (ShowProductResponseProductType) Value added in v0.0.90

type ShowProductResponseProductTypeEnum added in v0.0.78

type ShowProductResponseProductTypeEnum struct {
	E_0 ShowProductResponseProductType
	E_1 ShowProductResponseProductType
}

func GetShowProductResponseProductTypeEnum added in v0.0.78

func GetShowProductResponseProductTypeEnum() ShowProductResponseProductTypeEnum

type ShowProductResponseProtocolType added in v0.0.78

type ShowProductResponseProtocolType struct {
	// contains filtered or unexported fields
}

func (ShowProductResponseProtocolType) MarshalJSON added in v0.0.78

func (c ShowProductResponseProtocolType) MarshalJSON() ([]byte, error)

func (*ShowProductResponseProtocolType) UnmarshalJSON added in v0.0.78

func (c *ShowProductResponseProtocolType) UnmarshalJSON(b []byte) error

func (ShowProductResponseProtocolType) Value added in v0.0.90

type ShowProductResponseProtocolTypeEnum added in v0.0.78

type ShowProductResponseProtocolTypeEnum struct {
	E_0 ShowProductResponseProtocolType
	E_2 ShowProductResponseProtocolType
	E_4 ShowProductResponseProtocolType
}

func GetShowProductResponseProtocolTypeEnum added in v0.0.78

func GetShowProductResponseProtocolTypeEnum() ShowProductResponseProtocolTypeEnum

type ShowProductTemplateRequest

type ShowProductTemplateRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品模板ID
	ProductTemplateId int32 `json:"product_template_id"`
}

ShowProductTemplateRequest Request Object

func (ShowProductTemplateRequest) String

type ShowProductTemplateResponse

type ShowProductTemplateResponse struct {

	// 产品模板ID
	Id *int32 `json:"id,omitempty"`

	// 产品模板名称
	Name *string `json:"name,omitempty"`

	// 产品模板描述
	Description *string `json:"description,omitempty"`

	// 产品模板状态 0-启用 1-停用
	Status *ShowProductTemplateResponseStatus `json:"status,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

ShowProductTemplateResponse Response Object

func (ShowProductTemplateResponse) String

type ShowProductTemplateResponseStatus added in v0.0.78

type ShowProductTemplateResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowProductTemplateResponseStatus) MarshalJSON added in v0.0.78

func (c ShowProductTemplateResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowProductTemplateResponseStatus) UnmarshalJSON added in v0.0.78

func (c *ShowProductTemplateResponseStatus) UnmarshalJSON(b []byte) error

func (ShowProductTemplateResponseStatus) Value added in v0.0.90

type ShowProductTemplateResponseStatusEnum added in v0.0.78

type ShowProductTemplateResponseStatusEnum struct {
	E_0 ShowProductTemplateResponseStatus
	E_1 ShowProductTemplateResponseStatus
}

func GetShowProductTemplateResponseStatusEnum added in v0.0.78

func GetShowProductTemplateResponseStatusEnum() ShowProductTemplateResponseStatusEnum

type ShowPropertyRequest

type ShowPropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 属性/请求属性/响应属性ID
	PropertyId int32 `json:"property_id"`
}

ShowPropertyRequest Request Object

func (ShowPropertyRequest) String

func (o ShowPropertyRequest) String() string

type ShowPropertyResponse

type ShowPropertyResponse struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *ShowPropertyResponseDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *ShowPropertyResponseRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict *interface{} `json:"enum_dict,omitempty"`

	// 访问模式(兼容20.0,R属性可读,W属性可写,E属性可执行)
	Method         *string `json:"method,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowPropertyResponse Response Object

func (ShowPropertyResponse) String

func (o ShowPropertyResponse) String() string

type ShowPropertyResponseDataType

type ShowPropertyResponseDataType struct {
	// contains filtered or unexported fields
}

func (ShowPropertyResponseDataType) MarshalJSON

func (c ShowPropertyResponseDataType) MarshalJSON() ([]byte, error)

func (*ShowPropertyResponseDataType) UnmarshalJSON

func (c *ShowPropertyResponseDataType) UnmarshalJSON(b []byte) error

func (ShowPropertyResponseDataType) Value added in v0.0.90

type ShowPropertyResponseRequired added in v0.0.78

type ShowPropertyResponseRequired struct {
	// contains filtered or unexported fields
}

func (ShowPropertyResponseRequired) MarshalJSON added in v0.0.78

func (c ShowPropertyResponseRequired) MarshalJSON() ([]byte, error)

func (*ShowPropertyResponseRequired) UnmarshalJSON added in v0.0.78

func (c *ShowPropertyResponseRequired) UnmarshalJSON(b []byte) error

func (ShowPropertyResponseRequired) Value added in v0.0.90

type ShowPropertyResponseRequiredEnum added in v0.0.78

type ShowPropertyResponseRequiredEnum struct {
	E_0 ShowPropertyResponseRequired
	E_1 ShowPropertyResponseRequired
}

func GetShowPropertyResponseRequiredEnum added in v0.0.78

func GetShowPropertyResponseRequiredEnum() ShowPropertyResponseRequiredEnum

type ShowRequestPropertyRequest

type ShowRequestPropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

	// 属性/请求属性/响应属性ID
	PropertyId int32 `json:"property_id"`
}

ShowRequestPropertyRequest Request Object

func (ShowRequestPropertyRequest) String

type ShowRequestPropertyResponse

type ShowRequestPropertyResponse struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *ShowRequestPropertyResponseDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *ShowRequestPropertyResponseRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict       *interface{} `json:"enum_dict,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowRequestPropertyResponse Response Object

func (ShowRequestPropertyResponse) String

type ShowRequestPropertyResponseDataType

type ShowRequestPropertyResponseDataType struct {
	// contains filtered or unexported fields
}

func (ShowRequestPropertyResponseDataType) MarshalJSON

func (c ShowRequestPropertyResponseDataType) MarshalJSON() ([]byte, error)

func (*ShowRequestPropertyResponseDataType) UnmarshalJSON

func (c *ShowRequestPropertyResponseDataType) UnmarshalJSON(b []byte) error

func (ShowRequestPropertyResponseDataType) Value added in v0.0.90

type ShowRequestPropertyResponseRequired added in v0.0.78

type ShowRequestPropertyResponseRequired struct {
	// contains filtered or unexported fields
}

func (ShowRequestPropertyResponseRequired) MarshalJSON added in v0.0.78

func (c ShowRequestPropertyResponseRequired) MarshalJSON() ([]byte, error)

func (*ShowRequestPropertyResponseRequired) UnmarshalJSON added in v0.0.78

func (c *ShowRequestPropertyResponseRequired) UnmarshalJSON(b []byte) error

func (ShowRequestPropertyResponseRequired) Value added in v0.0.90

type ShowRequestPropertyResponseRequiredEnum added in v0.0.78

type ShowRequestPropertyResponseRequiredEnum struct {
	E_0 ShowRequestPropertyResponseRequired
	E_1 ShowRequestPropertyResponseRequired
}

func GetShowRequestPropertyResponseRequiredEnum added in v0.0.78

func GetShowRequestPropertyResponseRequiredEnum() ShowRequestPropertyResponseRequiredEnum

type ShowResponsePropertyRequest

type ShowResponsePropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

	// 属性/请求属性/响应属性ID
	PropertyId int32 `json:"property_id"`
}

ShowResponsePropertyRequest Request Object

func (ShowResponsePropertyRequest) String

type ShowResponsePropertyResponse

type ShowResponsePropertyResponse struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *ShowResponsePropertyResponseDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *ShowResponsePropertyResponseRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict       *interface{} `json:"enum_dict,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowResponsePropertyResponse Response Object

func (ShowResponsePropertyResponse) String

type ShowResponsePropertyResponseDataType

type ShowResponsePropertyResponseDataType struct {
	// contains filtered or unexported fields
}

func (ShowResponsePropertyResponseDataType) MarshalJSON

func (c ShowResponsePropertyResponseDataType) MarshalJSON() ([]byte, error)

func (*ShowResponsePropertyResponseDataType) UnmarshalJSON

func (c *ShowResponsePropertyResponseDataType) UnmarshalJSON(b []byte) error

func (ShowResponsePropertyResponseDataType) Value added in v0.0.90

type ShowResponsePropertyResponseRequired added in v0.0.78

type ShowResponsePropertyResponseRequired struct {
	// contains filtered or unexported fields
}

func (ShowResponsePropertyResponseRequired) MarshalJSON added in v0.0.78

func (c ShowResponsePropertyResponseRequired) MarshalJSON() ([]byte, error)

func (*ShowResponsePropertyResponseRequired) UnmarshalJSON added in v0.0.78

func (c *ShowResponsePropertyResponseRequired) UnmarshalJSON(b []byte) error

func (ShowResponsePropertyResponseRequired) Value added in v0.0.90

type ShowResponsePropertyResponseRequiredEnum added in v0.0.78

type ShowResponsePropertyResponseRequiredEnum struct {
	E_0 ShowResponsePropertyResponseRequired
	E_1 ShowResponsePropertyResponseRequired
}

func GetShowResponsePropertyResponseRequiredEnum added in v0.0.78

func GetShowResponsePropertyResponseRequiredEnum() ShowResponsePropertyResponseRequiredEnum

type ShowRestrictionOfInstanceV2Request

type ShowRestrictionOfInstanceV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

ShowRestrictionOfInstanceV2Request Request Object

func (ShowRestrictionOfInstanceV2Request) String

type ShowRestrictionOfInstanceV2Response

type ShowRestrictionOfInstanceV2Response struct {

	// 受限的IP网段的CIDR列表。
	RestrictCidrs *[]string `json:"restrict_cidrs,omitempty"`

	// 资源租户的IP网段的CIDR。
	ResourceSubnetCidr *string `json:"resource_subnet_cidr,omitempty"`
	HttpStatusCode     int     `json:"-"`
}

ShowRestrictionOfInstanceV2Response Response Object

func (ShowRestrictionOfInstanceV2Response) String

type ShowRuleRequest

type ShowRuleRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 规则ID
	RuleId string `json:"rule_id"`
}

ShowRuleRequest Request Object

func (ShowRuleRequest) String

func (o ShowRuleRequest) String() string

type ShowRuleResponse

type ShowRuleResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 规则ID
	RuleId *int32 `json:"rule_id,omitempty"`

	// 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64
	Name *string `json:"name,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 规则状态 0-启用 1-停用
	Status *ShowRuleResponseStatus `json:"status,omitempty"`

	// 数据解析状态,ENABLE时data_parsing必填 0-启用 1-停用
	DataParsingStatus *ShowRuleResponseDataParsingStatus `json:"data_parsing_status,omitempty"`

	// SQL查询字段
	SqlField *string `json:"sql_field,omitempty"`

	// SQL查询条件
	SqlWhere *string `json:"sql_where,omitempty"`

	// 完整的规则表达式
	RuleExpress *string `json:"rule_express,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

ShowRuleResponse Response Object

func (ShowRuleResponse) String

func (o ShowRuleResponse) String() string

type ShowRuleResponseDataParsingStatus added in v0.0.78

type ShowRuleResponseDataParsingStatus struct {
	// contains filtered or unexported fields
}

func (ShowRuleResponseDataParsingStatus) MarshalJSON added in v0.0.78

func (c ShowRuleResponseDataParsingStatus) MarshalJSON() ([]byte, error)

func (*ShowRuleResponseDataParsingStatus) UnmarshalJSON added in v0.0.78

func (c *ShowRuleResponseDataParsingStatus) UnmarshalJSON(b []byte) error

func (ShowRuleResponseDataParsingStatus) Value added in v0.0.90

type ShowRuleResponseDataParsingStatusEnum added in v0.0.78

type ShowRuleResponseDataParsingStatusEnum struct {
	E_0 ShowRuleResponseDataParsingStatus
	E_1 ShowRuleResponseDataParsingStatus
}

func GetShowRuleResponseDataParsingStatusEnum added in v0.0.78

func GetShowRuleResponseDataParsingStatusEnum() ShowRuleResponseDataParsingStatusEnum

type ShowRuleResponseStatus added in v0.0.78

type ShowRuleResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowRuleResponseStatus) MarshalJSON added in v0.0.78

func (c ShowRuleResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowRuleResponseStatus) UnmarshalJSON added in v0.0.78

func (c *ShowRuleResponseStatus) UnmarshalJSON(b []byte) error

func (ShowRuleResponseStatus) Value added in v0.0.90

func (c ShowRuleResponseStatus) Value() int32

type ShowRuleResponseStatusEnum added in v0.0.78

type ShowRuleResponseStatusEnum struct {
	E_0 ShowRuleResponseStatus
	E_1 ShowRuleResponseStatus
}

func GetShowRuleResponseStatusEnum added in v0.0.78

func GetShowRuleResponseStatusEnum() ShowRuleResponseStatusEnum

type ShowServiceRequest

type ShowServiceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`
}

ShowServiceRequest Request Object

func (ShowServiceRequest) String

func (o ShowServiceRequest) String() string

type ShowServiceResponse

type ShowServiceResponse struct {

	// 服务归属的产品模板ID
	ProductTemplateId *int32 `json:"product_template_id,omitempty"`

	// 服务归属的产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 服务ID
	ServiceId *int32 `json:"service_id,omitempty"`

	// 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	ServiceName *string `json:"service_name,omitempty"`

	// 服务描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 服务状态 0-启用 1-停用
	Status *ShowServiceResponseStatus `json:"status,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间止,格式timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间止,格式timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

ShowServiceResponse Response Object

func (ShowServiceResponse) String

func (o ShowServiceResponse) String() string

type ShowServiceResponseStatus added in v0.0.78

type ShowServiceResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowServiceResponseStatus) MarshalJSON added in v0.0.78

func (c ShowServiceResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowServiceResponseStatus) UnmarshalJSON added in v0.0.78

func (c *ShowServiceResponseStatus) UnmarshalJSON(b []byte) error

func (ShowServiceResponseStatus) Value added in v0.0.90

func (c ShowServiceResponseStatus) Value() int32

type ShowServiceResponseStatusEnum added in v0.0.78

type ShowServiceResponseStatusEnum struct {
	E_0 ShowServiceResponseStatus
	E_1 ShowServiceResponseStatus
}

func GetShowServiceResponseStatusEnum added in v0.0.78

func GetShowServiceResponseStatusEnum() ShowServiceResponseStatusEnum

type ShowTaskRequest

type ShowTaskRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`
}

ShowTaskRequest Request Object

func (ShowTaskRequest) String

func (o ShowTaskRequest) String() string

type ShowTaskResponse

type ShowTaskResponse struct {
	Task *TaskBasicRsp `json:"task,omitempty"`

	// 参数类型为string,参数结构参照附录中“数据集成参数说明>RawFormDataResponse”章节
	TaskDetail     *string `json:"task_detail,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowTaskResponse Response Object

func (ShowTaskResponse) String

func (o ShowTaskResponse) String() string

type SignApiBinding

type SignApiBinding struct {

	// 签名密钥编号
	SignId string `json:"sign_id"`

	// API的发布记录编号
	PublishIds []string `json:"publish_ids"`
}

func (SignApiBinding) String

func (o SignApiBinding) String() string

type SignApiBindingBase

type SignApiBindingBase struct {

	// API的发布编号
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 绑定时间
	BindingTime *sdktime.SdkTime `json:"binding_time,omitempty"`

	// API所属环境的编号
	EnvId *string `json:"env_id,omitempty"`

	// API所属环境的名称
	EnvName *string `json:"env_name,omitempty"`

	// API类型
	ApiType *int32 `json:"api_type,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 绑定关系的ID
	Id *string `json:"id,omitempty"`

	// API描述
	ApiRemark *string `json:"api_remark,omitempty"`

	// 签名密钥的编号
	SignId *string `json:"sign_id,omitempty"`

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	SignName *string `json:"sign_name,omitempty"`
}

func (SignApiBindingBase) String

func (o SignApiBindingBase) String() string

type SignApiBindingInfo

type SignApiBindingInfo struct {

	// API的发布编号
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 绑定时间
	BindingTime *sdktime.SdkTime `json:"binding_time,omitempty"`

	// API所属环境的编号
	EnvId *string `json:"env_id,omitempty"`

	// API所属环境的名称
	EnvName *string `json:"env_name,omitempty"`

	// API类型
	ApiType *int32 `json:"api_type,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 绑定关系的ID
	Id *string `json:"id,omitempty"`

	// API描述
	ApiRemark *string `json:"api_remark,omitempty"`

	// 签名密钥的编号
	SignId *string `json:"sign_id,omitempty"`

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	SignName *string `json:"sign_name,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *SignApiBindingInfoSignType `json:"sign_type,omitempty"`
}

func (SignApiBindingInfo) String

func (o SignApiBindingInfo) String() string

type SignApiBindingInfoSignType

type SignApiBindingInfoSignType struct {
	// contains filtered or unexported fields
}

func (SignApiBindingInfoSignType) MarshalJSON

func (c SignApiBindingInfoSignType) MarshalJSON() ([]byte, error)

func (*SignApiBindingInfoSignType) UnmarshalJSON

func (c *SignApiBindingInfoSignType) UnmarshalJSON(b []byte) error

func (SignApiBindingInfoSignType) Value added in v0.0.90

type SignApiBindingInfoSignTypeEnum

type SignApiBindingInfoSignTypeEnum struct {
	HMAC       SignApiBindingInfoSignType
	BASIC      SignApiBindingInfoSignType
	PUBLIC_KEY SignApiBindingInfoSignType
	AES        SignApiBindingInfoSignType
}

func GetSignApiBindingInfoSignTypeEnum

func GetSignApiBindingInfoSignTypeEnum() SignApiBindingInfoSignTypeEnum

type SignApiBindingResult

type SignApiBindingResult struct {

	// API与签名密钥的绑定关系列表
	Bindings *[]SignApiBindingInfo `json:"bindings,omitempty"`
}

func (SignApiBindingResult) String

func (o SignApiBindingResult) String() string

type Signature

type Signature struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *SignatureSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。
	SignAlgorithm *SignatureSignAlgorithm `json:"sign_algorithm,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 签名密钥的编号
	Id *string `json:"id,omitempty"`
}

func (Signature) String

func (o Signature) String() string

type SignatureSignAlgorithm

type SignatureSignAlgorithm struct {
	// contains filtered or unexported fields
}

func (SignatureSignAlgorithm) MarshalJSON

func (c SignatureSignAlgorithm) MarshalJSON() ([]byte, error)

func (*SignatureSignAlgorithm) UnmarshalJSON

func (c *SignatureSignAlgorithm) UnmarshalJSON(b []byte) error

func (SignatureSignAlgorithm) Value added in v0.0.90

func (c SignatureSignAlgorithm) Value() string

type SignatureSignAlgorithmEnum

type SignatureSignAlgorithmEnum struct {
	AES_128_CFB SignatureSignAlgorithm
	AES_256_CFB SignatureSignAlgorithm
}

func GetSignatureSignAlgorithmEnum

func GetSignatureSignAlgorithmEnum() SignatureSignAlgorithmEnum

type SignatureSignType

type SignatureSignType struct {
	// contains filtered or unexported fields
}

func (SignatureSignType) MarshalJSON

func (c SignatureSignType) MarshalJSON() ([]byte, error)

func (*SignatureSignType) UnmarshalJSON

func (c *SignatureSignType) UnmarshalJSON(b []byte) error

func (SignatureSignType) Value added in v0.0.90

func (c SignatureSignType) Value() string

type SignatureSignTypeEnum

type SignatureSignTypeEnum struct {
	HMAC       SignatureSignType
	BASIC      SignatureSignType
	PUBLIC_KEY SignatureSignType
	AES        SignatureSignType
}

func GetSignatureSignTypeEnum

func GetSignatureSignTypeEnum() SignatureSignTypeEnum

type SignatureWithBindNum

type SignatureWithBindNum struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *SignatureWithBindNumSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。
	SignAlgorithm *SignatureWithBindNumSignAlgorithm `json:"sign_algorithm,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 签名密钥的编号
	Id *string `json:"id,omitempty"`

	// 绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 绑定的自定义后端数量
	LdapiBindNum *int32 `json:"ldapi_bind_num,omitempty"`
}

func (SignatureWithBindNum) String

func (o SignatureWithBindNum) String() string

type SignatureWithBindNumSignAlgorithm

type SignatureWithBindNumSignAlgorithm struct {
	// contains filtered or unexported fields
}

func (SignatureWithBindNumSignAlgorithm) MarshalJSON

func (c SignatureWithBindNumSignAlgorithm) MarshalJSON() ([]byte, error)

func (*SignatureWithBindNumSignAlgorithm) UnmarshalJSON

func (c *SignatureWithBindNumSignAlgorithm) UnmarshalJSON(b []byte) error

func (SignatureWithBindNumSignAlgorithm) Value added in v0.0.90

type SignatureWithBindNumSignAlgorithmEnum

type SignatureWithBindNumSignAlgorithmEnum struct {
	AES_128_CFB SignatureWithBindNumSignAlgorithm
	AES_256_CFB SignatureWithBindNumSignAlgorithm
}

func GetSignatureWithBindNumSignAlgorithmEnum

func GetSignatureWithBindNumSignAlgorithmEnum() SignatureWithBindNumSignAlgorithmEnum

type SignatureWithBindNumSignType

type SignatureWithBindNumSignType struct {
	// contains filtered or unexported fields
}

func (SignatureWithBindNumSignType) MarshalJSON

func (c SignatureWithBindNumSignType) MarshalJSON() ([]byte, error)

func (*SignatureWithBindNumSignType) UnmarshalJSON

func (c *SignatureWithBindNumSignType) UnmarshalJSON(b []byte) error

func (SignatureWithBindNumSignType) Value added in v0.0.90

type SingleResponse

type SingleResponse struct {

	// 操作的ID
	Id *string `json:"id,omitempty"`

	// 操作结果 枚举值successful-成功 error-失败
	RetStatus *string `json:"ret_status,omitempty"`
}

func (SingleResponse) String

func (o SingleResponse) String() string

type Source

type Source struct {

	// 源数据源ID
	SourceId *int32 `json:"source_id,omitempty"`

	// 产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 设备ID,不填为全部设备
	DeviceId *int32 `json:"device_id,omitempty"`

	// 主题,当设备ID为空时为产品级主题,设备ID不为空时为设备级主题
	Topic *string `json:"topic,omitempty"`

	// 设备名称
	DeviceName *string `json:"device_name,omitempty"`

	// 产品名称
	ProductName *string `json:"product_name,omitempty"`

	// 是否payload使用base64,0-是 1-否
	IsBase64 *SourceIsBase64 `json:"is_base64,omitempty"`

	// 是否包含设备信息,0-是,1-否
	ContainDeviceInfo *SourceContainDeviceInfo `json:"contain_device_info,omitempty"`
}

func (Source) String

func (o Source) String() string

type SourceContainDeviceInfo added in v0.0.78

type SourceContainDeviceInfo struct {
	// contains filtered or unexported fields
}

func (SourceContainDeviceInfo) MarshalJSON added in v0.0.78

func (c SourceContainDeviceInfo) MarshalJSON() ([]byte, error)

func (*SourceContainDeviceInfo) UnmarshalJSON added in v0.0.78

func (c *SourceContainDeviceInfo) UnmarshalJSON(b []byte) error

func (SourceContainDeviceInfo) Value added in v0.0.90

func (c SourceContainDeviceInfo) Value() int32

type SourceContainDeviceInfoEnum added in v0.0.78

type SourceContainDeviceInfoEnum struct {
	E_0 SourceContainDeviceInfo
	E_1 SourceContainDeviceInfo
}

func GetSourceContainDeviceInfoEnum added in v0.0.78

func GetSourceContainDeviceInfoEnum() SourceContainDeviceInfoEnum

type SourceIsBase64 added in v0.0.78

type SourceIsBase64 struct {
	// contains filtered or unexported fields
}

func (SourceIsBase64) MarshalJSON added in v0.0.78

func (c SourceIsBase64) MarshalJSON() ([]byte, error)

func (*SourceIsBase64) UnmarshalJSON added in v0.0.78

func (c *SourceIsBase64) UnmarshalJSON(b []byte) error

func (SourceIsBase64) Value added in v0.0.90

func (c SourceIsBase64) Value() int32

type SourceIsBase64Enum added in v0.0.78

type SourceIsBase64Enum struct {
	E_0 SourceIsBase64
	E_1 SourceIsBase64
}

func GetSourceIsBase64Enum added in v0.0.78

func GetSourceIsBase64Enum() SourceIsBase64Enum

type StartTestDatasourceRequest

type StartTestDatasourceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 数据源ID
	DatasourceId string `json:"datasource_id"`

	Body *DatasourceInfo `json:"body,omitempty"`
}

StartTestDatasourceRequest Request Object

func (StartTestDatasourceRequest) String

type StartTestDatasourceResponse

type StartTestDatasourceResponse struct {

	// 返回结果 - true (成功)
	Result         *bool `json:"result,omitempty"`
	HttpStatusCode int   `json:"-"`
}

StartTestDatasourceResponse Response Object

func (StartTestDatasourceResponse) String

type StatisticsApi

type StatisticsApi struct {

	// 最大延时
	MaxLatency *int32 `json:"max_latency,omitempty"`

	// 平均延时
	AvgLatency *float32 `json:"avg_latency,omitempty"`

	// 请求总次数
	ReqCount *int32 `json:"req_count,omitempty"`

	// 2xx响应码总次数
	ReqCount2xx *int32 `json:"req_count2xx,omitempty"`

	// 4xx响应码总次数
	ReqCount4xx *int32 `json:"req_count4xx,omitempty"`

	// 5xx响应码总次数
	ReqCount5xx *int32 `json:"req_count5xx,omitempty"`

	// 错误次数
	ReqCountError *int32 `json:"req_count_error,omitempty"`

	// 最大网关内部延时
	MaxInnerLatency *int32 `json:"max_inner_latency,omitempty"`

	// 平均网关内部延时
	AvgInnerLatency *float32 `json:"avg_inner_latency,omitempty"`

	// 最大后端延时
	MaxBackendLatency *int32 `json:"max_backend_latency,omitempty"`

	// 平均后端延时
	AvgBackendLatency *float32 `json:"avg_backend_latency,omitempty"`

	// 下行吞吐量(byte)
	OutputThroughput *int64 `json:"output_throughput,omitempty"`

	// 上行吞吐量(byte)
	InputThroughput *int64 `json:"input_throughput,omitempty"`

	// API访问的UTC时间戳
	CurrentMinute *int64 `json:"current_minute,omitempty"`

	// 查询统计周期
	Cycle *StatisticsApiCycle `json:"cycle,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API拥有者
	Provider *string `json:"provider,omitempty"`

	// API请求时间
	ReqTime *sdktime.SdkTime `json:"req_time,omitempty"`

	// 记录时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态值: - 1:调度中,未上报CES - 2:已经成功上报CES  预留字段,暂不支持
	Status *StatisticsApiStatus `json:"status,omitempty"`
}

func (StatisticsApi) String

func (o StatisticsApi) String() string

type StatisticsApiCycle

type StatisticsApiCycle struct {
	// contains filtered or unexported fields
}

func (StatisticsApiCycle) MarshalJSON

func (c StatisticsApiCycle) MarshalJSON() ([]byte, error)

func (*StatisticsApiCycle) UnmarshalJSON

func (c *StatisticsApiCycle) UnmarshalJSON(b []byte) error

func (StatisticsApiCycle) Value added in v0.0.90

func (c StatisticsApiCycle) Value() string

type StatisticsApiCycleEnum

type StatisticsApiCycleEnum struct {
	MINUTE StatisticsApiCycle
	HOUR   StatisticsApiCycle
	DAY    StatisticsApiCycle
}

func GetStatisticsApiCycleEnum

func GetStatisticsApiCycleEnum() StatisticsApiCycleEnum

type StatisticsApiStatus

type StatisticsApiStatus struct {
	// contains filtered or unexported fields
}

func (StatisticsApiStatus) MarshalJSON

func (c StatisticsApiStatus) MarshalJSON() ([]byte, error)

func (*StatisticsApiStatus) UnmarshalJSON

func (c *StatisticsApiStatus) UnmarshalJSON(b []byte) error

func (StatisticsApiStatus) Value added in v0.0.90

func (c StatisticsApiStatus) Value() int32

type StatisticsApiStatusEnum

type StatisticsApiStatusEnum struct {
	E_1 StatisticsApiStatus
	E_2 StatisticsApiStatus
}

func GetStatisticsApiStatusEnum

func GetStatisticsApiStatusEnum() StatisticsApiStatusEnum

type StopTaskRequest

type StopTaskRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`
}

StopTaskRequest Request Object

func (StopTaskRequest) String

func (o StopTaskRequest) String() string

type StopTaskResponse

type StopTaskResponse struct {

	// 手工启动/停止任务成功返回消息
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StopTaskResponse Response Object

func (StopTaskResponse) String

func (o StopTaskResponse) String() string

type SubDevice added in v0.1.11

type SubDevice struct {

	// 设备ID
	Id *int32 `json:"id,omitempty"`

	// 设备ID(兼容20.0)
	DeviceId *int32 `json:"device_id,omitempty"`

	// 父设备ID
	ParentDeviceId *int32 `json:"parent_device_id,omitempty"`

	// 父设备名称
	ParentDeviceName *string `json:"parent_device_name,omitempty"`

	Product *ProductReferer `json:"product,omitempty"`

	// 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64
	DeviceName *string `json:"device_name,omitempty"`

	// 实例id
	InstanceId *string `json:"instance_id,omitempty"`

	// 设备客户端ID,平台生成的设备唯一标识
	ClientId *string `json:"client_id,omitempty"`

	// 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64
	NodeId *string `json:"node_id,omitempty"`

	// 设备状态 0-启用 1-禁用
	Status *SubDeviceStatus `json:"status,omitempty"`

	// 是否在线 0-未连接 1-在线 2-离线
	OnlineStatus *SubDeviceOnlineStatus `json:"online_status,omitempty"`

	// 备注
	Description *string `json:"description,omitempty"`

	Authentication *Authentication `json:"authentication,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 标签
	Tags *[]string `json:"tags,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`

	// 设备接入地址
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 设备接入SSL地址
	SslConnectAddress *string `json:"ssl_connect_address,omitempty"`

	// 设备接入IPV6地址
	Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"`

	// 设备接入IPV6 SSL地址
	Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`
}

func (SubDevice) String added in v0.1.11

func (o SubDevice) String() string

type SubDeviceOnlineStatus added in v0.1.11

type SubDeviceOnlineStatus struct {
	// contains filtered or unexported fields
}

func (SubDeviceOnlineStatus) MarshalJSON added in v0.1.11

func (c SubDeviceOnlineStatus) MarshalJSON() ([]byte, error)

func (*SubDeviceOnlineStatus) UnmarshalJSON added in v0.1.11

func (c *SubDeviceOnlineStatus) UnmarshalJSON(b []byte) error

func (SubDeviceOnlineStatus) Value added in v0.1.11

func (c SubDeviceOnlineStatus) Value() int32

type SubDeviceOnlineStatusEnum added in v0.1.11

type SubDeviceOnlineStatusEnum struct {
	E_0 SubDeviceOnlineStatus
	E_1 SubDeviceOnlineStatus
	E_2 SubDeviceOnlineStatus
}

func GetSubDeviceOnlineStatusEnum added in v0.1.11

func GetSubDeviceOnlineStatusEnum() SubDeviceOnlineStatusEnum

type SubDeviceStatus added in v0.1.11

type SubDeviceStatus struct {
	// contains filtered or unexported fields
}

func (SubDeviceStatus) MarshalJSON added in v0.1.11

func (c SubDeviceStatus) MarshalJSON() ([]byte, error)

func (*SubDeviceStatus) UnmarshalJSON added in v0.1.11

func (c *SubDeviceStatus) UnmarshalJSON(b []byte) error

func (SubDeviceStatus) Value added in v0.1.11

func (c SubDeviceStatus) Value() int32

type SubDeviceStatusEnum added in v0.1.11

type SubDeviceStatusEnum struct {
	E_0 SubDeviceStatus
	E_1 SubDeviceStatus
}

func GetSubDeviceStatusEnum added in v0.1.11

func GetSubDeviceStatusEnum() SubDeviceStatusEnum

type Success

type Success struct {

	// API请求路径
	Path *string `json:"path,omitempty"`

	// API请求方法
	Method *string `json:"method,omitempty"`

	// 导入行为: - update:表示更新API - create:表示新建API
	Action *SuccessAction `json:"action,omitempty"`

	// 导入成功的API编号
	Id *string `json:"id,omitempty"`
}

func (Success) String

func (o Success) String() string

type SuccessAction

type SuccessAction struct {
	// contains filtered or unexported fields
}

func (SuccessAction) MarshalJSON

func (c SuccessAction) MarshalJSON() ([]byte, error)

func (*SuccessAction) UnmarshalJSON

func (c *SuccessAction) UnmarshalJSON(b []byte) error

func (SuccessAction) Value added in v0.0.90

func (c SuccessAction) Value() string

type SuccessActionEnum

type SuccessActionEnum struct {
	UPDATE SuccessAction
	CREATE SuccessAction
}

func GetSuccessActionEnum

func GetSuccessActionEnum() SuccessActionEnum

type Swagger

type Swagger struct {

	// swagger文档编号
	Id *string `json:"id,omitempty"`

	// 导入结果说明
	Result *string `json:"result,omitempty"`
}

Swagger swagger文档导入结果 暂不支持

func (Swagger) String

func (o Swagger) String() string

type TaskBasicRequestBody

type TaskBasicRequestBody struct {

	// 任务名称,只能以字母、数字为开头,包含字母、数字和 . _ -  3~100个字符
	TaskName string `json:"task_name"`

	// 任务类型 - REALTIME (实时) - TIMING (定时)
	TaskType TaskBasicRequestBodyTaskType `json:"task_type"`

	// 源端数据源ID
	SourceDatasourceId string `json:"source_datasource_id"`

	// 目标端数据源ID
	TargetDatasourceId string `json:"target_datasource_id"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 任务标签,只能包含字母、数字、中划线、下划线
	TaskTag *string `json:"task_tag,omitempty"`
}

func (TaskBasicRequestBody) String

func (o TaskBasicRequestBody) String() string

type TaskBasicRequestBodyTaskType

type TaskBasicRequestBodyTaskType struct {
	// contains filtered or unexported fields
}

func (TaskBasicRequestBodyTaskType) MarshalJSON

func (c TaskBasicRequestBodyTaskType) MarshalJSON() ([]byte, error)

func (*TaskBasicRequestBodyTaskType) UnmarshalJSON

func (c *TaskBasicRequestBodyTaskType) UnmarshalJSON(b []byte) error

func (TaskBasicRequestBodyTaskType) Value added in v0.0.90

type TaskBasicRequestBodyTaskTypeEnum

type TaskBasicRequestBodyTaskTypeEnum struct {
	REALTIME TaskBasicRequestBodyTaskType
	TIMING   TaskBasicRequestBodyTaskType
}

func GetTaskBasicRequestBodyTaskTypeEnum

func GetTaskBasicRequestBodyTaskTypeEnum() TaskBasicRequestBodyTaskTypeEnum

type TaskBasicRsp

type TaskBasicRsp struct {

	// 任务ID, 可为空
	TaskId *string `json:"task_id,omitempty"`

	// 任务名称,只能以字母、数字为开头,包含字母、数字和 . _ -  3~100个字符
	TaskName *string `json:"task_name,omitempty"`

	// 任务类型 - realtime (实时) - timing (定时)
	TaskType *TaskBasicRspTaskType `json:"task_type,omitempty"`

	// 任务状态, - stop (0停止\\未启动) - running (1运行中)
	Status *TaskBasicRspStatus `json:"status,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 源端数据源ID
	SourceDatasourceId *string `json:"source_datasource_id,omitempty"`

	// 目标端数据源ID
	TargetDatasourceId *string `json:"target_datasource_id,omitempty"`

	// 源端数据源的名称
	SourceDatasourceName *string `json:"source_datasource_name,omitempty"`

	// 目标端数据源的名称
	TargetDatasourceName *string `json:"target_datasource_name,omitempty"`

	// 源端数据源所属集成应用ID
	SourceAppId *string `json:"source_app_id,omitempty"`

	// 目标端数据源所属集成应用ID
	TargetAppId *string `json:"target_app_id,omitempty"`

	// 源端数据源所属集成应用名称
	SourceAppName *string `json:"source_app_name,omitempty"`

	// 目标端数据源所属集成应用名称
	TargetAppName *string `json:"target_app_name,omitempty"`

	// 创建时间
	CreatedDate *int64 `json:"created_date,omitempty"`

	// 最近一次的修改时间
	LastModifiedDate *int64 `json:"last_modified_date,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 任务标签,只能包含字母、数字、中划线、下划线
	TaskTag *string `json:"task_tag,omitempty"`
}

func (TaskBasicRsp) String

func (o TaskBasicRsp) String() string

type TaskBasicRspStatus

type TaskBasicRspStatus struct {
	// contains filtered or unexported fields
}

func (TaskBasicRspStatus) MarshalJSON

func (c TaskBasicRspStatus) MarshalJSON() ([]byte, error)

func (*TaskBasicRspStatus) UnmarshalJSON

func (c *TaskBasicRspStatus) UnmarshalJSON(b []byte) error

func (TaskBasicRspStatus) Value added in v0.0.90

func (c TaskBasicRspStatus) Value() string

type TaskBasicRspStatusEnum

type TaskBasicRspStatusEnum struct {
	STOP    TaskBasicRspStatus
	RUNNING TaskBasicRspStatus
}

func GetTaskBasicRspStatusEnum

func GetTaskBasicRspStatusEnum() TaskBasicRspStatusEnum

type TaskBasicRspTaskType

type TaskBasicRspTaskType struct {
	// contains filtered or unexported fields
}

func (TaskBasicRspTaskType) MarshalJSON

func (c TaskBasicRspTaskType) MarshalJSON() ([]byte, error)

func (*TaskBasicRspTaskType) UnmarshalJSON

func (c *TaskBasicRspTaskType) UnmarshalJSON(b []byte) error

func (TaskBasicRspTaskType) Value added in v0.0.90

func (c TaskBasicRspTaskType) Value() string

type TaskBasicRspTaskTypeEnum

type TaskBasicRspTaskTypeEnum struct {
	REALTIME TaskBasicRspTaskType
	TIMING   TaskBasicRspTaskType
}

func GetTaskBasicRspTaskTypeEnum

func GetTaskBasicRspTaskTypeEnum() TaskBasicRspTaskTypeEnum

type TaskBean

type TaskBean struct {

	// 任务ID, 可为空
	TaskId *string `json:"task_id,omitempty"`
}

TaskBean 批量启动\\停止任务的详情

func (TaskBean) String

func (o TaskBean) String() string

type TaskBeanFacade

type TaskBeanFacade struct {

	// 任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 任务名称
	TaskName *string `json:"task_name,omitempty"`

	// 失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误详情
	ErrorMsg *string `json:"error_msg,omitempty"`
}

TaskBeanFacade 任务执行详情

func (TaskBeanFacade) String

func (o TaskBeanFacade) String() string

type TaskDispatch

type TaskDispatch struct {

	// 调度计划的执行开始时间
	StartDatetime *int64 `json:"start_datetime,omitempty"`

	// 调度计划执行周期的时间单位,当使用cron表达式时,为空 - MIN (分钟) - HOUR (小时) - DAY (日) - WEEK (周) - MON (月)
	Period *TaskDispatchPeriod `json:"period,omitempty"`

	// 调度计划的执行间隔时间周期
	DispatchInterval *int64 `json:"dispatch_interval,omitempty"`

	// 调度计划的备注信息
	Remark *string `json:"remark,omitempty"`

	// 调度计划是否使用cron表达式,允许如下值: - true (使用cron表达式) - false (不使用cron表达式)
	UseQuartzCron *bool `json:"use_quartz_cron,omitempty"`

	// 调度计划的cron表达式
	Cron *string `json:"cron,omitempty"`
}

TaskDispatch 调度计划详情

func (TaskDispatch) String

func (o TaskDispatch) String() string

type TaskDispatchPeriod

type TaskDispatchPeriod struct {
	// contains filtered or unexported fields
}

func (TaskDispatchPeriod) MarshalJSON

func (c TaskDispatchPeriod) MarshalJSON() ([]byte, error)

func (*TaskDispatchPeriod) UnmarshalJSON

func (c *TaskDispatchPeriod) UnmarshalJSON(b []byte) error

func (TaskDispatchPeriod) Value added in v0.0.90

func (c TaskDispatchPeriod) Value() string

type TaskDispatchPeriodEnum

type TaskDispatchPeriodEnum struct {
	MIN  TaskDispatchPeriod
	HOUR TaskDispatchPeriod
	DAY  TaskDispatchPeriod
	WEEK TaskDispatchPeriod
	MON  TaskDispatchPeriod
}

func GetTaskDispatchPeriodEnum

func GetTaskDispatchPeriodEnum() TaskDispatchPeriodEnum

type TaskMonitorDetailLog

type TaskMonitorDetailLog struct {

	// 任务每次执行步骤产生的唯一ID
	Id *string `json:"id,omitempty"`

	// 当前步骤执行详细状态,使用状态码的形式</br> 状态码划分规则:reader端 100 ~ 499,writer端 500 ~ 899,其他900 ~ </br> 当前状态码如下:</br> 16-被强制取消</br> 99-任务开始</br> 100-Reader 任务开始</br> 101-Reader 任务结束</br> 102-正在读取数据</br> 103-读端数据源端异常</br> 104-读取数据结束</br> 105-读取数据为0</br> 106-读任务强制取消</br> 107-在reader plugin中,任务发生了中断</br> 108-读任务恢复运行</br> 500-Writer 任务开始</br> 501-Writer 任务结束</br> 502-正在数据写入</br> 503-目标端异常</br> 504-数据写入结束</br> 505-写任务强制取消</br> 506-在writer plugin中,任务发生了中断</br> 507-写任务恢复运行</br> 900-接收到调度请求</br> 901-任务运行结束</br> 902-任务已运行结束,正在进行数据完整性校验</br> 903-输出数据完整性校验结果</br> 904-经过数据完整性校验,发现有数据缺失,正在进行数据补偿</br> 905-输出数据补偿结果</br> 906-读取任务正在在排队中(平台资源)</br> 907-读取任务被拒绝执行,因为上一次调度还没有结束</br> 908-写入任务正在在排队中(平台资源)</br> 909-写入任务被拒绝执行,因为上一次调度还没有结束</br> 911-读取任务没有被正常开启,请检查网络是否通畅,参数是否正确</br> 912-写入任务没有被正常开启,请检查网络是否通畅,参数是否正确</br> 913-任务调度请求失败</br> 914-任务被拒绝执行,因为上一次调度还没有结束</br> 915-任务不正常运行</br> 916-任务日志上报异常</br>
	Status *int32 `json:"status,omitempty"`

	// 标识当前步骤属于哪一个阶段,允许如下值:ADAPTER-任务处于初始化阶段, READER-任务正在执行Reader读操作, WRITER-任务正在执行Writer写操作
	Position *TaskMonitorDetailLogPosition `json:"position,omitempty"`

	// 任务当前步骤的状态,允许如下值:NORMAL-正在运行, NODE_END-本节点正常结束, RUNTIME_CANCEL-任务被取消, TASK_END-本任务正常结束, RUNTIME_ERR-运行时异常, INTERNAL_ERR-内部程序异常
	PositionStatus *TaskMonitorDetailLogPositionStatus `json:"position_status,omitempty"`

	// 标识当前步骤属于哪一个FDI插件,如adapter, apireader, rdbwriter等
	Stage *string `json:"stage,omitempty"`

	// 异常数据条数
	DirtyDataCount *int32 `json:"dirty_data_count,omitempty"`

	// 成功数据条数
	DataCount *int32 `json:"data_count,omitempty"`

	// 成功数据大小,浮点数类型
	DataSize float32 `json:"data_size,omitempty"`

	// 成功数据大小的计量单位
	DataSizeUnit *TaskMonitorDetailLogDataSizeUnit `json:"data_size_unit,omitempty"`

	// 执行时长,单位:ms
	SpendTime *int32 `json:"spend_time,omitempty"`

	// 执行详细信息
	Remarks *string `json:"remarks,omitempty"`

	// 本次步骤启动时间,格式timestamp(ms),使用UTC时区
	StepBeginTime *int64 `json:"step_begin_time,omitempty"`

	// 本次步骤结束时间,格式timestamp(ms),使用UTC时区
	StepEndTime *int64 `json:"step_end_time,omitempty"`
}

TaskMonitorDetailLog 任务执行详细跟踪日志

func (TaskMonitorDetailLog) String

func (o TaskMonitorDetailLog) String() string

type TaskMonitorDetailLogDataSizeUnit

type TaskMonitorDetailLogDataSizeUnit struct {
	// contains filtered or unexported fields
}

func (TaskMonitorDetailLogDataSizeUnit) MarshalJSON

func (c TaskMonitorDetailLogDataSizeUnit) MarshalJSON() ([]byte, error)

func (*TaskMonitorDetailLogDataSizeUnit) UnmarshalJSON

func (c *TaskMonitorDetailLogDataSizeUnit) UnmarshalJSON(b []byte) error

func (TaskMonitorDetailLogDataSizeUnit) Value added in v0.0.90

type TaskMonitorDetailLogPosition

type TaskMonitorDetailLogPosition struct {
	// contains filtered or unexported fields
}

func (TaskMonitorDetailLogPosition) MarshalJSON

func (c TaskMonitorDetailLogPosition) MarshalJSON() ([]byte, error)

func (*TaskMonitorDetailLogPosition) UnmarshalJSON

func (c *TaskMonitorDetailLogPosition) UnmarshalJSON(b []byte) error

func (TaskMonitorDetailLogPosition) Value added in v0.0.90

type TaskMonitorDetailLogPositionEnum

type TaskMonitorDetailLogPositionEnum struct {
	ADAPTER TaskMonitorDetailLogPosition
	READER  TaskMonitorDetailLogPosition
	WRITER  TaskMonitorDetailLogPosition
}

func GetTaskMonitorDetailLogPositionEnum

func GetTaskMonitorDetailLogPositionEnum() TaskMonitorDetailLogPositionEnum

type TaskMonitorDetailLogPositionStatus

type TaskMonitorDetailLogPositionStatus struct {
	// contains filtered or unexported fields
}

func (TaskMonitorDetailLogPositionStatus) MarshalJSON

func (c TaskMonitorDetailLogPositionStatus) MarshalJSON() ([]byte, error)

func (*TaskMonitorDetailLogPositionStatus) UnmarshalJSON

func (c *TaskMonitorDetailLogPositionStatus) UnmarshalJSON(b []byte) error

func (TaskMonitorDetailLogPositionStatus) Value added in v0.0.90

type TaskMonitorInfo

type TaskMonitorInfo struct {

	// 任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 任务名称
	TaskName *string `json:"task_name,omitempty"`

	// 任务类型, 只允许两种类型:TIMING-定时任务, REALTIME-实时任务
	TaskType *TaskMonitorInfoTaskType `json:"task_type,omitempty"`

	// 任务状态, 只允许两种类型:0-停止, 1-运行中
	Status *TaskMonitorInfoStatus `json:"status,omitempty"`

	// 任务最近一次执行时间,格式timestamp(ms),使用UTC时区
	LastExecuteTime *int64 `json:"last_execute_time,omitempty"`

	// 任务是否使用Quartz表达式,只有定时任务才有该属性
	UseQuartzCron *bool `json:"use_quartz_cron,omitempty"`

	// CRON表达式,只有定时任务且use_quartz_cron为true时才有该属性
	Cron *string `json:"cron,omitempty"`

	// 调度周期的单位,如天,小时等,只有定时任务且use_quartz_cron为false时才有该属性,当前仅允许如下类型:MIN-分钟, HOUR-小时, DAY-天, WEEK-周, MON-月
	Period *TaskMonitorInfoPeriod `json:"period,omitempty"`

	// 调度周期,和period字段一起可以确定每隔多长时间调度一次,只有定时任务且use_quartz_cron为false时才有该属性
	DispatchInterval *int32 `json:"dispatch_interval,omitempty"`

	// 标识最近一次任务执行到哪一个阶段,允许如下值:ADAPTER-任务处于初始化阶段, READER-任务正在执行Reader读操作, WRITER-任务正在执行Writer写操作
	Position *TaskMonitorInfoPosition `json:"position,omitempty"`

	// 任务最近一次执行状态,允许如下值:UNSTARTED-未启动, WAITING-等待调度中, RUNNING-执行中, SUCCESS-执行成功, CANCELLED-任务取消, ERROR-执行异常
	ExecuteStatus *TaskMonitorInfoExecuteStatus `json:"execute_status,omitempty"`

	// 任务源端数据源所属应用ID
	SourceAppId *string `json:"source_app_id,omitempty"`

	// 任务源端数据源所属应用名称
	SourceAppName *string `json:"source_app_name,omitempty"`

	// 任务源端数据源所属实例ID
	SourceInstanceId *string `json:"source_instance_id,omitempty"`

	// 任务目标端数据源所属应用ID
	TargetAppId *string `json:"target_app_id,omitempty"`

	// 任务目标端数据源所属应用名称
	TargetAppName *string `json:"target_app_name,omitempty"`

	// 任务目标端数据源所属实例ID
	TargetInstanceId *string `json:"target_instance_id,omitempty"`

	// 任务扩展类型,当前如果是CDC组合任务,该字段为CDC,否则为null
	ExtType *TaskMonitorInfoExtType `json:"ext_type,omitempty"`

	// 任务所属企业项目ID,默认为0
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 任务标签
	TaskTag *string `json:"task_tag,omitempty"`
}

TaskMonitorInfo 任务监控信息

func (TaskMonitorInfo) String

func (o TaskMonitorInfo) String() string

type TaskMonitorInfoExecuteStatus

type TaskMonitorInfoExecuteStatus struct {
	// contains filtered or unexported fields
}

func (TaskMonitorInfoExecuteStatus) MarshalJSON

func (c TaskMonitorInfoExecuteStatus) MarshalJSON() ([]byte, error)

func (*TaskMonitorInfoExecuteStatus) UnmarshalJSON

func (c *TaskMonitorInfoExecuteStatus) UnmarshalJSON(b []byte) error

func (TaskMonitorInfoExecuteStatus) Value added in v0.0.90

type TaskMonitorInfoExtType

type TaskMonitorInfoExtType struct {
	// contains filtered or unexported fields
}

func (TaskMonitorInfoExtType) MarshalJSON

func (c TaskMonitorInfoExtType) MarshalJSON() ([]byte, error)

func (*TaskMonitorInfoExtType) UnmarshalJSON

func (c *TaskMonitorInfoExtType) UnmarshalJSON(b []byte) error

func (TaskMonitorInfoExtType) Value added in v0.0.90

func (c TaskMonitorInfoExtType) Value() string

type TaskMonitorInfoExtTypeEnum

type TaskMonitorInfoExtTypeEnum struct {
	CDC TaskMonitorInfoExtType
}

func GetTaskMonitorInfoExtTypeEnum

func GetTaskMonitorInfoExtTypeEnum() TaskMonitorInfoExtTypeEnum

type TaskMonitorInfoPeriod

type TaskMonitorInfoPeriod struct {
	// contains filtered or unexported fields
}

func (TaskMonitorInfoPeriod) MarshalJSON

func (c TaskMonitorInfoPeriod) MarshalJSON() ([]byte, error)

func (*TaskMonitorInfoPeriod) UnmarshalJSON

func (c *TaskMonitorInfoPeriod) UnmarshalJSON(b []byte) error

func (TaskMonitorInfoPeriod) Value added in v0.0.90

func (c TaskMonitorInfoPeriod) Value() string

type TaskMonitorInfoPosition

type TaskMonitorInfoPosition struct {
	// contains filtered or unexported fields
}

func (TaskMonitorInfoPosition) MarshalJSON

func (c TaskMonitorInfoPosition) MarshalJSON() ([]byte, error)

func (*TaskMonitorInfoPosition) UnmarshalJSON

func (c *TaskMonitorInfoPosition) UnmarshalJSON(b []byte) error

func (TaskMonitorInfoPosition) Value added in v0.0.90

func (c TaskMonitorInfoPosition) Value() string

type TaskMonitorInfoPositionEnum

type TaskMonitorInfoPositionEnum struct {
	ADAPTER TaskMonitorInfoPosition
	READER  TaskMonitorInfoPosition
	WRITER  TaskMonitorInfoPosition
}

func GetTaskMonitorInfoPositionEnum

func GetTaskMonitorInfoPositionEnum() TaskMonitorInfoPositionEnum

type TaskMonitorInfoStatus added in v0.0.78

type TaskMonitorInfoStatus struct {
	// contains filtered or unexported fields
}

func (TaskMonitorInfoStatus) MarshalJSON added in v0.0.78

func (c TaskMonitorInfoStatus) MarshalJSON() ([]byte, error)

func (*TaskMonitorInfoStatus) UnmarshalJSON added in v0.0.78

func (c *TaskMonitorInfoStatus) UnmarshalJSON(b []byte) error

func (TaskMonitorInfoStatus) Value added in v0.0.90

func (c TaskMonitorInfoStatus) Value() int32

type TaskMonitorInfoStatusEnum added in v0.0.78

type TaskMonitorInfoStatusEnum struct {
	E_0 TaskMonitorInfoStatus
	E_1 TaskMonitorInfoStatus
}

func GetTaskMonitorInfoStatusEnum added in v0.0.78

func GetTaskMonitorInfoStatusEnum() TaskMonitorInfoStatusEnum

type TaskMonitorInfoTaskType

type TaskMonitorInfoTaskType struct {
	// contains filtered or unexported fields
}

func (TaskMonitorInfoTaskType) MarshalJSON

func (c TaskMonitorInfoTaskType) MarshalJSON() ([]byte, error)

func (*TaskMonitorInfoTaskType) UnmarshalJSON

func (c *TaskMonitorInfoTaskType) UnmarshalJSON(b []byte) error

func (TaskMonitorInfoTaskType) Value added in v0.0.90

func (c TaskMonitorInfoTaskType) Value() string

type TaskMonitorInfoTaskTypeEnum

type TaskMonitorInfoTaskTypeEnum struct {
	TIMING   TaskMonitorInfoTaskType
	REALTIME TaskMonitorInfoTaskType
}

func GetTaskMonitorInfoTaskTypeEnum

func GetTaskMonitorInfoTaskTypeEnum() TaskMonitorInfoTaskTypeEnum

type TaskMonitorLog

type TaskMonitorLog struct {

	// 单次任务执行的跟踪ID
	Id *string `json:"id,omitempty"`

	// 本次执行启动时间,格式timestamp(ms),使用UTC时区
	StartTime *int64 `json:"start_time,omitempty"`

	// 计划执行时间,格式timestamp(ms),使用UTC时区
	DispatchTime *int64 `json:"dispatch_time,omitempty"`

	// 写入结束时间,格式timestamp(ms),使用UTC时区
	EndTime *int64 `json:"end_time,omitempty"`

	// 任务本次执行状态,允许如下值:UNSTARTED-未启动, WAITING-等待调度中, RUNNING-执行中, SUCCESS-执行成功, CANCELLED-任务取消, ERROR-执行异常
	ExecuteStatus *TaskMonitorLogExecuteStatus `json:"execute_status,omitempty"`

	// 标识本次任务执行到哪一个阶段,允许如下值:ADAPTER-任务处于初始化阶段, READER-任务正在执行Reader读操作, WRITER-任务正在执行Writer写操作
	Position *TaskMonitorLogPosition `json:"position,omitempty"`

	// 任务本次执行当前阶段的状态,允许如下值:NORMAL-正在运行, NODE_END-本节点正常结束, RUNTIME_CANCEL-任务被取消, TASK_END-本任务正常结束, RUNTIME_ERR-运行时异常, INTERNAL_ERR-内部程序异常
	PositionStatus *TaskMonitorLogPositionStatus `json:"position_status,omitempty"`

	// 本次任务执行详细状态,使用状态码的形式</br> 状态码划分规则:reader端 100 ~ 499,writer端 500 ~ 899,其他900 ~ </br> 当前状态码如下:</br> 16-被强制取消</br> 99-任务开始</br> 100-Reader 任务开始</br> 101-Reader 任务结束</br> 102-正在读取数据</br> 103-读端数据源端异常</br> 104-读取数据结束</br> 105-读取数据为0</br> 106-读任务强制取消</br> 107-在reader plugin中,任务发生了中断</br> 108-读任务恢复运行</br> 500-Writer 任务开始</br> 501-Writer 任务结束</br> 502-正在数据写入</br> 503-目标端异常</br> 504-数据写入结束</br> 505-写任务强制取消</br> 506-在writer plugin中,任务发生了中断</br> 507-写任务恢复运行</br> 900-接收到调度请求</br> 901-任务运行结束</br> 902-任务已运行结束,正在进行数据完整性校验</br> 903-输出数据完整性校验结果</br> 904-经过数据完整性校验,发现有数据缺失,正在进行数据补偿</br> 905-输出数据补偿结果</br> 906-读取任务正在在排队中(平台资源)</br> 907-读取任务被拒绝执行,因为上一次调度还没有结束</br> 908-写入任务正在在排队中(平台资源)</br> 909-写入任务被拒绝执行,因为上一次调度还没有结束</br> 911-读取任务没有被正常开启,请检查网络是否通畅,参数是否正确</br> 912-写入任务没有被正常开启,请检查网络是否通畅,参数是否正确</br> 913-任务调度请求失败</br> 914-任务被拒绝执行,因为上一次调度还没有结束</br> 915-任务不正常运行</br> 916-任务日志上报异常</br>
	Status *int32 `json:"status,omitempty"`

	// 异常数据条数
	DirtyDataCount *int32 `json:"dirty_data_count,omitempty"`

	// 成功数据条数
	DataCount *int32 `json:"data_count,omitempty"`

	// 成功数据大小,浮点数类型
	DataSize float32 `json:"data_size,omitempty"`

	// 成功数据大小的计量单位
	DataSizeUnit *TaskMonitorLogDataSizeUnit `json:"data_size_unit,omitempty"`

	// 执行时长,单位:ms
	SpendTime *int64 `json:"spend_time,omitempty"`

	// 读取执行时长,单位:ms,只有在定时任务时存在该属性
	ReadSpendTime *int64 `json:"read_spend_time,omitempty"`

	// 写入执行时长,单位:ms
	WriteSpendTime *int64 `json:"write_spend_time,omitempty"`

	// 本次执行结果简要信息
	Remarks *string `json:"remarks,omitempty"`

	// 本次执行详细轨迹信息
	DetailLogs *[]TaskMonitorDetailLog `json:"detail_logs,omitempty"`
}

TaskMonitorLog 任务监控日志

func (TaskMonitorLog) String

func (o TaskMonitorLog) String() string

type TaskMonitorLogDataSizeUnit

type TaskMonitorLogDataSizeUnit struct {
	// contains filtered or unexported fields
}

func (TaskMonitorLogDataSizeUnit) MarshalJSON

func (c TaskMonitorLogDataSizeUnit) MarshalJSON() ([]byte, error)

func (*TaskMonitorLogDataSizeUnit) UnmarshalJSON

func (c *TaskMonitorLogDataSizeUnit) UnmarshalJSON(b []byte) error

func (TaskMonitorLogDataSizeUnit) Value added in v0.0.90

type TaskMonitorLogExecuteStatus

type TaskMonitorLogExecuteStatus struct {
	// contains filtered or unexported fields
}

func (TaskMonitorLogExecuteStatus) MarshalJSON

func (c TaskMonitorLogExecuteStatus) MarshalJSON() ([]byte, error)

func (*TaskMonitorLogExecuteStatus) UnmarshalJSON

func (c *TaskMonitorLogExecuteStatus) UnmarshalJSON(b []byte) error

func (TaskMonitorLogExecuteStatus) Value added in v0.0.90

type TaskMonitorLogPosition

type TaskMonitorLogPosition struct {
	// contains filtered or unexported fields
}

func (TaskMonitorLogPosition) MarshalJSON

func (c TaskMonitorLogPosition) MarshalJSON() ([]byte, error)

func (*TaskMonitorLogPosition) UnmarshalJSON

func (c *TaskMonitorLogPosition) UnmarshalJSON(b []byte) error

func (TaskMonitorLogPosition) Value added in v0.0.90

func (c TaskMonitorLogPosition) Value() string

type TaskMonitorLogPositionEnum

type TaskMonitorLogPositionEnum struct {
	ADAPTER TaskMonitorLogPosition
	READER  TaskMonitorLogPosition
	WRITER  TaskMonitorLogPosition
}

func GetTaskMonitorLogPositionEnum

func GetTaskMonitorLogPositionEnum() TaskMonitorLogPositionEnum

type TaskMonitorLogPositionStatus

type TaskMonitorLogPositionStatus struct {
	// contains filtered or unexported fields
}

func (TaskMonitorLogPositionStatus) MarshalJSON

func (c TaskMonitorLogPositionStatus) MarshalJSON() ([]byte, error)

func (*TaskMonitorLogPositionStatus) UnmarshalJSON

func (c *TaskMonitorLogPositionStatus) UnmarshalJSON(b []byte) error

func (TaskMonitorLogPositionStatus) Value added in v0.0.90

type TaskStatisticDetails

type TaskStatisticDetails struct {

	// 运行任务数量
	RunningTasksCount *int32 `json:"running_tasks_count,omitempty"`

	// 异常任务数量
	AbnormalTasksCount *int32 `json:"abnormal_tasks_count,omitempty"`

	// 终止任务数量
	TerminatedTasksCount *int32 `json:"terminated_tasks_count,omitempty"`

	// 成功任务数量
	CompletedTasksCount *int32 `json:"completed_tasks_count,omitempty"`
}

TaskStatisticDetails 每种状态任务的数量信息

func (TaskStatisticDetails) String

func (o TaskStatisticDetails) String() string

type ThrottleApiBinding

type ThrottleApiBinding struct {

	// API的发布记录编号
	PublishId *string `json:"publish_id,omitempty"`

	// 策略作用域,取值如下: - 1:整个API - 2: 单个用户 - 3:单个APP  目前只支持1
	Scope *ThrottleApiBindingScope `json:"scope,omitempty"`

	// 流控策略的ID
	StrategyId *string `json:"strategy_id,omitempty"`

	// 绑定时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 绑定关系的ID
	Id *string `json:"id,omitempty"`
}

func (ThrottleApiBinding) String

func (o ThrottleApiBinding) String() string

type ThrottleApiBindingCreate

type ThrottleApiBindingCreate struct {

	// 流控策略编号
	StrategyId string `json:"strategy_id"`

	// API的发布记录编号
	PublishIds []string `json:"publish_ids"`
}

func (ThrottleApiBindingCreate) String

func (o ThrottleApiBindingCreate) String() string

type ThrottleApiBindingScope

type ThrottleApiBindingScope struct {
	// contains filtered or unexported fields
}

func (ThrottleApiBindingScope) MarshalJSON

func (c ThrottleApiBindingScope) MarshalJSON() ([]byte, error)

func (*ThrottleApiBindingScope) UnmarshalJSON

func (c *ThrottleApiBindingScope) UnmarshalJSON(b []byte) error

func (ThrottleApiBindingScope) Value added in v0.0.90

func (c ThrottleApiBindingScope) Value() int32

type ThrottleApiBindingScopeEnum

type ThrottleApiBindingScopeEnum struct {
	E_1 ThrottleApiBindingScope
	E_2 ThrottleApiBindingScope
	E_3 ThrottleApiBindingScope
}

func GetThrottleApiBindingScopeEnum

func GetThrottleApiBindingScopeEnum() ThrottleApiBindingScopeEnum

type ThrottleBaseInfo

type ThrottleBaseInfo struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit ThrottleBaseInfoTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *ThrottleBaseInfoType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site)
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`
}

func (ThrottleBaseInfo) String

func (o ThrottleBaseInfo) String() string

type ThrottleBaseInfoTimeUnit

type ThrottleBaseInfoTimeUnit struct {
	// contains filtered or unexported fields
}

func (ThrottleBaseInfoTimeUnit) MarshalJSON

func (c ThrottleBaseInfoTimeUnit) MarshalJSON() ([]byte, error)

func (*ThrottleBaseInfoTimeUnit) UnmarshalJSON

func (c *ThrottleBaseInfoTimeUnit) UnmarshalJSON(b []byte) error

func (ThrottleBaseInfoTimeUnit) Value added in v0.0.90

func (c ThrottleBaseInfoTimeUnit) Value() string

type ThrottleBaseInfoTimeUnitEnum

type ThrottleBaseInfoTimeUnitEnum struct {
	SECOND ThrottleBaseInfoTimeUnit
	MINUTE ThrottleBaseInfoTimeUnit
	HOUR   ThrottleBaseInfoTimeUnit
	DAY    ThrottleBaseInfoTimeUnit
}

func GetThrottleBaseInfoTimeUnitEnum

func GetThrottleBaseInfoTimeUnitEnum() ThrottleBaseInfoTimeUnitEnum

type ThrottleBaseInfoType

type ThrottleBaseInfoType struct {
	// contains filtered or unexported fields
}

func (ThrottleBaseInfoType) MarshalJSON

func (c ThrottleBaseInfoType) MarshalJSON() ([]byte, error)

func (*ThrottleBaseInfoType) UnmarshalJSON

func (c *ThrottleBaseInfoType) UnmarshalJSON(b []byte) error

func (ThrottleBaseInfoType) Value added in v0.0.90

func (c ThrottleBaseInfoType) Value() int32

type ThrottleBaseInfoTypeEnum

type ThrottleBaseInfoTypeEnum struct {
	E_1 ThrottleBaseInfoType
	E_2 ThrottleBaseInfoType
}

func GetThrottleBaseInfoTypeEnum

func GetThrottleBaseInfoTypeEnum() ThrottleBaseInfoTypeEnum

type ThrottleBindingBatchDelete

type ThrottleBindingBatchDelete struct {

	// 需要解除绑定的API和流控策略绑定关系ID列表
	ThrottleBindings *[]string `json:"throttle_bindings,omitempty"`
}

func (ThrottleBindingBatchDelete) String

type ThrottleBindingBatchFailure

type ThrottleBindingBatchFailure struct {

	// 解除绑定失败的API和流控策略绑定关系ID
	BindId *string `json:"bind_id,omitempty"`

	// 解除绑定失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 解除绑定失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 解除绑定失败的API的ID
	ApiId *string `json:"api_id,omitempty"`

	// 解除绑定失败的API的名称
	ApiName *string `json:"api_name,omitempty"`
}

func (ThrottleBindingBatchFailure) String

type ThrottleForApi

type ThrottleForApi struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit ThrottleForApiTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *ThrottleForApiType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site)
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *ThrottleForApiIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 流控策略生效的环境(即在哪个环境上有效)
	EnvName *string `json:"env_name,omitempty"`

	// 流控策略与API绑定关系编号
	BindId *string `json:"bind_id,omitempty"`

	// 流控策略与API绑定时间
	BindTime *sdktime.SdkTime `json:"bind_time,omitempty"`
}

func (ThrottleForApi) String

func (o ThrottleForApi) String() string

type ThrottleForApiIsIncluSpecialThrottle

type ThrottleForApiIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (ThrottleForApiIsIncluSpecialThrottle) MarshalJSON

func (c ThrottleForApiIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)

func (*ThrottleForApiIsIncluSpecialThrottle) UnmarshalJSON

func (c *ThrottleForApiIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error

func (ThrottleForApiIsIncluSpecialThrottle) Value added in v0.0.90

type ThrottleForApiIsIncluSpecialThrottleEnum

type ThrottleForApiIsIncluSpecialThrottleEnum struct {
	E_1 ThrottleForApiIsIncluSpecialThrottle
	E_2 ThrottleForApiIsIncluSpecialThrottle
}

func GetThrottleForApiIsIncluSpecialThrottleEnum

func GetThrottleForApiIsIncluSpecialThrottleEnum() ThrottleForApiIsIncluSpecialThrottleEnum

type ThrottleForApiTimeUnit

type ThrottleForApiTimeUnit struct {
	// contains filtered or unexported fields
}

func (ThrottleForApiTimeUnit) MarshalJSON

func (c ThrottleForApiTimeUnit) MarshalJSON() ([]byte, error)

func (*ThrottleForApiTimeUnit) UnmarshalJSON

func (c *ThrottleForApiTimeUnit) UnmarshalJSON(b []byte) error

func (ThrottleForApiTimeUnit) Value added in v0.0.90

func (c ThrottleForApiTimeUnit) Value() string

type ThrottleForApiTimeUnitEnum

type ThrottleForApiTimeUnitEnum struct {
	SECOND ThrottleForApiTimeUnit
	MINUTE ThrottleForApiTimeUnit
	HOUR   ThrottleForApiTimeUnit
	DAY    ThrottleForApiTimeUnit
}

func GetThrottleForApiTimeUnitEnum

func GetThrottleForApiTimeUnitEnum() ThrottleForApiTimeUnitEnum

type ThrottleForApiType

type ThrottleForApiType struct {
	// contains filtered or unexported fields
}

func (ThrottleForApiType) MarshalJSON

func (c ThrottleForApiType) MarshalJSON() ([]byte, error)

func (*ThrottleForApiType) UnmarshalJSON

func (c *ThrottleForApiType) UnmarshalJSON(b []byte) error

func (ThrottleForApiType) Value added in v0.0.90

func (c ThrottleForApiType) Value() int32

type ThrottleForApiTypeEnum

type ThrottleForApiTypeEnum struct {
	E_1 ThrottleForApiType
	E_2 ThrottleForApiType
}

func GetThrottleForApiTypeEnum

func GetThrottleForApiTypeEnum() ThrottleForApiTypeEnum

type ThrottleSpecialBase

type ThrottleSpecialBase struct {

	// 特殊配置的编号
	Id *string `json:"id,omitempty"`

	// 特殊对象在流控时间内能够访问API的最大次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 设置时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 作用的APP名称
	AppName *string `json:"app_name,omitempty"`

	// 作用的APP编号
	AppId *string `json:"app_id,omitempty"`
}

func (ThrottleSpecialBase) String

func (o ThrottleSpecialBase) String() string

type ThrottleSpecialCreate

type ThrottleSpecialCreate struct {

	// 流控时间内特殊对象能够访问API的最大次数限制
	CallLimits int32 `json:"call_limits"`

	// 特殊APP的编号[或特殊租户的帐号ID](tag:hws;hws_hk;hcs;fcs;g42;)
	ObjectId string `json:"object_id"`

	// 特殊对象类型
	ObjectType ThrottleSpecialCreateObjectType `json:"object_type"`
}

func (ThrottleSpecialCreate) String

func (o ThrottleSpecialCreate) String() string

type ThrottleSpecialCreateObjectType

type ThrottleSpecialCreateObjectType struct {
	// contains filtered or unexported fields
}

func (ThrottleSpecialCreateObjectType) MarshalJSON

func (c ThrottleSpecialCreateObjectType) MarshalJSON() ([]byte, error)

func (*ThrottleSpecialCreateObjectType) UnmarshalJSON

func (c *ThrottleSpecialCreateObjectType) UnmarshalJSON(b []byte) error

func (ThrottleSpecialCreateObjectType) Value added in v0.0.90

type ThrottleSpecialCreateObjectTypeEnum

type ThrottleSpecialCreateObjectTypeEnum struct {
	APP  ThrottleSpecialCreateObjectType
	USER ThrottleSpecialCreateObjectType
}

func GetThrottleSpecialCreateObjectTypeEnum

func GetThrottleSpecialCreateObjectTypeEnum() ThrottleSpecialCreateObjectTypeEnum

type ThrottleSpecialInfo

type ThrottleSpecialInfo struct {

	// 特殊配置的编号
	Id *string `json:"id,omitempty"`

	// 特殊对象在流控时间内能够访问API的最大次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 设置时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 作用的APP名称
	AppName *string `json:"app_name,omitempty"`

	// 作用的APP编号
	AppId *string `json:"app_id,omitempty"`

	// 特殊对象的身份标识
	ObjectId *string `json:"object_id,omitempty"`

	// 特殊对象类型:APP、USER
	ObjectType *string `json:"object_type,omitempty"`

	// [作用的APP或租户的名称](tag:hws;hws_hk;hcs;fcs;g42;)[作用的APP或租户ID](tag:Site)
	ObjectName *string `json:"object_name,omitempty"`

	// 流控策略编号
	ThrottleId *string `json:"throttle_id,omitempty"`
}

func (ThrottleSpecialInfo) String

func (o ThrottleSpecialInfo) String() string

type ThrottleSpecialUpdate

type ThrottleSpecialUpdate struct {

	// 流控时间内特殊对象能够访问API的最大次数限制
	CallLimits int64 `json:"call_limits"`
}

func (ThrottleSpecialUpdate) String

func (o ThrottleSpecialUpdate) String() string

type ThrottlesInfo

type ThrottlesInfo struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit ThrottlesInfoTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *ThrottlesInfoType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site)
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *ThrottlesInfoIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

func (ThrottlesInfo) String

func (o ThrottlesInfo) String() string

type ThrottlesInfoIsIncluSpecialThrottle

type ThrottlesInfoIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON

func (c ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)

func (*ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON

func (c *ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error

func (ThrottlesInfoIsIncluSpecialThrottle) Value added in v0.0.90

type ThrottlesInfoIsIncluSpecialThrottleEnum

type ThrottlesInfoIsIncluSpecialThrottleEnum struct {
	E_1 ThrottlesInfoIsIncluSpecialThrottle
	E_2 ThrottlesInfoIsIncluSpecialThrottle
}

func GetThrottlesInfoIsIncluSpecialThrottleEnum

func GetThrottlesInfoIsIncluSpecialThrottleEnum() ThrottlesInfoIsIncluSpecialThrottleEnum

type ThrottlesInfoTimeUnit

type ThrottlesInfoTimeUnit struct {
	// contains filtered or unexported fields
}

func (ThrottlesInfoTimeUnit) MarshalJSON

func (c ThrottlesInfoTimeUnit) MarshalJSON() ([]byte, error)

func (*ThrottlesInfoTimeUnit) UnmarshalJSON

func (c *ThrottlesInfoTimeUnit) UnmarshalJSON(b []byte) error

func (ThrottlesInfoTimeUnit) Value added in v0.0.90

func (c ThrottlesInfoTimeUnit) Value() string

type ThrottlesInfoTimeUnitEnum

type ThrottlesInfoTimeUnitEnum struct {
	SECOND ThrottlesInfoTimeUnit
	MINUTE ThrottlesInfoTimeUnit
	HOUR   ThrottlesInfoTimeUnit
	DAY    ThrottlesInfoTimeUnit
}

func GetThrottlesInfoTimeUnitEnum

func GetThrottlesInfoTimeUnitEnum() ThrottlesInfoTimeUnitEnum

type ThrottlesInfoType

type ThrottlesInfoType struct {
	// contains filtered or unexported fields
}

func (ThrottlesInfoType) MarshalJSON

func (c ThrottlesInfoType) MarshalJSON() ([]byte, error)

func (*ThrottlesInfoType) UnmarshalJSON

func (c *ThrottlesInfoType) UnmarshalJSON(b []byte) error

func (ThrottlesInfoType) Value added in v0.0.90

func (c ThrottlesInfoType) Value() int32

type ThrottlesInfoTypeEnum

type ThrottlesInfoTypeEnum struct {
	E_1 ThrottlesInfoType
	E_2 ThrottlesInfoType
}

func GetThrottlesInfoTypeEnum

func GetThrottlesInfoTypeEnum() ThrottlesInfoTypeEnum

type Topic

type Topic struct {

	// TOPIC的ID
	Id *int32 `json:"id,omitempty"`

	// TOPIC的名称
	Name *string `json:"name,omitempty"`

	// TOPIC描述
	Description *string `json:"description,omitempty"`

	// TOPIC权限, 主题权限 0-发布 1-订阅
	Permission *TopicPermission `json:"permission,omitempty"`

	// TOPIC类型 0-基础TOPIC 1-用户自定义TOPIC
	IsPrivate *TopicIsPrivate `json:"is_private,omitempty"`
}

func (Topic) String

func (o Topic) String() string

type TopicIsPrivate added in v0.0.78

type TopicIsPrivate struct {
	// contains filtered or unexported fields
}

func (TopicIsPrivate) MarshalJSON added in v0.0.78

func (c TopicIsPrivate) MarshalJSON() ([]byte, error)

func (*TopicIsPrivate) UnmarshalJSON added in v0.0.78

func (c *TopicIsPrivate) UnmarshalJSON(b []byte) error

func (TopicIsPrivate) Value added in v0.0.90

func (c TopicIsPrivate) Value() int32

type TopicIsPrivateEnum added in v0.0.78

type TopicIsPrivateEnum struct {
	E_0 TopicIsPrivate
	E_1 TopicIsPrivate
}

func GetTopicIsPrivateEnum added in v0.0.78

func GetTopicIsPrivateEnum() TopicIsPrivateEnum

type TopicPermission added in v0.0.78

type TopicPermission struct {
	// contains filtered or unexported fields
}

func (TopicPermission) MarshalJSON added in v0.0.78

func (c TopicPermission) MarshalJSON() ([]byte, error)

func (*TopicPermission) UnmarshalJSON added in v0.0.78

func (c *TopicPermission) UnmarshalJSON(b []byte) error

func (TopicPermission) Value added in v0.0.90

func (c TopicPermission) Value() int32

type TopicPermissionEnum added in v0.0.78

type TopicPermissionEnum struct {
	E_0 TopicPermission
	E_1 TopicPermission
}

func GetTopicPermissionEnum added in v0.0.78

func GetTopicPermissionEnum() TopicPermissionEnum

type UnbindApiForAcl

type UnbindApiForAcl struct {

	// API的认证方式
	AuthType *string `json:"auth_type,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 发布记录的编号
	PublishId *string `json:"publish_id,omitempty"`

	// API所属分组的编号
	GroupId *string `json:"group_id,omitempty"`

	// API名称
	Name *string `json:"name,omitempty"`

	// API描述
	Remark *string `json:"remark,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API的请求地址
	ReqUri *string `json:"req_uri,omitempty"`

	// API类型
	Type *int32 `json:"type,omitempty"`

	// 绑定的其他同类型的ACL策略名称
	AclName *string `json:"acl_name,omitempty"`
}

func (UnbindApiForAcl) String

func (o UnbindApiForAcl) String() string

type UnpublishLiveDataApiV2Request

type UnpublishLiveDataApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 后端API的编号
	LdApiId string `json:"ld_api_id"`
}

UnpublishLiveDataApiV2Request Request Object

func (UnpublishLiveDataApiV2Request) String

type UnpublishLiveDataApiV2Response

type UnpublishLiveDataApiV2Response struct {
	HttpStatusCode int `json:"-"`
}

UnpublishLiveDataApiV2Response Response Object

func (UnpublishLiveDataApiV2Response) String

type UpdateAclStrategyV2Request

type UpdateAclStrategyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// ACL策略的编号
	AclId string `json:"acl_id"`

	Body *ApiAclCreate `json:"body,omitempty"`
}

UpdateAclStrategyV2Request Request Object

func (UpdateAclStrategyV2Request) String

type UpdateAclStrategyV2Response

type UpdateAclStrategyV2Response struct {

	// 名称
	AclName *string `json:"acl_name,omitempty"`

	// 类型: - PERMIT(白名单类型) - DENY(黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// ACL策略值
	AclValue *string `json:"acl_value,omitempty"`

	// 对象类型: - IP - DOMAIN
	EntityType *string `json:"entity_type,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateAclStrategyV2Response Response Object

func (UpdateAclStrategyV2Response) String

type UpdateApiGroupV2Request

type UpdateApiGroupV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	Body *ApiGroupBase `json:"body,omitempty"`
}

UpdateApiGroupV2Request Request Object

func (UpdateApiGroupV2Request) String

func (o UpdateApiGroupV2Request) String() string

type UpdateApiGroupV2Response

type UpdateApiGroupV2Response struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status UpdateApiGroupV2ResponseStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中  ROMAConnect暂未对接云市场,此字段默认返回2
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置  暂不支持
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 流控时长  暂不支持
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 流控的时间单位  暂不支持
	TimeUnit *string `json:"time_unit,omitempty"`

	// 是否为默认分组
	IsDefault *int32 `json:"is_default,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组
	Version *string `json:"version,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组归属的集成应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateApiGroupV2Response Response Object

func (UpdateApiGroupV2Response) String

func (o UpdateApiGroupV2Response) String() string

type UpdateApiGroupV2ResponseStatus

type UpdateApiGroupV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateApiGroupV2ResponseStatus) MarshalJSON

func (c UpdateApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateApiGroupV2ResponseStatus) UnmarshalJSON

func (c *UpdateApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateApiGroupV2ResponseStatus) Value added in v0.0.90

type UpdateApiGroupV2ResponseStatusEnum

type UpdateApiGroupV2ResponseStatusEnum struct {
	E_1 UpdateApiGroupV2ResponseStatus
}

func GetUpdateApiGroupV2ResponseStatusEnum

func GetUpdateApiGroupV2ResponseStatusEnum() UpdateApiGroupV2ResponseStatusEnum

type UpdateApiV2Request

type UpdateApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	Body *ApiCreate `json:"body,omitempty"`
}

UpdateApiV2Request Request Object

func (UpdateApiV2Request) String

func (o UpdateApiV2Request) String() string

type UpdateApiV2Response

type UpdateApiV2Response struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API
	Type UpdateApiV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol UpdateApiV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod UpdateApiV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType UpdateApiV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *UpdateApiV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType UpdateApiV2ResponseBackendType `json:"backend_type"`

	// API描述。  不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID  暂不支持
	ResponseId *string `json:"response_id,omitempty"`

	// API归属的集成应用编号  API分组为全局分组时或API绑定自定义域名时必填。
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain
	ContentType *UpdateApiV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *UpdateApiV2ResponseStatus `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// [函数工作流策略后端列表](tag:hws,hws_hk,hcs,fcs,g42)[暂不支持](tag:Site)
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps    *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

UpdateApiV2Response Response Object

func (UpdateApiV2Response) String

func (o UpdateApiV2Response) String() string

type UpdateApiV2ResponseAuthType

type UpdateApiV2ResponseAuthType struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseAuthType) MarshalJSON

func (c UpdateApiV2ResponseAuthType) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseAuthType) UnmarshalJSON

func (c *UpdateApiV2ResponseAuthType) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseAuthType) Value added in v0.0.90

type UpdateApiV2ResponseBackendType

type UpdateApiV2ResponseBackendType struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseBackendType) MarshalJSON

func (c UpdateApiV2ResponseBackendType) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseBackendType) UnmarshalJSON

func (c *UpdateApiV2ResponseBackendType) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseBackendType) Value added in v0.0.90

type UpdateApiV2ResponseBackendTypeEnum

type UpdateApiV2ResponseBackendTypeEnum struct {
	HTTP     UpdateApiV2ResponseBackendType
	FUNCTION UpdateApiV2ResponseBackendType
	MOCK     UpdateApiV2ResponseBackendType
}

func GetUpdateApiV2ResponseBackendTypeEnum

func GetUpdateApiV2ResponseBackendTypeEnum() UpdateApiV2ResponseBackendTypeEnum

type UpdateApiV2ResponseContentType

type UpdateApiV2ResponseContentType struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseContentType) MarshalJSON

func (c UpdateApiV2ResponseContentType) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseContentType) UnmarshalJSON

func (c *UpdateApiV2ResponseContentType) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseContentType) Value added in v0.0.90

type UpdateApiV2ResponseContentTypeEnum

type UpdateApiV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    UpdateApiV2ResponseContentType
	APPLICATION_XML     UpdateApiV2ResponseContentType
	MULTIPART_FORM_DATE UpdateApiV2ResponseContentType
	TEXT_PLAIN          UpdateApiV2ResponseContentType
}

func GetUpdateApiV2ResponseContentTypeEnum

func GetUpdateApiV2ResponseContentTypeEnum() UpdateApiV2ResponseContentTypeEnum

type UpdateApiV2ResponseMatchMode

type UpdateApiV2ResponseMatchMode struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseMatchMode) MarshalJSON

func (c UpdateApiV2ResponseMatchMode) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseMatchMode) UnmarshalJSON

func (c *UpdateApiV2ResponseMatchMode) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseMatchMode) Value added in v0.0.90

type UpdateApiV2ResponseMatchModeEnum

type UpdateApiV2ResponseMatchModeEnum struct {
	SWA    UpdateApiV2ResponseMatchMode
	NORMAL UpdateApiV2ResponseMatchMode
}

func GetUpdateApiV2ResponseMatchModeEnum

func GetUpdateApiV2ResponseMatchModeEnum() UpdateApiV2ResponseMatchModeEnum

type UpdateApiV2ResponseReqMethod

type UpdateApiV2ResponseReqMethod struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseReqMethod) MarshalJSON

func (c UpdateApiV2ResponseReqMethod) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseReqMethod) UnmarshalJSON

func (c *UpdateApiV2ResponseReqMethod) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseReqMethod) Value added in v0.0.90

type UpdateApiV2ResponseReqProtocol

type UpdateApiV2ResponseReqProtocol struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseReqProtocol) MarshalJSON

func (c UpdateApiV2ResponseReqProtocol) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseReqProtocol) UnmarshalJSON

func (c *UpdateApiV2ResponseReqProtocol) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseReqProtocol) Value added in v0.0.90

type UpdateApiV2ResponseStatus

type UpdateApiV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseStatus) MarshalJSON

func (c UpdateApiV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseStatus) UnmarshalJSON

func (c *UpdateApiV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseStatus) Value added in v0.0.90

func (c UpdateApiV2ResponseStatus) Value() int32

type UpdateApiV2ResponseStatusEnum

type UpdateApiV2ResponseStatusEnum struct {
	E_1 UpdateApiV2ResponseStatus
}

func GetUpdateApiV2ResponseStatusEnum

func GetUpdateApiV2ResponseStatusEnum() UpdateApiV2ResponseStatusEnum

type UpdateApiV2ResponseType

type UpdateApiV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseType) MarshalJSON

func (c UpdateApiV2ResponseType) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseType) UnmarshalJSON

func (c *UpdateApiV2ResponseType) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseType) Value added in v0.0.90

func (c UpdateApiV2ResponseType) Value() int32

type UpdateApiV2ResponseTypeEnum

type UpdateApiV2ResponseTypeEnum struct {
	E_1 UpdateApiV2ResponseType
	E_2 UpdateApiV2ResponseType
}

func GetUpdateApiV2ResponseTypeEnum

func GetUpdateApiV2ResponseTypeEnum() UpdateApiV2ResponseTypeEnum

type UpdateAppAclRequest

type UpdateAppAclRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	Body *AppAclCreate `json:"body,omitempty"`
}

UpdateAppAclRequest Request Object

func (UpdateAppAclRequest) String

func (o UpdateAppAclRequest) String() string

type UpdateAppAclResponse

type UpdateAppAclResponse struct {

	// APP编号
	AppId *string `json:"app_id,omitempty"`

	// 类型 -  PERMIT (白名单类型) -  DENY (黑名单类型)
	AppAclType *string `json:"app_acl_type,omitempty"`

	// ACL策略值,支持IP、IP范围和CIDR方式。IP范围以英文中划线分隔。
	AppAclValues   *[]string `json:"app_acl_values,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdateAppAclResponse Response Object

func (UpdateAppAclResponse) String

func (o UpdateAppAclResponse) String() string

type UpdateAppConfigV2Request

type UpdateAppConfigV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// 应用配置编号
	AppConfigId string `json:"app_config_id"`

	Body *AppConfigModifyRequestV2 `json:"body,omitempty"`
}

UpdateAppConfigV2Request Request Object

func (UpdateAppConfigV2Request) String

func (o UpdateAppConfigV2Request) String() string

type UpdateAppConfigV2Response

type UpdateAppConfigV2Response struct {

	// 应用配置编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 应用配置类型
	ConfigType *string `json:"config_type,omitempty"`

	// 应用配置名称
	ConfigName *string `json:"config_name,omitempty"`

	// 应用配置值
	ConfigValue *string `json:"config_value,omitempty"`

	// 应用配置更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 应用配置描述
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateAppConfigV2Response Response Object

func (UpdateAppConfigV2Response) String

func (o UpdateAppConfigV2Response) String() string

type UpdateAppQuotaRequest

type UpdateAppQuotaRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 客户端配额编号
	AppQuotaId string `json:"app_quota_id"`

	Body *AppQuotaCreate `json:"body,omitempty"`
}

UpdateAppQuotaRequest Request Object

func (UpdateAppQuotaRequest) String

func (o UpdateAppQuotaRequest) String() string

type UpdateAppQuotaResponse

type UpdateAppQuotaResponse struct {

	// 客户端配额编号
	AppQuotaId *string `json:"app_quota_id,omitempty"`

	// 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符
	Name *string `json:"name,omitempty"`

	// 客户端配额的访问次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天
	TimeUnit *UpdateAppQuotaResponseTimeUnit `json:"time_unit,omitempty"`

	// 配额的限定时间值
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 参数说明和描述
	Remark *string `json:"remark,omitempty"`

	// 首次配额重置时间点,不配置默认为首次调用时间计算
	ResetTime *string `json:"reset_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 配额策略已绑定应用数量
	BoundAppNum    *int32 `json:"bound_app_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

UpdateAppQuotaResponse Response Object

func (UpdateAppQuotaResponse) String

func (o UpdateAppQuotaResponse) String() string

type UpdateAppQuotaResponseTimeUnit

type UpdateAppQuotaResponseTimeUnit struct {
	// contains filtered or unexported fields
}

func (UpdateAppQuotaResponseTimeUnit) MarshalJSON

func (c UpdateAppQuotaResponseTimeUnit) MarshalJSON() ([]byte, error)

func (*UpdateAppQuotaResponseTimeUnit) UnmarshalJSON

func (c *UpdateAppQuotaResponseTimeUnit) UnmarshalJSON(b []byte) error

func (UpdateAppQuotaResponseTimeUnit) Value added in v0.0.90

type UpdateAppReq

type UpdateAppReq struct {

	// 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 应用描述
	Remark *string `json:"remark,omitempty"`

	// 是否收藏应用,收藏的应用会在列表里优先显示
	Favorite *bool `json:"favorite,omitempty"`
}

func (UpdateAppReq) String

func (o UpdateAppReq) String() string

type UpdateAppSecretReq

type UpdateAppSecretReq struct {

	// 应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做
	Secret *string `json:"secret,omitempty"`
}

func (UpdateAppSecretReq) String

func (o UpdateAppSecretReq) String() string

type UpdateBackendInstancesV2Request

type UpdateBackendInstancesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	Body *VpcMemberModify `json:"body,omitempty"`
}

UpdateBackendInstancesV2Request Request Object

func (UpdateBackendInstancesV2Request) String

type UpdateBackendInstancesV2Response

type UpdateBackendInstancesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的云服务器列表
	Members        *[]VpcMemberInfo `json:"members,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateBackendInstancesV2Response Response Object

func (UpdateBackendInstancesV2Response) String

type UpdateCommandRequest

type UpdateCommandRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

	Body *UpdateCommandRequestBody `json:"body,omitempty"`
}

UpdateCommandRequest Request Object

func (UpdateCommandRequest) String

func (o UpdateCommandRequest) String() string

type UpdateCommandRequestBody

type UpdateCommandRequestBody struct {

	// 服务命令名称,支持大小写字母,数字,中划线及下划线,长度2-50
	Name string `json:"name"`

	// 服务命令描述,长度0-200
	Description *string `json:"description,omitempty"`
}

func (UpdateCommandRequestBody) String

func (o UpdateCommandRequestBody) String() string

type UpdateCommandResponse

type UpdateCommandResponse struct {

	// 命令所属服务id
	ServiceId *int32 `json:"service_id,omitempty"`

	// 命令id
	CommandId *int32 `json:"command_id,omitempty"`

	// 命令名称
	CommandName *string `json:"command_name,omitempty"`

	// 命令描述
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateCommandResponse Response Object

func (UpdateCommandResponse) String

func (o UpdateCommandResponse) String() string

type UpdateCustomAuthorizerV2Request

type UpdateCustomAuthorizerV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 自定义认证的编号
	AuthorizerId string `json:"authorizer_id"`

	Body *AuthorizerCreate `json:"body,omitempty"`
}

UpdateCustomAuthorizerV2Request Request Object

func (UpdateCustomAuthorizerV2Request) String

type UpdateCustomAuthorizerV2Response

type UpdateCustomAuthorizerV2Response struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端
	Type UpdateCustomAuthorizerV2ResponseType `json:"type"`

	// 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数
	AuthorizerType UpdateCustomAuthorizerV2ResponseAuthorizerType `json:"authorizer_type"`

	// 函数地址。  注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。
	AuthorizerUri string `json:"authorizer_uri"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  自定义认证函数类型为LD时必填
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`

	// 自定义认证编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 自定义认证所属应用编号
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 自定义认证所属应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateCustomAuthorizerV2Response Response Object

func (UpdateCustomAuthorizerV2Response) String

type UpdateCustomAuthorizerV2ResponseAuthorizerType

type UpdateCustomAuthorizerV2ResponseAuthorizerType struct {
	// contains filtered or unexported fields
}

func (UpdateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON

func (*UpdateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON

func (UpdateCustomAuthorizerV2ResponseAuthorizerType) Value added in v0.0.90

type UpdateCustomAuthorizerV2ResponseType

type UpdateCustomAuthorizerV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateCustomAuthorizerV2ResponseType) MarshalJSON

func (c UpdateCustomAuthorizerV2ResponseType) MarshalJSON() ([]byte, error)

func (*UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON

func (c *UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON(b []byte) error

func (UpdateCustomAuthorizerV2ResponseType) Value added in v0.0.90

type UpdateCustomAuthorizerV2ResponseTypeEnum

type UpdateCustomAuthorizerV2ResponseTypeEnum struct {
	FRONTEND UpdateCustomAuthorizerV2ResponseType
	BACKEND  UpdateCustomAuthorizerV2ResponseType
}

func GetUpdateCustomAuthorizerV2ResponseTypeEnum

func GetUpdateCustomAuthorizerV2ResponseTypeEnum() UpdateCustomAuthorizerV2ResponseTypeEnum

type UpdateDatasourceInfoRequest

type UpdateDatasourceInfoRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 数据源ID
	DatasourceId string `json:"datasource_id"`

	Body *DatasourceInfo `json:"body,omitempty"`
}

UpdateDatasourceInfoRequest Request Object

func (UpdateDatasourceInfoRequest) String

type UpdateDatasourceInfoResponse

type UpdateDatasourceInfoResponse struct {

	// 数据源ID
	DatasourceId *string `json:"datasource_id,omitempty"`

	// 数据源名称
	DatasourceName *string `json:"datasource_name,omitempty"`

	// 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS
	DatasourceType *UpdateDatasourceInfoResponseDatasourceType `json:"datasource_type,omitempty"`

	// 数据源所属虚拟私有云VpcId
	VpcId *string `json:"vpc_id,omitempty"`

	// 数据源所属应用ID
	AppId *string `json:"app_id,omitempty"`

	// 数据源所属应用名称
	AppName *string `json:"app_name,omitempty"`

	// 数据源所属实例Id
	InstanceId *string `json:"instance_id,omitempty"`

	// 数据源创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 数据源修改时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 数据源所属连接器Id
	CustomPluginId *string `json:"custom_plugin_id,omitempty"`

	Content *Content `json:"content,omitempty"`

	// 数据源描述
	Description *string `json:"description,omitempty"`

	// 集成应用权限信息 - read (读权限) - access (调用权限) - delete (删除权限) - modify (修改权限)
	AppPermission  *[]UpdateDatasourceInfoResponseAppPermission `json:"app_permission,omitempty"`
	HttpStatusCode int                                          `json:"-"`
}

UpdateDatasourceInfoResponse Response Object

func (UpdateDatasourceInfoResponse) String

type UpdateDatasourceInfoResponseAppPermission

type UpdateDatasourceInfoResponseAppPermission struct {
	// contains filtered or unexported fields
}

func (UpdateDatasourceInfoResponseAppPermission) MarshalJSON

func (*UpdateDatasourceInfoResponseAppPermission) UnmarshalJSON

func (UpdateDatasourceInfoResponseAppPermission) Value added in v0.0.90

type UpdateDatasourceInfoResponseDatasourceType

type UpdateDatasourceInfoResponseDatasourceType struct {
	// contains filtered or unexported fields
}

func (UpdateDatasourceInfoResponseDatasourceType) MarshalJSON

func (*UpdateDatasourceInfoResponseDatasourceType) UnmarshalJSON

func (UpdateDatasourceInfoResponseDatasourceType) Value added in v0.0.90

type UpdateDatasourceInfoResponseDatasourceTypeEnum

type UpdateDatasourceInfoResponseDatasourceTypeEnum struct {
	DWS        UpdateDatasourceInfoResponseDatasourceType
	MYSQL      UpdateDatasourceInfoResponseDatasourceType
	KAFKA      UpdateDatasourceInfoResponseDatasourceType
	API        UpdateDatasourceInfoResponseDatasourceType
	OBS        UpdateDatasourceInfoResponseDatasourceType
	SAP        UpdateDatasourceInfoResponseDatasourceType
	MRSHBASE   UpdateDatasourceInfoResponseDatasourceType
	MRSHDFS    UpdateDatasourceInfoResponseDatasourceType
	MRSHIVE    UpdateDatasourceInfoResponseDatasourceType
	WEBSOCKET  UpdateDatasourceInfoResponseDatasourceType
	SQLSERVER  UpdateDatasourceInfoResponseDatasourceType
	ORACLE     UpdateDatasourceInfoResponseDatasourceType
	POSTGRESQL UpdateDatasourceInfoResponseDatasourceType
	REDIS      UpdateDatasourceInfoResponseDatasourceType
	MONGODB    UpdateDatasourceInfoResponseDatasourceType
	DIS        UpdateDatasourceInfoResponseDatasourceType
	HL7        UpdateDatasourceInfoResponseDatasourceType
	RABBITMQ   UpdateDatasourceInfoResponseDatasourceType
	SNMP       UpdateDatasourceInfoResponseDatasourceType
	IBMMQ      UpdateDatasourceInfoResponseDatasourceType
	CUSTOMIZED UpdateDatasourceInfoResponseDatasourceType
	ACTIVEMQ   UpdateDatasourceInfoResponseDatasourceType
	ARTEMISMQ  UpdateDatasourceInfoResponseDatasourceType
	FTP        UpdateDatasourceInfoResponseDatasourceType
	HIVE       UpdateDatasourceInfoResponseDatasourceType
	HANA       UpdateDatasourceInfoResponseDatasourceType
	FIKAFKA    UpdateDatasourceInfoResponseDatasourceType
	MRSKAFKA   UpdateDatasourceInfoResponseDatasourceType
	FIHDFS     UpdateDatasourceInfoResponseDatasourceType
	FIHIVE     UpdateDatasourceInfoResponseDatasourceType
	GAUSS200   UpdateDatasourceInfoResponseDatasourceType
	GAUSS100   UpdateDatasourceInfoResponseDatasourceType
	LDAP       UpdateDatasourceInfoResponseDatasourceType
	DB2        UpdateDatasourceInfoResponseDatasourceType
	TAURUS     UpdateDatasourceInfoResponseDatasourceType
}

func GetUpdateDatasourceInfoResponseDatasourceTypeEnum

func GetUpdateDatasourceInfoResponseDatasourceTypeEnum() UpdateDatasourceInfoResponseDatasourceTypeEnum

type UpdateDeviceGroupRequest

type UpdateDeviceGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备分组ID
	GroupId int32 `json:"group_id"`

	Body *UpdateDeviceGroupRequestBody `json:"body,omitempty"`
}

UpdateDeviceGroupRequest Request Object

func (UpdateDeviceGroupRequest) String

func (o UpdateDeviceGroupRequest) String() string

type UpdateDeviceGroupRequestBody

type UpdateDeviceGroupRequestBody struct {

	// 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	Name string `json:"name"`

	// 分组描述,长度0-200
	Description *string `json:"description,omitempty"`
}

func (UpdateDeviceGroupRequestBody) String

type UpdateDeviceGroupResponse

type UpdateDeviceGroupResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 父分组ID
	ParentId *int32 `json:"parent_id,omitempty"`

	// 分组ID
	Id *int32 `json:"id,omitempty"`

	// 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	Name *string `json:"name,omitempty"`

	// 分组描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 分组归属应用ID
	AppId *string `json:"app_id,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间
	CreatedDatetime *string `json:"created_datetime,omitempty"`

	// 最后修改时间
	LastUpdatedDatetime *string `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

UpdateDeviceGroupResponse Response Object

func (UpdateDeviceGroupResponse) String

func (o UpdateDeviceGroupResponse) String() string

type UpdateDeviceRequest

type UpdateDeviceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 设备ID
	DeviceId int32 `json:"device_id"`

	Body *UpdateDeviceRequestBody `json:"body,omitempty"`
}

UpdateDeviceRequest Request Object

func (UpdateDeviceRequest) String

func (o UpdateDeviceRequest) String() string

type UpdateDeviceRequestBody

type UpdateDeviceRequestBody struct {

	// 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64
	DeviceName string `json:"device_name"`

	// 设备状态 0启用 1禁用
	Status UpdateDeviceRequestBodyStatus `json:"status"`

	// 备注
	Description *string `json:"description,omitempty"`

	// 标签
	Tags *[]string `json:"tags,omitempty"`
}

func (UpdateDeviceRequestBody) String

func (o UpdateDeviceRequestBody) String() string

type UpdateDeviceRequestBodyStatus added in v0.0.78

type UpdateDeviceRequestBodyStatus struct {
	// contains filtered or unexported fields
}

func (UpdateDeviceRequestBodyStatus) MarshalJSON added in v0.0.78

func (c UpdateDeviceRequestBodyStatus) MarshalJSON() ([]byte, error)

func (*UpdateDeviceRequestBodyStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateDeviceRequestBodyStatus) UnmarshalJSON(b []byte) error

func (UpdateDeviceRequestBodyStatus) Value added in v0.0.90

type UpdateDeviceRequestBodyStatusEnum added in v0.0.78

type UpdateDeviceRequestBodyStatusEnum struct {
	E_0 UpdateDeviceRequestBodyStatus
	E_1 UpdateDeviceRequestBodyStatus
}

func GetUpdateDeviceRequestBodyStatusEnum added in v0.0.78

func GetUpdateDeviceRequestBodyStatusEnum() UpdateDeviceRequestBodyStatusEnum

type UpdateDeviceResponse

type UpdateDeviceResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 设备ID
	Id *int32 `json:"id,omitempty"`

	// 设备ID(兼容20.0)
	DeviceId *int32 `json:"device_id,omitempty"`

	// 父设备ID
	ParentDeviceId *int32 `json:"parent_device_id,omitempty"`

	// 父设备名称
	ParentDeviceName *string `json:"parent_device_name,omitempty"`

	Product *ProductReferer `json:"product,omitempty"`

	// 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64
	DeviceName *string `json:"device_name,omitempty"`

	// 实例id
	InstanceId *string `json:"instance_id,omitempty"`

	// 设备客户端ID,平台生成的设备唯一标识
	ClientId *string `json:"client_id,omitempty"`

	// 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64
	NodeId *string `json:"node_id,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 设备状态 0-启用 1-禁用
	Status *UpdateDeviceResponseStatus `json:"status,omitempty"`

	// 是否在线 0-未连接 1-在线 2-离线
	OnlineStatus *UpdateDeviceResponseOnlineStatus `json:"online_status,omitempty"`

	// 备注
	Description *string `json:"description,omitempty"`

	Authentication *Authentication `json:"authentication,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 标签
	Tags *[]string `json:"tags,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`

	// 设备接入地址
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 设备接入SSL地址
	SslConnectAddress *string `json:"ssl_connect_address,omitempty"`

	// 设备接入IPV6地址
	Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"`

	// 设备接入IPV6 SSL地址
	Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"`

	// 最后登录时间
	LastLoginDatetime *int64 `json:"last_login_datetime,omitempty"`

	// 节点类型 0-直连 1-网关 2-子设备
	NodeType *int32 `json:"node_type,omitempty"`

	// 设备类型<br>0-普通设备(无子设备也无父设备)<br>1-网关设备(可挂载子设备)<br>2-子设备(归属于某个网关设备)
	DeviceType *UpdateDeviceResponseDeviceType `json:"device_type,omitempty"`

	// 客户端ip
	ClientIp *string `json:"client_ip,omitempty"`

	// 心跳时间
	KeepAlive *string `json:"keep_alive,omitempty"`

	// 最后登录时间
	LastActiveTime *int64 `json:"last_active_time,omitempty"`

	// 设备版本
	Version *string `json:"version,omitempty"`

	// 应用ID
	AppId          *string `json:"app_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateDeviceResponse Response Object

func (UpdateDeviceResponse) String

func (o UpdateDeviceResponse) String() string

type UpdateDeviceResponseDeviceType added in v0.0.78

type UpdateDeviceResponseDeviceType struct {
	// contains filtered or unexported fields
}

func (UpdateDeviceResponseDeviceType) MarshalJSON added in v0.0.78

func (c UpdateDeviceResponseDeviceType) MarshalJSON() ([]byte, error)

func (*UpdateDeviceResponseDeviceType) UnmarshalJSON added in v0.0.78

func (c *UpdateDeviceResponseDeviceType) UnmarshalJSON(b []byte) error

func (UpdateDeviceResponseDeviceType) Value added in v0.0.90

type UpdateDeviceResponseDeviceTypeEnum added in v0.0.78

type UpdateDeviceResponseDeviceTypeEnum struct {
	E_0 UpdateDeviceResponseDeviceType
	E_1 UpdateDeviceResponseDeviceType
	E_2 UpdateDeviceResponseDeviceType
}

func GetUpdateDeviceResponseDeviceTypeEnum added in v0.0.78

func GetUpdateDeviceResponseDeviceTypeEnum() UpdateDeviceResponseDeviceTypeEnum

type UpdateDeviceResponseOnlineStatus added in v0.0.78

type UpdateDeviceResponseOnlineStatus struct {
	// contains filtered or unexported fields
}

func (UpdateDeviceResponseOnlineStatus) MarshalJSON added in v0.0.78

func (c UpdateDeviceResponseOnlineStatus) MarshalJSON() ([]byte, error)

func (*UpdateDeviceResponseOnlineStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateDeviceResponseOnlineStatus) UnmarshalJSON(b []byte) error

func (UpdateDeviceResponseOnlineStatus) Value added in v0.0.90

type UpdateDeviceResponseOnlineStatusEnum added in v0.0.78

type UpdateDeviceResponseOnlineStatusEnum struct {
	E_0 UpdateDeviceResponseOnlineStatus
	E_1 UpdateDeviceResponseOnlineStatus
	E_2 UpdateDeviceResponseOnlineStatus
}

func GetUpdateDeviceResponseOnlineStatusEnum added in v0.0.78

func GetUpdateDeviceResponseOnlineStatusEnum() UpdateDeviceResponseOnlineStatusEnum

type UpdateDeviceResponseStatus added in v0.0.78

type UpdateDeviceResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateDeviceResponseStatus) MarshalJSON added in v0.0.78

func (c UpdateDeviceResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateDeviceResponseStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateDeviceResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateDeviceResponseStatus) Value added in v0.0.90

type UpdateDeviceResponseStatusEnum added in v0.0.78

type UpdateDeviceResponseStatusEnum struct {
	E_0 UpdateDeviceResponseStatus
	E_1 UpdateDeviceResponseStatus
}

func GetUpdateDeviceResponseStatusEnum added in v0.0.78

func GetUpdateDeviceResponseStatusEnum() UpdateDeviceResponseStatusEnum

type UpdateDictionary

type UpdateDictionary struct {

	// 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 字典描述
	Remark *string `json:"remark,omitempty"`

	// 字典排序,值越小顺序越靠前
	Order *int32 `json:"order,omitempty"`

	// 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendOne *string `json:"extend_one,omitempty"`

	// 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendTwo *string `json:"extend_two,omitempty"`
}

func (UpdateDictionary) String

func (o UpdateDictionary) String() string

type UpdateDictionaryRequest

type UpdateDictionaryRequest struct {

	// 字典ID
	DictId string `json:"dict_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *UpdateDictionary `json:"body,omitempty"`
}

UpdateDictionaryRequest Request Object

func (UpdateDictionaryRequest) String

func (o UpdateDictionaryRequest) String() string

type UpdateDictionaryResponse

type UpdateDictionaryResponse struct {

	// 字典ID
	Id *string `json:"id,omitempty"`

	// 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 字典描述
	Remark *string `json:"remark,omitempty"`

	// 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一
	Code *string `json:"code,omitempty"`

	// 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendOne *string `json:"extend_one,omitempty"`

	// 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格
	ExtendTwo *string `json:"extend_two,omitempty"`

	// 父字典编码,为空时代表自身就是最顶级字典
	ParentCode *string `json:"parent_code,omitempty"`

	Type *DictionaryType `json:"type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateDictionaryResponse Response Object

func (UpdateDictionaryResponse) String

func (o UpdateDictionaryResponse) String() string

type UpdateDispatchesRequest

type UpdateDispatchesRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`

	// 调度唯一标识,调度计划ID
	DispatchId string `json:"dispatch_id"`

	Body *TaskDispatch `json:"body,omitempty"`
}

UpdateDispatchesRequest Request Object

func (UpdateDispatchesRequest) String

func (o UpdateDispatchesRequest) String() string

type UpdateDispatchesResponse

type UpdateDispatchesResponse struct {

	// 调度计划ID
	DispatchId *string `json:"dispatch_id,omitempty"`

	// 调度计划关联的任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 调度计划的执行开始时间
	StartDatetime *int64 `json:"start_datetime,omitempty"`

	// 调度计划执行周期的时间单位,当使用cron表达式时,为空 - MIN (分钟) - HOUR (小时) - DAY (日) - WEEK (周) - MON (月)
	Period *UpdateDispatchesResponsePeriod `json:"period,omitempty"`

	// 调度计划的执行间隔时间周期
	DispatchInterval *int64 `json:"dispatch_interval,omitempty"`

	// 调度计划的创建时间
	CreatedDate *int64 `json:"created_date,omitempty"`

	// 调度计划最近一次的修改时间
	LastModifiedDate *int64 `json:"last_modified_date,omitempty"`

	// 调度计划的备注信息
	Remark *string `json:"remark,omitempty"`

	// 调度计划是否使用cron表达式,允许如下值: - true (使用cron表达式) - false (不使用cron表达式)
	UseQuartzCron *bool `json:"use_quartz_cron,omitempty"`

	// 调度计划的cron表达式
	Cron           *string `json:"cron,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateDispatchesResponse Response Object

func (UpdateDispatchesResponse) String

func (o UpdateDispatchesResponse) String() string

type UpdateDispatchesResponsePeriod

type UpdateDispatchesResponsePeriod struct {
	// contains filtered or unexported fields
}

func (UpdateDispatchesResponsePeriod) MarshalJSON

func (c UpdateDispatchesResponsePeriod) MarshalJSON() ([]byte, error)

func (*UpdateDispatchesResponsePeriod) UnmarshalJSON

func (c *UpdateDispatchesResponsePeriod) UnmarshalJSON(b []byte) error

func (UpdateDispatchesResponsePeriod) Value added in v0.0.90

type UpdateDomainV2Request

type UpdateDomainV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

	Body *UrlDomainModify `json:"body,omitempty"`
}

UpdateDomainV2Request Request Object

func (UpdateDomainV2Request) String

func (o UpdateDomainV2Request) String() string

type UpdateDomainV2Response

type UpdateDomainV2Response struct {

	// 自定义域名
	UrlDomain *string `json:"url_domain,omitempty"`

	// 自定义域名的编号
	Id *string `json:"id,omitempty"`

	// CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败
	Status *UpdateDomainV2ResponseStatus `json:"status,omitempty"`

	// 支持的最小SSL版本
	MinSslVersion  *string `json:"min_ssl_version,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateDomainV2Response Response Object

func (UpdateDomainV2Response) String

func (o UpdateDomainV2Response) String() string

type UpdateDomainV2ResponseStatus

type UpdateDomainV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateDomainV2ResponseStatus) MarshalJSON

func (c UpdateDomainV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateDomainV2ResponseStatus) UnmarshalJSON

func (c *UpdateDomainV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateDomainV2ResponseStatus) Value added in v0.0.90

type UpdateEnvironmentV2Request

type UpdateEnvironmentV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 环境的ID
	EnvId string `json:"env_id"`

	Body *EnvCreate `json:"body,omitempty"`
}

UpdateEnvironmentV2Request Request Object

func (UpdateEnvironmentV2Request) String

type UpdateEnvironmentV2Response

type UpdateEnvironmentV2Response struct {

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 环境名称
	Name *string `json:"name,omitempty"`

	// 描述信息
	Remark *string `json:"remark,omitempty"`

	// 环境编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEnvironmentV2Response Response Object

func (UpdateEnvironmentV2Response) String

type UpdateEnvironmentVariableV2Request

type UpdateEnvironmentVariableV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 环境变量的编号
	EnvVariableId string `json:"env_variable_id"`

	Body *EnvVariableBase `json:"body,omitempty"`
}

UpdateEnvironmentVariableV2Request Request Object

func (UpdateEnvironmentVariableV2Request) String

type UpdateEnvironmentVariableV2Response

type UpdateEnvironmentVariableV2Response struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。
	VariableName *string `json:"variable_name,omitempty"`

	// 环境变量编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEnvironmentVariableV2Response Response Object

func (UpdateEnvironmentVariableV2Response) String

type UpdateHealthCheckRequest

type UpdateHealthCheckRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	Body *VpcHealthConfig `json:"body,omitempty"`
}

UpdateHealthCheckRequest Request Object

func (UpdateHealthCheckRequest) String

func (o UpdateHealthCheckRequest) String() string

type UpdateHealthCheckResponse

type UpdateHealthCheckResponse struct {

	// 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS
	Protocol UpdateHealthCheckResponseProtocol `json:"protocol"`

	// 健康检查时的目标路径。protocol = http或https时必选
	Path *string `json:"path,omitempty"`

	// 健康检查时的请求方法
	Method *UpdateHealthCheckResponseMethod `json:"method,omitempty"`

	// 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。  若此端口存在非0值,则使用此端口进行健康检查。
	Port *int32 `json:"port,omitempty"`

	// 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。
	ThresholdNormal int32 `json:"threshold_normal"`

	// 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。
	ThresholdAbnormal int32 `json:"threshold_abnormal"`

	// 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。
	TimeInterval int32 `json:"time_interval"`

	// 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选
	HttpCode *string `json:"http_code,omitempty"`

	// 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 健康检查状态   - 1:可用   - 2:不可用
	Status *UpdateHealthCheckResponseStatus `json:"status,omitempty"`

	// 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。
	Timeout *int32 `json:"timeout,omitempty"`

	// VPC通道的编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// 健康检查的编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateHealthCheckResponse Response Object

func (UpdateHealthCheckResponse) String

func (o UpdateHealthCheckResponse) String() string

type UpdateHealthCheckResponseMethod

type UpdateHealthCheckResponseMethod struct {
	// contains filtered or unexported fields
}

func (UpdateHealthCheckResponseMethod) MarshalJSON

func (c UpdateHealthCheckResponseMethod) MarshalJSON() ([]byte, error)

func (*UpdateHealthCheckResponseMethod) UnmarshalJSON

func (c *UpdateHealthCheckResponseMethod) UnmarshalJSON(b []byte) error

func (UpdateHealthCheckResponseMethod) Value added in v0.0.90

type UpdateHealthCheckResponseMethodEnum

type UpdateHealthCheckResponseMethodEnum struct {
	GET  UpdateHealthCheckResponseMethod
	HEAD UpdateHealthCheckResponseMethod
}

func GetUpdateHealthCheckResponseMethodEnum

func GetUpdateHealthCheckResponseMethodEnum() UpdateHealthCheckResponseMethodEnum

type UpdateHealthCheckResponseProtocol

type UpdateHealthCheckResponseProtocol struct {
	// contains filtered or unexported fields
}

func (UpdateHealthCheckResponseProtocol) MarshalJSON

func (c UpdateHealthCheckResponseProtocol) MarshalJSON() ([]byte, error)

func (*UpdateHealthCheckResponseProtocol) UnmarshalJSON

func (c *UpdateHealthCheckResponseProtocol) UnmarshalJSON(b []byte) error

func (UpdateHealthCheckResponseProtocol) Value added in v0.0.90

type UpdateHealthCheckResponseStatus

type UpdateHealthCheckResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateHealthCheckResponseStatus) MarshalJSON

func (c UpdateHealthCheckResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateHealthCheckResponseStatus) UnmarshalJSON

func (c *UpdateHealthCheckResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateHealthCheckResponseStatus) Value added in v0.0.90

type UpdateHealthCheckResponseStatusEnum

type UpdateHealthCheckResponseStatusEnum struct {
	E_1 UpdateHealthCheckResponseStatus
	E_2 UpdateHealthCheckResponseStatus
}

func GetUpdateHealthCheckResponseStatusEnum

func GetUpdateHealthCheckResponseStatusEnum() UpdateHealthCheckResponseStatusEnum

type UpdateLiveDataApiV2Request

type UpdateLiveDataApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 后端API的编号
	LdApiId string `json:"ld_api_id"`

	Body *LdApiCreate `json:"body,omitempty"`
}

UpdateLiveDataApiV2Request Request Object

func (UpdateLiveDataApiV2Request) String

type UpdateLiveDataApiV2Response

type UpdateLiveDataApiV2Response struct {

	// 后端API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。
	Name string `json:"name"`

	// 后端API请求路径。  支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。
	Path string `json:"path"`

	// 后端API请求方法。  支持GET、PUT、POST、DELETE
	Method UpdateLiveDataApiV2ResponseMethod `json:"method"`

	// 后端API描述。  不支持<,>字符
	Description *string `json:"description,omitempty"`

	// 后端API版本  支持英文,数字,下划线,中划线,点。
	Version string `json:"version"`

	// 后端API返回类型
	ContentType UpdateLiveDataApiV2ResponseContentType `json:"content_type"`

	// 后端API为签名认证时绑定的签名密钥编号
	ApiSignatureId *string `json:"api_signature_id,omitempty"`

	// 后端API归属的集成应用编号
	RomaAppId string `json:"roma_app_id"`

	// API响应信息是否格式化  true: 对响应信息进行格式化  false:对响应信息格式化不进行格式化
	ReturnFormat *bool `json:"return_format,omitempty"`

	// 后端API的请求参数列表
	Parameters *[]LdApiParameter `json:"parameters,omitempty"`

	// 后端API编号
	Id *string `json:"id,omitempty"`

	// 后端API所属实例编号
	Instance *string `json:"instance,omitempty"`

	// 后端API类型: - data:数据后端 - function: 函数后端
	Type *UpdateLiveDataApiV2ResponseType `json:"type,omitempty"`

	// 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署
	Status *UpdateLiveDataApiV2ResponseStatus `json:"status,omitempty"`

	// 后端API创建时间
	CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"`

	// 后端API修改时间
	ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"`

	// 后端API脚本信息
	Scripts *[]LdApiScript `json:"scripts,omitempty"`

	// 后端API归属的集成应用名称
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateLiveDataApiV2Response Response Object

func (UpdateLiveDataApiV2Response) String

type UpdateLiveDataApiV2ResponseContentType

type UpdateLiveDataApiV2ResponseContentType struct {
	// contains filtered or unexported fields
}

func (UpdateLiveDataApiV2ResponseContentType) MarshalJSON

func (c UpdateLiveDataApiV2ResponseContentType) MarshalJSON() ([]byte, error)

func (*UpdateLiveDataApiV2ResponseContentType) UnmarshalJSON

func (c *UpdateLiveDataApiV2ResponseContentType) UnmarshalJSON(b []byte) error

func (UpdateLiveDataApiV2ResponseContentType) Value added in v0.0.90

type UpdateLiveDataApiV2ResponseMethod

type UpdateLiveDataApiV2ResponseMethod struct {
	// contains filtered or unexported fields
}

func (UpdateLiveDataApiV2ResponseMethod) MarshalJSON

func (c UpdateLiveDataApiV2ResponseMethod) MarshalJSON() ([]byte, error)

func (*UpdateLiveDataApiV2ResponseMethod) UnmarshalJSON

func (c *UpdateLiveDataApiV2ResponseMethod) UnmarshalJSON(b []byte) error

func (UpdateLiveDataApiV2ResponseMethod) Value added in v0.0.90

type UpdateLiveDataApiV2ResponseStatus

type UpdateLiveDataApiV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateLiveDataApiV2ResponseStatus) MarshalJSON

func (c UpdateLiveDataApiV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateLiveDataApiV2ResponseStatus) UnmarshalJSON

func (c *UpdateLiveDataApiV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateLiveDataApiV2ResponseStatus) Value added in v0.0.90

type UpdateLiveDataApiV2ResponseType

type UpdateLiveDataApiV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateLiveDataApiV2ResponseType) MarshalJSON

func (c UpdateLiveDataApiV2ResponseType) MarshalJSON() ([]byte, error)

func (*UpdateLiveDataApiV2ResponseType) UnmarshalJSON

func (c *UpdateLiveDataApiV2ResponseType) UnmarshalJSON(b []byte) error

func (UpdateLiveDataApiV2ResponseType) Value added in v0.0.90

type UpdateLiveDataApiV2ResponseTypeEnum

type UpdateLiveDataApiV2ResponseTypeEnum struct {
	DATA     UpdateLiveDataApiV2ResponseType
	FUNCTION UpdateLiveDataApiV2ResponseType
}

func GetUpdateLiveDataApiV2ResponseTypeEnum

func GetUpdateLiveDataApiV2ResponseTypeEnum() UpdateLiveDataApiV2ResponseTypeEnum

type UpdateMemberGroupRequest

type UpdateMemberGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// VPC通道后端服务器组编号
	MemberGroupId string `json:"member_group_id"`

	Body *MemberGroupCreate `json:"body,omitempty"`
}

UpdateMemberGroupRequest Request Object

func (UpdateMemberGroupRequest) String

func (o UpdateMemberGroupRequest) String() string

type UpdateMemberGroupResponse

type UpdateMemberGroupResponse struct {

	// VPC通道后端服务器组名称
	MemberGroupName string `json:"member_group_name"`

	// VPC通道后端服务器组描述
	MemberGroupRemark *string `json:"member_group_remark,omitempty"`

	// VPC通道后端服务器组权重值。  当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。
	MemberGroupWeight *int32 `json:"member_group_weight,omitempty"`

	// VPC通道后端服务器组的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`

	// VPC通道后端服务器组创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道后端服务器组更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateMemberGroupResponse Response Object

func (UpdateMemberGroupResponse) String

func (o UpdateMemberGroupResponse) String() string

type UpdateMqsInstanceTopicReq

type UpdateMqsInstanceTopicReq struct {

	// Topic列表。
	Topics []UpdateTopicObject `json:"topics"`
}

func (UpdateMqsInstanceTopicReq) String

func (o UpdateMqsInstanceTopicReq) String() string

type UpdateMqsInstanceTopicRequest

type UpdateMqsInstanceTopicRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	Body *UpdateMqsInstanceTopicReq `json:"body,omitempty"`
}

UpdateMqsInstanceTopicRequest Request Object

func (UpdateMqsInstanceTopicRequest) String

type UpdateMqsInstanceTopicResponse

type UpdateMqsInstanceTopicResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateMqsInstanceTopicResponse Response Object

func (UpdateMqsInstanceTopicResponse) String

type UpdateMultiTasksRequest

type UpdateMultiTasksRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`

	Body *MultiTaskUpdateBody `json:"body,omitempty"`
}

UpdateMultiTasksRequest Request Object

func (UpdateMultiTasksRequest) String

func (o UpdateMultiTasksRequest) String() string

type UpdateMultiTasksResponse

type UpdateMultiTasksResponse struct {

	// 任务ID, 可为空
	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateMultiTasksResponse Response Object

func (UpdateMultiTasksResponse) String

func (o UpdateMultiTasksResponse) String() string

type UpdateNotificationRequest

type UpdateNotificationRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 订阅管理ID
	NotificationId int64 `json:"notification_id"`

	Body *UpdateNotificationRequestBody `json:"body,omitempty"`
}

UpdateNotificationRequest Request Object

func (UpdateNotificationRequest) String

func (o UpdateNotificationRequest) String() string

type UpdateNotificationRequestBody

type UpdateNotificationRequestBody struct {

	// 通知发送的主题名,该主题需要在MQS存在
	Topic string `json:"topic"`

	// 启停状态 0-启用 1-停用
	Status UpdateNotificationRequestBodyStatus `json:"status"`
}

func (UpdateNotificationRequestBody) String

type UpdateNotificationRequestBodyStatus

type UpdateNotificationRequestBodyStatus struct {
	// contains filtered or unexported fields
}

func (UpdateNotificationRequestBodyStatus) MarshalJSON

func (c UpdateNotificationRequestBodyStatus) MarshalJSON() ([]byte, error)

func (*UpdateNotificationRequestBodyStatus) UnmarshalJSON

func (c *UpdateNotificationRequestBodyStatus) UnmarshalJSON(b []byte) error

func (UpdateNotificationRequestBodyStatus) Value added in v0.0.90

type UpdateNotificationRequestBodyStatusEnum

type UpdateNotificationRequestBodyStatusEnum struct {
	E_0 UpdateNotificationRequestBodyStatus
	E_1 UpdateNotificationRequestBodyStatus
}

func GetUpdateNotificationRequestBodyStatusEnum

func GetUpdateNotificationRequestBodyStatusEnum() UpdateNotificationRequestBodyStatusEnum

type UpdateNotificationResponse

type UpdateNotificationResponse struct {

	// 订阅ID
	NotificationId *int64 `json:"notification_id,omitempty"`

	// 订阅类型, 0:设备上线通知类型, 1:设备下线通知类型, 2:设备添加通知类型, 3:设备删除通知类型, 4:设备变更通知类型
	Type *UpdateNotificationResponseType `json:"type,omitempty"`

	// 订阅管理状态,0:启用,1:停用
	Status *UpdateNotificationResponseStatus `json:"status,omitempty"`

	// 订阅的topic名称
	Topic *string `json:"topic,omitempty"`

	// 实例ID
	InstanceId *string `json:"instance_id,omitempty"`

	// 应用ID
	AppId          *string `json:"app_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateNotificationResponse Response Object

func (UpdateNotificationResponse) String

type UpdateNotificationResponseStatus

type UpdateNotificationResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateNotificationResponseStatus) MarshalJSON

func (c UpdateNotificationResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateNotificationResponseStatus) UnmarshalJSON

func (c *UpdateNotificationResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateNotificationResponseStatus) Value added in v0.0.90

type UpdateNotificationResponseStatusEnum

type UpdateNotificationResponseStatusEnum struct {
	E_0 UpdateNotificationResponseStatus
	E_1 UpdateNotificationResponseStatus
}

func GetUpdateNotificationResponseStatusEnum

func GetUpdateNotificationResponseStatusEnum() UpdateNotificationResponseStatusEnum

type UpdateNotificationResponseType

type UpdateNotificationResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateNotificationResponseType) MarshalJSON

func (c UpdateNotificationResponseType) MarshalJSON() ([]byte, error)

func (*UpdateNotificationResponseType) UnmarshalJSON

func (c *UpdateNotificationResponseType) UnmarshalJSON(b []byte) error

func (UpdateNotificationResponseType) Value added in v0.0.90

type UpdateProductRequest

type UpdateProductRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`

	Body *UpdateProductRequestBody `json:"body,omitempty"`
}

UpdateProductRequest Request Object

func (UpdateProductRequest) String

func (o UpdateProductRequest) String() string

type UpdateProductRequestBody

type UpdateProductRequestBody struct {

	// 产品名称,创建产品时租户内唯一,长度1-64,仅支持中文,英文字母,数字,下划线和中划线
	Name string `json:"name"`

	// 产品描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 产品供应商ID,支持英文大小写,数字,下划线和中划线,长度2-50
	ManufacturerId string `json:"manufacturer_id"`

	// 厂商名称,支持长度2-64
	ManufacturerName string `json:"manufacturer_name"`

	// 产品型号,支持英文大小写,数字,下划线,中划线和空格(首尾空格会被忽略),长度2-50
	Model string `json:"model"`

	// 产品的设备类型(默认Default Type)
	DeviceType string `json:"device_type"`

	// 模型版本
	Version *string `json:"version,omitempty"`
}

func (UpdateProductRequestBody) String

func (o UpdateProductRequestBody) String() string

type UpdateProductResponse

type UpdateProductResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 产品ID
	Id *int32 `json:"id,omitempty"`

	// 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品)
	ProductSerial *string `json:"product_serial,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线
	Name *string `json:"name,omitempty"`

	// 产品供应商ID
	ManufacturerId *string `json:"manufacturer_id,omitempty"`

	// 厂商名称
	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	// 产品型号
	Model *string `json:"model,omitempty"`

	// 产品类型,0-普通产品(不支持子设备) 1-网关产品
	ProductType *UpdateProductResponseProductType `json:"product_type,omitempty"`

	// 产品描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 产品的协议类型 0-mqtt 2-modbus 4-opcua
	ProtocolType *UpdateProductResponseProtocolType `json:"protocol_type,omitempty"`

	// 产品的设备类型(默认Default)
	DeviceType *string `json:"device_type,omitempty"`

	// 产品版本
	Version *string `json:"version,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// data_format 0-JSON 1-USER_DEFINED
	DataFormat     *int32 `json:"data_format,omitempty"`
	HttpStatusCode int    `json:"-"`
}

UpdateProductResponse Response Object

func (UpdateProductResponse) String

func (o UpdateProductResponse) String() string

type UpdateProductResponseProductType added in v0.0.78

type UpdateProductResponseProductType struct {
	// contains filtered or unexported fields
}

func (UpdateProductResponseProductType) MarshalJSON added in v0.0.78

func (c UpdateProductResponseProductType) MarshalJSON() ([]byte, error)

func (*UpdateProductResponseProductType) UnmarshalJSON added in v0.0.78

func (c *UpdateProductResponseProductType) UnmarshalJSON(b []byte) error

func (UpdateProductResponseProductType) Value added in v0.0.90

type UpdateProductResponseProductTypeEnum added in v0.0.78

type UpdateProductResponseProductTypeEnum struct {
	E_0 UpdateProductResponseProductType
	E_1 UpdateProductResponseProductType
}

func GetUpdateProductResponseProductTypeEnum added in v0.0.78

func GetUpdateProductResponseProductTypeEnum() UpdateProductResponseProductTypeEnum

type UpdateProductResponseProtocolType added in v0.0.78

type UpdateProductResponseProtocolType struct {
	// contains filtered or unexported fields
}

func (UpdateProductResponseProtocolType) MarshalJSON added in v0.0.78

func (c UpdateProductResponseProtocolType) MarshalJSON() ([]byte, error)

func (*UpdateProductResponseProtocolType) UnmarshalJSON added in v0.0.78

func (c *UpdateProductResponseProtocolType) UnmarshalJSON(b []byte) error

func (UpdateProductResponseProtocolType) Value added in v0.0.90

type UpdateProductResponseProtocolTypeEnum added in v0.0.78

type UpdateProductResponseProtocolTypeEnum struct {
	E_0 UpdateProductResponseProtocolType
	E_2 UpdateProductResponseProtocolType
	E_4 UpdateProductResponseProtocolType
}

func GetUpdateProductResponseProtocolTypeEnum added in v0.0.78

func GetUpdateProductResponseProtocolTypeEnum() UpdateProductResponseProtocolTypeEnum

type UpdateProductTemplateRequest

type UpdateProductTemplateRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品模板ID
	ProductTemplateId int32 `json:"product_template_id"`

	Body *UpdateProductTemplateRequestBody `json:"body,omitempty"`
}

UpdateProductTemplateRequest Request Object

func (UpdateProductTemplateRequest) String

type UpdateProductTemplateRequestBody

type UpdateProductTemplateRequestBody struct {

	// 产品模板名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	Name string `json:"name"`

	// 产品模板描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 产品模板状态 0-启用 1-禁用
	Status UpdateProductTemplateRequestBodyStatus `json:"status"`
}

func (UpdateProductTemplateRequestBody) String

type UpdateProductTemplateRequestBodyStatus added in v0.0.78

type UpdateProductTemplateRequestBodyStatus struct {
	// contains filtered or unexported fields
}

func (UpdateProductTemplateRequestBodyStatus) MarshalJSON added in v0.0.78

func (c UpdateProductTemplateRequestBodyStatus) MarshalJSON() ([]byte, error)

func (*UpdateProductTemplateRequestBodyStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateProductTemplateRequestBodyStatus) UnmarshalJSON(b []byte) error

func (UpdateProductTemplateRequestBodyStatus) Value added in v0.0.90

type UpdateProductTemplateRequestBodyStatusEnum added in v0.0.78

type UpdateProductTemplateRequestBodyStatusEnum struct {
	E_0 UpdateProductTemplateRequestBodyStatus
	E_1 UpdateProductTemplateRequestBodyStatus
}

func GetUpdateProductTemplateRequestBodyStatusEnum added in v0.0.78

func GetUpdateProductTemplateRequestBodyStatusEnum() UpdateProductTemplateRequestBodyStatusEnum

type UpdateProductTemplateResponse

type UpdateProductTemplateResponse struct {

	// 产品模板ID
	Id *int32 `json:"id,omitempty"`

	// 产品模板名称
	Name *string `json:"name,omitempty"`

	// 产品模板描述
	Description *string `json:"description,omitempty"`

	// 产品模板状态 0-启用 1-停用
	Status *UpdateProductTemplateResponseStatus `json:"status,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

UpdateProductTemplateResponse Response Object

func (UpdateProductTemplateResponse) String

type UpdateProductTemplateResponseStatus added in v0.0.78

type UpdateProductTemplateResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateProductTemplateResponseStatus) MarshalJSON added in v0.0.78

func (c UpdateProductTemplateResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateProductTemplateResponseStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateProductTemplateResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateProductTemplateResponseStatus) Value added in v0.0.90

type UpdateProductTemplateResponseStatusEnum added in v0.0.78

type UpdateProductTemplateResponseStatusEnum struct {
	E_0 UpdateProductTemplateResponseStatus
	E_1 UpdateProductTemplateResponseStatus
}

func GetUpdateProductTemplateResponseStatusEnum added in v0.0.78

func GetUpdateProductTemplateResponseStatusEnum() UpdateProductTemplateResponseStatusEnum

type UpdateProductTopicRequest

type UpdateProductTopicRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 产品ID
	ProductId int32 `json:"product_id"`

	// 产品主题ID
	TopicId int32 `json:"topic_id"`

	Body *UpdateProductTopicRequestBody `json:"body,omitempty"`
}

UpdateProductTopicRequest Request Object

func (UpdateProductTopicRequest) String

func (o UpdateProductTopicRequest) String() string

type UpdateProductTopicRequestBody

type UpdateProductTopicRequestBody struct {

	// 主题权限 0-发布 1-订阅
	Permission UpdateProductTopicRequestBodyPermission `json:"permission"`

	// 主题名称,Topic类格式必须以“/”进行分层,区分每个类目。其中第一个为用户自定义的版本号;第二个已经规定好,为${deviceId}通配设备ID;第三个为用户自定义的topic类名。Topic类组成即为:/${version}/${deviceId}/${customizePart}。简单来说,Topic类:/v1/${deviceId}/customizePart是具体Topic:/v1/deviceid1/customizePart1和/v1/deviceid2/customizePart2等的集合。
	Name string `json:"name"`

	// 版本号,输入2-50个字符。值以字母或数字开头和结尾。仅允许使用字母,数字,中划线和点号。
	Version string `json:"version"`

	// 描述,长度0-200
	Description *string `json:"description,omitempty"`
}

func (UpdateProductTopicRequestBody) String

type UpdateProductTopicRequestBodyPermission added in v0.0.78

type UpdateProductTopicRequestBodyPermission struct {
	// contains filtered or unexported fields
}

func (UpdateProductTopicRequestBodyPermission) MarshalJSON added in v0.0.78

func (c UpdateProductTopicRequestBodyPermission) MarshalJSON() ([]byte, error)

func (*UpdateProductTopicRequestBodyPermission) UnmarshalJSON added in v0.0.78

func (c *UpdateProductTopicRequestBodyPermission) UnmarshalJSON(b []byte) error

func (UpdateProductTopicRequestBodyPermission) Value added in v0.0.90

type UpdateProductTopicRequestBodyPermissionEnum added in v0.0.78

type UpdateProductTopicRequestBodyPermissionEnum struct {
	E_0 UpdateProductTopicRequestBodyPermission
	E_1 UpdateProductTopicRequestBodyPermission
}

func GetUpdateProductTopicRequestBodyPermissionEnum added in v0.0.78

func GetUpdateProductTopicRequestBodyPermissionEnum() UpdateProductTopicRequestBodyPermissionEnum

type UpdateProductTopicResponse

type UpdateProductTopicResponse struct {

	// 归属产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 产品主题ID
	TopicId *int32 `json:"topic_id,omitempty"`

	// 主题权限 0-发布 1-订阅
	Permission *UpdateProductTopicResponsePermission `json:"permission,omitempty"`

	// 主题名称
	TopicName *string `json:"topic_name,omitempty"`

	// 版本号
	Version *string `json:"version,omitempty"`

	// 描述
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateProductTopicResponse Response Object

func (UpdateProductTopicResponse) String

type UpdateProductTopicResponsePermission added in v0.0.78

type UpdateProductTopicResponsePermission struct {
	// contains filtered or unexported fields
}

func (UpdateProductTopicResponsePermission) MarshalJSON added in v0.0.78

func (c UpdateProductTopicResponsePermission) MarshalJSON() ([]byte, error)

func (*UpdateProductTopicResponsePermission) UnmarshalJSON added in v0.0.78

func (c *UpdateProductTopicResponsePermission) UnmarshalJSON(b []byte) error

func (UpdateProductTopicResponsePermission) Value added in v0.0.90

type UpdateProductTopicResponsePermissionEnum added in v0.0.78

type UpdateProductTopicResponsePermissionEnum struct {
	E_0 UpdateProductTopicResponsePermission
	E_1 UpdateProductTopicResponsePermission
}

func GetUpdateProductTopicResponsePermissionEnum added in v0.0.78

func GetUpdateProductTopicResponsePermissionEnum() UpdateProductTopicResponsePermissionEnum

type UpdateProjectVpcChannelRequest

type UpdateProjectVpcChannelRequest struct {
	Body *ProjectVpcCreate `json:"body,omitempty"`
}

UpdateProjectVpcChannelRequest Request Object

func (UpdateProjectVpcChannelRequest) String

type UpdateProjectVpcChannelResponse

type UpdateProjectVpcChannelResponse struct {

	// 项目VPC通道列表
	ProjectVpcChannels *[]ProjectVpcChannelInfo `json:"project_vpc_channels,omitempty"`
	HttpStatusCode     int                      `json:"-"`
}

UpdateProjectVpcChannelResponse Response Object

func (UpdateProjectVpcChannelResponse) String

type UpdatePropertyRequest

type UpdatePropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 属性/请求属性/响应属性ID
	PropertyId int32 `json:"property_id"`

	Body *UpdatePropertyRequestBody `json:"body,omitempty"`
}

UpdatePropertyRequest Request Object

func (UpdatePropertyRequest) String

func (o UpdatePropertyRequest) String() string

type UpdatePropertyRequestBody

type UpdatePropertyRequestBody struct {

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName string `json:"property_name"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式
	DataType UpdatePropertyRequestBodyDataType `json:"data_type"`

	// 是否必填 0-非必填 1-必填
	Required UpdatePropertyRequestBodyRequired `json:"required"`

	// 最小值,当data_type为integer或number时必填
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时必填
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时必填
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时必填,自动向下取整
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict *interface{} `json:"enum_dict,omitempty"`
}

func (UpdatePropertyRequestBody) String

func (o UpdatePropertyRequestBody) String() string

type UpdatePropertyRequestBodyDataType

type UpdatePropertyRequestBodyDataType struct {
	// contains filtered or unexported fields
}

func (UpdatePropertyRequestBodyDataType) MarshalJSON

func (c UpdatePropertyRequestBodyDataType) MarshalJSON() ([]byte, error)

func (*UpdatePropertyRequestBodyDataType) UnmarshalJSON

func (c *UpdatePropertyRequestBodyDataType) UnmarshalJSON(b []byte) error

func (UpdatePropertyRequestBodyDataType) Value added in v0.0.90

type UpdatePropertyRequestBodyRequired added in v0.0.78

type UpdatePropertyRequestBodyRequired struct {
	// contains filtered or unexported fields
}

func (UpdatePropertyRequestBodyRequired) MarshalJSON added in v0.0.78

func (c UpdatePropertyRequestBodyRequired) MarshalJSON() ([]byte, error)

func (*UpdatePropertyRequestBodyRequired) UnmarshalJSON added in v0.0.78

func (c *UpdatePropertyRequestBodyRequired) UnmarshalJSON(b []byte) error

func (UpdatePropertyRequestBodyRequired) Value added in v0.0.90

type UpdatePropertyRequestBodyRequiredEnum added in v0.0.78

type UpdatePropertyRequestBodyRequiredEnum struct {
	E_0 UpdatePropertyRequestBodyRequired
	E_1 UpdatePropertyRequestBodyRequired
}

func GetUpdatePropertyRequestBodyRequiredEnum added in v0.0.78

func GetUpdatePropertyRequestBodyRequiredEnum() UpdatePropertyRequestBodyRequiredEnum

type UpdatePropertyResponse

type UpdatePropertyResponse struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *UpdatePropertyResponseDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *UpdatePropertyResponseRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict *interface{} `json:"enum_dict,omitempty"`

	// 访问模式(兼容20.0,R属性可读,W属性可写,E属性可执行)
	Method         *string `json:"method,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdatePropertyResponse Response Object

func (UpdatePropertyResponse) String

func (o UpdatePropertyResponse) String() string

type UpdatePropertyResponseDataType

type UpdatePropertyResponseDataType struct {
	// contains filtered or unexported fields
}

func (UpdatePropertyResponseDataType) MarshalJSON

func (c UpdatePropertyResponseDataType) MarshalJSON() ([]byte, error)

func (*UpdatePropertyResponseDataType) UnmarshalJSON

func (c *UpdatePropertyResponseDataType) UnmarshalJSON(b []byte) error

func (UpdatePropertyResponseDataType) Value added in v0.0.90

type UpdatePropertyResponseRequired added in v0.0.78

type UpdatePropertyResponseRequired struct {
	// contains filtered or unexported fields
}

func (UpdatePropertyResponseRequired) MarshalJSON added in v0.0.78

func (c UpdatePropertyResponseRequired) MarshalJSON() ([]byte, error)

func (*UpdatePropertyResponseRequired) UnmarshalJSON added in v0.0.78

func (c *UpdatePropertyResponseRequired) UnmarshalJSON(b []byte) error

func (UpdatePropertyResponseRequired) Value added in v0.0.90

type UpdatePropertyResponseRequiredEnum added in v0.0.78

type UpdatePropertyResponseRequiredEnum struct {
	E_0 UpdatePropertyResponseRequired
	E_1 UpdatePropertyResponseRequired
}

func GetUpdatePropertyResponseRequiredEnum added in v0.0.78

func GetUpdatePropertyResponseRequiredEnum() UpdatePropertyResponseRequiredEnum

type UpdateRequestPropertyRequest

type UpdateRequestPropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

	// 属性/请求属性/响应属性ID
	PropertyId int32 `json:"property_id"`

	Body *UpdatePropertyRequestBody `json:"body,omitempty"`
}

UpdateRequestPropertyRequest Request Object

func (UpdateRequestPropertyRequest) String

type UpdateRequestPropertyResponse

type UpdateRequestPropertyResponse struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *UpdateRequestPropertyResponseDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *UpdateRequestPropertyResponseRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict       *interface{} `json:"enum_dict,omitempty"`
	HttpStatusCode int          `json:"-"`
}

UpdateRequestPropertyResponse Response Object

func (UpdateRequestPropertyResponse) String

type UpdateRequestPropertyResponseDataType

type UpdateRequestPropertyResponseDataType struct {
	// contains filtered or unexported fields
}

func (UpdateRequestPropertyResponseDataType) MarshalJSON

func (c UpdateRequestPropertyResponseDataType) MarshalJSON() ([]byte, error)

func (*UpdateRequestPropertyResponseDataType) UnmarshalJSON

func (c *UpdateRequestPropertyResponseDataType) UnmarshalJSON(b []byte) error

func (UpdateRequestPropertyResponseDataType) Value added in v0.0.90

type UpdateRequestPropertyResponseRequired added in v0.0.78

type UpdateRequestPropertyResponseRequired struct {
	// contains filtered or unexported fields
}

func (UpdateRequestPropertyResponseRequired) MarshalJSON added in v0.0.78

func (c UpdateRequestPropertyResponseRequired) MarshalJSON() ([]byte, error)

func (*UpdateRequestPropertyResponseRequired) UnmarshalJSON added in v0.0.78

func (c *UpdateRequestPropertyResponseRequired) UnmarshalJSON(b []byte) error

func (UpdateRequestPropertyResponseRequired) Value added in v0.0.90

type UpdateRequestPropertyResponseRequiredEnum added in v0.0.78

type UpdateRequestPropertyResponseRequiredEnum struct {
	E_0 UpdateRequestPropertyResponseRequired
	E_1 UpdateRequestPropertyResponseRequired
}

func GetUpdateRequestPropertyResponseRequiredEnum added in v0.0.78

func GetUpdateRequestPropertyResponseRequiredEnum() UpdateRequestPropertyResponseRequiredEnum

type UpdateRequestThrottlingPolicyV2Request

type UpdateRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	Body *ThrottleBaseInfo `json:"body,omitempty"`
}

UpdateRequestThrottlingPolicyV2Request Request Object

func (UpdateRequestThrottlingPolicyV2Request) String

type UpdateRequestThrottlingPolicyV2Response

type UpdateRequestThrottlingPolicyV2Response struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit UpdateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *UpdateRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site)
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateRequestThrottlingPolicyV2Response Response Object

func (UpdateRequestThrottlingPolicyV2Response) String

type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle

type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON

func (*UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON

func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value added in v0.0.90

type UpdateRequestThrottlingPolicyV2ResponseTimeUnit

type UpdateRequestThrottlingPolicyV2ResponseTimeUnit struct {
	// contains filtered or unexported fields
}

func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*UpdateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) Value added in v0.0.90

type UpdateRequestThrottlingPolicyV2ResponseType

type UpdateRequestThrottlingPolicyV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateRequestThrottlingPolicyV2ResponseType) MarshalJSON

func (*UpdateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON

func (UpdateRequestThrottlingPolicyV2ResponseType) Value added in v0.0.90

type UpdateResponsePropertyRequest

type UpdateResponsePropertyRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	// 命令ID
	CommandId int32 `json:"command_id"`

	// 属性/请求属性/响应属性ID
	PropertyId int32 `json:"property_id"`

	Body *UpdatePropertyRequestBody `json:"body,omitempty"`
}

UpdateResponsePropertyRequest Request Object

func (UpdateResponsePropertyRequest) String

type UpdateResponsePropertyResponse

type UpdateResponsePropertyResponse struct {

	// 属性ID
	PropertyId *int32 `json:"property_id,omitempty"`

	// 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50
	PropertyName *string `json:"property_name,omitempty"`

	// 属性描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 属性数据类型,boolean枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;string为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式; array为数组类型
	DataType *UpdateResponsePropertyResponseDataType `json:"data_type,omitempty"`

	// 是否必填 0-非必填 1-必填
	Required *UpdateResponsePropertyResponseRequired `json:"required,omitempty"`

	// 最小值,当data_type为integer或number时有效
	Min *string `json:"min,omitempty"`

	// 最大值,当data_type为integer或number时有效
	Max *string `json:"max,omitempty"`

	// 步长,当data_type为integer或number时有效
	Step *string `json:"step,omitempty"`

	// 字符串最大长度,当data_type为string, datetime, json时有效
	MaxLength *int32 `json:"max_length,omitempty"`

	// 属性单位
	Unit *string `json:"unit,omitempty"`

	// string的枚举值数组,使用逗号分隔
	EnumList *string `json:"enum_list,omitempty"`

	// 当数据类型为boolean枚举值时填写json格式数据,形如\"enum_dict\":{\"0\":\"xxx\",\"1\":\"xxx\"}
	EnumDict       *interface{} `json:"enum_dict,omitempty"`
	HttpStatusCode int          `json:"-"`
}

UpdateResponsePropertyResponse Response Object

func (UpdateResponsePropertyResponse) String

type UpdateResponsePropertyResponseDataType

type UpdateResponsePropertyResponseDataType struct {
	// contains filtered or unexported fields
}

func (UpdateResponsePropertyResponseDataType) MarshalJSON

func (c UpdateResponsePropertyResponseDataType) MarshalJSON() ([]byte, error)

func (*UpdateResponsePropertyResponseDataType) UnmarshalJSON

func (c *UpdateResponsePropertyResponseDataType) UnmarshalJSON(b []byte) error

func (UpdateResponsePropertyResponseDataType) Value added in v0.0.90

type UpdateResponsePropertyResponseRequired added in v0.0.78

type UpdateResponsePropertyResponseRequired struct {
	// contains filtered or unexported fields
}

func (UpdateResponsePropertyResponseRequired) MarshalJSON added in v0.0.78

func (c UpdateResponsePropertyResponseRequired) MarshalJSON() ([]byte, error)

func (*UpdateResponsePropertyResponseRequired) UnmarshalJSON added in v0.0.78

func (c *UpdateResponsePropertyResponseRequired) UnmarshalJSON(b []byte) error

func (UpdateResponsePropertyResponseRequired) Value added in v0.0.90

type UpdateResponsePropertyResponseRequiredEnum added in v0.0.78

type UpdateResponsePropertyResponseRequiredEnum struct {
	E_0 UpdateResponsePropertyResponseRequired
	E_1 UpdateResponsePropertyResponseRequired
}

func GetUpdateResponsePropertyResponseRequiredEnum added in v0.0.78

func GetUpdateResponsePropertyResponseRequiredEnum() UpdateResponsePropertyResponseRequiredEnum

type UpdateRomaAppRequest

type UpdateRomaAppRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *UpdateAppReq `json:"body,omitempty"`
}

UpdateRomaAppRequest Request Object

func (UpdateRomaAppRequest) String

func (o UpdateRomaAppRequest) String() string

type UpdateRomaAppResponse

type UpdateRomaAppResponse struct {

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 应用描述
	Remark *string `json:"remark,omitempty"`

	// 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限
	Roles *[]UpdateRomaAppResponseRoles `json:"roles,omitempty"`

	// 创建UTC时间
	CreateTime *string `json:"create_time,omitempty"`

	// 创建UTC时间
	UpdateTime *string `json:"update_time,omitempty"`

	CreatedUser *ServerAppInfoCreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *ServerAppInfoLastUpdatedUser `json:"last_updated_user,omitempty"`

	// 是否是应用拥有者
	Owner *bool `json:"owner,omitempty"`

	// 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一
	Key *string `json:"key,omitempty"`

	// 是否收藏应用,收藏的应用会在列表里优先显示
	Favorite       *bool `json:"favorite,omitempty"`
	HttpStatusCode int   `json:"-"`
}

UpdateRomaAppResponse Response Object

func (UpdateRomaAppResponse) String

func (o UpdateRomaAppResponse) String() string

type UpdateRomaAppResponseRoles

type UpdateRomaAppResponseRoles struct {
	// contains filtered or unexported fields
}

func (UpdateRomaAppResponseRoles) MarshalJSON

func (c UpdateRomaAppResponseRoles) MarshalJSON() ([]byte, error)

func (*UpdateRomaAppResponseRoles) UnmarshalJSON

func (c *UpdateRomaAppResponseRoles) UnmarshalJSON(b []byte) error

func (UpdateRomaAppResponseRoles) Value added in v0.0.90

type UpdateRuleRequest

type UpdateRuleRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 规则ID
	RuleId string `json:"rule_id"`

	Body *UpdateRuleRequestBody `json:"body,omitempty"`
}

UpdateRuleRequest Request Object

func (UpdateRuleRequest) String

func (o UpdateRuleRequest) String() string

type UpdateRuleRequestBody

type UpdateRuleRequestBody struct {

	// 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64
	Name *string `json:"name,omitempty"`

	// 描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 规则状态 0-启用 1-停用,不填写时默认为0-启用
	Status *UpdateRuleRequestBodyStatus `json:"status,omitempty"`

	// 数据解析状态,0-启用 1-停用,不填写时默认为1-禁用
	DataParsingStatus *UpdateRuleRequestBodyDataParsingStatus `json:"data_parsing_status,omitempty"`

	// SQL查询字段
	SqlField *string `json:"sql_field,omitempty"`

	// SQL查询条件
	SqlWhere *string `json:"sql_where,omitempty"`
}

func (UpdateRuleRequestBody) String

func (o UpdateRuleRequestBody) String() string

type UpdateRuleRequestBodyDataParsingStatus added in v0.0.78

type UpdateRuleRequestBodyDataParsingStatus struct {
	// contains filtered or unexported fields
}

func (UpdateRuleRequestBodyDataParsingStatus) MarshalJSON added in v0.0.78

func (c UpdateRuleRequestBodyDataParsingStatus) MarshalJSON() ([]byte, error)

func (*UpdateRuleRequestBodyDataParsingStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateRuleRequestBodyDataParsingStatus) UnmarshalJSON(b []byte) error

func (UpdateRuleRequestBodyDataParsingStatus) Value added in v0.0.90

type UpdateRuleRequestBodyDataParsingStatusEnum added in v0.0.78

type UpdateRuleRequestBodyDataParsingStatusEnum struct {
	E_0 UpdateRuleRequestBodyDataParsingStatus
	E_1 UpdateRuleRequestBodyDataParsingStatus
}

func GetUpdateRuleRequestBodyDataParsingStatusEnum added in v0.0.78

func GetUpdateRuleRequestBodyDataParsingStatusEnum() UpdateRuleRequestBodyDataParsingStatusEnum

type UpdateRuleRequestBodyStatus added in v0.0.78

type UpdateRuleRequestBodyStatus struct {
	// contains filtered or unexported fields
}

func (UpdateRuleRequestBodyStatus) MarshalJSON added in v0.0.78

func (c UpdateRuleRequestBodyStatus) MarshalJSON() ([]byte, error)

func (*UpdateRuleRequestBodyStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateRuleRequestBodyStatus) UnmarshalJSON(b []byte) error

func (UpdateRuleRequestBodyStatus) Value added in v0.0.90

type UpdateRuleRequestBodyStatusEnum added in v0.0.78

type UpdateRuleRequestBodyStatusEnum struct {
	E_0 UpdateRuleRequestBodyStatus
	E_1 UpdateRuleRequestBodyStatus
}

func GetUpdateRuleRequestBodyStatusEnum added in v0.0.78

func GetUpdateRuleRequestBodyStatusEnum() UpdateRuleRequestBodyStatusEnum

type UpdateRuleResponse

type UpdateRuleResponse struct {

	// 权限
	Permissions *[]string `json:"permissions,omitempty"`

	// 规则ID
	RuleId *int32 `json:"rule_id,omitempty"`

	// 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64
	Name *string `json:"name,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 规则状态 0-启用 1-停用
	Status *UpdateRuleResponseStatus `json:"status,omitempty"`

	// 数据解析状态,ENABLE时data_parsing必填 0-启用 1-停用
	DataParsingStatus *UpdateRuleResponseDataParsingStatus `json:"data_parsing_status,omitempty"`

	// SQL查询字段
	SqlField *string `json:"sql_field,omitempty"`

	// SQL查询条件
	SqlWhere *string `json:"sql_where,omitempty"`

	// 完整的规则表达式
	RuleExpress *string `json:"rule_express,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间,timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间,timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

UpdateRuleResponse Response Object

func (UpdateRuleResponse) String

func (o UpdateRuleResponse) String() string

type UpdateRuleResponseDataParsingStatus added in v0.0.78

type UpdateRuleResponseDataParsingStatus struct {
	// contains filtered or unexported fields
}

func (UpdateRuleResponseDataParsingStatus) MarshalJSON added in v0.0.78

func (c UpdateRuleResponseDataParsingStatus) MarshalJSON() ([]byte, error)

func (*UpdateRuleResponseDataParsingStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateRuleResponseDataParsingStatus) UnmarshalJSON(b []byte) error

func (UpdateRuleResponseDataParsingStatus) Value added in v0.0.90

type UpdateRuleResponseDataParsingStatusEnum added in v0.0.78

type UpdateRuleResponseDataParsingStatusEnum struct {
	E_0 UpdateRuleResponseDataParsingStatus
	E_1 UpdateRuleResponseDataParsingStatus
}

func GetUpdateRuleResponseDataParsingStatusEnum added in v0.0.78

func GetUpdateRuleResponseDataParsingStatusEnum() UpdateRuleResponseDataParsingStatusEnum

type UpdateRuleResponseStatus added in v0.0.78

type UpdateRuleResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateRuleResponseStatus) MarshalJSON added in v0.0.78

func (c UpdateRuleResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateRuleResponseStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateRuleResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateRuleResponseStatus) Value added in v0.0.90

func (c UpdateRuleResponseStatus) Value() int32

type UpdateRuleResponseStatusEnum added in v0.0.78

type UpdateRuleResponseStatusEnum struct {
	E_0 UpdateRuleResponseStatus
	E_1 UpdateRuleResponseStatus
}

func GetUpdateRuleResponseStatusEnum added in v0.0.78

func GetUpdateRuleResponseStatusEnum() UpdateRuleResponseStatusEnum

type UpdateServiceRequest

type UpdateServiceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 服务ID
	ServiceId string `json:"service_id"`

	Body *UpdateServiceRequestBody `json:"body,omitempty"`
}

UpdateServiceRequest Request Object

func (UpdateServiceRequest) String

func (o UpdateServiceRequest) String() string

type UpdateServiceRequestBody

type UpdateServiceRequestBody struct {

	// 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	ServiceName string `json:"service_name"`

	// 服务描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 服务状态 0-启用 1-停用
	Status UpdateServiceRequestBodyStatus `json:"status"`
}

func (UpdateServiceRequestBody) String

func (o UpdateServiceRequestBody) String() string

type UpdateServiceRequestBodyStatus added in v0.0.78

type UpdateServiceRequestBodyStatus struct {
	// contains filtered or unexported fields
}

func (UpdateServiceRequestBodyStatus) MarshalJSON added in v0.0.78

func (c UpdateServiceRequestBodyStatus) MarshalJSON() ([]byte, error)

func (*UpdateServiceRequestBodyStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateServiceRequestBodyStatus) UnmarshalJSON(b []byte) error

func (UpdateServiceRequestBodyStatus) Value added in v0.0.90

type UpdateServiceRequestBodyStatusEnum added in v0.0.78

type UpdateServiceRequestBodyStatusEnum struct {
	E_0 UpdateServiceRequestBodyStatus
	E_1 UpdateServiceRequestBodyStatus
}

func GetUpdateServiceRequestBodyStatusEnum added in v0.0.78

func GetUpdateServiceRequestBodyStatusEnum() UpdateServiceRequestBodyStatusEnum

type UpdateServiceResponse

type UpdateServiceResponse struct {

	// 服务归属的产品模板ID
	ProductTemplateId *int32 `json:"product_template_id,omitempty"`

	// 服务归属的产品ID
	ProductId *int32 `json:"product_id,omitempty"`

	// 服务ID
	ServiceId *int32 `json:"service_id,omitempty"`

	// 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
	ServiceName *string `json:"service_name,omitempty"`

	// 服务描述,长度0-200
	Description *string `json:"description,omitempty"`

	// 服务状态 0-启用 1-停用
	Status *UpdateServiceResponseStatus `json:"status,omitempty"`

	CreatedUser *CreatedUser `json:"created_user,omitempty"`

	LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"`

	// 创建时间止,格式timestamp(ms),使用UTC时区
	CreatedDatetime *int64 `json:"created_datetime,omitempty"`

	// 最后修改时间止,格式timestamp(ms),使用UTC时区
	LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

UpdateServiceResponse Response Object

func (UpdateServiceResponse) String

func (o UpdateServiceResponse) String() string

type UpdateServiceResponseStatus added in v0.0.78

type UpdateServiceResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateServiceResponseStatus) MarshalJSON added in v0.0.78

func (c UpdateServiceResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateServiceResponseStatus) UnmarshalJSON added in v0.0.78

func (c *UpdateServiceResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateServiceResponseStatus) Value added in v0.0.90

type UpdateServiceResponseStatusEnum added in v0.0.78

type UpdateServiceResponseStatusEnum struct {
	E_0 UpdateServiceResponseStatus
	E_1 UpdateServiceResponseStatus
}

func GetUpdateServiceResponseStatusEnum added in v0.0.78

func GetUpdateServiceResponseStatusEnum() UpdateServiceResponseStatusEnum

type UpdateSignatureKeyV2Request

type UpdateSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 签名密钥编号
	SignId string `json:"sign_id"`

	Body *BaseSignature `json:"body,omitempty"`
}

UpdateSignatureKeyV2Request Request Object

func (UpdateSignatureKeyV2Request) String

type UpdateSignatureKeyV2Response

type UpdateSignatureKeyV2Response struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *UpdateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。
	SignAlgorithm *UpdateSignatureKeyV2ResponseSignAlgorithm `json:"sign_algorithm,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 签名密钥的编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateSignatureKeyV2Response Response Object

func (UpdateSignatureKeyV2Response) String

type UpdateSignatureKeyV2ResponseSignAlgorithm

type UpdateSignatureKeyV2ResponseSignAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON

func (*UpdateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON

func (UpdateSignatureKeyV2ResponseSignAlgorithm) Value added in v0.0.90

type UpdateSignatureKeyV2ResponseSignAlgorithmEnum

type UpdateSignatureKeyV2ResponseSignAlgorithmEnum struct {
	AES_128_CFB UpdateSignatureKeyV2ResponseSignAlgorithm
	AES_256_CFB UpdateSignatureKeyV2ResponseSignAlgorithm
}

func GetUpdateSignatureKeyV2ResponseSignAlgorithmEnum

func GetUpdateSignatureKeyV2ResponseSignAlgorithmEnum() UpdateSignatureKeyV2ResponseSignAlgorithmEnum

type UpdateSignatureKeyV2ResponseSignType

type UpdateSignatureKeyV2ResponseSignType struct {
	// contains filtered or unexported fields
}

func (UpdateSignatureKeyV2ResponseSignType) MarshalJSON

func (c UpdateSignatureKeyV2ResponseSignType) MarshalJSON() ([]byte, error)

func (*UpdateSignatureKeyV2ResponseSignType) UnmarshalJSON

func (c *UpdateSignatureKeyV2ResponseSignType) UnmarshalJSON(b []byte) error

func (UpdateSignatureKeyV2ResponseSignType) Value added in v0.0.90

type UpdateSpecialThrottlingConfigurationV2Request

type UpdateSpecialThrottlingConfigurationV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	// 特殊配置的编号
	StrategyId string `json:"strategy_id"`

	Body *ThrottleSpecialUpdate `json:"body,omitempty"`
}

UpdateSpecialThrottlingConfigurationV2Request Request Object

func (UpdateSpecialThrottlingConfigurationV2Request) String

type UpdateSpecialThrottlingConfigurationV2Response

type UpdateSpecialThrottlingConfigurationV2Response struct {

	// 特殊配置的编号
	Id *string `json:"id,omitempty"`

	// 特殊对象在流控时间内能够访问API的最大次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 设置时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 作用的APP名称
	AppName *string `json:"app_name,omitempty"`

	// 作用的APP编号
	AppId *string `json:"app_id,omitempty"`

	// 特殊对象的身份标识
	ObjectId *string `json:"object_id,omitempty"`

	// 特殊对象类型:APP、USER
	ObjectType *string `json:"object_type,omitempty"`

	// [作用的APP或租户的名称](tag:hws;hws_hk;hcs;fcs;g42;)[作用的APP或租户ID](tag:Site)
	ObjectName *string `json:"object_name,omitempty"`

	// 流控策略编号
	ThrottleId     *string `json:"throttle_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateSpecialThrottlingConfigurationV2Response Response Object

func (UpdateSpecialThrottlingConfigurationV2Response) String

type UpdateTaskRequest

type UpdateTaskRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 任务ID
	TaskId string `json:"task_id"`

	Body *CreateCommonTaskRequestBody `json:"body,omitempty"`
}

UpdateTaskRequest Request Object

func (UpdateTaskRequest) String

func (o UpdateTaskRequest) String() string

type UpdateTaskResponse

type UpdateTaskResponse struct {
	Task *TaskBasicRsp `json:"task,omitempty"`

	// 参数类型为string,参数结构参照附录中“数据集成参数说明>RawFormDataResponse”章节
	TaskDetail     *string `json:"task_detail,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateTaskResponse Response Object

func (UpdateTaskResponse) String

func (o UpdateTaskResponse) String() string

type UpdateTopicAccessPolicyPoliciesObject

type UpdateTopicAccessPolicyPoliciesObject struct {

	// 集成应用key。
	AppId string `json:"app_id"`

	// 应用名称。
	AppName string `json:"app_name"`

	// 权限类型。   - all:发布+订阅   - pub:发布   - sub:订阅
	AccessPolicy UpdateTopicAccessPolicyPoliciesObjectAccessPolicy `json:"access_policy"`

	// 是否为创建topic时所选择的应用。  默认为false。
	Owner *bool `json:"owner,omitempty"`

	// 权限类型对应的标签。  当权限类型是all时,发布和订阅的标签用符号“&”隔开。  当有多个标签时,标签用符号“||”隔开。
	Tag *string `json:"tag,omitempty"`
}

func (UpdateTopicAccessPolicyPoliciesObject) String

type UpdateTopicAccessPolicyPoliciesObjectAccessPolicy

type UpdateTopicAccessPolicyPoliciesObjectAccessPolicy struct {
	// contains filtered or unexported fields
}

func (UpdateTopicAccessPolicyPoliciesObjectAccessPolicy) MarshalJSON

func (*UpdateTopicAccessPolicyPoliciesObjectAccessPolicy) UnmarshalJSON

func (UpdateTopicAccessPolicyPoliciesObjectAccessPolicy) Value added in v0.0.90

type UpdateTopicAccessPolicyReq

type UpdateTopicAccessPolicyReq struct {

	// 策略列表。
	Topics []UpdateTopicAccessPolicyTopicsObject `json:"topics"`
}

func (UpdateTopicAccessPolicyReq) String

type UpdateTopicAccessPolicyRequest

type UpdateTopicAccessPolicyRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	Body *UpdateTopicAccessPolicyReq `json:"body,omitempty"`
}

UpdateTopicAccessPolicyRequest Request Object

func (UpdateTopicAccessPolicyRequest) String

type UpdateTopicAccessPolicyResponse

type UpdateTopicAccessPolicyResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateTopicAccessPolicyResponse Response Object

func (UpdateTopicAccessPolicyResponse) String

type UpdateTopicAccessPolicyTopicsObject

type UpdateTopicAccessPolicyTopicsObject struct {

	// topic名称。
	Name string `json:"name"`

	// 权限列表。
	Policies []UpdateTopicAccessPolicyPoliciesObject `json:"policies"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 敏感字段。
	SensitiveWord *string `json:"sensitive_word,omitempty"`
}

func (UpdateTopicAccessPolicyTopicsObject) String

type UpdateTopicObject

type UpdateTopicObject struct {

	// topic名称。
	Name string `json:"name"`

	// 消息老化时间。默认值为72。取值范围1~720,单位小时。
	RetentionTime *int32 `json:"retention_time,omitempty"`

	// 是否开启同步复制。
	SyncReplication *bool `json:"sync_replication,omitempty"`

	// 是否使用同步落盘。
	SyncMessageFlush *bool `json:"sync_message_flush,omitempty"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 敏感字段。
	SensitiveWord *string `json:"sensitive_word,omitempty"`
}

func (UpdateTopicObject) String

func (o UpdateTopicObject) String() string

type UpdateVpcChannelV2Request

type UpdateVpcChannelV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	Body *VpcCreate `json:"body,omitempty"`
}

UpdateVpcChannelV2Request Request Object

func (UpdateVpcChannelV2Request) String

func (o UpdateVpcChannelV2Request) String() string

type UpdateVpcChannelV2Response

type UpdateVpcChannelV2Response struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy UpdateVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs
	MemberType UpdateVpcChannelV2ResponseMemberType `json:"member_type"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的状态。 - 1:正常 - 2:异常
	Status *UpdateVpcChannelV2ResponseStatus `json:"status,omitempty"`

	// 后端云服务器组列表。  [暂不支持](tag:Site)
	MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"`

	MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"`

	// vpc通道类型。 - BUILTIN:BUILTIN通道类型 - MICROSERVICE:微服务类型
	Type           *UpdateVpcChannelV2ResponseType `json:"type,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

UpdateVpcChannelV2Response Response Object

func (UpdateVpcChannelV2Response) String

type UpdateVpcChannelV2ResponseBalanceStrategy

type UpdateVpcChannelV2ResponseBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseBalanceStrategy) MarshalJSON

func (*UpdateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON

func (UpdateVpcChannelV2ResponseBalanceStrategy) Value added in v0.0.90

type UpdateVpcChannelV2ResponseMemberType

type UpdateVpcChannelV2ResponseMemberType struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseMemberType) MarshalJSON

func (c UpdateVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)

func (*UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON

func (c *UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error

func (UpdateVpcChannelV2ResponseMemberType) Value added in v0.0.90

type UpdateVpcChannelV2ResponseMemberTypeEnum

type UpdateVpcChannelV2ResponseMemberTypeEnum struct {
	IP  UpdateVpcChannelV2ResponseMemberType
	ECS UpdateVpcChannelV2ResponseMemberType
}

func GetUpdateVpcChannelV2ResponseMemberTypeEnum

func GetUpdateVpcChannelV2ResponseMemberTypeEnum() UpdateVpcChannelV2ResponseMemberTypeEnum

type UpdateVpcChannelV2ResponseStatus

type UpdateVpcChannelV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseStatus) MarshalJSON

func (c UpdateVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateVpcChannelV2ResponseStatus) UnmarshalJSON

func (c *UpdateVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateVpcChannelV2ResponseStatus) Value added in v0.0.90

type UpdateVpcChannelV2ResponseStatusEnum

type UpdateVpcChannelV2ResponseStatusEnum struct {
	E_1 UpdateVpcChannelV2ResponseStatus
	E_2 UpdateVpcChannelV2ResponseStatus
}

func GetUpdateVpcChannelV2ResponseStatusEnum

func GetUpdateVpcChannelV2ResponseStatusEnum() UpdateVpcChannelV2ResponseStatusEnum

type UpdateVpcChannelV2ResponseType added in v0.1.13

type UpdateVpcChannelV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseType) MarshalJSON added in v0.1.13

func (c UpdateVpcChannelV2ResponseType) MarshalJSON() ([]byte, error)

func (*UpdateVpcChannelV2ResponseType) UnmarshalJSON added in v0.1.13

func (c *UpdateVpcChannelV2ResponseType) UnmarshalJSON(b []byte) error

func (UpdateVpcChannelV2ResponseType) Value added in v0.1.13

type UpdateVpcChannelV2ResponseTypeEnum added in v0.1.13

type UpdateVpcChannelV2ResponseTypeEnum struct {
	BUILTIN      UpdateVpcChannelV2ResponseType
	MICROSERVICE UpdateVpcChannelV2ResponseType
}

func GetUpdateVpcChannelV2ResponseTypeEnum added in v0.1.13

func GetUpdateVpcChannelV2ResponseTypeEnum() UpdateVpcChannelV2ResponseTypeEnum

type UploadProductRequest

type UploadProductRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *UploadProductRequestBody `json:"body,omitempty" type:"multipart"`
}

UploadProductRequest Request Object

func (UploadProductRequest) String

func (o UploadProductRequest) String() string

type UploadProductRequestBody

type UploadProductRequestBody struct {

	// 上传产品文件(.csv格式)
	File *def.FilePart `json:"file,omitempty"`
}

func (UploadProductRequestBody) String

func (o UploadProductRequestBody) String() string

func (*UploadProductRequestBody) UnmarshalJSON

func (o *UploadProductRequestBody) UnmarshalJSON(b []byte) error

type UploadProductResponse

type UploadProductResponse struct {

	// 导入成功的产品数
	SuccNum *int32 `json:"succ_num,omitempty"`

	// 导入失败的产品数
	FailNum *int32 `json:"fail_num,omitempty"`

	// 导入失败的产品名称列表
	FailObjectsIds *[]string `json:"fail_objects_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UploadProductResponse Response Object

func (UploadProductResponse) String

func (o UploadProductResponse) String() string

type UrlDomain

type UrlDomain struct {

	// 域名编号
	Id *string `json:"id,omitempty"`

	// 访问域名
	Domain *string `json:"domain,omitempty"`

	// 域名cname状态: - 1:未解析 - 2:解析中 - 3:解析成功 - 4:解析失败
	CnameStatus *int32 `json:"cname_status,omitempty"`

	// SSL证书编号
	SslId *string `json:"ssl_id,omitempty"`

	// SSL证书名称
	SslName *string `json:"ssl_name,omitempty"`

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion *UrlDomainMinSslVersion `json:"min_ssl_version,omitempty"`
}

func (UrlDomain) String

func (o UrlDomain) String() string

type UrlDomainBase

type UrlDomainBase struct {

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion *UrlDomainBaseMinSslVersion `json:"min_ssl_version,omitempty"`
}

func (UrlDomainBase) String

func (o UrlDomainBase) String() string

type UrlDomainBaseInfo

type UrlDomainBaseInfo struct {

	// 自定义域名
	UrlDomain string `json:"url_domain"`

	// 自定义域名的编号
	Id string `json:"id"`

	// CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败
	Status UrlDomainBaseInfoStatus `json:"status"`

	// 支持的最小SSL版本
	MinSslVersion string `json:"min_ssl_version"`
}

func (UrlDomainBaseInfo) String

func (o UrlDomainBaseInfo) String() string

type UrlDomainBaseInfoStatus

type UrlDomainBaseInfoStatus struct {
	// contains filtered or unexported fields
}

func (UrlDomainBaseInfoStatus) MarshalJSON

func (c UrlDomainBaseInfoStatus) MarshalJSON() ([]byte, error)

func (*UrlDomainBaseInfoStatus) UnmarshalJSON

func (c *UrlDomainBaseInfoStatus) UnmarshalJSON(b []byte) error

func (UrlDomainBaseInfoStatus) Value added in v0.0.90

func (c UrlDomainBaseInfoStatus) Value() int32

type UrlDomainBaseMinSslVersion

type UrlDomainBaseMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainBaseMinSslVersion) MarshalJSON

func (c UrlDomainBaseMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainBaseMinSslVersion) UnmarshalJSON

func (c *UrlDomainBaseMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainBaseMinSslVersion) Value added in v0.0.90

type UrlDomainBaseMinSslVersionEnum

type UrlDomainBaseMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainBaseMinSslVersion
	TL_SV1_2 UrlDomainBaseMinSslVersion
}

func GetUrlDomainBaseMinSslVersionEnum

func GetUrlDomainBaseMinSslVersionEnum() UrlDomainBaseMinSslVersionEnum

type UrlDomainCreate

type UrlDomainCreate struct {

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion *UrlDomainCreateMinSslVersion `json:"min_ssl_version,omitempty"`

	// 自定义域名。长度为0-255位的字符串,需要符合域名规范。
	UrlDomain *string `json:"url_domain,omitempty"`
}

func (UrlDomainCreate) String

func (o UrlDomainCreate) String() string

type UrlDomainCreateMinSslVersion

type UrlDomainCreateMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainCreateMinSslVersion) MarshalJSON

func (c UrlDomainCreateMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainCreateMinSslVersion) UnmarshalJSON

func (c *UrlDomainCreateMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainCreateMinSslVersion) Value added in v0.0.90

type UrlDomainCreateMinSslVersionEnum

type UrlDomainCreateMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainCreateMinSslVersion
	TL_SV1_2 UrlDomainCreateMinSslVersion
}

func GetUrlDomainCreateMinSslVersionEnum

func GetUrlDomainCreateMinSslVersionEnum() UrlDomainCreateMinSslVersionEnum

type UrlDomainMinSslVersion

type UrlDomainMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainMinSslVersion) MarshalJSON

func (c UrlDomainMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainMinSslVersion) UnmarshalJSON

func (c *UrlDomainMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainMinSslVersion) Value added in v0.0.90

func (c UrlDomainMinSslVersion) Value() string

type UrlDomainMinSslVersionEnum

type UrlDomainMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainMinSslVersion
	TL_SV1_2 UrlDomainMinSslVersion
}

func GetUrlDomainMinSslVersionEnum

func GetUrlDomainMinSslVersionEnum() UrlDomainMinSslVersionEnum

type UrlDomainModify

type UrlDomainModify struct {

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion *UrlDomainModifyMinSslVersion `json:"min_ssl_version,omitempty"`
}

func (UrlDomainModify) String

func (o UrlDomainModify) String() string

type UrlDomainModifyMinSslVersion

type UrlDomainModifyMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainModifyMinSslVersion) MarshalJSON

func (c UrlDomainModifyMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainModifyMinSslVersion) UnmarshalJSON

func (c *UrlDomainModifyMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainModifyMinSslVersion) Value added in v0.0.90

type UrlDomainModifyMinSslVersionEnum

type UrlDomainModifyMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainModifyMinSslVersion
	TL_SV1_2 UrlDomainModifyMinSslVersion
}

func GetUrlDomainModifyMinSslVersionEnum

func GetUrlDomainModifyMinSslVersionEnum() UrlDomainModifyMinSslVersionEnum

type User added in v0.0.75

type User struct {

	// 用户ID
	Id *string `json:"id,omitempty"`

	// 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限
	Roles *[]UserRoles `json:"roles,omitempty"`
}

func (User) String added in v0.0.75

func (o User) String() string

type UserRoles added in v0.0.75

type UserRoles struct {
	// contains filtered or unexported fields
}

func (UserRoles) MarshalJSON added in v0.0.75

func (c UserRoles) MarshalJSON() ([]byte, error)

func (*UserRoles) UnmarshalJSON added in v0.0.75

func (c *UserRoles) UnmarshalJSON(b []byte) error

func (UserRoles) Value added in v0.0.90

func (c UserRoles) Value() string

type UserRolesEnum added in v0.0.75

type UserRolesEnum struct {
	READ   UserRoles
	ACCESS UserRoles
	DELETE UserRoles
	MODIFY UserRoles
	ADMIN  UserRoles
}

func GetUserRolesEnum added in v0.0.75

func GetUserRolesEnum() UserRolesEnum

type ValidateDictionaryRequest

type ValidateDictionaryRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 待校验是否重复的字典名称,精确匹配
	Name *string `json:"name,omitempty"`

	// 待校验是否重复的字典编码,精确匹配
	Code *string `json:"code,omitempty"`
}

ValidateDictionaryRequest Request Object

func (ValidateDictionaryRequest) String

func (o ValidateDictionaryRequest) String() string

type ValidateDictionaryResponse

type ValidateDictionaryResponse struct {

	// 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一
	Code           *string `json:"code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ValidateDictionaryResponse Response Object

func (ValidateDictionaryResponse) String

type ValidateRomaAppRequest

type ValidateRomaAppRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用名称,不支持模糊匹配
	Name *string `json:"name,omitempty"`

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 应用key
	Key *string `json:"key,omitempty"`
}

ValidateRomaAppRequest Request Object

func (ValidateRomaAppRequest) String

func (o ValidateRomaAppRequest) String() string

type ValidateRomaAppResponse

type ValidateRomaAppResponse struct {

	// 应用ID
	Id *string `json:"id,omitempty"`

	// 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一
	Name *string `json:"name,omitempty"`

	// 应用描述
	Remark         *string `json:"remark,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ValidateRomaAppResponse Response Object

func (ValidateRomaAppResponse) String

func (o ValidateRomaAppResponse) String() string

type VpcBase

type VpcBase struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy VpcBaseBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs
	MemberType VpcBaseMemberType `json:"member_type"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`
}

func (VpcBase) String

func (o VpcBase) String() string

type VpcBaseBalanceStrategy

type VpcBaseBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (VpcBaseBalanceStrategy) MarshalJSON

func (c VpcBaseBalanceStrategy) MarshalJSON() ([]byte, error)

func (*VpcBaseBalanceStrategy) UnmarshalJSON

func (c *VpcBaseBalanceStrategy) UnmarshalJSON(b []byte) error

func (VpcBaseBalanceStrategy) Value added in v0.0.90

func (c VpcBaseBalanceStrategy) Value() int32

type VpcBaseBalanceStrategyEnum

type VpcBaseBalanceStrategyEnum struct {
	E_1 VpcBaseBalanceStrategy
	E_2 VpcBaseBalanceStrategy
	E_3 VpcBaseBalanceStrategy
	E_4 VpcBaseBalanceStrategy
}

func GetVpcBaseBalanceStrategyEnum

func GetVpcBaseBalanceStrategyEnum() VpcBaseBalanceStrategyEnum

type VpcBaseInfo

type VpcBaseInfo struct {

	// 云服务器ID
	EcsId *string `json:"ecs_id,omitempty"`

	// 云服务器名称
	EcsName *string `json:"ecs_name,omitempty"`

	// 是否使用级联方式  暂不支持
	CascadeFlag *bool `json:"cascade_flag,omitempty"`
}

func (VpcBaseInfo) String

func (o VpcBaseInfo) String() string

type VpcBaseMemberType

type VpcBaseMemberType struct {
	// contains filtered or unexported fields
}

func (VpcBaseMemberType) MarshalJSON

func (c VpcBaseMemberType) MarshalJSON() ([]byte, error)

func (*VpcBaseMemberType) UnmarshalJSON

func (c *VpcBaseMemberType) UnmarshalJSON(b []byte) error

func (VpcBaseMemberType) Value added in v0.0.90

func (c VpcBaseMemberType) Value() string

type VpcBaseMemberTypeEnum

type VpcBaseMemberTypeEnum struct {
	IP  VpcBaseMemberType
	ECS VpcBaseMemberType
}

func GetVpcBaseMemberTypeEnum

func GetVpcBaseMemberTypeEnum() VpcBaseMemberTypeEnum

type VpcChannelInfo

type VpcChannelInfo struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy VpcChannelInfoBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs
	MemberType VpcChannelInfoMemberType `json:"member_type"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的状态。 - 1:正常 - 2:异常
	Status *VpcChannelInfoStatus `json:"status,omitempty"`

	// 后端云服务器组列表。  [暂不支持](tag:Site)
	MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"`

	MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"`

	// vpc通道类型。 - BUILTIN:BUILTIN通道类型 - MICROSERVICE:微服务类型
	Type *VpcChannelInfoType `json:"type,omitempty"`
}

func (VpcChannelInfo) String

func (o VpcChannelInfo) String() string

type VpcChannelInfoBalanceStrategy

type VpcChannelInfoBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoBalanceStrategy) MarshalJSON

func (c VpcChannelInfoBalanceStrategy) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoBalanceStrategy) UnmarshalJSON

func (c *VpcChannelInfoBalanceStrategy) UnmarshalJSON(b []byte) error

func (VpcChannelInfoBalanceStrategy) Value added in v0.0.90

type VpcChannelInfoMemberType

type VpcChannelInfoMemberType struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoMemberType) MarshalJSON

func (c VpcChannelInfoMemberType) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoMemberType) UnmarshalJSON

func (c *VpcChannelInfoMemberType) UnmarshalJSON(b []byte) error

func (VpcChannelInfoMemberType) Value added in v0.0.90

func (c VpcChannelInfoMemberType) Value() string

type VpcChannelInfoMemberTypeEnum

type VpcChannelInfoMemberTypeEnum struct {
	IP  VpcChannelInfoMemberType
	ECS VpcChannelInfoMemberType
}

func GetVpcChannelInfoMemberTypeEnum

func GetVpcChannelInfoMemberTypeEnum() VpcChannelInfoMemberTypeEnum

type VpcChannelInfoStatus

type VpcChannelInfoStatus struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoStatus) MarshalJSON

func (c VpcChannelInfoStatus) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoStatus) UnmarshalJSON

func (c *VpcChannelInfoStatus) UnmarshalJSON(b []byte) error

func (VpcChannelInfoStatus) Value added in v0.0.90

func (c VpcChannelInfoStatus) Value() int32

type VpcChannelInfoStatusEnum

type VpcChannelInfoStatusEnum struct {
	E_1 VpcChannelInfoStatus
	E_2 VpcChannelInfoStatus
}

func GetVpcChannelInfoStatusEnum

func GetVpcChannelInfoStatusEnum() VpcChannelInfoStatusEnum

type VpcChannelInfoType added in v0.1.13

type VpcChannelInfoType struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoType) MarshalJSON added in v0.1.13

func (c VpcChannelInfoType) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoType) UnmarshalJSON added in v0.1.13

func (c *VpcChannelInfoType) UnmarshalJSON(b []byte) error

func (VpcChannelInfoType) Value added in v0.1.13

func (c VpcChannelInfoType) Value() string

type VpcChannelInfoTypeEnum added in v0.1.13

type VpcChannelInfoTypeEnum struct {
	BUILTIN      VpcChannelInfoType
	MICROSERVICE VpcChannelInfoType
}

func GetVpcChannelInfoTypeEnum added in v0.1.13

func GetVpcChannelInfoTypeEnum() VpcChannelInfoTypeEnum

type VpcCreate

type VpcCreate struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy VpcCreateBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs
	MemberType VpcCreateMemberType `json:"member_type"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组列表
	MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"`

	// VPC后端实例列表。
	Members *[]MemberInfo `json:"members,omitempty"`

	VpcHealthConfig *VpcHealthConfig `json:"vpc_health_config,omitempty"`
}

func (VpcCreate) String

func (o VpcCreate) String() string

type VpcCreateBalanceStrategy

type VpcCreateBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (VpcCreateBalanceStrategy) MarshalJSON

func (c VpcCreateBalanceStrategy) MarshalJSON() ([]byte, error)

func (*VpcCreateBalanceStrategy) UnmarshalJSON

func (c *VpcCreateBalanceStrategy) UnmarshalJSON(b []byte) error

func (VpcCreateBalanceStrategy) Value added in v0.0.90

func (c VpcCreateBalanceStrategy) Value() int32

type VpcCreateMemberType

type VpcCreateMemberType struct {
	// contains filtered or unexported fields
}

func (VpcCreateMemberType) MarshalJSON

func (c VpcCreateMemberType) MarshalJSON() ([]byte, error)

func (*VpcCreateMemberType) UnmarshalJSON

func (c *VpcCreateMemberType) UnmarshalJSON(b []byte) error

func (VpcCreateMemberType) Value added in v0.0.90

func (c VpcCreateMemberType) Value() string

type VpcCreateMemberTypeEnum

type VpcCreateMemberTypeEnum struct {
	IP  VpcCreateMemberType
	ECS VpcCreateMemberType
}

func GetVpcCreateMemberTypeEnum

func GetVpcCreateMemberTypeEnum() VpcCreateMemberTypeEnum

type VpcHealthConfig

type VpcHealthConfig struct {

	// 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS
	Protocol VpcHealthConfigProtocol `json:"protocol"`

	// 健康检查时的目标路径。protocol = http或https时必选
	Path *string `json:"path,omitempty"`

	// 健康检查时的请求方法
	Method *VpcHealthConfigMethod `json:"method,omitempty"`

	// 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。  若此端口存在非0值,则使用此端口进行健康检查。
	Port *int32 `json:"port,omitempty"`

	// 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。
	ThresholdNormal int32 `json:"threshold_normal"`

	// 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。
	ThresholdAbnormal int32 `json:"threshold_abnormal"`

	// 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。
	TimeInterval int32 `json:"time_interval"`

	// 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选
	HttpCode *string `json:"http_code,omitempty"`

	// 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 健康检查状态   - 1:可用   - 2:不可用
	Status *VpcHealthConfigStatus `json:"status,omitempty"`

	// 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。
	Timeout *int32 `json:"timeout,omitempty"`
}

VpcHealthConfig 健康检查详情。

func (VpcHealthConfig) String

func (o VpcHealthConfig) String() string

type VpcHealthConfigBase

type VpcHealthConfigBase struct {

	// 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS
	Protocol VpcHealthConfigBaseProtocol `json:"protocol"`

	// 健康检查时的目标路径。protocol = http或https时必选
	Path *string `json:"path,omitempty"`

	// 健康检查时的请求方法
	Method *VpcHealthConfigBaseMethod `json:"method,omitempty"`

	// 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。  若此端口存在非0值,则使用此端口进行健康检查。
	Port *int32 `json:"port,omitempty"`

	// 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。
	ThresholdNormal int32 `json:"threshold_normal"`

	// 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。
	ThresholdAbnormal int32 `json:"threshold_abnormal"`

	// 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。
	TimeInterval int32 `json:"time_interval"`

	// 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选
	HttpCode *string `json:"http_code,omitempty"`

	// 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 健康检查状态   - 1:可用   - 2:不可用
	Status *VpcHealthConfigBaseStatus `json:"status,omitempty"`
}

func (VpcHealthConfigBase) String

func (o VpcHealthConfigBase) String() string

type VpcHealthConfigBaseMethod

type VpcHealthConfigBaseMethod struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigBaseMethod) MarshalJSON

func (c VpcHealthConfigBaseMethod) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigBaseMethod) UnmarshalJSON

func (c *VpcHealthConfigBaseMethod) UnmarshalJSON(b []byte) error

func (VpcHealthConfigBaseMethod) Value added in v0.0.90

type VpcHealthConfigBaseMethodEnum

type VpcHealthConfigBaseMethodEnum struct {
	GET  VpcHealthConfigBaseMethod
	HEAD VpcHealthConfigBaseMethod
}

func GetVpcHealthConfigBaseMethodEnum

func GetVpcHealthConfigBaseMethodEnum() VpcHealthConfigBaseMethodEnum

type VpcHealthConfigBaseProtocol

type VpcHealthConfigBaseProtocol struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigBaseProtocol) MarshalJSON

func (c VpcHealthConfigBaseProtocol) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigBaseProtocol) UnmarshalJSON

func (c *VpcHealthConfigBaseProtocol) UnmarshalJSON(b []byte) error

func (VpcHealthConfigBaseProtocol) Value added in v0.0.90

type VpcHealthConfigBaseProtocolEnum

type VpcHealthConfigBaseProtocolEnum struct {
	TCP   VpcHealthConfigBaseProtocol
	HTTP  VpcHealthConfigBaseProtocol
	HTTPS VpcHealthConfigBaseProtocol
}

func GetVpcHealthConfigBaseProtocolEnum

func GetVpcHealthConfigBaseProtocolEnum() VpcHealthConfigBaseProtocolEnum

type VpcHealthConfigBaseStatus

type VpcHealthConfigBaseStatus struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigBaseStatus) MarshalJSON

func (c VpcHealthConfigBaseStatus) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigBaseStatus) UnmarshalJSON

func (c *VpcHealthConfigBaseStatus) UnmarshalJSON(b []byte) error

func (VpcHealthConfigBaseStatus) Value added in v0.0.90

func (c VpcHealthConfigBaseStatus) Value() int32

type VpcHealthConfigBaseStatusEnum

type VpcHealthConfigBaseStatusEnum struct {
	E_1 VpcHealthConfigBaseStatus
	E_2 VpcHealthConfigBaseStatus
}

func GetVpcHealthConfigBaseStatusEnum

func GetVpcHealthConfigBaseStatusEnum() VpcHealthConfigBaseStatusEnum

type VpcHealthConfigInfo

type VpcHealthConfigInfo struct {

	// 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS
	Protocol VpcHealthConfigInfoProtocol `json:"protocol"`

	// 健康检查时的目标路径。protocol = http或https时必选
	Path *string `json:"path,omitempty"`

	// 健康检查时的请求方法
	Method *VpcHealthConfigInfoMethod `json:"method,omitempty"`

	// 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。  若此端口存在非0值,则使用此端口进行健康检查。
	Port *int32 `json:"port,omitempty"`

	// 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。
	ThresholdNormal int32 `json:"threshold_normal"`

	// 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。
	ThresholdAbnormal int32 `json:"threshold_abnormal"`

	// 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。
	TimeInterval int32 `json:"time_interval"`

	// 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选
	HttpCode *string `json:"http_code,omitempty"`

	// 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 健康检查状态   - 1:可用   - 2:不可用
	Status *VpcHealthConfigInfoStatus `json:"status,omitempty"`

	// 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。
	Timeout *int32 `json:"timeout,omitempty"`

	// VPC通道的编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// 健康检查的编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

VpcHealthConfigInfo 健康检查详情。

func (VpcHealthConfigInfo) String

func (o VpcHealthConfigInfo) String() string

type VpcHealthConfigInfoMethod

type VpcHealthConfigInfoMethod struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigInfoMethod) MarshalJSON

func (c VpcHealthConfigInfoMethod) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigInfoMethod) UnmarshalJSON

func (c *VpcHealthConfigInfoMethod) UnmarshalJSON(b []byte) error

func (VpcHealthConfigInfoMethod) Value added in v0.0.90

type VpcHealthConfigInfoMethodEnum

type VpcHealthConfigInfoMethodEnum struct {
	GET  VpcHealthConfigInfoMethod
	HEAD VpcHealthConfigInfoMethod
}

func GetVpcHealthConfigInfoMethodEnum

func GetVpcHealthConfigInfoMethodEnum() VpcHealthConfigInfoMethodEnum

type VpcHealthConfigInfoProtocol

type VpcHealthConfigInfoProtocol struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigInfoProtocol) MarshalJSON

func (c VpcHealthConfigInfoProtocol) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigInfoProtocol) UnmarshalJSON

func (c *VpcHealthConfigInfoProtocol) UnmarshalJSON(b []byte) error

func (VpcHealthConfigInfoProtocol) Value added in v0.0.90

type VpcHealthConfigInfoProtocolEnum

type VpcHealthConfigInfoProtocolEnum struct {
	TCP   VpcHealthConfigInfoProtocol
	HTTP  VpcHealthConfigInfoProtocol
	HTTPS VpcHealthConfigInfoProtocol
}

func GetVpcHealthConfigInfoProtocolEnum

func GetVpcHealthConfigInfoProtocolEnum() VpcHealthConfigInfoProtocolEnum

type VpcHealthConfigInfoStatus

type VpcHealthConfigInfoStatus struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigInfoStatus) MarshalJSON

func (c VpcHealthConfigInfoStatus) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigInfoStatus) UnmarshalJSON

func (c *VpcHealthConfigInfoStatus) UnmarshalJSON(b []byte) error

func (VpcHealthConfigInfoStatus) Value added in v0.0.90

func (c VpcHealthConfigInfoStatus) Value() int32

type VpcHealthConfigInfoStatusEnum

type VpcHealthConfigInfoStatusEnum struct {
	E_1 VpcHealthConfigInfoStatus
	E_2 VpcHealthConfigInfoStatus
}

func GetVpcHealthConfigInfoStatusEnum

func GetVpcHealthConfigInfoStatusEnum() VpcHealthConfigInfoStatusEnum

type VpcHealthConfigMethod

type VpcHealthConfigMethod struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigMethod) MarshalJSON

func (c VpcHealthConfigMethod) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigMethod) UnmarshalJSON

func (c *VpcHealthConfigMethod) UnmarshalJSON(b []byte) error

func (VpcHealthConfigMethod) Value added in v0.0.90

func (c VpcHealthConfigMethod) Value() string

type VpcHealthConfigMethodEnum

type VpcHealthConfigMethodEnum struct {
	GET  VpcHealthConfigMethod
	HEAD VpcHealthConfigMethod
}

func GetVpcHealthConfigMethodEnum

func GetVpcHealthConfigMethodEnum() VpcHealthConfigMethodEnum

type VpcHealthConfigProtocol

type VpcHealthConfigProtocol struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigProtocol) MarshalJSON

func (c VpcHealthConfigProtocol) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigProtocol) UnmarshalJSON

func (c *VpcHealthConfigProtocol) UnmarshalJSON(b []byte) error

func (VpcHealthConfigProtocol) Value added in v0.0.90

func (c VpcHealthConfigProtocol) Value() string

type VpcHealthConfigProtocolEnum

type VpcHealthConfigProtocolEnum struct {
	TCP   VpcHealthConfigProtocol
	HTTP  VpcHealthConfigProtocol
	HTTPS VpcHealthConfigProtocol
}

func GetVpcHealthConfigProtocolEnum

func GetVpcHealthConfigProtocolEnum() VpcHealthConfigProtocolEnum

type VpcHealthConfigStatus

type VpcHealthConfigStatus struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigStatus) MarshalJSON

func (c VpcHealthConfigStatus) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigStatus) UnmarshalJSON

func (c *VpcHealthConfigStatus) UnmarshalJSON(b []byte) error

func (VpcHealthConfigStatus) Value added in v0.0.90

func (c VpcHealthConfigStatus) Value() int32

type VpcHealthConfigStatusEnum

type VpcHealthConfigStatusEnum struct {
	E_1 VpcHealthConfigStatus
	E_2 VpcHealthConfigStatus
}

func GetVpcHealthConfigStatusEnum

func GetVpcHealthConfigStatusEnum() VpcHealthConfigStatusEnum

type VpcInfo

type VpcInfo struct {

	// 云服务器ID
	EcsId *string `json:"ecs_id,omitempty"`

	// 云服务器名称
	EcsName *string `json:"ecs_name,omitempty"`

	// 是否使用级联方式  暂不支持
	CascadeFlag *bool `json:"cascade_flag,omitempty"`

	// 代理主机
	VpcChannelProxyHost *string `json:"vpc_channel_proxy_host,omitempty"`

	// VPC通道编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// VPC通道端口
	VpcChannelPort *int32 `json:"vpc_channel_port,omitempty"`
}

VpcInfo VPC通道详情。如果vpc_channel_status = 1,则这个object类型为必填信息

func (VpcInfo) String

func (o VpcInfo) String() string

type VpcMemberCreate

type VpcMemberCreate struct {

	// 后端实例列表
	Members []MemberInfo `json:"members"`
}

func (VpcMemberCreate) String

func (o VpcMemberCreate) String() string

type VpcMemberInfo

type VpcMemberInfo struct {

	// 后端服务器地址  后端实例类型为ip时必填
	Host *string `json:"host,omitempty"`

	// 权重值。  允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。
	Weight *int32 `json:"weight,omitempty"`

	// 是否备用节点。  开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。  实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。
	IsBackup *bool `json:"is_backup,omitempty"`

	// 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器状态   - 1:可用   - 2:不可用
	Status *VpcMemberInfoStatus `json:"status,omitempty"`

	// 后端服务器端口
	Port *int32 `json:"port,omitempty"`

	// [后端云服务器的编号。](tag:hws;hws_hk;hcs;fcs;g42;)  [后端实例类型为ecs时必填,支持英文,数字,“-”,“_”,1 ~ 64字符。](tag:hws;hws_hk;hcs;fcs;g42;) [不支持后端云服务器类型](tag:Site)
	EcsId *string `json:"ecs_id,omitempty"`

	// [后端云服务器的名称。]  [后端实例类型为ecs时必填,支持汉字,英文,数字,“-”,“_”,“.”,1 ~ 64字符。](tag:hws;hws_hk;hcs;fcs;g42;) [不支持后端云服务器类型](tag:Site)
	EcsName *string `json:"ecs_name,omitempty"`

	// 后端实例对象的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// 后端实例增加到VPC通道的时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`
}

func (VpcMemberInfo) String

func (o VpcMemberInfo) String() string

type VpcMemberInfoStatus

type VpcMemberInfoStatus struct {
	// contains filtered or unexported fields
}

func (VpcMemberInfoStatus) MarshalJSON

func (c VpcMemberInfoStatus) MarshalJSON() ([]byte, error)

func (*VpcMemberInfoStatus) UnmarshalJSON

func (c *VpcMemberInfoStatus) UnmarshalJSON(b []byte) error

func (VpcMemberInfoStatus) Value added in v0.0.90

func (c VpcMemberInfoStatus) Value() int32

type VpcMemberInfoStatusEnum

type VpcMemberInfoStatusEnum struct {
	E_1 VpcMemberInfoStatus
	E_2 VpcMemberInfoStatus
}

func GetVpcMemberInfoStatusEnum

func GetVpcMemberInfoStatusEnum() VpcMemberInfoStatusEnum

type VpcMemberModify

type VpcMemberModify struct {

	// 后端实例列表
	Members *[]MemberInfo `json:"members,omitempty"`

	// 需要修改的后端服务器组  不传时使用members中的定义对VPC通道后端进行全量覆盖修改。  传入时,只对members中对应后端服务器组的后端实例进行处理,其他后端服务器组的入参会被忽略。例如:member_group_name=primary时,只处理members中后端服务器组为105c6902457144a4820dff8b1ad63331的后端实例。
	MemberGroupName *string `json:"member_group_name,omitempty"`
}

func (VpcMemberModify) String

func (o VpcMemberModify) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL