model

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiBackendVpcReq

type ApiBackendVpcReq struct {
	VpcChannelProxyHost *string `json:"vpc_channel_proxy_host,omitempty"`

	VpcChannelId string `json:"vpc_channel_id"`
}

VPC通道详情。vpc_channel_status = 1,则这个object类型为必填信息

func (ApiBackendVpcReq) String

func (o ApiBackendVpcReq) String() string

type ApiBaseInfo

type ApiBaseInfo struct {
	Name string `json:"name"`

	Type int32 `json:"type"`

	Version *string `json:"version,omitempty"`

	ReqProtocol ApiBaseInfoReqProtocol `json:"req_protocol"`

	ReqMethod ApiBaseInfoReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	AuthType ApiBaseInfoAuthType `json:"auth_type"`

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

	Cors *bool `json:"cors,omitempty"`

	MatchMode *ApiBaseInfoMatchMode `json:"match_mode,omitempty"`

	BackendType ApiBaseInfoBackendType `json:"backend_type"`

	Remark *string `json:"remark,omitempty"`

	GroupId string `json:"group_id"`

	BodyRemark *string `json:"body_remark,omitempty"`

	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	ResponseId *string `json:"response_id,omitempty"`

	RomaAppId *string `json:"roma_app_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Tag *string `json:"tag,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

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

type ApiBaseInfoBackendTypeEnum

type ApiBaseInfoBackendTypeEnum struct {
	HTTP     ApiBaseInfoBackendType
	FUNCTION ApiBaseInfoBackendType
	MOCK     ApiBaseInfoBackendType
}

func GetApiBaseInfoBackendTypeEnum

func GetApiBaseInfoBackendTypeEnum() ApiBaseInfoBackendTypeEnum

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

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

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

type ApiBaseInfoReqProtocolEnum

type ApiBaseInfoReqProtocolEnum struct {
	HTTP  ApiBaseInfoReqProtocol
	HTTPS ApiBaseInfoReqProtocol
	BOTH  ApiBaseInfoReqProtocol
}

func GetApiBaseInfoReqProtocolEnum

func GetApiBaseInfoReqProtocolEnum() ApiBaseInfoReqProtocolEnum

type ApiCommon

type ApiCommon struct {
	Name string `json:"name"`

	Type int32 `json:"type"`

	Version *string `json:"version,omitempty"`

	ReqProtocol ApiCommonReqProtocol `json:"req_protocol"`

	ReqMethod ApiCommonReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	AuthType ApiCommonAuthType `json:"auth_type"`

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

	Cors *bool `json:"cors,omitempty"`

	MatchMode *ApiCommonMatchMode `json:"match_mode,omitempty"`

	BackendType ApiCommonBackendType `json:"backend_type"`

	Remark *string `json:"remark,omitempty"`

	GroupId string `json:"group_id"`

	BodyRemark *string `json:"body_remark,omitempty"`

	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	ResponseId *string `json:"response_id,omitempty"`

	RomaAppId *string `json:"roma_app_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Tag *string `json:"tag,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int32 `json:"status,omitempty"`

	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	GroupVersion *string `json:"group_version,omitempty"`

	RunEnvId *string `json:"run_env_id,omitempty"`

	RunEnvName *string `json:"run_env_name,omitempty"`

	PublishId *string `json:"publish_id,omitempty"`

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

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

	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	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

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

type ApiCommonBackendTypeEnum

type ApiCommonBackendTypeEnum struct {
	HTTP     ApiCommonBackendType
	FUNCTION ApiCommonBackendType
	MOCK     ApiCommonBackendType
}

func GetApiCommonBackendTypeEnum

func GetApiCommonBackendTypeEnum() ApiCommonBackendTypeEnum

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

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

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

type ApiCommonReqProtocolEnum

type ApiCommonReqProtocolEnum struct {
	HTTP  ApiCommonReqProtocol
	HTTPS ApiCommonReqProtocol
	BOTH  ApiCommonReqProtocol
}

func GetApiCommonReqProtocolEnum

func GetApiCommonReqProtocolEnum() ApiCommonReqProtocolEnum

type ApiConditionBase

type ApiConditionBase struct {
	ReqParamName *string `json:"req_param_name,omitempty"`

	ConditionType *ApiConditionBaseConditionType `json:"condition_type,omitempty"`

	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

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

type ApiConditionBaseConditionTypeEnum

type ApiConditionBaseConditionTypeEnum struct {
	EXACT   ApiConditionBaseConditionType
	ENUM    ApiConditionBaseConditionType
	PATTERN ApiConditionBaseConditionType
}

func GetApiConditionBaseConditionTypeEnum

func GetApiConditionBaseConditionTypeEnum() ApiConditionBaseConditionTypeEnum

type ApiCreate

type ApiCreate struct {
	Name string `json:"name"`

	Type int32 `json:"type"`

	Version *string `json:"version,omitempty"`

	ReqProtocol ApiCreateReqProtocol `json:"req_protocol"`

	ReqMethod ApiCreateReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	AuthType ApiCreateAuthType `json:"auth_type"`

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

	Cors *bool `json:"cors,omitempty"`

	MatchMode *ApiCreateMatchMode `json:"match_mode,omitempty"`

	BackendType ApiCreateBackendType `json:"backend_type"`

	Remark *string `json:"remark,omitempty"`

	GroupId string `json:"group_id"`

	BodyRemark *string `json:"body_remark,omitempty"`

	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	ResponseId *string `json:"response_id,omitempty"`

	RomaAppId *string `json:"roma_app_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Tag *string `json:"tag,omitempty"`

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

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

	ReqParams *[]ReqParamBase `json:"req_params,omitempty"`

	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"`

	PolicyFunctions *[]ApiPolicyFunctionCreate `json:"policy_functions,omitempty"`

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

	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

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

type ApiCreateBackendTypeEnum

type ApiCreateBackendTypeEnum struct {
	HTTP     ApiCreateBackendType
	FUNCTION ApiCreateBackendType
	MOCK     ApiCreateBackendType
}

func GetApiCreateBackendTypeEnum

func GetApiCreateBackendTypeEnum() ApiCreateBackendTypeEnum

type ApiCreateBase

type ApiCreateBase struct {
	Name string `json:"name"`

	Type int32 `json:"type"`

	Version *string `json:"version,omitempty"`

	ReqProtocol ApiCreateBaseReqProtocol `json:"req_protocol"`

	ReqMethod ApiCreateBaseReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	AuthType ApiCreateBaseAuthType `json:"auth_type"`

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

	Cors *bool `json:"cors,omitempty"`

	MatchMode *ApiCreateBaseMatchMode `json:"match_mode,omitempty"`

	BackendType ApiCreateBaseBackendType `json:"backend_type"`

	Remark *string `json:"remark,omitempty"`

	GroupId string `json:"group_id"`

	BodyRemark *string `json:"body_remark,omitempty"`

	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	ResponseId *string `json:"response_id,omitempty"`

	RomaAppId *string `json:"roma_app_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Tag *string `json:"tag,omitempty"`

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

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

	ReqParams *[]ReqParamBase `json:"req_params,omitempty"`

	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"`

	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

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

type ApiCreateBaseBackendTypeEnum

type ApiCreateBaseBackendTypeEnum struct {
	HTTP     ApiCreateBaseBackendType
	FUNCTION ApiCreateBaseBackendType
	MOCK     ApiCreateBaseBackendType
}

func GetApiCreateBaseBackendTypeEnum

func GetApiCreateBaseBackendTypeEnum() ApiCreateBaseBackendTypeEnum

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

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

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

type ApiCreateBaseReqProtocolEnum

type ApiCreateBaseReqProtocolEnum struct {
	HTTP  ApiCreateBaseReqProtocol
	HTTPS ApiCreateBaseReqProtocol
	BOTH  ApiCreateBaseReqProtocol
}

func GetApiCreateBaseReqProtocolEnum

func GetApiCreateBaseReqProtocolEnum() ApiCreateBaseReqProtocolEnum

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

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

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

type ApiCreateReqProtocolEnum

type ApiCreateReqProtocolEnum struct {
	HTTP  ApiCreateReqProtocol
	HTTPS ApiCreateReqProtocol
	BOTH  ApiCreateReqProtocol
}

func GetApiCreateReqProtocolEnum

func GetApiCreateReqProtocolEnum() ApiCreateReqProtocolEnum

type ApiFunc

type ApiFunc struct {
	FunctionUrn string `json:"function_urn"`

	Remark *string `json:"remark,omitempty"`

	InvocationType ApiFuncInvocationType `json:"invocation_type"`

	Version *string `json:"version,omitempty"`

	Timeout int32 `json:"timeout"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Id *string `json:"id,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

函数工作流后端详情

func (ApiFunc) String

func (o ApiFunc) String() string

type ApiFuncCreate

type ApiFuncCreate struct {
	FunctionUrn string `json:"function_urn"`

	Remark *string `json:"remark,omitempty"`

	InvocationType ApiFuncCreateInvocationType `json:"invocation_type"`

	Version *string `json:"version,omitempty"`

	Timeout int32 `json:"timeout"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

函数后端详情

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

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

type ApiFuncInvocationTypeEnum

type ApiFuncInvocationTypeEnum struct {
	ASYNC ApiFuncInvocationType
	SYNC  ApiFuncInvocationType
}

func GetApiFuncInvocationTypeEnum

func GetApiFuncInvocationTypeEnum() ApiFuncInvocationTypeEnum

type ApiGroupDetailResp

type ApiGroupDetailResp struct {
	UrlDomains *[]UrlDomainsResp `json:"url_domains,omitempty"`

	CallLimits *int32 `json:"call_limits,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time"`

	Name string `json:"name"`

	TimeUnit *string `json:"time_unit,omitempty"`

	OnSellStatus int32 `json:"on_sell_status"`

	Remark *string `json:"remark,omitempty"`

	SlDomain string `json:"sl_domain"`

	SlDomains *[]string `json:"sl_domains,omitempty"`

	Id string `json:"id"`

	TimeInterval *int32 `json:"time_interval,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time"`

	Status int32 `json:"status"`

	IsDefault *int32 `json:"is_default,omitempty"`
}

func (ApiGroupDetailResp) String

func (o ApiGroupDetailResp) String() string

type ApiGroupReq

type ApiGroupReq struct {
	Name string `json:"name"`

	Remark *string `json:"remark,omitempty"`
}

func (ApiGroupReq) String

func (o ApiGroupReq) String() string

type ApiInfoPerPage

type ApiInfoPerPage struct {
	Name string `json:"name"`

	Type int32 `json:"type"`

	Version *string `json:"version,omitempty"`

	ReqProtocol ApiInfoPerPageReqProtocol `json:"req_protocol"`

	ReqMethod ApiInfoPerPageReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	AuthType ApiInfoPerPageAuthType `json:"auth_type"`

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

	Cors *bool `json:"cors,omitempty"`

	MatchMode *ApiInfoPerPageMatchMode `json:"match_mode,omitempty"`

	BackendType ApiInfoPerPageBackendType `json:"backend_type"`

	Remark *string `json:"remark,omitempty"`

	GroupId string `json:"group_id"`

	BodyRemark *string `json:"body_remark,omitempty"`

	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	ResponseId *string `json:"response_id,omitempty"`

	RomaAppId *string `json:"roma_app_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Tag *string `json:"tag,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int32 `json:"status,omitempty"`

	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	GroupVersion *string `json:"group_version,omitempty"`

	RunEnvId *string `json:"run_env_id,omitempty"`

	RunEnvName *string `json:"run_env_name,omitempty"`

	PublishId *string `json:"publish_id,omitempty"`

	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

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

type ApiInfoPerPageBackendTypeEnum

type ApiInfoPerPageBackendTypeEnum struct {
	HTTP     ApiInfoPerPageBackendType
	FUNCTION ApiInfoPerPageBackendType
	MOCK     ApiInfoPerPageBackendType
}

func GetApiInfoPerPageBackendTypeEnum

func GetApiInfoPerPageBackendTypeEnum() ApiInfoPerPageBackendTypeEnum

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

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

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

type ApiInfoPerPageReqProtocolEnum

type ApiInfoPerPageReqProtocolEnum struct {
	HTTP  ApiInfoPerPageReqProtocol
	HTTPS ApiInfoPerPageReqProtocol
	BOTH  ApiInfoPerPageReqProtocol
}

func GetApiInfoPerPageReqProtocolEnum

func GetApiInfoPerPageReqProtocolEnum() ApiInfoPerPageReqProtocolEnum

type ApiMock

type ApiMock struct {
	Remark *string `json:"remark,omitempty"`

	ResultContent *string `json:"result_content,omitempty"`

	Version *string `json:"version,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Id *string `json:"id,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

mock后端详情

func (ApiMock) String

func (o ApiMock) String() string

type ApiMockCreate

type ApiMockCreate struct {
	Remark *string `json:"remark,omitempty"`

	ResultContent *string `json:"result_content,omitempty"`

	Version *string `json:"version,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

mock后端详情

func (ApiMockCreate) String

func (o ApiMockCreate) String() string

type ApiPolicyFunctionBase

type ApiPolicyFunctionBase struct {
	FunctionUrn string `json:"function_urn"`

	InvocationType ApiPolicyFunctionBaseInvocationType `json:"invocation_type"`

	Version *string `json:"version,omitempty"`

	Timeout *int32 `json:"timeout,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

type ApiPolicyFunctionBaseInvocationTypeEnum

type ApiPolicyFunctionBaseInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionBaseInvocationType
	SYNC  ApiPolicyFunctionBaseInvocationType
}

func GetApiPolicyFunctionBaseInvocationTypeEnum

func GetApiPolicyFunctionBaseInvocationTypeEnum() ApiPolicyFunctionBaseInvocationTypeEnum

type ApiPolicyFunctionCreate

type ApiPolicyFunctionCreate struct {
	FunctionUrn string `json:"function_urn"`

	InvocationType ApiPolicyFunctionCreateInvocationType `json:"invocation_type"`

	Version *string `json:"version,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	EffectMode ApiPolicyFunctionCreateEffectMode `json:"effect_mode"`

	Name string `json:"name"`

	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	Conditions []ApiConditionBase `json:"conditions"`

	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

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

type ApiPolicyFunctionCreateInvocationTypeEnum

type ApiPolicyFunctionCreateInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionCreateInvocationType
	SYNC  ApiPolicyFunctionCreateInvocationType
}

func GetApiPolicyFunctionCreateInvocationTypeEnum

func GetApiPolicyFunctionCreateInvocationTypeEnum() ApiPolicyFunctionCreateInvocationTypeEnum

type ApiPolicyFunctionResp

type ApiPolicyFunctionResp struct {
	FunctionUrn string `json:"function_urn"`

	InvocationType ApiPolicyFunctionRespInvocationType `json:"invocation_type"`

	Version *string `json:"version,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	Id *string `json:"id,omitempty"`

	EffectMode ApiPolicyFunctionRespEffectMode `json:"effect_mode"`

	Name string `json:"name"`

	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	Conditions []CoditionResp `json:"conditions"`

	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

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

type ApiPolicyFunctionRespInvocationTypeEnum

type ApiPolicyFunctionRespInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionRespInvocationType
	SYNC  ApiPolicyFunctionRespInvocationType
}

func GetApiPolicyFunctionRespInvocationTypeEnum

func GetApiPolicyFunctionRespInvocationTypeEnum() ApiPolicyFunctionRespInvocationTypeEnum

type ApiPolicyHttpBase

type ApiPolicyHttpBase struct {
	UrlDomain *string `json:"url_domain,omitempty"`

	ReqProtocol ApiPolicyHttpBaseReqProtocol `json:"req_protocol"`

	ReqMethod ApiPolicyHttpBaseReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	Timeout *int32 `json:"timeout,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

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

type ApiPolicyHttpBaseReqProtocolEnum

type ApiPolicyHttpBaseReqProtocolEnum struct {
	HTTP  ApiPolicyHttpBaseReqProtocol
	HTTPS ApiPolicyHttpBaseReqProtocol
}

func GetApiPolicyHttpBaseReqProtocolEnum

func GetApiPolicyHttpBaseReqProtocolEnum() ApiPolicyHttpBaseReqProtocolEnum

type ApiPolicyHttpCreate

type ApiPolicyHttpCreate struct {
	UrlDomain *string `json:"url_domain,omitempty"`

	ReqProtocol ApiPolicyHttpCreateReqProtocol `json:"req_protocol"`

	ReqMethod ApiPolicyHttpCreateReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	Timeout *int32 `json:"timeout,omitempty"`

	EffectMode ApiPolicyHttpCreateEffectMode `json:"effect_mode"`

	Name string `json:"name"`

	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	Conditions []ApiConditionBase `json:"conditions"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	VpcChannelInfo *ApiBackendVpcReq `json:"vpc_channel_info,omitempty"`

	VpcChannelStatus *int32 `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

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

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

type ApiPolicyHttpCreateReqProtocolEnum

type ApiPolicyHttpCreateReqProtocolEnum struct {
	HTTP  ApiPolicyHttpCreateReqProtocol
	HTTPS ApiPolicyHttpCreateReqProtocol
}

func GetApiPolicyHttpCreateReqProtocolEnum

func GetApiPolicyHttpCreateReqProtocolEnum() ApiPolicyHttpCreateReqProtocolEnum

type ApiPolicyHttpResp

type ApiPolicyHttpResp struct {
	Id *string `json:"id,omitempty"`

	EffectMode ApiPolicyHttpRespEffectMode `json:"effect_mode"`

	Name string `json:"name"`

	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	Conditions []CoditionResp `json:"conditions"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	UrlDomain *string `json:"url_domain,omitempty"`

	ReqProtocol ApiPolicyHttpRespReqProtocol `json:"req_protocol"`

	ReqMethod ApiPolicyHttpRespReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	Timeout *int32 `json:"timeout,omitempty"`

	VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"`

	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

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

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

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"`
}

func (ApiPolicyMockBase) String

func (o ApiPolicyMockBase) String() string

type ApiPolicyMockCreate

type ApiPolicyMockCreate struct {
	ResultContent *string `json:"result_content,omitempty"`

	EffectMode ApiPolicyMockCreateEffectMode `json:"effect_mode"`

	Name string `json:"name"`

	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	Conditions []ApiConditionBase `json:"conditions"`

	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

type ApiPolicyMockCreateEffectModeEnum

type ApiPolicyMockCreateEffectModeEnum struct {
	ALL ApiPolicyMockCreateEffectMode
	ANY ApiPolicyMockCreateEffectMode
}

func GetApiPolicyMockCreateEffectModeEnum

func GetApiPolicyMockCreateEffectModeEnum() ApiPolicyMockCreateEffectModeEnum

type ApiPolicyMockResp

type ApiPolicyMockResp struct {
	Id *string `json:"id,omitempty"`

	EffectMode ApiPolicyMockRespEffectMode `json:"effect_mode"`

	Name string `json:"name"`

	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	Conditions []CoditionResp `json:"conditions"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	ResultContent *string `json:"result_content,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

type ApiPolicyMockRespEffectModeEnum

type ApiPolicyMockRespEffectModeEnum struct {
	ALL ApiPolicyMockRespEffectMode
	ANY ApiPolicyMockRespEffectMode
}

func GetApiPolicyMockRespEffectModeEnum

func GetApiPolicyMockRespEffectModeEnum() ApiPolicyMockRespEffectModeEnum

type ApiPolicyReqBase

type ApiPolicyReqBase struct {
	EffectMode ApiPolicyReqBaseEffectMode `json:"effect_mode"`

	Name string `json:"name"`

	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	Conditions []ApiConditionBase `json:"conditions"`

	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

type ApiPolicyReqBaseEffectModeEnum

type ApiPolicyReqBaseEffectModeEnum struct {
	ALL ApiPolicyReqBaseEffectMode
	ANY ApiPolicyReqBaseEffectMode
}

func GetApiPolicyReqBaseEffectModeEnum

func GetApiPolicyReqBaseEffectModeEnum() ApiPolicyReqBaseEffectModeEnum

type ApiPolicyRespBase

type ApiPolicyRespBase struct {
	Id *string `json:"id,omitempty"`

	EffectMode ApiPolicyRespBaseEffectMode `json:"effect_mode"`

	Name string `json:"name"`

	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	Conditions []CoditionResp `json:"conditions"`

	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

type ApiPolicyRespBaseEffectModeEnum

type ApiPolicyRespBaseEffectModeEnum struct {
	ALL ApiPolicyRespBaseEffectMode
	ANY ApiPolicyRespBaseEffectMode
}

func GetApiPolicyRespBaseEffectModeEnum

func GetApiPolicyRespBaseEffectModeEnum() ApiPolicyRespBaseEffectModeEnum

type ApiPublishReq

type ApiPublishReq struct {
	Action ApiPublishReqAction `json:"action"`

	EnvId string `json:"env_id"`

	ApiId string `json:"api_id"`

	Remark *string `json:"remark,omitempty"`
}

func (ApiPublishReq) String

func (o ApiPublishReq) String() string

type ApiPublishReqAction

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

func (ApiPublishReqAction) MarshalJSON

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

func (*ApiPublishReqAction) UnmarshalJSON

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

type ApiPublishReqActionEnum

type ApiPublishReqActionEnum struct {
	ONLINE  ApiPublishReqAction
	OFFLINE ApiPublishReqAction
}

func GetApiPublishReqActionEnum

func GetApiPublishReqActionEnum() ApiPublishReqActionEnum

type ApiRespBaseInfo

type ApiRespBaseInfo struct {
	Name string `json:"name"`

	Type int32 `json:"type"`

	Version *string `json:"version,omitempty"`

	ReqProtocol ApiRespBaseInfoReqProtocol `json:"req_protocol"`

	ReqMethod ApiRespBaseInfoReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	AuthType ApiRespBaseInfoAuthType `json:"auth_type"`

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

	Cors *bool `json:"cors,omitempty"`

	MatchMode *ApiRespBaseInfoMatchMode `json:"match_mode,omitempty"`

	BackendType ApiRespBaseInfoBackendType `json:"backend_type"`

	Remark *string `json:"remark,omitempty"`

	GroupId string `json:"group_id"`

	BodyRemark *string `json:"body_remark,omitempty"`

	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	ResponseId *string `json:"response_id,omitempty"`

	RomaAppId *string `json:"roma_app_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Tag *string `json:"tag,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int32 `json:"status,omitempty"`

	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	GroupVersion *string `json:"group_version,omitempty"`

	RunEnvId *string `json:"run_env_id,omitempty"`

	RunEnvName *string `json:"run_env_name,omitempty"`

	PublishId *string `json:"publish_id,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

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

type ApiRespBaseInfoBackendTypeEnum

type ApiRespBaseInfoBackendTypeEnum struct {
	HTTP     ApiRespBaseInfoBackendType
	FUNCTION ApiRespBaseInfoBackendType
	MOCK     ApiRespBaseInfoBackendType
}

func GetApiRespBaseInfoBackendTypeEnum

func GetApiRespBaseInfoBackendTypeEnum() ApiRespBaseInfoBackendTypeEnum

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

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

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

type ApiRespBaseInfoReqProtocolEnum

type ApiRespBaseInfoReqProtocolEnum struct {
	HTTP  ApiRespBaseInfoReqProtocol
	HTTPS ApiRespBaseInfoReqProtocol
	BOTH  ApiRespBaseInfoReqProtocol
}

func GetApiRespBaseInfoReqProtocolEnum

func GetApiRespBaseInfoReqProtocolEnum() ApiRespBaseInfoReqProtocolEnum

type AppAuthBindedApiResp

type AppAuthBindedApiResp struct {
	ApiId *string `json:"api_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	EnvId *string `json:"env_id,omitempty"`

	EnvName *string `json:"env_name,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	ApiType *int32 `json:"api_type,omitempty"`

	ApiName *string `json:"api_name,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"`

	AppCreator *string `json:"app_creator,omitempty"`

	AppType *AppAuthBindedApiRespAppType `json:"app_type,omitempty"`

	Id *string `json:"id,omitempty"`

	ApiRemark *string `json:"api_remark,omitempty"`

	AuthRole *string `json:"auth_role,omitempty"`

	AuthTunnel *AppAuthBindedApiRespAuthTunnel `json:"auth_tunnel,omitempty"`

	AuthWhitelist *[]string `json:"auth_whitelist,omitempty"`

	AuthBlacklist *[]string `json:"auth_blacklist,omitempty"`
}

func (AppAuthBindedApiResp) String

func (o AppAuthBindedApiResp) String() string

type AppAuthBindedApiRespAppType

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

func (AppAuthBindedApiRespAppType) MarshalJSON

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

func (*AppAuthBindedApiRespAppType) UnmarshalJSON

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

type AppAuthBindedApiRespAppTypeEnum

type AppAuthBindedApiRespAppTypeEnum struct {
	APIG AppAuthBindedApiRespAppType
	ROMA AppAuthBindedApiRespAppType
}

func GetAppAuthBindedApiRespAppTypeEnum

func GetAppAuthBindedApiRespAppTypeEnum() AppAuthBindedApiRespAppTypeEnum

type AppAuthBindedApiRespAuthTunnel

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

func (AppAuthBindedApiRespAuthTunnel) MarshalJSON

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

func (*AppAuthBindedApiRespAuthTunnel) UnmarshalJSON

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

type AppAuthBindedApiRespAuthTunnelEnum

type AppAuthBindedApiRespAuthTunnelEnum struct {
	NORMAL AppAuthBindedApiRespAuthTunnel
	GREEN  AppAuthBindedApiRespAuthTunnel
}

func GetAppAuthBindedApiRespAuthTunnelEnum

func GetAppAuthBindedApiRespAuthTunnelEnum() AppAuthBindedApiRespAuthTunnelEnum

type AppAuthReq

type AppAuthReq struct {
	EnvId string `json:"env_id"`

	AppIds []string `json:"app_ids"`

	ApiIds []string `json:"api_ids"`
}

func (AppAuthReq) String

func (o AppAuthReq) String() string

type AppAuthResp

type AppAuthResp struct {
	ApiId *string `json:"api_id,omitempty"`

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

	AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"`

	Id *string `json:"id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	AuthRole *AppAuthRespAuthRole `json:"auth_role,omitempty"`

	AuthTunnel *AppAuthRespAuthTunnel `json:"auth_tunnel,omitempty"`

	AuthWhitelist *[]string `json:"auth_whitelist,omitempty"`

	AuthBlacklist *[]string `json:"auth_blacklist,omitempty"`
}

func (AppAuthResp) String

func (o AppAuthResp) String() string

type AppAuthRespAuthRole

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

func (AppAuthRespAuthRole) MarshalJSON

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

func (*AppAuthRespAuthRole) UnmarshalJSON

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

type AppAuthRespAuthRoleEnum

type AppAuthRespAuthRoleEnum struct {
	PROVIDER AppAuthRespAuthRole
	CONSUMER AppAuthRespAuthRole
}

func GetAppAuthRespAuthRoleEnum

func GetAppAuthRespAuthRoleEnum() AppAuthRespAuthRoleEnum

type AppAuthRespAuthTunnel

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

func (AppAuthRespAuthTunnel) MarshalJSON

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

func (*AppAuthRespAuthTunnel) UnmarshalJSON

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

type AppAuthRespAuthTunnelEnum

type AppAuthRespAuthTunnelEnum struct {
	NORMAL AppAuthRespAuthTunnel
	GREEN  AppAuthRespAuthTunnel
}

func GetAppAuthRespAuthTunnelEnum

func GetAppAuthRespAuthTunnelEnum() AppAuthRespAuthTunnelEnum

type AppAuthUnBindedApiResp

type AppAuthUnBindedApiResp struct {
	AuthType *string `json:"auth_type,omitempty"`

	RunEnvName *string `json:"run_env_name,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	PublishId *string `json:"publish_id,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Remark *string `json:"remark,omitempty"`

	RunEnvId *string `json:"run_env_id,omitempty"`

	Id *string `json:"id,omitempty"`

	ReqUri *string `json:"req_uri,omitempty"`
}

func (AppAuthUnBindedApiResp) String

func (o AppAuthUnBindedApiResp) String() string

type AppInfoWithBindNumResp

type AppInfoWithBindNumResp struct {
	Creator *string `json:"creator,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	AppKey *string `json:"app_key,omitempty"`

	Name *string `json:"name,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Id *string `json:"id,omitempty"`

	AppSecret *string `json:"app_secret,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	BindNum *int32 `json:"bind_num,omitempty"`
}

func (AppInfoWithBindNumResp) String

func (o AppInfoWithBindNumResp) String() string

type AppReq

type AppReq struct {
	Name string `json:"name"`

	Remark *string `json:"remark,omitempty"`

	AppKey *string `json:"app_key,omitempty"`

	AppSecret *string `json:"app_secret,omitempty"`
}

func (AppReq) String

func (o AppReq) String() string

type AppSecretReq

type AppSecretReq struct {
	AppSecret *string `json:"app_secret,omitempty"`
}

func (AppSecretReq) String

func (o AppSecretReq) String() string

type AssociateCertificateV2Request

type AssociateCertificateV2Request struct {
	InstanceId string `json:"instance_id"`

	DomainId string `json:"domain_id"`

	GroupId string `json:"group_id"`

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

Request Object

func (AssociateCertificateV2Request) String

type AssociateCertificateV2Response

type AssociateCertificateV2Response struct {
	UrlDomain string `json:"url_domain"`

	Id string `json:"id"`

	Status int32 `json:"status"`

	MinSslVersion string `json:"min_ssl_version"`

	SslName string `json:"ssl_name"`

	SslId          string `json:"ssl_id"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (AssociateCertificateV2Response) String

type AssociateDomainV2Request

type AssociateDomainV2Request struct {
	InstanceId string `json:"instance_id"`

	GroupId string `json:"group_id"`

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

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"`

	Status *int32 `json:"status,omitempty"`

	MinSslVersion  *string `json:"min_ssl_version,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AssociateDomainV2Response) String

func (o AssociateDomainV2Response) String() string

type AssociateRequestThrottlingPolicyV2Request

type AssociateRequestThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (AssociateRequestThrottlingPolicyV2Request) String

type AssociateRequestThrottlingPolicyV2Response

type AssociateRequestThrottlingPolicyV2Response struct {
	ThrottleApplys *[]ThrottleBindingResp `json:"throttle_applys,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (AssociateRequestThrottlingPolicyV2Response) String

type AssociateSignatureKeyV2Request

type AssociateSignatureKeyV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (AssociateSignatureKeyV2Request) String

type AssociateSignatureKeyV2Response

type AssociateSignatureKeyV2Response struct {
	Bindings       *[]SignBindingApiResp `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (AssociateSignatureKeyV2Response) String

type AuthOpt

type AuthOpt struct {
	AppCodeAuthType *AuthOptAppCodeAuthType `json:"app_code_auth_type,omitempty"`
}

认证方式参数

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

type AuthOptAppCodeAuthTypeEnum

type AuthOptAppCodeAuthTypeEnum struct {
	DISABLE AuthOptAppCodeAuthType
	HEADER  AuthOptAppCodeAuthType
}

func GetAuthOptAppCodeAuthTypeEnum

func GetAuthOptAppCodeAuthTypeEnum() AuthOptAppCodeAuthTypeEnum

type AuthResultResp

type AuthResultResp struct {
	ApiName *string `json:"api_name,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	Status *AuthResultRespStatus `json:"status,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`
}

授权结果

func (AuthResultResp) String

func (o AuthResultResp) String() string

type AuthResultRespStatus

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

func (AuthResultRespStatus) MarshalJSON

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

func (*AuthResultRespStatus) UnmarshalJSON

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

type AuthResultRespStatusEnum

type AuthResultRespStatusEnum struct {
	SUCCESS AuthResultRespStatus
	SKIPPED AuthResultRespStatus
	FAILED  AuthResultRespStatus
}

func GetAuthResultRespStatusEnum

func GetAuthResultRespStatusEnum() AuthResultRespStatusEnum

type BackendApi

type BackendApi struct {
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	UrlDomain *string `json:"url_domain,omitempty"`

	ReqProtocol BackendApiReqProtocol `json:"req_protocol"`

	Remark *string `json:"remark,omitempty"`

	ReqMethod BackendApiReqMethod `json:"req_method"`

	Version *string `json:"version,omitempty"`

	ReqUri string `json:"req_uri"`

	Timeout int32 `json:"timeout"`

	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int32 `json:"status,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"`

	VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"`
}

web后端详情

func (BackendApi) String

func (o BackendApi) String() string

type BackendApiBase

type BackendApiBase struct {
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	UrlDomain *string `json:"url_domain,omitempty"`

	ReqProtocol BackendApiBaseReqProtocol `json:"req_protocol"`

	Remark *string `json:"remark,omitempty"`

	ReqMethod BackendApiBaseReqMethod `json:"req_method"`

	Version *string `json:"version,omitempty"`

	ReqUri string `json:"req_uri"`

	Timeout int32 `json:"timeout"`

	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int32 `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 {
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	UrlDomain *string `json:"url_domain,omitempty"`

	ReqProtocol BackendApiBaseInfoReqProtocol `json:"req_protocol"`

	Remark *string `json:"remark,omitempty"`

	ReqMethod BackendApiBaseInfoReqMethod `json:"req_method"`

	Version *string `json:"version,omitempty"`

	ReqUri string `json:"req_uri"`

	Timeout int32 `json:"timeout"`

	EnableClientSsl *bool `json:"enable_client_ssl,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

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

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

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

type BackendApiBaseReqProtocolEnum

type BackendApiBaseReqProtocolEnum struct {
	HTTP  BackendApiBaseReqProtocol
	HTTPS BackendApiBaseReqProtocol
}

func GetBackendApiBaseReqProtocolEnum

func GetBackendApiBaseReqProtocolEnum() BackendApiBaseReqProtocolEnum

type BackendApiCreate

type BackendApiCreate struct {
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	UrlDomain *string `json:"url_domain,omitempty"`

	ReqProtocol BackendApiCreateReqProtocol `json:"req_protocol"`

	Remark *string `json:"remark,omitempty"`

	ReqMethod BackendApiCreateReqMethod `json:"req_method"`

	Version *string `json:"version,omitempty"`

	ReqUri string `json:"req_uri"`

	Timeout int32 `json:"timeout"`

	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	VpcChannelInfo *ApiBackendVpcReq `json:"vpc_channel_info,omitempty"`

	VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"`
}

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

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

type BackendApiCreateReqProtocolEnum

type BackendApiCreateReqProtocolEnum struct {
	HTTP  BackendApiCreateReqProtocol
	HTTPS BackendApiCreateReqProtocol
}

func GetBackendApiCreateReqProtocolEnum

func GetBackendApiCreateReqProtocolEnum() BackendApiCreateReqProtocolEnum

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

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

type BackendApiReqProtocolEnum

type BackendApiReqProtocolEnum struct {
	HTTP  BackendApiReqProtocol
	HTTPS BackendApiReqProtocol
}

func GetBackendApiReqProtocolEnum

func GetBackendApiReqProtocolEnum() BackendApiReqProtocolEnum

type BackendParam

type BackendParam struct {
	Origin BackendParamOrigin `json:"origin"`

	Name string `json:"name"`

	Remark *string `json:"remark,omitempty"`

	Location BackendParamLocation `json:"location"`

	Value string `json:"value"`

	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 {
	Origin BackendParamBaseOrigin `json:"origin"`

	Name string `json:"name"`

	Remark *string `json:"remark,omitempty"`

	Location BackendParamBaseLocation `json:"location"`

	Value string `json:"value"`
}

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

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

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

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

type BackendParamOriginEnum

type BackendParamOriginEnum struct {
	REQUEST  BackendParamOrigin
	CONSTANT BackendParamOrigin
	SYSTEM   BackendParamOrigin
}

func GetBackendParamOriginEnum

func GetBackendParamOriginEnum() BackendParamOriginEnum

type BasePage added in v0.0.49

type BasePage struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`
}

分页基本信息

func (BasePage) String added in v0.0.49

func (o BasePage) String() string

type BatchDisassociateThrottlingPolicyV2Request

type BatchDisassociateThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

	Action string `json:"action"`

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

Request Object

func (BatchDisassociateThrottlingPolicyV2Request) String

type BatchDisassociateThrottlingPolicyV2Response

type BatchDisassociateThrottlingPolicyV2Response struct {
	SuccessCount *int32 `json:"success_count,omitempty"`

	Failure        *[]ThrottleBindingBatchResultFailureResp `json:"failure,omitempty"`
	HttpStatusCode int                                      `json:"-"`
}

Response Object

func (BatchDisassociateThrottlingPolicyV2Response) String

type CancelingAuthorizationV2Request

type CancelingAuthorizationV2Request struct {
	InstanceId string `json:"instance_id"`

	AppAuthId string `json:"app_auth_id"`
}

Request Object

func (CancelingAuthorizationV2Request) String

type CancelingAuthorizationV2Response

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

Response Object

func (CancelingAuthorizationV2Response) String

type CheckAppV2Request

type CheckAppV2Request struct {
	InstanceId string `json:"instance_id"`

	AppId string `json:"app_id"`
}

Request Object

func (CheckAppV2Request) String

func (o CheckAppV2Request) String() string

type CheckAppV2Response

type CheckAppV2Response struct {
	Name *string `json:"name,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CheckAppV2Response) String

func (o CheckAppV2Response) String() string

type CoditionResp

type CoditionResp struct {
	ReqParamName *string `json:"req_param_name,omitempty"`

	ConditionType *CoditionRespConditionType `json:"condition_type,omitempty"`

	ConditionOrigin CoditionRespConditionOrigin `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 (CoditionResp) String

func (o CoditionResp) String() string

type CoditionRespConditionOrigin

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

func (CoditionRespConditionOrigin) MarshalJSON

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

func (*CoditionRespConditionOrigin) UnmarshalJSON

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

type CoditionRespConditionOriginEnum

type CoditionRespConditionOriginEnum struct {
	PARAM  CoditionRespConditionOrigin
	SOURCE CoditionRespConditionOrigin
}

func GetCoditionRespConditionOriginEnum

func GetCoditionRespConditionOriginEnum() CoditionRespConditionOriginEnum

type CoditionRespConditionType

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

func (CoditionRespConditionType) MarshalJSON

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

func (*CoditionRespConditionType) UnmarshalJSON

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

type CoditionRespConditionTypeEnum

type CoditionRespConditionTypeEnum struct {
	EXACT   CoditionRespConditionType
	ENUM    CoditionRespConditionType
	PATTERN CoditionRespConditionType
}

func GetCoditionRespConditionTypeEnum

func GetCoditionRespConditionTypeEnum() CoditionRespConditionTypeEnum

type CreateAnAppV2Request

type CreateAnAppV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateAnAppV2Request) String

func (o CreateAnAppV2Request) String() string

type CreateAnAppV2Response

type CreateAnAppV2Response struct {
	Creator *CreateAnAppV2ResponseCreator `json:"creator,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	AppKey *string `json:"app_key,omitempty"`

	Name *string `json:"name,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Id *string `json:"id,omitempty"`

	AppSecret *string `json:"app_secret,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	AppType        *CreateAnAppV2ResponseAppType `json:"app_type,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

Response Object

func (CreateAnAppV2Response) String

func (o CreateAnAppV2Response) String() string

type CreateAnAppV2ResponseAppType

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

func (CreateAnAppV2ResponseAppType) MarshalJSON

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

func (*CreateAnAppV2ResponseAppType) UnmarshalJSON

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

type CreateAnAppV2ResponseAppTypeEnum

type CreateAnAppV2ResponseAppTypeEnum struct {
	APIG CreateAnAppV2ResponseAppType
	ROMA CreateAnAppV2ResponseAppType
}

func GetCreateAnAppV2ResponseAppTypeEnum

func GetCreateAnAppV2ResponseAppTypeEnum() CreateAnAppV2ResponseAppTypeEnum

type CreateAnAppV2ResponseCreator

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

func (CreateAnAppV2ResponseCreator) MarshalJSON

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

func (*CreateAnAppV2ResponseCreator) UnmarshalJSON

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

type CreateAnAppV2ResponseCreatorEnum

type CreateAnAppV2ResponseCreatorEnum struct {
	USER   CreateAnAppV2ResponseCreator
	MARKET CreateAnAppV2ResponseCreator
}

func GetCreateAnAppV2ResponseCreatorEnum

func GetCreateAnAppV2ResponseCreatorEnum() CreateAnAppV2ResponseCreatorEnum

type CreateApiGroupV2Request

type CreateApiGroupV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateApiGroupV2Request) String

func (o CreateApiGroupV2Request) String() string

type CreateApiGroupV2Response

type CreateApiGroupV2Response struct {
	UrlDomains *[]UrlDomainsResp `json:"url_domains,omitempty"`

	CallLimits *int32 `json:"call_limits,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	Name *string `json:"name,omitempty"`

	TimeUnit *string `json:"time_unit,omitempty"`

	OnSellStatus *int32 `json:"on_sell_status,omitempty"`

	Remark *string `json:"remark,omitempty"`

	SlDomain *string `json:"sl_domain,omitempty"`

	SlDomains *[]string `json:"sl_domains,omitempty"`

	Id *string `json:"id,omitempty"`

	TimeInterval *int32 `json:"time_interval,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	IsDefault      *int32 `json:"is_default,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateApiGroupV2Response) String

func (o CreateApiGroupV2Response) String() string

type CreateApiV2Request

type CreateApiV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateApiV2Request) String

func (o CreateApiV2Request) String() string

type CreateApiV2Response

type CreateApiV2Response struct {
	Name string `json:"name"`

	Type int32 `json:"type"`

	Version *string `json:"version,omitempty"`

	ReqProtocol CreateApiV2ResponseReqProtocol `json:"req_protocol"`

	ReqMethod CreateApiV2ResponseReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	AuthType CreateApiV2ResponseAuthType `json:"auth_type"`

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

	Cors *bool `json:"cors,omitempty"`

	MatchMode *CreateApiV2ResponseMatchMode `json:"match_mode,omitempty"`

	BackendType CreateApiV2ResponseBackendType `json:"backend_type"`

	Remark *string `json:"remark,omitempty"`

	GroupId string `json:"group_id"`

	BodyRemark *string `json:"body_remark,omitempty"`

	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	ResponseId *string `json:"response_id,omitempty"`

	RomaAppId *string `json:"roma_app_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Tag *string `json:"tag,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int32 `json:"status,omitempty"`

	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	GroupVersion *string `json:"group_version,omitempty"`

	RunEnvId *string `json:"run_env_id,omitempty"`

	RunEnvName *string `json:"run_env_name,omitempty"`

	PublishId *string `json:"publish_id,omitempty"`

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

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

	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

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

	PolicyHttps    *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

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

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

type CreateApiV2ResponseBackendTypeEnum

type CreateApiV2ResponseBackendTypeEnum struct {
	HTTP     CreateApiV2ResponseBackendType
	FUNCTION CreateApiV2ResponseBackendType
	MOCK     CreateApiV2ResponseBackendType
}

func GetCreateApiV2ResponseBackendTypeEnum

func GetCreateApiV2ResponseBackendTypeEnum() CreateApiV2ResponseBackendTypeEnum

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

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

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

type CreateAuthorizingAppsV2Request

type CreateAuthorizingAppsV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateAuthorizingAppsV2Request) String

type CreateAuthorizingAppsV2Response

type CreateAuthorizingAppsV2Response struct {
	Auths          *[]AppAuthResp `json:"auths,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (CreateAuthorizingAppsV2Response) String

type CreateEnvironmentV2Request

type CreateEnvironmentV2Request struct {
	InstanceId string `json:"instance_id"`

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

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:"-"`
}

Response Object

func (CreateEnvironmentV2Response) String

type CreateEnvironmentVariableV2Request

type CreateEnvironmentVariableV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateEnvironmentVariableV2Request) String

type CreateEnvironmentVariableV2Response

type CreateEnvironmentVariableV2Response struct {
	VariableValue *string `json:"variable_value,omitempty"`

	EnvId *string `json:"env_id,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	Id *string `json:"id,omitempty"`

	VariableName   *string `json:"variable_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEnvironmentVariableV2Response) String

type CreateOrDeletePublishRecordForApiV2Request

type CreateOrDeletePublishRecordForApiV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateOrDeletePublishRecordForApiV2Request) String

type CreateOrDeletePublishRecordForApiV2Response

type CreateOrDeletePublishRecordForApiV2Response struct {
	PublishId *string `json:"publish_id,omitempty"`

	ApiId *string `json:"api_id,omitempty"`

	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:"-"`
}

Response Object

func (CreateOrDeletePublishRecordForApiV2Response) String

type CreateRequestThrottlingPolicyV2Request

type CreateRequestThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateRequestThrottlingPolicyV2Request) String

type CreateRequestThrottlingPolicyV2Response

type CreateRequestThrottlingPolicyV2Response struct {
	BindNum *int32 `json:"bind_num,omitempty"`

	IsIncludeSpecialThrottle *int32 `json:"is_include_special_throttle,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Type *int32 `json:"type,omitempty"`

	TimeInterval *int32 `json:"time_interval,omitempty"`

	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	Name *string `json:"name,omitempty"`

	TimeUnit *CreateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit,omitempty"`

	ApiCallLimits *int32 `json:"api_call_limits,omitempty"`

	Id *string `json:"id,omitempty"`

	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`
	HttpStatusCode        int     `json:"-"`
}

Response Object

func (CreateRequestThrottlingPolicyV2Response) String

type CreateRequestThrottlingPolicyV2ResponseTimeUnit

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

func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*CreateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

type CreateSignatureKeyV2Request

type CreateSignatureKeyV2Request struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateSignatureKeyV2Request) String

type CreateSignatureKeyV2Response

type CreateSignatureKeyV2Response struct {
	SignSecret *string `json:"sign_secret,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	Name *string `json:"name,omitempty"`

	Id *string `json:"id,omitempty"`

	SignKey *string `json:"sign_key,omitempty"`

	SignType       *CreateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"`
	HttpStatusCode int                                   `json:"-"`
}

Response Object

func (CreateSignatureKeyV2Response) String

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

type CreateSignatureKeyV2ResponseSignTypeEnum

type CreateSignatureKeyV2ResponseSignTypeEnum struct {
	HMAC  CreateSignatureKeyV2ResponseSignType
	BASIC CreateSignatureKeyV2ResponseSignType
}

func GetCreateSignatureKeyV2ResponseSignTypeEnum

func GetCreateSignatureKeyV2ResponseSignTypeEnum() CreateSignatureKeyV2ResponseSignTypeEnum

type CreateSpecialThrottlingConfigurationV2Request

type CreateSpecialThrottlingConfigurationV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleId string `json:"throttle_id"`

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

Request Object

func (CreateSpecialThrottlingConfigurationV2Request) String

type CreateSpecialThrottlingConfigurationV2Response

type CreateSpecialThrottlingConfigurationV2Response struct {
	CallLimits *int32 `json:"call_limits,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	ObjectName *string `json:"object_name,omitempty"`

	ObjectId *string `json:"object_id,omitempty"`

	ThrottleId *string `json:"throttle_id,omitempty"`

	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	Id *string `json:"id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	ObjectType     *string `json:"object_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateSpecialThrottlingConfigurationV2Response) String

type DeleteApiGroupV2Request

type DeleteApiGroupV2Request struct {
	InstanceId string `json:"instance_id"`

	GroupId string `json:"group_id"`
}

Request Object

func (DeleteApiGroupV2Request) String

func (o DeleteApiGroupV2Request) String() string

type DeleteApiGroupV2Response

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

Response Object

func (DeleteApiGroupV2Response) String

func (o DeleteApiGroupV2Response) String() string

type DeleteApiV2Request

type DeleteApiV2Request struct {
	InstanceId string `json:"instance_id"`

	ApiId string `json:"api_id"`
}

Request Object

func (DeleteApiV2Request) String

func (o DeleteApiV2Request) String() string

type DeleteApiV2Response

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

Response Object

func (DeleteApiV2Response) String

func (o DeleteApiV2Response) String() string

type DeleteAppV2Request

type DeleteAppV2Request struct {
	InstanceId string `json:"instance_id"`

	AppId string `json:"app_id"`
}

Request Object

func (DeleteAppV2Request) String

func (o DeleteAppV2Request) String() string

type DeleteAppV2Response

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

Response Object

func (DeleteAppV2Response) String

func (o DeleteAppV2Response) String() string

type DeleteEnvironmentV2Request

type DeleteEnvironmentV2Request struct {
	InstanceId string `json:"instance_id"`

	EnvId string `json:"env_id"`
}

Request Object

func (DeleteEnvironmentV2Request) String

type DeleteEnvironmentV2Response

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

Response Object

func (DeleteEnvironmentV2Response) String

type DeleteEnvironmentVariableV2Request

type DeleteEnvironmentVariableV2Request struct {
	InstanceId string `json:"instance_id"`

	EnvVariableId string `json:"env_variable_id"`
}

Request Object

func (DeleteEnvironmentVariableV2Request) String

type DeleteEnvironmentVariableV2Response

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

Response Object

func (DeleteEnvironmentVariableV2Response) String

type DeleteRequestThrottlingPolicyV2Request

type DeleteRequestThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleId string `json:"throttle_id"`
}

Request Object

func (DeleteRequestThrottlingPolicyV2Request) String

type DeleteRequestThrottlingPolicyV2Response

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

Response Object

func (DeleteRequestThrottlingPolicyV2Response) String

type DeleteSignatureKeyV2Request

type DeleteSignatureKeyV2Request struct {
	InstanceId string `json:"instance_id"`

	SignId string `json:"sign_id"`
}

Request Object

func (DeleteSignatureKeyV2Request) String

type DeleteSignatureKeyV2Response

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

Response Object

func (DeleteSignatureKeyV2Response) String

type DeleteSpecialThrottlingConfigurationV2Request

type DeleteSpecialThrottlingConfigurationV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleId string `json:"throttle_id"`

	StrategyId string `json:"strategy_id"`
}

Request Object

func (DeleteSpecialThrottlingConfigurationV2Request) String

type DeleteSpecialThrottlingConfigurationV2Response

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

Response Object

func (DeleteSpecialThrottlingConfigurationV2Response) String

type DisassociateCertificateV2Request

type DisassociateCertificateV2Request struct {
	InstanceId string `json:"instance_id"`

	DomainId string `json:"domain_id"`

	GroupId string `json:"group_id"`

	CertificateId string `json:"certificate_id"`
}

Request Object

func (DisassociateCertificateV2Request) String

type DisassociateCertificateV2Response

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

Response Object

func (DisassociateCertificateV2Response) String

type DisassociateDomainV2Request

type DisassociateDomainV2Request struct {
	InstanceId string `json:"instance_id"`

	DomainId string `json:"domain_id"`

	GroupId string `json:"group_id"`
}

Request Object

func (DisassociateDomainV2Request) String

type DisassociateDomainV2Response

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

Response Object

func (DisassociateDomainV2Response) String

type DisassociateRequestThrottlingPolicyV2Request

type DisassociateRequestThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleBindingId string `json:"throttle_binding_id"`
}

Request Object

func (DisassociateRequestThrottlingPolicyV2Request) String

type DisassociateRequestThrottlingPolicyV2Response

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

Response Object

func (DisassociateRequestThrottlingPolicyV2Response) String

type DisassociateSignatureKeyV2Request

type DisassociateSignatureKeyV2Request struct {
	InstanceId string `json:"instance_id"`

	SignBindingsId string `json:"sign_bindings_id"`
}

Request Object

func (DisassociateSignatureKeyV2Request) String

type DisassociateSignatureKeyV2Response

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

Response Object

func (DisassociateSignatureKeyV2Response) String

type DomainCertReq

type DomainCertReq struct {
	CertContent string `json:"cert_content"`

	Name string `json:"name"`

	PrivateKey string `json:"private_key"`
}

func (DomainCertReq) String

func (o DomainCertReq) String() string

type EnvReq

type EnvReq struct {
	Name string `json:"name"`

	Remark *string `json:"remark,omitempty"`
}

func (EnvReq) String

func (o EnvReq) String() string

type EnvResp

type EnvResp struct {
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	Name *string `json:"name,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Id *string `json:"id,omitempty"`
}

func (EnvResp) String

func (o EnvResp) String() string

type EnvVariableReq

type EnvVariableReq struct {
	VariableValue string `json:"variable_value"`

	EnvId string `json:"env_id"`

	GroupId string `json:"group_id"`

	VariableName string `json:"variable_name"`
}

func (EnvVariableReq) String

func (o EnvVariableReq) String() string

type EnvVariableResp

type EnvVariableResp struct {
	VariableValue *string `json:"variable_value,omitempty"`

	EnvId *string `json:"env_id,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	Id *string `json:"id,omitempty"`

	VariableName *string `json:"variable_name,omitempty"`
}

func (EnvVariableResp) String

func (o EnvVariableResp) String() string

type ListApiGroupsQuantitiesV2Request

type ListApiGroupsQuantitiesV2Request struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListApiGroupsQuantitiesV2Request) String

type ListApiGroupsQuantitiesV2Response

type ListApiGroupsQuantitiesV2Response struct {
	OffsellNums *int32 `json:"offsell_nums,omitempty"`

	OnsellNums     *int32 `json:"onsell_nums,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListApiGroupsQuantitiesV2Response) String

type ListApiGroupsV2Request

type ListApiGroupsV2Request struct {
	InstanceId string `json:"instance_id"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	PreciseSearch *string `json:"precise_search,omitempty"`
}

Request Object

func (ListApiGroupsV2Request) String

func (o ListApiGroupsV2Request) String() string

type ListApiGroupsV2Response

type ListApiGroupsV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Groups         *[]ApiGroupDetailResp `json:"groups,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ListApiGroupsV2Response) String

func (o ListApiGroupsV2Response) String() string

type ListApiQuantitiesV2Request

type ListApiQuantitiesV2Request struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListApiQuantitiesV2Request) String

type ListApiQuantitiesV2Response

type ListApiQuantitiesV2Response struct {
	InstanceNum *int32 `json:"instance_num,omitempty"`

	NumsOnRelease *int32 `json:"nums_on_release,omitempty"`

	NumsOffRelease *int32 `json:"nums_off_release,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListApiQuantitiesV2Response) String

type ListApisBindedToAppV2Request

type ListApisBindedToAppV2Request struct {
	InstanceId string `json:"instance_id"`

	AppId string `json:"app_id"`

	ApiId *string `json:"api_id,omitempty"`

	ApiName *string `json:"api_name,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	EnvId *string `json:"env_id,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListApisBindedToAppV2Request) String

type ListApisBindedToAppV2Response

type ListApisBindedToAppV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Auths          *[]AppAuthBindedApiResp `json:"auths,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListApisBindedToAppV2Response) String

type ListApisBindedToRequestThrottlingPolicyV2Request

type ListApisBindedToRequestThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleId string `json:"throttle_id"`

	EnvId *string `json:"env_id,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	ApiId *string `json:"api_id,omitempty"`

	ApiName *string `json:"api_name,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListApisBindedToRequestThrottlingPolicyV2Request) String

type ListApisBindedToRequestThrottlingPolicyV2Response

type ListApisBindedToRequestThrottlingPolicyV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Apis           *[]ThrottleBindingApiResp `json:"apis,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListApisBindedToRequestThrottlingPolicyV2Response) String

type ListApisBindedToSignatureKeyV2Request

type ListApisBindedToSignatureKeyV2Request struct {
	InstanceId string `json:"instance_id"`

	SignId string `json:"sign_id"`

	EnvId *string `json:"env_id,omitempty"`

	ApiId *string `json:"api_id,omitempty"`

	ApiName *string `json:"api_name,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListApisBindedToSignatureKeyV2Request) String

type ListApisBindedToSignatureKeyV2Response

type ListApisBindedToSignatureKeyV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Bindings       *[]SignBindingApiResp `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ListApisBindedToSignatureKeyV2Response) String

type ListApisNotBoundWithSignatureKeyV2Request

type ListApisNotBoundWithSignatureKeyV2Request struct {
	InstanceId string `json:"instance_id"`

	SignId string `json:"sign_id"`

	EnvId *string `json:"env_id,omitempty"`

	ApiId *string `json:"api_id,omitempty"`

	ApiName *string `json:"api_name,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListApisNotBoundWithSignatureKeyV2Request) String

type ListApisNotBoundWithSignatureKeyV2Response

type ListApisNotBoundWithSignatureKeyV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Apis           *[]SignUnbindingApiResp `json:"apis,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListApisNotBoundWithSignatureKeyV2Response) String

type ListApisUnbindedToAppV2Request

type ListApisUnbindedToAppV2Request struct {
	InstanceId string `json:"instance_id"`

	AppId string `json:"app_id"`

	EnvId string `json:"env_id"`

	GroupId *string `json:"group_id,omitempty"`

	ApiId *string `json:"api_id,omitempty"`

	ApiName *string `json:"api_name,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListApisUnbindedToAppV2Request) String

type ListApisUnbindedToAppV2Response

type ListApisUnbindedToAppV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Apis           *[]AppAuthUnBindedApiResp `json:"apis,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListApisUnbindedToAppV2Response) String

type ListApisUnbindedToRequestThrottlingPolicyV2Request

type ListApisUnbindedToRequestThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleId string `json:"throttle_id"`

	EnvId *string `json:"env_id,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	ApiId *string `json:"api_id,omitempty"`

	ApiName *string `json:"api_name,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListApisUnbindedToRequestThrottlingPolicyV2Request) String

type ListApisUnbindedToRequestThrottlingPolicyV2Response

type ListApisUnbindedToRequestThrottlingPolicyV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Apis           *[]ThrottleBindingApiResp `json:"apis,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListApisUnbindedToRequestThrottlingPolicyV2Response) String

type ListApisV2Request

type ListApisV2Request struct {
	InstanceId string `json:"instance_id"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	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"`

	Type *int32 `json:"type,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	PreciseSearch *string `json:"precise_search,omitempty"`
}

Request Object

func (ListApisV2Request) String

func (o ListApisV2Request) String() string

type ListApisV2Response

type ListApisV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Apis           *[]ApiInfoPerPage `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListApisV2Response) String

func (o ListApisV2Response) String() string

type ListAppQuantitiesV2Request

type ListAppQuantitiesV2Request struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListAppQuantitiesV2Request) String

type ListAppQuantitiesV2Response

type ListAppQuantitiesV2Response struct {
	AuthedNums *int32 `json:"authed_nums,omitempty"`

	UnauthedNums   *int32 `json:"unauthed_nums,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListAppQuantitiesV2Response) String

type ListAppsBindedToApiV2Request

type ListAppsBindedToApiV2Request struct {
	InstanceId string `json:"instance_id"`

	ApiId *string `json:"api_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	EnvId *string `json:"env_id,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListAppsBindedToApiV2Request) String

type ListAppsBindedToApiV2Response

type ListAppsBindedToApiV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Auths          *[]AppAuthBindedApiResp `json:"auths,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListAppsBindedToApiV2Response) String

type ListAppsV2Request

type ListAppsV2Request struct {
	InstanceId string `json:"instance_id"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *int32 `json:"status,omitempty"`

	AppKey *string `json:"app_key,omitempty"`

	Creator *string `json:"creator,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	PreciseSearch *string `json:"precise_search,omitempty"`
}

Request Object

func (ListAppsV2Request) String

func (o ListAppsV2Request) String() string

type ListAppsV2Response

type ListAppsV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Apps           *[]AppInfoWithBindNumResp `json:"apps,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListAppsV2Response) String

func (o ListAppsV2Response) String() string

type ListEnvironmentVariablesV2Request

type ListEnvironmentVariablesV2Request struct {
	InstanceId string `json:"instance_id"`

	GroupId string `json:"group_id"`

	EnvId *string `json:"env_id,omitempty"`

	VariableName *string `json:"variable_name,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	PreciseSearch *string `json:"precise_search,omitempty"`
}

Request Object

func (ListEnvironmentVariablesV2Request) String

type ListEnvironmentVariablesV2Response

type ListEnvironmentVariablesV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Variables      *[]EnvVariableResp `json:"variables,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListEnvironmentVariablesV2Response) String

type ListEnvironmentsV2Request

type ListEnvironmentsV2Request struct {
	InstanceId string `json:"instance_id"`

	Name *string `json:"name,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListEnvironmentsV2Request) String

func (o ListEnvironmentsV2Request) String() string

type ListEnvironmentsV2Response

type ListEnvironmentsV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Envs           *[]EnvResp `json:"envs,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListEnvironmentsV2Response) String

type ListRequestThrottlingPoliciesBindedToApiV2Request

type ListRequestThrottlingPoliciesBindedToApiV2Request struct {
	InstanceId string `json:"instance_id"`

	ApiId string `json:"api_id"`

	ThrottleId *string `json:"throttle_id,omitempty"`

	ThrottleName *string `json:"throttle_name,omitempty"`

	EnvId *string `json:"env_id,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListRequestThrottlingPoliciesBindedToApiV2Request) String

type ListRequestThrottlingPoliciesBindedToApiV2Response

type ListRequestThrottlingPoliciesBindedToApiV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Throttles      *[]ThrottleBindingThrottleResp `json:"throttles,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

Response Object

func (ListRequestThrottlingPoliciesBindedToApiV2Response) String

type ListRequestThrottlingPolicyV2Request

type ListRequestThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	PreciseSearch *string `json:"precise_search,omitempty"`
}

Request Object

func (ListRequestThrottlingPolicyV2Request) String

type ListRequestThrottlingPolicyV2Response

type ListRequestThrottlingPolicyV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Throttles      *[]ThrottleResp `json:"throttles,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListRequestThrottlingPolicyV2Response) String

type ListSignatureKeysBindedToApiV2Request

type ListSignatureKeysBindedToApiV2Request struct {
	InstanceId string `json:"instance_id"`

	ApiId string `json:"api_id"`

	SignId *string `json:"sign_id,omitempty"`

	SignName *string `json:"sign_name,omitempty"`

	EnvId *string `json:"env_id,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListSignatureKeysBindedToApiV2Request) String

type ListSignatureKeysBindedToApiV2Response

type ListSignatureKeysBindedToApiV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Bindings       *[]SignBindingApiResp `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ListSignatureKeysBindedToApiV2Response) String

type ListSignatureKeysV2Request

type ListSignatureKeysV2Request struct {
	InstanceId string `json:"instance_id"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	PreciseSearch *string `json:"precise_search,omitempty"`
}

Request Object

func (ListSignatureKeysV2Request) String

type ListSignatureKeysV2Response

type ListSignatureKeysV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	Signs          *[]SignatureCreateResp `json:"signs,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListSignatureKeysV2Response) String

type ListSpecialThrottlingConfigurationsV2Request

type ListSpecialThrottlingConfigurationsV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleId string `json:"throttle_id"`

	ObjectType *string `json:"object_type,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	Offset *int64 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListSpecialThrottlingConfigurationsV2Request) String

type ListSpecialThrottlingConfigurationsV2Response

type ListSpecialThrottlingConfigurationsV2Response struct {
	Size int32 `json:"size"`

	Total int64 `json:"total"`

	ThrottleSpecials *[]ThrottleSpecialResp `json:"throttle_specials,omitempty"`
	HttpStatusCode   int                    `json:"-"`
}

Response Object

func (ListSpecialThrottlingConfigurationsV2Response) 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"`

	Required *int32 `json:"required,omitempty"`

	ValidEnable *int32 `json:"valid_enable,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Enumerations *string `json:"enumerations,omitempty"`

	MinNum *int32 `json:"min_num,omitempty"`

	MaxNum *int32 `json:"max_num,omitempty"`

	MinSize *int32 `json:"min_size,omitempty"`

	MaxSize *int32 `json:"max_size,omitempty"`

	Regular *string `json:"regular,omitempty"`

	JsonSchema *string `json:"json_schema,omitempty"`

	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"`

	Required *int32 `json:"required,omitempty"`

	ValidEnable *int32 `json:"valid_enable,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Enumerations *string `json:"enumerations,omitempty"`

	MinNum *int32 `json:"min_num,omitempty"`

	MaxNum *int32 `json:"max_num,omitempty"`

	MinSize *int32 `json:"min_size,omitempty"`

	MaxSize *int32 `json:"max_size,omitempty"`

	Regular *string `json:"regular,omitempty"`

	JsonSchema *string `json:"json_schema,omitempty"`

	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

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

type ReqParamBasePassThroughEnum

type ReqParamBasePassThroughEnum struct {
	E_1 ReqParamBasePassThrough
	E_2 ReqParamBasePassThrough
}

func GetReqParamBasePassThroughEnum

func GetReqParamBasePassThroughEnum() ReqParamBasePassThroughEnum

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

type ReqParamBaseTypeEnum

type ReqParamBaseTypeEnum struct {
	STRING ReqParamBaseType
	NUMBER ReqParamBaseType
}

func GetReqParamBaseTypeEnum

func GetReqParamBaseTypeEnum() ReqParamBaseTypeEnum

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

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

type ReqParamPassThroughEnum

type ReqParamPassThroughEnum struct {
	E_1 ReqParamPassThrough
	E_2 ReqParamPassThrough
}

func GetReqParamPassThroughEnum

func GetReqParamPassThroughEnum() ReqParamPassThroughEnum

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

type ReqParamTypeEnum

type ReqParamTypeEnum struct {
	STRING ReqParamType
	NUMBER ReqParamType
}

func GetReqParamTypeEnum

func GetReqParamTypeEnum() ReqParamTypeEnum

type ResettingAppSecretV2Request

type ResettingAppSecretV2Request struct {
	InstanceId string `json:"instance_id"`

	AppId string `json:"app_id"`

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

Request Object

func (ResettingAppSecretV2Request) String

type ResettingAppSecretV2Response

type ResettingAppSecretV2Response struct {
	Creator *ResettingAppSecretV2ResponseCreator `json:"creator,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	AppKey *string `json:"app_key,omitempty"`

	Name *string `json:"name,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Id *string `json:"id,omitempty"`

	AppSecret *string `json:"app_secret,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	AppType        *ResettingAppSecretV2ResponseAppType `json:"app_type,omitempty"`
	HttpStatusCode int                                  `json:"-"`
}

Response Object

func (ResettingAppSecretV2Response) String

type ResettingAppSecretV2ResponseAppType

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

func (ResettingAppSecretV2ResponseAppType) MarshalJSON

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

func (*ResettingAppSecretV2ResponseAppType) UnmarshalJSON

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

type ResettingAppSecretV2ResponseAppTypeEnum

type ResettingAppSecretV2ResponseAppTypeEnum struct {
	APIG ResettingAppSecretV2ResponseAppType
	ROMA ResettingAppSecretV2ResponseAppType
}

func GetResettingAppSecretV2ResponseAppTypeEnum

func GetResettingAppSecretV2ResponseAppTypeEnum() ResettingAppSecretV2ResponseAppTypeEnum

type ResettingAppSecretV2ResponseCreator

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

func (ResettingAppSecretV2ResponseCreator) MarshalJSON

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

func (*ResettingAppSecretV2ResponseCreator) UnmarshalJSON

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

type ResettingAppSecretV2ResponseCreatorEnum

type ResettingAppSecretV2ResponseCreatorEnum struct {
	USER   ResettingAppSecretV2ResponseCreator
	MARKET ResettingAppSecretV2ResponseCreator
}

func GetResettingAppSecretV2ResponseCreatorEnum

func GetResettingAppSecretV2ResponseCreatorEnum() ResettingAppSecretV2ResponseCreatorEnum

type ShowDetailsOfApiGroupV2Request

type ShowDetailsOfApiGroupV2Request struct {
	InstanceId string `json:"instance_id"`

	GroupId string `json:"group_id"`
}

Request Object

func (ShowDetailsOfApiGroupV2Request) String

type ShowDetailsOfApiGroupV2Response

type ShowDetailsOfApiGroupV2Response struct {
	UrlDomains *[]UrlDomainsResp `json:"url_domains,omitempty"`

	CallLimits *int32 `json:"call_limits,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	Name *string `json:"name,omitempty"`

	TimeUnit *string `json:"time_unit,omitempty"`

	OnSellStatus *int32 `json:"on_sell_status,omitempty"`

	Remark *string `json:"remark,omitempty"`

	SlDomain *string `json:"sl_domain,omitempty"`

	SlDomains *[]string `json:"sl_domains,omitempty"`

	Id *string `json:"id,omitempty"`

	TimeInterval *int32 `json:"time_interval,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	IsDefault      *int32 `json:"is_default,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowDetailsOfApiGroupV2Response) String

type ShowDetailsOfApiV2Request

type ShowDetailsOfApiV2Request struct {
	InstanceId string `json:"instance_id"`

	ApiId string `json:"api_id"`
}

Request Object

func (ShowDetailsOfApiV2Request) String

func (o ShowDetailsOfApiV2Request) String() string

type ShowDetailsOfApiV2Response

type ShowDetailsOfApiV2Response struct {
	Name string `json:"name"`

	Type int32 `json:"type"`

	Version *string `json:"version,omitempty"`

	ReqProtocol ShowDetailsOfApiV2ResponseReqProtocol `json:"req_protocol"`

	ReqMethod ShowDetailsOfApiV2ResponseReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	AuthType ShowDetailsOfApiV2ResponseAuthType `json:"auth_type"`

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

	Cors *bool `json:"cors,omitempty"`

	MatchMode *ShowDetailsOfApiV2ResponseMatchMode `json:"match_mode,omitempty"`

	BackendType ShowDetailsOfApiV2ResponseBackendType `json:"backend_type"`

	Remark *string `json:"remark,omitempty"`

	GroupId string `json:"group_id"`

	BodyRemark *string `json:"body_remark,omitempty"`

	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	ResponseId *string `json:"response_id,omitempty"`

	RomaAppId *string `json:"roma_app_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Tag *string `json:"tag,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int32 `json:"status,omitempty"`

	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	GroupVersion *string `json:"group_version,omitempty"`

	RunEnvId *string `json:"run_env_id,omitempty"`

	RunEnvName *string `json:"run_env_name,omitempty"`

	PublishId *string `json:"publish_id,omitempty"`

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

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

	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

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

	PolicyHttps    *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

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

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

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

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

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

type ShowDetailsOfAppV2Request

type ShowDetailsOfAppV2Request struct {
	InstanceId string `json:"instance_id"`

	AppId string `json:"app_id"`
}

Request Object

func (ShowDetailsOfAppV2Request) String

func (o ShowDetailsOfAppV2Request) String() string

type ShowDetailsOfAppV2Response

type ShowDetailsOfAppV2Response struct {
	Creator *ShowDetailsOfAppV2ResponseCreator `json:"creator,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	AppKey *string `json:"app_key,omitempty"`

	Name *string `json:"name,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Id *string `json:"id,omitempty"`

	AppSecret *string `json:"app_secret,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	AppType        *ShowDetailsOfAppV2ResponseAppType `json:"app_type,omitempty"`
	HttpStatusCode int                                `json:"-"`
}

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

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

type ShowDetailsOfAppV2ResponseCreatorEnum

type ShowDetailsOfAppV2ResponseCreatorEnum struct {
	USER   ShowDetailsOfAppV2ResponseCreator
	MARKET ShowDetailsOfAppV2ResponseCreator
}

func GetShowDetailsOfAppV2ResponseCreatorEnum

func GetShowDetailsOfAppV2ResponseCreatorEnum() ShowDetailsOfAppV2ResponseCreatorEnum

type ShowDetailsOfDomainNameCertificateV2Request

type ShowDetailsOfDomainNameCertificateV2Request struct {
	InstanceId string `json:"instance_id"`

	DomainId string `json:"domain_id"`

	GroupId string `json:"group_id"`

	CertificateId string `json:"certificate_id"`
}

Request Object

func (ShowDetailsOfDomainNameCertificateV2Request) String

type ShowDetailsOfDomainNameCertificateV2Response

type ShowDetailsOfDomainNameCertificateV2Response struct {
	CommonName *string `json:"common_name,omitempty"`

	San *[]string `json:"san,omitempty"`

	Version *string `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 *string `json:"not_before,omitempty"`

	NotAfter *string `json:"not_after,omitempty"`

	SerialNumber *string `json:"serial_number,omitempty"`

	Issuer *[]string `json:"issuer,omitempty"`

	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`
	HttpStatusCode     int     `json:"-"`
}

Response Object

func (ShowDetailsOfDomainNameCertificateV2Response) String

type ShowDetailsOfEnvironmentVariableV2Request

type ShowDetailsOfEnvironmentVariableV2Request struct {
	InstanceId string `json:"instance_id"`

	EnvVariableId string `json:"env_variable_id"`
}

Request Object

func (ShowDetailsOfEnvironmentVariableV2Request) String

type ShowDetailsOfEnvironmentVariableV2Response

type ShowDetailsOfEnvironmentVariableV2Response struct {
	VariableValue *string `json:"variable_value,omitempty"`

	EnvId *string `json:"env_id,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	Id *string `json:"id,omitempty"`

	VariableName   *string `json:"variable_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDetailsOfEnvironmentVariableV2Response) String

type ShowDetailsOfRequestThrottlingPolicyV2Request

type ShowDetailsOfRequestThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleId string `json:"throttle_id"`
}

Request Object

func (ShowDetailsOfRequestThrottlingPolicyV2Request) String

type ShowDetailsOfRequestThrottlingPolicyV2Response

type ShowDetailsOfRequestThrottlingPolicyV2Response struct {
	BindNum *int32 `json:"bind_num,omitempty"`

	IsIncludeSpecialThrottle *int32 `json:"is_include_special_throttle,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Type *int32 `json:"type,omitempty"`

	TimeInterval *int32 `json:"time_interval,omitempty"`

	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	Name *string `json:"name,omitempty"`

	TimeUnit *ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit,omitempty"`

	ApiCallLimits *int32 `json:"api_call_limits,omitempty"`

	Id *string `json:"id,omitempty"`

	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`
	HttpStatusCode        int     `json:"-"`
}

Response Object

func (ShowDetailsOfRequestThrottlingPolicyV2Response) String

type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit

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

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

type SignBindingApiResp

type SignBindingApiResp struct {
	PublishId *string `json:"publish_id,omitempty"`

	ApiId *string `json:"api_id,omitempty"`

	SignSecret *string `json:"sign_secret,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	SignId *string `json:"sign_id,omitempty"`

	SignKey *string `json:"sign_key,omitempty"`

	BindingTime *sdktime.SdkTime `json:"binding_time,omitempty"`

	EnvId *string `json:"env_id,omitempty"`

	EnvName *string `json:"env_name,omitempty"`

	SignName *string `json:"sign_name,omitempty"`

	ApiType *int32 `json:"api_type,omitempty"`

	ApiName *string `json:"api_name,omitempty"`

	Id *string `json:"id,omitempty"`

	ApiRemark *string `json:"api_remark,omitempty"`
}

func (SignBindingApiResp) String

func (o SignBindingApiResp) String() string

type SignBindingReq

type SignBindingReq struct {
	SignId string `json:"sign_id"`

	PublishIds []string `json:"publish_ids"`
}

func (SignBindingReq) String

func (o SignBindingReq) String() string

type SignUnbindingApiResp

type SignUnbindingApiResp struct {
	AuthType *string `json:"auth_type,omitempty"`

	RunEnvName *string `json:"run_env_name,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	PublishId *string `json:"publish_id,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	Name *string `json:"name,omitempty"`

	SignatureName *string `json:"signature_name,omitempty"`

	Remark *string `json:"remark,omitempty"`

	RunEnvId *string `json:"run_env_id,omitempty"`

	Id *string `json:"id,omitempty"`

	Type *int32 `json:"type,omitempty"`

	ReqUri *string `json:"req_uri,omitempty"`
}

func (SignUnbindingApiResp) String

func (o SignUnbindingApiResp) String() string

type SignatureCreateResp

type SignatureCreateResp struct {
	SignSecret *string `json:"sign_secret,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	Name *string `json:"name,omitempty"`

	Id *string `json:"id,omitempty"`

	SignKey *string `json:"sign_key,omitempty"`

	SignType *string `json:"sign_type,omitempty"`

	BindNum *int32 `json:"bind_num,omitempty"`

	LdapiBindNum *int32 `json:"ldapi_bind_num,omitempty"`
}

func (SignatureCreateResp) String

func (o SignatureCreateResp) String() string

type SignatureReq

type SignatureReq struct {
	SignSecret *string `json:"sign_secret,omitempty"`

	Name string `json:"name"`

	SignKey *string `json:"sign_key,omitempty"`

	SignType *SignatureReqSignType `json:"sign_type,omitempty"`
}

func (SignatureReq) String

func (o SignatureReq) String() string

type SignatureReqSignType

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

func (SignatureReqSignType) MarshalJSON

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

func (*SignatureReqSignType) UnmarshalJSON

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

type SignatureReqSignTypeEnum

type SignatureReqSignTypeEnum struct {
	HMAC  SignatureReqSignType
	BASIC SignatureReqSignType
}

func GetSignatureReqSignTypeEnum

func GetSignatureReqSignTypeEnum() SignatureReqSignTypeEnum

type ThrottleBindingApiResp

type ThrottleBindingApiResp struct {
	AuthType *string `json:"auth_type,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	PublishId *string `json:"publish_id,omitempty"`

	ThrottleApplyId *string `json:"throttle_apply_id,omitempty"`

	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	Remark *string `json:"remark,omitempty"`

	RunEnvId *string `json:"run_env_id,omitempty"`

	Type *int32 `json:"type,omitempty"`

	ThrottleName *string `json:"throttle_name,omitempty"`

	ReqUri *string `json:"req_uri,omitempty"`

	RunEnvName *string `json:"run_env_name,omitempty"`

	GroupId *string `json:"group_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Id *string `json:"id,omitempty"`
}

func (ThrottleBindingApiResp) String

func (o ThrottleBindingApiResp) String() string

type ThrottleBindingBatchDelete

type ThrottleBindingBatchDelete struct {
	ThrottleBindings *[]string `json:"throttle_bindings,omitempty"`
}

func (ThrottleBindingBatchDelete) String

type ThrottleBindingBatchResultFailureResp

type ThrottleBindingBatchResultFailureResp struct {
	BindId *string `json:"bind_id,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`

	ApiId *string `json:"api_id,omitempty"`

	ApiName *string `json:"api_name,omitempty"`
}

func (ThrottleBindingBatchResultFailureResp) String

type ThrottleBindingReq

type ThrottleBindingReq struct {
	StrategyId string `json:"strategy_id"`

	PublishIds []string `json:"publish_ids"`
}

func (ThrottleBindingReq) String

func (o ThrottleBindingReq) String() string

type ThrottleBindingResp

type ThrottleBindingResp struct {
	PublishId *string `json:"publish_id,omitempty"`

	Scope *int32 `json:"scope,omitempty"`

	StrategyId *string `json:"strategy_id,omitempty"`

	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	Id *string `json:"id,omitempty"`
}

func (ThrottleBindingResp) String

func (o ThrottleBindingResp) String() string

type ThrottleBindingThrottleResp

type ThrottleBindingThrottleResp struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	ApiCallLimits *int32 `json:"api_call_limits,omitempty"`

	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	TimeInterval *int32 `json:"time_interval,omitempty"`

	TimeUnit *string `json:"time_unit,omitempty"`

	Remark *string `json:"remark,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	IsIncludeSpecialThrottle *int32 `json:"is_include_special_throttle,omitempty"`

	EnvName *string `json:"env_name,omitempty"`

	Type *int32 `json:"type,omitempty"`

	BindId *string `json:"bind_id,omitempty"`

	BindTime *sdktime.SdkTime `json:"bind_time,omitempty"`

	BindNum *int32 `json:"bind_num,omitempty"`

	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`
}

func (ThrottleBindingThrottleResp) String

type ThrottleReq

type ThrottleReq struct {
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	Name string `json:"name"`

	TimeUnit ThrottleReqTimeUnit `json:"time_unit"`

	Remark *string `json:"remark,omitempty"`

	ApiCallLimits int32 `json:"api_call_limits"`

	Type *int32 `json:"type,omitempty"`

	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	TimeInterval int32 `json:"time_interval"`

	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`
}

func (ThrottleReq) String

func (o ThrottleReq) String() string

type ThrottleReqTimeUnit

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

func (ThrottleReqTimeUnit) MarshalJSON

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

func (*ThrottleReqTimeUnit) UnmarshalJSON

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

type ThrottleReqTimeUnitEnum

type ThrottleReqTimeUnitEnum struct {
	SECOND ThrottleReqTimeUnit
	MINUTE ThrottleReqTimeUnit
	HOUR   ThrottleReqTimeUnit
	DAY    ThrottleReqTimeUnit
}

func GetThrottleReqTimeUnitEnum

func GetThrottleReqTimeUnitEnum() ThrottleReqTimeUnitEnum

type ThrottleResp

type ThrottleResp struct {
	BindNum *int32 `json:"bind_num,omitempty"`

	IsIncludeSpecialThrottle *int32 `json:"is_include_special_throttle,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Type *int32 `json:"type,omitempty"`

	TimeInterval *int32 `json:"time_interval,omitempty"`

	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	Name *string `json:"name,omitempty"`

	TimeUnit *ThrottleRespTimeUnit `json:"time_unit,omitempty"`

	ApiCallLimits *int32 `json:"api_call_limits,omitempty"`

	Id *string `json:"id,omitempty"`

	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`
}

func (ThrottleResp) String

func (o ThrottleResp) String() string

type ThrottleRespTimeUnit

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

func (ThrottleRespTimeUnit) MarshalJSON

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

func (*ThrottleRespTimeUnit) UnmarshalJSON

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

type ThrottleRespTimeUnitEnum

type ThrottleRespTimeUnitEnum struct {
	SECOND ThrottleRespTimeUnit
	MINUTE ThrottleRespTimeUnit
	HOUR   ThrottleRespTimeUnit
	DAY    ThrottleRespTimeUnit
}

func GetThrottleRespTimeUnitEnum

func GetThrottleRespTimeUnitEnum() ThrottleRespTimeUnitEnum

type ThrottleSpecialReq

type ThrottleSpecialReq struct {
	CallLimits int32 `json:"call_limits"`

	ObjectId string `json:"object_id"`

	ObjectType ThrottleSpecialReqObjectType `json:"object_type"`
}

func (ThrottleSpecialReq) String

func (o ThrottleSpecialReq) String() string

type ThrottleSpecialReqObjectType

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

func (ThrottleSpecialReqObjectType) MarshalJSON

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

func (*ThrottleSpecialReqObjectType) UnmarshalJSON

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

type ThrottleSpecialReqObjectTypeEnum

type ThrottleSpecialReqObjectTypeEnum struct {
	APP  ThrottleSpecialReqObjectType
	USER ThrottleSpecialReqObjectType
}

func GetThrottleSpecialReqObjectTypeEnum

func GetThrottleSpecialReqObjectTypeEnum() ThrottleSpecialReqObjectTypeEnum

type ThrottleSpecialResp

type ThrottleSpecialResp struct {
	CallLimits *int32 `json:"call_limits,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	ObjectName *string `json:"object_name,omitempty"`

	ObjectId *string `json:"object_id,omitempty"`

	ThrottleId *string `json:"throttle_id,omitempty"`

	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	Id *string `json:"id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	ObjectType *string `json:"object_type,omitempty"`
}

func (ThrottleSpecialResp) String

func (o ThrottleSpecialResp) String() string

type ThrottleSpecialUpdateReq

type ThrottleSpecialUpdateReq struct {
	CallLimits int32 `json:"call_limits"`
}

func (ThrottleSpecialUpdateReq) String

func (o ThrottleSpecialUpdateReq) String() string

type UpdateApiGroupV2Request

type UpdateApiGroupV2Request struct {
	InstanceId string `json:"instance_id"`

	GroupId string `json:"group_id"`

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

Request Object

func (UpdateApiGroupV2Request) String

func (o UpdateApiGroupV2Request) String() string

type UpdateApiGroupV2Response

type UpdateApiGroupV2Response struct {
	UrlDomains *[]UrlDomainsResp `json:"url_domains,omitempty"`

	CallLimits *int32 `json:"call_limits,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	Name *string `json:"name,omitempty"`

	TimeUnit *string `json:"time_unit,omitempty"`

	OnSellStatus *int32 `json:"on_sell_status,omitempty"`

	Remark *string `json:"remark,omitempty"`

	SlDomain *string `json:"sl_domain,omitempty"`

	SlDomains *[]string `json:"sl_domains,omitempty"`

	Id *string `json:"id,omitempty"`

	TimeInterval *int32 `json:"time_interval,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	IsDefault      *int32 `json:"is_default,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateApiGroupV2Response) String

func (o UpdateApiGroupV2Response) String() string

type UpdateApiV2Request

type UpdateApiV2Request struct {
	InstanceId string `json:"instance_id"`

	ApiId string `json:"api_id"`

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

Request Object

func (UpdateApiV2Request) String

func (o UpdateApiV2Request) String() string

type UpdateApiV2Response

type UpdateApiV2Response struct {
	Name string `json:"name"`

	Type int32 `json:"type"`

	Version *string `json:"version,omitempty"`

	ReqProtocol UpdateApiV2ResponseReqProtocol `json:"req_protocol"`

	ReqMethod UpdateApiV2ResponseReqMethod `json:"req_method"`

	ReqUri string `json:"req_uri"`

	AuthType UpdateApiV2ResponseAuthType `json:"auth_type"`

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

	Cors *bool `json:"cors,omitempty"`

	MatchMode *UpdateApiV2ResponseMatchMode `json:"match_mode,omitempty"`

	BackendType UpdateApiV2ResponseBackendType `json:"backend_type"`

	Remark *string `json:"remark,omitempty"`

	GroupId string `json:"group_id"`

	BodyRemark *string `json:"body_remark,omitempty"`

	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	AuthorizerId *string `json:"authorizer_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	ResponseId *string `json:"response_id,omitempty"`

	RomaAppId *string `json:"roma_app_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Tag *string `json:"tag,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int32 `json:"status,omitempty"`

	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	GroupVersion *string `json:"group_version,omitempty"`

	RunEnvId *string `json:"run_env_id,omitempty"`

	RunEnvName *string `json:"run_env_name,omitempty"`

	PublishId *string `json:"publish_id,omitempty"`

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

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

	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

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

	PolicyHttps    *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

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

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

type UpdateApiV2ResponseBackendTypeEnum

type UpdateApiV2ResponseBackendTypeEnum struct {
	HTTP     UpdateApiV2ResponseBackendType
	FUNCTION UpdateApiV2ResponseBackendType
	MOCK     UpdateApiV2ResponseBackendType
}

func GetUpdateApiV2ResponseBackendTypeEnum

func GetUpdateApiV2ResponseBackendTypeEnum() UpdateApiV2ResponseBackendTypeEnum

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

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

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

type UpdateAppV2Request

type UpdateAppV2Request struct {
	InstanceId string `json:"instance_id"`

	AppId string `json:"app_id"`

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

Request Object

func (UpdateAppV2Request) String

func (o UpdateAppV2Request) String() string

type UpdateAppV2Response

type UpdateAppV2Response struct {
	Creator *UpdateAppV2ResponseCreator `json:"creator,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	AppKey *string `json:"app_key,omitempty"`

	Name *string `json:"name,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Id *string `json:"id,omitempty"`

	AppSecret *string `json:"app_secret,omitempty"`

	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	Status *int32 `json:"status,omitempty"`

	AppType        *UpdateAppV2ResponseAppType `json:"app_type,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (UpdateAppV2Response) String

func (o UpdateAppV2Response) String() string

type UpdateAppV2ResponseAppType

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

func (UpdateAppV2ResponseAppType) MarshalJSON

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

func (*UpdateAppV2ResponseAppType) UnmarshalJSON

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

type UpdateAppV2ResponseAppTypeEnum

type UpdateAppV2ResponseAppTypeEnum struct {
	APIG UpdateAppV2ResponseAppType
	ROMA UpdateAppV2ResponseAppType
}

func GetUpdateAppV2ResponseAppTypeEnum

func GetUpdateAppV2ResponseAppTypeEnum() UpdateAppV2ResponseAppTypeEnum

type UpdateAppV2ResponseCreator

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

func (UpdateAppV2ResponseCreator) MarshalJSON

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

func (*UpdateAppV2ResponseCreator) UnmarshalJSON

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

type UpdateAppV2ResponseCreatorEnum

type UpdateAppV2ResponseCreatorEnum struct {
	USER   UpdateAppV2ResponseCreator
	MARKET UpdateAppV2ResponseCreator
}

func GetUpdateAppV2ResponseCreatorEnum

func GetUpdateAppV2ResponseCreatorEnum() UpdateAppV2ResponseCreatorEnum

type UpdateDomainV2Request added in v0.0.49

type UpdateDomainV2Request struct {
	InstanceId string `json:"instance_id"`

	GroupId string `json:"group_id"`

	DomainId string `json:"domain_id"`

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

Request Object

func (UpdateDomainV2Request) String added in v0.0.49

func (o UpdateDomainV2Request) String() string

type UpdateDomainV2Response added in v0.0.49

type UpdateDomainV2Response struct {
	UrlDomain *string `json:"url_domain,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *int32 `json:"status,omitempty"`

	MinSslVersion  *string `json:"min_ssl_version,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateDomainV2Response) String added in v0.0.49

func (o UpdateDomainV2Response) String() string

type UpdateEnvironmentV2Request

type UpdateEnvironmentV2Request struct {
	InstanceId string `json:"instance_id"`

	EnvId string `json:"env_id"`

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

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:"-"`
}

Response Object

func (UpdateEnvironmentV2Response) String

type UpdateRequestThrottlingPolicyV2Request

type UpdateRequestThrottlingPolicyV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleId string `json:"throttle_id"`

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

Request Object

func (UpdateRequestThrottlingPolicyV2Request) String

type UpdateRequestThrottlingPolicyV2Response

type UpdateRequestThrottlingPolicyV2Response struct {
	BindNum *int32 `json:"bind_num,omitempty"`

	IsIncludeSpecialThrottle *int32 `json:"is_include_special_throttle,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	Remark *string `json:"remark,omitempty"`

	Type *int32 `json:"type,omitempty"`

	TimeInterval *int32 `json:"time_interval,omitempty"`

	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	Name *string `json:"name,omitempty"`

	TimeUnit *UpdateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit,omitempty"`

	ApiCallLimits *int32 `json:"api_call_limits,omitempty"`

	Id *string `json:"id,omitempty"`

	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`
	HttpStatusCode        int     `json:"-"`
}

Response Object

func (UpdateRequestThrottlingPolicyV2Response) String

type UpdateRequestThrottlingPolicyV2ResponseTimeUnit

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

func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*UpdateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

type UpdateSignatureKeyV2Request

type UpdateSignatureKeyV2Request struct {
	InstanceId string `json:"instance_id"`

	SignId string `json:"sign_id"`

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

Request Object

func (UpdateSignatureKeyV2Request) String

type UpdateSignatureKeyV2Response

type UpdateSignatureKeyV2Response struct {
	SignSecret *string `json:"sign_secret,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	Name *string `json:"name,omitempty"`

	Id *string `json:"id,omitempty"`

	SignKey *string `json:"sign_key,omitempty"`

	SignType       *UpdateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"`
	HttpStatusCode int                                   `json:"-"`
}

Response Object

func (UpdateSignatureKeyV2Response) String

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

type UpdateSignatureKeyV2ResponseSignTypeEnum

type UpdateSignatureKeyV2ResponseSignTypeEnum struct {
	HMAC  UpdateSignatureKeyV2ResponseSignType
	BASIC UpdateSignatureKeyV2ResponseSignType
}

func GetUpdateSignatureKeyV2ResponseSignTypeEnum

func GetUpdateSignatureKeyV2ResponseSignTypeEnum() UpdateSignatureKeyV2ResponseSignTypeEnum

type UpdateSpecialThrottlingConfigurationV2Request

type UpdateSpecialThrottlingConfigurationV2Request struct {
	InstanceId string `json:"instance_id"`

	ThrottleId string `json:"throttle_id"`

	StrategyId string `json:"strategy_id"`

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

Request Object

func (UpdateSpecialThrottlingConfigurationV2Request) String

type UpdateSpecialThrottlingConfigurationV2Response

type UpdateSpecialThrottlingConfigurationV2Response struct {
	CallLimits *int32 `json:"call_limits,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	ObjectName *string `json:"object_name,omitempty"`

	ObjectId *string `json:"object_id,omitempty"`

	ThrottleId *string `json:"throttle_id,omitempty"`

	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	Id *string `json:"id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	ObjectType     *string `json:"object_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateSpecialThrottlingConfigurationV2Response) String

type UrlDomainBase added in v0.0.49

type UrlDomainBase struct {
	MinSslVersion *UrlDomainBaseMinSslVersion `json:"min_ssl_version,omitempty"`
}

func (UrlDomainBase) String added in v0.0.49

func (o UrlDomainBase) String() string

type UrlDomainBaseInfo added in v0.0.49

type UrlDomainBaseInfo struct {
	UrlDomain string `json:"url_domain"`

	Id string `json:"id"`

	Status int32 `json:"status"`

	MinSslVersion string `json:"min_ssl_version"`
}

func (UrlDomainBaseInfo) String added in v0.0.49

func (o UrlDomainBaseInfo) String() string

type UrlDomainBaseMinSslVersion added in v0.0.49

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

func (UrlDomainBaseMinSslVersion) MarshalJSON added in v0.0.49

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

func (*UrlDomainBaseMinSslVersion) UnmarshalJSON added in v0.0.49

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

type UrlDomainBaseMinSslVersionEnum added in v0.0.49

type UrlDomainBaseMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainBaseMinSslVersion
	TL_SV1_2 UrlDomainBaseMinSslVersion
}

func GetUrlDomainBaseMinSslVersionEnum added in v0.0.49

func GetUrlDomainBaseMinSslVersionEnum() UrlDomainBaseMinSslVersionEnum

type UrlDomainCreate added in v0.0.49

type UrlDomainCreate struct {
	MinSslVersion *UrlDomainCreateMinSslVersion `json:"min_ssl_version,omitempty"`

	UrlDomain *string `json:"url_domain,omitempty"`
}

func (UrlDomainCreate) String added in v0.0.49

func (o UrlDomainCreate) String() string

type UrlDomainCreateMinSslVersion added in v0.0.49

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

func (UrlDomainCreateMinSslVersion) MarshalJSON added in v0.0.49

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

func (*UrlDomainCreateMinSslVersion) UnmarshalJSON added in v0.0.49

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

type UrlDomainCreateMinSslVersionEnum added in v0.0.49

type UrlDomainCreateMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainCreateMinSslVersion
	TL_SV1_2 UrlDomainCreateMinSslVersion
}

func GetUrlDomainCreateMinSslVersionEnum added in v0.0.49

func GetUrlDomainCreateMinSslVersionEnum() UrlDomainCreateMinSslVersionEnum

type UrlDomainModify added in v0.0.49

type UrlDomainModify struct {
	MinSslVersion UrlDomainModifyMinSslVersion `json:"min_ssl_version"`
}

func (UrlDomainModify) String added in v0.0.49

func (o UrlDomainModify) String() string

type UrlDomainModifyMinSslVersion added in v0.0.49

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

func (UrlDomainModifyMinSslVersion) MarshalJSON added in v0.0.49

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

func (*UrlDomainModifyMinSslVersion) UnmarshalJSON added in v0.0.49

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

type UrlDomainModifyMinSslVersionEnum added in v0.0.49

type UrlDomainModifyMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainModifyMinSslVersion
	TL_SV1_2 UrlDomainModifyMinSslVersion
}

func GetUrlDomainModifyMinSslVersionEnum added in v0.0.49

func GetUrlDomainModifyMinSslVersionEnum() UrlDomainModifyMinSslVersionEnum

type UrlDomainsResp

type UrlDomainsResp struct {
	Id *string `json:"id,omitempty"`

	Domain *string `json:"domain,omitempty"`

	CnameStatus *int32 `json:"cname_status,omitempty"`

	SslId *string `json:"ssl_id,omitempty"`

	SslName *string `json:"ssl_name,omitempty"`

	MinSslVersion *UrlDomainsRespMinSslVersion `json:"min_ssl_version,omitempty"`
}

func (UrlDomainsResp) String

func (o UrlDomainsResp) String() string

type UrlDomainsRespMinSslVersion added in v0.0.49

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

func (UrlDomainsRespMinSslVersion) MarshalJSON added in v0.0.49

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

func (*UrlDomainsRespMinSslVersion) UnmarshalJSON added in v0.0.49

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

type UrlDomainsRespMinSslVersionEnum added in v0.0.49

type UrlDomainsRespMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainsRespMinSslVersion
	TL_SV1_2 UrlDomainsRespMinSslVersion
}

func GetUrlDomainsRespMinSslVersionEnum added in v0.0.49

func GetUrlDomainsRespMinSslVersionEnum() UrlDomainsRespMinSslVersionEnum

type VpcBaseInfo

type VpcBaseInfo struct {
	EcsId *string `json:"ecs_id,omitempty"`

	EcsName *int32 `json:"ecs_name,omitempty"`

	CascadeFlag *bool `json:"cascade_flag,omitempty"`
}

func (VpcBaseInfo) String

func (o VpcBaseInfo) String() string

type VpcInfo

type VpcInfo struct {
	EcsId *string `json:"ecs_id,omitempty"`

	EcsName *int32 `json:"ecs_name,omitempty"`

	CascadeFlag *bool `json:"cascade_flag,omitempty"`

	VpcChannelProxyHost *string `json:"vpc_channel_proxy_host,omitempty"`

	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	VpcChannelPort *string `json:"vpc_channel_port,omitempty"`
}

VPC通道详情。如果vpc_channel_status = 1,则这个object类型为必填信息

func (VpcInfo) String

func (o VpcInfo) String() string

Source Files

Jump to

Keyboard shortcuts

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