sas_api

package
v1.62.209 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoriesInDescribeThreatDistribute

type CategoriesInDescribeThreatDistribute struct {
	CategoriesItem []string `json:"CategoriesItem" xml:"CategoriesItem"`
}

CategoriesInDescribeThreatDistribute is a nested struct in sas_api response

type CategoriesInDescribeThreatTypeLines

type CategoriesInDescribeThreatTypeLines struct {
	CategoriesItem []string `json:"CategoriesItem" xml:"CategoriesItem"`
}

CategoriesInDescribeThreatTypeLines is a nested struct in sas_api response

type CategoriesInDescribeTotalAndRateLine

type CategoriesInDescribeTotalAndRateLine struct {
	CategoriesItem []string `json:"CategoriesItem" xml:"CategoriesItem"`
}

CategoriesInDescribeTotalAndRateLine is a nested struct in sas_api response

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://help.aliyun.com/document_detail/66217.html

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://help.aliyun.com/document_detail/66223.html

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 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://help.aliyun.com/document_detail/66222.html

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 attention: rsa key pair auth is only Japan regions available

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://help.aliyun.com/document_detail/66222.html

func (*Client) DescribeAccountProfileByKey

func (client *Client) DescribeAccountProfileByKey(request *DescribeAccountProfileByKeyRequest) (response *DescribeAccountProfileByKeyResponse, err error)

DescribeAccountProfileByKey invokes the sas_api.DescribeAccountProfileByKey API synchronously api document: https://help.aliyun.com/api/sas-api/describeaccountprofilebykey.html

func (*Client) DescribeAccountProfileByKeyWithCallback

func (client *Client) DescribeAccountProfileByKeyWithCallback(request *DescribeAccountProfileByKeyRequest, callback func(response *DescribeAccountProfileByKeyResponse, err error)) <-chan int

DescribeAccountProfileByKeyWithCallback invokes the sas_api.DescribeAccountProfileByKey API asynchronously api document: https://help.aliyun.com/api/sas-api/describeaccountprofilebykey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeAccountProfileByKeyWithChan

func (client *Client) DescribeAccountProfileByKeyWithChan(request *DescribeAccountProfileByKeyRequest) (<-chan *DescribeAccountProfileByKeyResponse, <-chan error)

DescribeAccountProfileByKeyWithChan invokes the sas_api.DescribeAccountProfileByKey API asynchronously api document: https://help.aliyun.com/api/sas-api/describeaccountprofilebykey.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeAccountProfileByKeyWord

func (client *Client) DescribeAccountProfileByKeyWord(request *DescribeAccountProfileByKeyWordRequest) (response *DescribeAccountProfileByKeyWordResponse, err error)

DescribeAccountProfileByKeyWord invokes the sas_api.DescribeAccountProfileByKeyWord API synchronously api document: https://help.aliyun.com/api/sas-api/describeaccountprofilebykeyword.html

func (*Client) DescribeAccountProfileByKeyWordWithCallback

func (client *Client) DescribeAccountProfileByKeyWordWithCallback(request *DescribeAccountProfileByKeyWordRequest, callback func(response *DescribeAccountProfileByKeyWordResponse, err error)) <-chan int

DescribeAccountProfileByKeyWordWithCallback invokes the sas_api.DescribeAccountProfileByKeyWord API asynchronously api document: https://help.aliyun.com/api/sas-api/describeaccountprofilebykeyword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeAccountProfileByKeyWordWithChan

func (client *Client) DescribeAccountProfileByKeyWordWithChan(request *DescribeAccountProfileByKeyWordRequest) (<-chan *DescribeAccountProfileByKeyWordResponse, <-chan error)

DescribeAccountProfileByKeyWordWithChan invokes the sas_api.DescribeAccountProfileByKeyWord API asynchronously api document: https://help.aliyun.com/api/sas-api/describeaccountprofilebykeyword.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeHitRateColumn

func (client *Client) DescribeHitRateColumn(request *DescribeHitRateColumnRequest) (response *DescribeHitRateColumnResponse, err error)

DescribeHitRateColumn invokes the sas_api.DescribeHitRateColumn API synchronously api document: https://help.aliyun.com/api/sas-api/describehitratecolumn.html

func (*Client) DescribeHitRateColumnWithCallback

func (client *Client) DescribeHitRateColumnWithCallback(request *DescribeHitRateColumnRequest, callback func(response *DescribeHitRateColumnResponse, err error)) <-chan int

DescribeHitRateColumnWithCallback invokes the sas_api.DescribeHitRateColumn API asynchronously api document: https://help.aliyun.com/api/sas-api/describehitratecolumn.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeHitRateColumnWithChan

func (client *Client) DescribeHitRateColumnWithChan(request *DescribeHitRateColumnRequest) (<-chan *DescribeHitRateColumnResponse, <-chan error)

DescribeHitRateColumnWithChan invokes the sas_api.DescribeHitRateColumn API asynchronously api document: https://help.aliyun.com/api/sas-api/describehitratecolumn.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeHitRatePie

func (client *Client) DescribeHitRatePie(request *DescribeHitRatePieRequest) (response *DescribeHitRatePieResponse, err error)

DescribeHitRatePie invokes the sas_api.DescribeHitRatePie API synchronously api document: https://help.aliyun.com/api/sas-api/describehitratepie.html

func (*Client) DescribeHitRatePieWithCallback

func (client *Client) DescribeHitRatePieWithCallback(request *DescribeHitRatePieRequest, callback func(response *DescribeHitRatePieResponse, err error)) <-chan int

DescribeHitRatePieWithCallback invokes the sas_api.DescribeHitRatePie API asynchronously api document: https://help.aliyun.com/api/sas-api/describehitratepie.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeHitRatePieWithChan

func (client *Client) DescribeHitRatePieWithChan(request *DescribeHitRatePieRequest) (<-chan *DescribeHitRatePieResponse, <-chan error)

DescribeHitRatePieWithChan invokes the sas_api.DescribeHitRatePie API asynchronously api document: https://help.aliyun.com/api/sas-api/describehitratepie.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribePerDateData

func (client *Client) DescribePerDateData(request *DescribePerDateDataRequest) (response *DescribePerDateDataResponse, err error)

DescribePerDateData invokes the sas_api.DescribePerDateData API synchronously api document: https://help.aliyun.com/api/sas-api/describeperdatedata.html

func (*Client) DescribePerDateDataWithCallback

func (client *Client) DescribePerDateDataWithCallback(request *DescribePerDateDataRequest, callback func(response *DescribePerDateDataResponse, err error)) <-chan int

DescribePerDateDataWithCallback invokes the sas_api.DescribePerDateData API asynchronously api document: https://help.aliyun.com/api/sas-api/describeperdatedata.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribePerDateDataWithChan

func (client *Client) DescribePerDateDataWithChan(request *DescribePerDateDataRequest) (<-chan *DescribePerDateDataResponse, <-chan error)

DescribePerDateDataWithChan invokes the sas_api.DescribePerDateData API asynchronously api document: https://help.aliyun.com/api/sas-api/describeperdatedata.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeThreatDistribute

func (client *Client) DescribeThreatDistribute(request *DescribeThreatDistributeRequest) (response *DescribeThreatDistributeResponse, err error)

DescribeThreatDistribute invokes the sas_api.DescribeThreatDistribute API synchronously api document: https://help.aliyun.com/api/sas-api/describethreatdistribute.html

func (*Client) DescribeThreatDistributeWithCallback

func (client *Client) DescribeThreatDistributeWithCallback(request *DescribeThreatDistributeRequest, callback func(response *DescribeThreatDistributeResponse, err error)) <-chan int

DescribeThreatDistributeWithCallback invokes the sas_api.DescribeThreatDistribute API asynchronously api document: https://help.aliyun.com/api/sas-api/describethreatdistribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeThreatDistributeWithChan

func (client *Client) DescribeThreatDistributeWithChan(request *DescribeThreatDistributeRequest) (<-chan *DescribeThreatDistributeResponse, <-chan error)

DescribeThreatDistributeWithChan invokes the sas_api.DescribeThreatDistribute API asynchronously api document: https://help.aliyun.com/api/sas-api/describethreatdistribute.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeThreatTypeLines

func (client *Client) DescribeThreatTypeLines(request *DescribeThreatTypeLinesRequest) (response *DescribeThreatTypeLinesResponse, err error)

DescribeThreatTypeLines invokes the sas_api.DescribeThreatTypeLines API synchronously api document: https://help.aliyun.com/api/sas-api/describethreattypelines.html

func (*Client) DescribeThreatTypeLinesWithCallback

func (client *Client) DescribeThreatTypeLinesWithCallback(request *DescribeThreatTypeLinesRequest, callback func(response *DescribeThreatTypeLinesResponse, err error)) <-chan int

DescribeThreatTypeLinesWithCallback invokes the sas_api.DescribeThreatTypeLines API asynchronously api document: https://help.aliyun.com/api/sas-api/describethreattypelines.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeThreatTypeLinesWithChan

func (client *Client) DescribeThreatTypeLinesWithChan(request *DescribeThreatTypeLinesRequest) (<-chan *DescribeThreatTypeLinesResponse, <-chan error)

DescribeThreatTypeLinesWithChan invokes the sas_api.DescribeThreatTypeLines API asynchronously api document: https://help.aliyun.com/api/sas-api/describethreattypelines.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeTotalAndRateLine

func (client *Client) DescribeTotalAndRateLine(request *DescribeTotalAndRateLineRequest) (response *DescribeTotalAndRateLineResponse, err error)

DescribeTotalAndRateLine invokes the sas_api.DescribeTotalAndRateLine API synchronously api document: https://help.aliyun.com/api/sas-api/describetotalandrateline.html

func (*Client) DescribeTotalAndRateLineWithCallback

func (client *Client) DescribeTotalAndRateLineWithCallback(request *DescribeTotalAndRateLineRequest, callback func(response *DescribeTotalAndRateLineResponse, err error)) <-chan int

DescribeTotalAndRateLineWithCallback invokes the sas_api.DescribeTotalAndRateLine API asynchronously api document: https://help.aliyun.com/api/sas-api/describetotalandrateline.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DescribeTotalAndRateLineWithChan

func (client *Client) DescribeTotalAndRateLineWithChan(request *DescribeTotalAndRateLineRequest) (<-chan *DescribeTotalAndRateLineResponse, <-chan error)

DescribeTotalAndRateLineWithChan invokes the sas_api.DescribeTotalAndRateLine API asynchronously api document: https://help.aliyun.com/api/sas-api/describetotalandrateline.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetAccountProfile

func (client *Client) GetAccountProfile(request *GetAccountProfileRequest) (response *GetAccountProfileResponse, err error)

GetAccountProfile invokes the sas_api.GetAccountProfile API synchronously api document: https://help.aliyun.com/api/sas-api/getaccountprofile.html

func (*Client) GetAccountProfileWithCallback

func (client *Client) GetAccountProfileWithCallback(request *GetAccountProfileRequest, callback func(response *GetAccountProfileResponse, err error)) <-chan int

GetAccountProfileWithCallback invokes the sas_api.GetAccountProfile API asynchronously api document: https://help.aliyun.com/api/sas-api/getaccountprofile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetAccountProfileWithChan

func (client *Client) GetAccountProfileWithChan(request *GetAccountProfileRequest) (<-chan *GetAccountProfileResponse, <-chan error)

GetAccountProfileWithChan invokes the sas_api.GetAccountProfile API asynchronously api document: https://help.aliyun.com/api/sas-api/getaccountprofile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetInstanceCount

func (client *Client) GetInstanceCount(request *GetInstanceCountRequest) (response *GetInstanceCountResponse, err error)

GetInstanceCount invokes the sas_api.GetInstanceCount API synchronously api document: https://help.aliyun.com/api/sas-api/getinstancecount.html

func (*Client) GetInstanceCountWithCallback

func (client *Client) GetInstanceCountWithCallback(request *GetInstanceCountRequest, callback func(response *GetInstanceCountResponse, err error)) <-chan int

GetInstanceCountWithCallback invokes the sas_api.GetInstanceCount API asynchronously api document: https://help.aliyun.com/api/sas-api/getinstancecount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetInstanceCountWithChan

func (client *Client) GetInstanceCountWithChan(request *GetInstanceCountRequest) (<-chan *GetInstanceCountResponse, <-chan error)

GetInstanceCountWithChan invokes the sas_api.GetInstanceCount API asynchronously api document: https://help.aliyun.com/api/sas-api/getinstancecount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetIpProfile

func (client *Client) GetIpProfile(request *GetIpProfileRequest) (response *GetIpProfileResponse, err error)

GetIpProfile invokes the sas_api.GetIpProfile API synchronously api document: https://help.aliyun.com/api/sas-api/getipprofile.html

func (*Client) GetIpProfileWithCallback

func (client *Client) GetIpProfileWithCallback(request *GetIpProfileRequest, callback func(response *GetIpProfileResponse, err error)) <-chan int

GetIpProfileWithCallback invokes the sas_api.GetIpProfile API asynchronously api document: https://help.aliyun.com/api/sas-api/getipprofile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetIpProfileWithChan

func (client *Client) GetIpProfileWithChan(request *GetIpProfileRequest) (<-chan *GetIpProfileResponse, <-chan error)

GetIpProfileWithChan invokes the sas_api.GetIpProfile API asynchronously api document: https://help.aliyun.com/api/sas-api/getipprofile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetPhoneProfile

func (client *Client) GetPhoneProfile(request *GetPhoneProfileRequest) (response *GetPhoneProfileResponse, err error)

GetPhoneProfile invokes the sas_api.GetPhoneProfile API synchronously api document: https://help.aliyun.com/api/sas-api/getphoneprofile.html

func (*Client) GetPhoneProfileWithCallback

func (client *Client) GetPhoneProfileWithCallback(request *GetPhoneProfileRequest, callback func(response *GetPhoneProfileResponse, err error)) <-chan int

GetPhoneProfileWithCallback invokes the sas_api.GetPhoneProfile API asynchronously api document: https://help.aliyun.com/api/sas-api/getphoneprofile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetPhoneProfileWithChan

func (client *Client) GetPhoneProfileWithChan(request *GetPhoneProfileRequest) (<-chan *GetPhoneProfileResponse, <-chan error)

GetPhoneProfileWithChan invokes the sas_api.GetPhoneProfile API asynchronously api document: https://help.aliyun.com/api/sas-api/getphoneprofile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type Data

type Data struct {
	IpInfo    string `json:"IpInfo" xml:"IpInfo"`
	Info      string `json:"Info" xml:"Info"`
	Ip        string `json:"Ip" xml:"Ip"`
	Phone     string `json:"Phone" xml:"Phone"`
	PhoneInfo string `json:"PhoneInfo" xml:"PhoneInfo"`
}

Data is a nested struct in sas_api response

type DataView

type DataView struct {
	IsNetAttack30d      int    `json:"IsNetAttack30d" xml:"IsNetAttack30d"`
	IsNetAttack7d       int    `json:"IsNetAttack7d" xml:"IsNetAttack7d"`
	IsCheatFlow1d       int    `json:"IsCheatFlow1d" xml:"IsCheatFlow1d"`
	IsProxy1d           int    `json:"IsProxy1d" xml:"IsProxy1d"`
	IsBotnet1d          int    `json:"IsBotnet1d" xml:"IsBotnet1d"`
	IsBlackCampaign1d   int    `json:"IsBlackCampaign1d" xml:"IsBlackCampaign1d"`
	IsOpenCommonPort1d  int    `json:"IsOpenCommonPort1d" xml:"IsOpenCommonPort1d"`
	IsC21d              int    `json:"IsC21d" xml:"IsC21d"`
	IsC230d             int    `json:"IsC230d" xml:"IsC230d"`
	IsOpenCommonPort30d int    `json:"IsOpenCommonPort30d" xml:"IsOpenCommonPort30d"`
	IsHiJack7d          int    `json:"IsHiJack7d" xml:"IsHiJack7d"`
	CallTimes           int    `json:"CallTimes" xml:"CallTimes"`
	DataTime            string `json:"DataTime" xml:"DataTime"`
	IsNetAttack1d       int    `json:"IsNetAttack1d" xml:"IsNetAttack1d"`
	IsBlackCampaign30d  int    `json:"IsBlackCampaign30d" xml:"IsBlackCampaign30d"`
	TotalHit            int    `json:"TotalHit" xml:"TotalHit"`
	IsCheatFlow30d      int    `json:"IsCheatFlow30d" xml:"IsCheatFlow30d"`
	IsCheatFlow7d       int    `json:"IsCheatFlow7d" xml:"IsCheatFlow7d"`
	IsProxy7d           int    `json:"IsProxy7d" xml:"IsProxy7d"`
	IsBotnet7d          int    `json:"IsBotnet7d" xml:"IsBotnet7d"`
	IsBlackCampaign7d   int    `json:"IsBlackCampaign7d" xml:"IsBlackCampaign7d"`
	IsProxy30d          int    `json:"IsProxy30d" xml:"IsProxy30d"`
	IsBotnet30d         int    `json:"IsBotnet30d" xml:"IsBotnet30d"`
	IsOpenCommonPort7d  int    `json:"IsOpenCommonPort7d" xml:"IsOpenCommonPort7d"`
	HitRate             int    `json:"HitRate" xml:"HitRate"`
	IsGreyPhone         int    `json:"IsGreyPhone" xml:"IsGreyPhone"`
	IsC27d              int    `json:"IsC27d" xml:"IsC27d"`
	IsHiJack1d          int    `json:"IsHiJack1d" xml:"IsHiJack1d"`
	IsVirtualOperator   int    `json:"IsVirtualOperator" xml:"IsVirtualOperator"`
	IsBlackPhone        int    `json:"IsBlackPhone" xml:"IsBlackPhone"`
	IsHiJack30d         int    `json:"IsHiJack30d" xml:"IsHiJack30d"`
}

DataView is a nested struct in sas_api response

type DataViewInDescribePerDateData

type DataViewInDescribePerDateData struct {
	DataView []DataView `json:"dataView" xml:"dataView"`
}

DataViewInDescribePerDateData is a nested struct in sas_api response

type DescribeAccountProfileByKeyRequest

type DescribeAccountProfileByKeyRequest struct {
	*requests.RpcRequest
	SourceIp string `position:"Query" name:"SourceIp"`
	Keyword  string `position:"Query" name:"Keyword"`
}

DescribeAccountProfileByKeyRequest is the request struct for api DescribeAccountProfileByKey

func CreateDescribeAccountProfileByKeyRequest

func CreateDescribeAccountProfileByKeyRequest() (request *DescribeAccountProfileByKeyRequest)

CreateDescribeAccountProfileByKeyRequest creates a request to invoke DescribeAccountProfileByKey API

type DescribeAccountProfileByKeyResponse

type DescribeAccountProfileByKeyResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	Ip           string `json:"Ip" xml:"Ip"`
	IpInfo       string `json:"IpInfo" xml:"IpInfo"`
	Phone        string `json:"Phone" xml:"Phone"`
	PhoneInfo    string `json:"PhoneInfo" xml:"PhoneInfo"`
	KeywordCount int    `json:"KeywordCount" xml:"KeywordCount"`
	KeywordLimit int    `json:"KeywordLimit" xml:"KeywordLimit"`
}

DescribeAccountProfileByKeyResponse is the response struct for api DescribeAccountProfileByKey

func CreateDescribeAccountProfileByKeyResponse

func CreateDescribeAccountProfileByKeyResponse() (response *DescribeAccountProfileByKeyResponse)

CreateDescribeAccountProfileByKeyResponse creates a response to parse from DescribeAccountProfileByKey response

type DescribeAccountProfileByKeyWordRequest

type DescribeAccountProfileByKeyWordRequest struct {
	*requests.RpcRequest
	SourceIp string `position:"Query" name:"SourceIp"`
	Keyword  string `position:"Query" name:"Keyword"`
}

DescribeAccountProfileByKeyWordRequest is the request struct for api DescribeAccountProfileByKeyWord

func CreateDescribeAccountProfileByKeyWordRequest

func CreateDescribeAccountProfileByKeyWordRequest() (request *DescribeAccountProfileByKeyWordRequest)

CreateDescribeAccountProfileByKeyWordRequest creates a request to invoke DescribeAccountProfileByKeyWord API

type DescribeAccountProfileByKeyWordResponse

type DescribeAccountProfileByKeyWordResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Ip        string `json:"Ip" xml:"Ip"`
	IpInfo    string `json:"IpInfo" xml:"IpInfo"`
	Phone     string `json:"Phone" xml:"Phone"`
	PhoneInfo string `json:"PhoneInfo" xml:"PhoneInfo"`
}

DescribeAccountProfileByKeyWordResponse is the response struct for api DescribeAccountProfileByKeyWord

func CreateDescribeAccountProfileByKeyWordResponse

func CreateDescribeAccountProfileByKeyWordResponse() (response *DescribeAccountProfileByKeyWordResponse)

CreateDescribeAccountProfileByKeyWordResponse creates a response to parse from DescribeAccountProfileByKeyWord response

type DescribeHitRateColumnRequest

type DescribeHitRateColumnRequest struct {
	*requests.RpcRequest
	EndDate   string           `position:"Query" name:"EndDate"`
	SourceIp  string           `position:"Query" name:"SourceIp"`
	HitDay    requests.Integer `position:"Query" name:"HitDay"`
	StartDate string           `position:"Query" name:"StartDate"`
	ApiType   requests.Integer `position:"Query" name:"ApiType"`
}

DescribeHitRateColumnRequest is the request struct for api DescribeHitRateColumn

func CreateDescribeHitRateColumnRequest

func CreateDescribeHitRateColumnRequest() (request *DescribeHitRateColumnRequest)

CreateDescribeHitRateColumnRequest creates a request to invoke DescribeHitRateColumn API

type DescribeHitRateColumnResponse

type DescribeHitRateColumnResponse struct {
	*responses.BaseResponse
	RequestId string                        `json:"RequestId" xml:"RequestId"`
	TimeScope TimeScope                     `json:"TimeScope" xml:"TimeScope"`
	Items     []ItemInDescribeHitRateColumn `json:"Items" xml:"Items"`
}

DescribeHitRateColumnResponse is the response struct for api DescribeHitRateColumn

func CreateDescribeHitRateColumnResponse

func CreateDescribeHitRateColumnResponse() (response *DescribeHitRateColumnResponse)

CreateDescribeHitRateColumnResponse creates a response to parse from DescribeHitRateColumn response

type DescribeHitRatePieRequest

type DescribeHitRatePieRequest struct {
	*requests.RpcRequest
	EndDate   string           `position:"Query" name:"EndDate"`
	SourceIp  string           `position:"Query" name:"SourceIp"`
	StartDate string           `position:"Query" name:"StartDate"`
	HitDay    requests.Integer `position:"Query" name:"HitDay"`
	ApiType   requests.Integer `position:"Query" name:"ApiType"`
}

DescribeHitRatePieRequest is the request struct for api DescribeHitRatePie

func CreateDescribeHitRatePieRequest

func CreateDescribeHitRatePieRequest() (request *DescribeHitRatePieRequest)

CreateDescribeHitRatePieRequest creates a request to invoke DescribeHitRatePie API

type DescribeHitRatePieResponse

type DescribeHitRatePieResponse struct {
	*responses.BaseResponse
	RequestId string                     `json:"RequestId" xml:"RequestId"`
	Items     []ItemInDescribeHitRatePie `json:"Items" xml:"Items"`
}

DescribeHitRatePieResponse is the response struct for api DescribeHitRatePie

func CreateDescribeHitRatePieResponse

func CreateDescribeHitRatePieResponse() (response *DescribeHitRatePieResponse)

CreateDescribeHitRatePieResponse creates a response to parse from DescribeHitRatePie response

type DescribePerDateDataRequest

type DescribePerDateDataRequest struct {
	*requests.RpcRequest
	SourceIp string           `position:"Query" name:"SourceIp"`
	ApiType  requests.Integer `position:"Query" name:"ApiType"`
}

DescribePerDateDataRequest is the request struct for api DescribePerDateData

func CreateDescribePerDateDataRequest

func CreateDescribePerDateDataRequest() (request *DescribePerDateDataRequest)

CreateDescribePerDateDataRequest creates a request to invoke DescribePerDateData API

type DescribePerDateDataResponse

type DescribePerDateDataResponse struct {
	*responses.BaseResponse
	RequestId string     `json:"RequestId" xml:"RequestId"`
	DataView  []DataView `json:"DataView" xml:"DataView"`
}

DescribePerDateDataResponse is the response struct for api DescribePerDateData

func CreateDescribePerDateDataResponse

func CreateDescribePerDateDataResponse() (response *DescribePerDateDataResponse)

CreateDescribePerDateDataResponse creates a response to parse from DescribePerDateData response

type DescribeThreatDistributeRequest

type DescribeThreatDistributeRequest struct {
	*requests.RpcRequest
	EndDate   string           `position:"Query" name:"EndDate"`
	SourceIp  string           `position:"Query" name:"SourceIp"`
	HitDay    requests.Integer `position:"Query" name:"HitDay"`
	StartDate string           `position:"Query" name:"StartDate"`
	ApiType   requests.Integer `position:"Query" name:"ApiType"`
}

DescribeThreatDistributeRequest is the request struct for api DescribeThreatDistribute

func CreateDescribeThreatDistributeRequest

func CreateDescribeThreatDistributeRequest() (request *DescribeThreatDistributeRequest)

CreateDescribeThreatDistributeRequest creates a request to invoke DescribeThreatDistribute API

type DescribeThreatDistributeResponse

type DescribeThreatDistributeResponse struct {
	*responses.BaseResponse
	RequestId  string   `json:"RequestId" xml:"RequestId"`
	Categories []string `json:"Categories" xml:"Categories"`
	Items      []Item   `json:"Items" xml:"Items"`
}

DescribeThreatDistributeResponse is the response struct for api DescribeThreatDistribute

func CreateDescribeThreatDistributeResponse

func CreateDescribeThreatDistributeResponse() (response *DescribeThreatDistributeResponse)

CreateDescribeThreatDistributeResponse creates a response to parse from DescribeThreatDistribute response

type DescribeThreatTypeLinesRequest

type DescribeThreatTypeLinesRequest struct {
	*requests.RpcRequest
	SourceIp string           `position:"Query" name:"SourceIp"`
	ApiType  requests.Integer `position:"Query" name:"ApiType"`
}

DescribeThreatTypeLinesRequest is the request struct for api DescribeThreatTypeLines

func CreateDescribeThreatTypeLinesRequest

func CreateDescribeThreatTypeLinesRequest() (request *DescribeThreatTypeLinesRequest)

CreateDescribeThreatTypeLinesRequest creates a request to invoke DescribeThreatTypeLines API

type DescribeThreatTypeLinesResponse

type DescribeThreatTypeLinesResponse struct {
	*responses.BaseResponse
	RequestId  string   `json:"RequestId" xml:"RequestId"`
	Categories []string `json:"Categories" xml:"Categories"`
	Items      []Item   `json:"Items" xml:"Items"`
}

DescribeThreatTypeLinesResponse is the response struct for api DescribeThreatTypeLines

func CreateDescribeThreatTypeLinesResponse

func CreateDescribeThreatTypeLinesResponse() (response *DescribeThreatTypeLinesResponse)

CreateDescribeThreatTypeLinesResponse creates a response to parse from DescribeThreatTypeLines response

type DescribeTotalAndRateLineRequest

type DescribeTotalAndRateLineRequest struct {
	*requests.RpcRequest
	SourceIp string           `position:"Query" name:"SourceIp"`
	ApiType  requests.Integer `position:"Query" name:"ApiType"`
}

DescribeTotalAndRateLineRequest is the request struct for api DescribeTotalAndRateLine

func CreateDescribeTotalAndRateLineRequest

func CreateDescribeTotalAndRateLineRequest() (request *DescribeTotalAndRateLineRequest)

CreateDescribeTotalAndRateLineRequest creates a request to invoke DescribeTotalAndRateLine API

type DescribeTotalAndRateLineResponse

type DescribeTotalAndRateLineResponse struct {
	*responses.BaseResponse
	RequestId  string   `json:"RequestId" xml:"RequestId"`
	Categories []string `json:"Categories" xml:"Categories"`
	Items      []Item   `json:"Items" xml:"Items"`
}

DescribeTotalAndRateLineResponse is the response struct for api DescribeTotalAndRateLine

func CreateDescribeTotalAndRateLineResponse

func CreateDescribeTotalAndRateLineResponse() (response *DescribeTotalAndRateLineResponse)

CreateDescribeTotalAndRateLineResponse creates a response to parse from DescribeTotalAndRateLine response

type GetAccountProfileRequest

type GetAccountProfileRequest struct {
	*requests.RpcRequest
	DeviceIdMd5     string           `position:"Query" name:"DeviceIdMd5"`
	Carrier         requests.Integer `position:"Query" name:"Carrier"`
	Os              string           `position:"Query" name:"Os"`
	Phone           string           `position:"Query" name:"Phone"`
	RequestUrl      string           `position:"Query" name:"RequestUrl"`
	Ip              string           `position:"Query" name:"Ip"`
	UserAgent       string           `position:"Query" name:"UserAgent"`
	ConnectionType  requests.Integer `position:"Query" name:"ConnectionType"`
	SensType        requests.Integer `position:"Query" name:"SensType"`
	DeviceType      requests.Integer `position:"Query" name:"DeviceType"`
	AccessTimestamp requests.Integer `position:"Query" name:"AccessTimestamp"`
	BusinessType    requests.Integer `position:"Query" name:"BusinessType"`
}

GetAccountProfileRequest is the request struct for api GetAccountProfile

func CreateGetAccountProfileRequest

func CreateGetAccountProfileRequest() (request *GetAccountProfileRequest)

CreateGetAccountProfileRequest creates a request to invoke GetAccountProfile API

type GetAccountProfileResponse

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

GetAccountProfileResponse is the response struct for api GetAccountProfile

func CreateGetAccountProfileResponse

func CreateGetAccountProfileResponse() (response *GetAccountProfileResponse)

CreateGetAccountProfileResponse creates a response to parse from GetAccountProfile response

type GetInstanceCountRequest

type GetInstanceCountRequest struct {
	*requests.RpcRequest
	OwnerId requests.Integer `position:"Query" name:"OwnerId"`
}

GetInstanceCountRequest is the request struct for api GetInstanceCount

func CreateGetInstanceCountRequest

func CreateGetInstanceCountRequest() (request *GetInstanceCountRequest)

CreateGetInstanceCountRequest creates a request to invoke GetInstanceCount API

type GetInstanceCountResponse

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

GetInstanceCountResponse is the response struct for api GetInstanceCount

func CreateGetInstanceCountResponse

func CreateGetInstanceCountResponse() (response *GetInstanceCountResponse)

CreateGetInstanceCountResponse creates a response to parse from GetInstanceCount response

type GetIpProfileRequest

type GetIpProfileRequest struct {
	*requests.RpcRequest
	DeviceIdMd5    string           `position:"Query" name:"DeviceIdMd5"`
	Carrier        requests.Integer `position:"Query" name:"Carrier"`
	Os             string           `position:"Query" name:"Os"`
	RequestUrl     string           `position:"Query" name:"RequestUrl"`
	Ip             string           `position:"Query" name:"Ip"`
	UserAgent      string           `position:"Query" name:"UserAgent"`
	ConnectionType requests.Integer `position:"Query" name:"ConnectionType"`
	SensType       requests.Integer `position:"Query" name:"SensType"`
	DeviceType     requests.Integer `position:"Query" name:"DeviceType"`
	BusinessType   requests.Integer `position:"Query" name:"BusinessType"`
}

GetIpProfileRequest is the request struct for api GetIpProfile

func CreateGetIpProfileRequest

func CreateGetIpProfileRequest() (request *GetIpProfileRequest)

CreateGetIpProfileRequest creates a request to invoke GetIpProfile API

type GetIpProfileResponse

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

GetIpProfileResponse is the response struct for api GetIpProfile

func CreateGetIpProfileResponse

func CreateGetIpProfileResponse() (response *GetIpProfileResponse)

CreateGetIpProfileResponse creates a response to parse from GetIpProfile response

type GetPhoneProfileRequest

type GetPhoneProfileRequest struct {
	*requests.RpcRequest
	Phone        string           `position:"Query" name:"Phone"`
	SensType     requests.Integer `position:"Query" name:"SensType"`
	DataVersion  string           `position:"Query" name:"DataVersion"`
	BusinessType requests.Integer `position:"Query" name:"BusinessType"`
}

GetPhoneProfileRequest is the request struct for api GetPhoneProfile

func CreateGetPhoneProfileRequest

func CreateGetPhoneProfileRequest() (request *GetPhoneProfileRequest)

CreateGetPhoneProfileRequest creates a request to invoke GetPhoneProfile API

type GetPhoneProfileResponse

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

GetPhoneProfileResponse is the response struct for api GetPhoneProfile

func CreateGetPhoneProfileResponse

func CreateGetPhoneProfileResponse() (response *GetPhoneProfileResponse)

CreateGetPhoneProfileResponse creates a response to parse from GetPhoneProfile response

type Item

type Item struct {
	Name string  `json:"Name" xml:"Name"`
	Id   string  `json:"Id" xml:"Id"`
	Data float64 `json:"Data" xml:"Data"`
}

Item is a nested struct in sas_api response

type ItemInDescribeHitRateColumn

type ItemInDescribeHitRateColumn struct {
	Data int    `json:"Data" xml:"Data"`
	Id   string `json:"Id" xml:"Id"`
	Name string `json:"Name" xml:"Name"`
}

ItemInDescribeHitRateColumn is a nested struct in sas_api response

type ItemInDescribeHitRatePie

type ItemInDescribeHitRatePie struct {
	Data int    `json:"Data" xml:"Data"`
	Name string `json:"Name" xml:"Name"`
}

ItemInDescribeHitRatePie is a nested struct in sas_api response

type ItemsInDescribeHitRateColumn

type ItemsInDescribeHitRateColumn struct {
	Item []ItemInDescribeHitRateColumn `json:"Item" xml:"Item"`
}

ItemsInDescribeHitRateColumn is a nested struct in sas_api response

type ItemsInDescribeHitRatePie

type ItemsInDescribeHitRatePie struct {
	Item []ItemInDescribeHitRatePie `json:"Item" xml:"Item"`
}

ItemsInDescribeHitRatePie is a nested struct in sas_api response

type ItemsInDescribeThreatDistribute

type ItemsInDescribeThreatDistribute struct {
	Item []Item `json:"Item" xml:"Item"`
}

ItemsInDescribeThreatDistribute is a nested struct in sas_api response

type ItemsInDescribeThreatTypeLines

type ItemsInDescribeThreatTypeLines struct {
	Item []Item `json:"Item" xml:"Item"`
}

ItemsInDescribeThreatTypeLines is a nested struct in sas_api response

type ItemsInDescribeTotalAndRateLine

type ItemsInDescribeTotalAndRateLine struct {
	Item []Item `json:"Item" xml:"Item"`
}

ItemsInDescribeTotalAndRateLine is a nested struct in sas_api response

type TimeScope

type TimeScope struct {
	Interval int `json:"Interval" xml:"Interval"`
	Start    int `json:"Start" xml:"Start"`
}

TimeScope is a nested struct in sas_api response

Jump to

Keyboard shortcuts

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