Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) DescribeEmptyNumber(request *DescribeEmptyNumberRequest) (response *DescribeEmptyNumberResponse, err error)
- func (client *Client) DescribeEmptyNumberDetect(request *DescribeEmptyNumberDetectRequest) (response *DescribeEmptyNumberDetectResponse, err error)
- func (client *Client) DescribeEmptyNumberDetectWithCallback(request *DescribeEmptyNumberDetectRequest, ...) <-chan int
- func (client *Client) DescribeEmptyNumberDetectWithChan(request *DescribeEmptyNumberDetectRequest) (<-chan *DescribeEmptyNumberDetectResponse, <-chan error)
- func (client *Client) DescribeEmptyNumberWithCallback(request *DescribeEmptyNumberRequest, ...) <-chan int
- func (client *Client) DescribeEmptyNumberWithChan(request *DescribeEmptyNumberRequest) (<-chan *DescribeEmptyNumberResponse, <-chan error)
- func (client *Client) DescribePhoneNumberAnalysis(request *DescribePhoneNumberAnalysisRequest) (response *DescribePhoneNumberAnalysisResponse, err error)
- func (client *Client) DescribePhoneNumberAnalysisWithCallback(request *DescribePhoneNumberAnalysisRequest, ...) <-chan int
- func (client *Client) DescribePhoneNumberAnalysisWithChan(request *DescribePhoneNumberAnalysisRequest) (<-chan *DescribePhoneNumberAnalysisResponse, <-chan error)
- func (client *Client) DescribePhoneNumberAttribute(request *DescribePhoneNumberAttributeRequest) (response *DescribePhoneNumberAttributeResponse, err error)
- func (client *Client) DescribePhoneNumberAttributeWithCallback(request *DescribePhoneNumberAttributeRequest, ...) <-chan int
- func (client *Client) DescribePhoneNumberAttributeWithChan(request *DescribePhoneNumberAttributeRequest) (<-chan *DescribePhoneNumberAttributeResponse, <-chan error)
- func (client *Client) DescribePhoneNumberOnlineTime(request *DescribePhoneNumberOnlineTimeRequest) (response *DescribePhoneNumberOnlineTimeResponse, err error)
- func (client *Client) DescribePhoneNumberOnlineTimeWithCallback(request *DescribePhoneNumberOnlineTimeRequest, ...) <-chan int
- func (client *Client) DescribePhoneNumberOnlineTimeWithChan(request *DescribePhoneNumberOnlineTimeRequest) (<-chan *DescribePhoneNumberOnlineTimeResponse, <-chan error)
- func (client *Client) DescribePhoneNumberOperatorAttribute(request *DescribePhoneNumberOperatorAttributeRequest) (response *DescribePhoneNumberOperatorAttributeResponse, err error)
- func (client *Client) DescribePhoneNumberOperatorAttributeWithCallback(request *DescribePhoneNumberOperatorAttributeRequest, ...) <-chan int
- func (client *Client) DescribePhoneNumberOperatorAttributeWithChan(request *DescribePhoneNumberOperatorAttributeRequest) (<-chan *DescribePhoneNumberOperatorAttributeResponse, <-chan error)
- func (client *Client) DescribePhoneNumberResale(request *DescribePhoneNumberResaleRequest) (response *DescribePhoneNumberResaleResponse, err error)
- func (client *Client) DescribePhoneNumberResaleWithCallback(request *DescribePhoneNumberResaleRequest, ...) <-chan int
- func (client *Client) DescribePhoneNumberResaleWithChan(request *DescribePhoneNumberResaleRequest) (<-chan *DescribePhoneNumberResaleResponse, <-chan error)
- func (client *Client) DescribePhoneNumberStatus(request *DescribePhoneNumberStatusRequest) (response *DescribePhoneNumberStatusResponse, err error)
- func (client *Client) DescribePhoneNumberStatusWithCallback(request *DescribePhoneNumberStatusRequest, ...) <-chan int
- func (client *Client) DescribePhoneNumberStatusWithChan(request *DescribePhoneNumberStatusRequest) (<-chan *DescribePhoneNumberStatusResponse, <-chan error)
- func (client *Client) DescribePhoneTwiceTelVerify(request *DescribePhoneTwiceTelVerifyRequest) (response *DescribePhoneTwiceTelVerifyResponse, err error)
- func (client *Client) DescribePhoneTwiceTelVerifyWithCallback(request *DescribePhoneTwiceTelVerifyRequest, ...) <-chan int
- func (client *Client) DescribePhoneTwiceTelVerifyWithChan(request *DescribePhoneTwiceTelVerifyRequest) (<-chan *DescribePhoneTwiceTelVerifyResponse, <-chan error)
- func (client *Client) InvalidPhoneNumberFilter(request *InvalidPhoneNumberFilterRequest) (response *InvalidPhoneNumberFilterResponse, err error)
- func (client *Client) InvalidPhoneNumberFilterWithCallback(request *InvalidPhoneNumberFilterRequest, ...) <-chan int
- func (client *Client) InvalidPhoneNumberFilterWithChan(request *InvalidPhoneNumberFilterRequest) (<-chan *InvalidPhoneNumberFilterResponse, <-chan error)
- func (client *Client) PhoneNumberEncrypt(request *PhoneNumberEncryptRequest) (response *PhoneNumberEncryptResponse, err error)
- func (client *Client) PhoneNumberEncryptWithCallback(request *PhoneNumberEncryptRequest, ...) <-chan int
- func (client *Client) PhoneNumberEncryptWithChan(request *PhoneNumberEncryptRequest) (<-chan *PhoneNumberEncryptResponse, <-chan error)
- func (client *Client) PhoneNumberStatusForAccount(request *PhoneNumberStatusForAccountRequest) (response *PhoneNumberStatusForAccountResponse, err error)
- func (client *Client) PhoneNumberStatusForAccountWithCallback(request *PhoneNumberStatusForAccountRequest, ...) <-chan int
- func (client *Client) PhoneNumberStatusForAccountWithChan(request *PhoneNumberStatusForAccountRequest) (<-chan *PhoneNumberStatusForAccountResponse, <-chan error)
- func (client *Client) PhoneNumberStatusForPublic(request *PhoneNumberStatusForPublicRequest) (response *PhoneNumberStatusForPublicResponse, err error)
- func (client *Client) PhoneNumberStatusForPublicWithCallback(request *PhoneNumberStatusForPublicRequest, ...) <-chan int
- func (client *Client) PhoneNumberStatusForPublicWithChan(request *PhoneNumberStatusForPublicRequest) (<-chan *PhoneNumberStatusForPublicResponse, <-chan error)
- func (client *Client) PhoneNumberStatusForReal(request *PhoneNumberStatusForRealRequest) (response *PhoneNumberStatusForRealResponse, err error)
- func (client *Client) PhoneNumberStatusForRealWithCallback(request *PhoneNumberStatusForRealRequest, ...) <-chan int
- func (client *Client) PhoneNumberStatusForRealWithChan(request *PhoneNumberStatusForRealRequest) (<-chan *PhoneNumberStatusForRealResponse, <-chan error)
- func (client *Client) PhoneNumberStatusForSms(request *PhoneNumberStatusForSmsRequest) (response *PhoneNumberStatusForSmsResponse, err error)
- func (client *Client) PhoneNumberStatusForSmsWithCallback(request *PhoneNumberStatusForSmsRequest, ...) <-chan int
- func (client *Client) PhoneNumberStatusForSmsWithChan(request *PhoneNumberStatusForSmsRequest) (<-chan *PhoneNumberStatusForSmsResponse, <-chan error)
- func (client *Client) PhoneNumberStatusForVirtual(request *PhoneNumberStatusForVirtualRequest) (response *PhoneNumberStatusForVirtualResponse, err error)
- func (client *Client) PhoneNumberStatusForVirtualWithCallback(request *PhoneNumberStatusForVirtualRequest, ...) <-chan int
- func (client *Client) PhoneNumberStatusForVirtualWithChan(request *PhoneNumberStatusForVirtualRequest) (<-chan *PhoneNumberStatusForVirtualResponse, <-chan error)
- func (client *Client) PhoneNumberStatusForVoice(request *PhoneNumberStatusForVoiceRequest) (response *PhoneNumberStatusForVoiceResponse, err error)
- func (client *Client) PhoneNumberStatusForVoiceWithCallback(request *PhoneNumberStatusForVoiceRequest, ...) <-chan int
- func (client *Client) PhoneNumberStatusForVoiceWithChan(request *PhoneNumberStatusForVoiceRequest) (<-chan *PhoneNumberStatusForVoiceResponse, <-chan error)
- func (client *Client) ThreeElementsVerification(request *ThreeElementsVerificationRequest) (response *ThreeElementsVerificationResponse, err error)
- func (client *Client) ThreeElementsVerificationWithCallback(request *ThreeElementsVerificationRequest, ...) <-chan int
- func (client *Client) ThreeElementsVerificationWithChan(request *ThreeElementsVerificationRequest) (<-chan *ThreeElementsVerificationResponse, <-chan error)
- func (client *Client) TwoElementsVerification(request *TwoElementsVerificationRequest) (response *TwoElementsVerificationResponse, err error)
- func (client *Client) TwoElementsVerificationWithCallback(request *TwoElementsVerificationRequest, ...) <-chan int
- func (client *Client) TwoElementsVerificationWithChan(request *TwoElementsVerificationRequest) (<-chan *TwoElementsVerificationResponse, <-chan error)
- type Data
- type DataInDescribeEmptyNumberDetect
- type DataInDescribePhoneNumberAnalysis
- type DataInInvalidPhoneNumberFilter
- type DataInPhoneNumberEncrypt
- type DataItem
- type DataList
- type DescribeEmptyNumberDetectRequest
- type DescribeEmptyNumberDetectResponse
- type DescribeEmptyNumberRequest
- type DescribeEmptyNumberResponse
- type DescribePhoneNumberAnalysisRequest
- type DescribePhoneNumberAnalysisResponse
- type DescribePhoneNumberAttributeRequest
- type DescribePhoneNumberAttributeResponse
- type DescribePhoneNumberOnlineTimeRequest
- type DescribePhoneNumberOnlineTimeResponse
- type DescribePhoneNumberOperatorAttributeRequest
- type DescribePhoneNumberOperatorAttributeResponse
- type DescribePhoneNumberResaleRequest
- type DescribePhoneNumberResaleResponse
- type DescribePhoneNumberStatusRequest
- type DescribePhoneNumberStatusResponse
- type DescribePhoneTwiceTelVerifyRequest
- type DescribePhoneTwiceTelVerifyResponse
- type InvalidPhoneNumberFilterRequest
- type InvalidPhoneNumberFilterResponse
- type PhoneNumberAttribute
- type PhoneNumberEncryptRequest
- type PhoneNumberEncryptResponse
- type PhoneNumberStatusForAccountRequest
- type PhoneNumberStatusForAccountResponse
- type PhoneNumberStatusForPublicRequest
- type PhoneNumberStatusForPublicResponse
- type PhoneNumberStatusForRealRequest
- type PhoneNumberStatusForRealResponse
- type PhoneNumberStatusForSmsRequest
- type PhoneNumberStatusForSmsResponse
- type PhoneNumberStatusForVirtualRequest
- type PhoneNumberStatusForVirtualResponse
- type PhoneNumberStatusForVoiceRequest
- type PhoneNumberStatusForVoiceResponse
- type PhoneStatus
- type ThreeElementsVerificationRequest
- type ThreeElementsVerificationResponse
- type TwiceTelVerify
- type TwoElementsVerificationRequest
- type TwoElementsVerificationResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "central"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) DescribeEmptyNumber ¶
func (client *Client) DescribeEmptyNumber(request *DescribeEmptyNumberRequest) (response *DescribeEmptyNumberResponse, err error)
DescribeEmptyNumber invokes the dytnsapi.DescribeEmptyNumber API synchronously
func (*Client) DescribeEmptyNumberDetect ¶
func (client *Client) DescribeEmptyNumberDetect(request *DescribeEmptyNumberDetectRequest) (response *DescribeEmptyNumberDetectResponse, err error)
DescribeEmptyNumberDetect invokes the dytnsapi.DescribeEmptyNumberDetect API synchronously
func (*Client) DescribeEmptyNumberDetectWithCallback ¶
func (client *Client) DescribeEmptyNumberDetectWithCallback(request *DescribeEmptyNumberDetectRequest, callback func(response *DescribeEmptyNumberDetectResponse, err error)) <-chan int
DescribeEmptyNumberDetectWithCallback invokes the dytnsapi.DescribeEmptyNumberDetect API asynchronously
func (*Client) DescribeEmptyNumberDetectWithChan ¶
func (client *Client) DescribeEmptyNumberDetectWithChan(request *DescribeEmptyNumberDetectRequest) (<-chan *DescribeEmptyNumberDetectResponse, <-chan error)
DescribeEmptyNumberDetectWithChan invokes the dytnsapi.DescribeEmptyNumberDetect API asynchronously
func (*Client) DescribeEmptyNumberWithCallback ¶
func (client *Client) DescribeEmptyNumberWithCallback(request *DescribeEmptyNumberRequest, callback func(response *DescribeEmptyNumberResponse, err error)) <-chan int
DescribeEmptyNumberWithCallback invokes the dytnsapi.DescribeEmptyNumber API asynchronously
func (*Client) DescribeEmptyNumberWithChan ¶
func (client *Client) DescribeEmptyNumberWithChan(request *DescribeEmptyNumberRequest) (<-chan *DescribeEmptyNumberResponse, <-chan error)
DescribeEmptyNumberWithChan invokes the dytnsapi.DescribeEmptyNumber API asynchronously
func (*Client) DescribePhoneNumberAnalysis ¶
func (client *Client) DescribePhoneNumberAnalysis(request *DescribePhoneNumberAnalysisRequest) (response *DescribePhoneNumberAnalysisResponse, err error)
DescribePhoneNumberAnalysis invokes the dytnsapi.DescribePhoneNumberAnalysis API synchronously
func (*Client) DescribePhoneNumberAnalysisWithCallback ¶
func (client *Client) DescribePhoneNumberAnalysisWithCallback(request *DescribePhoneNumberAnalysisRequest, callback func(response *DescribePhoneNumberAnalysisResponse, err error)) <-chan int
DescribePhoneNumberAnalysisWithCallback invokes the dytnsapi.DescribePhoneNumberAnalysis API asynchronously
func (*Client) DescribePhoneNumberAnalysisWithChan ¶
func (client *Client) DescribePhoneNumberAnalysisWithChan(request *DescribePhoneNumberAnalysisRequest) (<-chan *DescribePhoneNumberAnalysisResponse, <-chan error)
DescribePhoneNumberAnalysisWithChan invokes the dytnsapi.DescribePhoneNumberAnalysis API asynchronously
func (*Client) DescribePhoneNumberAttribute ¶
func (client *Client) DescribePhoneNumberAttribute(request *DescribePhoneNumberAttributeRequest) (response *DescribePhoneNumberAttributeResponse, err error)
DescribePhoneNumberAttribute invokes the dytnsapi.DescribePhoneNumberAttribute API synchronously
func (*Client) DescribePhoneNumberAttributeWithCallback ¶
func (client *Client) DescribePhoneNumberAttributeWithCallback(request *DescribePhoneNumberAttributeRequest, callback func(response *DescribePhoneNumberAttributeResponse, err error)) <-chan int
DescribePhoneNumberAttributeWithCallback invokes the dytnsapi.DescribePhoneNumberAttribute API asynchronously
func (*Client) DescribePhoneNumberAttributeWithChan ¶
func (client *Client) DescribePhoneNumberAttributeWithChan(request *DescribePhoneNumberAttributeRequest) (<-chan *DescribePhoneNumberAttributeResponse, <-chan error)
DescribePhoneNumberAttributeWithChan invokes the dytnsapi.DescribePhoneNumberAttribute API asynchronously
func (*Client) DescribePhoneNumberOnlineTime ¶
func (client *Client) DescribePhoneNumberOnlineTime(request *DescribePhoneNumberOnlineTimeRequest) (response *DescribePhoneNumberOnlineTimeResponse, err error)
DescribePhoneNumberOnlineTime invokes the dytnsapi.DescribePhoneNumberOnlineTime API synchronously
func (*Client) DescribePhoneNumberOnlineTimeWithCallback ¶
func (client *Client) DescribePhoneNumberOnlineTimeWithCallback(request *DescribePhoneNumberOnlineTimeRequest, callback func(response *DescribePhoneNumberOnlineTimeResponse, err error)) <-chan int
DescribePhoneNumberOnlineTimeWithCallback invokes the dytnsapi.DescribePhoneNumberOnlineTime API asynchronously
func (*Client) DescribePhoneNumberOnlineTimeWithChan ¶
func (client *Client) DescribePhoneNumberOnlineTimeWithChan(request *DescribePhoneNumberOnlineTimeRequest) (<-chan *DescribePhoneNumberOnlineTimeResponse, <-chan error)
DescribePhoneNumberOnlineTimeWithChan invokes the dytnsapi.DescribePhoneNumberOnlineTime API asynchronously
func (*Client) DescribePhoneNumberOperatorAttribute ¶
func (client *Client) DescribePhoneNumberOperatorAttribute(request *DescribePhoneNumberOperatorAttributeRequest) (response *DescribePhoneNumberOperatorAttributeResponse, err error)
DescribePhoneNumberOperatorAttribute invokes the dytnsapi.DescribePhoneNumberOperatorAttribute API synchronously
func (*Client) DescribePhoneNumberOperatorAttributeWithCallback ¶
func (client *Client) DescribePhoneNumberOperatorAttributeWithCallback(request *DescribePhoneNumberOperatorAttributeRequest, callback func(response *DescribePhoneNumberOperatorAttributeResponse, err error)) <-chan int
DescribePhoneNumberOperatorAttributeWithCallback invokes the dytnsapi.DescribePhoneNumberOperatorAttribute API asynchronously
func (*Client) DescribePhoneNumberOperatorAttributeWithChan ¶
func (client *Client) DescribePhoneNumberOperatorAttributeWithChan(request *DescribePhoneNumberOperatorAttributeRequest) (<-chan *DescribePhoneNumberOperatorAttributeResponse, <-chan error)
DescribePhoneNumberOperatorAttributeWithChan invokes the dytnsapi.DescribePhoneNumberOperatorAttribute API asynchronously
func (*Client) DescribePhoneNumberResale ¶
func (client *Client) DescribePhoneNumberResale(request *DescribePhoneNumberResaleRequest) (response *DescribePhoneNumberResaleResponse, err error)
DescribePhoneNumberResale invokes the dytnsapi.DescribePhoneNumberResale API synchronously
func (*Client) DescribePhoneNumberResaleWithCallback ¶
func (client *Client) DescribePhoneNumberResaleWithCallback(request *DescribePhoneNumberResaleRequest, callback func(response *DescribePhoneNumberResaleResponse, err error)) <-chan int
DescribePhoneNumberResaleWithCallback invokes the dytnsapi.DescribePhoneNumberResale API asynchronously
func (*Client) DescribePhoneNumberResaleWithChan ¶
func (client *Client) DescribePhoneNumberResaleWithChan(request *DescribePhoneNumberResaleRequest) (<-chan *DescribePhoneNumberResaleResponse, <-chan error)
DescribePhoneNumberResaleWithChan invokes the dytnsapi.DescribePhoneNumberResale API asynchronously
func (*Client) DescribePhoneNumberStatus ¶
func (client *Client) DescribePhoneNumberStatus(request *DescribePhoneNumberStatusRequest) (response *DescribePhoneNumberStatusResponse, err error)
DescribePhoneNumberStatus invokes the dytnsapi.DescribePhoneNumberStatus API synchronously
func (*Client) DescribePhoneNumberStatusWithCallback ¶
func (client *Client) DescribePhoneNumberStatusWithCallback(request *DescribePhoneNumberStatusRequest, callback func(response *DescribePhoneNumberStatusResponse, err error)) <-chan int
DescribePhoneNumberStatusWithCallback invokes the dytnsapi.DescribePhoneNumberStatus API asynchronously
func (*Client) DescribePhoneNumberStatusWithChan ¶
func (client *Client) DescribePhoneNumberStatusWithChan(request *DescribePhoneNumberStatusRequest) (<-chan *DescribePhoneNumberStatusResponse, <-chan error)
DescribePhoneNumberStatusWithChan invokes the dytnsapi.DescribePhoneNumberStatus API asynchronously
func (*Client) DescribePhoneTwiceTelVerify ¶
func (client *Client) DescribePhoneTwiceTelVerify(request *DescribePhoneTwiceTelVerifyRequest) (response *DescribePhoneTwiceTelVerifyResponse, err error)
DescribePhoneTwiceTelVerify invokes the dytnsapi.DescribePhoneTwiceTelVerify API synchronously
func (*Client) DescribePhoneTwiceTelVerifyWithCallback ¶
func (client *Client) DescribePhoneTwiceTelVerifyWithCallback(request *DescribePhoneTwiceTelVerifyRequest, callback func(response *DescribePhoneTwiceTelVerifyResponse, err error)) <-chan int
DescribePhoneTwiceTelVerifyWithCallback invokes the dytnsapi.DescribePhoneTwiceTelVerify API asynchronously
func (*Client) DescribePhoneTwiceTelVerifyWithChan ¶
func (client *Client) DescribePhoneTwiceTelVerifyWithChan(request *DescribePhoneTwiceTelVerifyRequest) (<-chan *DescribePhoneTwiceTelVerifyResponse, <-chan error)
DescribePhoneTwiceTelVerifyWithChan invokes the dytnsapi.DescribePhoneTwiceTelVerify API asynchronously
func (*Client) InvalidPhoneNumberFilter ¶
func (client *Client) InvalidPhoneNumberFilter(request *InvalidPhoneNumberFilterRequest) (response *InvalidPhoneNumberFilterResponse, err error)
InvalidPhoneNumberFilter invokes the dytnsapi.InvalidPhoneNumberFilter API synchronously
func (*Client) InvalidPhoneNumberFilterWithCallback ¶
func (client *Client) InvalidPhoneNumberFilterWithCallback(request *InvalidPhoneNumberFilterRequest, callback func(response *InvalidPhoneNumberFilterResponse, err error)) <-chan int
InvalidPhoneNumberFilterWithCallback invokes the dytnsapi.InvalidPhoneNumberFilter API asynchronously
func (*Client) InvalidPhoneNumberFilterWithChan ¶
func (client *Client) InvalidPhoneNumberFilterWithChan(request *InvalidPhoneNumberFilterRequest) (<-chan *InvalidPhoneNumberFilterResponse, <-chan error)
InvalidPhoneNumberFilterWithChan invokes the dytnsapi.InvalidPhoneNumberFilter API asynchronously
func (*Client) PhoneNumberEncrypt ¶
func (client *Client) PhoneNumberEncrypt(request *PhoneNumberEncryptRequest) (response *PhoneNumberEncryptResponse, err error)
PhoneNumberEncrypt invokes the dytnsapi.PhoneNumberEncrypt API synchronously
func (*Client) PhoneNumberEncryptWithCallback ¶
func (client *Client) PhoneNumberEncryptWithCallback(request *PhoneNumberEncryptRequest, callback func(response *PhoneNumberEncryptResponse, err error)) <-chan int
PhoneNumberEncryptWithCallback invokes the dytnsapi.PhoneNumberEncrypt API asynchronously
func (*Client) PhoneNumberEncryptWithChan ¶
func (client *Client) PhoneNumberEncryptWithChan(request *PhoneNumberEncryptRequest) (<-chan *PhoneNumberEncryptResponse, <-chan error)
PhoneNumberEncryptWithChan invokes the dytnsapi.PhoneNumberEncrypt API asynchronously
func (*Client) PhoneNumberStatusForAccount ¶
func (client *Client) PhoneNumberStatusForAccount(request *PhoneNumberStatusForAccountRequest) (response *PhoneNumberStatusForAccountResponse, err error)
PhoneNumberStatusForAccount invokes the dytnsapi.PhoneNumberStatusForAccount API synchronously
func (*Client) PhoneNumberStatusForAccountWithCallback ¶
func (client *Client) PhoneNumberStatusForAccountWithCallback(request *PhoneNumberStatusForAccountRequest, callback func(response *PhoneNumberStatusForAccountResponse, err error)) <-chan int
PhoneNumberStatusForAccountWithCallback invokes the dytnsapi.PhoneNumberStatusForAccount API asynchronously
func (*Client) PhoneNumberStatusForAccountWithChan ¶
func (client *Client) PhoneNumberStatusForAccountWithChan(request *PhoneNumberStatusForAccountRequest) (<-chan *PhoneNumberStatusForAccountResponse, <-chan error)
PhoneNumberStatusForAccountWithChan invokes the dytnsapi.PhoneNumberStatusForAccount API asynchronously
func (*Client) PhoneNumberStatusForPublic ¶
func (client *Client) PhoneNumberStatusForPublic(request *PhoneNumberStatusForPublicRequest) (response *PhoneNumberStatusForPublicResponse, err error)
PhoneNumberStatusForPublic invokes the dytnsapi.PhoneNumberStatusForPublic API synchronously
func (*Client) PhoneNumberStatusForPublicWithCallback ¶
func (client *Client) PhoneNumberStatusForPublicWithCallback(request *PhoneNumberStatusForPublicRequest, callback func(response *PhoneNumberStatusForPublicResponse, err error)) <-chan int
PhoneNumberStatusForPublicWithCallback invokes the dytnsapi.PhoneNumberStatusForPublic API asynchronously
func (*Client) PhoneNumberStatusForPublicWithChan ¶
func (client *Client) PhoneNumberStatusForPublicWithChan(request *PhoneNumberStatusForPublicRequest) (<-chan *PhoneNumberStatusForPublicResponse, <-chan error)
PhoneNumberStatusForPublicWithChan invokes the dytnsapi.PhoneNumberStatusForPublic API asynchronously
func (*Client) PhoneNumberStatusForReal ¶
func (client *Client) PhoneNumberStatusForReal(request *PhoneNumberStatusForRealRequest) (response *PhoneNumberStatusForRealResponse, err error)
PhoneNumberStatusForReal invokes the dytnsapi.PhoneNumberStatusForReal API synchronously
func (*Client) PhoneNumberStatusForRealWithCallback ¶
func (client *Client) PhoneNumberStatusForRealWithCallback(request *PhoneNumberStatusForRealRequest, callback func(response *PhoneNumberStatusForRealResponse, err error)) <-chan int
PhoneNumberStatusForRealWithCallback invokes the dytnsapi.PhoneNumberStatusForReal API asynchronously
func (*Client) PhoneNumberStatusForRealWithChan ¶
func (client *Client) PhoneNumberStatusForRealWithChan(request *PhoneNumberStatusForRealRequest) (<-chan *PhoneNumberStatusForRealResponse, <-chan error)
PhoneNumberStatusForRealWithChan invokes the dytnsapi.PhoneNumberStatusForReal API asynchronously
func (*Client) PhoneNumberStatusForSms ¶
func (client *Client) PhoneNumberStatusForSms(request *PhoneNumberStatusForSmsRequest) (response *PhoneNumberStatusForSmsResponse, err error)
PhoneNumberStatusForSms invokes the dytnsapi.PhoneNumberStatusForSms API synchronously
func (*Client) PhoneNumberStatusForSmsWithCallback ¶
func (client *Client) PhoneNumberStatusForSmsWithCallback(request *PhoneNumberStatusForSmsRequest, callback func(response *PhoneNumberStatusForSmsResponse, err error)) <-chan int
PhoneNumberStatusForSmsWithCallback invokes the dytnsapi.PhoneNumberStatusForSms API asynchronously
func (*Client) PhoneNumberStatusForSmsWithChan ¶
func (client *Client) PhoneNumberStatusForSmsWithChan(request *PhoneNumberStatusForSmsRequest) (<-chan *PhoneNumberStatusForSmsResponse, <-chan error)
PhoneNumberStatusForSmsWithChan invokes the dytnsapi.PhoneNumberStatusForSms API asynchronously
func (*Client) PhoneNumberStatusForVirtual ¶
func (client *Client) PhoneNumberStatusForVirtual(request *PhoneNumberStatusForVirtualRequest) (response *PhoneNumberStatusForVirtualResponse, err error)
PhoneNumberStatusForVirtual invokes the dytnsapi.PhoneNumberStatusForVirtual API synchronously
func (*Client) PhoneNumberStatusForVirtualWithCallback ¶
func (client *Client) PhoneNumberStatusForVirtualWithCallback(request *PhoneNumberStatusForVirtualRequest, callback func(response *PhoneNumberStatusForVirtualResponse, err error)) <-chan int
PhoneNumberStatusForVirtualWithCallback invokes the dytnsapi.PhoneNumberStatusForVirtual API asynchronously
func (*Client) PhoneNumberStatusForVirtualWithChan ¶
func (client *Client) PhoneNumberStatusForVirtualWithChan(request *PhoneNumberStatusForVirtualRequest) (<-chan *PhoneNumberStatusForVirtualResponse, <-chan error)
PhoneNumberStatusForVirtualWithChan invokes the dytnsapi.PhoneNumberStatusForVirtual API asynchronously
func (*Client) PhoneNumberStatusForVoice ¶
func (client *Client) PhoneNumberStatusForVoice(request *PhoneNumberStatusForVoiceRequest) (response *PhoneNumberStatusForVoiceResponse, err error)
PhoneNumberStatusForVoice invokes the dytnsapi.PhoneNumberStatusForVoice API synchronously
func (*Client) PhoneNumberStatusForVoiceWithCallback ¶
func (client *Client) PhoneNumberStatusForVoiceWithCallback(request *PhoneNumberStatusForVoiceRequest, callback func(response *PhoneNumberStatusForVoiceResponse, err error)) <-chan int
PhoneNumberStatusForVoiceWithCallback invokes the dytnsapi.PhoneNumberStatusForVoice API asynchronously
func (*Client) PhoneNumberStatusForVoiceWithChan ¶
func (client *Client) PhoneNumberStatusForVoiceWithChan(request *PhoneNumberStatusForVoiceRequest) (<-chan *PhoneNumberStatusForVoiceResponse, <-chan error)
PhoneNumberStatusForVoiceWithChan invokes the dytnsapi.PhoneNumberStatusForVoice API asynchronously
func (*Client) ThreeElementsVerification ¶
func (client *Client) ThreeElementsVerification(request *ThreeElementsVerificationRequest) (response *ThreeElementsVerificationResponse, err error)
ThreeElementsVerification invokes the dytnsapi.ThreeElementsVerification API synchronously
func (*Client) ThreeElementsVerificationWithCallback ¶
func (client *Client) ThreeElementsVerificationWithCallback(request *ThreeElementsVerificationRequest, callback func(response *ThreeElementsVerificationResponse, err error)) <-chan int
ThreeElementsVerificationWithCallback invokes the dytnsapi.ThreeElementsVerification API asynchronously
func (*Client) ThreeElementsVerificationWithChan ¶
func (client *Client) ThreeElementsVerificationWithChan(request *ThreeElementsVerificationRequest) (<-chan *ThreeElementsVerificationResponse, <-chan error)
ThreeElementsVerificationWithChan invokes the dytnsapi.ThreeElementsVerification API asynchronously
func (*Client) TwoElementsVerification ¶
func (client *Client) TwoElementsVerification(request *TwoElementsVerificationRequest) (response *TwoElementsVerificationResponse, err error)
TwoElementsVerification invokes the dytnsapi.TwoElementsVerification API synchronously
func (*Client) TwoElementsVerificationWithCallback ¶
func (client *Client) TwoElementsVerificationWithCallback(request *TwoElementsVerificationRequest, callback func(response *TwoElementsVerificationResponse, err error)) <-chan int
TwoElementsVerificationWithCallback invokes the dytnsapi.TwoElementsVerification API asynchronously
func (*Client) TwoElementsVerificationWithChan ¶
func (client *Client) TwoElementsVerificationWithChan(request *TwoElementsVerificationRequest) (<-chan *TwoElementsVerificationResponse, <-chan error)
TwoElementsVerificationWithChan invokes the dytnsapi.TwoElementsVerification API asynchronously
type Data ¶
type Data struct { IsNumberPortability bool `json:"IsNumberPortability" xml:"IsNumberPortability"` NumberSegment int64 `json:"NumberSegment" xml:"NumberSegment"` IsConsistent int `json:"IsConsistent" xml:"IsConsistent"` CarrierCode string `json:"CarrierCode" xml:"CarrierCode"` Carrier string `json:"Carrier" xml:"Carrier"` VerifyResult string `json:"VerifyResult" xml:"VerifyResult"` BasicCarrier string `json:"BasicCarrier" xml:"BasicCarrier"` IsPrivacyNumber bool `json:"IsPrivacyNumber" xml:"IsPrivacyNumber"` Status string `json:"Status" xml:"Status"` City string `json:"City" xml:"City"` Number string `json:"Number" xml:"Number"` Province string `json:"Province" xml:"Province"` }
Data is a nested struct in dytnsapi response
type DataInDescribeEmptyNumberDetect ¶
type DataInDescribeEmptyNumberDetect struct {
DataList []DataList `json:"DataList" xml:"DataList"`
}
DataInDescribeEmptyNumberDetect is a nested struct in dytnsapi response
type DataInDescribePhoneNumberAnalysis ¶
type DataInDescribePhoneNumberAnalysis struct {
DataList []DataList `json:"DataList" xml:"DataList"`
}
DataInDescribePhoneNumberAnalysis is a nested struct in dytnsapi response
type DataInInvalidPhoneNumberFilter ¶
type DataInInvalidPhoneNumberFilter struct {
DataItem []DataItem `json:"DataItem" xml:"DataItem"`
}
DataInInvalidPhoneNumberFilter is a nested struct in dytnsapi response
type DataInPhoneNumberEncrypt ¶
type DataInPhoneNumberEncrypt struct {
DataItem []DataItem `json:"DataItem" xml:"DataItem"`
}
DataInPhoneNumberEncrypt is a nested struct in dytnsapi response
type DataItem ¶
type DataItem struct { EncryptedNumber string `json:"EncryptedNumber" xml:"EncryptedNumber"` OriginalNumber string `json:"OriginalNumber" xml:"OriginalNumber"` Code string `json:"Code" xml:"Code"` ExpireTime string `json:"ExpireTime" xml:"ExpireTime"` }
DataItem is a nested struct in dytnsapi response
type DataList ¶
type DataList struct { Code string `json:"Code" xml:"Code"` Status string `json:"Status" xml:"Status"` Number string `json:"Number" xml:"Number"` }
DataList is a nested struct in dytnsapi response
type DescribeEmptyNumberDetectRequest ¶
type DescribeEmptyNumberDetectRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` EncryptType string `position:"Query" name:"EncryptType"` OfferType string `position:"Query" name:"OfferType"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` Phone string `position:"Query" name:"Phone"` }
DescribeEmptyNumberDetectRequest is the request struct for api DescribeEmptyNumberDetect
func CreateDescribeEmptyNumberDetectRequest ¶
func CreateDescribeEmptyNumberDetectRequest() (request *DescribeEmptyNumberDetectRequest)
CreateDescribeEmptyNumberDetectRequest creates a request to invoke DescribeEmptyNumberDetect API
type DescribeEmptyNumberDetectResponse ¶
type DescribeEmptyNumberDetectResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data []DataList `json:"Data" xml:"Data"` }
DescribeEmptyNumberDetectResponse is the response struct for api DescribeEmptyNumberDetect
func CreateDescribeEmptyNumberDetectResponse ¶
func CreateDescribeEmptyNumberDetectResponse() (response *DescribeEmptyNumberDetectResponse)
CreateDescribeEmptyNumberDetectResponse creates a response to parse from DescribeEmptyNumberDetect response
type DescribeEmptyNumberRequest ¶
type DescribeEmptyNumberRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` RouteName string `position:"Query" name:"RouteName"` Mask string `position:"Query" name:"Mask"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` }
DescribeEmptyNumberRequest is the request struct for api DescribeEmptyNumber
func CreateDescribeEmptyNumberRequest ¶
func CreateDescribeEmptyNumberRequest() (request *DescribeEmptyNumberRequest)
CreateDescribeEmptyNumberRequest creates a request to invoke DescribeEmptyNumber API
type DescribeEmptyNumberResponse ¶
type DescribeEmptyNumberResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` Data Data `json:"Data" xml:"Data"` }
DescribeEmptyNumberResponse is the response struct for api DescribeEmptyNumber
func CreateDescribeEmptyNumberResponse ¶
func CreateDescribeEmptyNumberResponse() (response *DescribeEmptyNumberResponse)
CreateDescribeEmptyNumberResponse creates a response to parse from DescribeEmptyNumber response
type DescribePhoneNumberAnalysisRequest ¶
type DescribePhoneNumberAnalysisRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Rate requests.Integer `position:"Query" name:"Rate"` Mask string `position:"Query" name:"Mask"` OfferType string `position:"Query" name:"OfferType"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` NumberType requests.Integer `position:"Query" name:"NumberType"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` }
DescribePhoneNumberAnalysisRequest is the request struct for api DescribePhoneNumberAnalysis
func CreateDescribePhoneNumberAnalysisRequest ¶
func CreateDescribePhoneNumberAnalysisRequest() (request *DescribePhoneNumberAnalysisRequest)
CreateDescribePhoneNumberAnalysisRequest creates a request to invoke DescribePhoneNumberAnalysis API
type DescribePhoneNumberAnalysisResponse ¶
type DescribePhoneNumberAnalysisResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data []DataList `json:"Data" xml:"Data"` }
DescribePhoneNumberAnalysisResponse is the response struct for api DescribePhoneNumberAnalysis
func CreateDescribePhoneNumberAnalysisResponse ¶
func CreateDescribePhoneNumberAnalysisResponse() (response *DescribePhoneNumberAnalysisResponse)
CreateDescribePhoneNumberAnalysisResponse creates a response to parse from DescribePhoneNumberAnalysis response
type DescribePhoneNumberAttributeRequest ¶
type DescribePhoneNumberAttributeRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` PhoneNumber string `position:"Query" name:"PhoneNumber"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribePhoneNumberAttributeRequest is the request struct for api DescribePhoneNumberAttribute
func CreateDescribePhoneNumberAttributeRequest ¶
func CreateDescribePhoneNumberAttributeRequest() (request *DescribePhoneNumberAttributeRequest)
CreateDescribePhoneNumberAttributeRequest creates a request to invoke DescribePhoneNumberAttribute API
type DescribePhoneNumberAttributeResponse ¶
type DescribePhoneNumberAttributeResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` PhoneNumberAttribute PhoneNumberAttribute `json:"PhoneNumberAttribute" xml:"PhoneNumberAttribute"` }
DescribePhoneNumberAttributeResponse is the response struct for api DescribePhoneNumberAttribute
func CreateDescribePhoneNumberAttributeResponse ¶
func CreateDescribePhoneNumberAttributeResponse() (response *DescribePhoneNumberAttributeResponse)
CreateDescribePhoneNumberAttributeResponse creates a response to parse from DescribePhoneNumberAttribute response
type DescribePhoneNumberOnlineTimeRequest ¶
type DescribePhoneNumberOnlineTimeRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` RouteName string `position:"Query" name:"RouteName"` Mask string `position:"Query" name:"Mask"` OfferType string `position:"Query" name:"OfferType"` ResultCount requests.Integer `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` Carrier string `position:"Query" name:"Carrier"` }
DescribePhoneNumberOnlineTimeRequest is the request struct for api DescribePhoneNumberOnlineTime
func CreateDescribePhoneNumberOnlineTimeRequest ¶
func CreateDescribePhoneNumberOnlineTimeRequest() (request *DescribePhoneNumberOnlineTimeRequest)
CreateDescribePhoneNumberOnlineTimeRequest creates a request to invoke DescribePhoneNumberOnlineTime API
type DescribePhoneNumberOnlineTimeResponse ¶
type DescribePhoneNumberOnlineTimeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data Data `json:"Data" xml:"Data"` }
DescribePhoneNumberOnlineTimeResponse is the response struct for api DescribePhoneNumberOnlineTime
func CreateDescribePhoneNumberOnlineTimeResponse ¶
func CreateDescribePhoneNumberOnlineTimeResponse() (response *DescribePhoneNumberOnlineTimeResponse)
CreateDescribePhoneNumberOnlineTimeResponse creates a response to parse from DescribePhoneNumberOnlineTime response
type DescribePhoneNumberOperatorAttributeRequest ¶
type DescribePhoneNumberOperatorAttributeRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Mask string `position:"Query" name:"Mask"` ResultCount string `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` FlowName string `position:"Query" name:"FlowName"` }
DescribePhoneNumberOperatorAttributeRequest is the request struct for api DescribePhoneNumberOperatorAttribute
func CreateDescribePhoneNumberOperatorAttributeRequest ¶
func CreateDescribePhoneNumberOperatorAttributeRequest() (request *DescribePhoneNumberOperatorAttributeRequest)
CreateDescribePhoneNumberOperatorAttributeRequest creates a request to invoke DescribePhoneNumberOperatorAttribute API
type DescribePhoneNumberOperatorAttributeResponse ¶
type DescribePhoneNumberOperatorAttributeResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
DescribePhoneNumberOperatorAttributeResponse is the response struct for api DescribePhoneNumberOperatorAttribute
func CreateDescribePhoneNumberOperatorAttributeResponse ¶
func CreateDescribePhoneNumberOperatorAttributeResponse() (response *DescribePhoneNumberOperatorAttributeResponse)
CreateDescribePhoneNumberOperatorAttributeResponse creates a response to parse from DescribePhoneNumberOperatorAttribute response
type DescribePhoneNumberResaleRequest ¶
type DescribePhoneNumberResaleRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` PhoneNumber string `position:"Query" name:"PhoneNumber"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` Since string `position:"Query" name:"Since"` }
DescribePhoneNumberResaleRequest is the request struct for api DescribePhoneNumberResale
func CreateDescribePhoneNumberResaleRequest ¶
func CreateDescribePhoneNumberResaleRequest() (request *DescribePhoneNumberResaleRequest)
CreateDescribePhoneNumberResaleRequest creates a request to invoke DescribePhoneNumberResale API
type DescribePhoneNumberResaleResponse ¶
type DescribePhoneNumberResaleResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` TwiceTelVerify TwiceTelVerify `json:"TwiceTelVerify" xml:"TwiceTelVerify"` }
DescribePhoneNumberResaleResponse is the response struct for api DescribePhoneNumberResale
func CreateDescribePhoneNumberResaleResponse ¶
func CreateDescribePhoneNumberResaleResponse() (response *DescribePhoneNumberResaleResponse)
CreateDescribePhoneNumberResaleResponse creates a response to parse from DescribePhoneNumberResale response
type DescribePhoneNumberStatusRequest ¶
type DescribePhoneNumberStatusRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` PhoneNumber string `position:"Query" name:"PhoneNumber"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
DescribePhoneNumberStatusRequest is the request struct for api DescribePhoneNumberStatus
func CreateDescribePhoneNumberStatusRequest ¶
func CreateDescribePhoneNumberStatusRequest() (request *DescribePhoneNumberStatusRequest)
CreateDescribePhoneNumberStatusRequest creates a request to invoke DescribePhoneNumberStatus API
type DescribePhoneNumberStatusResponse ¶
type DescribePhoneNumberStatusResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` PhoneStatus PhoneStatus `json:"PhoneStatus" xml:"PhoneStatus"` }
DescribePhoneNumberStatusResponse is the response struct for api DescribePhoneNumberStatus
func CreateDescribePhoneNumberStatusResponse ¶
func CreateDescribePhoneNumberStatusResponse() (response *DescribePhoneNumberStatusResponse)
CreateDescribePhoneNumberStatusResponse creates a response to parse from DescribePhoneNumberStatus response
type DescribePhoneTwiceTelVerifyRequest ¶
type DescribePhoneTwiceTelVerifyRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` StartTime string `position:"Query" name:"StartTime"` RouteName string `position:"Query" name:"RouteName"` Mask string `position:"Query" name:"Mask"` OfferType string `position:"Query" name:"OfferType"` ResultCount requests.Integer `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` FlowName string `position:"Query" name:"FlowName"` }
DescribePhoneTwiceTelVerifyRequest is the request struct for api DescribePhoneTwiceTelVerify
func CreateDescribePhoneTwiceTelVerifyRequest ¶
func CreateDescribePhoneTwiceTelVerifyRequest() (request *DescribePhoneTwiceTelVerifyRequest)
CreateDescribePhoneTwiceTelVerifyRequest creates a request to invoke DescribePhoneTwiceTelVerify API
type DescribePhoneTwiceTelVerifyResponse ¶
type DescribePhoneTwiceTelVerifyResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data Data `json:"Data" xml:"Data"` }
DescribePhoneTwiceTelVerifyResponse is the response struct for api DescribePhoneTwiceTelVerify
func CreateDescribePhoneTwiceTelVerifyResponse ¶
func CreateDescribePhoneTwiceTelVerifyResponse() (response *DescribePhoneTwiceTelVerifyResponse)
CreateDescribePhoneTwiceTelVerifyResponse creates a response to parse from DescribePhoneTwiceTelVerify response
type InvalidPhoneNumberFilterRequest ¶
type InvalidPhoneNumberFilterRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Mask string `position:"Query" name:"Mask"` OfferType string `position:"Query" name:"OfferType"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` }
InvalidPhoneNumberFilterRequest is the request struct for api InvalidPhoneNumberFilter
func CreateInvalidPhoneNumberFilterRequest ¶
func CreateInvalidPhoneNumberFilterRequest() (request *InvalidPhoneNumberFilterRequest)
CreateInvalidPhoneNumberFilterRequest creates a request to invoke InvalidPhoneNumberFilter API
type InvalidPhoneNumberFilterResponse ¶
type InvalidPhoneNumberFilterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` Data []DataItem `json:"Data" xml:"Data"` }
InvalidPhoneNumberFilterResponse is the response struct for api InvalidPhoneNumberFilter
func CreateInvalidPhoneNumberFilterResponse ¶
func CreateInvalidPhoneNumberFilterResponse() (response *InvalidPhoneNumberFilterResponse)
CreateInvalidPhoneNumberFilterResponse creates a response to parse from InvalidPhoneNumberFilter response
type PhoneNumberAttribute ¶
type PhoneNumberAttribute struct { BasicCarrier string `json:"BasicCarrier" xml:"BasicCarrier"` Carrier string `json:"Carrier" xml:"Carrier"` IsNumberPortability bool `json:"IsNumberPortability" xml:"IsNumberPortability"` NumberSegment int64 `json:"NumberSegment" xml:"NumberSegment"` City string `json:"City" xml:"City"` Province string `json:"Province" xml:"Province"` }
PhoneNumberAttribute is a nested struct in dytnsapi response
type PhoneNumberEncryptRequest ¶
type PhoneNumberEncryptRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` RouteName string `position:"Query" name:"RouteName"` Mask string `position:"Query" name:"Mask"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` }
PhoneNumberEncryptRequest is the request struct for api PhoneNumberEncrypt
func CreatePhoneNumberEncryptRequest ¶
func CreatePhoneNumberEncryptRequest() (request *PhoneNumberEncryptRequest)
CreatePhoneNumberEncryptRequest creates a request to invoke PhoneNumberEncrypt API
type PhoneNumberEncryptResponse ¶
type PhoneNumberEncryptResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` Data []DataItem `json:"Data" xml:"Data"` }
PhoneNumberEncryptResponse is the response struct for api PhoneNumberEncrypt
func CreatePhoneNumberEncryptResponse ¶
func CreatePhoneNumberEncryptResponse() (response *PhoneNumberEncryptResponse)
CreatePhoneNumberEncryptResponse creates a response to parse from PhoneNumberEncrypt response
type PhoneNumberStatusForAccountRequest ¶
type PhoneNumberStatusForAccountRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Mask string `position:"Query" name:"Mask"` ResultCount string `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` FlowName string `position:"Query" name:"FlowName"` PhoneStatusSceneCode string `position:"Query" name:"PhoneStatusSceneCode"` }
PhoneNumberStatusForAccountRequest is the request struct for api PhoneNumberStatusForAccount
func CreatePhoneNumberStatusForAccountRequest ¶
func CreatePhoneNumberStatusForAccountRequest() (request *PhoneNumberStatusForAccountRequest)
CreatePhoneNumberStatusForAccountRequest creates a request to invoke PhoneNumberStatusForAccount API
type PhoneNumberStatusForAccountResponse ¶
type PhoneNumberStatusForAccountResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
PhoneNumberStatusForAccountResponse is the response struct for api PhoneNumberStatusForAccount
func CreatePhoneNumberStatusForAccountResponse ¶
func CreatePhoneNumberStatusForAccountResponse() (response *PhoneNumberStatusForAccountResponse)
CreatePhoneNumberStatusForAccountResponse creates a response to parse from PhoneNumberStatusForAccount response
type PhoneNumberStatusForPublicRequest ¶
type PhoneNumberStatusForPublicRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` RouteName string `position:"Query" name:"RouteName"` Mask string `position:"Query" name:"Mask"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` }
PhoneNumberStatusForPublicRequest is the request struct for api PhoneNumberStatusForPublic
func CreatePhoneNumberStatusForPublicRequest ¶
func CreatePhoneNumberStatusForPublicRequest() (request *PhoneNumberStatusForPublicRequest)
CreatePhoneNumberStatusForPublicRequest creates a request to invoke PhoneNumberStatusForPublic API
type PhoneNumberStatusForPublicResponse ¶
type PhoneNumberStatusForPublicResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Message string `json:"Message" xml:"Message"` Code string `json:"Code" xml:"Code"` Data Data `json:"Data" xml:"Data"` }
PhoneNumberStatusForPublicResponse is the response struct for api PhoneNumberStatusForPublic
func CreatePhoneNumberStatusForPublicResponse ¶
func CreatePhoneNumberStatusForPublicResponse() (response *PhoneNumberStatusForPublicResponse)
CreatePhoneNumberStatusForPublicResponse creates a response to parse from PhoneNumberStatusForPublic response
type PhoneNumberStatusForRealRequest ¶
type PhoneNumberStatusForRealRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Mask string `position:"Query" name:"Mask"` ResultCount string `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` FlowName string `position:"Query" name:"FlowName"` PhoneStatusSceneCode string `position:"Query" name:"PhoneStatusSceneCode"` }
PhoneNumberStatusForRealRequest is the request struct for api PhoneNumberStatusForReal
func CreatePhoneNumberStatusForRealRequest ¶
func CreatePhoneNumberStatusForRealRequest() (request *PhoneNumberStatusForRealRequest)
CreatePhoneNumberStatusForRealRequest creates a request to invoke PhoneNumberStatusForReal API
type PhoneNumberStatusForRealResponse ¶
type PhoneNumberStatusForRealResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
PhoneNumberStatusForRealResponse is the response struct for api PhoneNumberStatusForReal
func CreatePhoneNumberStatusForRealResponse ¶
func CreatePhoneNumberStatusForRealResponse() (response *PhoneNumberStatusForRealResponse)
CreatePhoneNumberStatusForRealResponse creates a response to parse from PhoneNumberStatusForReal response
type PhoneNumberStatusForSmsRequest ¶
type PhoneNumberStatusForSmsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Mask string `position:"Query" name:"Mask"` ResultCount string `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` FlowName string `position:"Query" name:"FlowName"` PhoneStatusSceneCode string `position:"Query" name:"PhoneStatusSceneCode"` }
PhoneNumberStatusForSmsRequest is the request struct for api PhoneNumberStatusForSms
func CreatePhoneNumberStatusForSmsRequest ¶
func CreatePhoneNumberStatusForSmsRequest() (request *PhoneNumberStatusForSmsRequest)
CreatePhoneNumberStatusForSmsRequest creates a request to invoke PhoneNumberStatusForSms API
type PhoneNumberStatusForSmsResponse ¶
type PhoneNumberStatusForSmsResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
PhoneNumberStatusForSmsResponse is the response struct for api PhoneNumberStatusForSms
func CreatePhoneNumberStatusForSmsResponse ¶
func CreatePhoneNumberStatusForSmsResponse() (response *PhoneNumberStatusForSmsResponse)
CreatePhoneNumberStatusForSmsResponse creates a response to parse from PhoneNumberStatusForSms response
type PhoneNumberStatusForVirtualRequest ¶
type PhoneNumberStatusForVirtualRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Mask string `position:"Query" name:"Mask"` ResultCount string `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` FlowName string `position:"Query" name:"FlowName"` PhoneStatusSceneCode string `position:"Query" name:"PhoneStatusSceneCode"` }
PhoneNumberStatusForVirtualRequest is the request struct for api PhoneNumberStatusForVirtual
func CreatePhoneNumberStatusForVirtualRequest ¶
func CreatePhoneNumberStatusForVirtualRequest() (request *PhoneNumberStatusForVirtualRequest)
CreatePhoneNumberStatusForVirtualRequest creates a request to invoke PhoneNumberStatusForVirtual API
type PhoneNumberStatusForVirtualResponse ¶
type PhoneNumberStatusForVirtualResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
PhoneNumberStatusForVirtualResponse is the response struct for api PhoneNumberStatusForVirtual
func CreatePhoneNumberStatusForVirtualResponse ¶
func CreatePhoneNumberStatusForVirtualResponse() (response *PhoneNumberStatusForVirtualResponse)
CreatePhoneNumberStatusForVirtualResponse creates a response to parse from PhoneNumberStatusForVirtual response
type PhoneNumberStatusForVoiceRequest ¶
type PhoneNumberStatusForVoiceRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Mask string `position:"Query" name:"Mask"` ResultCount string `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` FlowName string `position:"Query" name:"FlowName"` PhoneStatusSceneCode string `position:"Query" name:"PhoneStatusSceneCode"` }
PhoneNumberStatusForVoiceRequest is the request struct for api PhoneNumberStatusForVoice
func CreatePhoneNumberStatusForVoiceRequest ¶
func CreatePhoneNumberStatusForVoiceRequest() (request *PhoneNumberStatusForVoiceRequest)
CreatePhoneNumberStatusForVoiceRequest creates a request to invoke PhoneNumberStatusForVoice API
type PhoneNumberStatusForVoiceResponse ¶
type PhoneNumberStatusForVoiceResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
PhoneNumberStatusForVoiceResponse is the response struct for api PhoneNumberStatusForVoice
func CreatePhoneNumberStatusForVoiceResponse ¶
func CreatePhoneNumberStatusForVoiceResponse() (response *PhoneNumberStatusForVoiceResponse)
CreatePhoneNumberStatusForVoiceResponse creates a response to parse from PhoneNumberStatusForVoice response
type PhoneStatus ¶
type PhoneStatus struct { Status string `json:"Status" xml:"Status"` SerialId string `json:"SerialId" xml:"SerialId"` Carrier string `json:"Carrier" xml:"Carrier"` }
PhoneStatus is a nested struct in dytnsapi response
type ThreeElementsVerificationRequest ¶
type ThreeElementsVerificationRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` CertCode string `position:"Query" name:"CertCode"` Mask string `position:"Query" name:"Mask"` ResultCount string `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` Name string `position:"Query" name:"Name"` FlowName string `position:"Query" name:"FlowName"` }
ThreeElementsVerificationRequest is the request struct for api ThreeElementsVerification
func CreateThreeElementsVerificationRequest ¶
func CreateThreeElementsVerificationRequest() (request *ThreeElementsVerificationRequest)
CreateThreeElementsVerificationRequest creates a request to invoke ThreeElementsVerification API
type ThreeElementsVerificationResponse ¶
type ThreeElementsVerificationResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
ThreeElementsVerificationResponse is the response struct for api ThreeElementsVerification
func CreateThreeElementsVerificationResponse ¶
func CreateThreeElementsVerificationResponse() (response *ThreeElementsVerificationResponse)
CreateThreeElementsVerificationResponse creates a response to parse from ThreeElementsVerification response
type TwiceTelVerify ¶
type TwiceTelVerify struct { Carrier string `json:"Carrier" xml:"Carrier"` VerifyResult int `json:"VerifyResult" xml:"VerifyResult"` }
TwiceTelVerify is a nested struct in dytnsapi response
type TwoElementsVerificationRequest ¶
type TwoElementsVerificationRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` Mask string `position:"Query" name:"Mask"` ResultCount string `position:"Query" name:"ResultCount"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` NumberType string `position:"Query" name:"NumberType"` AuthCode string `position:"Query" name:"AuthCode"` InputNumber string `position:"Query" name:"InputNumber"` Name string `position:"Query" name:"Name"` FlowName string `position:"Query" name:"FlowName"` }
TwoElementsVerificationRequest is the request struct for api TwoElementsVerification
func CreateTwoElementsVerificationRequest ¶
func CreateTwoElementsVerificationRequest() (request *TwoElementsVerificationRequest)
CreateTwoElementsVerificationRequest creates a request to invoke TwoElementsVerification API
type TwoElementsVerificationResponse ¶
type TwoElementsVerificationResponse struct { *responses.BaseResponse Code string `json:"Code" xml:"Code"` Message string `json:"Message" xml:"Message"` RequestId string `json:"RequestId" xml:"RequestId"` Data Data `json:"Data" xml:"Data"` }
TwoElementsVerificationResponse is the response struct for api TwoElementsVerification
func CreateTwoElementsVerificationResponse ¶
func CreateTwoElementsVerificationResponse() (response *TwoElementsVerificationResponse)
CreateTwoElementsVerificationResponse creates a response to parse from TwoElementsVerification response
Source Files ¶
- client.go
- describe_empty_number.go
- describe_empty_number_detect.go
- describe_phone_number_analysis.go
- describe_phone_number_attribute.go
- describe_phone_number_online_time.go
- describe_phone_number_operator_attribute.go
- describe_phone_number_resale.go
- describe_phone_number_status.go
- describe_phone_twice_tel_verify.go
- endpoint.go
- invalid_phone_number_filter.go
- phone_number_encrypt.go
- phone_number_status_for_account.go
- phone_number_status_for_public.go
- phone_number_status_for_real.go
- phone_number_status_for_sms.go
- phone_number_status_for_virtual.go
- phone_number_status_for_voice.go
- struct_data.go
- struct_data_in_describe_empty_number_detect.go
- struct_data_in_describe_phone_number_analysis.go
- struct_data_in_invalid_phone_number_filter.go
- struct_data_in_phone_number_encrypt.go
- struct_data_item.go
- struct_data_list.go
- struct_phone_number_attribute.go
- struct_phone_status.go
- struct_twice_tel_verify.go
- three_elements_verification.go
- two_elements_verification.go