v20190822

package
v3.0.233+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2019-08-22"

Variables

This section is empty.

Functions

This section is empty.

Types

type CHPRequest

type CHPRequest struct {

	// 电话号码
	PhoneNumber *string `json:"PhoneNumber,omitempty" name:"PhoneNumber"`
}

type CHPResponse

type CHPResponse struct {

	// 标记类型
	//  0: 无标记
	//  50:骚扰电话
	//  51:房产中介
	//  52:保险理财
	//  53:广告推销
	//  54:诈骗电话
	//  55:快递电话
	//  56:出租车专车
	TagType *int64 `json:"TagType,omitempty" name:"TagType"`

	// 标记次数
	TagCount *int64 `json:"TagCount,omitempty" name:"TagCount"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateSmpnEpa

func (c *Client) CreateSmpnEpa(request *CreateSmpnEpaRequest) (response *CreateSmpnEpaResponse, err error)

企业号码认证

func (*Client) DescribeSmpnChp

func (c *Client) DescribeSmpnChp(request *DescribeSmpnChpRequest) (response *DescribeSmpnChpResponse, err error)

查询号码的标记和标记次数

func (*Client) DescribeSmpnFnr

func (c *Client) DescribeSmpnFnr(request *DescribeSmpnFnrRequest) (response *DescribeSmpnFnrResponse, err error)

虚假号码识别

func (*Client) DescribeSmpnMhm

func (c *Client) DescribeSmpnMhm(request *DescribeSmpnMhmRequest) (response *DescribeSmpnMhmResponse, err error)

号码营销监控

func (*Client) DescribeSmpnMrl

func (c *Client) DescribeSmpnMrl(request *DescribeSmpnMrlRequest) (response *DescribeSmpnMrlResponse, err error)

查询号码恶意标记等级

type CreateSmpnEpaRequest

type CreateSmpnEpaRequest struct {
	*tchttp.BaseRequest

	// 企业号码认证请求内容
	RequestData *EPARequest `json:"RequestData,omitempty" name:"RequestData"`

	// 用于计费的资源ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`
}

func NewCreateSmpnEpaRequest

func NewCreateSmpnEpaRequest() (request *CreateSmpnEpaRequest)

func (*CreateSmpnEpaRequest) FromJsonString

func (r *CreateSmpnEpaRequest) FromJsonString(s string) error

func (*CreateSmpnEpaRequest) ToJsonString

func (r *CreateSmpnEpaRequest) ToJsonString() string

type CreateSmpnEpaResponse

type CreateSmpnEpaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 业号码认证回应内容
		ResponseData *EPAResponse `json:"ResponseData,omitempty" name:"ResponseData"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSmpnEpaResponse

func NewCreateSmpnEpaResponse() (response *CreateSmpnEpaResponse)

func (*CreateSmpnEpaResponse) FromJsonString

func (r *CreateSmpnEpaResponse) FromJsonString(s string) error

func (*CreateSmpnEpaResponse) ToJsonString

func (r *CreateSmpnEpaResponse) ToJsonString() string

type DescribeSmpnChpRequest

type DescribeSmpnChpRequest struct {
	*tchttp.BaseRequest

	// 客户用于计费的资源Id
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// 终端骚扰保护请求
	RequestData *CHPRequest `json:"RequestData,omitempty" name:"RequestData"`
}

func NewDescribeSmpnChpRequest

func NewDescribeSmpnChpRequest() (request *DescribeSmpnChpRequest)

func (*DescribeSmpnChpRequest) FromJsonString

func (r *DescribeSmpnChpRequest) FromJsonString(s string) error

func (*DescribeSmpnChpRequest) ToJsonString

func (r *DescribeSmpnChpRequest) ToJsonString() string

type DescribeSmpnChpResponse

type DescribeSmpnChpResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 终端骚扰保护回应
		ResponseData *CHPResponse `json:"ResponseData,omitempty" name:"ResponseData"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSmpnChpResponse

func NewDescribeSmpnChpResponse() (response *DescribeSmpnChpResponse)

func (*DescribeSmpnChpResponse) FromJsonString

func (r *DescribeSmpnChpResponse) FromJsonString(s string) error

func (*DescribeSmpnChpResponse) ToJsonString

func (r *DescribeSmpnChpResponse) ToJsonString() string

type DescribeSmpnFnrRequest

type DescribeSmpnFnrRequest struct {
	*tchttp.BaseRequest

	// 虚假号码识别请求内容
	RequestData *FNRRequest `json:"RequestData,omitempty" name:"RequestData"`

	// 用于计费的资源ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`
}

func NewDescribeSmpnFnrRequest

func NewDescribeSmpnFnrRequest() (request *DescribeSmpnFnrRequest)

func (*DescribeSmpnFnrRequest) FromJsonString

func (r *DescribeSmpnFnrRequest) FromJsonString(s string) error

func (*DescribeSmpnFnrRequest) ToJsonString

func (r *DescribeSmpnFnrRequest) ToJsonString() string

type DescribeSmpnFnrResponse

type DescribeSmpnFnrResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 虚假号码识别回应内容
		ResponseData *FNRResponse `json:"ResponseData,omitempty" name:"ResponseData"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSmpnFnrResponse

func NewDescribeSmpnFnrResponse() (response *DescribeSmpnFnrResponse)

func (*DescribeSmpnFnrResponse) FromJsonString

func (r *DescribeSmpnFnrResponse) FromJsonString(s string) error

func (*DescribeSmpnFnrResponse) ToJsonString

func (r *DescribeSmpnFnrResponse) ToJsonString() string

type DescribeSmpnMhmRequest

type DescribeSmpnMhmRequest struct {
	*tchttp.BaseRequest

	// 号码营销监控请求内容
	RequestData *MHMRequest `json:"RequestData,omitempty" name:"RequestData"`

	// 用于计费的资源ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`
}

func NewDescribeSmpnMhmRequest

func NewDescribeSmpnMhmRequest() (request *DescribeSmpnMhmRequest)

func (*DescribeSmpnMhmRequest) FromJsonString

func (r *DescribeSmpnMhmRequest) FromJsonString(s string) error

func (*DescribeSmpnMhmRequest) ToJsonString

func (r *DescribeSmpnMhmRequest) ToJsonString() string

type DescribeSmpnMhmResponse

type DescribeSmpnMhmResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 号码营销监控回应内容
		ResponseData *MHMResponse `json:"ResponseData,omitempty" name:"ResponseData"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSmpnMhmResponse

func NewDescribeSmpnMhmResponse() (response *DescribeSmpnMhmResponse)

func (*DescribeSmpnMhmResponse) FromJsonString

func (r *DescribeSmpnMhmResponse) FromJsonString(s string) error

func (*DescribeSmpnMhmResponse) ToJsonString

func (r *DescribeSmpnMhmResponse) ToJsonString() string

type DescribeSmpnMrlRequest

type DescribeSmpnMrlRequest struct {
	*tchttp.BaseRequest

	// 恶意标记等级请求内容
	RequestData *MRLRequest `json:"RequestData,omitempty" name:"RequestData"`

	// 用于计费的资源ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`
}

func NewDescribeSmpnMrlRequest

func NewDescribeSmpnMrlRequest() (request *DescribeSmpnMrlRequest)

func (*DescribeSmpnMrlRequest) FromJsonString

func (r *DescribeSmpnMrlRequest) FromJsonString(s string) error

func (*DescribeSmpnMrlRequest) ToJsonString

func (r *DescribeSmpnMrlRequest) ToJsonString() string

type DescribeSmpnMrlResponse

type DescribeSmpnMrlResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 恶意标记等级回应内容
		ResponseData *MRLResponse `json:"ResponseData,omitempty" name:"ResponseData"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSmpnMrlResponse

func NewDescribeSmpnMrlResponse() (response *DescribeSmpnMrlResponse)

func (*DescribeSmpnMrlResponse) FromJsonString

func (r *DescribeSmpnMrlResponse) FromJsonString(s string) error

func (*DescribeSmpnMrlResponse) ToJsonString

func (r *DescribeSmpnMrlResponse) ToJsonString() string

type EPARequest

type EPARequest struct {

	// 电话号码
	PhoneNumber *string `json:"PhoneNumber,omitempty" name:"PhoneNumber"`

	// 黄页名称
	Name *string `json:"Name,omitempty" name:"Name"`
}

type EPAResponse

type EPAResponse struct {

	// 0成功 其他失败
	RetCode *int64 `json:"RetCode,omitempty" name:"RetCode"`
}

type FNRRequest

type FNRRequest struct {

	// 电话号码
	PhoneNumber *string `json:"PhoneNumber,omitempty" name:"PhoneNumber"`
}

type FNRResponse

type FNRResponse struct {

	// 虚假号码描述
	Status *int64 `json:"Status,omitempty" name:"Status"`
}

type MHMRequest

type MHMRequest struct {

	// 电话号码
	PhoneNumber *string `json:"PhoneNumber,omitempty" name:"PhoneNumber"`
}

type MHMResponse

type MHMResponse struct {

	// 标记类型
	//  0: 无标记
	//  50:骚扰电话
	//  51:房产中介
	//  52:保险理财
	//  53:广告推销
	//  54:诈骗电话
	//  55:快递电话
	//  56:出租车专车
	TagType *int64 `json:"TagType,omitempty" name:"TagType"`

	// 标记次数
	TagCount *int64 `json:"TagCount,omitempty" name:"TagCount"`
}

type MRLRequest

type MRLRequest struct {

	// 电话号码
	PhoneNumber *string `json:"PhoneNumber,omitempty" name:"PhoneNumber"`
}

type MRLResponse

type MRLResponse struct {

	// 骚扰电话恶意标记等级
	DisturbLevel *int64 `json:"DisturbLevel,omitempty" name:"DisturbLevel"`

	// 房产中介恶意标记等级
	HouseAgentLevel *int64 `json:"HouseAgentLevel,omitempty" name:"HouseAgentLevel"`

	// 保险理财恶意标记等级
	InsuranceLevel *int64 `json:"InsuranceLevel,omitempty" name:"InsuranceLevel"`

	// 广告推销恶意标记等级
	SalesLevel *int64 `json:"SalesLevel,omitempty" name:"SalesLevel"`

	// 诈骗电话恶意标记等级
	CheatLevel *int64 `json:"CheatLevel,omitempty" name:"CheatLevel"`
}

Jump to

Keyboard shortcuts

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