dypnsapi

package
v1.62.103 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "central"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) CreateVerifyScheme

func (client *Client) CreateVerifyScheme(request *CreateVerifySchemeRequest) (response *CreateVerifySchemeResponse, err error)

CreateVerifyScheme invokes the dypnsapi.CreateVerifyScheme API synchronously

func (*Client) CreateVerifySchemeWithCallback

func (client *Client) CreateVerifySchemeWithCallback(request *CreateVerifySchemeRequest, callback func(response *CreateVerifySchemeResponse, err error)) <-chan int

CreateVerifySchemeWithCallback invokes the dypnsapi.CreateVerifyScheme API asynchronously

func (*Client) CreateVerifySchemeWithChan

func (client *Client) CreateVerifySchemeWithChan(request *CreateVerifySchemeRequest) (<-chan *CreateVerifySchemeResponse, <-chan error)

CreateVerifySchemeWithChan invokes the dypnsapi.CreateVerifyScheme API asynchronously

func (*Client) DeleteVerifyScheme

func (client *Client) DeleteVerifyScheme(request *DeleteVerifySchemeRequest) (response *DeleteVerifySchemeResponse, err error)

DeleteVerifyScheme invokes the dypnsapi.DeleteVerifyScheme API synchronously

func (*Client) DeleteVerifySchemeWithCallback

func (client *Client) DeleteVerifySchemeWithCallback(request *DeleteVerifySchemeRequest, callback func(response *DeleteVerifySchemeResponse, err error)) <-chan int

DeleteVerifySchemeWithCallback invokes the dypnsapi.DeleteVerifyScheme API asynchronously

func (*Client) DeleteVerifySchemeWithChan

func (client *Client) DeleteVerifySchemeWithChan(request *DeleteVerifySchemeRequest) (<-chan *DeleteVerifySchemeResponse, <-chan error)

DeleteVerifySchemeWithChan invokes the dypnsapi.DeleteVerifyScheme API asynchronously

func (*Client) DescribeVerifyScheme

func (client *Client) DescribeVerifyScheme(request *DescribeVerifySchemeRequest) (response *DescribeVerifySchemeResponse, err error)

DescribeVerifyScheme invokes the dypnsapi.DescribeVerifyScheme API synchronously

func (*Client) DescribeVerifySchemeWithCallback

func (client *Client) DescribeVerifySchemeWithCallback(request *DescribeVerifySchemeRequest, callback func(response *DescribeVerifySchemeResponse, err error)) <-chan int

DescribeVerifySchemeWithCallback invokes the dypnsapi.DescribeVerifyScheme API asynchronously

func (*Client) DescribeVerifySchemeWithChan

func (client *Client) DescribeVerifySchemeWithChan(request *DescribeVerifySchemeRequest) (<-chan *DescribeVerifySchemeResponse, <-chan error)

DescribeVerifySchemeWithChan invokes the dypnsapi.DescribeVerifyScheme API asynchronously

func (*Client) GetAuthToken added in v1.61.262

func (client *Client) GetAuthToken(request *GetAuthTokenRequest) (response *GetAuthTokenResponse, err error)

GetAuthToken invokes the dypnsapi.GetAuthToken API synchronously

func (*Client) GetAuthTokenWithCallback added in v1.61.262

func (client *Client) GetAuthTokenWithCallback(request *GetAuthTokenRequest, callback func(response *GetAuthTokenResponse, err error)) <-chan int

GetAuthTokenWithCallback invokes the dypnsapi.GetAuthToken API asynchronously

func (*Client) GetAuthTokenWithChan added in v1.61.262

func (client *Client) GetAuthTokenWithChan(request *GetAuthTokenRequest) (<-chan *GetAuthTokenResponse, <-chan error)

GetAuthTokenWithChan invokes the dypnsapi.GetAuthToken API asynchronously

func (*Client) GetAuthorizationUrl added in v1.61.1266

func (client *Client) GetAuthorizationUrl(request *GetAuthorizationUrlRequest) (response *GetAuthorizationUrlResponse, err error)

GetAuthorizationUrl invokes the dypnsapi.GetAuthorizationUrl API synchronously

func (*Client) GetAuthorizationUrlWithCallback added in v1.61.1266

func (client *Client) GetAuthorizationUrlWithCallback(request *GetAuthorizationUrlRequest, callback func(response *GetAuthorizationUrlResponse, err error)) <-chan int

GetAuthorizationUrlWithCallback invokes the dypnsapi.GetAuthorizationUrl API asynchronously

func (*Client) GetAuthorizationUrlWithChan added in v1.61.1266

func (client *Client) GetAuthorizationUrlWithChan(request *GetAuthorizationUrlRequest) (<-chan *GetAuthorizationUrlResponse, <-chan error)

GetAuthorizationUrlWithChan invokes the dypnsapi.GetAuthorizationUrl API asynchronously

func (*Client) GetCertifyResult added in v1.61.1266

func (client *Client) GetCertifyResult(request *GetCertifyResultRequest) (response *GetCertifyResultResponse, err error)

GetCertifyResult invokes the dypnsapi.GetCertifyResult API synchronously

func (*Client) GetCertifyResultWithCallback added in v1.61.1266

func (client *Client) GetCertifyResultWithCallback(request *GetCertifyResultRequest, callback func(response *GetCertifyResultResponse, err error)) <-chan int

GetCertifyResultWithCallback invokes the dypnsapi.GetCertifyResult API asynchronously

func (*Client) GetCertifyResultWithChan added in v1.61.1266

func (client *Client) GetCertifyResultWithChan(request *GetCertifyResultRequest) (<-chan *GetCertifyResultResponse, <-chan error)

GetCertifyResultWithChan invokes the dypnsapi.GetCertifyResult API asynchronously

func (*Client) GetMobile

func (client *Client) GetMobile(request *GetMobileRequest) (response *GetMobileResponse, err error)

GetMobile invokes the dypnsapi.GetMobile API synchronously

func (*Client) GetMobileWithCallback

func (client *Client) GetMobileWithCallback(request *GetMobileRequest, callback func(response *GetMobileResponse, err error)) <-chan int

GetMobileWithCallback invokes the dypnsapi.GetMobile API asynchronously

func (*Client) GetMobileWithChan

func (client *Client) GetMobileWithChan(request *GetMobileRequest) (<-chan *GetMobileResponse, <-chan error)

GetMobileWithChan invokes the dypnsapi.GetMobile API asynchronously

func (*Client) GetSmsAuthTokens added in v1.61.1266

func (client *Client) GetSmsAuthTokens(request *GetSmsAuthTokensRequest) (response *GetSmsAuthTokensResponse, err error)

GetSmsAuthTokens invokes the dypnsapi.GetSmsAuthTokens API synchronously

func (*Client) GetSmsAuthTokensWithCallback added in v1.61.1266

func (client *Client) GetSmsAuthTokensWithCallback(request *GetSmsAuthTokensRequest, callback func(response *GetSmsAuthTokensResponse, err error)) <-chan int

GetSmsAuthTokensWithCallback invokes the dypnsapi.GetSmsAuthTokens API asynchronously

func (*Client) GetSmsAuthTokensWithChan added in v1.61.1266

func (client *Client) GetSmsAuthTokensWithChan(request *GetSmsAuthTokensRequest) (<-chan *GetSmsAuthTokensResponse, <-chan error)

GetSmsAuthTokensWithChan invokes the dypnsapi.GetSmsAuthTokens API asynchronously

func (*Client) QueryGateVerifyBillingPublic added in v1.61.1428

func (client *Client) QueryGateVerifyBillingPublic(request *QueryGateVerifyBillingPublicRequest) (response *QueryGateVerifyBillingPublicResponse, err error)

QueryGateVerifyBillingPublic invokes the dypnsapi.QueryGateVerifyBillingPublic API synchronously

func (*Client) QueryGateVerifyBillingPublicWithCallback added in v1.61.1428

func (client *Client) QueryGateVerifyBillingPublicWithCallback(request *QueryGateVerifyBillingPublicRequest, callback func(response *QueryGateVerifyBillingPublicResponse, err error)) <-chan int

QueryGateVerifyBillingPublicWithCallback invokes the dypnsapi.QueryGateVerifyBillingPublic API asynchronously

func (*Client) QueryGateVerifyBillingPublicWithChan added in v1.61.1428

func (client *Client) QueryGateVerifyBillingPublicWithChan(request *QueryGateVerifyBillingPublicRequest) (<-chan *QueryGateVerifyBillingPublicResponse, <-chan error)

QueryGateVerifyBillingPublicWithChan invokes the dypnsapi.QueryGateVerifyBillingPublic API asynchronously

func (*Client) QueryGateVerifyStatisticPublic added in v1.61.1428

func (client *Client) QueryGateVerifyStatisticPublic(request *QueryGateVerifyStatisticPublicRequest) (response *QueryGateVerifyStatisticPublicResponse, err error)

QueryGateVerifyStatisticPublic invokes the dypnsapi.QueryGateVerifyStatisticPublic API synchronously

func (*Client) QueryGateVerifyStatisticPublicWithCallback added in v1.61.1428

func (client *Client) QueryGateVerifyStatisticPublicWithCallback(request *QueryGateVerifyStatisticPublicRequest, callback func(response *QueryGateVerifyStatisticPublicResponse, err error)) <-chan int

QueryGateVerifyStatisticPublicWithCallback invokes the dypnsapi.QueryGateVerifyStatisticPublic API asynchronously

func (*Client) QueryGateVerifyStatisticPublicWithChan added in v1.61.1428

func (client *Client) QueryGateVerifyStatisticPublicWithChan(request *QueryGateVerifyStatisticPublicRequest) (<-chan *QueryGateVerifyStatisticPublicResponse, <-chan error)

QueryGateVerifyStatisticPublicWithChan invokes the dypnsapi.QueryGateVerifyStatisticPublic API asynchronously

func (*Client) VerifyMobile

func (client *Client) VerifyMobile(request *VerifyMobileRequest) (response *VerifyMobileResponse, err error)

VerifyMobile invokes the dypnsapi.VerifyMobile API synchronously

func (*Client) VerifyMobileWithCallback

func (client *Client) VerifyMobileWithCallback(request *VerifyMobileRequest, callback func(response *VerifyMobileResponse, err error)) <-chan int

VerifyMobileWithCallback invokes the dypnsapi.VerifyMobile API asynchronously

func (*Client) VerifyMobileWithChan

func (client *Client) VerifyMobileWithChan(request *VerifyMobileRequest) (<-chan *VerifyMobileResponse, <-chan error)

VerifyMobileWithChan invokes the dypnsapi.VerifyMobile API asynchronously

func (*Client) VerifyPhoneWithToken added in v1.61.262

func (client *Client) VerifyPhoneWithToken(request *VerifyPhoneWithTokenRequest) (response *VerifyPhoneWithTokenResponse, err error)

VerifyPhoneWithToken invokes the dypnsapi.VerifyPhoneWithToken API synchronously

func (*Client) VerifyPhoneWithTokenWithCallback added in v1.61.262

func (client *Client) VerifyPhoneWithTokenWithCallback(request *VerifyPhoneWithTokenRequest, callback func(response *VerifyPhoneWithTokenResponse, err error)) <-chan int

VerifyPhoneWithTokenWithCallback invokes the dypnsapi.VerifyPhoneWithToken API asynchronously

func (*Client) VerifyPhoneWithTokenWithChan added in v1.61.262

func (client *Client) VerifyPhoneWithTokenWithChan(request *VerifyPhoneWithTokenRequest) (<-chan *VerifyPhoneWithTokenResponse, <-chan error)

VerifyPhoneWithTokenWithChan invokes the dypnsapi.VerifyPhoneWithToken API asynchronously

func (*Client) VerifySmsCode added in v1.61.1266

func (client *Client) VerifySmsCode(request *VerifySmsCodeRequest) (response *VerifySmsCodeResponse, err error)

VerifySmsCode invokes the dypnsapi.VerifySmsCode API synchronously

func (*Client) VerifySmsCodeWithCallback added in v1.61.1266

func (client *Client) VerifySmsCodeWithCallback(request *VerifySmsCodeRequest, callback func(response *VerifySmsCodeResponse, err error)) <-chan int

VerifySmsCodeWithCallback invokes the dypnsapi.VerifySmsCode API asynchronously

func (*Client) VerifySmsCodeWithChan added in v1.61.1266

func (client *Client) VerifySmsCodeWithChan(request *VerifySmsCodeRequest) (<-chan *VerifySmsCodeResponse, <-chan error)

VerifySmsCodeWithChan invokes the dypnsapi.VerifySmsCode API asynchronously

type CreateVerifySchemeRequest

type CreateVerifySchemeRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	BundleId             string           `position:"Query" name:"BundleId"`
	AppName              string           `position:"Query" name:"AppName"`
	PackSign             string           `position:"Query" name:"PackSign"`
	PackName             string           `position:"Query" name:"PackName"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OsType               string           `position:"Query" name:"OsType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SchemeName           string           `position:"Query" name:"SchemeName"`
}

CreateVerifySchemeRequest is the request struct for api CreateVerifyScheme

func CreateCreateVerifySchemeRequest

func CreateCreateVerifySchemeRequest() (request *CreateVerifySchemeRequest)

CreateCreateVerifySchemeRequest creates a request to invoke CreateVerifyScheme API

type CreateVerifySchemeResponse

type CreateVerifySchemeResponse struct {
	*responses.BaseResponse
	Code                string              `json:"Code" xml:"Code"`
	Message             string              `json:"Message" xml:"Message"`
	RequestId           string              `json:"RequestId" xml:"RequestId"`
	GateVerifySchemeDTO GateVerifySchemeDTO `json:"GateVerifySchemeDTO" xml:"GateVerifySchemeDTO"`
}

CreateVerifySchemeResponse is the response struct for api CreateVerifyScheme

func CreateCreateVerifySchemeResponse

func CreateCreateVerifySchemeResponse() (response *CreateVerifySchemeResponse)

CreateCreateVerifySchemeResponse creates a response to parse from CreateVerifyScheme response

type Data added in v1.61.1266

type Data struct {
	AmountSum          string                 `json:"AmountSum" xml:"AmountSum"`
	BizToken           string                 `json:"BizToken" xml:"BizToken"`
	TotalSuccess       int64                  `json:"TotalSuccess" xml:"TotalSuccess"`
	StsAccessKeyId     string                 `json:"StsAccessKeyId" xml:"StsAccessKeyId"`
	TotalUnknown       int64                  `json:"TotalUnknown" xml:"TotalUnknown"`
	ExpireTime         int64                  `json:"ExpireTime" xml:"ExpireTime"`
	AuthorizationUrl   string                 `json:"AuthorizationUrl" xml:"AuthorizationUrl"`
	StsAccessKeySecret string                 `json:"StsAccessKeySecret" xml:"StsAccessKeySecret"`
	StsToken           string                 `json:"StsToken" xml:"StsToken"`
	TotalFail          int64                  `json:"TotalFail" xml:"TotalFail"`
	Total              int64                  `json:"Total" xml:"Total"`
	DayStatistic       []DayStatisticItem     `json:"DayStatistic" xml:"DayStatistic"`
	SceneBillingList   []SceneBillingListItem `json:"SceneBillingList" xml:"SceneBillingList"`
}

Data is a nested struct in dypnsapi response

type DataInGetCertifyResult added in v1.61.1266

type DataInGetCertifyResult struct {
	DataItem []DataItem `json:"Data" xml:"Data"`
}

DataInGetCertifyResult is a nested struct in dypnsapi response

type DataItem added in v1.61.1266

type DataItem struct {
	MaterialInfo string `json:"MaterialInfo" xml:"MaterialInfo"`
	IdentityInfo string `json:"IdentityInfo" xml:"IdentityInfo"`
	VerifyDesc   string `json:"VerifyDesc" xml:"VerifyDesc"`
	VerifyResult string `json:"VerifyResult" xml:"VerifyResult"`
	DeviceToken  string `json:"DeviceToken" xml:"DeviceToken"`
}

DataItem is a nested struct in dypnsapi response

type DayStatistic added in v1.61.1428

type DayStatistic struct {
	DayStatisticItem []DayStatisticItem `json:"DayStatistic" xml:"DayStatistic"`
}

DayStatistic is a nested struct in dypnsapi response

type DayStatisticItem added in v1.61.1428

type DayStatisticItem struct {
	StatisticDateStr string `json:"StatisticDateStr" xml:"StatisticDateStr"`
	TotalSuccess     int64  `json:"TotalSuccess" xml:"TotalSuccess"`
	TotalFail        int64  `json:"TotalFail" xml:"TotalFail"`
	TotalUnknown     int64  `json:"TotalUnknown" xml:"TotalUnknown"`
}

DayStatisticItem is a nested struct in dypnsapi response

type DeleteVerifySchemeRequest

type DeleteVerifySchemeRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SchemeCode           string           `position:"Query" name:"SchemeCode"`
	CustomerId           requests.Integer `position:"Query" name:"CustomerId"`
}

DeleteVerifySchemeRequest is the request struct for api DeleteVerifyScheme

func CreateDeleteVerifySchemeRequest

func CreateDeleteVerifySchemeRequest() (request *DeleteVerifySchemeRequest)

CreateDeleteVerifySchemeRequest creates a request to invoke DeleteVerifyScheme API

type DeleteVerifySchemeResponse

type DeleteVerifySchemeResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Result    bool   `json:"Result" xml:"Result"`
}

DeleteVerifySchemeResponse is the response struct for api DeleteVerifyScheme

func CreateDeleteVerifySchemeResponse

func CreateDeleteVerifySchemeResponse() (response *DeleteVerifySchemeResponse)

CreateDeleteVerifySchemeResponse creates a response to parse from DeleteVerifyScheme response

type DescribeVerifySchemeRequest

type DescribeVerifySchemeRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SchemeCode           string           `position:"Query" name:"SchemeCode"`
	CustomerId           requests.Integer `position:"Query" name:"CustomerId"`
}

DescribeVerifySchemeRequest is the request struct for api DescribeVerifyScheme

func CreateDescribeVerifySchemeRequest

func CreateDescribeVerifySchemeRequest() (request *DescribeVerifySchemeRequest)

CreateDescribeVerifySchemeRequest creates a request to invoke DescribeVerifyScheme API

type DescribeVerifySchemeResponse

type DescribeVerifySchemeResponse struct {
	*responses.BaseResponse
	Code                 string               `json:"Code" xml:"Code"`
	Message              string               `json:"Message" xml:"Message"`
	RequestId            string               `json:"RequestId" xml:"RequestId"`
	SchemeQueryResultDTO SchemeQueryResultDTO `json:"SchemeQueryResultDTO" xml:"SchemeQueryResultDTO"`
}

DescribeVerifySchemeResponse is the response struct for api DescribeVerifyScheme

func CreateDescribeVerifySchemeResponse

func CreateDescribeVerifySchemeResponse() (response *DescribeVerifySchemeResponse)

CreateDescribeVerifySchemeResponse creates a response to parse from DescribeVerifyScheme response

type GateVerify added in v1.61.262

type GateVerify struct {
	VerifyResult string `json:"VerifyResult" xml:"VerifyResult"`
	VerifyId     string `json:"VerifyId" xml:"VerifyId"`
}

GateVerify is a nested struct in dypnsapi response

type GateVerifyResultDTO

type GateVerifyResultDTO struct {
	VerifyId     string `json:"VerifyId" xml:"VerifyId"`
	VerifyResult string `json:"VerifyResult" xml:"VerifyResult"`
}

GateVerifyResultDTO is a nested struct in dypnsapi response

type GateVerifySchemeDTO

type GateVerifySchemeDTO struct {
	SchemeCode string `json:"SchemeCode" xml:"SchemeCode"`
}

GateVerifySchemeDTO is a nested struct in dypnsapi response

type GetAuthTokenRequest added in v1.61.262

type GetAuthTokenRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	Origin               string           `position:"Query" name:"Origin"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	Url                  string           `position:"Query" name:"Url"`
}

GetAuthTokenRequest is the request struct for api GetAuthToken

func CreateGetAuthTokenRequest added in v1.61.262

func CreateGetAuthTokenRequest() (request *GetAuthTokenRequest)

CreateGetAuthTokenRequest creates a request to invoke GetAuthToken API

type GetAuthTokenResponse added in v1.61.262

type GetAuthTokenResponse struct {
	*responses.BaseResponse
	RequestId string    `json:"RequestId" xml:"RequestId"`
	Code      string    `json:"Code" xml:"Code"`
	Message   string    `json:"Message" xml:"Message"`
	TokenInfo TokenInfo `json:"TokenInfo" xml:"TokenInfo"`
}

GetAuthTokenResponse is the response struct for api GetAuthToken

func CreateGetAuthTokenResponse added in v1.61.262

func CreateGetAuthTokenResponse() (response *GetAuthTokenResponse)

CreateGetAuthTokenResponse creates a response to parse from GetAuthToken response

type GetAuthorizationUrlRequest added in v1.61.1266

type GetAuthorizationUrlRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	SchemeId             requests.Integer `position:"Query" name:"SchemeId"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	PhoneNo              string           `position:"Query" name:"PhoneNo"`
	EndDate              string           `position:"Query" name:"EndDate"`
}

GetAuthorizationUrlRequest is the request struct for api GetAuthorizationUrl

func CreateGetAuthorizationUrlRequest added in v1.61.1266

func CreateGetAuthorizationUrlRequest() (request *GetAuthorizationUrlRequest)

CreateGetAuthorizationUrlRequest creates a request to invoke GetAuthorizationUrl API

type GetAuthorizationUrlResponse added in v1.61.1266

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

GetAuthorizationUrlResponse is the response struct for api GetAuthorizationUrl

func CreateGetAuthorizationUrlResponse added in v1.61.1266

func CreateGetAuthorizationUrlResponse() (response *GetAuthorizationUrlResponse)

CreateGetAuthorizationUrlResponse creates a response to parse from GetAuthorizationUrl response

type GetCertifyResultRequest added in v1.61.1266

type GetCertifyResultRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ProductCode          string           `position:"Query" name:"ProductCode"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	Token                string           `position:"Query" name:"Token"`
}

GetCertifyResultRequest is the request struct for api GetCertifyResult

func CreateGetCertifyResultRequest added in v1.61.1266

func CreateGetCertifyResultRequest() (request *GetCertifyResultRequest)

CreateGetCertifyResultRequest creates a request to invoke GetCertifyResult API

type GetCertifyResultResponse added in v1.61.1266

type GetCertifyResultResponse struct {
	*responses.BaseResponse
	Code      string     `json:"Code" xml:"Code"`
	Message   string     `json:"Message" xml:"Message"`
	RequestId string     `json:"RequestId" xml:"RequestId"`
	Data      []DataItem `json:"Data" xml:"Data"`
}

GetCertifyResultResponse is the response struct for api GetCertifyResult

func CreateGetCertifyResultResponse added in v1.61.1266

func CreateGetCertifyResultResponse() (response *GetCertifyResultResponse)

CreateGetCertifyResultResponse creates a response to parse from GetCertifyResult response

type GetMobileRequest

type GetMobileRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	AccessToken          string           `position:"Query" name:"AccessToken"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	OutId                string           `position:"Query" name:"OutId"`
}

GetMobileRequest is the request struct for api GetMobile

func CreateGetMobileRequest

func CreateGetMobileRequest() (request *GetMobileRequest)

CreateGetMobileRequest creates a request to invoke GetMobile API

type GetMobileResponse

type GetMobileResponse struct {
	*responses.BaseResponse
	RequestId          string             `json:"RequestId" xml:"RequestId"`
	Code               string             `json:"Code" xml:"Code"`
	Message            string             `json:"Message" xml:"Message"`
	GetMobileResultDTO GetMobileResultDTO `json:"GetMobileResultDTO" xml:"GetMobileResultDTO"`
}

GetMobileResponse is the response struct for api GetMobile

func CreateGetMobileResponse

func CreateGetMobileResponse() (response *GetMobileResponse)

CreateGetMobileResponse creates a response to parse from GetMobile response

type GetMobileResultDTO

type GetMobileResultDTO struct {
	Mobile string `json:"Mobile" xml:"Mobile"`
}

GetMobileResultDTO is a nested struct in dypnsapi response

type GetSmsAuthTokensRequest added in v1.61.1266

type GetSmsAuthTokensRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ProductCode          string           `position:"Query" name:"ProductCode"`
	BundleId             string           `position:"Query" name:"BundleId"`
	SignName             string           `position:"Query" name:"SignName"`
	SceneCode            string           `position:"Query" name:"SceneCode"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	SmsCodeExpire        requests.Integer `position:"Query" name:"SmsCodeExpire"`
	PackageName          string           `position:"Query" name:"PackageName"`
	OsType               string           `position:"Query" name:"OsType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SmsTemplateCode      string           `position:"Query" name:"SmsTemplateCode"`
	Expire               requests.Integer `position:"Query" name:"Expire"`
}

GetSmsAuthTokensRequest is the request struct for api GetSmsAuthTokens

func CreateGetSmsAuthTokensRequest added in v1.61.1266

func CreateGetSmsAuthTokensRequest() (request *GetSmsAuthTokensRequest)

CreateGetSmsAuthTokensRequest creates a request to invoke GetSmsAuthTokens API

type GetSmsAuthTokensResponse added in v1.61.1266

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

GetSmsAuthTokensResponse is the response struct for api GetSmsAuthTokens

func CreateGetSmsAuthTokensResponse added in v1.61.1266

func CreateGetSmsAuthTokensResponse() (response *GetSmsAuthTokensResponse)

CreateGetSmsAuthTokensResponse creates a response to parse from GetSmsAuthTokens response

type QueryGateVerifyBillingPublicRequest added in v1.61.1428

type QueryGateVerifyBillingPublicRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	AuthenticationType   requests.Integer `position:"Query" name:"AuthenticationType"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ProdCode             string           `position:"Query" name:"ProdCode"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	Month                string           `position:"Query" name:"Month"`
}

QueryGateVerifyBillingPublicRequest is the request struct for api QueryGateVerifyBillingPublic

func CreateQueryGateVerifyBillingPublicRequest added in v1.61.1428

func CreateQueryGateVerifyBillingPublicRequest() (request *QueryGateVerifyBillingPublicRequest)

CreateQueryGateVerifyBillingPublicRequest creates a request to invoke QueryGateVerifyBillingPublic API

type QueryGateVerifyBillingPublicResponse added in v1.61.1428

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

QueryGateVerifyBillingPublicResponse is the response struct for api QueryGateVerifyBillingPublic

func CreateQueryGateVerifyBillingPublicResponse added in v1.61.1428

func CreateQueryGateVerifyBillingPublicResponse() (response *QueryGateVerifyBillingPublicResponse)

CreateQueryGateVerifyBillingPublicResponse creates a response to parse from QueryGateVerifyBillingPublic response

type QueryGateVerifyStatisticPublicRequest added in v1.61.1428

type QueryGateVerifyStatisticPublicRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	AuthenticationType   requests.Integer `position:"Query" name:"AuthenticationType"`
	StartDate            string           `position:"Query" name:"StartDate"`
	SceneCode            string           `position:"Query" name:"SceneCode"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	ProdCode             string           `position:"Query" name:"ProdCode"`
	OsType               string           `position:"Query" name:"OsType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	EndDate              string           `position:"Query" name:"EndDate"`
}

QueryGateVerifyStatisticPublicRequest is the request struct for api QueryGateVerifyStatisticPublic

func CreateQueryGateVerifyStatisticPublicRequest added in v1.61.1428

func CreateQueryGateVerifyStatisticPublicRequest() (request *QueryGateVerifyStatisticPublicRequest)

CreateQueryGateVerifyStatisticPublicRequest creates a request to invoke QueryGateVerifyStatisticPublic API

type QueryGateVerifyStatisticPublicResponse added in v1.61.1428

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

QueryGateVerifyStatisticPublicResponse is the response struct for api QueryGateVerifyStatisticPublic

func CreateQueryGateVerifyStatisticPublicResponse added in v1.61.1428

func CreateQueryGateVerifyStatisticPublicResponse() (response *QueryGateVerifyStatisticPublicResponse)

CreateQueryGateVerifyStatisticPublicResponse creates a response to parse from QueryGateVerifyStatisticPublic response

type SceneBillingList added in v1.61.1428

type SceneBillingList struct {
	SceneBillingListItem []SceneBillingListItem `json:"SceneBillingList" xml:"SceneBillingList"`
}

SceneBillingList is a nested struct in dypnsapi response

type SceneBillingListItem added in v1.61.1428

type SceneBillingListItem struct {
	Add         string `json:"Add" xml:"Add"`
	SinglePrice string `json:"SinglePrice" xml:"SinglePrice"`
	Amount      string `json:"Amount" xml:"Amount"`
	ItemName    string `json:"ItemName" xml:"ItemName"`
	SceneCode   string `json:"SceneCode" xml:"SceneCode"`
	AppName     string `json:"AppName" xml:"AppName"`
	SceneName   string `json:"SceneName" xml:"SceneName"`
}

SceneBillingListItem is a nested struct in dypnsapi response

type SchemeQueryResultDTO

type SchemeQueryResultDTO struct {
	AppEncryptInfo string `json:"AppEncryptInfo" xml:"AppEncryptInfo"`
}

SchemeQueryResultDTO is a nested struct in dypnsapi response

type TokenInfo added in v1.61.262

type TokenInfo struct {
	JwtToken    string `json:"JwtToken" xml:"JwtToken"`
	AccessToken string `json:"AccessToken" xml:"AccessToken"`
}

TokenInfo is a nested struct in dypnsapi response

type VerifyMobileRequest

type VerifyMobileRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	PhoneNumber          string           `position:"Query" name:"PhoneNumber"`
	AccessCode           string           `position:"Query" name:"AccessCode"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	OutId                string           `position:"Query" name:"OutId"`
}

VerifyMobileRequest is the request struct for api VerifyMobile

func CreateVerifyMobileRequest

func CreateVerifyMobileRequest() (request *VerifyMobileRequest)

CreateVerifyMobileRequest creates a request to invoke VerifyMobile API

type VerifyMobileResponse

type VerifyMobileResponse struct {
	*responses.BaseResponse
	RequestId           string              `json:"RequestId" xml:"RequestId"`
	Code                string              `json:"Code" xml:"Code"`
	Message             string              `json:"Message" xml:"Message"`
	GateVerifyResultDTO GateVerifyResultDTO `json:"GateVerifyResultDTO" xml:"GateVerifyResultDTO"`
}

VerifyMobileResponse is the response struct for api VerifyMobile

func CreateVerifyMobileResponse

func CreateVerifyMobileResponse() (response *VerifyMobileResponse)

CreateVerifyMobileResponse creates a response to parse from VerifyMobile response

type VerifyPhoneWithTokenRequest added in v1.61.262

type VerifyPhoneWithTokenRequest 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"`
	SpToken              string           `position:"Query" name:"SpToken"`
}

VerifyPhoneWithTokenRequest is the request struct for api VerifyPhoneWithToken

func CreateVerifyPhoneWithTokenRequest added in v1.61.262

func CreateVerifyPhoneWithTokenRequest() (request *VerifyPhoneWithTokenRequest)

CreateVerifyPhoneWithTokenRequest creates a request to invoke VerifyPhoneWithToken API

type VerifyPhoneWithTokenResponse added in v1.61.262

type VerifyPhoneWithTokenResponse struct {
	*responses.BaseResponse
	Code       string     `json:"Code" xml:"Code"`
	Message    string     `json:"Message" xml:"Message"`
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	GateVerify GateVerify `json:"GateVerify" xml:"GateVerify"`
}

VerifyPhoneWithTokenResponse is the response struct for api VerifyPhoneWithToken

func CreateVerifyPhoneWithTokenResponse added in v1.61.262

func CreateVerifyPhoneWithTokenResponse() (response *VerifyPhoneWithTokenResponse)

CreateVerifyPhoneWithTokenResponse creates a response to parse from VerifyPhoneWithToken response

type VerifySmsCodeRequest added in v1.61.1266

type VerifySmsCodeRequest struct {
	*requests.RpcRequest
	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
	ProductCode          string           `position:"Query" name:"ProductCode"`
	SmsToken             string           `position:"Query" name:"SmsToken"`
	PhoneNumber          string           `position:"Query" name:"PhoneNumber"`
	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	SmsCode              string           `position:"Query" name:"SmsCode"`
}

VerifySmsCodeRequest is the request struct for api VerifySmsCode

func CreateVerifySmsCodeRequest added in v1.61.1266

func CreateVerifySmsCodeRequest() (request *VerifySmsCodeRequest)

CreateVerifySmsCodeRequest creates a request to invoke VerifySmsCode API

type VerifySmsCodeResponse added in v1.61.1266

type VerifySmsCodeResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      bool   `json:"Data" xml:"Data"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

VerifySmsCodeResponse is the response struct for api VerifySmsCode

func CreateVerifySmsCodeResponse added in v1.61.1266

func CreateVerifySmsCodeResponse() (response *VerifySmsCodeResponse)

CreateVerifySmsCodeResponse creates a response to parse from VerifySmsCode response

Jump to

Keyboard shortcuts

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