Documentation ¶
Index ¶
- type AclApiBindingCreate
- type AclApiBindingInfo
- type AclBatchDelete
- type AclBatchFailure
- type AclBindApiInfo
- type AclBindingBatchDelete
- type AclBindingBatchFailure
- type AddSubsetsToGatewayRequest
- type AddSubsetsToGatewayRequestBody
- type AddSubsetsToGatewayResponse
- type AddUserToApp
- type AddUserToAppRequest
- type AddUserToAppResponse
- type AddingBackendInstancesV2Request
- type AddingBackendInstancesV2Response
- type ApiAclCreate
- type ApiAclInfoWithBindNum
- type ApiActionInfo
- type ApiActionInfoAction
- type ApiActionInfoActionEnum
- type ApiAuthBase
- type ApiAuthBaseAppType
- type ApiAuthBaseAppTypeEnum
- type ApiAuthBaseAuthTunnel
- type ApiAuthBaseAuthTunnelEnum
- type ApiAuthCreate
- type ApiAuthDetail
- type ApiAuthDetailAppAuthType
- type ApiAuthDetailAppAuthTypeEnum
- type ApiAuthDetailAuthMethod
- type ApiAuthDetailAuthMethodEnum
- type ApiAuthInfo
- type ApiAuthInfoAppType
- type ApiAuthInfoAppTypeEnum
- type ApiAuthInfoAuthTunnel
- type ApiAuthInfoAuthTunnelEnum
- type ApiAuthRelations
- type ApiAuthRelationsAuthRole
- type ApiAuthRelationsAuthRoleEnum
- type ApiAuthVisitParam
- type ApiBaseInfo
- type ApiBaseInfoAuthType
- type ApiBaseInfoAuthTypeEnum
- type ApiBaseInfoBackendType
- type ApiBaseInfoBackendTypeEnum
- type ApiBaseInfoContentType
- type ApiBaseInfoContentTypeEnum
- type ApiBaseInfoMatchMode
- type ApiBaseInfoMatchModeEnum
- type ApiBaseInfoReqMethod
- type ApiBaseInfoReqMethodEnum
- type ApiBaseInfoReqProtocol
- type ApiBaseInfoReqProtocolEnum
- type ApiBaseInfoType
- type ApiBaseInfoTypeEnum
- type ApiBatchPublish
- type ApiBindAclInfo
- type ApiBindAclInfoAclType
- type ApiBindAclInfoAclTypeEnum
- type ApiBindAclInfoEntityType
- type ApiBindAclInfoEntityTypeEnum
- type ApiCheckInfo
- type ApiCheckInfoMatchMode
- type ApiCheckInfoMatchModeEnum
- type ApiCheckInfoReqMethod
- type ApiCheckInfoReqMethodEnum
- type ApiCheckInfoV2
- type ApiCheckInfoV2MatchMode
- type ApiCheckInfoV2MatchModeEnum
- type ApiCheckInfoV2ReqMethod
- type ApiCheckInfoV2ReqMethodEnum
- type ApiCheckInfoV2Type
- type ApiCheckInfoV2TypeEnum
- type ApiCommon
- type ApiCommonAuthType
- type ApiCommonAuthTypeEnum
- type ApiCommonBackendType
- type ApiCommonBackendTypeEnum
- type ApiCommonContentType
- type ApiCommonContentTypeEnum
- type ApiCommonMatchMode
- type ApiCommonMatchModeEnum
- type ApiCommonReqMethod
- type ApiCommonReqMethodEnum
- type ApiCommonReqProtocol
- type ApiCommonReqProtocolEnum
- type ApiCommonStatus
- type ApiCommonStatusEnum
- type ApiCommonType
- type ApiCommonTypeEnum
- type ApiConditionBase
- type ApiConditionBaseConditionOrigin
- type ApiConditionBaseConditionOriginEnum
- type ApiConditionBaseConditionType
- type ApiConditionBaseConditionTypeEnum
- type ApiConditionBaseSysParamName
- type ApiConditionBaseSysParamNameEnum
- type ApiConditionCreate
- type ApiConditionCreateConditionOrigin
- type ApiConditionCreateConditionOriginEnum
- type ApiConditionCreateConditionType
- type ApiConditionCreateConditionTypeEnum
- type ApiConditionCreateSysParamName
- type ApiConditionCreateSysParamNameEnum
- type ApiCreate
- type ApiCreateAuthType
- type ApiCreateAuthTypeEnum
- type ApiCreateBackendType
- type ApiCreateBackendTypeEnum
- type ApiCreateBase
- type ApiCreateBaseAuthType
- type ApiCreateBaseAuthTypeEnum
- type ApiCreateBaseBackendType
- type ApiCreateBaseBackendTypeEnum
- type ApiCreateBaseContentType
- type ApiCreateBaseContentTypeEnum
- type ApiCreateBaseMatchMode
- type ApiCreateBaseMatchModeEnum
- type ApiCreateBaseReqMethod
- type ApiCreateBaseReqMethodEnum
- type ApiCreateBaseReqProtocol
- type ApiCreateBaseReqProtocolEnum
- type ApiCreateBaseType
- type ApiCreateBaseTypeEnum
- type ApiCreateContentType
- type ApiCreateContentTypeEnum
- type ApiCreateMatchMode
- type ApiCreateMatchModeEnum
- type ApiCreateReqMethod
- type ApiCreateReqMethodEnum
- type ApiCreateReqProtocol
- type ApiCreateReqProtocolEnum
- type ApiCreateType
- type ApiCreateTypeEnum
- type ApiDebugInfo
- type ApiDebugInfoMethod
- type ApiDebugInfoMethodEnum
- type ApiDuplicationInfo
- type ApiDuplicationInfoMatchMode
- type ApiDuplicationInfoMatchModeEnum
- type ApiDuplicationInfoReqMethod
- type ApiDuplicationInfoReqMethodEnum
- type ApiForSign
- type ApiForThrottle
- type ApiFunc
- type ApiFuncCreate
- type ApiFuncCreateInvocationType
- type ApiFuncCreateInvocationTypeEnum
- type ApiFuncInvocationType
- type ApiFuncInvocationTypeEnum
- type ApiFuncStatus
- type ApiFuncStatusEnum
- type ApiGroupBase
- type ApiGroupCheck
- type ApiGroupCommonInfo
- type ApiGroupCommonInfoStatus
- type ApiGroupCommonInfoStatusEnum
- type ApiGroupCreate
- type ApiGroupInfo
- type ApiGroupInfoStatus
- type ApiGroupInfoStatusEnum
- type ApiInfo
- type ApiInfoAuthType
- type ApiInfoAuthTypeEnum
- type ApiInfoBackendType
- type ApiInfoBackendTypeEnum
- type ApiInfoContentType
- type ApiInfoContentTypeEnum
- type ApiInfoMatchMode
- type ApiInfoMatchModeEnum
- type ApiInfoPerPage
- type ApiInfoPerPageAuthType
- type ApiInfoPerPageAuthTypeEnum
- type ApiInfoPerPageBackendType
- type ApiInfoPerPageBackendTypeEnum
- type ApiInfoPerPageContentType
- type ApiInfoPerPageContentTypeEnum
- type ApiInfoPerPageMatchMode
- type ApiInfoPerPageMatchModeEnum
- type ApiInfoPerPageReqMethod
- type ApiInfoPerPageReqMethodEnum
- type ApiInfoPerPageReqProtocol
- type ApiInfoPerPageReqProtocolEnum
- type ApiInfoPerPageStatus
- type ApiInfoPerPageStatusEnum
- type ApiInfoPerPageType
- type ApiInfoPerPageTypeEnum
- type ApiInfoReqMethod
- type ApiInfoReqMethodEnum
- type ApiInfoReqProtocol
- type ApiInfoReqProtocolEnum
- type ApiInfoStatus
- type ApiInfoStatusEnum
- type ApiInfoType
- type ApiInfoTypeEnum
- type ApiMock
- type ApiMockCreate
- type ApiMockCreateStatusCode
- type ApiMockCreateStatusCodeEnum
- type ApiMockStatus
- type ApiMockStatusCode
- type ApiMockStatusCodeEnum
- type ApiMockStatusEnum
- type ApiOutline
- type ApiPolicyFunctionBase
- type ApiPolicyFunctionBaseInvocationType
- type ApiPolicyFunctionBaseInvocationTypeEnum
- type ApiPolicyFunctionCreate
- type ApiPolicyFunctionCreateEffectMode
- type ApiPolicyFunctionCreateEffectModeEnum
- type ApiPolicyFunctionCreateInvocationType
- type ApiPolicyFunctionCreateInvocationTypeEnum
- type ApiPolicyFunctionResp
- type ApiPolicyFunctionRespEffectMode
- type ApiPolicyFunctionRespEffectModeEnum
- type ApiPolicyFunctionRespInvocationType
- type ApiPolicyFunctionRespInvocationTypeEnum
- type ApiPolicyHttpBase
- type ApiPolicyHttpBaseReqMethod
- type ApiPolicyHttpBaseReqMethodEnum
- type ApiPolicyHttpBaseReqProtocol
- type ApiPolicyHttpBaseReqProtocolEnum
- type ApiPolicyHttpCreate
- type ApiPolicyHttpCreateEffectMode
- type ApiPolicyHttpCreateEffectModeEnum
- type ApiPolicyHttpCreateReqMethod
- type ApiPolicyHttpCreateReqMethodEnum
- type ApiPolicyHttpCreateReqProtocol
- type ApiPolicyHttpCreateReqProtocolEnum
- type ApiPolicyHttpCreateVpcChannelStatus
- type ApiPolicyHttpCreateVpcChannelStatusEnum
- type ApiPolicyHttpResp
- type ApiPolicyHttpRespEffectMode
- type ApiPolicyHttpRespEffectModeEnum
- type ApiPolicyHttpRespReqMethod
- type ApiPolicyHttpRespReqMethodEnum
- type ApiPolicyHttpRespReqProtocol
- type ApiPolicyHttpRespReqProtocolEnum
- type ApiPolicyMockBase
- type ApiPolicyMockBaseStatusCode
- type ApiPolicyMockBaseStatusCodeEnum
- type ApiPolicyMockCreate
- type ApiPolicyMockCreateEffectMode
- type ApiPolicyMockCreateEffectModeEnum
- type ApiPolicyMockCreateStatusCode
- type ApiPolicyMockCreateStatusCodeEnum
- type ApiPolicyMockResp
- type ApiPolicyMockRespEffectMode
- type ApiPolicyMockRespEffectModeEnum
- type ApiPolicyMockRespStatusCode
- type ApiPolicyMockRespStatusCodeEnum
- type ApiPolicyReqBase
- type ApiPolicyReqBaseEffectMode
- type ApiPolicyReqBaseEffectModeEnum
- type ApiPolicyRespBase
- type ApiPolicyRespBaseEffectMode
- type ApiPolicyRespBaseEffectModeEnum
- type ApiRespBaseInfo
- type ApiRespBaseInfoAuthType
- type ApiRespBaseInfoAuthTypeEnum
- type ApiRespBaseInfoBackendType
- type ApiRespBaseInfoBackendTypeEnum
- type ApiRespBaseInfoContentType
- type ApiRespBaseInfoContentTypeEnum
- type ApiRespBaseInfoMatchMode
- type ApiRespBaseInfoMatchModeEnum
- type ApiRespBaseInfoReqMethod
- type ApiRespBaseInfoReqMethodEnum
- type ApiRespBaseInfoReqProtocol
- type ApiRespBaseInfoReqProtocolEnum
- type ApiRespBaseInfoStatus
- type ApiRespBaseInfoStatusEnum
- type ApiRespBaseInfoType
- type ApiRespBaseInfoTypeEnum
- type ApiVersion
- type ApiVersionResp
- type ApiVersionRespStatus
- type ApiVersionRespStatusEnum
- type AppAclCreate
- type AppBaseInfo
- type AppCodeBaseInfo
- type AppCodeCreate
- type AppConfigCreateRequestV2
- type AppConfigCreateRequestV2ConfigType
- type AppConfigCreateRequestV2ConfigTypeEnum
- type AppConfigInfoV2
- type AppConfigModifyRequestV2
- type AppConfigModifyRequestV2ConfigType
- type AppConfigModifyRequestV2ConfigTypeEnum
- type AppFavorite
- type AppId
- type AppInfo
- type AppInfoAppType
- type AppInfoAppTypeEnum
- type AppInfoCreator
- type AppInfoCreatorEnum
- type AppInfoStatus
- type AppInfoStatusEnum
- type AppInfoWithBindNum
- type AppInfoWithBindNumAppType
- type AppInfoWithBindNumAppTypeEnum
- type AppInfoWithBindNumCreator
- type AppInfoWithBindNumCreatorEnum
- type AppInfoWithBindNumStatus
- type AppInfoWithBindNumStatusEnum
- type AppKey
- type AppName
- type AppQuotaAppBinding
- type AppQuotaAppInfo
- type AppQuotaCreate
- type AppQuotaCreateTimeUnit
- type AppQuotaCreateTimeUnitEnum
- type AppQuotaInfo
- type AppQuotaInfoTimeUnit
- type AppQuotaInfoTimeUnitEnum
- type AppRemark
- type AppSecret
- type AppUsersUsers
- type AppUsersUsersRoles
- type AppUsersUsersRolesEnum
- type AssetExportRequest
- type AssetExportRequestApps
- type AssetExportRequestTasks
- type AssetExportTask
- type AssetJobReason
- type AssetJobReasonResourceType
- type AssetJobReasonResourceTypeEnum
- type AssetOperateRequest
- type AssetOperateRequestTasks
- type AssociateAppsForAppQuotaRequest
- type AssociateAppsForAppQuotaResponse
- type AssociateCertificateV2Request
- type AssociateCertificateV2Response
- type AssociateCertificateV2ResponseStatus
- type AssociateCertificateV2ResponseStatusEnum
- type AssociateDomainV2Request
- type AssociateDomainV2Response
- type AssociateDomainV2ResponseStatus
- type AssociateDomainV2ResponseStatusEnum
- type AssociateRequestThrottlingPolicyV2Request
- type AssociateRequestThrottlingPolicyV2Response
- type AssociateSignatureKeyV2Request
- type AssociateSignatureKeyV2Response
- type AuthOpt
- type AuthOptAppCodeAuthType
- type AuthOptAppCodeAuthTypeEnum
- type AuthResult
- type AuthResultStatus
- type AuthResultStatusEnum
- type Authentication
- type AuthorizerBase
- type AuthorizerBaseAuthorizerType
- type AuthorizerBaseAuthorizerTypeEnum
- type AuthorizerBaseType
- type AuthorizerBaseTypeEnum
- type AuthorizerCreate
- type AuthorizerCreateAuthorizerType
- type AuthorizerCreateAuthorizerTypeEnum
- type AuthorizerCreateType
- type AuthorizerCreateTypeEnum
- type AuthorizerResp
- type AuthorizerRespAuthorizerType
- type AuthorizerRespAuthorizerTypeEnum
- type AuthorizerRespType
- type AuthorizerRespTypeEnum
- type Backend
- type BackendApi
- type BackendApiBase
- type BackendApiBaseInfo
- type BackendApiBaseInfoReqMethod
- type BackendApiBaseInfoReqMethodEnum
- type BackendApiBaseInfoReqProtocol
- type BackendApiBaseInfoReqProtocolEnum
- type BackendApiBaseReqMethod
- type BackendApiBaseReqMethodEnum
- type BackendApiBaseReqProtocol
- type BackendApiBaseReqProtocolEnum
- type BackendApiBaseStatus
- type BackendApiBaseStatusEnum
- type BackendApiCreate
- type BackendApiCreateReqMethod
- type BackendApiCreateReqMethodEnum
- type BackendApiCreateReqProtocol
- type BackendApiCreateReqProtocolEnum
- type BackendApiCreateVpcChannelStatus
- type BackendApiCreateVpcChannelStatusEnum
- type BackendApiReqMethod
- type BackendApiReqMethodEnum
- type BackendApiReqProtocol
- type BackendApiReqProtocolEnum
- type BackendApiStatus
- type BackendApiStatusEnum
- type BackendLatencyStats
- type BackendParam
- type BackendParamBase
- type BackendParamBaseLocation
- type BackendParamBaseLocationEnum
- type BackendParamBaseOrigin
- type BackendParamBaseOriginEnum
- type BackendParamLocation
- type BackendParamLocationEnum
- type BackendParamOrigin
- type BackendParamOriginEnum
- type BasePage
- type BaseSignature
- type BaseSignatureSignAlgorithm
- type BaseSignatureSignAlgorithmEnum
- type BaseSignatureSignType
- type BaseSignatureSignTypeEnum
- type BatchAddDeviceToGroupRequest
- type BatchAddDeviceToGroupRequestBody
- type BatchAddDeviceToGroupResponse
- type BatchDeleteAclV2Request
- type BatchDeleteAclV2Response
- type BatchDeleteApiAclBindingV2Request
- type BatchDeleteApiAclBindingV2Response
- type BatchDeleteDevicesRequest
- type BatchDeleteDevicesRequestBody
- type BatchDeleteDevicesResponse
- type BatchDeleteMqsInstanceTopicReq
- type BatchDeleteMqsInstanceTopicRequest
- type BatchDeleteMqsInstanceTopicRespTopics
- type BatchDeleteMqsInstanceTopicResponse
- type BatchDeleteRulesRequest
- type BatchDeleteRulesRequestBody
- type BatchDeleteRulesResponse
- type BatchDisableMembersRequest
- type BatchDisableMembersResponse
- type BatchDisassociateThrottlingPolicyV2Request
- type BatchDisassociateThrottlingPolicyV2Response
- type BatchEnableMembersRequest
- type BatchEnableMembersResponse
- type BatchFailure
- type BatchFreezeDevicesRequest
- type BatchFreezeDevicesRequestBody
- type BatchFreezeDevicesResponse
- type BatchPublishOrOfflineApiV2Request
- type BatchPublishOrOfflineApiV2Response
- type BatchStartOrStopTasksRequest
- type BatchStartOrStopTasksResponse
- type BriefTaskRespBean
- type BriefTaskRespBeanStatus
- type BriefTaskRespBeanStatusEnum
- type BriefTaskRespBeanTaskType
- type BriefTaskRespBeanTaskTypeEnum
- type Calculation
- type CancelingAuthorizationV2Request
- type CancelingAuthorizationV2Response
- type CandidatesUser
- type CertForm
- type ChangeApiVersionV2Request
- type ChangeApiVersionV2Response
- type CheckApiGroupsV2Request
- type CheckApiGroupsV2Response
- type CheckApisV2Request
- type CheckApisV2Response
- type CheckAssetJobStatusRequest
- type CheckAssetJobStatusResponse
- type CheckAssetJobStatusResponseStatus
- type CheckAssetJobStatusResponseStatusEnum
- type CheckAssetJobStatusResponseType
- type CheckAssetJobStatusResponseTypeEnum
- type CheckAuthUsersOfAppRequest
- type CheckAuthUsersOfAppResponse
- type CheckCanAuthUsersOfAppRequest
- type CheckCanAuthUsersOfAppResponse
- type CheckDictionaryRequest
- type CheckDictionaryResponse
- type CheckLivedataApisV2Request
- type CheckLivedataApisV2Response
- type CheckRomaAppDetailsRequest
- type CheckRomaAppDetailsResponse
- type CheckRomaAppDetailsResponseRoles
- type CheckRomaAppDetailsResponseRolesEnum
- type CheckRomaAppSecretRequest
- type CheckRomaAppSecretResponse
- type CheckRomaInstanceListV2Request
- type CheckRomaInstanceListV2Response
- type ColumnInfo
- type Command
- type ConditionResp
- type ConditionRespConditionOrigin
- type ConditionRespConditionOriginEnum
- type ConditionRespConditionType
- type ConditionRespConditionTypeEnum
- type ConditionRespSysParamName
- type ConditionRespSysParamNameEnum
- type Config
- type ConfigConfigName
- type ConfigConfigNameEnum
- type ConfigOutline
- type ConfigOutlineConfigName
- type ConfigOutlineConfigNameEnum
- type Content
- type ContentApiMethod
- type ContentApiMethodEnum
- type ContentAuthMethod
- type ContentAuthMethodEnum
- type ContentCdcMode
- type ContentCdcModeEnum
- type ContentDisDataType
- type ContentDisDataTypeEnum
- type ContentDisSettingType
- type ContentDisSettingTypeEnum
- type ContentEncoding
- type ContentEncodingEnum
- type ContentFtpConnectMode
- type ContentFtpConnectModeEnum
- type ContentFtpProtocol
- type ContentFtpProtocolEnum
- type ContentGauss100Version
- type ContentGauss100VersionEnum
- type ContentHl7Position
- type ContentHl7PositionEnum
- type ContentKeyStoreFileType
- type ContentKeyStoreFileTypeEnum
- type ContentLdapSecurityAuthType
- type ContentLdapSecurityAuthTypeEnum
- type ContentMode
- type ContentModeEnum
- type ContentRabbitmqSslProtocol
- type ContentRabbitmqSslProtocolEnum
- type ContentSnmpNetworkProtocol
- type ContentSnmpNetworkProtocolEnum
- type ContentSnmpVersion
- type ContentSnmpVersionEnum
- type ContentSslAuthMethod
- type ContentSslAuthMethodEnum
- type ContentTrustStoreFileType
- type ContentTrustStoreFileTypeEnum
- type CountDevicesRequest
- type CountDevicesResponse
- type CountTasksRequest
- type CountTasksResponse
- type CreateAclStrategyV2Request
- type CreateAclStrategyV2Response
- type CreateApiAclBindingV2Request
- type CreateApiAclBindingV2Response
- type CreateApiGroupV2Request
- type CreateApiGroupV2Response
- type CreateApiGroupV2ResponseStatus
- type CreateApiGroupV2ResponseStatusEnum
- type CreateApiV2Request
- type CreateApiV2Response
- type CreateApiV2ResponseAuthType
- type CreateApiV2ResponseAuthTypeEnum
- type CreateApiV2ResponseBackendType
- type CreateApiV2ResponseBackendTypeEnum
- type CreateApiV2ResponseContentType
- type CreateApiV2ResponseContentTypeEnum
- type CreateApiV2ResponseMatchMode
- type CreateApiV2ResponseMatchModeEnum
- type CreateApiV2ResponseReqMethod
- type CreateApiV2ResponseReqMethodEnum
- type CreateApiV2ResponseReqProtocol
- type CreateApiV2ResponseReqProtocolEnum
- type CreateApiV2ResponseStatus
- type CreateApiV2ResponseStatusEnum
- type CreateApiV2ResponseType
- type CreateApiV2ResponseTypeEnum
- type CreateAppCodeAutoV2Request
- type CreateAppCodeAutoV2Response
- type CreateAppCodeV2Request
- type CreateAppCodeV2Response
- type CreateAppConfigV2Request
- type CreateAppConfigV2Response
- type CreateAppQuotaBindingApp
- type CreateAppQuotaRequest
- type CreateAppQuotaResponse
- type CreateAppQuotaResponseTimeUnit
- type CreateAppQuotaResponseTimeUnitEnum
- type CreateAppReq
- type CreateAuthorizingAppsV2Request
- type CreateAuthorizingAppsV2Response
- type CreateCommandRequest
- type CreateCommandRequestBody
- type CreateCommandResponse
- type CreateCommonTaskRequest
- type CreateCommonTaskRequestBody
- type CreateCommonTaskResponse
- type CreateCustomAuthorizerV2Request
- type CreateCustomAuthorizerV2Response
- type CreateCustomAuthorizerV2ResponseAuthorizerType
- type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum
- type CreateCustomAuthorizerV2ResponseType
- type CreateCustomAuthorizerV2ResponseTypeEnum
- type CreateDatasourceInfoRequest
- type CreateDatasourceInfoResponse
- type CreateDatasourceInfoResponseAppPermission
- type CreateDatasourceInfoResponseAppPermissionEnum
- type CreateDatasourceInfoResponseDatasourceType
- type CreateDatasourceInfoResponseDatasourceTypeEnum
- type CreateDestinationRequest
- type CreateDestinationRequestBody
- type CreateDestinationRequestBodyDestinationType
- type CreateDestinationRequestBodyDestinationTypeEnum
- type CreateDestinationResponse
- type CreateDestinationResponseDestinationType
- type CreateDestinationResponseDestinationTypeEnum
- type CreateDeviceGroupRequest
- type CreateDeviceGroupRequestBody
- type CreateDeviceGroupResponse
- type CreateDeviceRequest
- type CreateDeviceRequestBody
- type CreateDeviceRequestBodyStatus
- type CreateDeviceRequestBodyStatusEnum
- type CreateDeviceResponse
- type CreateDeviceResponseDeviceType
- type CreateDeviceResponseDeviceTypeEnum
- type CreateDeviceResponseOnlineStatus
- type CreateDeviceResponseOnlineStatusEnum
- type CreateDeviceResponsePluginId
- type CreateDeviceResponsePluginIdEnum
- type CreateDeviceResponseStatus
- type CreateDeviceResponseStatusEnum
- type CreateDictionary
- type CreateDictionaryRequest
- type CreateDictionaryResponse
- type CreateDispatchesRequest
- type CreateDispatchesResponse
- type CreateDispatchesResponsePeriod
- type CreateDispatchesResponsePeriodEnum
- type CreateEnvironmentV2Request
- type CreateEnvironmentV2Response
- type CreateEnvironmentVariableV2Request
- type CreateEnvironmentVariableV2Response
- type CreateFeatureV2Request
- type CreateFeatureV2Response
- type CreateFeatureV2ResponseName
- type CreateFeatureV2ResponseNameEnum
- type CreateLiveDataApiScriptV2Request
- type CreateLiveDataApiScriptV2Response
- type CreateLiveDataApiScriptV2ResponseContentType
- type CreateLiveDataApiScriptV2ResponseContentTypeEnum
- type CreateLiveDataApiScriptV2ResponseMethod
- type CreateLiveDataApiScriptV2ResponseMethodEnum
- type CreateLiveDataApiScriptV2ResponseStatus
- type CreateLiveDataApiScriptV2ResponseStatusEnum
- type CreateLiveDataApiScriptV2ResponseType
- type CreateLiveDataApiScriptV2ResponseTypeEnum
- type CreateLiveDataApiV2Request
- type CreateLiveDataApiV2Response
- type CreateLiveDataApiV2ResponseContentType
- type CreateLiveDataApiV2ResponseContentTypeEnum
- type CreateLiveDataApiV2ResponseMethod
- type CreateLiveDataApiV2ResponseMethodEnum
- type CreateLiveDataApiV2ResponseStatus
- type CreateLiveDataApiV2ResponseStatusEnum
- type CreateLiveDataApiV2ResponseType
- type CreateLiveDataApiV2ResponseTypeEnum
- type CreateMemberGroupRequest
- type CreateMemberGroupResponse
- type CreateMqsInstanceTopicReq
- type CreateMqsInstanceTopicReqAccessPolicy
- type CreateMqsInstanceTopicReqAccessPolicyEnum
- type CreateMqsInstanceTopicRequest
- type CreateMqsInstanceTopicResponse
- type CreateMultiTaskMappingsRequest
- type CreateMultiTaskMappingsResponse
- type CreateMultiTasksRequest
- type CreateMultiTasksResponse
- type CreateNotificationRequest
- type CreateNotificationRequestBody
- type CreateNotificationRequestBodyStatus
- type CreateNotificationRequestBodyStatusEnum
- type CreateNotificationRequestBodyType
- type CreateNotificationRequestBodyTypeEnum
- type CreateNotificationResponse
- type CreateNotificationResponseStatus
- type CreateNotificationResponseStatusEnum
- type CreateNotificationResponseType
- type CreateNotificationResponseTypeEnum
- type CreateOrDeletePublishRecordForApiV2Request
- type CreateOrDeletePublishRecordForApiV2Response
- type CreateProductRequest
- type CreateProductRequestBody
- type CreateProductRequestBodyDataFormat
- type CreateProductRequestBodyDataFormatEnum
- type CreateProductRequestBodyProductType
- type CreateProductRequestBodyProductTypeEnum
- type CreateProductRequestBodyProtocolType
- type CreateProductRequestBodyProtocolTypeEnum
- type CreateProductResponse
- type CreateProductResponseProductType
- type CreateProductResponseProductTypeEnum
- type CreateProductResponseProtocolType
- type CreateProductResponseProtocolTypeEnum
- type CreateProductTemplateRequest
- type CreateProductTemplateRequestBody
- type CreateProductTemplateRequestBodyStatus
- type CreateProductTemplateRequestBodyStatusEnum
- type CreateProductTemplateResponse
- type CreateProductTemplateResponseStatus
- type CreateProductTemplateResponseStatusEnum
- type CreateProductTopicRequest
- type CreateProductTopicRequestBody
- type CreateProductTopicRequestBodyPermission
- type CreateProductTopicRequestBodyPermissionEnum
- type CreateProductTopicResponse
- type CreateProductTopicResponsePermission
- type CreateProductTopicResponsePermissionEnum
- type CreateProjectVpcChannelRequest
- type CreateProjectVpcChannelResponse
- type CreateProjectVpcChannelSyncsRequest
- type CreateProjectVpcChannelSyncsResponse
- type CreatePropertyRequest
- type CreatePropertyRequestBody
- type CreatePropertyRequestBodyDataType
- type CreatePropertyRequestBodyDataTypeEnum
- type CreatePropertyRequestBodyRequired
- type CreatePropertyRequestBodyRequiredEnum
- type CreatePropertyResponse
- type CreatePropertyResponseDataType
- type CreatePropertyResponseDataTypeEnum
- type CreatePropertyResponseRequired
- type CreatePropertyResponseRequiredEnum
- type CreateRequestPropertyRequest
- type CreateRequestPropertyResponse
- type CreateRequestPropertyResponseDataType
- type CreateRequestPropertyResponseDataTypeEnum
- type CreateRequestPropertyResponseRequired
- type CreateRequestPropertyResponseRequiredEnum
- type CreateRequestThrottlingPolicyV2Request
- type CreateRequestThrottlingPolicyV2Response
- type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
- type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
- type CreateRequestThrottlingPolicyV2ResponseTimeUnit
- type CreateRequestThrottlingPolicyV2ResponseTimeUnitEnum
- type CreateRequestThrottlingPolicyV2ResponseType
- type CreateRequestThrottlingPolicyV2ResponseTypeEnum
- type CreateResponsePropertyRequest
- type CreateResponsePropertyResponse
- type CreateResponsePropertyResponseDataType
- type CreateResponsePropertyResponseDataTypeEnum
- type CreateResponsePropertyResponseRequired
- type CreateResponsePropertyResponseRequiredEnum
- type CreateRomaAppRequest
- type CreateRomaAppResponse
- type CreateRomaAppResponseRoles
- type CreateRomaAppResponseRolesEnum
- type CreateRuleRequest
- type CreateRuleRequestBody
- type CreateRuleRequestBodyDataParsingStatus
- type CreateRuleRequestBodyDataParsingStatusEnum
- type CreateRuleRequestBodyStatus
- type CreateRuleRequestBodyStatusEnum
- type CreateRuleResponse
- type CreateRuleResponseDataParsingStatus
- type CreateRuleResponseDataParsingStatusEnum
- type CreateRuleResponseStatus
- type CreateRuleResponseStatusEnum
- type CreateServiceRequest
- type CreateServiceRequestBody
- type CreateServiceRequestBodyStatus
- type CreateServiceRequestBodyStatusEnum
- type CreateServiceResponse
- type CreateServiceResponseStatus
- type CreateServiceResponseStatusEnum
- type CreateSignatureKeyV2Request
- type CreateSignatureKeyV2Response
- type CreateSignatureKeyV2ResponseSignAlgorithm
- type CreateSignatureKeyV2ResponseSignAlgorithmEnum
- type CreateSignatureKeyV2ResponseSignType
- type CreateSignatureKeyV2ResponseSignTypeEnum
- type CreateSourceRequest
- type CreateSourceRequestBody
- type CreateSourceRequestBodyContainDeviceInfo
- type CreateSourceRequestBodyContainDeviceInfoEnum
- type CreateSourceRequestBodyIsBase64
- type CreateSourceRequestBodyIsBase64Enum
- type CreateSourceResponse
- type CreateSourceResponseContainDeviceInfo
- type CreateSourceResponseContainDeviceInfoEnum
- type CreateSourceResponseIsBase64
- type CreateSourceResponseIsBase64Enum
- type CreateSpecialThrottlingConfigurationV2Request
- type CreateSpecialThrottlingConfigurationV2Response
- type CreateVpcChannelV2Request
- type CreateVpcChannelV2Response
- type CreateVpcChannelV2ResponseBalanceStrategy
- type CreateVpcChannelV2ResponseBalanceStrategyEnum
- type CreateVpcChannelV2ResponseMemberType
- type CreateVpcChannelV2ResponseMemberTypeEnum
- type CreateVpcChannelV2ResponseStatus
- type CreateVpcChannelV2ResponseStatusEnum
- type CreatedUser
- type DataSourceRsp
- type DataSourceRspAppPermission
- type DataSourceRspAppPermissionEnum
- type DataSourceRspDatasourceType
- type DataSourceRspDatasourceTypeEnum
- type DatasourceInfo
- type DatasourceInfoDatasourceType
- type DatasourceInfoDatasourceTypeEnum
- type DebugApiV2Request
- type DebugApiV2Response
- type DebugLiveDataApiV2Request
- type DebugLiveDataApiV2Response
- type DebugRuleRequest
- type DebugRuleRequestBody
- type DebugRuleResponse
- type DeleteAclV2Request
- type DeleteAclV2Response
- type DeleteApiAclBindingV2Request
- type DeleteApiAclBindingV2Response
- type DeleteApiByVersionIdV2Request
- type DeleteApiByVersionIdV2Response
- type DeleteApiGroupV2Request
- type DeleteApiGroupV2Response
- type DeleteApiV2Request
- type DeleteApiV2Response
- type DeleteAppAclRequest
- type DeleteAppAclResponse
- type DeleteAppCodeV2Request
- type DeleteAppCodeV2Response
- type DeleteAppConfigV2Request
- type DeleteAppConfigV2Response
- type DeleteAppQuotaRequest
- type DeleteAppQuotaResponse
- type DeleteAssetRequest
- type DeleteAssetResponse
- type DeleteBackendInstanceV2Request
- type DeleteBackendInstanceV2Response
- type DeleteCommandRequest
- type DeleteCommandResponse
- type DeleteCustomAuthorizerV2Request
- type DeleteCustomAuthorizerV2Response
- type DeleteDatasourceInfoByIdRequest
- type DeleteDatasourceInfoByIdResponse
- type DeleteDestinationRequest
- type DeleteDestinationResponse
- type DeleteDeviceFromGroupRequest
- type DeleteDeviceFromGroupResponse
- type DeleteDeviceGroupRequest
- type DeleteDeviceGroupResponse
- type DeleteDeviceRequest
- type DeleteDeviceResponse
- type DeleteDictionaryRequest
- type DeleteDictionaryResponse
- type DeleteEnvironmentV2Request
- type DeleteEnvironmentV2Response
- type DeleteEnvironmentVariableV2Request
- type DeleteEnvironmentVariableV2Response
- type DeleteLiveDataApiV2Request
- type DeleteLiveDataApiV2Response
- type DeleteMemberGroupRequest
- type DeleteMemberGroupResponse
- type DeleteMqsInstanceTopicRequest
- type DeleteMqsInstanceTopicRespTopics
- type DeleteMqsInstanceTopicResponse
- type DeleteMultiTaskMappingRequest
- type DeleteMultiTaskMappingResponse
- type DeleteNotificationRequest
- type DeleteNotificationResponse
- type DeleteProductRequest
- type DeleteProductResponse
- type DeleteProductTemplateRequest
- type DeleteProductTemplateResponse
- type DeleteProductTopicRequest
- type DeleteProductTopicResponse
- type DeletePropertyRequest
- type DeletePropertyResponse
- type DeleteRequestPropertyRequest
- type DeleteRequestPropertyResponse
- type DeleteRequestThrottlingPolicyV2Request
- type DeleteRequestThrottlingPolicyV2Response
- type DeleteResponsePropertyRequest
- type DeleteResponsePropertyResponse
- type DeleteRomaAppRequest
- type DeleteRomaAppResponse
- type DeleteRuleRequest
- type DeleteRuleResponse
- type DeleteServiceRequest
- type DeleteServiceResponse
- type DeleteSignatureKeyV2Request
- type DeleteSignatureKeyV2Response
- type DeleteSourceRequest
- type DeleteSourceResponse
- type DeleteSpecialThrottlingConfigurationV2Request
- type DeleteSpecialThrottlingConfigurationV2Response
- type DeleteTaskRequest
- type DeleteTaskResponse
- type DeleteVpcChannelV2Request
- type DeleteVpcChannelV2Response
- type Destination
- type DestinationDestinationType
- type DestinationDestinationTypeEnum
- type Device
- type DeviceDeviceType
- type DeviceDeviceTypeEnum
- type DeviceInfoSimple
- type DeviceOnlineStatus
- type DeviceOnlineStatusEnum
- type DevicePluginId
- type DevicePluginIdEnum
- type DeviceStatus
- type DeviceStatusEnum
- type DevicesCalculation
- type DevicesInGroup
- type DevicesInGroupOnlineStatus
- type DevicesInGroupOnlineStatusEnum
- type DevicesInGroupStatus
- type DevicesInGroupStatusEnum
- type Dictionary
- type DictionaryCode
- type DictionaryExtendOne
- type DictionaryExtendTwo
- type DictionaryName
- type DictionaryOrder
- type DictionaryParent
- type DictionaryRemark
- type DictionaryType
- type DictionaryTypeEnum
- type DisassociateAppQuotaWithAppRequest
- type DisassociateAppQuotaWithAppResponse
- type DisassociateCertificateV2Request
- type DisassociateCertificateV2Response
- type DisassociateDomainV2Request
- type DisassociateDomainV2Response
- type DisassociateRequestThrottlingPolicyV2Request
- type DisassociateRequestThrottlingPolicyV2Response
- type DisassociateSignatureKeyV2Request
- type DisassociateSignatureKeyV2Response
- type DownloadAssetArchiveRequest
- type DownloadAssetArchiveResponse
- type DownloadProductsRequest
- type DownloadProductsResponse
- type DuplicateApiInfo
- type DuplicateApiInfoApiType
- type DuplicateApiInfoApiTypeEnum
- type EnvCreate
- type EnvInfo
- type EnvVariableBase
- type EnvVariableCreate
- type EnvVariableInfo
- type ExportApiDefinitionsV2Request
- type ExportApiDefinitionsV2Response
- type ExportAssetRequest
- type ExportAssetResponse
- type ExportLiveDataApiDefinitionsV2Request
- type ExportLiveDataApiDefinitionsV2Response
- type ExportMqsInstanceTopicRequest
- type ExportMqsInstanceTopicResponse
- type ExportOpenApiReq
- type ExportOpenApiReqDefine
- type ExportOpenApiReqDefineEnum
- type ExportOpenApiReqType
- type ExportOpenApiReqTypeEnum
- type Failure
- type FeatureInfoV2
- type FeatureInfoV2Name
- type FeatureInfoV2NameEnum
- type FeatureToggleV2
- type FunctionApiBaseInfo
- type FunctionApiBaseInfoInvocationType
- type FunctionApiBaseInfoInvocationTypeEnum
- type GroupTreeResponse
- type HealthCheck
- type HealthCheckProtocol
- type HealthCheckProtocolEnum
- type Identity
- type IdentityLocation
- type IdentityLocationEnum
- type Ignore
- type ImportApiDefinitionsV2Request
- type ImportApiDefinitionsV2RequestBody
- type ImportApiDefinitionsV2RequestBodyApiMode
- type ImportApiDefinitionsV2RequestBodyApiModeEnum
- type ImportApiDefinitionsV2RequestBodyExtendMode
- type ImportApiDefinitionsV2RequestBodyExtendModeEnum
- type ImportApiDefinitionsV2Response
- type ImportAssetRequest
- type ImportAssetRequestBody
- type ImportAssetResponse
- type ImportBaseResult
- type ImportLiveDataApiDefinitionsV2Request
- type ImportLiveDataApiDefinitionsV2RequestBody
- type ImportLiveDataApiDefinitionsV2RequestBodyApiMode
- type ImportLiveDataApiDefinitionsV2RequestBodyApiModeEnum
- type ImportLiveDataApiDefinitionsV2RequestBodyExtendMode
- type ImportLiveDataApiDefinitionsV2RequestBodyExtendModeEnum
- type ImportLiveDataApiDefinitionsV2Response
- type ImportMqsInstanceTopicRequest
- type ImportMqsInstanceTopicRequestBody
- type ImportMqsInstanceTopicRequestMode
- type ImportMqsInstanceTopicRequestModeEnum
- type ImportMqsInstanceTopicResponse
- type InnerLatencyStats
- type InstallMultiTasksRequest
- type InstallMultiTasksResponse
- type LastUpdatedUser
- type LatencyStats
- type LdApiCheckInfo
- type LdApiCheckInfoLdApiMethod
- type LdApiCheckInfoLdApiMethodEnum
- type LdApiCheckInfoType
- type LdApiCheckInfoTypeEnum
- type LdApiCreate
- type LdApiCreateContentType
- type LdApiCreateContentTypeEnum
- type LdApiCreateMethod
- type LdApiCreateMethodEnum
- type LdApiDeploy
- type LdApiDeployHistoryInfo
- type LdApiDeployProtocol
- type LdApiDeployProtocolEnum
- type LdApiInfo
- type LdApiInfoContentType
- type LdApiInfoContentTypeEnum
- type LdApiInfoMethod
- type LdApiInfoMethodEnum
- type LdApiInfoStatus
- type LdApiInfoStatusEnum
- type LdApiInfoType
- type LdApiInfoTypeEnum
- type LdApiParameter
- type LdApiParameterIn
- type LdApiParameterInEnum
- type LdApiScript
- type LdApiScriptBase
- type LdApiScriptBaseDsType
- type LdApiScriptBaseDsTypeEnum
- type LdApiScriptCreate
- type LdApiScriptCreateApiType
- type LdApiScriptCreateApiTypeEnum
- type LdApiScriptDsType
- type LdApiScriptDsTypeEnum
- type LdApiTest
- type LdApiTestHistoryInfoV2
- type LdDatasourceCreate
- type LdDatasourceCreateType
- type LdDatasourceCreateTypeEnum
- type LdDatasourceInfo
- type LdDatasourceInfoType
- type LdDatasourceInfoTypeEnum
- type ListAclPolicyBindedToApiV2Request
- type ListAclPolicyBindedToApiV2Response
- type ListAclStrategiesV2Request
- type ListAclStrategiesV2Response
- type ListApiGroupsV2Request
- type ListApiGroupsV2Response
- type ListApiRuntimeDefinitionV2Request
- type ListApiRuntimeDefinitionV2Response
- type ListApiRuntimeDefinitionV2ResponseAuthType
- type ListApiRuntimeDefinitionV2ResponseAuthTypeEnum
- type ListApiRuntimeDefinitionV2ResponseBackendType
- type ListApiRuntimeDefinitionV2ResponseBackendTypeEnum
- type ListApiRuntimeDefinitionV2ResponseContentType
- type ListApiRuntimeDefinitionV2ResponseContentTypeEnum
- type ListApiRuntimeDefinitionV2ResponseMatchMode
- type ListApiRuntimeDefinitionV2ResponseMatchModeEnum
- type ListApiRuntimeDefinitionV2ResponseReqMethod
- type ListApiRuntimeDefinitionV2ResponseReqMethodEnum
- type ListApiRuntimeDefinitionV2ResponseReqProtocol
- type ListApiRuntimeDefinitionV2ResponseReqProtocolEnum
- type ListApiRuntimeDefinitionV2ResponseType
- type ListApiRuntimeDefinitionV2ResponseTypeEnum
- type ListApiVersionDetailV2Request
- type ListApiVersionDetailV2Response
- type ListApiVersionDetailV2ResponseAuthType
- type ListApiVersionDetailV2ResponseAuthTypeEnum
- type ListApiVersionDetailV2ResponseBackendType
- type ListApiVersionDetailV2ResponseBackendTypeEnum
- type ListApiVersionDetailV2ResponseContentType
- type ListApiVersionDetailV2ResponseContentTypeEnum
- type ListApiVersionDetailV2ResponseMatchMode
- type ListApiVersionDetailV2ResponseMatchModeEnum
- type ListApiVersionDetailV2ResponseReqMethod
- type ListApiVersionDetailV2ResponseReqMethodEnum
- type ListApiVersionDetailV2ResponseReqProtocol
- type ListApiVersionDetailV2ResponseReqProtocolEnum
- type ListApiVersionDetailV2ResponseStatus
- type ListApiVersionDetailV2ResponseStatusEnum
- type ListApiVersionDetailV2ResponseType
- type ListApiVersionDetailV2ResponseTypeEnum
- type ListApiVersionsV2Request
- type ListApiVersionsV2Response
- type ListApisBindedToAclPolicyV2Request
- type ListApisBindedToAclPolicyV2Response
- type ListApisBindedToAppV2Request
- type ListApisBindedToAppV2Response
- type ListApisBindedToRequestThrottlingPolicyV2Request
- type ListApisBindedToRequestThrottlingPolicyV2Response
- type ListApisBindedToSignatureKeyV2Request
- type ListApisBindedToSignatureKeyV2Response
- type ListApisNotBoundWithSignatureKeyV2Request
- type ListApisNotBoundWithSignatureKeyV2Response
- type ListApisUnbindedToAclPolicyV2Request
- type ListApisUnbindedToAclPolicyV2Response
- type ListApisUnbindedToAppV2Request
- type ListApisUnbindedToAppV2Response
- type ListApisUnbindedToRequestThrottlingPolicyV2Request
- type ListApisUnbindedToRequestThrottlingPolicyV2Response
- type ListApisV2Request
- type ListApisV2Response
- type ListAppCodesV2Request
- type ListAppCodesV2Response
- type ListAppConfigsV2Request
- type ListAppConfigsV2Response
- type ListAppQuotaBindableAppsRequest
- type ListAppQuotaBindableAppsResponse
- type ListAppQuotaBoundAppsRequest
- type ListAppQuotaBoundAppsResponse
- type ListAppQuotasRequest
- type ListAppQuotasResponse
- type ListAppsBindedToApiV2Request
- type ListAppsBindedToApiV2Response
- type ListAppsV2Request
- type ListAppsV2Response
- type ListBackendInstancesV2Request
- type ListBackendInstancesV2Response
- type ListCommandsRequest
- type ListCommandsResponse
- type ListCustomAuthorizersV2Request
- type ListCustomAuthorizersV2Response
- type ListDatasourceColumnsRequest
- type ListDatasourceColumnsRequestPosition
- type ListDatasourceColumnsRequestPositionEnum
- type ListDatasourceColumnsResponse
- type ListDatasourceTablesRequest
- type ListDatasourceTablesRequestPosition
- type ListDatasourceTablesRequestPositionEnum
- type ListDatasourceTablesResponse
- type ListDatasourcesRequest
- type ListDatasourcesRequestDatasourceType
- type ListDatasourcesRequestDatasourceTypeEnum
- type ListDatasourcesRequestSortType
- type ListDatasourcesRequestSortTypeEnum
- type ListDatasourcesResponse
- type ListDestinationsRequest
- type ListDestinationsResponse
- type ListDevicesInProductRequest
- type ListDevicesInProductResponse
- type ListDevicesRequest
- type ListDevicesResponse
- type ListDictionaryRequest
- type ListDictionaryResponse
- type ListDuplicateApisForAppV2Request
- type ListDuplicateApisForAppV2Response
- type ListEnvironmentVariablesV2Request
- type ListEnvironmentVariablesV2Response
- type ListEnvironmentsV2Request
- type ListEnvironmentsV2Response
- type ListFeaturesV2Request
- type ListFeaturesV2Response
- type ListInstanceTopicsRespTopics
- type ListLatelyApiStatisticsV2Request
- type ListLatelyApiStatisticsV2Response
- type ListLiveDataApiDeploymentHistoryV2Request
- type ListLiveDataApiDeploymentHistoryV2Response
- type ListLiveDataApiTestHistoryV2Request
- type ListLiveDataApiTestHistoryV2Response
- type ListLiveDataApiV2Request
- type ListLiveDataApiV2Response
- type ListLiveDataDataSourcesV2Request
- type ListLiveDataDataSourcesV2Response
- type ListLiveDataQuotaV2Request
- type ListLiveDataQuotaV2Response
- type ListMemberGroupsRequest
- type ListMemberGroupsResponse
- type ListMonitorInfosRequest
- type ListMonitorInfosRequestExecuteStatus
- type ListMonitorInfosRequestExecuteStatusEnum
- type ListMonitorInfosResponse
- type ListMonitorLogRequest
- type ListMonitorLogResponse
- type ListMqsInstanceRequest
- type ListMqsInstanceRequestIncludeInternal
- type ListMqsInstanceRequestIncludeInternalEnum
- type ListMqsInstanceResponse
- type ListMqsInstanceTopicsRequest
- type ListMqsInstanceTopicsRequestAccessPolicy
- type ListMqsInstanceTopicsRequestAccessPolicyEnum
- type ListMqsInstanceTopicsResponse
- type ListNotificationRequest
- type ListNotificationResponse
- type ListProductTemplatesRequest
- type ListProductTemplatesRequestStatus
- type ListProductTemplatesRequestStatusEnum
- type ListProductTemplatesResponse
- type ListProductTopicsRequest
- type ListProductTopicsResponse
- type ListProductsRequest
- type ListProductsRequestProductType
- type ListProductsRequestProductTypeEnum
- type ListProductsRequestProtocolType
- type ListProductsRequestProtocolTypeEnum
- type ListProductsResponse
- type ListProjectCofigsV2Request
- type ListProjectCofigsV2Response
- type ListProjectVpcChannelsV2Request
- type ListProjectVpcChannelsV2Response
- type ListPropertiesRequest
- type ListPropertiesResponse
- type ListRequestPropertiesRequest
- type ListRequestPropertiesResponse
- type ListRequestThrottlingPoliciesBindedToApiV2Request
- type ListRequestThrottlingPoliciesBindedToApiV2Response
- type ListRequestThrottlingPolicyV2Request
- type ListRequestThrottlingPolicyV2Response
- type ListResponsePropertiesRequest
- type ListResponsePropertiesResponse
- type ListRomaAppRequest
- type ListRomaAppResponse
- type ListRulesRequest
- type ListRulesResponse
- type ListServicesRequest
- type ListServicesResponse
- type ListShadowsRequest
- type ListShadowsResponse
- type ListSignatureKeysBindedToApiV2Request
- type ListSignatureKeysBindedToApiV2Response
- type ListSignatureKeysV2Request
- type ListSignatureKeysV2Response
- type ListSourcesRequest
- type ListSourcesResponse
- type ListSpecialThrottlingConfigurationsV2Request
- type ListSpecialThrottlingConfigurationsV2Response
- type ListStatisticsApiRequest
- type ListStatisticsApiRequestCycle
- type ListStatisticsApiRequestCycleEnum
- type ListStatisticsApiRequestMode
- type ListStatisticsApiRequestModeEnum
- type ListStatisticsApiResponse
- type ListSubsetsRequest
- type ListSubsetsRequestOnlineStatus
- type ListSubsetsRequestOnlineStatusEnum
- type ListSubsetsRequestStatus
- type ListSubsetsRequestStatusEnum
- type ListSubsetsResponse
- type ListTagsV2Request
- type ListTagsV2Response
- type ListTasksRequest
- type ListTasksRequestSortField
- type ListTasksRequestSortFieldEnum
- type ListTasksRequestSortType
- type ListTasksRequestSortTypeEnum
- type ListTasksRequestStatus
- type ListTasksRequestStatusEnum
- type ListTasksRequestTaskType
- type ListTasksRequestTaskTypeEnum
- type ListTasksResponse
- type ListTopicsRequest
- type ListTopicsResponse
- type ListVpcChannelsV2Request
- type ListVpcChannelsV2Response
- type Listener
- type ListenerIpVersion
- type ListenerIpVersionEnum
- type LiveDataExportReq
- type LiveDataExportReqFormat
- type LiveDataExportReqFormatEnum
- type MappingInfo
- type MemberBase
- type MemberBaseStatus
- type MemberBaseStatusEnum
- type MemberGroupCreate
- type MemberGroupCreateBatch
- type MemberGroupInfo
- type MemberInfo
- type MemberInfoStatus
- type MemberInfoStatusEnum
- type MembersBatchEnableOrDisable
- type MockApiBaseInfo
- type MockApiBaseInfoHeader
- type MockApiBaseInfoStatusCode
- type MockApiBaseInfoStatusCodeEnum
- type MultiOracleAddress
- type MultiTaskColumnInfo
- type MultiTaskInitBody
- type MultiTaskInitBodyExtInfo
- type MultiTaskInitElement
- type MultiTaskInitElementExtInfo
- type MultiTaskMappingCreateBody
- type MultiTaskMappingElement
- type MultiTaskMappingElementStatus
- type MultiTaskMappingElementStatusEnum
- type MultiTaskRequestBody
- type MultiTaskRequestBodyOperationTypes
- type MultiTaskRequestBodyOperationTypesEnum
- type MultiTaskRequestBodyTaskType
- type MultiTaskRequestBodyTaskTypeEnum
- type MultiTaskResetBody
- type MultiTaskUpdateBody
- type MultiTaskUpdateBodyOperationTypes
- type MultiTaskUpdateBodyOperationTypesEnum
- type NetworkTrafficStats
- type NodeIps
- type NotificationResponseBody
- type NotificationResponseBodyStatus
- type NotificationResponseBodyStatusEnum
- type NotificationResponseBodyType
- type NotificationResponseBodyTypeEnum
- type OperateTasksBean
- type OperateTasksBeanActionId
- type OperateTasksBeanActionIdEnum
- type Product
- type ProductProductType
- type ProductProductTypeEnum
- type ProductProtocolType
- type ProductProtocolTypeEnum
- type ProductReferer
- type ProductRefererProductType
- type ProductRefererProductTypeEnum
- type ProductRefererProtocolType
- type ProductRefererProtocolTypeEnum
- type ProductTemplate
- type ProductTemplateStatus
- type ProductTemplateStatusEnum
- type ProductTemplatesCalculation
- type ProductTopic
- type ProductTopicPermission
- type ProductTopicPermissionEnum
- type ProductsCalculation
- type ProjectVpcChannelInfo
- type ProjectVpcChannelInfoBalanceStrategy
- type ProjectVpcChannelInfoBalanceStrategyEnum
- type ProjectVpcChannelInfoMemberType
- type ProjectVpcChannelInfoMemberTypeEnum
- type ProjectVpcChannelInfoStatus
- type ProjectVpcChannelInfoStatusEnum
- type ProjectVpcCreate
- type ProjectVpcCreateBalanceStrategy
- type ProjectVpcCreateBalanceStrategyEnum
- type ProjectVpcCreateMemberType
- type ProjectVpcCreateMemberTypeEnum
- type ProjectVpcSync
- type Property
- type PropertyDataType
- type PropertyDataTypeEnum
- type PropertyRequired
- type PropertyRequiredEnum
- type PublishLiveDataApiV2Request
- type PublishLiveDataApiV2Response
- type PublishResp
- type ReqParam
- type ReqParamBase
- type ReqParamBaseLocation
- type ReqParamBaseLocationEnum
- type ReqParamBasePassThrough
- type ReqParamBasePassThroughEnum
- type ReqParamBaseRequired
- type ReqParamBaseRequiredEnum
- type ReqParamBaseType
- type ReqParamBaseTypeEnum
- type ReqParamBaseValidEnable
- type ReqParamBaseValidEnableEnum
- type ReqParamLocation
- type ReqParamLocationEnum
- type ReqParamPassThrough
- type ReqParamPassThroughEnum
- type ReqParamRequired
- type ReqParamRequiredEnum
- type ReqParamType
- type ReqParamTypeEnum
- type ReqParamValidEnable
- type ReqParamValidEnableEnum
- type RequestCountStats
- type RequestParameter
- type ResetAuthenticationRequest
- type ResetAuthenticationResponse
- type ResetMessagesReq
- type ResetMessagesRequest
- type ResetMessagesRequestActionId
- type ResetMessagesRequestActionIdEnum
- type ResetMessagesResponse
- type ResetMultiTaskOffsetRequest
- type ResetMultiTaskOffsetResponse
- type ResetProductAuthenticationRequest
- type ResetProductAuthenticationResponse
- type ResetRomaAppSecretRequest
- type ResetRomaAppSecretResponse
- type RespInstanceBase
- type RespInstanceBaseChargingMode
- type RespInstanceBaseChargingModeEnum
- type RespInstanceBaseInstanceStatus
- type RespInstanceBaseInstanceStatusEnum
- type RespInstanceBaseSpec
- type RespInstanceBaseSpecEnum
- type RespInstanceBaseStatus
- type RespInstanceBaseStatusEnum
- type RomaInstanceCheckListRespInstances
- type RomaInstanceCheckListRespInstancesChargeType
- type RomaInstanceCheckListRespInstancesChargeTypeEnum
- type RomaInstanceCheckListRespInstancesCpuArch
- type RomaInstanceCheckListRespInstancesCpuArchEnum
- type RomaInstanceCheckListRespInstancesStatus
- type RomaInstanceCheckListRespInstancesStatusEnum
- type Rule
- type RuleDataParsingStatus
- type RuleDataParsingStatusEnum
- type RuleStatus
- type RuleStatusEnum
- type RunTaskRequest
- type RunTaskResponse
- type SendCommandRequest
- type SendCommandRequestBody
- type SendCommandResponse
- type ServerAppInfo
- type ServerAppInfoCreatedUser
- type ServerAppInfoLastUpdatedUser
- type ServerAppInfoRoles
- type ServerAppInfoRolesEnum
- type Service
- type ServiceStatus
- type ServiceStatusEnum
- type ShadowService
- type ShadowValue
- type ShowAppBoundAppQuotaRequest
- type ShowAppBoundAppQuotaResponse
- type ShowAppBoundAppQuotaResponseTimeUnit
- type ShowAppBoundAppQuotaResponseTimeUnitEnum
- type ShowAppQuotaRequest
- type ShowAppQuotaResponse
- type ShowAppQuotaResponseTimeUnit
- type ShowAppQuotaResponseTimeUnitEnum
- type ShowAuthenticationRequest
- type ShowAuthenticationResponse
- type ShowCommandRequest
- type ShowCommandResponse
- type ShowDataourceDetailRequest
- type ShowDataourceDetailResponse
- type ShowDataourceDetailResponseAppPermission
- type ShowDataourceDetailResponseAppPermissionEnum
- type ShowDataourceDetailResponseDatasourceType
- type ShowDataourceDetailResponseDatasourceTypeEnum
- type ShowDetailsOfAclPolicyV2Request
- type ShowDetailsOfAclPolicyV2Response
- type ShowDetailsOfApiGroupV2Request
- type ShowDetailsOfApiGroupV2Response
- type ShowDetailsOfApiGroupV2ResponseStatus
- type ShowDetailsOfApiGroupV2ResponseStatusEnum
- type ShowDetailsOfApiV2Request
- type ShowDetailsOfApiV2Response
- type ShowDetailsOfApiV2ResponseAuthType
- type ShowDetailsOfApiV2ResponseAuthTypeEnum
- type ShowDetailsOfApiV2ResponseBackendType
- type ShowDetailsOfApiV2ResponseBackendTypeEnum
- type ShowDetailsOfApiV2ResponseContentType
- type ShowDetailsOfApiV2ResponseContentTypeEnum
- type ShowDetailsOfApiV2ResponseMatchMode
- type ShowDetailsOfApiV2ResponseMatchModeEnum
- type ShowDetailsOfApiV2ResponseReqMethod
- type ShowDetailsOfApiV2ResponseReqMethodEnum
- type ShowDetailsOfApiV2ResponseReqProtocol
- type ShowDetailsOfApiV2ResponseReqProtocolEnum
- type ShowDetailsOfApiV2ResponseStatus
- type ShowDetailsOfApiV2ResponseStatusEnum
- type ShowDetailsOfApiV2ResponseType
- type ShowDetailsOfApiV2ResponseTypeEnum
- type ShowDetailsOfAppAclRequest
- type ShowDetailsOfAppAclResponse
- type ShowDetailsOfAppCodeV2Request
- type ShowDetailsOfAppCodeV2Response
- type ShowDetailsOfAppConfigV2Request
- type ShowDetailsOfAppConfigV2Response
- type ShowDetailsOfAppV2Request
- type ShowDetailsOfAppV2Response
- type ShowDetailsOfAppV2ResponseAppType
- type ShowDetailsOfAppV2ResponseAppTypeEnum
- type ShowDetailsOfAppV2ResponseCreator
- type ShowDetailsOfAppV2ResponseCreatorEnum
- type ShowDetailsOfAppV2ResponseStatus
- type ShowDetailsOfAppV2ResponseStatusEnum
- type ShowDetailsOfCustomAuthorizersV2Request
- type ShowDetailsOfCustomAuthorizersV2Response
- type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType
- type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum
- type ShowDetailsOfCustomAuthorizersV2ResponseType
- type ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum
- type ShowDetailsOfDomainNameCertificateV2Request
- type ShowDetailsOfDomainNameCertificateV2Response
- type ShowDetailsOfEnvironmentVariableV2Request
- type ShowDetailsOfEnvironmentVariableV2Response
- type ShowDetailsOfInstanceV2Request
- type ShowDetailsOfInstanceV2Response
- type ShowDetailsOfInstanceV2ResponseChargingMode
- type ShowDetailsOfInstanceV2ResponseChargingModeEnum
- type ShowDetailsOfInstanceV2ResponseInstanceStatus
- type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum
- type ShowDetailsOfInstanceV2ResponseSpec
- type ShowDetailsOfInstanceV2ResponseSpecEnum
- type ShowDetailsOfInstanceV2ResponseStatus
- type ShowDetailsOfInstanceV2ResponseStatusEnum
- type ShowDetailsOfMemberGroupRequest
- type ShowDetailsOfMemberGroupResponse
- type ShowDetailsOfRequestThrottlingPolicyV2Request
- type ShowDetailsOfRequestThrottlingPolicyV2Response
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
- func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
- func (c *ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
- func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value() int32
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseType
- type ShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum
- type ShowDetailsOfVpcChannelV2Request
- type ShowDetailsOfVpcChannelV2Response
- type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy
- type ShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum
- type ShowDetailsOfVpcChannelV2ResponseMemberType
- type ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum
- type ShowDetailsOfVpcChannelV2ResponseStatus
- type ShowDetailsOfVpcChannelV2ResponseStatusEnum
- type ShowDeviceGroupRequest
- type ShowDeviceGroupResponse
- type ShowDeviceGroupTreeRequest
- type ShowDeviceGroupTreeResponse
- type ShowDeviceRequest
- type ShowDeviceResponse
- type ShowDeviceResponseDeviceType
- type ShowDeviceResponseDeviceTypeEnum
- type ShowDeviceResponseOnlineStatus
- type ShowDeviceResponseOnlineStatusEnum
- type ShowDeviceResponsePluginId
- type ShowDeviceResponsePluginIdEnum
- type ShowDeviceResponseStatus
- type ShowDeviceResponseStatusEnum
- type ShowDevicesInGroupRequest
- type ShowDevicesInGroupResponse
- type ShowDispatchesRequest
- type ShowDispatchesResponse
- type ShowDispatchesResponsePeriod
- type ShowDispatchesResponsePeriodEnum
- type ShowInstanceResp
- type ShowInstanceRespRetentionPolicy
- type ShowInstanceRespRetentionPolicyEnum
- type ShowInstanceRespType
- type ShowInstanceRespTypeEnum
- type ShowLiveDataApiV2Request
- type ShowLiveDataApiV2Response
- type ShowLiveDataApiV2ResponseContentType
- type ShowLiveDataApiV2ResponseContentTypeEnum
- type ShowLiveDataApiV2ResponseMethod
- type ShowLiveDataApiV2ResponseMethodEnum
- type ShowLiveDataApiV2ResponseStatus
- type ShowLiveDataApiV2ResponseStatusEnum
- type ShowLiveDataApiV2ResponseType
- type ShowLiveDataApiV2ResponseTypeEnum
- type ShowMqsInstanceMessagesRequest
- type ShowMqsInstanceMessagesRespMessages
- type ShowMqsInstanceMessagesResponse
- type ShowMqsInstanceRequest
- type ShowMqsInstanceResponse
- type ShowMqsInstanceResponseRetentionPolicy
- type ShowMqsInstanceResponseRetentionPolicyEnum
- type ShowMqsInstanceResponseType
- type ShowMqsInstanceResponseTypeEnum
- type ShowMqsInstanceTopicAccessPolicyRequest
- type ShowMqsInstanceTopicAccessPolicyRespPolicies
- type ShowMqsInstanceTopicAccessPolicyResponse
- type ShowProductAuthenticationRequest
- type ShowProductAuthenticationResponse
- type ShowProductRequest
- type ShowProductResponse
- type ShowProductResponseProductType
- type ShowProductResponseProductTypeEnum
- type ShowProductResponseProtocolType
- type ShowProductResponseProtocolTypeEnum
- type ShowProductTemplateRequest
- type ShowProductTemplateResponse
- type ShowProductTemplateResponseStatus
- type ShowProductTemplateResponseStatusEnum
- type ShowPropertyRequest
- type ShowPropertyResponse
- type ShowPropertyResponseDataType
- type ShowPropertyResponseDataTypeEnum
- type ShowPropertyResponseRequired
- type ShowPropertyResponseRequiredEnum
- type ShowRequestPropertyRequest
- type ShowRequestPropertyResponse
- type ShowRequestPropertyResponseDataType
- type ShowRequestPropertyResponseDataTypeEnum
- type ShowRequestPropertyResponseRequired
- type ShowRequestPropertyResponseRequiredEnum
- type ShowResponsePropertyRequest
- type ShowResponsePropertyResponse
- type ShowResponsePropertyResponseDataType
- type ShowResponsePropertyResponseDataTypeEnum
- type ShowResponsePropertyResponseRequired
- type ShowResponsePropertyResponseRequiredEnum
- type ShowRestrictionOfInstanceV2Request
- type ShowRestrictionOfInstanceV2Response
- type ShowRuleRequest
- type ShowRuleResponse
- type ShowRuleResponseDataParsingStatus
- type ShowRuleResponseDataParsingStatusEnum
- type ShowRuleResponseStatus
- type ShowRuleResponseStatusEnum
- type ShowServiceRequest
- type ShowServiceResponse
- type ShowServiceResponseStatus
- type ShowServiceResponseStatusEnum
- type ShowTaskRequest
- type ShowTaskResponse
- type SignApiBinding
- type SignApiBindingBase
- type SignApiBindingInfo
- type SignApiBindingInfoSignType
- type SignApiBindingInfoSignTypeEnum
- type SignApiBindingResult
- type Signature
- type SignatureSignAlgorithm
- type SignatureSignAlgorithmEnum
- type SignatureSignType
- type SignatureSignTypeEnum
- type SignatureWithBindNum
- type SignatureWithBindNumSignAlgorithm
- type SignatureWithBindNumSignAlgorithmEnum
- type SignatureWithBindNumSignType
- type SignatureWithBindNumSignTypeEnum
- type SingleResponse
- type Source
- type SourceContainDeviceInfo
- type SourceContainDeviceInfoEnum
- type SourceIsBase64
- type SourceIsBase64Enum
- type StartTestDatasourceRequest
- type StartTestDatasourceResponse
- type StatisticsApi
- type StatisticsApiCycle
- type StatisticsApiCycleEnum
- type StatisticsApiStatus
- type StatisticsApiStatusEnum
- type StopTaskRequest
- type StopTaskResponse
- type Success
- type SuccessAction
- type SuccessActionEnum
- type Swagger
- type TaskBasicRequestBody
- type TaskBasicRequestBodyTaskType
- type TaskBasicRequestBodyTaskTypeEnum
- type TaskBasicRsp
- type TaskBasicRspStatus
- type TaskBasicRspStatusEnum
- type TaskBasicRspTaskType
- type TaskBasicRspTaskTypeEnum
- type TaskBean
- type TaskBeanFacade
- type TaskDispatch
- type TaskDispatchPeriod
- type TaskDispatchPeriodEnum
- type TaskMonitorDetailLog
- type TaskMonitorDetailLogDataSizeUnit
- type TaskMonitorDetailLogDataSizeUnitEnum
- type TaskMonitorDetailLogPosition
- type TaskMonitorDetailLogPositionEnum
- type TaskMonitorDetailLogPositionStatus
- type TaskMonitorDetailLogPositionStatusEnum
- type TaskMonitorInfo
- type TaskMonitorInfoExecuteStatus
- type TaskMonitorInfoExecuteStatusEnum
- type TaskMonitorInfoExtType
- type TaskMonitorInfoExtTypeEnum
- type TaskMonitorInfoPeriod
- type TaskMonitorInfoPeriodEnum
- type TaskMonitorInfoPosition
- type TaskMonitorInfoPositionEnum
- type TaskMonitorInfoStatus
- type TaskMonitorInfoStatusEnum
- type TaskMonitorInfoTaskType
- type TaskMonitorInfoTaskTypeEnum
- type TaskMonitorLog
- type TaskMonitorLogDataSizeUnit
- type TaskMonitorLogDataSizeUnitEnum
- type TaskMonitorLogExecuteStatus
- type TaskMonitorLogExecuteStatusEnum
- type TaskMonitorLogPosition
- type TaskMonitorLogPositionEnum
- type TaskMonitorLogPositionStatus
- type TaskMonitorLogPositionStatusEnum
- type TaskStatisticDetails
- type ThrottleApiBinding
- type ThrottleApiBindingCreate
- type ThrottleApiBindingScope
- type ThrottleApiBindingScopeEnum
- type ThrottleBaseInfo
- type ThrottleBaseInfoTimeUnit
- type ThrottleBaseInfoTimeUnitEnum
- type ThrottleBaseInfoType
- type ThrottleBaseInfoTypeEnum
- type ThrottleBindingBatchDelete
- type ThrottleBindingBatchFailure
- type ThrottleForApi
- type ThrottleForApiIsIncluSpecialThrottle
- type ThrottleForApiIsIncluSpecialThrottleEnum
- type ThrottleForApiTimeUnit
- type ThrottleForApiTimeUnitEnum
- type ThrottleForApiType
- type ThrottleForApiTypeEnum
- type ThrottleSpecialBase
- type ThrottleSpecialCreate
- type ThrottleSpecialCreateObjectType
- type ThrottleSpecialCreateObjectTypeEnum
- type ThrottleSpecialInfo
- type ThrottleSpecialUpdate
- type ThrottlesInfo
- type ThrottlesInfoIsIncluSpecialThrottle
- type ThrottlesInfoIsIncluSpecialThrottleEnum
- type ThrottlesInfoTimeUnit
- type ThrottlesInfoTimeUnitEnum
- type ThrottlesInfoType
- type ThrottlesInfoTypeEnum
- type Topic
- type TopicIsPrivate
- type TopicIsPrivateEnum
- type TopicPermission
- type TopicPermissionEnum
- type UnbindApiForAcl
- type UnpublishLiveDataApiV2Request
- type UnpublishLiveDataApiV2Response
- type UpdateAclStrategyV2Request
- type UpdateAclStrategyV2Response
- type UpdateApiGroupV2Request
- type UpdateApiGroupV2Response
- type UpdateApiGroupV2ResponseStatus
- type UpdateApiGroupV2ResponseStatusEnum
- type UpdateApiV2Request
- type UpdateApiV2Response
- type UpdateApiV2ResponseAuthType
- type UpdateApiV2ResponseAuthTypeEnum
- type UpdateApiV2ResponseBackendType
- type UpdateApiV2ResponseBackendTypeEnum
- type UpdateApiV2ResponseContentType
- type UpdateApiV2ResponseContentTypeEnum
- type UpdateApiV2ResponseMatchMode
- type UpdateApiV2ResponseMatchModeEnum
- type UpdateApiV2ResponseReqMethod
- type UpdateApiV2ResponseReqMethodEnum
- type UpdateApiV2ResponseReqProtocol
- type UpdateApiV2ResponseReqProtocolEnum
- type UpdateApiV2ResponseStatus
- type UpdateApiV2ResponseStatusEnum
- type UpdateApiV2ResponseType
- type UpdateApiV2ResponseTypeEnum
- type UpdateAppAclRequest
- type UpdateAppAclResponse
- type UpdateAppConfigV2Request
- type UpdateAppConfigV2Response
- type UpdateAppQuotaRequest
- type UpdateAppQuotaResponse
- type UpdateAppQuotaResponseTimeUnit
- type UpdateAppQuotaResponseTimeUnitEnum
- type UpdateAppReq
- type UpdateAppSecretReq
- type UpdateBackendInstancesV2Request
- type UpdateBackendInstancesV2Response
- type UpdateCommandRequest
- type UpdateCommandRequestBody
- type UpdateCommandResponse
- type UpdateCustomAuthorizerV2Request
- type UpdateCustomAuthorizerV2Response
- type UpdateCustomAuthorizerV2ResponseAuthorizerType
- type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum
- type UpdateCustomAuthorizerV2ResponseType
- type UpdateCustomAuthorizerV2ResponseTypeEnum
- type UpdateDatasourceInfoRequest
- type UpdateDatasourceInfoResponse
- type UpdateDatasourceInfoResponseAppPermission
- type UpdateDatasourceInfoResponseAppPermissionEnum
- type UpdateDatasourceInfoResponseDatasourceType
- type UpdateDatasourceInfoResponseDatasourceTypeEnum
- type UpdateDeviceGroupRequest
- type UpdateDeviceGroupRequestBody
- type UpdateDeviceGroupResponse
- type UpdateDeviceRequest
- type UpdateDeviceRequestBody
- type UpdateDeviceRequestBodyStatus
- type UpdateDeviceRequestBodyStatusEnum
- type UpdateDeviceResponse
- type UpdateDeviceResponseDeviceType
- type UpdateDeviceResponseDeviceTypeEnum
- type UpdateDeviceResponseOnlineStatus
- type UpdateDeviceResponseOnlineStatusEnum
- type UpdateDeviceResponsePluginId
- type UpdateDeviceResponsePluginIdEnum
- type UpdateDeviceResponseStatus
- type UpdateDeviceResponseStatusEnum
- type UpdateDictionary
- type UpdateDictionaryRequest
- type UpdateDictionaryResponse
- type UpdateDispatchesRequest
- type UpdateDispatchesResponse
- type UpdateDispatchesResponsePeriod
- type UpdateDispatchesResponsePeriodEnum
- type UpdateDomainV2Request
- type UpdateDomainV2Response
- type UpdateDomainV2ResponseStatus
- type UpdateDomainV2ResponseStatusEnum
- type UpdateEnvironmentV2Request
- type UpdateEnvironmentV2Response
- type UpdateEnvironmentVariableV2Request
- type UpdateEnvironmentVariableV2Response
- type UpdateHealthCheckRequest
- type UpdateHealthCheckResponse
- type UpdateHealthCheckResponseMethod
- type UpdateHealthCheckResponseMethodEnum
- type UpdateHealthCheckResponseProtocol
- type UpdateHealthCheckResponseProtocolEnum
- type UpdateHealthCheckResponseStatus
- type UpdateHealthCheckResponseStatusEnum
- type UpdateLiveDataApiV2Request
- type UpdateLiveDataApiV2Response
- type UpdateLiveDataApiV2ResponseContentType
- type UpdateLiveDataApiV2ResponseContentTypeEnum
- type UpdateLiveDataApiV2ResponseMethod
- type UpdateLiveDataApiV2ResponseMethodEnum
- type UpdateLiveDataApiV2ResponseStatus
- type UpdateLiveDataApiV2ResponseStatusEnum
- type UpdateLiveDataApiV2ResponseType
- type UpdateLiveDataApiV2ResponseTypeEnum
- type UpdateMemberGroupRequest
- type UpdateMemberGroupResponse
- type UpdateMqsInstanceTopicReq
- type UpdateMqsInstanceTopicRequest
- type UpdateMqsInstanceTopicResponse
- type UpdateMultiTasksRequest
- type UpdateMultiTasksResponse
- type UpdateNotificationRequest
- type UpdateNotificationRequestBody
- type UpdateNotificationRequestBodyStatus
- type UpdateNotificationRequestBodyStatusEnum
- type UpdateNotificationResponse
- type UpdateNotificationResponseStatus
- type UpdateNotificationResponseStatusEnum
- type UpdateNotificationResponseType
- type UpdateNotificationResponseTypeEnum
- type UpdateProductRequest
- type UpdateProductRequestBody
- type UpdateProductResponse
- type UpdateProductResponseProductType
- type UpdateProductResponseProductTypeEnum
- type UpdateProductResponseProtocolType
- type UpdateProductResponseProtocolTypeEnum
- type UpdateProductTemplateRequest
- type UpdateProductTemplateRequestBody
- type UpdateProductTemplateRequestBodyStatus
- type UpdateProductTemplateRequestBodyStatusEnum
- type UpdateProductTemplateResponse
- type UpdateProductTemplateResponseStatus
- type UpdateProductTemplateResponseStatusEnum
- type UpdateProductTopicRequest
- type UpdateProductTopicRequestBody
- type UpdateProductTopicRequestBodyPermission
- type UpdateProductTopicRequestBodyPermissionEnum
- type UpdateProductTopicResponse
- type UpdateProductTopicResponsePermission
- type UpdateProductTopicResponsePermissionEnum
- type UpdateProjectVpcChannelRequest
- type UpdateProjectVpcChannelResponse
- type UpdatePropertyRequest
- type UpdatePropertyRequestBody
- type UpdatePropertyRequestBodyDataType
- type UpdatePropertyRequestBodyDataTypeEnum
- type UpdatePropertyRequestBodyRequired
- type UpdatePropertyRequestBodyRequiredEnum
- type UpdatePropertyResponse
- type UpdatePropertyResponseDataType
- type UpdatePropertyResponseDataTypeEnum
- type UpdatePropertyResponseRequired
- type UpdatePropertyResponseRequiredEnum
- type UpdateRequestPropertyRequest
- type UpdateRequestPropertyResponse
- type UpdateRequestPropertyResponseDataType
- type UpdateRequestPropertyResponseDataTypeEnum
- type UpdateRequestPropertyResponseRequired
- type UpdateRequestPropertyResponseRequiredEnum
- type UpdateRequestThrottlingPolicyV2Request
- type UpdateRequestThrottlingPolicyV2Response
- type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
- type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
- type UpdateRequestThrottlingPolicyV2ResponseTimeUnit
- type UpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum
- type UpdateRequestThrottlingPolicyV2ResponseType
- type UpdateRequestThrottlingPolicyV2ResponseTypeEnum
- type UpdateResponsePropertyRequest
- type UpdateResponsePropertyResponse
- type UpdateResponsePropertyResponseDataType
- type UpdateResponsePropertyResponseDataTypeEnum
- type UpdateResponsePropertyResponseRequired
- type UpdateResponsePropertyResponseRequiredEnum
- type UpdateRomaAppRequest
- type UpdateRomaAppResponse
- type UpdateRomaAppResponseRoles
- type UpdateRomaAppResponseRolesEnum
- type UpdateRuleRequest
- type UpdateRuleRequestBody
- type UpdateRuleRequestBodyDataParsingStatus
- type UpdateRuleRequestBodyDataParsingStatusEnum
- type UpdateRuleRequestBodyStatus
- type UpdateRuleRequestBodyStatusEnum
- type UpdateRuleResponse
- type UpdateRuleResponseDataParsingStatus
- type UpdateRuleResponseDataParsingStatusEnum
- type UpdateRuleResponseStatus
- type UpdateRuleResponseStatusEnum
- type UpdateServiceRequest
- type UpdateServiceRequestBody
- type UpdateServiceRequestBodyStatus
- type UpdateServiceRequestBodyStatusEnum
- type UpdateServiceResponse
- type UpdateServiceResponseStatus
- type UpdateServiceResponseStatusEnum
- type UpdateSignatureKeyV2Request
- type UpdateSignatureKeyV2Response
- type UpdateSignatureKeyV2ResponseSignAlgorithm
- type UpdateSignatureKeyV2ResponseSignAlgorithmEnum
- type UpdateSignatureKeyV2ResponseSignType
- type UpdateSignatureKeyV2ResponseSignTypeEnum
- type UpdateSpecialThrottlingConfigurationV2Request
- type UpdateSpecialThrottlingConfigurationV2Response
- type UpdateTaskRequest
- type UpdateTaskResponse
- type UpdateTopicAccessPolicyPoliciesObject
- type UpdateTopicAccessPolicyPoliciesObjectAccessPolicy
- type UpdateTopicAccessPolicyPoliciesObjectAccessPolicyEnum
- type UpdateTopicAccessPolicyReq
- type UpdateTopicAccessPolicyRequest
- type UpdateTopicAccessPolicyResponse
- type UpdateTopicAccessPolicyTopicsObject
- type UpdateTopicObject
- type UpdateVpcChannelV2Request
- type UpdateVpcChannelV2Response
- type UpdateVpcChannelV2ResponseBalanceStrategy
- type UpdateVpcChannelV2ResponseBalanceStrategyEnum
- type UpdateVpcChannelV2ResponseMemberType
- type UpdateVpcChannelV2ResponseMemberTypeEnum
- type UpdateVpcChannelV2ResponseStatus
- type UpdateVpcChannelV2ResponseStatusEnum
- type UploadProductRequest
- type UploadProductRequestBody
- type UploadProductResponse
- type UrlDomain
- type UrlDomainBase
- type UrlDomainBaseInfo
- type UrlDomainBaseInfoStatus
- type UrlDomainBaseInfoStatusEnum
- type UrlDomainBaseMinSslVersion
- type UrlDomainBaseMinSslVersionEnum
- type UrlDomainCreate
- type UrlDomainCreateMinSslVersion
- type UrlDomainCreateMinSslVersionEnum
- type UrlDomainMinSslVersion
- type UrlDomainMinSslVersionEnum
- type UrlDomainModify
- type UrlDomainModifyMinSslVersion
- type UrlDomainModifyMinSslVersionEnum
- type User
- type UserRoles
- type UserRolesEnum
- type ValidateDictionaryRequest
- type ValidateDictionaryResponse
- type ValidateRomaAppRequest
- type ValidateRomaAppResponse
- type VpcBase
- type VpcBaseBalanceStrategy
- type VpcBaseBalanceStrategyEnum
- type VpcBaseInfo
- type VpcBaseMemberType
- type VpcBaseMemberTypeEnum
- type VpcChannelInfo
- type VpcChannelInfoBalanceStrategy
- type VpcChannelInfoBalanceStrategyEnum
- type VpcChannelInfoMemberType
- type VpcChannelInfoMemberTypeEnum
- type VpcChannelInfoStatus
- type VpcChannelInfoStatusEnum
- type VpcCreate
- type VpcCreateBalanceStrategy
- type VpcCreateBalanceStrategyEnum
- type VpcCreateMemberType
- type VpcCreateMemberTypeEnum
- type VpcHealthConfig
- type VpcHealthConfigBase
- type VpcHealthConfigBaseMethod
- type VpcHealthConfigBaseMethodEnum
- type VpcHealthConfigBaseProtocol
- type VpcHealthConfigBaseProtocolEnum
- type VpcHealthConfigBaseStatus
- type VpcHealthConfigBaseStatusEnum
- type VpcHealthConfigInfo
- type VpcHealthConfigInfoMethod
- type VpcHealthConfigInfoMethodEnum
- type VpcHealthConfigInfoProtocol
- type VpcHealthConfigInfoProtocolEnum
- type VpcHealthConfigInfoStatus
- type VpcHealthConfigInfoStatusEnum
- type VpcHealthConfigMethod
- type VpcHealthConfigMethodEnum
- type VpcHealthConfigProtocol
- type VpcHealthConfigProtocolEnum
- type VpcHealthConfigStatus
- type VpcHealthConfigStatusEnum
- type VpcInfo
- type VpcMemberCreate
- type VpcMemberInfo
- type VpcMemberInfoStatus
- type VpcMemberInfoStatusEnum
- type VpcMemberModify
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclApiBindingCreate ¶
type AclApiBindingCreate struct { // ACL策略编号 AclId string `json:"acl_id"` // API发布记录编号 PublishIds []string `json:"publish_ids"` }
func (AclApiBindingCreate) String ¶
func (o AclApiBindingCreate) String() string
type AclApiBindingInfo ¶
type AclApiBindingInfo struct { // 绑定关系编号 Id *string `json:"id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // ACL策略编号 AclId *string `json:"acl_id,omitempty"` // 绑定时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` }
func (AclApiBindingInfo) String ¶
func (o AclApiBindingInfo) String() string
type AclBatchDelete ¶
type AclBatchDelete struct { // 需要删除的ACL策略ID列表 Acls *[]string `json:"acls,omitempty"` }
func (AclBatchDelete) String ¶
func (o AclBatchDelete) String() string
type AclBatchFailure ¶
type AclBatchFailure struct { // 删除失败的ACL策略ID AclId *string `json:"acl_id,omitempty"` // 删除失败的ACL策略名称 AclName *string `json:"acl_name,omitempty"` // 删除失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 删除失败的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` }
func (AclBatchFailure) String ¶
func (o AclBatchFailure) String() string
type AclBindApiInfo ¶
type AclBindApiInfo struct { // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API分组名称 GroupName *string `json:"group_name,omitempty"` // API类型 ApiType *int32 `json:"api_type,omitempty"` // API的描述信息 ApiRemark *string `json:"api_remark,omitempty"` // 生效的环境编号 EnvId *string `json:"env_id,omitempty"` // 生效的环境名称 EnvName *string `json:"env_name,omitempty"` // 绑定关系编号 BindId *string `json:"bind_id,omitempty"` // 绑定时间 BindTime *sdktime.SdkTime `json:"bind_time,omitempty"` // API发布记录编号 PublishId *string `json:"publish_id,omitempty"` }
func (AclBindApiInfo) String ¶
func (o AclBindApiInfo) String() string
type AclBindingBatchDelete ¶
type AclBindingBatchDelete struct { // 需要解除绑定的API和ACL绑定关系ID列表 AclBindings *[]string `json:"acl_bindings,omitempty"` }
func (AclBindingBatchDelete) String ¶
func (o AclBindingBatchDelete) String() string
type AclBindingBatchFailure ¶
type AclBindingBatchFailure struct { // 解除绑定失败的API和ACL绑定关系ID BindId *string `json:"bind_id,omitempty"` // 解除绑定失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 解除绑定失败的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 解除绑定失败的API的ID ApiId *string `json:"api_id,omitempty"` // 解除绑定失败的API的名称 ApiName *string `json:"api_name,omitempty"` }
func (AclBindingBatchFailure) String ¶
func (o AclBindingBatchFailure) String() string
type AddSubsetsToGatewayRequest ¶
type AddSubsetsToGatewayRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` Body *AddSubsetsToGatewayRequestBody `json:"body,omitempty"` }
Request Object
func (AddSubsetsToGatewayRequest) String ¶
func (o AddSubsetsToGatewayRequest) String() string
type AddSubsetsToGatewayRequestBody ¶
type AddSubsetsToGatewayRequestBody struct { // 待添加子设备ID列表,且设备需是普通设备,自动向下取整 Resources []int32 `json:"resources"` }
func (AddSubsetsToGatewayRequestBody) String ¶
func (o AddSubsetsToGatewayRequestBody) String() string
type AddSubsetsToGatewayResponse ¶
type AddSubsetsToGatewayResponse struct { Body *[]Device `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddSubsetsToGatewayResponse) String ¶
func (o AddSubsetsToGatewayResponse) String() string
type AddUserToApp ¶
type AddUserToApp struct { // 要添加的用户成员列表,空列表时代表清空应用的所有成员 Users *[]User `json:"users,omitempty"` }
func (AddUserToApp) String ¶
func (o AddUserToApp) String() string
type AddUserToAppRequest ¶
type AddUserToAppRequest struct { // 应用ID AppId string `json:"app_id"` // 实例ID InstanceId string `json:"instance_id"` Body *AddUserToApp `json:"body,omitempty"` }
Request Object
func (AddUserToAppRequest) String ¶
func (o AddUserToAppRequest) String() string
type AddUserToAppResponse ¶
type AddUserToAppResponse struct { // 应用的总成员数量 Total *int32 `json:"total,omitempty"` // 应用ID Id *string `json:"id,omitempty"` // 用户成员列表 Users *[]AppUsersUsers `json:"users,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddUserToAppResponse) String ¶
func (o AddUserToAppResponse) String() string
type AddingBackendInstancesV2Request ¶
type AddingBackendInstancesV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *VpcMemberCreate `json:"body,omitempty"` }
Request Object
func (AddingBackendInstancesV2Request) String ¶
func (o AddingBackendInstancesV2Request) String() string
type AddingBackendInstancesV2Response ¶
type AddingBackendInstancesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的云服务器列表 Members *[]VpcMemberInfo `json:"members,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddingBackendInstancesV2Response) String ¶
func (o AddingBackendInstancesV2Response) String() string
type ApiAclCreate ¶
type ApiAclCreate struct { // ACL策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 AclName string `json:"acl_name"` // 类型 - PERMIT (白名单类型) - DENY (黑名单类型) AclType string `json:"acl_type"` // ACL策略值,支持一个或多个值,使用英文半角逗号分隔 AclValue string `json:"acl_value"` // 对象类型: - IP - DOMAIN EntityType string `json:"entity_type"` }
func (ApiAclCreate) String ¶
func (o ApiAclCreate) String() string
type ApiAclInfoWithBindNum ¶
type ApiAclInfoWithBindNum struct { // ACL策略名称 AclName *string `json:"acl_name,omitempty"` // 类型 - PERMIT(白名单类型) - DENY(黑名单类型) AclType *string `json:"acl_type,omitempty"` // ACL策略的值 AclValue *string `json:"acl_value,omitempty"` // 绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 对象类型 - IP - DOMAIN EntityType *string `json:"entity_type,omitempty"` // ACL策略编号 Id *string `json:"id,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (ApiAclInfoWithBindNum) String ¶
func (o ApiAclInfoWithBindNum) String() string
type ApiActionInfo ¶
type ApiActionInfo struct { // 需要进行的操作。 - online:发布 - offline:下线 Action ApiActionInfoAction `json:"action"` // API的编号,即:需要进行发布或下线的API的编号 ApiId string `json:"api_id"` // 环境的编号,即:API需要发布到哪个环境 EnvId string `json:"env_id"` // 对发布动作的简述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` }
func (ApiActionInfo) String ¶
func (o ApiActionInfo) String() string
type ApiActionInfoAction ¶
type ApiActionInfoAction struct {
// contains filtered or unexported fields
}
func (ApiActionInfoAction) MarshalJSON ¶
func (c ApiActionInfoAction) MarshalJSON() ([]byte, error)
func (*ApiActionInfoAction) UnmarshalJSON ¶
func (c *ApiActionInfoAction) UnmarshalJSON(b []byte) error
func (ApiActionInfoAction) Value ¶ added in v0.0.90
func (c ApiActionInfoAction) Value() string
type ApiActionInfoActionEnum ¶
type ApiActionInfoActionEnum struct { ONLINE ApiActionInfoAction OFFLINE ApiActionInfoAction }
func GetApiActionInfoActionEnum ¶
func GetApiActionInfoActionEnum() ApiActionInfoActionEnum
type ApiAuthBase ¶
type ApiAuthBase struct { // 授权关系编号 Id *string `json:"id,omitempty"` // API的编号 ApiId *string `json:"api_id,omitempty"` // API的名称 ApiName *string `json:"api_name,omitempty"` // API绑定的分组名称 GroupName *string `json:"group_name,omitempty"` // API类型 ApiType *int32 `json:"api_type,omitempty"` // API的描述信息 ApiRemark *string `json:"api_remark,omitempty"` // api授权绑定的环境ID EnvId *string `json:"env_id,omitempty"` // 授权者 AuthRole *string `json:"auth_role,omitempty"` // 授权创建的时间 AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"` // APP的名称 AppName *string `json:"app_name,omitempty"` // APP的描述 AppRemark *string `json:"app_remark,omitempty"` // APP的类型: - apig:存量apic客户端,新建实例不支持此类型 - roma:roma集成客户端 AppType *ApiAuthBaseAppType `json:"app_type,omitempty"` // APP的创建者,取值如下: - USER:租户自己创建 - MARKET:API市场分配,暂不支持 AppCreator *string `json:"app_creator,omitempty"` // API的发布编号 PublishId *string `json:"publish_id,omitempty"` // API绑定的分组ID GroupId *string `json:"group_id,omitempty"` // 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道 AuthTunnel *ApiAuthBaseAuthTunnel `json:"auth_tunnel,omitempty"` // 绿色通道的白名单配置 AuthWhitelist *[]string `json:"auth_whitelist,omitempty"` // 绿色通道的黑名单配置 AuthBlacklist *[]string `json:"auth_blacklist,omitempty"` // 访问参数。 VisitParam *string `json:"visit_param,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 RomaAppType *string `json:"roma_app_type,omitempty"` }
func (ApiAuthBase) String ¶
func (o ApiAuthBase) String() string
type ApiAuthBaseAppType ¶
type ApiAuthBaseAppType struct {
// contains filtered or unexported fields
}
func (ApiAuthBaseAppType) MarshalJSON ¶
func (c ApiAuthBaseAppType) MarshalJSON() ([]byte, error)
func (*ApiAuthBaseAppType) UnmarshalJSON ¶
func (c *ApiAuthBaseAppType) UnmarshalJSON(b []byte) error
func (ApiAuthBaseAppType) Value ¶ added in v0.0.90
func (c ApiAuthBaseAppType) Value() string
type ApiAuthBaseAppTypeEnum ¶
type ApiAuthBaseAppTypeEnum struct { APIG ApiAuthBaseAppType ROMA ApiAuthBaseAppType }
func GetApiAuthBaseAppTypeEnum ¶
func GetApiAuthBaseAppTypeEnum() ApiAuthBaseAppTypeEnum
type ApiAuthBaseAuthTunnel ¶
type ApiAuthBaseAuthTunnel struct {
// contains filtered or unexported fields
}
func (ApiAuthBaseAuthTunnel) MarshalJSON ¶
func (c ApiAuthBaseAuthTunnel) MarshalJSON() ([]byte, error)
func (*ApiAuthBaseAuthTunnel) UnmarshalJSON ¶
func (c *ApiAuthBaseAuthTunnel) UnmarshalJSON(b []byte) error
func (ApiAuthBaseAuthTunnel) Value ¶ added in v0.0.90
func (c ApiAuthBaseAuthTunnel) Value() string
type ApiAuthBaseAuthTunnelEnum ¶
type ApiAuthBaseAuthTunnelEnum struct { NORMAL ApiAuthBaseAuthTunnel GREEN ApiAuthBaseAuthTunnel }
func GetApiAuthBaseAuthTunnelEnum ¶
func GetApiAuthBaseAuthTunnelEnum() ApiAuthBaseAuthTunnelEnum
type ApiAuthCreate ¶
type ApiAuthCreate struct { // 需要授权的环境编号 EnvId string `json:"env_id"` // APP的编号列表 AppIds []string `json:"app_ids"` // API的编号列表。 ApiIds []string `json:"api_ids"` // 授权通道类型: - GREEN:绿色通道 - NORMAL:非绿色通道 实例开启green_tunnel特性时可以开启绿色通道,此字段不填默认为不使用绿色通道 AuthTunnel *string `json:"auth_tunnel,omitempty"` // 绿色通道授权白名单。 允许白名单中的IP不使用认证信息访问,auth_tunnel = GREEN时生效 AuthWhitelist *[]string `json:"auth_whitelist,omitempty"` // 绿色通道授权黑名单。 auth_tunnel = GREEN时生效 AuthBlacklist *[]string `json:"auth_blacklist,omitempty"` // 访问参数列表。 VisitParams *[]ApiAuthVisitParam `json:"visit_params,omitempty"` }
func (ApiAuthCreate) String ¶
func (o ApiAuthCreate) String() string
type ApiAuthDetail ¶
type ApiAuthDetail struct { // 访问API服务的认证方式 - none - basicauth - oauth2.0 - hmac - secret - md5 - apiGateway - keyTop - hikVision - huaweiNetworkManagement - liHe AuthMethod *ApiAuthDetailAuthMethod `json:"auth_method,omitempty"` // 访问API服务的APP认证方式,认证方式为(apiGateway)时填写 - default - secret - jwt AppAuthType *ApiAuthDetailAppAuthType `json:"app_auth_type,omitempty"` // 访问API服务的用户名 - 认证方式为(lihe、huaweiNetworkManagement、basicauth)时填写 UserName *string `json:"user_name,omitempty"` // 访问API服务的密码 - 认证方式为(lihe、huaweiNetworkManagement、basicauth、secret、md5、hmac)时填写 Password *string `json:"password,omitempty"` // 访问API服务的AppKey - 认证方式为(apiGateway、oauth2.0)时填写 AppKey *string `json:"app_key,omitempty"` // 访问API服务的AppSecret - 认证方式为(apiGateway、oauth2.0)时填写 AppSecret *string `json:"app_secret,omitempty"` // 访问API服务的Secret - 认证方式为(KeyTop、HikVision、Secret、HMAC、MD5)时填写 Secret *string `json:"secret,omitempty"` // 访问API服务的备用IP - 认证方式为(HuaweiNetworkManagement)时填写 AltIp *string `json:"alt_ip,omitempty"` // 访问API服务的AccessTokenUrl - 认证方式为(liHe、oauth2.0 huaweiNetworkManagement)时填写 AccessTokenUrl *string `json:"access_token_url,omitempty"` // 访问API服务的客户端标识 - 认证方式为Oauth2时填写 ClientId *string `json:"client_id,omitempty"` // 访问API服务的客户端密钥 - 认证方式为Oauth2时填写 ClientSecret *string `json:"client_secret,omitempty"` // 访问API服务的Scope - 认证方式为(LiHe、Oauth2)时填写 Scope *string `json:"scope,omitempty"` // 访问API服务的Authorization - 认证方式为(LiHe)时填写 Authorization *string `json:"authorization,omitempty"` // 访问API服务的授权类型 - 认证方式为(LiHe、Oauth2)时填写 - client_credentials (oauth2.0使用) GrantType *string `json:"grant_type,omitempty"` }
api鉴权字段
func (ApiAuthDetail) String ¶
func (o ApiAuthDetail) String() string
type ApiAuthDetailAppAuthType ¶
type ApiAuthDetailAppAuthType struct {
// contains filtered or unexported fields
}
func (ApiAuthDetailAppAuthType) MarshalJSON ¶
func (c ApiAuthDetailAppAuthType) MarshalJSON() ([]byte, error)
func (*ApiAuthDetailAppAuthType) UnmarshalJSON ¶
func (c *ApiAuthDetailAppAuthType) UnmarshalJSON(b []byte) error
func (ApiAuthDetailAppAuthType) Value ¶ added in v0.0.90
func (c ApiAuthDetailAppAuthType) Value() string
type ApiAuthDetailAppAuthTypeEnum ¶
type ApiAuthDetailAppAuthTypeEnum struct { DEFAULT ApiAuthDetailAppAuthType SECRET ApiAuthDetailAppAuthType JWT ApiAuthDetailAppAuthType }
func GetApiAuthDetailAppAuthTypeEnum ¶
func GetApiAuthDetailAppAuthTypeEnum() ApiAuthDetailAppAuthTypeEnum
type ApiAuthDetailAuthMethod ¶
type ApiAuthDetailAuthMethod struct {
// contains filtered or unexported fields
}
func (ApiAuthDetailAuthMethod) MarshalJSON ¶
func (c ApiAuthDetailAuthMethod) MarshalJSON() ([]byte, error)
func (*ApiAuthDetailAuthMethod) UnmarshalJSON ¶
func (c *ApiAuthDetailAuthMethod) UnmarshalJSON(b []byte) error
func (ApiAuthDetailAuthMethod) Value ¶ added in v0.0.90
func (c ApiAuthDetailAuthMethod) Value() string
type ApiAuthDetailAuthMethodEnum ¶
type ApiAuthDetailAuthMethodEnum struct { NONE ApiAuthDetailAuthMethod BASICAUTH ApiAuthDetailAuthMethod OAUTH2_0 ApiAuthDetailAuthMethod HMAC ApiAuthDetailAuthMethod SECRET ApiAuthDetailAuthMethod MD5 ApiAuthDetailAuthMethod API_GATEWAY ApiAuthDetailAuthMethod KEY_TOP ApiAuthDetailAuthMethod HIK_VISION ApiAuthDetailAuthMethod HUAWEI_NETWORK_MANAGEMENT ApiAuthDetailAuthMethod LI_HE ApiAuthDetailAuthMethod }
func GetApiAuthDetailAuthMethodEnum ¶
func GetApiAuthDetailAuthMethodEnum() ApiAuthDetailAuthMethodEnum
type ApiAuthInfo ¶
type ApiAuthInfo struct { // 授权关系编号 Id *string `json:"id,omitempty"` // API的编号 ApiId *string `json:"api_id,omitempty"` // API的名称 ApiName *string `json:"api_name,omitempty"` // API绑定的分组名称 GroupName *string `json:"group_name,omitempty"` // API类型 ApiType *int32 `json:"api_type,omitempty"` // API的描述信息 ApiRemark *string `json:"api_remark,omitempty"` // api授权绑定的环境ID EnvId *string `json:"env_id,omitempty"` // 授权者 AuthRole *string `json:"auth_role,omitempty"` // 授权创建的时间 AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"` // APP的名称 AppName *string `json:"app_name,omitempty"` // APP的描述 AppRemark *string `json:"app_remark,omitempty"` // APP的类型: - apig:存量apic客户端,新建实例不支持此类型 - roma:roma集成客户端 AppType *ApiAuthInfoAppType `json:"app_type,omitempty"` // APP的创建者,取值如下: - USER:租户自己创建 - MARKET:API市场分配,暂不支持 AppCreator *string `json:"app_creator,omitempty"` // API的发布编号 PublishId *string `json:"publish_id,omitempty"` // API绑定的分组ID GroupId *string `json:"group_id,omitempty"` // 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道 AuthTunnel *ApiAuthInfoAuthTunnel `json:"auth_tunnel,omitempty"` // 绿色通道的白名单配置 AuthWhitelist *[]string `json:"auth_whitelist,omitempty"` // 绿色通道的黑名单配置 AuthBlacklist *[]string `json:"auth_blacklist,omitempty"` // 访问参数。 VisitParam *string `json:"visit_param,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 RomaAppType *string `json:"roma_app_type,omitempty"` // api授权绑定的环境名称 EnvName *string `json:"env_name,omitempty"` // APP的编号 AppId *string `json:"app_id,omitempty"` }
func (ApiAuthInfo) String ¶
func (o ApiAuthInfo) String() string
type ApiAuthInfoAppType ¶
type ApiAuthInfoAppType struct {
// contains filtered or unexported fields
}
func (ApiAuthInfoAppType) MarshalJSON ¶
func (c ApiAuthInfoAppType) MarshalJSON() ([]byte, error)
func (*ApiAuthInfoAppType) UnmarshalJSON ¶
func (c *ApiAuthInfoAppType) UnmarshalJSON(b []byte) error
func (ApiAuthInfoAppType) Value ¶ added in v0.0.90
func (c ApiAuthInfoAppType) Value() string
type ApiAuthInfoAppTypeEnum ¶
type ApiAuthInfoAppTypeEnum struct { APIG ApiAuthInfoAppType ROMA ApiAuthInfoAppType }
func GetApiAuthInfoAppTypeEnum ¶
func GetApiAuthInfoAppTypeEnum() ApiAuthInfoAppTypeEnum
type ApiAuthInfoAuthTunnel ¶
type ApiAuthInfoAuthTunnel struct {
// contains filtered or unexported fields
}
func (ApiAuthInfoAuthTunnel) MarshalJSON ¶
func (c ApiAuthInfoAuthTunnel) MarshalJSON() ([]byte, error)
func (*ApiAuthInfoAuthTunnel) UnmarshalJSON ¶
func (c *ApiAuthInfoAuthTunnel) UnmarshalJSON(b []byte) error
func (ApiAuthInfoAuthTunnel) Value ¶ added in v0.0.90
func (c ApiAuthInfoAuthTunnel) Value() string
type ApiAuthInfoAuthTunnelEnum ¶
type ApiAuthInfoAuthTunnelEnum struct { NORMAL ApiAuthInfoAuthTunnel GREEN ApiAuthInfoAuthTunnel }
func GetApiAuthInfoAuthTunnelEnum ¶
func GetApiAuthInfoAuthTunnelEnum() ApiAuthInfoAuthTunnelEnum
type ApiAuthRelations ¶
type ApiAuthRelations struct { // API编号 ApiId *string `json:"api_id,omitempty"` AuthResult *AuthResult `json:"auth_result,omitempty"` // 授权时间 AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"` // 授权关系编号 Id *string `json:"id,omitempty"` // APP编号 AppId *string `json:"app_id,omitempty"` // 授权者 - PROVIDER:API提供者授权 - CONSUMER:API消费者授权 AuthRole *ApiAuthRelationsAuthRole `json:"auth_role,omitempty"` // 授权通道类型: - GREEN:绿色通道 - NORMAL:非绿色通道 此字段不填默认为不使用绿色通道 AuthTunnel *string `json:"auth_tunnel,omitempty"` // 绿色通道授权白名单。 允许白名单中的IP不使用认证信息访问 AuthWhitelist *[]string `json:"auth_whitelist,omitempty"` // 绿色通道授权黑名单 AuthBlacklist *[]string `json:"auth_blacklist,omitempty"` // 访问参数。 VisitParams *string `json:"visit_params,omitempty"` }
func (ApiAuthRelations) String ¶
func (o ApiAuthRelations) String() string
type ApiAuthRelationsAuthRole ¶
type ApiAuthRelationsAuthRole struct {
// contains filtered or unexported fields
}
func (ApiAuthRelationsAuthRole) MarshalJSON ¶
func (c ApiAuthRelationsAuthRole) MarshalJSON() ([]byte, error)
func (*ApiAuthRelationsAuthRole) UnmarshalJSON ¶
func (c *ApiAuthRelationsAuthRole) UnmarshalJSON(b []byte) error
func (ApiAuthRelationsAuthRole) Value ¶ added in v0.0.90
func (c ApiAuthRelationsAuthRole) Value() string
type ApiAuthRelationsAuthRoleEnum ¶
type ApiAuthRelationsAuthRoleEnum struct { PROVIDER ApiAuthRelationsAuthRole CONSUMER ApiAuthRelationsAuthRole }
func GetApiAuthRelationsAuthRoleEnum ¶
func GetApiAuthRelationsAuthRoleEnum() ApiAuthRelationsAuthRoleEnum
type ApiAuthVisitParam ¶
type ApiAuthVisitParam struct { // 需要授权的API编号 ApiId string `json:"api_id"` // 需要授权的APP编号 AppId *string `json:"app_id,omitempty"` // 访问参数 支持英文、数字、下划线和中划线,多个参数以英文格式下的逗号隔开,单个参数须以英文或数字结尾且不能重复,且单个参数长度不超过255个字符。 VisitParam string `json:"visit_param"` }
func (ApiAuthVisitParam) String ¶
func (o ApiAuthVisitParam) String() string
type ApiBaseInfo ¶
type ApiBaseInfo struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ApiBaseInfoType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiBaseInfoReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiBaseInfoReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiBaseInfoAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiBaseInfoMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiBaseInfoBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ApiBaseInfoContentType `json:"content_type,omitempty"` }
func (ApiBaseInfo) String ¶
func (o ApiBaseInfo) String() string
type ApiBaseInfoAuthType ¶
type ApiBaseInfoAuthType struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoAuthType) MarshalJSON ¶
func (c ApiBaseInfoAuthType) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoAuthType) UnmarshalJSON ¶
func (c *ApiBaseInfoAuthType) UnmarshalJSON(b []byte) error
func (ApiBaseInfoAuthType) Value ¶ added in v0.0.90
func (c ApiBaseInfoAuthType) Value() string
type ApiBaseInfoAuthTypeEnum ¶
type ApiBaseInfoAuthTypeEnum struct { NONE ApiBaseInfoAuthType APP ApiBaseInfoAuthType IAM ApiBaseInfoAuthType AUTHORIZER ApiBaseInfoAuthType }
func GetApiBaseInfoAuthTypeEnum ¶
func GetApiBaseInfoAuthTypeEnum() ApiBaseInfoAuthTypeEnum
type ApiBaseInfoBackendType ¶
type ApiBaseInfoBackendType struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoBackendType) MarshalJSON ¶
func (c ApiBaseInfoBackendType) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoBackendType) UnmarshalJSON ¶
func (c *ApiBaseInfoBackendType) UnmarshalJSON(b []byte) error
func (ApiBaseInfoBackendType) Value ¶ added in v0.0.90
func (c ApiBaseInfoBackendType) Value() string
type ApiBaseInfoBackendTypeEnum ¶
type ApiBaseInfoBackendTypeEnum struct { HTTP ApiBaseInfoBackendType FUNCTION ApiBaseInfoBackendType MOCK ApiBaseInfoBackendType }
func GetApiBaseInfoBackendTypeEnum ¶
func GetApiBaseInfoBackendTypeEnum() ApiBaseInfoBackendTypeEnum
type ApiBaseInfoContentType ¶
type ApiBaseInfoContentType struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoContentType) MarshalJSON ¶
func (c ApiBaseInfoContentType) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoContentType) UnmarshalJSON ¶
func (c *ApiBaseInfoContentType) UnmarshalJSON(b []byte) error
func (ApiBaseInfoContentType) Value ¶ added in v0.0.90
func (c ApiBaseInfoContentType) Value() string
type ApiBaseInfoContentTypeEnum ¶
type ApiBaseInfoContentTypeEnum struct { APPLICATION_JSON ApiBaseInfoContentType APPLICATION_XML ApiBaseInfoContentType MULTIPART_FORM_DATE ApiBaseInfoContentType TEXT_PLAIN ApiBaseInfoContentType }
func GetApiBaseInfoContentTypeEnum ¶
func GetApiBaseInfoContentTypeEnum() ApiBaseInfoContentTypeEnum
type ApiBaseInfoMatchMode ¶
type ApiBaseInfoMatchMode struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoMatchMode) MarshalJSON ¶
func (c ApiBaseInfoMatchMode) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoMatchMode) UnmarshalJSON ¶
func (c *ApiBaseInfoMatchMode) UnmarshalJSON(b []byte) error
func (ApiBaseInfoMatchMode) Value ¶ added in v0.0.90
func (c ApiBaseInfoMatchMode) Value() string
type ApiBaseInfoMatchModeEnum ¶
type ApiBaseInfoMatchModeEnum struct { SWA ApiBaseInfoMatchMode NORMAL ApiBaseInfoMatchMode }
func GetApiBaseInfoMatchModeEnum ¶
func GetApiBaseInfoMatchModeEnum() ApiBaseInfoMatchModeEnum
type ApiBaseInfoReqMethod ¶
type ApiBaseInfoReqMethod struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoReqMethod) MarshalJSON ¶
func (c ApiBaseInfoReqMethod) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoReqMethod) UnmarshalJSON ¶
func (c *ApiBaseInfoReqMethod) UnmarshalJSON(b []byte) error
func (ApiBaseInfoReqMethod) Value ¶ added in v0.0.90
func (c ApiBaseInfoReqMethod) Value() string
type ApiBaseInfoReqMethodEnum ¶
type ApiBaseInfoReqMethodEnum struct { GET ApiBaseInfoReqMethod POST ApiBaseInfoReqMethod PUT ApiBaseInfoReqMethod DELETE ApiBaseInfoReqMethod HEAD ApiBaseInfoReqMethod PATCH ApiBaseInfoReqMethod OPTIONS ApiBaseInfoReqMethod ANY ApiBaseInfoReqMethod }
func GetApiBaseInfoReqMethodEnum ¶
func GetApiBaseInfoReqMethodEnum() ApiBaseInfoReqMethodEnum
type ApiBaseInfoReqProtocol ¶
type ApiBaseInfoReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoReqProtocol) MarshalJSON ¶
func (c ApiBaseInfoReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoReqProtocol) UnmarshalJSON ¶
func (c *ApiBaseInfoReqProtocol) UnmarshalJSON(b []byte) error
func (ApiBaseInfoReqProtocol) Value ¶ added in v0.0.90
func (c ApiBaseInfoReqProtocol) Value() string
type ApiBaseInfoReqProtocolEnum ¶
type ApiBaseInfoReqProtocolEnum struct { HTTP ApiBaseInfoReqProtocol HTTPS ApiBaseInfoReqProtocol BOTH ApiBaseInfoReqProtocol }
func GetApiBaseInfoReqProtocolEnum ¶
func GetApiBaseInfoReqProtocolEnum() ApiBaseInfoReqProtocolEnum
type ApiBaseInfoType ¶
type ApiBaseInfoType struct {
// contains filtered or unexported fields
}
func (ApiBaseInfoType) MarshalJSON ¶
func (c ApiBaseInfoType) MarshalJSON() ([]byte, error)
func (*ApiBaseInfoType) UnmarshalJSON ¶
func (c *ApiBaseInfoType) UnmarshalJSON(b []byte) error
func (ApiBaseInfoType) Value ¶ added in v0.0.90
func (c ApiBaseInfoType) Value() int32
type ApiBaseInfoTypeEnum ¶
type ApiBaseInfoTypeEnum struct { E_1 ApiBaseInfoType E_2 ApiBaseInfoType }
func GetApiBaseInfoTypeEnum ¶
func GetApiBaseInfoTypeEnum() ApiBaseInfoTypeEnum
type ApiBatchPublish ¶
type ApiBatchPublish struct { // 需要发布或下线的API ID列表 Apis *[]string `json:"apis,omitempty"` // 环境ID EnvId string `json:"env_id"` // 对本次发布的描述信息 字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` }
func (ApiBatchPublish) String ¶
func (o ApiBatchPublish) String() string
type ApiBindAclInfo ¶
type ApiBindAclInfo struct { // ACL策略编号 AclId *string `json:"acl_id,omitempty"` // ACL策略名称 AclName *string `json:"acl_name,omitempty"` // ACL策略作用的对象类型 EntityType *ApiBindAclInfoEntityType `json:"entity_type,omitempty"` // ACL策略类型 - PERMIT:白名单类型 - DENY:黑名单类型 AclType *ApiBindAclInfoAclType `json:"acl_type,omitempty"` // ACL策略值 AclValue *string `json:"acl_value,omitempty"` // 生效的环境编号 EnvId *string `json:"env_id,omitempty"` // 生效的环境名称 EnvName *string `json:"env_name,omitempty"` // 绑定关系编号 BindId *string `json:"bind_id,omitempty"` // 绑定时间 BindTime *sdktime.SdkTime `json:"bind_time,omitempty"` }
func (ApiBindAclInfo) String ¶
func (o ApiBindAclInfo) String() string
type ApiBindAclInfoAclType ¶
type ApiBindAclInfoAclType struct {
// contains filtered or unexported fields
}
func (ApiBindAclInfoAclType) MarshalJSON ¶
func (c ApiBindAclInfoAclType) MarshalJSON() ([]byte, error)
func (*ApiBindAclInfoAclType) UnmarshalJSON ¶
func (c *ApiBindAclInfoAclType) UnmarshalJSON(b []byte) error
func (ApiBindAclInfoAclType) Value ¶ added in v0.0.90
func (c ApiBindAclInfoAclType) Value() string
type ApiBindAclInfoAclTypeEnum ¶
type ApiBindAclInfoAclTypeEnum struct { PERMIT ApiBindAclInfoAclType DENY ApiBindAclInfoAclType }
func GetApiBindAclInfoAclTypeEnum ¶
func GetApiBindAclInfoAclTypeEnum() ApiBindAclInfoAclTypeEnum
type ApiBindAclInfoEntityType ¶
type ApiBindAclInfoEntityType struct {
// contains filtered or unexported fields
}
func (ApiBindAclInfoEntityType) MarshalJSON ¶
func (c ApiBindAclInfoEntityType) MarshalJSON() ([]byte, error)
func (*ApiBindAclInfoEntityType) UnmarshalJSON ¶
func (c *ApiBindAclInfoEntityType) UnmarshalJSON(b []byte) error
func (ApiBindAclInfoEntityType) Value ¶ added in v0.0.90
func (c ApiBindAclInfoEntityType) Value() string
type ApiBindAclInfoEntityTypeEnum ¶
type ApiBindAclInfoEntityTypeEnum struct { IP ApiBindAclInfoEntityType DOMAIN ApiBindAclInfoEntityType }
func GetApiBindAclInfoEntityTypeEnum ¶
func GetApiBindAclInfoEntityTypeEnum() ApiBindAclInfoEntityTypeEnum
type ApiCheckInfo ¶
type ApiCheckInfo struct { // API名称。 type = name时必填 Name *string `json:"name,omitempty"` // 请求方式。 type = path时必填 ReqMethod *ApiCheckInfoReqMethod `json:"req_method,omitempty"` // API的访问地址。 type = path时必填 ReqUri *string `json:"req_uri,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) type = path时必填 MatchMode *ApiCheckInfoMatchMode `json:"match_mode,omitempty"` // 分组ID。 校验分组下API定义是否重复时必填 GroupId *string `json:"group_id,omitempty"` // 集成应用ID。 校验应用下API定义是否重复时必填 RomaAppId *string `json:"roma_app_id,omitempty"` // 需要对比的API ID ApiId *string `json:"api_id,omitempty"` }
func (ApiCheckInfo) String ¶
func (o ApiCheckInfo) String() string
type ApiCheckInfoMatchMode ¶
type ApiCheckInfoMatchMode struct {
// contains filtered or unexported fields
}
func (ApiCheckInfoMatchMode) MarshalJSON ¶
func (c ApiCheckInfoMatchMode) MarshalJSON() ([]byte, error)
func (*ApiCheckInfoMatchMode) UnmarshalJSON ¶
func (c *ApiCheckInfoMatchMode) UnmarshalJSON(b []byte) error
func (ApiCheckInfoMatchMode) Value ¶ added in v0.0.90
func (c ApiCheckInfoMatchMode) Value() string
type ApiCheckInfoMatchModeEnum ¶
type ApiCheckInfoMatchModeEnum struct { SWA ApiCheckInfoMatchMode NORMAL ApiCheckInfoMatchMode }
func GetApiCheckInfoMatchModeEnum ¶
func GetApiCheckInfoMatchModeEnum() ApiCheckInfoMatchModeEnum
type ApiCheckInfoReqMethod ¶
type ApiCheckInfoReqMethod struct {
// contains filtered or unexported fields
}
func (ApiCheckInfoReqMethod) MarshalJSON ¶
func (c ApiCheckInfoReqMethod) MarshalJSON() ([]byte, error)
func (*ApiCheckInfoReqMethod) UnmarshalJSON ¶
func (c *ApiCheckInfoReqMethod) UnmarshalJSON(b []byte) error
func (ApiCheckInfoReqMethod) Value ¶ added in v0.0.90
func (c ApiCheckInfoReqMethod) Value() string
type ApiCheckInfoReqMethodEnum ¶
type ApiCheckInfoReqMethodEnum struct { GET ApiCheckInfoReqMethod POST ApiCheckInfoReqMethod PUT ApiCheckInfoReqMethod DELETE ApiCheckInfoReqMethod HEAD ApiCheckInfoReqMethod PATCH ApiCheckInfoReqMethod OPTIONS ApiCheckInfoReqMethod ANY ApiCheckInfoReqMethod }
func GetApiCheckInfoReqMethodEnum ¶
func GetApiCheckInfoReqMethodEnum() ApiCheckInfoReqMethodEnum
type ApiCheckInfoV2 ¶
type ApiCheckInfoV2 struct { // API名称。 type = name时必填 Name *string `json:"name,omitempty"` // 请求方式。 type = path时必填 ReqMethod *ApiCheckInfoV2ReqMethod `json:"req_method,omitempty"` // API的访问地址。 type = path时必填 ReqUri *string `json:"req_uri,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) type = path时必填 MatchMode *ApiCheckInfoV2MatchMode `json:"match_mode,omitempty"` // 分组ID。 校验分组下API定义是否重复时必填 GroupId *string `json:"group_id,omitempty"` // 集成应用ID。 校验应用下API定义是否重复时必填 RomaAppId *string `json:"roma_app_id,omitempty"` // 需要对比的API ID ApiId *string `json:"api_id,omitempty"` // 校验类型: - path:路径类型 - name:名称类型 Type *ApiCheckInfoV2Type `json:"type,omitempty"` }
func (ApiCheckInfoV2) String ¶
func (o ApiCheckInfoV2) String() string
type ApiCheckInfoV2MatchMode ¶
type ApiCheckInfoV2MatchMode struct {
// contains filtered or unexported fields
}
func (ApiCheckInfoV2MatchMode) MarshalJSON ¶
func (c ApiCheckInfoV2MatchMode) MarshalJSON() ([]byte, error)
func (*ApiCheckInfoV2MatchMode) UnmarshalJSON ¶
func (c *ApiCheckInfoV2MatchMode) UnmarshalJSON(b []byte) error
func (ApiCheckInfoV2MatchMode) Value ¶ added in v0.0.90
func (c ApiCheckInfoV2MatchMode) Value() string
type ApiCheckInfoV2MatchModeEnum ¶
type ApiCheckInfoV2MatchModeEnum struct { SWA ApiCheckInfoV2MatchMode NORMAL ApiCheckInfoV2MatchMode }
func GetApiCheckInfoV2MatchModeEnum ¶
func GetApiCheckInfoV2MatchModeEnum() ApiCheckInfoV2MatchModeEnum
type ApiCheckInfoV2ReqMethod ¶
type ApiCheckInfoV2ReqMethod struct {
// contains filtered or unexported fields
}
func (ApiCheckInfoV2ReqMethod) MarshalJSON ¶
func (c ApiCheckInfoV2ReqMethod) MarshalJSON() ([]byte, error)
func (*ApiCheckInfoV2ReqMethod) UnmarshalJSON ¶
func (c *ApiCheckInfoV2ReqMethod) UnmarshalJSON(b []byte) error
func (ApiCheckInfoV2ReqMethod) Value ¶ added in v0.0.90
func (c ApiCheckInfoV2ReqMethod) Value() string
type ApiCheckInfoV2ReqMethodEnum ¶
type ApiCheckInfoV2ReqMethodEnum struct { GET ApiCheckInfoV2ReqMethod POST ApiCheckInfoV2ReqMethod PUT ApiCheckInfoV2ReqMethod DELETE ApiCheckInfoV2ReqMethod HEAD ApiCheckInfoV2ReqMethod PATCH ApiCheckInfoV2ReqMethod OPTIONS ApiCheckInfoV2ReqMethod ANY ApiCheckInfoV2ReqMethod }
func GetApiCheckInfoV2ReqMethodEnum ¶
func GetApiCheckInfoV2ReqMethodEnum() ApiCheckInfoV2ReqMethodEnum
type ApiCheckInfoV2Type ¶
type ApiCheckInfoV2Type struct {
// contains filtered or unexported fields
}
func (ApiCheckInfoV2Type) MarshalJSON ¶
func (c ApiCheckInfoV2Type) MarshalJSON() ([]byte, error)
func (*ApiCheckInfoV2Type) UnmarshalJSON ¶
func (c *ApiCheckInfoV2Type) UnmarshalJSON(b []byte) error
func (ApiCheckInfoV2Type) Value ¶ added in v0.0.90
func (c ApiCheckInfoV2Type) Value() string
type ApiCheckInfoV2TypeEnum ¶
type ApiCheckInfoV2TypeEnum struct { PATH ApiCheckInfoV2Type NAME ApiCheckInfoV2Type }
func GetApiCheckInfoV2TypeEnum ¶
func GetApiCheckInfoV2TypeEnum() ApiCheckInfoV2TypeEnum
type ApiCommon ¶
type ApiCommon struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ApiCommonType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiCommonReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiCommonReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiCommonAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiCommonMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiCommonBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ApiCommonContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *ApiCommonStatus `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site) PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` }
type ApiCommonAuthType ¶
type ApiCommonAuthType struct {
// contains filtered or unexported fields
}
func (ApiCommonAuthType) MarshalJSON ¶
func (c ApiCommonAuthType) MarshalJSON() ([]byte, error)
func (*ApiCommonAuthType) UnmarshalJSON ¶
func (c *ApiCommonAuthType) UnmarshalJSON(b []byte) error
func (ApiCommonAuthType) Value ¶ added in v0.0.90
func (c ApiCommonAuthType) Value() string
type ApiCommonAuthTypeEnum ¶
type ApiCommonAuthTypeEnum struct { NONE ApiCommonAuthType APP ApiCommonAuthType IAM ApiCommonAuthType AUTHORIZER ApiCommonAuthType }
func GetApiCommonAuthTypeEnum ¶
func GetApiCommonAuthTypeEnum() ApiCommonAuthTypeEnum
type ApiCommonBackendType ¶
type ApiCommonBackendType struct {
// contains filtered or unexported fields
}
func (ApiCommonBackendType) MarshalJSON ¶
func (c ApiCommonBackendType) MarshalJSON() ([]byte, error)
func (*ApiCommonBackendType) UnmarshalJSON ¶
func (c *ApiCommonBackendType) UnmarshalJSON(b []byte) error
func (ApiCommonBackendType) Value ¶ added in v0.0.90
func (c ApiCommonBackendType) Value() string
type ApiCommonBackendTypeEnum ¶
type ApiCommonBackendTypeEnum struct { HTTP ApiCommonBackendType FUNCTION ApiCommonBackendType MOCK ApiCommonBackendType }
func GetApiCommonBackendTypeEnum ¶
func GetApiCommonBackendTypeEnum() ApiCommonBackendTypeEnum
type ApiCommonContentType ¶
type ApiCommonContentType struct {
// contains filtered or unexported fields
}
func (ApiCommonContentType) MarshalJSON ¶
func (c ApiCommonContentType) MarshalJSON() ([]byte, error)
func (*ApiCommonContentType) UnmarshalJSON ¶
func (c *ApiCommonContentType) UnmarshalJSON(b []byte) error
func (ApiCommonContentType) Value ¶ added in v0.0.90
func (c ApiCommonContentType) Value() string
type ApiCommonContentTypeEnum ¶
type ApiCommonContentTypeEnum struct { APPLICATION_JSON ApiCommonContentType APPLICATION_XML ApiCommonContentType MULTIPART_FORM_DATE ApiCommonContentType TEXT_PLAIN ApiCommonContentType }
func GetApiCommonContentTypeEnum ¶
func GetApiCommonContentTypeEnum() ApiCommonContentTypeEnum
type ApiCommonMatchMode ¶
type ApiCommonMatchMode struct {
// contains filtered or unexported fields
}
func (ApiCommonMatchMode) MarshalJSON ¶
func (c ApiCommonMatchMode) MarshalJSON() ([]byte, error)
func (*ApiCommonMatchMode) UnmarshalJSON ¶
func (c *ApiCommonMatchMode) UnmarshalJSON(b []byte) error
func (ApiCommonMatchMode) Value ¶ added in v0.0.90
func (c ApiCommonMatchMode) Value() string
type ApiCommonMatchModeEnum ¶
type ApiCommonMatchModeEnum struct { SWA ApiCommonMatchMode NORMAL ApiCommonMatchMode }
func GetApiCommonMatchModeEnum ¶
func GetApiCommonMatchModeEnum() ApiCommonMatchModeEnum
type ApiCommonReqMethod ¶
type ApiCommonReqMethod struct {
// contains filtered or unexported fields
}
func (ApiCommonReqMethod) MarshalJSON ¶
func (c ApiCommonReqMethod) MarshalJSON() ([]byte, error)
func (*ApiCommonReqMethod) UnmarshalJSON ¶
func (c *ApiCommonReqMethod) UnmarshalJSON(b []byte) error
func (ApiCommonReqMethod) Value ¶ added in v0.0.90
func (c ApiCommonReqMethod) Value() string
type ApiCommonReqMethodEnum ¶
type ApiCommonReqMethodEnum struct { GET ApiCommonReqMethod POST ApiCommonReqMethod PUT ApiCommonReqMethod DELETE ApiCommonReqMethod HEAD ApiCommonReqMethod PATCH ApiCommonReqMethod OPTIONS ApiCommonReqMethod ANY ApiCommonReqMethod }
func GetApiCommonReqMethodEnum ¶
func GetApiCommonReqMethodEnum() ApiCommonReqMethodEnum
type ApiCommonReqProtocol ¶
type ApiCommonReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiCommonReqProtocol) MarshalJSON ¶
func (c ApiCommonReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiCommonReqProtocol) UnmarshalJSON ¶
func (c *ApiCommonReqProtocol) UnmarshalJSON(b []byte) error
func (ApiCommonReqProtocol) Value ¶ added in v0.0.90
func (c ApiCommonReqProtocol) Value() string
type ApiCommonReqProtocolEnum ¶
type ApiCommonReqProtocolEnum struct { HTTP ApiCommonReqProtocol HTTPS ApiCommonReqProtocol BOTH ApiCommonReqProtocol }
func GetApiCommonReqProtocolEnum ¶
func GetApiCommonReqProtocolEnum() ApiCommonReqProtocolEnum
type ApiCommonStatus ¶
type ApiCommonStatus struct {
// contains filtered or unexported fields
}
func (ApiCommonStatus) MarshalJSON ¶
func (c ApiCommonStatus) MarshalJSON() ([]byte, error)
func (*ApiCommonStatus) UnmarshalJSON ¶
func (c *ApiCommonStatus) UnmarshalJSON(b []byte) error
func (ApiCommonStatus) Value ¶ added in v0.0.90
func (c ApiCommonStatus) Value() int32
type ApiCommonStatusEnum ¶
type ApiCommonStatusEnum struct {
E_1 ApiCommonStatus
}
func GetApiCommonStatusEnum ¶
func GetApiCommonStatusEnum() ApiCommonStatusEnum
type ApiCommonType ¶
type ApiCommonType struct {
// contains filtered or unexported fields
}
func (ApiCommonType) MarshalJSON ¶
func (c ApiCommonType) MarshalJSON() ([]byte, error)
func (*ApiCommonType) UnmarshalJSON ¶
func (c *ApiCommonType) UnmarshalJSON(b []byte) error
func (ApiCommonType) Value ¶ added in v0.0.90
func (c ApiCommonType) Value() int32
type ApiCommonTypeEnum ¶
type ApiCommonTypeEnum struct { E_1 ApiCommonType E_2 ApiCommonType }
func GetApiCommonTypeEnum ¶
func GetApiCommonTypeEnum() ApiCommonTypeEnum
type ApiConditionBase ¶
type ApiConditionBase struct { // 关联的请求参数对象名称。策略类型为param时必选 ReqParamName *string `json:"req_param_name,omitempty"` // 系统参数名称。策略类型为system时必选。支持以下系统参数 - req_path:请求路径。如 /a/b - req_method:请求方法。如 GET SysParamName *ApiConditionBaseSysParamName `json:"sys_param_name,omitempty"` // 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则 策略类型为param时必选 ConditionType *ApiConditionBaseConditionType `json:"condition_type,omitempty"` // 策略类型 - param:参数 - source:源IP - system:系统参数 ConditionOrigin ApiConditionBaseConditionOrigin `json:"condition_origin"` // 策略值 ConditionValue string `json:"condition_value"` }
func (ApiConditionBase) String ¶
func (o ApiConditionBase) String() string
type ApiConditionBaseConditionOrigin ¶
type ApiConditionBaseConditionOrigin struct {
// contains filtered or unexported fields
}
func (ApiConditionBaseConditionOrigin) MarshalJSON ¶
func (c ApiConditionBaseConditionOrigin) MarshalJSON() ([]byte, error)
func (*ApiConditionBaseConditionOrigin) UnmarshalJSON ¶
func (c *ApiConditionBaseConditionOrigin) UnmarshalJSON(b []byte) error
func (ApiConditionBaseConditionOrigin) Value ¶ added in v0.0.90
func (c ApiConditionBaseConditionOrigin) Value() string
type ApiConditionBaseConditionOriginEnum ¶
type ApiConditionBaseConditionOriginEnum struct { PARAM ApiConditionBaseConditionOrigin SOURCE ApiConditionBaseConditionOrigin }
func GetApiConditionBaseConditionOriginEnum ¶
func GetApiConditionBaseConditionOriginEnum() ApiConditionBaseConditionOriginEnum
type ApiConditionBaseConditionType ¶
type ApiConditionBaseConditionType struct {
// contains filtered or unexported fields
}
func (ApiConditionBaseConditionType) MarshalJSON ¶
func (c ApiConditionBaseConditionType) MarshalJSON() ([]byte, error)
func (*ApiConditionBaseConditionType) UnmarshalJSON ¶
func (c *ApiConditionBaseConditionType) UnmarshalJSON(b []byte) error
func (ApiConditionBaseConditionType) Value ¶ added in v0.0.90
func (c ApiConditionBaseConditionType) Value() string
type ApiConditionBaseConditionTypeEnum ¶
type ApiConditionBaseConditionTypeEnum struct { EXACT ApiConditionBaseConditionType ENUM ApiConditionBaseConditionType PATTERN ApiConditionBaseConditionType }
func GetApiConditionBaseConditionTypeEnum ¶
func GetApiConditionBaseConditionTypeEnum() ApiConditionBaseConditionTypeEnum
type ApiConditionBaseSysParamName ¶
type ApiConditionBaseSysParamName struct {
// contains filtered or unexported fields
}
func (ApiConditionBaseSysParamName) MarshalJSON ¶
func (c ApiConditionBaseSysParamName) MarshalJSON() ([]byte, error)
func (*ApiConditionBaseSysParamName) UnmarshalJSON ¶
func (c *ApiConditionBaseSysParamName) UnmarshalJSON(b []byte) error
func (ApiConditionBaseSysParamName) Value ¶ added in v0.0.90
func (c ApiConditionBaseSysParamName) Value() string
type ApiConditionBaseSysParamNameEnum ¶
type ApiConditionBaseSysParamNameEnum struct { REQ_PATH ApiConditionBaseSysParamName REQ_METHOD ApiConditionBaseSysParamName }
func GetApiConditionBaseSysParamNameEnum ¶
func GetApiConditionBaseSysParamNameEnum() ApiConditionBaseSysParamNameEnum
type ApiConditionCreate ¶
type ApiConditionCreate struct { // 关联的请求参数对象名称。策略类型为param时必选 ReqParamName *string `json:"req_param_name,omitempty"` // 系统参数名称。策略类型为system时必选。支持以下系统参数 - req_path:请求路径。如 /a/b - req_method:请求方法。如 GET SysParamName *ApiConditionCreateSysParamName `json:"sys_param_name,omitempty"` // 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则 策略类型为param时必选 ConditionType *ApiConditionCreateConditionType `json:"condition_type,omitempty"` // 策略类型 - param:参数 - source:源IP - system:系统参数 ConditionOrigin ApiConditionCreateConditionOrigin `json:"condition_origin"` // 策略值 ConditionValue string `json:"condition_value"` }
func (ApiConditionCreate) String ¶
func (o ApiConditionCreate) String() string
type ApiConditionCreateConditionOrigin ¶
type ApiConditionCreateConditionOrigin struct {
// contains filtered or unexported fields
}
func (ApiConditionCreateConditionOrigin) MarshalJSON ¶
func (c ApiConditionCreateConditionOrigin) MarshalJSON() ([]byte, error)
func (*ApiConditionCreateConditionOrigin) UnmarshalJSON ¶
func (c *ApiConditionCreateConditionOrigin) UnmarshalJSON(b []byte) error
func (ApiConditionCreateConditionOrigin) Value ¶ added in v0.0.90
func (c ApiConditionCreateConditionOrigin) Value() string
type ApiConditionCreateConditionOriginEnum ¶
type ApiConditionCreateConditionOriginEnum struct { PARAM ApiConditionCreateConditionOrigin SOURCE ApiConditionCreateConditionOrigin }
func GetApiConditionCreateConditionOriginEnum ¶
func GetApiConditionCreateConditionOriginEnum() ApiConditionCreateConditionOriginEnum
type ApiConditionCreateConditionType ¶
type ApiConditionCreateConditionType struct {
// contains filtered or unexported fields
}
func (ApiConditionCreateConditionType) MarshalJSON ¶
func (c ApiConditionCreateConditionType) MarshalJSON() ([]byte, error)
func (*ApiConditionCreateConditionType) UnmarshalJSON ¶
func (c *ApiConditionCreateConditionType) UnmarshalJSON(b []byte) error
func (ApiConditionCreateConditionType) Value ¶ added in v0.0.90
func (c ApiConditionCreateConditionType) Value() string
type ApiConditionCreateConditionTypeEnum ¶
type ApiConditionCreateConditionTypeEnum struct { EXACT ApiConditionCreateConditionType ENUM ApiConditionCreateConditionType PATTERN ApiConditionCreateConditionType }
func GetApiConditionCreateConditionTypeEnum ¶
func GetApiConditionCreateConditionTypeEnum() ApiConditionCreateConditionTypeEnum
type ApiConditionCreateSysParamName ¶
type ApiConditionCreateSysParamName struct {
// contains filtered or unexported fields
}
func (ApiConditionCreateSysParamName) MarshalJSON ¶
func (c ApiConditionCreateSysParamName) MarshalJSON() ([]byte, error)
func (*ApiConditionCreateSysParamName) UnmarshalJSON ¶
func (c *ApiConditionCreateSysParamName) UnmarshalJSON(b []byte) error
func (ApiConditionCreateSysParamName) Value ¶ added in v0.0.90
func (c ApiConditionCreateSysParamName) Value() string
type ApiConditionCreateSysParamNameEnum ¶
type ApiConditionCreateSysParamNameEnum struct { REQ_PATH ApiConditionCreateSysParamName REQ_METHOD ApiConditionCreateSysParamName }
func GetApiConditionCreateSysParamNameEnum ¶
func GetApiConditionCreateSysParamNameEnum() ApiConditionCreateSysParamNameEnum
type ApiCreate ¶
type ApiCreate struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ApiCreateType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiCreateReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiCreateReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiCreateAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiCreateMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiCreateBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ApiCreateContentType `json:"content_type,omitempty"` MockInfo *ApiMockCreate `json:"mock_info,omitempty"` FuncInfo *ApiFuncCreate `json:"func_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParamBase `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"` // [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site) PolicyFunctions *[]ApiPolicyFunctionCreate `json:"policy_functions,omitempty"` BackendApi *BackendApiCreate `json:"backend_api,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpCreate `json:"policy_https,omitempty"` }
type ApiCreateAuthType ¶
type ApiCreateAuthType struct {
// contains filtered or unexported fields
}
func (ApiCreateAuthType) MarshalJSON ¶
func (c ApiCreateAuthType) MarshalJSON() ([]byte, error)
func (*ApiCreateAuthType) UnmarshalJSON ¶
func (c *ApiCreateAuthType) UnmarshalJSON(b []byte) error
func (ApiCreateAuthType) Value ¶ added in v0.0.90
func (c ApiCreateAuthType) Value() string
type ApiCreateAuthTypeEnum ¶
type ApiCreateAuthTypeEnum struct { NONE ApiCreateAuthType APP ApiCreateAuthType IAM ApiCreateAuthType AUTHORIZER ApiCreateAuthType }
func GetApiCreateAuthTypeEnum ¶
func GetApiCreateAuthTypeEnum() ApiCreateAuthTypeEnum
type ApiCreateBackendType ¶
type ApiCreateBackendType struct {
// contains filtered or unexported fields
}
func (ApiCreateBackendType) MarshalJSON ¶
func (c ApiCreateBackendType) MarshalJSON() ([]byte, error)
func (*ApiCreateBackendType) UnmarshalJSON ¶
func (c *ApiCreateBackendType) UnmarshalJSON(b []byte) error
func (ApiCreateBackendType) Value ¶ added in v0.0.90
func (c ApiCreateBackendType) Value() string
type ApiCreateBackendTypeEnum ¶
type ApiCreateBackendTypeEnum struct { HTTP ApiCreateBackendType FUNCTION ApiCreateBackendType MOCK ApiCreateBackendType }
func GetApiCreateBackendTypeEnum ¶
func GetApiCreateBackendTypeEnum() ApiCreateBackendTypeEnum
type ApiCreateBase ¶
type ApiCreateBase struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ApiCreateBaseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiCreateBaseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiCreateBaseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiCreateBaseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiCreateBaseMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiCreateBaseBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ApiCreateBaseContentType `json:"content_type,omitempty"` MockInfo *ApiMockCreate `json:"mock_info,omitempty"` FuncInfo *ApiFuncCreate `json:"func_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParamBase `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"` // [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site) PolicyFunctions *[]ApiPolicyFunctionCreate `json:"policy_functions,omitempty"` }
func (ApiCreateBase) String ¶
func (o ApiCreateBase) String() string
type ApiCreateBaseAuthType ¶
type ApiCreateBaseAuthType struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseAuthType) MarshalJSON ¶
func (c ApiCreateBaseAuthType) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseAuthType) UnmarshalJSON ¶
func (c *ApiCreateBaseAuthType) UnmarshalJSON(b []byte) error
func (ApiCreateBaseAuthType) Value ¶ added in v0.0.90
func (c ApiCreateBaseAuthType) Value() string
type ApiCreateBaseAuthTypeEnum ¶
type ApiCreateBaseAuthTypeEnum struct { NONE ApiCreateBaseAuthType APP ApiCreateBaseAuthType IAM ApiCreateBaseAuthType AUTHORIZER ApiCreateBaseAuthType }
func GetApiCreateBaseAuthTypeEnum ¶
func GetApiCreateBaseAuthTypeEnum() ApiCreateBaseAuthTypeEnum
type ApiCreateBaseBackendType ¶
type ApiCreateBaseBackendType struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseBackendType) MarshalJSON ¶
func (c ApiCreateBaseBackendType) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseBackendType) UnmarshalJSON ¶
func (c *ApiCreateBaseBackendType) UnmarshalJSON(b []byte) error
func (ApiCreateBaseBackendType) Value ¶ added in v0.0.90
func (c ApiCreateBaseBackendType) Value() string
type ApiCreateBaseBackendTypeEnum ¶
type ApiCreateBaseBackendTypeEnum struct { HTTP ApiCreateBaseBackendType FUNCTION ApiCreateBaseBackendType MOCK ApiCreateBaseBackendType }
func GetApiCreateBaseBackendTypeEnum ¶
func GetApiCreateBaseBackendTypeEnum() ApiCreateBaseBackendTypeEnum
type ApiCreateBaseContentType ¶
type ApiCreateBaseContentType struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseContentType) MarshalJSON ¶
func (c ApiCreateBaseContentType) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseContentType) UnmarshalJSON ¶
func (c *ApiCreateBaseContentType) UnmarshalJSON(b []byte) error
func (ApiCreateBaseContentType) Value ¶ added in v0.0.90
func (c ApiCreateBaseContentType) Value() string
type ApiCreateBaseContentTypeEnum ¶
type ApiCreateBaseContentTypeEnum struct { APPLICATION_JSON ApiCreateBaseContentType APPLICATION_XML ApiCreateBaseContentType MULTIPART_FORM_DATE ApiCreateBaseContentType TEXT_PLAIN ApiCreateBaseContentType }
func GetApiCreateBaseContentTypeEnum ¶
func GetApiCreateBaseContentTypeEnum() ApiCreateBaseContentTypeEnum
type ApiCreateBaseMatchMode ¶
type ApiCreateBaseMatchMode struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseMatchMode) MarshalJSON ¶
func (c ApiCreateBaseMatchMode) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseMatchMode) UnmarshalJSON ¶
func (c *ApiCreateBaseMatchMode) UnmarshalJSON(b []byte) error
func (ApiCreateBaseMatchMode) Value ¶ added in v0.0.90
func (c ApiCreateBaseMatchMode) Value() string
type ApiCreateBaseMatchModeEnum ¶
type ApiCreateBaseMatchModeEnum struct { SWA ApiCreateBaseMatchMode NORMAL ApiCreateBaseMatchMode }
func GetApiCreateBaseMatchModeEnum ¶
func GetApiCreateBaseMatchModeEnum() ApiCreateBaseMatchModeEnum
type ApiCreateBaseReqMethod ¶
type ApiCreateBaseReqMethod struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseReqMethod) MarshalJSON ¶
func (c ApiCreateBaseReqMethod) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseReqMethod) UnmarshalJSON ¶
func (c *ApiCreateBaseReqMethod) UnmarshalJSON(b []byte) error
func (ApiCreateBaseReqMethod) Value ¶ added in v0.0.90
func (c ApiCreateBaseReqMethod) Value() string
type ApiCreateBaseReqMethodEnum ¶
type ApiCreateBaseReqMethodEnum struct { GET ApiCreateBaseReqMethod POST ApiCreateBaseReqMethod PUT ApiCreateBaseReqMethod DELETE ApiCreateBaseReqMethod HEAD ApiCreateBaseReqMethod PATCH ApiCreateBaseReqMethod OPTIONS ApiCreateBaseReqMethod ANY ApiCreateBaseReqMethod }
func GetApiCreateBaseReqMethodEnum ¶
func GetApiCreateBaseReqMethodEnum() ApiCreateBaseReqMethodEnum
type ApiCreateBaseReqProtocol ¶
type ApiCreateBaseReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseReqProtocol) MarshalJSON ¶
func (c ApiCreateBaseReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseReqProtocol) UnmarshalJSON ¶
func (c *ApiCreateBaseReqProtocol) UnmarshalJSON(b []byte) error
func (ApiCreateBaseReqProtocol) Value ¶ added in v0.0.90
func (c ApiCreateBaseReqProtocol) Value() string
type ApiCreateBaseReqProtocolEnum ¶
type ApiCreateBaseReqProtocolEnum struct { HTTP ApiCreateBaseReqProtocol HTTPS ApiCreateBaseReqProtocol BOTH ApiCreateBaseReqProtocol }
func GetApiCreateBaseReqProtocolEnum ¶
func GetApiCreateBaseReqProtocolEnum() ApiCreateBaseReqProtocolEnum
type ApiCreateBaseType ¶
type ApiCreateBaseType struct {
// contains filtered or unexported fields
}
func (ApiCreateBaseType) MarshalJSON ¶
func (c ApiCreateBaseType) MarshalJSON() ([]byte, error)
func (*ApiCreateBaseType) UnmarshalJSON ¶
func (c *ApiCreateBaseType) UnmarshalJSON(b []byte) error
func (ApiCreateBaseType) Value ¶ added in v0.0.90
func (c ApiCreateBaseType) Value() int32
type ApiCreateBaseTypeEnum ¶
type ApiCreateBaseTypeEnum struct { E_1 ApiCreateBaseType E_2 ApiCreateBaseType }
func GetApiCreateBaseTypeEnum ¶
func GetApiCreateBaseTypeEnum() ApiCreateBaseTypeEnum
type ApiCreateContentType ¶
type ApiCreateContentType struct {
// contains filtered or unexported fields
}
func (ApiCreateContentType) MarshalJSON ¶
func (c ApiCreateContentType) MarshalJSON() ([]byte, error)
func (*ApiCreateContentType) UnmarshalJSON ¶
func (c *ApiCreateContentType) UnmarshalJSON(b []byte) error
func (ApiCreateContentType) Value ¶ added in v0.0.90
func (c ApiCreateContentType) Value() string
type ApiCreateContentTypeEnum ¶
type ApiCreateContentTypeEnum struct { APPLICATION_JSON ApiCreateContentType APPLICATION_XML ApiCreateContentType MULTIPART_FORM_DATE ApiCreateContentType TEXT_PLAIN ApiCreateContentType }
func GetApiCreateContentTypeEnum ¶
func GetApiCreateContentTypeEnum() ApiCreateContentTypeEnum
type ApiCreateMatchMode ¶
type ApiCreateMatchMode struct {
// contains filtered or unexported fields
}
func (ApiCreateMatchMode) MarshalJSON ¶
func (c ApiCreateMatchMode) MarshalJSON() ([]byte, error)
func (*ApiCreateMatchMode) UnmarshalJSON ¶
func (c *ApiCreateMatchMode) UnmarshalJSON(b []byte) error
func (ApiCreateMatchMode) Value ¶ added in v0.0.90
func (c ApiCreateMatchMode) Value() string
type ApiCreateMatchModeEnum ¶
type ApiCreateMatchModeEnum struct { SWA ApiCreateMatchMode NORMAL ApiCreateMatchMode }
func GetApiCreateMatchModeEnum ¶
func GetApiCreateMatchModeEnum() ApiCreateMatchModeEnum
type ApiCreateReqMethod ¶
type ApiCreateReqMethod struct {
// contains filtered or unexported fields
}
func (ApiCreateReqMethod) MarshalJSON ¶
func (c ApiCreateReqMethod) MarshalJSON() ([]byte, error)
func (*ApiCreateReqMethod) UnmarshalJSON ¶
func (c *ApiCreateReqMethod) UnmarshalJSON(b []byte) error
func (ApiCreateReqMethod) Value ¶ added in v0.0.90
func (c ApiCreateReqMethod) Value() string
type ApiCreateReqMethodEnum ¶
type ApiCreateReqMethodEnum struct { GET ApiCreateReqMethod POST ApiCreateReqMethod PUT ApiCreateReqMethod DELETE ApiCreateReqMethod HEAD ApiCreateReqMethod PATCH ApiCreateReqMethod OPTIONS ApiCreateReqMethod ANY ApiCreateReqMethod }
func GetApiCreateReqMethodEnum ¶
func GetApiCreateReqMethodEnum() ApiCreateReqMethodEnum
type ApiCreateReqProtocol ¶
type ApiCreateReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiCreateReqProtocol) MarshalJSON ¶
func (c ApiCreateReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiCreateReqProtocol) UnmarshalJSON ¶
func (c *ApiCreateReqProtocol) UnmarshalJSON(b []byte) error
func (ApiCreateReqProtocol) Value ¶ added in v0.0.90
func (c ApiCreateReqProtocol) Value() string
type ApiCreateReqProtocolEnum ¶
type ApiCreateReqProtocolEnum struct { HTTP ApiCreateReqProtocol HTTPS ApiCreateReqProtocol BOTH ApiCreateReqProtocol }
func GetApiCreateReqProtocolEnum ¶
func GetApiCreateReqProtocolEnum() ApiCreateReqProtocolEnum
type ApiCreateType ¶
type ApiCreateType struct {
// contains filtered or unexported fields
}
func (ApiCreateType) MarshalJSON ¶
func (c ApiCreateType) MarshalJSON() ([]byte, error)
func (*ApiCreateType) UnmarshalJSON ¶
func (c *ApiCreateType) UnmarshalJSON(b []byte) error
func (ApiCreateType) Value ¶ added in v0.0.90
func (c ApiCreateType) Value() int32
type ApiCreateTypeEnum ¶
type ApiCreateTypeEnum struct { E_1 ApiCreateType E_2 ApiCreateType }
func GetApiCreateTypeEnum ¶
func GetApiCreateTypeEnum() ApiCreateTypeEnum
type ApiDebugInfo ¶
type ApiDebugInfo struct { // 请求消息体,最长2097152字节 Body *string `json:"body,omitempty"` // 头域参数,每个参数值为字符串数组,每个参数名称有如下约束: - 英文字母、数字、点、中连线组成 - 必须以英文字母开头,最长32字节 - 不支持以\"X-Apig-\"或\"X-Sdk-\"开头,不区分大小写 - 不支持取值为\"X-Stage\",不区分大小写 - mode为MARKET或CONSUMER时,不支持取值为\"X-Auth-Token\"和\"Authorization\",不区分大小写 > 头域名称在使用前会被规范化,如:\"x-MY-hEaDer\"会被规范化为\"X-My-Header\" Header map[string][]string `json:"header,omitempty"` // API的请求方法 Method ApiDebugInfoMethod `json:"method"` // 调试模式 - DEVELOPER 调试尚未发布的API定义 - MARKET 调试云市场已购买的API - CONSUMER 调试指定运行环境下的API定义 > DEVELOPER模式,接口调用者必须是API拥有者。 MARKET模式,接口调用者必须是API购买者或拥有者。 CONSUMER模式,接口调用者必须有API在指定环境上的授权信息或是API拥有者。 Mode string `json:"mode"` // API的请求路径,需以\"/\"开头,最大长度1024 > 须符合路径规范,百分号编码格式可被正确解码 Path string `json:"path"` // 查询参数,每个参数值为字符串数组,每个参数名称有如下约束: - 英文字母、数字、点、下划线、中连线组成 - 必须以英文字母开头,最长32字节 - 不支持以\"X-Apig-\"或\"X-Sdk-\"开头,不区分大小写 - 不支持取值为\"X-Stage\",不区分大小写 Query map[string][]string `json:"query,omitempty"` // API的请求协议 - HTTP - HTTPS Scheme string `json:"scheme"` // 调试请求使用的APP的key AppKey *string `json:"app_key,omitempty"` // 调试请求使用的APP的密钥 AppSecret *string `json:"app_secret,omitempty"` // API的访问域名,未提供时根据mode的取值使用如下默认值: - DEVELOPER API分组的子域名 - MARKET 云市场为API分组分配的域名 - CONSUMER API分组的子域名 Domain *string `json:"domain,omitempty"` // 调试请求指定的运行环境,仅在mode为CONSUMER时有效,未提供时有如下默认值: - CONSUMER RELEASE Stage *string `json:"stage,omitempty"` }
func (ApiDebugInfo) String ¶
func (o ApiDebugInfo) String() string
type ApiDebugInfoMethod ¶
type ApiDebugInfoMethod struct {
// contains filtered or unexported fields
}
func (ApiDebugInfoMethod) MarshalJSON ¶
func (c ApiDebugInfoMethod) MarshalJSON() ([]byte, error)
func (*ApiDebugInfoMethod) UnmarshalJSON ¶
func (c *ApiDebugInfoMethod) UnmarshalJSON(b []byte) error
func (ApiDebugInfoMethod) Value ¶ added in v0.0.90
func (c ApiDebugInfoMethod) Value() string
type ApiDebugInfoMethodEnum ¶
type ApiDebugInfoMethodEnum struct { GET ApiDebugInfoMethod POST ApiDebugInfoMethod PUT ApiDebugInfoMethod DELETE ApiDebugInfoMethod HEAD ApiDebugInfoMethod PATCH ApiDebugInfoMethod OPTIONS ApiDebugInfoMethod }
func GetApiDebugInfoMethodEnum ¶
func GetApiDebugInfoMethodEnum() ApiDebugInfoMethodEnum
type ApiDuplicationInfo ¶
type ApiDuplicationInfo struct { // 请求方式 ReqMethod *ApiDuplicationInfoReqMethod `json:"req_method,omitempty"` // API的访问地址 ReqUri *string `json:"req_uri,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiDuplicationInfoMatchMode `json:"match_mode,omitempty"` // 该路径下冲突的api列表 DuplicatedApis *[]DuplicateApiInfo `json:"duplicated_apis,omitempty"` }
func (ApiDuplicationInfo) String ¶
func (o ApiDuplicationInfo) String() string
type ApiDuplicationInfoMatchMode ¶
type ApiDuplicationInfoMatchMode struct {
// contains filtered or unexported fields
}
func (ApiDuplicationInfoMatchMode) MarshalJSON ¶
func (c ApiDuplicationInfoMatchMode) MarshalJSON() ([]byte, error)
func (*ApiDuplicationInfoMatchMode) UnmarshalJSON ¶
func (c *ApiDuplicationInfoMatchMode) UnmarshalJSON(b []byte) error
func (ApiDuplicationInfoMatchMode) Value ¶ added in v0.0.90
func (c ApiDuplicationInfoMatchMode) Value() string
type ApiDuplicationInfoMatchModeEnum ¶
type ApiDuplicationInfoMatchModeEnum struct { SWA ApiDuplicationInfoMatchMode NORMAL ApiDuplicationInfoMatchMode }
func GetApiDuplicationInfoMatchModeEnum ¶
func GetApiDuplicationInfoMatchModeEnum() ApiDuplicationInfoMatchModeEnum
type ApiDuplicationInfoReqMethod ¶
type ApiDuplicationInfoReqMethod struct {
// contains filtered or unexported fields
}
func (ApiDuplicationInfoReqMethod) MarshalJSON ¶
func (c ApiDuplicationInfoReqMethod) MarshalJSON() ([]byte, error)
func (*ApiDuplicationInfoReqMethod) UnmarshalJSON ¶
func (c *ApiDuplicationInfoReqMethod) UnmarshalJSON(b []byte) error
func (ApiDuplicationInfoReqMethod) Value ¶ added in v0.0.90
func (c ApiDuplicationInfoReqMethod) Value() string
type ApiDuplicationInfoReqMethodEnum ¶
type ApiDuplicationInfoReqMethodEnum struct { GET ApiDuplicationInfoReqMethod POST ApiDuplicationInfoReqMethod PUT ApiDuplicationInfoReqMethod DELETE ApiDuplicationInfoReqMethod HEAD ApiDuplicationInfoReqMethod PATCH ApiDuplicationInfoReqMethod OPTIONS ApiDuplicationInfoReqMethod ANY ApiDuplicationInfoReqMethod }
func GetApiDuplicationInfoReqMethodEnum ¶
func GetApiDuplicationInfoReqMethodEnum() ApiDuplicationInfoReqMethodEnum
type ApiForSign ¶
type ApiForSign struct { // API的认证方式 AuthType *string `json:"auth_type,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 发布记录的编号 PublishId *string `json:"publish_id,omitempty"` // API所属分组的编号 GroupId *string `json:"group_id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API描述 Remark *string `json:"remark,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API的请求地址 ReqUri *string `json:"req_uri,omitempty"` // API类型 Type *int32 `json:"type,omitempty"` // 已绑定的签名密钥名称 SignatureName *string `json:"signature_name,omitempty"` }
func (ApiForSign) String ¶
func (o ApiForSign) String() string
type ApiForThrottle ¶
type ApiForThrottle struct { // API的认证方式 AuthType *string `json:"auth_type,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 发布记录的编号 PublishId *string `json:"publish_id,omitempty"` // API所属分组的编号 GroupId *string `json:"group_id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API描述 Remark *string `json:"remark,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API的请求地址 ReqUri *string `json:"req_uri,omitempty"` // API类型 Type *int32 `json:"type,omitempty"` // 与流控策略的绑定关系编号 ThrottleApplyId *string `json:"throttle_apply_id,omitempty"` // 绑定的流控策略名称 ThrottleName *string `json:"throttle_name,omitempty"` // 已绑定的流控策略的绑定时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` }
func (ApiForThrottle) String ¶
func (o ApiForThrottle) String() string
type ApiFunc ¶
type ApiFunc struct { // 函数URN FunctionUrn string `json:"function_urn"` // 描述信息。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiFuncInvocationType `json:"invocation_type"` // 版本。 Version *string `json:"version,omitempty"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 后端状态 - 1: 有效 Status *ApiFuncStatus `json:"status,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
[函数工作流后端详情](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site)
type ApiFuncCreate ¶
type ApiFuncCreate struct { // 函数URN FunctionUrn string `json:"function_urn"` // 描述信息。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiFuncCreateInvocationType `json:"invocation_type"` // 版本。 Version *string `json:"version,omitempty"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
[函数工作流后端详情](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site)
func (ApiFuncCreate) String ¶
func (o ApiFuncCreate) String() string
type ApiFuncCreateInvocationType ¶
type ApiFuncCreateInvocationType struct {
// contains filtered or unexported fields
}
func (ApiFuncCreateInvocationType) MarshalJSON ¶
func (c ApiFuncCreateInvocationType) MarshalJSON() ([]byte, error)
func (*ApiFuncCreateInvocationType) UnmarshalJSON ¶
func (c *ApiFuncCreateInvocationType) UnmarshalJSON(b []byte) error
func (ApiFuncCreateInvocationType) Value ¶ added in v0.0.90
func (c ApiFuncCreateInvocationType) Value() string
type ApiFuncCreateInvocationTypeEnum ¶
type ApiFuncCreateInvocationTypeEnum struct { ASYNC ApiFuncCreateInvocationType SYNC ApiFuncCreateInvocationType }
func GetApiFuncCreateInvocationTypeEnum ¶
func GetApiFuncCreateInvocationTypeEnum() ApiFuncCreateInvocationTypeEnum
type ApiFuncInvocationType ¶
type ApiFuncInvocationType struct {
// contains filtered or unexported fields
}
func (ApiFuncInvocationType) MarshalJSON ¶
func (c ApiFuncInvocationType) MarshalJSON() ([]byte, error)
func (*ApiFuncInvocationType) UnmarshalJSON ¶
func (c *ApiFuncInvocationType) UnmarshalJSON(b []byte) error
func (ApiFuncInvocationType) Value ¶ added in v0.0.90
func (c ApiFuncInvocationType) Value() string
type ApiFuncInvocationTypeEnum ¶
type ApiFuncInvocationTypeEnum struct { ASYNC ApiFuncInvocationType SYNC ApiFuncInvocationType }
func GetApiFuncInvocationTypeEnum ¶
func GetApiFuncInvocationTypeEnum() ApiFuncInvocationTypeEnum
type ApiFuncStatus ¶
type ApiFuncStatus struct {
// contains filtered or unexported fields
}
func (ApiFuncStatus) MarshalJSON ¶
func (c ApiFuncStatus) MarshalJSON() ([]byte, error)
func (*ApiFuncStatus) UnmarshalJSON ¶
func (c *ApiFuncStatus) UnmarshalJSON(b []byte) error
func (ApiFuncStatus) Value ¶ added in v0.0.90
func (c ApiFuncStatus) Value() int32
type ApiFuncStatusEnum ¶
type ApiFuncStatusEnum struct {
E_1 ApiFuncStatus
}
func GetApiFuncStatusEnum ¶
func GetApiFuncStatusEnum() ApiFuncStatusEnum
type ApiGroupBase ¶
type ApiGroupBase struct { // API分组的名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API分组描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` }
func (ApiGroupBase) String ¶
func (o ApiGroupBase) String() string
type ApiGroupCheck ¶
type ApiGroupCheck struct { // 待校验的API分组名称 GroupName string `json:"group_name"` // 集成应用ID 校验分组在集成应用下是否重名时必填,不填写默认校验全局分组是否重名 RomaAppId *string `json:"roma_app_id,omitempty"` }
func (ApiGroupCheck) String ¶
func (o ApiGroupCheck) String() string
type ApiGroupCommonInfo ¶
type ApiGroupCommonInfo struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status ApiGroupCommonInfoStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中 ROMAConnect暂未对接云市场,此字段默认返回2 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` }
func (ApiGroupCommonInfo) String ¶
func (o ApiGroupCommonInfo) String() string
type ApiGroupCommonInfoStatus ¶
type ApiGroupCommonInfoStatus struct {
// contains filtered or unexported fields
}
func (ApiGroupCommonInfoStatus) MarshalJSON ¶
func (c ApiGroupCommonInfoStatus) MarshalJSON() ([]byte, error)
func (*ApiGroupCommonInfoStatus) UnmarshalJSON ¶
func (c *ApiGroupCommonInfoStatus) UnmarshalJSON(b []byte) error
func (ApiGroupCommonInfoStatus) Value ¶ added in v0.0.90
func (c ApiGroupCommonInfoStatus) Value() int32
type ApiGroupCommonInfoStatusEnum ¶
type ApiGroupCommonInfoStatusEnum struct {
E_1 ApiGroupCommonInfoStatus
}
func GetApiGroupCommonInfoStatusEnum ¶
func GetApiGroupCommonInfoStatusEnum() ApiGroupCommonInfoStatusEnum
type ApiGroupCreate ¶
type ApiGroupCreate struct { // API分组的名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API分组描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 Version *string `json:"version,omitempty"` }
func (ApiGroupCreate) String ¶
func (o ApiGroupCreate) String() string
type ApiGroupInfo ¶
type ApiGroupInfo struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status ApiGroupInfoStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中 ROMAConnect暂未对接云市场,此字段默认返回2 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置 暂不支持 CallLimits *int32 `json:"call_limits,omitempty"` // 流控时长 暂不支持 TimeInterval *int32 `json:"time_interval,omitempty"` // 流控的时间单位 暂不支持 TimeUnit *string `json:"time_unit,omitempty"` // 是否为默认分组 IsDefault *int32 `json:"is_default,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 Version *string `json:"version,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` }
func (ApiGroupInfo) String ¶
func (o ApiGroupInfo) String() string
type ApiGroupInfoStatus ¶
type ApiGroupInfoStatus struct {
// contains filtered or unexported fields
}
func (ApiGroupInfoStatus) MarshalJSON ¶
func (c ApiGroupInfoStatus) MarshalJSON() ([]byte, error)
func (*ApiGroupInfoStatus) UnmarshalJSON ¶
func (c *ApiGroupInfoStatus) UnmarshalJSON(b []byte) error
func (ApiGroupInfoStatus) Value ¶ added in v0.0.90
func (c ApiGroupInfoStatus) Value() int32
type ApiGroupInfoStatusEnum ¶
type ApiGroupInfoStatusEnum struct {
E_1 ApiGroupInfoStatus
}
func GetApiGroupInfoStatusEnum ¶
func GetApiGroupInfoStatusEnum() ApiGroupInfoStatusEnum
type ApiInfo ¶
type ApiInfo struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ApiInfoType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiInfoReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiInfoReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiInfoAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiInfoMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiInfoBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ApiInfoContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *ApiInfoStatus `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site) PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` }
type ApiInfoAuthType ¶
type ApiInfoAuthType struct {
// contains filtered or unexported fields
}
func (ApiInfoAuthType) MarshalJSON ¶
func (c ApiInfoAuthType) MarshalJSON() ([]byte, error)
func (*ApiInfoAuthType) UnmarshalJSON ¶
func (c *ApiInfoAuthType) UnmarshalJSON(b []byte) error
func (ApiInfoAuthType) Value ¶ added in v0.0.90
func (c ApiInfoAuthType) Value() string
type ApiInfoAuthTypeEnum ¶
type ApiInfoAuthTypeEnum struct { NONE ApiInfoAuthType APP ApiInfoAuthType IAM ApiInfoAuthType AUTHORIZER ApiInfoAuthType }
func GetApiInfoAuthTypeEnum ¶
func GetApiInfoAuthTypeEnum() ApiInfoAuthTypeEnum
type ApiInfoBackendType ¶
type ApiInfoBackendType struct {
// contains filtered or unexported fields
}
func (ApiInfoBackendType) MarshalJSON ¶
func (c ApiInfoBackendType) MarshalJSON() ([]byte, error)
func (*ApiInfoBackendType) UnmarshalJSON ¶
func (c *ApiInfoBackendType) UnmarshalJSON(b []byte) error
func (ApiInfoBackendType) Value ¶ added in v0.0.90
func (c ApiInfoBackendType) Value() string
type ApiInfoBackendTypeEnum ¶
type ApiInfoBackendTypeEnum struct { HTTP ApiInfoBackendType FUNCTION ApiInfoBackendType MOCK ApiInfoBackendType }
func GetApiInfoBackendTypeEnum ¶
func GetApiInfoBackendTypeEnum() ApiInfoBackendTypeEnum
type ApiInfoContentType ¶
type ApiInfoContentType struct {
// contains filtered or unexported fields
}
func (ApiInfoContentType) MarshalJSON ¶
func (c ApiInfoContentType) MarshalJSON() ([]byte, error)
func (*ApiInfoContentType) UnmarshalJSON ¶
func (c *ApiInfoContentType) UnmarshalJSON(b []byte) error
func (ApiInfoContentType) Value ¶ added in v0.0.90
func (c ApiInfoContentType) Value() string
type ApiInfoContentTypeEnum ¶
type ApiInfoContentTypeEnum struct { APPLICATION_JSON ApiInfoContentType APPLICATION_XML ApiInfoContentType MULTIPART_FORM_DATE ApiInfoContentType TEXT_PLAIN ApiInfoContentType }
func GetApiInfoContentTypeEnum ¶
func GetApiInfoContentTypeEnum() ApiInfoContentTypeEnum
type ApiInfoMatchMode ¶
type ApiInfoMatchMode struct {
// contains filtered or unexported fields
}
func (ApiInfoMatchMode) MarshalJSON ¶
func (c ApiInfoMatchMode) MarshalJSON() ([]byte, error)
func (*ApiInfoMatchMode) UnmarshalJSON ¶
func (c *ApiInfoMatchMode) UnmarshalJSON(b []byte) error
func (ApiInfoMatchMode) Value ¶ added in v0.0.90
func (c ApiInfoMatchMode) Value() string
type ApiInfoMatchModeEnum ¶
type ApiInfoMatchModeEnum struct { SWA ApiInfoMatchMode NORMAL ApiInfoMatchMode }
func GetApiInfoMatchModeEnum ¶
func GetApiInfoMatchModeEnum() ApiInfoMatchModeEnum
type ApiInfoPerPage ¶
type ApiInfoPerPage struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ApiInfoPerPageType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiInfoPerPageReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiInfoPerPageReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiInfoPerPageAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiInfoPerPageMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiInfoPerPageBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ApiInfoPerPageContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *ApiInfoPerPageStatus `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` }
func (ApiInfoPerPage) String ¶
func (o ApiInfoPerPage) String() string
type ApiInfoPerPageAuthType ¶
type ApiInfoPerPageAuthType struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageAuthType) MarshalJSON ¶
func (c ApiInfoPerPageAuthType) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageAuthType) UnmarshalJSON ¶
func (c *ApiInfoPerPageAuthType) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageAuthType) Value ¶ added in v0.0.90
func (c ApiInfoPerPageAuthType) Value() string
type ApiInfoPerPageAuthTypeEnum ¶
type ApiInfoPerPageAuthTypeEnum struct { NONE ApiInfoPerPageAuthType APP ApiInfoPerPageAuthType IAM ApiInfoPerPageAuthType AUTHORIZER ApiInfoPerPageAuthType }
func GetApiInfoPerPageAuthTypeEnum ¶
func GetApiInfoPerPageAuthTypeEnum() ApiInfoPerPageAuthTypeEnum
type ApiInfoPerPageBackendType ¶
type ApiInfoPerPageBackendType struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageBackendType) MarshalJSON ¶
func (c ApiInfoPerPageBackendType) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageBackendType) UnmarshalJSON ¶
func (c *ApiInfoPerPageBackendType) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageBackendType) Value ¶ added in v0.0.90
func (c ApiInfoPerPageBackendType) Value() string
type ApiInfoPerPageBackendTypeEnum ¶
type ApiInfoPerPageBackendTypeEnum struct { HTTP ApiInfoPerPageBackendType FUNCTION ApiInfoPerPageBackendType MOCK ApiInfoPerPageBackendType }
func GetApiInfoPerPageBackendTypeEnum ¶
func GetApiInfoPerPageBackendTypeEnum() ApiInfoPerPageBackendTypeEnum
type ApiInfoPerPageContentType ¶
type ApiInfoPerPageContentType struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageContentType) MarshalJSON ¶
func (c ApiInfoPerPageContentType) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageContentType) UnmarshalJSON ¶
func (c *ApiInfoPerPageContentType) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageContentType) Value ¶ added in v0.0.90
func (c ApiInfoPerPageContentType) Value() string
type ApiInfoPerPageContentTypeEnum ¶
type ApiInfoPerPageContentTypeEnum struct { APPLICATION_JSON ApiInfoPerPageContentType APPLICATION_XML ApiInfoPerPageContentType MULTIPART_FORM_DATE ApiInfoPerPageContentType TEXT_PLAIN ApiInfoPerPageContentType }
func GetApiInfoPerPageContentTypeEnum ¶
func GetApiInfoPerPageContentTypeEnum() ApiInfoPerPageContentTypeEnum
type ApiInfoPerPageMatchMode ¶
type ApiInfoPerPageMatchMode struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageMatchMode) MarshalJSON ¶
func (c ApiInfoPerPageMatchMode) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageMatchMode) UnmarshalJSON ¶
func (c *ApiInfoPerPageMatchMode) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageMatchMode) Value ¶ added in v0.0.90
func (c ApiInfoPerPageMatchMode) Value() string
type ApiInfoPerPageMatchModeEnum ¶
type ApiInfoPerPageMatchModeEnum struct { SWA ApiInfoPerPageMatchMode NORMAL ApiInfoPerPageMatchMode }
func GetApiInfoPerPageMatchModeEnum ¶
func GetApiInfoPerPageMatchModeEnum() ApiInfoPerPageMatchModeEnum
type ApiInfoPerPageReqMethod ¶
type ApiInfoPerPageReqMethod struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageReqMethod) MarshalJSON ¶
func (c ApiInfoPerPageReqMethod) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageReqMethod) UnmarshalJSON ¶
func (c *ApiInfoPerPageReqMethod) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageReqMethod) Value ¶ added in v0.0.90
func (c ApiInfoPerPageReqMethod) Value() string
type ApiInfoPerPageReqMethodEnum ¶
type ApiInfoPerPageReqMethodEnum struct { GET ApiInfoPerPageReqMethod POST ApiInfoPerPageReqMethod PUT ApiInfoPerPageReqMethod DELETE ApiInfoPerPageReqMethod HEAD ApiInfoPerPageReqMethod PATCH ApiInfoPerPageReqMethod OPTIONS ApiInfoPerPageReqMethod ANY ApiInfoPerPageReqMethod }
func GetApiInfoPerPageReqMethodEnum ¶
func GetApiInfoPerPageReqMethodEnum() ApiInfoPerPageReqMethodEnum
type ApiInfoPerPageReqProtocol ¶
type ApiInfoPerPageReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageReqProtocol) MarshalJSON ¶
func (c ApiInfoPerPageReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageReqProtocol) UnmarshalJSON ¶
func (c *ApiInfoPerPageReqProtocol) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageReqProtocol) Value ¶ added in v0.0.90
func (c ApiInfoPerPageReqProtocol) Value() string
type ApiInfoPerPageReqProtocolEnum ¶
type ApiInfoPerPageReqProtocolEnum struct { HTTP ApiInfoPerPageReqProtocol HTTPS ApiInfoPerPageReqProtocol BOTH ApiInfoPerPageReqProtocol }
func GetApiInfoPerPageReqProtocolEnum ¶
func GetApiInfoPerPageReqProtocolEnum() ApiInfoPerPageReqProtocolEnum
type ApiInfoPerPageStatus ¶
type ApiInfoPerPageStatus struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageStatus) MarshalJSON ¶
func (c ApiInfoPerPageStatus) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageStatus) UnmarshalJSON ¶
func (c *ApiInfoPerPageStatus) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageStatus) Value ¶ added in v0.0.90
func (c ApiInfoPerPageStatus) Value() int32
type ApiInfoPerPageStatusEnum ¶
type ApiInfoPerPageStatusEnum struct {
E_1 ApiInfoPerPageStatus
}
func GetApiInfoPerPageStatusEnum ¶
func GetApiInfoPerPageStatusEnum() ApiInfoPerPageStatusEnum
type ApiInfoPerPageType ¶
type ApiInfoPerPageType struct {
// contains filtered or unexported fields
}
func (ApiInfoPerPageType) MarshalJSON ¶
func (c ApiInfoPerPageType) MarshalJSON() ([]byte, error)
func (*ApiInfoPerPageType) UnmarshalJSON ¶
func (c *ApiInfoPerPageType) UnmarshalJSON(b []byte) error
func (ApiInfoPerPageType) Value ¶ added in v0.0.90
func (c ApiInfoPerPageType) Value() int32
type ApiInfoPerPageTypeEnum ¶
type ApiInfoPerPageTypeEnum struct { E_1 ApiInfoPerPageType E_2 ApiInfoPerPageType }
func GetApiInfoPerPageTypeEnum ¶
func GetApiInfoPerPageTypeEnum() ApiInfoPerPageTypeEnum
type ApiInfoReqMethod ¶
type ApiInfoReqMethod struct {
// contains filtered or unexported fields
}
func (ApiInfoReqMethod) MarshalJSON ¶
func (c ApiInfoReqMethod) MarshalJSON() ([]byte, error)
func (*ApiInfoReqMethod) UnmarshalJSON ¶
func (c *ApiInfoReqMethod) UnmarshalJSON(b []byte) error
func (ApiInfoReqMethod) Value ¶ added in v0.0.90
func (c ApiInfoReqMethod) Value() string
type ApiInfoReqMethodEnum ¶
type ApiInfoReqMethodEnum struct { GET ApiInfoReqMethod POST ApiInfoReqMethod PUT ApiInfoReqMethod DELETE ApiInfoReqMethod HEAD ApiInfoReqMethod PATCH ApiInfoReqMethod OPTIONS ApiInfoReqMethod ANY ApiInfoReqMethod }
func GetApiInfoReqMethodEnum ¶
func GetApiInfoReqMethodEnum() ApiInfoReqMethodEnum
type ApiInfoReqProtocol ¶
type ApiInfoReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiInfoReqProtocol) MarshalJSON ¶
func (c ApiInfoReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiInfoReqProtocol) UnmarshalJSON ¶
func (c *ApiInfoReqProtocol) UnmarshalJSON(b []byte) error
func (ApiInfoReqProtocol) Value ¶ added in v0.0.90
func (c ApiInfoReqProtocol) Value() string
type ApiInfoReqProtocolEnum ¶
type ApiInfoReqProtocolEnum struct { HTTP ApiInfoReqProtocol HTTPS ApiInfoReqProtocol BOTH ApiInfoReqProtocol }
func GetApiInfoReqProtocolEnum ¶
func GetApiInfoReqProtocolEnum() ApiInfoReqProtocolEnum
type ApiInfoStatus ¶
type ApiInfoStatus struct {
// contains filtered or unexported fields
}
func (ApiInfoStatus) MarshalJSON ¶
func (c ApiInfoStatus) MarshalJSON() ([]byte, error)
func (*ApiInfoStatus) UnmarshalJSON ¶
func (c *ApiInfoStatus) UnmarshalJSON(b []byte) error
func (ApiInfoStatus) Value ¶ added in v0.0.90
func (c ApiInfoStatus) Value() int32
type ApiInfoStatusEnum ¶
type ApiInfoStatusEnum struct {
E_1 ApiInfoStatus
}
func GetApiInfoStatusEnum ¶
func GetApiInfoStatusEnum() ApiInfoStatusEnum
type ApiInfoType ¶
type ApiInfoType struct {
// contains filtered or unexported fields
}
func (ApiInfoType) MarshalJSON ¶
func (c ApiInfoType) MarshalJSON() ([]byte, error)
func (*ApiInfoType) UnmarshalJSON ¶
func (c *ApiInfoType) UnmarshalJSON(b []byte) error
func (ApiInfoType) Value ¶ added in v0.0.90
func (c ApiInfoType) Value() int32
type ApiInfoTypeEnum ¶
type ApiInfoTypeEnum struct { E_1 ApiInfoType E_2 ApiInfoType }
func GetApiInfoTypeEnum ¶
func GetApiInfoTypeEnum() ApiInfoTypeEnum
type ApiMock ¶
type ApiMock struct { // 描述信息。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 返回结果 ResultContent *string `json:"result_content,omitempty"` // 版本。字符长度不超过64 Version *string `json:"version,omitempty"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` // mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\", StatusCode *ApiMockStatusCode `json:"status_code,omitempty"` // mock后端自定义响应头header Header *[]MockApiBaseInfoHeader `json:"header,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 后端状态 - 1: 有效 Status *ApiMockStatus `json:"status,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
mock后端详情
type ApiMockCreate ¶
type ApiMockCreate struct { // 描述信息。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 返回结果 ResultContent *string `json:"result_content,omitempty"` // 版本。字符长度不超过64 Version *string `json:"version,omitempty"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` // mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\", StatusCode *ApiMockCreateStatusCode `json:"status_code,omitempty"` // mock后端自定义响应头header Header *[]MockApiBaseInfoHeader `json:"header,omitempty"` }
mock后端详情
func (ApiMockCreate) String ¶
func (o ApiMockCreate) String() string
type ApiMockCreateStatusCode ¶
type ApiMockCreateStatusCode struct {
// contains filtered or unexported fields
}
func (ApiMockCreateStatusCode) MarshalJSON ¶
func (c ApiMockCreateStatusCode) MarshalJSON() ([]byte, error)
func (*ApiMockCreateStatusCode) UnmarshalJSON ¶
func (c *ApiMockCreateStatusCode) UnmarshalJSON(b []byte) error
func (ApiMockCreateStatusCode) Value ¶ added in v0.0.90
func (c ApiMockCreateStatusCode) Value() int32
type ApiMockCreateStatusCodeEnum ¶
type ApiMockCreateStatusCodeEnum struct { E_200 ApiMockCreateStatusCode E_201 ApiMockCreateStatusCode E_202 ApiMockCreateStatusCode E_203 ApiMockCreateStatusCode E_204 ApiMockCreateStatusCode E_205 ApiMockCreateStatusCode E_206 ApiMockCreateStatusCode E_300 ApiMockCreateStatusCode E_301 ApiMockCreateStatusCode E_302 ApiMockCreateStatusCode E_303 ApiMockCreateStatusCode E_304 ApiMockCreateStatusCode E_305 ApiMockCreateStatusCode E_306 ApiMockCreateStatusCode E_307 ApiMockCreateStatusCode E_400 ApiMockCreateStatusCode E_401 ApiMockCreateStatusCode E_402 ApiMockCreateStatusCode E_403 ApiMockCreateStatusCode E_404 ApiMockCreateStatusCode E_405 ApiMockCreateStatusCode E_406 ApiMockCreateStatusCode E_407 ApiMockCreateStatusCode E_408 ApiMockCreateStatusCode E_409 ApiMockCreateStatusCode E_410 ApiMockCreateStatusCode E_411 ApiMockCreateStatusCode E_412 ApiMockCreateStatusCode E_413 ApiMockCreateStatusCode E_414 ApiMockCreateStatusCode E_415 ApiMockCreateStatusCode E_416 ApiMockCreateStatusCode E_417 ApiMockCreateStatusCode E_450 ApiMockCreateStatusCode E_451 ApiMockCreateStatusCode E_500 ApiMockCreateStatusCode E_501 ApiMockCreateStatusCode E_502 ApiMockCreateStatusCode E_503 ApiMockCreateStatusCode E_504 ApiMockCreateStatusCode E_505 ApiMockCreateStatusCode }
func GetApiMockCreateStatusCodeEnum ¶
func GetApiMockCreateStatusCodeEnum() ApiMockCreateStatusCodeEnum
type ApiMockStatus ¶
type ApiMockStatus struct {
// contains filtered or unexported fields
}
func (ApiMockStatus) MarshalJSON ¶
func (c ApiMockStatus) MarshalJSON() ([]byte, error)
func (*ApiMockStatus) UnmarshalJSON ¶
func (c *ApiMockStatus) UnmarshalJSON(b []byte) error
func (ApiMockStatus) Value ¶ added in v0.0.90
func (c ApiMockStatus) Value() int32
type ApiMockStatusCode ¶
type ApiMockStatusCode struct {
// contains filtered or unexported fields
}
func (ApiMockStatusCode) MarshalJSON ¶
func (c ApiMockStatusCode) MarshalJSON() ([]byte, error)
func (*ApiMockStatusCode) UnmarshalJSON ¶
func (c *ApiMockStatusCode) UnmarshalJSON(b []byte) error
func (ApiMockStatusCode) Value ¶ added in v0.0.90
func (c ApiMockStatusCode) Value() int32
type ApiMockStatusCodeEnum ¶
type ApiMockStatusCodeEnum struct { E_200 ApiMockStatusCode E_201 ApiMockStatusCode E_202 ApiMockStatusCode E_203 ApiMockStatusCode E_204 ApiMockStatusCode E_205 ApiMockStatusCode E_206 ApiMockStatusCode E_300 ApiMockStatusCode E_301 ApiMockStatusCode E_302 ApiMockStatusCode E_303 ApiMockStatusCode E_304 ApiMockStatusCode E_305 ApiMockStatusCode E_306 ApiMockStatusCode E_307 ApiMockStatusCode E_400 ApiMockStatusCode E_401 ApiMockStatusCode E_402 ApiMockStatusCode E_403 ApiMockStatusCode E_404 ApiMockStatusCode E_405 ApiMockStatusCode E_406 ApiMockStatusCode E_407 ApiMockStatusCode E_408 ApiMockStatusCode E_409 ApiMockStatusCode E_410 ApiMockStatusCode E_411 ApiMockStatusCode E_412 ApiMockStatusCode E_413 ApiMockStatusCode E_414 ApiMockStatusCode E_415 ApiMockStatusCode E_416 ApiMockStatusCode E_417 ApiMockStatusCode E_450 ApiMockStatusCode E_451 ApiMockStatusCode E_500 ApiMockStatusCode E_501 ApiMockStatusCode E_502 ApiMockStatusCode E_503 ApiMockStatusCode E_504 ApiMockStatusCode E_505 ApiMockStatusCode }
func GetApiMockStatusCodeEnum ¶
func GetApiMockStatusCodeEnum() ApiMockStatusCodeEnum
type ApiMockStatusEnum ¶
type ApiMockStatusEnum struct {
E_1 ApiMockStatus
}
func GetApiMockStatusEnum ¶
func GetApiMockStatusEnum() ApiMockStatusEnum
type ApiOutline ¶
type ApiOutline struct { // API的认证方式 AuthType *string `json:"auth_type,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 发布记录的编号 PublishId *string `json:"publish_id,omitempty"` // API所属分组的编号 GroupId *string `json:"group_id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API描述 Remark *string `json:"remark,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API的请求地址 ReqUri *string `json:"req_uri,omitempty"` }
func (ApiOutline) String ¶
func (o ApiOutline) String() string
type ApiPolicyFunctionBase ¶
type ApiPolicyFunctionBase struct { // 函数URN FunctionUrn string `json:"function_urn"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiPolicyFunctionBaseInvocationType `json:"invocation_type"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 版本。字符长度不超过64 Version *string `json:"version,omitempty"` }
func (ApiPolicyFunctionBase) String ¶
func (o ApiPolicyFunctionBase) String() string
type ApiPolicyFunctionBaseInvocationType ¶
type ApiPolicyFunctionBaseInvocationType struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionBaseInvocationType) MarshalJSON ¶
func (c ApiPolicyFunctionBaseInvocationType) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionBaseInvocationType) UnmarshalJSON ¶
func (c *ApiPolicyFunctionBaseInvocationType) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionBaseInvocationType) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionBaseInvocationType) Value() string
type ApiPolicyFunctionBaseInvocationTypeEnum ¶
type ApiPolicyFunctionBaseInvocationTypeEnum struct { ASYNC ApiPolicyFunctionBaseInvocationType SYNC ApiPolicyFunctionBaseInvocationType }
func GetApiPolicyFunctionBaseInvocationTypeEnum ¶
func GetApiPolicyFunctionBaseInvocationTypeEnum() ApiPolicyFunctionBaseInvocationTypeEnum
type ApiPolicyFunctionCreate ¶
type ApiPolicyFunctionCreate struct { // 函数URN FunctionUrn string `json:"function_urn"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiPolicyFunctionCreateInvocationType `json:"invocation_type"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 版本。字符长度不超过64 Version *string `json:"version,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyFunctionCreateEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // 策略条件列表 Conditions []ApiConditionCreate `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyFunctionCreate) String ¶
func (o ApiPolicyFunctionCreate) String() string
type ApiPolicyFunctionCreateEffectMode ¶
type ApiPolicyFunctionCreateEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionCreateEffectMode) MarshalJSON ¶
func (c ApiPolicyFunctionCreateEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionCreateEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyFunctionCreateEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionCreateEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionCreateEffectMode) Value() string
type ApiPolicyFunctionCreateEffectModeEnum ¶
type ApiPolicyFunctionCreateEffectModeEnum struct { ALL ApiPolicyFunctionCreateEffectMode ANY ApiPolicyFunctionCreateEffectMode }
func GetApiPolicyFunctionCreateEffectModeEnum ¶
func GetApiPolicyFunctionCreateEffectModeEnum() ApiPolicyFunctionCreateEffectModeEnum
type ApiPolicyFunctionCreateInvocationType ¶
type ApiPolicyFunctionCreateInvocationType struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionCreateInvocationType) MarshalJSON ¶
func (c ApiPolicyFunctionCreateInvocationType) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionCreateInvocationType) UnmarshalJSON ¶
func (c *ApiPolicyFunctionCreateInvocationType) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionCreateInvocationType) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionCreateInvocationType) Value() string
type ApiPolicyFunctionCreateInvocationTypeEnum ¶
type ApiPolicyFunctionCreateInvocationTypeEnum struct { ASYNC ApiPolicyFunctionCreateInvocationType SYNC ApiPolicyFunctionCreateInvocationType }
func GetApiPolicyFunctionCreateInvocationTypeEnum ¶
func GetApiPolicyFunctionCreateInvocationTypeEnum() ApiPolicyFunctionCreateInvocationTypeEnum
type ApiPolicyFunctionResp ¶
type ApiPolicyFunctionResp struct { // 函数URN FunctionUrn string `json:"function_urn"` // 调用类型 - async: 异步 - sync:同步 InvocationType ApiPolicyFunctionRespInvocationType `json:"invocation_type"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 版本。字符长度不超过64 Version *string `json:"version,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 策略条件列表 Conditions []ConditionResp `json:"conditions"` // 后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyFunctionRespEffectMode `json:"effect_mode"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyFunctionResp) String ¶
func (o ApiPolicyFunctionResp) String() string
type ApiPolicyFunctionRespEffectMode ¶
type ApiPolicyFunctionRespEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionRespEffectMode) MarshalJSON ¶
func (c ApiPolicyFunctionRespEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionRespEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyFunctionRespEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionRespEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionRespEffectMode) Value() string
type ApiPolicyFunctionRespEffectModeEnum ¶
type ApiPolicyFunctionRespEffectModeEnum struct { ALL ApiPolicyFunctionRespEffectMode ANY ApiPolicyFunctionRespEffectMode }
func GetApiPolicyFunctionRespEffectModeEnum ¶
func GetApiPolicyFunctionRespEffectModeEnum() ApiPolicyFunctionRespEffectModeEnum
type ApiPolicyFunctionRespInvocationType ¶
type ApiPolicyFunctionRespInvocationType struct {
// contains filtered or unexported fields
}
func (ApiPolicyFunctionRespInvocationType) MarshalJSON ¶
func (c ApiPolicyFunctionRespInvocationType) MarshalJSON() ([]byte, error)
func (*ApiPolicyFunctionRespInvocationType) UnmarshalJSON ¶
func (c *ApiPolicyFunctionRespInvocationType) UnmarshalJSON(b []byte) error
func (ApiPolicyFunctionRespInvocationType) Value ¶ added in v0.0.90
func (c ApiPolicyFunctionRespInvocationType) Value() string
type ApiPolicyFunctionRespInvocationTypeEnum ¶
type ApiPolicyFunctionRespInvocationTypeEnum struct { ASYNC ApiPolicyFunctionRespInvocationType SYNC ApiPolicyFunctionRespInvocationType }
func GetApiPolicyFunctionRespInvocationTypeEnum ¶
func GetApiPolicyFunctionRespInvocationTypeEnum() ApiPolicyFunctionRespInvocationTypeEnum
type ApiPolicyHttpBase ¶
type ApiPolicyHttpBase struct { // 策略后端的Endpoint。 由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议:HTTP、HTTPS ReqProtocol ApiPolicyHttpBaseReqProtocol `json:"req_protocol"` // 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY ReqMethod ApiPolicyHttpBaseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout *int32 `json:"timeout,omitempty"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` }
func (ApiPolicyHttpBase) String ¶
func (o ApiPolicyHttpBase) String() string
type ApiPolicyHttpBaseReqMethod ¶
type ApiPolicyHttpBaseReqMethod struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpBaseReqMethod) MarshalJSON ¶
func (c ApiPolicyHttpBaseReqMethod) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpBaseReqMethod) UnmarshalJSON ¶
func (c *ApiPolicyHttpBaseReqMethod) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpBaseReqMethod) Value ¶ added in v0.0.90
func (c ApiPolicyHttpBaseReqMethod) Value() string
type ApiPolicyHttpBaseReqMethodEnum ¶
type ApiPolicyHttpBaseReqMethodEnum struct { GET ApiPolicyHttpBaseReqMethod POST ApiPolicyHttpBaseReqMethod PUT ApiPolicyHttpBaseReqMethod DELETE ApiPolicyHttpBaseReqMethod HEAD ApiPolicyHttpBaseReqMethod PATCH ApiPolicyHttpBaseReqMethod OPTIONS ApiPolicyHttpBaseReqMethod ANY ApiPolicyHttpBaseReqMethod }
func GetApiPolicyHttpBaseReqMethodEnum ¶
func GetApiPolicyHttpBaseReqMethodEnum() ApiPolicyHttpBaseReqMethodEnum
type ApiPolicyHttpBaseReqProtocol ¶
type ApiPolicyHttpBaseReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpBaseReqProtocol) MarshalJSON ¶
func (c ApiPolicyHttpBaseReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpBaseReqProtocol) UnmarshalJSON ¶
func (c *ApiPolicyHttpBaseReqProtocol) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpBaseReqProtocol) Value ¶ added in v0.0.90
func (c ApiPolicyHttpBaseReqProtocol) Value() string
type ApiPolicyHttpBaseReqProtocolEnum ¶
type ApiPolicyHttpBaseReqProtocolEnum struct { HTTP ApiPolicyHttpBaseReqProtocol HTTPS ApiPolicyHttpBaseReqProtocol }
func GetApiPolicyHttpBaseReqProtocolEnum ¶
func GetApiPolicyHttpBaseReqProtocolEnum() ApiPolicyHttpBaseReqProtocolEnum
type ApiPolicyHttpCreate ¶
type ApiPolicyHttpCreate struct { // 策略后端的Endpoint。 由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议:HTTP、HTTPS ReqProtocol ApiPolicyHttpCreateReqProtocol `json:"req_protocol"` // 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY ReqMethod ApiPolicyHttpCreateReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout *int32 `json:"timeout,omitempty"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyHttpCreateEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // 策略条件列表 Conditions []ApiConditionCreate `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"` // 是否使用VPC通道 - 1 : 使用VPC通道 - 2 : 不使用VPC通道 VpcChannelStatus *ApiPolicyHttpCreateVpcChannelStatus `json:"vpc_channel_status,omitempty"` }
func (ApiPolicyHttpCreate) String ¶
func (o ApiPolicyHttpCreate) String() string
type ApiPolicyHttpCreateEffectMode ¶
type ApiPolicyHttpCreateEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpCreateEffectMode) MarshalJSON ¶
func (c ApiPolicyHttpCreateEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpCreateEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyHttpCreateEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpCreateEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyHttpCreateEffectMode) Value() string
type ApiPolicyHttpCreateEffectModeEnum ¶
type ApiPolicyHttpCreateEffectModeEnum struct { ALL ApiPolicyHttpCreateEffectMode ANY ApiPolicyHttpCreateEffectMode }
func GetApiPolicyHttpCreateEffectModeEnum ¶
func GetApiPolicyHttpCreateEffectModeEnum() ApiPolicyHttpCreateEffectModeEnum
type ApiPolicyHttpCreateReqMethod ¶
type ApiPolicyHttpCreateReqMethod struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpCreateReqMethod) MarshalJSON ¶
func (c ApiPolicyHttpCreateReqMethod) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpCreateReqMethod) UnmarshalJSON ¶
func (c *ApiPolicyHttpCreateReqMethod) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpCreateReqMethod) Value ¶ added in v0.0.90
func (c ApiPolicyHttpCreateReqMethod) Value() string
type ApiPolicyHttpCreateReqMethodEnum ¶
type ApiPolicyHttpCreateReqMethodEnum struct { GET ApiPolicyHttpCreateReqMethod POST ApiPolicyHttpCreateReqMethod PUT ApiPolicyHttpCreateReqMethod DELETE ApiPolicyHttpCreateReqMethod HEAD ApiPolicyHttpCreateReqMethod PATCH ApiPolicyHttpCreateReqMethod OPTIONS ApiPolicyHttpCreateReqMethod ANY ApiPolicyHttpCreateReqMethod }
func GetApiPolicyHttpCreateReqMethodEnum ¶
func GetApiPolicyHttpCreateReqMethodEnum() ApiPolicyHttpCreateReqMethodEnum
type ApiPolicyHttpCreateReqProtocol ¶
type ApiPolicyHttpCreateReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpCreateReqProtocol) MarshalJSON ¶
func (c ApiPolicyHttpCreateReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpCreateReqProtocol) UnmarshalJSON ¶
func (c *ApiPolicyHttpCreateReqProtocol) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpCreateReqProtocol) Value ¶ added in v0.0.90
func (c ApiPolicyHttpCreateReqProtocol) Value() string
type ApiPolicyHttpCreateReqProtocolEnum ¶
type ApiPolicyHttpCreateReqProtocolEnum struct { HTTP ApiPolicyHttpCreateReqProtocol HTTPS ApiPolicyHttpCreateReqProtocol }
func GetApiPolicyHttpCreateReqProtocolEnum ¶
func GetApiPolicyHttpCreateReqProtocolEnum() ApiPolicyHttpCreateReqProtocolEnum
type ApiPolicyHttpCreateVpcChannelStatus ¶
type ApiPolicyHttpCreateVpcChannelStatus struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpCreateVpcChannelStatus) MarshalJSON ¶
func (c ApiPolicyHttpCreateVpcChannelStatus) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpCreateVpcChannelStatus) UnmarshalJSON ¶
func (c *ApiPolicyHttpCreateVpcChannelStatus) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpCreateVpcChannelStatus) Value ¶ added in v0.0.90
func (c ApiPolicyHttpCreateVpcChannelStatus) Value() int32
type ApiPolicyHttpCreateVpcChannelStatusEnum ¶
type ApiPolicyHttpCreateVpcChannelStatusEnum struct { E_1 ApiPolicyHttpCreateVpcChannelStatus E_2 ApiPolicyHttpCreateVpcChannelStatus }
func GetApiPolicyHttpCreateVpcChannelStatusEnum ¶
func GetApiPolicyHttpCreateVpcChannelStatusEnum() ApiPolicyHttpCreateVpcChannelStatusEnum
type ApiPolicyHttpResp ¶
type ApiPolicyHttpResp struct { // 编号 Id *string `json:"id,omitempty"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 策略条件列表 Conditions []ConditionResp `json:"conditions"` // 后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyHttpRespEffectMode `json:"effect_mode"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 策略后端的Endpoint。 由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议:HTTP、HTTPS ReqProtocol ApiPolicyHttpRespReqProtocol `json:"req_protocol"` // 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY ReqMethod ApiPolicyHttpRespReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout *int32 `json:"timeout,omitempty"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"` // 是否使用VPC通道: - 1: 使用VPC通道 - 2:不使用VPC通道 VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"` }
func (ApiPolicyHttpResp) String ¶
func (o ApiPolicyHttpResp) String() string
type ApiPolicyHttpRespEffectMode ¶
type ApiPolicyHttpRespEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpRespEffectMode) MarshalJSON ¶
func (c ApiPolicyHttpRespEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpRespEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyHttpRespEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpRespEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyHttpRespEffectMode) Value() string
type ApiPolicyHttpRespEffectModeEnum ¶
type ApiPolicyHttpRespEffectModeEnum struct { ALL ApiPolicyHttpRespEffectMode ANY ApiPolicyHttpRespEffectMode }
func GetApiPolicyHttpRespEffectModeEnum ¶
func GetApiPolicyHttpRespEffectModeEnum() ApiPolicyHttpRespEffectModeEnum
type ApiPolicyHttpRespReqMethod ¶
type ApiPolicyHttpRespReqMethod struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpRespReqMethod) MarshalJSON ¶
func (c ApiPolicyHttpRespReqMethod) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpRespReqMethod) UnmarshalJSON ¶
func (c *ApiPolicyHttpRespReqMethod) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpRespReqMethod) Value ¶ added in v0.0.90
func (c ApiPolicyHttpRespReqMethod) Value() string
type ApiPolicyHttpRespReqMethodEnum ¶
type ApiPolicyHttpRespReqMethodEnum struct { GET ApiPolicyHttpRespReqMethod POST ApiPolicyHttpRespReqMethod PUT ApiPolicyHttpRespReqMethod DELETE ApiPolicyHttpRespReqMethod HEAD ApiPolicyHttpRespReqMethod PATCH ApiPolicyHttpRespReqMethod OPTIONS ApiPolicyHttpRespReqMethod ANY ApiPolicyHttpRespReqMethod }
func GetApiPolicyHttpRespReqMethodEnum ¶
func GetApiPolicyHttpRespReqMethodEnum() ApiPolicyHttpRespReqMethodEnum
type ApiPolicyHttpRespReqProtocol ¶
type ApiPolicyHttpRespReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiPolicyHttpRespReqProtocol) MarshalJSON ¶
func (c ApiPolicyHttpRespReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiPolicyHttpRespReqProtocol) UnmarshalJSON ¶
func (c *ApiPolicyHttpRespReqProtocol) UnmarshalJSON(b []byte) error
func (ApiPolicyHttpRespReqProtocol) Value ¶ added in v0.0.90
func (c ApiPolicyHttpRespReqProtocol) Value() string
type ApiPolicyHttpRespReqProtocolEnum ¶
type ApiPolicyHttpRespReqProtocolEnum struct { HTTP ApiPolicyHttpRespReqProtocol HTTPS ApiPolicyHttpRespReqProtocol }
func GetApiPolicyHttpRespReqProtocolEnum ¶
func GetApiPolicyHttpRespReqProtocolEnum() ApiPolicyHttpRespReqProtocolEnum
type ApiPolicyMockBase ¶
type ApiPolicyMockBase struct { // 返回结果 ResultContent *string `json:"result_content,omitempty"` // mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\", StatusCode *ApiPolicyMockBaseStatusCode `json:"status_code,omitempty"` // mock后端自定义响应头header Header *[]MockApiBaseInfoHeader `json:"header,omitempty"` }
func (ApiPolicyMockBase) String ¶
func (o ApiPolicyMockBase) String() string
type ApiPolicyMockBaseStatusCode ¶
type ApiPolicyMockBaseStatusCode struct {
// contains filtered or unexported fields
}
func (ApiPolicyMockBaseStatusCode) MarshalJSON ¶
func (c ApiPolicyMockBaseStatusCode) MarshalJSON() ([]byte, error)
func (*ApiPolicyMockBaseStatusCode) UnmarshalJSON ¶
func (c *ApiPolicyMockBaseStatusCode) UnmarshalJSON(b []byte) error
func (ApiPolicyMockBaseStatusCode) Value ¶ added in v0.0.90
func (c ApiPolicyMockBaseStatusCode) Value() int32
type ApiPolicyMockBaseStatusCodeEnum ¶
type ApiPolicyMockBaseStatusCodeEnum struct { E_200 ApiPolicyMockBaseStatusCode E_201 ApiPolicyMockBaseStatusCode E_202 ApiPolicyMockBaseStatusCode E_203 ApiPolicyMockBaseStatusCode E_204 ApiPolicyMockBaseStatusCode E_205 ApiPolicyMockBaseStatusCode E_206 ApiPolicyMockBaseStatusCode E_300 ApiPolicyMockBaseStatusCode E_301 ApiPolicyMockBaseStatusCode E_302 ApiPolicyMockBaseStatusCode E_303 ApiPolicyMockBaseStatusCode E_304 ApiPolicyMockBaseStatusCode E_305 ApiPolicyMockBaseStatusCode E_306 ApiPolicyMockBaseStatusCode E_307 ApiPolicyMockBaseStatusCode E_400 ApiPolicyMockBaseStatusCode E_401 ApiPolicyMockBaseStatusCode E_402 ApiPolicyMockBaseStatusCode E_403 ApiPolicyMockBaseStatusCode E_404 ApiPolicyMockBaseStatusCode E_405 ApiPolicyMockBaseStatusCode E_406 ApiPolicyMockBaseStatusCode E_407 ApiPolicyMockBaseStatusCode E_408 ApiPolicyMockBaseStatusCode E_409 ApiPolicyMockBaseStatusCode E_410 ApiPolicyMockBaseStatusCode E_411 ApiPolicyMockBaseStatusCode E_412 ApiPolicyMockBaseStatusCode E_413 ApiPolicyMockBaseStatusCode E_414 ApiPolicyMockBaseStatusCode E_415 ApiPolicyMockBaseStatusCode E_416 ApiPolicyMockBaseStatusCode E_417 ApiPolicyMockBaseStatusCode E_450 ApiPolicyMockBaseStatusCode E_451 ApiPolicyMockBaseStatusCode E_500 ApiPolicyMockBaseStatusCode E_501 ApiPolicyMockBaseStatusCode E_502 ApiPolicyMockBaseStatusCode E_503 ApiPolicyMockBaseStatusCode E_504 ApiPolicyMockBaseStatusCode E_505 ApiPolicyMockBaseStatusCode }
func GetApiPolicyMockBaseStatusCodeEnum ¶
func GetApiPolicyMockBaseStatusCodeEnum() ApiPolicyMockBaseStatusCodeEnum
type ApiPolicyMockCreate ¶
type ApiPolicyMockCreate struct { // 返回结果 ResultContent *string `json:"result_content,omitempty"` // mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\", StatusCode *ApiPolicyMockCreateStatusCode `json:"status_code,omitempty"` // mock后端自定义响应头header Header *[]MockApiBaseInfoHeader `json:"header,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyMockCreateEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // 策略条件列表 Conditions []ApiConditionCreate `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyMockCreate) String ¶
func (o ApiPolicyMockCreate) String() string
type ApiPolicyMockCreateEffectMode ¶
type ApiPolicyMockCreateEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyMockCreateEffectMode) MarshalJSON ¶
func (c ApiPolicyMockCreateEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyMockCreateEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyMockCreateEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyMockCreateEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyMockCreateEffectMode) Value() string
type ApiPolicyMockCreateEffectModeEnum ¶
type ApiPolicyMockCreateEffectModeEnum struct { ALL ApiPolicyMockCreateEffectMode ANY ApiPolicyMockCreateEffectMode }
func GetApiPolicyMockCreateEffectModeEnum ¶
func GetApiPolicyMockCreateEffectModeEnum() ApiPolicyMockCreateEffectModeEnum
type ApiPolicyMockCreateStatusCode ¶
type ApiPolicyMockCreateStatusCode struct {
// contains filtered or unexported fields
}
func (ApiPolicyMockCreateStatusCode) MarshalJSON ¶
func (c ApiPolicyMockCreateStatusCode) MarshalJSON() ([]byte, error)
func (*ApiPolicyMockCreateStatusCode) UnmarshalJSON ¶
func (c *ApiPolicyMockCreateStatusCode) UnmarshalJSON(b []byte) error
func (ApiPolicyMockCreateStatusCode) Value ¶ added in v0.0.90
func (c ApiPolicyMockCreateStatusCode) Value() int32
type ApiPolicyMockCreateStatusCodeEnum ¶
type ApiPolicyMockCreateStatusCodeEnum struct { E_200 ApiPolicyMockCreateStatusCode E_201 ApiPolicyMockCreateStatusCode E_202 ApiPolicyMockCreateStatusCode E_203 ApiPolicyMockCreateStatusCode E_204 ApiPolicyMockCreateStatusCode E_205 ApiPolicyMockCreateStatusCode E_206 ApiPolicyMockCreateStatusCode E_300 ApiPolicyMockCreateStatusCode E_301 ApiPolicyMockCreateStatusCode E_302 ApiPolicyMockCreateStatusCode E_303 ApiPolicyMockCreateStatusCode E_304 ApiPolicyMockCreateStatusCode E_305 ApiPolicyMockCreateStatusCode E_306 ApiPolicyMockCreateStatusCode E_307 ApiPolicyMockCreateStatusCode E_400 ApiPolicyMockCreateStatusCode E_401 ApiPolicyMockCreateStatusCode E_402 ApiPolicyMockCreateStatusCode E_403 ApiPolicyMockCreateStatusCode E_404 ApiPolicyMockCreateStatusCode E_405 ApiPolicyMockCreateStatusCode E_406 ApiPolicyMockCreateStatusCode E_407 ApiPolicyMockCreateStatusCode E_408 ApiPolicyMockCreateStatusCode E_409 ApiPolicyMockCreateStatusCode E_410 ApiPolicyMockCreateStatusCode E_411 ApiPolicyMockCreateStatusCode E_412 ApiPolicyMockCreateStatusCode E_413 ApiPolicyMockCreateStatusCode E_414 ApiPolicyMockCreateStatusCode E_415 ApiPolicyMockCreateStatusCode E_416 ApiPolicyMockCreateStatusCode E_417 ApiPolicyMockCreateStatusCode E_450 ApiPolicyMockCreateStatusCode E_451 ApiPolicyMockCreateStatusCode E_500 ApiPolicyMockCreateStatusCode E_501 ApiPolicyMockCreateStatusCode E_502 ApiPolicyMockCreateStatusCode E_503 ApiPolicyMockCreateStatusCode E_504 ApiPolicyMockCreateStatusCode E_505 ApiPolicyMockCreateStatusCode }
func GetApiPolicyMockCreateStatusCodeEnum ¶
func GetApiPolicyMockCreateStatusCodeEnum() ApiPolicyMockCreateStatusCodeEnum
type ApiPolicyMockResp ¶
type ApiPolicyMockResp struct { // 编号 Id *string `json:"id,omitempty"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 策略条件列表 Conditions []ConditionResp `json:"conditions"` // 后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyMockRespEffectMode `json:"effect_mode"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 返回结果 ResultContent *string `json:"result_content,omitempty"` // mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\", StatusCode *ApiPolicyMockRespStatusCode `json:"status_code,omitempty"` // mock后端自定义响应头header Header *[]MockApiBaseInfoHeader `json:"header,omitempty"` }
func (ApiPolicyMockResp) String ¶
func (o ApiPolicyMockResp) String() string
type ApiPolicyMockRespEffectMode ¶
type ApiPolicyMockRespEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyMockRespEffectMode) MarshalJSON ¶
func (c ApiPolicyMockRespEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyMockRespEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyMockRespEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyMockRespEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyMockRespEffectMode) Value() string
type ApiPolicyMockRespEffectModeEnum ¶
type ApiPolicyMockRespEffectModeEnum struct { ALL ApiPolicyMockRespEffectMode ANY ApiPolicyMockRespEffectMode }
func GetApiPolicyMockRespEffectModeEnum ¶
func GetApiPolicyMockRespEffectModeEnum() ApiPolicyMockRespEffectModeEnum
type ApiPolicyMockRespStatusCode ¶
type ApiPolicyMockRespStatusCode struct {
// contains filtered or unexported fields
}
func (ApiPolicyMockRespStatusCode) MarshalJSON ¶
func (c ApiPolicyMockRespStatusCode) MarshalJSON() ([]byte, error)
func (*ApiPolicyMockRespStatusCode) UnmarshalJSON ¶
func (c *ApiPolicyMockRespStatusCode) UnmarshalJSON(b []byte) error
func (ApiPolicyMockRespStatusCode) Value ¶ added in v0.0.90
func (c ApiPolicyMockRespStatusCode) Value() int32
type ApiPolicyMockRespStatusCodeEnum ¶
type ApiPolicyMockRespStatusCodeEnum struct { E_200 ApiPolicyMockRespStatusCode E_201 ApiPolicyMockRespStatusCode E_202 ApiPolicyMockRespStatusCode E_203 ApiPolicyMockRespStatusCode E_204 ApiPolicyMockRespStatusCode E_205 ApiPolicyMockRespStatusCode E_206 ApiPolicyMockRespStatusCode E_300 ApiPolicyMockRespStatusCode E_301 ApiPolicyMockRespStatusCode E_302 ApiPolicyMockRespStatusCode E_303 ApiPolicyMockRespStatusCode E_304 ApiPolicyMockRespStatusCode E_305 ApiPolicyMockRespStatusCode E_306 ApiPolicyMockRespStatusCode E_307 ApiPolicyMockRespStatusCode E_400 ApiPolicyMockRespStatusCode E_401 ApiPolicyMockRespStatusCode E_402 ApiPolicyMockRespStatusCode E_403 ApiPolicyMockRespStatusCode E_404 ApiPolicyMockRespStatusCode E_405 ApiPolicyMockRespStatusCode E_406 ApiPolicyMockRespStatusCode E_407 ApiPolicyMockRespStatusCode E_408 ApiPolicyMockRespStatusCode E_409 ApiPolicyMockRespStatusCode E_410 ApiPolicyMockRespStatusCode E_411 ApiPolicyMockRespStatusCode E_412 ApiPolicyMockRespStatusCode E_413 ApiPolicyMockRespStatusCode E_414 ApiPolicyMockRespStatusCode E_415 ApiPolicyMockRespStatusCode E_416 ApiPolicyMockRespStatusCode E_417 ApiPolicyMockRespStatusCode E_450 ApiPolicyMockRespStatusCode E_451 ApiPolicyMockRespStatusCode E_500 ApiPolicyMockRespStatusCode E_501 ApiPolicyMockRespStatusCode E_502 ApiPolicyMockRespStatusCode E_503 ApiPolicyMockRespStatusCode E_504 ApiPolicyMockRespStatusCode E_505 ApiPolicyMockRespStatusCode }
func GetApiPolicyMockRespStatusCodeEnum ¶
func GetApiPolicyMockRespStatusCodeEnum() ApiPolicyMockRespStatusCodeEnum
type ApiPolicyReqBase ¶
type ApiPolicyReqBase struct { // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyReqBaseEffectMode `json:"effect_mode"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 后端参数列表 BackendParams *[]BackendParamBase `json:"backend_params,omitempty"` // 策略条件列表 Conditions []ApiConditionCreate `json:"conditions"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyReqBase) String ¶
func (o ApiPolicyReqBase) String() string
type ApiPolicyReqBaseEffectMode ¶
type ApiPolicyReqBaseEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyReqBaseEffectMode) MarshalJSON ¶
func (c ApiPolicyReqBaseEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyReqBaseEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyReqBaseEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyReqBaseEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyReqBaseEffectMode) Value() string
type ApiPolicyReqBaseEffectModeEnum ¶
type ApiPolicyReqBaseEffectModeEnum struct { ALL ApiPolicyReqBaseEffectMode ANY ApiPolicyReqBaseEffectMode }
func GetApiPolicyReqBaseEffectModeEnum ¶
func GetApiPolicyReqBaseEffectModeEnum() ApiPolicyReqBaseEffectModeEnum
type ApiPolicyRespBase ¶
type ApiPolicyRespBase struct { // 编号 Id *string `json:"id,omitempty"` // 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。 Name string `json:"name"` // 策略条件列表 Conditions []ConditionResp `json:"conditions"` // 后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件 EffectMode ApiPolicyRespBaseEffectMode `json:"effect_mode"` // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
func (ApiPolicyRespBase) String ¶
func (o ApiPolicyRespBase) String() string
type ApiPolicyRespBaseEffectMode ¶
type ApiPolicyRespBaseEffectMode struct {
// contains filtered or unexported fields
}
func (ApiPolicyRespBaseEffectMode) MarshalJSON ¶
func (c ApiPolicyRespBaseEffectMode) MarshalJSON() ([]byte, error)
func (*ApiPolicyRespBaseEffectMode) UnmarshalJSON ¶
func (c *ApiPolicyRespBaseEffectMode) UnmarshalJSON(b []byte) error
func (ApiPolicyRespBaseEffectMode) Value ¶ added in v0.0.90
func (c ApiPolicyRespBaseEffectMode) Value() string
type ApiPolicyRespBaseEffectModeEnum ¶
type ApiPolicyRespBaseEffectModeEnum struct { ALL ApiPolicyRespBaseEffectMode ANY ApiPolicyRespBaseEffectMode }
func GetApiPolicyRespBaseEffectModeEnum ¶
func GetApiPolicyRespBaseEffectModeEnum() ApiPolicyRespBaseEffectModeEnum
type ApiRespBaseInfo ¶
type ApiRespBaseInfo struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ApiRespBaseInfoType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ApiRespBaseInfoReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ApiRespBaseInfoReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ApiRespBaseInfoAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ApiRespBaseInfoMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ApiRespBaseInfoBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ApiRespBaseInfoContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *ApiRespBaseInfoStatus `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` }
func (ApiRespBaseInfo) String ¶
func (o ApiRespBaseInfo) String() string
type ApiRespBaseInfoAuthType ¶
type ApiRespBaseInfoAuthType struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoAuthType) MarshalJSON ¶
func (c ApiRespBaseInfoAuthType) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoAuthType) UnmarshalJSON ¶
func (c *ApiRespBaseInfoAuthType) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoAuthType) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoAuthType) Value() string
type ApiRespBaseInfoAuthTypeEnum ¶
type ApiRespBaseInfoAuthTypeEnum struct { NONE ApiRespBaseInfoAuthType APP ApiRespBaseInfoAuthType IAM ApiRespBaseInfoAuthType AUTHORIZER ApiRespBaseInfoAuthType }
func GetApiRespBaseInfoAuthTypeEnum ¶
func GetApiRespBaseInfoAuthTypeEnum() ApiRespBaseInfoAuthTypeEnum
type ApiRespBaseInfoBackendType ¶
type ApiRespBaseInfoBackendType struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoBackendType) MarshalJSON ¶
func (c ApiRespBaseInfoBackendType) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoBackendType) UnmarshalJSON ¶
func (c *ApiRespBaseInfoBackendType) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoBackendType) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoBackendType) Value() string
type ApiRespBaseInfoBackendTypeEnum ¶
type ApiRespBaseInfoBackendTypeEnum struct { HTTP ApiRespBaseInfoBackendType FUNCTION ApiRespBaseInfoBackendType MOCK ApiRespBaseInfoBackendType }
func GetApiRespBaseInfoBackendTypeEnum ¶
func GetApiRespBaseInfoBackendTypeEnum() ApiRespBaseInfoBackendTypeEnum
type ApiRespBaseInfoContentType ¶
type ApiRespBaseInfoContentType struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoContentType) MarshalJSON ¶
func (c ApiRespBaseInfoContentType) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoContentType) UnmarshalJSON ¶
func (c *ApiRespBaseInfoContentType) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoContentType) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoContentType) Value() string
type ApiRespBaseInfoContentTypeEnum ¶
type ApiRespBaseInfoContentTypeEnum struct { APPLICATION_JSON ApiRespBaseInfoContentType APPLICATION_XML ApiRespBaseInfoContentType MULTIPART_FORM_DATE ApiRespBaseInfoContentType TEXT_PLAIN ApiRespBaseInfoContentType }
func GetApiRespBaseInfoContentTypeEnum ¶
func GetApiRespBaseInfoContentTypeEnum() ApiRespBaseInfoContentTypeEnum
type ApiRespBaseInfoMatchMode ¶
type ApiRespBaseInfoMatchMode struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoMatchMode) MarshalJSON ¶
func (c ApiRespBaseInfoMatchMode) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoMatchMode) UnmarshalJSON ¶
func (c *ApiRespBaseInfoMatchMode) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoMatchMode) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoMatchMode) Value() string
type ApiRespBaseInfoMatchModeEnum ¶
type ApiRespBaseInfoMatchModeEnum struct { SWA ApiRespBaseInfoMatchMode NORMAL ApiRespBaseInfoMatchMode }
func GetApiRespBaseInfoMatchModeEnum ¶
func GetApiRespBaseInfoMatchModeEnum() ApiRespBaseInfoMatchModeEnum
type ApiRespBaseInfoReqMethod ¶
type ApiRespBaseInfoReqMethod struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoReqMethod) MarshalJSON ¶
func (c ApiRespBaseInfoReqMethod) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoReqMethod) UnmarshalJSON ¶
func (c *ApiRespBaseInfoReqMethod) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoReqMethod) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoReqMethod) Value() string
type ApiRespBaseInfoReqMethodEnum ¶
type ApiRespBaseInfoReqMethodEnum struct { GET ApiRespBaseInfoReqMethod POST ApiRespBaseInfoReqMethod PUT ApiRespBaseInfoReqMethod DELETE ApiRespBaseInfoReqMethod HEAD ApiRespBaseInfoReqMethod PATCH ApiRespBaseInfoReqMethod OPTIONS ApiRespBaseInfoReqMethod ANY ApiRespBaseInfoReqMethod }
func GetApiRespBaseInfoReqMethodEnum ¶
func GetApiRespBaseInfoReqMethodEnum() ApiRespBaseInfoReqMethodEnum
type ApiRespBaseInfoReqProtocol ¶
type ApiRespBaseInfoReqProtocol struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoReqProtocol) MarshalJSON ¶
func (c ApiRespBaseInfoReqProtocol) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoReqProtocol) UnmarshalJSON ¶
func (c *ApiRespBaseInfoReqProtocol) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoReqProtocol) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoReqProtocol) Value() string
type ApiRespBaseInfoReqProtocolEnum ¶
type ApiRespBaseInfoReqProtocolEnum struct { HTTP ApiRespBaseInfoReqProtocol HTTPS ApiRespBaseInfoReqProtocol BOTH ApiRespBaseInfoReqProtocol }
func GetApiRespBaseInfoReqProtocolEnum ¶
func GetApiRespBaseInfoReqProtocolEnum() ApiRespBaseInfoReqProtocolEnum
type ApiRespBaseInfoStatus ¶
type ApiRespBaseInfoStatus struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoStatus) MarshalJSON ¶
func (c ApiRespBaseInfoStatus) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoStatus) UnmarshalJSON ¶
func (c *ApiRespBaseInfoStatus) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoStatus) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoStatus) Value() int32
type ApiRespBaseInfoStatusEnum ¶
type ApiRespBaseInfoStatusEnum struct {
E_1 ApiRespBaseInfoStatus
}
func GetApiRespBaseInfoStatusEnum ¶
func GetApiRespBaseInfoStatusEnum() ApiRespBaseInfoStatusEnum
type ApiRespBaseInfoType ¶
type ApiRespBaseInfoType struct {
// contains filtered or unexported fields
}
func (ApiRespBaseInfoType) MarshalJSON ¶
func (c ApiRespBaseInfoType) MarshalJSON() ([]byte, error)
func (*ApiRespBaseInfoType) UnmarshalJSON ¶
func (c *ApiRespBaseInfoType) UnmarshalJSON(b []byte) error
func (ApiRespBaseInfoType) Value ¶ added in v0.0.90
func (c ApiRespBaseInfoType) Value() int32
type ApiRespBaseInfoTypeEnum ¶
type ApiRespBaseInfoTypeEnum struct { E_1 ApiRespBaseInfoType E_2 ApiRespBaseInfoType }
func GetApiRespBaseInfoTypeEnum ¶
func GetApiRespBaseInfoTypeEnum() ApiRespBaseInfoTypeEnum
type ApiVersion ¶
type ApiVersion struct { // API版本的编号 VersionId string `json:"version_id"` }
func (ApiVersion) String ¶
func (o ApiVersion) String() string
type ApiVersionResp ¶
type ApiVersionResp struct { // API历史版本的ID VersionId *string `json:"version_id,omitempty"` // API的版本号 VersionNo *string `json:"version_no,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 发布的环境名称 EnvName *string `json:"env_name,omitempty"` // 发布描述 Remark *string `json:"remark,omitempty"` // 发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // 版本状态 - 1:当前生效中的版本 - 2:未生效的版本 Status *ApiVersionRespStatus `json:"status,omitempty"` }
func (ApiVersionResp) String ¶
func (o ApiVersionResp) String() string
type ApiVersionRespStatus ¶
type ApiVersionRespStatus struct {
// contains filtered or unexported fields
}
func (ApiVersionRespStatus) MarshalJSON ¶
func (c ApiVersionRespStatus) MarshalJSON() ([]byte, error)
func (*ApiVersionRespStatus) UnmarshalJSON ¶
func (c *ApiVersionRespStatus) UnmarshalJSON(b []byte) error
func (ApiVersionRespStatus) Value ¶ added in v0.0.90
func (c ApiVersionRespStatus) Value() int32
type ApiVersionRespStatusEnum ¶
type ApiVersionRespStatusEnum struct { E_1 ApiVersionRespStatus E_2 ApiVersionRespStatus }
func GetApiVersionRespStatusEnum ¶
func GetApiVersionRespStatusEnum() ApiVersionRespStatusEnum
type AppAclCreate ¶
type AppAclCreate struct { // 类型 - PERMIT (白名单类型) - DENY (黑名单类型) AppAclType string `json:"app_acl_type"` // ACL策略值,支持IP、IP范围和CIDR方式。IP范围以英文中划线分隔。 AppAclValues []string `json:"app_acl_values"` }
func (AppAclCreate) String ¶
func (o AppAclCreate) String() string
type AppBaseInfo ¶
type AppBaseInfo struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` }
func (AppBaseInfo) String ¶
func (o AppBaseInfo) String() string
type AppCodeBaseInfo ¶
type AppCodeBaseInfo struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头。 AppCode string `json:"app_code"` // 编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` }
func (AppCodeBaseInfo) String ¶
func (o AppCodeBaseInfo) String() string
type AppCodeCreate ¶
type AppCodeCreate struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头。 AppCode string `json:"app_code"` }
func (AppCodeCreate) String ¶
func (o AppCodeCreate) String() string
type AppConfigCreateRequestV2 ¶
type AppConfigCreateRequestV2 struct { // 应用配置类型: - variable:模板变量 - password:密码 - certificate:证书 ConfigType AppConfigCreateRequestV2ConfigType `json:"config_type"` // 应用配置值: - config_type = variable:config_value为模板变量的值 - config_type = password:config_value为密码值 - config_type = certificate:config_value需要包含证书public_key(必填),私钥private_key(必填)和密码passphrase(非必填),格式如:\"{\\\\\"public_key\\\\\": \\\"\\,\\\\\"private_key\\\\\":\\\\\"\\\\\",\\\\\"passphrase\\\\\":\\\\\"\\\\\"}\" ConfigValue *string `json:"config_value,omitempty"` // 应用配置描述 Description *string `json:"description,omitempty"` // 应用配置名称。 支持英文大小写字符、数字、下划线、中划线、点和@,且只能以英文字母开头。 ConfigName *string `json:"config_name,omitempty"` }
func (AppConfigCreateRequestV2) String ¶
func (o AppConfigCreateRequestV2) String() string
type AppConfigCreateRequestV2ConfigType ¶
type AppConfigCreateRequestV2ConfigType struct {
// contains filtered or unexported fields
}
func (AppConfigCreateRequestV2ConfigType) MarshalJSON ¶
func (c AppConfigCreateRequestV2ConfigType) MarshalJSON() ([]byte, error)
func (*AppConfigCreateRequestV2ConfigType) UnmarshalJSON ¶
func (c *AppConfigCreateRequestV2ConfigType) UnmarshalJSON(b []byte) error
func (AppConfigCreateRequestV2ConfigType) Value ¶ added in v0.0.90
func (c AppConfigCreateRequestV2ConfigType) Value() string
type AppConfigCreateRequestV2ConfigTypeEnum ¶
type AppConfigCreateRequestV2ConfigTypeEnum struct { VARIABLE AppConfigCreateRequestV2ConfigType PASSWORD AppConfigCreateRequestV2ConfigType CERTIFICATE AppConfigCreateRequestV2ConfigType }
func GetAppConfigCreateRequestV2ConfigTypeEnum ¶
func GetAppConfigCreateRequestV2ConfigTypeEnum() AppConfigCreateRequestV2ConfigTypeEnum
type AppConfigInfoV2 ¶
type AppConfigInfoV2 struct { // 应用配置编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 应用配置类型 ConfigType *string `json:"config_type,omitempty"` // 应用配置名称 ConfigName *string `json:"config_name,omitempty"` // 应用配置值 ConfigValue *string `json:"config_value,omitempty"` // 应用配置更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 应用配置描述 Description *string `json:"description,omitempty"` }
func (AppConfigInfoV2) String ¶
func (o AppConfigInfoV2) String() string
type AppConfigModifyRequestV2 ¶
type AppConfigModifyRequestV2 struct { // 应用配置类型: - variable:模板变量 - password:密码 - certificate:证书 ConfigType AppConfigModifyRequestV2ConfigType `json:"config_type"` // 应用配置值: - config_type = variable:config_value为模板变量的值 - config_type = password:config_value为密码值 - config_type = certificate:config_value需要包含证书public_key(必填),私钥private_key(必填)和密码passphrase(非必填),格式如:\"{\\\\\"public_key\\\\\": \\\"\\,\\\\\"private_key\\\\\":\\\\\"\\\\\",\\\\\"passphrase\\\\\":\\\\\"\\\\\"}\" ConfigValue *string `json:"config_value,omitempty"` // 应用配置描述 Description *string `json:"description,omitempty"` }
func (AppConfigModifyRequestV2) String ¶
func (o AppConfigModifyRequestV2) String() string
type AppConfigModifyRequestV2ConfigType ¶
type AppConfigModifyRequestV2ConfigType struct {
// contains filtered or unexported fields
}
func (AppConfigModifyRequestV2ConfigType) MarshalJSON ¶
func (c AppConfigModifyRequestV2ConfigType) MarshalJSON() ([]byte, error)
func (*AppConfigModifyRequestV2ConfigType) UnmarshalJSON ¶
func (c *AppConfigModifyRequestV2ConfigType) UnmarshalJSON(b []byte) error
func (AppConfigModifyRequestV2ConfigType) Value ¶ added in v0.0.90
func (c AppConfigModifyRequestV2ConfigType) Value() string
type AppConfigModifyRequestV2ConfigTypeEnum ¶
type AppConfigModifyRequestV2ConfigTypeEnum struct { VARIABLE AppConfigModifyRequestV2ConfigType PASSWORD AppConfigModifyRequestV2ConfigType CERTIFICATE AppConfigModifyRequestV2ConfigType }
func GetAppConfigModifyRequestV2ConfigTypeEnum ¶
func GetAppConfigModifyRequestV2ConfigTypeEnum() AppConfigModifyRequestV2ConfigTypeEnum
type AppFavorite ¶
type AppFavorite struct { }
是否收藏应用,收藏的应用会在列表里优先显示
func (AppFavorite) String ¶
func (o AppFavorite) String() string
type AppInfo ¶
type AppInfo struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // APP的创建者 - USER:用户自行创建 - MARKET:云市场分配 暂不支持MARKET Creator *AppInfoCreator `json:"creator,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // APP的key AppKey *string `json:"app_key,omitempty"` // 密钥 AppSecret *string `json:"app_secret,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 - 1: 有效 Status *AppInfoStatus `json:"status,omitempty"` // APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用 AppType *AppInfoAppType `json:"app_type,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 RomaAppType *string `json:"roma_app_type,omitempty"` }
type AppInfoAppType ¶
type AppInfoAppType struct {
// contains filtered or unexported fields
}
func (AppInfoAppType) MarshalJSON ¶
func (c AppInfoAppType) MarshalJSON() ([]byte, error)
func (*AppInfoAppType) UnmarshalJSON ¶
func (c *AppInfoAppType) UnmarshalJSON(b []byte) error
func (AppInfoAppType) Value ¶ added in v0.0.90
func (c AppInfoAppType) Value() string
type AppInfoAppTypeEnum ¶
type AppInfoAppTypeEnum struct { APIG AppInfoAppType ROMA AppInfoAppType }
func GetAppInfoAppTypeEnum ¶
func GetAppInfoAppTypeEnum() AppInfoAppTypeEnum
type AppInfoCreator ¶
type AppInfoCreator struct {
// contains filtered or unexported fields
}
func (AppInfoCreator) MarshalJSON ¶
func (c AppInfoCreator) MarshalJSON() ([]byte, error)
func (*AppInfoCreator) UnmarshalJSON ¶
func (c *AppInfoCreator) UnmarshalJSON(b []byte) error
func (AppInfoCreator) Value ¶ added in v0.0.90
func (c AppInfoCreator) Value() string
type AppInfoCreatorEnum ¶
type AppInfoCreatorEnum struct { USER AppInfoCreator MARKET AppInfoCreator }
func GetAppInfoCreatorEnum ¶
func GetAppInfoCreatorEnum() AppInfoCreatorEnum
type AppInfoStatus ¶
type AppInfoStatus struct {
// contains filtered or unexported fields
}
func (AppInfoStatus) MarshalJSON ¶
func (c AppInfoStatus) MarshalJSON() ([]byte, error)
func (*AppInfoStatus) UnmarshalJSON ¶
func (c *AppInfoStatus) UnmarshalJSON(b []byte) error
func (AppInfoStatus) Value ¶ added in v0.0.90
func (c AppInfoStatus) Value() int32
type AppInfoStatusEnum ¶
type AppInfoStatusEnum struct {
E_1 AppInfoStatus
}
func GetAppInfoStatusEnum ¶
func GetAppInfoStatusEnum() AppInfoStatusEnum
type AppInfoWithBindNum ¶
type AppInfoWithBindNum struct { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // APP的创建者 - USER:用户自行创建 - MARKET:云市场分配 暂不支持MARKET Creator *AppInfoWithBindNumCreator `json:"creator,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // APP的key AppKey *string `json:"app_key,omitempty"` // 密钥 AppSecret *string `json:"app_secret,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 - 1: 有效 Status *AppInfoWithBindNumStatus `json:"status,omitempty"` // APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用 AppType *AppInfoWithBindNumAppType `json:"app_type,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 RomaAppType *string `json:"roma_app_type,omitempty"` // 绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` }
func (AppInfoWithBindNum) String ¶
func (o AppInfoWithBindNum) String() string
type AppInfoWithBindNumAppType ¶
type AppInfoWithBindNumAppType struct {
// contains filtered or unexported fields
}
func (AppInfoWithBindNumAppType) MarshalJSON ¶
func (c AppInfoWithBindNumAppType) MarshalJSON() ([]byte, error)
func (*AppInfoWithBindNumAppType) UnmarshalJSON ¶
func (c *AppInfoWithBindNumAppType) UnmarshalJSON(b []byte) error
func (AppInfoWithBindNumAppType) Value ¶ added in v0.0.90
func (c AppInfoWithBindNumAppType) Value() string
type AppInfoWithBindNumAppTypeEnum ¶
type AppInfoWithBindNumAppTypeEnum struct { APIG AppInfoWithBindNumAppType ROMA AppInfoWithBindNumAppType }
func GetAppInfoWithBindNumAppTypeEnum ¶
func GetAppInfoWithBindNumAppTypeEnum() AppInfoWithBindNumAppTypeEnum
type AppInfoWithBindNumCreator ¶
type AppInfoWithBindNumCreator struct {
// contains filtered or unexported fields
}
func (AppInfoWithBindNumCreator) MarshalJSON ¶
func (c AppInfoWithBindNumCreator) MarshalJSON() ([]byte, error)
func (*AppInfoWithBindNumCreator) UnmarshalJSON ¶
func (c *AppInfoWithBindNumCreator) UnmarshalJSON(b []byte) error
func (AppInfoWithBindNumCreator) Value ¶ added in v0.0.90
func (c AppInfoWithBindNumCreator) Value() string
type AppInfoWithBindNumCreatorEnum ¶
type AppInfoWithBindNumCreatorEnum struct { USER AppInfoWithBindNumCreator MARKET AppInfoWithBindNumCreator }
func GetAppInfoWithBindNumCreatorEnum ¶
func GetAppInfoWithBindNumCreatorEnum() AppInfoWithBindNumCreatorEnum
type AppInfoWithBindNumStatus ¶
type AppInfoWithBindNumStatus struct {
// contains filtered or unexported fields
}
func (AppInfoWithBindNumStatus) MarshalJSON ¶
func (c AppInfoWithBindNumStatus) MarshalJSON() ([]byte, error)
func (*AppInfoWithBindNumStatus) UnmarshalJSON ¶
func (c *AppInfoWithBindNumStatus) UnmarshalJSON(b []byte) error
func (AppInfoWithBindNumStatus) Value ¶ added in v0.0.90
func (c AppInfoWithBindNumStatus) Value() int32
type AppInfoWithBindNumStatusEnum ¶
type AppInfoWithBindNumStatusEnum struct {
E_1 AppInfoWithBindNumStatus
}
func GetAppInfoWithBindNumStatusEnum ¶
func GetAppInfoWithBindNumStatusEnum() AppInfoWithBindNumStatusEnum
type AppKey ¶
type AppKey struct { }
应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一
type AppQuotaAppBinding ¶
type AppQuotaAppBinding struct { // 客户端配额编号 AppQuotaId *string `json:"app_quota_id,omitempty"` // 客户端应用编号 AppId *string `json:"app_id,omitempty"` // 绑定时间 BoundTime *sdktime.SdkTime `json:"bound_time,omitempty"` }
客户端应用与客户端配额绑定信息
func (AppQuotaAppBinding) String ¶
func (o AppQuotaAppBinding) String() string
type AppQuotaAppInfo ¶
type AppQuotaAppInfo struct { // 客户端应用编号 AppId *string `json:"app_id,omitempty"` // 客户端应用名称 Name *string `json:"name,omitempty"` // 客户端应用状态: - 1:启用 - 2:禁用 Status *int32 `json:"status,omitempty"` // 客户端应用的Key AppKey *string `json:"app_key,omitempty"` // 客户端应用描述 Remark *string `json:"remark,omitempty"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 客户端配额编号 AppQuotaId *string `json:"app_quota_id,omitempty"` // 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符 AppQuotaName *string `json:"app_quota_name,omitempty"` // 绑定时间 BoundTime *sdktime.SdkTime `json:"bound_time,omitempty"` }
func (AppQuotaAppInfo) String ¶
func (o AppQuotaAppInfo) String() string
type AppQuotaCreate ¶
type AppQuotaCreate struct { // 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头 Name string `json:"name"` // 客户端配额的访问次数限制 CallLimits int32 `json:"call_limits"` // 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天 TimeUnit AppQuotaCreateTimeUnit `json:"time_unit"` // 流控的限定时间值 TimeInterval int32 `json:"time_interval"` // 首次配额重置时间点,不配置默认为首次调用时间计算 ResetTime *string `json:"reset_time,omitempty"` // 参数说明和描述。 不支持<,>字符 Remark *string `json:"remark,omitempty"` }
func (AppQuotaCreate) String ¶
func (o AppQuotaCreate) String() string
type AppQuotaCreateTimeUnit ¶
type AppQuotaCreateTimeUnit struct {
// contains filtered or unexported fields
}
func (AppQuotaCreateTimeUnit) MarshalJSON ¶
func (c AppQuotaCreateTimeUnit) MarshalJSON() ([]byte, error)
func (*AppQuotaCreateTimeUnit) UnmarshalJSON ¶
func (c *AppQuotaCreateTimeUnit) UnmarshalJSON(b []byte) error
func (AppQuotaCreateTimeUnit) Value ¶ added in v0.0.90
func (c AppQuotaCreateTimeUnit) Value() string
type AppQuotaCreateTimeUnitEnum ¶
type AppQuotaCreateTimeUnitEnum struct { SECOND AppQuotaCreateTimeUnit MINUTE AppQuotaCreateTimeUnit HOUR AppQuotaCreateTimeUnit DAY AppQuotaCreateTimeUnit }
func GetAppQuotaCreateTimeUnitEnum ¶
func GetAppQuotaCreateTimeUnitEnum() AppQuotaCreateTimeUnitEnum
type AppQuotaInfo ¶
type AppQuotaInfo struct { // 客户端配额编号 AppQuotaId *string `json:"app_quota_id,omitempty"` // 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符 Name *string `json:"name,omitempty"` // 客户端配额的访问次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天 TimeUnit *AppQuotaInfoTimeUnit `json:"time_unit,omitempty"` // 配额的限定时间值 TimeInterval *int32 `json:"time_interval,omitempty"` // 参数说明和描述 Remark *string `json:"remark,omitempty"` // 首次配额重置时间点,不配置默认为首次调用时间计算 ResetTime *string `json:"reset_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 配额策略已绑定应用数量 BoundAppNum *int32 `json:"bound_app_num,omitempty"` }
func (AppQuotaInfo) String ¶
func (o AppQuotaInfo) String() string
type AppQuotaInfoTimeUnit ¶
type AppQuotaInfoTimeUnit struct {
// contains filtered or unexported fields
}
func (AppQuotaInfoTimeUnit) MarshalJSON ¶
func (c AppQuotaInfoTimeUnit) MarshalJSON() ([]byte, error)
func (*AppQuotaInfoTimeUnit) UnmarshalJSON ¶
func (c *AppQuotaInfoTimeUnit) UnmarshalJSON(b []byte) error
func (AppQuotaInfoTimeUnit) Value ¶ added in v0.0.90
func (c AppQuotaInfoTimeUnit) Value() string
type AppQuotaInfoTimeUnitEnum ¶
type AppQuotaInfoTimeUnitEnum struct { SECOND AppQuotaInfoTimeUnit MINUTE AppQuotaInfoTimeUnit HOUR AppQuotaInfoTimeUnit DAY AppQuotaInfoTimeUnit }
func GetAppQuotaInfoTimeUnitEnum ¶
func GetAppQuotaInfoTimeUnitEnum() AppQuotaInfoTimeUnitEnum
type AppSecret ¶
type AppSecret struct { }
应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做
type AppUsersUsers ¶
type AppUsersUsers struct { // 用户ID Id *string `json:"id,omitempty"` // 用户名称 Name *string `json:"name,omitempty"` // 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限 Roles *[]AppUsersUsersRoles `json:"roles,omitempty"` }
func (AppUsersUsers) String ¶
func (o AppUsersUsers) String() string
type AppUsersUsersRoles ¶
type AppUsersUsersRoles struct {
// contains filtered or unexported fields
}
func (AppUsersUsersRoles) MarshalJSON ¶
func (c AppUsersUsersRoles) MarshalJSON() ([]byte, error)
func (*AppUsersUsersRoles) UnmarshalJSON ¶
func (c *AppUsersUsersRoles) UnmarshalJSON(b []byte) error
func (AppUsersUsersRoles) Value ¶ added in v0.0.90
func (c AppUsersUsersRoles) Value() string
type AppUsersUsersRolesEnum ¶
type AppUsersUsersRolesEnum struct { READ AppUsersUsersRoles ACCESS AppUsersUsersRoles DELETE AppUsersUsersRoles MODIFY AppUsersUsersRoles ADMIN AppUsersUsersRoles }
func GetAppUsersUsersRolesEnum ¶
func GetAppUsersUsersRolesEnum() AppUsersUsersRolesEnum
type AssetExportRequest ¶
type AssetExportRequest struct { // 应用列表 Apps []AssetExportRequestApps `json:"apps"` // 任务列表 Tasks *[]AssetExportRequestTasks `json:"tasks,omitempty"` }
func (AssetExportRequest) String ¶
func (o AssetExportRequest) String() string
type AssetExportRequestApps ¶
type AssetExportRequestApps struct { // 应用ID Id *string `json:"id,omitempty"` }
func (AssetExportRequestApps) String ¶
func (o AssetExportRequestApps) String() string
type AssetExportRequestTasks ¶
type AssetExportRequestTasks struct { // 任务ID Id *string `json:"id,omitempty"` }
func (AssetExportRequestTasks) String ¶
func (o AssetExportRequestTasks) String() string
type AssetExportTask ¶
type AssetExportTask struct { }
任务ID
func (AssetExportTask) String ¶
func (o AssetExportTask) String() string
type AssetJobReason ¶
type AssetJobReason struct { // 资源类型 ResourceType *AssetJobReasonResourceType `json:"resource_type,omitempty"` // 资源名称 ResourceName *string `json:"resource_name,omitempty"` // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` }
func (AssetJobReason) String ¶
func (o AssetJobReason) String() string
type AssetJobReasonResourceType ¶
type AssetJobReasonResourceType struct {
// contains filtered or unexported fields
}
func (AssetJobReasonResourceType) MarshalJSON ¶
func (c AssetJobReasonResourceType) MarshalJSON() ([]byte, error)
func (*AssetJobReasonResourceType) UnmarshalJSON ¶
func (c *AssetJobReasonResourceType) UnmarshalJSON(b []byte) error
func (AssetJobReasonResourceType) Value ¶ added in v0.0.90
func (c AssetJobReasonResourceType) Value() string
type AssetJobReasonResourceTypeEnum ¶
type AssetJobReasonResourceTypeEnum struct { APPLICATION AssetJobReasonResourceType TASK AssetJobReasonResourceType }
func GetAssetJobReasonResourceTypeEnum ¶
func GetAssetJobReasonResourceTypeEnum() AssetJobReasonResourceTypeEnum
type AssetOperateRequest ¶
type AssetOperateRequest struct { // 应用列表 Apps []string `json:"apps"` // 任务列表 Tasks []AssetOperateRequestTasks `json:"tasks"` }
func (AssetOperateRequest) String ¶
func (o AssetOperateRequest) String() string
type AssetOperateRequestTasks ¶ added in v0.0.75
type AssetOperateRequestTasks struct { // 任务ID TaskId *string `json:"task_id,omitempty"` }
func (AssetOperateRequestTasks) String ¶ added in v0.0.75
func (o AssetOperateRequestTasks) String() string
type AssociateAppsForAppQuotaRequest ¶
type AssociateAppsForAppQuotaRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 客户端配额编号 AppQuotaId string `json:"app_quota_id"` Body *CreateAppQuotaBindingApp `json:"body,omitempty"` }
Request Object
func (AssociateAppsForAppQuotaRequest) String ¶
func (o AssociateAppsForAppQuotaRequest) String() string
type AssociateAppsForAppQuotaResponse ¶
type AssociateAppsForAppQuotaResponse struct { // 客户端应用与客户端配额绑定列表 Applies *[]AppQuotaAppBinding `json:"applies,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateAppsForAppQuotaResponse) String ¶
func (o AssociateAppsForAppQuotaResponse) String() string
type AssociateCertificateV2Request ¶
type AssociateCertificateV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` Body *CertForm `json:"body,omitempty"` }
Request Object
func (AssociateCertificateV2Request) String ¶
func (o AssociateCertificateV2Request) String() string
type AssociateCertificateV2Response ¶
type AssociateCertificateV2Response struct { // 自定义域名 UrlDomain string `json:"url_domain"` // 自定义域名的编号 Id string `json:"id"` // CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败 Status AssociateCertificateV2ResponseStatus `json:"status"` // 支持的最小SSL版本 MinSslVersion string `json:"min_ssl_version"` // 证书的名称 SslName *string `json:"ssl_name,omitempty"` // 证书的编号 SslId *string `json:"ssl_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateCertificateV2Response) String ¶
func (o AssociateCertificateV2Response) String() string
type AssociateCertificateV2ResponseStatus ¶
type AssociateCertificateV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (AssociateCertificateV2ResponseStatus) MarshalJSON ¶
func (c AssociateCertificateV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*AssociateCertificateV2ResponseStatus) UnmarshalJSON ¶
func (c *AssociateCertificateV2ResponseStatus) UnmarshalJSON(b []byte) error
func (AssociateCertificateV2ResponseStatus) Value ¶ added in v0.0.90
func (c AssociateCertificateV2ResponseStatus) Value() int32
type AssociateCertificateV2ResponseStatusEnum ¶
type AssociateCertificateV2ResponseStatusEnum struct { E_1 AssociateCertificateV2ResponseStatus E_2 AssociateCertificateV2ResponseStatus E_3 AssociateCertificateV2ResponseStatus E_4 AssociateCertificateV2ResponseStatus }
func GetAssociateCertificateV2ResponseStatusEnum ¶
func GetAssociateCertificateV2ResponseStatusEnum() AssociateCertificateV2ResponseStatusEnum
type AssociateDomainV2Request ¶
type AssociateDomainV2Request struct { // 实例ID 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"` // CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败 Status *AssociateDomainV2ResponseStatus `json:"status,omitempty"` // 支持的最小SSL版本 MinSslVersion *string `json:"min_ssl_version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateDomainV2Response) String ¶
func (o AssociateDomainV2Response) String() string
type AssociateDomainV2ResponseStatus ¶
type AssociateDomainV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (AssociateDomainV2ResponseStatus) MarshalJSON ¶
func (c AssociateDomainV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*AssociateDomainV2ResponseStatus) UnmarshalJSON ¶
func (c *AssociateDomainV2ResponseStatus) UnmarshalJSON(b []byte) error
func (AssociateDomainV2ResponseStatus) Value ¶ added in v0.0.90
func (c AssociateDomainV2ResponseStatus) Value() int32
type AssociateDomainV2ResponseStatusEnum ¶
type AssociateDomainV2ResponseStatusEnum struct { E_1 AssociateDomainV2ResponseStatus E_2 AssociateDomainV2ResponseStatus E_3 AssociateDomainV2ResponseStatus E_4 AssociateDomainV2ResponseStatus }
func GetAssociateDomainV2ResponseStatusEnum ¶
func GetAssociateDomainV2ResponseStatusEnum() AssociateDomainV2ResponseStatusEnum
type AssociateRequestThrottlingPolicyV2Request ¶
type AssociateRequestThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ThrottleApiBindingCreate `json:"body,omitempty"` }
Request Object
func (AssociateRequestThrottlingPolicyV2Request) String ¶
func (o AssociateRequestThrottlingPolicyV2Request) String() string
type AssociateRequestThrottlingPolicyV2Response ¶
type AssociateRequestThrottlingPolicyV2Response struct { // API与流控策略的绑定关系列表 ThrottleApplys *[]ThrottleApiBinding `json:"throttle_applys,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateRequestThrottlingPolicyV2Response) String ¶
func (o AssociateRequestThrottlingPolicyV2Response) String() string
type AssociateSignatureKeyV2Request ¶
type AssociateSignatureKeyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *SignApiBinding `json:"body,omitempty"` }
Request Object
func (AssociateSignatureKeyV2Request) String ¶
func (o AssociateSignatureKeyV2Request) String() string
type AssociateSignatureKeyV2Response ¶
type AssociateSignatureKeyV2Response struct { // API与签名密钥的绑定关系列表 Bindings *[]SignApiBindingInfo `json:"bindings,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateSignatureKeyV2Response) String ¶
func (o AssociateSignatureKeyV2Response) String() string
type AuthOpt ¶
type AuthOpt struct { // AppCode简易认证类型,仅在auth_type为APP时生效,默认为DISABLE: - DISABLE:不开启简易认证 - HEADER:开启简易认证且AppCode位置在HEADER AppCodeAuthType *AuthOptAppCodeAuthType `json:"app_code_auth_type,omitempty"` }
认证方式参数
type AuthOptAppCodeAuthType ¶
type AuthOptAppCodeAuthType struct {
// contains filtered or unexported fields
}
func (AuthOptAppCodeAuthType) MarshalJSON ¶
func (c AuthOptAppCodeAuthType) MarshalJSON() ([]byte, error)
func (*AuthOptAppCodeAuthType) UnmarshalJSON ¶
func (c *AuthOptAppCodeAuthType) UnmarshalJSON(b []byte) error
func (AuthOptAppCodeAuthType) Value ¶ added in v0.0.90
func (c AuthOptAppCodeAuthType) Value() string
type AuthOptAppCodeAuthTypeEnum ¶
type AuthOptAppCodeAuthTypeEnum struct { DISABLE AuthOptAppCodeAuthType HEADER AuthOptAppCodeAuthType }
func GetAuthOptAppCodeAuthTypeEnum ¶
func GetAuthOptAppCodeAuthTypeEnum() AuthOptAppCodeAuthTypeEnum
type AuthResult ¶
type AuthResult struct { // 授权结果 - SUCCESS:授权成功 - SKIPPED:跳过 - FILAED:授权失败 Status *AuthResultStatus `json:"status,omitempty"` // 授权失败错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 授权失败错误码 ErrorCode *string `json:"error_code,omitempty"` // 授权失败的API名称 ApiName *string `json:"api_name,omitempty"` // 授权失败的APP名称 AppName *string `json:"app_name,omitempty"` }
授权结果
func (AuthResult) String ¶
func (o AuthResult) String() string
type AuthResultStatus ¶
type AuthResultStatus struct {
// contains filtered or unexported fields
}
func (AuthResultStatus) MarshalJSON ¶
func (c AuthResultStatus) MarshalJSON() ([]byte, error)
func (*AuthResultStatus) UnmarshalJSON ¶
func (c *AuthResultStatus) UnmarshalJSON(b []byte) error
func (AuthResultStatus) Value ¶ added in v0.0.90
func (c AuthResultStatus) Value() string
type AuthResultStatusEnum ¶
type AuthResultStatusEnum struct { SUCCESS AuthResultStatus SKIPPED AuthResultStatus FAILED AuthResultStatus }
func GetAuthResultStatusEnum ¶
func GetAuthResultStatusEnum() AuthResultStatusEnum
type Authentication ¶
type Authentication struct { // 一型一密/一机一密的用户名 UserName *string `json:"user_name,omitempty"` // 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符 Password *string `json:"password,omitempty"` }
鉴权
func (Authentication) String ¶
func (o Authentication) String() string
type AuthorizerBase ¶
type AuthorizerBase struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 Type AuthorizerBaseType `json:"type"` // 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数 AuthorizerType AuthorizerBaseAuthorizerType `json:"authorizer_type"` // 函数地址。 注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。 AuthorizerUri string `json:"authorizer_uri"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 自定义认证函数类型为LD时必填 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` }
func (AuthorizerBase) String ¶
func (o AuthorizerBase) String() string
type AuthorizerBaseAuthorizerType ¶
type AuthorizerBaseAuthorizerType struct {
// contains filtered or unexported fields
}
func (AuthorizerBaseAuthorizerType) MarshalJSON ¶
func (c AuthorizerBaseAuthorizerType) MarshalJSON() ([]byte, error)
func (*AuthorizerBaseAuthorizerType) UnmarshalJSON ¶
func (c *AuthorizerBaseAuthorizerType) UnmarshalJSON(b []byte) error
func (AuthorizerBaseAuthorizerType) Value ¶ added in v0.0.90
func (c AuthorizerBaseAuthorizerType) Value() string
type AuthorizerBaseAuthorizerTypeEnum ¶
type AuthorizerBaseAuthorizerTypeEnum struct { LD AuthorizerBaseAuthorizerType FUNC AuthorizerBaseAuthorizerType }
func GetAuthorizerBaseAuthorizerTypeEnum ¶
func GetAuthorizerBaseAuthorizerTypeEnum() AuthorizerBaseAuthorizerTypeEnum
type AuthorizerBaseType ¶
type AuthorizerBaseType struct {
// contains filtered or unexported fields
}
func (AuthorizerBaseType) MarshalJSON ¶
func (c AuthorizerBaseType) MarshalJSON() ([]byte, error)
func (*AuthorizerBaseType) UnmarshalJSON ¶
func (c *AuthorizerBaseType) UnmarshalJSON(b []byte) error
func (AuthorizerBaseType) Value ¶ added in v0.0.90
func (c AuthorizerBaseType) Value() string
type AuthorizerBaseTypeEnum ¶
type AuthorizerBaseTypeEnum struct { FRONTEND AuthorizerBaseType BACKEND AuthorizerBaseType }
func GetAuthorizerBaseTypeEnum ¶
func GetAuthorizerBaseTypeEnum() AuthorizerBaseTypeEnum
type AuthorizerCreate ¶
type AuthorizerCreate struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 Type AuthorizerCreateType `json:"type"` // 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数 AuthorizerType AuthorizerCreateAuthorizerType `json:"authorizer_type"` // 函数地址。 注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。 AuthorizerUri string `json:"authorizer_uri"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 自定义认证函数类型为LD时必填 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` }
func (AuthorizerCreate) String ¶
func (o AuthorizerCreate) String() string
type AuthorizerCreateAuthorizerType ¶
type AuthorizerCreateAuthorizerType struct {
// contains filtered or unexported fields
}
func (AuthorizerCreateAuthorizerType) MarshalJSON ¶
func (c AuthorizerCreateAuthorizerType) MarshalJSON() ([]byte, error)
func (*AuthorizerCreateAuthorizerType) UnmarshalJSON ¶
func (c *AuthorizerCreateAuthorizerType) UnmarshalJSON(b []byte) error
func (AuthorizerCreateAuthorizerType) Value ¶ added in v0.0.90
func (c AuthorizerCreateAuthorizerType) Value() string
type AuthorizerCreateAuthorizerTypeEnum ¶
type AuthorizerCreateAuthorizerTypeEnum struct { LD AuthorizerCreateAuthorizerType FUNC AuthorizerCreateAuthorizerType }
func GetAuthorizerCreateAuthorizerTypeEnum ¶
func GetAuthorizerCreateAuthorizerTypeEnum() AuthorizerCreateAuthorizerTypeEnum
type AuthorizerCreateType ¶
type AuthorizerCreateType struct {
// contains filtered or unexported fields
}
func (AuthorizerCreateType) MarshalJSON ¶
func (c AuthorizerCreateType) MarshalJSON() ([]byte, error)
func (*AuthorizerCreateType) UnmarshalJSON ¶
func (c *AuthorizerCreateType) UnmarshalJSON(b []byte) error
func (AuthorizerCreateType) Value ¶ added in v0.0.90
func (c AuthorizerCreateType) Value() string
type AuthorizerCreateTypeEnum ¶
type AuthorizerCreateTypeEnum struct { FRONTEND AuthorizerCreateType BACKEND AuthorizerCreateType }
func GetAuthorizerCreateTypeEnum ¶
func GetAuthorizerCreateTypeEnum() AuthorizerCreateTypeEnum
type AuthorizerResp ¶
type AuthorizerResp struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 Type AuthorizerRespType `json:"type"` // 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数 AuthorizerType AuthorizerRespAuthorizerType `json:"authorizer_type"` // 函数地址。 注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。 AuthorizerUri string `json:"authorizer_uri"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 自定义认证函数类型为LD时必填 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` // 自定义认证编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 自定义认证所属应用编号 RomaAppId *string `json:"roma_app_id,omitempty"` // 自定义认证所属应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` }
func (AuthorizerResp) String ¶
func (o AuthorizerResp) String() string
type AuthorizerRespAuthorizerType ¶
type AuthorizerRespAuthorizerType struct {
// contains filtered or unexported fields
}
func (AuthorizerRespAuthorizerType) MarshalJSON ¶
func (c AuthorizerRespAuthorizerType) MarshalJSON() ([]byte, error)
func (*AuthorizerRespAuthorizerType) UnmarshalJSON ¶
func (c *AuthorizerRespAuthorizerType) UnmarshalJSON(b []byte) error
func (AuthorizerRespAuthorizerType) Value ¶ added in v0.0.90
func (c AuthorizerRespAuthorizerType) Value() string
type AuthorizerRespAuthorizerTypeEnum ¶
type AuthorizerRespAuthorizerTypeEnum struct { LD AuthorizerRespAuthorizerType FUNC AuthorizerRespAuthorizerType }
func GetAuthorizerRespAuthorizerTypeEnum ¶
func GetAuthorizerRespAuthorizerTypeEnum() AuthorizerRespAuthorizerTypeEnum
type AuthorizerRespType ¶
type AuthorizerRespType struct {
// contains filtered or unexported fields
}
func (AuthorizerRespType) MarshalJSON ¶
func (c AuthorizerRespType) MarshalJSON() ([]byte, error)
func (*AuthorizerRespType) UnmarshalJSON ¶
func (c *AuthorizerRespType) UnmarshalJSON(b []byte) error
func (AuthorizerRespType) Value ¶ added in v0.0.90
func (c AuthorizerRespType) Value() string
type AuthorizerRespTypeEnum ¶
type AuthorizerRespTypeEnum struct { FRONTEND AuthorizerRespType BACKEND AuthorizerRespType }
func GetAuthorizerRespTypeEnum ¶
func GetAuthorizerRespTypeEnum() AuthorizerRespTypeEnum
type Backend ¶
type Backend struct { // 后端主机地址列表 Ip *[]string `json:"ip,omitempty"` // 后端服务端口,不存在时使用监听器端口 Port *int32 `json:"port,omitempty"` HealthCheck *HealthCheck `json:"health_check,omitempty"` }
后端服务定义
type BackendApi ¶
type BackendApi struct { // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 后端服务的地址。 由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议 ReqProtocol BackendApiReqProtocol `json:"req_protocol"` // 描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 请求方式 ReqMethod BackendApiReqMethod `json:"req_method"` // web后端版本,字符长度不超过16 Version *string `json:"version,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 后端状态 - 1: 有效 Status *BackendApiStatus `json:"status,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"` // 是否使用VPC通道 - 1:使用VPC通道 - 2:不使用VPC通道 VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"` }
web后端详情
func (BackendApi) String ¶
func (o BackendApi) String() string
type BackendApiBase ¶
type BackendApiBase struct { // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 后端服务的地址。 由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议 ReqProtocol BackendApiBaseReqProtocol `json:"req_protocol"` // 描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 请求方式 ReqMethod BackendApiBaseReqMethod `json:"req_method"` // web后端版本,字符长度不超过16 Version *string `json:"version,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 后端状态 - 1: 有效 Status *BackendApiBaseStatus `json:"status,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (BackendApiBase) String ¶
func (o BackendApiBase) String() string
type BackendApiBaseInfo ¶
type BackendApiBaseInfo struct { // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 后端服务的地址。 由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议 ReqProtocol BackendApiBaseInfoReqProtocol `json:"req_protocol"` // 描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 请求方式 ReqMethod BackendApiBaseInfoReqMethod `json:"req_method"` // web后端版本,字符长度不超过16 Version *string `json:"version,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` }
func (BackendApiBaseInfo) String ¶
func (o BackendApiBaseInfo) String() string
type BackendApiBaseInfoReqMethod ¶
type BackendApiBaseInfoReqMethod struct {
// contains filtered or unexported fields
}
func (BackendApiBaseInfoReqMethod) MarshalJSON ¶
func (c BackendApiBaseInfoReqMethod) MarshalJSON() ([]byte, error)
func (*BackendApiBaseInfoReqMethod) UnmarshalJSON ¶
func (c *BackendApiBaseInfoReqMethod) UnmarshalJSON(b []byte) error
func (BackendApiBaseInfoReqMethod) Value ¶ added in v0.0.90
func (c BackendApiBaseInfoReqMethod) Value() string
type BackendApiBaseInfoReqMethodEnum ¶
type BackendApiBaseInfoReqMethodEnum struct { GET BackendApiBaseInfoReqMethod POST BackendApiBaseInfoReqMethod PUT BackendApiBaseInfoReqMethod DELETE BackendApiBaseInfoReqMethod HEAD BackendApiBaseInfoReqMethod PATCH BackendApiBaseInfoReqMethod OPTIONS BackendApiBaseInfoReqMethod ANY BackendApiBaseInfoReqMethod }
func GetBackendApiBaseInfoReqMethodEnum ¶
func GetBackendApiBaseInfoReqMethodEnum() BackendApiBaseInfoReqMethodEnum
type BackendApiBaseInfoReqProtocol ¶
type BackendApiBaseInfoReqProtocol struct {
// contains filtered or unexported fields
}
func (BackendApiBaseInfoReqProtocol) MarshalJSON ¶
func (c BackendApiBaseInfoReqProtocol) MarshalJSON() ([]byte, error)
func (*BackendApiBaseInfoReqProtocol) UnmarshalJSON ¶
func (c *BackendApiBaseInfoReqProtocol) UnmarshalJSON(b []byte) error
func (BackendApiBaseInfoReqProtocol) Value ¶ added in v0.0.90
func (c BackendApiBaseInfoReqProtocol) Value() string
type BackendApiBaseInfoReqProtocolEnum ¶
type BackendApiBaseInfoReqProtocolEnum struct { HTTP BackendApiBaseInfoReqProtocol HTTPS BackendApiBaseInfoReqProtocol }
func GetBackendApiBaseInfoReqProtocolEnum ¶
func GetBackendApiBaseInfoReqProtocolEnum() BackendApiBaseInfoReqProtocolEnum
type BackendApiBaseReqMethod ¶
type BackendApiBaseReqMethod struct {
// contains filtered or unexported fields
}
func (BackendApiBaseReqMethod) MarshalJSON ¶
func (c BackendApiBaseReqMethod) MarshalJSON() ([]byte, error)
func (*BackendApiBaseReqMethod) UnmarshalJSON ¶
func (c *BackendApiBaseReqMethod) UnmarshalJSON(b []byte) error
func (BackendApiBaseReqMethod) Value ¶ added in v0.0.90
func (c BackendApiBaseReqMethod) Value() string
type BackendApiBaseReqMethodEnum ¶
type BackendApiBaseReqMethodEnum struct { GET BackendApiBaseReqMethod POST BackendApiBaseReqMethod PUT BackendApiBaseReqMethod DELETE BackendApiBaseReqMethod HEAD BackendApiBaseReqMethod PATCH BackendApiBaseReqMethod OPTIONS BackendApiBaseReqMethod ANY BackendApiBaseReqMethod }
func GetBackendApiBaseReqMethodEnum ¶
func GetBackendApiBaseReqMethodEnum() BackendApiBaseReqMethodEnum
type BackendApiBaseReqProtocol ¶
type BackendApiBaseReqProtocol struct {
// contains filtered or unexported fields
}
func (BackendApiBaseReqProtocol) MarshalJSON ¶
func (c BackendApiBaseReqProtocol) MarshalJSON() ([]byte, error)
func (*BackendApiBaseReqProtocol) UnmarshalJSON ¶
func (c *BackendApiBaseReqProtocol) UnmarshalJSON(b []byte) error
func (BackendApiBaseReqProtocol) Value ¶ added in v0.0.90
func (c BackendApiBaseReqProtocol) Value() string
type BackendApiBaseReqProtocolEnum ¶
type BackendApiBaseReqProtocolEnum struct { HTTP BackendApiBaseReqProtocol HTTPS BackendApiBaseReqProtocol }
func GetBackendApiBaseReqProtocolEnum ¶
func GetBackendApiBaseReqProtocolEnum() BackendApiBaseReqProtocolEnum
type BackendApiBaseStatus ¶
type BackendApiBaseStatus struct {
// contains filtered or unexported fields
}
func (BackendApiBaseStatus) MarshalJSON ¶
func (c BackendApiBaseStatus) MarshalJSON() ([]byte, error)
func (*BackendApiBaseStatus) UnmarshalJSON ¶
func (c *BackendApiBaseStatus) UnmarshalJSON(b []byte) error
func (BackendApiBaseStatus) Value ¶ added in v0.0.90
func (c BackendApiBaseStatus) Value() int32
type BackendApiBaseStatusEnum ¶
type BackendApiBaseStatusEnum struct {
E_1 BackendApiBaseStatus
}
func GetBackendApiBaseStatusEnum ¶
func GetBackendApiBaseStatusEnum() BackendApiBaseStatusEnum
type BackendApiCreate ¶
type BackendApiCreate struct { // 后端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 后端服务的地址。 由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头 UrlDomain *string `json:"url_domain,omitempty"` // 请求协议 ReqProtocol BackendApiCreateReqProtocol `json:"req_protocol"` // 描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 请求方式 ReqMethod BackendApiCreateReqMethod `json:"req_method"` // web后端版本,字符长度不超过16 Version *string `json:"version,omitempty"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 是否开启双向认证 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"` // 是否使用VPC通道 - 1:使用VPC通道 - 2:不使用VPC通道 VpcChannelStatus *BackendApiCreateVpcChannelStatus `json:"vpc_channel_status,omitempty"` }
web后端详情
func (BackendApiCreate) String ¶
func (o BackendApiCreate) String() string
type BackendApiCreateReqMethod ¶
type BackendApiCreateReqMethod struct {
// contains filtered or unexported fields
}
func (BackendApiCreateReqMethod) MarshalJSON ¶
func (c BackendApiCreateReqMethod) MarshalJSON() ([]byte, error)
func (*BackendApiCreateReqMethod) UnmarshalJSON ¶
func (c *BackendApiCreateReqMethod) UnmarshalJSON(b []byte) error
func (BackendApiCreateReqMethod) Value ¶ added in v0.0.90
func (c BackendApiCreateReqMethod) Value() string
type BackendApiCreateReqMethodEnum ¶
type BackendApiCreateReqMethodEnum struct { GET BackendApiCreateReqMethod POST BackendApiCreateReqMethod PUT BackendApiCreateReqMethod DELETE BackendApiCreateReqMethod HEAD BackendApiCreateReqMethod PATCH BackendApiCreateReqMethod OPTIONS BackendApiCreateReqMethod ANY BackendApiCreateReqMethod }
func GetBackendApiCreateReqMethodEnum ¶
func GetBackendApiCreateReqMethodEnum() BackendApiCreateReqMethodEnum
type BackendApiCreateReqProtocol ¶
type BackendApiCreateReqProtocol struct {
// contains filtered or unexported fields
}
func (BackendApiCreateReqProtocol) MarshalJSON ¶
func (c BackendApiCreateReqProtocol) MarshalJSON() ([]byte, error)
func (*BackendApiCreateReqProtocol) UnmarshalJSON ¶
func (c *BackendApiCreateReqProtocol) UnmarshalJSON(b []byte) error
func (BackendApiCreateReqProtocol) Value ¶ added in v0.0.90
func (c BackendApiCreateReqProtocol) Value() string
type BackendApiCreateReqProtocolEnum ¶
type BackendApiCreateReqProtocolEnum struct { HTTP BackendApiCreateReqProtocol HTTPS BackendApiCreateReqProtocol }
func GetBackendApiCreateReqProtocolEnum ¶
func GetBackendApiCreateReqProtocolEnum() BackendApiCreateReqProtocolEnum
type BackendApiCreateVpcChannelStatus ¶
type BackendApiCreateVpcChannelStatus struct {
// contains filtered or unexported fields
}
func (BackendApiCreateVpcChannelStatus) MarshalJSON ¶
func (c BackendApiCreateVpcChannelStatus) MarshalJSON() ([]byte, error)
func (*BackendApiCreateVpcChannelStatus) UnmarshalJSON ¶
func (c *BackendApiCreateVpcChannelStatus) UnmarshalJSON(b []byte) error
func (BackendApiCreateVpcChannelStatus) Value ¶ added in v0.0.90
func (c BackendApiCreateVpcChannelStatus) Value() int32
type BackendApiCreateVpcChannelStatusEnum ¶
type BackendApiCreateVpcChannelStatusEnum struct { E_1 BackendApiCreateVpcChannelStatus E_2 BackendApiCreateVpcChannelStatus }
func GetBackendApiCreateVpcChannelStatusEnum ¶
func GetBackendApiCreateVpcChannelStatusEnum() BackendApiCreateVpcChannelStatusEnum
type BackendApiReqMethod ¶
type BackendApiReqMethod struct {
// contains filtered or unexported fields
}
func (BackendApiReqMethod) MarshalJSON ¶
func (c BackendApiReqMethod) MarshalJSON() ([]byte, error)
func (*BackendApiReqMethod) UnmarshalJSON ¶
func (c *BackendApiReqMethod) UnmarshalJSON(b []byte) error
func (BackendApiReqMethod) Value ¶ added in v0.0.90
func (c BackendApiReqMethod) Value() string
type BackendApiReqMethodEnum ¶
type BackendApiReqMethodEnum struct { GET BackendApiReqMethod POST BackendApiReqMethod PUT BackendApiReqMethod DELETE BackendApiReqMethod HEAD BackendApiReqMethod PATCH BackendApiReqMethod OPTIONS BackendApiReqMethod ANY BackendApiReqMethod }
func GetBackendApiReqMethodEnum ¶
func GetBackendApiReqMethodEnum() BackendApiReqMethodEnum
type BackendApiReqProtocol ¶
type BackendApiReqProtocol struct {
// contains filtered or unexported fields
}
func (BackendApiReqProtocol) MarshalJSON ¶
func (c BackendApiReqProtocol) MarshalJSON() ([]byte, error)
func (*BackendApiReqProtocol) UnmarshalJSON ¶
func (c *BackendApiReqProtocol) UnmarshalJSON(b []byte) error
func (BackendApiReqProtocol) Value ¶ added in v0.0.90
func (c BackendApiReqProtocol) Value() string
type BackendApiReqProtocolEnum ¶
type BackendApiReqProtocolEnum struct { HTTP BackendApiReqProtocol HTTPS BackendApiReqProtocol }
func GetBackendApiReqProtocolEnum ¶
func GetBackendApiReqProtocolEnum() BackendApiReqProtocolEnum
type BackendApiStatus ¶
type BackendApiStatus struct {
// contains filtered or unexported fields
}
func (BackendApiStatus) MarshalJSON ¶
func (c BackendApiStatus) MarshalJSON() ([]byte, error)
func (*BackendApiStatus) UnmarshalJSON ¶
func (c *BackendApiStatus) UnmarshalJSON(b []byte) error
func (BackendApiStatus) Value ¶ added in v0.0.90
func (c BackendApiStatus) Value() int32
type BackendApiStatusEnum ¶
type BackendApiStatusEnum struct {
E_1 BackendApiStatus
}
func GetBackendApiStatusEnum ¶
func GetBackendApiStatusEnum() BackendApiStatusEnum
type BackendLatencyStats ¶
type BackendLatencyStats struct { // 最大后端延时 MaxBackendLatency *int32 `json:"max_backend_latency,omitempty"` // 平均后端延时 AvgBackendLatency *float32 `json:"avg_backend_latency,omitempty"` }
func (BackendLatencyStats) String ¶
func (o BackendLatencyStats) String() string
type BackendParam ¶
type BackendParam struct { // 参数名称。 字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。 Name string `json:"name"` // 参数位置:PATH、QUERY、HEADER Location BackendParamLocation `json:"location"` // 参数类别:REQUEST、CONSTANT、SYSTEM Origin BackendParamOrigin `json:"origin"` // 参数值。字符长度不超过255 origin类别为REQUEST时,此字段值为req_params中的参数名称; origin类别为CONSTANT时,此字段值为参数真正的值; origin类别为SYSTEM时,此字段值为系统参数名称,系统参数分为网关内置参数、前端认证参数和后端认证参数,当api前端安全认证方式为自定义认证时,可以填写前端认证参数,当api开启后端认证时,可以填写后端认证参数。 网关内置参数取值及对应含义: - $context.sourceIp:API调用者的源地址 - $context.stage:API调用的部署环境 - $context.apiName: API的名称 - $context.apiId:API的ID - $context.appName: API调用者的APP对象名称 - $context.appId:API调用者的APP对象ID - $context.requestId:当次API调用生成跟踪ID - $context.serverAddr:网关的服务器地址 - $context.serverName:网关的服务器名称 - $context.handleTime:本次API调用的处理时间 - $context.providerAppId:API拥有者的应用对象ID,暂不支持使用 前端认证参数取值:以“$context.authorizer.frontend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.frontend.aaa 后端认证参数取值:以“$context.authorizer.backend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.backend.aaa Value string `json:"value"` // 描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 参数编号 Id *string `json:"id,omitempty"` // 对应的请求参数编号 ReqParamId *string `json:"req_param_id,omitempty"` }
func (BackendParam) String ¶
func (o BackendParam) String() string
type BackendParamBase ¶
type BackendParamBase struct { // 参数名称。 字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。 Name string `json:"name"` // 参数位置:PATH、QUERY、HEADER Location BackendParamBaseLocation `json:"location"` // 参数类别:REQUEST、CONSTANT、SYSTEM Origin BackendParamBaseOrigin `json:"origin"` // 参数值。字符长度不超过255 origin类别为REQUEST时,此字段值为req_params中的参数名称; origin类别为CONSTANT时,此字段值为参数真正的值; origin类别为SYSTEM时,此字段值为系统参数名称,系统参数分为网关内置参数、前端认证参数和后端认证参数,当api前端安全认证方式为自定义认证时,可以填写前端认证参数,当api开启后端认证时,可以填写后端认证参数。 网关内置参数取值及对应含义: - $context.sourceIp:API调用者的源地址 - $context.stage:API调用的部署环境 - $context.apiName: API的名称 - $context.apiId:API的ID - $context.appName: API调用者的APP对象名称 - $context.appId:API调用者的APP对象ID - $context.requestId:当次API调用生成跟踪ID - $context.serverAddr:网关的服务器地址 - $context.serverName:网关的服务器名称 - $context.handleTime:本次API调用的处理时间 - $context.providerAppId:API拥有者的应用对象ID,暂不支持使用 前端认证参数取值:以“$context.authorizer.frontend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.frontend.aaa 后端认证参数取值:以“$context.authorizer.backend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.backend.aaa Value string `json:"value"` // 描述。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` }
func (BackendParamBase) String ¶
func (o BackendParamBase) String() string
type BackendParamBaseLocation ¶
type BackendParamBaseLocation struct {
// contains filtered or unexported fields
}
func (BackendParamBaseLocation) MarshalJSON ¶
func (c BackendParamBaseLocation) MarshalJSON() ([]byte, error)
func (*BackendParamBaseLocation) UnmarshalJSON ¶
func (c *BackendParamBaseLocation) UnmarshalJSON(b []byte) error
func (BackendParamBaseLocation) Value ¶ added in v0.0.90
func (c BackendParamBaseLocation) Value() string
type BackendParamBaseLocationEnum ¶
type BackendParamBaseLocationEnum struct { PATH BackendParamBaseLocation QUERY BackendParamBaseLocation HEADER BackendParamBaseLocation }
func GetBackendParamBaseLocationEnum ¶
func GetBackendParamBaseLocationEnum() BackendParamBaseLocationEnum
type BackendParamBaseOrigin ¶
type BackendParamBaseOrigin struct {
// contains filtered or unexported fields
}
func (BackendParamBaseOrigin) MarshalJSON ¶
func (c BackendParamBaseOrigin) MarshalJSON() ([]byte, error)
func (*BackendParamBaseOrigin) UnmarshalJSON ¶
func (c *BackendParamBaseOrigin) UnmarshalJSON(b []byte) error
func (BackendParamBaseOrigin) Value ¶ added in v0.0.90
func (c BackendParamBaseOrigin) Value() string
type BackendParamBaseOriginEnum ¶
type BackendParamBaseOriginEnum struct { REQUEST BackendParamBaseOrigin CONSTANT BackendParamBaseOrigin SYSTEM BackendParamBaseOrigin }
func GetBackendParamBaseOriginEnum ¶
func GetBackendParamBaseOriginEnum() BackendParamBaseOriginEnum
type BackendParamLocation ¶
type BackendParamLocation struct {
// contains filtered or unexported fields
}
func (BackendParamLocation) MarshalJSON ¶
func (c BackendParamLocation) MarshalJSON() ([]byte, error)
func (*BackendParamLocation) UnmarshalJSON ¶
func (c *BackendParamLocation) UnmarshalJSON(b []byte) error
func (BackendParamLocation) Value ¶ added in v0.0.90
func (c BackendParamLocation) Value() string
type BackendParamLocationEnum ¶
type BackendParamLocationEnum struct { PATH BackendParamLocation QUERY BackendParamLocation HEADER BackendParamLocation }
func GetBackendParamLocationEnum ¶
func GetBackendParamLocationEnum() BackendParamLocationEnum
type BackendParamOrigin ¶
type BackendParamOrigin struct {
// contains filtered or unexported fields
}
func (BackendParamOrigin) MarshalJSON ¶
func (c BackendParamOrigin) MarshalJSON() ([]byte, error)
func (*BackendParamOrigin) UnmarshalJSON ¶
func (c *BackendParamOrigin) UnmarshalJSON(b []byte) error
func (BackendParamOrigin) Value ¶ added in v0.0.90
func (c BackendParamOrigin) Value() string
type BackendParamOriginEnum ¶
type BackendParamOriginEnum struct { REQUEST BackendParamOrigin CONSTANT BackendParamOrigin SYSTEM BackendParamOrigin }
func GetBackendParamOriginEnum ¶
func GetBackendParamOriginEnum() BackendParamOriginEnum
type BasePage ¶
type BasePage struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` }
分页基本信息
type BaseSignature ¶
type BaseSignature struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *BaseSignatureSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *BaseSignatureSignAlgorithm `json:"sign_algorithm,omitempty"` }
func (BaseSignature) String ¶
func (o BaseSignature) String() string
type BaseSignatureSignAlgorithm ¶
type BaseSignatureSignAlgorithm struct {
// contains filtered or unexported fields
}
func (BaseSignatureSignAlgorithm) MarshalJSON ¶
func (c BaseSignatureSignAlgorithm) MarshalJSON() ([]byte, error)
func (*BaseSignatureSignAlgorithm) UnmarshalJSON ¶
func (c *BaseSignatureSignAlgorithm) UnmarshalJSON(b []byte) error
func (BaseSignatureSignAlgorithm) Value ¶ added in v0.0.90
func (c BaseSignatureSignAlgorithm) Value() string
type BaseSignatureSignAlgorithmEnum ¶
type BaseSignatureSignAlgorithmEnum struct { AES_128_CFB BaseSignatureSignAlgorithm AES_256_CFB BaseSignatureSignAlgorithm }
func GetBaseSignatureSignAlgorithmEnum ¶
func GetBaseSignatureSignAlgorithmEnum() BaseSignatureSignAlgorithmEnum
type BaseSignatureSignType ¶
type BaseSignatureSignType struct {
// contains filtered or unexported fields
}
func (BaseSignatureSignType) MarshalJSON ¶
func (c BaseSignatureSignType) MarshalJSON() ([]byte, error)
func (*BaseSignatureSignType) UnmarshalJSON ¶
func (c *BaseSignatureSignType) UnmarshalJSON(b []byte) error
func (BaseSignatureSignType) Value ¶ added in v0.0.90
func (c BaseSignatureSignType) Value() string
type BaseSignatureSignTypeEnum ¶
type BaseSignatureSignTypeEnum struct { HMAC BaseSignatureSignType BASIC BaseSignatureSignType PUBLIC_KEY BaseSignatureSignType AES BaseSignatureSignType }
func GetBaseSignatureSignTypeEnum ¶
func GetBaseSignatureSignTypeEnum() BaseSignatureSignTypeEnum
type BatchAddDeviceToGroupRequest ¶
type BatchAddDeviceToGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备分组ID GroupId int32 `json:"group_id"` Body *BatchAddDeviceToGroupRequestBody `json:"body,omitempty"` }
Request Object
func (BatchAddDeviceToGroupRequest) String ¶
func (o BatchAddDeviceToGroupRequest) String() string
type BatchAddDeviceToGroupRequestBody ¶
type BatchAddDeviceToGroupRequestBody struct { // 设备ID列表,自动向下取整 Resources []int32 `json:"resources"` }
func (BatchAddDeviceToGroupRequestBody) String ¶
func (o BatchAddDeviceToGroupRequestBody) String() string
type BatchAddDeviceToGroupResponse ¶
type BatchAddDeviceToGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchAddDeviceToGroupResponse) String ¶
func (o BatchAddDeviceToGroupResponse) String() string
type BatchDeleteAclV2Request ¶
type BatchDeleteAclV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 必须为delete Action string `json:"action"` Body *AclBatchDelete `json:"body,omitempty"` }
Request Object
func (BatchDeleteAclV2Request) String ¶
func (o BatchDeleteAclV2Request) String() string
type BatchDeleteAclV2Response ¶
type BatchDeleteAclV2Response struct { // 删除成功的ACL策略数量 SuccessCount *int32 `json:"success_count,omitempty"` // 删除失败的ACL策略及错误信息 Failure *[]AclBatchFailure `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDeleteAclV2Response) String ¶
func (o BatchDeleteAclV2Response) String() string
type BatchDeleteApiAclBindingV2Request ¶
type BatchDeleteApiAclBindingV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 必须为delete Action string `json:"action"` Body *AclBindingBatchDelete `json:"body,omitempty"` }
Request Object
func (BatchDeleteApiAclBindingV2Request) String ¶
func (o BatchDeleteApiAclBindingV2Request) String() string
type BatchDeleteApiAclBindingV2Response ¶
type BatchDeleteApiAclBindingV2Response struct { // 成功解除绑定的ACL策略数量 SuccessCount *int32 `json:"success_count,omitempty"` // 解除绑定失败的ACL策略及错误信息 Failure *[]AclBindingBatchFailure `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDeleteApiAclBindingV2Response) String ¶
func (o BatchDeleteApiAclBindingV2Response) String() string
type BatchDeleteDevicesRequest ¶
type BatchDeleteDevicesRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *BatchDeleteDevicesRequestBody `json:"body,omitempty"` }
Request Object
func (BatchDeleteDevicesRequest) String ¶
func (o BatchDeleteDevicesRequest) String() string
type BatchDeleteDevicesRequestBody ¶
type BatchDeleteDevicesRequestBody struct { // 删除设备ID列表,自动向下取整 Resources []int32 `json:"resources"` }
func (BatchDeleteDevicesRequestBody) String ¶
func (o BatchDeleteDevicesRequestBody) String() string
type BatchDeleteDevicesResponse ¶
type BatchDeleteDevicesResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteDevicesResponse) String ¶
func (o BatchDeleteDevicesResponse) String() string
type BatchDeleteMqsInstanceTopicReq ¶
type BatchDeleteMqsInstanceTopicReq struct { // 待删除的topic列表。 Topics []string `json:"topics"` }
func (BatchDeleteMqsInstanceTopicReq) String ¶
func (o BatchDeleteMqsInstanceTopicReq) String() string
type BatchDeleteMqsInstanceTopicRequest ¶
type BatchDeleteMqsInstanceTopicRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` Body *BatchDeleteMqsInstanceTopicReq `json:"body,omitempty"` }
Request Object
func (BatchDeleteMqsInstanceTopicRequest) String ¶
func (o BatchDeleteMqsInstanceTopicRequest) String() string
type BatchDeleteMqsInstanceTopicRespTopics ¶
type BatchDeleteMqsInstanceTopicRespTopics struct { // topic名称。 Id *string `json:"id,omitempty"` // 是否删除成功。 Success *bool `json:"success,omitempty"` }
func (BatchDeleteMqsInstanceTopicRespTopics) String ¶
func (o BatchDeleteMqsInstanceTopicRespTopics) String() string
type BatchDeleteMqsInstanceTopicResponse ¶
type BatchDeleteMqsInstanceTopicResponse struct { // 待删除的topic列表。 Topics *[]BatchDeleteMqsInstanceTopicRespTopics `json:"topics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDeleteMqsInstanceTopicResponse) String ¶
func (o BatchDeleteMqsInstanceTopicResponse) String() string
type BatchDeleteRulesRequest ¶
type BatchDeleteRulesRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *BatchDeleteRulesRequestBody `json:"body,omitempty"` }
Request Object
func (BatchDeleteRulesRequest) String ¶
func (o BatchDeleteRulesRequest) String() string
type BatchDeleteRulesRequestBody ¶
type BatchDeleteRulesRequestBody struct { // 规则ID列表,自动向下取整 Resources []int32 `json:"resources"` }
func (BatchDeleteRulesRequestBody) String ¶
func (o BatchDeleteRulesRequestBody) String() string
type BatchDeleteRulesResponse ¶
type BatchDeleteRulesResponse struct { // 返回数组 Resources *[]SingleResponse `json:"resources,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDeleteRulesResponse) String ¶
func (o BatchDeleteRulesResponse) String() string
type BatchDisableMembersRequest ¶
type BatchDisableMembersRequest struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *MembersBatchEnableOrDisable `json:"body,omitempty"` }
Request Object
func (BatchDisableMembersRequest) String ¶
func (o BatchDisableMembersRequest) String() string
type BatchDisableMembersResponse ¶
type BatchDisableMembersResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDisableMembersResponse) String ¶
func (o BatchDisableMembersResponse) String() string
type BatchDisassociateThrottlingPolicyV2Request ¶
type BatchDisassociateThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 必须为delete Action string `json:"action"` Body *ThrottleBindingBatchDelete `json:"body,omitempty"` }
Request Object
func (BatchDisassociateThrottlingPolicyV2Request) String ¶
func (o BatchDisassociateThrottlingPolicyV2Request) String() string
type BatchDisassociateThrottlingPolicyV2Response ¶
type BatchDisassociateThrottlingPolicyV2Response struct { // 成功解除绑定的API和流控策略绑定关系的数量 SuccessCount *int32 `json:"success_count,omitempty"` // 解除绑定失败的API和流控绑定关系及错误信息 Failure *[]ThrottleBindingBatchFailure `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDisassociateThrottlingPolicyV2Response) String ¶
func (o BatchDisassociateThrottlingPolicyV2Response) String() string
type BatchEnableMembersRequest ¶
type BatchEnableMembersRequest struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *MembersBatchEnableOrDisable `json:"body,omitempty"` }
Request Object
func (BatchEnableMembersRequest) String ¶
func (o BatchEnableMembersRequest) String() string
type BatchEnableMembersResponse ¶
type BatchEnableMembersResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchEnableMembersResponse) String ¶
func (o BatchEnableMembersResponse) String() string
type BatchFailure ¶
type BatchFailure struct { // 操作失败的API ID ApiId *string `json:"api_id,omitempty"` // 操作失败的APi名称 ApiName *string `json:"api_name,omitempty"` // 操作失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 操作失败的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` }
批量操作失败的返回结果
func (BatchFailure) String ¶
func (o BatchFailure) String() string
type BatchFreezeDevicesRequest ¶
type BatchFreezeDevicesRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *BatchFreezeDevicesRequestBody `json:"body,omitempty"` }
Request Object
func (BatchFreezeDevicesRequest) String ¶
func (o BatchFreezeDevicesRequest) String() string
type BatchFreezeDevicesRequestBody ¶
type BatchFreezeDevicesRequestBody struct { // 设备ID列表,自动向下取整 DeviceIds []int32 `json:"device_ids"` }
func (BatchFreezeDevicesRequestBody) String ¶
func (o BatchFreezeDevicesRequestBody) String() string
type BatchFreezeDevicesResponse ¶
type BatchFreezeDevicesResponse struct { // 下线成功设备列表 Success *[]DeviceInfoSimple `json:"success,omitempty"` // 下线失败设备列表 Failed *[]DeviceInfoSimple `json:"failed,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchFreezeDevicesResponse) String ¶
func (o BatchFreezeDevicesResponse) String() string
type BatchPublishOrOfflineApiV2Request ¶
type BatchPublishOrOfflineApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // - online:发布 - offline:下线 Action string `json:"action"` Body *ApiBatchPublish `json:"body,omitempty"` }
Request Object
func (BatchPublishOrOfflineApiV2Request) String ¶
func (o BatchPublishOrOfflineApiV2Request) String() string
type BatchPublishOrOfflineApiV2Response ¶
type BatchPublishOrOfflineApiV2Response struct { // 发布或下线成功的信息 Success *[]PublishResp `json:"success,omitempty"` // 发布或下线失败的API及错误信息 Failure *[]BatchFailure `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchPublishOrOfflineApiV2Response) String ¶
func (o BatchPublishOrOfflineApiV2Response) String() string
type BatchStartOrStopTasksRequest ¶
type BatchStartOrStopTasksRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *OperateTasksBean `json:"body,omitempty"` }
Request Object
func (BatchStartOrStopTasksRequest) String ¶
func (o BatchStartOrStopTasksRequest) String() string
type BatchStartOrStopTasksResponse ¶
type BatchStartOrStopTasksResponse struct { // 成功的个数 SuccessCount *int32 `json:"success_count,omitempty"` // 失败的个数 FailureCount *int32 `json:"failure_count,omitempty"` // 失败的详情 Failure *[]TaskBeanFacade `json:"failure,omitempty"` // 成功的任务信息 Success *[]TaskBeanFacade `json:"success,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchStartOrStopTasksResponse) String ¶
func (o BatchStartOrStopTasksResponse) String() string
type BriefTaskRespBean ¶
type BriefTaskRespBean struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // 任务名称 TaskName *string `json:"task_name,omitempty"` // 任务类型 - REALTIME (实时) - TIMING (定时) TaskType *BriefTaskRespBeanTaskType `json:"task_type,omitempty"` // 任务状态 - 0 (停止/未启动) - 1 (运行中) Status *BriefTaskRespBeanStatus `json:"status,omitempty"` // 创建时间 CreatedDate *string `json:"created_date,omitempty"` // 任务的版本 Version *string `json:"version,omitempty"` // 上次修改时间 LastModifiedTime *int64 `json:"last_modified_time,omitempty"` // 任务执行状态 - UNSTARTED (未启动) - WAITING (等待执行) - RUNNING (执行中) - SUCCESS (执行成功) - CANCELLED (任务取消) - ERROR (执行异常) ExecuteStatus *string `json:"execute_status,omitempty"` // 源端数据源所属应用ID SourceAppId *string `json:"source_app_id,omitempty"` // 目标端数据源所属应用ID TargetAppId *string `json:"target_app_id,omitempty"` // 源端实例ID SourceInstanceId *string `json:"source_instance_id,omitempty"` // 目标端实例ID TargetInstanceId *string `json:"target_instance_id,omitempty"` // 组合任务类型, 可为空 ExtType *string `json:"ext_type,omitempty"` // 企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 任务标签 TaskTag *string `json:"task_tag,omitempty"` }
查询任务列表返回的对象
func (BriefTaskRespBean) String ¶
func (o BriefTaskRespBean) String() string
type BriefTaskRespBeanStatus ¶
type BriefTaskRespBeanStatus struct {
// contains filtered or unexported fields
}
func (BriefTaskRespBeanStatus) MarshalJSON ¶
func (c BriefTaskRespBeanStatus) MarshalJSON() ([]byte, error)
func (*BriefTaskRespBeanStatus) UnmarshalJSON ¶
func (c *BriefTaskRespBeanStatus) UnmarshalJSON(b []byte) error
func (BriefTaskRespBeanStatus) Value ¶ added in v0.0.90
func (c BriefTaskRespBeanStatus) Value() int32
type BriefTaskRespBeanStatusEnum ¶
type BriefTaskRespBeanStatusEnum struct { E_0 BriefTaskRespBeanStatus E_1 BriefTaskRespBeanStatus }
func GetBriefTaskRespBeanStatusEnum ¶
func GetBriefTaskRespBeanStatusEnum() BriefTaskRespBeanStatusEnum
type BriefTaskRespBeanTaskType ¶
type BriefTaskRespBeanTaskType struct {
// contains filtered or unexported fields
}
func (BriefTaskRespBeanTaskType) MarshalJSON ¶
func (c BriefTaskRespBeanTaskType) MarshalJSON() ([]byte, error)
func (*BriefTaskRespBeanTaskType) UnmarshalJSON ¶
func (c *BriefTaskRespBeanTaskType) UnmarshalJSON(b []byte) error
func (BriefTaskRespBeanTaskType) Value ¶ added in v0.0.90
func (c BriefTaskRespBeanTaskType) Value() string
type BriefTaskRespBeanTaskTypeEnum ¶
type BriefTaskRespBeanTaskTypeEnum struct { REALTIME BriefTaskRespBeanTaskType TIMING BriefTaskRespBeanTaskType }
func GetBriefTaskRespBeanTaskTypeEnum ¶
func GetBriefTaskRespBeanTaskTypeEnum() BriefTaskRespBeanTaskTypeEnum
type Calculation ¶
type Calculation struct { // 从未连接过的设备数量 NeverConnected *int32 `json:"never_connected,omitempty"` // 在线设备数量 Online *int32 `json:"online,omitempty"` // 离线设备数量 Offline *int32 `json:"offline,omitempty"` }
func (Calculation) String ¶
func (o Calculation) String() string
type CancelingAuthorizationV2Request ¶
type CancelingAuthorizationV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 授权关系的编号 AppAuthId string `json:"app_auth_id"` }
Request Object
func (CancelingAuthorizationV2Request) String ¶
func (o CancelingAuthorizationV2Request) String() string
type CancelingAuthorizationV2Response ¶
type CancelingAuthorizationV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CancelingAuthorizationV2Response) String ¶
func (o CancelingAuthorizationV2Response) String() string
type CandidatesUser ¶
type CandidatesUser struct { // 用户名称 Name *string `json:"name,omitempty"` // 用户ID Id *string `json:"id,omitempty"` }
func (CandidatesUser) String ¶
func (o CandidatesUser) String() string
type CertForm ¶
type ChangeApiVersionV2Request ¶
type ChangeApiVersionV2Request struct { // 实例编号 InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` Body *ApiVersion `json:"body,omitempty"` }
Request Object
func (ChangeApiVersionV2Request) String ¶
func (o ChangeApiVersionV2Request) String() string
type ChangeApiVersionV2Response ¶
type ChangeApiVersionV2Response struct { // 发布记录的ID PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 发布描述 Remark *string `json:"remark,omitempty"` // 发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // 在线的版本号 VersionId *string `json:"version_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeApiVersionV2Response) String ¶
func (o ChangeApiVersionV2Response) String() string
type CheckApiGroupsV2Request ¶
type CheckApiGroupsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ApiGroupCheck `json:"body,omitempty"` }
Request Object
func (CheckApiGroupsV2Request) String ¶
func (o CheckApiGroupsV2Request) String() string
type CheckApiGroupsV2Response ¶
type CheckApiGroupsV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CheckApiGroupsV2Response) String ¶
func (o CheckApiGroupsV2Response) String() string
type CheckApisV2Request ¶
type CheckApisV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ApiCheckInfoV2 `json:"body,omitempty"` }
Request Object
func (CheckApisV2Request) String ¶
func (o CheckApisV2Request) String() string
type CheckApisV2Response ¶
type CheckApisV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CheckApisV2Response) String ¶
func (o CheckApisV2Response) String() string
type CheckAssetJobStatusRequest ¶
type CheckAssetJobStatusRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 作业ID JobId string `json:"job_id"` }
Request Object
func (CheckAssetJobStatusRequest) String ¶
func (o CheckAssetJobStatusRequest) String() string
type CheckAssetJobStatusResponse ¶
type CheckAssetJobStatusResponse struct { // 作业ID Id *string `json:"id,omitempty"` // 作业类型 Type *CheckAssetJobStatusResponseType `json:"type,omitempty"` // 作业状态 - RUNNING : 作业正在执行 - SUCCEEDED : 作业执行成功,对于导出作业,用户可以通过archive_id来下载资产包 - FAILED : 作业执行失败,通过reason字段查看具体错误原因 Status *CheckAssetJobStatusResponseStatus `json:"status,omitempty"` // 导致作业失败的错误原因 Reasons *[]AssetJobReason `json:"reasons,omitempty"` // 作业进度百分比 ProgressPercent *float32 `json:"progress_percent,omitempty"` // 导出作业成功时,供下载的资产包ID ArchiveId *string `json:"archive_id,omitempty"` // 作业开始时间 BeginTime *string `json:"begin_time,omitempty"` // 作业结束时间 EndTime *string `json:"end_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckAssetJobStatusResponse) String ¶
func (o CheckAssetJobStatusResponse) String() string
type CheckAssetJobStatusResponseStatus ¶
type CheckAssetJobStatusResponseStatus struct {
// contains filtered or unexported fields
}
func (CheckAssetJobStatusResponseStatus) MarshalJSON ¶
func (c CheckAssetJobStatusResponseStatus) MarshalJSON() ([]byte, error)
func (*CheckAssetJobStatusResponseStatus) UnmarshalJSON ¶
func (c *CheckAssetJobStatusResponseStatus) UnmarshalJSON(b []byte) error
func (CheckAssetJobStatusResponseStatus) Value ¶ added in v0.0.90
func (c CheckAssetJobStatusResponseStatus) Value() string
type CheckAssetJobStatusResponseStatusEnum ¶
type CheckAssetJobStatusResponseStatusEnum struct { RUNNING CheckAssetJobStatusResponseStatus SUCCEEDED CheckAssetJobStatusResponseStatus FAILED CheckAssetJobStatusResponseStatus }
func GetCheckAssetJobStatusResponseStatusEnum ¶
func GetCheckAssetJobStatusResponseStatusEnum() CheckAssetJobStatusResponseStatusEnum
type CheckAssetJobStatusResponseType ¶
type CheckAssetJobStatusResponseType struct {
// contains filtered or unexported fields
}
func (CheckAssetJobStatusResponseType) MarshalJSON ¶
func (c CheckAssetJobStatusResponseType) MarshalJSON() ([]byte, error)
func (*CheckAssetJobStatusResponseType) UnmarshalJSON ¶
func (c *CheckAssetJobStatusResponseType) UnmarshalJSON(b []byte) error
func (CheckAssetJobStatusResponseType) Value ¶ added in v0.0.90
func (c CheckAssetJobStatusResponseType) Value() string
type CheckAssetJobStatusResponseTypeEnum ¶
type CheckAssetJobStatusResponseTypeEnum struct { IMPORT_ASSET CheckAssetJobStatusResponseType EXPORT_ASSET CheckAssetJobStatusResponseType }
func GetCheckAssetJobStatusResponseTypeEnum ¶
func GetCheckAssetJobStatusResponseTypeEnum() CheckAssetJobStatusResponseTypeEnum
type CheckAuthUsersOfAppRequest ¶
type CheckAuthUsersOfAppRequest struct { // 应用ID AppId string `json:"app_id"` // 实例ID InstanceId string `json:"instance_id"` // 查询应用的指定名称的成员,精确匹配 UserName *string `json:"user_name,omitempty"` }
Request Object
func (CheckAuthUsersOfAppRequest) String ¶
func (o CheckAuthUsersOfAppRequest) String() string
type CheckAuthUsersOfAppResponse ¶
type CheckAuthUsersOfAppResponse struct { // 应用的总成员数量 Total *int32 `json:"total,omitempty"` // 应用ID Id *string `json:"id,omitempty"` // 用户成员列表 Users *[]AppUsersUsers `json:"users,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckAuthUsersOfAppResponse) String ¶
func (o CheckAuthUsersOfAppResponse) String() string
type CheckCanAuthUsersOfAppRequest ¶
type CheckCanAuthUsersOfAppRequest struct { // 应用ID AppId string `json:"app_id"` // 实例ID InstanceId string `json:"instance_id"` // 过滤条件 - 过滤条件,未提供时返回包括应用成员在内的所有候选用户列表 - 取值members时,过滤掉当前应用成员,适合增量添加应用成员时使用 Filter *string `json:"filter,omitempty"` }
Request Object
func (CheckCanAuthUsersOfAppRequest) String ¶
func (o CheckCanAuthUsersOfAppRequest) String() string
type CheckCanAuthUsersOfAppResponse ¶
type CheckCanAuthUsersOfAppResponse struct { // 候选用户成员列表 Users *[]CandidatesUser `json:"users,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckCanAuthUsersOfAppResponse) String ¶
func (o CheckCanAuthUsersOfAppResponse) String() string
type CheckDictionaryRequest ¶
type CheckDictionaryRequest struct { // 字典ID DictId string `json:"dict_id"` // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (CheckDictionaryRequest) String ¶
func (o CheckDictionaryRequest) String() string
type CheckDictionaryResponse ¶
type CheckDictionaryResponse struct { // 字典ID Id *string `json:"id,omitempty"` // 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 字典描述 Remark *string `json:"remark,omitempty"` // 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一 Code *string `json:"code,omitempty"` // 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格 ExtendOne *string `json:"extend_one,omitempty"` // 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格 ExtendTwo *string `json:"extend_two,omitempty"` // 父字典编码,为空时代表自身就是最顶级字典 ParentCode *string `json:"parent_code,omitempty"` Type *DictionaryType `json:"type,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckDictionaryResponse) String ¶
func (o CheckDictionaryResponse) String() string
type CheckLivedataApisV2Request ¶
type CheckLivedataApisV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *LdApiCheckInfo `json:"body,omitempty"` }
Request Object
func (CheckLivedataApisV2Request) String ¶
func (o CheckLivedataApisV2Request) String() string
type CheckLivedataApisV2Response ¶
type CheckLivedataApisV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CheckLivedataApisV2Response) String ¶
func (o CheckLivedataApisV2Response) String() string
type CheckRomaAppDetailsRequest ¶
type CheckRomaAppDetailsRequest struct { // 应用ID AppId string `json:"app_id"` // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (CheckRomaAppDetailsRequest) String ¶
func (o CheckRomaAppDetailsRequest) String() string
type CheckRomaAppDetailsResponse ¶
type CheckRomaAppDetailsResponse struct { // 应用ID Id *string `json:"id,omitempty"` // 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 应用描述 Remark *string `json:"remark,omitempty"` // 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限 Roles *[]CheckRomaAppDetailsResponseRoles `json:"roles,omitempty"` // 创建UTC时间 CreateTime *string `json:"create_time,omitempty"` // 创建UTC时间 UpdateTime *string `json:"update_time,omitempty"` CreatedUser *ServerAppInfoCreatedUser `json:"created_user,omitempty"` LastUpdatedUser *ServerAppInfoLastUpdatedUser `json:"last_updated_user,omitempty"` // 是否是应用拥有者 Owner *bool `json:"owner,omitempty"` // 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一 Key *string `json:"key,omitempty"` // 是否收藏应用,收藏的应用会在列表里优先显示 Favorite *bool `json:"favorite,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckRomaAppDetailsResponse) String ¶
func (o CheckRomaAppDetailsResponse) String() string
type CheckRomaAppDetailsResponseRoles ¶
type CheckRomaAppDetailsResponseRoles struct {
// contains filtered or unexported fields
}
func (CheckRomaAppDetailsResponseRoles) MarshalJSON ¶
func (c CheckRomaAppDetailsResponseRoles) MarshalJSON() ([]byte, error)
func (*CheckRomaAppDetailsResponseRoles) UnmarshalJSON ¶
func (c *CheckRomaAppDetailsResponseRoles) UnmarshalJSON(b []byte) error
func (CheckRomaAppDetailsResponseRoles) Value ¶ added in v0.0.90
func (c CheckRomaAppDetailsResponseRoles) Value() string
type CheckRomaAppDetailsResponseRolesEnum ¶
type CheckRomaAppDetailsResponseRolesEnum struct { READ CheckRomaAppDetailsResponseRoles ACCESS CheckRomaAppDetailsResponseRoles DELETE CheckRomaAppDetailsResponseRoles MODIFY CheckRomaAppDetailsResponseRoles ADMIN CheckRomaAppDetailsResponseRoles }
func GetCheckRomaAppDetailsResponseRolesEnum ¶
func GetCheckRomaAppDetailsResponseRolesEnum() CheckRomaAppDetailsResponseRolesEnum
type CheckRomaAppSecretRequest ¶
type CheckRomaAppSecretRequest struct { // 应用ID AppId string `json:"app_id"` // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (CheckRomaAppSecretRequest) String ¶
func (o CheckRomaAppSecretRequest) String() string
type CheckRomaAppSecretResponse ¶
type CheckRomaAppSecretResponse struct { // 应用ID Id *string `json:"id,omitempty"` // 应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做 Secret *string `json:"secret,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckRomaAppSecretResponse) String ¶
func (o CheckRomaAppSecretResponse) String() string
type CheckRomaInstanceListV2Request ¶
type CheckRomaInstanceListV2Request struct { // 实例状态 Status *string `json:"status,omitempty"` // 偏移量,大于等于0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (CheckRomaInstanceListV2Request) String ¶
func (o CheckRomaInstanceListV2Request) String() string
type CheckRomaInstanceListV2Response ¶
type CheckRomaInstanceListV2Response struct { // 列表总数 Total *int32 `json:"total,omitempty"` // 本页数量 Size *int32 `json:"size,omitempty"` // 实例列表 Instances *[]RomaInstanceCheckListRespInstances `json:"instances,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckRomaInstanceListV2Response) String ¶
func (o CheckRomaInstanceListV2Response) String() string
type ColumnInfo ¶
type ColumnInfo struct { // 字段名称 FieldName *string `json:"field_name,omitempty"` // 字段类型 FieldType *string `json:"field_type,omitempty"` // 字段长度 FieldLength *string `json:"field_length,omitempty"` // 是否允许为空 NullAble *string `json:"null_able,omitempty"` // 是否是分区字段 IsPartition *bool `json:"is_partition,omitempty"` // 是否是主键字段 Primary *string `json:"primary,omitempty"` // 是否是唯一键字段 Unique *string `json:"unique,omitempty"` // 小数部分位数,非数字类型返回null DecimalDigits *string `json:"decimal_digits,omitempty"` }
表字段详情
func (ColumnInfo) String ¶
func (o ColumnInfo) String() string
type Command ¶
type ConditionResp ¶
type ConditionResp struct { // 关联的请求参数对象名称。策略类型为param时必选 ReqParamName *string `json:"req_param_name,omitempty"` // 系统参数名称。策略类型为system时必选。支持以下系统参数 - req_path:请求路径。如 /a/b - req_method:请求方法。如 GET SysParamName *ConditionRespSysParamName `json:"sys_param_name,omitempty"` // 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则 策略类型为param时必选 ConditionType *ConditionRespConditionType `json:"condition_type,omitempty"` // 策略类型 - param:参数 - source:源IP - system:系统参数 ConditionOrigin ConditionRespConditionOrigin `json:"condition_origin"` // 策略值 ConditionValue string `json:"condition_value"` // 编号 Id *string `json:"id,omitempty"` // 关联的请求参数对象编号 ReqParamId *string `json:"req_param_id,omitempty"` // 关联的请求参数对象位置 ReqParamLocation *string `json:"req_param_location,omitempty"` }
func (ConditionResp) String ¶
func (o ConditionResp) String() string
type ConditionRespConditionOrigin ¶
type ConditionRespConditionOrigin struct {
// contains filtered or unexported fields
}
func (ConditionRespConditionOrigin) MarshalJSON ¶
func (c ConditionRespConditionOrigin) MarshalJSON() ([]byte, error)
func (*ConditionRespConditionOrigin) UnmarshalJSON ¶
func (c *ConditionRespConditionOrigin) UnmarshalJSON(b []byte) error
func (ConditionRespConditionOrigin) Value ¶ added in v0.0.90
func (c ConditionRespConditionOrigin) Value() string
type ConditionRespConditionOriginEnum ¶
type ConditionRespConditionOriginEnum struct { PARAM ConditionRespConditionOrigin SOURCE ConditionRespConditionOrigin }
func GetConditionRespConditionOriginEnum ¶
func GetConditionRespConditionOriginEnum() ConditionRespConditionOriginEnum
type ConditionRespConditionType ¶
type ConditionRespConditionType struct {
// contains filtered or unexported fields
}
func (ConditionRespConditionType) MarshalJSON ¶
func (c ConditionRespConditionType) MarshalJSON() ([]byte, error)
func (*ConditionRespConditionType) UnmarshalJSON ¶
func (c *ConditionRespConditionType) UnmarshalJSON(b []byte) error
func (ConditionRespConditionType) Value ¶ added in v0.0.90
func (c ConditionRespConditionType) Value() string
type ConditionRespConditionTypeEnum ¶
type ConditionRespConditionTypeEnum struct { EXACT ConditionRespConditionType ENUM ConditionRespConditionType PATTERN ConditionRespConditionType }
func GetConditionRespConditionTypeEnum ¶
func GetConditionRespConditionTypeEnum() ConditionRespConditionTypeEnum
type ConditionRespSysParamName ¶
type ConditionRespSysParamName struct {
// contains filtered or unexported fields
}
func (ConditionRespSysParamName) MarshalJSON ¶
func (c ConditionRespSysParamName) MarshalJSON() ([]byte, error)
func (*ConditionRespSysParamName) UnmarshalJSON ¶
func (c *ConditionRespSysParamName) UnmarshalJSON(b []byte) error
func (ConditionRespSysParamName) Value ¶ added in v0.0.90
func (c ConditionRespSysParamName) Value() string
type ConditionRespSysParamNameEnum ¶
type ConditionRespSysParamNameEnum struct { REQ_PATH ConditionRespSysParamName REQ_METHOD ConditionRespSysParamName }
func GetConditionRespSysParamNameEnum ¶
func GetConditionRespSysParamNameEnum() ConditionRespSysParamNameEnum
type Config ¶
type Config struct { // 配额编号 ConfigId *string `json:"config_id,omitempty"` // 配额名称 ConfigName *ConfigConfigName `json:"config_name,omitempty"` // 配额值 当前实例所在租户该配额对应的数量 ConfigValue *string `json:"config_value,omitempty"` // 配额创建时间 ConfigTime *sdktime.SdkTime `json:"config_time,omitempty"` // 配额描述: - API_NUM_LIMIT:租户可以创建的API个数限制 - APP_NUM_LIMIT:租户可以创建的APP个数限制 - APIGROUP_NUM_LIMIT:租户可以创建的API分组个数限制 - ENVIRONMENT_NUM_LIMIT:租户可以创建的环境个数限制 - VARIABLE_NUM_LIMIT:每个API分组上可以创建的环境变量个数限制 - SIGN_NUM_LIMIT:租户可以创建的签名密钥个数限制 - THROTTLE_NUM_LIMIT:租户可以创建的流控策略个数限制 - APIGROUP_DOMAIN_NUM_LIMIT:每个API分组上可以绑定的自定义域名个数限制 - API_VERSION_NUM_LIMIT:每个API可以保留的发布版本个数限制 - VPC_NUM_LIMIT:租户可以创建的VPC通道个数限制 - VPC_INSTANCE_NUM_LIMIT:每个VPC通道上可以绑定的弹性云服务器个数限制 - API_PARAM_NUM_LIMIT:每个API可以设置的参数个数限制 - API_USER_CALL_LIMIT:每个租户的API单位时间内的请求默认限制 - ACL_NUM_LIMIT:每个租户可以创建的ACL策略个数限制 - APP_THROTTLE_LIMIT:特殊应用流控策略个数限制 - USER_THROTTLE_LIMIT:特殊用户流控策略个数限制 - API_NUM_LIMIT_PER_GROUP:租户每个API分组可以创建的API数量限制 - API_POLICY_NUM_LIMIT:每个API可以设置的策略后端个数限制 - API_CONDITION_NUM_LIMIT:每个API策略后端可以设置的条件个数限制 - SL_DOMAIN_CALL_LIMIT:每个二级域名单位时间内的请求默认限制 - ELB_SWITCH:是否启用ELB通道 - AUTHORIZER_NUM_LIMIT:租户可创建的自定义认证个数限制 - AUTHORIZER_IDENTITY_NUM_LIMIT:每个自定义认证可以设置的身份来源个数限制 - APP_CODE_NUM_LIMIT:每个APP可以创建的APP code数量限制 - REGION_MANAGER_WHITELIST_SERVICES:不校验region manager服务白名单列表,暂不支持 - API_SWAGGER_NUM_LIMIT:单个API分组可以绑定的swagger文档数量限制 - API_TAG_NUM_LIMIT:每个API可以设置的标签个数限制 - LTS_SWITCH:是启用LTS上报 - APP_KEY_SECRET_SWITCH:是否打开APP支持自定义KEY和SECRET的开关,1:开启;2:关闭 - RESPONSE_NUM_LIMIT:分组自定义响应个数限制 - CONFIG_NUM_LIMIT_PER_APP:每个APP可以设置的配置项个数限制 - BACKEND_TOKEN_ALLOW_SWITCH:是否支持普通租户透传后端token,1:开启;2:关闭 - APP_TOKEN_SWITCH:是否启用APPTOKEN - API_DESIGNER_SWITCH:是否启用api设计器,1:开启;2:关闭 - APP_API_KEY_SWITCH:是否启用APP_API_KEY认证方式 - APP_BASIC_SWITCH:是否启用APP_BASIC认证方式 - APP_JWT_SWITCH:是否启用APP_JWT认证方式 - APP_ROUTE_SWITCH:是否启用APP路由 - PUBLIC_KEY_SWITCH:是否启用PUBLIK_KEY后端认证方式 - APP_SECRET_SWITCH:是否启用APP_SECRET认证方式 - CASCADE_SWITCH:是否启用级联网关 - IS_INIT_API_PATH_HASH:是否执行过API PATH HASH刷新 - APP_QUOTA_NUM_LIMIT:租户可以创建的客户端配额个数 - IS_INIT_API_VERSION:是否执行过API VERSION CANONICAL PATH刷新 - PLUGIN_NUM_LIMIT:租户可以创建的插件个数 - APICLIENT_FIRST_USE_X_HW_ID_SWITCH:ApiClient是否优先使用x-hw-id校验权限 [- API_TASK_NUM_LIMIT:租户可以创建的API定时任务个数限制 - THROTTLE_LOCAL_SWITCH:是否启用本地流控模式 - API_TASK_SWITCH:租户是否支持定时任务 - SET_HEADERS_NUM_LIMIT_PER_PLUGIN:租户可以通过插件创建的HTTP头个数限制 - LUA_SCRIPT_SWITCH:租户是否允许使用lua_script插件 - LUA_SCRIPT_NUM_LIMIT:每个实例可以创建的lua_script类型插件个数限制 - SM_DICT_NUM_LIMIT:每个实例可以创建的数据字典个数限制 - BM_VPC_INSTANCE_GROUP_NUM_LIMIT:每个实例可以创建的VPC通道后端服务器组个数限制](tag:hws) Remark *string `json:"remark,omitempty"` // 该实例对应配额已使用数量 Used *int64 `json:"used,omitempty"` }
type ConfigConfigName ¶
type ConfigConfigName struct {
// contains filtered or unexported fields
}
func (ConfigConfigName) MarshalJSON ¶
func (c ConfigConfigName) MarshalJSON() ([]byte, error)
func (*ConfigConfigName) UnmarshalJSON ¶
func (c *ConfigConfigName) UnmarshalJSON(b []byte) error
func (ConfigConfigName) Value ¶ added in v0.0.90
func (c ConfigConfigName) Value() string
type ConfigConfigNameEnum ¶
type ConfigConfigNameEnum struct { API_NUM_LIMIT ConfigConfigName APP_NUM_LIMIT ConfigConfigName APIGROUP_NUM_LIMIT ConfigConfigName ENVIRONMENT_NUM_LIMIT ConfigConfigName VARIABLE_NUM_LIMIT ConfigConfigName SIGN_NUM_LIMIT ConfigConfigName THROTTLE_NUM_LIMIT ConfigConfigName APIGROUP_DOMAIN_NUM_LIMIT ConfigConfigName API_VERSION_NUM_LIMIT ConfigConfigName VPC_NUM_LIMIT ConfigConfigName VPC_INSTANCE_NUM_LIMIT ConfigConfigName API_PARAM_NUM_LIMIT ConfigConfigName API_USER_CALL_LIMIT ConfigConfigName ACL_NUM_LIMIT ConfigConfigName APP_THROTTLE_LIMIT ConfigConfigName USER_THROTTLE_LIMIT ConfigConfigName API_NUM_LIMIT_PER_GROUP ConfigConfigName API_POLICY_NUM_LIMIT ConfigConfigName API_CONDITION_NUM_LIMIT ConfigConfigName SL_DOMAIN_CALL_LIMIT ConfigConfigName ELB_SWITCH ConfigConfigName AUTHORIZER_NUM_LIMIT ConfigConfigName AUTHORIZER_IDENTITY_NUM_LIMIT ConfigConfigName APP_CODE_NUM_LIMIT ConfigConfigName REGION_MANAGER_WHITELIST_SERVICES ConfigConfigName API_SWAGGER_NUM_LIMIT ConfigConfigName API_TAG_NUM_LIMIT ConfigConfigName LTS_SWITCH ConfigConfigName APP_KEY_SECRET_SWITCH ConfigConfigName RESPONSE_NUM_LIMIT ConfigConfigName CONFIG_NUM_LIMIT_PER_APP ConfigConfigName BACKEND_TOKEN_ALLOW_SWITCH ConfigConfigName APP_TOKEN_SWITCH ConfigConfigName API_DESIGNER_SWITCH ConfigConfigName APP_API_KEY_SWITCH ConfigConfigName APP_BASIC_SWITCH ConfigConfigName APP_JWT_SWITCH ConfigConfigName APP_ROUTE_SWITCH ConfigConfigName PUBLIC_KEY_SWITCH ConfigConfigName APP_SECRET_SWITCH ConfigConfigName CASCADE_SWITCH ConfigConfigName IS_INIT_API_PATH_HASH ConfigConfigName APP_QUOTA_NUM_LIMIT ConfigConfigName IS_INIT_API_VERSION ConfigConfigName PLUGIN_NUM_LIMIT ConfigConfigName APICLIENT_FIRST_USE_X_HW_ID_SWITCH ConfigConfigName API_TASK_NUM_LIMIT ConfigConfigName SET_HEADERS_NUM_LIMIT_PER_PLUGIN ConfigConfigName API_TASK_SWITCH ConfigConfigName THROTTLE_LOCAL_SWITCH ConfigConfigName LUA_SCRIPT_SWITCH ConfigConfigName SM_DICT_NUM_LIMIT ConfigConfigName BM_VPC_INSTANCE_GROUP_NUM_LIMIT ConfigConfigName }
func GetConfigConfigNameEnum ¶
func GetConfigConfigNameEnum() ConfigConfigNameEnum
type ConfigOutline ¶
type ConfigOutline struct { // 配额编号 ConfigId *string `json:"config_id,omitempty"` // 配额名称 ConfigName *ConfigOutlineConfigName `json:"config_name,omitempty"` // 配额值 当前实例所在租户该配额对应的数量 ConfigValue *string `json:"config_value,omitempty"` // 配额创建时间 ConfigTime *sdktime.SdkTime `json:"config_time,omitempty"` // 配额描述: - API_NUM_LIMIT:租户可以创建的API个数限制 - APP_NUM_LIMIT:租户可以创建的APP个数限制 - APIGROUP_NUM_LIMIT:租户可以创建的API分组个数限制 - ENVIRONMENT_NUM_LIMIT:租户可以创建的环境个数限制 - VARIABLE_NUM_LIMIT:每个API分组上可以创建的环境变量个数限制 - SIGN_NUM_LIMIT:租户可以创建的签名密钥个数限制 - THROTTLE_NUM_LIMIT:租户可以创建的流控策略个数限制 - APIGROUP_DOMAIN_NUM_LIMIT:每个API分组上可以绑定的自定义域名个数限制 - API_VERSION_NUM_LIMIT:每个API可以保留的发布版本个数限制 - VPC_NUM_LIMIT:租户可以创建的VPC通道个数限制 - VPC_INSTANCE_NUM_LIMIT:每个VPC通道上可以绑定的弹性云服务器个数限制 - API_PARAM_NUM_LIMIT:每个API可以设置的参数个数限制 - API_USER_CALL_LIMIT:每个租户的API单位时间内的请求默认限制 - ACL_NUM_LIMIT:每个租户可以创建的ACL策略个数限制 - APP_THROTTLE_LIMIT:特殊应用流控策略个数限制 - USER_THROTTLE_LIMIT:特殊用户流控策略个数限制 - API_NUM_LIMIT_PER_GROUP:租户每个API分组可以创建的API数量限制 - API_POLICY_NUM_LIMIT:每个API可以设置的策略后端个数限制 - API_CONDITION_NUM_LIMIT:每个API策略后端可以设置的条件个数限制 - SL_DOMAIN_CALL_LIMIT:每个二级域名单位时间内的请求默认限制 - ELB_SWITCH:是否启用ELB通道 - AUTHORIZER_NUM_LIMIT:租户可创建的自定义认证个数限制 - AUTHORIZER_IDENTITY_NUM_LIMIT:每个自定义认证可以设置的身份来源个数限制 - APP_CODE_NUM_LIMIT:每个APP可以创建的APP code数量限制 - REGION_MANAGER_WHITELIST_SERVICES:不校验region manager服务白名单列表,暂不支持 - API_SWAGGER_NUM_LIMIT:单个API分组可以绑定的swagger文档数量限制 - API_TAG_NUM_LIMIT:每个API可以设置的标签个数限制 - LTS_SWITCH:是启用LTS上报 - APP_KEY_SECRET_SWITCH:是否打开APP支持自定义KEY和SECRET的开关,1:开启;2:关闭 - RESPONSE_NUM_LIMIT:分组自定义响应个数限制 - CONFIG_NUM_LIMIT_PER_APP:每个APP可以设置的配置项个数限制 - BACKEND_TOKEN_ALLOW_SWITCH:是否支持普通租户透传后端token,1:开启;2:关闭 - APP_TOKEN_SWITCH:是否启用APPTOKEN - API_DESIGNER_SWITCH:是否启用api设计器,1:开启;2:关闭 - APP_API_KEY_SWITCH:是否启用APP_API_KEY认证方式 - APP_BASIC_SWITCH:是否启用APP_BASIC认证方式 - APP_JWT_SWITCH:是否启用APP_JWT认证方式 - APP_ROUTE_SWITCH:是否启用APP路由 - PUBLIC_KEY_SWITCH:是否启用PUBLIK_KEY后端认证方式 - APP_SECRET_SWITCH:是否启用APP_SECRET认证方式 - CASCADE_SWITCH:是否启用级联网关 - IS_INIT_API_PATH_HASH:是否执行过API PATH HASH刷新 - APP_QUOTA_NUM_LIMIT:租户可以创建的客户端配额个数 - IS_INIT_API_VERSION:是否执行过API VERSION CANONICAL PATH刷新 - PLUGIN_NUM_LIMIT:租户可以创建的插件个数 - APICLIENT_FIRST_USE_X_HW_ID_SWITCH:ApiClient是否优先使用x-hw-id校验权限 [- API_TASK_NUM_LIMIT:租户可以创建的API定时任务个数限制 - THROTTLE_LOCAL_SWITCH:是否启用本地流控模式 - API_TASK_SWITCH:租户是否支持定时任务 - SET_HEADERS_NUM_LIMIT_PER_PLUGIN:租户可以通过插件创建的HTTP头个数限制 - LUA_SCRIPT_SWITCH:租户是否允许使用lua_script插件 - LUA_SCRIPT_NUM_LIMIT:每个实例可以创建的lua_script类型插件个数限制 - SM_DICT_NUM_LIMIT:每个实例可以创建的数据字典个数限制 - BM_VPC_INSTANCE_GROUP_NUM_LIMIT:每个实例可以创建的VPC通道后端服务器组个数限制](tag:hws) Remark *string `json:"remark,omitempty"` }
func (ConfigOutline) String ¶
func (o ConfigOutline) String() string
type ConfigOutlineConfigName ¶
type ConfigOutlineConfigName struct {
// contains filtered or unexported fields
}
func (ConfigOutlineConfigName) MarshalJSON ¶
func (c ConfigOutlineConfigName) MarshalJSON() ([]byte, error)
func (*ConfigOutlineConfigName) UnmarshalJSON ¶
func (c *ConfigOutlineConfigName) UnmarshalJSON(b []byte) error
func (ConfigOutlineConfigName) Value ¶ added in v0.0.90
func (c ConfigOutlineConfigName) Value() string
type ConfigOutlineConfigNameEnum ¶
type ConfigOutlineConfigNameEnum struct { API_NUM_LIMIT ConfigOutlineConfigName APP_NUM_LIMIT ConfigOutlineConfigName APIGROUP_NUM_LIMIT ConfigOutlineConfigName ENVIRONMENT_NUM_LIMIT ConfigOutlineConfigName VARIABLE_NUM_LIMIT ConfigOutlineConfigName SIGN_NUM_LIMIT ConfigOutlineConfigName THROTTLE_NUM_LIMIT ConfigOutlineConfigName APIGROUP_DOMAIN_NUM_LIMIT ConfigOutlineConfigName API_VERSION_NUM_LIMIT ConfigOutlineConfigName VPC_NUM_LIMIT ConfigOutlineConfigName VPC_INSTANCE_NUM_LIMIT ConfigOutlineConfigName API_PARAM_NUM_LIMIT ConfigOutlineConfigName API_USER_CALL_LIMIT ConfigOutlineConfigName ACL_NUM_LIMIT ConfigOutlineConfigName APP_THROTTLE_LIMIT ConfigOutlineConfigName USER_THROTTLE_LIMIT ConfigOutlineConfigName API_NUM_LIMIT_PER_GROUP ConfigOutlineConfigName API_POLICY_NUM_LIMIT ConfigOutlineConfigName API_CONDITION_NUM_LIMIT ConfigOutlineConfigName SL_DOMAIN_CALL_LIMIT ConfigOutlineConfigName ELB_SWITCH ConfigOutlineConfigName AUTHORIZER_NUM_LIMIT ConfigOutlineConfigName AUTHORIZER_IDENTITY_NUM_LIMIT ConfigOutlineConfigName APP_CODE_NUM_LIMIT ConfigOutlineConfigName REGION_MANAGER_WHITELIST_SERVICES ConfigOutlineConfigName API_SWAGGER_NUM_LIMIT ConfigOutlineConfigName API_TAG_NUM_LIMIT ConfigOutlineConfigName LTS_SWITCH ConfigOutlineConfigName APP_KEY_SECRET_SWITCH ConfigOutlineConfigName RESPONSE_NUM_LIMIT ConfigOutlineConfigName CONFIG_NUM_LIMIT_PER_APP ConfigOutlineConfigName BACKEND_TOKEN_ALLOW_SWITCH ConfigOutlineConfigName APP_TOKEN_SWITCH ConfigOutlineConfigName API_DESIGNER_SWITCH ConfigOutlineConfigName APP_API_KEY_SWITCH ConfigOutlineConfigName APP_BASIC_SWITCH ConfigOutlineConfigName APP_JWT_SWITCH ConfigOutlineConfigName APP_ROUTE_SWITCH ConfigOutlineConfigName PUBLIC_KEY_SWITCH ConfigOutlineConfigName APP_SECRET_SWITCH ConfigOutlineConfigName CASCADE_SWITCH ConfigOutlineConfigName IS_INIT_API_PATH_HASH ConfigOutlineConfigName APP_QUOTA_NUM_LIMIT ConfigOutlineConfigName IS_INIT_API_VERSION ConfigOutlineConfigName PLUGIN_NUM_LIMIT ConfigOutlineConfigName APICLIENT_FIRST_USE_X_HW_ID_SWITCH ConfigOutlineConfigName API_TASK_NUM_LIMIT ConfigOutlineConfigName SET_HEADERS_NUM_LIMIT_PER_PLUGIN ConfigOutlineConfigName API_TASK_SWITCH ConfigOutlineConfigName THROTTLE_LOCAL_SWITCH ConfigOutlineConfigName LUA_SCRIPT_SWITCH ConfigOutlineConfigName SM_DICT_NUM_LIMIT ConfigOutlineConfigName BM_VPC_INSTANCE_GROUP_NUM_LIMIT ConfigOutlineConfigName }
func GetConfigOutlineConfigNameEnum ¶
func GetConfigOutlineConfigNameEnum() ConfigOutlineConfigNameEnum
type Content ¶
type Content struct { // gauss100的版本号 - V100R003C20 - V300R001C00 Gauss100Version *ContentGauss100Version `json:"gauss100_version,omitempty"` // 主机IP地址 - 数据源为DWS、HANA、RABBITMQ、SAP、SNMP、IBMMQ类型时需要配置。 - 数据源为MYSQL、ORACLE、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ARTEMISMQ、POSTGRESQL、HIVE类型且mode为default时需要配置。 - 数据源为HL7类型且作为目标端(position为target)时需要配置。 - 初始值为空,配置任务启动后生成host Host *string `json:"host,omitempty"` // 端口,端口号为0到65535 - 数据源为DWS、HANA、RABBITMQ、SAP、SNMP、IBMMQ,obs类型时需要配置, - 数据源为MYSQL、ORACLE、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ARTEMISMQ、POSTGRESQL、HIVE类型且mode为default时需要配置, - 数据源为HL7类型且作为目标端(position为target)时需要配置 Port *string `json:"port,omitempty"` // 数据库名称 - 数据源为DWS、HANA、RABBITMQ、SAP、SNMP、IBMMQ,obs类型时需要配置, - 数据源为MYSQL、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ARTEMISMQ、POSTGRESQL、HIVE类型且mode为default时需要配置, - 数据源为ORACLE类型且mode为(default、multiAddress)时需要配置 DatabaseName *string `json:"database_name,omitempty"` // REDIS数据源类型配置,数据库编号, 纯数字编码 RedisDatabase *string `json:"redis_database,omitempty"` // 访问服务的用户名 - 数据源为MYSQL、DWS、FTP、ORACLE、MONGODB、HANA、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ACTIVEMQ、ARTEMISMQ、POSTGRESQL、RABBITMQ、SAP、IBMMQ、HIVE类型时需要配置 - 数据源为WEBSOCKET类型,认证方式(basicauth)时需要配置 - 数据源为LDAP,安全认证类型(security_auth_type)为simple时需要配置 UserName *string `json:"user_name,omitempty"` // 访问服务的密码 - 数据源为MYSQL、DWS、FTP、ORACLE、MONGODB、HANA、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、ACTIVEMQ、ARTEMISMQ、POSTGRESQL、RABBITMQ、SAP、IBMMQ、HIVE类型时需要配置 - 数据源为WEBSOCKET,且认证方式(basicauth)时需要配置 - 数据源为LDAP,且安全认证类型(security_auth_type)为simple时需要配置 Password *string `json:"password,omitempty"` // 数据源连接模式 - 数据源为DWS、MONGODB、REDIS、HANA时配置默认, - 数据源为MYSQL、SQLSERVER、DB2、GAUSS200、GAUSS100、TAURUS、POSTGRESQL、HIVE时配置(default,professional), - 数据源为ORACLE时配置专有的模式multiAddress - default (默认模式) - professional (专业模式) - multiAddress (多地址) Mode *ContentMode `json:"mode,omitempty"` // cdc模式,只有组合任务使用 CdcMode *ContentCdcMode `json:"cdc_mode,omitempty"` // ORACLE集群地址,当mode为multiAddress时需要配置 MultiOracleAddress *[]MultiOracleAddress `json:"multi_oracle_address,omitempty"` // ORACLE集群服务名 OracleServiceName *string `json:"oracle_service_name,omitempty"` // 访问FTP服务的连接模式 - active (主动模式) - passive (被动模式) FtpConnectMode *ContentFtpConnectMode `json:"ftp_connect_mode,omitempty"` // 访问FTP服务协议类型 - sftp - ftp FtpProtocol *ContentFtpProtocol `json:"ftp_protocol,omitempty"` // 地址 - OBS (obs远端地址,obs数据源使用) - MONGODB (MONGODB数据源类型主机IP地址,多个IP:PORT, 使用\",\"隔开) - REDIS (redis服务地址,多个IP:PORT, 使用\",\"隔开) Address *string `json:"address,omitempty"` // Access Key ID - 数据源为OBS,DIS类型时需要配置 Ak *string `json:"ak,omitempty"` // Secret Access Key - 数据源为OBS,DIS类型时需要配置 Sk *string `json:"sk,omitempty"` // 桶名称,数据源为OBS时需要配置 BucketName *string `json:"bucket_name,omitempty"` // 是否使用https, 数据源为OBS时需要配置,一般默认使用 Https *bool `json:"https,omitempty"` // 连接字符串,访问url - 数据源为API、LDAP、WEBSOCKE类型时需要配置, - 数据源为MYSQL、ORACLE、DB2、GAUSS200、GAUSS100、TAURUS、POSTGRESQL,且mode配置为professional专业时需要配置 Url *string `json:"url,omitempty"` // 访问API请求方式 - POST - PUT - DELETE - PATCH - GET ApiMethod *ContentApiMethod `json:"api_method,omitempty"` // 访问WEBSOCKET服务的认证方式 - none - basicauth AuthMethod *ContentAuthMethod `json:"auth_method,omitempty"` ApiAuthDetail *ApiAuthDetail `json:"api_auth_detail,omitempty"` // KAFKA、ACTIVEMQ的服务器地址,多个IP:PORT, 使用\",\"分隔 Broker *string `json:"broker,omitempty"` // 是否开启SSL认证 - 数据源为KAFKA时需要配置,连接MQS内网地址时,若MQS同时开启了SSL与VPC内网明文访问,请选择“否” - 数据源为ARTEMISMQ、ACTIVEMQ、RABBITMQ、IBMMQ时需要配置, - 数据源为HL7时且作为源端时需要配置 SslEnable *bool `json:"ssl_enable,omitempty"` // SSL用户名/应用Key - 数据源为KAFKA且开启SSL认证时需要配置 SslUsername *string `json:"ssl_username,omitempty"` // SSL密码/应用Secret - 数据源为KAFKA且开启SSL认证时需要配置 SslPassword *string `json:"ssl_password,omitempty"` // MONGODB认证源 MongodbAuthSource *string `json:"mongodb_auth_source,omitempty"` // MONGODB集群模式 - true (集群模式) - false (非集群模式) MongodbClusterEnable *bool `json:"mongodb_cluster_enable,omitempty"` // MONGODB副本集 当MONGODB为非集群模式时配置 MongodbReplicaSet *string `json:"mongodb_replica_set,omitempty"` // 编码格式 - 数据源为GAUSS200、GAUSS100、POSTGRESQL类型时配置\"big5\", - 数据源为MYSQL、TAURUS类型且mode为default时配置 Encoding *ContentEncoding `json:"encoding,omitempty"` // MYSQL连接超时时间(秒) MysqlTimeout *int32 `json:"mysql_timeout,omitempty"` // 公钥库密码 - 数据源类型为ACTIVEMQ、ARTEMISMQ、RABBITMQ、IBMMQ且开启SSL认证时需要配置 - 数据源类为HL7且HL7为目标端(position为target)时,并且开启SSL认证时需要配置 TrustStorePassword *string `json:"trust_store_password,omitempty"` // - 数据源类型为ACTIVEMQ、ARTEMISMQ、RABBITMQ、IBMMQ且开启SSL认证时需要配置,公钥库密码 - 数据源类型为HL7且为目标端(position为target),并且开启SSL认证时需要配置,公钥库密码 TrustStore *string `json:"trust_store,omitempty"` // - 数据源类型为ACTIVEMQ、ARTEMISMQ、RABBITMQ、IBMMQ且开启SSL认证时需要配置,公钥库密码 - 数据源类型为HL7且为目标端(position为target),并且开启SSL认证时需要配置,公钥库密码 TrustStoreFileType *ContentTrustStoreFileType `json:"trust_store_file_type,omitempty"` // 数据源类型为ACTIVEMQ、ARTEMISMQ且开启SSL认证时需要配置 - one-way (单向认证) - two-way (双向认证) SslAuthMethod *ContentSslAuthMethod `json:"ssl_auth_method,omitempty"` // 私钥库文件内容, - 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置 - 数据源类型HL7且为源端(position为source),并且开启SSL认证时需要配置 KeyStore *string `json:"key_store,omitempty"` // 私钥库文件类型 - 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置 KeyStoreFileType *ContentKeyStoreFileType `json:"key_store_file_type,omitempty"` // 私钥库密码 - 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置 - 数据源为HL7类型,为源端(position为source)并且开启SSL认证时需要配置 KeyStorePassword *string `json:"key_store_password,omitempty"` // 私钥库私钥密码 - 数据源类型为ACTIVEMQ、ARTEMISMQ,开启SSL认证并且认证方式是two-way时需要配置 - 数据源为HL7类型,为源端(position为source)并且开启SSL认证时需要配置 KeyStoreKeyPassword *string `json:"key_store_key_password,omitempty"` // DIS通道名称 DisTunnelName *string `json:"dis_tunnel_name,omitempty"` // DIS数据类别 - JSON DisDataType *ContentDisDataType `json:"dis_data_type,omitempty"` // DIS配置类别 - senior (高级) - basic (基础) DisSettingType *ContentDisSettingType `json:"dis_setting_type,omitempty"` // DIS Endpoint,当setting_type为senior时填写 DisEndpoint *string `json:"dis_endpoint,omitempty"` // DIS Region,当setting_type为senior时填写 DisRegion *string `json:"dis_region,omitempty"` // DIS源端项目id,当setting_type为senior时填写 DisSourceProjectId *string `json:"dis_source_project_id,omitempty"` // HL7数据源方向 - source (源端) - target (目标端) Hl7Position *ContentHl7Position `json:"hl7_position,omitempty"` // HL7是否开启白名单设置 Hl7WhitelistEnable *bool `json:"hl7_whitelist_enable,omitempty"` // HL7白名单 - 允许同步数据到源端HL7的服务器地址,当HL7为源端(position为source)并且开启白名单设置(open_whitelist为true)时填写 Hl7Whitelist *string `json:"hl7_whitelist,omitempty"` // LDAP安全认证类型 LdapSecurityAuthType *ContentLdapSecurityAuthType `json:"ldap_security_auth_type,omitempty"` // RABBITMQ虚拟主机 RabbitmqVirtualHost *string `json:"rabbitmq_virtual_host,omitempty"` // RABBITMQ SSL认证协议 - TLS RabbitmqSslProtocol *ContentRabbitmqSslProtocol `json:"rabbitmq_ssl_protocol,omitempty"` // SAP客户端号 SapClient *string `json:"sap_client,omitempty"` // SAP实例编号 SapSysnr *string `json:"sap_sysnr,omitempty"` // SNMP网络协议 - udp - tcp SnmpNetworkProtocol *ContentSnmpNetworkProtocol `json:"snmp_network_protocol,omitempty"` // SNMP版本号 SnmpVersion *ContentSnmpVersion `json:"snmp_version,omitempty"` // SNMP团体名,用于访问SNMP管理代理的身份认证,相当于访问密码 SnmpCommunity *string `json:"snmp_community,omitempty"` // IBMMQ字符集标识 IbmmqCcsId *string `json:"ibmmq_ccs_id,omitempty"` // IBMMQ队列管理器 IbmmqQueueManager *string `json:"ibmmq_queue_manager,omitempty"` // IBMMQ通道名称 IbmmqChannel *string `json:"ibmmq_channel,omitempty"` // IBMMQ密钥算法套件 IbmmqCipherSuite *string `json:"ibmmq_cipher_suite,omitempty"` // HDFS URL - 数据源为MRSHIVE、MRSHDFS、FIHDFS、FIHIVE类型时配置 - fihadfs (/fdi/autotest) HdfsPath *string `json:"hdfs_path,omitempty"` // 机机交互用户名 - 数据源为MRSHIVE、MRSHDFS、MRSHBASE、MRSKAFKA、FIHDFS、FIHIVE、FIKAFKA类型时配置 PrincipalName *string `json:"principal_name,omitempty"` // - 用户认证文件,文件获取方式参考《ROMA Connect API参考》的“附录>获取数据源配置文件”章节 - 将获取到的文件打包成zip文件,文件名配置在config_file_name中,内容以BASE64编码形式放到config_file_content。 - 数据源为MRSHIVE、MRSHDFS、MRSHBASE、MRSKAFKA、FIHDFS、FIHIVE、FIKAFKA类型时配置 ConfigFileName *string `json:"config_file_name,omitempty"` // - 用户认证文件内容,config_file_name对应的文件内容BASE64编码 - 数据源为MRSHIVE、MRSHDFS、MRSHBASE、MRSKAFKA、FIHDFS、FIHIVE、FIKAFKA类型时配置 ConfigFileContent *string `json:"config_file_content,omitempty"` // 连接器实例ID,连接器发布后对应的实例ID ConnectionInstanceId *string `json:"connection_instance_id,omitempty"` // 连接器对应的数据源参数,值按实际填写 ConnectorParams *interface{} `json:"connector_params,omitempty"` }
type ContentApiMethod ¶
type ContentApiMethod struct {
// contains filtered or unexported fields
}
func (ContentApiMethod) MarshalJSON ¶
func (c ContentApiMethod) MarshalJSON() ([]byte, error)
func (*ContentApiMethod) UnmarshalJSON ¶
func (c *ContentApiMethod) UnmarshalJSON(b []byte) error
func (ContentApiMethod) Value ¶ added in v0.0.90
func (c ContentApiMethod) Value() string
type ContentApiMethodEnum ¶
type ContentApiMethodEnum struct { POST ContentApiMethod PUT ContentApiMethod DELETE ContentApiMethod PATCH ContentApiMethod GET ContentApiMethod }
func GetContentApiMethodEnum ¶
func GetContentApiMethodEnum() ContentApiMethodEnum
type ContentAuthMethod ¶
type ContentAuthMethod struct {
// contains filtered or unexported fields
}
func (ContentAuthMethod) MarshalJSON ¶
func (c ContentAuthMethod) MarshalJSON() ([]byte, error)
func (*ContentAuthMethod) UnmarshalJSON ¶
func (c *ContentAuthMethod) UnmarshalJSON(b []byte) error
func (ContentAuthMethod) Value ¶ added in v0.0.90
func (c ContentAuthMethod) Value() string
type ContentAuthMethodEnum ¶
type ContentAuthMethodEnum struct { NONE ContentAuthMethod BASICAUTH ContentAuthMethod }
func GetContentAuthMethodEnum ¶
func GetContentAuthMethodEnum() ContentAuthMethodEnum
type ContentCdcMode ¶
type ContentCdcMode struct {
// contains filtered or unexported fields
}
func (ContentCdcMode) MarshalJSON ¶
func (c ContentCdcMode) MarshalJSON() ([]byte, error)
func (*ContentCdcMode) UnmarshalJSON ¶
func (c *ContentCdcMode) UnmarshalJSON(b []byte) error
func (ContentCdcMode) Value ¶ added in v0.0.90
func (c ContentCdcMode) Value() string
type ContentCdcModeEnum ¶
type ContentCdcModeEnum struct { XSTREAM ContentCdcMode LOGMINER ContentCdcMode }
func GetContentCdcModeEnum ¶
func GetContentCdcModeEnum() ContentCdcModeEnum
type ContentDisDataType ¶
type ContentDisDataType struct {
// contains filtered or unexported fields
}
func (ContentDisDataType) MarshalJSON ¶
func (c ContentDisDataType) MarshalJSON() ([]byte, error)
func (*ContentDisDataType) UnmarshalJSON ¶
func (c *ContentDisDataType) UnmarshalJSON(b []byte) error
func (ContentDisDataType) Value ¶ added in v0.0.90
func (c ContentDisDataType) Value() string
type ContentDisDataTypeEnum ¶
type ContentDisDataTypeEnum struct {
JSON ContentDisDataType
}
func GetContentDisDataTypeEnum ¶
func GetContentDisDataTypeEnum() ContentDisDataTypeEnum
type ContentDisSettingType ¶
type ContentDisSettingType struct {
// contains filtered or unexported fields
}
func (ContentDisSettingType) MarshalJSON ¶
func (c ContentDisSettingType) MarshalJSON() ([]byte, error)
func (*ContentDisSettingType) UnmarshalJSON ¶
func (c *ContentDisSettingType) UnmarshalJSON(b []byte) error
func (ContentDisSettingType) Value ¶ added in v0.0.90
func (c ContentDisSettingType) Value() string
type ContentDisSettingTypeEnum ¶
type ContentDisSettingTypeEnum struct { BASIC ContentDisSettingType SENIOR ContentDisSettingType }
func GetContentDisSettingTypeEnum ¶
func GetContentDisSettingTypeEnum() ContentDisSettingTypeEnum
type ContentEncoding ¶
type ContentEncoding struct {
// contains filtered or unexported fields
}
func (ContentEncoding) MarshalJSON ¶
func (c ContentEncoding) MarshalJSON() ([]byte, error)
func (*ContentEncoding) UnmarshalJSON ¶
func (c *ContentEncoding) UnmarshalJSON(b []byte) error
func (ContentEncoding) Value ¶ added in v0.0.90
func (c ContentEncoding) Value() string
type ContentEncodingEnum ¶
type ContentEncodingEnum struct { BIG5 ContentEncoding DEC8 ContentEncoding CP850 ContentEncoding HP8 ContentEncoding KOI8R ContentEncoding LATIN1 ContentEncoding LATIN2 ContentEncoding SWE7 ContentEncoding ASCII ContentEncoding UJIS ContentEncoding SJIS ContentEncoding HEBREW ContentEncoding TIS620 ContentEncoding KOI8U ContentEncoding GB2312 ContentEncoding GREEK ContentEncoding CP1250 ContentEncoding GBK ContentEncoding LATIN5 ContentEncoding ARMSCII8 ContentEncoding UTF8 ContentEncoding UCS2 ContentEncoding CP866 ContentEncoding KEYBCS2 ContentEncoding MACCE ContentEncoding MACROMAN ContentEncoding CP852 ContentEncoding LATIN7 ContentEncoding UTF8MB4 ContentEncoding CP1251 ContentEncoding UTF16 ContentEncoding UTF16LE ContentEncoding CP1256 ContentEncoding CP1257 ContentEncoding UTF32 ContentEncoding BINARY ContentEncoding GEOSTD8 ContentEncoding CP932 ContentEncoding EUCJPMS ContentEncoding GB18030 ContentEncoding }
func GetContentEncodingEnum ¶
func GetContentEncodingEnum() ContentEncodingEnum
type ContentFtpConnectMode ¶
type ContentFtpConnectMode struct {
// contains filtered or unexported fields
}
func (ContentFtpConnectMode) MarshalJSON ¶
func (c ContentFtpConnectMode) MarshalJSON() ([]byte, error)
func (*ContentFtpConnectMode) UnmarshalJSON ¶
func (c *ContentFtpConnectMode) UnmarshalJSON(b []byte) error
func (ContentFtpConnectMode) Value ¶ added in v0.0.90
func (c ContentFtpConnectMode) Value() string
type ContentFtpConnectModeEnum ¶
type ContentFtpConnectModeEnum struct { ACTIVE ContentFtpConnectMode PASSIVE ContentFtpConnectMode }
func GetContentFtpConnectModeEnum ¶
func GetContentFtpConnectModeEnum() ContentFtpConnectModeEnum
type ContentFtpProtocol ¶
type ContentFtpProtocol struct {
// contains filtered or unexported fields
}
func (ContentFtpProtocol) MarshalJSON ¶
func (c ContentFtpProtocol) MarshalJSON() ([]byte, error)
func (*ContentFtpProtocol) UnmarshalJSON ¶
func (c *ContentFtpProtocol) UnmarshalJSON(b []byte) error
func (ContentFtpProtocol) Value ¶ added in v0.0.90
func (c ContentFtpProtocol) Value() string
type ContentFtpProtocolEnum ¶
type ContentFtpProtocolEnum struct { SFTP ContentFtpProtocol FTP ContentFtpProtocol }
func GetContentFtpProtocolEnum ¶
func GetContentFtpProtocolEnum() ContentFtpProtocolEnum
type ContentGauss100Version ¶
type ContentGauss100Version struct {
// contains filtered or unexported fields
}
func (ContentGauss100Version) MarshalJSON ¶
func (c ContentGauss100Version) MarshalJSON() ([]byte, error)
func (*ContentGauss100Version) UnmarshalJSON ¶
func (c *ContentGauss100Version) UnmarshalJSON(b []byte) error
func (ContentGauss100Version) Value ¶ added in v0.0.90
func (c ContentGauss100Version) Value() string
type ContentGauss100VersionEnum ¶
type ContentGauss100VersionEnum struct { V100_R003_C20 ContentGauss100Version V300_R001_C00 ContentGauss100Version }
func GetContentGauss100VersionEnum ¶
func GetContentGauss100VersionEnum() ContentGauss100VersionEnum
type ContentHl7Position ¶
type ContentHl7Position struct {
// contains filtered or unexported fields
}
func (ContentHl7Position) MarshalJSON ¶
func (c ContentHl7Position) MarshalJSON() ([]byte, error)
func (*ContentHl7Position) UnmarshalJSON ¶
func (c *ContentHl7Position) UnmarshalJSON(b []byte) error
func (ContentHl7Position) Value ¶ added in v0.0.90
func (c ContentHl7Position) Value() string
type ContentHl7PositionEnum ¶
type ContentHl7PositionEnum struct { SOURCE ContentHl7Position TARGET ContentHl7Position }
func GetContentHl7PositionEnum ¶
func GetContentHl7PositionEnum() ContentHl7PositionEnum
type ContentKeyStoreFileType ¶
type ContentKeyStoreFileType struct {
// contains filtered or unexported fields
}
func (ContentKeyStoreFileType) MarshalJSON ¶
func (c ContentKeyStoreFileType) MarshalJSON() ([]byte, error)
func (*ContentKeyStoreFileType) UnmarshalJSON ¶
func (c *ContentKeyStoreFileType) UnmarshalJSON(b []byte) error
func (ContentKeyStoreFileType) Value ¶ added in v0.0.90
func (c ContentKeyStoreFileType) Value() string
type ContentKeyStoreFileTypeEnum ¶
type ContentKeyStoreFileTypeEnum struct { KS ContentKeyStoreFileType JKS ContentKeyStoreFileType }
func GetContentKeyStoreFileTypeEnum ¶
func GetContentKeyStoreFileTypeEnum() ContentKeyStoreFileTypeEnum
type ContentLdapSecurityAuthType ¶
type ContentLdapSecurityAuthType struct {
// contains filtered or unexported fields
}
func (ContentLdapSecurityAuthType) MarshalJSON ¶
func (c ContentLdapSecurityAuthType) MarshalJSON() ([]byte, error)
func (*ContentLdapSecurityAuthType) UnmarshalJSON ¶
func (c *ContentLdapSecurityAuthType) UnmarshalJSON(b []byte) error
func (ContentLdapSecurityAuthType) Value ¶ added in v0.0.90
func (c ContentLdapSecurityAuthType) Value() string
type ContentLdapSecurityAuthTypeEnum ¶
type ContentLdapSecurityAuthTypeEnum struct { NO ContentLdapSecurityAuthType SIMPLE ContentLdapSecurityAuthType }
func GetContentLdapSecurityAuthTypeEnum ¶
func GetContentLdapSecurityAuthTypeEnum() ContentLdapSecurityAuthTypeEnum
type ContentMode ¶
type ContentMode struct {
// contains filtered or unexported fields
}
func (ContentMode) MarshalJSON ¶
func (c ContentMode) MarshalJSON() ([]byte, error)
func (*ContentMode) UnmarshalJSON ¶
func (c *ContentMode) UnmarshalJSON(b []byte) error
func (ContentMode) Value ¶ added in v0.0.90
func (c ContentMode) Value() string
type ContentModeEnum ¶
type ContentModeEnum struct { DEFAULT ContentMode PROFESSIONAL ContentMode MULTI_ADDRESS ContentMode }
func GetContentModeEnum ¶
func GetContentModeEnum() ContentModeEnum
type ContentRabbitmqSslProtocol ¶
type ContentRabbitmqSslProtocol struct {
// contains filtered or unexported fields
}
func (ContentRabbitmqSslProtocol) MarshalJSON ¶
func (c ContentRabbitmqSslProtocol) MarshalJSON() ([]byte, error)
func (*ContentRabbitmqSslProtocol) UnmarshalJSON ¶
func (c *ContentRabbitmqSslProtocol) UnmarshalJSON(b []byte) error
func (ContentRabbitmqSslProtocol) Value ¶ added in v0.0.90
func (c ContentRabbitmqSslProtocol) Value() string
type ContentRabbitmqSslProtocolEnum ¶
type ContentRabbitmqSslProtocolEnum struct {
TLS ContentRabbitmqSslProtocol
}
func GetContentRabbitmqSslProtocolEnum ¶
func GetContentRabbitmqSslProtocolEnum() ContentRabbitmqSslProtocolEnum
type ContentSnmpNetworkProtocol ¶
type ContentSnmpNetworkProtocol struct {
// contains filtered or unexported fields
}
func (ContentSnmpNetworkProtocol) MarshalJSON ¶
func (c ContentSnmpNetworkProtocol) MarshalJSON() ([]byte, error)
func (*ContentSnmpNetworkProtocol) UnmarshalJSON ¶
func (c *ContentSnmpNetworkProtocol) UnmarshalJSON(b []byte) error
func (ContentSnmpNetworkProtocol) Value ¶ added in v0.0.90
func (c ContentSnmpNetworkProtocol) Value() string
type ContentSnmpNetworkProtocolEnum ¶
type ContentSnmpNetworkProtocolEnum struct { UDP ContentSnmpNetworkProtocol TCP ContentSnmpNetworkProtocol }
func GetContentSnmpNetworkProtocolEnum ¶
func GetContentSnmpNetworkProtocolEnum() ContentSnmpNetworkProtocolEnum
type ContentSnmpVersion ¶ added in v0.0.78
type ContentSnmpVersion struct {
// contains filtered or unexported fields
}
func (ContentSnmpVersion) MarshalJSON ¶ added in v0.0.78
func (c ContentSnmpVersion) MarshalJSON() ([]byte, error)
func (*ContentSnmpVersion) UnmarshalJSON ¶ added in v0.0.78
func (c *ContentSnmpVersion) UnmarshalJSON(b []byte) error
func (ContentSnmpVersion) Value ¶ added in v0.0.90
func (c ContentSnmpVersion) Value() int32
type ContentSnmpVersionEnum ¶ added in v0.0.78
type ContentSnmpVersionEnum struct { E_0 ContentSnmpVersion E_1 ContentSnmpVersion E_3 ContentSnmpVersion }
func GetContentSnmpVersionEnum ¶ added in v0.0.78
func GetContentSnmpVersionEnum() ContentSnmpVersionEnum
type ContentSslAuthMethod ¶
type ContentSslAuthMethod struct {
// contains filtered or unexported fields
}
func (ContentSslAuthMethod) MarshalJSON ¶
func (c ContentSslAuthMethod) MarshalJSON() ([]byte, error)
func (*ContentSslAuthMethod) UnmarshalJSON ¶
func (c *ContentSslAuthMethod) UnmarshalJSON(b []byte) error
func (ContentSslAuthMethod) Value ¶ added in v0.0.90
func (c ContentSslAuthMethod) Value() string
type ContentSslAuthMethodEnum ¶
type ContentSslAuthMethodEnum struct { ONE_WAY ContentSslAuthMethod TWO_WAY ContentSslAuthMethod }
func GetContentSslAuthMethodEnum ¶
func GetContentSslAuthMethodEnum() ContentSslAuthMethodEnum
type ContentTrustStoreFileType ¶
type ContentTrustStoreFileType struct {
// contains filtered or unexported fields
}
func (ContentTrustStoreFileType) MarshalJSON ¶
func (c ContentTrustStoreFileType) MarshalJSON() ([]byte, error)
func (*ContentTrustStoreFileType) UnmarshalJSON ¶
func (c *ContentTrustStoreFileType) UnmarshalJSON(b []byte) error
func (ContentTrustStoreFileType) Value ¶ added in v0.0.90
func (c ContentTrustStoreFileType) Value() string
type ContentTrustStoreFileTypeEnum ¶
type ContentTrustStoreFileTypeEnum struct { JKS ContentTrustStoreFileType TS ContentTrustStoreFileType }
func GetContentTrustStoreFileTypeEnum ¶
func GetContentTrustStoreFileTypeEnum() ContentTrustStoreFileTypeEnum
type CountDevicesRequest ¶
type CountDevicesRequest struct { // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (CountDevicesRequest) String ¶
func (o CountDevicesRequest) String() string
type CountDevicesResponse ¶
type CountDevicesResponse struct { ProductTemplates *ProductTemplatesCalculation `json:"product_templates,omitempty"` Products *ProductsCalculation `json:"products,omitempty"` Devices *DevicesCalculation `json:"devices,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CountDevicesResponse) String ¶
func (o CountDevicesResponse) String() string
type CountTasksRequest ¶
type CountTasksRequest struct { // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (CountTasksRequest) String ¶
func (o CountTasksRequest) String() string
type CountTasksResponse ¶
type CountTasksResponse struct { CommonTaskDetails *TaskStatisticDetails `json:"common_task_details,omitempty"` CdcTaskDetails *TaskStatisticDetails `json:"cdc_task_details,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CountTasksResponse) String ¶
func (o CountTasksResponse) String() string
type CreateAclStrategyV2Request ¶
type CreateAclStrategyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ApiAclCreate `json:"body,omitempty"` }
Request Object
func (CreateAclStrategyV2Request) String ¶
func (o CreateAclStrategyV2Request) String() string
type CreateAclStrategyV2Response ¶
type CreateAclStrategyV2Response struct { // 名称 AclName *string `json:"acl_name,omitempty"` // 类型: - PERMIT(白名单类型) - DENY(黑名单类型) AclType *string `json:"acl_type,omitempty"` // ACL策略值 AclValue *string `json:"acl_value,omitempty"` // 对象类型: - IP - DOMAIN EntityType *string `json:"entity_type,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAclStrategyV2Response) String ¶
func (o CreateAclStrategyV2Response) String() string
type CreateApiAclBindingV2Request ¶
type CreateApiAclBindingV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *AclApiBindingCreate `json:"body,omitempty"` }
Request Object
func (CreateApiAclBindingV2Request) String ¶
func (o CreateApiAclBindingV2Request) String() string
type CreateApiAclBindingV2Response ¶
type CreateApiAclBindingV2Response struct { // API与ACL的绑定关系列表 AclBindings *[]AclApiBindingInfo `json:"acl_bindings,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApiAclBindingV2Response) String ¶
func (o CreateApiAclBindingV2Response) String() string
type CreateApiGroupV2Request ¶
type CreateApiGroupV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ApiGroupCreate `json:"body,omitempty"` }
Request Object
func (CreateApiGroupV2Request) String ¶
func (o CreateApiGroupV2Request) String() string
type CreateApiGroupV2Response ¶
type CreateApiGroupV2Response struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status CreateApiGroupV2ResponseStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中 ROMAConnect暂未对接云市场,此字段默认返回2 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置 暂不支持 CallLimits *int32 `json:"call_limits,omitempty"` // 流控时长 暂不支持 TimeInterval *int32 `json:"time_interval,omitempty"` // 流控的时间单位 暂不支持 TimeUnit *string `json:"time_unit,omitempty"` // 是否为默认分组 IsDefault *int32 `json:"is_default,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 Version *string `json:"version,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApiGroupV2Response) String ¶
func (o CreateApiGroupV2Response) String() string
type CreateApiGroupV2ResponseStatus ¶
type CreateApiGroupV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateApiGroupV2ResponseStatus) MarshalJSON ¶
func (c CreateApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateApiGroupV2ResponseStatus) UnmarshalJSON ¶
func (c *CreateApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error
func (CreateApiGroupV2ResponseStatus) Value ¶ added in v0.0.90
func (c CreateApiGroupV2ResponseStatus) Value() int32
type CreateApiGroupV2ResponseStatusEnum ¶
type CreateApiGroupV2ResponseStatusEnum struct {
E_1 CreateApiGroupV2ResponseStatus
}
func GetCreateApiGroupV2ResponseStatusEnum ¶
func GetCreateApiGroupV2ResponseStatusEnum() CreateApiGroupV2ResponseStatusEnum
type CreateApiV2Request ¶
type CreateApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ApiCreate `json:"body,omitempty"` }
Request Object
func (CreateApiV2Request) String ¶
func (o CreateApiV2Request) String() string
type CreateApiV2Response ¶
type CreateApiV2Response struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type CreateApiV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol CreateApiV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod CreateApiV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType CreateApiV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *CreateApiV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType CreateApiV2ResponseBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *CreateApiV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *CreateApiV2ResponseStatus `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site) PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApiV2Response) String ¶
func (o CreateApiV2Response) String() string
type CreateApiV2ResponseAuthType ¶
type CreateApiV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseAuthType) MarshalJSON ¶
func (c CreateApiV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseAuthType) UnmarshalJSON ¶
func (c *CreateApiV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseAuthType) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseAuthType) Value() string
type CreateApiV2ResponseAuthTypeEnum ¶
type CreateApiV2ResponseAuthTypeEnum struct { NONE CreateApiV2ResponseAuthType APP CreateApiV2ResponseAuthType IAM CreateApiV2ResponseAuthType AUTHORIZER CreateApiV2ResponseAuthType }
func GetCreateApiV2ResponseAuthTypeEnum ¶
func GetCreateApiV2ResponseAuthTypeEnum() CreateApiV2ResponseAuthTypeEnum
type CreateApiV2ResponseBackendType ¶
type CreateApiV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseBackendType) MarshalJSON ¶
func (c CreateApiV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseBackendType) UnmarshalJSON ¶
func (c *CreateApiV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseBackendType) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseBackendType) Value() string
type CreateApiV2ResponseBackendTypeEnum ¶
type CreateApiV2ResponseBackendTypeEnum struct { HTTP CreateApiV2ResponseBackendType FUNCTION CreateApiV2ResponseBackendType MOCK CreateApiV2ResponseBackendType }
func GetCreateApiV2ResponseBackendTypeEnum ¶
func GetCreateApiV2ResponseBackendTypeEnum() CreateApiV2ResponseBackendTypeEnum
type CreateApiV2ResponseContentType ¶
type CreateApiV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseContentType) MarshalJSON ¶
func (c CreateApiV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseContentType) UnmarshalJSON ¶
func (c *CreateApiV2ResponseContentType) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseContentType) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseContentType) Value() string
type CreateApiV2ResponseContentTypeEnum ¶
type CreateApiV2ResponseContentTypeEnum struct { APPLICATION_JSON CreateApiV2ResponseContentType APPLICATION_XML CreateApiV2ResponseContentType MULTIPART_FORM_DATE CreateApiV2ResponseContentType TEXT_PLAIN CreateApiV2ResponseContentType }
func GetCreateApiV2ResponseContentTypeEnum ¶
func GetCreateApiV2ResponseContentTypeEnum() CreateApiV2ResponseContentTypeEnum
type CreateApiV2ResponseMatchMode ¶
type CreateApiV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseMatchMode) MarshalJSON ¶
func (c CreateApiV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseMatchMode) UnmarshalJSON ¶
func (c *CreateApiV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseMatchMode) Value() string
type CreateApiV2ResponseMatchModeEnum ¶
type CreateApiV2ResponseMatchModeEnum struct { SWA CreateApiV2ResponseMatchMode NORMAL CreateApiV2ResponseMatchMode }
func GetCreateApiV2ResponseMatchModeEnum ¶
func GetCreateApiV2ResponseMatchModeEnum() CreateApiV2ResponseMatchModeEnum
type CreateApiV2ResponseReqMethod ¶
type CreateApiV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseReqMethod) MarshalJSON ¶
func (c CreateApiV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseReqMethod) UnmarshalJSON ¶
func (c *CreateApiV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseReqMethod) Value() string
type CreateApiV2ResponseReqMethodEnum ¶
type CreateApiV2ResponseReqMethodEnum struct { GET CreateApiV2ResponseReqMethod POST CreateApiV2ResponseReqMethod PUT CreateApiV2ResponseReqMethod DELETE CreateApiV2ResponseReqMethod HEAD CreateApiV2ResponseReqMethod PATCH CreateApiV2ResponseReqMethod OPTIONS CreateApiV2ResponseReqMethod ANY CreateApiV2ResponseReqMethod }
func GetCreateApiV2ResponseReqMethodEnum ¶
func GetCreateApiV2ResponseReqMethodEnum() CreateApiV2ResponseReqMethodEnum
type CreateApiV2ResponseReqProtocol ¶
type CreateApiV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseReqProtocol) MarshalJSON ¶
func (c CreateApiV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseReqProtocol) UnmarshalJSON ¶
func (c *CreateApiV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseReqProtocol) Value() string
type CreateApiV2ResponseReqProtocolEnum ¶
type CreateApiV2ResponseReqProtocolEnum struct { HTTP CreateApiV2ResponseReqProtocol HTTPS CreateApiV2ResponseReqProtocol BOTH CreateApiV2ResponseReqProtocol }
func GetCreateApiV2ResponseReqProtocolEnum ¶
func GetCreateApiV2ResponseReqProtocolEnum() CreateApiV2ResponseReqProtocolEnum
type CreateApiV2ResponseStatus ¶
type CreateApiV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseStatus) MarshalJSON ¶
func (c CreateApiV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseStatus) UnmarshalJSON ¶
func (c *CreateApiV2ResponseStatus) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseStatus) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseStatus) Value() int32
type CreateApiV2ResponseStatusEnum ¶
type CreateApiV2ResponseStatusEnum struct {
E_1 CreateApiV2ResponseStatus
}
func GetCreateApiV2ResponseStatusEnum ¶
func GetCreateApiV2ResponseStatusEnum() CreateApiV2ResponseStatusEnum
type CreateApiV2ResponseType ¶
type CreateApiV2ResponseType struct {
// contains filtered or unexported fields
}
func (CreateApiV2ResponseType) MarshalJSON ¶
func (c CreateApiV2ResponseType) MarshalJSON() ([]byte, error)
func (*CreateApiV2ResponseType) UnmarshalJSON ¶
func (c *CreateApiV2ResponseType) UnmarshalJSON(b []byte) error
func (CreateApiV2ResponseType) Value ¶ added in v0.0.90
func (c CreateApiV2ResponseType) Value() int32
type CreateApiV2ResponseTypeEnum ¶
type CreateApiV2ResponseTypeEnum struct { E_1 CreateApiV2ResponseType E_2 CreateApiV2ResponseType }
func GetCreateApiV2ResponseTypeEnum ¶
func GetCreateApiV2ResponseTypeEnum() CreateApiV2ResponseTypeEnum
type CreateAppCodeAutoV2Request ¶
type CreateAppCodeAutoV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` }
Request Object
func (CreateAppCodeAutoV2Request) String ¶
func (o CreateAppCodeAutoV2Request) String() string
type CreateAppCodeAutoV2Response ¶
type CreateAppCodeAutoV2Response struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头。 AppCode string `json:"app_code"` // 编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAppCodeAutoV2Response) String ¶
func (o CreateAppCodeAutoV2Response) String() string
type CreateAppCodeV2Request ¶
type CreateAppCodeV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` Body *AppCodeCreate `json:"body,omitempty"` }
Request Object
func (CreateAppCodeV2Request) String ¶
func (o CreateAppCodeV2Request) String() string
type CreateAppCodeV2Response ¶
type CreateAppCodeV2Response struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头。 AppCode string `json:"app_code"` // 编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAppCodeV2Response) String ¶
func (o CreateAppCodeV2Response) String() string
type CreateAppConfigV2Request ¶
type CreateAppConfigV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` Body *AppConfigCreateRequestV2 `json:"body,omitempty"` }
Request Object
func (CreateAppConfigV2Request) String ¶
func (o CreateAppConfigV2Request) String() string
type CreateAppConfigV2Response ¶
type CreateAppConfigV2Response struct { // 应用配置编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 应用配置类型 ConfigType *string `json:"config_type,omitempty"` // 应用配置名称 ConfigName *string `json:"config_name,omitempty"` // 应用配置值 ConfigValue *string `json:"config_value,omitempty"` // 应用配置更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 应用配置描述 Description *string `json:"description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAppConfigV2Response) String ¶
func (o CreateAppConfigV2Response) String() string
type CreateAppQuotaBindingApp ¶
type CreateAppQuotaBindingApp struct { // 客户端应用编号列表 AppIds []string `json:"app_ids"` }
func (CreateAppQuotaBindingApp) String ¶
func (o CreateAppQuotaBindingApp) String() string
type CreateAppQuotaRequest ¶
type CreateAppQuotaRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *AppQuotaCreate `json:"body,omitempty"` }
Request Object
func (CreateAppQuotaRequest) String ¶
func (o CreateAppQuotaRequest) String() string
type CreateAppQuotaResponse ¶
type CreateAppQuotaResponse struct { // 客户端配额编号 AppQuotaId *string `json:"app_quota_id,omitempty"` // 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符 Name *string `json:"name,omitempty"` // 客户端配额的访问次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天 TimeUnit *CreateAppQuotaResponseTimeUnit `json:"time_unit,omitempty"` // 配额的限定时间值 TimeInterval *int32 `json:"time_interval,omitempty"` // 参数说明和描述 Remark *string `json:"remark,omitempty"` // 首次配额重置时间点,不配置默认为首次调用时间计算 ResetTime *string `json:"reset_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 配额策略已绑定应用数量 BoundAppNum *int32 `json:"bound_app_num,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAppQuotaResponse) String ¶
func (o CreateAppQuotaResponse) String() string
type CreateAppQuotaResponseTimeUnit ¶
type CreateAppQuotaResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (CreateAppQuotaResponseTimeUnit) MarshalJSON ¶
func (c CreateAppQuotaResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*CreateAppQuotaResponseTimeUnit) UnmarshalJSON ¶
func (c *CreateAppQuotaResponseTimeUnit) UnmarshalJSON(b []byte) error
func (CreateAppQuotaResponseTimeUnit) Value ¶ added in v0.0.90
func (c CreateAppQuotaResponseTimeUnit) Value() string
type CreateAppQuotaResponseTimeUnitEnum ¶
type CreateAppQuotaResponseTimeUnitEnum struct { SECOND CreateAppQuotaResponseTimeUnit MINUTE CreateAppQuotaResponseTimeUnit HOUR CreateAppQuotaResponseTimeUnit DAY CreateAppQuotaResponseTimeUnit }
func GetCreateAppQuotaResponseTimeUnitEnum ¶
func GetCreateAppQuotaResponseTimeUnitEnum() CreateAppQuotaResponseTimeUnitEnum
type CreateAppReq ¶
type CreateAppReq struct { // 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一 Name string `json:"name"` // 应用描述 Remark *string `json:"remark,omitempty"` // 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一 Key *string `json:"key,omitempty"` // 应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做 Secret *string `json:"secret,omitempty"` // 是否收藏应用,收藏的应用会在列表里优先显示 Favorite *bool `json:"favorite,omitempty"` }
func (CreateAppReq) String ¶
func (o CreateAppReq) String() string
type CreateAuthorizingAppsV2Request ¶
type CreateAuthorizingAppsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ApiAuthCreate `json:"body,omitempty"` }
Request Object
func (CreateAuthorizingAppsV2Request) String ¶
func (o CreateAuthorizingAppsV2Request) String() string
type CreateAuthorizingAppsV2Response ¶
type CreateAuthorizingAppsV2Response struct { // API与APP的授权关系列表 Auths *[]ApiAuthRelations `json:"auths,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateAuthorizingAppsV2Response) String ¶
func (o CreateAuthorizingAppsV2Response) String() string
type CreateCommandRequest ¶
type CreateCommandRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` Body *CreateCommandRequestBody `json:"body,omitempty"` }
Request Object
func (CreateCommandRequest) String ¶
func (o CreateCommandRequest) String() string
type CreateCommandRequestBody ¶
type CreateCommandRequestBody struct { // 服务命令名称,支持大小写字母,数字,中划线及下划线,长度2-50 Name string `json:"name"` // 服务命令描述,长度0-200 Description *string `json:"description,omitempty"` }
func (CreateCommandRequestBody) String ¶
func (o CreateCommandRequestBody) String() string
type CreateCommandResponse ¶
type CreateCommandResponse struct { // 命令所属服务id ServiceId *int32 `json:"service_id,omitempty"` // 命令id CommandId *int32 `json:"command_id,omitempty"` // 命令名称 CommandName *string `json:"command_name,omitempty"` // 命令描述 Description *string `json:"description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCommandResponse) String ¶
func (o CreateCommandResponse) String() string
type CreateCommonTaskRequest ¶
type CreateCommonTaskRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateCommonTaskRequestBody `json:"body,omitempty"` }
Request Object
func (CreateCommonTaskRequest) String ¶
func (o CreateCommonTaskRequest) String() string
type CreateCommonTaskRequestBody ¶
type CreateCommonTaskRequestBody struct { Task *TaskBasicRequestBody `json:"task,omitempty"` // 参数类型为string,参数结构参照附录中“数据集成参数说明>RawFormDataRequest”章节 TaskDetail *string `json:"task_detail,omitempty"` }
任务信息
func (CreateCommonTaskRequestBody) String ¶
func (o CreateCommonTaskRequestBody) String() string
type CreateCommonTaskResponse ¶
type CreateCommonTaskResponse struct { Task *TaskBasicRsp `json:"task,omitempty"` // 参数类型为string,参数结构参照附录中“数据集成参数说明>RawFormDataResponse”章节 TaskDetail *string `json:"task_detail,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCommonTaskResponse) String ¶
func (o CreateCommonTaskResponse) String() string
type CreateCustomAuthorizerV2Request ¶
type CreateCustomAuthorizerV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *AuthorizerCreate `json:"body,omitempty"` }
Request Object
func (CreateCustomAuthorizerV2Request) String ¶
func (o CreateCustomAuthorizerV2Request) String() string
type CreateCustomAuthorizerV2Response ¶
type CreateCustomAuthorizerV2Response struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 Type CreateCustomAuthorizerV2ResponseType `json:"type"` // 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数 AuthorizerType CreateCustomAuthorizerV2ResponseAuthorizerType `json:"authorizer_type"` // 函数地址。 注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。 AuthorizerUri string `json:"authorizer_uri"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 自定义认证函数类型为LD时必填 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` // 自定义认证编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 自定义认证所属应用编号 RomaAppId *string `json:"roma_app_id,omitempty"` // 自定义认证所属应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateCustomAuthorizerV2Response) String ¶
func (o CreateCustomAuthorizerV2Response) String() string
type CreateCustomAuthorizerV2ResponseAuthorizerType ¶
type CreateCustomAuthorizerV2ResponseAuthorizerType struct {
// contains filtered or unexported fields
}
func (CreateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON ¶
func (c CreateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON() ([]byte, error)
func (*CreateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON ¶
func (c *CreateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON(b []byte) error
func (CreateCustomAuthorizerV2ResponseAuthorizerType) Value ¶ added in v0.0.90
func (c CreateCustomAuthorizerV2ResponseAuthorizerType) Value() string
type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum ¶
type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum struct { LD CreateCustomAuthorizerV2ResponseAuthorizerType FUNC CreateCustomAuthorizerV2ResponseAuthorizerType }
func GetCreateCustomAuthorizerV2ResponseAuthorizerTypeEnum ¶
func GetCreateCustomAuthorizerV2ResponseAuthorizerTypeEnum() CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum
type CreateCustomAuthorizerV2ResponseType ¶
type CreateCustomAuthorizerV2ResponseType struct {
// contains filtered or unexported fields
}
func (CreateCustomAuthorizerV2ResponseType) MarshalJSON ¶
func (c CreateCustomAuthorizerV2ResponseType) MarshalJSON() ([]byte, error)
func (*CreateCustomAuthorizerV2ResponseType) UnmarshalJSON ¶
func (c *CreateCustomAuthorizerV2ResponseType) UnmarshalJSON(b []byte) error
func (CreateCustomAuthorizerV2ResponseType) Value ¶ added in v0.0.90
func (c CreateCustomAuthorizerV2ResponseType) Value() string
type CreateCustomAuthorizerV2ResponseTypeEnum ¶
type CreateCustomAuthorizerV2ResponseTypeEnum struct { FRONTEND CreateCustomAuthorizerV2ResponseType BACKEND CreateCustomAuthorizerV2ResponseType }
func GetCreateCustomAuthorizerV2ResponseTypeEnum ¶
func GetCreateCustomAuthorizerV2ResponseTypeEnum() CreateCustomAuthorizerV2ResponseTypeEnum
type CreateDatasourceInfoRequest ¶
type CreateDatasourceInfoRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *DatasourceInfo `json:"body,omitempty"` }
Request Object
func (CreateDatasourceInfoRequest) String ¶
func (o CreateDatasourceInfoRequest) String() string
type CreateDatasourceInfoResponse ¶
type CreateDatasourceInfoResponse struct { // 数据源ID DatasourceId *string `json:"datasource_id,omitempty"` // 数据源名称 DatasourceName *string `json:"datasource_name,omitempty"` // 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS DatasourceType *CreateDatasourceInfoResponseDatasourceType `json:"datasource_type,omitempty"` // 数据源所属虚拟私有云VpcId VpcId *string `json:"vpc_id,omitempty"` // 数据源所属应用ID AppId *string `json:"app_id,omitempty"` // 数据源所属应用名称 AppName *string `json:"app_name,omitempty"` // 数据源所属实例Id InstanceId *string `json:"instance_id,omitempty"` // 数据源创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 数据源修改时间 UpdateTime *int64 `json:"update_time,omitempty"` // 数据源所属连接器Id CustomPluginId *string `json:"custom_plugin_id,omitempty"` Content *Content `json:"content,omitempty"` // 数据源描述 Description *string `json:"description,omitempty"` // 集成应用权限信息 - read (读权限) - access (调用权限) - delete (删除权限) - modify (修改权限) AppPermission *[]CreateDatasourceInfoResponseAppPermission `json:"app_permission,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDatasourceInfoResponse) String ¶
func (o CreateDatasourceInfoResponse) String() string
type CreateDatasourceInfoResponseAppPermission ¶
type CreateDatasourceInfoResponseAppPermission struct {
// contains filtered or unexported fields
}
func (CreateDatasourceInfoResponseAppPermission) MarshalJSON ¶
func (c CreateDatasourceInfoResponseAppPermission) MarshalJSON() ([]byte, error)
func (*CreateDatasourceInfoResponseAppPermission) UnmarshalJSON ¶
func (c *CreateDatasourceInfoResponseAppPermission) UnmarshalJSON(b []byte) error
func (CreateDatasourceInfoResponseAppPermission) Value ¶ added in v0.0.90
func (c CreateDatasourceInfoResponseAppPermission) Value() string
type CreateDatasourceInfoResponseAppPermissionEnum ¶
type CreateDatasourceInfoResponseAppPermissionEnum struct { READ CreateDatasourceInfoResponseAppPermission ACCESS CreateDatasourceInfoResponseAppPermission DELETE CreateDatasourceInfoResponseAppPermission MODIFY CreateDatasourceInfoResponseAppPermission }
func GetCreateDatasourceInfoResponseAppPermissionEnum ¶
func GetCreateDatasourceInfoResponseAppPermissionEnum() CreateDatasourceInfoResponseAppPermissionEnum
type CreateDatasourceInfoResponseDatasourceType ¶
type CreateDatasourceInfoResponseDatasourceType struct {
// contains filtered or unexported fields
}
func (CreateDatasourceInfoResponseDatasourceType) MarshalJSON ¶
func (c CreateDatasourceInfoResponseDatasourceType) MarshalJSON() ([]byte, error)
func (*CreateDatasourceInfoResponseDatasourceType) UnmarshalJSON ¶
func (c *CreateDatasourceInfoResponseDatasourceType) UnmarshalJSON(b []byte) error
func (CreateDatasourceInfoResponseDatasourceType) Value ¶ added in v0.0.90
func (c CreateDatasourceInfoResponseDatasourceType) Value() string
type CreateDatasourceInfoResponseDatasourceTypeEnum ¶
type CreateDatasourceInfoResponseDatasourceTypeEnum struct { DWS CreateDatasourceInfoResponseDatasourceType MYSQL CreateDatasourceInfoResponseDatasourceType KAFKA CreateDatasourceInfoResponseDatasourceType API CreateDatasourceInfoResponseDatasourceType OBS CreateDatasourceInfoResponseDatasourceType SAP CreateDatasourceInfoResponseDatasourceType MRSHBASE CreateDatasourceInfoResponseDatasourceType MRSHDFS CreateDatasourceInfoResponseDatasourceType MRSHIVE CreateDatasourceInfoResponseDatasourceType WEBSOCKET CreateDatasourceInfoResponseDatasourceType SQLSERVER CreateDatasourceInfoResponseDatasourceType ORACLE CreateDatasourceInfoResponseDatasourceType POSTGRESQL CreateDatasourceInfoResponseDatasourceType REDIS CreateDatasourceInfoResponseDatasourceType MONGODB CreateDatasourceInfoResponseDatasourceType DIS CreateDatasourceInfoResponseDatasourceType HL7 CreateDatasourceInfoResponseDatasourceType RABBITMQ CreateDatasourceInfoResponseDatasourceType SNMP CreateDatasourceInfoResponseDatasourceType IBMMQ CreateDatasourceInfoResponseDatasourceType CUSTOMIZED CreateDatasourceInfoResponseDatasourceType ACTIVEMQ CreateDatasourceInfoResponseDatasourceType ARTEMISMQ CreateDatasourceInfoResponseDatasourceType FTP CreateDatasourceInfoResponseDatasourceType HIVE CreateDatasourceInfoResponseDatasourceType HANA CreateDatasourceInfoResponseDatasourceType FIKAFKA CreateDatasourceInfoResponseDatasourceType MRSKAFKA CreateDatasourceInfoResponseDatasourceType FIHDFS CreateDatasourceInfoResponseDatasourceType FIHIVE CreateDatasourceInfoResponseDatasourceType GAUSS200 CreateDatasourceInfoResponseDatasourceType GAUSS100 CreateDatasourceInfoResponseDatasourceType LDAP CreateDatasourceInfoResponseDatasourceType DB2 CreateDatasourceInfoResponseDatasourceType TAURUS CreateDatasourceInfoResponseDatasourceType }
func GetCreateDatasourceInfoResponseDatasourceTypeEnum ¶
func GetCreateDatasourceInfoResponseDatasourceTypeEnum() CreateDatasourceInfoResponseDatasourceTypeEnum
type CreateDestinationRequest ¶
type CreateDestinationRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 规则ID RuleId string `json:"rule_id"` Body *CreateDestinationRequestBody `json:"body,omitempty"` }
Request Object
func (CreateDestinationRequest) String ¶
func (o CreateDestinationRequest) String() string
type CreateDestinationRequestBody ¶
type CreateDestinationRequestBody struct { // 操作类型,枚举值:0-目标端为本ROMA实例内MQS,; 7-目标端为设备 DestinationType CreateDestinationRequestBodyDestinationType `json:"destination_type"` // 应用ID,目标端为0时需明确对方的APP_ID AppId *string `json:"app_id,omitempty"` // 目标数据源名称 DestinationName *string `json:"destination_name,omitempty"` // 目标数据源主题,从MQS服务中获取已有topic Topic string `json:"topic"` // 目标端数据源服务,连接地址 Server *string `json:"server,omitempty"` // 目标端数据源token Token *string `json:"token,omitempty"` // 目标数据源标签 Tag *string `json:"tag,omitempty"` // 目标端数据源MQS的SASL字段是否需要支持SSL加密 MqsSaslSsl *bool `json:"mqs_sasl_ssl,omitempty"` // 目标数据源用户名 UserName *string `json:"user_name,omitempty"` // 目标数据源密码 Password *string `json:"password,omitempty"` }
func (CreateDestinationRequestBody) String ¶
func (o CreateDestinationRequestBody) String() string
type CreateDestinationRequestBodyDestinationType ¶ added in v0.0.78
type CreateDestinationRequestBodyDestinationType struct {
// contains filtered or unexported fields
}
func (CreateDestinationRequestBodyDestinationType) MarshalJSON ¶ added in v0.0.78
func (c CreateDestinationRequestBodyDestinationType) MarshalJSON() ([]byte, error)
func (*CreateDestinationRequestBodyDestinationType) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateDestinationRequestBodyDestinationType) UnmarshalJSON(b []byte) error
func (CreateDestinationRequestBodyDestinationType) Value ¶ added in v0.0.90
func (c CreateDestinationRequestBodyDestinationType) Value() int32
type CreateDestinationRequestBodyDestinationTypeEnum ¶ added in v0.0.78
type CreateDestinationRequestBodyDestinationTypeEnum struct { E_0 CreateDestinationRequestBodyDestinationType E_7 CreateDestinationRequestBodyDestinationType }
func GetCreateDestinationRequestBodyDestinationTypeEnum ¶ added in v0.0.78
func GetCreateDestinationRequestBodyDestinationTypeEnum() CreateDestinationRequestBodyDestinationTypeEnum
type CreateDestinationResponse ¶
type CreateDestinationResponse struct { // 目标数据源ID DestinationId *int32 `json:"destination_id,omitempty"` // 操作类型,枚举值:0-目标端为本ROMA实例内MQS; 7-目标端为设备 DestinationType *CreateDestinationResponseDestinationType `json:"destination_type,omitempty"` // 应用ID,目标端为0时需明确对方的APP_ID AppId *string `json:"app_id,omitempty"` // 目标数据源名称 DestinationName *string `json:"destination_name,omitempty"` // 目标数据源主题 Topic *string `json:"topic,omitempty"` // 目标端数据源服务 Server *string `json:"server,omitempty"` // 目标端数据源token Token *string `json:"token,omitempty"` // 目标数据源标签 Tag *string `json:"tag,omitempty"` // 目标端数据源MQS的SASL字段是否需要支持SSL加密 MqsSaslSsl *bool `json:"mqs_sasl_ssl,omitempty"` // 目标数据源用户名 UserName *string `json:"user_name,omitempty"` // 目标数据源密码 Password *string `json:"password,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDestinationResponse) String ¶
func (o CreateDestinationResponse) String() string
type CreateDestinationResponseDestinationType ¶ added in v0.0.78
type CreateDestinationResponseDestinationType struct {
// contains filtered or unexported fields
}
func (CreateDestinationResponseDestinationType) MarshalJSON ¶ added in v0.0.78
func (c CreateDestinationResponseDestinationType) MarshalJSON() ([]byte, error)
func (*CreateDestinationResponseDestinationType) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateDestinationResponseDestinationType) UnmarshalJSON(b []byte) error
func (CreateDestinationResponseDestinationType) Value ¶ added in v0.0.90
func (c CreateDestinationResponseDestinationType) Value() int32
type CreateDestinationResponseDestinationTypeEnum ¶ added in v0.0.78
type CreateDestinationResponseDestinationTypeEnum struct { E_0 CreateDestinationResponseDestinationType E_7 CreateDestinationResponseDestinationType }
func GetCreateDestinationResponseDestinationTypeEnum ¶ added in v0.0.78
func GetCreateDestinationResponseDestinationTypeEnum() CreateDestinationResponseDestinationTypeEnum
type CreateDeviceGroupRequest ¶
type CreateDeviceGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateDeviceGroupRequestBody `json:"body,omitempty"` }
Request Object
func (CreateDeviceGroupRequest) String ¶
func (o CreateDeviceGroupRequest) String() string
type CreateDeviceGroupRequestBody ¶
type CreateDeviceGroupRequestBody struct { // 父分组ID,自动向下取整 ParentId int32 `json:"parent_id"` // 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 Name string `json:"name"` // 分组描述 Description *string `json:"description,omitempty"` // 分组归属应用ID AppId string `json:"app_id"` }
func (CreateDeviceGroupRequestBody) String ¶
func (o CreateDeviceGroupRequestBody) String() string
type CreateDeviceGroupResponse ¶
type CreateDeviceGroupResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 父分组ID ParentId *int32 `json:"parent_id,omitempty"` // 分组ID Id *int32 `json:"id,omitempty"` // 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 Name *string `json:"name,omitempty"` // 分组描述,长度0-200 Description *string `json:"description,omitempty"` // 分组归属应用ID AppId *string `json:"app_id,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间 CreatedDatetime *string `json:"created_datetime,omitempty"` // 最后修改时间 LastUpdatedDatetime *string `json:"last_updated_datetime,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDeviceGroupResponse) String ¶
func (o CreateDeviceGroupResponse) String() string
type CreateDeviceRequest ¶
type CreateDeviceRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateDeviceRequestBody `json:"body,omitempty"` }
Request Object
func (CreateDeviceRequest) String ¶
func (o CreateDeviceRequest) String() string
type CreateDeviceRequestBody ¶
type CreateDeviceRequestBody struct { // 父设备ID,无父设备时不填写,自动向下取整 ParentDeviceId *int32 `json:"parent_device_id,omitempty"` Product *ProductReferer `json:"product"` // 设备密码,输入要求:至少1数字,1大写字母,1小写字母,1特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符 Password *string `json:"password,omitempty"` // 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64 DeviceName string `json:"device_name"` // 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64 NodeId string `json:"node_id"` // 应用ID AppId string `json:"app_id"` // 设备状态 0启用 1禁用,不填时默认为0启用 Status *CreateDeviceRequestBodyStatus `json:"status,omitempty"` // 备注 Description *string `json:"description,omitempty"` // 标签 Tags *[]string `json:"tags,omitempty"` }
func (CreateDeviceRequestBody) String ¶
func (o CreateDeviceRequestBody) String() string
type CreateDeviceRequestBodyStatus ¶ added in v0.0.78
type CreateDeviceRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (CreateDeviceRequestBodyStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateDeviceRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*CreateDeviceRequestBodyStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateDeviceRequestBodyStatus) UnmarshalJSON(b []byte) error
func (CreateDeviceRequestBodyStatus) Value ¶ added in v0.0.90
func (c CreateDeviceRequestBodyStatus) Value() int32
type CreateDeviceRequestBodyStatusEnum ¶ added in v0.0.78
type CreateDeviceRequestBodyStatusEnum struct { E_0 CreateDeviceRequestBodyStatus E_1 CreateDeviceRequestBodyStatus }
func GetCreateDeviceRequestBodyStatusEnum ¶ added in v0.0.78
func GetCreateDeviceRequestBodyStatusEnum() CreateDeviceRequestBodyStatusEnum
type CreateDeviceResponse ¶
type CreateDeviceResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 设备ID Id *int32 `json:"id,omitempty"` // 父设备ID ParentDeviceId *int32 `json:"parent_device_id,omitempty"` // 父设备名称 ParentDeviceName *string `json:"parent_device_name,omitempty"` Product *ProductReferer `json:"product,omitempty"` // 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64 DeviceName *string `json:"device_name,omitempty"` // 实例id InstanceId *string `json:"instance_id,omitempty"` // 设备客户端ID,平台生成的设备唯一标识 ClientId *string `json:"client_id,omitempty"` // 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64 NodeId *string `json:"node_id,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 设备状态 0-启用 1-禁用 Status *CreateDeviceResponseStatus `json:"status,omitempty"` // 是否在线 0-未连接 1-在线 2-离线 OnlineStatus *CreateDeviceResponseOnlineStatus `json:"online_status,omitempty"` // 备注 Description *string `json:"description,omitempty"` Authentication *Authentication `json:"authentication,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 标签 Tags *[]string `json:"tags,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` // 设备接入地址 ConnectAddress *string `json:"connect_address,omitempty"` // 设备接入SSL地址 SslConnectAddress *string `json:"ssl_connect_address,omitempty"` // 设备接入IPV6地址 Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"` // 设备接入IPV6 SSL地址 Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"` // 最后登录时间 LastLoginDatetime *int64 `json:"last_login_datetime,omitempty"` // 节点类型 0-直连 1-网关 2-子设备 NodeType *int32 `json:"node_type,omitempty"` // 设备类型<br>0-普通设备(无子设备也无父设备)<br>1-网关设备(可挂载子设备)<br>2-子设备(归属于某个网关设备) DeviceType *CreateDeviceResponseDeviceType `json:"device_type,omitempty"` // 客户端ip ClientIp *string `json:"client_ip,omitempty"` // 心跳时间 KeepAlive *string `json:"keep_alive,omitempty"` // 最后登录时间 LastActiveTime *int64 `json:"last_active_time,omitempty"` // 设备版本 Version *string `json:"version,omitempty"` // modbus和opcua设备特有,表示设备所属产品的类型 0-普通产品 1-modbus网关产品 2-opcua网关产品 PluginId *CreateDeviceResponsePluginId `json:"plugin_id,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDeviceResponse) String ¶
func (o CreateDeviceResponse) String() string
type CreateDeviceResponseDeviceType ¶ added in v0.0.78
type CreateDeviceResponseDeviceType struct {
// contains filtered or unexported fields
}
func (CreateDeviceResponseDeviceType) MarshalJSON ¶ added in v0.0.78
func (c CreateDeviceResponseDeviceType) MarshalJSON() ([]byte, error)
func (*CreateDeviceResponseDeviceType) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateDeviceResponseDeviceType) UnmarshalJSON(b []byte) error
func (CreateDeviceResponseDeviceType) Value ¶ added in v0.0.90
func (c CreateDeviceResponseDeviceType) Value() int32
type CreateDeviceResponseDeviceTypeEnum ¶ added in v0.0.78
type CreateDeviceResponseDeviceTypeEnum struct { E_0 CreateDeviceResponseDeviceType E_1 CreateDeviceResponseDeviceType E_2 CreateDeviceResponseDeviceType }
func GetCreateDeviceResponseDeviceTypeEnum ¶ added in v0.0.78
func GetCreateDeviceResponseDeviceTypeEnum() CreateDeviceResponseDeviceTypeEnum
type CreateDeviceResponseOnlineStatus ¶ added in v0.0.78
type CreateDeviceResponseOnlineStatus struct {
// contains filtered or unexported fields
}
func (CreateDeviceResponseOnlineStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateDeviceResponseOnlineStatus) MarshalJSON() ([]byte, error)
func (*CreateDeviceResponseOnlineStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateDeviceResponseOnlineStatus) UnmarshalJSON(b []byte) error
func (CreateDeviceResponseOnlineStatus) Value ¶ added in v0.0.90
func (c CreateDeviceResponseOnlineStatus) Value() int32
type CreateDeviceResponseOnlineStatusEnum ¶ added in v0.0.78
type CreateDeviceResponseOnlineStatusEnum struct { E_0 CreateDeviceResponseOnlineStatus E_1 CreateDeviceResponseOnlineStatus E_2 CreateDeviceResponseOnlineStatus }
func GetCreateDeviceResponseOnlineStatusEnum ¶ added in v0.0.78
func GetCreateDeviceResponseOnlineStatusEnum() CreateDeviceResponseOnlineStatusEnum
type CreateDeviceResponsePluginId ¶ added in v0.0.78
type CreateDeviceResponsePluginId struct {
// contains filtered or unexported fields
}
func (CreateDeviceResponsePluginId) MarshalJSON ¶ added in v0.0.78
func (c CreateDeviceResponsePluginId) MarshalJSON() ([]byte, error)
func (*CreateDeviceResponsePluginId) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateDeviceResponsePluginId) UnmarshalJSON(b []byte) error
func (CreateDeviceResponsePluginId) Value ¶ added in v0.0.90
func (c CreateDeviceResponsePluginId) Value() int32
type CreateDeviceResponsePluginIdEnum ¶ added in v0.0.78
type CreateDeviceResponsePluginIdEnum struct { E_0 CreateDeviceResponsePluginId E_1 CreateDeviceResponsePluginId E_2 CreateDeviceResponsePluginId }
func GetCreateDeviceResponsePluginIdEnum ¶ added in v0.0.78
func GetCreateDeviceResponsePluginIdEnum() CreateDeviceResponsePluginIdEnum
type CreateDeviceResponseStatus ¶ added in v0.0.78
type CreateDeviceResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateDeviceResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateDeviceResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateDeviceResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateDeviceResponseStatus) UnmarshalJSON(b []byte) error
func (CreateDeviceResponseStatus) Value ¶ added in v0.0.90
func (c CreateDeviceResponseStatus) Value() int32
type CreateDeviceResponseStatusEnum ¶ added in v0.0.78
type CreateDeviceResponseStatusEnum struct { E_0 CreateDeviceResponseStatus E_1 CreateDeviceResponseStatus }
func GetCreateDeviceResponseStatusEnum ¶ added in v0.0.78
func GetCreateDeviceResponseStatusEnum() CreateDeviceResponseStatusEnum
type CreateDictionary ¶
type CreateDictionary struct { // 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一 Name string `json:"name"` // 字典描述 Remark *string `json:"remark,omitempty"` // 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一 Code string `json:"code"` // 字典排序,值越小顺序越靠前 Order *int32 `json:"order,omitempty"` // 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格 ExtendOne *string `json:"extend_one,omitempty"` // 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格 ExtendTwo *string `json:"extend_two,omitempty"` // 父字典编码,为空时代表自身就是最顶级字典 ParentCode *string `json:"parent_code,omitempty"` }
func (CreateDictionary) String ¶
func (o CreateDictionary) String() string
type CreateDictionaryRequest ¶
type CreateDictionaryRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateDictionary `json:"body,omitempty"` }
Request Object
func (CreateDictionaryRequest) String ¶
func (o CreateDictionaryRequest) String() string
type CreateDictionaryResponse ¶
type CreateDictionaryResponse struct { // 字典ID Id *string `json:"id,omitempty"` // 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 字典描述 Remark *string `json:"remark,omitempty"` // 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一 Code *string `json:"code,omitempty"` // 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格 ExtendOne *string `json:"extend_one,omitempty"` // 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格 ExtendTwo *string `json:"extend_two,omitempty"` // 父字典编码,为空时代表自身就是最顶级字典 ParentCode *string `json:"parent_code,omitempty"` Type *DictionaryType `json:"type,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDictionaryResponse) String ¶
func (o CreateDictionaryResponse) String() string
type CreateDispatchesRequest ¶
type CreateDispatchesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` Body *TaskDispatch `json:"body,omitempty"` }
Request Object
func (CreateDispatchesRequest) String ¶
func (o CreateDispatchesRequest) String() string
type CreateDispatchesResponse ¶
type CreateDispatchesResponse struct { // 调度计划ID DispatchId *string `json:"dispatch_id,omitempty"` // 调度计划关联的任务ID TaskId *string `json:"task_id,omitempty"` // 调度计划的执行开始时间 StartDatetime *int64 `json:"start_datetime,omitempty"` // 调度计划执行周期的时间单位,当使用cron表达式时,为空 - MIN (分钟) - HOUR (小时) - DAY (日) - WEEK (周) - MON (月) Period *CreateDispatchesResponsePeriod `json:"period,omitempty"` // 调度计划的执行间隔时间周期 DispatchInterval *int64 `json:"dispatch_interval,omitempty"` // 调度计划的创建时间 CreatedDate *int64 `json:"created_date,omitempty"` // 调度计划最近一次的修改时间 LastModifiedDate *int64 `json:"last_modified_date,omitempty"` // 调度计划的备注信息 Remark *string `json:"remark,omitempty"` // 调度计划是否使用cron表达式,允许如下值: - true (使用cron表达式) - false (不使用cron表达式) UseQuartzCron *bool `json:"use_quartz_cron,omitempty"` // 调度计划的cron表达式 Cron *string `json:"cron,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDispatchesResponse) String ¶
func (o CreateDispatchesResponse) String() string
type CreateDispatchesResponsePeriod ¶
type CreateDispatchesResponsePeriod struct {
// contains filtered or unexported fields
}
func (CreateDispatchesResponsePeriod) MarshalJSON ¶
func (c CreateDispatchesResponsePeriod) MarshalJSON() ([]byte, error)
func (*CreateDispatchesResponsePeriod) UnmarshalJSON ¶
func (c *CreateDispatchesResponsePeriod) UnmarshalJSON(b []byte) error
func (CreateDispatchesResponsePeriod) Value ¶ added in v0.0.90
func (c CreateDispatchesResponsePeriod) Value() string
type CreateDispatchesResponsePeriodEnum ¶
type CreateDispatchesResponsePeriodEnum struct { MIN CreateDispatchesResponsePeriod HOUR CreateDispatchesResponsePeriod DAY CreateDispatchesResponsePeriod WEEK CreateDispatchesResponsePeriod MON CreateDispatchesResponsePeriod }
func GetCreateDispatchesResponsePeriodEnum ¶
func GetCreateDispatchesResponsePeriodEnum() CreateDispatchesResponsePeriodEnum
type CreateEnvironmentV2Request ¶
type CreateEnvironmentV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *EnvCreate `json:"body,omitempty"` }
Request Object
func (CreateEnvironmentV2Request) String ¶
func (o CreateEnvironmentV2Request) String() 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 ¶
func (o CreateEnvironmentV2Response) String() string
type CreateEnvironmentVariableV2Request ¶
type CreateEnvironmentVariableV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *EnvVariableCreate `json:"body,omitempty"` }
Request Object
func (CreateEnvironmentVariableV2Request) String ¶
func (o CreateEnvironmentVariableV2Request) String() string
type CreateEnvironmentVariableV2Response ¶
type CreateEnvironmentVariableV2Response struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。 VariableName *string `json:"variable_name,omitempty"` // 环境变量编号 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateEnvironmentVariableV2Response) String ¶
func (o CreateEnvironmentVariableV2Response) String() string
type CreateFeatureV2Request ¶
type CreateFeatureV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *FeatureToggleV2 `json:"body,omitempty"` }
Request Object
func (CreateFeatureV2Request) String ¶
func (o CreateFeatureV2Request) String() string
type CreateFeatureV2Response ¶
type CreateFeatureV2Response struct { // 特性编号 Id *string `json:"id,omitempty"` // 特性名称 Name *CreateFeatureV2ResponseName `json:"name,omitempty"` // 是否开启特性 Enable *bool `json:"enable,omitempty"` // 特性参数配置 Config *string `json:"config,omitempty"` // 实例编号 InstanceId *string `json:"instance_id,omitempty"` // 实例特性更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateFeatureV2Response) String ¶
func (o CreateFeatureV2Response) String() string
type CreateFeatureV2ResponseName ¶
type CreateFeatureV2ResponseName struct {
// contains filtered or unexported fields
}
func (CreateFeatureV2ResponseName) MarshalJSON ¶
func (c CreateFeatureV2ResponseName) MarshalJSON() ([]byte, error)
func (*CreateFeatureV2ResponseName) UnmarshalJSON ¶
func (c *CreateFeatureV2ResponseName) UnmarshalJSON(b []byte) error
func (CreateFeatureV2ResponseName) Value ¶ added in v0.0.90
func (c CreateFeatureV2ResponseName) Value() string
type CreateFeatureV2ResponseNameEnum ¶
type CreateFeatureV2ResponseNameEnum struct { LTS CreateFeatureV2ResponseName GATEWAY_RESPONSES CreateFeatureV2ResponseName RATELIMIT CreateFeatureV2ResponseName REQUEST_BODY_SIZE CreateFeatureV2ResponseName BACKEND_TIMEOUT CreateFeatureV2ResponseName APP_TOKEN CreateFeatureV2ResponseName APP_API_KEY CreateFeatureV2ResponseName APP_BASIC CreateFeatureV2ResponseName APP_SECRET CreateFeatureV2ResponseName APP_JWT CreateFeatureV2ResponseName PUBLIC_KEY CreateFeatureV2ResponseName BACKEND_TOKEN_ALLOW CreateFeatureV2ResponseName SIGN_BASIC CreateFeatureV2ResponseName MULTI_AUTH CreateFeatureV2ResponseName BACKEND_CLIENT_CERTIFICATE CreateFeatureV2ResponseName SSL_CIPHERS CreateFeatureV2ResponseName APP_CONFIG CreateFeatureV2ResponseName GREEN_TUNNEL CreateFeatureV2ResponseName APP_ROUTE CreateFeatureV2ResponseName DEFAULT_GROUP_HIDE CreateFeatureV2ResponseName CASCADE CreateFeatureV2ResponseName SANDBOX CreateFeatureV2ResponseName LIVEDATA_CONFIG CreateFeatureV2ResponseName APICLIENT_FIRST_USE_X_HW_ID CreateFeatureV2ResponseName CORS CreateFeatureV2ResponseName API_TASK CreateFeatureV2ResponseName APP_QUOTA CreateFeatureV2ResponseName APP_ACL CreateFeatureV2ResponseName VPC_BACKUP CreateFeatureV2ResponseName THROTTLE_STRATEGY CreateFeatureV2ResponseName }
func GetCreateFeatureV2ResponseNameEnum ¶
func GetCreateFeatureV2ResponseNameEnum() CreateFeatureV2ResponseNameEnum
type CreateLiveDataApiScriptV2Request ¶
type CreateLiveDataApiScriptV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 后端API的编号 LdApiId string `json:"ld_api_id"` Body *LdApiScriptCreate `json:"body,omitempty"` }
Request Object
func (CreateLiveDataApiScriptV2Request) String ¶
func (o CreateLiveDataApiScriptV2Request) String() string
type CreateLiveDataApiScriptV2Response ¶
type CreateLiveDataApiScriptV2Response struct { // 后端API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 Name string `json:"name"` // 后端API请求路径。 支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。 Path string `json:"path"` // 后端API请求方法。 支持GET、PUT、POST、DELETE Method CreateLiveDataApiScriptV2ResponseMethod `json:"method"` // 后端API描述。 不支持<,>字符 Description *string `json:"description,omitempty"` // 后端API版本 支持英文,数字,下划线,中划线,点。 Version string `json:"version"` // 后端API返回类型 ContentType CreateLiveDataApiScriptV2ResponseContentType `json:"content_type"` // 后端API为签名认证时绑定的签名密钥编号 ApiSignatureId *string `json:"api_signature_id,omitempty"` // 后端API归属的集成应用编号 RomaAppId string `json:"roma_app_id"` // API响应信息是否格式化 true: 对响应信息进行格式化 false:对响应信息格式化不进行格式化 ReturnFormat *bool `json:"return_format,omitempty"` // 后端API的请求参数列表 Parameters *[]LdApiParameter `json:"parameters,omitempty"` // 后端API编号 Id *string `json:"id,omitempty"` // 后端API所属实例编号 Instance *string `json:"instance,omitempty"` // 后端API类型: - data:数据后端 - function: 函数后端 Type *CreateLiveDataApiScriptV2ResponseType `json:"type,omitempty"` // 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署 Status *CreateLiveDataApiScriptV2ResponseStatus `json:"status,omitempty"` // 后端API创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 后端API修改时间 ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"` // 后端API脚本信息 Scripts *[]LdApiScript `json:"scripts,omitempty"` // 后端API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateLiveDataApiScriptV2Response) String ¶
func (o CreateLiveDataApiScriptV2Response) String() string
type CreateLiveDataApiScriptV2ResponseContentType ¶
type CreateLiveDataApiScriptV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (CreateLiveDataApiScriptV2ResponseContentType) MarshalJSON ¶
func (c CreateLiveDataApiScriptV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*CreateLiveDataApiScriptV2ResponseContentType) UnmarshalJSON ¶
func (c *CreateLiveDataApiScriptV2ResponseContentType) UnmarshalJSON(b []byte) error
func (CreateLiveDataApiScriptV2ResponseContentType) Value ¶ added in v0.0.90
func (c CreateLiveDataApiScriptV2ResponseContentType) Value() string
type CreateLiveDataApiScriptV2ResponseContentTypeEnum ¶
type CreateLiveDataApiScriptV2ResponseContentTypeEnum struct { JSON CreateLiveDataApiScriptV2ResponseContentType XML CreateLiveDataApiScriptV2ResponseContentType STREAM CreateLiveDataApiScriptV2ResponseContentType }
func GetCreateLiveDataApiScriptV2ResponseContentTypeEnum ¶
func GetCreateLiveDataApiScriptV2ResponseContentTypeEnum() CreateLiveDataApiScriptV2ResponseContentTypeEnum
type CreateLiveDataApiScriptV2ResponseMethod ¶
type CreateLiveDataApiScriptV2ResponseMethod struct {
// contains filtered or unexported fields
}
func (CreateLiveDataApiScriptV2ResponseMethod) MarshalJSON ¶
func (c CreateLiveDataApiScriptV2ResponseMethod) MarshalJSON() ([]byte, error)
func (*CreateLiveDataApiScriptV2ResponseMethod) UnmarshalJSON ¶
func (c *CreateLiveDataApiScriptV2ResponseMethod) UnmarshalJSON(b []byte) error
func (CreateLiveDataApiScriptV2ResponseMethod) Value ¶ added in v0.0.90
func (c CreateLiveDataApiScriptV2ResponseMethod) Value() string
type CreateLiveDataApiScriptV2ResponseMethodEnum ¶
type CreateLiveDataApiScriptV2ResponseMethodEnum struct { GET CreateLiveDataApiScriptV2ResponseMethod PUT CreateLiveDataApiScriptV2ResponseMethod POST CreateLiveDataApiScriptV2ResponseMethod DELETE CreateLiveDataApiScriptV2ResponseMethod }
func GetCreateLiveDataApiScriptV2ResponseMethodEnum ¶
func GetCreateLiveDataApiScriptV2ResponseMethodEnum() CreateLiveDataApiScriptV2ResponseMethodEnum
type CreateLiveDataApiScriptV2ResponseStatus ¶
type CreateLiveDataApiScriptV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateLiveDataApiScriptV2ResponseStatus) MarshalJSON ¶
func (c CreateLiveDataApiScriptV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateLiveDataApiScriptV2ResponseStatus) UnmarshalJSON ¶
func (c *CreateLiveDataApiScriptV2ResponseStatus) UnmarshalJSON(b []byte) error
func (CreateLiveDataApiScriptV2ResponseStatus) Value ¶ added in v0.0.90
func (c CreateLiveDataApiScriptV2ResponseStatus) Value() int32
type CreateLiveDataApiScriptV2ResponseStatusEnum ¶
type CreateLiveDataApiScriptV2ResponseStatusEnum struct { E_1 CreateLiveDataApiScriptV2ResponseStatus E_3 CreateLiveDataApiScriptV2ResponseStatus E_4 CreateLiveDataApiScriptV2ResponseStatus }
func GetCreateLiveDataApiScriptV2ResponseStatusEnum ¶
func GetCreateLiveDataApiScriptV2ResponseStatusEnum() CreateLiveDataApiScriptV2ResponseStatusEnum
type CreateLiveDataApiScriptV2ResponseType ¶
type CreateLiveDataApiScriptV2ResponseType struct {
// contains filtered or unexported fields
}
func (CreateLiveDataApiScriptV2ResponseType) MarshalJSON ¶
func (c CreateLiveDataApiScriptV2ResponseType) MarshalJSON() ([]byte, error)
func (*CreateLiveDataApiScriptV2ResponseType) UnmarshalJSON ¶
func (c *CreateLiveDataApiScriptV2ResponseType) UnmarshalJSON(b []byte) error
func (CreateLiveDataApiScriptV2ResponseType) Value ¶ added in v0.0.90
func (c CreateLiveDataApiScriptV2ResponseType) Value() string
type CreateLiveDataApiScriptV2ResponseTypeEnum ¶
type CreateLiveDataApiScriptV2ResponseTypeEnum struct { DATA CreateLiveDataApiScriptV2ResponseType FUNCTION CreateLiveDataApiScriptV2ResponseType }
func GetCreateLiveDataApiScriptV2ResponseTypeEnum ¶
func GetCreateLiveDataApiScriptV2ResponseTypeEnum() CreateLiveDataApiScriptV2ResponseTypeEnum
type CreateLiveDataApiV2Request ¶
type CreateLiveDataApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *LdApiCreate `json:"body,omitempty"` }
Request Object
func (CreateLiveDataApiV2Request) String ¶
func (o CreateLiveDataApiV2Request) String() string
type CreateLiveDataApiV2Response ¶
type CreateLiveDataApiV2Response struct { // 后端API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 Name string `json:"name"` // 后端API请求路径。 支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。 Path string `json:"path"` // 后端API请求方法。 支持GET、PUT、POST、DELETE Method CreateLiveDataApiV2ResponseMethod `json:"method"` // 后端API描述。 不支持<,>字符 Description *string `json:"description,omitempty"` // 后端API版本 支持英文,数字,下划线,中划线,点。 Version string `json:"version"` // 后端API返回类型 ContentType CreateLiveDataApiV2ResponseContentType `json:"content_type"` // 后端API为签名认证时绑定的签名密钥编号 ApiSignatureId *string `json:"api_signature_id,omitempty"` // 后端API归属的集成应用编号 RomaAppId string `json:"roma_app_id"` // API响应信息是否格式化 true: 对响应信息进行格式化 false:对响应信息格式化不进行格式化 ReturnFormat *bool `json:"return_format,omitempty"` // 后端API的请求参数列表 Parameters *[]LdApiParameter `json:"parameters,omitempty"` // 后端API编号 Id *string `json:"id,omitempty"` // 后端API所属实例编号 Instance *string `json:"instance,omitempty"` // 后端API类型: - data:数据后端 - function: 函数后端 Type *CreateLiveDataApiV2ResponseType `json:"type,omitempty"` // 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署 Status *CreateLiveDataApiV2ResponseStatus `json:"status,omitempty"` // 后端API创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 后端API修改时间 ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"` // 后端API脚本信息 Scripts *[]LdApiScript `json:"scripts,omitempty"` // 后端API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateLiveDataApiV2Response) String ¶
func (o CreateLiveDataApiV2Response) String() string
type CreateLiveDataApiV2ResponseContentType ¶
type CreateLiveDataApiV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (CreateLiveDataApiV2ResponseContentType) MarshalJSON ¶
func (c CreateLiveDataApiV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*CreateLiveDataApiV2ResponseContentType) UnmarshalJSON ¶
func (c *CreateLiveDataApiV2ResponseContentType) UnmarshalJSON(b []byte) error
func (CreateLiveDataApiV2ResponseContentType) Value ¶ added in v0.0.90
func (c CreateLiveDataApiV2ResponseContentType) Value() string
type CreateLiveDataApiV2ResponseContentTypeEnum ¶
type CreateLiveDataApiV2ResponseContentTypeEnum struct { JSON CreateLiveDataApiV2ResponseContentType XML CreateLiveDataApiV2ResponseContentType STREAM CreateLiveDataApiV2ResponseContentType }
func GetCreateLiveDataApiV2ResponseContentTypeEnum ¶
func GetCreateLiveDataApiV2ResponseContentTypeEnum() CreateLiveDataApiV2ResponseContentTypeEnum
type CreateLiveDataApiV2ResponseMethod ¶
type CreateLiveDataApiV2ResponseMethod struct {
// contains filtered or unexported fields
}
func (CreateLiveDataApiV2ResponseMethod) MarshalJSON ¶
func (c CreateLiveDataApiV2ResponseMethod) MarshalJSON() ([]byte, error)
func (*CreateLiveDataApiV2ResponseMethod) UnmarshalJSON ¶
func (c *CreateLiveDataApiV2ResponseMethod) UnmarshalJSON(b []byte) error
func (CreateLiveDataApiV2ResponseMethod) Value ¶ added in v0.0.90
func (c CreateLiveDataApiV2ResponseMethod) Value() string
type CreateLiveDataApiV2ResponseMethodEnum ¶
type CreateLiveDataApiV2ResponseMethodEnum struct { GET CreateLiveDataApiV2ResponseMethod PUT CreateLiveDataApiV2ResponseMethod POST CreateLiveDataApiV2ResponseMethod DELETE CreateLiveDataApiV2ResponseMethod }
func GetCreateLiveDataApiV2ResponseMethodEnum ¶
func GetCreateLiveDataApiV2ResponseMethodEnum() CreateLiveDataApiV2ResponseMethodEnum
type CreateLiveDataApiV2ResponseStatus ¶
type CreateLiveDataApiV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateLiveDataApiV2ResponseStatus) MarshalJSON ¶
func (c CreateLiveDataApiV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateLiveDataApiV2ResponseStatus) UnmarshalJSON ¶
func (c *CreateLiveDataApiV2ResponseStatus) UnmarshalJSON(b []byte) error
func (CreateLiveDataApiV2ResponseStatus) Value ¶ added in v0.0.90
func (c CreateLiveDataApiV2ResponseStatus) Value() int32
type CreateLiveDataApiV2ResponseStatusEnum ¶
type CreateLiveDataApiV2ResponseStatusEnum struct { E_1 CreateLiveDataApiV2ResponseStatus E_3 CreateLiveDataApiV2ResponseStatus E_4 CreateLiveDataApiV2ResponseStatus }
func GetCreateLiveDataApiV2ResponseStatusEnum ¶
func GetCreateLiveDataApiV2ResponseStatusEnum() CreateLiveDataApiV2ResponseStatusEnum
type CreateLiveDataApiV2ResponseType ¶
type CreateLiveDataApiV2ResponseType struct {
// contains filtered or unexported fields
}
func (CreateLiveDataApiV2ResponseType) MarshalJSON ¶
func (c CreateLiveDataApiV2ResponseType) MarshalJSON() ([]byte, error)
func (*CreateLiveDataApiV2ResponseType) UnmarshalJSON ¶
func (c *CreateLiveDataApiV2ResponseType) UnmarshalJSON(b []byte) error
func (CreateLiveDataApiV2ResponseType) Value ¶ added in v0.0.90
func (c CreateLiveDataApiV2ResponseType) Value() string
type CreateLiveDataApiV2ResponseTypeEnum ¶
type CreateLiveDataApiV2ResponseTypeEnum struct { DATA CreateLiveDataApiV2ResponseType FUNCTION CreateLiveDataApiV2ResponseType }
func GetCreateLiveDataApiV2ResponseTypeEnum ¶
func GetCreateLiveDataApiV2ResponseTypeEnum() CreateLiveDataApiV2ResponseTypeEnum
type CreateMemberGroupRequest ¶
type CreateMemberGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *MemberGroupCreateBatch `json:"body,omitempty"` }
Request Object
func (CreateMemberGroupRequest) String ¶
func (o CreateMemberGroupRequest) String() string
type CreateMemberGroupResponse ¶
type CreateMemberGroupResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // VPC通道后端服务器组列表 MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateMemberGroupResponse) String ¶
func (o CreateMemberGroupResponse) String() string
type CreateMqsInstanceTopicReq ¶
type CreateMqsInstanceTopicReq struct { // topic名称,以字母开头,仅能包含数字,字母,下划线(_),中划线(-),长度3-200字符。 Name string `json:"name"` // 集成应用key。 AppId string `json:"app_id"` // topic分区数,设置消费的并发数。 取值范围:1-50。 默认值:3。 Partition *int32 `json:"partition,omitempty"` // 副本数,配置数据的可靠性。 取值范围:1-3。 默认值:3。 > 体验版实例的副本数只能为1。 Replication *int32 `json:"replication,omitempty"` // 权限类型。 - all:发布+订阅 - pub:发布 - sub:订阅 AccessPolicy CreateMqsInstanceTopicReqAccessPolicy `json:"access_policy"` // 是否使用同步落盘。默认值为false。同步落盘会导致性能降低。 SyncMessageFlush *bool `json:"sync_message_flush,omitempty"` // 是否开启同步复制,开启后,客户端生产消息时相应的也要设置acks=-1,否则不生效,默认关闭。 SyncReplication *bool `json:"sync_replication,omitempty"` // 消息老化时间。默认值为72。取值范围1~720,单位小时。 RetentionTime *int32 `json:"retention_time,omitempty"` // 权限类型对应的标签。 当权限类型是all时,发布和订阅的标签用符号“&”隔开。 当有多个标签时,标签用符号“||”隔开。 Tag *string `json:"tag,omitempty"` // 描述。长度0-1000字符。 Description *string `json:"description,omitempty"` // 敏感字段。 当有多个敏感字段时,敏感字段用符号“||”隔开。 SensitiveWord *string `json:"sensitive_word,omitempty"` }
func (CreateMqsInstanceTopicReq) String ¶
func (o CreateMqsInstanceTopicReq) String() string
type CreateMqsInstanceTopicReqAccessPolicy ¶
type CreateMqsInstanceTopicReqAccessPolicy struct {
// contains filtered or unexported fields
}
func (CreateMqsInstanceTopicReqAccessPolicy) MarshalJSON ¶
func (c CreateMqsInstanceTopicReqAccessPolicy) MarshalJSON() ([]byte, error)
func (*CreateMqsInstanceTopicReqAccessPolicy) UnmarshalJSON ¶
func (c *CreateMqsInstanceTopicReqAccessPolicy) UnmarshalJSON(b []byte) error
func (CreateMqsInstanceTopicReqAccessPolicy) Value ¶ added in v0.0.90
func (c CreateMqsInstanceTopicReqAccessPolicy) Value() string
type CreateMqsInstanceTopicReqAccessPolicyEnum ¶
type CreateMqsInstanceTopicReqAccessPolicyEnum struct { ALL CreateMqsInstanceTopicReqAccessPolicy PUB CreateMqsInstanceTopicReqAccessPolicy SUB CreateMqsInstanceTopicReqAccessPolicy }
func GetCreateMqsInstanceTopicReqAccessPolicyEnum ¶
func GetCreateMqsInstanceTopicReqAccessPolicyEnum() CreateMqsInstanceTopicReqAccessPolicyEnum
type CreateMqsInstanceTopicRequest ¶
type CreateMqsInstanceTopicRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` Body *CreateMqsInstanceTopicReq `json:"body,omitempty"` }
Request Object
func (CreateMqsInstanceTopicRequest) String ¶
func (o CreateMqsInstanceTopicRequest) String() string
type CreateMqsInstanceTopicResponse ¶
type CreateMqsInstanceTopicResponse struct { // topic名称。 Name *string `json:"name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateMqsInstanceTopicResponse) String ¶
func (o CreateMqsInstanceTopicResponse) String() string
type CreateMultiTaskMappingsRequest ¶
type CreateMultiTaskMappingsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` Body *MultiTaskMappingCreateBody `json:"body,omitempty"` }
Request Object
func (CreateMultiTaskMappingsRequest) String ¶
func (o CreateMultiTaskMappingsRequest) String() string
type CreateMultiTaskMappingsResponse ¶
type CreateMultiTaskMappingsResponse struct { // 映射唯一ID MappingId *string `json:"mapping_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateMultiTaskMappingsResponse) String ¶
func (o CreateMultiTaskMappingsResponse) String() string
type CreateMultiTasksRequest ¶
type CreateMultiTasksRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *MultiTaskRequestBody `json:"body,omitempty"` }
Request Object
func (CreateMultiTasksRequest) String ¶
func (o CreateMultiTasksRequest) String() string
type CreateMultiTasksResponse ¶
type CreateMultiTasksResponse struct { // 任务ID, 可为空 TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateMultiTasksResponse) String ¶
func (o CreateMultiTasksResponse) String() string
type CreateNotificationRequest ¶
type CreateNotificationRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateNotificationRequestBody `json:"body,omitempty"` }
Request Object
func (CreateNotificationRequest) String ¶
func (o CreateNotificationRequest) String() string
type CreateNotificationRequestBody ¶
type CreateNotificationRequestBody struct { // 通知归属的应用ID AppId string `json:"app_id"` // 通知类型 0-设备上线通知 1-设备下线通知 2-设备添加通知 3-设备删除通知 4-设备变更通知 Type CreateNotificationRequestBodyType `json:"type"` // 通知发送的主题名,该主题需要在MQS存在 Topic string `json:"topic"` // 启停状态 0-启用 1-停用 Status CreateNotificationRequestBodyStatus `json:"status"` }
func (CreateNotificationRequestBody) String ¶
func (o CreateNotificationRequestBody) String() string
type CreateNotificationRequestBodyStatus ¶
type CreateNotificationRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (CreateNotificationRequestBodyStatus) MarshalJSON ¶
func (c CreateNotificationRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*CreateNotificationRequestBodyStatus) UnmarshalJSON ¶
func (c *CreateNotificationRequestBodyStatus) UnmarshalJSON(b []byte) error
func (CreateNotificationRequestBodyStatus) Value ¶ added in v0.0.90
func (c CreateNotificationRequestBodyStatus) Value() int32
type CreateNotificationRequestBodyStatusEnum ¶
type CreateNotificationRequestBodyStatusEnum struct { E_0 CreateNotificationRequestBodyStatus E_1 CreateNotificationRequestBodyStatus }
func GetCreateNotificationRequestBodyStatusEnum ¶
func GetCreateNotificationRequestBodyStatusEnum() CreateNotificationRequestBodyStatusEnum
type CreateNotificationRequestBodyType ¶
type CreateNotificationRequestBodyType struct {
// contains filtered or unexported fields
}
func (CreateNotificationRequestBodyType) MarshalJSON ¶
func (c CreateNotificationRequestBodyType) MarshalJSON() ([]byte, error)
func (*CreateNotificationRequestBodyType) UnmarshalJSON ¶
func (c *CreateNotificationRequestBodyType) UnmarshalJSON(b []byte) error
func (CreateNotificationRequestBodyType) Value ¶ added in v0.0.90
func (c CreateNotificationRequestBodyType) Value() int32
type CreateNotificationRequestBodyTypeEnum ¶
type CreateNotificationRequestBodyTypeEnum struct { E_0 CreateNotificationRequestBodyType E_1 CreateNotificationRequestBodyType E_2 CreateNotificationRequestBodyType E_3 CreateNotificationRequestBodyType E_4 CreateNotificationRequestBodyType }
func GetCreateNotificationRequestBodyTypeEnum ¶
func GetCreateNotificationRequestBodyTypeEnum() CreateNotificationRequestBodyTypeEnum
type CreateNotificationResponse ¶
type CreateNotificationResponse struct { // 订阅ID NotificationId *int64 `json:"notification_id,omitempty"` // 订阅类型, 0:设备上线通知类型, 1:设备下线通知类型, 2:设备添加通知类型, 3:设备删除通知类型, 4:设备变更通知类型 Type *CreateNotificationResponseType `json:"type,omitempty"` // 订阅管理状态,0:启用,1:停用 Status *CreateNotificationResponseStatus `json:"status,omitempty"` // 订阅的topic名称 Topic *string `json:"topic,omitempty"` // 实例ID InstanceId *string `json:"instance_id,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateNotificationResponse) String ¶
func (o CreateNotificationResponse) String() string
type CreateNotificationResponseStatus ¶
type CreateNotificationResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateNotificationResponseStatus) MarshalJSON ¶
func (c CreateNotificationResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateNotificationResponseStatus) UnmarshalJSON ¶
func (c *CreateNotificationResponseStatus) UnmarshalJSON(b []byte) error
func (CreateNotificationResponseStatus) Value ¶ added in v0.0.90
func (c CreateNotificationResponseStatus) Value() int32
type CreateNotificationResponseStatusEnum ¶
type CreateNotificationResponseStatusEnum struct { E_0 CreateNotificationResponseStatus E_1 CreateNotificationResponseStatus }
func GetCreateNotificationResponseStatusEnum ¶
func GetCreateNotificationResponseStatusEnum() CreateNotificationResponseStatusEnum
type CreateNotificationResponseType ¶
type CreateNotificationResponseType struct {
// contains filtered or unexported fields
}
func (CreateNotificationResponseType) MarshalJSON ¶
func (c CreateNotificationResponseType) MarshalJSON() ([]byte, error)
func (*CreateNotificationResponseType) UnmarshalJSON ¶
func (c *CreateNotificationResponseType) UnmarshalJSON(b []byte) error
func (CreateNotificationResponseType) Value ¶ added in v0.0.90
func (c CreateNotificationResponseType) Value() int32
type CreateNotificationResponseTypeEnum ¶
type CreateNotificationResponseTypeEnum struct { E_0 CreateNotificationResponseType E_1 CreateNotificationResponseType E_2 CreateNotificationResponseType E_3 CreateNotificationResponseType E_4 CreateNotificationResponseType }
func GetCreateNotificationResponseTypeEnum ¶
func GetCreateNotificationResponseTypeEnum() CreateNotificationResponseTypeEnum
type CreateOrDeletePublishRecordForApiV2Request ¶
type CreateOrDeletePublishRecordForApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ApiActionInfo `json:"body,omitempty"` }
Request Object
func (CreateOrDeletePublishRecordForApiV2Request) String ¶
func (o CreateOrDeletePublishRecordForApiV2Request) String() string
type CreateOrDeletePublishRecordForApiV2Response ¶
type CreateOrDeletePublishRecordForApiV2Response struct { // 发布记录的ID PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 发布描述 Remark *string `json:"remark,omitempty"` // 发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // 在线的版本号 VersionId *string `json:"version_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateOrDeletePublishRecordForApiV2Response) String ¶
func (o CreateOrDeletePublishRecordForApiV2Response) String() string
type CreateProductRequest ¶
type CreateProductRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateProductRequestBody `json:"body,omitempty"` }
Request Object
func (CreateProductRequest) String ¶
func (o CreateProductRequest) String() string
type CreateProductRequestBody ¶
type CreateProductRequestBody struct { // 应用ID AppId string `json:"app_id"` // 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线 Name string `json:"name"` // 产品供应商ID ManufacturerId string `json:"manufacturer_id"` // 厂商名称 ManufacturerName string `json:"manufacturer_name"` // 产品型号 Model string `json:"model"` // 产品类型,0-普通产品(不支持子设备) 1-网关产品 ProductType CreateProductRequestBodyProductType `json:"product_type"` // 产品描述,长度0-200 Description *string `json:"description,omitempty"` // 产品的协议类型 0-mqtt 2-modbus 4-opcua ProtocolType CreateProductRequestBodyProtocolType `json:"protocol_type"` // 产品的设备类型(默认Default) DeviceType *string `json:"device_type,omitempty"` // 关联产品模板ID(使用产品模板创建产品时使用,否则为空),自动向下取整 TemplateId *int32 `json:"template_id,omitempty"` // 模型版本 Version *string `json:"version,omitempty"` // 产品的数据格式 0-JSON 1-USER_DEFINED DataFormat *CreateProductRequestBodyDataFormat `json:"data_format,omitempty"` }
func (CreateProductRequestBody) String ¶
func (o CreateProductRequestBody) String() string
type CreateProductRequestBodyDataFormat ¶ added in v0.0.78
type CreateProductRequestBodyDataFormat struct {
// contains filtered or unexported fields
}
func (CreateProductRequestBodyDataFormat) MarshalJSON ¶ added in v0.0.78
func (c CreateProductRequestBodyDataFormat) MarshalJSON() ([]byte, error)
func (*CreateProductRequestBodyDataFormat) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateProductRequestBodyDataFormat) UnmarshalJSON(b []byte) error
func (CreateProductRequestBodyDataFormat) Value ¶ added in v0.0.90
func (c CreateProductRequestBodyDataFormat) Value() int32
type CreateProductRequestBodyDataFormatEnum ¶ added in v0.0.78
type CreateProductRequestBodyDataFormatEnum struct { E_0 CreateProductRequestBodyDataFormat E_1 CreateProductRequestBodyDataFormat }
func GetCreateProductRequestBodyDataFormatEnum ¶ added in v0.0.78
func GetCreateProductRequestBodyDataFormatEnum() CreateProductRequestBodyDataFormatEnum
type CreateProductRequestBodyProductType ¶ added in v0.0.78
type CreateProductRequestBodyProductType struct {
// contains filtered or unexported fields
}
func (CreateProductRequestBodyProductType) MarshalJSON ¶ added in v0.0.78
func (c CreateProductRequestBodyProductType) MarshalJSON() ([]byte, error)
func (*CreateProductRequestBodyProductType) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateProductRequestBodyProductType) UnmarshalJSON(b []byte) error
func (CreateProductRequestBodyProductType) Value ¶ added in v0.0.90
func (c CreateProductRequestBodyProductType) Value() int32
type CreateProductRequestBodyProductTypeEnum ¶ added in v0.0.78
type CreateProductRequestBodyProductTypeEnum struct { E_0 CreateProductRequestBodyProductType E_1 CreateProductRequestBodyProductType }
func GetCreateProductRequestBodyProductTypeEnum ¶ added in v0.0.78
func GetCreateProductRequestBodyProductTypeEnum() CreateProductRequestBodyProductTypeEnum
type CreateProductRequestBodyProtocolType ¶ added in v0.0.78
type CreateProductRequestBodyProtocolType struct {
// contains filtered or unexported fields
}
func (CreateProductRequestBodyProtocolType) MarshalJSON ¶ added in v0.0.78
func (c CreateProductRequestBodyProtocolType) MarshalJSON() ([]byte, error)
func (*CreateProductRequestBodyProtocolType) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateProductRequestBodyProtocolType) UnmarshalJSON(b []byte) error
func (CreateProductRequestBodyProtocolType) Value ¶ added in v0.0.90
func (c CreateProductRequestBodyProtocolType) Value() int32
type CreateProductRequestBodyProtocolTypeEnum ¶ added in v0.0.78
type CreateProductRequestBodyProtocolTypeEnum struct { E_0 CreateProductRequestBodyProtocolType E_2 CreateProductRequestBodyProtocolType E_4 CreateProductRequestBodyProtocolType }
func GetCreateProductRequestBodyProtocolTypeEnum ¶ added in v0.0.78
func GetCreateProductRequestBodyProtocolTypeEnum() CreateProductRequestBodyProtocolTypeEnum
type CreateProductResponse ¶
type CreateProductResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 产品ID Id *int32 `json:"id,omitempty"` // 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品) ProductSerial *string `json:"product_serial,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线 Name *string `json:"name,omitempty"` // 产品供应商ID ManufacturerId *string `json:"manufacturer_id,omitempty"` // 厂商名称 ManufacturerName *string `json:"manufacturer_name,omitempty"` // 产品型号 Model *string `json:"model,omitempty"` // 产品类型,0-普通产品(不支持子设备) 1-网关产品 ProductType *CreateProductResponseProductType `json:"product_type,omitempty"` // 产品描述,长度0-200 Description *string `json:"description,omitempty"` // 产品的协议类型 0-mqtt 2-modbus 4-opcua ProtocolType *CreateProductResponseProtocolType `json:"protocol_type,omitempty"` // 产品的设备类型(默认Default) DeviceType *string `json:"device_type,omitempty"` // 产品版本 Version *string `json:"version,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` Authentication *Authentication `json:"authentication,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // data_format 0-JSON 1-USER_DEFINED DataFormat *int32 `json:"data_format,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProductResponse) String ¶
func (o CreateProductResponse) String() string
type CreateProductResponseProductType ¶ added in v0.0.78
type CreateProductResponseProductType struct {
// contains filtered or unexported fields
}
func (CreateProductResponseProductType) MarshalJSON ¶ added in v0.0.78
func (c CreateProductResponseProductType) MarshalJSON() ([]byte, error)
func (*CreateProductResponseProductType) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateProductResponseProductType) UnmarshalJSON(b []byte) error
func (CreateProductResponseProductType) Value ¶ added in v0.0.90
func (c CreateProductResponseProductType) Value() int32
type CreateProductResponseProductTypeEnum ¶ added in v0.0.78
type CreateProductResponseProductTypeEnum struct { E_0 CreateProductResponseProductType E_1 CreateProductResponseProductType }
func GetCreateProductResponseProductTypeEnum ¶ added in v0.0.78
func GetCreateProductResponseProductTypeEnum() CreateProductResponseProductTypeEnum
type CreateProductResponseProtocolType ¶ added in v0.0.78
type CreateProductResponseProtocolType struct {
// contains filtered or unexported fields
}
func (CreateProductResponseProtocolType) MarshalJSON ¶ added in v0.0.78
func (c CreateProductResponseProtocolType) MarshalJSON() ([]byte, error)
func (*CreateProductResponseProtocolType) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateProductResponseProtocolType) UnmarshalJSON(b []byte) error
func (CreateProductResponseProtocolType) Value ¶ added in v0.0.90
func (c CreateProductResponseProtocolType) Value() int32
type CreateProductResponseProtocolTypeEnum ¶ added in v0.0.78
type CreateProductResponseProtocolTypeEnum struct { E_0 CreateProductResponseProtocolType E_2 CreateProductResponseProtocolType E_4 CreateProductResponseProtocolType }
func GetCreateProductResponseProtocolTypeEnum ¶ added in v0.0.78
func GetCreateProductResponseProtocolTypeEnum() CreateProductResponseProtocolTypeEnum
type CreateProductTemplateRequest ¶
type CreateProductTemplateRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateProductTemplateRequestBody `json:"body,omitempty"` }
Request Object
func (CreateProductTemplateRequest) String ¶
func (o CreateProductTemplateRequest) String() string
type CreateProductTemplateRequestBody ¶
type CreateProductTemplateRequestBody struct { // 产品模板名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 Name string `json:"name"` // 产品模板描述,长度0-200 Description *string `json:"description,omitempty"` // 产品模板状态 0-启用 1-禁用 Status CreateProductTemplateRequestBodyStatus `json:"status"` }
func (CreateProductTemplateRequestBody) String ¶
func (o CreateProductTemplateRequestBody) String() string
type CreateProductTemplateRequestBodyStatus ¶ added in v0.0.78
type CreateProductTemplateRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (CreateProductTemplateRequestBodyStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateProductTemplateRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*CreateProductTemplateRequestBodyStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateProductTemplateRequestBodyStatus) UnmarshalJSON(b []byte) error
func (CreateProductTemplateRequestBodyStatus) Value ¶ added in v0.0.90
func (c CreateProductTemplateRequestBodyStatus) Value() int32
type CreateProductTemplateRequestBodyStatusEnum ¶ added in v0.0.78
type CreateProductTemplateRequestBodyStatusEnum struct { E_0 CreateProductTemplateRequestBodyStatus E_1 CreateProductTemplateRequestBodyStatus }
func GetCreateProductTemplateRequestBodyStatusEnum ¶ added in v0.0.78
func GetCreateProductTemplateRequestBodyStatusEnum() CreateProductTemplateRequestBodyStatusEnum
type CreateProductTemplateResponse ¶
type CreateProductTemplateResponse struct { // 产品模板ID Id *int32 `json:"id,omitempty"` // 产品模板名称 Name *string `json:"name,omitempty"` // 产品模板描述 Description *string `json:"description,omitempty"` // 产品模板状态 0-启用 1-停用 Status *CreateProductTemplateResponseStatus `json:"status,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProductTemplateResponse) String ¶
func (o CreateProductTemplateResponse) String() string
type CreateProductTemplateResponseStatus ¶ added in v0.0.78
type CreateProductTemplateResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateProductTemplateResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateProductTemplateResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateProductTemplateResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateProductTemplateResponseStatus) UnmarshalJSON(b []byte) error
func (CreateProductTemplateResponseStatus) Value ¶ added in v0.0.90
func (c CreateProductTemplateResponseStatus) Value() int32
type CreateProductTemplateResponseStatusEnum ¶ added in v0.0.78
type CreateProductTemplateResponseStatusEnum struct { E_0 CreateProductTemplateResponseStatus E_1 CreateProductTemplateResponseStatus }
func GetCreateProductTemplateResponseStatusEnum ¶ added in v0.0.78
func GetCreateProductTemplateResponseStatusEnum() CreateProductTemplateResponseStatusEnum
type CreateProductTopicRequest ¶
type CreateProductTopicRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` Body *CreateProductTopicRequestBody `json:"body,omitempty"` }
Request Object
func (CreateProductTopicRequest) String ¶
func (o CreateProductTopicRequest) String() string
type CreateProductTopicRequestBody ¶
type CreateProductTopicRequestBody struct { // 主题权限 0-发布 1-订阅 Permission CreateProductTopicRequestBodyPermission `json:"permission"` // 产品级主题名称<br>Topic类格式必须以“/”进行分层,区分每个类目。其中第一个为用户自定义的版本号;第二个已经规定好,为${deviceId}通配设备ID;第三个为用户自定义的topic类名(即本字段)。Topic类组成即为:/${version}/${deviceId}/${customizePart}。简单来说,Topic类:/v1/${deviceId}/customizePart是具体Topic:/v1/deviceid1/customizePart1和/v1/deviceid2/customizePart2等的集合。 Name string `json:"name"` // 版本号,输入2-50个字符。值以字母或数字开头和结尾。仅允许使用字母,数字,中划线和点号。 Version string `json:"version"` // 描述 Description *string `json:"description,omitempty"` }
func (CreateProductTopicRequestBody) String ¶
func (o CreateProductTopicRequestBody) String() string
type CreateProductTopicRequestBodyPermission ¶ added in v0.0.78
type CreateProductTopicRequestBodyPermission struct {
// contains filtered or unexported fields
}
func (CreateProductTopicRequestBodyPermission) MarshalJSON ¶ added in v0.0.78
func (c CreateProductTopicRequestBodyPermission) MarshalJSON() ([]byte, error)
func (*CreateProductTopicRequestBodyPermission) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateProductTopicRequestBodyPermission) UnmarshalJSON(b []byte) error
func (CreateProductTopicRequestBodyPermission) Value ¶ added in v0.0.90
func (c CreateProductTopicRequestBodyPermission) Value() int32
type CreateProductTopicRequestBodyPermissionEnum ¶ added in v0.0.78
type CreateProductTopicRequestBodyPermissionEnum struct { E_0 CreateProductTopicRequestBodyPermission E_1 CreateProductTopicRequestBodyPermission }
func GetCreateProductTopicRequestBodyPermissionEnum ¶ added in v0.0.78
func GetCreateProductTopicRequestBodyPermissionEnum() CreateProductTopicRequestBodyPermissionEnum
type CreateProductTopicResponse ¶
type CreateProductTopicResponse struct { // 归属产品ID ProductId *int32 `json:"product_id,omitempty"` // 产品主题ID TopicId *string `json:"topic_id,omitempty"` // 主题权限 0-发布 1-订阅 Permission *CreateProductTopicResponsePermission `json:"permission,omitempty"` // 主题名称 TopicName *string `json:"topic_name,omitempty"` // 版本号 Version *string `json:"version,omitempty"` // 描述 Description *string `json:"description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProductTopicResponse) String ¶
func (o CreateProductTopicResponse) String() string
type CreateProductTopicResponsePermission ¶ added in v0.0.78
type CreateProductTopicResponsePermission struct {
// contains filtered or unexported fields
}
func (CreateProductTopicResponsePermission) MarshalJSON ¶ added in v0.0.78
func (c CreateProductTopicResponsePermission) MarshalJSON() ([]byte, error)
func (*CreateProductTopicResponsePermission) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateProductTopicResponsePermission) UnmarshalJSON(b []byte) error
func (CreateProductTopicResponsePermission) Value ¶ added in v0.0.90
func (c CreateProductTopicResponsePermission) Value() int32
type CreateProductTopicResponsePermissionEnum ¶ added in v0.0.78
type CreateProductTopicResponsePermissionEnum struct { E_0 CreateProductTopicResponsePermission E_1 CreateProductTopicResponsePermission }
func GetCreateProductTopicResponsePermissionEnum ¶ added in v0.0.78
func GetCreateProductTopicResponsePermissionEnum() CreateProductTopicResponsePermissionEnum
type CreateProjectVpcChannelRequest ¶
type CreateProjectVpcChannelRequest struct {
Body *ProjectVpcCreate `json:"body,omitempty"`
}
Request Object
func (CreateProjectVpcChannelRequest) String ¶
func (o CreateProjectVpcChannelRequest) String() string
type CreateProjectVpcChannelResponse ¶
type CreateProjectVpcChannelResponse struct { // 项目VPC通道列表 ProjectVpcChannels *[]ProjectVpcChannelInfo `json:"project_vpc_channels,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProjectVpcChannelResponse) String ¶
func (o CreateProjectVpcChannelResponse) String() string
type CreateProjectVpcChannelSyncsRequest ¶
type CreateProjectVpcChannelSyncsRequest struct {
Body *ProjectVpcSync `json:"body,omitempty"`
}
Request Object
func (CreateProjectVpcChannelSyncsRequest) String ¶
func (o CreateProjectVpcChannelSyncsRequest) String() string
type CreateProjectVpcChannelSyncsResponse ¶
type CreateProjectVpcChannelSyncsResponse struct { // 项目VPC通道列表 ProjectVpcChannels *[]ProjectVpcChannelInfo `json:"project_vpc_channels,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateProjectVpcChannelSyncsResponse) String ¶
func (o CreateProjectVpcChannelSyncsResponse) String() string
type CreatePropertyRequest ¶
type CreatePropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` Body *CreatePropertyRequestBody `json:"body,omitempty"` }
Request Object
func (CreatePropertyRequest) String ¶
func (o CreatePropertyRequest) String() string
type CreatePropertyRequestBody ¶
type CreatePropertyRequestBody struct { // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName string `json:"property_name"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType CreatePropertyRequestBodyDataType `json:"data_type"` // 是否必填 0-非必填 1-必填 Required CreatePropertyRequestBodyRequired `json:"required"` // 最小值,当data_type为integer或number时必填 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时必填 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时必填 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时必填,自动向下取整 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` }
func (CreatePropertyRequestBody) String ¶
func (o CreatePropertyRequestBody) String() string
type CreatePropertyRequestBodyDataType ¶
type CreatePropertyRequestBodyDataType struct {
// contains filtered or unexported fields
}
func (CreatePropertyRequestBodyDataType) MarshalJSON ¶
func (c CreatePropertyRequestBodyDataType) MarshalJSON() ([]byte, error)
func (*CreatePropertyRequestBodyDataType) UnmarshalJSON ¶
func (c *CreatePropertyRequestBodyDataType) UnmarshalJSON(b []byte) error
func (CreatePropertyRequestBodyDataType) Value ¶ added in v0.0.90
func (c CreatePropertyRequestBodyDataType) Value() string
type CreatePropertyRequestBodyDataTypeEnum ¶
type CreatePropertyRequestBodyDataTypeEnum struct { INTEGER CreatePropertyRequestBodyDataType NUMBER CreatePropertyRequestBodyDataType STRING CreatePropertyRequestBodyDataType DATETIME CreatePropertyRequestBodyDataType JSON CreatePropertyRequestBodyDataType }
func GetCreatePropertyRequestBodyDataTypeEnum ¶
func GetCreatePropertyRequestBodyDataTypeEnum() CreatePropertyRequestBodyDataTypeEnum
type CreatePropertyRequestBodyRequired ¶ added in v0.0.78
type CreatePropertyRequestBodyRequired struct {
// contains filtered or unexported fields
}
func (CreatePropertyRequestBodyRequired) MarshalJSON ¶ added in v0.0.78
func (c CreatePropertyRequestBodyRequired) MarshalJSON() ([]byte, error)
func (*CreatePropertyRequestBodyRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *CreatePropertyRequestBodyRequired) UnmarshalJSON(b []byte) error
func (CreatePropertyRequestBodyRequired) Value ¶ added in v0.0.90
func (c CreatePropertyRequestBodyRequired) Value() int32
type CreatePropertyRequestBodyRequiredEnum ¶ added in v0.0.78
type CreatePropertyRequestBodyRequiredEnum struct { E_0 CreatePropertyRequestBodyRequired E_1 CreatePropertyRequestBodyRequired }
func GetCreatePropertyRequestBodyRequiredEnum ¶ added in v0.0.78
func GetCreatePropertyRequestBodyRequiredEnum() CreatePropertyRequestBodyRequiredEnum
type CreatePropertyResponse ¶
type CreatePropertyResponse struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *CreatePropertyResponseDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *CreatePropertyResponseRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePropertyResponse) String ¶
func (o CreatePropertyResponse) String() string
type CreatePropertyResponseDataType ¶
type CreatePropertyResponseDataType struct {
// contains filtered or unexported fields
}
func (CreatePropertyResponseDataType) MarshalJSON ¶
func (c CreatePropertyResponseDataType) MarshalJSON() ([]byte, error)
func (*CreatePropertyResponseDataType) UnmarshalJSON ¶
func (c *CreatePropertyResponseDataType) UnmarshalJSON(b []byte) error
func (CreatePropertyResponseDataType) Value ¶ added in v0.0.90
func (c CreatePropertyResponseDataType) Value() string
type CreatePropertyResponseDataTypeEnum ¶
type CreatePropertyResponseDataTypeEnum struct { INTEGER CreatePropertyResponseDataType NUMBER CreatePropertyResponseDataType STRING CreatePropertyResponseDataType DATETIME CreatePropertyResponseDataType JSON CreatePropertyResponseDataType }
func GetCreatePropertyResponseDataTypeEnum ¶
func GetCreatePropertyResponseDataTypeEnum() CreatePropertyResponseDataTypeEnum
type CreatePropertyResponseRequired ¶ added in v0.0.78
type CreatePropertyResponseRequired struct {
// contains filtered or unexported fields
}
func (CreatePropertyResponseRequired) MarshalJSON ¶ added in v0.0.78
func (c CreatePropertyResponseRequired) MarshalJSON() ([]byte, error)
func (*CreatePropertyResponseRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *CreatePropertyResponseRequired) UnmarshalJSON(b []byte) error
func (CreatePropertyResponseRequired) Value ¶ added in v0.0.90
func (c CreatePropertyResponseRequired) Value() int32
type CreatePropertyResponseRequiredEnum ¶ added in v0.0.78
type CreatePropertyResponseRequiredEnum struct { E_0 CreatePropertyResponseRequired E_1 CreatePropertyResponseRequired }
func GetCreatePropertyResponseRequiredEnum ¶ added in v0.0.78
func GetCreatePropertyResponseRequiredEnum() CreatePropertyResponseRequiredEnum
type CreateRequestPropertyRequest ¶
type CreateRequestPropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` Body *CreatePropertyRequestBody `json:"body,omitempty"` }
Request Object
func (CreateRequestPropertyRequest) String ¶
func (o CreateRequestPropertyRequest) String() string
type CreateRequestPropertyResponse ¶
type CreateRequestPropertyResponse struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *CreateRequestPropertyResponseDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *CreateRequestPropertyResponseRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRequestPropertyResponse) String ¶
func (o CreateRequestPropertyResponse) String() string
type CreateRequestPropertyResponseDataType ¶
type CreateRequestPropertyResponseDataType struct {
// contains filtered or unexported fields
}
func (CreateRequestPropertyResponseDataType) MarshalJSON ¶
func (c CreateRequestPropertyResponseDataType) MarshalJSON() ([]byte, error)
func (*CreateRequestPropertyResponseDataType) UnmarshalJSON ¶
func (c *CreateRequestPropertyResponseDataType) UnmarshalJSON(b []byte) error
func (CreateRequestPropertyResponseDataType) Value ¶ added in v0.0.90
func (c CreateRequestPropertyResponseDataType) Value() string
type CreateRequestPropertyResponseDataTypeEnum ¶
type CreateRequestPropertyResponseDataTypeEnum struct { INTEGER CreateRequestPropertyResponseDataType NUMBER CreateRequestPropertyResponseDataType STRING CreateRequestPropertyResponseDataType DATETIME CreateRequestPropertyResponseDataType JSON CreateRequestPropertyResponseDataType }
func GetCreateRequestPropertyResponseDataTypeEnum ¶
func GetCreateRequestPropertyResponseDataTypeEnum() CreateRequestPropertyResponseDataTypeEnum
type CreateRequestPropertyResponseRequired ¶ added in v0.0.78
type CreateRequestPropertyResponseRequired struct {
// contains filtered or unexported fields
}
func (CreateRequestPropertyResponseRequired) MarshalJSON ¶ added in v0.0.78
func (c CreateRequestPropertyResponseRequired) MarshalJSON() ([]byte, error)
func (*CreateRequestPropertyResponseRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateRequestPropertyResponseRequired) UnmarshalJSON(b []byte) error
func (CreateRequestPropertyResponseRequired) Value ¶ added in v0.0.90
func (c CreateRequestPropertyResponseRequired) Value() int32
type CreateRequestPropertyResponseRequiredEnum ¶ added in v0.0.78
type CreateRequestPropertyResponseRequiredEnum struct { E_0 CreateRequestPropertyResponseRequired E_1 CreateRequestPropertyResponseRequired }
func GetCreateRequestPropertyResponseRequiredEnum ¶ added in v0.0.78
func GetCreateRequestPropertyResponseRequiredEnum() CreateRequestPropertyResponseRequiredEnum
type CreateRequestThrottlingPolicyV2Request ¶
type CreateRequestThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ThrottleBaseInfo `json:"body,omitempty"` }
Request Object
func (CreateRequestThrottlingPolicyV2Request) String ¶
func (o CreateRequestThrottlingPolicyV2Request) String() string
type CreateRequestThrottlingPolicyV2Response ¶
type CreateRequestThrottlingPolicyV2Response struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit CreateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *CreateRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site) UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRequestThrottlingPolicyV2Response) String ¶
func (o CreateRequestThrottlingPolicyV2Response) String() string
type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle ¶
type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON ¶
func (c CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON ¶
func (c *CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value ¶ added in v0.0.90
func (c CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value() int32
type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶
type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum struct { E_1 CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle E_2 CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle }
func GetCreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶
func GetCreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum() CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
type CreateRequestThrottlingPolicyV2ResponseTimeUnit ¶
type CreateRequestThrottlingPolicyV2ResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON ¶
func (c CreateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*CreateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON ¶
func (c *CreateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON(b []byte) error
func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) Value ¶ added in v0.0.90
func (c CreateRequestThrottlingPolicyV2ResponseTimeUnit) Value() string
type CreateRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
type CreateRequestThrottlingPolicyV2ResponseTimeUnitEnum struct { SECOND CreateRequestThrottlingPolicyV2ResponseTimeUnit MINUTE CreateRequestThrottlingPolicyV2ResponseTimeUnit HOUR CreateRequestThrottlingPolicyV2ResponseTimeUnit DAY CreateRequestThrottlingPolicyV2ResponseTimeUnit }
func GetCreateRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
func GetCreateRequestThrottlingPolicyV2ResponseTimeUnitEnum() CreateRequestThrottlingPolicyV2ResponseTimeUnitEnum
type CreateRequestThrottlingPolicyV2ResponseType ¶
type CreateRequestThrottlingPolicyV2ResponseType struct {
// contains filtered or unexported fields
}
func (CreateRequestThrottlingPolicyV2ResponseType) MarshalJSON ¶
func (c CreateRequestThrottlingPolicyV2ResponseType) MarshalJSON() ([]byte, error)
func (*CreateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON ¶
func (c *CreateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON(b []byte) error
func (CreateRequestThrottlingPolicyV2ResponseType) Value ¶ added in v0.0.90
func (c CreateRequestThrottlingPolicyV2ResponseType) Value() int32
type CreateRequestThrottlingPolicyV2ResponseTypeEnum ¶
type CreateRequestThrottlingPolicyV2ResponseTypeEnum struct { E_1 CreateRequestThrottlingPolicyV2ResponseType E_2 CreateRequestThrottlingPolicyV2ResponseType }
func GetCreateRequestThrottlingPolicyV2ResponseTypeEnum ¶
func GetCreateRequestThrottlingPolicyV2ResponseTypeEnum() CreateRequestThrottlingPolicyV2ResponseTypeEnum
type CreateResponsePropertyRequest ¶
type CreateResponsePropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` Body *CreatePropertyRequestBody `json:"body,omitempty"` }
Request Object
func (CreateResponsePropertyRequest) String ¶
func (o CreateResponsePropertyRequest) String() string
type CreateResponsePropertyResponse ¶
type CreateResponsePropertyResponse struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *CreateResponsePropertyResponseDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *CreateResponsePropertyResponseRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateResponsePropertyResponse) String ¶
func (o CreateResponsePropertyResponse) String() string
type CreateResponsePropertyResponseDataType ¶
type CreateResponsePropertyResponseDataType struct {
// contains filtered or unexported fields
}
func (CreateResponsePropertyResponseDataType) MarshalJSON ¶
func (c CreateResponsePropertyResponseDataType) MarshalJSON() ([]byte, error)
func (*CreateResponsePropertyResponseDataType) UnmarshalJSON ¶
func (c *CreateResponsePropertyResponseDataType) UnmarshalJSON(b []byte) error
func (CreateResponsePropertyResponseDataType) Value ¶ added in v0.0.90
func (c CreateResponsePropertyResponseDataType) Value() string
type CreateResponsePropertyResponseDataTypeEnum ¶
type CreateResponsePropertyResponseDataTypeEnum struct { INTEGER CreateResponsePropertyResponseDataType NUMBER CreateResponsePropertyResponseDataType STRING CreateResponsePropertyResponseDataType DATETIME CreateResponsePropertyResponseDataType JSON CreateResponsePropertyResponseDataType }
func GetCreateResponsePropertyResponseDataTypeEnum ¶
func GetCreateResponsePropertyResponseDataTypeEnum() CreateResponsePropertyResponseDataTypeEnum
type CreateResponsePropertyResponseRequired ¶ added in v0.0.78
type CreateResponsePropertyResponseRequired struct {
// contains filtered or unexported fields
}
func (CreateResponsePropertyResponseRequired) MarshalJSON ¶ added in v0.0.78
func (c CreateResponsePropertyResponseRequired) MarshalJSON() ([]byte, error)
func (*CreateResponsePropertyResponseRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateResponsePropertyResponseRequired) UnmarshalJSON(b []byte) error
func (CreateResponsePropertyResponseRequired) Value ¶ added in v0.0.90
func (c CreateResponsePropertyResponseRequired) Value() int32
type CreateResponsePropertyResponseRequiredEnum ¶ added in v0.0.78
type CreateResponsePropertyResponseRequiredEnum struct { E_0 CreateResponsePropertyResponseRequired E_1 CreateResponsePropertyResponseRequired }
func GetCreateResponsePropertyResponseRequiredEnum ¶ added in v0.0.78
func GetCreateResponsePropertyResponseRequiredEnum() CreateResponsePropertyResponseRequiredEnum
type CreateRomaAppRequest ¶
type CreateRomaAppRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateAppReq `json:"body,omitempty"` }
Request Object
func (CreateRomaAppRequest) String ¶
func (o CreateRomaAppRequest) String() string
type CreateRomaAppResponse ¶
type CreateRomaAppResponse struct { // 应用ID Id *string `json:"id,omitempty"` // 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 应用描述 Remark *string `json:"remark,omitempty"` // 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限 Roles *[]CreateRomaAppResponseRoles `json:"roles,omitempty"` // 创建UTC时间 CreateTime *string `json:"create_time,omitempty"` // 创建UTC时间 UpdateTime *string `json:"update_time,omitempty"` CreatedUser *ServerAppInfoCreatedUser `json:"created_user,omitempty"` LastUpdatedUser *ServerAppInfoLastUpdatedUser `json:"last_updated_user,omitempty"` // 是否是应用拥有者 Owner *bool `json:"owner,omitempty"` // 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一 Key *string `json:"key,omitempty"` // 是否收藏应用,收藏的应用会在列表里优先显示 Favorite *bool `json:"favorite,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRomaAppResponse) String ¶
func (o CreateRomaAppResponse) String() string
type CreateRomaAppResponseRoles ¶
type CreateRomaAppResponseRoles struct {
// contains filtered or unexported fields
}
func (CreateRomaAppResponseRoles) MarshalJSON ¶
func (c CreateRomaAppResponseRoles) MarshalJSON() ([]byte, error)
func (*CreateRomaAppResponseRoles) UnmarshalJSON ¶
func (c *CreateRomaAppResponseRoles) UnmarshalJSON(b []byte) error
func (CreateRomaAppResponseRoles) Value ¶ added in v0.0.90
func (c CreateRomaAppResponseRoles) Value() string
type CreateRomaAppResponseRolesEnum ¶
type CreateRomaAppResponseRolesEnum struct { READ CreateRomaAppResponseRoles ACCESS CreateRomaAppResponseRoles DELETE CreateRomaAppResponseRoles MODIFY CreateRomaAppResponseRoles ADMIN CreateRomaAppResponseRoles }
func GetCreateRomaAppResponseRolesEnum ¶
func GetCreateRomaAppResponseRolesEnum() CreateRomaAppResponseRolesEnum
type CreateRuleRequest ¶
type CreateRuleRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateRuleRequestBody `json:"body,omitempty"` }
Request Object
func (CreateRuleRequest) String ¶
func (o CreateRuleRequest) String() string
type CreateRuleRequestBody ¶
type CreateRuleRequestBody struct { // 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64 Name string `json:"name"` // 应用ID AppId string `json:"app_id"` // 描述,长度0-200 Description *string `json:"description,omitempty"` // 规则状态 0-启用 1-停用,不填写时默认为0-启用 Status *CreateRuleRequestBodyStatus `json:"status,omitempty"` // 数据解析状态,0-启用 1-停用,不填写时默认为1-禁用 DataParsingStatus *CreateRuleRequestBodyDataParsingStatus `json:"data_parsing_status,omitempty"` }
func (CreateRuleRequestBody) String ¶
func (o CreateRuleRequestBody) String() string
type CreateRuleRequestBodyDataParsingStatus ¶ added in v0.0.78
type CreateRuleRequestBodyDataParsingStatus struct {
// contains filtered or unexported fields
}
func (CreateRuleRequestBodyDataParsingStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateRuleRequestBodyDataParsingStatus) MarshalJSON() ([]byte, error)
func (*CreateRuleRequestBodyDataParsingStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateRuleRequestBodyDataParsingStatus) UnmarshalJSON(b []byte) error
func (CreateRuleRequestBodyDataParsingStatus) Value ¶ added in v0.0.90
func (c CreateRuleRequestBodyDataParsingStatus) Value() int32
type CreateRuleRequestBodyDataParsingStatusEnum ¶ added in v0.0.78
type CreateRuleRequestBodyDataParsingStatusEnum struct { E_0 CreateRuleRequestBodyDataParsingStatus E_1 CreateRuleRequestBodyDataParsingStatus }
func GetCreateRuleRequestBodyDataParsingStatusEnum ¶ added in v0.0.78
func GetCreateRuleRequestBodyDataParsingStatusEnum() CreateRuleRequestBodyDataParsingStatusEnum
type CreateRuleRequestBodyStatus ¶ added in v0.0.78
type CreateRuleRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (CreateRuleRequestBodyStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateRuleRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*CreateRuleRequestBodyStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateRuleRequestBodyStatus) UnmarshalJSON(b []byte) error
func (CreateRuleRequestBodyStatus) Value ¶ added in v0.0.90
func (c CreateRuleRequestBodyStatus) Value() int32
type CreateRuleRequestBodyStatusEnum ¶ added in v0.0.78
type CreateRuleRequestBodyStatusEnum struct { E_0 CreateRuleRequestBodyStatus E_1 CreateRuleRequestBodyStatus }
func GetCreateRuleRequestBodyStatusEnum ¶ added in v0.0.78
func GetCreateRuleRequestBodyStatusEnum() CreateRuleRequestBodyStatusEnum
type CreateRuleResponse ¶
type CreateRuleResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 规则ID RuleId *int32 `json:"rule_id,omitempty"` // 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64 Name *string `json:"name,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 规则状态 0-启用 1-停用 Status *CreateRuleResponseStatus `json:"status,omitempty"` // 数据解析状态,ENABLE时data_parsing必填 0-启用 1-停用 DataParsingStatus *CreateRuleResponseDataParsingStatus `json:"data_parsing_status,omitempty"` // SQL查询字段 SqlField *string `json:"sql_field,omitempty"` // SQL查询条件 SqlWhere *string `json:"sql_where,omitempty"` // 完整的规则表达式 RuleExpress *string `json:"rule_express,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateRuleResponse) String ¶
func (o CreateRuleResponse) String() string
type CreateRuleResponseDataParsingStatus ¶ added in v0.0.78
type CreateRuleResponseDataParsingStatus struct {
// contains filtered or unexported fields
}
func (CreateRuleResponseDataParsingStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateRuleResponseDataParsingStatus) MarshalJSON() ([]byte, error)
func (*CreateRuleResponseDataParsingStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateRuleResponseDataParsingStatus) UnmarshalJSON(b []byte) error
func (CreateRuleResponseDataParsingStatus) Value ¶ added in v0.0.90
func (c CreateRuleResponseDataParsingStatus) Value() int32
type CreateRuleResponseDataParsingStatusEnum ¶ added in v0.0.78
type CreateRuleResponseDataParsingStatusEnum struct { E_0 CreateRuleResponseDataParsingStatus E_1 CreateRuleResponseDataParsingStatus }
func GetCreateRuleResponseDataParsingStatusEnum ¶ added in v0.0.78
func GetCreateRuleResponseDataParsingStatusEnum() CreateRuleResponseDataParsingStatusEnum
type CreateRuleResponseStatus ¶ added in v0.0.78
type CreateRuleResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateRuleResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateRuleResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateRuleResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateRuleResponseStatus) UnmarshalJSON(b []byte) error
func (CreateRuleResponseStatus) Value ¶ added in v0.0.90
func (c CreateRuleResponseStatus) Value() int32
type CreateRuleResponseStatusEnum ¶ added in v0.0.78
type CreateRuleResponseStatusEnum struct { E_0 CreateRuleResponseStatus E_1 CreateRuleResponseStatus }
func GetCreateRuleResponseStatusEnum ¶ added in v0.0.78
func GetCreateRuleResponseStatusEnum() CreateRuleResponseStatusEnum
type CreateServiceRequest ¶
type CreateServiceRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *CreateServiceRequestBody `json:"body,omitempty"` }
Request Object
func (CreateServiceRequest) String ¶
func (o CreateServiceRequest) String() string
type CreateServiceRequestBody ¶
type CreateServiceRequestBody struct { // 服务归属的产品模板ID,产品模板ID和产品ID二选一必填,自动向下取整 ProductTemplateId *int32 `json:"product_template_id,omitempty"` // 服务归属的产品ID,产品模板ID和产品ID二选一必填,自动向下取整 ProductId *int32 `json:"product_id,omitempty"` // 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 ServiceName string `json:"service_name"` // 服务描述,长度0-200 Description *string `json:"description,omitempty"` // 服务状态 0-启用 1-停用 Status CreateServiceRequestBodyStatus `json:"status"` }
func (CreateServiceRequestBody) String ¶
func (o CreateServiceRequestBody) String() string
type CreateServiceRequestBodyStatus ¶ added in v0.0.78
type CreateServiceRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (CreateServiceRequestBodyStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateServiceRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*CreateServiceRequestBodyStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateServiceRequestBodyStatus) UnmarshalJSON(b []byte) error
func (CreateServiceRequestBodyStatus) Value ¶ added in v0.0.90
func (c CreateServiceRequestBodyStatus) Value() int32
type CreateServiceRequestBodyStatusEnum ¶ added in v0.0.78
type CreateServiceRequestBodyStatusEnum struct { E_0 CreateServiceRequestBodyStatus E_1 CreateServiceRequestBodyStatus }
func GetCreateServiceRequestBodyStatusEnum ¶ added in v0.0.78
func GetCreateServiceRequestBodyStatusEnum() CreateServiceRequestBodyStatusEnum
type CreateServiceResponse ¶
type CreateServiceResponse struct { // 服务归属的产品模板ID ProductTemplateId *int32 `json:"product_template_id,omitempty"` // 服务归属的产品ID ProductId *int32 `json:"product_id,omitempty"` // 服务ID ServiceId *int32 `json:"service_id,omitempty"` // 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 ServiceName *string `json:"service_name,omitempty"` // 服务描述,长度0-200 Description *string `json:"description,omitempty"` // 服务状态 0-启用 1-停用 Status *CreateServiceResponseStatus `json:"status,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间止,格式timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间止,格式timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateServiceResponse) String ¶
func (o CreateServiceResponse) String() string
type CreateServiceResponseStatus ¶ added in v0.0.78
type CreateServiceResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateServiceResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c CreateServiceResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateServiceResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateServiceResponseStatus) UnmarshalJSON(b []byte) error
func (CreateServiceResponseStatus) Value ¶ added in v0.0.90
func (c CreateServiceResponseStatus) Value() int32
type CreateServiceResponseStatusEnum ¶ added in v0.0.78
type CreateServiceResponseStatusEnum struct { E_0 CreateServiceResponseStatus E_1 CreateServiceResponseStatus }
func GetCreateServiceResponseStatusEnum ¶ added in v0.0.78
func GetCreateServiceResponseStatusEnum() CreateServiceResponseStatusEnum
type CreateSignatureKeyV2Request ¶
type CreateSignatureKeyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *BaseSignature `json:"body,omitempty"` }
Request Object
func (CreateSignatureKeyV2Request) String ¶
func (o CreateSignatureKeyV2Request) String() string
type CreateSignatureKeyV2Response ¶
type CreateSignatureKeyV2Response struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *CreateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *CreateSignatureKeyV2ResponseSignAlgorithm `json:"sign_algorithm,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 签名密钥的编号 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSignatureKeyV2Response) String ¶
func (o CreateSignatureKeyV2Response) String() string
type CreateSignatureKeyV2ResponseSignAlgorithm ¶
type CreateSignatureKeyV2ResponseSignAlgorithm struct {
// contains filtered or unexported fields
}
func (CreateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON ¶
func (c CreateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON() ([]byte, error)
func (*CreateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON ¶
func (c *CreateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON(b []byte) error
func (CreateSignatureKeyV2ResponseSignAlgorithm) Value ¶ added in v0.0.90
func (c CreateSignatureKeyV2ResponseSignAlgorithm) Value() string
type CreateSignatureKeyV2ResponseSignAlgorithmEnum ¶
type CreateSignatureKeyV2ResponseSignAlgorithmEnum struct { AES_128_CFB CreateSignatureKeyV2ResponseSignAlgorithm AES_256_CFB CreateSignatureKeyV2ResponseSignAlgorithm }
func GetCreateSignatureKeyV2ResponseSignAlgorithmEnum ¶
func GetCreateSignatureKeyV2ResponseSignAlgorithmEnum() CreateSignatureKeyV2ResponseSignAlgorithmEnum
type CreateSignatureKeyV2ResponseSignType ¶
type CreateSignatureKeyV2ResponseSignType struct {
// contains filtered or unexported fields
}
func (CreateSignatureKeyV2ResponseSignType) MarshalJSON ¶
func (c CreateSignatureKeyV2ResponseSignType) MarshalJSON() ([]byte, error)
func (*CreateSignatureKeyV2ResponseSignType) UnmarshalJSON ¶
func (c *CreateSignatureKeyV2ResponseSignType) UnmarshalJSON(b []byte) error
func (CreateSignatureKeyV2ResponseSignType) Value ¶ added in v0.0.90
func (c CreateSignatureKeyV2ResponseSignType) Value() string
type CreateSignatureKeyV2ResponseSignTypeEnum ¶
type CreateSignatureKeyV2ResponseSignTypeEnum struct { HMAC CreateSignatureKeyV2ResponseSignType BASIC CreateSignatureKeyV2ResponseSignType PUBLIC_KEY CreateSignatureKeyV2ResponseSignType AES CreateSignatureKeyV2ResponseSignType }
func GetCreateSignatureKeyV2ResponseSignTypeEnum ¶
func GetCreateSignatureKeyV2ResponseSignTypeEnum() CreateSignatureKeyV2ResponseSignTypeEnum
type CreateSourceRequest ¶
type CreateSourceRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 规则ID RuleId string `json:"rule_id"` Body *CreateSourceRequestBody `json:"body,omitempty"` }
Request Object
func (CreateSourceRequest) String ¶
func (o CreateSourceRequest) String() string
type CreateSourceRequestBody ¶
type CreateSourceRequestBody struct { // 产品ID,自动向下取整 ProductId int32 `json:"product_id"` // 设备ID,自动向下取整,不填为全部设备 DeviceId *int32 `json:"device_id,omitempty"` // 主题,当设备ID为空时为产品级主题,设备ID不为空时为设备级主题 Topic string `json:"topic"` // 是否payload使用base64,0-是 1-否 IsBase64 *CreateSourceRequestBodyIsBase64 `json:"is_base64,omitempty"` // 是否包含设备信息是否包含设备信息,0-是 1-否 ContainDeviceInfo *CreateSourceRequestBodyContainDeviceInfo `json:"contain_device_info,omitempty"` }
func (CreateSourceRequestBody) String ¶
func (o CreateSourceRequestBody) String() string
type CreateSourceRequestBodyContainDeviceInfo ¶ added in v0.0.78
type CreateSourceRequestBodyContainDeviceInfo struct {
// contains filtered or unexported fields
}
func (CreateSourceRequestBodyContainDeviceInfo) MarshalJSON ¶ added in v0.0.78
func (c CreateSourceRequestBodyContainDeviceInfo) MarshalJSON() ([]byte, error)
func (*CreateSourceRequestBodyContainDeviceInfo) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateSourceRequestBodyContainDeviceInfo) UnmarshalJSON(b []byte) error
func (CreateSourceRequestBodyContainDeviceInfo) Value ¶ added in v0.0.90
func (c CreateSourceRequestBodyContainDeviceInfo) Value() int32
type CreateSourceRequestBodyContainDeviceInfoEnum ¶ added in v0.0.78
type CreateSourceRequestBodyContainDeviceInfoEnum struct { E_0 CreateSourceRequestBodyContainDeviceInfo E_1 CreateSourceRequestBodyContainDeviceInfo }
func GetCreateSourceRequestBodyContainDeviceInfoEnum ¶ added in v0.0.78
func GetCreateSourceRequestBodyContainDeviceInfoEnum() CreateSourceRequestBodyContainDeviceInfoEnum
type CreateSourceRequestBodyIsBase64 ¶ added in v0.0.78
type CreateSourceRequestBodyIsBase64 struct {
// contains filtered or unexported fields
}
func (CreateSourceRequestBodyIsBase64) MarshalJSON ¶ added in v0.0.78
func (c CreateSourceRequestBodyIsBase64) MarshalJSON() ([]byte, error)
func (*CreateSourceRequestBodyIsBase64) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateSourceRequestBodyIsBase64) UnmarshalJSON(b []byte) error
func (CreateSourceRequestBodyIsBase64) Value ¶ added in v0.0.90
func (c CreateSourceRequestBodyIsBase64) Value() int32
type CreateSourceRequestBodyIsBase64Enum ¶ added in v0.0.78
type CreateSourceRequestBodyIsBase64Enum struct { E_0 CreateSourceRequestBodyIsBase64 E_1 CreateSourceRequestBodyIsBase64 }
func GetCreateSourceRequestBodyIsBase64Enum ¶ added in v0.0.78
func GetCreateSourceRequestBodyIsBase64Enum() CreateSourceRequestBodyIsBase64Enum
type CreateSourceResponse ¶
type CreateSourceResponse struct { // 源数据源ID SourceId *int32 `json:"source_id,omitempty"` // 产品ID ProductId *int32 `json:"product_id,omitempty"` // 设备ID,不填为全部设备 DeviceId *int32 `json:"device_id,omitempty"` // 主题,当设备ID为空时为产品级主题,设备ID不为空时为设备级主题 Topic *string `json:"topic,omitempty"` // 设备名称 DeviceName *string `json:"device_name,omitempty"` // 产品名称 ProductName *string `json:"product_name,omitempty"` // 是否payload使用base64,0-是 1-否 IsBase64 *CreateSourceResponseIsBase64 `json:"is_base64,omitempty"` // 是否包含设备信息,0-是,1-否 ContainDeviceInfo *CreateSourceResponseContainDeviceInfo `json:"contain_device_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSourceResponse) String ¶
func (o CreateSourceResponse) String() string
type CreateSourceResponseContainDeviceInfo ¶ added in v0.0.78
type CreateSourceResponseContainDeviceInfo struct {
// contains filtered or unexported fields
}
func (CreateSourceResponseContainDeviceInfo) MarshalJSON ¶ added in v0.0.78
func (c CreateSourceResponseContainDeviceInfo) MarshalJSON() ([]byte, error)
func (*CreateSourceResponseContainDeviceInfo) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateSourceResponseContainDeviceInfo) UnmarshalJSON(b []byte) error
func (CreateSourceResponseContainDeviceInfo) Value ¶ added in v0.0.90
func (c CreateSourceResponseContainDeviceInfo) Value() int32
type CreateSourceResponseContainDeviceInfoEnum ¶ added in v0.0.78
type CreateSourceResponseContainDeviceInfoEnum struct { E_0 CreateSourceResponseContainDeviceInfo E_1 CreateSourceResponseContainDeviceInfo }
func GetCreateSourceResponseContainDeviceInfoEnum ¶ added in v0.0.78
func GetCreateSourceResponseContainDeviceInfoEnum() CreateSourceResponseContainDeviceInfoEnum
type CreateSourceResponseIsBase64 ¶ added in v0.0.78
type CreateSourceResponseIsBase64 struct {
// contains filtered or unexported fields
}
func (CreateSourceResponseIsBase64) MarshalJSON ¶ added in v0.0.78
func (c CreateSourceResponseIsBase64) MarshalJSON() ([]byte, error)
func (*CreateSourceResponseIsBase64) UnmarshalJSON ¶ added in v0.0.78
func (c *CreateSourceResponseIsBase64) UnmarshalJSON(b []byte) error
func (CreateSourceResponseIsBase64) Value ¶ added in v0.0.90
func (c CreateSourceResponseIsBase64) Value() int32
type CreateSourceResponseIsBase64Enum ¶ added in v0.0.78
type CreateSourceResponseIsBase64Enum struct { E_0 CreateSourceResponseIsBase64 E_1 CreateSourceResponseIsBase64 }
func GetCreateSourceResponseIsBase64Enum ¶ added in v0.0.78
func GetCreateSourceResponseIsBase64Enum() CreateSourceResponseIsBase64Enum
type CreateSpecialThrottlingConfigurationV2Request ¶
type CreateSpecialThrottlingConfigurationV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` Body *ThrottleSpecialCreate `json:"body,omitempty"` }
Request Object
func (CreateSpecialThrottlingConfigurationV2Request) String ¶
func (o CreateSpecialThrottlingConfigurationV2Request) String() string
type CreateSpecialThrottlingConfigurationV2Response ¶
type CreateSpecialThrottlingConfigurationV2Response struct { // 特殊配置的编号 Id *string `json:"id,omitempty"` // 特殊对象在流控时间内能够访问API的最大次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 设置时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 作用的APP名称 AppName *string `json:"app_name,omitempty"` // 作用的APP编号 AppId *string `json:"app_id,omitempty"` // 特殊对象的身份标识 ObjectId *string `json:"object_id,omitempty"` // 特殊对象类型:APP、USER ObjectType *string `json:"object_type,omitempty"` // [作用的APP或租户的名称](tag:hws;hws_hk;hcs;fcs;g42;)[作用的APP或租户ID](tag:Site) ObjectName *string `json:"object_name,omitempty"` // 流控策略编号 ThrottleId *string `json:"throttle_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateSpecialThrottlingConfigurationV2Response) String ¶
func (o CreateSpecialThrottlingConfigurationV2Response) String() string
type CreateVpcChannelV2Request ¶
type CreateVpcChannelV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *VpcCreate `json:"body,omitempty"` }
Request Object
func (CreateVpcChannelV2Request) String ¶
func (o CreateVpcChannelV2Request) String() string
type CreateVpcChannelV2Response ¶
type CreateVpcChannelV2Response struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy CreateVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs MemberType CreateVpcChannelV2ResponseMemberType `json:"member_type"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的状态。 - 1:正常 - 2:异常 Status *CreateVpcChannelV2ResponseStatus `json:"status,omitempty"` // 后端云服务器组列表。 [暂不支持](tag:Site) MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateVpcChannelV2Response) String ¶
func (o CreateVpcChannelV2Response) String() string
type CreateVpcChannelV2ResponseBalanceStrategy ¶
type CreateVpcChannelV2ResponseBalanceStrategy struct {
// contains filtered or unexported fields
}
func (CreateVpcChannelV2ResponseBalanceStrategy) MarshalJSON ¶
func (c CreateVpcChannelV2ResponseBalanceStrategy) MarshalJSON() ([]byte, error)
func (*CreateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON ¶
func (c *CreateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON(b []byte) error
func (CreateVpcChannelV2ResponseBalanceStrategy) Value ¶ added in v0.0.90
func (c CreateVpcChannelV2ResponseBalanceStrategy) Value() int32
type CreateVpcChannelV2ResponseBalanceStrategyEnum ¶
type CreateVpcChannelV2ResponseBalanceStrategyEnum struct { E_1 CreateVpcChannelV2ResponseBalanceStrategy E_2 CreateVpcChannelV2ResponseBalanceStrategy E_3 CreateVpcChannelV2ResponseBalanceStrategy E_4 CreateVpcChannelV2ResponseBalanceStrategy }
func GetCreateVpcChannelV2ResponseBalanceStrategyEnum ¶
func GetCreateVpcChannelV2ResponseBalanceStrategyEnum() CreateVpcChannelV2ResponseBalanceStrategyEnum
type CreateVpcChannelV2ResponseMemberType ¶
type CreateVpcChannelV2ResponseMemberType struct {
// contains filtered or unexported fields
}
func (CreateVpcChannelV2ResponseMemberType) MarshalJSON ¶
func (c CreateVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)
func (*CreateVpcChannelV2ResponseMemberType) UnmarshalJSON ¶
func (c *CreateVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error
func (CreateVpcChannelV2ResponseMemberType) Value ¶ added in v0.0.90
func (c CreateVpcChannelV2ResponseMemberType) Value() string
type CreateVpcChannelV2ResponseMemberTypeEnum ¶
type CreateVpcChannelV2ResponseMemberTypeEnum struct { IP CreateVpcChannelV2ResponseMemberType ECS CreateVpcChannelV2ResponseMemberType }
func GetCreateVpcChannelV2ResponseMemberTypeEnum ¶
func GetCreateVpcChannelV2ResponseMemberTypeEnum() CreateVpcChannelV2ResponseMemberTypeEnum
type CreateVpcChannelV2ResponseStatus ¶
type CreateVpcChannelV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (CreateVpcChannelV2ResponseStatus) MarshalJSON ¶
func (c CreateVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateVpcChannelV2ResponseStatus) UnmarshalJSON ¶
func (c *CreateVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error
func (CreateVpcChannelV2ResponseStatus) Value ¶ added in v0.0.90
func (c CreateVpcChannelV2ResponseStatus) Value() int32
type CreateVpcChannelV2ResponseStatusEnum ¶
type CreateVpcChannelV2ResponseStatusEnum struct { E_1 CreateVpcChannelV2ResponseStatus E_2 CreateVpcChannelV2ResponseStatus }
func GetCreateVpcChannelV2ResponseStatusEnum ¶
func GetCreateVpcChannelV2ResponseStatusEnum() CreateVpcChannelV2ResponseStatusEnum
type CreatedUser ¶
type CreatedUser struct { // 用户ID UserId *string `json:"user_id,omitempty"` // 用户名 UserName *string `json:"user_name,omitempty"` }
创建时的用户
func (CreatedUser) String ¶
func (o CreatedUser) String() string
type DataSourceRsp ¶
type DataSourceRsp struct { // 数据源ID DatasourceId *string `json:"datasource_id,omitempty"` // 数据源名称 DatasourceName *string `json:"datasource_name,omitempty"` // 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS DatasourceType *DataSourceRspDatasourceType `json:"datasource_type,omitempty"` // 数据源所属虚拟私有云VpcId VpcId *string `json:"vpc_id,omitempty"` // 数据源所属应用ID AppId *string `json:"app_id,omitempty"` // 数据源所属应用名称 AppName *string `json:"app_name,omitempty"` // 数据源所属实例Id InstanceId *string `json:"instance_id,omitempty"` // 数据源创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 数据源修改时间 UpdateTime *int64 `json:"update_time,omitempty"` // 数据源所属连接器Id CustomPluginId *string `json:"custom_plugin_id,omitempty"` Content *Content `json:"content,omitempty"` // 数据源描述 Description *string `json:"description,omitempty"` // 集成应用权限信息 - read (读权限) - access (调用权限) - delete (删除权限) - modify (修改权限) AppPermission *[]DataSourceRspAppPermission `json:"app_permission,omitempty"` }
数据源
func (DataSourceRsp) String ¶
func (o DataSourceRsp) String() string
type DataSourceRspAppPermission ¶
type DataSourceRspAppPermission struct {
// contains filtered or unexported fields
}
func (DataSourceRspAppPermission) MarshalJSON ¶
func (c DataSourceRspAppPermission) MarshalJSON() ([]byte, error)
func (*DataSourceRspAppPermission) UnmarshalJSON ¶
func (c *DataSourceRspAppPermission) UnmarshalJSON(b []byte) error
func (DataSourceRspAppPermission) Value ¶ added in v0.0.90
func (c DataSourceRspAppPermission) Value() string
type DataSourceRspAppPermissionEnum ¶
type DataSourceRspAppPermissionEnum struct { READ DataSourceRspAppPermission ACCESS DataSourceRspAppPermission DELETE DataSourceRspAppPermission MODIFY DataSourceRspAppPermission }
func GetDataSourceRspAppPermissionEnum ¶
func GetDataSourceRspAppPermissionEnum() DataSourceRspAppPermissionEnum
type DataSourceRspDatasourceType ¶
type DataSourceRspDatasourceType struct {
// contains filtered or unexported fields
}
func (DataSourceRspDatasourceType) MarshalJSON ¶
func (c DataSourceRspDatasourceType) MarshalJSON() ([]byte, error)
func (*DataSourceRspDatasourceType) UnmarshalJSON ¶
func (c *DataSourceRspDatasourceType) UnmarshalJSON(b []byte) error
func (DataSourceRspDatasourceType) Value ¶ added in v0.0.90
func (c DataSourceRspDatasourceType) Value() string
type DataSourceRspDatasourceTypeEnum ¶
type DataSourceRspDatasourceTypeEnum struct { DWS DataSourceRspDatasourceType MYSQL DataSourceRspDatasourceType KAFKA DataSourceRspDatasourceType API DataSourceRspDatasourceType OBS DataSourceRspDatasourceType SAP DataSourceRspDatasourceType MRSHBASE DataSourceRspDatasourceType MRSHDFS DataSourceRspDatasourceType MRSHIVE DataSourceRspDatasourceType WEBSOCKET DataSourceRspDatasourceType SQLSERVER DataSourceRspDatasourceType ORACLE DataSourceRspDatasourceType POSTGRESQL DataSourceRspDatasourceType REDIS DataSourceRspDatasourceType MONGODB DataSourceRspDatasourceType DIS DataSourceRspDatasourceType HL7 DataSourceRspDatasourceType RABBITMQ DataSourceRspDatasourceType SNMP DataSourceRspDatasourceType IBMMQ DataSourceRspDatasourceType CUSTOMIZED DataSourceRspDatasourceType ACTIVEMQ DataSourceRspDatasourceType ARTEMISMQ DataSourceRspDatasourceType FTP DataSourceRspDatasourceType HIVE DataSourceRspDatasourceType HANA DataSourceRspDatasourceType FIKAFKA DataSourceRspDatasourceType MRSKAFKA DataSourceRspDatasourceType FIHDFS DataSourceRspDatasourceType FIHIVE DataSourceRspDatasourceType GAUSS200 DataSourceRspDatasourceType GAUSS100 DataSourceRspDatasourceType LDAP DataSourceRspDatasourceType DB2 DataSourceRspDatasourceType TAURUS DataSourceRspDatasourceType }
func GetDataSourceRspDatasourceTypeEnum ¶
func GetDataSourceRspDatasourceTypeEnum() DataSourceRspDatasourceTypeEnum
type DatasourceInfo ¶
type DatasourceInfo struct { // 数据源名称,数据源名称不能包含&、<、>、\"、'、(、) ,长度为1~255字符 DatasourceName *string `json:"datasource_name,omitempty"` // 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS DatasourceType *DatasourceInfoDatasourceType `json:"datasource_type,omitempty"` // 数据源所属应用ID AppId *string `json:"app_id,omitempty"` // 数据源所属连接器Id,自定义数据源必填 CustomPluginId *string `json:"custom_plugin_id,omitempty"` Content *Content `json:"content,omitempty"` // 数据源描述 Description *string `json:"description,omitempty"` }
数据源
func (DatasourceInfo) String ¶
func (o DatasourceInfo) String() string
type DatasourceInfoDatasourceType ¶
type DatasourceInfoDatasourceType struct {
// contains filtered or unexported fields
}
func (DatasourceInfoDatasourceType) MarshalJSON ¶
func (c DatasourceInfoDatasourceType) MarshalJSON() ([]byte, error)
func (*DatasourceInfoDatasourceType) UnmarshalJSON ¶
func (c *DatasourceInfoDatasourceType) UnmarshalJSON(b []byte) error
func (DatasourceInfoDatasourceType) Value ¶ added in v0.0.90
func (c DatasourceInfoDatasourceType) Value() string
type DatasourceInfoDatasourceTypeEnum ¶
type DatasourceInfoDatasourceTypeEnum struct { DWS DatasourceInfoDatasourceType MYSQL DatasourceInfoDatasourceType KAFKA DatasourceInfoDatasourceType API DatasourceInfoDatasourceType OBS DatasourceInfoDatasourceType SAP DatasourceInfoDatasourceType MRSHBASE DatasourceInfoDatasourceType MRSHDFS DatasourceInfoDatasourceType MRSHIVE DatasourceInfoDatasourceType WEBSOCKET DatasourceInfoDatasourceType SQLSERVER DatasourceInfoDatasourceType ORACLE DatasourceInfoDatasourceType POSTGRESQL DatasourceInfoDatasourceType REDIS DatasourceInfoDatasourceType MONGODB DatasourceInfoDatasourceType DIS DatasourceInfoDatasourceType HL7 DatasourceInfoDatasourceType RABBITMQ DatasourceInfoDatasourceType SNMP DatasourceInfoDatasourceType IBMMQ DatasourceInfoDatasourceType CUSTOMIZED DatasourceInfoDatasourceType ACTIVEMQ DatasourceInfoDatasourceType ARTEMISMQ DatasourceInfoDatasourceType FTP DatasourceInfoDatasourceType HIVE DatasourceInfoDatasourceType HANA DatasourceInfoDatasourceType FIKAFKA DatasourceInfoDatasourceType MRSKAFKA DatasourceInfoDatasourceType FIHDFS DatasourceInfoDatasourceType FIHIVE DatasourceInfoDatasourceType GAUSS200 DatasourceInfoDatasourceType GAUSS100 DatasourceInfoDatasourceType LDAP DatasourceInfoDatasourceType DB2 DatasourceInfoDatasourceType TAURUS DatasourceInfoDatasourceType }
func GetDatasourceInfoDatasourceTypeEnum ¶
func GetDatasourceInfoDatasourceTypeEnum() DatasourceInfoDatasourceTypeEnum
type DebugApiV2Request ¶
type DebugApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` Body *ApiDebugInfo `json:"body,omitempty"` }
Request Object
func (DebugApiV2Request) String ¶
func (o DebugApiV2Request) String() string
type DebugApiV2Response ¶
type DebugApiV2Response struct { // 调试请求报文内容 Request *string `json:"request,omitempty"` // 调试响应报文内容,响应消息体最大支持2097152字节,超过部分会被截断 > 响应消息体超过限制长度时,超过部分会被截断,并追加\"[TRUNCATED]\"信息。 Response *string `json:"response,omitempty"` // 调试耗时,单位:毫秒 Latency *int32 `json:"latency,omitempty"` // 调试过程日志 Log *string `json:"log,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DebugApiV2Response) String ¶
func (o DebugApiV2Response) String() string
type DebugLiveDataApiV2Request ¶
type DebugLiveDataApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 后端API的编号 LdApiId string `json:"ld_api_id"` Body *LdApiTest `json:"body,omitempty"` }
Request Object
func (DebugLiveDataApiV2Request) String ¶
func (o DebugLiveDataApiV2Request) String() string
type DebugLiveDataApiV2Response ¶
type DebugLiveDataApiV2Response struct { // 测试返回的状态码 TestStatusCode *string `json:"test_status_code,omitempty"` // 测试的请求内容 TestRequest *string `json:"test_request,omitempty"` // 测试耗时 TestUsedTime *int32 `json:"test_used_time,omitempty"` // 测试者的项目编号 TestOperator *string `json:"test_operator,omitempty"` // 测试的响应内容 TestResponse *string `json:"test_response,omitempty"` // 测试的请求方法 TestMethod *string `json:"test_method,omitempty"` // 测试编号 TestId *int32 `json:"test_id,omitempty"` // 测试时间 TestDate *sdktime.SdkTime `json:"test_date,omitempty"` // 后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` // 本次测试日志列表 DebugLog *[]string `json:"debug_log,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DebugLiveDataApiV2Response) String ¶
func (o DebugLiveDataApiV2Response) String() string
type DebugRuleRequest ¶
type DebugRuleRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *DebugRuleRequestBody `json:"body,omitempty"` }
Request Object
func (DebugRuleRequest) String ¶
func (o DebugRuleRequest) String() string
type DebugRuleRequestBody ¶
type DebugRuleRequestBody struct { // 测试的被规则执行的数据 TestData *string `json:"test_data,omitempty"` // 测试的规则 TestRuleExpress *string `json:"test_rule_express,omitempty"` }
func (DebugRuleRequestBody) String ¶
func (o DebugRuleRequestBody) String() string
type DebugRuleResponse ¶
type DebugRuleResponse struct { // 规则测试输出结果 TestResult *string `json:"test_result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DebugRuleResponse) String ¶
func (o DebugRuleResponse) String() string
type DeleteAclV2Request ¶
type DeleteAclV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // ACL策略的编号 AclId string `json:"acl_id"` }
Request Object
func (DeleteAclV2Request) String ¶
func (o DeleteAclV2Request) String() string
type DeleteAclV2Response ¶
type DeleteAclV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAclV2Response) String ¶
func (o DeleteAclV2Response) String() string
type DeleteApiAclBindingV2Request ¶
type DeleteApiAclBindingV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 绑定关系编号 AclBindingsId string `json:"acl_bindings_id"` }
Request Object
func (DeleteApiAclBindingV2Request) String ¶
func (o DeleteApiAclBindingV2Request) String() string
type DeleteApiAclBindingV2Response ¶
type DeleteApiAclBindingV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteApiAclBindingV2Response) String ¶
func (o DeleteApiAclBindingV2Response) String() string
type DeleteApiByVersionIdV2Request ¶
type DeleteApiByVersionIdV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API版本的编号 VersionId string `json:"version_id"` }
Request Object
func (DeleteApiByVersionIdV2Request) String ¶
func (o DeleteApiByVersionIdV2Request) String() string
type DeleteApiByVersionIdV2Response ¶
type DeleteApiByVersionIdV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteApiByVersionIdV2Response) String ¶
func (o DeleteApiByVersionIdV2Response) String() string
type DeleteApiGroupV2Request ¶
type DeleteApiGroupV2Request struct { // 实例ID 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 { // 实例ID InstanceId string `json:"instance_id"` // API的编号 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 DeleteAppAclRequest ¶
type DeleteAppAclRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` }
Request Object
func (DeleteAppAclRequest) String ¶
func (o DeleteAppAclRequest) String() string
type DeleteAppAclResponse ¶
type DeleteAppAclResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAppAclResponse) String ¶
func (o DeleteAppAclResponse) String() string
type DeleteAppCodeV2Request ¶
type DeleteAppCodeV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` // APP Code编号 AppCodeId string `json:"app_code_id"` }
Request Object
func (DeleteAppCodeV2Request) String ¶
func (o DeleteAppCodeV2Request) String() string
type DeleteAppCodeV2Response ¶
type DeleteAppCodeV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAppCodeV2Response) String ¶
func (o DeleteAppCodeV2Response) String() string
type DeleteAppConfigV2Request ¶
type DeleteAppConfigV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` // 应用配置编号 AppConfigId string `json:"app_config_id"` }
Request Object
func (DeleteAppConfigV2Request) String ¶
func (o DeleteAppConfigV2Request) String() string
type DeleteAppConfigV2Response ¶
type DeleteAppConfigV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAppConfigV2Response) String ¶
func (o DeleteAppConfigV2Response) String() string
type DeleteAppQuotaRequest ¶
type DeleteAppQuotaRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 客户端配额编号 AppQuotaId string `json:"app_quota_id"` }
Request Object
func (DeleteAppQuotaRequest) String ¶
func (o DeleteAppQuotaRequest) String() string
type DeleteAppQuotaResponse ¶
type DeleteAppQuotaResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteAppQuotaResponse) String ¶
func (o DeleteAppQuotaResponse) String() string
type DeleteAssetRequest ¶
type DeleteAssetRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *AssetOperateRequest `json:"body,omitempty"` }
Request Object
func (DeleteAssetRequest) String ¶
func (o DeleteAssetRequest) String() string
type DeleteAssetResponse ¶
type DeleteAssetResponse struct { // 资产导出或删除作业的ID,可用于查询作业进。 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteAssetResponse) String ¶
func (o DeleteAssetResponse) String() string
type DeleteBackendInstanceV2Request ¶
type DeleteBackendInstanceV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // 后端实例对象的编号 MemberId string `json:"member_id"` }
Request Object
func (DeleteBackendInstanceV2Request) String ¶
func (o DeleteBackendInstanceV2Request) String() string
type DeleteBackendInstanceV2Response ¶
type DeleteBackendInstanceV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteBackendInstanceV2Response) String ¶
func (o DeleteBackendInstanceV2Response) String() string
type DeleteCommandRequest ¶
type DeleteCommandRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` }
Request Object
func (DeleteCommandRequest) String ¶
func (o DeleteCommandRequest) String() string
type DeleteCommandResponse ¶
type DeleteCommandResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteCommandResponse) String ¶
func (o DeleteCommandResponse) String() string
type DeleteCustomAuthorizerV2Request ¶
type DeleteCustomAuthorizerV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 自定义认证的编号 AuthorizerId string `json:"authorizer_id"` }
Request Object
func (DeleteCustomAuthorizerV2Request) String ¶
func (o DeleteCustomAuthorizerV2Request) String() string
type DeleteCustomAuthorizerV2Response ¶
type DeleteCustomAuthorizerV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteCustomAuthorizerV2Response) String ¶
func (o DeleteCustomAuthorizerV2Response) String() string
type DeleteDatasourceInfoByIdRequest ¶
type DeleteDatasourceInfoByIdRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据源ID DatasourceId string `json:"datasource_id"` }
Request Object
func (DeleteDatasourceInfoByIdRequest) String ¶
func (o DeleteDatasourceInfoByIdRequest) String() string
type DeleteDatasourceInfoByIdResponse ¶
type DeleteDatasourceInfoByIdResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteDatasourceInfoByIdResponse) String ¶
func (o DeleteDatasourceInfoByIdResponse) String() string
type DeleteDestinationRequest ¶
type DeleteDestinationRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 规则ID RuleId string `json:"rule_id"` // 目标数据源ID DestinationId int32 `json:"destination_id"` }
Request Object
func (DeleteDestinationRequest) String ¶
func (o DeleteDestinationRequest) String() string
type DeleteDestinationResponse ¶
type DeleteDestinationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDestinationResponse) String ¶
func (o DeleteDestinationResponse) String() string
type DeleteDeviceFromGroupRequest ¶
type DeleteDeviceFromGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` // 设备分组ID GroupId int32 `json:"group_id"` }
Request Object
func (DeleteDeviceFromGroupRequest) String ¶
func (o DeleteDeviceFromGroupRequest) String() string
type DeleteDeviceFromGroupResponse ¶
type DeleteDeviceFromGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDeviceFromGroupResponse) String ¶
func (o DeleteDeviceFromGroupResponse) String() string
type DeleteDeviceGroupRequest ¶
type DeleteDeviceGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备分组ID GroupId int32 `json:"group_id"` }
Request Object
func (DeleteDeviceGroupRequest) String ¶
func (o DeleteDeviceGroupRequest) String() string
type DeleteDeviceGroupResponse ¶
type DeleteDeviceGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDeviceGroupResponse) String ¶
func (o DeleteDeviceGroupResponse) String() string
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` }
Request Object
func (DeleteDeviceRequest) String ¶
func (o DeleteDeviceRequest) String() string
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDeviceResponse) String ¶
func (o DeleteDeviceResponse) String() string
type DeleteDictionaryRequest ¶
type DeleteDictionaryRequest struct { // 字典ID DictId string `json:"dict_id"` // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (DeleteDictionaryRequest) String ¶
func (o DeleteDictionaryRequest) String() string
type DeleteDictionaryResponse ¶
type DeleteDictionaryResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDictionaryResponse) String ¶
func (o DeleteDictionaryResponse) String() string
type DeleteEnvironmentV2Request ¶
type DeleteEnvironmentV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 环境的ID EnvId string `json:"env_id"` }
Request Object
func (DeleteEnvironmentV2Request) String ¶
func (o DeleteEnvironmentV2Request) String() string
type DeleteEnvironmentV2Response ¶
type DeleteEnvironmentV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteEnvironmentV2Response) String ¶
func (o DeleteEnvironmentV2Response) String() string
type DeleteEnvironmentVariableV2Request ¶
type DeleteEnvironmentVariableV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 环境变量的编号 EnvVariableId string `json:"env_variable_id"` }
Request Object
func (DeleteEnvironmentVariableV2Request) String ¶
func (o DeleteEnvironmentVariableV2Request) String() string
type DeleteEnvironmentVariableV2Response ¶
type DeleteEnvironmentVariableV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteEnvironmentVariableV2Response) String ¶
func (o DeleteEnvironmentVariableV2Response) String() string
type DeleteLiveDataApiV2Request ¶
type DeleteLiveDataApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 后端API的编号 LdApiId string `json:"ld_api_id"` }
Request Object
func (DeleteLiveDataApiV2Request) String ¶
func (o DeleteLiveDataApiV2Request) String() string
type DeleteLiveDataApiV2Response ¶
type DeleteLiveDataApiV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteLiveDataApiV2Response) String ¶
func (o DeleteLiveDataApiV2Response) String() string
type DeleteMemberGroupRequest ¶
type DeleteMemberGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // VPC通道后端服务器组编号 MemberGroupId string `json:"member_group_id"` }
Request Object
func (DeleteMemberGroupRequest) String ¶
func (o DeleteMemberGroupRequest) String() string
type DeleteMemberGroupResponse ¶
type DeleteMemberGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteMemberGroupResponse) String ¶
func (o DeleteMemberGroupResponse) String() string
type DeleteMqsInstanceTopicRequest ¶
type DeleteMqsInstanceTopicRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 待删除的topic,多个topic以“,”分割。 Name string `json:"name"` }
Request Object
func (DeleteMqsInstanceTopicRequest) String ¶
func (o DeleteMqsInstanceTopicRequest) String() string
type DeleteMqsInstanceTopicRespTopics ¶
type DeleteMqsInstanceTopicRespTopics struct { // Topic名称。 Id *string `json:"id,omitempty"` // 是否删除成功。 Success *bool `json:"success,omitempty"` }
func (DeleteMqsInstanceTopicRespTopics) String ¶
func (o DeleteMqsInstanceTopicRespTopics) String() string
type DeleteMqsInstanceTopicResponse ¶
type DeleteMqsInstanceTopicResponse struct { // Topic列表。 Topics *[]DeleteMqsInstanceTopicRespTopics `json:"topics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteMqsInstanceTopicResponse) String ¶
func (o DeleteMqsInstanceTopicResponse) String() string
type DeleteMultiTaskMappingRequest ¶
type DeleteMultiTaskMappingRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` // 组合任务映射唯一标识 MappingId string `json:"mapping_id"` }
Request Object
func (DeleteMultiTaskMappingRequest) String ¶
func (o DeleteMultiTaskMappingRequest) String() string
type DeleteMultiTaskMappingResponse ¶
type DeleteMultiTaskMappingResponse struct { // 映射唯一ID MappingId *string `json:"mapping_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteMultiTaskMappingResponse) String ¶
func (o DeleteMultiTaskMappingResponse) String() string
type DeleteNotificationRequest ¶
type DeleteNotificationRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 订阅管理ID NotificationId int64 `json:"notification_id"` }
Request Object
func (DeleteNotificationRequest) String ¶
func (o DeleteNotificationRequest) String() string
type DeleteNotificationResponse ¶
type DeleteNotificationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteNotificationResponse) String ¶
func (o DeleteNotificationResponse) String() string
type DeleteProductRequest ¶
type DeleteProductRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` }
Request Object
func (DeleteProductRequest) String ¶
func (o DeleteProductRequest) String() string
type DeleteProductResponse ¶
type DeleteProductResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteProductResponse) String ¶
func (o DeleteProductResponse) String() string
type DeleteProductTemplateRequest ¶
type DeleteProductTemplateRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品模板ID ProductTemplateId int32 `json:"product_template_id"` }
Request Object
func (DeleteProductTemplateRequest) String ¶
func (o DeleteProductTemplateRequest) String() string
type DeleteProductTemplateResponse ¶
type DeleteProductTemplateResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteProductTemplateResponse) String ¶
func (o DeleteProductTemplateResponse) String() string
type DeleteProductTopicRequest ¶
type DeleteProductTopicRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` // 产品主题ID TopicId int32 `json:"topic_id"` }
Request Object
func (DeleteProductTopicRequest) String ¶
func (o DeleteProductTopicRequest) String() string
type DeleteProductTopicResponse ¶
type DeleteProductTopicResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteProductTopicResponse) String ¶
func (o DeleteProductTopicResponse) String() string
type DeletePropertyRequest ¶
type DeletePropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 属性/请求属性/响应属性ID PropertyId int32 `json:"property_id"` }
Request Object
func (DeletePropertyRequest) String ¶
func (o DeletePropertyRequest) String() string
type DeletePropertyResponse ¶
type DeletePropertyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeletePropertyResponse) String ¶
func (o DeletePropertyResponse) String() string
type DeleteRequestPropertyRequest ¶
type DeleteRequestPropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` // 属性/请求属性/响应属性ID PropertyId int32 `json:"property_id"` }
Request Object
func (DeleteRequestPropertyRequest) String ¶
func (o DeleteRequestPropertyRequest) String() string
type DeleteRequestPropertyResponse ¶
type DeleteRequestPropertyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRequestPropertyResponse) String ¶
func (o DeleteRequestPropertyResponse) String() string
type DeleteRequestThrottlingPolicyV2Request ¶
type DeleteRequestThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` }
Request Object
func (DeleteRequestThrottlingPolicyV2Request) String ¶
func (o DeleteRequestThrottlingPolicyV2Request) String() string
type DeleteRequestThrottlingPolicyV2Response ¶
type DeleteRequestThrottlingPolicyV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRequestThrottlingPolicyV2Response) String ¶
func (o DeleteRequestThrottlingPolicyV2Response) String() string
type DeleteResponsePropertyRequest ¶
type DeleteResponsePropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` // 属性/请求属性/响应属性ID PropertyId int32 `json:"property_id"` }
Request Object
func (DeleteResponsePropertyRequest) String ¶
func (o DeleteResponsePropertyRequest) String() string
type DeleteResponsePropertyResponse ¶
type DeleteResponsePropertyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteResponsePropertyResponse) String ¶
func (o DeleteResponsePropertyResponse) String() string
type DeleteRomaAppRequest ¶
type DeleteRomaAppRequest struct { // 应用ID AppId string `json:"app_id"` // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (DeleteRomaAppRequest) String ¶
func (o DeleteRomaAppRequest) String() string
type DeleteRomaAppResponse ¶
type DeleteRomaAppResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRomaAppResponse) String ¶
func (o DeleteRomaAppResponse) String() string
type DeleteRuleRequest ¶
type DeleteRuleRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 规则ID RuleId string `json:"rule_id"` }
Request Object
func (DeleteRuleRequest) String ¶
func (o DeleteRuleRequest) String() string
type DeleteRuleResponse ¶
type DeleteRuleResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteRuleResponse) String ¶
func (o DeleteRuleResponse) String() string
type DeleteServiceRequest ¶
type DeleteServiceRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` }
Request Object
func (DeleteServiceRequest) String ¶
func (o DeleteServiceRequest) String() string
type DeleteServiceResponse ¶
type DeleteServiceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteServiceResponse) String ¶
func (o DeleteServiceResponse) String() string
type DeleteSignatureKeyV2Request ¶
type DeleteSignatureKeyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 签名密钥编号 SignId string `json:"sign_id"` }
Request Object
func (DeleteSignatureKeyV2Request) String ¶
func (o DeleteSignatureKeyV2Request) String() string
type DeleteSignatureKeyV2Response ¶
type DeleteSignatureKeyV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSignatureKeyV2Response) String ¶
func (o DeleteSignatureKeyV2Response) String() string
type DeleteSourceRequest ¶
type DeleteSourceRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 规则ID RuleId string `json:"rule_id"` // 源数据源ID SourceId int32 `json:"source_id"` }
Request Object
func (DeleteSourceRequest) String ¶
func (o DeleteSourceRequest) String() string
type DeleteSourceResponse ¶
type DeleteSourceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSourceResponse) String ¶
func (o DeleteSourceResponse) String() string
type DeleteSpecialThrottlingConfigurationV2Request ¶
type DeleteSpecialThrottlingConfigurationV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` // 特殊配置的编号 StrategyId string `json:"strategy_id"` }
Request Object
func (DeleteSpecialThrottlingConfigurationV2Request) String ¶
func (o DeleteSpecialThrottlingConfigurationV2Request) String() string
type DeleteSpecialThrottlingConfigurationV2Response ¶
type DeleteSpecialThrottlingConfigurationV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSpecialThrottlingConfigurationV2Response) String ¶
func (o DeleteSpecialThrottlingConfigurationV2Response) String() string
type DeleteTaskRequest ¶
type DeleteTaskRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` }
Request Object
func (DeleteTaskRequest) String ¶
func (o DeleteTaskRequest) String() string
type DeleteTaskResponse ¶
type DeleteTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteTaskResponse) String ¶
func (o DeleteTaskResponse) String() string
type DeleteVpcChannelV2Request ¶
type DeleteVpcChannelV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` }
Request Object
func (DeleteVpcChannelV2Request) String ¶
func (o DeleteVpcChannelV2Request) String() string
type DeleteVpcChannelV2Response ¶
type DeleteVpcChannelV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteVpcChannelV2Response) String ¶
func (o DeleteVpcChannelV2Response) String() string
type Destination ¶
type Destination struct { // 目标数据源ID DestinationId *int32 `json:"destination_id,omitempty"` // 操作类型,枚举值:0-目标端为本ROMA实例内MQS; 7-目标端为设备 DestinationType *DestinationDestinationType `json:"destination_type,omitempty"` // 应用ID,目标端为0时需明确对方的APP_ID AppId *string `json:"app_id,omitempty"` // 目标数据源名称 DestinationName *string `json:"destination_name,omitempty"` // 目标数据源主题 Topic *string `json:"topic,omitempty"` // 目标端数据源服务 Server *string `json:"server,omitempty"` // 目标端数据源token Token *string `json:"token,omitempty"` // 目标数据源标签 Tag *string `json:"tag,omitempty"` // 目标端数据源MQS的SASL字段是否需要支持SSL加密 MqsSaslSsl *bool `json:"mqs_sasl_ssl,omitempty"` // 目标数据源用户名 UserName *string `json:"user_name,omitempty"` // 目标数据源密码 Password *string `json:"password,omitempty"` }
func (Destination) String ¶
func (o Destination) String() string
type DestinationDestinationType ¶ added in v0.0.78
type DestinationDestinationType struct {
// contains filtered or unexported fields
}
func (DestinationDestinationType) MarshalJSON ¶ added in v0.0.78
func (c DestinationDestinationType) MarshalJSON() ([]byte, error)
func (*DestinationDestinationType) UnmarshalJSON ¶ added in v0.0.78
func (c *DestinationDestinationType) UnmarshalJSON(b []byte) error
func (DestinationDestinationType) Value ¶ added in v0.0.90
func (c DestinationDestinationType) Value() int32
type DestinationDestinationTypeEnum ¶ added in v0.0.78
type DestinationDestinationTypeEnum struct { E_0 DestinationDestinationType E_7 DestinationDestinationType }
func GetDestinationDestinationTypeEnum ¶ added in v0.0.78
func GetDestinationDestinationTypeEnum() DestinationDestinationTypeEnum
type Device ¶
type Device struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 设备ID Id *int32 `json:"id,omitempty"` // 父设备ID ParentDeviceId *int32 `json:"parent_device_id,omitempty"` // 父设备名称 ParentDeviceName *string `json:"parent_device_name,omitempty"` Product *ProductReferer `json:"product,omitempty"` // 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64 DeviceName *string `json:"device_name,omitempty"` // 实例id InstanceId *string `json:"instance_id,omitempty"` // 设备客户端ID,平台生成的设备唯一标识 ClientId *string `json:"client_id,omitempty"` // 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64 NodeId *string `json:"node_id,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 设备状态 0-启用 1-禁用 Status *DeviceStatus `json:"status,omitempty"` // 是否在线 0-未连接 1-在线 2-离线 OnlineStatus *DeviceOnlineStatus `json:"online_status,omitempty"` // 备注 Description *string `json:"description,omitempty"` Authentication *Authentication `json:"authentication,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 标签 Tags *[]string `json:"tags,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` // 设备接入地址 ConnectAddress *string `json:"connect_address,omitempty"` // 设备接入SSL地址 SslConnectAddress *string `json:"ssl_connect_address,omitempty"` // 设备接入IPV6地址 Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"` // 设备接入IPV6 SSL地址 Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"` // 最后登录时间 LastLoginDatetime *int64 `json:"last_login_datetime,omitempty"` // 节点类型 0-直连 1-网关 2-子设备 NodeType *int32 `json:"node_type,omitempty"` // 设备类型<br>0-普通设备(无子设备也无父设备)<br>1-网关设备(可挂载子设备)<br>2-子设备(归属于某个网关设备) DeviceType *DeviceDeviceType `json:"device_type,omitempty"` // 客户端ip ClientIp *string `json:"client_ip,omitempty"` // 心跳时间 KeepAlive *string `json:"keep_alive,omitempty"` // 最后登录时间 LastActiveTime *int64 `json:"last_active_time,omitempty"` // 设备版本 Version *string `json:"version,omitempty"` // modbus和opcua设备特有,表示设备所属产品的类型 0-普通产品 1-modbus网关产品 2-opcua网关产品 PluginId *DevicePluginId `json:"plugin_id,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` }
type DeviceDeviceType ¶ added in v0.0.78
type DeviceDeviceType struct {
// contains filtered or unexported fields
}
func (DeviceDeviceType) MarshalJSON ¶ added in v0.0.78
func (c DeviceDeviceType) MarshalJSON() ([]byte, error)
func (*DeviceDeviceType) UnmarshalJSON ¶ added in v0.0.78
func (c *DeviceDeviceType) UnmarshalJSON(b []byte) error
func (DeviceDeviceType) Value ¶ added in v0.0.90
func (c DeviceDeviceType) Value() int32
type DeviceDeviceTypeEnum ¶ added in v0.0.78
type DeviceDeviceTypeEnum struct { E_0 DeviceDeviceType E_1 DeviceDeviceType E_2 DeviceDeviceType }
func GetDeviceDeviceTypeEnum ¶ added in v0.0.78
func GetDeviceDeviceTypeEnum() DeviceDeviceTypeEnum
type DeviceInfoSimple ¶
type DeviceInfoSimple struct { // 设备ID Id *int32 `json:"id,omitempty"` // 设备名称 DeviceName *string `json:"device_name,omitempty"` }
func (DeviceInfoSimple) String ¶
func (o DeviceInfoSimple) String() string
type DeviceOnlineStatus ¶ added in v0.0.78
type DeviceOnlineStatus struct {
// contains filtered or unexported fields
}
func (DeviceOnlineStatus) MarshalJSON ¶ added in v0.0.78
func (c DeviceOnlineStatus) MarshalJSON() ([]byte, error)
func (*DeviceOnlineStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *DeviceOnlineStatus) UnmarshalJSON(b []byte) error
func (DeviceOnlineStatus) Value ¶ added in v0.0.90
func (c DeviceOnlineStatus) Value() int32
type DeviceOnlineStatusEnum ¶ added in v0.0.78
type DeviceOnlineStatusEnum struct { E_0 DeviceOnlineStatus E_1 DeviceOnlineStatus E_2 DeviceOnlineStatus }
func GetDeviceOnlineStatusEnum ¶ added in v0.0.78
func GetDeviceOnlineStatusEnum() DeviceOnlineStatusEnum
type DevicePluginId ¶ added in v0.0.78
type DevicePluginId struct {
// contains filtered or unexported fields
}
func (DevicePluginId) MarshalJSON ¶ added in v0.0.78
func (c DevicePluginId) MarshalJSON() ([]byte, error)
func (*DevicePluginId) UnmarshalJSON ¶ added in v0.0.78
func (c *DevicePluginId) UnmarshalJSON(b []byte) error
func (DevicePluginId) Value ¶ added in v0.0.90
func (c DevicePluginId) Value() int32
type DevicePluginIdEnum ¶ added in v0.0.78
type DevicePluginIdEnum struct { E_0 DevicePluginId E_1 DevicePluginId E_2 DevicePluginId }
func GetDevicePluginIdEnum ¶ added in v0.0.78
func GetDevicePluginIdEnum() DevicePluginIdEnum
type DeviceStatus ¶ added in v0.0.78
type DeviceStatus struct {
// contains filtered or unexported fields
}
func (DeviceStatus) MarshalJSON ¶ added in v0.0.78
func (c DeviceStatus) MarshalJSON() ([]byte, error)
func (*DeviceStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *DeviceStatus) UnmarshalJSON(b []byte) error
func (DeviceStatus) Value ¶ added in v0.0.90
func (c DeviceStatus) Value() int32
type DeviceStatusEnum ¶ added in v0.0.78
type DeviceStatusEnum struct { E_0 DeviceStatus E_1 DeviceStatus }
func GetDeviceStatusEnum ¶ added in v0.0.78
func GetDeviceStatusEnum() DeviceStatusEnum
type DevicesCalculation ¶
type DevicesCalculation struct { NormalDevices *Calculation `json:"normal_devices,omitempty"` GatewayDevices *Calculation `json:"gateway_devices,omitempty"` SubsetsDevices *Calculation `json:"subsets_devices,omitempty"` }
func (DevicesCalculation) String ¶
func (o DevicesCalculation) String() string
type DevicesInGroup ¶
type DevicesInGroup struct { // 设备ID DeviceId *int32 `json:"device_id,omitempty"` // 设备名称 DeviceName *string `json:"device_name,omitempty"` // 产品ID ProductId *int32 `json:"product_id,omitempty"` // 产品名称 ProductName *string `json:"product_name,omitempty"` // 设备状态 0-启用 1-禁用 Status *DevicesInGroupStatus `json:"status,omitempty"` // 是否在线 0-未连接 1-在线 2-离线 OnlineStatus *DevicesInGroupOnlineStatus `json:"online_status,omitempty"` }
func (DevicesInGroup) String ¶
func (o DevicesInGroup) String() string
type DevicesInGroupOnlineStatus ¶ added in v0.0.78
type DevicesInGroupOnlineStatus struct {
// contains filtered or unexported fields
}
func (DevicesInGroupOnlineStatus) MarshalJSON ¶ added in v0.0.78
func (c DevicesInGroupOnlineStatus) MarshalJSON() ([]byte, error)
func (*DevicesInGroupOnlineStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *DevicesInGroupOnlineStatus) UnmarshalJSON(b []byte) error
func (DevicesInGroupOnlineStatus) Value ¶ added in v0.0.90
func (c DevicesInGroupOnlineStatus) Value() int32
type DevicesInGroupOnlineStatusEnum ¶ added in v0.0.78
type DevicesInGroupOnlineStatusEnum struct { E_0 DevicesInGroupOnlineStatus E_1 DevicesInGroupOnlineStatus E_2 DevicesInGroupOnlineStatus }
func GetDevicesInGroupOnlineStatusEnum ¶ added in v0.0.78
func GetDevicesInGroupOnlineStatusEnum() DevicesInGroupOnlineStatusEnum
type DevicesInGroupStatus ¶ added in v0.0.78
type DevicesInGroupStatus struct {
// contains filtered or unexported fields
}
func (DevicesInGroupStatus) MarshalJSON ¶ added in v0.0.78
func (c DevicesInGroupStatus) MarshalJSON() ([]byte, error)
func (*DevicesInGroupStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *DevicesInGroupStatus) UnmarshalJSON(b []byte) error
func (DevicesInGroupStatus) Value ¶ added in v0.0.90
func (c DevicesInGroupStatus) Value() int32
type DevicesInGroupStatusEnum ¶ added in v0.0.78
type DevicesInGroupStatusEnum struct { E_0 DevicesInGroupStatus E_1 DevicesInGroupStatus }
func GetDevicesInGroupStatusEnum ¶ added in v0.0.78
func GetDevicesInGroupStatusEnum() DevicesInGroupStatusEnum
type Dictionary ¶
type Dictionary struct { // 字典ID Id *string `json:"id,omitempty"` // 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 字典描述 Remark *string `json:"remark,omitempty"` // 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一 Code *string `json:"code,omitempty"` // 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格 ExtendOne *string `json:"extend_one,omitempty"` // 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格 ExtendTwo *string `json:"extend_two,omitempty"` // 父字典编码,为空时代表自身就是最顶级字典 ParentCode *string `json:"parent_code,omitempty"` Type *DictionaryType `json:"type,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` }
func (Dictionary) String ¶
func (o Dictionary) String() string
type DictionaryCode ¶
type DictionaryCode struct { }
字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一
func (DictionaryCode) String ¶
func (o DictionaryCode) String() string
type DictionaryExtendOne ¶
type DictionaryExtendOne struct { }
字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格
func (DictionaryExtendOne) String ¶
func (o DictionaryExtendOne) String() string
type DictionaryExtendTwo ¶
type DictionaryExtendTwo struct { }
字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格
func (DictionaryExtendTwo) String ¶
func (o DictionaryExtendTwo) String() string
type DictionaryName ¶
type DictionaryName struct { }
字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一
func (DictionaryName) String ¶
func (o DictionaryName) String() string
type DictionaryOrder ¶
type DictionaryOrder struct { }
字典排序,值越小顺序越靠前
func (DictionaryOrder) String ¶
func (o DictionaryOrder) String() string
type DictionaryParent ¶
type DictionaryParent struct { }
父字典编码,为空时代表自身就是最顶级字典
func (DictionaryParent) String ¶
func (o DictionaryParent) String() string
type DictionaryRemark ¶
type DictionaryRemark struct { }
字典描述
func (DictionaryRemark) String ¶
func (o DictionaryRemark) String() string
type DictionaryType ¶
type DictionaryType struct {
// contains filtered or unexported fields
}
字典类型 - system: 代表系统内置字典,用户可编辑但不可删除 - user: 代表用户创建字典
func (DictionaryType) MarshalJSON ¶
func (c DictionaryType) MarshalJSON() ([]byte, error)
func (*DictionaryType) UnmarshalJSON ¶
func (c *DictionaryType) UnmarshalJSON(b []byte) error
func (DictionaryType) Value ¶ added in v0.0.90
func (c DictionaryType) Value() string
type DictionaryTypeEnum ¶
type DictionaryTypeEnum struct { SYSTEM DictionaryType USER DictionaryType }
func GetDictionaryTypeEnum ¶
func GetDictionaryTypeEnum() DictionaryTypeEnum
type DisassociateAppQuotaWithAppRequest ¶
type DisassociateAppQuotaWithAppRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 客户端配额编号 AppQuotaId string `json:"app_quota_id"` // 应用编号 AppId string `json:"app_id"` }
Request Object
func (DisassociateAppQuotaWithAppRequest) String ¶
func (o DisassociateAppQuotaWithAppRequest) String() string
type DisassociateAppQuotaWithAppResponse ¶
type DisassociateAppQuotaWithAppResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisassociateAppQuotaWithAppResponse) String ¶
func (o DisassociateAppQuotaWithAppResponse) String() string
type DisassociateCertificateV2Request ¶
type DisassociateCertificateV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` // 证书的编号 CertificateId string `json:"certificate_id"` }
Request Object
func (DisassociateCertificateV2Request) String ¶
func (o DisassociateCertificateV2Request) String() string
type DisassociateCertificateV2Response ¶
type DisassociateCertificateV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisassociateCertificateV2Response) String ¶
func (o DisassociateCertificateV2Response) String() string
type DisassociateDomainV2Request ¶
type DisassociateDomainV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` }
Request Object
func (DisassociateDomainV2Request) String ¶
func (o DisassociateDomainV2Request) String() string
type DisassociateDomainV2Response ¶
type DisassociateDomainV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisassociateDomainV2Response) String ¶
func (o DisassociateDomainV2Response) String() string
type DisassociateRequestThrottlingPolicyV2Request ¶
type DisassociateRequestThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API和流控策略绑定关系的编号 ThrottleBindingId string `json:"throttle_binding_id"` }
Request Object
func (DisassociateRequestThrottlingPolicyV2Request) String ¶
func (o DisassociateRequestThrottlingPolicyV2Request) String() string
type DisassociateRequestThrottlingPolicyV2Response ¶
type DisassociateRequestThrottlingPolicyV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisassociateRequestThrottlingPolicyV2Response) String ¶
func (o DisassociateRequestThrottlingPolicyV2Response) String() string
type DisassociateSignatureKeyV2Request ¶
type DisassociateSignatureKeyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API与签名密钥的绑定关系编号 SignBindingsId string `json:"sign_bindings_id"` }
Request Object
func (DisassociateSignatureKeyV2Request) String ¶
func (o DisassociateSignatureKeyV2Request) String() string
type DisassociateSignatureKeyV2Response ¶
type DisassociateSignatureKeyV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisassociateSignatureKeyV2Response) String ¶
func (o DisassociateSignatureKeyV2Response) String() string
type DownloadAssetArchiveRequest ¶
type DownloadAssetArchiveRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 作业执行成功后,查询作业进度返回的entities.archive_id字段 ArchiveId string `json:"archive_id"` }
Request Object
func (DownloadAssetArchiveRequest) String ¶
func (o DownloadAssetArchiveRequest) String() string
type DownloadAssetArchiveResponse ¶
type DownloadAssetArchiveResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (DownloadAssetArchiveResponse) Consume ¶ added in v0.0.75
func (o DownloadAssetArchiveResponse) Consume(writer io.Writer) (int64, error)
func (DownloadAssetArchiveResponse) String ¶
func (o DownloadAssetArchiveResponse) String() string
type DownloadProductsRequest ¶
type DownloadProductsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 待导出产品ID列表 ProductIds *[]int32 `json:"product_ids,omitempty"` }
Request Object
func (DownloadProductsRequest) String ¶
func (o DownloadProductsRequest) String() string
type DownloadProductsResponse ¶
type DownloadProductsResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (DownloadProductsResponse) Consume ¶
func (o DownloadProductsResponse) Consume(writer io.Writer) (int64, error)
func (DownloadProductsResponse) String ¶
func (o DownloadProductsResponse) String() string
type DuplicateApiInfo ¶
type DuplicateApiInfo struct { // API ID ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 分组名称 GroupName *string `json:"group_name,omitempty"` // 分组ID GroupId *string `json:"group_id,omitempty"` // API描述 Remark *string `json:"remark,omitempty"` // api类型: - self-owned:自有API - authorized:授权API ApiType *DuplicateApiInfoApiType `json:"api_type,omitempty"` }
func (DuplicateApiInfo) String ¶
func (o DuplicateApiInfo) String() string
type DuplicateApiInfoApiType ¶
type DuplicateApiInfoApiType struct {
// contains filtered or unexported fields
}
func (DuplicateApiInfoApiType) MarshalJSON ¶
func (c DuplicateApiInfoApiType) MarshalJSON() ([]byte, error)
func (*DuplicateApiInfoApiType) UnmarshalJSON ¶
func (c *DuplicateApiInfoApiType) UnmarshalJSON(b []byte) error
func (DuplicateApiInfoApiType) Value ¶ added in v0.0.90
func (c DuplicateApiInfoApiType) Value() string
type DuplicateApiInfoApiTypeEnum ¶
type DuplicateApiInfoApiTypeEnum struct { SELF_OWNED DuplicateApiInfoApiType AUTHORIZED DuplicateApiInfoApiType }
func GetDuplicateApiInfoApiTypeEnum ¶
func GetDuplicateApiInfoApiTypeEnum() DuplicateApiInfoApiTypeEnum
type EnvCreate ¶
type EnvInfo ¶
type EnvVariableBase ¶
type EnvVariableBase struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` }
func (EnvVariableBase) String ¶
func (o EnvVariableBase) String() string
type EnvVariableCreate ¶
type EnvVariableCreate struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。 VariableName *string `json:"variable_name,omitempty"` }
func (EnvVariableCreate) String ¶
func (o EnvVariableCreate) String() string
type EnvVariableInfo ¶
type EnvVariableInfo struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。 VariableName *string `json:"variable_name,omitempty"` // 环境变量编号 Id *string `json:"id,omitempty"` }
func (EnvVariableInfo) String ¶
func (o EnvVariableInfo) String() string
type ExportApiDefinitionsV2Request ¶
type ExportApiDefinitionsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ExportOpenApiReq `json:"body,omitempty"` }
Request Object
func (ExportApiDefinitionsV2Request) String ¶
func (o ExportApiDefinitionsV2Request) String() string
type ExportApiDefinitionsV2Response ¶
type ExportApiDefinitionsV2Response struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (ExportApiDefinitionsV2Response) Consume ¶
func (o ExportApiDefinitionsV2Response) Consume(writer io.Writer) (int64, error)
func (ExportApiDefinitionsV2Response) String ¶
func (o ExportApiDefinitionsV2Response) String() string
type ExportAssetRequest ¶
type ExportAssetRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *AssetExportRequest `json:"body,omitempty"` }
Request Object
func (ExportAssetRequest) String ¶
func (o ExportAssetRequest) String() string
type ExportAssetResponse ¶
type ExportAssetResponse struct { // 资产导出作业的ID,可用于查询作业进度,获取导出作业进度 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ExportAssetResponse) String ¶
func (o ExportAssetResponse) String() string
type ExportLiveDataApiDefinitionsV2Request ¶
type ExportLiveDataApiDefinitionsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *LiveDataExportReq `json:"body,omitempty"` }
Request Object
func (ExportLiveDataApiDefinitionsV2Request) String ¶
func (o ExportLiveDataApiDefinitionsV2Request) String() string
type ExportLiveDataApiDefinitionsV2Response ¶
type ExportLiveDataApiDefinitionsV2Response struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (ExportLiveDataApiDefinitionsV2Response) Consume ¶
func (o ExportLiveDataApiDefinitionsV2Response) Consume(writer io.Writer) (int64, error)
func (ExportLiveDataApiDefinitionsV2Response) String ¶
func (o ExportLiveDataApiDefinitionsV2Response) String() string
type ExportMqsInstanceTopicRequest ¶
type ExportMqsInstanceTopicRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 待导出的topic。多个topic以“,”分隔。默认导出所有的topic。 Name *string `json:"name,omitempty"` }
Request Object
func (ExportMqsInstanceTopicRequest) String ¶
func (o ExportMqsInstanceTopicRequest) String() string
type ExportMqsInstanceTopicResponse ¶
type ExportMqsInstanceTopicResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (ExportMqsInstanceTopicResponse) Consume ¶
func (o ExportMqsInstanceTopicResponse) Consume(writer io.Writer) (int64, error)
func (ExportMqsInstanceTopicResponse) String ¶
func (o ExportMqsInstanceTopicResponse) String() string
type ExportOpenApiReq ¶
type ExportOpenApiReq struct { // API分组发布的环境ID EnvId *string `json:"env_id,omitempty"` // API分组ID GroupId string `json:"group_id"` // 导出API的定义范围: - spec:基础定义,只包括api前端定义 - proxy:全量定义,包括api前后端定义 - all:扩展定义,包括api前后端定义以及流控、访问控制、自定义认证等扩展定义 - dev:开发定义,包括未发布的api的前后端定义 Define *ExportOpenApiReqDefine `json:"define,omitempty"` // 导出的API定义的格式 Type *ExportOpenApiReqType `json:"type,omitempty"` // 导出的API定义版本,默认为当前时间 Version *string `json:"version,omitempty"` // 导出的API ID列表 Apis *[]string `json:"apis,omitempty"` }
func (ExportOpenApiReq) String ¶
func (o ExportOpenApiReq) String() string
type ExportOpenApiReqDefine ¶
type ExportOpenApiReqDefine struct {
// contains filtered or unexported fields
}
func (ExportOpenApiReqDefine) MarshalJSON ¶
func (c ExportOpenApiReqDefine) MarshalJSON() ([]byte, error)
func (*ExportOpenApiReqDefine) UnmarshalJSON ¶
func (c *ExportOpenApiReqDefine) UnmarshalJSON(b []byte) error
func (ExportOpenApiReqDefine) Value ¶ added in v0.0.90
func (c ExportOpenApiReqDefine) Value() string
type ExportOpenApiReqDefineEnum ¶
type ExportOpenApiReqDefineEnum struct { SPEC ExportOpenApiReqDefine PROXY ExportOpenApiReqDefine ALL ExportOpenApiReqDefine DEV ExportOpenApiReqDefine }
func GetExportOpenApiReqDefineEnum ¶
func GetExportOpenApiReqDefineEnum() ExportOpenApiReqDefineEnum
type ExportOpenApiReqType ¶
type ExportOpenApiReqType struct {
// contains filtered or unexported fields
}
func (ExportOpenApiReqType) MarshalJSON ¶
func (c ExportOpenApiReqType) MarshalJSON() ([]byte, error)
func (*ExportOpenApiReqType) UnmarshalJSON ¶
func (c *ExportOpenApiReqType) UnmarshalJSON(b []byte) error
func (ExportOpenApiReqType) Value ¶ added in v0.0.90
func (c ExportOpenApiReqType) Value() string
type ExportOpenApiReqTypeEnum ¶
type ExportOpenApiReqTypeEnum struct { JSON ExportOpenApiReqType YAML ExportOpenApiReqType YML ExportOpenApiReqType }
func GetExportOpenApiReqTypeEnum ¶
func GetExportOpenApiReqTypeEnum() ExportOpenApiReqTypeEnum
type Failure ¶
type FeatureInfoV2 ¶
type FeatureInfoV2 struct { // 特性编号 Id *string `json:"id,omitempty"` // 特性名称 Name *FeatureInfoV2Name `json:"name,omitempty"` // 是否开启特性 Enable *bool `json:"enable,omitempty"` // 特性参数配置 Config *string `json:"config,omitempty"` // 实例编号 InstanceId *string `json:"instance_id,omitempty"` // 实例特性更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (FeatureInfoV2) String ¶
func (o FeatureInfoV2) String() string
type FeatureInfoV2Name ¶
type FeatureInfoV2Name struct {
// contains filtered or unexported fields
}
func (FeatureInfoV2Name) MarshalJSON ¶
func (c FeatureInfoV2Name) MarshalJSON() ([]byte, error)
func (*FeatureInfoV2Name) UnmarshalJSON ¶
func (c *FeatureInfoV2Name) UnmarshalJSON(b []byte) error
func (FeatureInfoV2Name) Value ¶ added in v0.0.90
func (c FeatureInfoV2Name) Value() string
type FeatureInfoV2NameEnum ¶
type FeatureInfoV2NameEnum struct { LTS FeatureInfoV2Name GATEWAY_RESPONSES FeatureInfoV2Name RATELIMIT FeatureInfoV2Name REQUEST_BODY_SIZE FeatureInfoV2Name BACKEND_TIMEOUT FeatureInfoV2Name APP_TOKEN FeatureInfoV2Name APP_API_KEY FeatureInfoV2Name APP_BASIC FeatureInfoV2Name APP_SECRET FeatureInfoV2Name APP_JWT FeatureInfoV2Name PUBLIC_KEY FeatureInfoV2Name BACKEND_TOKEN_ALLOW FeatureInfoV2Name SIGN_BASIC FeatureInfoV2Name MULTI_AUTH FeatureInfoV2Name BACKEND_CLIENT_CERTIFICATE FeatureInfoV2Name SSL_CIPHERS FeatureInfoV2Name APP_CONFIG FeatureInfoV2Name GREEN_TUNNEL FeatureInfoV2Name APP_ROUTE FeatureInfoV2Name DEFAULT_GROUP_HIDE FeatureInfoV2Name CASCADE FeatureInfoV2Name SANDBOX FeatureInfoV2Name LIVEDATA_CONFIG FeatureInfoV2Name APICLIENT_FIRST_USE_X_HW_ID FeatureInfoV2Name CORS FeatureInfoV2Name API_TASK FeatureInfoV2Name APP_QUOTA FeatureInfoV2Name APP_ACL FeatureInfoV2Name VPC_BACKUP FeatureInfoV2Name THROTTLE_STRATEGY FeatureInfoV2Name }
func GetFeatureInfoV2NameEnum ¶
func GetFeatureInfoV2NameEnum() FeatureInfoV2NameEnum
type FeatureToggleV2 ¶
type FeatureToggleV2 struct { // 特性名称 Name string `json:"name"` // 是否开启特性 Enable bool `json:"enable"` // 特性参数配置 Config *string `json:"config,omitempty"` }
func (FeatureToggleV2) String ¶
func (o FeatureToggleV2) String() string
type FunctionApiBaseInfo ¶
type FunctionApiBaseInfo struct { // 函数URN FunctionUrn string `json:"function_urn"` // 描述信息。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 调用类型 - async: 异步 - sync:同步 InvocationType FunctionApiBaseInfoInvocationType `json:"invocation_type"` // 版本。 Version *string `json:"version,omitempty"` // ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。 Timeout int32 `json:"timeout"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` }
函数后端详情
func (FunctionApiBaseInfo) String ¶
func (o FunctionApiBaseInfo) String() string
type FunctionApiBaseInfoInvocationType ¶
type FunctionApiBaseInfoInvocationType struct {
// contains filtered or unexported fields
}
func (FunctionApiBaseInfoInvocationType) MarshalJSON ¶
func (c FunctionApiBaseInfoInvocationType) MarshalJSON() ([]byte, error)
func (*FunctionApiBaseInfoInvocationType) UnmarshalJSON ¶
func (c *FunctionApiBaseInfoInvocationType) UnmarshalJSON(b []byte) error
func (FunctionApiBaseInfoInvocationType) Value ¶ added in v0.0.90
func (c FunctionApiBaseInfoInvocationType) Value() string
type FunctionApiBaseInfoInvocationTypeEnum ¶
type FunctionApiBaseInfoInvocationTypeEnum struct { ASYNC FunctionApiBaseInfoInvocationType SYNC FunctionApiBaseInfoInvocationType }
func GetFunctionApiBaseInfoInvocationTypeEnum ¶
func GetFunctionApiBaseInfoInvocationTypeEnum() FunctionApiBaseInfoInvocationTypeEnum
type GroupTreeResponse ¶
type GroupTreeResponse struct { // 分组id Id *int32 `json:"id,omitempty"` // 分组名称 Name *string `json:"name,omitempty"` // 父分组id ParentId *int32 `json:"parent_id,omitempty"` // 子分组 Children *[]GroupTreeResponse `json:"children,omitempty"` // 应用id AppId *string `json:"app_id,omitempty"` // 权限 Permissions *[]string `json:"permissions,omitempty"` }
func (GroupTreeResponse) String ¶
func (o GroupTreeResponse) String() string
type HealthCheck ¶
type HealthCheck struct { // 当前LVS只支持TCP_CHECK Protocol *HealthCheckProtocol `json:"protocol,omitempty"` // 健康检查端口 Port *int32 `json:"port,omitempty"` // 判定后端不健康的阈值,连续探测失败次数 Unhealthy *int32 `json:"unhealthy,omitempty"` // 探测后端的超时时间,单位秒 Timeout *int32 `json:"timeout,omitempty"` // 探测后端的间隔时间,单位秒 Interval *int32 `json:"interval,omitempty"` }
健康检查配置
func (HealthCheck) String ¶
func (o HealthCheck) String() string
type HealthCheckProtocol ¶
type HealthCheckProtocol struct {
// contains filtered or unexported fields
}
func (HealthCheckProtocol) MarshalJSON ¶
func (c HealthCheckProtocol) MarshalJSON() ([]byte, error)
func (*HealthCheckProtocol) UnmarshalJSON ¶
func (c *HealthCheckProtocol) UnmarshalJSON(b []byte) error
func (HealthCheckProtocol) Value ¶ added in v0.0.90
func (c HealthCheckProtocol) Value() string
type HealthCheckProtocolEnum ¶
type HealthCheckProtocolEnum struct { TCP_CHECK HealthCheckProtocol HTTP_GET HealthCheckProtocol SSL_GET HealthCheckProtocol }
func GetHealthCheckProtocolEnum ¶
func GetHealthCheckProtocolEnum() HealthCheckProtocolEnum
type Identity ¶
type Identity struct { // 参数名称。 支持数字,英文,下划线,中划线,点,且只能以数字或英文开头。 Name string `json:"name"` // 参数位置 Location IdentityLocation `json:"location"` // 参数校验表达式,默认为null,不做校验 Validation *string `json:"validation,omitempty"` }
type IdentityLocation ¶
type IdentityLocation struct {
// contains filtered or unexported fields
}
func (IdentityLocation) MarshalJSON ¶
func (c IdentityLocation) MarshalJSON() ([]byte, error)
func (*IdentityLocation) UnmarshalJSON ¶
func (c *IdentityLocation) UnmarshalJSON(b []byte) error
func (IdentityLocation) Value ¶ added in v0.0.90
func (c IdentityLocation) Value() string
type IdentityLocationEnum ¶
type IdentityLocationEnum struct { HEADER IdentityLocation QUERY IdentityLocation }
func GetIdentityLocationEnum ¶
func GetIdentityLocationEnum() IdentityLocationEnum
type Ignore ¶
type ImportApiDefinitionsV2Request ¶
type ImportApiDefinitionsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ImportApiDefinitionsV2RequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (ImportApiDefinitionsV2Request) String ¶
func (o ImportApiDefinitionsV2Request) String() string
type ImportApiDefinitionsV2RequestBody ¶
type ImportApiDefinitionsV2RequestBody struct { // 是否创建新分组 IsCreateGroup *def.MultiPart `json:"is_create_group,omitempty"` // API分组编号。 当is_create_group=false时为必填 GroupId *def.MultiPart `json:"group_id,omitempty"` // 应用编号。 当is_create_group=false且使用集成应用分组时必填 AppId *def.MultiPart `json:"app_id,omitempty"` // 扩展信息导入模式 - merge:当扩展信息定义冲突时,merge保留原有扩展信息 - override:当扩展信息定义冲突时,override会覆盖原有扩展信息 ExtendMode *def.MultiPart `json:"extend_mode,omitempty"` // 是否开启简易导入模式 SimpleMode *def.MultiPart `json:"simple_mode,omitempty"` // 是否开启Mock后端 MockMode *def.MultiPart `json:"mock_mode,omitempty"` // 导入模式 - merge:当API信息定义冲突时,merge保留原有API信息 - override:当API信息定义冲突时,override会覆盖原有API信息 ApiMode *def.MultiPart `json:"api_mode,omitempty"` // 导入Api的请求体,json或yaml格式的文件 FileName *def.FilePart `json:"file_name"` }
func (ImportApiDefinitionsV2RequestBody) String ¶
func (o ImportApiDefinitionsV2RequestBody) String() string
func (*ImportApiDefinitionsV2RequestBody) UnmarshalJSON ¶
func (o *ImportApiDefinitionsV2RequestBody) UnmarshalJSON(b []byte) error
type ImportApiDefinitionsV2RequestBodyApiMode ¶
type ImportApiDefinitionsV2RequestBodyApiMode struct {
// contains filtered or unexported fields
}
func (ImportApiDefinitionsV2RequestBodyApiMode) MarshalJSON ¶
func (c ImportApiDefinitionsV2RequestBodyApiMode) MarshalJSON() ([]byte, error)
func (*ImportApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON ¶
func (c *ImportApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON(b []byte) error
func (ImportApiDefinitionsV2RequestBodyApiMode) Value ¶ added in v0.0.90
func (c ImportApiDefinitionsV2RequestBodyApiMode) Value() string
type ImportApiDefinitionsV2RequestBodyApiModeEnum ¶
type ImportApiDefinitionsV2RequestBodyApiModeEnum struct { MERGE ImportApiDefinitionsV2RequestBodyApiMode OVERRIDE ImportApiDefinitionsV2RequestBodyApiMode }
func GetImportApiDefinitionsV2RequestBodyApiModeEnum ¶
func GetImportApiDefinitionsV2RequestBodyApiModeEnum() ImportApiDefinitionsV2RequestBodyApiModeEnum
type ImportApiDefinitionsV2RequestBodyExtendMode ¶
type ImportApiDefinitionsV2RequestBodyExtendMode struct {
// contains filtered or unexported fields
}
func (ImportApiDefinitionsV2RequestBodyExtendMode) MarshalJSON ¶
func (c ImportApiDefinitionsV2RequestBodyExtendMode) MarshalJSON() ([]byte, error)
func (*ImportApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON ¶
func (c *ImportApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON(b []byte) error
func (ImportApiDefinitionsV2RequestBodyExtendMode) Value ¶ added in v0.0.90
func (c ImportApiDefinitionsV2RequestBodyExtendMode) Value() string
type ImportApiDefinitionsV2RequestBodyExtendModeEnum ¶
type ImportApiDefinitionsV2RequestBodyExtendModeEnum struct { MERGE ImportApiDefinitionsV2RequestBodyExtendMode OVERRIDE ImportApiDefinitionsV2RequestBodyExtendMode }
func GetImportApiDefinitionsV2RequestBodyExtendModeEnum ¶
func GetImportApiDefinitionsV2RequestBodyExtendModeEnum() ImportApiDefinitionsV2RequestBodyExtendModeEnum
type ImportApiDefinitionsV2Response ¶
type ImportApiDefinitionsV2Response struct { // 导入成功信息 Success *[]Success `json:"success,omitempty"` // 导入失败信息 Failure *[]Failure `json:"failure,omitempty"` Swagger *Swagger `json:"swagger,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 被忽略导入的API信息 Ignore *[]Ignore `json:"ignore,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ImportApiDefinitionsV2Response) String ¶
func (o ImportApiDefinitionsV2Response) String() string
type ImportAssetRequest ¶
type ImportAssetRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *ImportAssetRequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (ImportAssetRequest) String ¶
func (o ImportAssetRequest) String() string
type ImportAssetRequestBody ¶ added in v0.0.108
type ImportAssetRequestBody struct { // 资产压缩文件 ImportAssetRequestBody *def.FilePart `json:"ImportAssetRequestBody"` }
func (ImportAssetRequestBody) String ¶ added in v0.0.108
func (o ImportAssetRequestBody) String() string
func (*ImportAssetRequestBody) UnmarshalJSON ¶ added in v0.0.108
func (o *ImportAssetRequestBody) UnmarshalJSON(b []byte) error
type ImportAssetResponse ¶
type ImportAssetResponse struct { // 资产导入作业的ID,可用于查询作业进度,获取导入作业进度 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ImportAssetResponse) String ¶
func (o ImportAssetResponse) String() string
type ImportBaseResult ¶
type ImportBaseResult struct { // 导入成功信息 Success *[]Success `json:"success,omitempty"` // 导入失败信息 Failure *[]Failure `json:"failure,omitempty"` Swagger *Swagger `json:"swagger,omitempty"` }
func (ImportBaseResult) String ¶
func (o ImportBaseResult) String() string
type ImportLiveDataApiDefinitionsV2Request ¶
type ImportLiveDataApiDefinitionsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` Body *ImportLiveDataApiDefinitionsV2RequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (ImportLiveDataApiDefinitionsV2Request) String ¶
func (o ImportLiveDataApiDefinitionsV2Request) String() string
type ImportLiveDataApiDefinitionsV2RequestBody ¶
type ImportLiveDataApiDefinitionsV2RequestBody struct { // 扩展信息导入模式 - merge:当扩展信息定义冲突时,merge保留原有扩展信息 - override:当扩展信息定义冲突时,override会覆盖原有扩展信息 ExtendMode *def.MultiPart `json:"extend_mode,omitempty"` // 导入模式 - merge:当API信息定义冲突时,merge保留原有API信息 - override:当API信息定义冲突时,override会覆盖原有API信息 ApiMode *def.MultiPart `json:"api_mode,omitempty"` // 导入自定义后端API的请求体,json或yaml格式的文件 FileName *def.FilePart `json:"file_name"` }
func (ImportLiveDataApiDefinitionsV2RequestBody) String ¶
func (o ImportLiveDataApiDefinitionsV2RequestBody) String() string
func (*ImportLiveDataApiDefinitionsV2RequestBody) UnmarshalJSON ¶
func (o *ImportLiveDataApiDefinitionsV2RequestBody) UnmarshalJSON(b []byte) error
type ImportLiveDataApiDefinitionsV2RequestBodyApiMode ¶
type ImportLiveDataApiDefinitionsV2RequestBodyApiMode struct {
// contains filtered or unexported fields
}
func (ImportLiveDataApiDefinitionsV2RequestBodyApiMode) MarshalJSON ¶
func (c ImportLiveDataApiDefinitionsV2RequestBodyApiMode) MarshalJSON() ([]byte, error)
func (*ImportLiveDataApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON ¶
func (c *ImportLiveDataApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON(b []byte) error
func (ImportLiveDataApiDefinitionsV2RequestBodyApiMode) Value ¶ added in v0.0.90
func (c ImportLiveDataApiDefinitionsV2RequestBodyApiMode) Value() string
type ImportLiveDataApiDefinitionsV2RequestBodyApiModeEnum ¶
type ImportLiveDataApiDefinitionsV2RequestBodyApiModeEnum struct { MERGE ImportLiveDataApiDefinitionsV2RequestBodyApiMode OVERRIDE ImportLiveDataApiDefinitionsV2RequestBodyApiMode }
func GetImportLiveDataApiDefinitionsV2RequestBodyApiModeEnum ¶
func GetImportLiveDataApiDefinitionsV2RequestBodyApiModeEnum() ImportLiveDataApiDefinitionsV2RequestBodyApiModeEnum
type ImportLiveDataApiDefinitionsV2RequestBodyExtendMode ¶
type ImportLiveDataApiDefinitionsV2RequestBodyExtendMode struct {
// contains filtered or unexported fields
}
func (ImportLiveDataApiDefinitionsV2RequestBodyExtendMode) MarshalJSON ¶
func (c ImportLiveDataApiDefinitionsV2RequestBodyExtendMode) MarshalJSON() ([]byte, error)
func (*ImportLiveDataApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON ¶
func (c *ImportLiveDataApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON(b []byte) error
func (ImportLiveDataApiDefinitionsV2RequestBodyExtendMode) Value ¶ added in v0.0.90
func (c ImportLiveDataApiDefinitionsV2RequestBodyExtendMode) Value() string
type ImportLiveDataApiDefinitionsV2RequestBodyExtendModeEnum ¶
type ImportLiveDataApiDefinitionsV2RequestBodyExtendModeEnum struct { MERGE ImportLiveDataApiDefinitionsV2RequestBodyExtendMode OVERRIDE ImportLiveDataApiDefinitionsV2RequestBodyExtendMode }
func GetImportLiveDataApiDefinitionsV2RequestBodyExtendModeEnum ¶
func GetImportLiveDataApiDefinitionsV2RequestBodyExtendModeEnum() ImportLiveDataApiDefinitionsV2RequestBodyExtendModeEnum
type ImportLiveDataApiDefinitionsV2Response ¶
type ImportLiveDataApiDefinitionsV2Response struct { // 导入成功信息 Success *[]Success `json:"success,omitempty"` // 导入失败信息 Failure *[]Failure `json:"failure,omitempty"` Swagger *Swagger `json:"swagger,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ImportLiveDataApiDefinitionsV2Response) String ¶
func (o ImportLiveDataApiDefinitionsV2Response) String() string
type ImportMqsInstanceTopicRequest ¶
type ImportMqsInstanceTopicRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 导入topic的模式。 - AddNew:全量新增导入。 - Merge:合并导入。 默认为AddNew模式。 Mode *ImportMqsInstanceTopicRequestMode `json:"mode,omitempty"` // App应用的前缀。 若加上前缀,导入Topic时会拼接前缀和已有的App应用,形成新的App应用名称,再根据新的App应用名称导入Topic。 Prefix *string `json:"prefix,omitempty"` Body *ImportMqsInstanceTopicRequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (ImportMqsInstanceTopicRequest) String ¶
func (o ImportMqsInstanceTopicRequest) String() string
type ImportMqsInstanceTopicRequestBody ¶
type ImportMqsInstanceTopicRequestBody struct { // 待导入的topic列表文件。 UploadFileName *def.FilePart `json:"upload_file_name"` }
func (ImportMqsInstanceTopicRequestBody) String ¶
func (o ImportMqsInstanceTopicRequestBody) String() string
func (*ImportMqsInstanceTopicRequestBody) UnmarshalJSON ¶
func (o *ImportMqsInstanceTopicRequestBody) UnmarshalJSON(b []byte) error
type ImportMqsInstanceTopicRequestMode ¶
type ImportMqsInstanceTopicRequestMode struct {
// contains filtered or unexported fields
}
func (ImportMqsInstanceTopicRequestMode) MarshalJSON ¶
func (c ImportMqsInstanceTopicRequestMode) MarshalJSON() ([]byte, error)
func (*ImportMqsInstanceTopicRequestMode) UnmarshalJSON ¶
func (c *ImportMqsInstanceTopicRequestMode) UnmarshalJSON(b []byte) error
func (ImportMqsInstanceTopicRequestMode) Value ¶ added in v0.0.90
func (c ImportMqsInstanceTopicRequestMode) Value() string
type ImportMqsInstanceTopicRequestModeEnum ¶
type ImportMqsInstanceTopicRequestModeEnum struct { ADD_NEW ImportMqsInstanceTopicRequestMode MERGE ImportMqsInstanceTopicRequestMode }
func GetImportMqsInstanceTopicRequestModeEnum ¶
func GetImportMqsInstanceTopicRequestModeEnum() ImportMqsInstanceTopicRequestModeEnum
type ImportMqsInstanceTopicResponse ¶
type ImportMqsInstanceTopicResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ImportMqsInstanceTopicResponse) String ¶
func (o ImportMqsInstanceTopicResponse) String() string
type InnerLatencyStats ¶
type InnerLatencyStats struct { // 最大网关内部延时 MaxInnerLatency *int32 `json:"max_inner_latency,omitempty"` // 平均网关内部延时 AvgInnerLatency *float32 `json:"avg_inner_latency,omitempty"` }
func (InnerLatencyStats) String ¶
func (o InnerLatencyStats) String() string
type InstallMultiTasksRequest ¶
type InstallMultiTasksRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *MultiTaskInitBody `json:"body,omitempty"` }
Request Object
func (InstallMultiTasksRequest) String ¶
func (o InstallMultiTasksRequest) String() string
type InstallMultiTasksResponse ¶
type InstallMultiTasksResponse struct { Body *[]MultiTaskInitElement `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (InstallMultiTasksResponse) String ¶
func (o InstallMultiTasksResponse) String() string
type LastUpdatedUser ¶
type LastUpdatedUser struct { // 用户ID UserId *string `json:"user_id,omitempty"` // 用户名 UserName *string `json:"user_name,omitempty"` }
最后更新时的用户
func (LastUpdatedUser) String ¶
func (o LastUpdatedUser) String() string
type LatencyStats ¶
type LatencyStats struct { // 最大延时 MaxLatency *int32 `json:"max_latency,omitempty"` // 平均延时 AvgLatency *float32 `json:"avg_latency,omitempty"` }
func (LatencyStats) String ¶
func (o LatencyStats) String() string
type LdApiCheckInfo ¶
type LdApiCheckInfo struct { // 校验类型: - path:路径类型 - name:名称类型 Type LdApiCheckInfoType `json:"type"` // 自定义后端API名称。 type = name时必填 LdApiName *string `json:"ld_api_name,omitempty"` // 自定义后端API请求方式。 type = path时必填 LdApiMethod *LdApiCheckInfoLdApiMethod `json:"ld_api_method,omitempty"` // 自定义后端API的访问地址。 type = path时必填 LdApiPath *string `json:"ld_api_path,omitempty"` // 集成应用ID。 校验应用下后端API定义是否重复时必填 RomaAppId *string `json:"roma_app_id,omitempty"` }
func (LdApiCheckInfo) String ¶
func (o LdApiCheckInfo) String() string
type LdApiCheckInfoLdApiMethod ¶
type LdApiCheckInfoLdApiMethod struct {
// contains filtered or unexported fields
}
func (LdApiCheckInfoLdApiMethod) MarshalJSON ¶
func (c LdApiCheckInfoLdApiMethod) MarshalJSON() ([]byte, error)
func (*LdApiCheckInfoLdApiMethod) UnmarshalJSON ¶
func (c *LdApiCheckInfoLdApiMethod) UnmarshalJSON(b []byte) error
func (LdApiCheckInfoLdApiMethod) Value ¶ added in v0.0.90
func (c LdApiCheckInfoLdApiMethod) Value() string
type LdApiCheckInfoLdApiMethodEnum ¶
type LdApiCheckInfoLdApiMethodEnum struct { GET LdApiCheckInfoLdApiMethod POST LdApiCheckInfoLdApiMethod PUT LdApiCheckInfoLdApiMethod DELETE LdApiCheckInfoLdApiMethod }
func GetLdApiCheckInfoLdApiMethodEnum ¶
func GetLdApiCheckInfoLdApiMethodEnum() LdApiCheckInfoLdApiMethodEnum
type LdApiCheckInfoType ¶
type LdApiCheckInfoType struct {
// contains filtered or unexported fields
}
func (LdApiCheckInfoType) MarshalJSON ¶
func (c LdApiCheckInfoType) MarshalJSON() ([]byte, error)
func (*LdApiCheckInfoType) UnmarshalJSON ¶
func (c *LdApiCheckInfoType) UnmarshalJSON(b []byte) error
func (LdApiCheckInfoType) Value ¶ added in v0.0.90
func (c LdApiCheckInfoType) Value() string
type LdApiCheckInfoTypeEnum ¶
type LdApiCheckInfoTypeEnum struct { PATH LdApiCheckInfoType NAME LdApiCheckInfoType }
func GetLdApiCheckInfoTypeEnum ¶
func GetLdApiCheckInfoTypeEnum() LdApiCheckInfoTypeEnum
type LdApiCreate ¶
type LdApiCreate struct { // 后端API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 Name string `json:"name"` // 后端API请求路径。 支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。 Path string `json:"path"` // 后端API请求方法。 支持GET、PUT、POST、DELETE Method LdApiCreateMethod `json:"method"` // 后端API描述。 不支持<,>字符 Description *string `json:"description,omitempty"` // 后端API版本 支持英文,数字,下划线,中划线,点。 Version string `json:"version"` // 后端API返回类型 ContentType LdApiCreateContentType `json:"content_type"` // 后端API为签名认证时绑定的签名密钥编号 ApiSignatureId *string `json:"api_signature_id,omitempty"` // 后端API归属的集成应用编号 RomaAppId string `json:"roma_app_id"` // API响应信息是否格式化 true: 对响应信息进行格式化 false:对响应信息格式化不进行格式化 ReturnFormat *bool `json:"return_format,omitempty"` // 后端API的请求参数列表 Parameters *[]LdApiParameter `json:"parameters,omitempty"` }
func (LdApiCreate) String ¶
func (o LdApiCreate) String() string
type LdApiCreateContentType ¶
type LdApiCreateContentType struct {
// contains filtered or unexported fields
}
func (LdApiCreateContentType) MarshalJSON ¶
func (c LdApiCreateContentType) MarshalJSON() ([]byte, error)
func (*LdApiCreateContentType) UnmarshalJSON ¶
func (c *LdApiCreateContentType) UnmarshalJSON(b []byte) error
func (LdApiCreateContentType) Value ¶ added in v0.0.90
func (c LdApiCreateContentType) Value() string
type LdApiCreateContentTypeEnum ¶
type LdApiCreateContentTypeEnum struct { JSON LdApiCreateContentType XML LdApiCreateContentType STREAM LdApiCreateContentType }
func GetLdApiCreateContentTypeEnum ¶
func GetLdApiCreateContentTypeEnum() LdApiCreateContentTypeEnum
type LdApiCreateMethod ¶
type LdApiCreateMethod struct {
// contains filtered or unexported fields
}
func (LdApiCreateMethod) MarshalJSON ¶
func (c LdApiCreateMethod) MarshalJSON() ([]byte, error)
func (*LdApiCreateMethod) UnmarshalJSON ¶
func (c *LdApiCreateMethod) UnmarshalJSON(b []byte) error
func (LdApiCreateMethod) Value ¶ added in v0.0.90
func (c LdApiCreateMethod) Value() string
type LdApiCreateMethodEnum ¶
type LdApiCreateMethodEnum struct { GET LdApiCreateMethod PUT LdApiCreateMethod POST LdApiCreateMethod DELETE LdApiCreateMethod }
func GetLdApiCreateMethodEnum ¶
func GetLdApiCreateMethodEnum() LdApiCreateMethodEnum
type LdApiDeploy ¶
type LdApiDeploy struct { // 是否自动发布API - true:部署完成后自动创建并发布前端API。此时auth_type,group_id,env_id,protocol必填。 - false:部署完成后不创建前端API DeployFrontApi *bool `json:"deploy_front_api,omitempty"` // 认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType *string `json:"auth_type,omitempty"` // 自定义认证编号。 认证方式auth_type = AUTHORIZER时必填 AuthorizerId *string `json:"authorizer_id,omitempty"` // 部署的前端API分组编号 GroupId *string `json:"group_id,omitempty"` // 部署的环境编号 EnvId *string `json:"env_id,omitempty"` // 请求协议 Protocol *LdApiDeployProtocol `json:"protocol,omitempty"` // 超时时间 BackendTimeout *int32 `json:"backend_timeout,omitempty"` // 请求路径 Path *string `json:"path,omitempty"` // 请求方式 Method *string `json:"method,omitempty"` // 是否支持跨域 - true:支持 - false:不支持 Cors *bool `json:"cors,omitempty"` // 部署到前端的api归属的应用编号,与后端归属的应用编号保持一致 RomaAppId *string `json:"roma_app_id,omitempty"` // ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10] RetryCount *string `json:"retry_count,omitempty"` }
func (LdApiDeploy) String ¶
func (o LdApiDeploy) String() string
type LdApiDeployHistoryInfo ¶
type LdApiDeployHistoryInfo struct { // 部署的编号 Id *string `json:"id,omitempty"` // 部署的后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` // 部署的前端API分组编号 GroupId *string `json:"group_id,omitempty"` // 部署的环境编号 EnvId *string `json:"env_id,omitempty"` // 部署的前端API编号 ApiId *string `json:"api_id,omitempty"` // 部署时间 DeployTime *sdktime.SdkTime `json:"deploy_time,omitempty"` ApiDefinition *LdApiInfo `json:"api_definition,omitempty"` }
func (LdApiDeployHistoryInfo) String ¶
func (o LdApiDeployHistoryInfo) String() string
type LdApiDeployProtocol ¶
type LdApiDeployProtocol struct {
// contains filtered or unexported fields
}
func (LdApiDeployProtocol) MarshalJSON ¶
func (c LdApiDeployProtocol) MarshalJSON() ([]byte, error)
func (*LdApiDeployProtocol) UnmarshalJSON ¶
func (c *LdApiDeployProtocol) UnmarshalJSON(b []byte) error
func (LdApiDeployProtocol) Value ¶ added in v0.0.90
func (c LdApiDeployProtocol) Value() string
type LdApiDeployProtocolEnum ¶
type LdApiDeployProtocolEnum struct { HTTPS LdApiDeployProtocol HTTP LdApiDeployProtocol HTTPSHTTP LdApiDeployProtocol }
func GetLdApiDeployProtocolEnum ¶
func GetLdApiDeployProtocolEnum() LdApiDeployProtocolEnum
type LdApiInfo ¶
type LdApiInfo struct { // 后端API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 Name string `json:"name"` // 后端API请求路径。 支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。 Path string `json:"path"` // 后端API请求方法。 支持GET、PUT、POST、DELETE Method LdApiInfoMethod `json:"method"` // 后端API描述。 不支持<,>字符 Description *string `json:"description,omitempty"` // 后端API版本 支持英文,数字,下划线,中划线,点。 Version string `json:"version"` // 后端API返回类型 ContentType LdApiInfoContentType `json:"content_type"` // 后端API为签名认证时绑定的签名密钥编号 ApiSignatureId *string `json:"api_signature_id,omitempty"` // 后端API归属的集成应用编号 RomaAppId string `json:"roma_app_id"` // API响应信息是否格式化 true: 对响应信息进行格式化 false:对响应信息格式化不进行格式化 ReturnFormat *bool `json:"return_format,omitempty"` // 后端API的请求参数列表 Parameters *[]LdApiParameter `json:"parameters,omitempty"` // 后端API编号 Id *string `json:"id,omitempty"` // 后端API所属实例编号 Instance *string `json:"instance,omitempty"` // 后端API类型: - data:数据后端 - function: 函数后端 Type *LdApiInfoType `json:"type,omitempty"` // 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署 Status *LdApiInfoStatus `json:"status,omitempty"` // 后端API创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 后端API修改时间 ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"` // 后端API脚本信息 Scripts *[]LdApiScript `json:"scripts,omitempty"` // 后端API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` }
后端API详情
type LdApiInfoContentType ¶
type LdApiInfoContentType struct {
// contains filtered or unexported fields
}
func (LdApiInfoContentType) MarshalJSON ¶
func (c LdApiInfoContentType) MarshalJSON() ([]byte, error)
func (*LdApiInfoContentType) UnmarshalJSON ¶
func (c *LdApiInfoContentType) UnmarshalJSON(b []byte) error
func (LdApiInfoContentType) Value ¶ added in v0.0.90
func (c LdApiInfoContentType) Value() string
type LdApiInfoContentTypeEnum ¶
type LdApiInfoContentTypeEnum struct { JSON LdApiInfoContentType XML LdApiInfoContentType STREAM LdApiInfoContentType }
func GetLdApiInfoContentTypeEnum ¶
func GetLdApiInfoContentTypeEnum() LdApiInfoContentTypeEnum
type LdApiInfoMethod ¶
type LdApiInfoMethod struct {
// contains filtered or unexported fields
}
func (LdApiInfoMethod) MarshalJSON ¶
func (c LdApiInfoMethod) MarshalJSON() ([]byte, error)
func (*LdApiInfoMethod) UnmarshalJSON ¶
func (c *LdApiInfoMethod) UnmarshalJSON(b []byte) error
func (LdApiInfoMethod) Value ¶ added in v0.0.90
func (c LdApiInfoMethod) Value() string
type LdApiInfoMethodEnum ¶
type LdApiInfoMethodEnum struct { GET LdApiInfoMethod PUT LdApiInfoMethod POST LdApiInfoMethod DELETE LdApiInfoMethod }
func GetLdApiInfoMethodEnum ¶
func GetLdApiInfoMethodEnum() LdApiInfoMethodEnum
type LdApiInfoStatus ¶
type LdApiInfoStatus struct {
// contains filtered or unexported fields
}
func (LdApiInfoStatus) MarshalJSON ¶
func (c LdApiInfoStatus) MarshalJSON() ([]byte, error)
func (*LdApiInfoStatus) UnmarshalJSON ¶
func (c *LdApiInfoStatus) UnmarshalJSON(b []byte) error
func (LdApiInfoStatus) Value ¶ added in v0.0.90
func (c LdApiInfoStatus) Value() int32
type LdApiInfoStatusEnum ¶
type LdApiInfoStatusEnum struct { E_1 LdApiInfoStatus E_3 LdApiInfoStatus E_4 LdApiInfoStatus }
func GetLdApiInfoStatusEnum ¶
func GetLdApiInfoStatusEnum() LdApiInfoStatusEnum
type LdApiInfoType ¶
type LdApiInfoType struct {
// contains filtered or unexported fields
}
func (LdApiInfoType) MarshalJSON ¶
func (c LdApiInfoType) MarshalJSON() ([]byte, error)
func (*LdApiInfoType) UnmarshalJSON ¶
func (c *LdApiInfoType) UnmarshalJSON(b []byte) error
func (LdApiInfoType) Value ¶ added in v0.0.90
func (c LdApiInfoType) Value() string
type LdApiInfoTypeEnum ¶
type LdApiInfoTypeEnum struct { DATA LdApiInfoType FUNCTION LdApiInfoType }
func GetLdApiInfoTypeEnum ¶
func GetLdApiInfoTypeEnum() LdApiInfoTypeEnum
type LdApiParameter ¶
type LdApiParameter struct { // 参数名称: - 参数位于Headers、 Parameters时,用户自行定义,支持英文、数字、点、中划线、下划线,且需要英文开头,不区分大小写。 - 参数位于Body时候,参数以application/json、application/xml、application/text为名,但实际是以请求body里的键值对作为参数名和参数值,比如请求消息样例,参数名为application/json,参数值为{\\\"table\\\":\\\"apic01\\\",\\\"id\\\":\\\"1\\\"},后端取table:apic01,id:1这两个键值对作为入参。 - 注意:定义参数不要重名,否则会覆盖掉,当Headers、Parameters重复时候,Parameters会被覆盖,当Parameters和Body里的键值对重复时候,Parameters会被覆盖。 Name string `json:"name"` // 该参数在调用API时候所放的位置: - Headers :放于请求头 - Parameters :放于请求参数 - Body:放于请求体 In LdApiParameterIn `json:"in"` // 参数默认值 Default *string `json:"default,omitempty"` // 参数描述 不支持<,>字符 Description *string `json:"description,omitempty"` // 参数是否必须。true:必须,false:不必须 Required *bool `json:"required,omitempty"` }
后端API请求参数
func (LdApiParameter) String ¶
func (o LdApiParameter) String() string
type LdApiParameterIn ¶
type LdApiParameterIn struct {
// contains filtered or unexported fields
}
func (LdApiParameterIn) MarshalJSON ¶
func (c LdApiParameterIn) MarshalJSON() ([]byte, error)
func (*LdApiParameterIn) UnmarshalJSON ¶
func (c *LdApiParameterIn) UnmarshalJSON(b []byte) error
func (LdApiParameterIn) Value ¶ added in v0.0.90
func (c LdApiParameterIn) Value() string
type LdApiParameterInEnum ¶
type LdApiParameterInEnum struct { HEADERS LdApiParameterIn PARAMETERS LdApiParameterIn BODY LdApiParameterIn }
func GetLdApiParameterInEnum ¶
func GetLdApiParameterInEnum() LdApiParameterInEnum
type LdApiScript ¶
type LdApiScript struct { // 数据源编号,当api_type = data时,必选 DsId *string `json:"ds_id,omitempty"` // 数据源名称 DsName *string `json:"ds_name,omitempty"` // 数据源类型: - oracle:oracle数据源类型 - mysql:mysql数据源类型 - mongodb:mongodb数据源类型 - redis:redis数据源类型 - postgresql:postgresql数据源类型 - hive:hive数据源类型 - mssql:sqlserver数据源类型 - sqlserver:sqlserver数据源类型 - gauss200:gauss200数据源类型 - dws:dws数据源类型 - gauss100:gauss100数据源类型 - zenith:zenith数据源类型 DsType *LdApiScriptDsType `json:"ds_type,omitempty"` // 脚本类型 - SQL:sql语句 - SP:存储过程 Type *string `json:"type,omitempty"` // 返回对象。 当api_type = data时,必选 ObjectName *string `json:"object_name,omitempty"` // API脚本内容 请对脚本进行base64编码 Content string `json:"content"` // 数据脚本是否结果分页,当api_type = data时有效 EnableResultPaging *bool `json:"enable_result_paging,omitempty"` // 数据脚本是否预编译,当api_type = data时有效 EnablePreparestatement *bool `json:"enable_preparestatement,omitempty"` // 后端API脚本创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 后端API脚本修改时间 ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"` }
func (LdApiScript) String ¶
func (o LdApiScript) String() string
type LdApiScriptBase ¶
type LdApiScriptBase struct { // 数据源编号,当api_type = data时,必选 DsId *string `json:"ds_id,omitempty"` // 数据源名称 DsName *string `json:"ds_name,omitempty"` // 数据源类型: - oracle:oracle数据源类型 - mysql:mysql数据源类型 - mongodb:mongodb数据源类型 - redis:redis数据源类型 - postgresql:postgresql数据源类型 - hive:hive数据源类型 - mssql:sqlserver数据源类型 - sqlserver:sqlserver数据源类型 - gauss200:gauss200数据源类型 - dws:dws数据源类型 - gauss100:gauss100数据源类型 - zenith:zenith数据源类型 DsType *LdApiScriptBaseDsType `json:"ds_type,omitempty"` // 脚本类型 - SQL:sql语句 - SP:存储过程 Type *string `json:"type,omitempty"` // 返回对象。 当api_type = data时,必选 ObjectName *string `json:"object_name,omitempty"` // API脚本内容 请对脚本进行base64编码 Content string `json:"content"` // 数据脚本是否结果分页,当api_type = data时有效 EnableResultPaging *bool `json:"enable_result_paging,omitempty"` // 数据脚本是否预编译,当api_type = data时有效 EnablePreparestatement *bool `json:"enable_preparestatement,omitempty"` }
func (LdApiScriptBase) String ¶
func (o LdApiScriptBase) String() string
type LdApiScriptBaseDsType ¶
type LdApiScriptBaseDsType struct {
// contains filtered or unexported fields
}
func (LdApiScriptBaseDsType) MarshalJSON ¶
func (c LdApiScriptBaseDsType) MarshalJSON() ([]byte, error)
func (*LdApiScriptBaseDsType) UnmarshalJSON ¶
func (c *LdApiScriptBaseDsType) UnmarshalJSON(b []byte) error
func (LdApiScriptBaseDsType) Value ¶ added in v0.0.90
func (c LdApiScriptBaseDsType) Value() string
type LdApiScriptBaseDsTypeEnum ¶
type LdApiScriptBaseDsTypeEnum struct { ORACLE LdApiScriptBaseDsType MYSQL LdApiScriptBaseDsType MONGODB LdApiScriptBaseDsType REDIS LdApiScriptBaseDsType POSTGRESQL LdApiScriptBaseDsType HIVE LdApiScriptBaseDsType MSSQL LdApiScriptBaseDsType SQLSERVER LdApiScriptBaseDsType GAUSS200 LdApiScriptBaseDsType DWS LdApiScriptBaseDsType GAUSS100 LdApiScriptBaseDsType ZENITH LdApiScriptBaseDsType }
func GetLdApiScriptBaseDsTypeEnum ¶
func GetLdApiScriptBaseDsTypeEnum() LdApiScriptBaseDsTypeEnum
type LdApiScriptCreate ¶
type LdApiScriptCreate struct { // API类型 - data:数据API - function:函数API ApiType *LdApiScriptCreateApiType `json:"api_type,omitempty"` // API脚本信息列表 Scripts *[]LdApiScriptBase `json:"scripts,omitempty"` }
func (LdApiScriptCreate) String ¶
func (o LdApiScriptCreate) String() string
type LdApiScriptCreateApiType ¶
type LdApiScriptCreateApiType struct {
// contains filtered or unexported fields
}
func (LdApiScriptCreateApiType) MarshalJSON ¶
func (c LdApiScriptCreateApiType) MarshalJSON() ([]byte, error)
func (*LdApiScriptCreateApiType) UnmarshalJSON ¶
func (c *LdApiScriptCreateApiType) UnmarshalJSON(b []byte) error
func (LdApiScriptCreateApiType) Value ¶ added in v0.0.90
func (c LdApiScriptCreateApiType) Value() string
type LdApiScriptCreateApiTypeEnum ¶
type LdApiScriptCreateApiTypeEnum struct { DATA LdApiScriptCreateApiType FUNCTION LdApiScriptCreateApiType }
func GetLdApiScriptCreateApiTypeEnum ¶
func GetLdApiScriptCreateApiTypeEnum() LdApiScriptCreateApiTypeEnum
type LdApiScriptDsType ¶
type LdApiScriptDsType struct {
// contains filtered or unexported fields
}
func (LdApiScriptDsType) MarshalJSON ¶
func (c LdApiScriptDsType) MarshalJSON() ([]byte, error)
func (*LdApiScriptDsType) UnmarshalJSON ¶
func (c *LdApiScriptDsType) UnmarshalJSON(b []byte) error
func (LdApiScriptDsType) Value ¶ added in v0.0.90
func (c LdApiScriptDsType) Value() string
type LdApiScriptDsTypeEnum ¶
type LdApiScriptDsTypeEnum struct { ORACLE LdApiScriptDsType MYSQL LdApiScriptDsType MONGODB LdApiScriptDsType REDIS LdApiScriptDsType POSTGRESQL LdApiScriptDsType HIVE LdApiScriptDsType MSSQL LdApiScriptDsType SQLSERVER LdApiScriptDsType GAUSS200 LdApiScriptDsType DWS LdApiScriptDsType GAUSS100 LdApiScriptDsType ZENITH LdApiScriptDsType }
func GetLdApiScriptDsTypeEnum ¶
func GetLdApiScriptDsTypeEnum() LdApiScriptDsTypeEnum
type LdApiTest ¶
type LdApiTest struct { // 后端API请求参数 Parameters *[]LdApiParameter `json:"parameters,omitempty"` }
type LdApiTestHistoryInfoV2 ¶
type LdApiTestHistoryInfoV2 struct { // 测试返回的状态码 TestStatusCode *string `json:"test_status_code,omitempty"` // 测试的请求内容 TestRequest *string `json:"test_request,omitempty"` // 测试耗时 TestUsedTime *int32 `json:"test_used_time,omitempty"` // 测试者的项目编号 TestOperator *string `json:"test_operator,omitempty"` // 测试的响应内容 TestResponse *string `json:"test_response,omitempty"` // 测试的请求方法 TestMethod *string `json:"test_method,omitempty"` // 测试编号 TestId *int32 `json:"test_id,omitempty"` // 测试时间 TestDate *sdktime.SdkTime `json:"test_date,omitempty"` // 后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` }
func (LdApiTestHistoryInfoV2) String ¶
func (o LdApiTestHistoryInfoV2) String() string
type LdDatasourceCreate ¶
type LdDatasourceCreate struct { // 数据源名称 Name *string `json:"name,omitempty"` // 数据源类型: - oracle:oracle数据源类型 - mysql:mysql数据源类型 - mongodb:mongodb数据源类型 - redis:redis数据源类型 - postgresql:postgresql数据源类型 - hive:hive数据源类型 - mssql:sqlserver数据源类型 - sqlserver:sqlserver数据源类型 - gauss200:gauss200数据源类型 - dws:dws数据源类型 - gauss100:gauss100数据源类型 - zenith:zenith数据源类型 Type *LdDatasourceCreateType `json:"type,omitempty"` // 数据源描述 Description *string `json:"description,omitempty"` // 数据源连接字符串 Url *string `json:"url,omitempty"` // 用户名 User *string `json:"user,omitempty"` // 密码。 敏感信息不作为响应返回 Password *string `json:"password,omitempty"` // ftp上传路径 预留字段,暂不支持。 Remotepath *string `json:"remotepath,omitempty"` }
func (LdDatasourceCreate) String ¶
func (o LdDatasourceCreate) String() string
type LdDatasourceCreateType ¶
type LdDatasourceCreateType struct {
// contains filtered or unexported fields
}
func (LdDatasourceCreateType) MarshalJSON ¶
func (c LdDatasourceCreateType) MarshalJSON() ([]byte, error)
func (*LdDatasourceCreateType) UnmarshalJSON ¶
func (c *LdDatasourceCreateType) UnmarshalJSON(b []byte) error
func (LdDatasourceCreateType) Value ¶ added in v0.0.90
func (c LdDatasourceCreateType) Value() string
type LdDatasourceCreateTypeEnum ¶
type LdDatasourceCreateTypeEnum struct { ORACLE LdDatasourceCreateType MYSQL LdDatasourceCreateType MONGODB LdDatasourceCreateType REDIS LdDatasourceCreateType POSTGRESQL LdDatasourceCreateType HIVE LdDatasourceCreateType MSSQL LdDatasourceCreateType SQLSERVER LdDatasourceCreateType GAUSS200 LdDatasourceCreateType DWS LdDatasourceCreateType GAUSS100 LdDatasourceCreateType ZENITH LdDatasourceCreateType }
func GetLdDatasourceCreateTypeEnum ¶
func GetLdDatasourceCreateTypeEnum() LdDatasourceCreateTypeEnum
type LdDatasourceInfo ¶
type LdDatasourceInfo struct { // 数据源名称 Name *string `json:"name,omitempty"` // 数据源类型: - oracle:oracle数据源类型 - mysql:mysql数据源类型 - mongodb:mongodb数据源类型 - redis:redis数据源类型 - postgresql:postgresql数据源类型 - hive:hive数据源类型 - mssql:sqlserver数据源类型 - sqlserver:sqlserver数据源类型 - gauss200:gauss200数据源类型 - dws:dws数据源类型 - gauss100:gauss100数据源类型 - zenith:zenith数据源类型 Type *LdDatasourceInfoType `json:"type,omitempty"` // 数据源描述 Description *string `json:"description,omitempty"` // 数据源连接字符串 Url *string `json:"url,omitempty"` // 用户名 User *string `json:"user,omitempty"` // 密码。 敏感信息不作为响应返回 Password *string `json:"password,omitempty"` // ftp上传路径 预留字段,暂不支持。 Remotepath *string `json:"remotepath,omitempty"` // 数据源ID Id *string `json:"id,omitempty"` // 数据源状态: - old:存量数据源 - new:roma数据源 Status *string `json:"status,omitempty"` // 数据源创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 数据源更新时间 ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"` }
func (LdDatasourceInfo) String ¶
func (o LdDatasourceInfo) String() string
type LdDatasourceInfoType ¶
type LdDatasourceInfoType struct {
// contains filtered or unexported fields
}
func (LdDatasourceInfoType) MarshalJSON ¶
func (c LdDatasourceInfoType) MarshalJSON() ([]byte, error)
func (*LdDatasourceInfoType) UnmarshalJSON ¶
func (c *LdDatasourceInfoType) UnmarshalJSON(b []byte) error
func (LdDatasourceInfoType) Value ¶ added in v0.0.90
func (c LdDatasourceInfoType) Value() string
type LdDatasourceInfoTypeEnum ¶
type LdDatasourceInfoTypeEnum struct { ORACLE LdDatasourceInfoType MYSQL LdDatasourceInfoType MONGODB LdDatasourceInfoType REDIS LdDatasourceInfoType POSTGRESQL LdDatasourceInfoType HIVE LdDatasourceInfoType MSSQL LdDatasourceInfoType SQLSERVER LdDatasourceInfoType GAUSS200 LdDatasourceInfoType DWS LdDatasourceInfoType GAUSS100 LdDatasourceInfoType ZENITH LdDatasourceInfoType }
func GetLdDatasourceInfoTypeEnum ¶
func GetLdDatasourceInfoTypeEnum() LdDatasourceInfoTypeEnum
type ListAclPolicyBindedToApiV2Request ¶
type ListAclPolicyBindedToApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // API编号 ApiId string `json:"api_id"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // 环境名称 EnvName *string `json:"env_name,omitempty"` // ACL策略编号 AclId *string `json:"acl_id,omitempty"` // ACL策略名称 AclName *string `json:"acl_name,omitempty"` }
Request Object
func (ListAclPolicyBindedToApiV2Request) String ¶
func (o ListAclPolicyBindedToApiV2Request) String() string
type ListAclPolicyBindedToApiV2Response ¶
type ListAclPolicyBindedToApiV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的ACL列表 Acls *[]ApiBindAclInfo `json:"acls,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAclPolicyBindedToApiV2Response) String ¶
func (o ListAclPolicyBindedToApiV2Response) String() string
type ListAclStrategiesV2Request ¶
type ListAclStrategiesV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // ACL策略编号。 Id *string `json:"id,omitempty"` // ACL策略名称。 Name *string `json:"name,omitempty"` // 类型 - PERMIT (白名单类型) - DENY (黑名单类型) AclType *string `json:"acl_type,omitempty"` // 作用的对象类型: - IP - DOMAIN EntityType *string `json:"entity_type,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前仅支持name。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListAclStrategiesV2Request) String ¶
func (o ListAclStrategiesV2Request) String() string
type ListAclStrategiesV2Response ¶
type ListAclStrategiesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的ACL策略列表 Acls *[]ApiAclInfoWithBindNum `json:"acls,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAclStrategiesV2Response) String ¶
func (o ListAclStrategiesV2Response) String() string
type ListApiGroupsV2Request ¶
type ListApiGroupsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // API分组编号 Id *string `json:"id,omitempty"` // API分组名称 Name *string `json:"name,omitempty"` // 集成应用编号 RomaAppId *string `json:"roma_app_id,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 [当前支持name,domain_name。](tag:hws;hws_hk;hcs;fcs;g42;)[目前仅支持API分组名称](tag:Site) PreciseSearch *string `json:"precise_search,omitempty"` // 域名 DomainName *string `json:"domain_name,omitempty"` }
Request Object
func (ListApiGroupsV2Request) String ¶
func (o ListApiGroupsV2Request) String() string
type ListApiGroupsV2Response ¶
type ListApiGroupsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 分组列表 Groups *[]ApiGroupInfo `json:"groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiGroupsV2Response) String ¶
func (o ListApiGroupsV2Response) String() string
type ListApiRuntimeDefinitionV2Request ¶
type ListApiRuntimeDefinitionV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` // API的发布环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListApiRuntimeDefinitionV2Request) String ¶
func (o ListApiRuntimeDefinitionV2Request) String() string
type ListApiRuntimeDefinitionV2Response ¶
type ListApiRuntimeDefinitionV2Response struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ListApiRuntimeDefinitionV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ListApiRuntimeDefinitionV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ListApiRuntimeDefinitionV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ListApiRuntimeDefinitionV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ListApiRuntimeDefinitionV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ListApiRuntimeDefinitionV2ResponseBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ListApiRuntimeDefinitionV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录的编号 PublishId *string `json:"publish_id,omitempty"` // 分组的二级域名 SlDomain *string `json:"sl_domain,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiRuntimeDefinitionV2Response) String ¶
func (o ListApiRuntimeDefinitionV2Response) String() string
type ListApiRuntimeDefinitionV2ResponseAuthType ¶
type ListApiRuntimeDefinitionV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseAuthType) MarshalJSON ¶
func (c ListApiRuntimeDefinitionV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseAuthType) UnmarshalJSON ¶
func (c *ListApiRuntimeDefinitionV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseAuthType) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseAuthType) Value() string
type ListApiRuntimeDefinitionV2ResponseAuthTypeEnum ¶
type ListApiRuntimeDefinitionV2ResponseAuthTypeEnum struct { NONE ListApiRuntimeDefinitionV2ResponseAuthType APP ListApiRuntimeDefinitionV2ResponseAuthType IAM ListApiRuntimeDefinitionV2ResponseAuthType AUTHORIZER ListApiRuntimeDefinitionV2ResponseAuthType }
func GetListApiRuntimeDefinitionV2ResponseAuthTypeEnum ¶
func GetListApiRuntimeDefinitionV2ResponseAuthTypeEnum() ListApiRuntimeDefinitionV2ResponseAuthTypeEnum
type ListApiRuntimeDefinitionV2ResponseBackendType ¶
type ListApiRuntimeDefinitionV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseBackendType) MarshalJSON ¶
func (c ListApiRuntimeDefinitionV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseBackendType) UnmarshalJSON ¶
func (c *ListApiRuntimeDefinitionV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseBackendType) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseBackendType) Value() string
type ListApiRuntimeDefinitionV2ResponseBackendTypeEnum ¶
type ListApiRuntimeDefinitionV2ResponseBackendTypeEnum struct { HTTP ListApiRuntimeDefinitionV2ResponseBackendType FUNCTION ListApiRuntimeDefinitionV2ResponseBackendType MOCK ListApiRuntimeDefinitionV2ResponseBackendType }
func GetListApiRuntimeDefinitionV2ResponseBackendTypeEnum ¶
func GetListApiRuntimeDefinitionV2ResponseBackendTypeEnum() ListApiRuntimeDefinitionV2ResponseBackendTypeEnum
type ListApiRuntimeDefinitionV2ResponseContentType ¶
type ListApiRuntimeDefinitionV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseContentType) MarshalJSON ¶
func (c ListApiRuntimeDefinitionV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseContentType) UnmarshalJSON ¶
func (c *ListApiRuntimeDefinitionV2ResponseContentType) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseContentType) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseContentType) Value() string
type ListApiRuntimeDefinitionV2ResponseContentTypeEnum ¶
type ListApiRuntimeDefinitionV2ResponseContentTypeEnum struct { APPLICATION_JSON ListApiRuntimeDefinitionV2ResponseContentType APPLICATION_XML ListApiRuntimeDefinitionV2ResponseContentType MULTIPART_FORM_DATE ListApiRuntimeDefinitionV2ResponseContentType TEXT_PLAIN ListApiRuntimeDefinitionV2ResponseContentType }
func GetListApiRuntimeDefinitionV2ResponseContentTypeEnum ¶
func GetListApiRuntimeDefinitionV2ResponseContentTypeEnum() ListApiRuntimeDefinitionV2ResponseContentTypeEnum
type ListApiRuntimeDefinitionV2ResponseMatchMode ¶
type ListApiRuntimeDefinitionV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseMatchMode) MarshalJSON ¶
func (c ListApiRuntimeDefinitionV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseMatchMode) UnmarshalJSON ¶
func (c *ListApiRuntimeDefinitionV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseMatchMode) Value() string
type ListApiRuntimeDefinitionV2ResponseMatchModeEnum ¶
type ListApiRuntimeDefinitionV2ResponseMatchModeEnum struct { SWA ListApiRuntimeDefinitionV2ResponseMatchMode NORMAL ListApiRuntimeDefinitionV2ResponseMatchMode }
func GetListApiRuntimeDefinitionV2ResponseMatchModeEnum ¶
func GetListApiRuntimeDefinitionV2ResponseMatchModeEnum() ListApiRuntimeDefinitionV2ResponseMatchModeEnum
type ListApiRuntimeDefinitionV2ResponseReqMethod ¶
type ListApiRuntimeDefinitionV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseReqMethod) MarshalJSON ¶
func (c ListApiRuntimeDefinitionV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseReqMethod) UnmarshalJSON ¶
func (c *ListApiRuntimeDefinitionV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseReqMethod) Value() string
type ListApiRuntimeDefinitionV2ResponseReqMethodEnum ¶
type ListApiRuntimeDefinitionV2ResponseReqMethodEnum struct { GET ListApiRuntimeDefinitionV2ResponseReqMethod POST ListApiRuntimeDefinitionV2ResponseReqMethod PUT ListApiRuntimeDefinitionV2ResponseReqMethod DELETE ListApiRuntimeDefinitionV2ResponseReqMethod HEAD ListApiRuntimeDefinitionV2ResponseReqMethod PATCH ListApiRuntimeDefinitionV2ResponseReqMethod OPTIONS ListApiRuntimeDefinitionV2ResponseReqMethod ANY ListApiRuntimeDefinitionV2ResponseReqMethod }
func GetListApiRuntimeDefinitionV2ResponseReqMethodEnum ¶
func GetListApiRuntimeDefinitionV2ResponseReqMethodEnum() ListApiRuntimeDefinitionV2ResponseReqMethodEnum
type ListApiRuntimeDefinitionV2ResponseReqProtocol ¶
type ListApiRuntimeDefinitionV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseReqProtocol) MarshalJSON ¶
func (c ListApiRuntimeDefinitionV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseReqProtocol) UnmarshalJSON ¶
func (c *ListApiRuntimeDefinitionV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseReqProtocol) Value() string
type ListApiRuntimeDefinitionV2ResponseReqProtocolEnum ¶
type ListApiRuntimeDefinitionV2ResponseReqProtocolEnum struct { HTTP ListApiRuntimeDefinitionV2ResponseReqProtocol HTTPS ListApiRuntimeDefinitionV2ResponseReqProtocol BOTH ListApiRuntimeDefinitionV2ResponseReqProtocol }
func GetListApiRuntimeDefinitionV2ResponseReqProtocolEnum ¶
func GetListApiRuntimeDefinitionV2ResponseReqProtocolEnum() ListApiRuntimeDefinitionV2ResponseReqProtocolEnum
type ListApiRuntimeDefinitionV2ResponseType ¶
type ListApiRuntimeDefinitionV2ResponseType struct {
// contains filtered or unexported fields
}
func (ListApiRuntimeDefinitionV2ResponseType) MarshalJSON ¶
func (c ListApiRuntimeDefinitionV2ResponseType) MarshalJSON() ([]byte, error)
func (*ListApiRuntimeDefinitionV2ResponseType) UnmarshalJSON ¶
func (c *ListApiRuntimeDefinitionV2ResponseType) UnmarshalJSON(b []byte) error
func (ListApiRuntimeDefinitionV2ResponseType) Value ¶ added in v0.0.90
func (c ListApiRuntimeDefinitionV2ResponseType) Value() int32
type ListApiRuntimeDefinitionV2ResponseTypeEnum ¶
type ListApiRuntimeDefinitionV2ResponseTypeEnum struct { E_1 ListApiRuntimeDefinitionV2ResponseType E_2 ListApiRuntimeDefinitionV2ResponseType }
func GetListApiRuntimeDefinitionV2ResponseTypeEnum ¶
func GetListApiRuntimeDefinitionV2ResponseTypeEnum() ListApiRuntimeDefinitionV2ResponseTypeEnum
type ListApiVersionDetailV2Request ¶
type ListApiVersionDetailV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API版本的编号 VersionId string `json:"version_id"` }
Request Object
func (ListApiVersionDetailV2Request) String ¶
func (o ListApiVersionDetailV2Request) String() string
type ListApiVersionDetailV2Response ¶
type ListApiVersionDetailV2Response struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ListApiVersionDetailV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ListApiVersionDetailV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ListApiVersionDetailV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ListApiVersionDetailV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ListApiVersionDetailV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ListApiVersionDetailV2ResponseBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ListApiVersionDetailV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *ListApiVersionDetailV2ResponseStatus `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 版本发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site) PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` // 系统默认分配的子域名 SlDomain *string `json:"sl_domain,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 版本编号 VersionId *string `json:"version_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiVersionDetailV2Response) String ¶
func (o ListApiVersionDetailV2Response) String() string
type ListApiVersionDetailV2ResponseAuthType ¶
type ListApiVersionDetailV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseAuthType) MarshalJSON ¶
func (c ListApiVersionDetailV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseAuthType) UnmarshalJSON ¶
func (c *ListApiVersionDetailV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseAuthType) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseAuthType) Value() string
type ListApiVersionDetailV2ResponseAuthTypeEnum ¶
type ListApiVersionDetailV2ResponseAuthTypeEnum struct { NONE ListApiVersionDetailV2ResponseAuthType APP ListApiVersionDetailV2ResponseAuthType IAM ListApiVersionDetailV2ResponseAuthType AUTHORIZER ListApiVersionDetailV2ResponseAuthType }
func GetListApiVersionDetailV2ResponseAuthTypeEnum ¶
func GetListApiVersionDetailV2ResponseAuthTypeEnum() ListApiVersionDetailV2ResponseAuthTypeEnum
type ListApiVersionDetailV2ResponseBackendType ¶
type ListApiVersionDetailV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseBackendType) MarshalJSON ¶
func (c ListApiVersionDetailV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseBackendType) UnmarshalJSON ¶
func (c *ListApiVersionDetailV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseBackendType) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseBackendType) Value() string
type ListApiVersionDetailV2ResponseBackendTypeEnum ¶
type ListApiVersionDetailV2ResponseBackendTypeEnum struct { HTTP ListApiVersionDetailV2ResponseBackendType FUNCTION ListApiVersionDetailV2ResponseBackendType MOCK ListApiVersionDetailV2ResponseBackendType }
func GetListApiVersionDetailV2ResponseBackendTypeEnum ¶
func GetListApiVersionDetailV2ResponseBackendTypeEnum() ListApiVersionDetailV2ResponseBackendTypeEnum
type ListApiVersionDetailV2ResponseContentType ¶
type ListApiVersionDetailV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseContentType) MarshalJSON ¶
func (c ListApiVersionDetailV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseContentType) UnmarshalJSON ¶
func (c *ListApiVersionDetailV2ResponseContentType) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseContentType) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseContentType) Value() string
type ListApiVersionDetailV2ResponseContentTypeEnum ¶
type ListApiVersionDetailV2ResponseContentTypeEnum struct { APPLICATION_JSON ListApiVersionDetailV2ResponseContentType APPLICATION_XML ListApiVersionDetailV2ResponseContentType MULTIPART_FORM_DATE ListApiVersionDetailV2ResponseContentType TEXT_PLAIN ListApiVersionDetailV2ResponseContentType }
func GetListApiVersionDetailV2ResponseContentTypeEnum ¶
func GetListApiVersionDetailV2ResponseContentTypeEnum() ListApiVersionDetailV2ResponseContentTypeEnum
type ListApiVersionDetailV2ResponseMatchMode ¶
type ListApiVersionDetailV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseMatchMode) MarshalJSON ¶
func (c ListApiVersionDetailV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseMatchMode) UnmarshalJSON ¶
func (c *ListApiVersionDetailV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseMatchMode) Value() string
type ListApiVersionDetailV2ResponseMatchModeEnum ¶
type ListApiVersionDetailV2ResponseMatchModeEnum struct { SWA ListApiVersionDetailV2ResponseMatchMode NORMAL ListApiVersionDetailV2ResponseMatchMode }
func GetListApiVersionDetailV2ResponseMatchModeEnum ¶
func GetListApiVersionDetailV2ResponseMatchModeEnum() ListApiVersionDetailV2ResponseMatchModeEnum
type ListApiVersionDetailV2ResponseReqMethod ¶
type ListApiVersionDetailV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseReqMethod) MarshalJSON ¶
func (c ListApiVersionDetailV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseReqMethod) UnmarshalJSON ¶
func (c *ListApiVersionDetailV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseReqMethod) Value() string
type ListApiVersionDetailV2ResponseReqMethodEnum ¶
type ListApiVersionDetailV2ResponseReqMethodEnum struct { GET ListApiVersionDetailV2ResponseReqMethod POST ListApiVersionDetailV2ResponseReqMethod PUT ListApiVersionDetailV2ResponseReqMethod DELETE ListApiVersionDetailV2ResponseReqMethod HEAD ListApiVersionDetailV2ResponseReqMethod PATCH ListApiVersionDetailV2ResponseReqMethod OPTIONS ListApiVersionDetailV2ResponseReqMethod ANY ListApiVersionDetailV2ResponseReqMethod }
func GetListApiVersionDetailV2ResponseReqMethodEnum ¶
func GetListApiVersionDetailV2ResponseReqMethodEnum() ListApiVersionDetailV2ResponseReqMethodEnum
type ListApiVersionDetailV2ResponseReqProtocol ¶
type ListApiVersionDetailV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseReqProtocol) MarshalJSON ¶
func (c ListApiVersionDetailV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseReqProtocol) UnmarshalJSON ¶
func (c *ListApiVersionDetailV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseReqProtocol) Value() string
type ListApiVersionDetailV2ResponseReqProtocolEnum ¶
type ListApiVersionDetailV2ResponseReqProtocolEnum struct { HTTP ListApiVersionDetailV2ResponseReqProtocol HTTPS ListApiVersionDetailV2ResponseReqProtocol BOTH ListApiVersionDetailV2ResponseReqProtocol }
func GetListApiVersionDetailV2ResponseReqProtocolEnum ¶
func GetListApiVersionDetailV2ResponseReqProtocolEnum() ListApiVersionDetailV2ResponseReqProtocolEnum
type ListApiVersionDetailV2ResponseStatus ¶
type ListApiVersionDetailV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseStatus) MarshalJSON ¶
func (c ListApiVersionDetailV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseStatus) UnmarshalJSON ¶
func (c *ListApiVersionDetailV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseStatus) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseStatus) Value() int32
type ListApiVersionDetailV2ResponseStatusEnum ¶
type ListApiVersionDetailV2ResponseStatusEnum struct {
E_1 ListApiVersionDetailV2ResponseStatus
}
func GetListApiVersionDetailV2ResponseStatusEnum ¶
func GetListApiVersionDetailV2ResponseStatusEnum() ListApiVersionDetailV2ResponseStatusEnum
type ListApiVersionDetailV2ResponseType ¶
type ListApiVersionDetailV2ResponseType struct {
// contains filtered or unexported fields
}
func (ListApiVersionDetailV2ResponseType) MarshalJSON ¶
func (c ListApiVersionDetailV2ResponseType) MarshalJSON() ([]byte, error)
func (*ListApiVersionDetailV2ResponseType) UnmarshalJSON ¶
func (c *ListApiVersionDetailV2ResponseType) UnmarshalJSON(b []byte) error
func (ListApiVersionDetailV2ResponseType) Value ¶ added in v0.0.90
func (c ListApiVersionDetailV2ResponseType) Value() int32
type ListApiVersionDetailV2ResponseTypeEnum ¶
type ListApiVersionDetailV2ResponseTypeEnum struct { E_1 ListApiVersionDetailV2ResponseType E_2 ListApiVersionDetailV2ResponseType }
func GetListApiVersionDetailV2ResponseTypeEnum ¶
func GetListApiVersionDetailV2ResponseTypeEnum() ListApiVersionDetailV2ResponseTypeEnum
type ListApiVersionsV2Request ¶
type ListApiVersionsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 环境的编号 EnvId *string `json:"env_id,omitempty"` // 环境的名称 EnvName *string `json:"env_name,omitempty"` }
Request Object
func (ListApiVersionsV2Request) String ¶
func (o ListApiVersionsV2Request) String() string
type ListApiVersionsV2Response ¶
type ListApiVersionsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API历史版本列表 ApiVersions *[]ApiVersionResp `json:"api_versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiVersionsV2Response) String ¶
func (o ListApiVersionsV2Response) String() string
type ListApisBindedToAclPolicyV2Request ¶
type ListApisBindedToAclPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // ACL编号 AclId string `json:"acl_id"` // API名称 ApiName *string `json:"api_name,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` }
Request Object
func (ListApisBindedToAclPolicyV2Request) String ¶
func (o ListApisBindedToAclPolicyV2Request) String() string
type ListApisBindedToAclPolicyV2Response ¶
type ListApisBindedToAclPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]AclBindApiInfo `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisBindedToAclPolicyV2Response) String ¶
func (o ListApisBindedToAclPolicyV2Response) String() string
type ListApisBindedToAppV2Request ¶
type ListApisBindedToAppV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 应用编号 AppId string `json:"app_id"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API分组名称 GroupName *string `json:"group_name,omitempty"` // 授权的环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListApisBindedToAppV2Request) String ¶
func (o ListApisBindedToAppV2Request) String() string
type ListApisBindedToAppV2Response ¶
type ListApisBindedToAppV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的API列表 Auths *[]ApiAuthInfo `json:"auths,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisBindedToAppV2Response) String ¶
func (o ListApisBindedToAppV2Response) String() string
type ListApisBindedToRequestThrottlingPolicyV2Request ¶
type ListApisBindedToRequestThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 流控策略编号 ThrottleId string `json:"throttle_id"` // 环境的ID EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` }
Request Object
func (ListApisBindedToRequestThrottlingPolicyV2Request) String ¶
func (o ListApisBindedToRequestThrottlingPolicyV2Request) String() string
type ListApisBindedToRequestThrottlingPolicyV2Response ¶
type ListApisBindedToRequestThrottlingPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]ApiForThrottle `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisBindedToRequestThrottlingPolicyV2Response) String ¶
func (o ListApisBindedToRequestThrottlingPolicyV2Response) String() string
type ListApisBindedToSignatureKeyV2Request ¶
type ListApisBindedToSignatureKeyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 签名密钥编号 SignId string `json:"sign_id"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API的编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` }
Request Object
func (ListApisBindedToSignatureKeyV2Request) String ¶
func (o ListApisBindedToSignatureKeyV2Request) String() string
type ListApisBindedToSignatureKeyV2Response ¶
type ListApisBindedToSignatureKeyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的签名密钥和API绑定关系列表 Bindings *[]SignApiBindingBase `json:"bindings,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisBindedToSignatureKeyV2Response) String ¶
func (o ListApisBindedToSignatureKeyV2Response) String() string
type ListApisNotBoundWithSignatureKeyV2Request ¶
type ListApisNotBoundWithSignatureKeyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 签名密钥编号 SignId string `json:"sign_id"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` }
Request Object
func (ListApisNotBoundWithSignatureKeyV2Request) String ¶
func (o ListApisNotBoundWithSignatureKeyV2Request) String() string
type ListApisNotBoundWithSignatureKeyV2Response ¶
type ListApisNotBoundWithSignatureKeyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]ApiForSign `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisNotBoundWithSignatureKeyV2Response) String ¶
func (o ListApisNotBoundWithSignatureKeyV2Response) String() string
type ListApisUnbindedToAclPolicyV2Request ¶
type ListApisUnbindedToAclPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // ACL策略编号 AclId string `json:"acl_id"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` }
Request Object
func (ListApisUnbindedToAclPolicyV2Request) String ¶
func (o ListApisUnbindedToAclPolicyV2Request) String() string
type ListApisUnbindedToAclPolicyV2Response ¶
type ListApisUnbindedToAclPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]UnbindApiForAcl `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisUnbindedToAclPolicyV2Response) String ¶
func (o ListApisUnbindedToAclPolicyV2Response) String() string
type ListApisUnbindedToAppV2Request ¶
type ListApisUnbindedToAppV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 应用id AppId string `json:"app_id"` // 环境id EnvId string `json:"env_id"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` }
Request Object
func (ListApisUnbindedToAppV2Request) String ¶
func (o ListApisUnbindedToAppV2Request) String() string
type ListApisUnbindedToAppV2Response ¶
type ListApisUnbindedToAppV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的API列表 Apis *[]ApiOutline `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisUnbindedToAppV2Response) String ¶
func (o ListApisUnbindedToAppV2Response) String() string
type ListApisUnbindedToRequestThrottlingPolicyV2Request ¶
type ListApisUnbindedToRequestThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 流控策略编号 ThrottleId string `json:"throttle_id"` // 环境的ID EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` }
Request Object
func (ListApisUnbindedToRequestThrottlingPolicyV2Request) String ¶
func (o ListApisUnbindedToRequestThrottlingPolicyV2Request) String() string
type ListApisUnbindedToRequestThrottlingPolicyV2Response ¶
type ListApisUnbindedToRequestThrottlingPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的API列表 Apis *[]ApiForThrottle `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisUnbindedToRequestThrottlingPolicyV2Response) String ¶
func (o ListApisUnbindedToRequestThrottlingPolicyV2Response) String() string
type ListApisV2Request ¶
type ListApisV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 请求协议 ReqProtocol *string `json:"req_protocol,omitempty"` // 请求方法 ReqMethod *string `json:"req_method,omitempty"` // 请求路径 ReqUri *string `json:"req_uri,omitempty"` // 授权类型 AuthType *string `json:"auth_type,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // API类型 Type *int32 `json:"type,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前仅支持name,req_uri,vpc_channel_name。 PreciseSearch *string `json:"precise_search,omitempty"` // 负载通道编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // 负载通道名称。 VpcChannelName *string `json:"vpc_channel_name,omitempty"` }
Request Object
func (ListApisV2Request) String ¶
func (o ListApisV2Request) String() string
type ListApisV2Response ¶
type ListApisV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的API列表 Apis *[]ApiInfoPerPage `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApisV2Response) String ¶
func (o ListApisV2Response) String() string
type ListAppCodesV2Request ¶
type ListAppCodesV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListAppCodesV2Request) String ¶
func (o ListAppCodesV2Request) String() string
type ListAppCodesV2Response ¶
type ListAppCodesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // App Code列表 AppCodes *[]AppCodeBaseInfo `json:"app_codes,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppCodesV2Response) String ¶
func (o ListAppCodesV2Response) String() string
type ListAppConfigsV2Request ¶
type ListAppConfigsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 应用配置名称 ConfigName *string `json:"config_name,omitempty"` // 应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` }
Request Object
func (ListAppConfigsV2Request) String ¶
func (o ListAppConfigsV2Request) String() string
type ListAppConfigsV2Response ¶
type ListAppConfigsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的应用配置列表 Configs *[]AppConfigInfoV2 `json:"configs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppConfigsV2Response) String ¶
func (o ListAppConfigsV2Response) String() string
type ListAppQuotaBindableAppsRequest ¶
type ListAppQuotaBindableAppsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 客户端配额编号 AppQuotaId string `json:"app_quota_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` }
Request Object
func (ListAppQuotaBindableAppsRequest) String ¶
func (o ListAppQuotaBindableAppsRequest) String() string
type ListAppQuotaBindableAppsResponse ¶
type ListAppQuotaBindableAppsResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 客户端应用列表 Apps *[]AppQuotaAppInfo `json:"apps,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppQuotaBindableAppsResponse) String ¶
func (o ListAppQuotaBindableAppsResponse) String() string
type ListAppQuotaBoundAppsRequest ¶
type ListAppQuotaBoundAppsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 客户端配额编号 AppQuotaId string `json:"app_quota_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 客户端应用名称 AppName *string `json:"app_name,omitempty"` }
Request Object
func (ListAppQuotaBoundAppsRequest) String ¶
func (o ListAppQuotaBoundAppsRequest) String() string
type ListAppQuotaBoundAppsResponse ¶
type ListAppQuotaBoundAppsResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 客户端应用列表 Apps *[]AppQuotaAppInfo `json:"apps,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppQuotaBoundAppsResponse) String ¶
func (o ListAppQuotaBoundAppsResponse) String() string
type ListAppQuotasRequest ¶
type ListAppQuotasRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 客户端配额名称 Name *string `json:"name,omitempty"` }
Request Object
func (ListAppQuotasRequest) String ¶
func (o ListAppQuotasRequest) String() string
type ListAppQuotasResponse ¶
type ListAppQuotasResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 客户端配额列表 Quotas *[]AppQuotaInfo `json:"quotas,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppQuotasResponse) String ¶
func (o ListAppQuotasResponse) String() string
type ListAppsBindedToApiV2Request ¶
type ListAppsBindedToApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // APP名称 AppName *string `json:"app_name,omitempty"` // APP编号 AppId *string `json:"app_id,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListAppsBindedToApiV2Request) String ¶
func (o ListAppsBindedToApiV2Request) String() string
type ListAppsBindedToApiV2Response ¶
type ListAppsBindedToApiV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的API列表 Auths *[]ApiAuthInfo `json:"auths,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppsBindedToApiV2Response) String ¶
func (o ListAppsBindedToApiV2Response) String() string
type ListAppsV2Request ¶
type ListAppsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // APP编号 Id *string `json:"id,omitempty"` // APP名称 Name *string `json:"name,omitempty"` // APP状态 Status *int32 `json:"status,omitempty"` // APP的KEY AppKey *string `json:"app_key,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前仅支持name。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListAppsV2Request) String ¶
func (o ListAppsV2Request) String() string
type ListAppsV2Response ¶
type ListAppsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // APP列表 Apps *[]AppInfoWithBindNum `json:"apps,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAppsV2Response) String ¶
func (o ListAppsV2Response) String() string
type ListBackendInstancesV2Request ¶
type ListBackendInstancesV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 云服务器的名称。 Name *string `json:"name,omitempty"` // 后端服务器组名称。 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前支持name,member_group_name。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListBackendInstancesV2Request) String ¶
func (o ListBackendInstancesV2Request) String() string
type ListBackendInstancesV2Response ¶
type ListBackendInstancesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的云服务器列表 Members *[]VpcMemberInfo `json:"members,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBackendInstancesV2Response) String ¶
func (o ListBackendInstancesV2Response) String() string
type ListCommandsRequest ¶
type ListCommandsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 命令ID CommandId *int32 `json:"command_id,omitempty"` // 命令名称 CommandName *string `json:"command_name,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListCommandsRequest) String ¶
func (o ListCommandsRequest) String() string
type ListCommandsResponse ¶
type ListCommandsResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 命令列表 Items *[]Command `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCommandsResponse) String ¶
func (o ListCommandsResponse) String() string
type ListCustomAuthorizersV2Request ¶
type ListCustomAuthorizersV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 类型 Type *string `json:"type,omitempty"` }
Request Object
func (ListCustomAuthorizersV2Request) String ¶
func (o ListCustomAuthorizersV2Request) String() string
type ListCustomAuthorizersV2Response ¶
type ListCustomAuthorizersV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 自定义认证列表 AuthorizerList *[]AuthorizerResp `json:"authorizer_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCustomAuthorizersV2Response) String ¶
func (o ListCustomAuthorizersV2Response) String() string
type ListDatasourceColumnsRequest ¶
type ListDatasourceColumnsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据源ID DatasourceId string `json:"datasource_id"` // 数据源所在任务位置 - SOURCE 数据源处于任务源端 - TARGET 数据源处于任务目标端 Position ListDatasourceColumnsRequestPosition `json:"position"` // 数据库名称,只支持MRSHIVE,FIHIVE类型的数据源 DbName *string `json:"db_name,omitempty"` // 字段所在的表名 TableName *string `json:"table_name,omitempty"` }
Request Object
func (ListDatasourceColumnsRequest) String ¶
func (o ListDatasourceColumnsRequest) String() string
type ListDatasourceColumnsRequestPosition ¶
type ListDatasourceColumnsRequestPosition struct {
// contains filtered or unexported fields
}
func (ListDatasourceColumnsRequestPosition) MarshalJSON ¶
func (c ListDatasourceColumnsRequestPosition) MarshalJSON() ([]byte, error)
func (*ListDatasourceColumnsRequestPosition) UnmarshalJSON ¶
func (c *ListDatasourceColumnsRequestPosition) UnmarshalJSON(b []byte) error
func (ListDatasourceColumnsRequestPosition) Value ¶ added in v0.0.90
func (c ListDatasourceColumnsRequestPosition) Value() string
type ListDatasourceColumnsRequestPositionEnum ¶
type ListDatasourceColumnsRequestPositionEnum struct { SOURCE ListDatasourceColumnsRequestPosition TARGET ListDatasourceColumnsRequestPosition }
func GetListDatasourceColumnsRequestPositionEnum ¶
func GetListDatasourceColumnsRequestPositionEnum() ListDatasourceColumnsRequestPositionEnum
type ListDatasourceColumnsResponse ¶
type ListDatasourceColumnsResponse struct { // 返回的实体对象 Columns *[]ColumnInfo `json:"columns,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDatasourceColumnsResponse) String ¶
func (o ListDatasourceColumnsResponse) String() string
type ListDatasourceTablesRequest ¶
type ListDatasourceTablesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据源ID DatasourceId string `json:"datasource_id"` // 数据源所在任务位置 - SOURCE 数据源处于任务源端 - TARGET 数据源处于任务目标端 Position ListDatasourceTablesRequestPosition `json:"position"` // 数据库名称,只支持MRSHIVE,FIHIVE类型的数据源 DbName *string `json:"db_name,omitempty"` // 数据库模式,GAUSS100数据库使用 DbSchema *string `json:"db_schema,omitempty"` // 表名模糊匹配过滤器 Filter *string `json:"filter,omitempty"` }
Request Object
func (ListDatasourceTablesRequest) String ¶
func (o ListDatasourceTablesRequest) String() string
type ListDatasourceTablesRequestPosition ¶
type ListDatasourceTablesRequestPosition struct {
// contains filtered or unexported fields
}
func (ListDatasourceTablesRequestPosition) MarshalJSON ¶
func (c ListDatasourceTablesRequestPosition) MarshalJSON() ([]byte, error)
func (*ListDatasourceTablesRequestPosition) UnmarshalJSON ¶
func (c *ListDatasourceTablesRequestPosition) UnmarshalJSON(b []byte) error
func (ListDatasourceTablesRequestPosition) Value ¶ added in v0.0.90
func (c ListDatasourceTablesRequestPosition) Value() string
type ListDatasourceTablesRequestPositionEnum ¶
type ListDatasourceTablesRequestPositionEnum struct { SOURCE ListDatasourceTablesRequestPosition TARGET ListDatasourceTablesRequestPosition }
func GetListDatasourceTablesRequestPositionEnum ¶
func GetListDatasourceTablesRequestPositionEnum() ListDatasourceTablesRequestPositionEnum
type ListDatasourceTablesResponse ¶
type ListDatasourceTablesResponse struct { // 数据源中所有的表名称 Tables *[]string `json:"tables,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDatasourceTablesResponse) String ¶
func (o ListDatasourceTablesResponse) String() string
type ListDatasourcesRequest ¶
type ListDatasourcesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 分页查询,分页的偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int32 `json:"offset,omitempty"` // 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS DatasourceType *ListDatasourcesRequestDatasourceType `json:"datasource_type,omitempty"` // 排序字段(CREATED_DATE) SortField *string `json:"sort_field,omitempty"` // 查询数据源排序的类型,增序还是降序,可为空 SortType *ListDatasourcesRequestSortType `json:"sort_type,omitempty"` // 数据源名称,支持模糊匹配 Name *string `json:"name,omitempty"` // 集成应用ID AppId *string `json:"app_id,omitempty"` // 连接器ID CustomPluginId *string `json:"custom_plugin_id,omitempty"` }
Request Object
func (ListDatasourcesRequest) String ¶
func (o ListDatasourcesRequest) String() string
type ListDatasourcesRequestDatasourceType ¶
type ListDatasourcesRequestDatasourceType struct {
// contains filtered or unexported fields
}
func (ListDatasourcesRequestDatasourceType) MarshalJSON ¶
func (c ListDatasourcesRequestDatasourceType) MarshalJSON() ([]byte, error)
func (*ListDatasourcesRequestDatasourceType) UnmarshalJSON ¶
func (c *ListDatasourcesRequestDatasourceType) UnmarshalJSON(b []byte) error
func (ListDatasourcesRequestDatasourceType) Value ¶ added in v0.0.90
func (c ListDatasourcesRequestDatasourceType) Value() string
type ListDatasourcesRequestDatasourceTypeEnum ¶
type ListDatasourcesRequestDatasourceTypeEnum struct { DWS ListDatasourcesRequestDatasourceType MYSQL ListDatasourcesRequestDatasourceType KAFKA ListDatasourcesRequestDatasourceType API ListDatasourcesRequestDatasourceType OBS ListDatasourcesRequestDatasourceType SAP ListDatasourcesRequestDatasourceType MRSHBASE ListDatasourcesRequestDatasourceType MRSHDFS ListDatasourcesRequestDatasourceType MRSHIVE ListDatasourcesRequestDatasourceType WEBSOCKET ListDatasourcesRequestDatasourceType SQLSERVER ListDatasourcesRequestDatasourceType ORACLE ListDatasourcesRequestDatasourceType POSTGRESQL ListDatasourcesRequestDatasourceType REDIS ListDatasourcesRequestDatasourceType MONGODB ListDatasourcesRequestDatasourceType DIS ListDatasourcesRequestDatasourceType HL7 ListDatasourcesRequestDatasourceType RABBITMQ ListDatasourcesRequestDatasourceType SNMP ListDatasourcesRequestDatasourceType IBMMQ ListDatasourcesRequestDatasourceType CUSTOMIZED ListDatasourcesRequestDatasourceType ACTIVEMQ ListDatasourcesRequestDatasourceType ARTEMISMQ ListDatasourcesRequestDatasourceType FTP ListDatasourcesRequestDatasourceType HIVE ListDatasourcesRequestDatasourceType HANA ListDatasourcesRequestDatasourceType FIKAFKA ListDatasourcesRequestDatasourceType MRSKAFKA ListDatasourcesRequestDatasourceType FIHDFS ListDatasourcesRequestDatasourceType FIHIVE ListDatasourcesRequestDatasourceType GAUSS200 ListDatasourcesRequestDatasourceType GAUSS100 ListDatasourcesRequestDatasourceType LDAP ListDatasourcesRequestDatasourceType DB2 ListDatasourcesRequestDatasourceType TAURUS ListDatasourcesRequestDatasourceType }
func GetListDatasourcesRequestDatasourceTypeEnum ¶
func GetListDatasourcesRequestDatasourceTypeEnum() ListDatasourcesRequestDatasourceTypeEnum
type ListDatasourcesRequestSortType ¶
type ListDatasourcesRequestSortType struct {
// contains filtered or unexported fields
}
func (ListDatasourcesRequestSortType) MarshalJSON ¶
func (c ListDatasourcesRequestSortType) MarshalJSON() ([]byte, error)
func (*ListDatasourcesRequestSortType) UnmarshalJSON ¶
func (c *ListDatasourcesRequestSortType) UnmarshalJSON(b []byte) error
func (ListDatasourcesRequestSortType) Value ¶ added in v0.0.90
func (c ListDatasourcesRequestSortType) Value() string
type ListDatasourcesRequestSortTypeEnum ¶
type ListDatasourcesRequestSortTypeEnum struct { ASC ListDatasourcesRequestSortType DESC ListDatasourcesRequestSortType }
func GetListDatasourcesRequestSortTypeEnum ¶
func GetListDatasourcesRequestSortTypeEnum() ListDatasourcesRequestSortTypeEnum
type ListDatasourcesResponse ¶
type ListDatasourcesResponse struct { // 返回所有满足条件的对象个数 Total *int64 `json:"total,omitempty"` // 返回对象的大小 Size *int32 `json:"size,omitempty"` // 返回的实体对象 Entities *[]DataSourceRsp `json:"entities,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDatasourcesResponse) String ¶
func (o ListDatasourcesResponse) String() string
type ListDestinationsRequest ¶
type ListDestinationsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 规则ID RuleId string `json:"rule_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListDestinationsRequest) String ¶
func (o ListDestinationsRequest) String() string
type ListDestinationsResponse ¶
type ListDestinationsResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 目标数据源列表 Items *[]Destination `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDestinationsResponse) String ¶
func (o ListDestinationsResponse) String() string
type ListDevicesInProductRequest ¶
type ListDevicesInProductRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` }
Request Object
func (ListDevicesInProductRequest) String ¶
func (o ListDevicesInProductRequest) String() string
type ListDevicesInProductResponse ¶
type ListDevicesInProductResponse struct { // 产品内设备数量 Summary *int32 `json:"summary,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDevicesInProductResponse) String ¶
func (o ListDevicesInProductResponse) String() string
type ListDevicesRequest ¶
type ListDevicesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 设备归属的产品ID ProductId *int32 `json:"product_id,omitempty"` // 设备归属的产品名称 ProductName *string `json:"product_name,omitempty"` // 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64 DeviceName *string `json:"device_name,omitempty"` // 设备客户端ID,平台生成的设备唯一标识 ClientId *string `json:"client_id,omitempty"` // 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64 NodeId *string `json:"node_id,omitempty"` // 节点类型 0-直连 1-网关 2-子设备,不传默认查询所有 NodeType *int32 `json:"node_type,omitempty"` // 是否在线 0-未连接 1-在线 2-离线,支持传入多个值以逗号分隔 OnlineStatus *string `json:"online_status,omitempty"` // 创建时间起始,格式timestamp(ms),使用UTC时区 CreatedDateStart *int64 `json:"created_date_start,omitempty"` // 创建时间截止,格式timestamp(ms),使用UTC时区 CreatedDateEnd *int64 `json:"created_date_end,omitempty"` // 标签 Tag *string `json:"tag,omitempty"` }
Request Object
func (ListDevicesRequest) String ¶
func (o ListDevicesRequest) String() string
type ListDevicesResponse ¶
type ListDevicesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 设备接入地址 ConnectAddress *string `json:"connect_address,omitempty"` // 设备接入SSL地址 SslConnectAddress *string `json:"ssl_connect_address,omitempty"` // 设备接入IPV6地址 Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"` // 设备接入IPV6 SSL地址 Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"` // 设备ID列表 Items *[]Device `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDevicesResponse) String ¶
func (o ListDevicesResponse) String() string
type ListDictionaryRequest ¶
type ListDictionaryRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,大于等于0 Offset *string `json:"offset,omitempty"` // 每页显示的条目数量 Limit *string `json:"limit,omitempty"` // 指定父字典编码,返回子字典列表信息,未指定时查询顶级字典列表信息 ParentCode *string `json:"parent_code,omitempty"` // 通过code进行模糊匹配查询 Code *string `json:"code,omitempty"` // 通过name进行模糊匹配查询 Name *string `json:"name,omitempty"` }
Request Object
func (ListDictionaryRequest) String ¶
func (o ListDictionaryRequest) String() string
type ListDictionaryResponse ¶
type ListDictionaryResponse struct { // 总数,与分页无关 Total *int32 `json:"total,omitempty"` // 当前页的数量,小于等于请求里指定的limit Size *int32 `json:"size,omitempty"` // 字典列表 Dictionaries *[]Dictionary `json:"dictionaries,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDictionaryResponse) String ¶
func (o ListDictionaryResponse) String() string
type ListDuplicateApisForAppV2Request ¶
type ListDuplicateApisForAppV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用id AppId string `json:"app_id"` }
Request Object
func (ListDuplicateApisForAppV2Request) String ¶
func (o ListDuplicateApisForAppV2Request) String() string
type ListDuplicateApisForAppV2Response ¶
type ListDuplicateApisForAppV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 应用下所有路径冲突的api信息列表 Apis *[]ApiDuplicationInfo `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDuplicateApisForAppV2Response) String ¶
func (o ListDuplicateApisForAppV2Response) String() string
type ListEnvironmentVariablesV2Request ¶
type ListEnvironmentVariablesV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // API分组编号 GroupId string `json:"group_id"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // 变量名 VariableName *string `json:"variable_name,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前仅支持variable_name。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListEnvironmentVariablesV2Request) String ¶
func (o ListEnvironmentVariablesV2Request) String() string
type ListEnvironmentVariablesV2Response ¶
type ListEnvironmentVariablesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的环境变量列表 Variables *[]EnvVariableInfo `json:"variables,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEnvironmentVariablesV2Response) String ¶
func (o ListEnvironmentVariablesV2Response) String() string
type ListEnvironmentsV2Request ¶
type ListEnvironmentsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 环境名称 Name *string `json:"name,omitempty"` }
Request Object
func (ListEnvironmentsV2Request) String ¶
func (o ListEnvironmentsV2Request) String() string
type ListEnvironmentsV2Response ¶
type ListEnvironmentsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次返回的环境列表 Envs *[]EnvInfo `json:"envs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEnvironmentsV2Response) String ¶
func (o ListEnvironmentsV2Response) String() string
type ListFeaturesV2Request ¶
type ListFeaturesV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListFeaturesV2Request) String ¶
func (o ListFeaturesV2Request) String() string
type ListFeaturesV2Response ¶
type ListFeaturesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 实例特性列表 Features *[]FeatureInfoV2 `json:"features,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFeaturesV2Response) String ¶
func (o ListFeaturesV2Response) String() string
type ListInstanceTopicsRespTopics ¶
type ListInstanceTopicsRespTopics struct { // 是否只更新策略。 PoliciesOnly *bool `json:"policiesOnly,omitempty"` // topic名称。 Name *string `json:"name,omitempty"` // 副本数,配置数据的可靠性。 Replication *int32 `json:"replication,omitempty"` // topic分区数,设置消费的并发数。 Partition *int32 `json:"partition,omitempty"` // 消息老化时间。 RetentionTime *int32 `json:"retention_time,omitempty"` // 是否使用同步落盘。默认值为false。同步落盘会导致性能降低。 SyncMessageFlush *bool `json:"sync_message_flush,omitempty"` // 是否开启同步复制,开启后,客户端生产消息时相应的也要设置acks=-1,否则不生效,默认关闭。 SyncReplication *bool `json:"sync_replication,omitempty"` // 应用ID。 AppId *string `json:"app_id,omitempty"` // 应用名称。 AppName *string `json:"app_name,omitempty"` // 允许操作的权限。 Permissions *[]string `json:"permissions,omitempty"` // 其他配置。 ExternalConfigs *interface{} `json:"external_configs,omitempty"` // 描述。 Description *string `json:"description,omitempty"` // 敏感字段。 SensitiveWord *string `json:"sensitive_word,omitempty"` // topic类型。 TopicType *int32 `json:"topic_type,omitempty"` }
func (ListInstanceTopicsRespTopics) String ¶
func (o ListInstanceTopicsRespTopics) String() string
type ListLatelyApiStatisticsV2Request ¶
type ListLatelyApiStatisticsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` // 最近统计时长,单位必须为h和m,比如1h和1m,分别代表最近1小时和最近1分钟 Duration string `json:"duration"` }
Request Object
func (ListLatelyApiStatisticsV2Request) String ¶
func (o ListLatelyApiStatisticsV2Request) String() string
type ListLatelyApiStatisticsV2Response ¶
type ListLatelyApiStatisticsV2Response struct { // 响应码 Code *string `json:"code,omitempty"` // 开始时间的UTC的时间戳 StartTime *int64 `json:"start_time,omitempty"` // 截止时间的UTC的时间戳 EndTime *int64 `json:"end_time,omitempty"` // 统计指标的数据结构结构体 List *[]StatisticsApi `json:"list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLatelyApiStatisticsV2Response) String ¶
func (o ListLatelyApiStatisticsV2Response) String() string
type ListLiveDataApiDeploymentHistoryV2Request ¶
type ListLiveDataApiDeploymentHistoryV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 后端API的编号 LdApiId string `json:"ld_api_id"` }
Request Object
func (ListLiveDataApiDeploymentHistoryV2Request) String ¶
func (o ListLiveDataApiDeploymentHistoryV2Request) String() string
type ListLiveDataApiDeploymentHistoryV2Response ¶
type ListLiveDataApiDeploymentHistoryV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的后端API部署结果对象列表 Histories *[]LdApiDeployHistoryInfo `json:"histories,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLiveDataApiDeploymentHistoryV2Response) String ¶
func (o ListLiveDataApiDeploymentHistoryV2Response) String() string
type ListLiveDataApiTestHistoryV2Request ¶
type ListLiveDataApiTestHistoryV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 后端API的编号 LdApiId string `json:"ld_api_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListLiveDataApiTestHistoryV2Request) String ¶
func (o ListLiveDataApiTestHistoryV2Request) String() string
type ListLiveDataApiTestHistoryV2Response ¶
type ListLiveDataApiTestHistoryV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的测试结果对象列表 Histories *[]LdApiTestHistoryInfoV2 `json:"histories,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLiveDataApiTestHistoryV2Response) String ¶
func (o ListLiveDataApiTestHistoryV2Response) String() string
type ListLiveDataApiV2Request ¶
type ListLiveDataApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 后端API归属的集成应用编号 AppId *string `json:"app_id,omitempty"` // 后端API归属的集成应用名称 AppName *string `json:"app_name,omitempty"` // 后端API名称 Name *string `json:"name,omitempty"` // 后端API状态,支持1,3,4,分别表示待开发,开发中和已部署状态 Status *string `json:"status,omitempty"` // 后端API请求路径 Path *string `json:"path,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 当前支持name,path,status。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListLiveDataApiV2Request) String ¶
func (o ListLiveDataApiV2Request) String() string
type ListLiveDataApiV2Response ¶
type ListLiveDataApiV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的API列表 Apis *[]LdApiInfo `json:"apis,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLiveDataApiV2Response) String ¶
func (o ListLiveDataApiV2Response) String() string
type ListLiveDataDataSourcesV2Request ¶
type ListLiveDataDataSourcesV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 应用编号 AppId string `json:"app_id"` // 数据源名称 Name *string `json:"name,omitempty"` }
Request Object
func (ListLiveDataDataSourcesV2Request) String ¶
func (o ListLiveDataDataSourcesV2Request) String() string
type ListLiveDataDataSourcesV2Response ¶
type ListLiveDataDataSourcesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 数据源列表 DataSources *[]LdDatasourceInfo `json:"data_sources,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLiveDataDataSourcesV2Response) String ¶
func (o ListLiveDataDataSourcesV2Response) String() string
type ListLiveDataQuotaV2Request ¶
type ListLiveDataQuotaV2Request struct { // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (ListLiveDataQuotaV2Request) String ¶
func (o ListLiveDataQuotaV2Request) String() string
type ListLiveDataQuotaV2Response ¶
type ListLiveDataQuotaV2Response struct { // 数据源配额 Datasource *string `json:"datasource,omitempty"` // 后端api配额 Api *string `json:"api,omitempty"` // 脚本配额 Scripts *string `json:"scripts,omitempty"` // 已使用的数据源数量 DatasourceUsed *string `json:"datasource_used,omitempty"` // 已使用的后端api数量 ApiUsed *string `json:"api_used,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListLiveDataQuotaV2Response) String ¶
func (o ListLiveDataQuotaV2Response) String() string
type ListMemberGroupsRequest ¶
type ListMemberGroupsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 字典编码。 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端云服务组的名称 MemberGroupName *string `json:"member_group_name,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 当前支持member_group_name。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListMemberGroupsRequest) String ¶
func (o ListMemberGroupsRequest) String() string
type ListMemberGroupsResponse ¶
type ListMemberGroupsResponse struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // VPC通道后端服务器组列表 MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMemberGroupsResponse) String ¶
func (o ListMemberGroupsResponse) String() string
type ListMonitorInfosRequest ¶
type ListMonitorInfosRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询, offset大于等于1 Offset *int32 `json:"offset,omitempty"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 需要搜索的任务名称,支持模糊搜索,大小写敏感,非必填参数,如果为空,搜索所有任务 TaskName *string `json:"task_name,omitempty"` // 需要搜索任务的执行状态, 只允许如下枚举值:UNSTARTED-未启动, WAITING-等待执行,RUNNING-执行中, SUCCESS-执行成功, CANCELLED-任务取消, ERROR-执行异常</br> 非必填参数,如果为空,搜索所有任务 ExecuteStatus *ListMonitorInfosRequestExecuteStatus `json:"execute_status,omitempty"` }
Request Object
func (ListMonitorInfosRequest) String ¶
func (o ListMonitorInfosRequest) String() string
type ListMonitorInfosRequestExecuteStatus ¶
type ListMonitorInfosRequestExecuteStatus struct {
// contains filtered or unexported fields
}
func (ListMonitorInfosRequestExecuteStatus) MarshalJSON ¶
func (c ListMonitorInfosRequestExecuteStatus) MarshalJSON() ([]byte, error)
func (*ListMonitorInfosRequestExecuteStatus) UnmarshalJSON ¶
func (c *ListMonitorInfosRequestExecuteStatus) UnmarshalJSON(b []byte) error
func (ListMonitorInfosRequestExecuteStatus) Value ¶ added in v0.0.90
func (c ListMonitorInfosRequestExecuteStatus) Value() string
type ListMonitorInfosRequestExecuteStatusEnum ¶
type ListMonitorInfosRequestExecuteStatusEnum struct { UNSTARTED ListMonitorInfosRequestExecuteStatus WAITING ListMonitorInfosRequestExecuteStatus RUNNING ListMonitorInfosRequestExecuteStatus SUCCESS ListMonitorInfosRequestExecuteStatus CANCELLED ListMonitorInfosRequestExecuteStatus ERROR ListMonitorInfosRequestExecuteStatus }
func GetListMonitorInfosRequestExecuteStatusEnum ¶
func GetListMonitorInfosRequestExecuteStatusEnum() ListMonitorInfosRequestExecuteStatusEnum
type ListMonitorInfosResponse ¶
type ListMonitorInfosResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 当前页监控信息数量 Size *int32 `json:"size,omitempty"` // 任务监控信息当前页元素 Entities *[]TaskMonitorInfo `json:"entities,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMonitorInfosResponse) String ¶
func (o ListMonitorInfosResponse) String() string
type ListMonitorLogRequest ¶
type ListMonitorLogRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` // 偏移量,表示从此偏移量开始查询, offset大于等于1 Offset *int32 `json:"offset,omitempty"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 日志查询的起始时间,格式timestamp(ms),使用UTC时区 BeginTime *int64 `json:"begin_time,omitempty"` // 日志查询的结束时间,格式timestamp(ms),使用UTC时区 EndTime *int64 `json:"end_time,omitempty"` }
Request Object
func (ListMonitorLogRequest) String ¶
func (o ListMonitorLogRequest) String() string
type ListMonitorLogResponse ¶
type ListMonitorLogResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 当前页日志数量 Size *int32 `json:"size,omitempty"` // 任务监控日志当前页元素 Entities *[]TaskMonitorLog `json:"entities,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMonitorLogResponse) String ¶
func (o ListMonitorLogResponse) String() string
type ListMqsInstanceRequest ¶
type ListMqsInstanceRequest struct { // 是否包含内部的实例。include_internal参数必须为true。 IncludeInternal ListMqsInstanceRequestIncludeInternal `json:"include_internal"` }
Request Object
func (ListMqsInstanceRequest) String ¶
func (o ListMqsInstanceRequest) String() string
type ListMqsInstanceRequestIncludeInternal ¶
type ListMqsInstanceRequestIncludeInternal struct {
// contains filtered or unexported fields
}
func (ListMqsInstanceRequestIncludeInternal) MarshalJSON ¶
func (c ListMqsInstanceRequestIncludeInternal) MarshalJSON() ([]byte, error)
func (*ListMqsInstanceRequestIncludeInternal) UnmarshalJSON ¶
func (c *ListMqsInstanceRequestIncludeInternal) UnmarshalJSON(b []byte) error
func (ListMqsInstanceRequestIncludeInternal) Value ¶ added in v0.0.90
func (c ListMqsInstanceRequestIncludeInternal) Value() string
type ListMqsInstanceRequestIncludeInternalEnum ¶
type ListMqsInstanceRequestIncludeInternalEnum struct {
TRUE ListMqsInstanceRequestIncludeInternal
}
func GetListMqsInstanceRequestIncludeInternalEnum ¶
func GetListMqsInstanceRequestIncludeInternalEnum() ListMqsInstanceRequestIncludeInternalEnum
type ListMqsInstanceResponse ¶
type ListMqsInstanceResponse struct { // 实例列表 Instances *[]ShowInstanceResp `json:"instances,omitempty"` // 实例数量。 InstanceNum *int32 `json:"instance_num,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMqsInstanceResponse) String ¶
func (o ListMqsInstanceResponse) String() string
type ListMqsInstanceTopicsRequest ¶
type ListMqsInstanceTopicsRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 应用名称。 AppName *string `json:"app_name,omitempty"` // Topic名称。 Name *string `json:"name,omitempty"` // 权限类型。 - all:发布+订阅 - pub:发布 - sub:订阅 AccessPolicy *ListMqsInstanceTopicsRequestAccessPolicy `json:"access_policy,omitempty"` // 分页查询大小。默认查询所有的topic。 Limit *string `json:"limit,omitempty"` // 分页查询的偏移量。默认值是0。 Offset *string `json:"offset,omitempty"` }
Request Object
func (ListMqsInstanceTopicsRequest) String ¶
func (o ListMqsInstanceTopicsRequest) String() string
type ListMqsInstanceTopicsRequestAccessPolicy ¶
type ListMqsInstanceTopicsRequestAccessPolicy struct {
// contains filtered or unexported fields
}
func (ListMqsInstanceTopicsRequestAccessPolicy) MarshalJSON ¶
func (c ListMqsInstanceTopicsRequestAccessPolicy) MarshalJSON() ([]byte, error)
func (*ListMqsInstanceTopicsRequestAccessPolicy) UnmarshalJSON ¶
func (c *ListMqsInstanceTopicsRequestAccessPolicy) UnmarshalJSON(b []byte) error
func (ListMqsInstanceTopicsRequestAccessPolicy) Value ¶ added in v0.0.90
func (c ListMqsInstanceTopicsRequestAccessPolicy) Value() string
type ListMqsInstanceTopicsRequestAccessPolicyEnum ¶
type ListMqsInstanceTopicsRequestAccessPolicyEnum struct { ALL ListMqsInstanceTopicsRequestAccessPolicy PUB ListMqsInstanceTopicsRequestAccessPolicy SUB ListMqsInstanceTopicsRequestAccessPolicy }
func GetListMqsInstanceTopicsRequestAccessPolicyEnum ¶
func GetListMqsInstanceTopicsRequestAccessPolicyEnum() ListMqsInstanceTopicsRequestAccessPolicyEnum
type ListMqsInstanceTopicsResponse ¶
type ListMqsInstanceTopicsResponse struct { // topic的总数。 Total *int32 `json:"total,omitempty"` // 当前查询的topic数量。 Size *int32 `json:"size,omitempty"` // 允许操作的权限。 Permissions *[]string `json:"permissions,omitempty"` // Topic列表。 Topics *[]ListInstanceTopicsRespTopics `json:"topics,omitempty"` // 剩余分区数。 RemainPartitions *int32 `json:"remain_partitions,omitempty"` // 分区总数。 MaxPartitions *int32 `json:"max_partitions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMqsInstanceTopicsResponse) String ¶
func (o ListMqsInstanceTopicsResponse) String() string
type ListNotificationRequest ¶
type ListNotificationRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 分页查询,分页的偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int32 `json:"offset,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` }
Request Object
func (ListNotificationRequest) String ¶
func (o ListNotificationRequest) String() string
type ListNotificationResponse ¶
type ListNotificationResponse struct { // 总数 Total *int64 `json:"total,omitempty"` // 本次返回数量 Size *int64 `json:"size,omitempty"` // 订阅管理列表 Items *[]NotificationResponseBody `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListNotificationResponse) String ¶
func (o ListNotificationResponse) String() string
type ListProductTemplatesRequest ¶
type ListProductTemplatesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 产品模板ID Id *int32 `json:"id,omitempty"` // 产品模板名称 Name *string `json:"name,omitempty"` // 产品模板状态 0-启用 1-停用 Status *ListProductTemplatesRequestStatus `json:"status,omitempty"` // 创建用户名 CreatedUserName *string `json:"created_user_name,omitempty"` // 创建时间起始,格式timestamp(ms),使用UTC时区 CreatedDateStart *int64 `json:"created_date_start,omitempty"` // 创建时间截止,格式timestamp(ms),使用UTC时区 CreatedDateEnd *int64 `json:"created_date_end,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListProductTemplatesRequest) String ¶
func (o ListProductTemplatesRequest) String() string
type ListProductTemplatesRequestStatus ¶
type ListProductTemplatesRequestStatus struct {
// contains filtered or unexported fields
}
func (ListProductTemplatesRequestStatus) MarshalJSON ¶
func (c ListProductTemplatesRequestStatus) MarshalJSON() ([]byte, error)
func (*ListProductTemplatesRequestStatus) UnmarshalJSON ¶
func (c *ListProductTemplatesRequestStatus) UnmarshalJSON(b []byte) error
func (ListProductTemplatesRequestStatus) Value ¶ added in v0.0.90
func (c ListProductTemplatesRequestStatus) Value() int32
type ListProductTemplatesRequestStatusEnum ¶
type ListProductTemplatesRequestStatusEnum struct { E_0 ListProductTemplatesRequestStatus E_1 ListProductTemplatesRequestStatus }
func GetListProductTemplatesRequestStatusEnum ¶
func GetListProductTemplatesRequestStatusEnum() ListProductTemplatesRequestStatusEnum
type ListProductTemplatesResponse ¶
type ListProductTemplatesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 产品模板信息 Items *[]ProductTemplate `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProductTemplatesResponse) String ¶
func (o ListProductTemplatesResponse) String() string
type ListProductTopicsRequest ¶
type ListProductTopicsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListProductTopicsRequest) String ¶
func (o ListProductTopicsRequest) String() string
type ListProductTopicsResponse ¶
type ListProductTopicsResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 产品主题列表 Items *[]ProductTopic `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProductTopicsResponse) String ¶
func (o ListProductTopicsResponse) String() string
type ListProductsRequest ¶
type ListProductsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 产品ID Id *string `json:"id,omitempty"` // 产品名称 Name *string `json:"name,omitempty"` // 厂商ID ManufacturerId *string `json:"manufacturer_id,omitempty"` // 厂商名称 ManufacturerName *string `json:"manufacturer_name,omitempty"` // 型号 Model *string `json:"model,omitempty"` // 产品的设备类型,默认Default DeviceType *string `json:"device_type,omitempty"` // 产品类型,0-普通产品(不支持子设备) 1-网关产品 ProductType *ListProductsRequestProductType `json:"product_type,omitempty"` // 产品的协议类型 0-mqtt 2-modbus 4-opcua ProtocolType *ListProductsRequestProtocolType `json:"protocol_type,omitempty"` // 创建用户 CreatedUserName *string `json:"created_user_name,omitempty"` // 创建时间起始,格式timestamp(ms),使用UTC时区 CreatedDateStart *int64 `json:"created_date_start,omitempty"` // 创建时间截止,格式timestamp(ms),使用UTC时区 CreatedDateEnd *int64 `json:"created_date_end,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品) ProductSerial *string `json:"product_serial,omitempty"` }
Request Object
func (ListProductsRequest) String ¶
func (o ListProductsRequest) String() string
type ListProductsRequestProductType ¶
type ListProductsRequestProductType struct {
// contains filtered or unexported fields
}
func (ListProductsRequestProductType) MarshalJSON ¶
func (c ListProductsRequestProductType) MarshalJSON() ([]byte, error)
func (*ListProductsRequestProductType) UnmarshalJSON ¶
func (c *ListProductsRequestProductType) UnmarshalJSON(b []byte) error
func (ListProductsRequestProductType) Value ¶ added in v0.0.90
func (c ListProductsRequestProductType) Value() int32
type ListProductsRequestProductTypeEnum ¶
type ListProductsRequestProductTypeEnum struct { E_0 ListProductsRequestProductType E_1 ListProductsRequestProductType }
func GetListProductsRequestProductTypeEnum ¶
func GetListProductsRequestProductTypeEnum() ListProductsRequestProductTypeEnum
type ListProductsRequestProtocolType ¶
type ListProductsRequestProtocolType struct {
// contains filtered or unexported fields
}
func (ListProductsRequestProtocolType) MarshalJSON ¶
func (c ListProductsRequestProtocolType) MarshalJSON() ([]byte, error)
func (*ListProductsRequestProtocolType) UnmarshalJSON ¶
func (c *ListProductsRequestProtocolType) UnmarshalJSON(b []byte) error
func (ListProductsRequestProtocolType) Value ¶ added in v0.0.90
func (c ListProductsRequestProtocolType) Value() int32
type ListProductsRequestProtocolTypeEnum ¶
type ListProductsRequestProtocolTypeEnum struct { E_0 ListProductsRequestProtocolType E_2 ListProductsRequestProtocolType E_4 ListProductsRequestProtocolType }
func GetListProductsRequestProtocolTypeEnum ¶
func GetListProductsRequestProtocolTypeEnum() ListProductsRequestProtocolTypeEnum
type ListProductsResponse ¶
type ListProductsResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 产品列表 Items *[]Product `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProductsResponse) String ¶
func (o ListProductsResponse) String() string
type ListProjectCofigsV2Request ¶
type ListProjectCofigsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListProjectCofigsV2Request) String ¶
func (o ListProjectCofigsV2Request) String() string
type ListProjectCofigsV2Response ¶
type ListProjectCofigsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 配额列表 Configs *[]Config `json:"configs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectCofigsV2Response) String ¶
func (o ListProjectCofigsV2Response) String() string
type ListProjectVpcChannelsV2Request ¶
type ListProjectVpcChannelsV2Request struct { // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的名称 Name *string `json:"name,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前支持name,member_group_name。 PreciseSearch *string `json:"precise_search,omitempty"` // 后端服务地址。默认精确查询,不支持模糊查询。 MemberHost *string `json:"member_host,omitempty"` // 后端服务器端口 MemberPort *int32 `json:"member_port,omitempty"` // 后端服务器组名称 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` // 是否返回后端实例列表 MembersReturn *bool `json:"members_return,omitempty"` }
Request Object
func (ListProjectVpcChannelsV2Request) String ¶
func (o ListProjectVpcChannelsV2Request) String() string
type ListProjectVpcChannelsV2Response ¶
type ListProjectVpcChannelsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的实例VPC通道列表 ProjectVpcChannels *[]ProjectVpcChannelInfo `json:"project_vpc_channels,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectVpcChannelsV2Response) String ¶
func (o ListProjectVpcChannelsV2Response) String() string
type ListPropertiesRequest ¶
type ListPropertiesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称 PropertyName *string `json:"property_name,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListPropertiesRequest) String ¶
func (o ListPropertiesRequest) String() string
type ListPropertiesResponse ¶
type ListPropertiesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 属性列表 Items *[]Property `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPropertiesResponse) String ¶
func (o ListPropertiesResponse) String() string
type ListRequestPropertiesRequest ¶
type ListRequestPropertiesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 请求属性ID RequestId *int32 `json:"request_id,omitempty"` // 请求属性名称 RequestName *string `json:"request_name,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListRequestPropertiesRequest) String ¶
func (o ListRequestPropertiesRequest) String() string
type ListRequestPropertiesResponse ¶
type ListRequestPropertiesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 属性列表 Items *[]Property `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRequestPropertiesResponse) String ¶
func (o ListRequestPropertiesResponse) String() string
type ListRequestThrottlingPoliciesBindedToApiV2Request ¶
type ListRequestThrottlingPoliciesBindedToApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // API编号 ApiId string `json:"api_id"` // 流控策略的编号 ThrottleId *string `json:"throttle_id,omitempty"` // 流控策略的名称 ThrottleName *string `json:"throttle_name,omitempty"` // 绑定的环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListRequestThrottlingPoliciesBindedToApiV2Request) String ¶
func (o ListRequestThrottlingPoliciesBindedToApiV2Request) String() string
type ListRequestThrottlingPoliciesBindedToApiV2Response ¶
type ListRequestThrottlingPoliciesBindedToApiV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的流控策略列表 Throttles *[]ThrottleForApi `json:"throttles,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRequestThrottlingPoliciesBindedToApiV2Response) String ¶
func (o ListRequestThrottlingPoliciesBindedToApiV2Response) String() string
type ListRequestThrottlingPolicyV2Request ¶
type ListRequestThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 流控策略编号 Id *string `json:"id,omitempty"` // 流控策略名称 Name *string `json:"name,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前仅支持name。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListRequestThrottlingPolicyV2Request) String ¶
func (o ListRequestThrottlingPolicyV2Request) String() string
type ListRequestThrottlingPolicyV2Response ¶
type ListRequestThrottlingPolicyV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的流控策略列表 Throttles *[]ThrottlesInfo `json:"throttles,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRequestThrottlingPolicyV2Response) String ¶
func (o ListRequestThrottlingPolicyV2Response) String() string
type ListResponsePropertiesRequest ¶
type ListResponsePropertiesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 响应属性ID ResponseId *int32 `json:"response_id,omitempty"` // 响应属性名称 ResponseName *string `json:"response_name,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListResponsePropertiesRequest) String ¶
func (o ListResponsePropertiesRequest) String() string
type ListResponsePropertiesResponse ¶
type ListResponsePropertiesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 属性列表 Items *[]Property `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListResponsePropertiesResponse) String ¶
func (o ListResponsePropertiesResponse) String() string
type ListRomaAppRequest ¶
type ListRomaAppRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,大于等于0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 查询收藏的应用 - 未提供时,查询当前用户有权限的所有应用 - 为true时,获取收藏的应用 - 为false时,获取未被收藏的应用 Favorite *bool `json:"favorite,omitempty"` // 获取拥有指定权限应用 AuthRole *string `json:"auth_role,omitempty"` // 应用名称,模糊匹配 Name *string `json:"name,omitempty"` // 查询有权限访问的应用 - 未提供时,查询当前用户有权限的所有应用 - 为true时,查询当前用户创建的应用 - 为false时,查询非当前用户创建的有权限的应用,比如其它人共享的应用 Owner *bool `json:"owner,omitempty"` // 从当前调用者有权限的所有应用中过滤出指定用户名有权限的应用 UserName *string `json:"user_name,omitempty"` }
Request Object
func (ListRomaAppRequest) String ¶
func (o ListRomaAppRequest) String() string
type ListRomaAppResponse ¶
type ListRomaAppResponse struct { // 总的数量 Total *int32 `json:"total,omitempty"` // 当前页数量 Size *int32 `json:"size,omitempty"` // 创建用户信息 Apps *[]ServerAppInfo `json:"apps,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRomaAppResponse) String ¶
func (o ListRomaAppResponse) String() string
type ListRulesRequest ¶
type ListRulesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 规则名称 Name *string `json:"name,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListRulesRequest) String ¶
func (o ListRulesRequest) String() string
type ListRulesResponse ¶
type ListRulesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 规则列表 Items *[]Rule `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRulesResponse) String ¶
func (o ListRulesResponse) String() string
type ListServicesRequest ¶
type ListServicesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 服务ID ServiceId *int32 `json:"service_id,omitempty"` // 服务名称 ServiceName *string `json:"service_name,omitempty"` // 归属产品模板ID,product_template_id和product_id二选一 ProductTemplateId *int32 `json:"product_template_id,omitempty"` // 归属产品ID,product_template_id和product_id二选一 ProductId *int32 `json:"product_id,omitempty"` // 创建用户名 CreatedUserName *string `json:"created_user_name,omitempty"` // 创建时间起始,格式timestamp(ms),使用UTC时区 CreatedDateStart *int64 `json:"created_date_start,omitempty"` // 创建时间截止,格式timestamp(ms)。使用UTC时区 CreatedDateEnd *int64 `json:"created_date_end,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListServicesRequest) String ¶
func (o ListServicesRequest) String() string
type ListServicesResponse ¶
type ListServicesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 服务列表 Items *[]Service `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListServicesResponse) String ¶
func (o ListServicesResponse) String() string
type ListShadowsRequest ¶
type ListShadowsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` }
Request Object
func (ListShadowsRequest) String ¶
func (o ListShadowsRequest) String() string
type ListShadowsResponse ¶
type ListShadowsResponse struct { Body *[]ShadowService `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListShadowsResponse) String ¶
func (o ListShadowsResponse) String() string
type ListSignatureKeysBindedToApiV2Request ¶
type ListSignatureKeysBindedToApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // API的编号 ApiId string `json:"api_id"` // 签名密钥的编号 SignId *string `json:"sign_id,omitempty"` // 签名密钥的名称 SignName *string `json:"sign_name,omitempty"` // 环境编号 EnvId *string `json:"env_id,omitempty"` }
Request Object
func (ListSignatureKeysBindedToApiV2Request) String ¶
func (o ListSignatureKeysBindedToApiV2Request) String() string
type ListSignatureKeysBindedToApiV2Response ¶
type ListSignatureKeysBindedToApiV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // API与签名密钥的绑定关系列表 Bindings *[]SignApiBindingInfo `json:"bindings,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSignatureKeysBindedToApiV2Response) String ¶
func (o ListSignatureKeysBindedToApiV2Response) String() string
type ListSignatureKeysV2Request ¶
type ListSignatureKeysV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 签名密钥编号 Id *string `json:"id,omitempty"` // 签名密钥名称 Name *string `json:"name,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前仅支持name。 PreciseSearch *string `json:"precise_search,omitempty"` }
Request Object
func (ListSignatureKeysV2Request) String ¶
func (o ListSignatureKeysV2Request) String() string
type ListSignatureKeysV2Response ¶
type ListSignatureKeysV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的签名密钥列表 Signs *[]SignatureWithBindNum `json:"signs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSignatureKeysV2Response) String ¶
func (o ListSignatureKeysV2Response) String() string
type ListSourcesRequest ¶
type ListSourcesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 规则ID RuleId string `json:"rule_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListSourcesRequest) String ¶
func (o ListSourcesRequest) String() string
type ListSourcesResponse ¶
type ListSourcesResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 数据源列表 Items *[]Source `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSourcesResponse) String ¶
func (o ListSourcesResponse) String() string
type ListSpecialThrottlingConfigurationsV2Request ¶
type ListSpecialThrottlingConfigurationsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // 特殊流控类型:APP, USER ObjectType *string `json:"object_type,omitempty"` // 筛选的特殊应用名称 AppName *string `json:"app_name,omitempty"` }
Request Object
func (ListSpecialThrottlingConfigurationsV2Request) String ¶
func (o ListSpecialThrottlingConfigurationsV2Request) String() string
type ListSpecialThrottlingConfigurationsV2Response ¶
type ListSpecialThrottlingConfigurationsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询返回的特殊配置列表 ThrottleSpecials *[]ThrottleSpecialInfo `json:"throttle_specials,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSpecialThrottlingConfigurationsV2Response) String ¶
func (o ListSpecialThrottlingConfigurationsV2Response) String() string
type ListStatisticsApiRequest ¶
type ListStatisticsApiRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 查询模式,默认为INSTANCE * ALL:实例下所有调用应用,要求主帐号权限 * APP:指定集成应用 * API:指定API * INSTANCE:实例,默认值 注意:mode = APP或ALL时,接口响应中不返回cycle,api_id,group_id,provider,register_time,status字段 Mode *ListStatisticsApiRequestMode `json:"mode,omitempty"` // 集成应用编号,查询模式为APP时必填 RomaAppId *string `json:"roma_app_id,omitempty"` // API编号,查询模式为API时必填 ApiId *string `json:"api_id,omitempty"` // 查询统计周期 * minute:分钟 * hour:小时 * day:天 Cycle *ListStatisticsApiRequestCycle `json:"cycle,omitempty"` // 开始时间,格式:2020-06-18 10:00:01 StartTime *string `json:"start_time,omitempty"` // 结束时间,格式:2020-06-18 23:00:00 EndTime *string `json:"end_time,omitempty"` // 统计时长格式:整数+单位(m、h),m:分钟,h:小时,可支持小时与分钟的组合。例如:1h或2h45m * 同时给定start_time和end_time优先查询[start_time, end_time] * start_time不存在,end_time和duration存在且合法,则查询区间为[end_time - duration, end_time] * start_time和end_time不存在,duration存在且合法,令end_time=now,则查询区间为[end_time - duration, end_time] * start_time,end_time和duration都不存在,报错missing time range parameters。 * duration最长查询范围:小时最长支持72小时,分钟最长支持90分钟。 Duration *string `json:"duration,omitempty"` }
Request Object
func (ListStatisticsApiRequest) String ¶
func (o ListStatisticsApiRequest) String() string
type ListStatisticsApiRequestCycle ¶
type ListStatisticsApiRequestCycle struct {
// contains filtered or unexported fields
}
func (ListStatisticsApiRequestCycle) MarshalJSON ¶
func (c ListStatisticsApiRequestCycle) MarshalJSON() ([]byte, error)
func (*ListStatisticsApiRequestCycle) UnmarshalJSON ¶
func (c *ListStatisticsApiRequestCycle) UnmarshalJSON(b []byte) error
func (ListStatisticsApiRequestCycle) Value ¶ added in v0.0.90
func (c ListStatisticsApiRequestCycle) Value() string
type ListStatisticsApiRequestCycleEnum ¶
type ListStatisticsApiRequestCycleEnum struct { MINUTE ListStatisticsApiRequestCycle HOUR ListStatisticsApiRequestCycle DAY ListStatisticsApiRequestCycle }
func GetListStatisticsApiRequestCycleEnum ¶
func GetListStatisticsApiRequestCycleEnum() ListStatisticsApiRequestCycleEnum
type ListStatisticsApiRequestMode ¶
type ListStatisticsApiRequestMode struct {
// contains filtered or unexported fields
}
func (ListStatisticsApiRequestMode) MarshalJSON ¶
func (c ListStatisticsApiRequestMode) MarshalJSON() ([]byte, error)
func (*ListStatisticsApiRequestMode) UnmarshalJSON ¶
func (c *ListStatisticsApiRequestMode) UnmarshalJSON(b []byte) error
func (ListStatisticsApiRequestMode) Value ¶ added in v0.0.90
func (c ListStatisticsApiRequestMode) Value() string
type ListStatisticsApiRequestModeEnum ¶
type ListStatisticsApiRequestModeEnum struct { INSTANCE ListStatisticsApiRequestMode ALL ListStatisticsApiRequestMode APP ListStatisticsApiRequestMode API ListStatisticsApiRequestMode }
func GetListStatisticsApiRequestModeEnum ¶
func GetListStatisticsApiRequestModeEnum() ListStatisticsApiRequestModeEnum
type ListStatisticsApiResponse ¶
type ListStatisticsApiResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 开始时间的UTC的时间戳 StartTime *int64 `json:"start_time,omitempty"` // 截止时间的UTC的时间戳 EndTime *int64 `json:"end_time,omitempty"` // 统计指标的数据结构结构体 List *[]StatisticsApi `json:"list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStatisticsApiResponse) String ¶
func (o ListStatisticsApiResponse) String() string
type ListSubsetsRequest ¶
type ListSubsetsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 设备名称 DeviceName *string `json:"device_name,omitempty"` // 设备状态 0-启动 1-停用 Status *ListSubsetsRequestStatus `json:"status,omitempty"` // 设备状态 0-未连接 1-在线 2-离线 OnlineStatus *ListSubsetsRequestOnlineStatus `json:"online_status,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListSubsetsRequest) String ¶
func (o ListSubsetsRequest) String() string
type ListSubsetsRequestOnlineStatus ¶
type ListSubsetsRequestOnlineStatus struct {
// contains filtered or unexported fields
}
func (ListSubsetsRequestOnlineStatus) MarshalJSON ¶
func (c ListSubsetsRequestOnlineStatus) MarshalJSON() ([]byte, error)
func (*ListSubsetsRequestOnlineStatus) UnmarshalJSON ¶
func (c *ListSubsetsRequestOnlineStatus) UnmarshalJSON(b []byte) error
func (ListSubsetsRequestOnlineStatus) Value ¶ added in v0.0.90
func (c ListSubsetsRequestOnlineStatus) Value() int32
type ListSubsetsRequestOnlineStatusEnum ¶
type ListSubsetsRequestOnlineStatusEnum struct { E_0 ListSubsetsRequestOnlineStatus E_1 ListSubsetsRequestOnlineStatus E_2 ListSubsetsRequestOnlineStatus }
func GetListSubsetsRequestOnlineStatusEnum ¶
func GetListSubsetsRequestOnlineStatusEnum() ListSubsetsRequestOnlineStatusEnum
type ListSubsetsRequestStatus ¶
type ListSubsetsRequestStatus struct {
// contains filtered or unexported fields
}
func (ListSubsetsRequestStatus) MarshalJSON ¶
func (c ListSubsetsRequestStatus) MarshalJSON() ([]byte, error)
func (*ListSubsetsRequestStatus) UnmarshalJSON ¶
func (c *ListSubsetsRequestStatus) UnmarshalJSON(b []byte) error
func (ListSubsetsRequestStatus) Value ¶ added in v0.0.90
func (c ListSubsetsRequestStatus) Value() int32
type ListSubsetsRequestStatusEnum ¶
type ListSubsetsRequestStatusEnum struct { E_0 ListSubsetsRequestStatus E_1 ListSubsetsRequestStatus }
func GetListSubsetsRequestStatusEnum ¶
func GetListSubsetsRequestStatusEnum() ListSubsetsRequestStatusEnum
type ListSubsetsResponse ¶
type ListSubsetsResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 设备ID列表 Items *[]Device `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSubsetsResponse) String ¶
func (o ListSubsetsResponse) String() string
type ListTagsV2Request ¶
type ListTagsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListTagsV2Request) String ¶
func (o ListTagsV2Request) String() string
type ListTagsV2Response ¶
type ListTagsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 标签列表 Tags *[]string `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTagsV2Response) String ¶
func (o ListTagsV2Response) String() string
type ListTasksRequest ¶
type ListTasksRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 分页查询,分页的偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int32 `json:"offset,omitempty"` // 任务ID,可为空 TaskId *string `json:"task_id,omitempty"` // 模糊匹配任务名称,可为空 Name *string `json:"name,omitempty"` // 任务状态,可为空 - 0 (停止/未启动) - 1 (运行中) Status *ListTasksRequestStatus `json:"status,omitempty"` // 任务类型 - realtime (实时) - timing (定时) TaskType *ListTasksRequestTaskType `json:"task_type,omitempty"` // 源端数据源ID,可为空 SourceDatasourceId *string `json:"source_datasource_id,omitempty"` // 目标端数据源ID,可为空 TargetDatasourceId *string `json:"target_datasource_id,omitempty"` // 查询排序的条件 SortField *ListTasksRequestSortField `json:"sort_field,omitempty"` // 排序类型,可为空 - ASC (升序) - DESC (降序) SortType *ListTasksRequestSortType `json:"sort_type,omitempty"` // 执行状态,可为空 - UNSTARTED (未启动) - WAITING (等待执行) - RUNNING (执行中) - SUCCESS (执行成功) - CANCELLED (任务取消) - ERROR (执行异常) ExecuteStatus *string `json:"execute_status,omitempty"` // 源端数据源所属集成应用ID,可为空 SourceAppId *string `json:"source_app_id,omitempty"` // 目标端数据源所属集成应用ID,可为空 TargetAppId *string `json:"target_app_id,omitempty"` // 任务标签,可为空 TaskTag *string `json:"task_tag,omitempty"` }
Request Object
func (ListTasksRequest) String ¶
func (o ListTasksRequest) String() string
type ListTasksRequestSortField ¶
type ListTasksRequestSortField struct {
// contains filtered or unexported fields
}
func (ListTasksRequestSortField) MarshalJSON ¶
func (c ListTasksRequestSortField) MarshalJSON() ([]byte, error)
func (*ListTasksRequestSortField) UnmarshalJSON ¶
func (c *ListTasksRequestSortField) UnmarshalJSON(b []byte) error
func (ListTasksRequestSortField) Value ¶ added in v0.0.90
func (c ListTasksRequestSortField) Value() string
type ListTasksRequestSortFieldEnum ¶
type ListTasksRequestSortFieldEnum struct { CREATED_DATE ListTasksRequestSortField STATUS ListTasksRequestSortField }
func GetListTasksRequestSortFieldEnum ¶
func GetListTasksRequestSortFieldEnum() ListTasksRequestSortFieldEnum
type ListTasksRequestSortType ¶
type ListTasksRequestSortType struct {
// contains filtered or unexported fields
}
func (ListTasksRequestSortType) MarshalJSON ¶
func (c ListTasksRequestSortType) MarshalJSON() ([]byte, error)
func (*ListTasksRequestSortType) UnmarshalJSON ¶
func (c *ListTasksRequestSortType) UnmarshalJSON(b []byte) error
func (ListTasksRequestSortType) Value ¶ added in v0.0.90
func (c ListTasksRequestSortType) Value() string
type ListTasksRequestSortTypeEnum ¶
type ListTasksRequestSortTypeEnum struct { ASC ListTasksRequestSortType DESC ListTasksRequestSortType }
func GetListTasksRequestSortTypeEnum ¶
func GetListTasksRequestSortTypeEnum() ListTasksRequestSortTypeEnum
type ListTasksRequestStatus ¶
type ListTasksRequestStatus struct {
// contains filtered or unexported fields
}
func (ListTasksRequestStatus) MarshalJSON ¶
func (c ListTasksRequestStatus) MarshalJSON() ([]byte, error)
func (*ListTasksRequestStatus) UnmarshalJSON ¶
func (c *ListTasksRequestStatus) UnmarshalJSON(b []byte) error
func (ListTasksRequestStatus) Value ¶ added in v0.0.90
func (c ListTasksRequestStatus) Value() int32
type ListTasksRequestStatusEnum ¶
type ListTasksRequestStatusEnum struct { E_0 ListTasksRequestStatus E_1 ListTasksRequestStatus }
func GetListTasksRequestStatusEnum ¶
func GetListTasksRequestStatusEnum() ListTasksRequestStatusEnum
type ListTasksRequestTaskType ¶
type ListTasksRequestTaskType struct {
// contains filtered or unexported fields
}
func (ListTasksRequestTaskType) MarshalJSON ¶
func (c ListTasksRequestTaskType) MarshalJSON() ([]byte, error)
func (*ListTasksRequestTaskType) UnmarshalJSON ¶
func (c *ListTasksRequestTaskType) UnmarshalJSON(b []byte) error
func (ListTasksRequestTaskType) Value ¶ added in v0.0.90
func (c ListTasksRequestTaskType) Value() string
type ListTasksRequestTaskTypeEnum ¶
type ListTasksRequestTaskTypeEnum struct { REALTIME ListTasksRequestTaskType TIMING ListTasksRequestTaskType }
func GetListTasksRequestTaskTypeEnum ¶
func GetListTasksRequestTaskTypeEnum() ListTasksRequestTaskTypeEnum
type ListTasksResponse ¶
type ListTasksResponse struct { // 查询任务列表任务总个数 Total *int64 `json:"total,omitempty"` // 查询任务列表返回的当前页的任务个数 Size *int32 `json:"size,omitempty"` // 查询任务列表返回的对象 Entities *[]BriefTaskRespBean `json:"entities,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTasksResponse) String ¶
func (o ListTasksResponse) String() string
type ListTopicsRequest ¶
type ListTopicsRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` // topic名称 Name *string `json:"name,omitempty"` // topic权限,0为发布,1为订阅 TopicPermission *int32 `json:"topic_permission,omitempty"` // topic类型,0为设备类topic,1为产品类topic TopicType *int32 `json:"topic_type,omitempty"` // topic是否为自定义,0为基础topic,1为自定义topic IsPrivate *int32 `json:"is_private,omitempty"` }
Request Object
func (ListTopicsRequest) String ¶
func (o ListTopicsRequest) String() string
type ListTopicsResponse ¶
type ListTopicsResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 主题列表 Items *[]Topic `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTopicsResponse) String ¶
func (o ListTopicsResponse) String() string
type ListVpcChannelsV2Request ¶
type ListVpcChannelsV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0 Offset *int64 `json:"offset,omitempty"` // 每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的名称 Name *string `json:"name,omitempty"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。 目前支持name,member_group_name。 PreciseSearch *string `json:"precise_search,omitempty"` // 后端服务地址。默认精确查询,不支持模糊查询。 MemberHost *string `json:"member_host,omitempty"` // 后端服务器端口 MemberPort *int32 `json:"member_port,omitempty"` // 后端服务器组名称 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` }
Request Object
func (ListVpcChannelsV2Request) String ¶
func (o ListVpcChannelsV2Request) String() string
type ListVpcChannelsV2Response ¶
type ListVpcChannelsV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的VPC通道列表 VpcChannels *[]VpcChannelInfo `json:"vpc_channels,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListVpcChannelsV2Response) String ¶
func (o ListVpcChannelsV2Response) String() string
type Listener ¶
type Listener struct { // 监听器名称 Name *string `json:"name,omitempty"` // 监听器对外提供服务端口 Port *int32 `json:"port,omitempty"` Backend *Backend `json:"backend,omitempty"` // 创建负载均衡器的IP协议类型 IpVersion *ListenerIpVersion `json:"ip_version,omitempty"` }
监听器
type ListenerIpVersion ¶ added in v0.0.78
type ListenerIpVersion struct {
// contains filtered or unexported fields
}
func (ListenerIpVersion) MarshalJSON ¶ added in v0.0.78
func (c ListenerIpVersion) MarshalJSON() ([]byte, error)
func (*ListenerIpVersion) UnmarshalJSON ¶ added in v0.0.78
func (c *ListenerIpVersion) UnmarshalJSON(b []byte) error
func (ListenerIpVersion) Value ¶ added in v0.0.90
func (c ListenerIpVersion) Value() int32
type ListenerIpVersionEnum ¶ added in v0.0.78
type ListenerIpVersionEnum struct { E_4 ListenerIpVersion E_6 ListenerIpVersion }
func GetListenerIpVersionEnum ¶ added in v0.0.78
func GetListenerIpVersionEnum() ListenerIpVersionEnum
type LiveDataExportReq ¶
type LiveDataExportReq struct { // API所属的应用ID AppId *string `json:"app_id,omitempty"` // 导出的API定义的格式 Format *LiveDataExportReqFormat `json:"format,omitempty"` // 导出的自定义后端API ID列表 Apis *[]string `json:"apis,omitempty"` // 导出的后端API状态: - 1:待开发 - 3:开发中 - 4:已部署 Status *int32 `json:"status,omitempty"` }
func (LiveDataExportReq) String ¶
func (o LiveDataExportReq) String() string
type LiveDataExportReqFormat ¶
type LiveDataExportReqFormat struct {
// contains filtered or unexported fields
}
func (LiveDataExportReqFormat) MarshalJSON ¶
func (c LiveDataExportReqFormat) MarshalJSON() ([]byte, error)
func (*LiveDataExportReqFormat) UnmarshalJSON ¶
func (c *LiveDataExportReqFormat) UnmarshalJSON(b []byte) error
func (LiveDataExportReqFormat) Value ¶ added in v0.0.90
func (c LiveDataExportReqFormat) Value() string
type LiveDataExportReqFormatEnum ¶
type LiveDataExportReqFormatEnum struct { JSON LiveDataExportReqFormat YAML LiveDataExportReqFormat YML LiveDataExportReqFormat }
func GetLiveDataExportReqFormatEnum ¶
func GetLiveDataExportReqFormatEnum() LiveDataExportReqFormatEnum
type MappingInfo ¶
type MappingInfo struct { // 源端字段 SourceColumn *string `json:"source_column,omitempty"` // 源端字段类型 SourceColumnType *string `json:"source_column_type,omitempty"` // 源端字段长度 SourceColumnLength *string `json:"source_column_length,omitempty"` // 目标端字段 TargetColumn *string `json:"target_column,omitempty"` // 目标端字段类型 TargetColumnType *string `json:"target_column_type,omitempty"` // 目标端字段长度 TargetColumnLength *string `json:"target_column_length,omitempty"` }
func (MappingInfo) String ¶
func (o MappingInfo) String() string
type MemberBase ¶
type MemberBase struct { // 后端服务器地址 后端实例类型为ip时必填 Host *string `json:"host,omitempty"` // 权重值。 允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。 Weight *int32 `json:"weight,omitempty"` // 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 IsBackup *bool `json:"is_backup,omitempty"` // 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器状态 - 1:可用 - 2:不可用 Status *MemberBaseStatus `json:"status,omitempty"` // 后端服务器端口 Port *int32 `json:"port,omitempty"` }
func (MemberBase) String ¶
func (o MemberBase) String() string
type MemberBaseStatus ¶
type MemberBaseStatus struct {
// contains filtered or unexported fields
}
func (MemberBaseStatus) MarshalJSON ¶
func (c MemberBaseStatus) MarshalJSON() ([]byte, error)
func (*MemberBaseStatus) UnmarshalJSON ¶
func (c *MemberBaseStatus) UnmarshalJSON(b []byte) error
func (MemberBaseStatus) Value ¶ added in v0.0.90
func (c MemberBaseStatus) Value() int32
type MemberBaseStatusEnum ¶
type MemberBaseStatusEnum struct { E_1 MemberBaseStatus E_2 MemberBaseStatus }
func GetMemberBaseStatusEnum ¶
func GetMemberBaseStatusEnum() MemberBaseStatusEnum
type MemberGroupCreate ¶
type MemberGroupCreate struct { // VPC通道后端服务器组名称 MemberGroupName string `json:"member_group_name"` // VPC通道后端服务器组描述 MemberGroupRemark *string `json:"member_group_remark,omitempty"` // VPC通道后端服务器组权重值。 当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。 MemberGroupWeight *int32 `json:"member_group_weight,omitempty"` // VPC通道后端服务器组的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` }
func (MemberGroupCreate) String ¶
func (o MemberGroupCreate) String() string
type MemberGroupCreateBatch ¶
type MemberGroupCreateBatch struct { // 后端服务器组列表 MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"` }
func (MemberGroupCreateBatch) String ¶
func (o MemberGroupCreateBatch) String() string
type MemberGroupInfo ¶
type MemberGroupInfo struct { // VPC通道后端服务器组名称 MemberGroupName string `json:"member_group_name"` // VPC通道后端服务器组描述 MemberGroupRemark *string `json:"member_group_remark,omitempty"` // VPC通道后端服务器组权重值。 当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。 MemberGroupWeight *int32 `json:"member_group_weight,omitempty"` // VPC通道后端服务器组的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` // VPC通道后端服务器组创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道后端服务器组更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
func (MemberGroupInfo) String ¶
func (o MemberGroupInfo) String() string
type MemberInfo ¶
type MemberInfo struct { // 后端服务器地址 后端实例类型为ip时必填 Host *string `json:"host,omitempty"` // 权重值。 允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。 Weight *int32 `json:"weight,omitempty"` // 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 IsBackup *bool `json:"is_backup,omitempty"` // 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器状态 - 1:可用 - 2:不可用 Status *MemberInfoStatus `json:"status,omitempty"` // 后端服务器端口 Port *int32 `json:"port,omitempty"` // [后端云服务器的编号。](tag:hws;hws_hk;hcs;fcs;g42;) [后端实例类型为ecs时必填,支持英文,数字,“-”,“_”,1 ~ 64字符。](tag:hws;hws_hk;hcs;fcs;g42;) [不支持后端云服务器类型](tag:Site) EcsId *string `json:"ecs_id,omitempty"` // [后端云服务器的名称。] [后端实例类型为ecs时必填,支持汉字,英文,数字,“-”,“_”,“.”,1 ~ 64字符。](tag:hws;hws_hk;hcs;fcs;g42;) [不支持后端云服务器类型](tag:Site) EcsName *string `json:"ecs_name,omitempty"` }
func (MemberInfo) String ¶
func (o MemberInfo) String() string
type MemberInfoStatus ¶
type MemberInfoStatus struct {
// contains filtered or unexported fields
}
func (MemberInfoStatus) MarshalJSON ¶
func (c MemberInfoStatus) MarshalJSON() ([]byte, error)
func (*MemberInfoStatus) UnmarshalJSON ¶
func (c *MemberInfoStatus) UnmarshalJSON(b []byte) error
func (MemberInfoStatus) Value ¶ added in v0.0.90
func (c MemberInfoStatus) Value() int32
type MemberInfoStatusEnum ¶
type MemberInfoStatusEnum struct { E_1 MemberInfoStatus E_2 MemberInfoStatus }
func GetMemberInfoStatusEnum ¶
func GetMemberInfoStatusEnum() MemberInfoStatusEnum
type MembersBatchEnableOrDisable ¶
type MembersBatchEnableOrDisable struct { // 后端服务器编号列表。 MemberIds *[]string `json:"member_ids,omitempty"` }
func (MembersBatchEnableOrDisable) String ¶
func (o MembersBatchEnableOrDisable) String() string
type MockApiBaseInfo ¶
type MockApiBaseInfo struct { // 描述信息。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 返回结果 ResultContent *string `json:"result_content,omitempty"` // 版本。字符长度不超过64 Version *string `json:"version,omitempty"` // 后端自定义认证ID AuthorizerId *string `json:"authorizer_id,omitempty"` // mock后端自定义状态码: \"200\": \"OK\", \"201\": \"Created\", \"202\": \"Accepted\", \"203\": \"NonAuthoritativeInformation\", \"204\": \"NoContent\", \"205\": \"ResetContent\", \"206\": \"PartialContent\", \"300\": \"MultipleChoices\", \"301\": \"MovedPermanently\", \"302\": \"Found\", \"303\": \"SeeOther\", \"304\": \"NotModified\", \"305\": \"UseProxy\", \"306\": \"Unused\", \"307\": \"TemporaryRedirect\", \"400\": \"BadRequest\", \"401\": \"Unauthorized\", \"402\": \"PaymentRequired\", \"403\": \"Forbidden\", \"404\": \"NotFound\", \"405\": \"MethodNotAllowed\", \"406\": \"NotAcceptable\", \"407\": \"ProxyAuthenticationRequired\", \"408\": \"RequestTimeout\", \"409\": \"Conflict\", \"410\": \"Gone\", \"411\": \"LengthRequired\", \"412\": \"PreconditionFailed\", \"413\": \"RequestEntityTooLarge\", \"414\": \"RequestURITooLong\", \"415\": \"UnsupportedMediaType\", \"416\": \"RequestedRangeNotSatisfiable\", \"417\": \"ExpectationFailed\", \"450\": \"ParameterRequried\", \"451\": \"MethodConnectException\", \"500\": \"InternalServerError\", \"501\": \"NotImplemented\", \"502\": \"BadGateway\", \"503\": \"ServiceUnavailable\", \"504\": \"GatewayTimeout\", \"505\": \"HTTPVersionNotSupported\", StatusCode *MockApiBaseInfoStatusCode `json:"status_code,omitempty"` // mock后端自定义响应头header Header *[]MockApiBaseInfoHeader `json:"header,omitempty"` }
mock后端详情
func (MockApiBaseInfo) String ¶
func (o MockApiBaseInfo) String() string
type MockApiBaseInfoHeader ¶
type MockApiBaseInfoHeader struct { // mock后端自定义响应头header key Key *string `json:"key,omitempty"` // mock后端自定义响应头header value Value *string `json:"value,omitempty"` // mock后端自定义响应头header remark Remark *string `json:"remark,omitempty"` }
func (MockApiBaseInfoHeader) String ¶
func (o MockApiBaseInfoHeader) String() string
type MockApiBaseInfoStatusCode ¶
type MockApiBaseInfoStatusCode struct {
// contains filtered or unexported fields
}
func (MockApiBaseInfoStatusCode) MarshalJSON ¶
func (c MockApiBaseInfoStatusCode) MarshalJSON() ([]byte, error)
func (*MockApiBaseInfoStatusCode) UnmarshalJSON ¶
func (c *MockApiBaseInfoStatusCode) UnmarshalJSON(b []byte) error
func (MockApiBaseInfoStatusCode) Value ¶ added in v0.0.90
func (c MockApiBaseInfoStatusCode) Value() int32
type MockApiBaseInfoStatusCodeEnum ¶
type MockApiBaseInfoStatusCodeEnum struct { E_200 MockApiBaseInfoStatusCode E_201 MockApiBaseInfoStatusCode E_202 MockApiBaseInfoStatusCode E_203 MockApiBaseInfoStatusCode E_204 MockApiBaseInfoStatusCode E_205 MockApiBaseInfoStatusCode E_206 MockApiBaseInfoStatusCode E_300 MockApiBaseInfoStatusCode E_301 MockApiBaseInfoStatusCode E_302 MockApiBaseInfoStatusCode E_303 MockApiBaseInfoStatusCode E_304 MockApiBaseInfoStatusCode E_305 MockApiBaseInfoStatusCode E_306 MockApiBaseInfoStatusCode E_307 MockApiBaseInfoStatusCode E_400 MockApiBaseInfoStatusCode E_401 MockApiBaseInfoStatusCode E_402 MockApiBaseInfoStatusCode E_403 MockApiBaseInfoStatusCode E_404 MockApiBaseInfoStatusCode E_405 MockApiBaseInfoStatusCode E_406 MockApiBaseInfoStatusCode E_407 MockApiBaseInfoStatusCode E_408 MockApiBaseInfoStatusCode E_409 MockApiBaseInfoStatusCode E_410 MockApiBaseInfoStatusCode E_411 MockApiBaseInfoStatusCode E_412 MockApiBaseInfoStatusCode E_413 MockApiBaseInfoStatusCode E_414 MockApiBaseInfoStatusCode E_415 MockApiBaseInfoStatusCode E_416 MockApiBaseInfoStatusCode E_417 MockApiBaseInfoStatusCode E_450 MockApiBaseInfoStatusCode E_451 MockApiBaseInfoStatusCode E_500 MockApiBaseInfoStatusCode E_501 MockApiBaseInfoStatusCode E_502 MockApiBaseInfoStatusCode E_503 MockApiBaseInfoStatusCode E_504 MockApiBaseInfoStatusCode E_505 MockApiBaseInfoStatusCode }
func GetMockApiBaseInfoStatusCodeEnum ¶
func GetMockApiBaseInfoStatusCodeEnum() MockApiBaseInfoStatusCodeEnum
type MultiOracleAddress ¶
type MultiOracleAddress struct { // ORACLE地址 OracleAddress *string `json:"oracle_address,omitempty"` // ORACLE端口 OraclePort *string `json:"oracle_port,omitempty"` }
ORACLE集群地址
func (MultiOracleAddress) String ¶
func (o MultiOracleAddress) String() string
type MultiTaskColumnInfo ¶
type MultiTaskColumnInfo struct { // 字段名 FieldName *string `json:"field_name,omitempty"` // 字段类型 FieldType *string `json:"field_type,omitempty"` // 字段长度 FieldLength *string `json:"field_length,omitempty"` }
func (MultiTaskColumnInfo) String ¶
func (o MultiTaskColumnInfo) String() string
type MultiTaskInitBody ¶
type MultiTaskInitBody struct { ExtInfo *MultiTaskInitBodyExtInfo `json:"ext_info,omitempty"` // 源端数据源ID SourceDatasourceId *string `json:"source_datasource_id,omitempty"` // 目标端数据源ID TargetDatasourceId *string `json:"target_datasource_id,omitempty"` // 任务ID,可以为空,为空时自动分配任务ID TaskId *string `json:"task_id,omitempty"` // 是否自动建立源端到目标端映射 AutoMapping *bool `json:"auto_mapping,omitempty"` }
func (MultiTaskInitBody) String ¶
func (o MultiTaskInitBody) String() string
type MultiTaskInitBodyExtInfo ¶
type MultiTaskInitBodyExtInfo struct { // Mysql的ServerID ServerId *string `json:"server_id,omitempty"` }
扩展属性,目前支持server_id,允许为空
func (MultiTaskInitBodyExtInfo) String ¶
func (o MultiTaskInitBodyExtInfo) String() string
type MultiTaskInitElement ¶
type MultiTaskInitElement struct { ExtInfo *MultiTaskInitElementExtInfo `json:"ext_info,omitempty"` // 任务ID TaskId *string `json:"task_id,omitempty"` // 源端数据源ID SourceDatasourceId *string `json:"source_datasource_id,omitempty"` // 目标端数据源ID TargetDatasourceId *string `json:"target_datasource_id,omitempty"` // 源端组 SourceGroup *string `json:"source_group,omitempty"` // 目标端组 TargetGroup *string `json:"target_group,omitempty"` // 源端数据源ID SourceDsId *string `json:"source_ds_id,omitempty"` // 目标端数据源ID TargetDsId *string `json:"target_ds_id,omitempty"` // 源端实例ID SourceInstanceId *string `json:"source_instance_id,omitempty"` // 目标端实例ID TargetInstanceId *string `json:"target_instance_id,omitempty"` // 源端数据源所属集成应用ID SourceAppId *string `json:"source_app_id,omitempty"` // 目标端数据源所属集成应用ID TargetAppId *string `json:"target_app_id,omitempty"` // 源端数据源的名称 SourceDatasourceName *string `json:"source_datasource_name,omitempty"` // 目标端数据源的名称 TargetDatasourceName *string `json:"target_datasource_name,omitempty"` // 源端数据源的类型 SourceDatasourceType *string `json:"source_datasource_type,omitempty"` // 目标端数据源的类型 TargetDatasourceType *string `json:"target_datasource_type,omitempty"` // 映射关系列表,只返回前10条 Mappings *[]MultiTaskMappingElement `json:"mappings,omitempty"` // 映射关系总数 MappingsTotalCount *int64 `json:"mappings_total_count,omitempty"` }
func (MultiTaskInitElement) String ¶
func (o MultiTaskInitElement) String() string
type MultiTaskInitElementExtInfo ¶
type MultiTaskInitElementExtInfo struct { // Mysql的ServerID ServerId *string `json:"server_id,omitempty"` }
扩展属性,目前只支持server_id
func (MultiTaskInitElementExtInfo) String ¶
func (o MultiTaskInitElementExtInfo) String() string
type MultiTaskMappingCreateBody ¶
type MultiTaskMappingCreateBody struct { ExtInfo *MultiTaskInitElementExtInfo `json:"ext_info,omitempty"` // 源端数据源ID SourceDatasourceId *string `json:"source_datasource_id,omitempty"` // 目标端数据源ID TargetDatasourceId *string `json:"target_datasource_id,omitempty"` // 源端字段列表 SourceColumns *[]MultiTaskColumnInfo `json:"source_columns,omitempty"` // 目标端字段列表 TargetColumns *[]MultiTaskColumnInfo `json:"target_columns,omitempty"` // 源表名 SourceTable *string `json:"source_table,omitempty"` // 目标表名 TargetTable *string `json:"target_table,omitempty"` // 字段映射列表 MappingColumns *[]MappingInfo `json:"mapping_columns,omitempty"` }
func (MultiTaskMappingCreateBody) String ¶
func (o MultiTaskMappingCreateBody) String() string
type MultiTaskMappingElement ¶
type MultiTaskMappingElement struct { // 映射唯一ID Id *string `json:"id,omitempty"` // 源表名 SourceTable *string `json:"source_table,omitempty"` // 目标表名 TargetTable *string `json:"target_table,omitempty"` // 上次修改时间 UpdatedTime *int64 `json:"updated_time,omitempty"` // 匹配度 MappingPercent *int64 `json:"mapping_percent,omitempty"` // 映射状态 - AUTO (自动映射) - MANUAL (手工新增) - ADD (自动新增) - UPDATE (更新) - DELETE (删除) - USING (使用中) Status *MultiTaskMappingElementStatus `json:"status,omitempty"` // 源端字段列表 SourceColumns *[]MultiTaskColumnInfo `json:"source_columns,omitempty"` // 目标端字段列表 TargetColumns *[]MultiTaskColumnInfo `json:"target_columns,omitempty"` // 字段映射列表 Mapping *[]MappingInfo `json:"mapping,omitempty"` }
func (MultiTaskMappingElement) String ¶
func (o MultiTaskMappingElement) String() string
type MultiTaskMappingElementStatus ¶
type MultiTaskMappingElementStatus struct {
// contains filtered or unexported fields
}
func (MultiTaskMappingElementStatus) MarshalJSON ¶
func (c MultiTaskMappingElementStatus) MarshalJSON() ([]byte, error)
func (*MultiTaskMappingElementStatus) UnmarshalJSON ¶
func (c *MultiTaskMappingElementStatus) UnmarshalJSON(b []byte) error
func (MultiTaskMappingElementStatus) Value ¶ added in v0.0.90
func (c MultiTaskMappingElementStatus) Value() string
type MultiTaskMappingElementStatusEnum ¶
type MultiTaskMappingElementStatusEnum struct { AUTO MultiTaskMappingElementStatus MANUAL MultiTaskMappingElementStatus ADD MultiTaskMappingElementStatus UPDATE MultiTaskMappingElementStatus DELETE MultiTaskMappingElementStatus USING MultiTaskMappingElementStatus }
func GetMultiTaskMappingElementStatusEnum ¶
func GetMultiTaskMappingElementStatusEnum() MultiTaskMappingElementStatusEnum
type MultiTaskRequestBody ¶
type MultiTaskRequestBody struct { // 任务名称,只能以字母、数字为开头,包含字母、数字和 . _ - 3~100个字符 TaskName *string `json:"task_name,omitempty"` // 任务ID,可以为空 TaskId *string `json:"task_id,omitempty"` // 任务类型,目前组合任务仅支持实时任务 - REALTIME (实时) - TIMING (定时) TaskType *MultiTaskRequestBodyTaskType `json:"task_type,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 任务标签,只能包含字母、数字、中划线、下划线 TaskTag *string `json:"task_tag,omitempty"` // 需要支持的操作类型,支持多选,至少需要选择以下一种: - INSERT - UPDATE - DELETE OperationTypes *[]MultiTaskRequestBodyOperationTypes `json:"operation_types,omitempty"` // 源端数据源所属集成应用ID SourceAppId *string `json:"source_app_id,omitempty"` // 目标端数据源所属集成应用ID TargetAppId *string `json:"target_app_id,omitempty"` }
func (MultiTaskRequestBody) String ¶
func (o MultiTaskRequestBody) String() string
type MultiTaskRequestBodyOperationTypes ¶
type MultiTaskRequestBodyOperationTypes struct {
// contains filtered or unexported fields
}
func (MultiTaskRequestBodyOperationTypes) MarshalJSON ¶
func (c MultiTaskRequestBodyOperationTypes) MarshalJSON() ([]byte, error)
func (*MultiTaskRequestBodyOperationTypes) UnmarshalJSON ¶
func (c *MultiTaskRequestBodyOperationTypes) UnmarshalJSON(b []byte) error
func (MultiTaskRequestBodyOperationTypes) Value ¶ added in v0.0.90
func (c MultiTaskRequestBodyOperationTypes) Value() string
type MultiTaskRequestBodyOperationTypesEnum ¶
type MultiTaskRequestBodyOperationTypesEnum struct { INSERT MultiTaskRequestBodyOperationTypes UPDATE MultiTaskRequestBodyOperationTypes DELETE MultiTaskRequestBodyOperationTypes }
func GetMultiTaskRequestBodyOperationTypesEnum ¶
func GetMultiTaskRequestBodyOperationTypesEnum() MultiTaskRequestBodyOperationTypesEnum
type MultiTaskRequestBodyTaskType ¶
type MultiTaskRequestBodyTaskType struct {
// contains filtered or unexported fields
}
func (MultiTaskRequestBodyTaskType) MarshalJSON ¶
func (c MultiTaskRequestBodyTaskType) MarshalJSON() ([]byte, error)
func (*MultiTaskRequestBodyTaskType) UnmarshalJSON ¶
func (c *MultiTaskRequestBodyTaskType) UnmarshalJSON(b []byte) error
func (MultiTaskRequestBodyTaskType) Value ¶ added in v0.0.90
func (c MultiTaskRequestBodyTaskType) Value() string
type MultiTaskRequestBodyTaskTypeEnum ¶
type MultiTaskRequestBodyTaskTypeEnum struct { REALTIME MultiTaskRequestBodyTaskType TIMING MultiTaskRequestBodyTaskType }
func GetMultiTaskRequestBodyTaskTypeEnum ¶
func GetMultiTaskRequestBodyTaskTypeEnum() MultiTaskRequestBodyTaskTypeEnum
type MultiTaskResetBody ¶
type MultiTaskResetBody struct { // 任务重置开始时间,UTC时间戳,允许为空 DateFrom *int64 `json:"date_from,omitempty"` }
func (MultiTaskResetBody) String ¶
func (o MultiTaskResetBody) String() string
type MultiTaskUpdateBody ¶
type MultiTaskUpdateBody struct { // 描述信息 Description *string `json:"description,omitempty"` // 任务标签,只能包含字母、数字、中划线、下划线 TaskTag *string `json:"task_tag,omitempty"` // 需要支持的操作类型,支持多选,至少需要选择以下一种: - INSERT - UPDATE - DELETE OperationTypes *[]MultiTaskUpdateBodyOperationTypes `json:"operation_types,omitempty"` // 是否同步已有数据,仅在编辑任务时生效 RepullingSnapshot *bool `json:"repulling_snapshot,omitempty"` }
func (MultiTaskUpdateBody) String ¶
func (o MultiTaskUpdateBody) String() string
type MultiTaskUpdateBodyOperationTypes ¶
type MultiTaskUpdateBodyOperationTypes struct {
// contains filtered or unexported fields
}
func (MultiTaskUpdateBodyOperationTypes) MarshalJSON ¶
func (c MultiTaskUpdateBodyOperationTypes) MarshalJSON() ([]byte, error)
func (*MultiTaskUpdateBodyOperationTypes) UnmarshalJSON ¶
func (c *MultiTaskUpdateBodyOperationTypes) UnmarshalJSON(b []byte) error
func (MultiTaskUpdateBodyOperationTypes) Value ¶ added in v0.0.90
func (c MultiTaskUpdateBodyOperationTypes) Value() string
type MultiTaskUpdateBodyOperationTypesEnum ¶
type MultiTaskUpdateBodyOperationTypesEnum struct { INSERT MultiTaskUpdateBodyOperationTypes UPDATE MultiTaskUpdateBodyOperationTypes DELETE MultiTaskUpdateBodyOperationTypes }
func GetMultiTaskUpdateBodyOperationTypesEnum ¶
func GetMultiTaskUpdateBodyOperationTypesEnum() MultiTaskUpdateBodyOperationTypesEnum
type NetworkTrafficStats ¶
type NetworkTrafficStats struct { // 下行吞吐量(byte) OutputThroughput *int64 `json:"output_throughput,omitempty"` // 上行吞吐量(byte) InputThroughput *int64 `json:"input_throughput,omitempty"` }
func (NetworkTrafficStats) String ¶
func (o NetworkTrafficStats) String() string
type NodeIps ¶
type NodeIps struct { // 自定义后端服务livedta组件节点ip列表 Livedata *[]string `json:"livedata,omitempty"` // API网关shubao组件节点ip列表 Shubao *[]string `json:"shubao,omitempty"` }
节点内部ip信息
type NotificationResponseBody ¶
type NotificationResponseBody struct { // 订阅ID NotificationId *int64 `json:"notification_id,omitempty"` // 订阅类型, 0:设备上线通知类型, 1:设备下线通知类型, 2:设备添加通知类型, 3:设备删除通知类型, 4:设备变更通知类型 Type *NotificationResponseBodyType `json:"type,omitempty"` // 订阅管理状态,0:启用,1:停用 Status *NotificationResponseBodyStatus `json:"status,omitempty"` // 订阅的topic名称 Topic *string `json:"topic,omitempty"` // 实例ID InstanceId *string `json:"instance_id,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` }
func (NotificationResponseBody) String ¶
func (o NotificationResponseBody) String() string
type NotificationResponseBodyStatus ¶
type NotificationResponseBodyStatus struct {
// contains filtered or unexported fields
}
func (NotificationResponseBodyStatus) MarshalJSON ¶
func (c NotificationResponseBodyStatus) MarshalJSON() ([]byte, error)
func (*NotificationResponseBodyStatus) UnmarshalJSON ¶
func (c *NotificationResponseBodyStatus) UnmarshalJSON(b []byte) error
func (NotificationResponseBodyStatus) Value ¶ added in v0.0.90
func (c NotificationResponseBodyStatus) Value() int32
type NotificationResponseBodyStatusEnum ¶
type NotificationResponseBodyStatusEnum struct { E_0 NotificationResponseBodyStatus E_1 NotificationResponseBodyStatus }
func GetNotificationResponseBodyStatusEnum ¶
func GetNotificationResponseBodyStatusEnum() NotificationResponseBodyStatusEnum
type NotificationResponseBodyType ¶
type NotificationResponseBodyType struct {
// contains filtered or unexported fields
}
func (NotificationResponseBodyType) MarshalJSON ¶
func (c NotificationResponseBodyType) MarshalJSON() ([]byte, error)
func (*NotificationResponseBodyType) UnmarshalJSON ¶
func (c *NotificationResponseBodyType) UnmarshalJSON(b []byte) error
func (NotificationResponseBodyType) Value ¶ added in v0.0.90
func (c NotificationResponseBodyType) Value() int32
type NotificationResponseBodyTypeEnum ¶
type NotificationResponseBodyTypeEnum struct { E_0 NotificationResponseBodyType E_1 NotificationResponseBodyType E_2 NotificationResponseBodyType E_3 NotificationResponseBodyType E_4 NotificationResponseBodyType }
func GetNotificationResponseBodyTypeEnum ¶
func GetNotificationResponseBodyTypeEnum() NotificationResponseBodyTypeEnum
type OperateTasksBean ¶
type OperateTasksBean struct { // 操作类型 - start (启动) - stop (停止) ActionId *OperateTasksBeanActionId `json:"action_id,omitempty"` // 需要启动或者停止的任务ID列表 List *[]TaskBean `json:"list,omitempty"` }
func (OperateTasksBean) String ¶
func (o OperateTasksBean) String() string
type OperateTasksBeanActionId ¶
type OperateTasksBeanActionId struct {
// contains filtered or unexported fields
}
func (OperateTasksBeanActionId) MarshalJSON ¶
func (c OperateTasksBeanActionId) MarshalJSON() ([]byte, error)
func (*OperateTasksBeanActionId) UnmarshalJSON ¶
func (c *OperateTasksBeanActionId) UnmarshalJSON(b []byte) error
func (OperateTasksBeanActionId) Value ¶ added in v0.0.90
func (c OperateTasksBeanActionId) Value() string
type OperateTasksBeanActionIdEnum ¶
type OperateTasksBeanActionIdEnum struct { START OperateTasksBeanActionId STOP OperateTasksBeanActionId }
func GetOperateTasksBeanActionIdEnum ¶
func GetOperateTasksBeanActionIdEnum() OperateTasksBeanActionIdEnum
type Product ¶
type Product struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 产品ID Id *int32 `json:"id,omitempty"` // 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品) ProductSerial *string `json:"product_serial,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线 Name *string `json:"name,omitempty"` // 产品供应商ID ManufacturerId *string `json:"manufacturer_id,omitempty"` // 厂商名称 ManufacturerName *string `json:"manufacturer_name,omitempty"` // 产品型号 Model *string `json:"model,omitempty"` // 产品类型,0-普通产品(不支持子设备) 1-网关产品 ProductType *ProductProductType `json:"product_type,omitempty"` // 产品描述,长度0-200 Description *string `json:"description,omitempty"` // 产品的协议类型 0-mqtt 2-modbus 4-opcua ProtocolType *ProductProtocolType `json:"protocol_type,omitempty"` // 产品的设备类型(默认Default) DeviceType *string `json:"device_type,omitempty"` // 产品版本 Version *string `json:"version,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` Authentication *Authentication `json:"authentication,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // data_format 0-JSON 1-USER_DEFINED DataFormat *int32 `json:"data_format,omitempty"` }
type ProductProductType ¶ added in v0.0.78
type ProductProductType struct {
// contains filtered or unexported fields
}
func (ProductProductType) MarshalJSON ¶ added in v0.0.78
func (c ProductProductType) MarshalJSON() ([]byte, error)
func (*ProductProductType) UnmarshalJSON ¶ added in v0.0.78
func (c *ProductProductType) UnmarshalJSON(b []byte) error
func (ProductProductType) Value ¶ added in v0.0.90
func (c ProductProductType) Value() int32
type ProductProductTypeEnum ¶ added in v0.0.78
type ProductProductTypeEnum struct { E_0 ProductProductType E_1 ProductProductType }
func GetProductProductTypeEnum ¶ added in v0.0.78
func GetProductProductTypeEnum() ProductProductTypeEnum
type ProductProtocolType ¶ added in v0.0.78
type ProductProtocolType struct {
// contains filtered or unexported fields
}
func (ProductProtocolType) MarshalJSON ¶ added in v0.0.78
func (c ProductProtocolType) MarshalJSON() ([]byte, error)
func (*ProductProtocolType) UnmarshalJSON ¶ added in v0.0.78
func (c *ProductProtocolType) UnmarshalJSON(b []byte) error
func (ProductProtocolType) Value ¶ added in v0.0.90
func (c ProductProtocolType) Value() int32
type ProductProtocolTypeEnum ¶ added in v0.0.78
type ProductProtocolTypeEnum struct { E_0 ProductProtocolType E_2 ProductProtocolType E_4 ProductProtocolType }
func GetProductProtocolTypeEnum ¶ added in v0.0.78
func GetProductProtocolTypeEnum() ProductProtocolTypeEnum
type ProductReferer ¶
type ProductReferer struct { // 产品ID,未填写厂商ID+型号时产品ID必填 ProductId *int32 `json:"product_id,omitempty"` // 产品名称 ProductName *string `json:"product_name,omitempty"` // 厂商ID,未填写产品ID时厂商ID和型号必填 ManufacturerId *string `json:"manufacturer_id,omitempty"` // 型号,未填写产品ID时厂商ID和型号必填 Model *string `json:"model,omitempty"` // 产品的协议类型:0-mqtt,1-coap,2-modbus,3-http, 4-opcua ProtocolType *ProductRefererProtocolType `json:"protocol_type,omitempty"` // 产品类型:0-普通产品 1-网关产品 ProductType *ProductRefererProductType `json:"product_type,omitempty"` }
产品
func (ProductReferer) String ¶
func (o ProductReferer) String() string
type ProductRefererProductType ¶ added in v0.0.78
type ProductRefererProductType struct {
// contains filtered or unexported fields
}
func (ProductRefererProductType) MarshalJSON ¶ added in v0.0.78
func (c ProductRefererProductType) MarshalJSON() ([]byte, error)
func (*ProductRefererProductType) UnmarshalJSON ¶ added in v0.0.78
func (c *ProductRefererProductType) UnmarshalJSON(b []byte) error
func (ProductRefererProductType) Value ¶ added in v0.0.90
func (c ProductRefererProductType) Value() int32
type ProductRefererProductTypeEnum ¶ added in v0.0.78
type ProductRefererProductTypeEnum struct { E_0 ProductRefererProductType E_1 ProductRefererProductType }
func GetProductRefererProductTypeEnum ¶ added in v0.0.78
func GetProductRefererProductTypeEnum() ProductRefererProductTypeEnum
type ProductRefererProtocolType ¶ added in v0.0.78
type ProductRefererProtocolType struct {
// contains filtered or unexported fields
}
func (ProductRefererProtocolType) MarshalJSON ¶ added in v0.0.78
func (c ProductRefererProtocolType) MarshalJSON() ([]byte, error)
func (*ProductRefererProtocolType) UnmarshalJSON ¶ added in v0.0.78
func (c *ProductRefererProtocolType) UnmarshalJSON(b []byte) error
func (ProductRefererProtocolType) Value ¶ added in v0.0.90
func (c ProductRefererProtocolType) Value() int32
type ProductRefererProtocolTypeEnum ¶ added in v0.0.78
type ProductRefererProtocolTypeEnum struct { E_0 ProductRefererProtocolType E_1 ProductRefererProtocolType E_2 ProductRefererProtocolType E_3 ProductRefererProtocolType E_4 ProductRefererProtocolType }
func GetProductRefererProtocolTypeEnum ¶ added in v0.0.78
func GetProductRefererProtocolTypeEnum() ProductRefererProtocolTypeEnum
type ProductTemplate ¶
type ProductTemplate struct { // 产品模板ID Id *int32 `json:"id,omitempty"` // 产品模板名称 Name *string `json:"name,omitempty"` // 产品模板描述 Description *string `json:"description,omitempty"` // 产品模板状态 0-启用 1-停用 Status *ProductTemplateStatus `json:"status,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` }
func (ProductTemplate) String ¶
func (o ProductTemplate) String() string
type ProductTemplateStatus ¶ added in v0.0.78
type ProductTemplateStatus struct {
// contains filtered or unexported fields
}
func (ProductTemplateStatus) MarshalJSON ¶ added in v0.0.78
func (c ProductTemplateStatus) MarshalJSON() ([]byte, error)
func (*ProductTemplateStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ProductTemplateStatus) UnmarshalJSON(b []byte) error
func (ProductTemplateStatus) Value ¶ added in v0.0.90
func (c ProductTemplateStatus) Value() int32
type ProductTemplateStatusEnum ¶ added in v0.0.78
type ProductTemplateStatusEnum struct { E_0 ProductTemplateStatus E_1 ProductTemplateStatus }
func GetProductTemplateStatusEnum ¶ added in v0.0.78
func GetProductTemplateStatusEnum() ProductTemplateStatusEnum
type ProductTemplatesCalculation ¶
type ProductTemplatesCalculation struct { // 产品模板数量 ProductTemplatesNumbers *int32 `json:"product_templates_numbers,omitempty"` }
func (ProductTemplatesCalculation) String ¶
func (o ProductTemplatesCalculation) String() string
type ProductTopic ¶
type ProductTopic struct { // 归属产品ID ProductId *int32 `json:"product_id,omitempty"` // 产品主题ID TopicId *string `json:"topic_id,omitempty"` // 主题权限 0-发布 1-订阅 Permission *ProductTopicPermission `json:"permission,omitempty"` // 主题名称 TopicName *string `json:"topic_name,omitempty"` // 版本号 Version *string `json:"version,omitempty"` // 描述 Description *string `json:"description,omitempty"` }
func (ProductTopic) String ¶
func (o ProductTopic) String() string
type ProductTopicPermission ¶ added in v0.0.78
type ProductTopicPermission struct {
// contains filtered or unexported fields
}
func (ProductTopicPermission) MarshalJSON ¶ added in v0.0.78
func (c ProductTopicPermission) MarshalJSON() ([]byte, error)
func (*ProductTopicPermission) UnmarshalJSON ¶ added in v0.0.78
func (c *ProductTopicPermission) UnmarshalJSON(b []byte) error
func (ProductTopicPermission) Value ¶ added in v0.0.90
func (c ProductTopicPermission) Value() int32
type ProductTopicPermissionEnum ¶ added in v0.0.78
type ProductTopicPermissionEnum struct { E_0 ProductTopicPermission E_1 ProductTopicPermission }
func GetProductTopicPermissionEnum ¶ added in v0.0.78
func GetProductTopicPermissionEnum() ProductTopicPermissionEnum
type ProductsCalculation ¶
type ProductsCalculation struct { // 普通产品数量 NormalProductsNumbers *int32 `json:"normal_products_numbers,omitempty"` // 网关产品数量 GatewayProductsNumbers *int32 `json:"gateway_products_numbers,omitempty"` }
func (ProductsCalculation) String ¶
func (o ProductsCalculation) String() string
type ProjectVpcChannelInfo ¶
type ProjectVpcChannelInfo struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy ProjectVpcChannelInfoBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs MemberType ProjectVpcChannelInfoMemberType `json:"member_type"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的状态。 - 1:正常 - 2:异常 Status *ProjectVpcChannelInfoStatus `json:"status,omitempty"` // 后端云服务器组列表。 MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` // 实例编号 InstanceId *string `json:"instance_id,omitempty"` // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 后端实例列表。 Members *[]VpcMemberInfo `json:"members,omitempty"` VpcHealthConfig *VpcHealthConfigInfo `json:"vpc_health_config,omitempty"` }
func (ProjectVpcChannelInfo) String ¶
func (o ProjectVpcChannelInfo) String() string
type ProjectVpcChannelInfoBalanceStrategy ¶
type ProjectVpcChannelInfoBalanceStrategy struct {
// contains filtered or unexported fields
}
func (ProjectVpcChannelInfoBalanceStrategy) MarshalJSON ¶
func (c ProjectVpcChannelInfoBalanceStrategy) MarshalJSON() ([]byte, error)
func (*ProjectVpcChannelInfoBalanceStrategy) UnmarshalJSON ¶
func (c *ProjectVpcChannelInfoBalanceStrategy) UnmarshalJSON(b []byte) error
func (ProjectVpcChannelInfoBalanceStrategy) Value ¶ added in v0.0.90
func (c ProjectVpcChannelInfoBalanceStrategy) Value() int32
type ProjectVpcChannelInfoBalanceStrategyEnum ¶
type ProjectVpcChannelInfoBalanceStrategyEnum struct { E_1 ProjectVpcChannelInfoBalanceStrategy E_2 ProjectVpcChannelInfoBalanceStrategy E_3 ProjectVpcChannelInfoBalanceStrategy E_4 ProjectVpcChannelInfoBalanceStrategy }
func GetProjectVpcChannelInfoBalanceStrategyEnum ¶
func GetProjectVpcChannelInfoBalanceStrategyEnum() ProjectVpcChannelInfoBalanceStrategyEnum
type ProjectVpcChannelInfoMemberType ¶
type ProjectVpcChannelInfoMemberType struct {
// contains filtered or unexported fields
}
func (ProjectVpcChannelInfoMemberType) MarshalJSON ¶
func (c ProjectVpcChannelInfoMemberType) MarshalJSON() ([]byte, error)
func (*ProjectVpcChannelInfoMemberType) UnmarshalJSON ¶
func (c *ProjectVpcChannelInfoMemberType) UnmarshalJSON(b []byte) error
func (ProjectVpcChannelInfoMemberType) Value ¶ added in v0.0.90
func (c ProjectVpcChannelInfoMemberType) Value() string
type ProjectVpcChannelInfoMemberTypeEnum ¶
type ProjectVpcChannelInfoMemberTypeEnum struct { IP ProjectVpcChannelInfoMemberType ECS ProjectVpcChannelInfoMemberType }
func GetProjectVpcChannelInfoMemberTypeEnum ¶
func GetProjectVpcChannelInfoMemberTypeEnum() ProjectVpcChannelInfoMemberTypeEnum
type ProjectVpcChannelInfoStatus ¶ added in v0.0.78
type ProjectVpcChannelInfoStatus struct {
// contains filtered or unexported fields
}
func (ProjectVpcChannelInfoStatus) MarshalJSON ¶ added in v0.0.78
func (c ProjectVpcChannelInfoStatus) MarshalJSON() ([]byte, error)
func (*ProjectVpcChannelInfoStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ProjectVpcChannelInfoStatus) UnmarshalJSON(b []byte) error
func (ProjectVpcChannelInfoStatus) Value ¶ added in v0.0.90
func (c ProjectVpcChannelInfoStatus) Value() int32
type ProjectVpcChannelInfoStatusEnum ¶ added in v0.0.78
type ProjectVpcChannelInfoStatusEnum struct { E_1 ProjectVpcChannelInfoStatus E_2 ProjectVpcChannelInfoStatus }
func GetProjectVpcChannelInfoStatusEnum ¶ added in v0.0.78
func GetProjectVpcChannelInfoStatusEnum() ProjectVpcChannelInfoStatusEnum
type ProjectVpcCreate ¶
type ProjectVpcCreate struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy ProjectVpcCreateBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs MemberType ProjectVpcCreateMemberType `json:"member_type"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组列表 MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"` // VPC后端实例列表。 Members *[]MemberInfo `json:"members,omitempty"` VpcHealthConfig *VpcHealthConfig `json:"vpc_health_config,omitempty"` // 关联实例列表。至少包含一个实例编号,最多10个,如需扩大配额请联系技术工程师修改PROJECT_VPC_OPERATOR_NUM_LIMIT配置。 InstanceIds []string `json:"instance_ids"` }
func (ProjectVpcCreate) String ¶
func (o ProjectVpcCreate) String() string
type ProjectVpcCreateBalanceStrategy ¶
type ProjectVpcCreateBalanceStrategy struct {
// contains filtered or unexported fields
}
func (ProjectVpcCreateBalanceStrategy) MarshalJSON ¶
func (c ProjectVpcCreateBalanceStrategy) MarshalJSON() ([]byte, error)
func (*ProjectVpcCreateBalanceStrategy) UnmarshalJSON ¶
func (c *ProjectVpcCreateBalanceStrategy) UnmarshalJSON(b []byte) error
func (ProjectVpcCreateBalanceStrategy) Value ¶ added in v0.0.90
func (c ProjectVpcCreateBalanceStrategy) Value() int32
type ProjectVpcCreateBalanceStrategyEnum ¶
type ProjectVpcCreateBalanceStrategyEnum struct { E_1 ProjectVpcCreateBalanceStrategy E_2 ProjectVpcCreateBalanceStrategy E_3 ProjectVpcCreateBalanceStrategy E_4 ProjectVpcCreateBalanceStrategy }
func GetProjectVpcCreateBalanceStrategyEnum ¶
func GetProjectVpcCreateBalanceStrategyEnum() ProjectVpcCreateBalanceStrategyEnum
type ProjectVpcCreateMemberType ¶
type ProjectVpcCreateMemberType struct {
// contains filtered or unexported fields
}
func (ProjectVpcCreateMemberType) MarshalJSON ¶
func (c ProjectVpcCreateMemberType) MarshalJSON() ([]byte, error)
func (*ProjectVpcCreateMemberType) UnmarshalJSON ¶
func (c *ProjectVpcCreateMemberType) UnmarshalJSON(b []byte) error
func (ProjectVpcCreateMemberType) Value ¶ added in v0.0.90
func (c ProjectVpcCreateMemberType) Value() string
type ProjectVpcCreateMemberTypeEnum ¶
type ProjectVpcCreateMemberTypeEnum struct { IP ProjectVpcCreateMemberType ECS ProjectVpcCreateMemberType }
func GetProjectVpcCreateMemberTypeEnum ¶
func GetProjectVpcCreateMemberTypeEnum() ProjectVpcCreateMemberTypeEnum
type ProjectVpcSync ¶
type ProjectVpcSync struct { // VPC通道编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // 新增关联的实例列表 InstanceIds *[]string `json:"instance_ids,omitempty"` // 是否强制同步,默认不强制同步 ForceSync *bool `json:"force_sync,omitempty"` }
func (ProjectVpcSync) String ¶
func (o ProjectVpcSync) String() string
type Property ¶
type Property struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *PropertyDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *PropertyRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` }
type PropertyDataType ¶
type PropertyDataType struct {
// contains filtered or unexported fields
}
func (PropertyDataType) MarshalJSON ¶
func (c PropertyDataType) MarshalJSON() ([]byte, error)
func (*PropertyDataType) UnmarshalJSON ¶
func (c *PropertyDataType) UnmarshalJSON(b []byte) error
func (PropertyDataType) Value ¶ added in v0.0.90
func (c PropertyDataType) Value() string
type PropertyDataTypeEnum ¶
type PropertyDataTypeEnum struct { INTEGER PropertyDataType NUMBER PropertyDataType STRING PropertyDataType DATETIME PropertyDataType JSON PropertyDataType }
func GetPropertyDataTypeEnum ¶
func GetPropertyDataTypeEnum() PropertyDataTypeEnum
type PropertyRequired ¶ added in v0.0.78
type PropertyRequired struct {
// contains filtered or unexported fields
}
func (PropertyRequired) MarshalJSON ¶ added in v0.0.78
func (c PropertyRequired) MarshalJSON() ([]byte, error)
func (*PropertyRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *PropertyRequired) UnmarshalJSON(b []byte) error
func (PropertyRequired) Value ¶ added in v0.0.90
func (c PropertyRequired) Value() int32
type PropertyRequiredEnum ¶ added in v0.0.78
type PropertyRequiredEnum struct { E_0 PropertyRequired E_1 PropertyRequired }
func GetPropertyRequiredEnum ¶ added in v0.0.78
func GetPropertyRequiredEnum() PropertyRequiredEnum
type PublishLiveDataApiV2Request ¶
type PublishLiveDataApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 后端API的编号 LdApiId string `json:"ld_api_id"` Body *LdApiDeploy `json:"body,omitempty"` }
Request Object
func (PublishLiveDataApiV2Request) String ¶
func (o PublishLiveDataApiV2Request) String() string
type PublishLiveDataApiV2Response ¶
type PublishLiveDataApiV2Response struct { // 部署的编号 Id *string `json:"id,omitempty"` // 部署的后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` // 部署的前端API分组编号 GroupId *string `json:"group_id,omitempty"` // 部署的环境编号 EnvId *string `json:"env_id,omitempty"` // 部署的前端API编号 ApiId *string `json:"api_id,omitempty"` // 部署时间 DeployTime *sdktime.SdkTime `json:"deploy_time,omitempty"` ApiDefinition *LdApiInfo `json:"api_definition,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (PublishLiveDataApiV2Response) String ¶
func (o PublishLiveDataApiV2Response) String() string
type PublishResp ¶
type PublishResp struct { // 发布记录的ID PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 发布的环境编号 EnvId *string `json:"env_id,omitempty"` // 发布描述 Remark *string `json:"remark,omitempty"` // 发布时间 PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"` // 在线的版本号 VersionId *string `json:"version_id,omitempty"` }
func (PublishResp) String ¶
func (o PublishResp) String() string
type ReqParam ¶
type ReqParam struct { // 参数名称。 由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。 Name string `json:"name"` // 参数类型 Type ReqParamType `json:"type"` // 参数位置 Location ReqParamLocation `json:"location"` // 参数默认值 DefaultValue *string `json:"default_value,omitempty"` // 参数示例值 SampleValue *string `json:"sample_value,omitempty"` // 是否必须 - 1:是 - 2:否 location为PATH时,required默认为1,其他场景required默认为2 Required *ReqParamRequired `json:"required,omitempty"` // 是否开启校验 - 1:开启校验 - 2:不开启校验 ValidEnable *ReqParamValidEnable `json:"valid_enable,omitempty"` // 描述信息。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 参数枚举值 Enumerations *string `json:"enumerations,omitempty"` // 参数最小值 参数类型为NUMBER时有效 MinNum *int32 `json:"min_num,omitempty"` // 参数最大值 参数类型为NUMBER时有效 MaxNum *int32 `json:"max_num,omitempty"` // 参数最小长度 参数类型为STRING时有效 MinSize *int32 `json:"min_size,omitempty"` // 参数最大长度 参数类型为STRING时有效 MaxSize *int32 `json:"max_size,omitempty"` // 正则校验规则 暂不支持 Regular *string `json:"regular,omitempty"` // JSON校验规则 暂不支持 JsonSchema *string `json:"json_schema,omitempty"` // 是否透传 - 1:是 - 2:否 PassThrough *ReqParamPassThrough `json:"pass_through,omitempty"` // 参数编号 Id *string `json:"id,omitempty"` }
type ReqParamBase ¶
type ReqParamBase struct { // 参数名称。 由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。 Name string `json:"name"` // 参数类型 Type ReqParamBaseType `json:"type"` // 参数位置 Location ReqParamBaseLocation `json:"location"` // 参数默认值 DefaultValue *string `json:"default_value,omitempty"` // 参数示例值 SampleValue *string `json:"sample_value,omitempty"` // 是否必须 - 1:是 - 2:否 location为PATH时,required默认为1,其他场景required默认为2 Required *ReqParamBaseRequired `json:"required,omitempty"` // 是否开启校验 - 1:开启校验 - 2:不开启校验 ValidEnable *ReqParamBaseValidEnable `json:"valid_enable,omitempty"` // 描述信息。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // 参数枚举值 Enumerations *string `json:"enumerations,omitempty"` // 参数最小值 参数类型为NUMBER时有效 MinNum *int32 `json:"min_num,omitempty"` // 参数最大值 参数类型为NUMBER时有效 MaxNum *int32 `json:"max_num,omitempty"` // 参数最小长度 参数类型为STRING时有效 MinSize *int32 `json:"min_size,omitempty"` // 参数最大长度 参数类型为STRING时有效 MaxSize *int32 `json:"max_size,omitempty"` // 正则校验规则 暂不支持 Regular *string `json:"regular,omitempty"` // JSON校验规则 暂不支持 JsonSchema *string `json:"json_schema,omitempty"` // 是否透传 - 1:是 - 2:否 PassThrough *ReqParamBasePassThrough `json:"pass_through,omitempty"` }
func (ReqParamBase) String ¶
func (o ReqParamBase) String() string
type ReqParamBaseLocation ¶
type ReqParamBaseLocation struct {
// contains filtered or unexported fields
}
func (ReqParamBaseLocation) MarshalJSON ¶
func (c ReqParamBaseLocation) MarshalJSON() ([]byte, error)
func (*ReqParamBaseLocation) UnmarshalJSON ¶
func (c *ReqParamBaseLocation) UnmarshalJSON(b []byte) error
func (ReqParamBaseLocation) Value ¶ added in v0.0.90
func (c ReqParamBaseLocation) Value() string
type ReqParamBaseLocationEnum ¶
type ReqParamBaseLocationEnum struct { PATH ReqParamBaseLocation QUERY ReqParamBaseLocation HEADER ReqParamBaseLocation }
func GetReqParamBaseLocationEnum ¶
func GetReqParamBaseLocationEnum() ReqParamBaseLocationEnum
type ReqParamBasePassThrough ¶
type ReqParamBasePassThrough struct {
// contains filtered or unexported fields
}
func (ReqParamBasePassThrough) MarshalJSON ¶
func (c ReqParamBasePassThrough) MarshalJSON() ([]byte, error)
func (*ReqParamBasePassThrough) UnmarshalJSON ¶
func (c *ReqParamBasePassThrough) UnmarshalJSON(b []byte) error
func (ReqParamBasePassThrough) Value ¶ added in v0.0.90
func (c ReqParamBasePassThrough) Value() int32
type ReqParamBasePassThroughEnum ¶
type ReqParamBasePassThroughEnum struct { E_1 ReqParamBasePassThrough E_2 ReqParamBasePassThrough }
func GetReqParamBasePassThroughEnum ¶
func GetReqParamBasePassThroughEnum() ReqParamBasePassThroughEnum
type ReqParamBaseRequired ¶
type ReqParamBaseRequired struct {
// contains filtered or unexported fields
}
func (ReqParamBaseRequired) MarshalJSON ¶
func (c ReqParamBaseRequired) MarshalJSON() ([]byte, error)
func (*ReqParamBaseRequired) UnmarshalJSON ¶
func (c *ReqParamBaseRequired) UnmarshalJSON(b []byte) error
func (ReqParamBaseRequired) Value ¶ added in v0.0.90
func (c ReqParamBaseRequired) Value() int32
type ReqParamBaseRequiredEnum ¶
type ReqParamBaseRequiredEnum struct { E_1 ReqParamBaseRequired E_2 ReqParamBaseRequired }
func GetReqParamBaseRequiredEnum ¶
func GetReqParamBaseRequiredEnum() ReqParamBaseRequiredEnum
type ReqParamBaseType ¶
type ReqParamBaseType struct {
// contains filtered or unexported fields
}
func (ReqParamBaseType) MarshalJSON ¶
func (c ReqParamBaseType) MarshalJSON() ([]byte, error)
func (*ReqParamBaseType) UnmarshalJSON ¶
func (c *ReqParamBaseType) UnmarshalJSON(b []byte) error
func (ReqParamBaseType) Value ¶ added in v0.0.90
func (c ReqParamBaseType) Value() string
type ReqParamBaseTypeEnum ¶
type ReqParamBaseTypeEnum struct { STRING ReqParamBaseType NUMBER ReqParamBaseType }
func GetReqParamBaseTypeEnum ¶
func GetReqParamBaseTypeEnum() ReqParamBaseTypeEnum
type ReqParamBaseValidEnable ¶
type ReqParamBaseValidEnable struct {
// contains filtered or unexported fields
}
func (ReqParamBaseValidEnable) MarshalJSON ¶
func (c ReqParamBaseValidEnable) MarshalJSON() ([]byte, error)
func (*ReqParamBaseValidEnable) UnmarshalJSON ¶
func (c *ReqParamBaseValidEnable) UnmarshalJSON(b []byte) error
func (ReqParamBaseValidEnable) Value ¶ added in v0.0.90
func (c ReqParamBaseValidEnable) Value() int32
type ReqParamBaseValidEnableEnum ¶
type ReqParamBaseValidEnableEnum struct { E_1 ReqParamBaseValidEnable E_2 ReqParamBaseValidEnable }
func GetReqParamBaseValidEnableEnum ¶
func GetReqParamBaseValidEnableEnum() ReqParamBaseValidEnableEnum
type ReqParamLocation ¶
type ReqParamLocation struct {
// contains filtered or unexported fields
}
func (ReqParamLocation) MarshalJSON ¶
func (c ReqParamLocation) MarshalJSON() ([]byte, error)
func (*ReqParamLocation) UnmarshalJSON ¶
func (c *ReqParamLocation) UnmarshalJSON(b []byte) error
func (ReqParamLocation) Value ¶ added in v0.0.90
func (c ReqParamLocation) Value() string
type ReqParamLocationEnum ¶
type ReqParamLocationEnum struct { PATH ReqParamLocation QUERY ReqParamLocation HEADER ReqParamLocation }
func GetReqParamLocationEnum ¶
func GetReqParamLocationEnum() ReqParamLocationEnum
type ReqParamPassThrough ¶
type ReqParamPassThrough struct {
// contains filtered or unexported fields
}
func (ReqParamPassThrough) MarshalJSON ¶
func (c ReqParamPassThrough) MarshalJSON() ([]byte, error)
func (*ReqParamPassThrough) UnmarshalJSON ¶
func (c *ReqParamPassThrough) UnmarshalJSON(b []byte) error
func (ReqParamPassThrough) Value ¶ added in v0.0.90
func (c ReqParamPassThrough) Value() int32
type ReqParamPassThroughEnum ¶
type ReqParamPassThroughEnum struct { E_1 ReqParamPassThrough E_2 ReqParamPassThrough }
func GetReqParamPassThroughEnum ¶
func GetReqParamPassThroughEnum() ReqParamPassThroughEnum
type ReqParamRequired ¶
type ReqParamRequired struct {
// contains filtered or unexported fields
}
func (ReqParamRequired) MarshalJSON ¶
func (c ReqParamRequired) MarshalJSON() ([]byte, error)
func (*ReqParamRequired) UnmarshalJSON ¶
func (c *ReqParamRequired) UnmarshalJSON(b []byte) error
func (ReqParamRequired) Value ¶ added in v0.0.90
func (c ReqParamRequired) Value() int32
type ReqParamRequiredEnum ¶
type ReqParamRequiredEnum struct { E_1 ReqParamRequired E_2 ReqParamRequired }
func GetReqParamRequiredEnum ¶
func GetReqParamRequiredEnum() ReqParamRequiredEnum
type ReqParamType ¶
type ReqParamType struct {
// contains filtered or unexported fields
}
func (ReqParamType) MarshalJSON ¶
func (c ReqParamType) MarshalJSON() ([]byte, error)
func (*ReqParamType) UnmarshalJSON ¶
func (c *ReqParamType) UnmarshalJSON(b []byte) error
func (ReqParamType) Value ¶ added in v0.0.90
func (c ReqParamType) Value() string
type ReqParamTypeEnum ¶
type ReqParamTypeEnum struct { STRING ReqParamType NUMBER ReqParamType }
func GetReqParamTypeEnum ¶
func GetReqParamTypeEnum() ReqParamTypeEnum
type ReqParamValidEnable ¶
type ReqParamValidEnable struct {
// contains filtered or unexported fields
}
func (ReqParamValidEnable) MarshalJSON ¶
func (c ReqParamValidEnable) MarshalJSON() ([]byte, error)
func (*ReqParamValidEnable) UnmarshalJSON ¶
func (c *ReqParamValidEnable) UnmarshalJSON(b []byte) error
func (ReqParamValidEnable) Value ¶ added in v0.0.90
func (c ReqParamValidEnable) Value() int32
type ReqParamValidEnableEnum ¶
type ReqParamValidEnableEnum struct { E_1 ReqParamValidEnable E_2 ReqParamValidEnable }
func GetReqParamValidEnableEnum ¶
func GetReqParamValidEnableEnum() ReqParamValidEnableEnum
type RequestCountStats ¶
type RequestCountStats struct { // 请求总次数 ReqCount *int32 `json:"req_count,omitempty"` // 2xx响应码总次数 ReqCount2xx *int32 `json:"req_count2xx,omitempty"` // 4xx响应码总次数 ReqCount4xx *int32 `json:"req_count4xx,omitempty"` // 5xx响应码总次数 ReqCount5xx *int32 `json:"req_count5xx,omitempty"` // 错误次数 ReqCountError *int32 `json:"req_count_error,omitempty"` }
func (RequestCountStats) String ¶
func (o RequestCountStats) String() string
type RequestParameter ¶
type RequestParameter struct { // 请求参数名 ParameterName *string `json:"parameter_name,omitempty"` // 请求参数值 ParameterValue *string `json:"parameter_value,omitempty"` }
func (RequestParameter) String ¶
func (o RequestParameter) String() string
type ResetAuthenticationRequest ¶
type ResetAuthenticationRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` }
Request Object
func (ResetAuthenticationRequest) String ¶
func (o ResetAuthenticationRequest) String() string
type ResetAuthenticationResponse ¶
type ResetAuthenticationResponse struct { // 一型一密/一机一密的用户名 UserName *string `json:"user_name,omitempty"` // 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符 Password *string `json:"password,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResetAuthenticationResponse) String ¶
func (o ResetAuthenticationResponse) String() string
type ResetMessagesReq ¶
type ResetMessagesReq struct { // topic名称。 Topic string `json:"topic"` // 分区。 Partition int32 `json:"partition"` // 消息偏移量。 MessageOffset float32 `json:"message_offset"` // 应用key。在该消息头中添加一个consumer_key的消息头。 ConsumerKey *string `json:"consumer_key,omitempty"` }
func (ResetMessagesReq) String ¶
func (o ResetMessagesReq) String() string
type ResetMessagesRequest ¶
type ResetMessagesRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // 重发类型。当前只支持“resend”。 ActionId ResetMessagesRequestActionId `json:"action_id"` Body *ResetMessagesReq `json:"body,omitempty"` }
Request Object
func (ResetMessagesRequest) String ¶
func (o ResetMessagesRequest) String() string
type ResetMessagesRequestActionId ¶
type ResetMessagesRequestActionId struct {
// contains filtered or unexported fields
}
func (ResetMessagesRequestActionId) MarshalJSON ¶
func (c ResetMessagesRequestActionId) MarshalJSON() ([]byte, error)
func (*ResetMessagesRequestActionId) UnmarshalJSON ¶
func (c *ResetMessagesRequestActionId) UnmarshalJSON(b []byte) error
func (ResetMessagesRequestActionId) Value ¶ added in v0.0.90
func (c ResetMessagesRequestActionId) Value() string
type ResetMessagesRequestActionIdEnum ¶
type ResetMessagesRequestActionIdEnum struct {
RESEND ResetMessagesRequestActionId
}
func GetResetMessagesRequestActionIdEnum ¶
func GetResetMessagesRequestActionIdEnum() ResetMessagesRequestActionIdEnum
type ResetMessagesResponse ¶
type ResetMessagesResponse struct { // topic名称。 Topic *string `json:"topic,omitempty"` // 分区。 Partition *int32 `json:"partition,omitempty"` // 消息偏移量。 MessageOffset *int64 `json:"message_offset,omitempty"` // 应用key。在该消息头中添加一个consumer_key的消息头。 ConsumerKey *string `json:"consumer_key,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResetMessagesResponse) String ¶
func (o ResetMessagesResponse) String() string
type ResetMultiTaskOffsetRequest ¶
type ResetMultiTaskOffsetRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` Body *MultiTaskResetBody `json:"body,omitempty"` }
Request Object
func (ResetMultiTaskOffsetRequest) String ¶
func (o ResetMultiTaskOffsetRequest) String() string
type ResetMultiTaskOffsetResponse ¶
type ResetMultiTaskOffsetResponse struct { // 任务重置结果 Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResetMultiTaskOffsetResponse) String ¶
func (o ResetMultiTaskOffsetResponse) String() string
type ResetProductAuthenticationRequest ¶
type ResetProductAuthenticationRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` }
Request Object
func (ResetProductAuthenticationRequest) String ¶
func (o ResetProductAuthenticationRequest) String() string
type ResetProductAuthenticationResponse ¶
type ResetProductAuthenticationResponse struct { // 一型一密/一机一密的用户名 UserName *string `json:"user_name,omitempty"` // 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符 Password *string `json:"password,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResetProductAuthenticationResponse) String ¶
func (o ResetProductAuthenticationResponse) String() string
type ResetRomaAppSecretRequest ¶
type ResetRomaAppSecretRequest struct { // 应用ID AppId string `json:"app_id"` // 实例ID InstanceId string `json:"instance_id"` Body *UpdateAppSecretReq `json:"body,omitempty"` }
Request Object
func (ResetRomaAppSecretRequest) String ¶
func (o ResetRomaAppSecretRequest) String() string
type ResetRomaAppSecretResponse ¶
type ResetRomaAppSecretResponse struct { // 应用ID Id *string `json:"id,omitempty"` // 应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做 Secret *string `json:"secret,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResetRomaAppSecretResponse) String ¶
func (o ResetRomaAppSecretResponse) String() string
type RespInstanceBase ¶
type RespInstanceBase struct { // 实例编号 Id *string `json:"id,omitempty"` // 实例所属项目编号 ProjectId *string `json:"project_id,omitempty"` // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时 Status *RespInstanceBaseStatus `json:"status,omitempty"` // 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时 InstanceStatus *RespInstanceBaseInstanceStatus `json:"instance_status,omitempty"` // 实例类型 暂不支持 Type *string `json:"type,omitempty"` // 实例规格: - ROMA_BASIC:基础版实例 - ROMA_PROFESSIONAL:专业版实例 - ROMA_ENTERPRISE:企业版实例 - ROMA_PLATINUM:铂金版实例 [- ROMA_BASIC_IPV6:基础版IPV6实例](tag:hcs) [- ROMA_PROFESSIONAL_IPV6:专业版IPV6实例](tag:hcs) [- ROMA_ENTERPRISE_IPV6:企业版IPV6实例](tag:hcs) [- ROMA_PLATINUM_IPV6:铂金版IPV6实例](tag:hcs) Spec *RespInstanceBaseSpec `json:"spec,omitempty"` // 实例创建时间。unix时间戳格式。 CreateTime *int64 `json:"create_time,omitempty"` // 企业项目ID,企业帐号必填 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 实例绑定的弹性IP地址 EipAddress *string `json:"eip_address,omitempty"` // 实例计费方式: - 0:按需计费 - 1:包周期计费 ChargingMode *RespInstanceBaseChargingMode `json:"charging_mode,omitempty"` // 包周期计费订单编号 CbcMetadata *string `json:"cbc_metadata,omitempty"` }
func (RespInstanceBase) String ¶
func (o RespInstanceBase) String() string
type RespInstanceBaseChargingMode ¶ added in v0.0.78
type RespInstanceBaseChargingMode struct {
// contains filtered or unexported fields
}
func (RespInstanceBaseChargingMode) MarshalJSON ¶ added in v0.0.78
func (c RespInstanceBaseChargingMode) MarshalJSON() ([]byte, error)
func (*RespInstanceBaseChargingMode) UnmarshalJSON ¶ added in v0.0.78
func (c *RespInstanceBaseChargingMode) UnmarshalJSON(b []byte) error
func (RespInstanceBaseChargingMode) Value ¶ added in v0.0.90
func (c RespInstanceBaseChargingMode) Value() int32
type RespInstanceBaseChargingModeEnum ¶ added in v0.0.78
type RespInstanceBaseChargingModeEnum struct { E_0 RespInstanceBaseChargingMode E_1 RespInstanceBaseChargingMode }
func GetRespInstanceBaseChargingModeEnum ¶ added in v0.0.78
func GetRespInstanceBaseChargingModeEnum() RespInstanceBaseChargingModeEnum
type RespInstanceBaseInstanceStatus ¶ added in v0.0.78
type RespInstanceBaseInstanceStatus struct {
// contains filtered or unexported fields
}
func (RespInstanceBaseInstanceStatus) MarshalJSON ¶ added in v0.0.78
func (c RespInstanceBaseInstanceStatus) MarshalJSON() ([]byte, error)
func (*RespInstanceBaseInstanceStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *RespInstanceBaseInstanceStatus) UnmarshalJSON(b []byte) error
func (RespInstanceBaseInstanceStatus) Value ¶ added in v0.0.90
func (c RespInstanceBaseInstanceStatus) Value() int32
type RespInstanceBaseInstanceStatusEnum ¶ added in v0.0.78
type RespInstanceBaseInstanceStatusEnum struct { E_1 RespInstanceBaseInstanceStatus E_2 RespInstanceBaseInstanceStatus E_3 RespInstanceBaseInstanceStatus E_4 RespInstanceBaseInstanceStatus E_5 RespInstanceBaseInstanceStatus E_6 RespInstanceBaseInstanceStatus E_7 RespInstanceBaseInstanceStatus E_8 RespInstanceBaseInstanceStatus E_10 RespInstanceBaseInstanceStatus E_11 RespInstanceBaseInstanceStatus E_12 RespInstanceBaseInstanceStatus E_13 RespInstanceBaseInstanceStatus E_20 RespInstanceBaseInstanceStatus E_21 RespInstanceBaseInstanceStatus E_22 RespInstanceBaseInstanceStatus E_23 RespInstanceBaseInstanceStatus E_24 RespInstanceBaseInstanceStatus E_25 RespInstanceBaseInstanceStatus E_26 RespInstanceBaseInstanceStatus E_27 RespInstanceBaseInstanceStatus E_28 RespInstanceBaseInstanceStatus E_29 RespInstanceBaseInstanceStatus E_30 RespInstanceBaseInstanceStatus E_31 RespInstanceBaseInstanceStatus E_32 RespInstanceBaseInstanceStatus E_33 RespInstanceBaseInstanceStatus E_34 RespInstanceBaseInstanceStatus E_35 RespInstanceBaseInstanceStatus E_36 RespInstanceBaseInstanceStatus E_37 RespInstanceBaseInstanceStatus E_38 RespInstanceBaseInstanceStatus E_39 RespInstanceBaseInstanceStatus E_40 RespInstanceBaseInstanceStatus E_41 RespInstanceBaseInstanceStatus }
func GetRespInstanceBaseInstanceStatusEnum ¶ added in v0.0.78
func GetRespInstanceBaseInstanceStatusEnum() RespInstanceBaseInstanceStatusEnum
type RespInstanceBaseSpec ¶
type RespInstanceBaseSpec struct {
// contains filtered or unexported fields
}
func (RespInstanceBaseSpec) MarshalJSON ¶
func (c RespInstanceBaseSpec) MarshalJSON() ([]byte, error)
func (*RespInstanceBaseSpec) UnmarshalJSON ¶
func (c *RespInstanceBaseSpec) UnmarshalJSON(b []byte) error
func (RespInstanceBaseSpec) Value ¶ added in v0.0.90
func (c RespInstanceBaseSpec) Value() string
type RespInstanceBaseSpecEnum ¶
type RespInstanceBaseSpecEnum struct { ROMA_BASIC RespInstanceBaseSpec ROMA_PROFESSIONAL RespInstanceBaseSpec ROMA_ENTERPRISE RespInstanceBaseSpec ROMA_PLATINUM RespInstanceBaseSpec ROMA_BASIC_IPV6 RespInstanceBaseSpec ROMA_PROFESSIONAL_IPV6 RespInstanceBaseSpec ROMA_ENTERPRISE_IPV6 RespInstanceBaseSpec ROMA_PLATINUM_IPV6 RespInstanceBaseSpec }
func GetRespInstanceBaseSpecEnum ¶
func GetRespInstanceBaseSpecEnum() RespInstanceBaseSpecEnum
type RespInstanceBaseStatus ¶
type RespInstanceBaseStatus struct {
// contains filtered or unexported fields
}
func (RespInstanceBaseStatus) MarshalJSON ¶
func (c RespInstanceBaseStatus) MarshalJSON() ([]byte, error)
func (*RespInstanceBaseStatus) UnmarshalJSON ¶
func (c *RespInstanceBaseStatus) UnmarshalJSON(b []byte) error
func (RespInstanceBaseStatus) Value ¶ added in v0.0.90
func (c RespInstanceBaseStatus) Value() string
type RespInstanceBaseStatusEnum ¶
type RespInstanceBaseStatusEnum struct { CREATING RespInstanceBaseStatus CREATE_SUCCESS RespInstanceBaseStatus CREATE_FAIL RespInstanceBaseStatus INITING RespInstanceBaseStatus REGISTERING RespInstanceBaseStatus RUNNING RespInstanceBaseStatus INITING_FAILED RespInstanceBaseStatus REGISTER_FAILED RespInstanceBaseStatus INSTALLING RespInstanceBaseStatus INSTALL_FAILED RespInstanceBaseStatus UPDATING RespInstanceBaseStatus UPDATE_FAILED RespInstanceBaseStatus ROLLBACKING RespInstanceBaseStatus ROLLBACK_SUCCESS RespInstanceBaseStatus ROLLBACK_FAILED RespInstanceBaseStatus DELETING RespInstanceBaseStatus DELETE_FAILED RespInstanceBaseStatus UNREGISTERING RespInstanceBaseStatus UN_REGISTER_FAILED RespInstanceBaseStatus CREATE_TIMEOUT RespInstanceBaseStatus INIT_TIMEOUT RespInstanceBaseStatus REGISTER_TIMEOUT RespInstanceBaseStatus INSTALL_TIMEOUT RespInstanceBaseStatus UPDATE_TIMEOUT RespInstanceBaseStatus ROLLBACK_TIMEOUT RespInstanceBaseStatus DELETE_TIMEOUT RespInstanceBaseStatus UNREGISTER_TIMEOUT RespInstanceBaseStatus STARTING RespInstanceBaseStatus FREEZING RespInstanceBaseStatus FROZEN RespInstanceBaseStatus RESTARTING RespInstanceBaseStatus RESTART_FAIL RespInstanceBaseStatus UNHEALTHY RespInstanceBaseStatus RESTART_TIMEOUT RespInstanceBaseStatus }
func GetRespInstanceBaseStatusEnum ¶
func GetRespInstanceBaseStatusEnum() RespInstanceBaseStatusEnum
type RomaInstanceCheckListRespInstances ¶
type RomaInstanceCheckListRespInstances struct { // 实例ID Id *string `json:"id,omitempty"` // 实例名称 Name *string `json:"name,omitempty"` // 实例描述 Description *string `json:"description,omitempty"` // 实例规格ID FlavorId *string `json:"flavor_id,omitempty"` // 实例规格类型 FlavorType *string `json:"flavor_type,omitempty"` // CPU架构类型,取值如下: - x86_64: x86架构 - aarch64: arm架构 CpuArch *RomaInstanceCheckListRespInstancesCpuArch `json:"cpu_arch,omitempty"` // 实例指定虚拟私有云ID VpcId *string `json:"vpc_id,omitempty"` // 实例指定虚拟私有云子网ID SubnetId *string `json:"subnet_id,omitempty"` // 实例指定安全组ID SecurityGroupId *string `json:"security_group_id,omitempty"` // 是否开启公网访问,开启时publicip_id字段必填。 PublicipEnable *bool `json:"publicip_enable,omitempty"` // 实例绑定的弹性公网地址ID PublicipId *string `json:"publicip_id,omitempty"` // 实例绑定的弹性公网地址 PublicipAddress *string `json:"publicip_address,omitempty"` // 实例运行状态 Status *RomaInstanceCheckListRespInstancesStatus `json:"status,omitempty"` // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误消息 ErrorMsg *string `json:"error_msg,omitempty"` // 实例计费模式 ChargeType *RomaInstanceCheckListRespInstancesChargeType `json:"charge_type,omitempty"` // 租户项目ID ProjectId *string `json:"project_id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 运维开始时间 MaintainBegin *string `json:"maintain_begin,omitempty"` // 运维结束时间 MaintainEnd *string `json:"maintain_end,omitempty"` // 创实例使用的可用区列表 AvailableZoneIds *[]string `json:"available_zone_ids,omitempty"` // 实例所属企业项目ID EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (RomaInstanceCheckListRespInstances) String ¶
func (o RomaInstanceCheckListRespInstances) String() string
type RomaInstanceCheckListRespInstancesChargeType ¶
type RomaInstanceCheckListRespInstancesChargeType struct {
// contains filtered or unexported fields
}
func (RomaInstanceCheckListRespInstancesChargeType) MarshalJSON ¶
func (c RomaInstanceCheckListRespInstancesChargeType) MarshalJSON() ([]byte, error)
func (*RomaInstanceCheckListRespInstancesChargeType) UnmarshalJSON ¶
func (c *RomaInstanceCheckListRespInstancesChargeType) UnmarshalJSON(b []byte) error
func (RomaInstanceCheckListRespInstancesChargeType) Value ¶ added in v0.0.90
func (c RomaInstanceCheckListRespInstancesChargeType) Value() string
type RomaInstanceCheckListRespInstancesChargeTypeEnum ¶
type RomaInstanceCheckListRespInstancesChargeTypeEnum struct { PRE_PAID RomaInstanceCheckListRespInstancesChargeType POST_PAID RomaInstanceCheckListRespInstancesChargeType }
func GetRomaInstanceCheckListRespInstancesChargeTypeEnum ¶
func GetRomaInstanceCheckListRespInstancesChargeTypeEnum() RomaInstanceCheckListRespInstancesChargeTypeEnum
type RomaInstanceCheckListRespInstancesCpuArch ¶
type RomaInstanceCheckListRespInstancesCpuArch struct {
// contains filtered or unexported fields
}
func (RomaInstanceCheckListRespInstancesCpuArch) MarshalJSON ¶
func (c RomaInstanceCheckListRespInstancesCpuArch) MarshalJSON() ([]byte, error)
func (*RomaInstanceCheckListRespInstancesCpuArch) UnmarshalJSON ¶
func (c *RomaInstanceCheckListRespInstancesCpuArch) UnmarshalJSON(b []byte) error
func (RomaInstanceCheckListRespInstancesCpuArch) Value ¶ added in v0.0.90
func (c RomaInstanceCheckListRespInstancesCpuArch) Value() string
type RomaInstanceCheckListRespInstancesCpuArchEnum ¶
type RomaInstanceCheckListRespInstancesCpuArchEnum struct { X86_64 RomaInstanceCheckListRespInstancesCpuArch AARCH64 RomaInstanceCheckListRespInstancesCpuArch }
func GetRomaInstanceCheckListRespInstancesCpuArchEnum ¶
func GetRomaInstanceCheckListRespInstancesCpuArchEnum() RomaInstanceCheckListRespInstancesCpuArchEnum
type RomaInstanceCheckListRespInstancesStatus ¶
type RomaInstanceCheckListRespInstancesStatus struct {
// contains filtered or unexported fields
}
func (RomaInstanceCheckListRespInstancesStatus) MarshalJSON ¶
func (c RomaInstanceCheckListRespInstancesStatus) MarshalJSON() ([]byte, error)
func (*RomaInstanceCheckListRespInstancesStatus) UnmarshalJSON ¶
func (c *RomaInstanceCheckListRespInstancesStatus) UnmarshalJSON(b []byte) error
func (RomaInstanceCheckListRespInstancesStatus) Value ¶ added in v0.0.90
func (c RomaInstanceCheckListRespInstancesStatus) Value() string
type RomaInstanceCheckListRespInstancesStatusEnum ¶
type RomaInstanceCheckListRespInstancesStatusEnum struct { CREATING RomaInstanceCheckListRespInstancesStatus CREATE_FAILED RomaInstanceCheckListRespInstancesStatus ERROR RomaInstanceCheckListRespInstancesStatus RUNNING RomaInstanceCheckListRespInstancesStatus FREEZING RomaInstanceCheckListRespInstancesStatus FROZEN RomaInstanceCheckListRespInstancesStatus DELETING RomaInstanceCheckListRespInstancesStatus DELETE_FALIED RomaInstanceCheckListRespInstancesStatus }
func GetRomaInstanceCheckListRespInstancesStatusEnum ¶
func GetRomaInstanceCheckListRespInstancesStatusEnum() RomaInstanceCheckListRespInstancesStatusEnum
type Rule ¶
type Rule struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 规则ID RuleId *int32 `json:"rule_id,omitempty"` // 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64 Name *string `json:"name,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 规则状态 0-启用 1-停用 Status *RuleStatus `json:"status,omitempty"` // 数据解析状态,ENABLE时data_parsing必填 0-启用 1-停用 DataParsingStatus *RuleDataParsingStatus `json:"data_parsing_status,omitempty"` // SQL查询字段 SqlField *string `json:"sql_field,omitempty"` // SQL查询条件 SqlWhere *string `json:"sql_where,omitempty"` // 完整的规则表达式 RuleExpress *string `json:"rule_express,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` }
type RuleDataParsingStatus ¶ added in v0.0.78
type RuleDataParsingStatus struct {
// contains filtered or unexported fields
}
func (RuleDataParsingStatus) MarshalJSON ¶ added in v0.0.78
func (c RuleDataParsingStatus) MarshalJSON() ([]byte, error)
func (*RuleDataParsingStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *RuleDataParsingStatus) UnmarshalJSON(b []byte) error
func (RuleDataParsingStatus) Value ¶ added in v0.0.90
func (c RuleDataParsingStatus) Value() int32
type RuleDataParsingStatusEnum ¶ added in v0.0.78
type RuleDataParsingStatusEnum struct { E_0 RuleDataParsingStatus E_1 RuleDataParsingStatus }
func GetRuleDataParsingStatusEnum ¶ added in v0.0.78
func GetRuleDataParsingStatusEnum() RuleDataParsingStatusEnum
type RuleStatus ¶ added in v0.0.78
type RuleStatus struct {
// contains filtered or unexported fields
}
func (RuleStatus) MarshalJSON ¶ added in v0.0.78
func (c RuleStatus) MarshalJSON() ([]byte, error)
func (*RuleStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *RuleStatus) UnmarshalJSON(b []byte) error
func (RuleStatus) Value ¶ added in v0.0.90
func (c RuleStatus) Value() int32
type RuleStatusEnum ¶ added in v0.0.78
type RuleStatusEnum struct { E_0 RuleStatus E_1 RuleStatus }
func GetRuleStatusEnum ¶ added in v0.0.78
func GetRuleStatusEnum() RuleStatusEnum
type RunTaskRequest ¶
type RunTaskRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` }
Request Object
func (RunTaskRequest) String ¶
func (o RunTaskRequest) String() string
type RunTaskResponse ¶
type RunTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RunTaskResponse) String ¶
func (o RunTaskResponse) String() string
type SendCommandRequest ¶
type SendCommandRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` Body *SendCommandRequestBody `json:"body,omitempty"` }
Request Object
func (SendCommandRequest) String ¶
func (o SendCommandRequest) String() string
type SendCommandRequestBody ¶
type SendCommandRequestBody struct { // 服务ID,自动向下取整 ServiceId int32 `json:"service_id"` // 命令ID,自动向下取整 CommandId int32 `json:"command_id"` // 命令是否同步 true-同步 false-异步 同步命令会将命令以MQTT消息发送给设备后等待设备的MQTT命令响应,收到响应后再回复响应(默认超时5秒),异步命令则以立即返回响应 IsSync bool `json:"is_sync"` // 请求参数列表 Requests *[]RequestParameter `json:"requests,omitempty"` }
func (SendCommandRequestBody) String ¶
func (o SendCommandRequestBody) String() string
type SendCommandResponse ¶
type SendCommandResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (SendCommandResponse) String ¶
func (o SendCommandResponse) String() string
type ServerAppInfo ¶
type ServerAppInfo struct { // 应用ID Id *string `json:"id,omitempty"` // 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 应用描述 Remark *string `json:"remark,omitempty"` // 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限 Roles *[]ServerAppInfoRoles `json:"roles,omitempty"` // 创建UTC时间 CreateTime *string `json:"create_time,omitempty"` // 创建UTC时间 UpdateTime *string `json:"update_time,omitempty"` CreatedUser *ServerAppInfoCreatedUser `json:"created_user,omitempty"` LastUpdatedUser *ServerAppInfoLastUpdatedUser `json:"last_updated_user,omitempty"` // 是否是应用拥有者 Owner *bool `json:"owner,omitempty"` // 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一 Key *string `json:"key,omitempty"` // 是否收藏应用,收藏的应用会在列表里优先显示 Favorite *bool `json:"favorite,omitempty"` }
func (ServerAppInfo) String ¶
func (o ServerAppInfo) String() string
type ServerAppInfoCreatedUser ¶
type ServerAppInfoCreatedUser struct { // 创建应用的用户ID UserId *string `json:"user_id,omitempty"` // 创建应用的用户名称 UserName *string `json:"user_name,omitempty"` }
创建用户信息
func (ServerAppInfoCreatedUser) String ¶
func (o ServerAppInfoCreatedUser) String() string
type ServerAppInfoLastUpdatedUser ¶
type ServerAppInfoLastUpdatedUser struct { // 最后修改者的用户ID UserId *string `json:"user_id,omitempty"` // 最后修改者的用户名 UserName *string `json:"user_name,omitempty"` }
最后更新用户信息
func (ServerAppInfoLastUpdatedUser) String ¶
func (o ServerAppInfoLastUpdatedUser) String() string
type ServerAppInfoRoles ¶
type ServerAppInfoRoles struct {
// contains filtered or unexported fields
}
func (ServerAppInfoRoles) MarshalJSON ¶
func (c ServerAppInfoRoles) MarshalJSON() ([]byte, error)
func (*ServerAppInfoRoles) UnmarshalJSON ¶
func (c *ServerAppInfoRoles) UnmarshalJSON(b []byte) error
func (ServerAppInfoRoles) Value ¶ added in v0.0.90
func (c ServerAppInfoRoles) Value() string
type ServerAppInfoRolesEnum ¶
type ServerAppInfoRolesEnum struct { READ ServerAppInfoRoles ACCESS ServerAppInfoRoles DELETE ServerAppInfoRoles MODIFY ServerAppInfoRoles ADMIN ServerAppInfoRoles }
func GetServerAppInfoRolesEnum ¶
func GetServerAppInfoRolesEnum() ServerAppInfoRolesEnum
type Service ¶
type Service struct { // 服务归属的产品模板ID ProductTemplateId *int32 `json:"product_template_id,omitempty"` // 服务归属的产品ID ProductId *int32 `json:"product_id,omitempty"` // 服务ID ServiceId *int32 `json:"service_id,omitempty"` // 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 ServiceName *string `json:"service_name,omitempty"` // 服务描述,长度0-200 Description *string `json:"description,omitempty"` // 服务状态 0-启用 1-停用 Status *ServiceStatus `json:"status,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间止,格式timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间止,格式timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` }
type ServiceStatus ¶ added in v0.0.78
type ServiceStatus struct {
// contains filtered or unexported fields
}
func (ServiceStatus) MarshalJSON ¶ added in v0.0.78
func (c ServiceStatus) MarshalJSON() ([]byte, error)
func (*ServiceStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ServiceStatus) UnmarshalJSON(b []byte) error
func (ServiceStatus) Value ¶ added in v0.0.90
func (c ServiceStatus) Value() int32
type ServiceStatusEnum ¶ added in v0.0.78
type ServiceStatusEnum struct { E_0 ServiceStatus E_1 ServiceStatus }
func GetServiceStatusEnum ¶ added in v0.0.78
func GetServiceStatusEnum() ServiceStatusEnum
type ShadowService ¶
type ShadowService struct { // 服务ID ServiceId *int32 `json:"service_id,omitempty"` // 服务名称 ServiceName *string `json:"service_name,omitempty"` // 影子值 Properties *[]ShadowValue `json:"properties,omitempty"` }
func (ShadowService) String ¶
func (o ShadowService) String() string
type ShadowValue ¶
type ShadowValue struct { // 属性名称 PropertyName *string `json:"property_name,omitempty"` // 属性最后一次上报值 PropertyValue *string `json:"property_value,omitempty"` // 属性最后一次上报时间,格式timestamp(ms),使用UTC时区 PropertyUpdatedDate *int64 `json:"property_updated_date,omitempty"` }
func (ShadowValue) String ¶
func (o ShadowValue) String() string
type ShowAppBoundAppQuotaRequest ¶
type ShowAppBoundAppQuotaRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` }
Request Object
func (ShowAppBoundAppQuotaRequest) String ¶
func (o ShowAppBoundAppQuotaRequest) String() string
type ShowAppBoundAppQuotaResponse ¶
type ShowAppBoundAppQuotaResponse struct { // 客户端配额编号 AppQuotaId *string `json:"app_quota_id,omitempty"` // 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符 Name *string `json:"name,omitempty"` // 客户端配额的访问次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天 TimeUnit *ShowAppBoundAppQuotaResponseTimeUnit `json:"time_unit,omitempty"` // 配额的限定时间值 TimeInterval *int32 `json:"time_interval,omitempty"` // 参数说明和描述 Remark *string `json:"remark,omitempty"` // 首次配额重置时间点,不配置默认为首次调用时间计算 ResetTime *string `json:"reset_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 配额策略已绑定应用数量 BoundAppNum *int32 `json:"bound_app_num,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAppBoundAppQuotaResponse) String ¶
func (o ShowAppBoundAppQuotaResponse) String() string
type ShowAppBoundAppQuotaResponseTimeUnit ¶
type ShowAppBoundAppQuotaResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (ShowAppBoundAppQuotaResponseTimeUnit) MarshalJSON ¶
func (c ShowAppBoundAppQuotaResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*ShowAppBoundAppQuotaResponseTimeUnit) UnmarshalJSON ¶
func (c *ShowAppBoundAppQuotaResponseTimeUnit) UnmarshalJSON(b []byte) error
func (ShowAppBoundAppQuotaResponseTimeUnit) Value ¶ added in v0.0.90
func (c ShowAppBoundAppQuotaResponseTimeUnit) Value() string
type ShowAppBoundAppQuotaResponseTimeUnitEnum ¶
type ShowAppBoundAppQuotaResponseTimeUnitEnum struct { SECOND ShowAppBoundAppQuotaResponseTimeUnit MINUTE ShowAppBoundAppQuotaResponseTimeUnit HOUR ShowAppBoundAppQuotaResponseTimeUnit DAY ShowAppBoundAppQuotaResponseTimeUnit }
func GetShowAppBoundAppQuotaResponseTimeUnitEnum ¶
func GetShowAppBoundAppQuotaResponseTimeUnitEnum() ShowAppBoundAppQuotaResponseTimeUnitEnum
type ShowAppQuotaRequest ¶
type ShowAppQuotaRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 客户端配额编号 AppQuotaId string `json:"app_quota_id"` }
Request Object
func (ShowAppQuotaRequest) String ¶
func (o ShowAppQuotaRequest) String() string
type ShowAppQuotaResponse ¶
type ShowAppQuotaResponse struct { // 客户端配额编号 AppQuotaId *string `json:"app_quota_id,omitempty"` // 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符 Name *string `json:"name,omitempty"` // 客户端配额的访问次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天 TimeUnit *ShowAppQuotaResponseTimeUnit `json:"time_unit,omitempty"` // 配额的限定时间值 TimeInterval *int32 `json:"time_interval,omitempty"` // 参数说明和描述 Remark *string `json:"remark,omitempty"` // 首次配额重置时间点,不配置默认为首次调用时间计算 ResetTime *string `json:"reset_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 配额策略已绑定应用数量 BoundAppNum *int32 `json:"bound_app_num,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAppQuotaResponse) String ¶
func (o ShowAppQuotaResponse) String() string
type ShowAppQuotaResponseTimeUnit ¶
type ShowAppQuotaResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (ShowAppQuotaResponseTimeUnit) MarshalJSON ¶
func (c ShowAppQuotaResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*ShowAppQuotaResponseTimeUnit) UnmarshalJSON ¶
func (c *ShowAppQuotaResponseTimeUnit) UnmarshalJSON(b []byte) error
func (ShowAppQuotaResponseTimeUnit) Value ¶ added in v0.0.90
func (c ShowAppQuotaResponseTimeUnit) Value() string
type ShowAppQuotaResponseTimeUnitEnum ¶
type ShowAppQuotaResponseTimeUnitEnum struct { SECOND ShowAppQuotaResponseTimeUnit MINUTE ShowAppQuotaResponseTimeUnit HOUR ShowAppQuotaResponseTimeUnit DAY ShowAppQuotaResponseTimeUnit }
func GetShowAppQuotaResponseTimeUnitEnum ¶
func GetShowAppQuotaResponseTimeUnitEnum() ShowAppQuotaResponseTimeUnitEnum
type ShowAuthenticationRequest ¶
type ShowAuthenticationRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` }
Request Object
func (ShowAuthenticationRequest) String ¶
func (o ShowAuthenticationRequest) String() string
type ShowAuthenticationResponse ¶
type ShowAuthenticationResponse struct { // 一型一密/一机一密的用户名 UserName *string `json:"user_name,omitempty"` // 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符 Password *string `json:"password,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAuthenticationResponse) String ¶
func (o ShowAuthenticationResponse) String() string
type ShowCommandRequest ¶
type ShowCommandRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` }
Request Object
func (ShowCommandRequest) String ¶
func (o ShowCommandRequest) String() string
type ShowCommandResponse ¶
type ShowCommandResponse struct { // 命令所属服务id ServiceId *int32 `json:"service_id,omitempty"` // 命令id CommandId *int32 `json:"command_id,omitempty"` // 命令名称 CommandName *string `json:"command_name,omitempty"` // 命令描述 Description *string `json:"description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowCommandResponse) String ¶
func (o ShowCommandResponse) String() string
type ShowDataourceDetailRequest ¶
type ShowDataourceDetailRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据源ID DatasourceId string `json:"datasource_id"` }
Request Object
func (ShowDataourceDetailRequest) String ¶
func (o ShowDataourceDetailRequest) String() string
type ShowDataourceDetailResponse ¶
type ShowDataourceDetailResponse struct { // 数据源ID DatasourceId *string `json:"datasource_id,omitempty"` // 数据源名称 DatasourceName *string `json:"datasource_name,omitempty"` // 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS DatasourceType *ShowDataourceDetailResponseDatasourceType `json:"datasource_type,omitempty"` // 数据源所属虚拟私有云VpcId VpcId *string `json:"vpc_id,omitempty"` // 数据源所属应用ID AppId *string `json:"app_id,omitempty"` // 数据源所属应用名称 AppName *string `json:"app_name,omitempty"` // 数据源所属实例Id InstanceId *string `json:"instance_id,omitempty"` // 数据源创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 数据源修改时间 UpdateTime *int64 `json:"update_time,omitempty"` // 数据源所属连接器Id CustomPluginId *string `json:"custom_plugin_id,omitempty"` Content *Content `json:"content,omitempty"` // 数据源描述 Description *string `json:"description,omitempty"` // 集成应用权限信息 - read (读权限) - access (调用权限) - delete (删除权限) - modify (修改权限) AppPermission *[]ShowDataourceDetailResponseAppPermission `json:"app_permission,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDataourceDetailResponse) String ¶
func (o ShowDataourceDetailResponse) String() string
type ShowDataourceDetailResponseAppPermission ¶
type ShowDataourceDetailResponseAppPermission struct {
// contains filtered or unexported fields
}
func (ShowDataourceDetailResponseAppPermission) MarshalJSON ¶
func (c ShowDataourceDetailResponseAppPermission) MarshalJSON() ([]byte, error)
func (*ShowDataourceDetailResponseAppPermission) UnmarshalJSON ¶
func (c *ShowDataourceDetailResponseAppPermission) UnmarshalJSON(b []byte) error
func (ShowDataourceDetailResponseAppPermission) Value ¶ added in v0.0.90
func (c ShowDataourceDetailResponseAppPermission) Value() string
type ShowDataourceDetailResponseAppPermissionEnum ¶
type ShowDataourceDetailResponseAppPermissionEnum struct { READ ShowDataourceDetailResponseAppPermission ACCESS ShowDataourceDetailResponseAppPermission DELETE ShowDataourceDetailResponseAppPermission MODIFY ShowDataourceDetailResponseAppPermission }
func GetShowDataourceDetailResponseAppPermissionEnum ¶
func GetShowDataourceDetailResponseAppPermissionEnum() ShowDataourceDetailResponseAppPermissionEnum
type ShowDataourceDetailResponseDatasourceType ¶
type ShowDataourceDetailResponseDatasourceType struct {
// contains filtered or unexported fields
}
func (ShowDataourceDetailResponseDatasourceType) MarshalJSON ¶
func (c ShowDataourceDetailResponseDatasourceType) MarshalJSON() ([]byte, error)
func (*ShowDataourceDetailResponseDatasourceType) UnmarshalJSON ¶
func (c *ShowDataourceDetailResponseDatasourceType) UnmarshalJSON(b []byte) error
func (ShowDataourceDetailResponseDatasourceType) Value ¶ added in v0.0.90
func (c ShowDataourceDetailResponseDatasourceType) Value() string
type ShowDataourceDetailResponseDatasourceTypeEnum ¶
type ShowDataourceDetailResponseDatasourceTypeEnum struct { DWS ShowDataourceDetailResponseDatasourceType MYSQL ShowDataourceDetailResponseDatasourceType KAFKA ShowDataourceDetailResponseDatasourceType API ShowDataourceDetailResponseDatasourceType OBS ShowDataourceDetailResponseDatasourceType SAP ShowDataourceDetailResponseDatasourceType MRSHBASE ShowDataourceDetailResponseDatasourceType MRSHDFS ShowDataourceDetailResponseDatasourceType MRSHIVE ShowDataourceDetailResponseDatasourceType WEBSOCKET ShowDataourceDetailResponseDatasourceType SQLSERVER ShowDataourceDetailResponseDatasourceType ORACLE ShowDataourceDetailResponseDatasourceType POSTGRESQL ShowDataourceDetailResponseDatasourceType REDIS ShowDataourceDetailResponseDatasourceType MONGODB ShowDataourceDetailResponseDatasourceType DIS ShowDataourceDetailResponseDatasourceType HL7 ShowDataourceDetailResponseDatasourceType RABBITMQ ShowDataourceDetailResponseDatasourceType SNMP ShowDataourceDetailResponseDatasourceType IBMMQ ShowDataourceDetailResponseDatasourceType CUSTOMIZED ShowDataourceDetailResponseDatasourceType ACTIVEMQ ShowDataourceDetailResponseDatasourceType ARTEMISMQ ShowDataourceDetailResponseDatasourceType FTP ShowDataourceDetailResponseDatasourceType HIVE ShowDataourceDetailResponseDatasourceType HANA ShowDataourceDetailResponseDatasourceType FIKAFKA ShowDataourceDetailResponseDatasourceType MRSKAFKA ShowDataourceDetailResponseDatasourceType FIHDFS ShowDataourceDetailResponseDatasourceType FIHIVE ShowDataourceDetailResponseDatasourceType GAUSS200 ShowDataourceDetailResponseDatasourceType GAUSS100 ShowDataourceDetailResponseDatasourceType LDAP ShowDataourceDetailResponseDatasourceType DB2 ShowDataourceDetailResponseDatasourceType TAURUS ShowDataourceDetailResponseDatasourceType }
func GetShowDataourceDetailResponseDatasourceTypeEnum ¶
func GetShowDataourceDetailResponseDatasourceTypeEnum() ShowDataourceDetailResponseDatasourceTypeEnum
type ShowDetailsOfAclPolicyV2Request ¶
type ShowDetailsOfAclPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // ACL策略的编号 AclId string `json:"acl_id"` }
Request Object
func (ShowDetailsOfAclPolicyV2Request) String ¶
func (o ShowDetailsOfAclPolicyV2Request) String() string
type ShowDetailsOfAclPolicyV2Response ¶
type ShowDetailsOfAclPolicyV2Response struct { // 名称 AclName *string `json:"acl_name,omitempty"` // 类型: - PERMIT(白名单类型) - DENY(黑名单类型) AclType *string `json:"acl_type,omitempty"` // ACL策略值 AclValue *string `json:"acl_value,omitempty"` // 对象类型: - IP - DOMAIN EntityType *string `json:"entity_type,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfAclPolicyV2Response) String ¶
func (o ShowDetailsOfAclPolicyV2Response) String() string
type ShowDetailsOfApiGroupV2Request ¶
type ShowDetailsOfApiGroupV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` }
Request Object
func (ShowDetailsOfApiGroupV2Request) String ¶
func (o ShowDetailsOfApiGroupV2Request) String() string
type ShowDetailsOfApiGroupV2Response ¶
type ShowDetailsOfApiGroupV2Response struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status ShowDetailsOfApiGroupV2ResponseStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中 ROMAConnect暂未对接云市场,此字段默认返回2 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置 暂不支持 CallLimits *int32 `json:"call_limits,omitempty"` // 流控时长 暂不支持 TimeInterval *int32 `json:"time_interval,omitempty"` // 流控的时间单位 暂不支持 TimeUnit *string `json:"time_unit,omitempty"` // 是否为默认分组 IsDefault *int32 `json:"is_default,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 Version *string `json:"version,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfApiGroupV2Response) String ¶
func (o ShowDetailsOfApiGroupV2Response) String() string
type ShowDetailsOfApiGroupV2ResponseStatus ¶
type ShowDetailsOfApiGroupV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiGroupV2ResponseStatus) MarshalJSON ¶
func (c ShowDetailsOfApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiGroupV2ResponseStatus) UnmarshalJSON ¶
func (c *ShowDetailsOfApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiGroupV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiGroupV2ResponseStatus) Value() int32
type ShowDetailsOfApiGroupV2ResponseStatusEnum ¶
type ShowDetailsOfApiGroupV2ResponseStatusEnum struct {
E_1 ShowDetailsOfApiGroupV2ResponseStatus
}
func GetShowDetailsOfApiGroupV2ResponseStatusEnum ¶
func GetShowDetailsOfApiGroupV2ResponseStatusEnum() ShowDetailsOfApiGroupV2ResponseStatusEnum
type ShowDetailsOfApiV2Request ¶
type ShowDetailsOfApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` }
Request Object
func (ShowDetailsOfApiV2Request) String ¶
func (o ShowDetailsOfApiV2Request) String() string
type ShowDetailsOfApiV2Response ¶
type ShowDetailsOfApiV2Response struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type ShowDetailsOfApiV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol ShowDetailsOfApiV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod ShowDetailsOfApiV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType ShowDetailsOfApiV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *ShowDetailsOfApiV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType ShowDetailsOfApiV2ResponseBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *ShowDetailsOfApiV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *ShowDetailsOfApiV2ResponseStatus `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site) PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfApiV2Response) String ¶
func (o ShowDetailsOfApiV2Response) String() string
type ShowDetailsOfApiV2ResponseAuthType ¶
type ShowDetailsOfApiV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseAuthType) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseAuthType) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseAuthType) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseAuthType) Value() string
type ShowDetailsOfApiV2ResponseAuthTypeEnum ¶
type ShowDetailsOfApiV2ResponseAuthTypeEnum struct { NONE ShowDetailsOfApiV2ResponseAuthType APP ShowDetailsOfApiV2ResponseAuthType IAM ShowDetailsOfApiV2ResponseAuthType AUTHORIZER ShowDetailsOfApiV2ResponseAuthType }
func GetShowDetailsOfApiV2ResponseAuthTypeEnum ¶
func GetShowDetailsOfApiV2ResponseAuthTypeEnum() ShowDetailsOfApiV2ResponseAuthTypeEnum
type ShowDetailsOfApiV2ResponseBackendType ¶
type ShowDetailsOfApiV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseBackendType) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseBackendType) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseBackendType) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseBackendType) Value() string
type ShowDetailsOfApiV2ResponseBackendTypeEnum ¶
type ShowDetailsOfApiV2ResponseBackendTypeEnum struct { HTTP ShowDetailsOfApiV2ResponseBackendType FUNCTION ShowDetailsOfApiV2ResponseBackendType MOCK ShowDetailsOfApiV2ResponseBackendType }
func GetShowDetailsOfApiV2ResponseBackendTypeEnum ¶
func GetShowDetailsOfApiV2ResponseBackendTypeEnum() ShowDetailsOfApiV2ResponseBackendTypeEnum
type ShowDetailsOfApiV2ResponseContentType ¶
type ShowDetailsOfApiV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseContentType) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseContentType) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseContentType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseContentType) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseContentType) Value() string
type ShowDetailsOfApiV2ResponseContentTypeEnum ¶
type ShowDetailsOfApiV2ResponseContentTypeEnum struct { APPLICATION_JSON ShowDetailsOfApiV2ResponseContentType APPLICATION_XML ShowDetailsOfApiV2ResponseContentType MULTIPART_FORM_DATE ShowDetailsOfApiV2ResponseContentType TEXT_PLAIN ShowDetailsOfApiV2ResponseContentType }
func GetShowDetailsOfApiV2ResponseContentTypeEnum ¶
func GetShowDetailsOfApiV2ResponseContentTypeEnum() ShowDetailsOfApiV2ResponseContentTypeEnum
type ShowDetailsOfApiV2ResponseMatchMode ¶
type ShowDetailsOfApiV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseMatchMode) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseMatchMode) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseMatchMode) Value() string
type ShowDetailsOfApiV2ResponseMatchModeEnum ¶
type ShowDetailsOfApiV2ResponseMatchModeEnum struct { SWA ShowDetailsOfApiV2ResponseMatchMode NORMAL ShowDetailsOfApiV2ResponseMatchMode }
func GetShowDetailsOfApiV2ResponseMatchModeEnum ¶
func GetShowDetailsOfApiV2ResponseMatchModeEnum() ShowDetailsOfApiV2ResponseMatchModeEnum
type ShowDetailsOfApiV2ResponseReqMethod ¶
type ShowDetailsOfApiV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseReqMethod) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseReqMethod) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseReqMethod) Value() string
type ShowDetailsOfApiV2ResponseReqMethodEnum ¶
type ShowDetailsOfApiV2ResponseReqMethodEnum struct { GET ShowDetailsOfApiV2ResponseReqMethod POST ShowDetailsOfApiV2ResponseReqMethod PUT ShowDetailsOfApiV2ResponseReqMethod DELETE ShowDetailsOfApiV2ResponseReqMethod HEAD ShowDetailsOfApiV2ResponseReqMethod PATCH ShowDetailsOfApiV2ResponseReqMethod OPTIONS ShowDetailsOfApiV2ResponseReqMethod ANY ShowDetailsOfApiV2ResponseReqMethod }
func GetShowDetailsOfApiV2ResponseReqMethodEnum ¶
func GetShowDetailsOfApiV2ResponseReqMethodEnum() ShowDetailsOfApiV2ResponseReqMethodEnum
type ShowDetailsOfApiV2ResponseReqProtocol ¶
type ShowDetailsOfApiV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseReqProtocol) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseReqProtocol) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseReqProtocol) Value() string
type ShowDetailsOfApiV2ResponseReqProtocolEnum ¶
type ShowDetailsOfApiV2ResponseReqProtocolEnum struct { HTTP ShowDetailsOfApiV2ResponseReqProtocol HTTPS ShowDetailsOfApiV2ResponseReqProtocol BOTH ShowDetailsOfApiV2ResponseReqProtocol }
func GetShowDetailsOfApiV2ResponseReqProtocolEnum ¶
func GetShowDetailsOfApiV2ResponseReqProtocolEnum() ShowDetailsOfApiV2ResponseReqProtocolEnum
type ShowDetailsOfApiV2ResponseStatus ¶
type ShowDetailsOfApiV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseStatus) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseStatus) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseStatus) Value() int32
type ShowDetailsOfApiV2ResponseStatusEnum ¶
type ShowDetailsOfApiV2ResponseStatusEnum struct {
E_1 ShowDetailsOfApiV2ResponseStatus
}
func GetShowDetailsOfApiV2ResponseStatusEnum ¶
func GetShowDetailsOfApiV2ResponseStatusEnum() ShowDetailsOfApiV2ResponseStatusEnum
type ShowDetailsOfApiV2ResponseType ¶
type ShowDetailsOfApiV2ResponseType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfApiV2ResponseType) MarshalJSON ¶
func (c ShowDetailsOfApiV2ResponseType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfApiV2ResponseType) UnmarshalJSON ¶
func (c *ShowDetailsOfApiV2ResponseType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfApiV2ResponseType) Value ¶ added in v0.0.90
func (c ShowDetailsOfApiV2ResponseType) Value() int32
type ShowDetailsOfApiV2ResponseTypeEnum ¶
type ShowDetailsOfApiV2ResponseTypeEnum struct { E_1 ShowDetailsOfApiV2ResponseType E_2 ShowDetailsOfApiV2ResponseType }
func GetShowDetailsOfApiV2ResponseTypeEnum ¶
func GetShowDetailsOfApiV2ResponseTypeEnum() ShowDetailsOfApiV2ResponseTypeEnum
type ShowDetailsOfAppAclRequest ¶
type ShowDetailsOfAppAclRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` }
Request Object
func (ShowDetailsOfAppAclRequest) String ¶
func (o ShowDetailsOfAppAclRequest) String() string
type ShowDetailsOfAppAclResponse ¶
type ShowDetailsOfAppAclResponse struct { // APP编号 AppId *string `json:"app_id,omitempty"` // 类型 - PERMIT (白名单类型) - DENY (黑名单类型) AppAclType *string `json:"app_acl_type,omitempty"` // ACL策略值,支持IP、IP范围和CIDR方式。IP范围以英文中划线分隔。 AppAclValues *[]string `json:"app_acl_values,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfAppAclResponse) String ¶
func (o ShowDetailsOfAppAclResponse) String() string
type ShowDetailsOfAppCodeV2Request ¶
type ShowDetailsOfAppCodeV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` // APP Code编号 AppCodeId string `json:"app_code_id"` }
Request Object
func (ShowDetailsOfAppCodeV2Request) String ¶
func (o ShowDetailsOfAppCodeV2Request) String() string
type ShowDetailsOfAppCodeV2Response ¶
type ShowDetailsOfAppCodeV2Response struct { // App Code值 支持英文,+_!@#$%+/=,且只能以英文和+、/开头。 AppCode string `json:"app_code"` // 编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfAppCodeV2Response) String ¶
func (o ShowDetailsOfAppCodeV2Response) String() string
type ShowDetailsOfAppConfigV2Request ¶
type ShowDetailsOfAppConfigV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` // 应用配置编号 AppConfigId string `json:"app_config_id"` }
Request Object
func (ShowDetailsOfAppConfigV2Request) String ¶
func (o ShowDetailsOfAppConfigV2Request) String() string
type ShowDetailsOfAppConfigV2Response ¶
type ShowDetailsOfAppConfigV2Response struct { // 应用配置编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 应用配置类型 ConfigType *string `json:"config_type,omitempty"` // 应用配置名称 ConfigName *string `json:"config_name,omitempty"` // 应用配置值 ConfigValue *string `json:"config_value,omitempty"` // 应用配置更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 应用配置描述 Description *string `json:"description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfAppConfigV2Response) String ¶
func (o ShowDetailsOfAppConfigV2Response) String() string
type ShowDetailsOfAppV2Request ¶
type ShowDetailsOfAppV2Request struct { // 实例ID 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 { // 编号 Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // APP的创建者 - USER:用户自行创建 - MARKET:云市场分配 暂不支持MARKET Creator *ShowDetailsOfAppV2ResponseCreator `json:"creator,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // APP的key AppKey *string `json:"app_key,omitempty"` // 密钥 AppSecret *string `json:"app_secret,omitempty"` // 注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态 - 1: 有效 Status *ShowDetailsOfAppV2ResponseStatus `json:"status,omitempty"` // APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用 AppType *ShowDetailsOfAppV2ResponseAppType `json:"app_type,omitempty"` // ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用 RomaAppType *string `json:"roma_app_type,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfAppV2Response) String ¶
func (o ShowDetailsOfAppV2Response) String() string
type ShowDetailsOfAppV2ResponseAppType ¶
type ShowDetailsOfAppV2ResponseAppType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfAppV2ResponseAppType) MarshalJSON ¶
func (c ShowDetailsOfAppV2ResponseAppType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfAppV2ResponseAppType) UnmarshalJSON ¶
func (c *ShowDetailsOfAppV2ResponseAppType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfAppV2ResponseAppType) Value ¶ added in v0.0.90
func (c ShowDetailsOfAppV2ResponseAppType) Value() string
type ShowDetailsOfAppV2ResponseAppTypeEnum ¶
type ShowDetailsOfAppV2ResponseAppTypeEnum struct { APIG ShowDetailsOfAppV2ResponseAppType ROMA ShowDetailsOfAppV2ResponseAppType }
func GetShowDetailsOfAppV2ResponseAppTypeEnum ¶
func GetShowDetailsOfAppV2ResponseAppTypeEnum() ShowDetailsOfAppV2ResponseAppTypeEnum
type ShowDetailsOfAppV2ResponseCreator ¶
type ShowDetailsOfAppV2ResponseCreator struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfAppV2ResponseCreator) MarshalJSON ¶
func (c ShowDetailsOfAppV2ResponseCreator) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfAppV2ResponseCreator) UnmarshalJSON ¶
func (c *ShowDetailsOfAppV2ResponseCreator) UnmarshalJSON(b []byte) error
func (ShowDetailsOfAppV2ResponseCreator) Value ¶ added in v0.0.90
func (c ShowDetailsOfAppV2ResponseCreator) Value() string
type ShowDetailsOfAppV2ResponseCreatorEnum ¶
type ShowDetailsOfAppV2ResponseCreatorEnum struct { USER ShowDetailsOfAppV2ResponseCreator MARKET ShowDetailsOfAppV2ResponseCreator }
func GetShowDetailsOfAppV2ResponseCreatorEnum ¶
func GetShowDetailsOfAppV2ResponseCreatorEnum() ShowDetailsOfAppV2ResponseCreatorEnum
type ShowDetailsOfAppV2ResponseStatus ¶
type ShowDetailsOfAppV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfAppV2ResponseStatus) MarshalJSON ¶
func (c ShowDetailsOfAppV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfAppV2ResponseStatus) UnmarshalJSON ¶
func (c *ShowDetailsOfAppV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfAppV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfAppV2ResponseStatus) Value() int32
type ShowDetailsOfAppV2ResponseStatusEnum ¶
type ShowDetailsOfAppV2ResponseStatusEnum struct {
E_1 ShowDetailsOfAppV2ResponseStatus
}
func GetShowDetailsOfAppV2ResponseStatusEnum ¶
func GetShowDetailsOfAppV2ResponseStatusEnum() ShowDetailsOfAppV2ResponseStatusEnum
type ShowDetailsOfCustomAuthorizersV2Request ¶
type ShowDetailsOfCustomAuthorizersV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 自定义认证的编号 AuthorizerId string `json:"authorizer_id"` }
Request Object
func (ShowDetailsOfCustomAuthorizersV2Request) String ¶
func (o ShowDetailsOfCustomAuthorizersV2Request) String() string
type ShowDetailsOfCustomAuthorizersV2Response ¶
type ShowDetailsOfCustomAuthorizersV2Response struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 Type ShowDetailsOfCustomAuthorizersV2ResponseType `json:"type"` // 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数 AuthorizerType ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType `json:"authorizer_type"` // 函数地址。 注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。 AuthorizerUri string `json:"authorizer_uri"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 自定义认证函数类型为LD时必填 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` // 自定义认证编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 自定义认证所属应用编号 RomaAppId *string `json:"roma_app_id,omitempty"` // 自定义认证所属应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfCustomAuthorizersV2Response) String ¶
func (o ShowDetailsOfCustomAuthorizersV2Response) String() string
type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType ¶
type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) MarshalJSON ¶
func (c ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) UnmarshalJSON ¶
func (c *ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) Value ¶ added in v0.0.90
func (c ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) Value() string
type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum ¶
type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum struct { LD ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType FUNC ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType }
func GetShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum ¶
func GetShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum() ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum
type ShowDetailsOfCustomAuthorizersV2ResponseType ¶
type ShowDetailsOfCustomAuthorizersV2ResponseType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfCustomAuthorizersV2ResponseType) MarshalJSON ¶
func (c ShowDetailsOfCustomAuthorizersV2ResponseType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfCustomAuthorizersV2ResponseType) UnmarshalJSON ¶
func (c *ShowDetailsOfCustomAuthorizersV2ResponseType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfCustomAuthorizersV2ResponseType) Value ¶ added in v0.0.90
func (c ShowDetailsOfCustomAuthorizersV2ResponseType) Value() string
type ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum ¶
type ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum struct { FRONTEND ShowDetailsOfCustomAuthorizersV2ResponseType BACKEND ShowDetailsOfCustomAuthorizersV2ResponseType }
func GetShowDetailsOfCustomAuthorizersV2ResponseTypeEnum ¶
func GetShowDetailsOfCustomAuthorizersV2ResponseTypeEnum() ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum
type ShowDetailsOfDomainNameCertificateV2Request ¶
type ShowDetailsOfDomainNameCertificateV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` // 证书的编号 CertificateId string `json:"certificate_id"` }
Request Object
func (ShowDetailsOfDomainNameCertificateV2Request) String ¶
func (o ShowDetailsOfDomainNameCertificateV2Request) String() string
type ShowDetailsOfDomainNameCertificateV2Response ¶
type ShowDetailsOfDomainNameCertificateV2Response struct { // 证书域名 CommonName *string `json:"common_name,omitempty"` // SAN域名 San *[]string `json:"san,omitempty"` // 证书版本 Version *int32 `json:"version,omitempty"` // 公司、组织 Organization *[]string `json:"organization,omitempty"` // 部门 OrganizationalUnit *[]string `json:"organizational_unit,omitempty"` // 城市 Locality *[]string `json:"locality,omitempty"` // 省份 State *[]string `json:"state,omitempty"` // 国家 Country *[]string `json:"country,omitempty"` // 证书有效期起始时间 NotBefore *sdktime.SdkTime `json:"not_before,omitempty"` // 证书有效期截止时间 NotAfter *sdktime.SdkTime `json:"not_after,omitempty"` // 序列号 SerialNumber *string `json:"serial_number,omitempty"` // 颁发者 Issuer *[]string `json:"issuer,omitempty"` // 签名算法 SignatureAlgorithm *string `json:"signature_algorithm,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfDomainNameCertificateV2Response) String ¶
func (o ShowDetailsOfDomainNameCertificateV2Response) String() string
type ShowDetailsOfEnvironmentVariableV2Request ¶
type ShowDetailsOfEnvironmentVariableV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 环境变量的编号 EnvVariableId string `json:"env_variable_id"` }
Request Object
func (ShowDetailsOfEnvironmentVariableV2Request) String ¶
func (o ShowDetailsOfEnvironmentVariableV2Request) String() string
type ShowDetailsOfEnvironmentVariableV2Response ¶
type ShowDetailsOfEnvironmentVariableV2Response struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。 VariableName *string `json:"variable_name,omitempty"` // 环境变量编号 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfEnvironmentVariableV2Response) String ¶
func (o ShowDetailsOfEnvironmentVariableV2Response) String() string
type ShowDetailsOfInstanceV2Request ¶
type ShowDetailsOfInstanceV2Request struct { // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (ShowDetailsOfInstanceV2Request) String ¶
func (o ShowDetailsOfInstanceV2Request) String() string
type ShowDetailsOfInstanceV2Response ¶
type ShowDetailsOfInstanceV2Response struct { // 实例编号 Id *string `json:"id,omitempty"` // 实例所属项目编号 ProjectId *string `json:"project_id,omitempty"` // 实例名称 InstanceName *string `json:"instance_name,omitempty"` // 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时 Status *ShowDetailsOfInstanceV2ResponseStatus `json:"status,omitempty"` // 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时 InstanceStatus *ShowDetailsOfInstanceV2ResponseInstanceStatus `json:"instance_status,omitempty"` // 实例类型 暂不支持 Type *string `json:"type,omitempty"` // 实例规格: - ROMA_BASIC:基础版实例 - ROMA_PROFESSIONAL:专业版实例 - ROMA_ENTERPRISE:企业版实例 - ROMA_PLATINUM:铂金版实例 [- ROMA_BASIC_IPV6:基础版IPV6实例](tag:hcs) [- ROMA_PROFESSIONAL_IPV6:专业版IPV6实例](tag:hcs) [- ROMA_ENTERPRISE_IPV6:企业版IPV6实例](tag:hcs) [- ROMA_PLATINUM_IPV6:铂金版IPV6实例](tag:hcs) Spec *ShowDetailsOfInstanceV2ResponseSpec `json:"spec,omitempty"` // 实例创建时间。unix时间戳格式。 CreateTime *int64 `json:"create_time,omitempty"` // 企业项目ID,企业帐号必填 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 实例绑定的弹性IP地址 EipAddress *string `json:"eip_address,omitempty"` // 实例计费方式: - 0:按需计费 - 1:包周期计费 ChargingMode *ShowDetailsOfInstanceV2ResponseChargingMode `json:"charging_mode,omitempty"` // 包周期计费订单编号 CbcMetadata *string `json:"cbc_metadata,omitempty"` // 实例描述 Description *string `json:"description,omitempty"` // 虚拟私有云ID。 VpcId *string `json:"vpc_id,omitempty"` // 子网的网络ID。 SubnetId *string `json:"subnet_id,omitempty"` // 实例所属的安全组。 SecurityGroupId *string `json:"security_group_id,omitempty"` // '维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。' '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。' MaintainBegin *string `json:"maintain_begin,omitempty"` // '维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。' '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次'。 MaintainEnd *string `json:"maintain_end,omitempty"` // 实例入口,虚拟私有云访问地址 IngressIp *string `json:"ingress_ip,omitempty"` // 实例所属用户ID UserId *string `json:"user_id,omitempty"` // 出公网网段 (IPv6) 。 当前仅部分region部分可用区支持IPv6 NatEipIpv6Cidr *string `json:"nat_eip_ipv6_cidr,omitempty"` // 弹性IP地址(IPv6)。 当前仅部分region部分可用区支持IPv6 EipIpv6Address *string `json:"eip_ipv6_address,omitempty"` // 实例出公网IP NatEipAddress *string `json:"nat_eip_address,omitempty"` // 出公网带宽 BandwidthSize *int32 `json:"bandwidth_size,omitempty"` // 可用区 AvailableZoneIds *string `json:"available_zone_ids,omitempty"` // 实例版本编号 InstanceVersion *string `json:"instance_version,omitempty"` // 子网的网络ID。 暂不支持 VirsubnetId *string `json:"virsubnet_id,omitempty"` // roma弹性公网IP。 暂不支持 RomaEipAddress *string `json:"roma_eip_address,omitempty"` // 监听信息 [暂不支持](tag:public) Listeners *[]Listener `json:"listeners,omitempty"` // 实例支持的特性列表 SupportedFeatures *[]string `json:"supported_features,omitempty"` // 实例入口(IPV6) 当前仅部分region部分可用区支持IPv6 IngressIpV6 *string `json:"ingress_ip_v6,omitempty"` NodeIps *NodeIps `json:"node_ips,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfInstanceV2Response) String ¶
func (o ShowDetailsOfInstanceV2Response) String() string
type ShowDetailsOfInstanceV2ResponseChargingMode ¶ added in v0.0.78
type ShowDetailsOfInstanceV2ResponseChargingMode struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceV2ResponseChargingMode) MarshalJSON ¶ added in v0.0.78
func (c ShowDetailsOfInstanceV2ResponseChargingMode) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceV2ResponseChargingMode) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowDetailsOfInstanceV2ResponseChargingMode) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceV2ResponseChargingMode) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceV2ResponseChargingMode) Value() int32
type ShowDetailsOfInstanceV2ResponseChargingModeEnum ¶ added in v0.0.78
type ShowDetailsOfInstanceV2ResponseChargingModeEnum struct { E_0 ShowDetailsOfInstanceV2ResponseChargingMode E_1 ShowDetailsOfInstanceV2ResponseChargingMode }
func GetShowDetailsOfInstanceV2ResponseChargingModeEnum ¶ added in v0.0.78
func GetShowDetailsOfInstanceV2ResponseChargingModeEnum() ShowDetailsOfInstanceV2ResponseChargingModeEnum
type ShowDetailsOfInstanceV2ResponseInstanceStatus ¶ added in v0.0.78
type ShowDetailsOfInstanceV2ResponseInstanceStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceV2ResponseInstanceStatus) MarshalJSON ¶ added in v0.0.78
func (c ShowDetailsOfInstanceV2ResponseInstanceStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceV2ResponseInstanceStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowDetailsOfInstanceV2ResponseInstanceStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceV2ResponseInstanceStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceV2ResponseInstanceStatus) Value() int32
type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum ¶ added in v0.0.78
type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum struct { E_1 ShowDetailsOfInstanceV2ResponseInstanceStatus E_2 ShowDetailsOfInstanceV2ResponseInstanceStatus E_3 ShowDetailsOfInstanceV2ResponseInstanceStatus E_4 ShowDetailsOfInstanceV2ResponseInstanceStatus E_5 ShowDetailsOfInstanceV2ResponseInstanceStatus E_6 ShowDetailsOfInstanceV2ResponseInstanceStatus E_7 ShowDetailsOfInstanceV2ResponseInstanceStatus E_8 ShowDetailsOfInstanceV2ResponseInstanceStatus E_10 ShowDetailsOfInstanceV2ResponseInstanceStatus E_11 ShowDetailsOfInstanceV2ResponseInstanceStatus E_12 ShowDetailsOfInstanceV2ResponseInstanceStatus E_13 ShowDetailsOfInstanceV2ResponseInstanceStatus E_20 ShowDetailsOfInstanceV2ResponseInstanceStatus E_21 ShowDetailsOfInstanceV2ResponseInstanceStatus E_22 ShowDetailsOfInstanceV2ResponseInstanceStatus E_23 ShowDetailsOfInstanceV2ResponseInstanceStatus E_24 ShowDetailsOfInstanceV2ResponseInstanceStatus E_25 ShowDetailsOfInstanceV2ResponseInstanceStatus E_26 ShowDetailsOfInstanceV2ResponseInstanceStatus E_27 ShowDetailsOfInstanceV2ResponseInstanceStatus E_28 ShowDetailsOfInstanceV2ResponseInstanceStatus E_29 ShowDetailsOfInstanceV2ResponseInstanceStatus E_30 ShowDetailsOfInstanceV2ResponseInstanceStatus E_31 ShowDetailsOfInstanceV2ResponseInstanceStatus E_32 ShowDetailsOfInstanceV2ResponseInstanceStatus E_33 ShowDetailsOfInstanceV2ResponseInstanceStatus E_34 ShowDetailsOfInstanceV2ResponseInstanceStatus E_35 ShowDetailsOfInstanceV2ResponseInstanceStatus E_36 ShowDetailsOfInstanceV2ResponseInstanceStatus E_37 ShowDetailsOfInstanceV2ResponseInstanceStatus E_38 ShowDetailsOfInstanceV2ResponseInstanceStatus E_39 ShowDetailsOfInstanceV2ResponseInstanceStatus E_40 ShowDetailsOfInstanceV2ResponseInstanceStatus E_41 ShowDetailsOfInstanceV2ResponseInstanceStatus }
func GetShowDetailsOfInstanceV2ResponseInstanceStatusEnum ¶ added in v0.0.78
func GetShowDetailsOfInstanceV2ResponseInstanceStatusEnum() ShowDetailsOfInstanceV2ResponseInstanceStatusEnum
type ShowDetailsOfInstanceV2ResponseSpec ¶
type ShowDetailsOfInstanceV2ResponseSpec struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceV2ResponseSpec) MarshalJSON ¶
func (c ShowDetailsOfInstanceV2ResponseSpec) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceV2ResponseSpec) UnmarshalJSON ¶
func (c *ShowDetailsOfInstanceV2ResponseSpec) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceV2ResponseSpec) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceV2ResponseSpec) Value() string
type ShowDetailsOfInstanceV2ResponseSpecEnum ¶
type ShowDetailsOfInstanceV2ResponseSpecEnum struct { ROMA_BASIC ShowDetailsOfInstanceV2ResponseSpec ROMA_PROFESSIONAL ShowDetailsOfInstanceV2ResponseSpec ROMA_ENTERPRISE ShowDetailsOfInstanceV2ResponseSpec ROMA_PLATINUM ShowDetailsOfInstanceV2ResponseSpec ROMA_BASIC_IPV6 ShowDetailsOfInstanceV2ResponseSpec ROMA_PROFESSIONAL_IPV6 ShowDetailsOfInstanceV2ResponseSpec ROMA_ENTERPRISE_IPV6 ShowDetailsOfInstanceV2ResponseSpec ROMA_PLATINUM_IPV6 ShowDetailsOfInstanceV2ResponseSpec }
func GetShowDetailsOfInstanceV2ResponseSpecEnum ¶
func GetShowDetailsOfInstanceV2ResponseSpecEnum() ShowDetailsOfInstanceV2ResponseSpecEnum
type ShowDetailsOfInstanceV2ResponseStatus ¶
type ShowDetailsOfInstanceV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfInstanceV2ResponseStatus) MarshalJSON ¶
func (c ShowDetailsOfInstanceV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfInstanceV2ResponseStatus) UnmarshalJSON ¶
func (c *ShowDetailsOfInstanceV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfInstanceV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfInstanceV2ResponseStatus) Value() string
type ShowDetailsOfInstanceV2ResponseStatusEnum ¶
type ShowDetailsOfInstanceV2ResponseStatusEnum struct { CREATING ShowDetailsOfInstanceV2ResponseStatus CREATE_SUCCESS ShowDetailsOfInstanceV2ResponseStatus CREATE_FAIL ShowDetailsOfInstanceV2ResponseStatus INITING ShowDetailsOfInstanceV2ResponseStatus REGISTERING ShowDetailsOfInstanceV2ResponseStatus RUNNING ShowDetailsOfInstanceV2ResponseStatus INITING_FAILED ShowDetailsOfInstanceV2ResponseStatus REGISTER_FAILED ShowDetailsOfInstanceV2ResponseStatus INSTALLING ShowDetailsOfInstanceV2ResponseStatus INSTALL_FAILED ShowDetailsOfInstanceV2ResponseStatus UPDATING ShowDetailsOfInstanceV2ResponseStatus UPDATE_FAILED ShowDetailsOfInstanceV2ResponseStatus ROLLBACKING ShowDetailsOfInstanceV2ResponseStatus ROLLBACK_SUCCESS ShowDetailsOfInstanceV2ResponseStatus ROLLBACK_FAILED ShowDetailsOfInstanceV2ResponseStatus DELETING ShowDetailsOfInstanceV2ResponseStatus DELETE_FAILED ShowDetailsOfInstanceV2ResponseStatus UNREGISTERING ShowDetailsOfInstanceV2ResponseStatus UN_REGISTER_FAILED ShowDetailsOfInstanceV2ResponseStatus CREATE_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus INIT_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus REGISTER_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus INSTALL_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus UPDATE_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus ROLLBACK_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus DELETE_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus UNREGISTER_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus STARTING ShowDetailsOfInstanceV2ResponseStatus FREEZING ShowDetailsOfInstanceV2ResponseStatus FROZEN ShowDetailsOfInstanceV2ResponseStatus RESTARTING ShowDetailsOfInstanceV2ResponseStatus RESTART_FAIL ShowDetailsOfInstanceV2ResponseStatus UNHEALTHY ShowDetailsOfInstanceV2ResponseStatus RESTART_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus }
func GetShowDetailsOfInstanceV2ResponseStatusEnum ¶
func GetShowDetailsOfInstanceV2ResponseStatusEnum() ShowDetailsOfInstanceV2ResponseStatusEnum
type ShowDetailsOfMemberGroupRequest ¶
type ShowDetailsOfMemberGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // VPC通道后端服务器组编号 MemberGroupId string `json:"member_group_id"` }
Request Object
func (ShowDetailsOfMemberGroupRequest) String ¶
func (o ShowDetailsOfMemberGroupRequest) String() string
type ShowDetailsOfMemberGroupResponse ¶
type ShowDetailsOfMemberGroupResponse struct { // VPC通道后端服务器组名称 MemberGroupName string `json:"member_group_name"` // VPC通道后端服务器组描述 MemberGroupRemark *string `json:"member_group_remark,omitempty"` // VPC通道后端服务器组权重值。 当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。 MemberGroupWeight *int32 `json:"member_group_weight,omitempty"` // VPC通道后端服务器组的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` // VPC通道后端服务器组创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道后端服务器组更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfMemberGroupResponse) String ¶
func (o ShowDetailsOfMemberGroupResponse) String() string
type ShowDetailsOfRequestThrottlingPolicyV2Request ¶
type ShowDetailsOfRequestThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` }
Request Object
func (ShowDetailsOfRequestThrottlingPolicyV2Request) String ¶
func (o ShowDetailsOfRequestThrottlingPolicyV2Request) String() string
type ShowDetailsOfRequestThrottlingPolicyV2Response ¶
type ShowDetailsOfRequestThrottlingPolicyV2Response struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *ShowDetailsOfRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site) UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfRequestThrottlingPolicyV2Response) String ¶
func (o ShowDetailsOfRequestThrottlingPolicyV2Response) String() string
type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON ¶
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON ¶
func (c *ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum struct { E_1 ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle E_2 ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle }
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum() ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON ¶
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON ¶
func (c *ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON(b []byte) error
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) Value ¶ added in v0.0.90
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) Value() string
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum struct { SECOND ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit MINUTE ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit HOUR ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit DAY ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit }
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum() ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnitEnum
type ShowDetailsOfRequestThrottlingPolicyV2ResponseType ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) MarshalJSON ¶
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseType) UnmarshalJSON ¶
func (c *ShowDetailsOfRequestThrottlingPolicyV2ResponseType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) Value ¶ added in v0.0.90
func (c ShowDetailsOfRequestThrottlingPolicyV2ResponseType) Value() int32
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum ¶
type ShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum struct { E_1 ShowDetailsOfRequestThrottlingPolicyV2ResponseType E_2 ShowDetailsOfRequestThrottlingPolicyV2ResponseType }
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum ¶
func GetShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum() ShowDetailsOfRequestThrottlingPolicyV2ResponseTypeEnum
type ShowDetailsOfVpcChannelV2Request ¶
type ShowDetailsOfVpcChannelV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` }
Request Object
func (ShowDetailsOfVpcChannelV2Request) String ¶
func (o ShowDetailsOfVpcChannelV2Request) String() string
type ShowDetailsOfVpcChannelV2Response ¶
type ShowDetailsOfVpcChannelV2Response struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy ShowDetailsOfVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs MemberType ShowDetailsOfVpcChannelV2ResponseMemberType `json:"member_type"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的状态。 - 1:正常 - 2:异常 Status *ShowDetailsOfVpcChannelV2ResponseStatus `json:"status,omitempty"` // 后端云服务器组列表。 [暂不支持](tag:Site) MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` // 后端实例列表。 Members *[]VpcMemberInfo `json:"members,omitempty"` VpcHealthConfig *VpcHealthConfigInfo `json:"vpc_health_config,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDetailsOfVpcChannelV2Response) String ¶
func (o ShowDetailsOfVpcChannelV2Response) String() string
type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy ¶
type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) MarshalJSON ¶
func (c ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON ¶
func (c *ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON(b []byte) error
func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) Value ¶ added in v0.0.90
func (c ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) Value() int32
type ShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum ¶
type ShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum struct { E_1 ShowDetailsOfVpcChannelV2ResponseBalanceStrategy E_2 ShowDetailsOfVpcChannelV2ResponseBalanceStrategy E_3 ShowDetailsOfVpcChannelV2ResponseBalanceStrategy E_4 ShowDetailsOfVpcChannelV2ResponseBalanceStrategy }
func GetShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum ¶
func GetShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum() ShowDetailsOfVpcChannelV2ResponseBalanceStrategyEnum
type ShowDetailsOfVpcChannelV2ResponseMemberType ¶
type ShowDetailsOfVpcChannelV2ResponseMemberType struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfVpcChannelV2ResponseMemberType) MarshalJSON ¶
func (c ShowDetailsOfVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfVpcChannelV2ResponseMemberType) UnmarshalJSON ¶
func (c *ShowDetailsOfVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error
func (ShowDetailsOfVpcChannelV2ResponseMemberType) Value ¶ added in v0.0.90
func (c ShowDetailsOfVpcChannelV2ResponseMemberType) Value() string
type ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum ¶
type ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum struct { IP ShowDetailsOfVpcChannelV2ResponseMemberType ECS ShowDetailsOfVpcChannelV2ResponseMemberType }
func GetShowDetailsOfVpcChannelV2ResponseMemberTypeEnum ¶
func GetShowDetailsOfVpcChannelV2ResponseMemberTypeEnum() ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum
type ShowDetailsOfVpcChannelV2ResponseStatus ¶
type ShowDetailsOfVpcChannelV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDetailsOfVpcChannelV2ResponseStatus) MarshalJSON ¶
func (c ShowDetailsOfVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDetailsOfVpcChannelV2ResponseStatus) UnmarshalJSON ¶
func (c *ShowDetailsOfVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDetailsOfVpcChannelV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowDetailsOfVpcChannelV2ResponseStatus) Value() int32
type ShowDetailsOfVpcChannelV2ResponseStatusEnum ¶
type ShowDetailsOfVpcChannelV2ResponseStatusEnum struct { E_1 ShowDetailsOfVpcChannelV2ResponseStatus E_2 ShowDetailsOfVpcChannelV2ResponseStatus }
func GetShowDetailsOfVpcChannelV2ResponseStatusEnum ¶
func GetShowDetailsOfVpcChannelV2ResponseStatusEnum() ShowDetailsOfVpcChannelV2ResponseStatusEnum
type ShowDeviceGroupRequest ¶
type ShowDeviceGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备分组ID GroupId int32 `json:"group_id"` }
Request Object
func (ShowDeviceGroupRequest) String ¶
func (o ShowDeviceGroupRequest) String() string
type ShowDeviceGroupResponse ¶
type ShowDeviceGroupResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 父分组ID ParentId *int32 `json:"parent_id,omitempty"` // 分组ID Id *int32 `json:"id,omitempty"` // 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 Name *string `json:"name,omitempty"` // 分组描述,长度0-200 Description *string `json:"description,omitempty"` // 分组归属应用ID AppId *string `json:"app_id,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间 CreatedDatetime *string `json:"created_datetime,omitempty"` // 最后修改时间 LastUpdatedDatetime *string `json:"last_updated_datetime,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDeviceGroupResponse) String ¶
func (o ShowDeviceGroupResponse) String() string
type ShowDeviceGroupTreeRequest ¶
type ShowDeviceGroupTreeRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 应用ID AppId string `json:"app_id"` }
Request Object
func (ShowDeviceGroupTreeRequest) String ¶
func (o ShowDeviceGroupTreeRequest) String() string
type ShowDeviceGroupTreeResponse ¶
type ShowDeviceGroupTreeResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 设备分组信息 Items *[]GroupTreeResponse `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDeviceGroupTreeResponse) String ¶
func (o ShowDeviceGroupTreeResponse) String() string
type ShowDeviceRequest ¶
type ShowDeviceRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` }
Request Object
func (ShowDeviceRequest) String ¶
func (o ShowDeviceRequest) String() string
type ShowDeviceResponse ¶
type ShowDeviceResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 设备ID Id *int32 `json:"id,omitempty"` // 父设备ID ParentDeviceId *int32 `json:"parent_device_id,omitempty"` // 父设备名称 ParentDeviceName *string `json:"parent_device_name,omitempty"` Product *ProductReferer `json:"product,omitempty"` // 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64 DeviceName *string `json:"device_name,omitempty"` // 实例id InstanceId *string `json:"instance_id,omitempty"` // 设备客户端ID,平台生成的设备唯一标识 ClientId *string `json:"client_id,omitempty"` // 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64 NodeId *string `json:"node_id,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 设备状态 0-启用 1-禁用 Status *ShowDeviceResponseStatus `json:"status,omitempty"` // 是否在线 0-未连接 1-在线 2-离线 OnlineStatus *ShowDeviceResponseOnlineStatus `json:"online_status,omitempty"` // 备注 Description *string `json:"description,omitempty"` Authentication *Authentication `json:"authentication,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 标签 Tags *[]string `json:"tags,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` // 设备接入地址 ConnectAddress *string `json:"connect_address,omitempty"` // 设备接入SSL地址 SslConnectAddress *string `json:"ssl_connect_address,omitempty"` // 设备接入IPV6地址 Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"` // 设备接入IPV6 SSL地址 Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"` // 最后登录时间 LastLoginDatetime *int64 `json:"last_login_datetime,omitempty"` // 节点类型 0-直连 1-网关 2-子设备 NodeType *int32 `json:"node_type,omitempty"` // 设备类型<br>0-普通设备(无子设备也无父设备)<br>1-网关设备(可挂载子设备)<br>2-子设备(归属于某个网关设备) DeviceType *ShowDeviceResponseDeviceType `json:"device_type,omitempty"` // 客户端ip ClientIp *string `json:"client_ip,omitempty"` // 心跳时间 KeepAlive *string `json:"keep_alive,omitempty"` // 最后登录时间 LastActiveTime *int64 `json:"last_active_time,omitempty"` // 设备版本 Version *string `json:"version,omitempty"` // modbus和opcua设备特有,表示设备所属产品的类型 0-普通产品 1-modbus网关产品 2-opcua网关产品 PluginId *ShowDeviceResponsePluginId `json:"plugin_id,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDeviceResponse) String ¶
func (o ShowDeviceResponse) String() string
type ShowDeviceResponseDeviceType ¶ added in v0.0.78
type ShowDeviceResponseDeviceType struct {
// contains filtered or unexported fields
}
func (ShowDeviceResponseDeviceType) MarshalJSON ¶ added in v0.0.78
func (c ShowDeviceResponseDeviceType) MarshalJSON() ([]byte, error)
func (*ShowDeviceResponseDeviceType) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowDeviceResponseDeviceType) UnmarshalJSON(b []byte) error
func (ShowDeviceResponseDeviceType) Value ¶ added in v0.0.90
func (c ShowDeviceResponseDeviceType) Value() int32
type ShowDeviceResponseDeviceTypeEnum ¶ added in v0.0.78
type ShowDeviceResponseDeviceTypeEnum struct { E_0 ShowDeviceResponseDeviceType E_1 ShowDeviceResponseDeviceType E_2 ShowDeviceResponseDeviceType }
func GetShowDeviceResponseDeviceTypeEnum ¶ added in v0.0.78
func GetShowDeviceResponseDeviceTypeEnum() ShowDeviceResponseDeviceTypeEnum
type ShowDeviceResponseOnlineStatus ¶ added in v0.0.78
type ShowDeviceResponseOnlineStatus struct {
// contains filtered or unexported fields
}
func (ShowDeviceResponseOnlineStatus) MarshalJSON ¶ added in v0.0.78
func (c ShowDeviceResponseOnlineStatus) MarshalJSON() ([]byte, error)
func (*ShowDeviceResponseOnlineStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowDeviceResponseOnlineStatus) UnmarshalJSON(b []byte) error
func (ShowDeviceResponseOnlineStatus) Value ¶ added in v0.0.90
func (c ShowDeviceResponseOnlineStatus) Value() int32
type ShowDeviceResponseOnlineStatusEnum ¶ added in v0.0.78
type ShowDeviceResponseOnlineStatusEnum struct { E_0 ShowDeviceResponseOnlineStatus E_1 ShowDeviceResponseOnlineStatus E_2 ShowDeviceResponseOnlineStatus }
func GetShowDeviceResponseOnlineStatusEnum ¶ added in v0.0.78
func GetShowDeviceResponseOnlineStatusEnum() ShowDeviceResponseOnlineStatusEnum
type ShowDeviceResponsePluginId ¶ added in v0.0.78
type ShowDeviceResponsePluginId struct {
// contains filtered or unexported fields
}
func (ShowDeviceResponsePluginId) MarshalJSON ¶ added in v0.0.78
func (c ShowDeviceResponsePluginId) MarshalJSON() ([]byte, error)
func (*ShowDeviceResponsePluginId) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowDeviceResponsePluginId) UnmarshalJSON(b []byte) error
func (ShowDeviceResponsePluginId) Value ¶ added in v0.0.90
func (c ShowDeviceResponsePluginId) Value() int32
type ShowDeviceResponsePluginIdEnum ¶ added in v0.0.78
type ShowDeviceResponsePluginIdEnum struct { E_0 ShowDeviceResponsePluginId E_1 ShowDeviceResponsePluginId E_2 ShowDeviceResponsePluginId }
func GetShowDeviceResponsePluginIdEnum ¶ added in v0.0.78
func GetShowDeviceResponsePluginIdEnum() ShowDeviceResponsePluginIdEnum
type ShowDeviceResponseStatus ¶ added in v0.0.78
type ShowDeviceResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowDeviceResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c ShowDeviceResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowDeviceResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowDeviceResponseStatus) UnmarshalJSON(b []byte) error
func (ShowDeviceResponseStatus) Value ¶ added in v0.0.90
func (c ShowDeviceResponseStatus) Value() int32
type ShowDeviceResponseStatusEnum ¶ added in v0.0.78
type ShowDeviceResponseStatusEnum struct { E_0 ShowDeviceResponseStatus E_1 ShowDeviceResponseStatus }
func GetShowDeviceResponseStatusEnum ¶ added in v0.0.78
func GetShowDeviceResponseStatusEnum() ShowDeviceResponseStatusEnum
type ShowDevicesInGroupRequest ¶
type ShowDevicesInGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备分组ID GroupId int32 `json:"group_id"` // 每页显示条目数量,最大数量999,超过999后只返回999 Limit *int32 `json:"limit,omitempty"` // 产品名称 ProductName *string `json:"product_name,omitempty"` // 设备名称 DeviceName *string `json:"device_name,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0 Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ShowDevicesInGroupRequest) String ¶
func (o ShowDevicesInGroupRequest) String() string
type ShowDevicesInGroupResponse ¶
type ShowDevicesInGroupResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 本次返回数量 Size *int32 `json:"size,omitempty"` // 组内设备清单 Items *[]DevicesInGroup `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDevicesInGroupResponse) String ¶
func (o ShowDevicesInGroupResponse) String() string
type ShowDispatchesRequest ¶
type ShowDispatchesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` }
Request Object
func (ShowDispatchesRequest) String ¶
func (o ShowDispatchesRequest) String() string
type ShowDispatchesResponse ¶
type ShowDispatchesResponse struct { // 调度计划ID DispatchId *string `json:"dispatch_id,omitempty"` // 调度计划关联的任务ID TaskId *string `json:"task_id,omitempty"` // 调度计划的执行开始时间 StartDatetime *int64 `json:"start_datetime,omitempty"` // 调度计划执行周期的时间单位,当使用cron表达式时,为空 - MIN (分钟) - HOUR (小时) - DAY (日) - WEEK (周) - MON (月) Period *ShowDispatchesResponsePeriod `json:"period,omitempty"` // 调度计划的执行间隔时间周期 DispatchInterval *int64 `json:"dispatch_interval,omitempty"` // 调度计划的创建时间 CreatedDate *int64 `json:"created_date,omitempty"` // 调度计划最近一次的修改时间 LastModifiedDate *int64 `json:"last_modified_date,omitempty"` // 调度计划的备注信息 Remark *string `json:"remark,omitempty"` // 调度计划是否使用cron表达式,允许如下值: - true (使用cron表达式) - false (不使用cron表达式) UseQuartzCron *bool `json:"use_quartz_cron,omitempty"` // 调度计划的cron表达式 Cron *string `json:"cron,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDispatchesResponse) String ¶
func (o ShowDispatchesResponse) String() string
type ShowDispatchesResponsePeriod ¶
type ShowDispatchesResponsePeriod struct {
// contains filtered or unexported fields
}
func (ShowDispatchesResponsePeriod) MarshalJSON ¶
func (c ShowDispatchesResponsePeriod) MarshalJSON() ([]byte, error)
func (*ShowDispatchesResponsePeriod) UnmarshalJSON ¶
func (c *ShowDispatchesResponsePeriod) UnmarshalJSON(b []byte) error
func (ShowDispatchesResponsePeriod) Value ¶ added in v0.0.90
func (c ShowDispatchesResponsePeriod) Value() string
type ShowDispatchesResponsePeriodEnum ¶
type ShowDispatchesResponsePeriodEnum struct { MIN ShowDispatchesResponsePeriod HOUR ShowDispatchesResponsePeriod DAY ShowDispatchesResponsePeriod WEEK ShowDispatchesResponsePeriod MON ShowDispatchesResponsePeriod }
func GetShowDispatchesResponsePeriodEnum ¶
func GetShowDispatchesResponsePeriodEnum() ShowDispatchesResponsePeriodEnum
type ShowInstanceResp ¶ added in v0.0.74
type ShowInstanceResp struct { // 实例名称。 Name *string `json:"name,omitempty"` // 描述信息。 Description *string `json:"description,omitempty"` // 引擎。 Engine *string `json:"engine,omitempty"` // 版本。 EngineVersion *string `json:"engine_version,omitempty"` // 实例规格。 Specification *string `json:"specification,omitempty"` // 消息存储空间,单位:GB。 StorageSpace *int32 `json:"storage_space,omitempty"` // 最大分区数。不同规格的ROMA Connect实例的最大分区数不相同。 PartitionNum *string `json:"partition_num,omitempty"` // 已使用的消息存储空间,单位:GB。 UsedStorageSpace *int32 `json:"used_storage_space,omitempty"` // 实例连接IP地址。 ConnectAddress *string `json:"connect_address,omitempty"` // 实例连接端口。 Port *int32 `json:"port,omitempty"` // 实例的状态。 - CREATING: 申请实例后,在实例状态进入运行中之前的状态。 - RUNNING: 实例正常运行状态。在这个状态的实例可以运行您的业务。 Status *string `json:"status,omitempty"` // 实例ID。 InstanceId *string `json:"instance_id,omitempty"` // 资源规格标识。 - dms.instance.kafka.cluster.c3.mini:Kafka实例的基准带宽为100MByte/秒。 - dms.instance.kafka.cluster.c3.small.2:Kafka实例的基准带宽为300MByte/秒。 - dms.instance.kafka.cluster.c3.middle.2:Kafka实例的基准带宽为600MByte/秒。 - dms.instance.kafka.cluster.c3.high.2:Kafka实例的基准带宽为1200MByte/秒。 ResourceSpecCode *string `json:"resource_spec_code,omitempty"` // 付费模式,1表示按需计费,0表示包周期计费。 ChargingMode *int32 `json:"charging_mode,omitempty"` // VPC ID。 VpcId *string `json:"vpc_id,omitempty"` // VPC的名称。 VpcName *string `json:"vpc_name,omitempty"` // 完成创建时间。 格式为时间戳,指从格林威治时间 1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。 CreatedAt *string `json:"created_at,omitempty"` // 用户ID。 UserId *string `json:"user_id,omitempty"` // 用户名。 UserName *string `json:"user_name,omitempty"` // 订单ID,只有在包周期计费时才会有order_id值,其他计费方式order_id值为空。 OrderId *string `json:"order_id,omitempty"` // 维护时间窗开始时间,格式为HH:mm:ss。 MaintainBegin *string `json:"maintain_begin,omitempty"` // 维护时间窗结束时间,格式为HH:mm:ss。 MaintainEnd *string `json:"maintain_end,omitempty"` // 实例是否开启公网访问功能。 - true:开启 - false:未开启 EnablePublicip *bool `json:"enable_publicip,omitempty"` // Kafka实例的KafkaManager连接地址。 ManagementConnectAddress *string `json:"management_connect_address,omitempty"` // 是否开启安全认证。 - true:开启 - false:未开启 SslEnable *bool `json:"ssl_enable,omitempty"` // 企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 实例扩容时用于区分老实例与新实例。 - true:新创建的实例,允许磁盘动态扩容不需要重启。 - false:老实例 IsLogicalVolume *bool `json:"is_logical_volume,omitempty"` // 实例扩容磁盘次数,如果超过20次则无法扩容磁盘。 ExtendTimes *int32 `json:"extend_times,omitempty"` // 是否打开kafka自动创建topic功能。 - true:开启 - false:关闭 EnableAutoTopic *bool `json:"enable_auto_topic,omitempty"` // 实例类型:集群,cluster。 Type *ShowInstanceRespType `json:"type,omitempty"` // 产品标识。 ProductId *string `json:"product_id,omitempty"` // 安全组ID。 SecurityGroupId *string `json:"security_group_id,omitempty"` // 租户安全组名称。 SecurityGroupName *string `json:"security_group_name,omitempty"` // 子网ID。 SubnetId *string `json:"subnet_id,omitempty"` // 子网名称。 SubnetName *string `json:"subnet_name,omitempty"` // 子网网段。 SubnetCidr *string `json:"subnet_cidr,omitempty"` // 实例节点所在的可用区,返回“可用区ID”。 AvailableZones *[]string `json:"available_zones,omitempty"` // 总共消息存储空间,单位:GB。 TotalStorageSpace *int32 `json:"total_storage_space,omitempty"` // 实例公网连接IP地址。当实例开启了公网访问,实例才包含该参数。 PublicConnectAddress *string `json:"public_connect_address,omitempty"` // 存储资源ID。 StorageResourceId *string `json:"storage_resource_id,omitempty"` // IO规格。 StorageSpecCode *string `json:"storage_spec_code,omitempty"` // 服务类型。 ServiceType *string `json:"service_type,omitempty"` // 存储类型。 StorageType *string `json:"storage_type,omitempty"` // 消息老化策略。 RetentionPolicy *ShowInstanceRespRetentionPolicy `json:"retention_policy,omitempty"` // Kafka公网开启状态。 KafkaPublicStatus *string `json:"kafka_public_status,omitempty"` // 公网带宽。 PublicBandwidth *int32 `json:"public_bandwidth,omitempty"` // 登录Kafka Manager的用户名。 KafkaManagerUser *string `json:"kafka_manager_user,omitempty"` // 是否开启消息收集功能。 EnableLogCollection *bool `json:"enable_log_collection,omitempty"` // 跨VPC访问信息。 CrossVpcInfo *string `json:"cross_vpc_info,omitempty"` // 是否开启ipv6。 Ipv6Enable *bool `json:"ipv6_enable,omitempty"` // IPv6的连接地址。 Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"` // 是否开启转储。 ConnectorEnable *bool `json:"connector_enable,omitempty"` // 转储任务ID。 ConnectorId *string `json:"connector_id,omitempty"` // 是否开启MQS connector。 MqsConnectorEnable *bool `json:"mqs_connector_enable,omitempty"` // MQS connector地址。 MqsConnectorAddress *string `json:"mqs_connector_address,omitempty"` // 是否开启插件功能。 PluginEnable *bool `json:"plugin_enable,omitempty"` // 是否开启Kafka rest功能。 RestEnable *bool `json:"rest_enable,omitempty"` // Kafka rest地址。 RestConnectAddress *string `json:"rest_connect_address,omitempty"` // 是否开启消息查询功能。 MessageQueryInstEnable *bool `json:"message_query_inst_enable,omitempty"` // 是否开启VPC明文访问。 VpcClientPlain *bool `json:"vpc_client_plain,omitempty"` // Kafka实例支持的特性功能。 SupportFeatures *string `json:"support_features,omitempty"` // 是否开启消息轨迹功能。 TraceEnable *bool `json:"trace_enable,omitempty"` // 租户侧连接地址。 PodConnectAddress *string `json:"pod_connect_address,omitempty"` // 是否开启磁盘加密。 DiskEncrypted *bool `json:"disk_encrypted,omitempty"` // Kafka实例私有连接地址。 KafkaPrivateConnectAddress *string `json:"kafka_private_connect_address,omitempty"` // 云监控版本。 CesVersion *string `json:"ces_version,omitempty"` // 节点数量。 NodeNum *int32 `json:"node_num,omitempty"` // 公网连接地址。 PublicipAddress *string `json:"publicip_address,omitempty"` // 监听信息。 Listeners *interface{} `json:"listeners,omitempty"` // 是否开启公网访问。用于区分何时开启的公网访问。 PublicAccessEnabled *string `json:"public_access_enabled,omitempty"` // 公网访问带宽。 PublicBoundwidth *int32 `json:"public_boundwidth,omitempty"` // 认证用户名。 AccessUser *string `json:"access_user,omitempty"` // 是否开启代理。 AgentEnable *bool `json:"agent_enable,omitempty"` }
func (ShowInstanceResp) String ¶ added in v0.0.74
func (o ShowInstanceResp) String() string
type ShowInstanceRespRetentionPolicy ¶ added in v0.0.74
type ShowInstanceRespRetentionPolicy struct {
// contains filtered or unexported fields
}
func (ShowInstanceRespRetentionPolicy) MarshalJSON ¶ added in v0.0.74
func (c ShowInstanceRespRetentionPolicy) MarshalJSON() ([]byte, error)
func (*ShowInstanceRespRetentionPolicy) UnmarshalJSON ¶ added in v0.0.74
func (c *ShowInstanceRespRetentionPolicy) UnmarshalJSON(b []byte) error
func (ShowInstanceRespRetentionPolicy) Value ¶ added in v0.0.90
func (c ShowInstanceRespRetentionPolicy) Value() string
type ShowInstanceRespRetentionPolicyEnum ¶ added in v0.0.74
type ShowInstanceRespRetentionPolicyEnum struct { TIME_BASE ShowInstanceRespRetentionPolicy PRODUCE_REJECT ShowInstanceRespRetentionPolicy }
func GetShowInstanceRespRetentionPolicyEnum ¶ added in v0.0.74
func GetShowInstanceRespRetentionPolicyEnum() ShowInstanceRespRetentionPolicyEnum
type ShowInstanceRespType ¶ added in v0.0.74
type ShowInstanceRespType struct {
// contains filtered or unexported fields
}
func (ShowInstanceRespType) MarshalJSON ¶ added in v0.0.74
func (c ShowInstanceRespType) MarshalJSON() ([]byte, error)
func (*ShowInstanceRespType) UnmarshalJSON ¶ added in v0.0.74
func (c *ShowInstanceRespType) UnmarshalJSON(b []byte) error
func (ShowInstanceRespType) Value ¶ added in v0.0.90
func (c ShowInstanceRespType) Value() string
type ShowInstanceRespTypeEnum ¶ added in v0.0.74
type ShowInstanceRespTypeEnum struct { SINGLE ShowInstanceRespType CLUSTER ShowInstanceRespType }
func GetShowInstanceRespTypeEnum ¶ added in v0.0.74
func GetShowInstanceRespTypeEnum() ShowInstanceRespTypeEnum
type ShowLiveDataApiV2Request ¶
type ShowLiveDataApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 后端API的编号 LdApiId string `json:"ld_api_id"` }
Request Object
func (ShowLiveDataApiV2Request) String ¶
func (o ShowLiveDataApiV2Request) String() string
type ShowLiveDataApiV2Response ¶
type ShowLiveDataApiV2Response struct { // 后端API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 Name string `json:"name"` // 后端API请求路径。 支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。 Path string `json:"path"` // 后端API请求方法。 支持GET、PUT、POST、DELETE Method ShowLiveDataApiV2ResponseMethod `json:"method"` // 后端API描述。 不支持<,>字符 Description *string `json:"description,omitempty"` // 后端API版本 支持英文,数字,下划线,中划线,点。 Version string `json:"version"` // 后端API返回类型 ContentType ShowLiveDataApiV2ResponseContentType `json:"content_type"` // 后端API为签名认证时绑定的签名密钥编号 ApiSignatureId *string `json:"api_signature_id,omitempty"` // 后端API归属的集成应用编号 RomaAppId string `json:"roma_app_id"` // API响应信息是否格式化 true: 对响应信息进行格式化 false:对响应信息格式化不进行格式化 ReturnFormat *bool `json:"return_format,omitempty"` // 后端API的请求参数列表 Parameters *[]LdApiParameter `json:"parameters,omitempty"` // 后端API编号 Id *string `json:"id,omitempty"` // 后端API所属实例编号 Instance *string `json:"instance,omitempty"` // 后端API类型: - data:数据后端 - function: 函数后端 Type *ShowLiveDataApiV2ResponseType `json:"type,omitempty"` // 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署 Status *ShowLiveDataApiV2ResponseStatus `json:"status,omitempty"` // 后端API创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 后端API修改时间 ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"` // 后端API脚本信息 Scripts *[]LdApiScript `json:"scripts,omitempty"` // 后端API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowLiveDataApiV2Response) String ¶
func (o ShowLiveDataApiV2Response) String() string
type ShowLiveDataApiV2ResponseContentType ¶
type ShowLiveDataApiV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (ShowLiveDataApiV2ResponseContentType) MarshalJSON ¶
func (c ShowLiveDataApiV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*ShowLiveDataApiV2ResponseContentType) UnmarshalJSON ¶
func (c *ShowLiveDataApiV2ResponseContentType) UnmarshalJSON(b []byte) error
func (ShowLiveDataApiV2ResponseContentType) Value ¶ added in v0.0.90
func (c ShowLiveDataApiV2ResponseContentType) Value() string
type ShowLiveDataApiV2ResponseContentTypeEnum ¶
type ShowLiveDataApiV2ResponseContentTypeEnum struct { JSON ShowLiveDataApiV2ResponseContentType XML ShowLiveDataApiV2ResponseContentType STREAM ShowLiveDataApiV2ResponseContentType }
func GetShowLiveDataApiV2ResponseContentTypeEnum ¶
func GetShowLiveDataApiV2ResponseContentTypeEnum() ShowLiveDataApiV2ResponseContentTypeEnum
type ShowLiveDataApiV2ResponseMethod ¶
type ShowLiveDataApiV2ResponseMethod struct {
// contains filtered or unexported fields
}
func (ShowLiveDataApiV2ResponseMethod) MarshalJSON ¶
func (c ShowLiveDataApiV2ResponseMethod) MarshalJSON() ([]byte, error)
func (*ShowLiveDataApiV2ResponseMethod) UnmarshalJSON ¶
func (c *ShowLiveDataApiV2ResponseMethod) UnmarshalJSON(b []byte) error
func (ShowLiveDataApiV2ResponseMethod) Value ¶ added in v0.0.90
func (c ShowLiveDataApiV2ResponseMethod) Value() string
type ShowLiveDataApiV2ResponseMethodEnum ¶
type ShowLiveDataApiV2ResponseMethodEnum struct { GET ShowLiveDataApiV2ResponseMethod PUT ShowLiveDataApiV2ResponseMethod POST ShowLiveDataApiV2ResponseMethod DELETE ShowLiveDataApiV2ResponseMethod }
func GetShowLiveDataApiV2ResponseMethodEnum ¶
func GetShowLiveDataApiV2ResponseMethodEnum() ShowLiveDataApiV2ResponseMethodEnum
type ShowLiveDataApiV2ResponseStatus ¶
type ShowLiveDataApiV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowLiveDataApiV2ResponseStatus) MarshalJSON ¶
func (c ShowLiveDataApiV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowLiveDataApiV2ResponseStatus) UnmarshalJSON ¶
func (c *ShowLiveDataApiV2ResponseStatus) UnmarshalJSON(b []byte) error
func (ShowLiveDataApiV2ResponseStatus) Value ¶ added in v0.0.90
func (c ShowLiveDataApiV2ResponseStatus) Value() int32
type ShowLiveDataApiV2ResponseStatusEnum ¶
type ShowLiveDataApiV2ResponseStatusEnum struct { E_1 ShowLiveDataApiV2ResponseStatus E_3 ShowLiveDataApiV2ResponseStatus E_4 ShowLiveDataApiV2ResponseStatus }
func GetShowLiveDataApiV2ResponseStatusEnum ¶
func GetShowLiveDataApiV2ResponseStatusEnum() ShowLiveDataApiV2ResponseStatusEnum
type ShowLiveDataApiV2ResponseType ¶
type ShowLiveDataApiV2ResponseType struct {
// contains filtered or unexported fields
}
func (ShowLiveDataApiV2ResponseType) MarshalJSON ¶
func (c ShowLiveDataApiV2ResponseType) MarshalJSON() ([]byte, error)
func (*ShowLiveDataApiV2ResponseType) UnmarshalJSON ¶
func (c *ShowLiveDataApiV2ResponseType) UnmarshalJSON(b []byte) error
func (ShowLiveDataApiV2ResponseType) Value ¶ added in v0.0.90
func (c ShowLiveDataApiV2ResponseType) Value() string
type ShowLiveDataApiV2ResponseTypeEnum ¶
type ShowLiveDataApiV2ResponseTypeEnum struct { DATA ShowLiveDataApiV2ResponseType FUNCTION ShowLiveDataApiV2ResponseType }
func GetShowLiveDataApiV2ResponseTypeEnum ¶
func GetShowLiveDataApiV2ResponseTypeEnum() ShowLiveDataApiV2ResponseTypeEnum
type ShowMqsInstanceMessagesRequest ¶
type ShowMqsInstanceMessagesRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // topic名称。 Topic string `json:"topic"` // 是否按照时间排序。 Asc *bool `json:"asc,omitempty"` // 开始时间。Unix毫秒时间戳。 查询消息偏移量时,为必选参数。 StartTime string `json:"start_time"` // 结束时间。Unix毫秒时间戳。 查询消息偏移量时,为必选参数。 EndTime string `json:"end_time"` // 查询消息的数量。 Limit *string `json:"limit,omitempty"` // 查询的偏移量。 Offset *string `json:"offset,omitempty"` // 是否下载。 Download *bool `json:"download,omitempty"` // 消息偏移量。 查询消息内容时,为必选参数。 若start_time、end_time参数不为空,该参数无效。 MessageOffset *string `json:"message_offset,omitempty"` // 分区。 查询消息内容时,为必选参数。 若start_time、end_time参数不为空,该参数无效。 Partition *string `json:"partition,omitempty"` // 消息key。 Key *string `json:"key,omitempty"` // 消息ID。 MessageId *string `json:"message_id,omitempty"` // 消息标签。 Tag *string `json:"tag,omitempty"` }
Request Object
func (ShowMqsInstanceMessagesRequest) String ¶
func (o ShowMqsInstanceMessagesRequest) String() string
type ShowMqsInstanceMessagesRespMessages ¶
type ShowMqsInstanceMessagesRespMessages struct { // topic名称。 Topic *string `json:"topic,omitempty"` // 消息所在的分区。 Partition *int32 `json:"partition,omitempty"` // 消息key。 Key *string `json:"key,omitempty"` // 消息内容。 Value *string `json:"value,omitempty"` // 消息大小。 Size *int64 `json:"size,omitempty"` // topic名称。 Timestamp *int64 `json:"timestamp,omitempty"` // 大数据标识。 HugeMessage *bool `json:"huge_message,omitempty"` // 消息偏移量。 MessageOffset *int64 `json:"message_offset,omitempty"` // 消息ID。 MessageId *string `json:"message_id,omitempty"` // 应用ID。 AppId *string `json:"app_id,omitempty"` // 消息标签。 Tag *string `json:"tag,omitempty"` }
func (ShowMqsInstanceMessagesRespMessages) String ¶
func (o ShowMqsInstanceMessagesRespMessages) String() string
type ShowMqsInstanceMessagesResponse ¶
type ShowMqsInstanceMessagesResponse struct { // 消息列表。 Messages *[]ShowMqsInstanceMessagesRespMessages `json:"messages,omitempty"` // 消息总数。 Total float32 `json:"total,omitempty"` // 返回总条数。 Size float32 `json:"size,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMqsInstanceMessagesResponse) String ¶
func (o ShowMqsInstanceMessagesResponse) String() string
type ShowMqsInstanceRequest ¶
type ShowMqsInstanceRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` }
Request Object
func (ShowMqsInstanceRequest) String ¶
func (o ShowMqsInstanceRequest) String() string
type ShowMqsInstanceResponse ¶
type ShowMqsInstanceResponse struct { // 实例名称。 Name *string `json:"name,omitempty"` // 描述信息。 Description *string `json:"description,omitempty"` // 引擎。 Engine *string `json:"engine,omitempty"` // 版本。 EngineVersion *string `json:"engine_version,omitempty"` // 实例规格。 Specification *string `json:"specification,omitempty"` // 消息存储空间,单位:GB。 StorageSpace *int32 `json:"storage_space,omitempty"` // 最大分区数。不同规格的ROMA Connect实例的最大分区数不相同。 PartitionNum *string `json:"partition_num,omitempty"` // 已使用的消息存储空间,单位:GB。 UsedStorageSpace *int32 `json:"used_storage_space,omitempty"` // 实例连接IP地址。 ConnectAddress *string `json:"connect_address,omitempty"` // 实例连接端口。 Port *int32 `json:"port,omitempty"` // 实例的状态。 - CREATING: 申请实例后,在实例状态进入运行中之前的状态。 - RUNNING: 实例正常运行状态。在这个状态的实例可以运行您的业务。 Status *string `json:"status,omitempty"` // 实例ID。 InstanceId *string `json:"instance_id,omitempty"` // 资源规格标识。 - dms.instance.kafka.cluster.c3.mini:Kafka实例的基准带宽为100MByte/秒。 - dms.instance.kafka.cluster.c3.small.2:Kafka实例的基准带宽为300MByte/秒。 - dms.instance.kafka.cluster.c3.middle.2:Kafka实例的基准带宽为600MByte/秒。 - dms.instance.kafka.cluster.c3.high.2:Kafka实例的基准带宽为1200MByte/秒。 ResourceSpecCode *string `json:"resource_spec_code,omitempty"` // 付费模式,1表示按需计费,0表示包周期计费。 ChargingMode *int32 `json:"charging_mode,omitempty"` // VPC ID。 VpcId *string `json:"vpc_id,omitempty"` // VPC的名称。 VpcName *string `json:"vpc_name,omitempty"` // 完成创建时间。 格式为时间戳,指从格林威治时间 1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。 CreatedAt *string `json:"created_at,omitempty"` // 用户ID。 UserId *string `json:"user_id,omitempty"` // 用户名。 UserName *string `json:"user_name,omitempty"` // 订单ID,只有在包周期计费时才会有order_id值,其他计费方式order_id值为空。 OrderId *string `json:"order_id,omitempty"` // 维护时间窗开始时间,格式为HH:mm:ss。 MaintainBegin *string `json:"maintain_begin,omitempty"` // 维护时间窗结束时间,格式为HH:mm:ss。 MaintainEnd *string `json:"maintain_end,omitempty"` // 实例是否开启公网访问功能。 - true:开启 - false:未开启 EnablePublicip *bool `json:"enable_publicip,omitempty"` // Kafka实例的KafkaManager连接地址。 ManagementConnectAddress *string `json:"management_connect_address,omitempty"` // 是否开启安全认证。 - true:开启 - false:未开启 SslEnable *bool `json:"ssl_enable,omitempty"` // 企业项目ID。 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 实例扩容时用于区分老实例与新实例。 - true:新创建的实例,允许磁盘动态扩容不需要重启。 - false:老实例 IsLogicalVolume *bool `json:"is_logical_volume,omitempty"` // 实例扩容磁盘次数,如果超过20次则无法扩容磁盘。 ExtendTimes *int32 `json:"extend_times,omitempty"` // 是否打开kafka自动创建topic功能。 - true:开启 - false:关闭 EnableAutoTopic *bool `json:"enable_auto_topic,omitempty"` // 实例类型:集群,cluster。 Type *ShowMqsInstanceResponseType `json:"type,omitempty"` // 产品标识。 ProductId *string `json:"product_id,omitempty"` // 安全组ID。 SecurityGroupId *string `json:"security_group_id,omitempty"` // 租户安全组名称。 SecurityGroupName *string `json:"security_group_name,omitempty"` // 子网ID。 SubnetId *string `json:"subnet_id,omitempty"` // 子网名称。 SubnetName *string `json:"subnet_name,omitempty"` // 子网网段。 SubnetCidr *string `json:"subnet_cidr,omitempty"` // 实例节点所在的可用区,返回“可用区ID”。 AvailableZones *[]string `json:"available_zones,omitempty"` // 总共消息存储空间,单位:GB。 TotalStorageSpace *int32 `json:"total_storage_space,omitempty"` // 实例公网连接IP地址。当实例开启了公网访问,实例才包含该参数。 PublicConnectAddress *string `json:"public_connect_address,omitempty"` // 存储资源ID。 StorageResourceId *string `json:"storage_resource_id,omitempty"` // IO规格。 StorageSpecCode *string `json:"storage_spec_code,omitempty"` // 服务类型。 ServiceType *string `json:"service_type,omitempty"` // 存储类型。 StorageType *string `json:"storage_type,omitempty"` // 消息老化策略。 RetentionPolicy *ShowMqsInstanceResponseRetentionPolicy `json:"retention_policy,omitempty"` // Kafka公网开启状态。 KafkaPublicStatus *string `json:"kafka_public_status,omitempty"` // 公网带宽。 PublicBandwidth *int32 `json:"public_bandwidth,omitempty"` // 登录Kafka Manager的用户名。 KafkaManagerUser *string `json:"kafka_manager_user,omitempty"` // 是否开启消息收集功能。 EnableLogCollection *bool `json:"enable_log_collection,omitempty"` // 跨VPC访问信息。 CrossVpcInfo *string `json:"cross_vpc_info,omitempty"` // 是否开启ipv6。 Ipv6Enable *bool `json:"ipv6_enable,omitempty"` // IPv6的连接地址。 Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"` // 是否开启转储。 ConnectorEnable *bool `json:"connector_enable,omitempty"` // 转储任务ID。 ConnectorId *string `json:"connector_id,omitempty"` // 是否开启MQS connector。 MqsConnectorEnable *bool `json:"mqs_connector_enable,omitempty"` // MQS connector地址。 MqsConnectorAddress *string `json:"mqs_connector_address,omitempty"` // 是否开启插件功能。 PluginEnable *bool `json:"plugin_enable,omitempty"` // 是否开启Kafka rest功能。 RestEnable *bool `json:"rest_enable,omitempty"` // Kafka rest地址。 RestConnectAddress *string `json:"rest_connect_address,omitempty"` // 是否开启消息查询功能。 MessageQueryInstEnable *bool `json:"message_query_inst_enable,omitempty"` // 是否开启VPC明文访问。 VpcClientPlain *bool `json:"vpc_client_plain,omitempty"` // Kafka实例支持的特性功能。 SupportFeatures *string `json:"support_features,omitempty"` // 是否开启消息轨迹功能。 TraceEnable *bool `json:"trace_enable,omitempty"` // 租户侧连接地址。 PodConnectAddress *string `json:"pod_connect_address,omitempty"` // 是否开启磁盘加密。 DiskEncrypted *bool `json:"disk_encrypted,omitempty"` // Kafka实例私有连接地址。 KafkaPrivateConnectAddress *string `json:"kafka_private_connect_address,omitempty"` // 云监控版本。 CesVersion *string `json:"ces_version,omitempty"` // 节点数量。 NodeNum *int32 `json:"node_num,omitempty"` // 公网连接地址。 PublicipAddress *string `json:"publicip_address,omitempty"` // 监听信息。 Listeners *interface{} `json:"listeners,omitempty"` // 是否开启公网访问。用于区分何时开启的公网访问。 PublicAccessEnabled *string `json:"public_access_enabled,omitempty"` // 公网访问带宽。 PublicBoundwidth *int32 `json:"public_boundwidth,omitempty"` // 认证用户名。 AccessUser *string `json:"access_user,omitempty"` // 是否开启代理。 AgentEnable *bool `json:"agent_enable,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMqsInstanceResponse) String ¶
func (o ShowMqsInstanceResponse) String() string
type ShowMqsInstanceResponseRetentionPolicy ¶
type ShowMqsInstanceResponseRetentionPolicy struct {
// contains filtered or unexported fields
}
func (ShowMqsInstanceResponseRetentionPolicy) MarshalJSON ¶
func (c ShowMqsInstanceResponseRetentionPolicy) MarshalJSON() ([]byte, error)
func (*ShowMqsInstanceResponseRetentionPolicy) UnmarshalJSON ¶
func (c *ShowMqsInstanceResponseRetentionPolicy) UnmarshalJSON(b []byte) error
func (ShowMqsInstanceResponseRetentionPolicy) Value ¶ added in v0.0.90
func (c ShowMqsInstanceResponseRetentionPolicy) Value() string
type ShowMqsInstanceResponseRetentionPolicyEnum ¶
type ShowMqsInstanceResponseRetentionPolicyEnum struct { TIME_BASE ShowMqsInstanceResponseRetentionPolicy PRODUCE_REJECT ShowMqsInstanceResponseRetentionPolicy }
func GetShowMqsInstanceResponseRetentionPolicyEnum ¶
func GetShowMqsInstanceResponseRetentionPolicyEnum() ShowMqsInstanceResponseRetentionPolicyEnum
type ShowMqsInstanceResponseType ¶
type ShowMqsInstanceResponseType struct {
// contains filtered or unexported fields
}
func (ShowMqsInstanceResponseType) MarshalJSON ¶
func (c ShowMqsInstanceResponseType) MarshalJSON() ([]byte, error)
func (*ShowMqsInstanceResponseType) UnmarshalJSON ¶
func (c *ShowMqsInstanceResponseType) UnmarshalJSON(b []byte) error
func (ShowMqsInstanceResponseType) Value ¶ added in v0.0.90
func (c ShowMqsInstanceResponseType) Value() string
type ShowMqsInstanceResponseTypeEnum ¶
type ShowMqsInstanceResponseTypeEnum struct { SINGLE ShowMqsInstanceResponseType CLUSTER ShowMqsInstanceResponseType }
func GetShowMqsInstanceResponseTypeEnum ¶
func GetShowMqsInstanceResponseTypeEnum() ShowMqsInstanceResponseTypeEnum
type ShowMqsInstanceTopicAccessPolicyRequest ¶
type ShowMqsInstanceTopicAccessPolicyRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` // topic名称。 TopicName string `json:"topic_name"` // 分页查询偏移量。 Offset *string `json:"offset,omitempty"` // 分页查询大小。 Limit *string `json:"limit,omitempty"` }
Request Object
func (ShowMqsInstanceTopicAccessPolicyRequest) String ¶
func (o ShowMqsInstanceTopicAccessPolicyRequest) String() string
type ShowMqsInstanceTopicAccessPolicyRespPolicies ¶
type ShowMqsInstanceTopicAccessPolicyRespPolicies struct { // 是否为创建topic时所选择的应用。 Owner *bool `json:"owner,omitempty"` // 应用ID。 UserName *string `json:"user_name,omitempty"` // 权限类型。 - all:发布+订阅 - pub:发布 - sub:订阅 AccessPolicy *string `json:"access_policy,omitempty"` // 应用名称。 AppName *string `json:"app_name,omitempty"` // 权限类型对应的标签。 Tag *string `json:"tag,omitempty"` }
func (ShowMqsInstanceTopicAccessPolicyRespPolicies) String ¶
func (o ShowMqsInstanceTopicAccessPolicyRespPolicies) String() string
type ShowMqsInstanceTopicAccessPolicyResponse ¶
type ShowMqsInstanceTopicAccessPolicyResponse struct { // topic名称。 Name *string `json:"name,omitempty"` // 策略列表。 Policies *[]ShowMqsInstanceTopicAccessPolicyRespPolicies `json:"policies,omitempty"` // 权限策略的总数。 Total *int32 `json:"total,omitempty"` // 查询权限策略的数量。 Size *int32 `json:"size,omitempty"` // topic名称。 Operation *string `json:"operation,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowMqsInstanceTopicAccessPolicyResponse) String ¶
func (o ShowMqsInstanceTopicAccessPolicyResponse) String() string
type ShowProductAuthenticationRequest ¶
type ShowProductAuthenticationRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` }
Request Object
func (ShowProductAuthenticationRequest) String ¶
func (o ShowProductAuthenticationRequest) String() string
type ShowProductAuthenticationResponse ¶
type ShowProductAuthenticationResponse struct { // 一型一密/一机一密的用户名 UserName *string `json:"user_name,omitempty"` // 一型一密/一机一密的密码,输入要求:至少1个数字,1个大写字母,1个小写字母,1个特殊字符(~!@#$%^&*()-_=+|[{}];:<>/?),长度8-32个字符 Password *string `json:"password,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProductAuthenticationResponse) String ¶
func (o ShowProductAuthenticationResponse) String() string
type ShowProductRequest ¶
type ShowProductRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` }
Request Object
func (ShowProductRequest) String ¶
func (o ShowProductRequest) String() string
type ShowProductResponse ¶
type ShowProductResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 产品ID Id *int32 `json:"id,omitempty"` // 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品) ProductSerial *string `json:"product_serial,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线 Name *string `json:"name,omitempty"` // 产品供应商ID ManufacturerId *string `json:"manufacturer_id,omitempty"` // 厂商名称 ManufacturerName *string `json:"manufacturer_name,omitempty"` // 产品型号 Model *string `json:"model,omitempty"` // 产品类型,0-普通产品(不支持子设备) 1-网关产品 ProductType *ShowProductResponseProductType `json:"product_type,omitempty"` // 产品描述,长度0-200 Description *string `json:"description,omitempty"` // 产品的协议类型 0-mqtt 2-modbus 4-opcua ProtocolType *ShowProductResponseProtocolType `json:"protocol_type,omitempty"` // 产品的设备类型(默认Default) DeviceType *string `json:"device_type,omitempty"` // 产品版本 Version *string `json:"version,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` Authentication *Authentication `json:"authentication,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // data_format 0-JSON 1-USER_DEFINED DataFormat *int32 `json:"data_format,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProductResponse) String ¶
func (o ShowProductResponse) String() string
type ShowProductResponseProductType ¶ added in v0.0.78
type ShowProductResponseProductType struct {
// contains filtered or unexported fields
}
func (ShowProductResponseProductType) MarshalJSON ¶ added in v0.0.78
func (c ShowProductResponseProductType) MarshalJSON() ([]byte, error)
func (*ShowProductResponseProductType) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowProductResponseProductType) UnmarshalJSON(b []byte) error
func (ShowProductResponseProductType) Value ¶ added in v0.0.90
func (c ShowProductResponseProductType) Value() int32
type ShowProductResponseProductTypeEnum ¶ added in v0.0.78
type ShowProductResponseProductTypeEnum struct { E_0 ShowProductResponseProductType E_1 ShowProductResponseProductType }
func GetShowProductResponseProductTypeEnum ¶ added in v0.0.78
func GetShowProductResponseProductTypeEnum() ShowProductResponseProductTypeEnum
type ShowProductResponseProtocolType ¶ added in v0.0.78
type ShowProductResponseProtocolType struct {
// contains filtered or unexported fields
}
func (ShowProductResponseProtocolType) MarshalJSON ¶ added in v0.0.78
func (c ShowProductResponseProtocolType) MarshalJSON() ([]byte, error)
func (*ShowProductResponseProtocolType) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowProductResponseProtocolType) UnmarshalJSON(b []byte) error
func (ShowProductResponseProtocolType) Value ¶ added in v0.0.90
func (c ShowProductResponseProtocolType) Value() int32
type ShowProductResponseProtocolTypeEnum ¶ added in v0.0.78
type ShowProductResponseProtocolTypeEnum struct { E_0 ShowProductResponseProtocolType E_2 ShowProductResponseProtocolType E_4 ShowProductResponseProtocolType }
func GetShowProductResponseProtocolTypeEnum ¶ added in v0.0.78
func GetShowProductResponseProtocolTypeEnum() ShowProductResponseProtocolTypeEnum
type ShowProductTemplateRequest ¶
type ShowProductTemplateRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品模板ID ProductTemplateId int32 `json:"product_template_id"` }
Request Object
func (ShowProductTemplateRequest) String ¶
func (o ShowProductTemplateRequest) String() string
type ShowProductTemplateResponse ¶
type ShowProductTemplateResponse struct { // 产品模板ID Id *int32 `json:"id,omitempty"` // 产品模板名称 Name *string `json:"name,omitempty"` // 产品模板描述 Description *string `json:"description,omitempty"` // 产品模板状态 0-启用 1-停用 Status *ShowProductTemplateResponseStatus `json:"status,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowProductTemplateResponse) String ¶
func (o ShowProductTemplateResponse) String() string
type ShowProductTemplateResponseStatus ¶ added in v0.0.78
type ShowProductTemplateResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowProductTemplateResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c ShowProductTemplateResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowProductTemplateResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowProductTemplateResponseStatus) UnmarshalJSON(b []byte) error
func (ShowProductTemplateResponseStatus) Value ¶ added in v0.0.90
func (c ShowProductTemplateResponseStatus) Value() int32
type ShowProductTemplateResponseStatusEnum ¶ added in v0.0.78
type ShowProductTemplateResponseStatusEnum struct { E_0 ShowProductTemplateResponseStatus E_1 ShowProductTemplateResponseStatus }
func GetShowProductTemplateResponseStatusEnum ¶ added in v0.0.78
func GetShowProductTemplateResponseStatusEnum() ShowProductTemplateResponseStatusEnum
type ShowPropertyRequest ¶
type ShowPropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 属性/请求属性/响应属性ID PropertyId int32 `json:"property_id"` }
Request Object
func (ShowPropertyRequest) String ¶
func (o ShowPropertyRequest) String() string
type ShowPropertyResponse ¶
type ShowPropertyResponse struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *ShowPropertyResponseDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *ShowPropertyResponseRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPropertyResponse) String ¶
func (o ShowPropertyResponse) String() string
type ShowPropertyResponseDataType ¶
type ShowPropertyResponseDataType struct {
// contains filtered or unexported fields
}
func (ShowPropertyResponseDataType) MarshalJSON ¶
func (c ShowPropertyResponseDataType) MarshalJSON() ([]byte, error)
func (*ShowPropertyResponseDataType) UnmarshalJSON ¶
func (c *ShowPropertyResponseDataType) UnmarshalJSON(b []byte) error
func (ShowPropertyResponseDataType) Value ¶ added in v0.0.90
func (c ShowPropertyResponseDataType) Value() string
type ShowPropertyResponseDataTypeEnum ¶
type ShowPropertyResponseDataTypeEnum struct { INTEGER ShowPropertyResponseDataType NUMBER ShowPropertyResponseDataType STRING ShowPropertyResponseDataType DATETIME ShowPropertyResponseDataType JSON ShowPropertyResponseDataType }
func GetShowPropertyResponseDataTypeEnum ¶
func GetShowPropertyResponseDataTypeEnum() ShowPropertyResponseDataTypeEnum
type ShowPropertyResponseRequired ¶ added in v0.0.78
type ShowPropertyResponseRequired struct {
// contains filtered or unexported fields
}
func (ShowPropertyResponseRequired) MarshalJSON ¶ added in v0.0.78
func (c ShowPropertyResponseRequired) MarshalJSON() ([]byte, error)
func (*ShowPropertyResponseRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowPropertyResponseRequired) UnmarshalJSON(b []byte) error
func (ShowPropertyResponseRequired) Value ¶ added in v0.0.90
func (c ShowPropertyResponseRequired) Value() int32
type ShowPropertyResponseRequiredEnum ¶ added in v0.0.78
type ShowPropertyResponseRequiredEnum struct { E_0 ShowPropertyResponseRequired E_1 ShowPropertyResponseRequired }
func GetShowPropertyResponseRequiredEnum ¶ added in v0.0.78
func GetShowPropertyResponseRequiredEnum() ShowPropertyResponseRequiredEnum
type ShowRequestPropertyRequest ¶
type ShowRequestPropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` // 属性/请求属性/响应属性ID PropertyId int32 `json:"property_id"` }
Request Object
func (ShowRequestPropertyRequest) String ¶
func (o ShowRequestPropertyRequest) String() string
type ShowRequestPropertyResponse ¶
type ShowRequestPropertyResponse struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *ShowRequestPropertyResponseDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *ShowRequestPropertyResponseRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRequestPropertyResponse) String ¶
func (o ShowRequestPropertyResponse) String() string
type ShowRequestPropertyResponseDataType ¶
type ShowRequestPropertyResponseDataType struct {
// contains filtered or unexported fields
}
func (ShowRequestPropertyResponseDataType) MarshalJSON ¶
func (c ShowRequestPropertyResponseDataType) MarshalJSON() ([]byte, error)
func (*ShowRequestPropertyResponseDataType) UnmarshalJSON ¶
func (c *ShowRequestPropertyResponseDataType) UnmarshalJSON(b []byte) error
func (ShowRequestPropertyResponseDataType) Value ¶ added in v0.0.90
func (c ShowRequestPropertyResponseDataType) Value() string
type ShowRequestPropertyResponseDataTypeEnum ¶
type ShowRequestPropertyResponseDataTypeEnum struct { INTEGER ShowRequestPropertyResponseDataType NUMBER ShowRequestPropertyResponseDataType STRING ShowRequestPropertyResponseDataType DATETIME ShowRequestPropertyResponseDataType JSON ShowRequestPropertyResponseDataType }
func GetShowRequestPropertyResponseDataTypeEnum ¶
func GetShowRequestPropertyResponseDataTypeEnum() ShowRequestPropertyResponseDataTypeEnum
type ShowRequestPropertyResponseRequired ¶ added in v0.0.78
type ShowRequestPropertyResponseRequired struct {
// contains filtered or unexported fields
}
func (ShowRequestPropertyResponseRequired) MarshalJSON ¶ added in v0.0.78
func (c ShowRequestPropertyResponseRequired) MarshalJSON() ([]byte, error)
func (*ShowRequestPropertyResponseRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowRequestPropertyResponseRequired) UnmarshalJSON(b []byte) error
func (ShowRequestPropertyResponseRequired) Value ¶ added in v0.0.90
func (c ShowRequestPropertyResponseRequired) Value() int32
type ShowRequestPropertyResponseRequiredEnum ¶ added in v0.0.78
type ShowRequestPropertyResponseRequiredEnum struct { E_0 ShowRequestPropertyResponseRequired E_1 ShowRequestPropertyResponseRequired }
func GetShowRequestPropertyResponseRequiredEnum ¶ added in v0.0.78
func GetShowRequestPropertyResponseRequiredEnum() ShowRequestPropertyResponseRequiredEnum
type ShowResponsePropertyRequest ¶
type ShowResponsePropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` // 属性/请求属性/响应属性ID PropertyId int32 `json:"property_id"` }
Request Object
func (ShowResponsePropertyRequest) String ¶
func (o ShowResponsePropertyRequest) String() string
type ShowResponsePropertyResponse ¶
type ShowResponsePropertyResponse struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *ShowResponsePropertyResponseDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *ShowResponsePropertyResponseRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowResponsePropertyResponse) String ¶
func (o ShowResponsePropertyResponse) String() string
type ShowResponsePropertyResponseDataType ¶
type ShowResponsePropertyResponseDataType struct {
// contains filtered or unexported fields
}
func (ShowResponsePropertyResponseDataType) MarshalJSON ¶
func (c ShowResponsePropertyResponseDataType) MarshalJSON() ([]byte, error)
func (*ShowResponsePropertyResponseDataType) UnmarshalJSON ¶
func (c *ShowResponsePropertyResponseDataType) UnmarshalJSON(b []byte) error
func (ShowResponsePropertyResponseDataType) Value ¶ added in v0.0.90
func (c ShowResponsePropertyResponseDataType) Value() string
type ShowResponsePropertyResponseDataTypeEnum ¶
type ShowResponsePropertyResponseDataTypeEnum struct { INTEGER ShowResponsePropertyResponseDataType NUMBER ShowResponsePropertyResponseDataType STRING ShowResponsePropertyResponseDataType DATETIME ShowResponsePropertyResponseDataType JSON ShowResponsePropertyResponseDataType }
func GetShowResponsePropertyResponseDataTypeEnum ¶
func GetShowResponsePropertyResponseDataTypeEnum() ShowResponsePropertyResponseDataTypeEnum
type ShowResponsePropertyResponseRequired ¶ added in v0.0.78
type ShowResponsePropertyResponseRequired struct {
// contains filtered or unexported fields
}
func (ShowResponsePropertyResponseRequired) MarshalJSON ¶ added in v0.0.78
func (c ShowResponsePropertyResponseRequired) MarshalJSON() ([]byte, error)
func (*ShowResponsePropertyResponseRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowResponsePropertyResponseRequired) UnmarshalJSON(b []byte) error
func (ShowResponsePropertyResponseRequired) Value ¶ added in v0.0.90
func (c ShowResponsePropertyResponseRequired) Value() int32
type ShowResponsePropertyResponseRequiredEnum ¶ added in v0.0.78
type ShowResponsePropertyResponseRequiredEnum struct { E_0 ShowResponsePropertyResponseRequired E_1 ShowResponsePropertyResponseRequired }
func GetShowResponsePropertyResponseRequiredEnum ¶ added in v0.0.78
func GetShowResponsePropertyResponseRequiredEnum() ShowResponsePropertyResponseRequiredEnum
type ShowRestrictionOfInstanceV2Request ¶
type ShowRestrictionOfInstanceV2Request struct { // 实例ID InstanceId string `json:"instance_id"` }
Request Object
func (ShowRestrictionOfInstanceV2Request) String ¶
func (o ShowRestrictionOfInstanceV2Request) String() string
type ShowRestrictionOfInstanceV2Response ¶
type ShowRestrictionOfInstanceV2Response struct { // 受限的IP网段的CIDR列表。 RestrictCidrs *[]string `json:"restrict_cidrs,omitempty"` // 资源租户的IP网段的CIDR。 ResourceSubnetCidr *string `json:"resource_subnet_cidr,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRestrictionOfInstanceV2Response) String ¶
func (o ShowRestrictionOfInstanceV2Response) String() string
type ShowRuleRequest ¶
type ShowRuleRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 规则ID RuleId string `json:"rule_id"` }
Request Object
func (ShowRuleRequest) String ¶
func (o ShowRuleRequest) String() string
type ShowRuleResponse ¶
type ShowRuleResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 规则ID RuleId *int32 `json:"rule_id,omitempty"` // 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64 Name *string `json:"name,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 规则状态 0-启用 1-停用 Status *ShowRuleResponseStatus `json:"status,omitempty"` // 数据解析状态,ENABLE时data_parsing必填 0-启用 1-停用 DataParsingStatus *ShowRuleResponseDataParsingStatus `json:"data_parsing_status,omitempty"` // SQL查询字段 SqlField *string `json:"sql_field,omitempty"` // SQL查询条件 SqlWhere *string `json:"sql_where,omitempty"` // 完整的规则表达式 RuleExpress *string `json:"rule_express,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRuleResponse) String ¶
func (o ShowRuleResponse) String() string
type ShowRuleResponseDataParsingStatus ¶ added in v0.0.78
type ShowRuleResponseDataParsingStatus struct {
// contains filtered or unexported fields
}
func (ShowRuleResponseDataParsingStatus) MarshalJSON ¶ added in v0.0.78
func (c ShowRuleResponseDataParsingStatus) MarshalJSON() ([]byte, error)
func (*ShowRuleResponseDataParsingStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowRuleResponseDataParsingStatus) UnmarshalJSON(b []byte) error
func (ShowRuleResponseDataParsingStatus) Value ¶ added in v0.0.90
func (c ShowRuleResponseDataParsingStatus) Value() int32
type ShowRuleResponseDataParsingStatusEnum ¶ added in v0.0.78
type ShowRuleResponseDataParsingStatusEnum struct { E_0 ShowRuleResponseDataParsingStatus E_1 ShowRuleResponseDataParsingStatus }
func GetShowRuleResponseDataParsingStatusEnum ¶ added in v0.0.78
func GetShowRuleResponseDataParsingStatusEnum() ShowRuleResponseDataParsingStatusEnum
type ShowRuleResponseStatus ¶ added in v0.0.78
type ShowRuleResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowRuleResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c ShowRuleResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowRuleResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowRuleResponseStatus) UnmarshalJSON(b []byte) error
func (ShowRuleResponseStatus) Value ¶ added in v0.0.90
func (c ShowRuleResponseStatus) Value() int32
type ShowRuleResponseStatusEnum ¶ added in v0.0.78
type ShowRuleResponseStatusEnum struct { E_0 ShowRuleResponseStatus E_1 ShowRuleResponseStatus }
func GetShowRuleResponseStatusEnum ¶ added in v0.0.78
func GetShowRuleResponseStatusEnum() ShowRuleResponseStatusEnum
type ShowServiceRequest ¶
type ShowServiceRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` }
Request Object
func (ShowServiceRequest) String ¶
func (o ShowServiceRequest) String() string
type ShowServiceResponse ¶
type ShowServiceResponse struct { // 服务归属的产品模板ID ProductTemplateId *int32 `json:"product_template_id,omitempty"` // 服务归属的产品ID ProductId *int32 `json:"product_id,omitempty"` // 服务ID ServiceId *int32 `json:"service_id,omitempty"` // 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 ServiceName *string `json:"service_name,omitempty"` // 服务描述,长度0-200 Description *string `json:"description,omitempty"` // 服务状态 0-启用 1-停用 Status *ShowServiceResponseStatus `json:"status,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间止,格式timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间止,格式timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowServiceResponse) String ¶
func (o ShowServiceResponse) String() string
type ShowServiceResponseStatus ¶ added in v0.0.78
type ShowServiceResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowServiceResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c ShowServiceResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowServiceResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *ShowServiceResponseStatus) UnmarshalJSON(b []byte) error
func (ShowServiceResponseStatus) Value ¶ added in v0.0.90
func (c ShowServiceResponseStatus) Value() int32
type ShowServiceResponseStatusEnum ¶ added in v0.0.78
type ShowServiceResponseStatusEnum struct { E_0 ShowServiceResponseStatus E_1 ShowServiceResponseStatus }
func GetShowServiceResponseStatusEnum ¶ added in v0.0.78
func GetShowServiceResponseStatusEnum() ShowServiceResponseStatusEnum
type ShowTaskRequest ¶
type ShowTaskRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` }
Request Object
func (ShowTaskRequest) String ¶
func (o ShowTaskRequest) String() string
type ShowTaskResponse ¶
type ShowTaskResponse struct { Task *TaskBasicRsp `json:"task,omitempty"` // 参数类型为string,参数结构参照附录中“数据集成参数说明>RawFormDataResponse”章节 TaskDetail *string `json:"task_detail,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTaskResponse) String ¶
func (o ShowTaskResponse) String() string
type SignApiBinding ¶
type SignApiBinding struct { // 签名密钥编号 SignId string `json:"sign_id"` // API的发布记录编号 PublishIds []string `json:"publish_ids"` }
func (SignApiBinding) String ¶
func (o SignApiBinding) String() string
type SignApiBindingBase ¶
type SignApiBindingBase struct { // API的发布编号 PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 绑定时间 BindingTime *sdktime.SdkTime `json:"binding_time,omitempty"` // API所属环境的编号 EnvId *string `json:"env_id,omitempty"` // API所属环境的名称 EnvName *string `json:"env_name,omitempty"` // API类型 ApiType *int32 `json:"api_type,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 绑定关系的ID Id *string `json:"id,omitempty"` // API描述 ApiRemark *string `json:"api_remark,omitempty"` // 签名密钥的编号 SignId *string `json:"sign_id,omitempty"` // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 SignName *string `json:"sign_name,omitempty"` }
func (SignApiBindingBase) String ¶
func (o SignApiBindingBase) String() string
type SignApiBindingInfo ¶
type SignApiBindingInfo struct { // API的发布编号 PublishId *string `json:"publish_id,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 绑定时间 BindingTime *sdktime.SdkTime `json:"binding_time,omitempty"` // API所属环境的编号 EnvId *string `json:"env_id,omitempty"` // API所属环境的名称 EnvName *string `json:"env_name,omitempty"` // API类型 ApiType *int32 `json:"api_type,omitempty"` // API名称 ApiName *string `json:"api_name,omitempty"` // 绑定关系的ID Id *string `json:"id,omitempty"` // API描述 ApiRemark *string `json:"api_remark,omitempty"` // 签名密钥的编号 SignId *string `json:"sign_id,omitempty"` // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 SignName *string `json:"sign_name,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *SignApiBindingInfoSignType `json:"sign_type,omitempty"` }
func (SignApiBindingInfo) String ¶
func (o SignApiBindingInfo) String() string
type SignApiBindingInfoSignType ¶
type SignApiBindingInfoSignType struct {
// contains filtered or unexported fields
}
func (SignApiBindingInfoSignType) MarshalJSON ¶
func (c SignApiBindingInfoSignType) MarshalJSON() ([]byte, error)
func (*SignApiBindingInfoSignType) UnmarshalJSON ¶
func (c *SignApiBindingInfoSignType) UnmarshalJSON(b []byte) error
func (SignApiBindingInfoSignType) Value ¶ added in v0.0.90
func (c SignApiBindingInfoSignType) Value() string
type SignApiBindingInfoSignTypeEnum ¶
type SignApiBindingInfoSignTypeEnum struct { HMAC SignApiBindingInfoSignType BASIC SignApiBindingInfoSignType PUBLIC_KEY SignApiBindingInfoSignType AES SignApiBindingInfoSignType }
func GetSignApiBindingInfoSignTypeEnum ¶
func GetSignApiBindingInfoSignTypeEnum() SignApiBindingInfoSignTypeEnum
type SignApiBindingResult ¶
type SignApiBindingResult struct { // API与签名密钥的绑定关系列表 Bindings *[]SignApiBindingInfo `json:"bindings,omitempty"` }
func (SignApiBindingResult) String ¶
func (o SignApiBindingResult) String() string
type Signature ¶
type Signature struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *SignatureSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *SignatureSignAlgorithm `json:"sign_algorithm,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 签名密钥的编号 Id *string `json:"id,omitempty"` }
type SignatureSignAlgorithm ¶
type SignatureSignAlgorithm struct {
// contains filtered or unexported fields
}
func (SignatureSignAlgorithm) MarshalJSON ¶
func (c SignatureSignAlgorithm) MarshalJSON() ([]byte, error)
func (*SignatureSignAlgorithm) UnmarshalJSON ¶
func (c *SignatureSignAlgorithm) UnmarshalJSON(b []byte) error
func (SignatureSignAlgorithm) Value ¶ added in v0.0.90
func (c SignatureSignAlgorithm) Value() string
type SignatureSignAlgorithmEnum ¶
type SignatureSignAlgorithmEnum struct { AES_128_CFB SignatureSignAlgorithm AES_256_CFB SignatureSignAlgorithm }
func GetSignatureSignAlgorithmEnum ¶
func GetSignatureSignAlgorithmEnum() SignatureSignAlgorithmEnum
type SignatureSignType ¶
type SignatureSignType struct {
// contains filtered or unexported fields
}
func (SignatureSignType) MarshalJSON ¶
func (c SignatureSignType) MarshalJSON() ([]byte, error)
func (*SignatureSignType) UnmarshalJSON ¶
func (c *SignatureSignType) UnmarshalJSON(b []byte) error
func (SignatureSignType) Value ¶ added in v0.0.90
func (c SignatureSignType) Value() string
type SignatureSignTypeEnum ¶
type SignatureSignTypeEnum struct { HMAC SignatureSignType BASIC SignatureSignType PUBLIC_KEY SignatureSignType AES SignatureSignType }
func GetSignatureSignTypeEnum ¶
func GetSignatureSignTypeEnum() SignatureSignTypeEnum
type SignatureWithBindNum ¶
type SignatureWithBindNum struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *SignatureWithBindNumSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *SignatureWithBindNumSignAlgorithm `json:"sign_algorithm,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 签名密钥的编号 Id *string `json:"id,omitempty"` // 绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 绑定的自定义后端数量 LdapiBindNum *int32 `json:"ldapi_bind_num,omitempty"` }
func (SignatureWithBindNum) String ¶
func (o SignatureWithBindNum) String() string
type SignatureWithBindNumSignAlgorithm ¶
type SignatureWithBindNumSignAlgorithm struct {
// contains filtered or unexported fields
}
func (SignatureWithBindNumSignAlgorithm) MarshalJSON ¶
func (c SignatureWithBindNumSignAlgorithm) MarshalJSON() ([]byte, error)
func (*SignatureWithBindNumSignAlgorithm) UnmarshalJSON ¶
func (c *SignatureWithBindNumSignAlgorithm) UnmarshalJSON(b []byte) error
func (SignatureWithBindNumSignAlgorithm) Value ¶ added in v0.0.90
func (c SignatureWithBindNumSignAlgorithm) Value() string
type SignatureWithBindNumSignAlgorithmEnum ¶
type SignatureWithBindNumSignAlgorithmEnum struct { AES_128_CFB SignatureWithBindNumSignAlgorithm AES_256_CFB SignatureWithBindNumSignAlgorithm }
func GetSignatureWithBindNumSignAlgorithmEnum ¶
func GetSignatureWithBindNumSignAlgorithmEnum() SignatureWithBindNumSignAlgorithmEnum
type SignatureWithBindNumSignType ¶
type SignatureWithBindNumSignType struct {
// contains filtered or unexported fields
}
func (SignatureWithBindNumSignType) MarshalJSON ¶
func (c SignatureWithBindNumSignType) MarshalJSON() ([]byte, error)
func (*SignatureWithBindNumSignType) UnmarshalJSON ¶
func (c *SignatureWithBindNumSignType) UnmarshalJSON(b []byte) error
func (SignatureWithBindNumSignType) Value ¶ added in v0.0.90
func (c SignatureWithBindNumSignType) Value() string
type SignatureWithBindNumSignTypeEnum ¶
type SignatureWithBindNumSignTypeEnum struct { HMAC SignatureWithBindNumSignType BASIC SignatureWithBindNumSignType PUBLIC_KEY SignatureWithBindNumSignType AES SignatureWithBindNumSignType }
func GetSignatureWithBindNumSignTypeEnum ¶
func GetSignatureWithBindNumSignTypeEnum() SignatureWithBindNumSignTypeEnum
type SingleResponse ¶
type SingleResponse struct { // 操作的ID Id *string `json:"id,omitempty"` // 操作结果 枚举值successful-成功 error-失败 RetStatus *string `json:"ret_status,omitempty"` }
func (SingleResponse) String ¶
func (o SingleResponse) String() string
type Source ¶
type Source struct { // 源数据源ID SourceId *int32 `json:"source_id,omitempty"` // 产品ID ProductId *int32 `json:"product_id,omitempty"` // 设备ID,不填为全部设备 DeviceId *int32 `json:"device_id,omitempty"` // 主题,当设备ID为空时为产品级主题,设备ID不为空时为设备级主题 Topic *string `json:"topic,omitempty"` // 设备名称 DeviceName *string `json:"device_name,omitempty"` // 产品名称 ProductName *string `json:"product_name,omitempty"` // 是否payload使用base64,0-是 1-否 IsBase64 *SourceIsBase64 `json:"is_base64,omitempty"` // 是否包含设备信息,0-是,1-否 ContainDeviceInfo *SourceContainDeviceInfo `json:"contain_device_info,omitempty"` }
type SourceContainDeviceInfo ¶ added in v0.0.78
type SourceContainDeviceInfo struct {
// contains filtered or unexported fields
}
func (SourceContainDeviceInfo) MarshalJSON ¶ added in v0.0.78
func (c SourceContainDeviceInfo) MarshalJSON() ([]byte, error)
func (*SourceContainDeviceInfo) UnmarshalJSON ¶ added in v0.0.78
func (c *SourceContainDeviceInfo) UnmarshalJSON(b []byte) error
func (SourceContainDeviceInfo) Value ¶ added in v0.0.90
func (c SourceContainDeviceInfo) Value() int32
type SourceContainDeviceInfoEnum ¶ added in v0.0.78
type SourceContainDeviceInfoEnum struct { E_0 SourceContainDeviceInfo E_1 SourceContainDeviceInfo }
func GetSourceContainDeviceInfoEnum ¶ added in v0.0.78
func GetSourceContainDeviceInfoEnum() SourceContainDeviceInfoEnum
type SourceIsBase64 ¶ added in v0.0.78
type SourceIsBase64 struct {
// contains filtered or unexported fields
}
func (SourceIsBase64) MarshalJSON ¶ added in v0.0.78
func (c SourceIsBase64) MarshalJSON() ([]byte, error)
func (*SourceIsBase64) UnmarshalJSON ¶ added in v0.0.78
func (c *SourceIsBase64) UnmarshalJSON(b []byte) error
func (SourceIsBase64) Value ¶ added in v0.0.90
func (c SourceIsBase64) Value() int32
type SourceIsBase64Enum ¶ added in v0.0.78
type SourceIsBase64Enum struct { E_0 SourceIsBase64 E_1 SourceIsBase64 }
func GetSourceIsBase64Enum ¶ added in v0.0.78
func GetSourceIsBase64Enum() SourceIsBase64Enum
type StartTestDatasourceRequest ¶
type StartTestDatasourceRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据源ID DatasourceId string `json:"datasource_id"` Body *DatasourceInfo `json:"body,omitempty"` }
Request Object
func (StartTestDatasourceRequest) String ¶
func (o StartTestDatasourceRequest) String() string
type StartTestDatasourceResponse ¶
type StartTestDatasourceResponse struct { // 返回结果 - true (成功) Result *bool `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartTestDatasourceResponse) String ¶
func (o StartTestDatasourceResponse) String() string
type StatisticsApi ¶
type StatisticsApi struct { // 最大延时 MaxLatency *int32 `json:"max_latency,omitempty"` // 平均延时 AvgLatency *float32 `json:"avg_latency,omitempty"` // 请求总次数 ReqCount *int32 `json:"req_count,omitempty"` // 2xx响应码总次数 ReqCount2xx *int32 `json:"req_count2xx,omitempty"` // 4xx响应码总次数 ReqCount4xx *int32 `json:"req_count4xx,omitempty"` // 5xx响应码总次数 ReqCount5xx *int32 `json:"req_count5xx,omitempty"` // 错误次数 ReqCountError *int32 `json:"req_count_error,omitempty"` // 最大网关内部延时 MaxInnerLatency *int32 `json:"max_inner_latency,omitempty"` // 平均网关内部延时 AvgInnerLatency *float32 `json:"avg_inner_latency,omitempty"` // 最大后端延时 MaxBackendLatency *int32 `json:"max_backend_latency,omitempty"` // 平均后端延时 AvgBackendLatency *float32 `json:"avg_backend_latency,omitempty"` // 下行吞吐量(byte) OutputThroughput *int64 `json:"output_throughput,omitempty"` // 上行吞吐量(byte) InputThroughput *int64 `json:"input_throughput,omitempty"` // API访问的UTC时间戳 CurrentMinute *int64 `json:"current_minute,omitempty"` // 查询统计周期 Cycle *StatisticsApiCycle `json:"cycle,omitempty"` // API编号 ApiId *string `json:"api_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // API拥有者 Provider *string `json:"provider,omitempty"` // API请求时间 ReqTime *sdktime.SdkTime `json:"req_time,omitempty"` // 记录时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // 状态值: - 1:调度中,未上报CES - 2:已经成功上报CES 预留字段,暂不支持 Status *StatisticsApiStatus `json:"status,omitempty"` }
func (StatisticsApi) String ¶
func (o StatisticsApi) String() string
type StatisticsApiCycle ¶
type StatisticsApiCycle struct {
// contains filtered or unexported fields
}
func (StatisticsApiCycle) MarshalJSON ¶
func (c StatisticsApiCycle) MarshalJSON() ([]byte, error)
func (*StatisticsApiCycle) UnmarshalJSON ¶
func (c *StatisticsApiCycle) UnmarshalJSON(b []byte) error
func (StatisticsApiCycle) Value ¶ added in v0.0.90
func (c StatisticsApiCycle) Value() string
type StatisticsApiCycleEnum ¶
type StatisticsApiCycleEnum struct { MINUTE StatisticsApiCycle HOUR StatisticsApiCycle DAY StatisticsApiCycle }
func GetStatisticsApiCycleEnum ¶
func GetStatisticsApiCycleEnum() StatisticsApiCycleEnum
type StatisticsApiStatus ¶
type StatisticsApiStatus struct {
// contains filtered or unexported fields
}
func (StatisticsApiStatus) MarshalJSON ¶
func (c StatisticsApiStatus) MarshalJSON() ([]byte, error)
func (*StatisticsApiStatus) UnmarshalJSON ¶
func (c *StatisticsApiStatus) UnmarshalJSON(b []byte) error
func (StatisticsApiStatus) Value ¶ added in v0.0.90
func (c StatisticsApiStatus) Value() int32
type StatisticsApiStatusEnum ¶
type StatisticsApiStatusEnum struct { E_1 StatisticsApiStatus E_2 StatisticsApiStatus }
func GetStatisticsApiStatusEnum ¶
func GetStatisticsApiStatusEnum() StatisticsApiStatusEnum
type StopTaskRequest ¶
type StopTaskRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` }
Request Object
func (StopTaskRequest) String ¶
func (o StopTaskRequest) String() string
type StopTaskResponse ¶
type StopTaskResponse struct { // 手工启动/停止任务成功返回消息 Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StopTaskResponse) String ¶
func (o StopTaskResponse) String() string
type Success ¶
type Success struct { // API请求路径 Path *string `json:"path,omitempty"` // API请求方法 Method *string `json:"method,omitempty"` // 导入行为: - update:表示更新API - create:表示新建API Action *SuccessAction `json:"action,omitempty"` // 导入成功的API编号 Id *string `json:"id,omitempty"` }
type SuccessAction ¶
type SuccessAction struct {
// contains filtered or unexported fields
}
func (SuccessAction) MarshalJSON ¶
func (c SuccessAction) MarshalJSON() ([]byte, error)
func (*SuccessAction) UnmarshalJSON ¶
func (c *SuccessAction) UnmarshalJSON(b []byte) error
func (SuccessAction) Value ¶ added in v0.0.90
func (c SuccessAction) Value() string
type SuccessActionEnum ¶
type SuccessActionEnum struct { UPDATE SuccessAction CREATE SuccessAction }
func GetSuccessActionEnum ¶
func GetSuccessActionEnum() SuccessActionEnum
type Swagger ¶
type Swagger struct { // swagger文档编号 Id *string `json:"id,omitempty"` // 导入结果说明 Result *string `json:"result,omitempty"` }
swagger文档导入结果 暂不支持
type TaskBasicRequestBody ¶
type TaskBasicRequestBody struct { // 任务名称,只能以字母、数字为开头,包含字母、数字和 . _ - 3~100个字符 TaskName *string `json:"task_name,omitempty"` // 任务类型 - REALTIME (实时) - TIMING (定时) TaskType *TaskBasicRequestBodyTaskType `json:"task_type,omitempty"` // 源端数据源ID SourceDatasourceId *string `json:"source_datasource_id,omitempty"` // 目标端数据源ID TargetDatasourceId *string `json:"target_datasource_id,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 任务标签,只能包含字母、数字、中划线、下划线 TaskTag *string `json:"task_tag,omitempty"` }
func (TaskBasicRequestBody) String ¶
func (o TaskBasicRequestBody) String() string
type TaskBasicRequestBodyTaskType ¶
type TaskBasicRequestBodyTaskType struct {
// contains filtered or unexported fields
}
func (TaskBasicRequestBodyTaskType) MarshalJSON ¶
func (c TaskBasicRequestBodyTaskType) MarshalJSON() ([]byte, error)
func (*TaskBasicRequestBodyTaskType) UnmarshalJSON ¶
func (c *TaskBasicRequestBodyTaskType) UnmarshalJSON(b []byte) error
func (TaskBasicRequestBodyTaskType) Value ¶ added in v0.0.90
func (c TaskBasicRequestBodyTaskType) Value() string
type TaskBasicRequestBodyTaskTypeEnum ¶
type TaskBasicRequestBodyTaskTypeEnum struct { REALTIME TaskBasicRequestBodyTaskType TIMING TaskBasicRequestBodyTaskType }
func GetTaskBasicRequestBodyTaskTypeEnum ¶
func GetTaskBasicRequestBodyTaskTypeEnum() TaskBasicRequestBodyTaskTypeEnum
type TaskBasicRsp ¶
type TaskBasicRsp struct { // 任务ID, 可为空 TaskId *string `json:"task_id,omitempty"` // 任务名称,只能以字母、数字为开头,包含字母、数字和 . _ - 3~100个字符 TaskName *string `json:"task_name,omitempty"` // 任务类型 - realtime (实时) - timing (定时) TaskType *TaskBasicRspTaskType `json:"task_type,omitempty"` // 任务状态, - stop (0停止\\未启动) - running (1运行中) Status *TaskBasicRspStatus `json:"status,omitempty"` // 项目ID ProjectId *string `json:"project_id,omitempty"` // 源端数据源ID SourceDatasourceId *string `json:"source_datasource_id,omitempty"` // 目标端数据源ID TargetDatasourceId *string `json:"target_datasource_id,omitempty"` // 源端数据源的名称 SourceDatasourceName *string `json:"source_datasource_name,omitempty"` // 目标端数据源的名称 TargetDatasourceName *string `json:"target_datasource_name,omitempty"` // 源端数据源所属集成应用ID SourceAppId *string `json:"source_app_id,omitempty"` // 目标端数据源所属集成应用ID TargetAppId *string `json:"target_app_id,omitempty"` // 源端数据源所属集成应用名称 SourceAppName *string `json:"source_app_name,omitempty"` // 目标端数据源所属集成应用名称 TargetAppName *string `json:"target_app_name,omitempty"` // 创建时间 CreatedDate *int64 `json:"created_date,omitempty"` // 最近一次的修改时间 LastModifiedDate *int64 `json:"last_modified_date,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 任务标签,只能包含字母、数字、中划线、下划线 TaskTag *string `json:"task_tag,omitempty"` // 任务的创建者 CreatedBy *string `json:"created_by,omitempty"` }
func (TaskBasicRsp) String ¶
func (o TaskBasicRsp) String() string
type TaskBasicRspStatus ¶
type TaskBasicRspStatus struct {
// contains filtered or unexported fields
}
func (TaskBasicRspStatus) MarshalJSON ¶
func (c TaskBasicRspStatus) MarshalJSON() ([]byte, error)
func (*TaskBasicRspStatus) UnmarshalJSON ¶
func (c *TaskBasicRspStatus) UnmarshalJSON(b []byte) error
func (TaskBasicRspStatus) Value ¶ added in v0.0.90
func (c TaskBasicRspStatus) Value() string
type TaskBasicRspStatusEnum ¶
type TaskBasicRspStatusEnum struct { STOP TaskBasicRspStatus RUNNING TaskBasicRspStatus }
func GetTaskBasicRspStatusEnum ¶
func GetTaskBasicRspStatusEnum() TaskBasicRspStatusEnum
type TaskBasicRspTaskType ¶
type TaskBasicRspTaskType struct {
// contains filtered or unexported fields
}
func (TaskBasicRspTaskType) MarshalJSON ¶
func (c TaskBasicRspTaskType) MarshalJSON() ([]byte, error)
func (*TaskBasicRspTaskType) UnmarshalJSON ¶
func (c *TaskBasicRspTaskType) UnmarshalJSON(b []byte) error
func (TaskBasicRspTaskType) Value ¶ added in v0.0.90
func (c TaskBasicRspTaskType) Value() string
type TaskBasicRspTaskTypeEnum ¶
type TaskBasicRspTaskTypeEnum struct { REALTIME TaskBasicRspTaskType TIMING TaskBasicRspTaskType }
func GetTaskBasicRspTaskTypeEnum ¶
func GetTaskBasicRspTaskTypeEnum() TaskBasicRspTaskTypeEnum
type TaskBean ¶
type TaskBean struct { // 任务ID, 可为空 TaskId *string `json:"task_id,omitempty"` }
批量启动\\停止任务的详情
type TaskBeanFacade ¶
type TaskBeanFacade struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // 任务名称 TaskName *string `json:"task_name,omitempty"` // 失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误详情 ErrorMsg *string `json:"error_msg,omitempty"` }
任务执行详情
func (TaskBeanFacade) String ¶
func (o TaskBeanFacade) String() string
type TaskDispatch ¶
type TaskDispatch struct { // 调度计划的执行开始时间 StartDatetime *int64 `json:"start_datetime,omitempty"` // 调度计划执行周期的时间单位,当使用cron表达式时,为空 - MIN (分钟) - HOUR (小时) - DAY (日) - WEEK (周) - MON (月) Period *TaskDispatchPeriod `json:"period,omitempty"` // 调度计划的执行间隔时间周期 DispatchInterval *int64 `json:"dispatch_interval,omitempty"` // 调度计划的备注信息 Remark *string `json:"remark,omitempty"` // 调度计划是否使用cron表达式,允许如下值: - true (使用cron表达式) - false (不使用cron表达式) UseQuartzCron *bool `json:"use_quartz_cron,omitempty"` // 调度计划的cron表达式 Cron *string `json:"cron,omitempty"` }
调度计划详情
func (TaskDispatch) String ¶
func (o TaskDispatch) String() string
type TaskDispatchPeriod ¶
type TaskDispatchPeriod struct {
// contains filtered or unexported fields
}
func (TaskDispatchPeriod) MarshalJSON ¶
func (c TaskDispatchPeriod) MarshalJSON() ([]byte, error)
func (*TaskDispatchPeriod) UnmarshalJSON ¶
func (c *TaskDispatchPeriod) UnmarshalJSON(b []byte) error
func (TaskDispatchPeriod) Value ¶ added in v0.0.90
func (c TaskDispatchPeriod) Value() string
type TaskDispatchPeriodEnum ¶
type TaskDispatchPeriodEnum struct { MIN TaskDispatchPeriod HOUR TaskDispatchPeriod DAY TaskDispatchPeriod WEEK TaskDispatchPeriod MON TaskDispatchPeriod }
func GetTaskDispatchPeriodEnum ¶
func GetTaskDispatchPeriodEnum() TaskDispatchPeriodEnum
type TaskMonitorDetailLog ¶
type TaskMonitorDetailLog struct { // 任务每次执行步骤产生的唯一ID Id *string `json:"id,omitempty"` // 当前步骤执行详细状态,使用状态码的形式</br> 状态码划分规则:reader端 100 ~ 499,writer端 500 ~ 899,其他900 ~ </br> 当前状态码如下:</br> 16-被强制取消</br> 99-任务开始</br> 100-Reader 任务开始</br> 101-Reader 任务结束</br> 102-正在读取数据</br> 103-读端数据源端异常</br> 104-读取数据结束</br> 105-读取数据为0</br> 106-读任务强制取消</br> 107-在reader plugin中,任务发生了中断</br> 108-读任务恢复运行</br> 500-Writer 任务开始</br> 501-Writer 任务结束</br> 502-正在数据写入</br> 503-目标端异常</br> 504-数据写入结束</br> 505-写任务强制取消</br> 506-在writer plugin中,任务发生了中断</br> 507-写任务恢复运行</br> 900-接收到调度请求</br> 901-任务运行结束</br> 902-任务已运行结束,正在进行数据完整性校验</br> 903-输出数据完整性校验结果</br> 904-经过数据完整性校验,发现有数据缺失,正在进行数据补偿</br> 905-输出数据补偿结果</br> 906-读取任务正在在排队中(平台资源)</br> 907-读取任务被拒绝执行,因为上一次调度还没有结束</br> 908-写入任务正在在排队中(平台资源)</br> 909-写入任务被拒绝执行,因为上一次调度还没有结束</br> 911-读取任务没有被正常开启,请检查网络是否通畅,参数是否正确</br> 912-写入任务没有被正常开启,请检查网络是否通畅,参数是否正确</br> 913-任务调度请求失败</br> 914-任务被拒绝执行,因为上一次调度还没有结束</br> 915-任务不正常运行</br> 916-任务日志上报异常</br> Status *int32 `json:"status,omitempty"` // 标识当前步骤属于哪一个阶段,允许如下值:ADAPTER-任务处于初始化阶段, READER-任务正在执行Reader读操作, WRITER-任务正在执行Writer写操作 Position *TaskMonitorDetailLogPosition `json:"position,omitempty"` // 任务当前步骤的状态,允许如下值:NORMAL-正在运行, NODE_END-本节点正常结束, RUNTIME_CANCEL-任务被取消, TASK_END-本任务正常结束, RUNTIME_ERR-运行时异常, INTERNAL_ERR-内部程序异常 PositionStatus *TaskMonitorDetailLogPositionStatus `json:"position_status,omitempty"` // 标识当前步骤属于哪一个FDI插件,如adapter, apireader, rdbwriter等 Stage *string `json:"stage,omitempty"` // 异常数据条数 DirtyDataCount *int32 `json:"dirty_data_count,omitempty"` // 成功数据条数 DataCount *int32 `json:"data_count,omitempty"` // 成功数据大小,浮点数类型 DataSize float32 `json:"data_size,omitempty"` // 成功数据大小的计量单位 DataSizeUnit *TaskMonitorDetailLogDataSizeUnit `json:"data_size_unit,omitempty"` // 执行时长,单位:ms SpendTime *int32 `json:"spend_time,omitempty"` // 执行详细信息 Remarks *string `json:"remarks,omitempty"` // 本次步骤启动时间,格式timestamp(ms),使用UTC时区 StepBeginTime *int64 `json:"step_begin_time,omitempty"` // 本次步骤结束时间,格式timestamp(ms),使用UTC时区 StepEndTime *int64 `json:"step_end_time,omitempty"` }
任务执行详细跟踪日志
func (TaskMonitorDetailLog) String ¶
func (o TaskMonitorDetailLog) String() string
type TaskMonitorDetailLogDataSizeUnit ¶
type TaskMonitorDetailLogDataSizeUnit struct {
// contains filtered or unexported fields
}
func (TaskMonitorDetailLogDataSizeUnit) MarshalJSON ¶
func (c TaskMonitorDetailLogDataSizeUnit) MarshalJSON() ([]byte, error)
func (*TaskMonitorDetailLogDataSizeUnit) UnmarshalJSON ¶
func (c *TaskMonitorDetailLogDataSizeUnit) UnmarshalJSON(b []byte) error
func (TaskMonitorDetailLogDataSizeUnit) Value ¶ added in v0.0.90
func (c TaskMonitorDetailLogDataSizeUnit) Value() string
type TaskMonitorDetailLogDataSizeUnitEnum ¶
type TaskMonitorDetailLogDataSizeUnitEnum struct { B TaskMonitorDetailLogDataSizeUnit KB TaskMonitorDetailLogDataSizeUnit MB TaskMonitorDetailLogDataSizeUnit GB TaskMonitorDetailLogDataSizeUnit TB TaskMonitorDetailLogDataSizeUnit }
func GetTaskMonitorDetailLogDataSizeUnitEnum ¶
func GetTaskMonitorDetailLogDataSizeUnitEnum() TaskMonitorDetailLogDataSizeUnitEnum
type TaskMonitorDetailLogPosition ¶
type TaskMonitorDetailLogPosition struct {
// contains filtered or unexported fields
}
func (TaskMonitorDetailLogPosition) MarshalJSON ¶
func (c TaskMonitorDetailLogPosition) MarshalJSON() ([]byte, error)
func (*TaskMonitorDetailLogPosition) UnmarshalJSON ¶
func (c *TaskMonitorDetailLogPosition) UnmarshalJSON(b []byte) error
func (TaskMonitorDetailLogPosition) Value ¶ added in v0.0.90
func (c TaskMonitorDetailLogPosition) Value() string
type TaskMonitorDetailLogPositionEnum ¶
type TaskMonitorDetailLogPositionEnum struct { ADAPTER TaskMonitorDetailLogPosition READER TaskMonitorDetailLogPosition WRITER TaskMonitorDetailLogPosition }
func GetTaskMonitorDetailLogPositionEnum ¶
func GetTaskMonitorDetailLogPositionEnum() TaskMonitorDetailLogPositionEnum
type TaskMonitorDetailLogPositionStatus ¶
type TaskMonitorDetailLogPositionStatus struct {
// contains filtered or unexported fields
}
func (TaskMonitorDetailLogPositionStatus) MarshalJSON ¶
func (c TaskMonitorDetailLogPositionStatus) MarshalJSON() ([]byte, error)
func (*TaskMonitorDetailLogPositionStatus) UnmarshalJSON ¶
func (c *TaskMonitorDetailLogPositionStatus) UnmarshalJSON(b []byte) error
func (TaskMonitorDetailLogPositionStatus) Value ¶ added in v0.0.90
func (c TaskMonitorDetailLogPositionStatus) Value() string
type TaskMonitorDetailLogPositionStatusEnum ¶
type TaskMonitorDetailLogPositionStatusEnum struct { NORMAL TaskMonitorDetailLogPositionStatus NODE_END TaskMonitorDetailLogPositionStatus RUNTIME_CANCEL TaskMonitorDetailLogPositionStatus TASK_END TaskMonitorDetailLogPositionStatus RUNTIME_ERR TaskMonitorDetailLogPositionStatus INTERNAL_ERR TaskMonitorDetailLogPositionStatus }
func GetTaskMonitorDetailLogPositionStatusEnum ¶
func GetTaskMonitorDetailLogPositionStatusEnum() TaskMonitorDetailLogPositionStatusEnum
type TaskMonitorInfo ¶
type TaskMonitorInfo struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // 任务名称 TaskName *string `json:"task_name,omitempty"` // 任务类型, 只允许两种类型:TIMING-定时任务, REALTIME-实时任务 TaskType *TaskMonitorInfoTaskType `json:"task_type,omitempty"` // 任务状态, 只允许两种类型:0-停止, 1-运行中 Status *TaskMonitorInfoStatus `json:"status,omitempty"` // 任务最近一次执行时间,格式timestamp(ms),使用UTC时区 LastExecuteTime *int64 `json:"last_execute_time,omitempty"` // 任务是否使用Quartz表达式,只有定时任务才有该属性 UseQuartzCron *bool `json:"use_quartz_cron,omitempty"` // CRON表达式,只有定时任务且use_quartz_cron为true时才有该属性 Cron *string `json:"cron,omitempty"` // 调度周期的单位,如天,小时等,只有定时任务且use_quartz_cron为false时才有该属性,当前仅允许如下类型:MIN-分钟, HOUR-小时, DAY-天, WEEK-周, MON-月 Period *TaskMonitorInfoPeriod `json:"period,omitempty"` // 调度周期,和period字段一起可以确定每隔多长时间调度一次,只有定时任务且use_quartz_cron为false时才有该属性 DispatchInterval *int32 `json:"dispatch_interval,omitempty"` // 标识最近一次任务执行到哪一个阶段,允许如下值:ADAPTER-任务处于初始化阶段, READER-任务正在执行Reader读操作, WRITER-任务正在执行Writer写操作 Position *TaskMonitorInfoPosition `json:"position,omitempty"` // 任务最近一次执行状态,允许如下值:UNSTARTED-未启动, WAITING-等待调度中, RUNNING-执行中, SUCCESS-执行成功, CANCELLED-任务取消, ERROR-执行异常 ExecuteStatus *TaskMonitorInfoExecuteStatus `json:"execute_status,omitempty"` // 任务源端数据源所属应用ID SourceAppId *string `json:"source_app_id,omitempty"` // 任务源端数据源所属应用名称 SourceAppName *string `json:"source_app_name,omitempty"` // 任务源端数据源所属实例ID SourceInstanceId *string `json:"source_instance_id,omitempty"` // 任务目标端数据源所属应用ID TargetAppId *string `json:"target_app_id,omitempty"` // 任务目标端数据源所属应用名称 TargetAppName *string `json:"target_app_name,omitempty"` // 任务目标端数据源所属实例ID TargetInstanceId *string `json:"target_instance_id,omitempty"` // 任务扩展类型,当前如果是CDC组合任务,该字段为CDC,否则为null ExtType *TaskMonitorInfoExtType `json:"ext_type,omitempty"` // 任务所属企业项目ID,默认为0 EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` // 任务标签 TaskTag *string `json:"task_tag,omitempty"` }
任务监控信息
func (TaskMonitorInfo) String ¶
func (o TaskMonitorInfo) String() string
type TaskMonitorInfoExecuteStatus ¶
type TaskMonitorInfoExecuteStatus struct {
// contains filtered or unexported fields
}
func (TaskMonitorInfoExecuteStatus) MarshalJSON ¶
func (c TaskMonitorInfoExecuteStatus) MarshalJSON() ([]byte, error)
func (*TaskMonitorInfoExecuteStatus) UnmarshalJSON ¶
func (c *TaskMonitorInfoExecuteStatus) UnmarshalJSON(b []byte) error
func (TaskMonitorInfoExecuteStatus) Value ¶ added in v0.0.90
func (c TaskMonitorInfoExecuteStatus) Value() string
type TaskMonitorInfoExecuteStatusEnum ¶
type TaskMonitorInfoExecuteStatusEnum struct { UNSTARTED TaskMonitorInfoExecuteStatus WAITING TaskMonitorInfoExecuteStatus RUNNING TaskMonitorInfoExecuteStatus SUCCESS TaskMonitorInfoExecuteStatus CANCELLED TaskMonitorInfoExecuteStatus ERROR TaskMonitorInfoExecuteStatus }
func GetTaskMonitorInfoExecuteStatusEnum ¶
func GetTaskMonitorInfoExecuteStatusEnum() TaskMonitorInfoExecuteStatusEnum
type TaskMonitorInfoExtType ¶
type TaskMonitorInfoExtType struct {
// contains filtered or unexported fields
}
func (TaskMonitorInfoExtType) MarshalJSON ¶
func (c TaskMonitorInfoExtType) MarshalJSON() ([]byte, error)
func (*TaskMonitorInfoExtType) UnmarshalJSON ¶
func (c *TaskMonitorInfoExtType) UnmarshalJSON(b []byte) error
func (TaskMonitorInfoExtType) Value ¶ added in v0.0.90
func (c TaskMonitorInfoExtType) Value() string
type TaskMonitorInfoExtTypeEnum ¶
type TaskMonitorInfoExtTypeEnum struct {
CDC TaskMonitorInfoExtType
}
func GetTaskMonitorInfoExtTypeEnum ¶
func GetTaskMonitorInfoExtTypeEnum() TaskMonitorInfoExtTypeEnum
type TaskMonitorInfoPeriod ¶
type TaskMonitorInfoPeriod struct {
// contains filtered or unexported fields
}
func (TaskMonitorInfoPeriod) MarshalJSON ¶
func (c TaskMonitorInfoPeriod) MarshalJSON() ([]byte, error)
func (*TaskMonitorInfoPeriod) UnmarshalJSON ¶
func (c *TaskMonitorInfoPeriod) UnmarshalJSON(b []byte) error
func (TaskMonitorInfoPeriod) Value ¶ added in v0.0.90
func (c TaskMonitorInfoPeriod) Value() string
type TaskMonitorInfoPeriodEnum ¶
type TaskMonitorInfoPeriodEnum struct { MIN TaskMonitorInfoPeriod HOUR TaskMonitorInfoPeriod DAY TaskMonitorInfoPeriod WEEK TaskMonitorInfoPeriod MON TaskMonitorInfoPeriod }
func GetTaskMonitorInfoPeriodEnum ¶
func GetTaskMonitorInfoPeriodEnum() TaskMonitorInfoPeriodEnum
type TaskMonitorInfoPosition ¶
type TaskMonitorInfoPosition struct {
// contains filtered or unexported fields
}
func (TaskMonitorInfoPosition) MarshalJSON ¶
func (c TaskMonitorInfoPosition) MarshalJSON() ([]byte, error)
func (*TaskMonitorInfoPosition) UnmarshalJSON ¶
func (c *TaskMonitorInfoPosition) UnmarshalJSON(b []byte) error
func (TaskMonitorInfoPosition) Value ¶ added in v0.0.90
func (c TaskMonitorInfoPosition) Value() string
type TaskMonitorInfoPositionEnum ¶
type TaskMonitorInfoPositionEnum struct { ADAPTER TaskMonitorInfoPosition READER TaskMonitorInfoPosition WRITER TaskMonitorInfoPosition }
func GetTaskMonitorInfoPositionEnum ¶
func GetTaskMonitorInfoPositionEnum() TaskMonitorInfoPositionEnum
type TaskMonitorInfoStatus ¶ added in v0.0.78
type TaskMonitorInfoStatus struct {
// contains filtered or unexported fields
}
func (TaskMonitorInfoStatus) MarshalJSON ¶ added in v0.0.78
func (c TaskMonitorInfoStatus) MarshalJSON() ([]byte, error)
func (*TaskMonitorInfoStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *TaskMonitorInfoStatus) UnmarshalJSON(b []byte) error
func (TaskMonitorInfoStatus) Value ¶ added in v0.0.90
func (c TaskMonitorInfoStatus) Value() int32
type TaskMonitorInfoStatusEnum ¶ added in v0.0.78
type TaskMonitorInfoStatusEnum struct { E_0 TaskMonitorInfoStatus E_1 TaskMonitorInfoStatus }
func GetTaskMonitorInfoStatusEnum ¶ added in v0.0.78
func GetTaskMonitorInfoStatusEnum() TaskMonitorInfoStatusEnum
type TaskMonitorInfoTaskType ¶
type TaskMonitorInfoTaskType struct {
// contains filtered or unexported fields
}
func (TaskMonitorInfoTaskType) MarshalJSON ¶
func (c TaskMonitorInfoTaskType) MarshalJSON() ([]byte, error)
func (*TaskMonitorInfoTaskType) UnmarshalJSON ¶
func (c *TaskMonitorInfoTaskType) UnmarshalJSON(b []byte) error
func (TaskMonitorInfoTaskType) Value ¶ added in v0.0.90
func (c TaskMonitorInfoTaskType) Value() string
type TaskMonitorInfoTaskTypeEnum ¶
type TaskMonitorInfoTaskTypeEnum struct { TIMING TaskMonitorInfoTaskType REALTIME TaskMonitorInfoTaskType }
func GetTaskMonitorInfoTaskTypeEnum ¶
func GetTaskMonitorInfoTaskTypeEnum() TaskMonitorInfoTaskTypeEnum
type TaskMonitorLog ¶
type TaskMonitorLog struct { // 单次任务执行的跟踪ID Id *string `json:"id,omitempty"` // 本次执行启动时间,格式timestamp(ms),使用UTC时区 StartTime *int64 `json:"start_time,omitempty"` // 计划执行时间,格式timestamp(ms),使用UTC时区 DispatchTime *int64 `json:"dispatch_time,omitempty"` // 写入结束时间,格式timestamp(ms),使用UTC时区 EndTime *int64 `json:"end_time,omitempty"` // 任务本次执行状态,允许如下值:UNSTARTED-未启动, WAITING-等待调度中, RUNNING-执行中, SUCCESS-执行成功, CANCELLED-任务取消, ERROR-执行异常 ExecuteStatus *TaskMonitorLogExecuteStatus `json:"execute_status,omitempty"` // 标识本次任务执行到哪一个阶段,允许如下值:ADAPTER-任务处于初始化阶段, READER-任务正在执行Reader读操作, WRITER-任务正在执行Writer写操作 Position *TaskMonitorLogPosition `json:"position,omitempty"` // 任务本次执行当前阶段的状态,允许如下值:NORMAL-正在运行, NODE_END-本节点正常结束, RUNTIME_CANCEL-任务被取消, TASK_END-本任务正常结束, RUNTIME_ERR-运行时异常, INTERNAL_ERR-内部程序异常 PositionStatus *TaskMonitorLogPositionStatus `json:"position_status,omitempty"` // 本次任务执行详细状态,使用状态码的形式</br> 状态码划分规则:reader端 100 ~ 499,writer端 500 ~ 899,其他900 ~ </br> 当前状态码如下:</br> 16-被强制取消</br> 99-任务开始</br> 100-Reader 任务开始</br> 101-Reader 任务结束</br> 102-正在读取数据</br> 103-读端数据源端异常</br> 104-读取数据结束</br> 105-读取数据为0</br> 106-读任务强制取消</br> 107-在reader plugin中,任务发生了中断</br> 108-读任务恢复运行</br> 500-Writer 任务开始</br> 501-Writer 任务结束</br> 502-正在数据写入</br> 503-目标端异常</br> 504-数据写入结束</br> 505-写任务强制取消</br> 506-在writer plugin中,任务发生了中断</br> 507-写任务恢复运行</br> 900-接收到调度请求</br> 901-任务运行结束</br> 902-任务已运行结束,正在进行数据完整性校验</br> 903-输出数据完整性校验结果</br> 904-经过数据完整性校验,发现有数据缺失,正在进行数据补偿</br> 905-输出数据补偿结果</br> 906-读取任务正在在排队中(平台资源)</br> 907-读取任务被拒绝执行,因为上一次调度还没有结束</br> 908-写入任务正在在排队中(平台资源)</br> 909-写入任务被拒绝执行,因为上一次调度还没有结束</br> 911-读取任务没有被正常开启,请检查网络是否通畅,参数是否正确</br> 912-写入任务没有被正常开启,请检查网络是否通畅,参数是否正确</br> 913-任务调度请求失败</br> 914-任务被拒绝执行,因为上一次调度还没有结束</br> 915-任务不正常运行</br> 916-任务日志上报异常</br> Status *int32 `json:"status,omitempty"` // 异常数据条数 DirtyDataCount *int32 `json:"dirty_data_count,omitempty"` // 成功数据条数 DataCount *int32 `json:"data_count,omitempty"` // 成功数据大小,浮点数类型 DataSize float32 `json:"data_size,omitempty"` // 成功数据大小的计量单位 DataSizeUnit *TaskMonitorLogDataSizeUnit `json:"data_size_unit,omitempty"` // 执行时长,单位:ms SpendTime *int64 `json:"spend_time,omitempty"` // 读取执行时长,单位:ms,只有在定时任务时存在该属性 ReadSpendTime *int64 `json:"read_spend_time,omitempty"` // 写入执行时长,单位:ms WriteSpendTime *int64 `json:"write_spend_time,omitempty"` // 本次执行结果简要信息 Remarks *string `json:"remarks,omitempty"` // 本次执行详细轨迹信息 DetailLogs *[]TaskMonitorDetailLog `json:"detail_logs,omitempty"` }
任务监控日志
func (TaskMonitorLog) String ¶
func (o TaskMonitorLog) String() string
type TaskMonitorLogDataSizeUnit ¶
type TaskMonitorLogDataSizeUnit struct {
// contains filtered or unexported fields
}
func (TaskMonitorLogDataSizeUnit) MarshalJSON ¶
func (c TaskMonitorLogDataSizeUnit) MarshalJSON() ([]byte, error)
func (*TaskMonitorLogDataSizeUnit) UnmarshalJSON ¶
func (c *TaskMonitorLogDataSizeUnit) UnmarshalJSON(b []byte) error
func (TaskMonitorLogDataSizeUnit) Value ¶ added in v0.0.90
func (c TaskMonitorLogDataSizeUnit) Value() string
type TaskMonitorLogDataSizeUnitEnum ¶
type TaskMonitorLogDataSizeUnitEnum struct { B TaskMonitorLogDataSizeUnit KB TaskMonitorLogDataSizeUnit MB TaskMonitorLogDataSizeUnit GB TaskMonitorLogDataSizeUnit TB TaskMonitorLogDataSizeUnit }
func GetTaskMonitorLogDataSizeUnitEnum ¶
func GetTaskMonitorLogDataSizeUnitEnum() TaskMonitorLogDataSizeUnitEnum
type TaskMonitorLogExecuteStatus ¶
type TaskMonitorLogExecuteStatus struct {
// contains filtered or unexported fields
}
func (TaskMonitorLogExecuteStatus) MarshalJSON ¶
func (c TaskMonitorLogExecuteStatus) MarshalJSON() ([]byte, error)
func (*TaskMonitorLogExecuteStatus) UnmarshalJSON ¶
func (c *TaskMonitorLogExecuteStatus) UnmarshalJSON(b []byte) error
func (TaskMonitorLogExecuteStatus) Value ¶ added in v0.0.90
func (c TaskMonitorLogExecuteStatus) Value() string
type TaskMonitorLogExecuteStatusEnum ¶
type TaskMonitorLogExecuteStatusEnum struct { UNSTARTED TaskMonitorLogExecuteStatus WAITING TaskMonitorLogExecuteStatus RUNNING TaskMonitorLogExecuteStatus SUCCESS TaskMonitorLogExecuteStatus CANCELLED TaskMonitorLogExecuteStatus ERROR TaskMonitorLogExecuteStatus }
func GetTaskMonitorLogExecuteStatusEnum ¶
func GetTaskMonitorLogExecuteStatusEnum() TaskMonitorLogExecuteStatusEnum
type TaskMonitorLogPosition ¶
type TaskMonitorLogPosition struct {
// contains filtered or unexported fields
}
func (TaskMonitorLogPosition) MarshalJSON ¶
func (c TaskMonitorLogPosition) MarshalJSON() ([]byte, error)
func (*TaskMonitorLogPosition) UnmarshalJSON ¶
func (c *TaskMonitorLogPosition) UnmarshalJSON(b []byte) error
func (TaskMonitorLogPosition) Value ¶ added in v0.0.90
func (c TaskMonitorLogPosition) Value() string
type TaskMonitorLogPositionEnum ¶
type TaskMonitorLogPositionEnum struct { ADAPTER TaskMonitorLogPosition READER TaskMonitorLogPosition WRITER TaskMonitorLogPosition }
func GetTaskMonitorLogPositionEnum ¶
func GetTaskMonitorLogPositionEnum() TaskMonitorLogPositionEnum
type TaskMonitorLogPositionStatus ¶
type TaskMonitorLogPositionStatus struct {
// contains filtered or unexported fields
}
func (TaskMonitorLogPositionStatus) MarshalJSON ¶
func (c TaskMonitorLogPositionStatus) MarshalJSON() ([]byte, error)
func (*TaskMonitorLogPositionStatus) UnmarshalJSON ¶
func (c *TaskMonitorLogPositionStatus) UnmarshalJSON(b []byte) error
func (TaskMonitorLogPositionStatus) Value ¶ added in v0.0.90
func (c TaskMonitorLogPositionStatus) Value() string
type TaskMonitorLogPositionStatusEnum ¶
type TaskMonitorLogPositionStatusEnum struct { NORMAL TaskMonitorLogPositionStatus NODE_END TaskMonitorLogPositionStatus RUNTIME_CANCEL TaskMonitorLogPositionStatus TASK_END TaskMonitorLogPositionStatus RUNTIME_ERR TaskMonitorLogPositionStatus INTERNAL_ERR TaskMonitorLogPositionStatus }
func GetTaskMonitorLogPositionStatusEnum ¶
func GetTaskMonitorLogPositionStatusEnum() TaskMonitorLogPositionStatusEnum
type TaskStatisticDetails ¶
type TaskStatisticDetails struct { // 运行任务数量 RunningTasksCount *int32 `json:"running_tasks_count,omitempty"` // 异常任务数量 AbnormalTasksCount *int32 `json:"abnormal_tasks_count,omitempty"` // 终止任务数量 TerminatedTasksCount *int32 `json:"terminated_tasks_count,omitempty"` // 成功任务数量 CompletedTasksCount *int32 `json:"completed_tasks_count,omitempty"` }
每种状态任务的数量信息
func (TaskStatisticDetails) String ¶
func (o TaskStatisticDetails) String() string
type ThrottleApiBinding ¶
type ThrottleApiBinding struct { // API的发布记录编号 PublishId *string `json:"publish_id,omitempty"` // 策略作用域,取值如下: - 1:整个API - 2: 单个用户 - 3:单个APP 目前只支持1 Scope *ThrottleApiBindingScope `json:"scope,omitempty"` // 流控策略的ID StrategyId *string `json:"strategy_id,omitempty"` // 绑定时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 绑定关系的ID Id *string `json:"id,omitempty"` }
func (ThrottleApiBinding) String ¶
func (o ThrottleApiBinding) String() string
type ThrottleApiBindingCreate ¶
type ThrottleApiBindingCreate struct { // 流控策略编号 StrategyId string `json:"strategy_id"` // API的发布记录编号 PublishIds []string `json:"publish_ids"` }
func (ThrottleApiBindingCreate) String ¶
func (o ThrottleApiBindingCreate) String() string
type ThrottleApiBindingScope ¶
type ThrottleApiBindingScope struct {
// contains filtered or unexported fields
}
func (ThrottleApiBindingScope) MarshalJSON ¶
func (c ThrottleApiBindingScope) MarshalJSON() ([]byte, error)
func (*ThrottleApiBindingScope) UnmarshalJSON ¶
func (c *ThrottleApiBindingScope) UnmarshalJSON(b []byte) error
func (ThrottleApiBindingScope) Value ¶ added in v0.0.90
func (c ThrottleApiBindingScope) Value() int32
type ThrottleApiBindingScopeEnum ¶
type ThrottleApiBindingScopeEnum struct { E_1 ThrottleApiBindingScope E_2 ThrottleApiBindingScope E_3 ThrottleApiBindingScope }
func GetThrottleApiBindingScopeEnum ¶
func GetThrottleApiBindingScopeEnum() ThrottleApiBindingScopeEnum
type ThrottleBaseInfo ¶
type ThrottleBaseInfo struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit ThrottleBaseInfoTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *ThrottleBaseInfoType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site) UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` }
func (ThrottleBaseInfo) String ¶
func (o ThrottleBaseInfo) String() string
type ThrottleBaseInfoTimeUnit ¶
type ThrottleBaseInfoTimeUnit struct {
// contains filtered or unexported fields
}
func (ThrottleBaseInfoTimeUnit) MarshalJSON ¶
func (c ThrottleBaseInfoTimeUnit) MarshalJSON() ([]byte, error)
func (*ThrottleBaseInfoTimeUnit) UnmarshalJSON ¶
func (c *ThrottleBaseInfoTimeUnit) UnmarshalJSON(b []byte) error
func (ThrottleBaseInfoTimeUnit) Value ¶ added in v0.0.90
func (c ThrottleBaseInfoTimeUnit) Value() string
type ThrottleBaseInfoTimeUnitEnum ¶
type ThrottleBaseInfoTimeUnitEnum struct { SECOND ThrottleBaseInfoTimeUnit MINUTE ThrottleBaseInfoTimeUnit HOUR ThrottleBaseInfoTimeUnit DAY ThrottleBaseInfoTimeUnit }
func GetThrottleBaseInfoTimeUnitEnum ¶
func GetThrottleBaseInfoTimeUnitEnum() ThrottleBaseInfoTimeUnitEnum
type ThrottleBaseInfoType ¶
type ThrottleBaseInfoType struct {
// contains filtered or unexported fields
}
func (ThrottleBaseInfoType) MarshalJSON ¶
func (c ThrottleBaseInfoType) MarshalJSON() ([]byte, error)
func (*ThrottleBaseInfoType) UnmarshalJSON ¶
func (c *ThrottleBaseInfoType) UnmarshalJSON(b []byte) error
func (ThrottleBaseInfoType) Value ¶ added in v0.0.90
func (c ThrottleBaseInfoType) Value() int32
type ThrottleBaseInfoTypeEnum ¶
type ThrottleBaseInfoTypeEnum struct { E_1 ThrottleBaseInfoType E_2 ThrottleBaseInfoType }
func GetThrottleBaseInfoTypeEnum ¶
func GetThrottleBaseInfoTypeEnum() ThrottleBaseInfoTypeEnum
type ThrottleBindingBatchDelete ¶
type ThrottleBindingBatchDelete struct { // 需要解除绑定的API和流控策略绑定关系ID列表 ThrottleBindings *[]string `json:"throttle_bindings,omitempty"` }
func (ThrottleBindingBatchDelete) String ¶
func (o ThrottleBindingBatchDelete) String() string
type ThrottleBindingBatchFailure ¶
type ThrottleBindingBatchFailure struct { // 解除绑定失败的API和流控策略绑定关系ID BindId *string `json:"bind_id,omitempty"` // 解除绑定失败的错误码 ErrorCode *string `json:"error_code,omitempty"` // 解除绑定失败的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 解除绑定失败的API的ID ApiId *string `json:"api_id,omitempty"` // 解除绑定失败的API的名称 ApiName *string `json:"api_name,omitempty"` }
func (ThrottleBindingBatchFailure) String ¶
func (o ThrottleBindingBatchFailure) String() string
type ThrottleForApi ¶
type ThrottleForApi struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit ThrottleForApiTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *ThrottleForApiType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site) UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *ThrottleForApiIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 流控策略生效的环境(即在哪个环境上有效) EnvName *string `json:"env_name,omitempty"` // 流控策略与API绑定关系编号 BindId *string `json:"bind_id,omitempty"` // 流控策略与API绑定时间 BindTime *sdktime.SdkTime `json:"bind_time,omitempty"` }
func (ThrottleForApi) String ¶
func (o ThrottleForApi) String() string
type ThrottleForApiIsIncluSpecialThrottle ¶
type ThrottleForApiIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (ThrottleForApiIsIncluSpecialThrottle) MarshalJSON ¶
func (c ThrottleForApiIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*ThrottleForApiIsIncluSpecialThrottle) UnmarshalJSON ¶
func (c *ThrottleForApiIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
func (ThrottleForApiIsIncluSpecialThrottle) Value ¶ added in v0.0.90
func (c ThrottleForApiIsIncluSpecialThrottle) Value() int32
type ThrottleForApiIsIncluSpecialThrottleEnum ¶
type ThrottleForApiIsIncluSpecialThrottleEnum struct { E_1 ThrottleForApiIsIncluSpecialThrottle E_2 ThrottleForApiIsIncluSpecialThrottle }
func GetThrottleForApiIsIncluSpecialThrottleEnum ¶
func GetThrottleForApiIsIncluSpecialThrottleEnum() ThrottleForApiIsIncluSpecialThrottleEnum
type ThrottleForApiTimeUnit ¶
type ThrottleForApiTimeUnit struct {
// contains filtered or unexported fields
}
func (ThrottleForApiTimeUnit) MarshalJSON ¶
func (c ThrottleForApiTimeUnit) MarshalJSON() ([]byte, error)
func (*ThrottleForApiTimeUnit) UnmarshalJSON ¶
func (c *ThrottleForApiTimeUnit) UnmarshalJSON(b []byte) error
func (ThrottleForApiTimeUnit) Value ¶ added in v0.0.90
func (c ThrottleForApiTimeUnit) Value() string
type ThrottleForApiTimeUnitEnum ¶
type ThrottleForApiTimeUnitEnum struct { SECOND ThrottleForApiTimeUnit MINUTE ThrottleForApiTimeUnit HOUR ThrottleForApiTimeUnit DAY ThrottleForApiTimeUnit }
func GetThrottleForApiTimeUnitEnum ¶
func GetThrottleForApiTimeUnitEnum() ThrottleForApiTimeUnitEnum
type ThrottleForApiType ¶
type ThrottleForApiType struct {
// contains filtered or unexported fields
}
func (ThrottleForApiType) MarshalJSON ¶
func (c ThrottleForApiType) MarshalJSON() ([]byte, error)
func (*ThrottleForApiType) UnmarshalJSON ¶
func (c *ThrottleForApiType) UnmarshalJSON(b []byte) error
func (ThrottleForApiType) Value ¶ added in v0.0.90
func (c ThrottleForApiType) Value() int32
type ThrottleForApiTypeEnum ¶
type ThrottleForApiTypeEnum struct { E_1 ThrottleForApiType E_2 ThrottleForApiType }
func GetThrottleForApiTypeEnum ¶
func GetThrottleForApiTypeEnum() ThrottleForApiTypeEnum
type ThrottleSpecialBase ¶
type ThrottleSpecialBase struct { // 特殊配置的编号 Id *string `json:"id,omitempty"` // 特殊对象在流控时间内能够访问API的最大次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 设置时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 作用的APP名称 AppName *string `json:"app_name,omitempty"` // 作用的APP编号 AppId *string `json:"app_id,omitempty"` }
func (ThrottleSpecialBase) String ¶
func (o ThrottleSpecialBase) String() string
type ThrottleSpecialCreate ¶
type ThrottleSpecialCreate struct { // 流控时间内特殊对象能够访问API的最大次数限制 CallLimits int32 `json:"call_limits"` // 特殊APP的编号[或特殊租户的帐号ID](tag:hws;hws_hk;hcs;fcs;g42;) ObjectId string `json:"object_id"` // 特殊对象类型 ObjectType ThrottleSpecialCreateObjectType `json:"object_type"` }
func (ThrottleSpecialCreate) String ¶
func (o ThrottleSpecialCreate) String() string
type ThrottleSpecialCreateObjectType ¶
type ThrottleSpecialCreateObjectType struct {
// contains filtered or unexported fields
}
func (ThrottleSpecialCreateObjectType) MarshalJSON ¶
func (c ThrottleSpecialCreateObjectType) MarshalJSON() ([]byte, error)
func (*ThrottleSpecialCreateObjectType) UnmarshalJSON ¶
func (c *ThrottleSpecialCreateObjectType) UnmarshalJSON(b []byte) error
func (ThrottleSpecialCreateObjectType) Value ¶ added in v0.0.90
func (c ThrottleSpecialCreateObjectType) Value() string
type ThrottleSpecialCreateObjectTypeEnum ¶
type ThrottleSpecialCreateObjectTypeEnum struct { APP ThrottleSpecialCreateObjectType USER ThrottleSpecialCreateObjectType }
func GetThrottleSpecialCreateObjectTypeEnum ¶
func GetThrottleSpecialCreateObjectTypeEnum() ThrottleSpecialCreateObjectTypeEnum
type ThrottleSpecialInfo ¶
type ThrottleSpecialInfo struct { // 特殊配置的编号 Id *string `json:"id,omitempty"` // 特殊对象在流控时间内能够访问API的最大次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 设置时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 作用的APP名称 AppName *string `json:"app_name,omitempty"` // 作用的APP编号 AppId *string `json:"app_id,omitempty"` // 特殊对象的身份标识 ObjectId *string `json:"object_id,omitempty"` // 特殊对象类型:APP、USER ObjectType *string `json:"object_type,omitempty"` // [作用的APP或租户的名称](tag:hws;hws_hk;hcs;fcs;g42;)[作用的APP或租户ID](tag:Site) ObjectName *string `json:"object_name,omitempty"` // 流控策略编号 ThrottleId *string `json:"throttle_id,omitempty"` }
func (ThrottleSpecialInfo) String ¶
func (o ThrottleSpecialInfo) String() string
type ThrottleSpecialUpdate ¶
type ThrottleSpecialUpdate struct { // 流控时间内特殊对象能够访问API的最大次数限制 CallLimits int64 `json:"call_limits"` }
func (ThrottleSpecialUpdate) String ¶
func (o ThrottleSpecialUpdate) String() string
type ThrottlesInfo ¶
type ThrottlesInfo struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit ThrottlesInfoTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *ThrottlesInfoType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site) UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *ThrottlesInfoIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` }
func (ThrottlesInfo) String ¶
func (o ThrottlesInfo) String() string
type ThrottlesInfoIsIncluSpecialThrottle ¶
type ThrottlesInfoIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON ¶
func (c ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON ¶
func (c *ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
func (ThrottlesInfoIsIncluSpecialThrottle) Value ¶ added in v0.0.90
func (c ThrottlesInfoIsIncluSpecialThrottle) Value() int32
type ThrottlesInfoIsIncluSpecialThrottleEnum ¶
type ThrottlesInfoIsIncluSpecialThrottleEnum struct { E_1 ThrottlesInfoIsIncluSpecialThrottle E_2 ThrottlesInfoIsIncluSpecialThrottle }
func GetThrottlesInfoIsIncluSpecialThrottleEnum ¶
func GetThrottlesInfoIsIncluSpecialThrottleEnum() ThrottlesInfoIsIncluSpecialThrottleEnum
type ThrottlesInfoTimeUnit ¶
type ThrottlesInfoTimeUnit struct {
// contains filtered or unexported fields
}
func (ThrottlesInfoTimeUnit) MarshalJSON ¶
func (c ThrottlesInfoTimeUnit) MarshalJSON() ([]byte, error)
func (*ThrottlesInfoTimeUnit) UnmarshalJSON ¶
func (c *ThrottlesInfoTimeUnit) UnmarshalJSON(b []byte) error
func (ThrottlesInfoTimeUnit) Value ¶ added in v0.0.90
func (c ThrottlesInfoTimeUnit) Value() string
type ThrottlesInfoTimeUnitEnum ¶
type ThrottlesInfoTimeUnitEnum struct { SECOND ThrottlesInfoTimeUnit MINUTE ThrottlesInfoTimeUnit HOUR ThrottlesInfoTimeUnit DAY ThrottlesInfoTimeUnit }
func GetThrottlesInfoTimeUnitEnum ¶
func GetThrottlesInfoTimeUnitEnum() ThrottlesInfoTimeUnitEnum
type ThrottlesInfoType ¶
type ThrottlesInfoType struct {
// contains filtered or unexported fields
}
func (ThrottlesInfoType) MarshalJSON ¶
func (c ThrottlesInfoType) MarshalJSON() ([]byte, error)
func (*ThrottlesInfoType) UnmarshalJSON ¶
func (c *ThrottlesInfoType) UnmarshalJSON(b []byte) error
func (ThrottlesInfoType) Value ¶ added in v0.0.90
func (c ThrottlesInfoType) Value() int32
type ThrottlesInfoTypeEnum ¶
type ThrottlesInfoTypeEnum struct { E_1 ThrottlesInfoType E_2 ThrottlesInfoType }
func GetThrottlesInfoTypeEnum ¶
func GetThrottlesInfoTypeEnum() ThrottlesInfoTypeEnum
type Topic ¶
type Topic struct { // TOPIC的ID Id *int32 `json:"id,omitempty"` // TOPIC的名称 Name *string `json:"name,omitempty"` // TOPIC描述 Description *string `json:"description,omitempty"` // TOPIC权限, 主题权限 0-发布 1-订阅 Permission *TopicPermission `json:"permission,omitempty"` // TOPIC类型 0-基础TOPIC 1-用户自定义TOPIC IsPrivate *TopicIsPrivate `json:"is_private,omitempty"` }
type TopicIsPrivate ¶ added in v0.0.78
type TopicIsPrivate struct {
// contains filtered or unexported fields
}
func (TopicIsPrivate) MarshalJSON ¶ added in v0.0.78
func (c TopicIsPrivate) MarshalJSON() ([]byte, error)
func (*TopicIsPrivate) UnmarshalJSON ¶ added in v0.0.78
func (c *TopicIsPrivate) UnmarshalJSON(b []byte) error
func (TopicIsPrivate) Value ¶ added in v0.0.90
func (c TopicIsPrivate) Value() int32
type TopicIsPrivateEnum ¶ added in v0.0.78
type TopicIsPrivateEnum struct { E_0 TopicIsPrivate E_1 TopicIsPrivate }
func GetTopicIsPrivateEnum ¶ added in v0.0.78
func GetTopicIsPrivateEnum() TopicIsPrivateEnum
type TopicPermission ¶ added in v0.0.78
type TopicPermission struct {
// contains filtered or unexported fields
}
func (TopicPermission) MarshalJSON ¶ added in v0.0.78
func (c TopicPermission) MarshalJSON() ([]byte, error)
func (*TopicPermission) UnmarshalJSON ¶ added in v0.0.78
func (c *TopicPermission) UnmarshalJSON(b []byte) error
func (TopicPermission) Value ¶ added in v0.0.90
func (c TopicPermission) Value() int32
type TopicPermissionEnum ¶ added in v0.0.78
type TopicPermissionEnum struct { E_0 TopicPermission E_1 TopicPermission }
func GetTopicPermissionEnum ¶ added in v0.0.78
func GetTopicPermissionEnum() TopicPermissionEnum
type UnbindApiForAcl ¶
type UnbindApiForAcl struct { // API的认证方式 AuthType *string `json:"auth_type,omitempty"` // 发布的环境名 RunEnvName *string `json:"run_env_name,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // 发布记录的编号 PublishId *string `json:"publish_id,omitempty"` // API所属分组的编号 GroupId *string `json:"group_id,omitempty"` // API名称 Name *string `json:"name,omitempty"` // API描述 Remark *string `json:"remark,omitempty"` // 发布的环境id RunEnvId *string `json:"run_env_id,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API的请求地址 ReqUri *string `json:"req_uri,omitempty"` // API类型 Type *int32 `json:"type,omitempty"` // 绑定的其他同类型的ACL策略名称 AclName *string `json:"acl_name,omitempty"` }
func (UnbindApiForAcl) String ¶
func (o UnbindApiForAcl) String() string
type UnpublishLiveDataApiV2Request ¶
type UnpublishLiveDataApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 后端API的编号 LdApiId string `json:"ld_api_id"` }
Request Object
func (UnpublishLiveDataApiV2Request) String ¶
func (o UnpublishLiveDataApiV2Request) String() string
type UnpublishLiveDataApiV2Response ¶
type UnpublishLiveDataApiV2Response struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UnpublishLiveDataApiV2Response) String ¶
func (o UnpublishLiveDataApiV2Response) String() string
type UpdateAclStrategyV2Request ¶
type UpdateAclStrategyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // ACL策略的编号 AclId string `json:"acl_id"` Body *ApiAclCreate `json:"body,omitempty"` }
Request Object
func (UpdateAclStrategyV2Request) String ¶
func (o UpdateAclStrategyV2Request) String() string
type UpdateAclStrategyV2Response ¶
type UpdateAclStrategyV2Response struct { // 名称 AclName *string `json:"acl_name,omitempty"` // 类型: - PERMIT(白名单类型) - DENY(黑名单类型) AclType *string `json:"acl_type,omitempty"` // ACL策略值 AclValue *string `json:"acl_value,omitempty"` // 对象类型: - IP - DOMAIN EntityType *string `json:"entity_type,omitempty"` // 编号 Id *string `json:"id,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateAclStrategyV2Response) String ¶
func (o UpdateAclStrategyV2Response) String() string
type UpdateApiGroupV2Request ¶
type UpdateApiGroupV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` Body *ApiGroupBase `json:"body,omitempty"` }
Request Object
func (UpdateApiGroupV2Request) String ¶
func (o UpdateApiGroupV2Request) String() string
type UpdateApiGroupV2Response ¶
type UpdateApiGroupV2Response struct { // 编号 Id string `json:"id"` // API分组名称 Name string `json:"name"` // 状态 - 1: 有效 Status UpdateApiGroupV2ResponseStatus `json:"status"` // 系统默认分配的子域名 SlDomain string `json:"sl_domain"` // 创建时间 RegisterTime *sdktime.SdkTime `json:"register_time"` // 最近修改时间 UpdateTime *sdktime.SdkTime `json:"update_time"` // 是否已上架云市场: - 1:已上架 - 2:未上架 - 3:审核中 ROMAConnect暂未对接云市场,此字段默认返回2 OnSellStatus int32 `json:"on_sell_status"` // 分组上绑定的独立域名列表 UrlDomains *[]UrlDomain `json:"url_domains,omitempty"` // 系统默认分配的子域名列表 SlDomains *[]string `json:"sl_domains,omitempty"` // 描述 Remark *string `json:"remark,omitempty"` // 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置 暂不支持 CallLimits *int32 `json:"call_limits,omitempty"` // 流控时长 暂不支持 TimeInterval *int32 `json:"time_interval,omitempty"` // 流控的时间单位 暂不支持 TimeUnit *string `json:"time_unit,omitempty"` // 是否为默认分组 IsDefault *int32 `json:"is_default,omitempty"` // 分组版本 - V1:全局分组 - V2:应用级分组 Version *string `json:"version,omitempty"` // 分组归属的集成应用编号。 分组版本V2时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // 分组归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateApiGroupV2Response) String ¶
func (o UpdateApiGroupV2Response) String() string
type UpdateApiGroupV2ResponseStatus ¶
type UpdateApiGroupV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateApiGroupV2ResponseStatus) MarshalJSON ¶
func (c UpdateApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateApiGroupV2ResponseStatus) UnmarshalJSON ¶
func (c *UpdateApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateApiGroupV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateApiGroupV2ResponseStatus) Value() int32
type UpdateApiGroupV2ResponseStatusEnum ¶
type UpdateApiGroupV2ResponseStatusEnum struct {
E_1 UpdateApiGroupV2ResponseStatus
}
func GetUpdateApiGroupV2ResponseStatusEnum ¶
func GetUpdateApiGroupV2ResponseStatusEnum() UpdateApiGroupV2ResponseStatusEnum
type UpdateApiV2Request ¶
type UpdateApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // API的编号 ApiId string `json:"api_id"` Body *ApiCreate `json:"body,omitempty"` }
Request Object
func (UpdateApiV2Request) String ¶
func (o UpdateApiV2Request) String() string
type UpdateApiV2Response ¶
type UpdateApiV2Response struct { // API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // API类型[,该参数暂未使用](tag:hcs;fcs;) - 1:公有API - 2:私有API Type UpdateApiV2ResponseType `json:"type"` // API的版本 Version *string `json:"version,omitempty"` // API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS ReqProtocol UpdateApiV2ResponseReqProtocol `json:"req_protocol"` // API的请求方式 ReqMethod UpdateApiV2ResponseReqMethod `json:"req_method"` // 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。 > 需要服从URI规范。 ReqUri string `json:"req_uri"` // API的认证方式[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证 AuthType UpdateApiV2ResponseAuthType `json:"auth_type"` AuthOpt *AuthOpt `json:"auth_opt,omitempty"` // 是否支持跨域 - TRUE:支持 - FALSE:不支持 Cors *bool `json:"cors,omitempty"` // API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL MatchMode *UpdateApiV2ResponseMatchMode `json:"match_mode,omitempty"` // 后端类型[,site暂不支持函数工作流。](tag:Site) - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端 BackendType UpdateApiV2ResponseBackendType `json:"backend_type"` // API描述。 不允许带有<、>字符 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API所属的分组编号 GroupId string `json:"group_id"` // API请求体描述,可以是请求体示例、媒体类型、参数等信息。 > 中文字符必须为UTF-8或者unicode编码。 BodyRemark *string `json:"body_remark,omitempty"` // 正常响应示例,描述API的正常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultNormalSample *string `json:"result_normal_sample,omitempty"` // 失败返回示例,描述API的异常返回信息。 > 中文字符必须为UTF-8或者unicode编码。 ResultFailureSample *string `json:"result_failure_sample,omitempty"` // 前端自定义认证对象的ID AuthorizerId *string `json:"authorizer_id,omitempty"` // 标签。 支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。支持输入多个标签,不同标签以英文逗号分割。 默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。 Tags *[]string `json:"tags,omitempty"` // 分组自定义响应ID 暂不支持 ResponseId *string `json:"response_id,omitempty"` // API归属的集成应用编号 API分组为全局分组时或API绑定自定义域名时必填。 RomaAppId *string `json:"roma_app_id,omitempty"` // API绑定的自定义域名,使用自定义域名时roma_app_id字段必填。 DomainName *string `json:"domain_name,omitempty"` // 标签 待废弃,优先使用tags字段 Tag *string `json:"tag,omitempty"` // 请求内容格式类型: application/json application/xml multipart/form-date text/plain ContentType *UpdateApiV2ResponseContentType `json:"content_type,omitempty"` // API编号 Id *string `json:"id,omitempty"` // API状态 - 1: 有效 Status *UpdateApiV2ResponseStatus `json:"status,omitempty"` // 是否需要编排 ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"` // API注册时间 RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"` // API修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // API所属分组的名称 GroupName *string `json:"group_name,omitempty"` // API所属分组的版本 GroupVersion *string `json:"group_version,omitempty"` // 发布的环境名称 存在多个发布记录时,环境名称之间用|隔开 RunEnvName *string `json:"run_env_name,omitempty"` // 发布的环境编号 存在多个发布记录时,环境编号之间用|隔开 RunEnvId *string `json:"run_env_id,omitempty"` // 发布记录编号 存在多个发布记录时,发布记录编号之间用|隔开 PublishId *string `json:"publish_id,omitempty"` // 发布时间 存在多个发布记录时,发布时间之间用|隔开 PublishTime *string `json:"publish_time,omitempty"` // API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` // 当API的后端为自定义后端时,对应的自定义后端API编号 LdApiId *string `json:"ld_api_id,omitempty"` BackendApi *BackendApi `json:"backend_api,omitempty"` ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"` FuncInfo *ApiFunc `json:"func_info,omitempty"` MockInfo *ApiMock `json:"mock_info,omitempty"` // API的请求参数列表 ReqParams *[]ReqParam `json:"req_params,omitempty"` // API的后端参数列表 BackendParams *[]BackendParam `json:"backend_params,omitempty"` // [函数工作流策略后端列表](tag:hws;hws_hk;hcs;fcs;g42;)[暂不支持](tag:Site) PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"` // mock策略后端列表 PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"` // web策略后端列表 PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateApiV2Response) String ¶
func (o UpdateApiV2Response) String() string
type UpdateApiV2ResponseAuthType ¶
type UpdateApiV2ResponseAuthType struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseAuthType) MarshalJSON ¶
func (c UpdateApiV2ResponseAuthType) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseAuthType) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseAuthType) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseAuthType) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseAuthType) Value() string
type UpdateApiV2ResponseAuthTypeEnum ¶
type UpdateApiV2ResponseAuthTypeEnum struct { NONE UpdateApiV2ResponseAuthType APP UpdateApiV2ResponseAuthType IAM UpdateApiV2ResponseAuthType AUTHORIZER UpdateApiV2ResponseAuthType }
func GetUpdateApiV2ResponseAuthTypeEnum ¶
func GetUpdateApiV2ResponseAuthTypeEnum() UpdateApiV2ResponseAuthTypeEnum
type UpdateApiV2ResponseBackendType ¶
type UpdateApiV2ResponseBackendType struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseBackendType) MarshalJSON ¶
func (c UpdateApiV2ResponseBackendType) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseBackendType) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseBackendType) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseBackendType) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseBackendType) Value() string
type UpdateApiV2ResponseBackendTypeEnum ¶
type UpdateApiV2ResponseBackendTypeEnum struct { HTTP UpdateApiV2ResponseBackendType FUNCTION UpdateApiV2ResponseBackendType MOCK UpdateApiV2ResponseBackendType }
func GetUpdateApiV2ResponseBackendTypeEnum ¶
func GetUpdateApiV2ResponseBackendTypeEnum() UpdateApiV2ResponseBackendTypeEnum
type UpdateApiV2ResponseContentType ¶
type UpdateApiV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseContentType) MarshalJSON ¶
func (c UpdateApiV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseContentType) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseContentType) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseContentType) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseContentType) Value() string
type UpdateApiV2ResponseContentTypeEnum ¶
type UpdateApiV2ResponseContentTypeEnum struct { APPLICATION_JSON UpdateApiV2ResponseContentType APPLICATION_XML UpdateApiV2ResponseContentType MULTIPART_FORM_DATE UpdateApiV2ResponseContentType TEXT_PLAIN UpdateApiV2ResponseContentType }
func GetUpdateApiV2ResponseContentTypeEnum ¶
func GetUpdateApiV2ResponseContentTypeEnum() UpdateApiV2ResponseContentTypeEnum
type UpdateApiV2ResponseMatchMode ¶
type UpdateApiV2ResponseMatchMode struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseMatchMode) MarshalJSON ¶
func (c UpdateApiV2ResponseMatchMode) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseMatchMode) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseMatchMode) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseMatchMode) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseMatchMode) Value() string
type UpdateApiV2ResponseMatchModeEnum ¶
type UpdateApiV2ResponseMatchModeEnum struct { SWA UpdateApiV2ResponseMatchMode NORMAL UpdateApiV2ResponseMatchMode }
func GetUpdateApiV2ResponseMatchModeEnum ¶
func GetUpdateApiV2ResponseMatchModeEnum() UpdateApiV2ResponseMatchModeEnum
type UpdateApiV2ResponseReqMethod ¶
type UpdateApiV2ResponseReqMethod struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseReqMethod) MarshalJSON ¶
func (c UpdateApiV2ResponseReqMethod) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseReqMethod) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseReqMethod) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseReqMethod) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseReqMethod) Value() string
type UpdateApiV2ResponseReqMethodEnum ¶
type UpdateApiV2ResponseReqMethodEnum struct { GET UpdateApiV2ResponseReqMethod POST UpdateApiV2ResponseReqMethod PUT UpdateApiV2ResponseReqMethod DELETE UpdateApiV2ResponseReqMethod HEAD UpdateApiV2ResponseReqMethod PATCH UpdateApiV2ResponseReqMethod OPTIONS UpdateApiV2ResponseReqMethod ANY UpdateApiV2ResponseReqMethod }
func GetUpdateApiV2ResponseReqMethodEnum ¶
func GetUpdateApiV2ResponseReqMethodEnum() UpdateApiV2ResponseReqMethodEnum
type UpdateApiV2ResponseReqProtocol ¶
type UpdateApiV2ResponseReqProtocol struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseReqProtocol) MarshalJSON ¶
func (c UpdateApiV2ResponseReqProtocol) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseReqProtocol) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseReqProtocol) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseReqProtocol) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseReqProtocol) Value() string
type UpdateApiV2ResponseReqProtocolEnum ¶
type UpdateApiV2ResponseReqProtocolEnum struct { HTTP UpdateApiV2ResponseReqProtocol HTTPS UpdateApiV2ResponseReqProtocol BOTH UpdateApiV2ResponseReqProtocol }
func GetUpdateApiV2ResponseReqProtocolEnum ¶
func GetUpdateApiV2ResponseReqProtocolEnum() UpdateApiV2ResponseReqProtocolEnum
type UpdateApiV2ResponseStatus ¶
type UpdateApiV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseStatus) MarshalJSON ¶
func (c UpdateApiV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseStatus) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseStatus) Value() int32
type UpdateApiV2ResponseStatusEnum ¶
type UpdateApiV2ResponseStatusEnum struct {
E_1 UpdateApiV2ResponseStatus
}
func GetUpdateApiV2ResponseStatusEnum ¶
func GetUpdateApiV2ResponseStatusEnum() UpdateApiV2ResponseStatusEnum
type UpdateApiV2ResponseType ¶
type UpdateApiV2ResponseType struct {
// contains filtered or unexported fields
}
func (UpdateApiV2ResponseType) MarshalJSON ¶
func (c UpdateApiV2ResponseType) MarshalJSON() ([]byte, error)
func (*UpdateApiV2ResponseType) UnmarshalJSON ¶
func (c *UpdateApiV2ResponseType) UnmarshalJSON(b []byte) error
func (UpdateApiV2ResponseType) Value ¶ added in v0.0.90
func (c UpdateApiV2ResponseType) Value() int32
type UpdateApiV2ResponseTypeEnum ¶
type UpdateApiV2ResponseTypeEnum struct { E_1 UpdateApiV2ResponseType E_2 UpdateApiV2ResponseType }
func GetUpdateApiV2ResponseTypeEnum ¶
func GetUpdateApiV2ResponseTypeEnum() UpdateApiV2ResponseTypeEnum
type UpdateAppAclRequest ¶
type UpdateAppAclRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` Body *AppAclCreate `json:"body,omitempty"` }
Request Object
func (UpdateAppAclRequest) String ¶
func (o UpdateAppAclRequest) String() string
type UpdateAppAclResponse ¶
type UpdateAppAclResponse struct { // APP编号 AppId *string `json:"app_id,omitempty"` // 类型 - PERMIT (白名单类型) - DENY (黑名单类型) AppAclType *string `json:"app_acl_type,omitempty"` // ACL策略值,支持IP、IP范围和CIDR方式。IP范围以英文中划线分隔。 AppAclValues *[]string `json:"app_acl_values,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateAppAclResponse) String ¶
func (o UpdateAppAclResponse) String() string
type UpdateAppConfigV2Request ¶
type UpdateAppConfigV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 应用编号 AppId string `json:"app_id"` // 应用配置编号 AppConfigId string `json:"app_config_id"` Body *AppConfigModifyRequestV2 `json:"body,omitempty"` }
Request Object
func (UpdateAppConfigV2Request) String ¶
func (o UpdateAppConfigV2Request) String() string
type UpdateAppConfigV2Response ¶
type UpdateAppConfigV2Response struct { // 应用配置编号 Id *string `json:"id,omitempty"` // 应用编号 AppId *string `json:"app_id,omitempty"` // 应用配置类型 ConfigType *string `json:"config_type,omitempty"` // 应用配置名称 ConfigName *string `json:"config_name,omitempty"` // 应用配置值 ConfigValue *string `json:"config_value,omitempty"` // 应用配置更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 应用配置描述 Description *string `json:"description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateAppConfigV2Response) String ¶
func (o UpdateAppConfigV2Response) String() string
type UpdateAppQuotaRequest ¶
type UpdateAppQuotaRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 客户端配额编号 AppQuotaId string `json:"app_quota_id"` Body *AppQuotaCreate `json:"body,omitempty"` }
Request Object
func (UpdateAppQuotaRequest) String ¶
func (o UpdateAppQuotaRequest) String() string
type UpdateAppQuotaResponse ¶
type UpdateAppQuotaResponse struct { // 客户端配额编号 AppQuotaId *string `json:"app_quota_id,omitempty"` // 配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3-255字符 Name *string `json:"name,omitempty"` // 客户端配额的访问次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天 TimeUnit *UpdateAppQuotaResponseTimeUnit `json:"time_unit,omitempty"` // 配额的限定时间值 TimeInterval *int32 `json:"time_interval,omitempty"` // 参数说明和描述 Remark *string `json:"remark,omitempty"` // 首次配额重置时间点,不配置默认为首次调用时间计算 ResetTime *string `json:"reset_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 配额策略已绑定应用数量 BoundAppNum *int32 `json:"bound_app_num,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateAppQuotaResponse) String ¶
func (o UpdateAppQuotaResponse) String() string
type UpdateAppQuotaResponseTimeUnit ¶
type UpdateAppQuotaResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (UpdateAppQuotaResponseTimeUnit) MarshalJSON ¶
func (c UpdateAppQuotaResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*UpdateAppQuotaResponseTimeUnit) UnmarshalJSON ¶
func (c *UpdateAppQuotaResponseTimeUnit) UnmarshalJSON(b []byte) error
func (UpdateAppQuotaResponseTimeUnit) Value ¶ added in v0.0.90
func (c UpdateAppQuotaResponseTimeUnit) Value() string
type UpdateAppQuotaResponseTimeUnitEnum ¶
type UpdateAppQuotaResponseTimeUnitEnum struct { SECOND UpdateAppQuotaResponseTimeUnit MINUTE UpdateAppQuotaResponseTimeUnit HOUR UpdateAppQuotaResponseTimeUnit DAY UpdateAppQuotaResponseTimeUnit }
func GetUpdateAppQuotaResponseTimeUnitEnum ¶
func GetUpdateAppQuotaResponseTimeUnitEnum() UpdateAppQuotaResponseTimeUnitEnum
type UpdateAppReq ¶
type UpdateAppReq struct { // 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 应用描述 Remark *string `json:"remark,omitempty"` // 是否收藏应用,收藏的应用会在列表里优先显示 Favorite *bool `json:"favorite,omitempty"` }
func (UpdateAppReq) String ¶
func (o UpdateAppReq) String() string
type UpdateAppSecretReq ¶
type UpdateAppSecretReq struct { // 应用认证访问SECRET,未提供(字段不存在或值为null)时随机生成 - 字符集:英文字母、数字、!、@、#、$、%、+、=、点、中划线、斜线/ - 复杂度:满足大小写字母、数字、特殊字符的复杂度组合,考虑兼容性暂时可不做 Secret *string `json:"secret,omitempty"` }
func (UpdateAppSecretReq) String ¶
func (o UpdateAppSecretReq) String() string
type UpdateBackendInstancesV2Request ¶
type UpdateBackendInstancesV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *VpcMemberModify `json:"body,omitempty"` }
Request Object
func (UpdateBackendInstancesV2Request) String ¶
func (o UpdateBackendInstancesV2Request) String() string
type UpdateBackendInstancesV2Response ¶
type UpdateBackendInstancesV2Response struct { // 本次返回的列表长度 Size int32 `json:"size"` // 满足条件的记录数 Total int64 `json:"total"` // 本次查询到的云服务器列表 Members *[]VpcMemberInfo `json:"members,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateBackendInstancesV2Response) String ¶
func (o UpdateBackendInstancesV2Response) String() string
type UpdateCommandRequest ¶
type UpdateCommandRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` Body *UpdateCommandRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateCommandRequest) String ¶
func (o UpdateCommandRequest) String() string
type UpdateCommandRequestBody ¶
type UpdateCommandRequestBody struct { // 服务命令名称,支持大小写字母,数字,中划线及下划线,长度2-50 Name string `json:"name"` // 服务命令描述,长度0-200 Description *string `json:"description,omitempty"` }
func (UpdateCommandRequestBody) String ¶
func (o UpdateCommandRequestBody) String() string
type UpdateCommandResponse ¶
type UpdateCommandResponse struct { // 命令所属服务id ServiceId *int32 `json:"service_id,omitempty"` // 命令id CommandId *int32 `json:"command_id,omitempty"` // 命令名称 CommandName *string `json:"command_name,omitempty"` // 命令描述 Description *string `json:"description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateCommandResponse) String ¶
func (o UpdateCommandResponse) String() string
type UpdateCustomAuthorizerV2Request ¶
type UpdateCustomAuthorizerV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 自定义认证的编号 AuthorizerId string `json:"authorizer_id"` Body *AuthorizerCreate `json:"body,omitempty"` }
Request Object
func (UpdateCustomAuthorizerV2Request) String ¶
func (o UpdateCustomAuthorizerV2Request) String() string
type UpdateCustomAuthorizerV2Response ¶
type UpdateCustomAuthorizerV2Response struct { // 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。 Name string `json:"name"` // 自定义认证类型 - FRONTEND:前端 - BACKEND:后端 Type UpdateCustomAuthorizerV2ResponseType `json:"type"` // 自定义认证函数类型: - LD:自定义后端函数 - FUNC:函数服务函数 AuthorizerType UpdateCustomAuthorizerV2ResponseAuthorizerType `json:"authorizer_type"` // 函数地址。 注意:使用自定义后端的函数API,API请求方法必须为POST,且API状态必须为已部署。 AuthorizerUri string `json:"authorizer_uri"` // 认证来源 Identities *[]Identity `json:"identities,omitempty"` // 缓存时间 Ttl *int32 `json:"ttl,omitempty"` // 用户数据 UserData *string `json:"user_data,omitempty"` // 自定义后端服务ID。 自定义认证函数类型为LD时必填 LdApiId *string `json:"ld_api_id,omitempty"` // 是否发送body NeedBody *bool `json:"need_body,omitempty"` // 自定义认证编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 自定义认证所属应用编号 RomaAppId *string `json:"roma_app_id,omitempty"` // 自定义认证所属应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateCustomAuthorizerV2Response) String ¶
func (o UpdateCustomAuthorizerV2Response) String() string
type UpdateCustomAuthorizerV2ResponseAuthorizerType ¶
type UpdateCustomAuthorizerV2ResponseAuthorizerType struct {
// contains filtered or unexported fields
}
func (UpdateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON ¶
func (c UpdateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON() ([]byte, error)
func (*UpdateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON ¶
func (c *UpdateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON(b []byte) error
func (UpdateCustomAuthorizerV2ResponseAuthorizerType) Value ¶ added in v0.0.90
func (c UpdateCustomAuthorizerV2ResponseAuthorizerType) Value() string
type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum ¶
type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum struct { LD UpdateCustomAuthorizerV2ResponseAuthorizerType FUNC UpdateCustomAuthorizerV2ResponseAuthorizerType }
func GetUpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum ¶
func GetUpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum() UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum
type UpdateCustomAuthorizerV2ResponseType ¶
type UpdateCustomAuthorizerV2ResponseType struct {
// contains filtered or unexported fields
}
func (UpdateCustomAuthorizerV2ResponseType) MarshalJSON ¶
func (c UpdateCustomAuthorizerV2ResponseType) MarshalJSON() ([]byte, error)
func (*UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON ¶
func (c *UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON(b []byte) error
func (UpdateCustomAuthorizerV2ResponseType) Value ¶ added in v0.0.90
func (c UpdateCustomAuthorizerV2ResponseType) Value() string
type UpdateCustomAuthorizerV2ResponseTypeEnum ¶
type UpdateCustomAuthorizerV2ResponseTypeEnum struct { FRONTEND UpdateCustomAuthorizerV2ResponseType BACKEND UpdateCustomAuthorizerV2ResponseType }
func GetUpdateCustomAuthorizerV2ResponseTypeEnum ¶
func GetUpdateCustomAuthorizerV2ResponseTypeEnum() UpdateCustomAuthorizerV2ResponseTypeEnum
type UpdateDatasourceInfoRequest ¶
type UpdateDatasourceInfoRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 数据源ID DatasourceId string `json:"datasource_id"` Body *DatasourceInfo `json:"body,omitempty"` }
Request Object
func (UpdateDatasourceInfoRequest) String ¶
func (o UpdateDatasourceInfoRequest) String() string
type UpdateDatasourceInfoResponse ¶
type UpdateDatasourceInfoResponse struct { // 数据源ID DatasourceId *string `json:"datasource_id,omitempty"` // 数据源名称 DatasourceName *string `json:"datasource_name,omitempty"` // 数据源类型 - DWS - MYSQL - KAFKA - API - OBS - SAP - MRSHBASE - MRSHDFS - MRSHIVE - WEBSOCKET - SQLSERVER - ORACLE - POSTGRESQL - REDIS - MONGODB - DIS - HL7 - RABBITMQ - SNMP - IBMMQ - CUSTOMIZED (自定义类型) - ACTIVEMQ - ARTEMISMQ - FTP - HIVE - HANA - FIKAFKA - MRSKAFKA - FIHDFS - FIHIVE - GAUSS200 - GAUSS100 - LDAP - DB2 - TAURUS DatasourceType *UpdateDatasourceInfoResponseDatasourceType `json:"datasource_type,omitempty"` // 数据源所属虚拟私有云VpcId VpcId *string `json:"vpc_id,omitempty"` // 数据源所属应用ID AppId *string `json:"app_id,omitempty"` // 数据源所属应用名称 AppName *string `json:"app_name,omitempty"` // 数据源所属实例Id InstanceId *string `json:"instance_id,omitempty"` // 数据源创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 数据源修改时间 UpdateTime *int64 `json:"update_time,omitempty"` // 数据源所属连接器Id CustomPluginId *string `json:"custom_plugin_id,omitempty"` Content *Content `json:"content,omitempty"` // 数据源描述 Description *string `json:"description,omitempty"` // 集成应用权限信息 - read (读权限) - access (调用权限) - delete (删除权限) - modify (修改权限) AppPermission *[]UpdateDatasourceInfoResponseAppPermission `json:"app_permission,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDatasourceInfoResponse) String ¶
func (o UpdateDatasourceInfoResponse) String() string
type UpdateDatasourceInfoResponseAppPermission ¶
type UpdateDatasourceInfoResponseAppPermission struct {
// contains filtered or unexported fields
}
func (UpdateDatasourceInfoResponseAppPermission) MarshalJSON ¶
func (c UpdateDatasourceInfoResponseAppPermission) MarshalJSON() ([]byte, error)
func (*UpdateDatasourceInfoResponseAppPermission) UnmarshalJSON ¶
func (c *UpdateDatasourceInfoResponseAppPermission) UnmarshalJSON(b []byte) error
func (UpdateDatasourceInfoResponseAppPermission) Value ¶ added in v0.0.90
func (c UpdateDatasourceInfoResponseAppPermission) Value() string
type UpdateDatasourceInfoResponseAppPermissionEnum ¶
type UpdateDatasourceInfoResponseAppPermissionEnum struct { READ UpdateDatasourceInfoResponseAppPermission ACCESS UpdateDatasourceInfoResponseAppPermission DELETE UpdateDatasourceInfoResponseAppPermission MODIFY UpdateDatasourceInfoResponseAppPermission }
func GetUpdateDatasourceInfoResponseAppPermissionEnum ¶
func GetUpdateDatasourceInfoResponseAppPermissionEnum() UpdateDatasourceInfoResponseAppPermissionEnum
type UpdateDatasourceInfoResponseDatasourceType ¶
type UpdateDatasourceInfoResponseDatasourceType struct {
// contains filtered or unexported fields
}
func (UpdateDatasourceInfoResponseDatasourceType) MarshalJSON ¶
func (c UpdateDatasourceInfoResponseDatasourceType) MarshalJSON() ([]byte, error)
func (*UpdateDatasourceInfoResponseDatasourceType) UnmarshalJSON ¶
func (c *UpdateDatasourceInfoResponseDatasourceType) UnmarshalJSON(b []byte) error
func (UpdateDatasourceInfoResponseDatasourceType) Value ¶ added in v0.0.90
func (c UpdateDatasourceInfoResponseDatasourceType) Value() string
type UpdateDatasourceInfoResponseDatasourceTypeEnum ¶
type UpdateDatasourceInfoResponseDatasourceTypeEnum struct { DWS UpdateDatasourceInfoResponseDatasourceType MYSQL UpdateDatasourceInfoResponseDatasourceType KAFKA UpdateDatasourceInfoResponseDatasourceType API UpdateDatasourceInfoResponseDatasourceType OBS UpdateDatasourceInfoResponseDatasourceType SAP UpdateDatasourceInfoResponseDatasourceType MRSHBASE UpdateDatasourceInfoResponseDatasourceType MRSHDFS UpdateDatasourceInfoResponseDatasourceType MRSHIVE UpdateDatasourceInfoResponseDatasourceType WEBSOCKET UpdateDatasourceInfoResponseDatasourceType SQLSERVER UpdateDatasourceInfoResponseDatasourceType ORACLE UpdateDatasourceInfoResponseDatasourceType POSTGRESQL UpdateDatasourceInfoResponseDatasourceType REDIS UpdateDatasourceInfoResponseDatasourceType MONGODB UpdateDatasourceInfoResponseDatasourceType DIS UpdateDatasourceInfoResponseDatasourceType HL7 UpdateDatasourceInfoResponseDatasourceType RABBITMQ UpdateDatasourceInfoResponseDatasourceType SNMP UpdateDatasourceInfoResponseDatasourceType IBMMQ UpdateDatasourceInfoResponseDatasourceType CUSTOMIZED UpdateDatasourceInfoResponseDatasourceType ACTIVEMQ UpdateDatasourceInfoResponseDatasourceType ARTEMISMQ UpdateDatasourceInfoResponseDatasourceType FTP UpdateDatasourceInfoResponseDatasourceType HIVE UpdateDatasourceInfoResponseDatasourceType HANA UpdateDatasourceInfoResponseDatasourceType FIKAFKA UpdateDatasourceInfoResponseDatasourceType MRSKAFKA UpdateDatasourceInfoResponseDatasourceType FIHDFS UpdateDatasourceInfoResponseDatasourceType FIHIVE UpdateDatasourceInfoResponseDatasourceType GAUSS200 UpdateDatasourceInfoResponseDatasourceType GAUSS100 UpdateDatasourceInfoResponseDatasourceType LDAP UpdateDatasourceInfoResponseDatasourceType DB2 UpdateDatasourceInfoResponseDatasourceType TAURUS UpdateDatasourceInfoResponseDatasourceType }
func GetUpdateDatasourceInfoResponseDatasourceTypeEnum ¶
func GetUpdateDatasourceInfoResponseDatasourceTypeEnum() UpdateDatasourceInfoResponseDatasourceTypeEnum
type UpdateDeviceGroupRequest ¶
type UpdateDeviceGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备分组ID GroupId int32 `json:"group_id"` Body *UpdateDeviceGroupRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateDeviceGroupRequest) String ¶
func (o UpdateDeviceGroupRequest) String() string
type UpdateDeviceGroupRequestBody ¶
type UpdateDeviceGroupRequestBody struct { // 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 Name string `json:"name"` // 分组描述,长度0-200 Description *string `json:"description,omitempty"` }
func (UpdateDeviceGroupRequestBody) String ¶
func (o UpdateDeviceGroupRequestBody) String() string
type UpdateDeviceGroupResponse ¶
type UpdateDeviceGroupResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 父分组ID ParentId *int32 `json:"parent_id,omitempty"` // 分组ID Id *int32 `json:"id,omitempty"` // 分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 Name *string `json:"name,omitempty"` // 分组描述,长度0-200 Description *string `json:"description,omitempty"` // 分组归属应用ID AppId *string `json:"app_id,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间 CreatedDatetime *string `json:"created_datetime,omitempty"` // 最后修改时间 LastUpdatedDatetime *string `json:"last_updated_datetime,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDeviceGroupResponse) String ¶
func (o UpdateDeviceGroupResponse) String() string
type UpdateDeviceRequest ¶
type UpdateDeviceRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 设备ID DeviceId int32 `json:"device_id"` Body *UpdateDeviceRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateDeviceRequest) String ¶
func (o UpdateDeviceRequest) String() string
type UpdateDeviceRequestBody ¶
type UpdateDeviceRequestBody struct { // 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64 DeviceName string `json:"device_name"` // 设备状态 0启用 1禁用 Status UpdateDeviceRequestBodyStatus `json:"status"` // 备注 Description *string `json:"description,omitempty"` // 标签 Tags *[]string `json:"tags,omitempty"` }
func (UpdateDeviceRequestBody) String ¶
func (o UpdateDeviceRequestBody) String() string
type UpdateDeviceRequestBodyStatus ¶ added in v0.0.78
type UpdateDeviceRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (UpdateDeviceRequestBodyStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateDeviceRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*UpdateDeviceRequestBodyStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateDeviceRequestBodyStatus) UnmarshalJSON(b []byte) error
func (UpdateDeviceRequestBodyStatus) Value ¶ added in v0.0.90
func (c UpdateDeviceRequestBodyStatus) Value() int32
type UpdateDeviceRequestBodyStatusEnum ¶ added in v0.0.78
type UpdateDeviceRequestBodyStatusEnum struct { E_0 UpdateDeviceRequestBodyStatus E_1 UpdateDeviceRequestBodyStatus }
func GetUpdateDeviceRequestBodyStatusEnum ¶ added in v0.0.78
func GetUpdateDeviceRequestBodyStatusEnum() UpdateDeviceRequestBodyStatusEnum
type UpdateDeviceResponse ¶
type UpdateDeviceResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 设备ID Id *int32 `json:"id,omitempty"` // 父设备ID ParentDeviceId *int32 `json:"parent_device_id,omitempty"` // 父设备名称 ParentDeviceName *string `json:"parent_device_name,omitempty"` Product *ProductReferer `json:"product,omitempty"` // 设备名称,支持中文、中文标点符号()。;,:“”、?《》及英文大小写、数字及英文符号()_,#.?'-@%&!, 长度2-64 DeviceName *string `json:"device_name,omitempty"` // 实例id InstanceId *string `json:"instance_id,omitempty"` // 设备客户端ID,平台生成的设备唯一标识 ClientId *string `json:"client_id,omitempty"` // 设备物理编号,通常使用MAC或者IMEI号,支持英文大小写,数字,下划线和中划线,长度2-64 NodeId *string `json:"node_id,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 设备状态 0-启用 1-禁用 Status *UpdateDeviceResponseStatus `json:"status,omitempty"` // 是否在线 0-未连接 1-在线 2-离线 OnlineStatus *UpdateDeviceResponseOnlineStatus `json:"online_status,omitempty"` // 备注 Description *string `json:"description,omitempty"` Authentication *Authentication `json:"authentication,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 标签 Tags *[]string `json:"tags,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` // 设备接入地址 ConnectAddress *string `json:"connect_address,omitempty"` // 设备接入SSL地址 SslConnectAddress *string `json:"ssl_connect_address,omitempty"` // 设备接入IPV6地址 Ipv6ConnectAddress *string `json:"ipv6_connect_address,omitempty"` // 设备接入IPV6 SSL地址 Ipv6SslConnectAddress *string `json:"ipv6_ssl_connect_address,omitempty"` // 最后登录时间 LastLoginDatetime *int64 `json:"last_login_datetime,omitempty"` // 节点类型 0-直连 1-网关 2-子设备 NodeType *int32 `json:"node_type,omitempty"` // 设备类型<br>0-普通设备(无子设备也无父设备)<br>1-网关设备(可挂载子设备)<br>2-子设备(归属于某个网关设备) DeviceType *UpdateDeviceResponseDeviceType `json:"device_type,omitempty"` // 客户端ip ClientIp *string `json:"client_ip,omitempty"` // 心跳时间 KeepAlive *string `json:"keep_alive,omitempty"` // 最后登录时间 LastActiveTime *int64 `json:"last_active_time,omitempty"` // 设备版本 Version *string `json:"version,omitempty"` // modbus和opcua设备特有,表示设备所属产品的类型 0-普通产品 1-modbus网关产品 2-opcua网关产品 PluginId *UpdateDeviceResponsePluginId `json:"plugin_id,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDeviceResponse) String ¶
func (o UpdateDeviceResponse) String() string
type UpdateDeviceResponseDeviceType ¶ added in v0.0.78
type UpdateDeviceResponseDeviceType struct {
// contains filtered or unexported fields
}
func (UpdateDeviceResponseDeviceType) MarshalJSON ¶ added in v0.0.78
func (c UpdateDeviceResponseDeviceType) MarshalJSON() ([]byte, error)
func (*UpdateDeviceResponseDeviceType) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateDeviceResponseDeviceType) UnmarshalJSON(b []byte) error
func (UpdateDeviceResponseDeviceType) Value ¶ added in v0.0.90
func (c UpdateDeviceResponseDeviceType) Value() int32
type UpdateDeviceResponseDeviceTypeEnum ¶ added in v0.0.78
type UpdateDeviceResponseDeviceTypeEnum struct { E_0 UpdateDeviceResponseDeviceType E_1 UpdateDeviceResponseDeviceType E_2 UpdateDeviceResponseDeviceType }
func GetUpdateDeviceResponseDeviceTypeEnum ¶ added in v0.0.78
func GetUpdateDeviceResponseDeviceTypeEnum() UpdateDeviceResponseDeviceTypeEnum
type UpdateDeviceResponseOnlineStatus ¶ added in v0.0.78
type UpdateDeviceResponseOnlineStatus struct {
// contains filtered or unexported fields
}
func (UpdateDeviceResponseOnlineStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateDeviceResponseOnlineStatus) MarshalJSON() ([]byte, error)
func (*UpdateDeviceResponseOnlineStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateDeviceResponseOnlineStatus) UnmarshalJSON(b []byte) error
func (UpdateDeviceResponseOnlineStatus) Value ¶ added in v0.0.90
func (c UpdateDeviceResponseOnlineStatus) Value() int32
type UpdateDeviceResponseOnlineStatusEnum ¶ added in v0.0.78
type UpdateDeviceResponseOnlineStatusEnum struct { E_0 UpdateDeviceResponseOnlineStatus E_1 UpdateDeviceResponseOnlineStatus E_2 UpdateDeviceResponseOnlineStatus }
func GetUpdateDeviceResponseOnlineStatusEnum ¶ added in v0.0.78
func GetUpdateDeviceResponseOnlineStatusEnum() UpdateDeviceResponseOnlineStatusEnum
type UpdateDeviceResponsePluginId ¶ added in v0.0.78
type UpdateDeviceResponsePluginId struct {
// contains filtered or unexported fields
}
func (UpdateDeviceResponsePluginId) MarshalJSON ¶ added in v0.0.78
func (c UpdateDeviceResponsePluginId) MarshalJSON() ([]byte, error)
func (*UpdateDeviceResponsePluginId) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateDeviceResponsePluginId) UnmarshalJSON(b []byte) error
func (UpdateDeviceResponsePluginId) Value ¶ added in v0.0.90
func (c UpdateDeviceResponsePluginId) Value() int32
type UpdateDeviceResponsePluginIdEnum ¶ added in v0.0.78
type UpdateDeviceResponsePluginIdEnum struct { E_0 UpdateDeviceResponsePluginId E_1 UpdateDeviceResponsePluginId E_2 UpdateDeviceResponsePluginId }
func GetUpdateDeviceResponsePluginIdEnum ¶ added in v0.0.78
func GetUpdateDeviceResponsePluginIdEnum() UpdateDeviceResponsePluginIdEnum
type UpdateDeviceResponseStatus ¶ added in v0.0.78
type UpdateDeviceResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateDeviceResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateDeviceResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateDeviceResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateDeviceResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateDeviceResponseStatus) Value ¶ added in v0.0.90
func (c UpdateDeviceResponseStatus) Value() int32
type UpdateDeviceResponseStatusEnum ¶ added in v0.0.78
type UpdateDeviceResponseStatusEnum struct { E_0 UpdateDeviceResponseStatus E_1 UpdateDeviceResponseStatus }
func GetUpdateDeviceResponseStatusEnum ¶ added in v0.0.78
func GetUpdateDeviceResponseStatusEnum() UpdateDeviceResponseStatusEnum
type UpdateDictionary ¶
type UpdateDictionary struct { // 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 字典描述 Remark *string `json:"remark,omitempty"` // 字典排序,值越小顺序越靠前 Order *int32 `json:"order,omitempty"` // 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格 ExtendOne *string `json:"extend_one,omitempty"` // 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格 ExtendTwo *string `json:"extend_two,omitempty"` }
func (UpdateDictionary) String ¶
func (o UpdateDictionary) String() string
type UpdateDictionaryRequest ¶
type UpdateDictionaryRequest struct { // 字典ID DictId string `json:"dict_id"` // 实例ID InstanceId string `json:"instance_id"` Body *UpdateDictionary `json:"body,omitempty"` }
Request Object
func (UpdateDictionaryRequest) String ¶
func (o UpdateDictionaryRequest) String() string
type UpdateDictionaryResponse ¶
type UpdateDictionaryResponse struct { // 字典ID Id *string `json:"id,omitempty"` // 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 字典描述 Remark *string `json:"remark,omitempty"` // 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一 Code *string `json:"code,omitempty"` // 字典扩展字段1 - 字符集:中文、英文字母、数字、下划线和空格 ExtendOne *string `json:"extend_one,omitempty"` // 字典扩展字段2 - 字符集:中文、英文字母、数字、下划线和空格 ExtendTwo *string `json:"extend_two,omitempty"` // 父字典编码,为空时代表自身就是最顶级字典 ParentCode *string `json:"parent_code,omitempty"` Type *DictionaryType `json:"type,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDictionaryResponse) String ¶
func (o UpdateDictionaryResponse) String() string
type UpdateDispatchesRequest ¶
type UpdateDispatchesRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` // 调度唯一标识,调度计划ID DispatchId string `json:"dispatch_id"` Body *TaskDispatch `json:"body,omitempty"` }
Request Object
func (UpdateDispatchesRequest) String ¶
func (o UpdateDispatchesRequest) String() string
type UpdateDispatchesResponse ¶
type UpdateDispatchesResponse struct { // 调度计划ID DispatchId *string `json:"dispatch_id,omitempty"` // 调度计划关联的任务ID TaskId *string `json:"task_id,omitempty"` // 调度计划的执行开始时间 StartDatetime *int64 `json:"start_datetime,omitempty"` // 调度计划执行周期的时间单位,当使用cron表达式时,为空 - MIN (分钟) - HOUR (小时) - DAY (日) - WEEK (周) - MON (月) Period *UpdateDispatchesResponsePeriod `json:"period,omitempty"` // 调度计划的执行间隔时间周期 DispatchInterval *int64 `json:"dispatch_interval,omitempty"` // 调度计划的创建时间 CreatedDate *int64 `json:"created_date,omitempty"` // 调度计划最近一次的修改时间 LastModifiedDate *int64 `json:"last_modified_date,omitempty"` // 调度计划的备注信息 Remark *string `json:"remark,omitempty"` // 调度计划是否使用cron表达式,允许如下值: - true (使用cron表达式) - false (不使用cron表达式) UseQuartzCron *bool `json:"use_quartz_cron,omitempty"` // 调度计划的cron表达式 Cron *string `json:"cron,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDispatchesResponse) String ¶
func (o UpdateDispatchesResponse) String() string
type UpdateDispatchesResponsePeriod ¶
type UpdateDispatchesResponsePeriod struct {
// contains filtered or unexported fields
}
func (UpdateDispatchesResponsePeriod) MarshalJSON ¶
func (c UpdateDispatchesResponsePeriod) MarshalJSON() ([]byte, error)
func (*UpdateDispatchesResponsePeriod) UnmarshalJSON ¶
func (c *UpdateDispatchesResponsePeriod) UnmarshalJSON(b []byte) error
func (UpdateDispatchesResponsePeriod) Value ¶ added in v0.0.90
func (c UpdateDispatchesResponsePeriod) Value() string
type UpdateDispatchesResponsePeriodEnum ¶
type UpdateDispatchesResponsePeriodEnum struct { MIN UpdateDispatchesResponsePeriod HOUR UpdateDispatchesResponsePeriod DAY UpdateDispatchesResponsePeriod WEEK UpdateDispatchesResponsePeriod MON UpdateDispatchesResponsePeriod }
func GetUpdateDispatchesResponsePeriodEnum ¶
func GetUpdateDispatchesResponsePeriodEnum() UpdateDispatchesResponsePeriodEnum
type UpdateDomainV2Request ¶
type UpdateDomainV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 分组的编号 GroupId string `json:"group_id"` // 域名的编号 DomainId string `json:"domain_id"` Body *UrlDomainModify `json:"body,omitempty"` }
Request Object
func (UpdateDomainV2Request) String ¶
func (o UpdateDomainV2Request) String() string
type UpdateDomainV2Response ¶
type UpdateDomainV2Response struct { // 自定义域名 UrlDomain *string `json:"url_domain,omitempty"` // 自定义域名的编号 Id *string `json:"id,omitempty"` // CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败 Status *UpdateDomainV2ResponseStatus `json:"status,omitempty"` // 支持的最小SSL版本 MinSslVersion *string `json:"min_ssl_version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainV2Response) String ¶
func (o UpdateDomainV2Response) String() string
type UpdateDomainV2ResponseStatus ¶
type UpdateDomainV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateDomainV2ResponseStatus) MarshalJSON ¶
func (c UpdateDomainV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateDomainV2ResponseStatus) UnmarshalJSON ¶
func (c *UpdateDomainV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateDomainV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateDomainV2ResponseStatus) Value() int32
type UpdateDomainV2ResponseStatusEnum ¶
type UpdateDomainV2ResponseStatusEnum struct { E_1 UpdateDomainV2ResponseStatus E_2 UpdateDomainV2ResponseStatus E_3 UpdateDomainV2ResponseStatus E_4 UpdateDomainV2ResponseStatus }
func GetUpdateDomainV2ResponseStatusEnum ¶
func GetUpdateDomainV2ResponseStatusEnum() UpdateDomainV2ResponseStatusEnum
type UpdateEnvironmentV2Request ¶
type UpdateEnvironmentV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 环境的ID EnvId string `json:"env_id"` Body *EnvCreate `json:"body,omitempty"` }
Request Object
func (UpdateEnvironmentV2Request) String ¶
func (o UpdateEnvironmentV2Request) String() 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 ¶
func (o UpdateEnvironmentV2Response) String() string
type UpdateEnvironmentVariableV2Request ¶
type UpdateEnvironmentVariableV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 环境变量的编号 EnvVariableId string `json:"env_variable_id"` Body *EnvVariableBase `json:"body,omitempty"` }
Request Object
func (UpdateEnvironmentVariableV2Request) String ¶
func (o UpdateEnvironmentVariableV2Request) String() string
type UpdateEnvironmentVariableV2Response ¶
type UpdateEnvironmentVariableV2Response struct { // 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。 VariableValue string `json:"variable_value"` // 环境编号 EnvId *string `json:"env_id,omitempty"` // API分组编号 GroupId *string `json:"group_id,omitempty"` // 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。 VariableName *string `json:"variable_name,omitempty"` // 环境变量编号 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateEnvironmentVariableV2Response) String ¶
func (o UpdateEnvironmentVariableV2Response) String() string
type UpdateHealthCheckRequest ¶
type UpdateHealthCheckRequest struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *VpcHealthConfig `json:"body,omitempty"` }
Request Object
func (UpdateHealthCheckRequest) String ¶
func (o UpdateHealthCheckRequest) String() string
type UpdateHealthCheckResponse ¶
type UpdateHealthCheckResponse struct { // 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS Protocol UpdateHealthCheckResponseProtocol `json:"protocol"` // 健康检查时的目标路径。protocol = http或https时必选 Path *string `json:"path,omitempty"` // 健康检查时的请求方法 Method *UpdateHealthCheckResponseMethod `json:"method,omitempty"` // 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 Port *int32 `json:"port,omitempty"` // 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 ThresholdNormal int32 `json:"threshold_normal"` // 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。 ThresholdAbnormal int32 `json:"threshold_abnormal"` // 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。 TimeInterval int32 `json:"time_interval"` // 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 HttpCode *string `json:"http_code,omitempty"` // 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 健康检查状态 - 1:可用 - 2:不可用 Status *UpdateHealthCheckResponseStatus `json:"status,omitempty"` // 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。 Timeout *int32 `json:"timeout,omitempty"` // VPC通道的编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // 健康检查的编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateHealthCheckResponse) String ¶
func (o UpdateHealthCheckResponse) String() string
type UpdateHealthCheckResponseMethod ¶
type UpdateHealthCheckResponseMethod struct {
// contains filtered or unexported fields
}
func (UpdateHealthCheckResponseMethod) MarshalJSON ¶
func (c UpdateHealthCheckResponseMethod) MarshalJSON() ([]byte, error)
func (*UpdateHealthCheckResponseMethod) UnmarshalJSON ¶
func (c *UpdateHealthCheckResponseMethod) UnmarshalJSON(b []byte) error
func (UpdateHealthCheckResponseMethod) Value ¶ added in v0.0.90
func (c UpdateHealthCheckResponseMethod) Value() string
type UpdateHealthCheckResponseMethodEnum ¶
type UpdateHealthCheckResponseMethodEnum struct { GET UpdateHealthCheckResponseMethod HEAD UpdateHealthCheckResponseMethod }
func GetUpdateHealthCheckResponseMethodEnum ¶
func GetUpdateHealthCheckResponseMethodEnum() UpdateHealthCheckResponseMethodEnum
type UpdateHealthCheckResponseProtocol ¶
type UpdateHealthCheckResponseProtocol struct {
// contains filtered or unexported fields
}
func (UpdateHealthCheckResponseProtocol) MarshalJSON ¶
func (c UpdateHealthCheckResponseProtocol) MarshalJSON() ([]byte, error)
func (*UpdateHealthCheckResponseProtocol) UnmarshalJSON ¶
func (c *UpdateHealthCheckResponseProtocol) UnmarshalJSON(b []byte) error
func (UpdateHealthCheckResponseProtocol) Value ¶ added in v0.0.90
func (c UpdateHealthCheckResponseProtocol) Value() string
type UpdateHealthCheckResponseProtocolEnum ¶
type UpdateHealthCheckResponseProtocolEnum struct { TCP UpdateHealthCheckResponseProtocol HTTP UpdateHealthCheckResponseProtocol HTTPS UpdateHealthCheckResponseProtocol }
func GetUpdateHealthCheckResponseProtocolEnum ¶
func GetUpdateHealthCheckResponseProtocolEnum() UpdateHealthCheckResponseProtocolEnum
type UpdateHealthCheckResponseStatus ¶
type UpdateHealthCheckResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateHealthCheckResponseStatus) MarshalJSON ¶
func (c UpdateHealthCheckResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateHealthCheckResponseStatus) UnmarshalJSON ¶
func (c *UpdateHealthCheckResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateHealthCheckResponseStatus) Value ¶ added in v0.0.90
func (c UpdateHealthCheckResponseStatus) Value() int32
type UpdateHealthCheckResponseStatusEnum ¶
type UpdateHealthCheckResponseStatusEnum struct { E_1 UpdateHealthCheckResponseStatus E_2 UpdateHealthCheckResponseStatus }
func GetUpdateHealthCheckResponseStatusEnum ¶
func GetUpdateHealthCheckResponseStatusEnum() UpdateHealthCheckResponseStatusEnum
type UpdateLiveDataApiV2Request ¶
type UpdateLiveDataApiV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 后端API的编号 LdApiId string `json:"ld_api_id"` Body *LdApiCreate `json:"body,omitempty"` }
Request Object
func (UpdateLiveDataApiV2Request) String ¶
func (o UpdateLiveDataApiV2Request) String() string
type UpdateLiveDataApiV2Response ¶
type UpdateLiveDataApiV2Response struct { // 后端API名称。 支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 Name string `json:"name"` // 后端API请求路径。 支持英文、数字、中划线、下划线、点等,且以斜杠(/)开头。 Path string `json:"path"` // 后端API请求方法。 支持GET、PUT、POST、DELETE Method UpdateLiveDataApiV2ResponseMethod `json:"method"` // 后端API描述。 不支持<,>字符 Description *string `json:"description,omitempty"` // 后端API版本 支持英文,数字,下划线,中划线,点。 Version string `json:"version"` // 后端API返回类型 ContentType UpdateLiveDataApiV2ResponseContentType `json:"content_type"` // 后端API为签名认证时绑定的签名密钥编号 ApiSignatureId *string `json:"api_signature_id,omitempty"` // 后端API归属的集成应用编号 RomaAppId string `json:"roma_app_id"` // API响应信息是否格式化 true: 对响应信息进行格式化 false:对响应信息格式化不进行格式化 ReturnFormat *bool `json:"return_format,omitempty"` // 后端API的请求参数列表 Parameters *[]LdApiParameter `json:"parameters,omitempty"` // 后端API编号 Id *string `json:"id,omitempty"` // 后端API所属实例编号 Instance *string `json:"instance,omitempty"` // 后端API类型: - data:数据后端 - function: 函数后端 Type *UpdateLiveDataApiV2ResponseType `json:"type,omitempty"` // 后端API状态: - 1:待开发 - 3:开发中 - 4:已部署 Status *UpdateLiveDataApiV2ResponseStatus `json:"status,omitempty"` // 后端API创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 后端API修改时间 ModifiedTime *sdktime.SdkTime `json:"modified_time,omitempty"` // 后端API脚本信息 Scripts *[]LdApiScript `json:"scripts,omitempty"` // 后端API归属的集成应用名称 RomaAppName *string `json:"roma_app_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateLiveDataApiV2Response) String ¶
func (o UpdateLiveDataApiV2Response) String() string
type UpdateLiveDataApiV2ResponseContentType ¶
type UpdateLiveDataApiV2ResponseContentType struct {
// contains filtered or unexported fields
}
func (UpdateLiveDataApiV2ResponseContentType) MarshalJSON ¶
func (c UpdateLiveDataApiV2ResponseContentType) MarshalJSON() ([]byte, error)
func (*UpdateLiveDataApiV2ResponseContentType) UnmarshalJSON ¶
func (c *UpdateLiveDataApiV2ResponseContentType) UnmarshalJSON(b []byte) error
func (UpdateLiveDataApiV2ResponseContentType) Value ¶ added in v0.0.90
func (c UpdateLiveDataApiV2ResponseContentType) Value() string
type UpdateLiveDataApiV2ResponseContentTypeEnum ¶
type UpdateLiveDataApiV2ResponseContentTypeEnum struct { JSON UpdateLiveDataApiV2ResponseContentType XML UpdateLiveDataApiV2ResponseContentType STREAM UpdateLiveDataApiV2ResponseContentType }
func GetUpdateLiveDataApiV2ResponseContentTypeEnum ¶
func GetUpdateLiveDataApiV2ResponseContentTypeEnum() UpdateLiveDataApiV2ResponseContentTypeEnum
type UpdateLiveDataApiV2ResponseMethod ¶
type UpdateLiveDataApiV2ResponseMethod struct {
// contains filtered or unexported fields
}
func (UpdateLiveDataApiV2ResponseMethod) MarshalJSON ¶
func (c UpdateLiveDataApiV2ResponseMethod) MarshalJSON() ([]byte, error)
func (*UpdateLiveDataApiV2ResponseMethod) UnmarshalJSON ¶
func (c *UpdateLiveDataApiV2ResponseMethod) UnmarshalJSON(b []byte) error
func (UpdateLiveDataApiV2ResponseMethod) Value ¶ added in v0.0.90
func (c UpdateLiveDataApiV2ResponseMethod) Value() string
type UpdateLiveDataApiV2ResponseMethodEnum ¶
type UpdateLiveDataApiV2ResponseMethodEnum struct { GET UpdateLiveDataApiV2ResponseMethod PUT UpdateLiveDataApiV2ResponseMethod POST UpdateLiveDataApiV2ResponseMethod DELETE UpdateLiveDataApiV2ResponseMethod }
func GetUpdateLiveDataApiV2ResponseMethodEnum ¶
func GetUpdateLiveDataApiV2ResponseMethodEnum() UpdateLiveDataApiV2ResponseMethodEnum
type UpdateLiveDataApiV2ResponseStatus ¶
type UpdateLiveDataApiV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateLiveDataApiV2ResponseStatus) MarshalJSON ¶
func (c UpdateLiveDataApiV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateLiveDataApiV2ResponseStatus) UnmarshalJSON ¶
func (c *UpdateLiveDataApiV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateLiveDataApiV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateLiveDataApiV2ResponseStatus) Value() int32
type UpdateLiveDataApiV2ResponseStatusEnum ¶
type UpdateLiveDataApiV2ResponseStatusEnum struct { E_1 UpdateLiveDataApiV2ResponseStatus E_3 UpdateLiveDataApiV2ResponseStatus E_4 UpdateLiveDataApiV2ResponseStatus }
func GetUpdateLiveDataApiV2ResponseStatusEnum ¶
func GetUpdateLiveDataApiV2ResponseStatusEnum() UpdateLiveDataApiV2ResponseStatusEnum
type UpdateLiveDataApiV2ResponseType ¶
type UpdateLiveDataApiV2ResponseType struct {
// contains filtered or unexported fields
}
func (UpdateLiveDataApiV2ResponseType) MarshalJSON ¶
func (c UpdateLiveDataApiV2ResponseType) MarshalJSON() ([]byte, error)
func (*UpdateLiveDataApiV2ResponseType) UnmarshalJSON ¶
func (c *UpdateLiveDataApiV2ResponseType) UnmarshalJSON(b []byte) error
func (UpdateLiveDataApiV2ResponseType) Value ¶ added in v0.0.90
func (c UpdateLiveDataApiV2ResponseType) Value() string
type UpdateLiveDataApiV2ResponseTypeEnum ¶
type UpdateLiveDataApiV2ResponseTypeEnum struct { DATA UpdateLiveDataApiV2ResponseType FUNCTION UpdateLiveDataApiV2ResponseType }
func GetUpdateLiveDataApiV2ResponseTypeEnum ¶
func GetUpdateLiveDataApiV2ResponseTypeEnum() UpdateLiveDataApiV2ResponseTypeEnum
type UpdateMemberGroupRequest ¶
type UpdateMemberGroupRequest struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` // VPC通道后端服务器组编号 MemberGroupId string `json:"member_group_id"` Body *MemberGroupCreate `json:"body,omitempty"` }
Request Object
func (UpdateMemberGroupRequest) String ¶
func (o UpdateMemberGroupRequest) String() string
type UpdateMemberGroupResponse ¶
type UpdateMemberGroupResponse struct { // VPC通道后端服务器组名称 MemberGroupName string `json:"member_group_name"` // VPC通道后端服务器组描述 MemberGroupRemark *string `json:"member_group_remark,omitempty"` // VPC通道后端服务器组权重值。 当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。 MemberGroupWeight *int32 `json:"member_group_weight,omitempty"` // VPC通道后端服务器组的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` // VPC通道后端服务器组创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道后端服务器组更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateMemberGroupResponse) String ¶
func (o UpdateMemberGroupResponse) String() string
type UpdateMqsInstanceTopicReq ¶
type UpdateMqsInstanceTopicReq struct { // Topic列表。 Topics []UpdateTopicObject `json:"topics"` }
func (UpdateMqsInstanceTopicReq) String ¶
func (o UpdateMqsInstanceTopicReq) String() string
type UpdateMqsInstanceTopicRequest ¶
type UpdateMqsInstanceTopicRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` Body *UpdateMqsInstanceTopicReq `json:"body,omitempty"` }
Request Object
func (UpdateMqsInstanceTopicRequest) String ¶
func (o UpdateMqsInstanceTopicRequest) String() string
type UpdateMqsInstanceTopicResponse ¶
type UpdateMqsInstanceTopicResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateMqsInstanceTopicResponse) String ¶
func (o UpdateMqsInstanceTopicResponse) String() string
type UpdateMultiTasksRequest ¶
type UpdateMultiTasksRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` Body *MultiTaskUpdateBody `json:"body,omitempty"` }
Request Object
func (UpdateMultiTasksRequest) String ¶
func (o UpdateMultiTasksRequest) String() string
type UpdateMultiTasksResponse ¶
type UpdateMultiTasksResponse struct { // 任务ID, 可为空 TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateMultiTasksResponse) String ¶
func (o UpdateMultiTasksResponse) String() string
type UpdateNotificationRequest ¶
type UpdateNotificationRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 订阅管理ID NotificationId int64 `json:"notification_id"` Body *UpdateNotificationRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateNotificationRequest) String ¶
func (o UpdateNotificationRequest) String() string
type UpdateNotificationRequestBody ¶
type UpdateNotificationRequestBody struct { // 通知发送的主题名,该主题需要在MQS存在 Topic string `json:"topic"` // 启停状态 0-启用 1-停用 Status UpdateNotificationRequestBodyStatus `json:"status"` }
func (UpdateNotificationRequestBody) String ¶
func (o UpdateNotificationRequestBody) String() string
type UpdateNotificationRequestBodyStatus ¶
type UpdateNotificationRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (UpdateNotificationRequestBodyStatus) MarshalJSON ¶
func (c UpdateNotificationRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*UpdateNotificationRequestBodyStatus) UnmarshalJSON ¶
func (c *UpdateNotificationRequestBodyStatus) UnmarshalJSON(b []byte) error
func (UpdateNotificationRequestBodyStatus) Value ¶ added in v0.0.90
func (c UpdateNotificationRequestBodyStatus) Value() int32
type UpdateNotificationRequestBodyStatusEnum ¶
type UpdateNotificationRequestBodyStatusEnum struct { E_0 UpdateNotificationRequestBodyStatus E_1 UpdateNotificationRequestBodyStatus }
func GetUpdateNotificationRequestBodyStatusEnum ¶
func GetUpdateNotificationRequestBodyStatusEnum() UpdateNotificationRequestBodyStatusEnum
type UpdateNotificationResponse ¶
type UpdateNotificationResponse struct { // 订阅ID NotificationId *int64 `json:"notification_id,omitempty"` // 订阅类型, 0:设备上线通知类型, 1:设备下线通知类型, 2:设备添加通知类型, 3:设备删除通知类型, 4:设备变更通知类型 Type *UpdateNotificationResponseType `json:"type,omitempty"` // 订阅管理状态,0:启用,1:停用 Status *UpdateNotificationResponseStatus `json:"status,omitempty"` // 订阅的topic名称 Topic *string `json:"topic,omitempty"` // 实例ID InstanceId *string `json:"instance_id,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateNotificationResponse) String ¶
func (o UpdateNotificationResponse) String() string
type UpdateNotificationResponseStatus ¶
type UpdateNotificationResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateNotificationResponseStatus) MarshalJSON ¶
func (c UpdateNotificationResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateNotificationResponseStatus) UnmarshalJSON ¶
func (c *UpdateNotificationResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateNotificationResponseStatus) Value ¶ added in v0.0.90
func (c UpdateNotificationResponseStatus) Value() int32
type UpdateNotificationResponseStatusEnum ¶
type UpdateNotificationResponseStatusEnum struct { E_0 UpdateNotificationResponseStatus E_1 UpdateNotificationResponseStatus }
func GetUpdateNotificationResponseStatusEnum ¶
func GetUpdateNotificationResponseStatusEnum() UpdateNotificationResponseStatusEnum
type UpdateNotificationResponseType ¶
type UpdateNotificationResponseType struct {
// contains filtered or unexported fields
}
func (UpdateNotificationResponseType) MarshalJSON ¶
func (c UpdateNotificationResponseType) MarshalJSON() ([]byte, error)
func (*UpdateNotificationResponseType) UnmarshalJSON ¶
func (c *UpdateNotificationResponseType) UnmarshalJSON(b []byte) error
func (UpdateNotificationResponseType) Value ¶ added in v0.0.90
func (c UpdateNotificationResponseType) Value() int32
type UpdateNotificationResponseTypeEnum ¶
type UpdateNotificationResponseTypeEnum struct { E_0 UpdateNotificationResponseType E_1 UpdateNotificationResponseType E_2 UpdateNotificationResponseType E_3 UpdateNotificationResponseType E_4 UpdateNotificationResponseType }
func GetUpdateNotificationResponseTypeEnum ¶
func GetUpdateNotificationResponseTypeEnum() UpdateNotificationResponseTypeEnum
type UpdateProductRequest ¶
type UpdateProductRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` Body *UpdateProductRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateProductRequest) String ¶
func (o UpdateProductRequest) String() string
type UpdateProductRequestBody ¶
type UpdateProductRequestBody struct { // 产品名称,创建产品时租户内唯一,长度1-64,仅支持中文,英文字母,数字,下划线和中划线 Name string `json:"name"` // 产品描述,长度0-200 Description *string `json:"description,omitempty"` // 产品供应商ID,支持英文大小写,数字,下划线和中划线,长度2-50 ManufacturerId string `json:"manufacturer_id"` // 厂商名称,支持长度2-64 ManufacturerName string `json:"manufacturer_name"` // 产品型号,支持英文大小写,数字,下划线,中划线和空格(首尾空格会被忽略),长度2-50 Model string `json:"model"` // 产品的设备类型(默认Default Type) DeviceType string `json:"device_type"` // 模型版本 Version *string `json:"version,omitempty"` }
func (UpdateProductRequestBody) String ¶
func (o UpdateProductRequestBody) String() string
type UpdateProductResponse ¶
type UpdateProductResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 产品ID Id *int32 `json:"id,omitempty"` // 产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品) ProductSerial *string `json:"product_serial,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 产品名称,创建产品时租户内唯一,长度最大64,仅支持中文,英文字母,数字,下划线和中划线 Name *string `json:"name,omitempty"` // 产品供应商ID ManufacturerId *string `json:"manufacturer_id,omitempty"` // 厂商名称 ManufacturerName *string `json:"manufacturer_name,omitempty"` // 产品型号 Model *string `json:"model,omitempty"` // 产品类型,0-普通产品(不支持子设备) 1-网关产品 ProductType *UpdateProductResponseProductType `json:"product_type,omitempty"` // 产品描述,长度0-200 Description *string `json:"description,omitempty"` // 产品的协议类型 0-mqtt 2-modbus 4-opcua ProtocolType *UpdateProductResponseProtocolType `json:"protocol_type,omitempty"` // 产品的设备类型(默认Default) DeviceType *string `json:"device_type,omitempty"` // 产品版本 Version *string `json:"version,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` Authentication *Authentication `json:"authentication,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // data_format 0-JSON 1-USER_DEFINED DataFormat *int32 `json:"data_format,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateProductResponse) String ¶
func (o UpdateProductResponse) String() string
type UpdateProductResponseProductType ¶ added in v0.0.78
type UpdateProductResponseProductType struct {
// contains filtered or unexported fields
}
func (UpdateProductResponseProductType) MarshalJSON ¶ added in v0.0.78
func (c UpdateProductResponseProductType) MarshalJSON() ([]byte, error)
func (*UpdateProductResponseProductType) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateProductResponseProductType) UnmarshalJSON(b []byte) error
func (UpdateProductResponseProductType) Value ¶ added in v0.0.90
func (c UpdateProductResponseProductType) Value() int32
type UpdateProductResponseProductTypeEnum ¶ added in v0.0.78
type UpdateProductResponseProductTypeEnum struct { E_0 UpdateProductResponseProductType E_1 UpdateProductResponseProductType }
func GetUpdateProductResponseProductTypeEnum ¶ added in v0.0.78
func GetUpdateProductResponseProductTypeEnum() UpdateProductResponseProductTypeEnum
type UpdateProductResponseProtocolType ¶ added in v0.0.78
type UpdateProductResponseProtocolType struct {
// contains filtered or unexported fields
}
func (UpdateProductResponseProtocolType) MarshalJSON ¶ added in v0.0.78
func (c UpdateProductResponseProtocolType) MarshalJSON() ([]byte, error)
func (*UpdateProductResponseProtocolType) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateProductResponseProtocolType) UnmarshalJSON(b []byte) error
func (UpdateProductResponseProtocolType) Value ¶ added in v0.0.90
func (c UpdateProductResponseProtocolType) Value() int32
type UpdateProductResponseProtocolTypeEnum ¶ added in v0.0.78
type UpdateProductResponseProtocolTypeEnum struct { E_0 UpdateProductResponseProtocolType E_2 UpdateProductResponseProtocolType E_4 UpdateProductResponseProtocolType }
func GetUpdateProductResponseProtocolTypeEnum ¶ added in v0.0.78
func GetUpdateProductResponseProtocolTypeEnum() UpdateProductResponseProtocolTypeEnum
type UpdateProductTemplateRequest ¶
type UpdateProductTemplateRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品模板ID ProductTemplateId int32 `json:"product_template_id"` Body *UpdateProductTemplateRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateProductTemplateRequest) String ¶
func (o UpdateProductTemplateRequest) String() string
type UpdateProductTemplateRequestBody ¶
type UpdateProductTemplateRequestBody struct { // 产品模板名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 Name string `json:"name"` // 产品模板描述,长度0-200 Description *string `json:"description,omitempty"` // 产品模板状态 0-启用 1-禁用 Status UpdateProductTemplateRequestBodyStatus `json:"status"` }
func (UpdateProductTemplateRequestBody) String ¶
func (o UpdateProductTemplateRequestBody) String() string
type UpdateProductTemplateRequestBodyStatus ¶ added in v0.0.78
type UpdateProductTemplateRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (UpdateProductTemplateRequestBodyStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateProductTemplateRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*UpdateProductTemplateRequestBodyStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateProductTemplateRequestBodyStatus) UnmarshalJSON(b []byte) error
func (UpdateProductTemplateRequestBodyStatus) Value ¶ added in v0.0.90
func (c UpdateProductTemplateRequestBodyStatus) Value() int32
type UpdateProductTemplateRequestBodyStatusEnum ¶ added in v0.0.78
type UpdateProductTemplateRequestBodyStatusEnum struct { E_0 UpdateProductTemplateRequestBodyStatus E_1 UpdateProductTemplateRequestBodyStatus }
func GetUpdateProductTemplateRequestBodyStatusEnum ¶ added in v0.0.78
func GetUpdateProductTemplateRequestBodyStatusEnum() UpdateProductTemplateRequestBodyStatusEnum
type UpdateProductTemplateResponse ¶
type UpdateProductTemplateResponse struct { // 产品模板ID Id *int32 `json:"id,omitempty"` // 产品模板名称 Name *string `json:"name,omitempty"` // 产品模板描述 Description *string `json:"description,omitempty"` // 产品模板状态 0-启用 1-停用 Status *UpdateProductTemplateResponseStatus `json:"status,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateProductTemplateResponse) String ¶
func (o UpdateProductTemplateResponse) String() string
type UpdateProductTemplateResponseStatus ¶ added in v0.0.78
type UpdateProductTemplateResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateProductTemplateResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateProductTemplateResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateProductTemplateResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateProductTemplateResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateProductTemplateResponseStatus) Value ¶ added in v0.0.90
func (c UpdateProductTemplateResponseStatus) Value() int32
type UpdateProductTemplateResponseStatusEnum ¶ added in v0.0.78
type UpdateProductTemplateResponseStatusEnum struct { E_0 UpdateProductTemplateResponseStatus E_1 UpdateProductTemplateResponseStatus }
func GetUpdateProductTemplateResponseStatusEnum ¶ added in v0.0.78
func GetUpdateProductTemplateResponseStatusEnum() UpdateProductTemplateResponseStatusEnum
type UpdateProductTopicRequest ¶
type UpdateProductTopicRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 产品ID ProductId int32 `json:"product_id"` // 产品主题ID TopicId int32 `json:"topic_id"` Body *UpdateProductTopicRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateProductTopicRequest) String ¶
func (o UpdateProductTopicRequest) String() string
type UpdateProductTopicRequestBody ¶
type UpdateProductTopicRequestBody struct { // 主题权限 0-发布 1-订阅 Permission UpdateProductTopicRequestBodyPermission `json:"permission"` // 主题名称,Topic类格式必须以“/”进行分层,区分每个类目。其中第一个为用户自定义的版本号;第二个已经规定好,为${deviceId}通配设备ID;第三个为用户自定义的topic类名。Topic类组成即为:/${version}/${deviceId}/${customizePart}。简单来说,Topic类:/v1/${deviceId}/customizePart是具体Topic:/v1/deviceid1/customizePart1和/v1/deviceid2/customizePart2等的集合。 Name string `json:"name"` // 版本号,输入2-50个字符。值以字母或数字开头和结尾。仅允许使用字母,数字,中划线和点号。 Version string `json:"version"` // 描述,长度0-200 Description *string `json:"description,omitempty"` }
func (UpdateProductTopicRequestBody) String ¶
func (o UpdateProductTopicRequestBody) String() string
type UpdateProductTopicRequestBodyPermission ¶ added in v0.0.78
type UpdateProductTopicRequestBodyPermission struct {
// contains filtered or unexported fields
}
func (UpdateProductTopicRequestBodyPermission) MarshalJSON ¶ added in v0.0.78
func (c UpdateProductTopicRequestBodyPermission) MarshalJSON() ([]byte, error)
func (*UpdateProductTopicRequestBodyPermission) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateProductTopicRequestBodyPermission) UnmarshalJSON(b []byte) error
func (UpdateProductTopicRequestBodyPermission) Value ¶ added in v0.0.90
func (c UpdateProductTopicRequestBodyPermission) Value() int32
type UpdateProductTopicRequestBodyPermissionEnum ¶ added in v0.0.78
type UpdateProductTopicRequestBodyPermissionEnum struct { E_0 UpdateProductTopicRequestBodyPermission E_1 UpdateProductTopicRequestBodyPermission }
func GetUpdateProductTopicRequestBodyPermissionEnum ¶ added in v0.0.78
func GetUpdateProductTopicRequestBodyPermissionEnum() UpdateProductTopicRequestBodyPermissionEnum
type UpdateProductTopicResponse ¶
type UpdateProductTopicResponse struct { // 归属产品ID ProductId *int32 `json:"product_id,omitempty"` // 产品主题ID TopicId *int32 `json:"topic_id,omitempty"` // 主题权限 0-发布 1-订阅 Permission *UpdateProductTopicResponsePermission `json:"permission,omitempty"` // 主题名称 TopicName *string `json:"topic_name,omitempty"` // 版本号 Version *string `json:"version,omitempty"` // 描述 Description *string `json:"description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateProductTopicResponse) String ¶
func (o UpdateProductTopicResponse) String() string
type UpdateProductTopicResponsePermission ¶ added in v0.0.78
type UpdateProductTopicResponsePermission struct {
// contains filtered or unexported fields
}
func (UpdateProductTopicResponsePermission) MarshalJSON ¶ added in v0.0.78
func (c UpdateProductTopicResponsePermission) MarshalJSON() ([]byte, error)
func (*UpdateProductTopicResponsePermission) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateProductTopicResponsePermission) UnmarshalJSON(b []byte) error
func (UpdateProductTopicResponsePermission) Value ¶ added in v0.0.90
func (c UpdateProductTopicResponsePermission) Value() int32
type UpdateProductTopicResponsePermissionEnum ¶ added in v0.0.78
type UpdateProductTopicResponsePermissionEnum struct { E_0 UpdateProductTopicResponsePermission E_1 UpdateProductTopicResponsePermission }
func GetUpdateProductTopicResponsePermissionEnum ¶ added in v0.0.78
func GetUpdateProductTopicResponsePermissionEnum() UpdateProductTopicResponsePermissionEnum
type UpdateProjectVpcChannelRequest ¶
type UpdateProjectVpcChannelRequest struct {
Body *ProjectVpcCreate `json:"body,omitempty"`
}
Request Object
func (UpdateProjectVpcChannelRequest) String ¶
func (o UpdateProjectVpcChannelRequest) String() string
type UpdateProjectVpcChannelResponse ¶
type UpdateProjectVpcChannelResponse struct { // 项目VPC通道列表 ProjectVpcChannels *[]ProjectVpcChannelInfo `json:"project_vpc_channels,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateProjectVpcChannelResponse) String ¶
func (o UpdateProjectVpcChannelResponse) String() string
type UpdatePropertyRequest ¶
type UpdatePropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 属性/请求属性/响应属性ID PropertyId int32 `json:"property_id"` Body *UpdatePropertyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdatePropertyRequest) String ¶
func (o UpdatePropertyRequest) String() string
type UpdatePropertyRequestBody ¶
type UpdatePropertyRequestBody struct { // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName string `json:"property_name"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType UpdatePropertyRequestBodyDataType `json:"data_type"` // 是否必填 0-非必填 1-必填 Required UpdatePropertyRequestBodyRequired `json:"required"` // 最小值,当data_type为integer或number时必填 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时必填 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时必填 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时必填,自动向下取整 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` }
func (UpdatePropertyRequestBody) String ¶
func (o UpdatePropertyRequestBody) String() string
type UpdatePropertyRequestBodyDataType ¶
type UpdatePropertyRequestBodyDataType struct {
// contains filtered or unexported fields
}
func (UpdatePropertyRequestBodyDataType) MarshalJSON ¶
func (c UpdatePropertyRequestBodyDataType) MarshalJSON() ([]byte, error)
func (*UpdatePropertyRequestBodyDataType) UnmarshalJSON ¶
func (c *UpdatePropertyRequestBodyDataType) UnmarshalJSON(b []byte) error
func (UpdatePropertyRequestBodyDataType) Value ¶ added in v0.0.90
func (c UpdatePropertyRequestBodyDataType) Value() string
type UpdatePropertyRequestBodyDataTypeEnum ¶
type UpdatePropertyRequestBodyDataTypeEnum struct { INTEGER UpdatePropertyRequestBodyDataType NUMBER UpdatePropertyRequestBodyDataType STRING UpdatePropertyRequestBodyDataType DATETIME UpdatePropertyRequestBodyDataType JSON UpdatePropertyRequestBodyDataType }
func GetUpdatePropertyRequestBodyDataTypeEnum ¶
func GetUpdatePropertyRequestBodyDataTypeEnum() UpdatePropertyRequestBodyDataTypeEnum
type UpdatePropertyRequestBodyRequired ¶ added in v0.0.78
type UpdatePropertyRequestBodyRequired struct {
// contains filtered or unexported fields
}
func (UpdatePropertyRequestBodyRequired) MarshalJSON ¶ added in v0.0.78
func (c UpdatePropertyRequestBodyRequired) MarshalJSON() ([]byte, error)
func (*UpdatePropertyRequestBodyRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdatePropertyRequestBodyRequired) UnmarshalJSON(b []byte) error
func (UpdatePropertyRequestBodyRequired) Value ¶ added in v0.0.90
func (c UpdatePropertyRequestBodyRequired) Value() int32
type UpdatePropertyRequestBodyRequiredEnum ¶ added in v0.0.78
type UpdatePropertyRequestBodyRequiredEnum struct { E_0 UpdatePropertyRequestBodyRequired E_1 UpdatePropertyRequestBodyRequired }
func GetUpdatePropertyRequestBodyRequiredEnum ¶ added in v0.0.78
func GetUpdatePropertyRequestBodyRequiredEnum() UpdatePropertyRequestBodyRequiredEnum
type UpdatePropertyResponse ¶
type UpdatePropertyResponse struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *UpdatePropertyResponseDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *UpdatePropertyResponseRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePropertyResponse) String ¶
func (o UpdatePropertyResponse) String() string
type UpdatePropertyResponseDataType ¶
type UpdatePropertyResponseDataType struct {
// contains filtered or unexported fields
}
func (UpdatePropertyResponseDataType) MarshalJSON ¶
func (c UpdatePropertyResponseDataType) MarshalJSON() ([]byte, error)
func (*UpdatePropertyResponseDataType) UnmarshalJSON ¶
func (c *UpdatePropertyResponseDataType) UnmarshalJSON(b []byte) error
func (UpdatePropertyResponseDataType) Value ¶ added in v0.0.90
func (c UpdatePropertyResponseDataType) Value() string
type UpdatePropertyResponseDataTypeEnum ¶
type UpdatePropertyResponseDataTypeEnum struct { INTEGER UpdatePropertyResponseDataType NUMBER UpdatePropertyResponseDataType STRING UpdatePropertyResponseDataType DATETIME UpdatePropertyResponseDataType JSON UpdatePropertyResponseDataType }
func GetUpdatePropertyResponseDataTypeEnum ¶
func GetUpdatePropertyResponseDataTypeEnum() UpdatePropertyResponseDataTypeEnum
type UpdatePropertyResponseRequired ¶ added in v0.0.78
type UpdatePropertyResponseRequired struct {
// contains filtered or unexported fields
}
func (UpdatePropertyResponseRequired) MarshalJSON ¶ added in v0.0.78
func (c UpdatePropertyResponseRequired) MarshalJSON() ([]byte, error)
func (*UpdatePropertyResponseRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdatePropertyResponseRequired) UnmarshalJSON(b []byte) error
func (UpdatePropertyResponseRequired) Value ¶ added in v0.0.90
func (c UpdatePropertyResponseRequired) Value() int32
type UpdatePropertyResponseRequiredEnum ¶ added in v0.0.78
type UpdatePropertyResponseRequiredEnum struct { E_0 UpdatePropertyResponseRequired E_1 UpdatePropertyResponseRequired }
func GetUpdatePropertyResponseRequiredEnum ¶ added in v0.0.78
func GetUpdatePropertyResponseRequiredEnum() UpdatePropertyResponseRequiredEnum
type UpdateRequestPropertyRequest ¶
type UpdateRequestPropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` // 属性/请求属性/响应属性ID PropertyId int32 `json:"property_id"` Body *UpdatePropertyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateRequestPropertyRequest) String ¶
func (o UpdateRequestPropertyRequest) String() string
type UpdateRequestPropertyResponse ¶
type UpdateRequestPropertyResponse struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *UpdateRequestPropertyResponseDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *UpdateRequestPropertyResponseRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateRequestPropertyResponse) String ¶
func (o UpdateRequestPropertyResponse) String() string
type UpdateRequestPropertyResponseDataType ¶
type UpdateRequestPropertyResponseDataType struct {
// contains filtered or unexported fields
}
func (UpdateRequestPropertyResponseDataType) MarshalJSON ¶
func (c UpdateRequestPropertyResponseDataType) MarshalJSON() ([]byte, error)
func (*UpdateRequestPropertyResponseDataType) UnmarshalJSON ¶
func (c *UpdateRequestPropertyResponseDataType) UnmarshalJSON(b []byte) error
func (UpdateRequestPropertyResponseDataType) Value ¶ added in v0.0.90
func (c UpdateRequestPropertyResponseDataType) Value() string
type UpdateRequestPropertyResponseDataTypeEnum ¶
type UpdateRequestPropertyResponseDataTypeEnum struct { INTEGER UpdateRequestPropertyResponseDataType NUMBER UpdateRequestPropertyResponseDataType STRING UpdateRequestPropertyResponseDataType DATETIME UpdateRequestPropertyResponseDataType JSON UpdateRequestPropertyResponseDataType }
func GetUpdateRequestPropertyResponseDataTypeEnum ¶
func GetUpdateRequestPropertyResponseDataTypeEnum() UpdateRequestPropertyResponseDataTypeEnum
type UpdateRequestPropertyResponseRequired ¶ added in v0.0.78
type UpdateRequestPropertyResponseRequired struct {
// contains filtered or unexported fields
}
func (UpdateRequestPropertyResponseRequired) MarshalJSON ¶ added in v0.0.78
func (c UpdateRequestPropertyResponseRequired) MarshalJSON() ([]byte, error)
func (*UpdateRequestPropertyResponseRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateRequestPropertyResponseRequired) UnmarshalJSON(b []byte) error
func (UpdateRequestPropertyResponseRequired) Value ¶ added in v0.0.90
func (c UpdateRequestPropertyResponseRequired) Value() int32
type UpdateRequestPropertyResponseRequiredEnum ¶ added in v0.0.78
type UpdateRequestPropertyResponseRequiredEnum struct { E_0 UpdateRequestPropertyResponseRequired E_1 UpdateRequestPropertyResponseRequired }
func GetUpdateRequestPropertyResponseRequiredEnum ¶ added in v0.0.78
func GetUpdateRequestPropertyResponseRequiredEnum() UpdateRequestPropertyResponseRequiredEnum
type UpdateRequestThrottlingPolicyV2Request ¶
type UpdateRequestThrottlingPolicyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` Body *ThrottleBaseInfo `json:"body,omitempty"` }
Request Object
func (UpdateRequestThrottlingPolicyV2Request) String ¶
func (o UpdateRequestThrottlingPolicyV2Request) String() string
type UpdateRequestThrottlingPolicyV2Response ¶
type UpdateRequestThrottlingPolicyV2Response struct { // APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。 AppCallLimits *int32 `json:"app_call_limits,omitempty"` // 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 流控的时间单位 TimeUnit UpdateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"` // 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。 Remark *string `json:"remark,omitempty"` // API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。 ApiCallLimits int32 `json:"api_call_limits"` // 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。 Type *UpdateRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"` // 是否开启动态流控: - TRUE - FALSE 暂不支持 EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"` // [用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。](tag:hws;hws_hk;hcs;fcs;g42;)[site不支持用户流量限制,输入值为0](tag:Site) UserCallLimits *int32 `json:"user_call_limits,omitempty"` // 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。 TimeInterval int32 `json:"time_interval"` // 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。 IpCallLimits *int32 `json:"ip_call_limits,omitempty"` // 流控策略的ID Id *string `json:"id,omitempty"` // 流控绑定的API数量 BindNum *int32 `json:"bind_num,omitempty"` // 是否包含特殊流控配置 - 1:包含 - 2:不包含 IsIncluSpecialThrottle *UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateRequestThrottlingPolicyV2Response) String ¶
func (o UpdateRequestThrottlingPolicyV2Response) String() string
type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle ¶
type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
// contains filtered or unexported fields
}
func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON ¶
func (c UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)
func (*UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON ¶
func (c *UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error
func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value ¶ added in v0.0.90
func (c UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value() int32
type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶
type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum struct { E_1 UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle E_2 UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle }
func GetUpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum ¶
func GetUpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum() UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum
type UpdateRequestThrottlingPolicyV2ResponseTimeUnit ¶
type UpdateRequestThrottlingPolicyV2ResponseTimeUnit struct {
// contains filtered or unexported fields
}
func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON ¶
func (c UpdateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON() ([]byte, error)
func (*UpdateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON ¶
func (c *UpdateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON(b []byte) error
func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) Value ¶ added in v0.0.90
func (c UpdateRequestThrottlingPolicyV2ResponseTimeUnit) Value() string
type UpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
type UpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum struct { SECOND UpdateRequestThrottlingPolicyV2ResponseTimeUnit MINUTE UpdateRequestThrottlingPolicyV2ResponseTimeUnit HOUR UpdateRequestThrottlingPolicyV2ResponseTimeUnit DAY UpdateRequestThrottlingPolicyV2ResponseTimeUnit }
func GetUpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum ¶
func GetUpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum() UpdateRequestThrottlingPolicyV2ResponseTimeUnitEnum
type UpdateRequestThrottlingPolicyV2ResponseType ¶
type UpdateRequestThrottlingPolicyV2ResponseType struct {
// contains filtered or unexported fields
}
func (UpdateRequestThrottlingPolicyV2ResponseType) MarshalJSON ¶
func (c UpdateRequestThrottlingPolicyV2ResponseType) MarshalJSON() ([]byte, error)
func (*UpdateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON ¶
func (c *UpdateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON(b []byte) error
func (UpdateRequestThrottlingPolicyV2ResponseType) Value ¶ added in v0.0.90
func (c UpdateRequestThrottlingPolicyV2ResponseType) Value() int32
type UpdateRequestThrottlingPolicyV2ResponseTypeEnum ¶
type UpdateRequestThrottlingPolicyV2ResponseTypeEnum struct { E_1 UpdateRequestThrottlingPolicyV2ResponseType E_2 UpdateRequestThrottlingPolicyV2ResponseType }
func GetUpdateRequestThrottlingPolicyV2ResponseTypeEnum ¶
func GetUpdateRequestThrottlingPolicyV2ResponseTypeEnum() UpdateRequestThrottlingPolicyV2ResponseTypeEnum
type UpdateResponsePropertyRequest ¶
type UpdateResponsePropertyRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` // 命令ID CommandId int32 `json:"command_id"` // 属性/请求属性/响应属性ID PropertyId int32 `json:"property_id"` Body *UpdatePropertyRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateResponsePropertyRequest) String ¶
func (o UpdateResponsePropertyRequest) String() string
type UpdateResponsePropertyResponse ¶
type UpdateResponsePropertyResponse struct { // 属性ID PropertyId *int32 `json:"property_id,omitempty"` // 属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50 PropertyName *string `json:"property_name,omitempty"` // 属性描述,长度0-200 Description *string `json:"description,omitempty"` // 属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式 DataType *UpdateResponsePropertyResponseDataType `json:"data_type,omitempty"` // 是否必填 0-非必填 1-必填 Required *UpdateResponsePropertyResponseRequired `json:"required,omitempty"` // 最小值,当data_type为integer或number时有效 Min *string `json:"min,omitempty"` // 最大值,当data_type为integer或number时有效 Max *string `json:"max,omitempty"` // 步长,当data_type为integer或number时有效 Step *string `json:"step,omitempty"` // 字符串最大长度,当data_type为string, datetime, json时有效 MaxLength *int32 `json:"max_length,omitempty"` // 属性单位 Unit *string `json:"unit,omitempty"` // string的枚举值数组,使用逗号分隔 EnumList *string `json:"enum_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateResponsePropertyResponse) String ¶
func (o UpdateResponsePropertyResponse) String() string
type UpdateResponsePropertyResponseDataType ¶
type UpdateResponsePropertyResponseDataType struct {
// contains filtered or unexported fields
}
func (UpdateResponsePropertyResponseDataType) MarshalJSON ¶
func (c UpdateResponsePropertyResponseDataType) MarshalJSON() ([]byte, error)
func (*UpdateResponsePropertyResponseDataType) UnmarshalJSON ¶
func (c *UpdateResponsePropertyResponseDataType) UnmarshalJSON(b []byte) error
func (UpdateResponsePropertyResponseDataType) Value ¶ added in v0.0.90
func (c UpdateResponsePropertyResponseDataType) Value() string
type UpdateResponsePropertyResponseDataTypeEnum ¶
type UpdateResponsePropertyResponseDataTypeEnum struct { INTEGER UpdateResponsePropertyResponseDataType NUMBER UpdateResponsePropertyResponseDataType STRING UpdateResponsePropertyResponseDataType DATETIME UpdateResponsePropertyResponseDataType JSON UpdateResponsePropertyResponseDataType }
func GetUpdateResponsePropertyResponseDataTypeEnum ¶
func GetUpdateResponsePropertyResponseDataTypeEnum() UpdateResponsePropertyResponseDataTypeEnum
type UpdateResponsePropertyResponseRequired ¶ added in v0.0.78
type UpdateResponsePropertyResponseRequired struct {
// contains filtered or unexported fields
}
func (UpdateResponsePropertyResponseRequired) MarshalJSON ¶ added in v0.0.78
func (c UpdateResponsePropertyResponseRequired) MarshalJSON() ([]byte, error)
func (*UpdateResponsePropertyResponseRequired) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateResponsePropertyResponseRequired) UnmarshalJSON(b []byte) error
func (UpdateResponsePropertyResponseRequired) Value ¶ added in v0.0.90
func (c UpdateResponsePropertyResponseRequired) Value() int32
type UpdateResponsePropertyResponseRequiredEnum ¶ added in v0.0.78
type UpdateResponsePropertyResponseRequiredEnum struct { E_0 UpdateResponsePropertyResponseRequired E_1 UpdateResponsePropertyResponseRequired }
func GetUpdateResponsePropertyResponseRequiredEnum ¶ added in v0.0.78
func GetUpdateResponsePropertyResponseRequiredEnum() UpdateResponsePropertyResponseRequiredEnum
type UpdateRomaAppRequest ¶
type UpdateRomaAppRequest struct { // 应用ID AppId string `json:"app_id"` // 实例ID InstanceId string `json:"instance_id"` Body *UpdateAppReq `json:"body,omitempty"` }
Request Object
func (UpdateRomaAppRequest) String ¶
func (o UpdateRomaAppRequest) String() string
type UpdateRomaAppResponse ¶
type UpdateRomaAppResponse struct { // 应用ID Id *string `json:"id,omitempty"` // 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 应用描述 Remark *string `json:"remark,omitempty"` // 应用权限角色 - read:应用下资源只读权限,至少要存在此权限,包括API调试 - access:应用下资源的访问管理权限 - delete:应用下资源的删除权限 - modify:应用下资源的修改权限,包括API发布、下线 - admin:应用和应用下资源的权限 - 仅提供admin时,会自动应用其它所有权限 - 未提供read时会自动应用read权限 Roles *[]UpdateRomaAppResponseRoles `json:"roles,omitempty"` // 创建UTC时间 CreateTime *string `json:"create_time,omitempty"` // 创建UTC时间 UpdateTime *string `json:"update_time,omitempty"` CreatedUser *ServerAppInfoCreatedUser `json:"created_user,omitempty"` LastUpdatedUser *ServerAppInfoLastUpdatedUser `json:"last_updated_user,omitempty"` // 是否是应用拥有者 Owner *bool `json:"owner,omitempty"` // 应用认证访问KEY,未提供时随机生成 - 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头 - 约束:实例下唯一 Key *string `json:"key,omitempty"` // 是否收藏应用,收藏的应用会在列表里优先显示 Favorite *bool `json:"favorite,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateRomaAppResponse) String ¶
func (o UpdateRomaAppResponse) String() string
type UpdateRomaAppResponseRoles ¶
type UpdateRomaAppResponseRoles struct {
// contains filtered or unexported fields
}
func (UpdateRomaAppResponseRoles) MarshalJSON ¶
func (c UpdateRomaAppResponseRoles) MarshalJSON() ([]byte, error)
func (*UpdateRomaAppResponseRoles) UnmarshalJSON ¶
func (c *UpdateRomaAppResponseRoles) UnmarshalJSON(b []byte) error
func (UpdateRomaAppResponseRoles) Value ¶ added in v0.0.90
func (c UpdateRomaAppResponseRoles) Value() string
type UpdateRomaAppResponseRolesEnum ¶
type UpdateRomaAppResponseRolesEnum struct { READ UpdateRomaAppResponseRoles ACCESS UpdateRomaAppResponseRoles DELETE UpdateRomaAppResponseRoles MODIFY UpdateRomaAppResponseRoles ADMIN UpdateRomaAppResponseRoles }
func GetUpdateRomaAppResponseRolesEnum ¶
func GetUpdateRomaAppResponseRolesEnum() UpdateRomaAppResponseRolesEnum
type UpdateRuleRequest ¶
type UpdateRuleRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 规则ID RuleId string `json:"rule_id"` Body *UpdateRuleRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateRuleRequest) String ¶
func (o UpdateRuleRequest) String() string
type UpdateRuleRequestBody ¶
type UpdateRuleRequestBody struct { // 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64 Name *string `json:"name,omitempty"` // 描述,长度0-200 Description *string `json:"description,omitempty"` // 规则状态 0-启用 1-停用,不填写时默认为0-启用 Status *UpdateRuleRequestBodyStatus `json:"status,omitempty"` // 数据解析状态,0-启用 1-停用,不填写时默认为1-禁用 DataParsingStatus *UpdateRuleRequestBodyDataParsingStatus `json:"data_parsing_status,omitempty"` // SQL查询字段 SqlField *string `json:"sql_field,omitempty"` // SQL查询条件 SqlWhere *string `json:"sql_where,omitempty"` }
func (UpdateRuleRequestBody) String ¶
func (o UpdateRuleRequestBody) String() string
type UpdateRuleRequestBodyDataParsingStatus ¶ added in v0.0.78
type UpdateRuleRequestBodyDataParsingStatus struct {
// contains filtered or unexported fields
}
func (UpdateRuleRequestBodyDataParsingStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateRuleRequestBodyDataParsingStatus) MarshalJSON() ([]byte, error)
func (*UpdateRuleRequestBodyDataParsingStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateRuleRequestBodyDataParsingStatus) UnmarshalJSON(b []byte) error
func (UpdateRuleRequestBodyDataParsingStatus) Value ¶ added in v0.0.90
func (c UpdateRuleRequestBodyDataParsingStatus) Value() int32
type UpdateRuleRequestBodyDataParsingStatusEnum ¶ added in v0.0.78
type UpdateRuleRequestBodyDataParsingStatusEnum struct { E_0 UpdateRuleRequestBodyDataParsingStatus E_1 UpdateRuleRequestBodyDataParsingStatus }
func GetUpdateRuleRequestBodyDataParsingStatusEnum ¶ added in v0.0.78
func GetUpdateRuleRequestBodyDataParsingStatusEnum() UpdateRuleRequestBodyDataParsingStatusEnum
type UpdateRuleRequestBodyStatus ¶ added in v0.0.78
type UpdateRuleRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (UpdateRuleRequestBodyStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateRuleRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*UpdateRuleRequestBodyStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateRuleRequestBodyStatus) UnmarshalJSON(b []byte) error
func (UpdateRuleRequestBodyStatus) Value ¶ added in v0.0.90
func (c UpdateRuleRequestBodyStatus) Value() int32
type UpdateRuleRequestBodyStatusEnum ¶ added in v0.0.78
type UpdateRuleRequestBodyStatusEnum struct { E_0 UpdateRuleRequestBodyStatus E_1 UpdateRuleRequestBodyStatus }
func GetUpdateRuleRequestBodyStatusEnum ¶ added in v0.0.78
func GetUpdateRuleRequestBodyStatusEnum() UpdateRuleRequestBodyStatusEnum
type UpdateRuleResponse ¶
type UpdateRuleResponse struct { // 权限 Permissions *[]string `json:"permissions,omitempty"` // 规则ID RuleId *int32 `json:"rule_id,omitempty"` // 规则名称,支持英文大小写,数字,下划线和中划线,长度1-64 Name *string `json:"name,omitempty"` // 应用ID AppId *string `json:"app_id,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 规则状态 0-启用 1-停用 Status *UpdateRuleResponseStatus `json:"status,omitempty"` // 数据解析状态,ENABLE时data_parsing必填 0-启用 1-停用 DataParsingStatus *UpdateRuleResponseDataParsingStatus `json:"data_parsing_status,omitempty"` // SQL查询字段 SqlField *string `json:"sql_field,omitempty"` // SQL查询条件 SqlWhere *string `json:"sql_where,omitempty"` // 完整的规则表达式 RuleExpress *string `json:"rule_express,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间,timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间,timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateRuleResponse) String ¶
func (o UpdateRuleResponse) String() string
type UpdateRuleResponseDataParsingStatus ¶ added in v0.0.78
type UpdateRuleResponseDataParsingStatus struct {
// contains filtered or unexported fields
}
func (UpdateRuleResponseDataParsingStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateRuleResponseDataParsingStatus) MarshalJSON() ([]byte, error)
func (*UpdateRuleResponseDataParsingStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateRuleResponseDataParsingStatus) UnmarshalJSON(b []byte) error
func (UpdateRuleResponseDataParsingStatus) Value ¶ added in v0.0.90
func (c UpdateRuleResponseDataParsingStatus) Value() int32
type UpdateRuleResponseDataParsingStatusEnum ¶ added in v0.0.78
type UpdateRuleResponseDataParsingStatusEnum struct { E_0 UpdateRuleResponseDataParsingStatus E_1 UpdateRuleResponseDataParsingStatus }
func GetUpdateRuleResponseDataParsingStatusEnum ¶ added in v0.0.78
func GetUpdateRuleResponseDataParsingStatusEnum() UpdateRuleResponseDataParsingStatusEnum
type UpdateRuleResponseStatus ¶ added in v0.0.78
type UpdateRuleResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateRuleResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateRuleResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateRuleResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateRuleResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateRuleResponseStatus) Value ¶ added in v0.0.90
func (c UpdateRuleResponseStatus) Value() int32
type UpdateRuleResponseStatusEnum ¶ added in v0.0.78
type UpdateRuleResponseStatusEnum struct { E_0 UpdateRuleResponseStatus E_1 UpdateRuleResponseStatus }
func GetUpdateRuleResponseStatusEnum ¶ added in v0.0.78
func GetUpdateRuleResponseStatusEnum() UpdateRuleResponseStatusEnum
type UpdateServiceRequest ¶
type UpdateServiceRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 服务ID ServiceId string `json:"service_id"` Body *UpdateServiceRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateServiceRequest) String ¶
func (o UpdateServiceRequest) String() string
type UpdateServiceRequestBody ¶
type UpdateServiceRequestBody struct { // 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 ServiceName string `json:"service_name"` // 服务描述,长度0-200 Description *string `json:"description,omitempty"` // 服务状态 0-启用 1-停用 Status UpdateServiceRequestBodyStatus `json:"status"` }
func (UpdateServiceRequestBody) String ¶
func (o UpdateServiceRequestBody) String() string
type UpdateServiceRequestBodyStatus ¶ added in v0.0.78
type UpdateServiceRequestBodyStatus struct {
// contains filtered or unexported fields
}
func (UpdateServiceRequestBodyStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateServiceRequestBodyStatus) MarshalJSON() ([]byte, error)
func (*UpdateServiceRequestBodyStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateServiceRequestBodyStatus) UnmarshalJSON(b []byte) error
func (UpdateServiceRequestBodyStatus) Value ¶ added in v0.0.90
func (c UpdateServiceRequestBodyStatus) Value() int32
type UpdateServiceRequestBodyStatusEnum ¶ added in v0.0.78
type UpdateServiceRequestBodyStatusEnum struct { E_0 UpdateServiceRequestBodyStatus E_1 UpdateServiceRequestBodyStatus }
func GetUpdateServiceRequestBodyStatusEnum ¶ added in v0.0.78
func GetUpdateServiceRequestBodyStatusEnum() UpdateServiceRequestBodyStatusEnum
type UpdateServiceResponse ¶
type UpdateServiceResponse struct { // 服务归属的产品模板ID ProductTemplateId *int32 `json:"product_template_id,omitempty"` // 服务归属的产品ID ProductId *int32 `json:"product_id,omitempty"` // 服务ID ServiceId *int32 `json:"service_id,omitempty"` // 服务名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64 ServiceName *string `json:"service_name,omitempty"` // 服务描述,长度0-200 Description *string `json:"description,omitempty"` // 服务状态 0-启用 1-停用 Status *UpdateServiceResponseStatus `json:"status,omitempty"` CreatedUser *CreatedUser `json:"created_user,omitempty"` LastUpdatedUser *LastUpdatedUser `json:"last_updated_user,omitempty"` // 创建时间止,格式timestamp(ms),使用UTC时区 CreatedDatetime *int64 `json:"created_datetime,omitempty"` // 最后修改时间止,格式timestamp(ms),使用UTC时区 LastUpdatedDatetime *int64 `json:"last_updated_datetime,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateServiceResponse) String ¶
func (o UpdateServiceResponse) String() string
type UpdateServiceResponseStatus ¶ added in v0.0.78
type UpdateServiceResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateServiceResponseStatus) MarshalJSON ¶ added in v0.0.78
func (c UpdateServiceResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateServiceResponseStatus) UnmarshalJSON ¶ added in v0.0.78
func (c *UpdateServiceResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateServiceResponseStatus) Value ¶ added in v0.0.90
func (c UpdateServiceResponseStatus) Value() int32
type UpdateServiceResponseStatusEnum ¶ added in v0.0.78
type UpdateServiceResponseStatusEnum struct { E_0 UpdateServiceResponseStatus E_1 UpdateServiceResponseStatus }
func GetUpdateServiceResponseStatusEnum ¶ added in v0.0.78
func GetUpdateServiceResponseStatusEnum() UpdateServiceResponseStatusEnum
type UpdateSignatureKeyV2Request ¶
type UpdateSignatureKeyV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 签名密钥编号 SignId string `json:"sign_id"` Body *BaseSignature `json:"body,omitempty"` }
Request Object
func (UpdateSignatureKeyV2Request) String ¶
func (o UpdateSignatureKeyV2Request) String() string
type UpdateSignatureKeyV2Response ¶
type UpdateSignatureKeyV2Response struct { // 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // 签名密钥类型: - hmac - basic - public_key - aes basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIC特性”,如确认实例不存在public_key配置可联系技术工程师开启。 aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。 SignType *UpdateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"` // 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名秘钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。 SignKey *string `json:"sign_key,omitempty"` // 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名秘钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。 SignSecret *string `json:"sign_secret,omitempty"` // 签名算法。默认值为空,仅aes类型签名秘钥支持选择签名算法,其他类型签名秘钥不支持签名算法。 SignAlgorithm *UpdateSignatureKeyV2ResponseSignAlgorithm `json:"sign_algorithm,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 签名密钥的编号 Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateSignatureKeyV2Response) String ¶
func (o UpdateSignatureKeyV2Response) String() string
type UpdateSignatureKeyV2ResponseSignAlgorithm ¶
type UpdateSignatureKeyV2ResponseSignAlgorithm struct {
// contains filtered or unexported fields
}
func (UpdateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON ¶
func (c UpdateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON() ([]byte, error)
func (*UpdateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON ¶
func (c *UpdateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON(b []byte) error
func (UpdateSignatureKeyV2ResponseSignAlgorithm) Value ¶ added in v0.0.90
func (c UpdateSignatureKeyV2ResponseSignAlgorithm) Value() string
type UpdateSignatureKeyV2ResponseSignAlgorithmEnum ¶
type UpdateSignatureKeyV2ResponseSignAlgorithmEnum struct { AES_128_CFB UpdateSignatureKeyV2ResponseSignAlgorithm AES_256_CFB UpdateSignatureKeyV2ResponseSignAlgorithm }
func GetUpdateSignatureKeyV2ResponseSignAlgorithmEnum ¶
func GetUpdateSignatureKeyV2ResponseSignAlgorithmEnum() UpdateSignatureKeyV2ResponseSignAlgorithmEnum
type UpdateSignatureKeyV2ResponseSignType ¶
type UpdateSignatureKeyV2ResponseSignType struct {
// contains filtered or unexported fields
}
func (UpdateSignatureKeyV2ResponseSignType) MarshalJSON ¶
func (c UpdateSignatureKeyV2ResponseSignType) MarshalJSON() ([]byte, error)
func (*UpdateSignatureKeyV2ResponseSignType) UnmarshalJSON ¶
func (c *UpdateSignatureKeyV2ResponseSignType) UnmarshalJSON(b []byte) error
func (UpdateSignatureKeyV2ResponseSignType) Value ¶ added in v0.0.90
func (c UpdateSignatureKeyV2ResponseSignType) Value() string
type UpdateSignatureKeyV2ResponseSignTypeEnum ¶
type UpdateSignatureKeyV2ResponseSignTypeEnum struct { HMAC UpdateSignatureKeyV2ResponseSignType BASIC UpdateSignatureKeyV2ResponseSignType PUBLIC_KEY UpdateSignatureKeyV2ResponseSignType AES UpdateSignatureKeyV2ResponseSignType }
func GetUpdateSignatureKeyV2ResponseSignTypeEnum ¶
func GetUpdateSignatureKeyV2ResponseSignTypeEnum() UpdateSignatureKeyV2ResponseSignTypeEnum
type UpdateSpecialThrottlingConfigurationV2Request ¶
type UpdateSpecialThrottlingConfigurationV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // 流控策略的编号 ThrottleId string `json:"throttle_id"` // 特殊配置的编号 StrategyId string `json:"strategy_id"` Body *ThrottleSpecialUpdate `json:"body,omitempty"` }
Request Object
func (UpdateSpecialThrottlingConfigurationV2Request) String ¶
func (o UpdateSpecialThrottlingConfigurationV2Request) String() string
type UpdateSpecialThrottlingConfigurationV2Response ¶
type UpdateSpecialThrottlingConfigurationV2Response struct { // 特殊配置的编号 Id *string `json:"id,omitempty"` // 特殊对象在流控时间内能够访问API的最大次数限制 CallLimits *int32 `json:"call_limits,omitempty"` // 设置时间 ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"` // 作用的APP名称 AppName *string `json:"app_name,omitempty"` // 作用的APP编号 AppId *string `json:"app_id,omitempty"` // 特殊对象的身份标识 ObjectId *string `json:"object_id,omitempty"` // 特殊对象类型:APP、USER ObjectType *string `json:"object_type,omitempty"` // [作用的APP或租户的名称](tag:hws;hws_hk;hcs;fcs;g42;)[作用的APP或租户ID](tag:Site) ObjectName *string `json:"object_name,omitempty"` // 流控策略编号 ThrottleId *string `json:"throttle_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateSpecialThrottlingConfigurationV2Response) String ¶
func (o UpdateSpecialThrottlingConfigurationV2Response) String() string
type UpdateTaskRequest ¶
type UpdateTaskRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 任务ID TaskId string `json:"task_id"` Body *CreateCommonTaskRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateTaskRequest) String ¶
func (o UpdateTaskRequest) String() string
type UpdateTaskResponse ¶
type UpdateTaskResponse struct { Task *TaskBasicRsp `json:"task,omitempty"` // 参数类型为string,参数结构参照附录中“数据集成参数说明>RawFormDataResponse”章节 TaskDetail *string `json:"task_detail,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateTaskResponse) String ¶
func (o UpdateTaskResponse) String() string
type UpdateTopicAccessPolicyPoliciesObject ¶
type UpdateTopicAccessPolicyPoliciesObject struct { // 集成应用key。 AppId string `json:"app_id"` // 应用名称。 AppName string `json:"app_name"` // 权限类型。 - all:发布+订阅 - pub:发布 - sub:订阅 AccessPolicy UpdateTopicAccessPolicyPoliciesObjectAccessPolicy `json:"access_policy"` // 是否为创建topic时所选择的应用。 默认为false。 Owner *bool `json:"owner,omitempty"` // 权限类型对应的标签。 当权限类型是all时,发布和订阅的标签用符号“&”隔开。 当有多个标签时,标签用符号“||”隔开。 Tag *string `json:"tag,omitempty"` }
func (UpdateTopicAccessPolicyPoliciesObject) String ¶
func (o UpdateTopicAccessPolicyPoliciesObject) String() string
type UpdateTopicAccessPolicyPoliciesObjectAccessPolicy ¶
type UpdateTopicAccessPolicyPoliciesObjectAccessPolicy struct {
// contains filtered or unexported fields
}
func (UpdateTopicAccessPolicyPoliciesObjectAccessPolicy) MarshalJSON ¶
func (c UpdateTopicAccessPolicyPoliciesObjectAccessPolicy) MarshalJSON() ([]byte, error)
func (*UpdateTopicAccessPolicyPoliciesObjectAccessPolicy) UnmarshalJSON ¶
func (c *UpdateTopicAccessPolicyPoliciesObjectAccessPolicy) UnmarshalJSON(b []byte) error
func (UpdateTopicAccessPolicyPoliciesObjectAccessPolicy) Value ¶ added in v0.0.90
func (c UpdateTopicAccessPolicyPoliciesObjectAccessPolicy) Value() string
type UpdateTopicAccessPolicyPoliciesObjectAccessPolicyEnum ¶
type UpdateTopicAccessPolicyPoliciesObjectAccessPolicyEnum struct { ALL UpdateTopicAccessPolicyPoliciesObjectAccessPolicy PUB UpdateTopicAccessPolicyPoliciesObjectAccessPolicy SUB UpdateTopicAccessPolicyPoliciesObjectAccessPolicy }
func GetUpdateTopicAccessPolicyPoliciesObjectAccessPolicyEnum ¶
func GetUpdateTopicAccessPolicyPoliciesObjectAccessPolicyEnum() UpdateTopicAccessPolicyPoliciesObjectAccessPolicyEnum
type UpdateTopicAccessPolicyReq ¶
type UpdateTopicAccessPolicyReq struct { // 策略列表。 Topics []UpdateTopicAccessPolicyTopicsObject `json:"topics"` }
func (UpdateTopicAccessPolicyReq) String ¶
func (o UpdateTopicAccessPolicyReq) String() string
type UpdateTopicAccessPolicyRequest ¶
type UpdateTopicAccessPolicyRequest struct { // 实例ID。 InstanceId string `json:"instance_id"` Body *UpdateTopicAccessPolicyReq `json:"body,omitempty"` }
Request Object
func (UpdateTopicAccessPolicyRequest) String ¶
func (o UpdateTopicAccessPolicyRequest) String() string
type UpdateTopicAccessPolicyResponse ¶
type UpdateTopicAccessPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateTopicAccessPolicyResponse) String ¶
func (o UpdateTopicAccessPolicyResponse) String() string
type UpdateTopicAccessPolicyTopicsObject ¶
type UpdateTopicAccessPolicyTopicsObject struct { // topic名称。 Name string `json:"name"` // 权限列表。 Policies []UpdateTopicAccessPolicyPoliciesObject `json:"policies"` // 描述。 Description *string `json:"description,omitempty"` // 敏感字段。 SensitiveWord *string `json:"sensitive_word,omitempty"` }
func (UpdateTopicAccessPolicyTopicsObject) String ¶
func (o UpdateTopicAccessPolicyTopicsObject) String() string
type UpdateTopicObject ¶
type UpdateTopicObject struct { // topic名称。 Name string `json:"name"` // 消息老化时间。默认值为72。取值范围1~720,单位小时。 RetentionTime *int32 `json:"retention_time,omitempty"` // 是否开启同步复制。 SyncReplication *bool `json:"sync_replication,omitempty"` // 是否使用同步落盘。 SyncMessageFlush *bool `json:"sync_message_flush,omitempty"` // 描述。 Description *string `json:"description,omitempty"` // 敏感字段。 SensitiveWord *string `json:"sensitive_word,omitempty"` }
func (UpdateTopicObject) String ¶
func (o UpdateTopicObject) String() string
type UpdateVpcChannelV2Request ¶
type UpdateVpcChannelV2Request struct { // 实例ID InstanceId string `json:"instance_id"` // VPC通道的编号 VpcChannelId string `json:"vpc_channel_id"` Body *VpcCreate `json:"body,omitempty"` }
Request Object
func (UpdateVpcChannelV2Request) String ¶
func (o UpdateVpcChannelV2Request) String() string
type UpdateVpcChannelV2Response ¶
type UpdateVpcChannelV2Response struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy UpdateVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs MemberType UpdateVpcChannelV2ResponseMemberType `json:"member_type"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的状态。 - 1:正常 - 2:异常 Status *UpdateVpcChannelV2ResponseStatus `json:"status,omitempty"` // 后端云服务器组列表。 [暂不支持](tag:Site) MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateVpcChannelV2Response) String ¶
func (o UpdateVpcChannelV2Response) String() string
type UpdateVpcChannelV2ResponseBalanceStrategy ¶
type UpdateVpcChannelV2ResponseBalanceStrategy struct {
// contains filtered or unexported fields
}
func (UpdateVpcChannelV2ResponseBalanceStrategy) MarshalJSON ¶
func (c UpdateVpcChannelV2ResponseBalanceStrategy) MarshalJSON() ([]byte, error)
func (*UpdateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON ¶
func (c *UpdateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON(b []byte) error
func (UpdateVpcChannelV2ResponseBalanceStrategy) Value ¶ added in v0.0.90
func (c UpdateVpcChannelV2ResponseBalanceStrategy) Value() int32
type UpdateVpcChannelV2ResponseBalanceStrategyEnum ¶
type UpdateVpcChannelV2ResponseBalanceStrategyEnum struct { E_1 UpdateVpcChannelV2ResponseBalanceStrategy E_2 UpdateVpcChannelV2ResponseBalanceStrategy E_3 UpdateVpcChannelV2ResponseBalanceStrategy E_4 UpdateVpcChannelV2ResponseBalanceStrategy }
func GetUpdateVpcChannelV2ResponseBalanceStrategyEnum ¶
func GetUpdateVpcChannelV2ResponseBalanceStrategyEnum() UpdateVpcChannelV2ResponseBalanceStrategyEnum
type UpdateVpcChannelV2ResponseMemberType ¶
type UpdateVpcChannelV2ResponseMemberType struct {
// contains filtered or unexported fields
}
func (UpdateVpcChannelV2ResponseMemberType) MarshalJSON ¶
func (c UpdateVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)
func (*UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON ¶
func (c *UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error
func (UpdateVpcChannelV2ResponseMemberType) Value ¶ added in v0.0.90
func (c UpdateVpcChannelV2ResponseMemberType) Value() string
type UpdateVpcChannelV2ResponseMemberTypeEnum ¶
type UpdateVpcChannelV2ResponseMemberTypeEnum struct { IP UpdateVpcChannelV2ResponseMemberType ECS UpdateVpcChannelV2ResponseMemberType }
func GetUpdateVpcChannelV2ResponseMemberTypeEnum ¶
func GetUpdateVpcChannelV2ResponseMemberTypeEnum() UpdateVpcChannelV2ResponseMemberTypeEnum
type UpdateVpcChannelV2ResponseStatus ¶
type UpdateVpcChannelV2ResponseStatus struct {
// contains filtered or unexported fields
}
func (UpdateVpcChannelV2ResponseStatus) MarshalJSON ¶
func (c UpdateVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)
func (*UpdateVpcChannelV2ResponseStatus) UnmarshalJSON ¶
func (c *UpdateVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error
func (UpdateVpcChannelV2ResponseStatus) Value ¶ added in v0.0.90
func (c UpdateVpcChannelV2ResponseStatus) Value() int32
type UpdateVpcChannelV2ResponseStatusEnum ¶
type UpdateVpcChannelV2ResponseStatusEnum struct { E_1 UpdateVpcChannelV2ResponseStatus E_2 UpdateVpcChannelV2ResponseStatus }
func GetUpdateVpcChannelV2ResponseStatusEnum ¶
func GetUpdateVpcChannelV2ResponseStatusEnum() UpdateVpcChannelV2ResponseStatusEnum
type UploadProductRequest ¶
type UploadProductRequest struct { // 实例ID InstanceId string `json:"instance_id"` Body *UploadProductRequestBody `json:"body,omitempty" type:"multipart"` }
Request Object
func (UploadProductRequest) String ¶
func (o UploadProductRequest) String() string
type UploadProductRequestBody ¶
type UploadProductRequestBody struct { // 上传产品文件(.csv格式) File *def.FilePart `json:"file,omitempty"` }
func (UploadProductRequestBody) String ¶
func (o UploadProductRequestBody) String() string
func (*UploadProductRequestBody) UnmarshalJSON ¶
func (o *UploadProductRequestBody) UnmarshalJSON(b []byte) error
type UploadProductResponse ¶
type UploadProductResponse struct { // 导入成功的产品数 SuccNum *int32 `json:"succ_num,omitempty"` // 导入失败的产品数 FailNum *int32 `json:"fail_num,omitempty"` // 导入失败的产品名称列表 FailObjectsIds *[]string `json:"fail_objects_ids,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UploadProductResponse) String ¶
func (o UploadProductResponse) String() string
type UrlDomain ¶
type UrlDomain struct { // 域名编号 Id *string `json:"id,omitempty"` // 访问域名 Domain *string `json:"domain,omitempty"` // 域名cname状态: - 1:未解析 - 2:解析中 - 3:解析成功 - 4:解析失败 CnameStatus *int32 `json:"cname_status,omitempty"` // SSL证书编号 SslId *string `json:"ssl_id,omitempty"` // SSL证书名称 SslName *string `json:"ssl_name,omitempty"` // 最小ssl协议版本号。支持TLSv1.1或TLSv1.2 MinSslVersion *UrlDomainMinSslVersion `json:"min_ssl_version,omitempty"` }
type UrlDomainBase ¶
type UrlDomainBase struct { // 最小ssl协议版本号。支持TLSv1.1或TLSv1.2 MinSslVersion *UrlDomainBaseMinSslVersion `json:"min_ssl_version,omitempty"` }
func (UrlDomainBase) String ¶
func (o UrlDomainBase) String() string
type UrlDomainBaseInfo ¶
type UrlDomainBaseInfo struct { // 自定义域名 UrlDomain string `json:"url_domain"` // 自定义域名的编号 Id string `json:"id"` // CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败 Status UrlDomainBaseInfoStatus `json:"status"` // 支持的最小SSL版本 MinSslVersion string `json:"min_ssl_version"` }
func (UrlDomainBaseInfo) String ¶
func (o UrlDomainBaseInfo) String() string
type UrlDomainBaseInfoStatus ¶
type UrlDomainBaseInfoStatus struct {
// contains filtered or unexported fields
}
func (UrlDomainBaseInfoStatus) MarshalJSON ¶
func (c UrlDomainBaseInfoStatus) MarshalJSON() ([]byte, error)
func (*UrlDomainBaseInfoStatus) UnmarshalJSON ¶
func (c *UrlDomainBaseInfoStatus) UnmarshalJSON(b []byte) error
func (UrlDomainBaseInfoStatus) Value ¶ added in v0.0.90
func (c UrlDomainBaseInfoStatus) Value() int32
type UrlDomainBaseInfoStatusEnum ¶
type UrlDomainBaseInfoStatusEnum struct { E_1 UrlDomainBaseInfoStatus E_2 UrlDomainBaseInfoStatus E_3 UrlDomainBaseInfoStatus E_4 UrlDomainBaseInfoStatus }
func GetUrlDomainBaseInfoStatusEnum ¶
func GetUrlDomainBaseInfoStatusEnum() UrlDomainBaseInfoStatusEnum
type UrlDomainBaseMinSslVersion ¶
type UrlDomainBaseMinSslVersion struct {
// contains filtered or unexported fields
}
func (UrlDomainBaseMinSslVersion) MarshalJSON ¶
func (c UrlDomainBaseMinSslVersion) MarshalJSON() ([]byte, error)
func (*UrlDomainBaseMinSslVersion) UnmarshalJSON ¶
func (c *UrlDomainBaseMinSslVersion) UnmarshalJSON(b []byte) error
func (UrlDomainBaseMinSslVersion) Value ¶ added in v0.0.90
func (c UrlDomainBaseMinSslVersion) Value() string
type UrlDomainBaseMinSslVersionEnum ¶
type UrlDomainBaseMinSslVersionEnum struct { TL_SV1_1 UrlDomainBaseMinSslVersion TL_SV1_2 UrlDomainBaseMinSslVersion }
func GetUrlDomainBaseMinSslVersionEnum ¶
func GetUrlDomainBaseMinSslVersionEnum() UrlDomainBaseMinSslVersionEnum
type UrlDomainCreate ¶
type UrlDomainCreate struct { // 最小ssl协议版本号。支持TLSv1.1或TLSv1.2 MinSslVersion *UrlDomainCreateMinSslVersion `json:"min_ssl_version,omitempty"` // 自定义域名。长度为0-255位的字符串,需要符合域名规范。 UrlDomain *string `json:"url_domain,omitempty"` }
func (UrlDomainCreate) String ¶
func (o UrlDomainCreate) String() string
type UrlDomainCreateMinSslVersion ¶
type UrlDomainCreateMinSslVersion struct {
// contains filtered or unexported fields
}
func (UrlDomainCreateMinSslVersion) MarshalJSON ¶
func (c UrlDomainCreateMinSslVersion) MarshalJSON() ([]byte, error)
func (*UrlDomainCreateMinSslVersion) UnmarshalJSON ¶
func (c *UrlDomainCreateMinSslVersion) UnmarshalJSON(b []byte) error
func (UrlDomainCreateMinSslVersion) Value ¶ added in v0.0.90
func (c UrlDomainCreateMinSslVersion) Value() string
type UrlDomainCreateMinSslVersionEnum ¶
type UrlDomainCreateMinSslVersionEnum struct { TL_SV1_1 UrlDomainCreateMinSslVersion TL_SV1_2 UrlDomainCreateMinSslVersion }
func GetUrlDomainCreateMinSslVersionEnum ¶
func GetUrlDomainCreateMinSslVersionEnum() UrlDomainCreateMinSslVersionEnum
type UrlDomainMinSslVersion ¶
type UrlDomainMinSslVersion struct {
// contains filtered or unexported fields
}
func (UrlDomainMinSslVersion) MarshalJSON ¶
func (c UrlDomainMinSslVersion) MarshalJSON() ([]byte, error)
func (*UrlDomainMinSslVersion) UnmarshalJSON ¶
func (c *UrlDomainMinSslVersion) UnmarshalJSON(b []byte) error
func (UrlDomainMinSslVersion) Value ¶ added in v0.0.90
func (c UrlDomainMinSslVersion) Value() string
type UrlDomainMinSslVersionEnum ¶
type UrlDomainMinSslVersionEnum struct { TL_SV1_1 UrlDomainMinSslVersion TL_SV1_2 UrlDomainMinSslVersion }
func GetUrlDomainMinSslVersionEnum ¶
func GetUrlDomainMinSslVersionEnum() UrlDomainMinSslVersionEnum
type UrlDomainModify ¶
type UrlDomainModify struct { // 最小ssl协议版本号。支持TLSv1.1或TLSv1.2 MinSslVersion *UrlDomainModifyMinSslVersion `json:"min_ssl_version,omitempty"` }
func (UrlDomainModify) String ¶
func (o UrlDomainModify) String() string
type UrlDomainModifyMinSslVersion ¶
type UrlDomainModifyMinSslVersion struct {
// contains filtered or unexported fields
}
func (UrlDomainModifyMinSslVersion) MarshalJSON ¶
func (c UrlDomainModifyMinSslVersion) MarshalJSON() ([]byte, error)
func (*UrlDomainModifyMinSslVersion) UnmarshalJSON ¶
func (c *UrlDomainModifyMinSslVersion) UnmarshalJSON(b []byte) error
func (UrlDomainModifyMinSslVersion) Value ¶ added in v0.0.90
func (c UrlDomainModifyMinSslVersion) Value() string
type UrlDomainModifyMinSslVersionEnum ¶
type UrlDomainModifyMinSslVersionEnum struct { TL_SV1_1 UrlDomainModifyMinSslVersion TL_SV1_2 UrlDomainModifyMinSslVersion }
func GetUrlDomainModifyMinSslVersionEnum ¶
func GetUrlDomainModifyMinSslVersionEnum() UrlDomainModifyMinSslVersionEnum
type User ¶ added in v0.0.75
type UserRoles ¶ added in v0.0.75
type UserRoles struct {
// contains filtered or unexported fields
}
func (UserRoles) MarshalJSON ¶ added in v0.0.75
func (*UserRoles) UnmarshalJSON ¶ added in v0.0.75
type UserRolesEnum ¶ added in v0.0.75
type UserRolesEnum struct { READ UserRoles ACCESS UserRoles DELETE UserRoles MODIFY UserRoles ADMIN UserRoles }
func GetUserRolesEnum ¶ added in v0.0.75
func GetUserRolesEnum() UserRolesEnum
type ValidateDictionaryRequest ¶
type ValidateDictionaryRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 待校验是否重复的字典名称,精确匹配 Name *string `json:"name,omitempty"` // 待校验是否重复的字典编码,精确匹配 Code *string `json:"code,omitempty"` }
Request Object
func (ValidateDictionaryRequest) String ¶
func (o ValidateDictionaryRequest) String() string
type ValidateDictionaryResponse ¶
type ValidateDictionaryResponse struct { // 字典名称 - 字符集:中文、英文字母、数字、下划线和空格 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 字典编码 - 字符集:英文字母、数字、下划线和空格 - 约束:实例下唯一 Code *string `json:"code,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ValidateDictionaryResponse) String ¶
func (o ValidateDictionaryResponse) String() string
type ValidateRomaAppRequest ¶
type ValidateRomaAppRequest struct { // 实例ID InstanceId string `json:"instance_id"` // 应用名称,不支持模糊匹配 Name *string `json:"name,omitempty"` // 应用ID Id *string `json:"id,omitempty"` // 应用key Key *string `json:"key,omitempty"` }
Request Object
func (ValidateRomaAppRequest) String ¶
func (o ValidateRomaAppRequest) String() string
type ValidateRomaAppResponse ¶
type ValidateRomaAppResponse struct { // 应用ID Id *string `json:"id,omitempty"` // 应用名称 - 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号 - 约束:实例下唯一 Name *string `json:"name,omitempty"` // 应用描述 Remark *string `json:"remark,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ValidateRomaAppResponse) String ¶
func (o ValidateRomaAppResponse) String() string
type VpcBase ¶
type VpcBase struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy VpcBaseBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs MemberType VpcBaseMemberType `json:"member_type"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` }
type VpcBaseBalanceStrategy ¶
type VpcBaseBalanceStrategy struct {
// contains filtered or unexported fields
}
func (VpcBaseBalanceStrategy) MarshalJSON ¶
func (c VpcBaseBalanceStrategy) MarshalJSON() ([]byte, error)
func (*VpcBaseBalanceStrategy) UnmarshalJSON ¶
func (c *VpcBaseBalanceStrategy) UnmarshalJSON(b []byte) error
func (VpcBaseBalanceStrategy) Value ¶ added in v0.0.90
func (c VpcBaseBalanceStrategy) Value() int32
type VpcBaseBalanceStrategyEnum ¶
type VpcBaseBalanceStrategyEnum struct { E_1 VpcBaseBalanceStrategy E_2 VpcBaseBalanceStrategy E_3 VpcBaseBalanceStrategy E_4 VpcBaseBalanceStrategy }
func GetVpcBaseBalanceStrategyEnum ¶
func GetVpcBaseBalanceStrategyEnum() VpcBaseBalanceStrategyEnum
type VpcBaseInfo ¶
type VpcBaseInfo struct { // 云服务器ID EcsId *string `json:"ecs_id,omitempty"` // 云服务器名称 EcsName *string `json:"ecs_name,omitempty"` // 是否使用级联方式 暂不支持 CascadeFlag *bool `json:"cascade_flag,omitempty"` }
func (VpcBaseInfo) String ¶
func (o VpcBaseInfo) String() string
type VpcBaseMemberType ¶
type VpcBaseMemberType struct {
// contains filtered or unexported fields
}
func (VpcBaseMemberType) MarshalJSON ¶
func (c VpcBaseMemberType) MarshalJSON() ([]byte, error)
func (*VpcBaseMemberType) UnmarshalJSON ¶
func (c *VpcBaseMemberType) UnmarshalJSON(b []byte) error
func (VpcBaseMemberType) Value ¶ added in v0.0.90
func (c VpcBaseMemberType) Value() string
type VpcBaseMemberTypeEnum ¶
type VpcBaseMemberTypeEnum struct { IP VpcBaseMemberType ECS VpcBaseMemberType }
func GetVpcBaseMemberTypeEnum ¶
func GetVpcBaseMemberTypeEnum() VpcBaseMemberTypeEnum
type VpcChannelInfo ¶
type VpcChannelInfo struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy VpcChannelInfoBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs MemberType VpcChannelInfoMemberType `json:"member_type"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道的创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // VPC通道的编号 Id *string `json:"id,omitempty"` // VPC通道的状态。 - 1:正常 - 2:异常 Status *VpcChannelInfoStatus `json:"status,omitempty"` // 后端云服务器组列表。 [暂不支持](tag:Site) MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"` }
func (VpcChannelInfo) String ¶
func (o VpcChannelInfo) String() string
type VpcChannelInfoBalanceStrategy ¶
type VpcChannelInfoBalanceStrategy struct {
// contains filtered or unexported fields
}
func (VpcChannelInfoBalanceStrategy) MarshalJSON ¶
func (c VpcChannelInfoBalanceStrategy) MarshalJSON() ([]byte, error)
func (*VpcChannelInfoBalanceStrategy) UnmarshalJSON ¶
func (c *VpcChannelInfoBalanceStrategy) UnmarshalJSON(b []byte) error
func (VpcChannelInfoBalanceStrategy) Value ¶ added in v0.0.90
func (c VpcChannelInfoBalanceStrategy) Value() int32
type VpcChannelInfoBalanceStrategyEnum ¶
type VpcChannelInfoBalanceStrategyEnum struct { E_1 VpcChannelInfoBalanceStrategy E_2 VpcChannelInfoBalanceStrategy E_3 VpcChannelInfoBalanceStrategy E_4 VpcChannelInfoBalanceStrategy }
func GetVpcChannelInfoBalanceStrategyEnum ¶
func GetVpcChannelInfoBalanceStrategyEnum() VpcChannelInfoBalanceStrategyEnum
type VpcChannelInfoMemberType ¶
type VpcChannelInfoMemberType struct {
// contains filtered or unexported fields
}
func (VpcChannelInfoMemberType) MarshalJSON ¶
func (c VpcChannelInfoMemberType) MarshalJSON() ([]byte, error)
func (*VpcChannelInfoMemberType) UnmarshalJSON ¶
func (c *VpcChannelInfoMemberType) UnmarshalJSON(b []byte) error
func (VpcChannelInfoMemberType) Value ¶ added in v0.0.90
func (c VpcChannelInfoMemberType) Value() string
type VpcChannelInfoMemberTypeEnum ¶
type VpcChannelInfoMemberTypeEnum struct { IP VpcChannelInfoMemberType ECS VpcChannelInfoMemberType }
func GetVpcChannelInfoMemberTypeEnum ¶
func GetVpcChannelInfoMemberTypeEnum() VpcChannelInfoMemberTypeEnum
type VpcChannelInfoStatus ¶
type VpcChannelInfoStatus struct {
// contains filtered or unexported fields
}
func (VpcChannelInfoStatus) MarshalJSON ¶
func (c VpcChannelInfoStatus) MarshalJSON() ([]byte, error)
func (*VpcChannelInfoStatus) UnmarshalJSON ¶
func (c *VpcChannelInfoStatus) UnmarshalJSON(b []byte) error
func (VpcChannelInfoStatus) Value ¶ added in v0.0.90
func (c VpcChannelInfoStatus) Value() int32
type VpcChannelInfoStatusEnum ¶
type VpcChannelInfoStatusEnum struct { E_1 VpcChannelInfoStatus E_2 VpcChannelInfoStatus }
func GetVpcChannelInfoStatusEnum ¶
func GetVpcChannelInfoStatusEnum() VpcChannelInfoStatusEnum
type VpcCreate ¶
type VpcCreate struct { // VPC通道的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。 Name string `json:"name"` // VPC通道中主机的端口号。 取值范围1 ~ 65535。 Port int32 `json:"port"` // 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri) BalanceStrategy VpcCreateBalanceStrategy `json:"balance_strategy"` // VPC通道的成员类型。[site场景必须修改成IP类型](tag:Site) - ip - ecs MemberType VpcCreateMemberType `json:"member_type"` // VPC通道的字典编码 支持英文,数字,特殊字符(-_.) 暂不支持 DictCode *string `json:"dict_code,omitempty"` // VPC通道后端服务器组列表 MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"` // VPC后端实例列表。 Members *[]MemberInfo `json:"members,omitempty"` VpcHealthConfig *VpcHealthConfig `json:"vpc_health_config,omitempty"` }
type VpcCreateBalanceStrategy ¶
type VpcCreateBalanceStrategy struct {
// contains filtered or unexported fields
}
func (VpcCreateBalanceStrategy) MarshalJSON ¶
func (c VpcCreateBalanceStrategy) MarshalJSON() ([]byte, error)
func (*VpcCreateBalanceStrategy) UnmarshalJSON ¶
func (c *VpcCreateBalanceStrategy) UnmarshalJSON(b []byte) error
func (VpcCreateBalanceStrategy) Value ¶ added in v0.0.90
func (c VpcCreateBalanceStrategy) Value() int32
type VpcCreateBalanceStrategyEnum ¶
type VpcCreateBalanceStrategyEnum struct { E_1 VpcCreateBalanceStrategy E_2 VpcCreateBalanceStrategy E_3 VpcCreateBalanceStrategy E_4 VpcCreateBalanceStrategy }
func GetVpcCreateBalanceStrategyEnum ¶
func GetVpcCreateBalanceStrategyEnum() VpcCreateBalanceStrategyEnum
type VpcCreateMemberType ¶
type VpcCreateMemberType struct {
// contains filtered or unexported fields
}
func (VpcCreateMemberType) MarshalJSON ¶
func (c VpcCreateMemberType) MarshalJSON() ([]byte, error)
func (*VpcCreateMemberType) UnmarshalJSON ¶
func (c *VpcCreateMemberType) UnmarshalJSON(b []byte) error
func (VpcCreateMemberType) Value ¶ added in v0.0.90
func (c VpcCreateMemberType) Value() string
type VpcCreateMemberTypeEnum ¶
type VpcCreateMemberTypeEnum struct { IP VpcCreateMemberType ECS VpcCreateMemberType }
func GetVpcCreateMemberTypeEnum ¶
func GetVpcCreateMemberTypeEnum() VpcCreateMemberTypeEnum
type VpcHealthConfig ¶
type VpcHealthConfig struct { // 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS Protocol VpcHealthConfigProtocol `json:"protocol"` // 健康检查时的目标路径。protocol = http或https时必选 Path *string `json:"path,omitempty"` // 健康检查时的请求方法 Method *VpcHealthConfigMethod `json:"method,omitempty"` // 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 Port *int32 `json:"port,omitempty"` // 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 ThresholdNormal int32 `json:"threshold_normal"` // 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。 ThresholdAbnormal int32 `json:"threshold_abnormal"` // 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。 TimeInterval int32 `json:"time_interval"` // 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 HttpCode *string `json:"http_code,omitempty"` // 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 健康检查状态 - 1:可用 - 2:不可用 Status *VpcHealthConfigStatus `json:"status,omitempty"` // 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。 Timeout *int32 `json:"timeout,omitempty"` }
健康检查详情。
func (VpcHealthConfig) String ¶
func (o VpcHealthConfig) String() string
type VpcHealthConfigBase ¶
type VpcHealthConfigBase struct { // 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS Protocol VpcHealthConfigBaseProtocol `json:"protocol"` // 健康检查时的目标路径。protocol = http或https时必选 Path *string `json:"path,omitempty"` // 健康检查时的请求方法 Method *VpcHealthConfigBaseMethod `json:"method,omitempty"` // 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 Port *int32 `json:"port,omitempty"` // 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 ThresholdNormal int32 `json:"threshold_normal"` // 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。 ThresholdAbnormal int32 `json:"threshold_abnormal"` // 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。 TimeInterval int32 `json:"time_interval"` // 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 HttpCode *string `json:"http_code,omitempty"` // 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 健康检查状态 - 1:可用 - 2:不可用 Status *VpcHealthConfigBaseStatus `json:"status,omitempty"` }
func (VpcHealthConfigBase) String ¶
func (o VpcHealthConfigBase) String() string
type VpcHealthConfigBaseMethod ¶
type VpcHealthConfigBaseMethod struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigBaseMethod) MarshalJSON ¶
func (c VpcHealthConfigBaseMethod) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigBaseMethod) UnmarshalJSON ¶
func (c *VpcHealthConfigBaseMethod) UnmarshalJSON(b []byte) error
func (VpcHealthConfigBaseMethod) Value ¶ added in v0.0.90
func (c VpcHealthConfigBaseMethod) Value() string
type VpcHealthConfigBaseMethodEnum ¶
type VpcHealthConfigBaseMethodEnum struct { GET VpcHealthConfigBaseMethod HEAD VpcHealthConfigBaseMethod }
func GetVpcHealthConfigBaseMethodEnum ¶
func GetVpcHealthConfigBaseMethodEnum() VpcHealthConfigBaseMethodEnum
type VpcHealthConfigBaseProtocol ¶
type VpcHealthConfigBaseProtocol struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigBaseProtocol) MarshalJSON ¶
func (c VpcHealthConfigBaseProtocol) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigBaseProtocol) UnmarshalJSON ¶
func (c *VpcHealthConfigBaseProtocol) UnmarshalJSON(b []byte) error
func (VpcHealthConfigBaseProtocol) Value ¶ added in v0.0.90
func (c VpcHealthConfigBaseProtocol) Value() string
type VpcHealthConfigBaseProtocolEnum ¶
type VpcHealthConfigBaseProtocolEnum struct { TCP VpcHealthConfigBaseProtocol HTTP VpcHealthConfigBaseProtocol HTTPS VpcHealthConfigBaseProtocol }
func GetVpcHealthConfigBaseProtocolEnum ¶
func GetVpcHealthConfigBaseProtocolEnum() VpcHealthConfigBaseProtocolEnum
type VpcHealthConfigBaseStatus ¶
type VpcHealthConfigBaseStatus struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigBaseStatus) MarshalJSON ¶
func (c VpcHealthConfigBaseStatus) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigBaseStatus) UnmarshalJSON ¶
func (c *VpcHealthConfigBaseStatus) UnmarshalJSON(b []byte) error
func (VpcHealthConfigBaseStatus) Value ¶ added in v0.0.90
func (c VpcHealthConfigBaseStatus) Value() int32
type VpcHealthConfigBaseStatusEnum ¶
type VpcHealthConfigBaseStatusEnum struct { E_1 VpcHealthConfigBaseStatus E_2 VpcHealthConfigBaseStatus }
func GetVpcHealthConfigBaseStatusEnum ¶
func GetVpcHealthConfigBaseStatusEnum() VpcHealthConfigBaseStatusEnum
type VpcHealthConfigInfo ¶
type VpcHealthConfigInfo struct { // 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS Protocol VpcHealthConfigInfoProtocol `json:"protocol"` // 健康检查时的目标路径。protocol = http或https时必选 Path *string `json:"path,omitempty"` // 健康检查时的请求方法 Method *VpcHealthConfigInfoMethod `json:"method,omitempty"` // 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。 若此端口存在非0值,则使用此端口进行健康检查。 Port *int32 `json:"port,omitempty"` // 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。 ThresholdNormal int32 `json:"threshold_normal"` // 异常阙值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。 ThresholdAbnormal int32 `json:"threshold_abnormal"` // 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。 TimeInterval int32 `json:"time_interval"` // 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选 HttpCode *string `json:"http_code,omitempty"` // 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书 EnableClientSsl *bool `json:"enable_client_ssl,omitempty"` // 健康检查状态 - 1:可用 - 2:不可用 Status *VpcHealthConfigInfoStatus `json:"status,omitempty"` // 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。 Timeout *int32 `json:"timeout,omitempty"` // VPC通道的编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // 健康检查的编号 Id *string `json:"id,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` }
健康检查详情。
func (VpcHealthConfigInfo) String ¶
func (o VpcHealthConfigInfo) String() string
type VpcHealthConfigInfoMethod ¶
type VpcHealthConfigInfoMethod struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigInfoMethod) MarshalJSON ¶
func (c VpcHealthConfigInfoMethod) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigInfoMethod) UnmarshalJSON ¶
func (c *VpcHealthConfigInfoMethod) UnmarshalJSON(b []byte) error
func (VpcHealthConfigInfoMethod) Value ¶ added in v0.0.90
func (c VpcHealthConfigInfoMethod) Value() string
type VpcHealthConfigInfoMethodEnum ¶
type VpcHealthConfigInfoMethodEnum struct { GET VpcHealthConfigInfoMethod HEAD VpcHealthConfigInfoMethod }
func GetVpcHealthConfigInfoMethodEnum ¶
func GetVpcHealthConfigInfoMethodEnum() VpcHealthConfigInfoMethodEnum
type VpcHealthConfigInfoProtocol ¶
type VpcHealthConfigInfoProtocol struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigInfoProtocol) MarshalJSON ¶
func (c VpcHealthConfigInfoProtocol) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigInfoProtocol) UnmarshalJSON ¶
func (c *VpcHealthConfigInfoProtocol) UnmarshalJSON(b []byte) error
func (VpcHealthConfigInfoProtocol) Value ¶ added in v0.0.90
func (c VpcHealthConfigInfoProtocol) Value() string
type VpcHealthConfigInfoProtocolEnum ¶
type VpcHealthConfigInfoProtocolEnum struct { TCP VpcHealthConfigInfoProtocol HTTP VpcHealthConfigInfoProtocol HTTPS VpcHealthConfigInfoProtocol }
func GetVpcHealthConfigInfoProtocolEnum ¶
func GetVpcHealthConfigInfoProtocolEnum() VpcHealthConfigInfoProtocolEnum
type VpcHealthConfigInfoStatus ¶
type VpcHealthConfigInfoStatus struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigInfoStatus) MarshalJSON ¶
func (c VpcHealthConfigInfoStatus) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigInfoStatus) UnmarshalJSON ¶
func (c *VpcHealthConfigInfoStatus) UnmarshalJSON(b []byte) error
func (VpcHealthConfigInfoStatus) Value ¶ added in v0.0.90
func (c VpcHealthConfigInfoStatus) Value() int32
type VpcHealthConfigInfoStatusEnum ¶
type VpcHealthConfigInfoStatusEnum struct { E_1 VpcHealthConfigInfoStatus E_2 VpcHealthConfigInfoStatus }
func GetVpcHealthConfigInfoStatusEnum ¶
func GetVpcHealthConfigInfoStatusEnum() VpcHealthConfigInfoStatusEnum
type VpcHealthConfigMethod ¶
type VpcHealthConfigMethod struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigMethod) MarshalJSON ¶
func (c VpcHealthConfigMethod) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigMethod) UnmarshalJSON ¶
func (c *VpcHealthConfigMethod) UnmarshalJSON(b []byte) error
func (VpcHealthConfigMethod) Value ¶ added in v0.0.90
func (c VpcHealthConfigMethod) Value() string
type VpcHealthConfigMethodEnum ¶
type VpcHealthConfigMethodEnum struct { GET VpcHealthConfigMethod HEAD VpcHealthConfigMethod }
func GetVpcHealthConfigMethodEnum ¶
func GetVpcHealthConfigMethodEnum() VpcHealthConfigMethodEnum
type VpcHealthConfigProtocol ¶
type VpcHealthConfigProtocol struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigProtocol) MarshalJSON ¶
func (c VpcHealthConfigProtocol) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigProtocol) UnmarshalJSON ¶
func (c *VpcHealthConfigProtocol) UnmarshalJSON(b []byte) error
func (VpcHealthConfigProtocol) Value ¶ added in v0.0.90
func (c VpcHealthConfigProtocol) Value() string
type VpcHealthConfigProtocolEnum ¶
type VpcHealthConfigProtocolEnum struct { TCP VpcHealthConfigProtocol HTTP VpcHealthConfigProtocol HTTPS VpcHealthConfigProtocol }
func GetVpcHealthConfigProtocolEnum ¶
func GetVpcHealthConfigProtocolEnum() VpcHealthConfigProtocolEnum
type VpcHealthConfigStatus ¶
type VpcHealthConfigStatus struct {
// contains filtered or unexported fields
}
func (VpcHealthConfigStatus) MarshalJSON ¶
func (c VpcHealthConfigStatus) MarshalJSON() ([]byte, error)
func (*VpcHealthConfigStatus) UnmarshalJSON ¶
func (c *VpcHealthConfigStatus) UnmarshalJSON(b []byte) error
func (VpcHealthConfigStatus) Value ¶ added in v0.0.90
func (c VpcHealthConfigStatus) Value() int32
type VpcHealthConfigStatusEnum ¶
type VpcHealthConfigStatusEnum struct { E_1 VpcHealthConfigStatus E_2 VpcHealthConfigStatus }
func GetVpcHealthConfigStatusEnum ¶
func GetVpcHealthConfigStatusEnum() VpcHealthConfigStatusEnum
type VpcInfo ¶
type VpcInfo struct { // 云服务器ID EcsId *string `json:"ecs_id,omitempty"` // 云服务器名称 EcsName *string `json:"ecs_name,omitempty"` // 是否使用级联方式 暂不支持 CascadeFlag *bool `json:"cascade_flag,omitempty"` // 代理主机 VpcChannelProxyHost *string `json:"vpc_channel_proxy_host,omitempty"` // VPC通道编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // VPC通道端口 VpcChannelPort *int32 `json:"vpc_channel_port,omitempty"` }
VPC通道详情。如果vpc_channel_status = 1,则这个object类型为必填信息
type VpcMemberCreate ¶
type VpcMemberCreate struct { // 后端实例列表 Members []MemberInfo `json:"members"` }
func (VpcMemberCreate) String ¶
func (o VpcMemberCreate) String() string
type VpcMemberInfo ¶
type VpcMemberInfo struct { // 后端服务器地址 后端实例类型为ip时必填 Host *string `json:"host,omitempty"` // 权重值。 允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。 Weight *int32 `json:"weight,omitempty"` // 是否备用节点。 开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。 实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。 IsBackup *bool `json:"is_backup,omitempty"` // 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。 MemberGroupName *string `json:"member_group_name,omitempty"` // 后端服务器状态 - 1:可用 - 2:不可用 Status *VpcMemberInfoStatus `json:"status,omitempty"` // 后端服务器端口 Port *int32 `json:"port,omitempty"` // [后端云服务器的编号。](tag:hws;hws_hk;hcs;fcs;g42;) [后端实例类型为ecs时必填,支持英文,数字,“-”,“_”,1 ~ 64字符。](tag:hws;hws_hk;hcs;fcs;g42;) [不支持后端云服务器类型](tag:Site) EcsId *string `json:"ecs_id,omitempty"` // [后端云服务器的名称。] [后端实例类型为ecs时必填,支持汉字,英文,数字,“-”,“_”,“.”,1 ~ 64字符。](tag:hws;hws_hk;hcs;fcs;g42;) [不支持后端云服务器类型](tag:Site) EcsName *string `json:"ecs_name,omitempty"` // 后端实例对象的编号 Id *string `json:"id,omitempty"` // VPC通道的编号 VpcChannelId *string `json:"vpc_channel_id,omitempty"` // 后端实例增加到VPC通道的时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 后端服务器组编号 MemberGroupId *string `json:"member_group_id,omitempty"` }
func (VpcMemberInfo) String ¶
func (o VpcMemberInfo) String() string
type VpcMemberInfoStatus ¶
type VpcMemberInfoStatus struct {
// contains filtered or unexported fields
}
func (VpcMemberInfoStatus) MarshalJSON ¶
func (c VpcMemberInfoStatus) MarshalJSON() ([]byte, error)
func (*VpcMemberInfoStatus) UnmarshalJSON ¶
func (c *VpcMemberInfoStatus) UnmarshalJSON(b []byte) error
func (VpcMemberInfoStatus) Value ¶ added in v0.0.90
func (c VpcMemberInfoStatus) Value() int32
type VpcMemberInfoStatusEnum ¶
type VpcMemberInfoStatusEnum struct { E_1 VpcMemberInfoStatus E_2 VpcMemberInfoStatus }
func GetVpcMemberInfoStatusEnum ¶
func GetVpcMemberInfoStatusEnum() VpcMemberInfoStatusEnum
type VpcMemberModify ¶
type VpcMemberModify struct { // 后端实例列表 Members *[]MemberInfo `json:"members,omitempty"` // 需要修改的后端服务器组 不传时使用members中的定义对VPC通道后端进行全量覆盖修改。 传入时,只对members中对应后端服务器组的后端实例进行处理,其他后端服务器组的入参会被忽略。例如:member_group_name=primary时,只处理members中后端服务器组为105c6902457144a4820dff8b1ad63331的后端实例。 MemberGroupName *string `json:"member_group_name,omitempty"` }
func (VpcMemberModify) String ¶
func (o VpcMemberModify) String() string
Source Files ¶
- model_acl_api_binding_create.go
- model_acl_api_binding_info.go
- model_acl_batch_delete.go
- model_acl_batch_failure.go
- model_acl_bind_api_info.go
- model_acl_binding_batch_delete.go
- model_acl_binding_batch_failure.go
- model_add_subsets_to_gateway_request.go
- model_add_subsets_to_gateway_request_body.go
- model_add_subsets_to_gateway_response.go
- model_add_user_to_app.go
- model_add_user_to_app_request.go
- model_add_user_to_app_response.go
- model_adding_backend_instances_v2_request.go
- model_adding_backend_instances_v2_response.go
- model_api_acl_create.go
- model_api_acl_info_with_bind_num.go
- model_api_action_info.go
- model_api_auth_base.go
- model_api_auth_create.go
- model_api_auth_detail.go
- model_api_auth_info.go
- model_api_auth_relations.go
- model_api_auth_visit_param.go
- model_api_base_info.go
- model_api_batch_publish.go
- model_api_bind_acl_info.go
- model_api_check_info.go
- model_api_check_info_v2.go
- model_api_common.go
- model_api_condition_base.go
- model_api_condition_create.go
- model_api_create.go
- model_api_create_base.go
- model_api_debug_info.go
- model_api_duplication_info.go
- model_api_for_sign.go
- model_api_for_throttle.go
- model_api_func.go
- model_api_func_create.go
- model_api_group_base.go
- model_api_group_check.go
- model_api_group_common_info.go
- model_api_group_create.go
- model_api_group_info.go
- model_api_info.go
- model_api_info_per_page.go
- model_api_mock.go
- model_api_mock_create.go
- model_api_outline.go
- model_api_policy_function_base.go
- model_api_policy_function_create.go
- model_api_policy_function_resp.go
- model_api_policy_http_base.go
- model_api_policy_http_create.go
- model_api_policy_http_resp.go
- model_api_policy_mock_base.go
- model_api_policy_mock_create.go
- model_api_policy_mock_resp.go
- model_api_policy_req_base.go
- model_api_policy_resp_base.go
- model_api_resp_base_info.go
- model_api_version.go
- model_api_version_resp.go
- model_app_acl_create.go
- model_app_base_info.go
- model_app_code_base_info.go
- model_app_code_create.go
- model_app_config_create_request_v2.go
- model_app_config_info_v2.go
- model_app_config_modify_request_v2.go
- model_app_favorite.go
- model_app_id.go
- model_app_info.go
- model_app_info_with_bind_num.go
- model_app_key.go
- model_app_name.go
- model_app_quota_app_binding.go
- model_app_quota_app_info.go
- model_app_quota_create.go
- model_app_quota_info.go
- model_app_remark.go
- model_app_secret.go
- model_app_users_users.go
- model_asset_export_request.go
- model_asset_export_request_apps.go
- model_asset_export_request_tasks.go
- model_asset_export_task.go
- model_asset_job_reason.go
- model_asset_operate_request.go
- model_asset_operate_request_tasks.go
- model_associate_apps_for_app_quota_request.go
- model_associate_apps_for_app_quota_response.go
- model_associate_certificate_v2_request.go
- model_associate_certificate_v2_response.go
- model_associate_domain_v2_request.go
- model_associate_domain_v2_response.go
- model_associate_request_throttling_policy_v2_request.go
- model_associate_request_throttling_policy_v2_response.go
- model_associate_signature_key_v2_request.go
- model_associate_signature_key_v2_response.go
- model_auth_opt.go
- model_auth_result.go
- model_authentication.go
- model_authorizer_base.go
- model_authorizer_create.go
- model_authorizer_resp.go
- model_backend.go
- model_backend_api.go
- model_backend_api_base.go
- model_backend_api_base_info.go
- model_backend_api_create.go
- model_backend_latency_stats.go
- model_backend_param.go
- model_backend_param_base.go
- model_base_page.go
- model_base_signature.go
- model_batch_add_device_to_group_request.go
- model_batch_add_device_to_group_request_body.go
- model_batch_add_device_to_group_response.go
- model_batch_delete_acl_v2_request.go
- model_batch_delete_acl_v2_response.go
- model_batch_delete_api_acl_binding_v2_request.go
- model_batch_delete_api_acl_binding_v2_response.go
- model_batch_delete_devices_request.go
- model_batch_delete_devices_request_body.go
- model_batch_delete_devices_response.go
- model_batch_delete_mqs_instance_topic_req.go
- model_batch_delete_mqs_instance_topic_request.go
- model_batch_delete_mqs_instance_topic_resp_topics.go
- model_batch_delete_mqs_instance_topic_response.go
- model_batch_delete_rules_request.go
- model_batch_delete_rules_request_body.go
- model_batch_delete_rules_response.go
- model_batch_disable_members_request.go
- model_batch_disable_members_response.go
- model_batch_disassociate_throttling_policy_v2_request.go
- model_batch_disassociate_throttling_policy_v2_response.go
- model_batch_enable_members_request.go
- model_batch_enable_members_response.go
- model_batch_failure.go
- model_batch_freeze_devices_request.go
- model_batch_freeze_devices_request_body.go
- model_batch_freeze_devices_response.go
- model_batch_publish_or_offline_api_v2_request.go
- model_batch_publish_or_offline_api_v2_response.go
- model_batch_start_or_stop_tasks_request.go
- model_batch_start_or_stop_tasks_response.go
- model_brief_task_resp_bean.go
- model_calculation.go
- model_canceling_authorization_v2_request.go
- model_canceling_authorization_v2_response.go
- model_candidates_user.go
- model_cert_form.go
- model_change_api_version_v2_request.go
- model_change_api_version_v2_response.go
- model_check_api_groups_v2_request.go
- model_check_api_groups_v2_response.go
- model_check_apis_v2_request.go
- model_check_apis_v2_response.go
- model_check_asset_job_status_request.go
- model_check_asset_job_status_response.go
- model_check_auth_users_of_app_request.go
- model_check_auth_users_of_app_response.go
- model_check_can_auth_users_of_app_request.go
- model_check_can_auth_users_of_app_response.go
- model_check_dictionary_request.go
- model_check_dictionary_response.go
- model_check_livedata_apis_v2_request.go
- model_check_livedata_apis_v2_response.go
- model_check_roma_app_details_request.go
- model_check_roma_app_details_response.go
- model_check_roma_app_secret_request.go
- model_check_roma_app_secret_response.go
- model_check_roma_instance_list_v2_request.go
- model_check_roma_instance_list_v2_response.go
- model_column_info.go
- model_command.go
- model_condition_resp.go
- model_config.go
- model_config_outline.go
- model_content.go
- model_count_devices_request.go
- model_count_devices_response.go
- model_count_tasks_request.go
- model_count_tasks_response.go
- model_create_acl_strategy_v2_request.go
- model_create_acl_strategy_v2_response.go
- model_create_api_acl_binding_v2_request.go
- model_create_api_acl_binding_v2_response.go
- model_create_api_group_v2_request.go
- model_create_api_group_v2_response.go
- model_create_api_v2_request.go
- model_create_api_v2_response.go
- model_create_app_code_auto_v2_request.go
- model_create_app_code_auto_v2_response.go
- model_create_app_code_v2_request.go
- model_create_app_code_v2_response.go
- model_create_app_config_v2_request.go
- model_create_app_config_v2_response.go
- model_create_app_quota_binding_app.go
- model_create_app_quota_request.go
- model_create_app_quota_response.go
- model_create_app_req.go
- model_create_authorizing_apps_v2_request.go
- model_create_authorizing_apps_v2_response.go
- model_create_command_request.go
- model_create_command_request_body.go
- model_create_command_response.go
- model_create_common_task_request.go
- model_create_common_task_request_body.go
- model_create_common_task_response.go
- model_create_custom_authorizer_v2_request.go
- model_create_custom_authorizer_v2_response.go
- model_create_datasource_info_request.go
- model_create_datasource_info_response.go
- model_create_destination_request.go
- model_create_destination_request_body.go
- model_create_destination_response.go
- model_create_device_group_request.go
- model_create_device_group_request_body.go
- model_create_device_group_response.go
- model_create_device_request.go
- model_create_device_request_body.go
- model_create_device_response.go
- model_create_dictionary.go
- model_create_dictionary_request.go
- model_create_dictionary_response.go
- model_create_dispatches_request.go
- model_create_dispatches_response.go
- model_create_environment_v2_request.go
- model_create_environment_v2_response.go
- model_create_environment_variable_v2_request.go
- model_create_environment_variable_v2_response.go
- model_create_feature_v2_request.go
- model_create_feature_v2_response.go
- model_create_live_data_api_script_v2_request.go
- model_create_live_data_api_script_v2_response.go
- model_create_live_data_api_v2_request.go
- model_create_live_data_api_v2_response.go
- model_create_member_group_request.go
- model_create_member_group_response.go
- model_create_mqs_instance_topic_req.go
- model_create_mqs_instance_topic_request.go
- model_create_mqs_instance_topic_response.go
- model_create_multi_task_mappings_request.go
- model_create_multi_task_mappings_response.go
- model_create_multi_tasks_request.go
- model_create_multi_tasks_response.go
- model_create_notification_request.go
- model_create_notification_request_body.go
- model_create_notification_response.go
- model_create_or_delete_publish_record_for_api_v2_request.go
- model_create_or_delete_publish_record_for_api_v2_response.go
- model_create_product_request.go
- model_create_product_request_body.go
- model_create_product_response.go
- model_create_product_template_request.go
- model_create_product_template_request_body.go
- model_create_product_template_response.go
- model_create_product_topic_request.go
- model_create_product_topic_request_body.go
- model_create_product_topic_response.go
- model_create_project_vpc_channel_request.go
- model_create_project_vpc_channel_response.go
- model_create_project_vpc_channel_syncs_request.go
- model_create_project_vpc_channel_syncs_response.go
- model_create_property_request.go
- model_create_property_request_body.go
- model_create_property_response.go
- model_create_request_property_request.go
- model_create_request_property_response.go
- model_create_request_throttling_policy_v2_request.go
- model_create_request_throttling_policy_v2_response.go
- model_create_response_property_request.go
- model_create_response_property_response.go
- model_create_roma_app_request.go
- model_create_roma_app_response.go
- model_create_rule_request.go
- model_create_rule_request_body.go
- model_create_rule_response.go
- model_create_service_request.go
- model_create_service_request_body.go
- model_create_service_response.go
- model_create_signature_key_v2_request.go
- model_create_signature_key_v2_response.go
- model_create_source_request.go
- model_create_source_request_body.go
- model_create_source_response.go
- model_create_special_throttling_configuration_v2_request.go
- model_create_special_throttling_configuration_v2_response.go
- model_create_vpc_channel_v2_request.go
- model_create_vpc_channel_v2_response.go
- model_created_user.go
- model_data_source_rsp.go
- model_datasource_info.go
- model_debug_api_v2_request.go
- model_debug_api_v2_response.go
- model_debug_live_data_api_v2_request.go
- model_debug_live_data_api_v2_response.go
- model_debug_rule_request.go
- model_debug_rule_request_body.go
- model_debug_rule_response.go
- model_delete_acl_v2_request.go
- model_delete_acl_v2_response.go
- model_delete_api_acl_binding_v2_request.go
- model_delete_api_acl_binding_v2_response.go
- model_delete_api_by_version_id_v2_request.go
- model_delete_api_by_version_id_v2_response.go
- model_delete_api_group_v2_request.go
- model_delete_api_group_v2_response.go
- model_delete_api_v2_request.go
- model_delete_api_v2_response.go
- model_delete_app_acl_request.go
- model_delete_app_acl_response.go
- model_delete_app_code_v2_request.go
- model_delete_app_code_v2_response.go
- model_delete_app_config_v2_request.go
- model_delete_app_config_v2_response.go
- model_delete_app_quota_request.go
- model_delete_app_quota_response.go
- model_delete_asset_request.go
- model_delete_asset_response.go
- model_delete_backend_instance_v2_request.go
- model_delete_backend_instance_v2_response.go
- model_delete_command_request.go
- model_delete_command_response.go
- model_delete_custom_authorizer_v2_request.go
- model_delete_custom_authorizer_v2_response.go
- model_delete_datasource_info_by_id_request.go
- model_delete_datasource_info_by_id_response.go
- model_delete_destination_request.go
- model_delete_destination_response.go
- model_delete_device_from_group_request.go
- model_delete_device_from_group_response.go
- model_delete_device_group_request.go
- model_delete_device_group_response.go
- model_delete_device_request.go
- model_delete_device_response.go
- model_delete_dictionary_request.go
- model_delete_dictionary_response.go
- model_delete_environment_v2_request.go
- model_delete_environment_v2_response.go
- model_delete_environment_variable_v2_request.go
- model_delete_environment_variable_v2_response.go
- model_delete_live_data_api_v2_request.go
- model_delete_live_data_api_v2_response.go
- model_delete_member_group_request.go
- model_delete_member_group_response.go
- model_delete_mqs_instance_topic_request.go
- model_delete_mqs_instance_topic_resp_topics.go
- model_delete_mqs_instance_topic_response.go
- model_delete_multi_task_mapping_request.go
- model_delete_multi_task_mapping_response.go
- model_delete_notification_request.go
- model_delete_notification_response.go
- model_delete_product_request.go
- model_delete_product_response.go
- model_delete_product_template_request.go
- model_delete_product_template_response.go
- model_delete_product_topic_request.go
- model_delete_product_topic_response.go
- model_delete_property_request.go
- model_delete_property_response.go
- model_delete_request_property_request.go
- model_delete_request_property_response.go
- model_delete_request_throttling_policy_v2_request.go
- model_delete_request_throttling_policy_v2_response.go
- model_delete_response_property_request.go
- model_delete_response_property_response.go
- model_delete_roma_app_request.go
- model_delete_roma_app_response.go
- model_delete_rule_request.go
- model_delete_rule_response.go
- model_delete_service_request.go
- model_delete_service_response.go
- model_delete_signature_key_v2_request.go
- model_delete_signature_key_v2_response.go
- model_delete_source_request.go
- model_delete_source_response.go
- model_delete_special_throttling_configuration_v2_request.go
- model_delete_special_throttling_configuration_v2_response.go
- model_delete_task_request.go
- model_delete_task_response.go
- model_delete_vpc_channel_v2_request.go
- model_delete_vpc_channel_v2_response.go
- model_destination.go
- model_device.go
- model_device_info_simple.go
- model_devices_calculation.go
- model_devices_in_group.go
- model_dictionary.go
- model_dictionary_code.go
- model_dictionary_extend_one.go
- model_dictionary_extend_two.go
- model_dictionary_name.go
- model_dictionary_order.go
- model_dictionary_parent.go
- model_dictionary_remark.go
- model_dictionary_type.go
- model_disassociate_app_quota_with_app_request.go
- model_disassociate_app_quota_with_app_response.go
- model_disassociate_certificate_v2_request.go
- model_disassociate_certificate_v2_response.go
- model_disassociate_domain_v2_request.go
- model_disassociate_domain_v2_response.go
- model_disassociate_request_throttling_policy_v2_request.go
- model_disassociate_request_throttling_policy_v2_response.go
- model_disassociate_signature_key_v2_request.go
- model_disassociate_signature_key_v2_response.go
- model_download_asset_archive_request.go
- model_download_asset_archive_response.go
- model_download_products_request.go
- model_download_products_response.go
- model_duplicate_api_info.go
- model_env_create.go
- model_env_info.go
- model_env_variable_base.go
- model_env_variable_create.go
- model_env_variable_info.go
- model_export_api_definitions_v2_request.go
- model_export_api_definitions_v2_response.go
- model_export_asset_request.go
- model_export_asset_response.go
- model_export_live_data_api_definitions_v2_request.go
- model_export_live_data_api_definitions_v2_response.go
- model_export_mqs_instance_topic_request.go
- model_export_mqs_instance_topic_response.go
- model_export_open_api_req.go
- model_failure.go
- model_feature_info_v2.go
- model_feature_toggle_v2.go
- model_function_api_base_info.go
- model_group_tree_response.go
- model_health_check.go
- model_identity.go
- model_ignore.go
- model_import_api_definitions_v2_request.go
- model_import_api_definitions_v2_request_body.go
- model_import_api_definitions_v2_response.go
- model_import_asset_request.go
- model_import_asset_request_body.go
- model_import_asset_response.go
- model_import_base_result.go
- model_import_live_data_api_definitions_v2_request.go
- model_import_live_data_api_definitions_v2_request_body.go
- model_import_live_data_api_definitions_v2_response.go
- model_import_mqs_instance_topic_request.go
- model_import_mqs_instance_topic_request_body.go
- model_import_mqs_instance_topic_response.go
- model_inner_latency_stats.go
- model_install_multi_tasks_request.go
- model_install_multi_tasks_response.go
- model_last_updated_user.go
- model_latency_stats.go
- model_ld_api_check_info.go
- model_ld_api_create.go
- model_ld_api_deploy.go
- model_ld_api_deploy_history_info.go
- model_ld_api_info.go
- model_ld_api_parameter.go
- model_ld_api_script.go
- model_ld_api_script_base.go
- model_ld_api_script_create.go
- model_ld_api_test_.go
- model_ld_api_test_history_info_v2.go
- model_ld_datasource_create.go
- model_ld_datasource_info.go
- model_list_acl_policy_binded_to_api_v2_request.go
- model_list_acl_policy_binded_to_api_v2_response.go
- model_list_acl_strategies_v2_request.go
- model_list_acl_strategies_v2_response.go
- model_list_api_groups_v2_request.go
- model_list_api_groups_v2_response.go
- model_list_api_runtime_definition_v2_request.go
- model_list_api_runtime_definition_v2_response.go
- model_list_api_version_detail_v2_request.go
- model_list_api_version_detail_v2_response.go
- model_list_api_versions_v2_request.go
- model_list_api_versions_v2_response.go
- model_list_apis_binded_to_acl_policy_v2_request.go
- model_list_apis_binded_to_acl_policy_v2_response.go
- model_list_apis_binded_to_app_v2_request.go
- model_list_apis_binded_to_app_v2_response.go
- model_list_apis_binded_to_request_throttling_policy_v2_request.go
- model_list_apis_binded_to_request_throttling_policy_v2_response.go
- model_list_apis_binded_to_signature_key_v2_request.go
- model_list_apis_binded_to_signature_key_v2_response.go
- model_list_apis_not_bound_with_signature_key_v2_request.go
- model_list_apis_not_bound_with_signature_key_v2_response.go
- model_list_apis_unbinded_to_acl_policy_v2_request.go
- model_list_apis_unbinded_to_acl_policy_v2_response.go
- model_list_apis_unbinded_to_app_v2_request.go
- model_list_apis_unbinded_to_app_v2_response.go
- model_list_apis_unbinded_to_request_throttling_policy_v2_request.go
- model_list_apis_unbinded_to_request_throttling_policy_v2_response.go
- model_list_apis_v2_request.go
- model_list_apis_v2_response.go
- model_list_app_codes_v2_request.go
- model_list_app_codes_v2_response.go
- model_list_app_configs_v2_request.go
- model_list_app_configs_v2_response.go
- model_list_app_quota_bindable_apps_request.go
- model_list_app_quota_bindable_apps_response.go
- model_list_app_quota_bound_apps_request.go
- model_list_app_quota_bound_apps_response.go
- model_list_app_quotas_request.go
- model_list_app_quotas_response.go
- model_list_apps_binded_to_api_v2_request.go
- model_list_apps_binded_to_api_v2_response.go
- model_list_apps_v2_request.go
- model_list_apps_v2_response.go
- model_list_backend_instances_v2_request.go
- model_list_backend_instances_v2_response.go
- model_list_commands_request.go
- model_list_commands_response.go
- model_list_custom_authorizers_v2_request.go
- model_list_custom_authorizers_v2_response.go
- model_list_datasource_columns_request.go
- model_list_datasource_columns_response.go
- model_list_datasource_tables_request.go
- model_list_datasource_tables_response.go
- model_list_datasources_request.go
- model_list_datasources_response.go
- model_list_destinations_request.go
- model_list_destinations_response.go
- model_list_devices_in_product_request.go
- model_list_devices_in_product_response.go
- model_list_devices_request.go
- model_list_devices_response.go
- model_list_dictionary_request.go
- model_list_dictionary_response.go
- model_list_duplicate_apis_for_app_v2_request.go
- model_list_duplicate_apis_for_app_v2_response.go
- model_list_environment_variables_v2_request.go
- model_list_environment_variables_v2_response.go
- model_list_environments_v2_request.go
- model_list_environments_v2_response.go
- model_list_features_v2_request.go
- model_list_features_v2_response.go
- model_list_instance_topics_resp_topics.go
- model_list_lately_api_statistics_v2_request.go
- model_list_lately_api_statistics_v2_response.go
- model_list_live_data_api_deployment_history_v2_request.go
- model_list_live_data_api_deployment_history_v2_response.go
- model_list_live_data_api_test_history_v2_request.go
- model_list_live_data_api_test_history_v2_response.go
- model_list_live_data_api_v2_request.go
- model_list_live_data_api_v2_response.go
- model_list_live_data_data_sources_v2_request.go
- model_list_live_data_data_sources_v2_response.go
- model_list_live_data_quota_v2_request.go
- model_list_live_data_quota_v2_response.go
- model_list_member_groups_request.go
- model_list_member_groups_response.go
- model_list_monitor_infos_request.go
- model_list_monitor_infos_response.go
- model_list_monitor_log_request.go
- model_list_monitor_log_response.go
- model_list_mqs_instance_request.go
- model_list_mqs_instance_response.go
- model_list_mqs_instance_topics_request.go
- model_list_mqs_instance_topics_response.go
- model_list_notification_request.go
- model_list_notification_response.go
- model_list_product_templates_request.go
- model_list_product_templates_response.go
- model_list_product_topics_request.go
- model_list_product_topics_response.go
- model_list_products_request.go
- model_list_products_response.go
- model_list_project_cofigs_v2_request.go
- model_list_project_cofigs_v2_response.go
- model_list_project_vpc_channels_v2_request.go
- model_list_project_vpc_channels_v2_response.go
- model_list_properties_request.go
- model_list_properties_response.go
- model_list_request_properties_request.go
- model_list_request_properties_response.go
- model_list_request_throttling_policies_binded_to_api_v2_request.go
- model_list_request_throttling_policies_binded_to_api_v2_response.go
- model_list_request_throttling_policy_v2_request.go
- model_list_request_throttling_policy_v2_response.go
- model_list_response_properties_request.go
- model_list_response_properties_response.go
- model_list_roma_app_request.go
- model_list_roma_app_response.go
- model_list_rules_request.go
- model_list_rules_response.go
- model_list_services_request.go
- model_list_services_response.go
- model_list_shadows_request.go
- model_list_shadows_response.go
- model_list_signature_keys_binded_to_api_v2_request.go
- model_list_signature_keys_binded_to_api_v2_response.go
- model_list_signature_keys_v2_request.go
- model_list_signature_keys_v2_response.go
- model_list_sources_request.go
- model_list_sources_response.go
- model_list_special_throttling_configurations_v2_request.go
- model_list_special_throttling_configurations_v2_response.go
- model_list_statistics_api_request.go
- model_list_statistics_api_response.go
- model_list_subsets_request.go
- model_list_subsets_response.go
- model_list_tags_v2_request.go
- model_list_tags_v2_response.go
- model_list_tasks_request.go
- model_list_tasks_response.go
- model_list_topics_request.go
- model_list_topics_response.go
- model_list_vpc_channels_v2_request.go
- model_list_vpc_channels_v2_response.go
- model_listener.go
- model_live_data_export_req.go
- model_mapping_info.go
- model_member_base.go
- model_member_group_create.go
- model_member_group_create_batch.go
- model_member_group_info.go
- model_member_info.go
- model_members_batch_enable_or_disable.go
- model_mock_api_base_info.go
- model_mock_api_base_info_header.go
- model_multi_oracle_address.go
- model_multi_task_column_info.go
- model_multi_task_init_body.go
- model_multi_task_init_body_ext_info.go
- model_multi_task_init_element.go
- model_multi_task_init_element_ext_info.go
- model_multi_task_mapping_create_body.go
- model_multi_task_mapping_element.go
- model_multi_task_request_body.go
- model_multi_task_reset_body.go
- model_multi_task_update_body.go
- model_network_traffic_stats.go
- model_node_ips.go
- model_notification_response_body.go
- model_operate_tasks_bean.go
- model_product.go
- model_product_referer.go
- model_product_template.go
- model_product_templates_calculation.go
- model_product_topic.go
- model_products_calculation.go
- model_project_vpc_channel_info.go
- model_project_vpc_create.go
- model_project_vpc_sync.go
- model_property.go
- model_publish_live_data_api_v2_request.go
- model_publish_live_data_api_v2_response.go
- model_publish_resp.go
- model_req_param.go
- model_req_param_base.go
- model_request_count_stats.go
- model_request_parameter.go
- model_reset_authentication_request.go
- model_reset_authentication_response.go
- model_reset_messages_req.go
- model_reset_messages_request.go
- model_reset_messages_response.go
- model_reset_multi_task_offset_request.go
- model_reset_multi_task_offset_response.go
- model_reset_product_authentication_request.go
- model_reset_product_authentication_response.go
- model_reset_roma_app_secret_request.go
- model_reset_roma_app_secret_response.go
- model_resp_instance_base.go
- model_roma_instance_check_list_resp_instances.go
- model_rule.go
- model_run_task_request.go
- model_run_task_response.go
- model_send_command_request.go
- model_send_command_request_body.go
- model_send_command_response.go
- model_server_app_info.go
- model_server_app_info_created_user.go
- model_server_app_info_last_updated_user.go
- model_service.go
- model_shadow_service.go
- model_shadow_value.go
- model_show_app_bound_app_quota_request.go
- model_show_app_bound_app_quota_response.go
- model_show_app_quota_request.go
- model_show_app_quota_response.go
- model_show_authentication_request.go
- model_show_authentication_response.go
- model_show_command_request.go
- model_show_command_response.go
- model_show_dataource_detail_request.go
- model_show_dataource_detail_response.go
- model_show_details_of_acl_policy_v2_request.go
- model_show_details_of_acl_policy_v2_response.go
- model_show_details_of_api_group_v2_request.go
- model_show_details_of_api_group_v2_response.go
- model_show_details_of_api_v2_request.go
- model_show_details_of_api_v2_response.go
- model_show_details_of_app_acl_request.go
- model_show_details_of_app_acl_response.go
- model_show_details_of_app_code_v2_request.go
- model_show_details_of_app_code_v2_response.go
- model_show_details_of_app_config_v2_request.go
- model_show_details_of_app_config_v2_response.go
- model_show_details_of_app_v2_request.go
- model_show_details_of_app_v2_response.go
- model_show_details_of_custom_authorizers_v2_request.go
- model_show_details_of_custom_authorizers_v2_response.go
- model_show_details_of_domain_name_certificate_v2_request.go
- model_show_details_of_domain_name_certificate_v2_response.go
- model_show_details_of_environment_variable_v2_request.go
- model_show_details_of_environment_variable_v2_response.go
- model_show_details_of_instance_v2_request.go
- model_show_details_of_instance_v2_response.go
- model_show_details_of_member_group_request.go
- model_show_details_of_member_group_response.go
- model_show_details_of_request_throttling_policy_v2_request.go
- model_show_details_of_request_throttling_policy_v2_response.go
- model_show_details_of_vpc_channel_v2_request.go
- model_show_details_of_vpc_channel_v2_response.go
- model_show_device_group_request.go
- model_show_device_group_response.go
- model_show_device_group_tree_request.go
- model_show_device_group_tree_response.go
- model_show_device_request.go
- model_show_device_response.go
- model_show_devices_in_group_request.go
- model_show_devices_in_group_response.go
- model_show_dispatches_request.go
- model_show_dispatches_response.go
- model_show_instance_resp.go
- model_show_live_data_api_v2_request.go
- model_show_live_data_api_v2_response.go
- model_show_mqs_instance_messages_request.go
- model_show_mqs_instance_messages_resp_messages.go
- model_show_mqs_instance_messages_response.go
- model_show_mqs_instance_request.go
- model_show_mqs_instance_response.go
- model_show_mqs_instance_topic_access_policy_request.go
- model_show_mqs_instance_topic_access_policy_resp_policies.go
- model_show_mqs_instance_topic_access_policy_response.go
- model_show_product_authentication_request.go
- model_show_product_authentication_response.go
- model_show_product_request.go
- model_show_product_response.go
- model_show_product_template_request.go
- model_show_product_template_response.go
- model_show_property_request.go
- model_show_property_response.go
- model_show_request_property_request.go
- model_show_request_property_response.go
- model_show_response_property_request.go
- model_show_response_property_response.go
- model_show_restriction_of_instance_v2_request.go
- model_show_restriction_of_instance_v2_response.go
- model_show_rule_request.go
- model_show_rule_response.go
- model_show_service_request.go
- model_show_service_response.go
- model_show_task_request.go
- model_show_task_response.go
- model_sign_api_binding.go
- model_sign_api_binding_base.go
- model_sign_api_binding_info.go
- model_sign_api_binding_result.go
- model_signature.go
- model_signature_with_bind_num.go
- model_single_response.go
- model_source.go
- model_start_test_datasource_request.go
- model_start_test_datasource_response.go
- model_statistics_api.go
- model_stop_task_request.go
- model_stop_task_response.go
- model_success.go
- model_swagger.go
- model_task_basic_request_body.go
- model_task_basic_rsp.go
- model_task_bean.go
- model_task_bean_facade.go
- model_task_dispatch.go
- model_task_monitor_detail_log.go
- model_task_monitor_info.go
- model_task_monitor_log.go
- model_task_statistic_details.go
- model_throttle_api_binding.go
- model_throttle_api_binding_create.go
- model_throttle_base_info.go
- model_throttle_binding_batch_delete.go
- model_throttle_binding_batch_failure.go
- model_throttle_for_api.go
- model_throttle_special_base.go
- model_throttle_special_create.go
- model_throttle_special_info.go
- model_throttle_special_update.go
- model_throttles_info.go
- model_topic.go
- model_unbind_api_for_acl.go
- model_unpublish_live_data_api_v2_request.go
- model_unpublish_live_data_api_v2_response.go
- model_update_acl_strategy_v2_request.go
- model_update_acl_strategy_v2_response.go
- model_update_api_group_v2_request.go
- model_update_api_group_v2_response.go
- model_update_api_v2_request.go
- model_update_api_v2_response.go
- model_update_app_acl_request.go
- model_update_app_acl_response.go
- model_update_app_config_v2_request.go
- model_update_app_config_v2_response.go
- model_update_app_quota_request.go
- model_update_app_quota_response.go
- model_update_app_req.go
- model_update_app_secret_req.go
- model_update_backend_instances_v2_request.go
- model_update_backend_instances_v2_response.go
- model_update_command_request.go
- model_update_command_request_body.go
- model_update_command_response.go
- model_update_custom_authorizer_v2_request.go
- model_update_custom_authorizer_v2_response.go
- model_update_datasource_info_request.go
- model_update_datasource_info_response.go
- model_update_device_group_request.go
- model_update_device_group_request_body.go
- model_update_device_group_response.go
- model_update_device_request.go
- model_update_device_request_body.go
- model_update_device_response.go
- model_update_dictionary.go
- model_update_dictionary_request.go
- model_update_dictionary_response.go
- model_update_dispatches_request.go
- model_update_dispatches_response.go
- model_update_domain_v2_request.go
- model_update_domain_v2_response.go
- model_update_environment_v2_request.go
- model_update_environment_v2_response.go
- model_update_environment_variable_v2_request.go
- model_update_environment_variable_v2_response.go
- model_update_health_check_request.go
- model_update_health_check_response.go
- model_update_live_data_api_v2_request.go
- model_update_live_data_api_v2_response.go
- model_update_member_group_request.go
- model_update_member_group_response.go
- model_update_mqs_instance_topic_req.go
- model_update_mqs_instance_topic_request.go
- model_update_mqs_instance_topic_response.go
- model_update_multi_tasks_request.go
- model_update_multi_tasks_response.go
- model_update_notification_request.go
- model_update_notification_request_body.go
- model_update_notification_response.go
- model_update_product_request.go
- model_update_product_request_body.go
- model_update_product_response.go
- model_update_product_template_request.go
- model_update_product_template_request_body.go
- model_update_product_template_response.go
- model_update_product_topic_request.go
- model_update_product_topic_request_body.go
- model_update_product_topic_response.go
- model_update_project_vpc_channel_request.go
- model_update_project_vpc_channel_response.go
- model_update_property_request.go
- model_update_property_request_body.go
- model_update_property_response.go
- model_update_request_property_request.go
- model_update_request_property_response.go
- model_update_request_throttling_policy_v2_request.go
- model_update_request_throttling_policy_v2_response.go
- model_update_response_property_request.go
- model_update_response_property_response.go
- model_update_roma_app_request.go
- model_update_roma_app_response.go
- model_update_rule_request.go
- model_update_rule_request_body.go
- model_update_rule_response.go
- model_update_service_request.go
- model_update_service_request_body.go
- model_update_service_response.go
- model_update_signature_key_v2_request.go
- model_update_signature_key_v2_response.go
- model_update_special_throttling_configuration_v2_request.go
- model_update_special_throttling_configuration_v2_response.go
- model_update_task_request.go
- model_update_task_response.go
- model_update_topic_access_policy_policies_object.go
- model_update_topic_access_policy_req.go
- model_update_topic_access_policy_request.go
- model_update_topic_access_policy_response.go
- model_update_topic_access_policy_topics_object.go
- model_update_topic_object.go
- model_update_vpc_channel_v2_request.go
- model_update_vpc_channel_v2_response.go
- model_upload_product_request.go
- model_upload_product_request_body.go
- model_upload_product_response.go
- model_url_domain.go
- model_url_domain_base.go
- model_url_domain_base_info.go
- model_url_domain_create.go
- model_url_domain_modify.go
- model_user.go
- model_validate_dictionary_request.go
- model_validate_dictionary_response.go
- model_validate_roma_app_request.go
- model_validate_roma_app_response.go
- model_vpc_base.go
- model_vpc_base_info.go
- model_vpc_channel_info.go
- model_vpc_create.go
- model_vpc_health_config.go
- model_vpc_health_config_base.go
- model_vpc_health_config_info.go
- model_vpc_info.go
- model_vpc_member_create.go
- model_vpc_member_info.go
- model_vpc_member_modify.go