model

package
v0.0.104 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetectExtentionByIdCardImageRequest

type DetectExtentionByIdCardImageRequest struct {
	Body *IvsExtentionByIdCardImageRequestBody `json:"body,omitempty"`
}

Request Object

func (DetectExtentionByIdCardImageRequest) String

type DetectExtentionByIdCardImageResponse

type DetectExtentionByIdCardImageResponse struct {
	Meta *Meta `json:"meta,omitempty"`

	Result         *IvsExtentionByIdCardImageResponseBodyResult `json:"result,omitempty"`
	HttpStatusCode int                                          `json:"-"`
}

Response Object

func (DetectExtentionByIdCardImageResponse) String

type DetectExtentionByNameAndIdRequest

type DetectExtentionByNameAndIdRequest struct {
	Body *IvsExtentionByNameAndIdRequestBody `json:"body,omitempty"`
}

Request Object

func (DetectExtentionByNameAndIdRequest) String

type DetectExtentionByNameAndIdResponse

type DetectExtentionByNameAndIdResponse struct {
	Meta *Meta `json:"meta,omitempty"`

	Result         *IvsExtentionByNameAndIdResponseBodyResult `json:"result,omitempty"`
	HttpStatusCode int                                        `json:"-"`
}

Response Object

func (DetectExtentionByNameAndIdResponse) String

type DetectStandardByIdCardImageRequest

type DetectStandardByIdCardImageRequest struct {
	Body *IvsStandardByIdCardImageRequestBody `json:"body,omitempty"`
}

Request Object

func (DetectStandardByIdCardImageRequest) String

type DetectStandardByIdCardImageResponse

type DetectStandardByIdCardImageResponse struct {
	Meta *Meta `json:"meta,omitempty"`

	Result         *IvsStandardByIdCardImageResponseBodyResult `json:"result,omitempty"`
	HttpStatusCode int                                         `json:"-"`
}

Response Object

func (DetectStandardByIdCardImageResponse) String

type DetectStandardByNameAndIdRequest

type DetectStandardByNameAndIdRequest struct {
	Body *IvsStandardByNameAndIdRequestBody `json:"body,omitempty"`
}

Request Object

func (DetectStandardByNameAndIdRequest) String

type DetectStandardByNameAndIdResponse

type DetectStandardByNameAndIdResponse struct {
	Meta *Meta `json:"meta,omitempty"`

	Result         *IvsStandardByNameAndIdResponseBodyResult `json:"result,omitempty"`
	HttpStatusCode int                                       `json:"-"`
}

Response Object

func (DetectStandardByNameAndIdResponse) String

type ExtentionReqDataByIdCardImage

type ExtentionReqDataByIdCardImage struct {

	// 身份证人像面图像数据,使用base64编码,要求base64编码后大小不超过4M。图像各边的像素大小在300到4000之间,支持JPG格式。
	IdcardImage1 string `json:"idcard_image1"`

	// 身份证国徽面图像数据,使用base64编码,要求base64编码后大小不超过4M。图像各边的像素大小在300到4000之间,支持JPG格式。
	IdcardImage2 *string `json:"idcard_image2,omitempty"`
}

func (ExtentionReqDataByIdCardImage) String

type ExtentionReqDataByNameAndId

type ExtentionReqDataByNameAndId struct {

	// 被验证人的姓名。
	VerificationName string `json:"verification_name"`

	// 被验证人的身份证号码。
	VerificationId string `json:"verification_id"`
}

func (ExtentionReqDataByNameAndId) String

type ExtentionRespDataByIdCardImage

type ExtentionRespDataByIdCardImage struct {

	// 审核校验结果: \"valid\"表示身份审核通过; \"invalid\"表示身份审核不通过; \"nonexistent\"表示数据源没有该身份证号码,这种情况一般是被验证人正在办理户籍迁移,或者被验证人是军人或政要。
	VerificationResult *string `json:"verification_result,omitempty"`

	// 审核校验信息,具体参[考校验信息说明](https://support.huaweicloud.com/api-ivs/ivs_02_0017.html)
	VerificationMessage *string `json:"verification_message,omitempty"`

	// 审核校验代码,具体参[考校验信息说明](https://support.huaweicloud.com/api-ivs/ivs_02_0017.html)
	VerificationCode *int32 `json:"verification_code,omitempty"`

	IdcardResult *IdcardResult `json:"idcard_result,omitempty"`
}

func (ExtentionRespDataByIdCardImage) String

type ExtentionRespDataByNameAndId

type ExtentionRespDataByNameAndId struct {

	// 审核校验结果: \"valid\"表示身份审核通过; \"invalid\"表示身份审核不通过; \"nonexistent\"表示数据源没有该身份证号码,这种情况一般是被验证人正在办理户籍迁移,或者被验证人是军人或政要。
	VerificationResult *string `json:"verification_result,omitempty"`

	// 审核校验信息,具体参[考校验信息说明](https://support.huaweicloud.com/api-ivs/ivs_02_0017.html)
	VerificationMessage *string `json:"verification_message,omitempty"`

	// 审核校验代码,具体参[考校验信息说明](https://support.huaweicloud.com/api-ivs/ivs_02_0017.html)
	VerificationCode *int32 `json:"verification_code,omitempty"`
}

func (ExtentionRespDataByNameAndId) String

type IdcardResult

type IdcardResult struct {

	// 身份证上识别的名称。
	Name *string `json:"name,omitempty"`

	// 身份证号。
	Number *string `json:"number,omitempty"`

	// 性别。
	Sex *string `json:"sex,omitempty"`

	// 出生日期。
	Birth *string `json:"birth,omitempty"`

	// 民族。
	Ethnicity *string `json:"ethnicity,omitempty"`

	// 地址。
	Address *string `json:"address,omitempty"`

	// 发证机关。
	Issue *string `json:"issue,omitempty"`

	// 有效起始日期。
	ValidFrom *string `json:"valid_from,omitempty"`

	// 有效结束日期。
	ValidTo *string `json:"valid_to,omitempty"`
}

func (IdcardResult) String

func (o IdcardResult) String() string

type IvsExtentionByIdCardImageRequestBody

type IvsExtentionByIdCardImageRequestBody struct {
	Meta *Meta `json:"meta"`

	Data *IvsExtentionByIdCardImageRequestBodyData `json:"data"`
}

func (IvsExtentionByIdCardImageRequestBody) String

type IvsExtentionByIdCardImageRequestBodyData

type IvsExtentionByIdCardImageRequestBodyData struct {

	// 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
	ReqData *[]ExtentionReqDataByIdCardImage `json:"req_data,omitempty"`
}

请求消息的数据部分。

func (IvsExtentionByIdCardImageRequestBodyData) String

type IvsExtentionByIdCardImageResponseBodyResult

type IvsExtentionByIdCardImageResponseBodyResult struct {

	// 子服务名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 成功的结果数量,与resp_data字段对应。
	Count *int32 `json:"count,omitempty"`

	// 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
	RespData *[]ExtentionRespDataByIdCardImage `json:"resp_data,omitempty"`
}

调用返回结果。

func (IvsExtentionByIdCardImageResponseBodyResult) String

type IvsExtentionByNameAndIdRequestBody

type IvsExtentionByNameAndIdRequestBody struct {
	Meta *Meta `json:"meta"`

	Data *IvsExtentionByNameAndIdRequestBodyData `json:"data"`
}

func (IvsExtentionByNameAndIdRequestBody) String

type IvsExtentionByNameAndIdRequestBodyData

type IvsExtentionByNameAndIdRequestBodyData struct {

	// 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
	ReqData *[]ExtentionReqDataByNameAndId `json:"req_data,omitempty"`
}

请求消息的数据部分。

func (IvsExtentionByNameAndIdRequestBodyData) String

type IvsExtentionByNameAndIdResponseBodyResult

type IvsExtentionByNameAndIdResponseBodyResult struct {

	// 子服务名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 成功的结果数量,与resp_data字段对应。
	Count *int32 `json:"count,omitempty"`

	// 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
	RespData *[]ExtentionRespDataByNameAndId `json:"resp_data,omitempty"`
}

调用返回结果。

func (IvsExtentionByNameAndIdResponseBodyResult) String

type IvsStandardByIdCardImageRequestBody

type IvsStandardByIdCardImageRequestBody struct {
	Meta *Meta `json:"meta"`

	Data *IvsStandardByIdCardImageRequestBodyData `json:"data"`
}

func (IvsStandardByIdCardImageRequestBody) String

type IvsStandardByIdCardImageRequestBodyData

type IvsStandardByIdCardImageRequestBodyData struct {

	// 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
	ReqData *[]ReqDataByIdCardImage `json:"req_data,omitempty"`
}

请求消息的数据部分。

func (IvsStandardByIdCardImageRequestBodyData) String

type IvsStandardByIdCardImageResponseBodyResult

type IvsStandardByIdCardImageResponseBodyResult struct {

	// 子服务名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 成功的结果数量,与resp_data字段对应。
	Count *int32 `json:"count,omitempty"`

	// 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
	RespData *[]RespDataByIdCardImage `json:"resp_data,omitempty"`
}

调用返回结果。

func (IvsStandardByIdCardImageResponseBodyResult) String

type IvsStandardByNameAndIdRequestBody

type IvsStandardByNameAndIdRequestBody struct {
	Meta *Meta `json:"meta"`

	Data *IvsStandardByNameAndIdRequestBodyData `json:"data"`
}

func (IvsStandardByNameAndIdRequestBody) String

type IvsStandardByNameAndIdRequestBodyData

type IvsStandardByNameAndIdRequestBodyData struct {

	// 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
	ReqData *[]StandardReqDataByNameAndId `json:"req_data,omitempty"`
}

请求消息的数据部分。

func (IvsStandardByNameAndIdRequestBodyData) String

type IvsStandardByNameAndIdResponseBodyResult

type IvsStandardByNameAndIdResponseBodyResult struct {

	// 子服务名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 成功的结果数量,与resp_data字段对应。
	Count *int32 `json:"count,omitempty"`

	// 请求列表,用于支持批量调用。目前暂时只支持单个数据查询。
	RespData *[]StandardRespDataByNameAndId `json:"resp_data,omitempty"`
}

调用返回结果。

func (IvsStandardByNameAndIdResponseBodyResult) String

type Meta

type Meta struct {

	// 唯一标识此次请求的ID,用户自定义,不超过64位。
	Uuid *string `json:"uuid,omitempty"`
}

func (Meta) String

func (o Meta) String() string

type ReqDataByIdCardImage

type ReqDataByIdCardImage struct {

	// 身份证人像面图像数据,使用base64编码,要求base64编码后大小不超过4M。图像各边的像素大小在300到4000之间,支持JPG格式。
	IdcardImage1 string `json:"idcard_image1"`

	// 身份证国徽面图像数据,使用base64编码,要求base64编码后大小不超过4M。图像各边的像素大小在300到4000之间,支持JPG格式。
	IdcardImage2 *string `json:"idcard_image2,omitempty"`

	// 现场人像图像数据,使用base64编码,要求base64编码后大小不超过4M。图像各边的像素大小在300到4000之间,支持JPG格式。
	FaceImage string `json:"face_image"`
}

func (ReqDataByIdCardImage) String

func (o ReqDataByIdCardImage) String() string

type RespDataByIdCardImage

type RespDataByIdCardImage struct {

	// 审核校验结果: \"valid\"表示身份审核通过; \"invalid\"表示身份审核不通过; \"nonexistent\"表示数据源没有该身份证号码,这种情况一般是被验证人正在办理户籍迁移,或者被验证人是军人或政要。
	VerificationResult *string `json:"verification_result,omitempty"`

	// 审核校验信息,具体参[考校验信息说明](https://support.huaweicloud.com/api-ivs/ivs_02_0017.html)
	VerificationMessage *string `json:"verification_message,omitempty"`

	// 审核校验代码,具体参[考校验信息说明](https://support.huaweicloud.com/api-ivs/ivs_02_0017.html)
	VerificationCode *int32 `json:"verification_code,omitempty"`

	// 人像相识度。取值范围[0,100]
	Similarity *string `json:"similarity,omitempty"`

	IdcardResult *IdcardResult `json:"idcard_result,omitempty"`
}

func (RespDataByIdCardImage) String

func (o RespDataByIdCardImage) String() string

type StandardReqDataByNameAndId

type StandardReqDataByNameAndId struct {

	// 被验证人的姓名。
	VerificationName string `json:"verification_name"`

	// 被验证人的身份证号码。
	VerificationId string `json:"verification_id"`

	// 现场人像图像数据,使用base64编码,要求base64编码后大小不超过4M。图像各边的像素大小在300到4000之间,支持JPG格式。
	FaceImage string `json:"face_image"`
}

func (StandardReqDataByNameAndId) String

type StandardRespDataByNameAndId

type StandardRespDataByNameAndId struct {

	// 审核校验结果: \"valid\"表示身份审核通过; \"invalid\"表示身份审核不通过; \"nonexistent\"表示数据源没有该身份证号码,这种情况一般是被验证人正在办理户籍迁移,或者被验证人是军人或政要。
	VerificationResult *string `json:"verification_result,omitempty"`

	// 审核校验信息,具体参[考校验信息说明](https://support.huaweicloud.com/api-ivs/ivs_02_0017.html)
	VerificationMessage *string `json:"verification_message,omitempty"`

	// 审核校验代码,具体参[考校验信息说明](https://support.huaweicloud.com/api-ivs/ivs_02_0017.html)
	VerificationCode *int32 `json:"verification_code,omitempty"`

	// 人像相识度。取值范围[0,100]
	Similarity *string `json:"similarity,omitempty"`
}

func (StandardRespDataByNameAndId) String

Jump to

Keyboard shortcuts

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