linkface

package
v0.0.0-...-dd20015 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 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 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) CreateGroup

func (client *Client) CreateGroup(request *CreateGroupRequest) (response *CreateGroupResponse, err error)

CreateGroup invokes the linkface.CreateGroup API synchronously api document: https://help.aliyun.com/api/linkface/creategroup.html

func (*Client) CreateGroupWithCallback

func (client *Client) CreateGroupWithCallback(request *CreateGroupRequest, callback func(response *CreateGroupResponse, err error)) <-chan int

CreateGroupWithCallback invokes the linkface.CreateGroup API asynchronously api document: https://help.aliyun.com/api/linkface/creategroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateGroupWithChan

func (client *Client) CreateGroupWithChan(request *CreateGroupRequest) (<-chan *CreateGroupResponse, <-chan error)

CreateGroupWithChan invokes the linkface.CreateGroup API asynchronously api document: https://help.aliyun.com/api/linkface/creategroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFace

func (client *Client) DeleteFace(request *DeleteFaceRequest) (response *DeleteFaceResponse, err error)

DeleteFace invokes the linkface.DeleteFace API synchronously api document: https://help.aliyun.com/api/linkface/deleteface.html

func (*Client) DeleteFaceWithCallback

func (client *Client) DeleteFaceWithCallback(request *DeleteFaceRequest, callback func(response *DeleteFaceResponse, err error)) <-chan int

DeleteFaceWithCallback invokes the linkface.DeleteFace API asynchronously api document: https://help.aliyun.com/api/linkface/deleteface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFaceWithChan

func (client *Client) DeleteFaceWithChan(request *DeleteFaceRequest) (<-chan *DeleteFaceResponse, <-chan error)

DeleteFaceWithChan invokes the linkface.DeleteFace API asynchronously api document: https://help.aliyun.com/api/linkface/deleteface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteGroup

func (client *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)

DeleteGroup invokes the linkface.DeleteGroup API synchronously api document: https://help.aliyun.com/api/linkface/deletegroup.html

func (*Client) DeleteGroupWithCallback

func (client *Client) DeleteGroupWithCallback(request *DeleteGroupRequest, callback func(response *DeleteGroupResponse, err error)) <-chan int

DeleteGroupWithCallback invokes the linkface.DeleteGroup API asynchronously api document: https://help.aliyun.com/api/linkface/deletegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteGroupWithChan

func (client *Client) DeleteGroupWithChan(request *DeleteGroupRequest) (<-chan *DeleteGroupResponse, <-chan error)

DeleteGroupWithChan invokes the linkface.DeleteGroup API asynchronously api document: https://help.aliyun.com/api/linkface/deletegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) LinkFace

func (client *Client) LinkFace(request *LinkFaceRequest) (response *LinkFaceResponse, err error)

LinkFace invokes the linkface.LinkFace API synchronously api document: https://help.aliyun.com/api/linkface/linkface.html

func (*Client) LinkFaceWithCallback

func (client *Client) LinkFaceWithCallback(request *LinkFaceRequest, callback func(response *LinkFaceResponse, err error)) <-chan int

LinkFaceWithCallback invokes the linkface.LinkFace API asynchronously api document: https://help.aliyun.com/api/linkface/linkface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) LinkFaceWithChan

func (client *Client) LinkFaceWithChan(request *LinkFaceRequest) (<-chan *LinkFaceResponse, <-chan error)

LinkFaceWithChan invokes the linkface.LinkFace API asynchronously api document: https://help.aliyun.com/api/linkface/linkface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryAddUserInfo

func (client *Client) QueryAddUserInfo(request *QueryAddUserInfoRequest) (response *QueryAddUserInfoResponse, err error)

QueryAddUserInfo invokes the linkface.QueryAddUserInfo API synchronously api document: https://help.aliyun.com/api/linkface/queryadduserinfo.html

func (*Client) QueryAddUserInfoWithCallback

func (client *Client) QueryAddUserInfoWithCallback(request *QueryAddUserInfoRequest, callback func(response *QueryAddUserInfoResponse, err error)) <-chan int

QueryAddUserInfoWithCallback invokes the linkface.QueryAddUserInfo API asynchronously api document: https://help.aliyun.com/api/linkface/queryadduserinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryAddUserInfoWithChan

func (client *Client) QueryAddUserInfoWithChan(request *QueryAddUserInfoRequest) (<-chan *QueryAddUserInfoResponse, <-chan error)

QueryAddUserInfoWithChan invokes the linkface.QueryAddUserInfo API asynchronously api document: https://help.aliyun.com/api/linkface/queryadduserinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryAllGroups

func (client *Client) QueryAllGroups(request *QueryAllGroupsRequest) (response *QueryAllGroupsResponse, err error)

QueryAllGroups invokes the linkface.QueryAllGroups API synchronously api document: https://help.aliyun.com/api/linkface/queryallgroups.html

func (*Client) QueryAllGroupsWithCallback

func (client *Client) QueryAllGroupsWithCallback(request *QueryAllGroupsRequest, callback func(response *QueryAllGroupsResponse, err error)) <-chan int

QueryAllGroupsWithCallback invokes the linkface.QueryAllGroups API asynchronously api document: https://help.aliyun.com/api/linkface/queryallgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryAllGroupsWithChan

func (client *Client) QueryAllGroupsWithChan(request *QueryAllGroupsRequest) (<-chan *QueryAllGroupsResponse, <-chan error)

QueryAllGroupsWithChan invokes the linkface.QueryAllGroups API asynchronously api document: https://help.aliyun.com/api/linkface/queryallgroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryAuthentication

func (client *Client) QueryAuthentication(request *QueryAuthenticationRequest) (response *QueryAuthenticationResponse, err error)

QueryAuthentication invokes the linkface.QueryAuthentication API synchronously api document: https://help.aliyun.com/api/linkface/queryauthentication.html

func (*Client) QueryAuthenticationWithCallback

func (client *Client) QueryAuthenticationWithCallback(request *QueryAuthenticationRequest, callback func(response *QueryAuthenticationResponse, err error)) <-chan int

QueryAuthenticationWithCallback invokes the linkface.QueryAuthentication API asynchronously api document: https://help.aliyun.com/api/linkface/queryauthentication.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryAuthenticationWithChan

func (client *Client) QueryAuthenticationWithChan(request *QueryAuthenticationRequest) (<-chan *QueryAuthenticationResponse, <-chan error)

QueryAuthenticationWithChan invokes the linkface.QueryAuthentication API asynchronously api document: https://help.aliyun.com/api/linkface/queryauthentication.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryFace

func (client *Client) QueryFace(request *QueryFaceRequest) (response *QueryFaceResponse, err error)

QueryFace invokes the linkface.QueryFace API synchronously api document: https://help.aliyun.com/api/linkface/queryface.html

func (*Client) QueryFaceWithCallback

func (client *Client) QueryFaceWithCallback(request *QueryFaceRequest, callback func(response *QueryFaceResponse, err error)) <-chan int

QueryFaceWithCallback invokes the linkface.QueryFace API asynchronously api document: https://help.aliyun.com/api/linkface/queryface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryFaceWithChan

func (client *Client) QueryFaceWithChan(request *QueryFaceRequest) (<-chan *QueryFaceResponse, <-chan error)

QueryFaceWithChan invokes the linkface.QueryFace API asynchronously api document: https://help.aliyun.com/api/linkface/queryface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryGroupUsers

func (client *Client) QueryGroupUsers(request *QueryGroupUsersRequest) (response *QueryGroupUsersResponse, err error)

QueryGroupUsers invokes the linkface.QueryGroupUsers API synchronously api document: https://help.aliyun.com/api/linkface/querygroupusers.html

func (*Client) QueryGroupUsersWithCallback

func (client *Client) QueryGroupUsersWithCallback(request *QueryGroupUsersRequest, callback func(response *QueryGroupUsersResponse, err error)) <-chan int

QueryGroupUsersWithCallback invokes the linkface.QueryGroupUsers API asynchronously api document: https://help.aliyun.com/api/linkface/querygroupusers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryGroupUsersWithChan

func (client *Client) QueryGroupUsersWithChan(request *QueryGroupUsersRequest) (<-chan *QueryGroupUsersResponse, <-chan error)

QueryGroupUsersWithChan invokes the linkface.QueryGroupUsers API asynchronously api document: https://help.aliyun.com/api/linkface/querygroupusers.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryLicenses

func (client *Client) QueryLicenses(request *QueryLicensesRequest) (response *QueryLicensesResponse, err error)

QueryLicenses invokes the linkface.QueryLicenses API synchronously api document: https://help.aliyun.com/api/linkface/querylicenses.html

func (*Client) QueryLicensesWithCallback

func (client *Client) QueryLicensesWithCallback(request *QueryLicensesRequest, callback func(response *QueryLicensesResponse, err error)) <-chan int

QueryLicensesWithCallback invokes the linkface.QueryLicenses API asynchronously api document: https://help.aliyun.com/api/linkface/querylicenses.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QueryLicensesWithChan

func (client *Client) QueryLicensesWithChan(request *QueryLicensesRequest) (<-chan *QueryLicensesResponse, <-chan error)

QueryLicensesWithChan invokes the linkface.QueryLicenses API asynchronously api document: https://help.aliyun.com/api/linkface/querylicenses.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QuerySyncPicSchedule

func (client *Client) QuerySyncPicSchedule(request *QuerySyncPicScheduleRequest) (response *QuerySyncPicScheduleResponse, err error)

QuerySyncPicSchedule invokes the linkface.QuerySyncPicSchedule API synchronously api document: https://help.aliyun.com/api/linkface/querysyncpicschedule.html

func (*Client) QuerySyncPicScheduleWithCallback

func (client *Client) QuerySyncPicScheduleWithCallback(request *QuerySyncPicScheduleRequest, callback func(response *QuerySyncPicScheduleResponse, err error)) <-chan int

QuerySyncPicScheduleWithCallback invokes the linkface.QuerySyncPicSchedule API asynchronously api document: https://help.aliyun.com/api/linkface/querysyncpicschedule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) QuerySyncPicScheduleWithChan

func (client *Client) QuerySyncPicScheduleWithChan(request *QuerySyncPicScheduleRequest) (<-chan *QuerySyncPicScheduleResponse, <-chan error)

QuerySyncPicScheduleWithChan invokes the linkface.QuerySyncPicSchedule API asynchronously api document: https://help.aliyun.com/api/linkface/querysyncpicschedule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RegisterFace

func (client *Client) RegisterFace(request *RegisterFaceRequest) (response *RegisterFaceResponse, err error)

RegisterFace invokes the linkface.RegisterFace API synchronously api document: https://help.aliyun.com/api/linkface/registerface.html

func (*Client) RegisterFaceWithCallback

func (client *Client) RegisterFaceWithCallback(request *RegisterFaceRequest, callback func(response *RegisterFaceResponse, err error)) <-chan int

RegisterFaceWithCallback invokes the linkface.RegisterFace API asynchronously api document: https://help.aliyun.com/api/linkface/registerface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RegisterFaceWithChan

func (client *Client) RegisterFaceWithChan(request *RegisterFaceRequest) (<-chan *RegisterFaceResponse, <-chan error)

RegisterFaceWithChan invokes the linkface.RegisterFace API asynchronously api document: https://help.aliyun.com/api/linkface/registerface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SearchFace

func (client *Client) SearchFace(request *SearchFaceRequest) (response *SearchFaceResponse, err error)

SearchFace invokes the linkface.SearchFace API synchronously api document: https://help.aliyun.com/api/linkface/searchface.html

func (*Client) SearchFaceWithCallback

func (client *Client) SearchFaceWithCallback(request *SearchFaceRequest, callback func(response *SearchFaceResponse, err error)) <-chan int

SearchFaceWithCallback invokes the linkface.SearchFace API asynchronously api document: https://help.aliyun.com/api/linkface/searchface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SearchFaceWithChan

func (client *Client) SearchFaceWithChan(request *SearchFaceRequest) (<-chan *SearchFaceResponse, <-chan error)

SearchFaceWithChan invokes the linkface.SearchFace API asynchronously api document: https://help.aliyun.com/api/linkface/searchface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SyncFacePictures

func (client *Client) SyncFacePictures(request *SyncFacePicturesRequest) (response *SyncFacePicturesResponse, err error)

SyncFacePictures invokes the linkface.SyncFacePictures API synchronously api document: https://help.aliyun.com/api/linkface/syncfacepictures.html

func (*Client) SyncFacePicturesWithCallback

func (client *Client) SyncFacePicturesWithCallback(request *SyncFacePicturesRequest, callback func(response *SyncFacePicturesResponse, err error)) <-chan int

SyncFacePicturesWithCallback invokes the linkface.SyncFacePictures API asynchronously api document: https://help.aliyun.com/api/linkface/syncfacepictures.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SyncFacePicturesWithChan

func (client *Client) SyncFacePicturesWithChan(request *SyncFacePicturesRequest) (<-chan *SyncFacePicturesResponse, <-chan error)

SyncFacePicturesWithChan invokes the linkface.SyncFacePictures API asynchronously api document: https://help.aliyun.com/api/linkface/syncfacepictures.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UnlinkFace

func (client *Client) UnlinkFace(request *UnlinkFaceRequest) (response *UnlinkFaceResponse, err error)

UnlinkFace invokes the linkface.UnlinkFace API synchronously api document: https://help.aliyun.com/api/linkface/unlinkface.html

func (*Client) UnlinkFaceWithCallback

func (client *Client) UnlinkFaceWithCallback(request *UnlinkFaceRequest, callback func(response *UnlinkFaceResponse, err error)) <-chan int

UnlinkFaceWithCallback invokes the linkface.UnlinkFace API asynchronously api document: https://help.aliyun.com/api/linkface/unlinkface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UnlinkFaceWithChan

func (client *Client) UnlinkFaceWithChan(request *UnlinkFaceRequest) (<-chan *UnlinkFaceResponse, <-chan error)

UnlinkFaceWithChan invokes the linkface.UnlinkFace API asynchronously api document: https://help.aliyun.com/api/linkface/unlinkface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateFace

func (client *Client) UpdateFace(request *UpdateFaceRequest) (response *UpdateFaceResponse, err error)

UpdateFace invokes the linkface.UpdateFace API synchronously api document: https://help.aliyun.com/api/linkface/updateface.html

func (*Client) UpdateFaceWithCallback

func (client *Client) UpdateFaceWithCallback(request *UpdateFaceRequest, callback func(response *UpdateFaceResponse, err error)) <-chan int

UpdateFaceWithCallback invokes the linkface.UpdateFace API asynchronously api document: https://help.aliyun.com/api/linkface/updateface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateFaceWithChan

func (client *Client) UpdateFaceWithChan(request *UpdateFaceRequest) (<-chan *UpdateFaceResponse, <-chan error)

UpdateFaceWithChan invokes the linkface.UpdateFace API asynchronously api document: https://help.aliyun.com/api/linkface/updateface.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type CreateGroupRequest

type CreateGroupRequest struct {
	*requests.RpcRequest
	GroupId string `position:"Body" name:"GroupId"`
}

CreateGroupRequest is the request struct for api CreateGroup

func CreateCreateGroupRequest

func CreateCreateGroupRequest() (request *CreateGroupRequest)

CreateCreateGroupRequest creates a request to invoke CreateGroup API

type CreateGroupResponse

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

CreateGroupResponse is the response struct for api CreateGroup

func CreateCreateGroupResponse

func CreateCreateGroupResponse() (response *CreateGroupResponse)

CreateCreateGroupResponse creates a response to parse from CreateGroup response

type CurrentFaceInfos

type CurrentFaceInfos struct {
	CurrentFaceInfosItem []CurrentFaceInfosItem `json:"CurrentFaceInfosItem" xml:"CurrentFaceInfosItem"`
}

CurrentFaceInfos is a nested struct in linkface response

type CurrentFaceInfosItem

type CurrentFaceInfosItem struct {
	UserId    string `json:"UserId" xml:"UserId"`
	ClientTag string `json:"ClientTag" xml:"ClientTag"`
	Index     int    `json:"Index" xml:"Index"`
}

CurrentFaceInfosItem is a nested struct in linkface response

type Data

type Data struct {
	Rate             float64                `json:"Rate" xml:"Rate"`
	Groups           []string               `json:"Groups" xml:"Groups"`
	GroupIds         []string               `json:"GroupIds" xml:"GroupIds"`
	CurrentFaceInfos []CurrentFaceInfosItem `json:"CurrentFaceInfos" xml:"CurrentFaceInfos"`
	FailedFaceInfos  []FailedFaceInfosItem  `json:"FailedFaceInfos" xml:"FailedFaceInfos"`
	UserFaceMetas    []UserFaceMetasItem    `json:"UserFaceMetas" xml:"UserFaceMetas"`
	TopUserItem      []TopUserItemItem      `json:"TopUserItem" xml:"TopUserItem"`
}

Data is a nested struct in linkface response

type DataInQueryAuthentication

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

DataInQueryAuthentication is a nested struct in linkface response

type DataInQueryGroupUsers

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

DataInQueryGroupUsers is a nested struct in linkface response

type DataInQueryLicenses

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

DataInQueryLicenses is a nested struct in linkface response

type DataItem

type DataItem struct {
	DeviceName   string `json:"DeviceName" xml:"DeviceName"`
	ExpiredTime  string `json:"ExpiredTime" xml:"ExpiredTime"`
	ClientId     string `json:"ClientId" xml:"ClientId"`
	IotId        string `json:"IotId" xml:"IotId"`
	LicenseType  int    `json:"LicenseType" xml:"LicenseType"`
	CostQuantity int    `json:"CostQuantity" xml:"CostQuantity"`
	ApkPubkey    string `json:"ApkPubkey" xml:"ApkPubkey"`
	UserId       string `json:"UserId" xml:"UserId"`
	ProductKey   string `json:"ProductKey" xml:"ProductKey"`
	PackageName  string `json:"PackageName" xml:"PackageName"`
	Quantity     int    `json:"Quantity" xml:"Quantity"`
	BeginTime    string `json:"BeginTime" xml:"BeginTime"`
}

DataItem is a nested struct in linkface response

type DeleteFaceRequest

type DeleteFaceRequest struct {
	*requests.RpcRequest
	GroupId string `position:"Body" name:"GroupId"`
	UserId  string `position:"Body" name:"UserId"`
}

DeleteFaceRequest is the request struct for api DeleteFace

func CreateDeleteFaceRequest

func CreateDeleteFaceRequest() (request *DeleteFaceRequest)

CreateDeleteFaceRequest creates a request to invoke DeleteFace API

type DeleteFaceResponse

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

DeleteFaceResponse is the response struct for api DeleteFace

func CreateDeleteFaceResponse

func CreateDeleteFaceResponse() (response *DeleteFaceResponse)

CreateDeleteFaceResponse creates a response to parse from DeleteFace response

type DeleteGroupRequest

type DeleteGroupRequest struct {
	*requests.RpcRequest
	GroupId string `position:"Body" name:"GroupId"`
}

DeleteGroupRequest is the request struct for api DeleteGroup

func CreateDeleteGroupRequest

func CreateDeleteGroupRequest() (request *DeleteGroupRequest)

CreateDeleteGroupRequest creates a request to invoke DeleteGroup API

type DeleteGroupResponse

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

DeleteGroupResponse is the response struct for api DeleteGroup

func CreateDeleteGroupResponse

func CreateDeleteGroupResponse() (response *DeleteGroupResponse)

CreateDeleteGroupResponse creates a response to parse from DeleteGroup response

type FailedFaceInfos

type FailedFaceInfos struct {
	FailedFaceInfosItem []FailedFaceInfosItem `json:"FailedFaceInfosItem" xml:"FailedFaceInfosItem"`
}

FailedFaceInfos is a nested struct in linkface response

type FailedFaceInfosItem

type FailedFaceInfosItem struct {
	UserId    string `json:"UserId" xml:"UserId"`
	ClientTag string `json:"ClientTag" xml:"ClientTag"`
	Index     int    `json:"Index" xml:"Index"`
}

FailedFaceInfosItem is a nested struct in linkface response

type GroupIds

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

GroupIds is a nested struct in linkface response

type Groups

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

Groups is a nested struct in linkface response

type LinkFaceRequest

type LinkFaceRequest struct {
	*requests.RpcRequest
	GroupId string `position:"Body" name:"GroupId"`
	UserId  string `position:"Body" name:"UserId"`
}

LinkFaceRequest is the request struct for api LinkFace

func CreateLinkFaceRequest

func CreateLinkFaceRequest() (request *LinkFaceRequest)

CreateLinkFaceRequest creates a request to invoke LinkFace API

type LinkFaceResponse

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

LinkFaceResponse is the response struct for api LinkFace

func CreateLinkFaceResponse

func CreateLinkFaceResponse() (response *LinkFaceResponse)

CreateLinkFaceResponse creates a response to parse from LinkFace response

type QueryAddUserInfoRequest

type QueryAddUserInfoRequest struct {
	*requests.RpcRequest
	IotId      string `position:"Body" name:"IotId"`
	DeviceName string `position:"Body" name:"DeviceName"`
	ProductKey string `position:"Body" name:"ProductKey"`
}

QueryAddUserInfoRequest is the request struct for api QueryAddUserInfo

func CreateQueryAddUserInfoRequest

func CreateQueryAddUserInfoRequest() (request *QueryAddUserInfoRequest)

CreateQueryAddUserInfoRequest creates a request to invoke QueryAddUserInfo API

type QueryAddUserInfoResponse

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

QueryAddUserInfoResponse is the response struct for api QueryAddUserInfo

func CreateQueryAddUserInfoResponse

func CreateQueryAddUserInfoResponse() (response *QueryAddUserInfoResponse)

CreateQueryAddUserInfoResponse creates a response to parse from QueryAddUserInfo response

type QueryAllGroupsRequest

type QueryAllGroupsRequest struct {
	*requests.RpcRequest
	PageSize    requests.Integer `position:"Body" name:"PageSize"`
	CurrentPage requests.Integer `position:"Body" name:"CurrentPage"`
}

QueryAllGroupsRequest is the request struct for api QueryAllGroups

func CreateQueryAllGroupsRequest

func CreateQueryAllGroupsRequest() (request *QueryAllGroupsRequest)

CreateQueryAllGroupsRequest creates a request to invoke QueryAllGroups API

type QueryAllGroupsResponse

type QueryAllGroupsResponse struct {
	*responses.BaseResponse
	Code      int    `json:"Code" xml:"Code"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Message   string `json:"Message" xml:"Message"`
	PageCount int    `json:"PageCount" xml:"PageCount"`
	PageSize  int    `json:"PageSize" xml:"PageSize"`
	Page      int    `json:"Page" xml:"Page"`
	Total     int    `json:"Total" xml:"Total"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      Data   `json:"Data" xml:"Data"`
}

QueryAllGroupsResponse is the response struct for api QueryAllGroups

func CreateQueryAllGroupsResponse

func CreateQueryAllGroupsResponse() (response *QueryAllGroupsResponse)

CreateQueryAllGroupsResponse creates a response to parse from QueryAllGroups response

type QueryAuthenticationRequest

type QueryAuthenticationRequest struct {
	*requests.RpcRequest
	LicenseType requests.Integer `position:"Body" name:"LicenseType"`
	IotId       string           `position:"Body" name:"IotId"`
	PageSize    requests.Integer `position:"Body" name:"PageSize"`
	CurrentPage requests.Integer `position:"Body" name:"CurrentPage"`
	DeviceName  string           `position:"Body" name:"DeviceName"`
	ProductKey  string           `position:"Body" name:"ProductKey"`
}

QueryAuthenticationRequest is the request struct for api QueryAuthentication

func CreateQueryAuthenticationRequest

func CreateQueryAuthenticationRequest() (request *QueryAuthenticationRequest)

CreateQueryAuthenticationRequest creates a request to invoke QueryAuthentication API

type QueryAuthenticationResponse

type QueryAuthenticationResponse struct {
	*responses.BaseResponse
	RequestId string     `json:"RequestId" xml:"RequestId"`
	Code      int        `json:"Code" xml:"Code"`
	Message   string     `json:"Message" xml:"Message"`
	PageCount int        `json:"PageCount" xml:"PageCount"`
	PageSize  int        `json:"PageSize" xml:"PageSize"`
	Page      int        `json:"Page" xml:"Page"`
	Total     int        `json:"Total" xml:"Total"`
	Success   bool       `json:"Success" xml:"Success"`
	Data      []DataItem `json:"Data" xml:"Data"`
}

QueryAuthenticationResponse is the response struct for api QueryAuthentication

func CreateQueryAuthenticationResponse

func CreateQueryAuthenticationResponse() (response *QueryAuthenticationResponse)

CreateQueryAuthenticationResponse creates a response to parse from QueryAuthentication response

type QueryFaceRequest

type QueryFaceRequest struct {
	*requests.RpcRequest
	UserId string `position:"Body" name:"UserId"`
}

QueryFaceRequest is the request struct for api QueryFace

func CreateQueryFaceRequest

func CreateQueryFaceRequest() (request *QueryFaceRequest)

CreateQueryFaceRequest creates a request to invoke QueryFace API

type QueryFaceResponse

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

QueryFaceResponse is the response struct for api QueryFace

func CreateQueryFaceResponse

func CreateQueryFaceResponse() (response *QueryFaceResponse)

CreateQueryFaceResponse creates a response to parse from QueryFace response

type QueryGroupUsersRequest

type QueryGroupUsersRequest struct {
	*requests.RpcRequest
	GroupId     string           `position:"Body" name:"GroupId"`
	PageSize    requests.Integer `position:"Body" name:"PageSize"`
	CurrentPage requests.Integer `position:"Body" name:"CurrentPage"`
}

QueryGroupUsersRequest is the request struct for api QueryGroupUsers

func CreateQueryGroupUsersRequest

func CreateQueryGroupUsersRequest() (request *QueryGroupUsersRequest)

CreateQueryGroupUsersRequest creates a request to invoke QueryGroupUsers API

type QueryGroupUsersResponse

type QueryGroupUsersResponse struct {
	*responses.BaseResponse
	Code      int        `json:"Code" xml:"Code"`
	RequestId string     `json:"RequestId" xml:"RequestId"`
	Message   string     `json:"Message" xml:"Message"`
	PageCount int        `json:"PageCount" xml:"PageCount"`
	PageSize  int        `json:"PageSize" xml:"PageSize"`
	Page      int        `json:"Page" xml:"Page"`
	Total     int        `json:"Total" xml:"Total"`
	Success   bool       `json:"Success" xml:"Success"`
	Data      []DataItem `json:"Data" xml:"Data"`
}

QueryGroupUsersResponse is the response struct for api QueryGroupUsers

func CreateQueryGroupUsersResponse

func CreateQueryGroupUsersResponse() (response *QueryGroupUsersResponse)

CreateQueryGroupUsersResponse creates a response to parse from QueryGroupUsers response

type QueryLicensesRequest

type QueryLicensesRequest struct {
	*requests.RpcRequest
	LicenseType requests.Integer `position:"Body" name:"LicenseType"`
	PageSize    requests.Integer `position:"Body" name:"PageSize"`
	CurrentPage requests.Integer `position:"Body" name:"CurrentPage"`
}

QueryLicensesRequest is the request struct for api QueryLicenses

func CreateQueryLicensesRequest

func CreateQueryLicensesRequest() (request *QueryLicensesRequest)

CreateQueryLicensesRequest creates a request to invoke QueryLicenses API

type QueryLicensesResponse

type QueryLicensesResponse struct {
	*responses.BaseResponse
	RequestId string     `json:"RequestId" xml:"RequestId"`
	Code      int        `json:"Code" xml:"Code"`
	Message   string     `json:"Message" xml:"Message"`
	PageCount int        `json:"PageCount" xml:"PageCount"`
	PageSize  int        `json:"PageSize" xml:"PageSize"`
	Page      int        `json:"Page" xml:"Page"`
	Total     int        `json:"Total" xml:"Total"`
	Success   bool       `json:"Success" xml:"Success"`
	Data      []DataItem `json:"Data" xml:"Data"`
}

QueryLicensesResponse is the response struct for api QueryLicenses

func CreateQueryLicensesResponse

func CreateQueryLicensesResponse() (response *QueryLicensesResponse)

CreateQueryLicensesResponse creates a response to parse from QueryLicenses response

type QuerySyncPicScheduleRequest

type QuerySyncPicScheduleRequest struct {
	*requests.RpcRequest
	IotId      string `position:"Body" name:"IotId"`
	DeviceName string `position:"Body" name:"DeviceName"`
	ProductKey string `position:"Body" name:"ProductKey"`
}

QuerySyncPicScheduleRequest is the request struct for api QuerySyncPicSchedule

func CreateQuerySyncPicScheduleRequest

func CreateQuerySyncPicScheduleRequest() (request *QuerySyncPicScheduleRequest)

CreateQuerySyncPicScheduleRequest creates a request to invoke QuerySyncPicSchedule API

type QuerySyncPicScheduleResponse

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

QuerySyncPicScheduleResponse is the response struct for api QuerySyncPicSchedule

func CreateQuerySyncPicScheduleResponse

func CreateQuerySyncPicScheduleResponse() (response *QuerySyncPicScheduleResponse)

CreateQuerySyncPicScheduleResponse creates a response to parse from QuerySyncPicSchedule response

type RegisterFaceRequest

type RegisterFaceRequest struct {
	*requests.RpcRequest
	Image    string `position:"Body" name:"Image"`
	GroupId  string `position:"Body" name:"GroupId"`
	UserId   string `position:"Body" name:"UserId"`
	UserInfo string `position:"Body" name:"UserInfo"`
}

RegisterFaceRequest is the request struct for api RegisterFace

func CreateRegisterFaceRequest

func CreateRegisterFaceRequest() (request *RegisterFaceRequest)

CreateRegisterFaceRequest creates a request to invoke RegisterFace API

type RegisterFaceResponse

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

RegisterFaceResponse is the response struct for api RegisterFace

func CreateRegisterFaceResponse

func CreateRegisterFaceResponse() (response *RegisterFaceResponse)

CreateRegisterFaceResponse creates a response to parse from RegisterFace response

type SearchFaceRequest

type SearchFaceRequest struct {
	*requests.RpcRequest
	Image   string `position:"Body" name:"Image"`
	GroupId string `position:"Body" name:"GroupId"`
}

SearchFaceRequest is the request struct for api SearchFace

func CreateSearchFaceRequest

func CreateSearchFaceRequest() (request *SearchFaceRequest)

CreateSearchFaceRequest creates a request to invoke SearchFace API

type SearchFaceResponse

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

SearchFaceResponse is the response struct for api SearchFace

func CreateSearchFaceResponse

func CreateSearchFaceResponse() (response *SearchFaceResponse)

CreateSearchFaceResponse creates a response to parse from SearchFace response

type SyncFacePicturesRequest

type SyncFacePicturesRequest struct {
	*requests.RpcRequest
	IotId      string `position:"Body" name:"IotId"`
	GroupId    string `position:"Body" name:"GroupId"`
	DeviceName string `position:"Body" name:"DeviceName"`
	ProductKey string `position:"Body" name:"ProductKey"`
}

SyncFacePicturesRequest is the request struct for api SyncFacePictures

func CreateSyncFacePicturesRequest

func CreateSyncFacePicturesRequest() (request *SyncFacePicturesRequest)

CreateSyncFacePicturesRequest creates a request to invoke SyncFacePictures API

type SyncFacePicturesResponse

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

SyncFacePicturesResponse is the response struct for api SyncFacePictures

func CreateSyncFacePicturesResponse

func CreateSyncFacePicturesResponse() (response *SyncFacePicturesResponse)

CreateSyncFacePicturesResponse creates a response to parse from SyncFacePictures response

type TopUserItem

type TopUserItem struct {
	TopUserItemItem []TopUserItemItem `json:"TopUserItemItem" xml:"TopUserItemItem"`
}

TopUserItem is a nested struct in linkface response

type TopUserItemItem

type TopUserItemItem struct {
	UserId string  `json:"UserId" xml:"UserId"`
	Score  float64 `json:"Score" xml:"Score"`
}

TopUserItemItem is a nested struct in linkface response

type UnlinkFaceRequest

type UnlinkFaceRequest struct {
	*requests.RpcRequest
	GroupId string `position:"Body" name:"GroupId"`
	UserId  string `position:"Body" name:"UserId"`
}

UnlinkFaceRequest is the request struct for api UnlinkFace

func CreateUnlinkFaceRequest

func CreateUnlinkFaceRequest() (request *UnlinkFaceRequest)

CreateUnlinkFaceRequest creates a request to invoke UnlinkFace API

type UnlinkFaceResponse

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

UnlinkFaceResponse is the response struct for api UnlinkFace

func CreateUnlinkFaceResponse

func CreateUnlinkFaceResponse() (response *UnlinkFaceResponse)

CreateUnlinkFaceResponse creates a response to parse from UnlinkFace response

type UpdateFaceRequest

type UpdateFaceRequest struct {
	*requests.RpcRequest
	Image    string `position:"Body" name:"Image"`
	UserId   string `position:"Body" name:"UserId"`
	UserInfo string `position:"Body" name:"UserInfo"`
}

UpdateFaceRequest is the request struct for api UpdateFace

func CreateUpdateFaceRequest

func CreateUpdateFaceRequest() (request *UpdateFaceRequest)

CreateUpdateFaceRequest creates a request to invoke UpdateFace API

type UpdateFaceResponse

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

UpdateFaceResponse is the response struct for api UpdateFace

func CreateUpdateFaceResponse

func CreateUpdateFaceResponse() (response *UpdateFaceResponse)

CreateUpdateFaceResponse creates a response to parse from UpdateFace response

type UserFaceMetas

type UserFaceMetas struct {
	UserFaceMetasItem []UserFaceMetasItem `json:"UserFaceMetasItem" xml:"UserFaceMetasItem"`
}

UserFaceMetas is a nested struct in linkface response

type UserFaceMetasItem

type UserFaceMetasItem struct {
	ClientTag string `json:"ClientTag" xml:"ClientTag"`
	Index     int    `json:"Index" xml:"Index"`
	FaceUrl   string `json:"FaceUrl" xml:"FaceUrl"`
	UserInfo  string `json:"UserInfo" xml:"UserInfo"`
}

UserFaceMetasItem is a nested struct in linkface response

Jump to

Keyboard shortcuts

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