client

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) CommodityTitle

func (client *Client) CommodityTitle(request *CommodityTitleRequest) (_result *CommodityTitleResponse, _err error)

func (*Client) CommodityTitleAdvance

func (client *Client) CommodityTitleAdvance(request *CommodityTitleAdvanceRequest, runtime *util.RuntimeOptions) (_result *CommodityTitleResponse, _err error)

func (*Client) CommodityTitleWithOptions

func (client *Client) CommodityTitleWithOptions(request *CommodityTitleRequest, runtime *util.RuntimeOptions) (_result *CommodityTitleResponse, _err error)

func (*Client) GeneralRecognition

func (client *Client) GeneralRecognition(request *GeneralRecognitionRequest) (_result *GeneralRecognitionResponse, _err error)

func (*Client) GeneralRecognitionAdvance

func (client *Client) GeneralRecognitionAdvance(request *GeneralRecognitionAdvanceRequest, runtime *util.RuntimeOptions) (_result *GeneralRecognitionResponse, _err error)

func (*Client) GeneralRecognitionWithOptions

func (client *Client) GeneralRecognitionWithOptions(request *GeneralRecognitionRequest, runtime *util.RuntimeOptions) (_result *GeneralRecognitionResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) ImageAmazon

func (client *Client) ImageAmazon(request *ImageAmazonRequest) (_result *ImageAmazonResponse, _err error)

func (*Client) ImageAmazonWithOptions

func (client *Client) ImageAmazonWithOptions(request *ImageAmazonRequest, runtime *util.RuntimeOptions) (_result *ImageAmazonResponse, _err error)

func (*Client) ImageCategory

func (client *Client) ImageCategory(request *ImageCategoryRequest) (_result *ImageCategoryResponse, _err error)

func (*Client) ImageCategoryWithOptions

func (client *Client) ImageCategoryWithOptions(request *ImageCategoryRequest, runtime *util.RuntimeOptions) (_result *ImageCategoryResponse, _err error)

func (*Client) ImageDuplication

func (client *Client) ImageDuplication(request *ImageDuplicationRequest) (_result *ImageDuplicationResponse, _err error)

func (*Client) ImageDuplicationWithOptions

func (client *Client) ImageDuplicationWithOptions(request *ImageDuplicationRequest, runtime *util.RuntimeOptions) (_result *ImageDuplicationResponse, _err error)

func (*Client) ImageProperty

func (client *Client) ImageProperty(request *ImagePropertyRequest) (_result *ImagePropertyResponse, _err error)

func (*Client) ImagePropertyWithOptions

func (client *Client) ImagePropertyWithOptions(request *ImagePropertyRequest, runtime *util.RuntimeOptions) (_result *ImagePropertyResponse, _err error)

func (*Client) ImageSegmentation

func (client *Client) ImageSegmentation(request *ImageSegmentationRequest) (_result *ImageSegmentationResponse, _err error)

func (*Client) ImageSegmentationAdvance

func (client *Client) ImageSegmentationAdvance(request *ImageSegmentationAdvanceRequest, runtime *util.RuntimeOptions) (_result *ImageSegmentationResponse, _err error)

func (*Client) ImageSegmentationWithOptions

func (client *Client) ImageSegmentationWithOptions(request *ImageSegmentationRequest, runtime *util.RuntimeOptions) (_result *ImageSegmentationResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

type CommodityTitleAdvanceRequest

type CommodityTitleAdvanceRequest struct {
	InstanceName     *string   `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	PicContentObject io.Reader `json:"PicContent,omitempty" xml:"PicContent,omitempty"`
	TitleIndex       *int64    `json:"TitleIndex,omitempty" xml:"TitleIndex,omitempty"`
}

func (CommodityTitleAdvanceRequest) GoString

func (s CommodityTitleAdvanceRequest) GoString() string

func (*CommodityTitleAdvanceRequest) SetInstanceName

func (*CommodityTitleAdvanceRequest) SetPicContentObject

func (*CommodityTitleAdvanceRequest) SetTitleIndex

func (CommodityTitleAdvanceRequest) String

type CommodityTitleRequest

type CommodityTitleRequest struct {
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	PicContent   *string `json:"PicContent,omitempty" xml:"PicContent,omitempty"`
	TitleIndex   *int64  `json:"TitleIndex,omitempty" xml:"TitleIndex,omitempty"`
}

func (CommodityTitleRequest) GoString

func (s CommodityTitleRequest) GoString() string

func (*CommodityTitleRequest) SetInstanceName

func (s *CommodityTitleRequest) SetInstanceName(v string) *CommodityTitleRequest

func (*CommodityTitleRequest) SetPicContent

func (s *CommodityTitleRequest) SetPicContent(v string) *CommodityTitleRequest

func (*CommodityTitleRequest) SetTitleIndex

func (s *CommodityTitleRequest) SetTitleIndex(v int64) *CommodityTitleRequest

func (CommodityTitleRequest) String

func (s CommodityTitleRequest) String() string

type CommodityTitleResponse

type CommodityTitleResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CommodityTitleResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CommodityTitleResponse) GoString

func (s CommodityTitleResponse) GoString() string

func (*CommodityTitleResponse) SetBody

func (*CommodityTitleResponse) SetHeaders

func (*CommodityTitleResponse) SetStatusCode

func (CommodityTitleResponse) String

func (s CommodityTitleResponse) String() string

type CommodityTitleResponseBody

type CommodityTitleResponseBody struct {
	Code      *int32                          `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *CommodityTitleResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                         `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                         `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                           `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CommodityTitleResponseBody) GoString

func (s CommodityTitleResponseBody) GoString() string

func (*CommodityTitleResponseBody) SetCode

func (*CommodityTitleResponseBody) SetData

func (*CommodityTitleResponseBody) SetMessage

func (*CommodityTitleResponseBody) SetRequestId

func (*CommodityTitleResponseBody) SetSuccess

func (CommodityTitleResponseBody) String

type CommodityTitleResponseBodyData

type CommodityTitleResponseBodyData struct {
	Title *string `json:"Title,omitempty" xml:"Title,omitempty"`
}

func (CommodityTitleResponseBodyData) GoString

func (*CommodityTitleResponseBodyData) SetTitle

func (CommodityTitleResponseBodyData) String

type GeneralRecognitionAdvanceRequest

type GeneralRecognitionAdvanceRequest struct {
	InstanceName     *string   `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	PicContentObject io.Reader `json:"PicContent,omitempty" xml:"PicContent,omitempty"`
}

func (GeneralRecognitionAdvanceRequest) GoString

func (*GeneralRecognitionAdvanceRequest) SetInstanceName

func (*GeneralRecognitionAdvanceRequest) SetPicContentObject

func (GeneralRecognitionAdvanceRequest) String

type GeneralRecognitionRequest

type GeneralRecognitionRequest struct {
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	PicContent   *string `json:"PicContent,omitempty" xml:"PicContent,omitempty"`
}

func (GeneralRecognitionRequest) GoString

func (s GeneralRecognitionRequest) GoString() string

func (*GeneralRecognitionRequest) SetInstanceName

func (*GeneralRecognitionRequest) SetPicContent

func (GeneralRecognitionRequest) String

func (s GeneralRecognitionRequest) String() string

type GeneralRecognitionResponse

type GeneralRecognitionResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GeneralRecognitionResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GeneralRecognitionResponse) GoString

func (s GeneralRecognitionResponse) GoString() string

func (*GeneralRecognitionResponse) SetBody

func (*GeneralRecognitionResponse) SetHeaders

func (*GeneralRecognitionResponse) SetStatusCode

func (GeneralRecognitionResponse) String

type GeneralRecognitionResponseBody

type GeneralRecognitionResponseBody struct {
	Code      *int32                              `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *GeneralRecognitionResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                             `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                             `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                               `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GeneralRecognitionResponseBody) GoString

func (*GeneralRecognitionResponseBody) SetCode

func (*GeneralRecognitionResponseBody) SetMessage

func (*GeneralRecognitionResponseBody) SetRequestId

func (*GeneralRecognitionResponseBody) SetSuccess

func (GeneralRecognitionResponseBody) String

type GeneralRecognitionResponseBodyData

type GeneralRecognitionResponseBodyData struct {
	Regions []*string                                   `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Repeated"`
	Result  []*GeneralRecognitionResponseBodyDataResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Repeated"`
}

func (GeneralRecognitionResponseBodyData) GoString

func (*GeneralRecognitionResponseBodyData) SetRegions

func (GeneralRecognitionResponseBodyData) String

type GeneralRecognitionResponseBodyDataResult

type GeneralRecognitionResponseBodyDataResult struct {
	Score *string `json:"Score,omitempty" xml:"Score,omitempty"`
	Tag   *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
}

func (GeneralRecognitionResponseBodyDataResult) GoString

func (*GeneralRecognitionResponseBodyDataResult) SetScore

func (*GeneralRecognitionResponseBodyDataResult) SetTag

func (GeneralRecognitionResponseBodyDataResult) String

type ImageAmazonRequest

type ImageAmazonRequest struct {
	Gif          *bool     `json:"Gif,omitempty" xml:"Gif,omitempty"`
	ImgUrlList   *string   `json:"ImgUrlList,omitempty" xml:"ImgUrlList,omitempty"`
	InstanceName *string   `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	TemplateMode *string   `json:"TemplateMode,omitempty" xml:"TemplateMode,omitempty"`
	TextList     []*string `json:"TextList,omitempty" xml:"TextList,omitempty" type:"Repeated"`
}

func (ImageAmazonRequest) GoString

func (s ImageAmazonRequest) GoString() string

func (*ImageAmazonRequest) SetGif

func (*ImageAmazonRequest) SetImgUrlList

func (s *ImageAmazonRequest) SetImgUrlList(v string) *ImageAmazonRequest

func (*ImageAmazonRequest) SetInstanceName

func (s *ImageAmazonRequest) SetInstanceName(v string) *ImageAmazonRequest

func (*ImageAmazonRequest) SetTemplateMode

func (s *ImageAmazonRequest) SetTemplateMode(v string) *ImageAmazonRequest

func (*ImageAmazonRequest) SetTextList

func (s *ImageAmazonRequest) SetTextList(v []*string) *ImageAmazonRequest

func (ImageAmazonRequest) String

func (s ImageAmazonRequest) String() string

type ImageAmazonResponse

type ImageAmazonResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ImageAmazonResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ImageAmazonResponse) GoString

func (s ImageAmazonResponse) GoString() string

func (*ImageAmazonResponse) SetBody

func (*ImageAmazonResponse) SetHeaders

func (s *ImageAmazonResponse) SetHeaders(v map[string]*string) *ImageAmazonResponse

func (*ImageAmazonResponse) SetStatusCode

func (s *ImageAmazonResponse) SetStatusCode(v int32) *ImageAmazonResponse

func (ImageAmazonResponse) String

func (s ImageAmazonResponse) String() string

type ImageAmazonResponseBody

type ImageAmazonResponseBody struct {
	Code      *int32                       `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *ImageAmazonResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                      `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                      `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                        `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ImageAmazonResponseBody) GoString

func (s ImageAmazonResponseBody) GoString() string

func (*ImageAmazonResponseBody) SetCode

func (*ImageAmazonResponseBody) SetData

func (*ImageAmazonResponseBody) SetMessage

func (*ImageAmazonResponseBody) SetRequestId

func (*ImageAmazonResponseBody) SetSuccess

func (ImageAmazonResponseBody) String

func (s ImageAmazonResponseBody) String() string

type ImageAmazonResponseBodyData

type ImageAmazonResponseBodyData struct {
	VideoUrl *string `json:"VideoUrl,omitempty" xml:"VideoUrl,omitempty"`
}

func (ImageAmazonResponseBodyData) GoString

func (s ImageAmazonResponseBodyData) GoString() string

func (*ImageAmazonResponseBodyData) SetVideoUrl

func (ImageAmazonResponseBodyData) String

type ImageCategoryRequest

type ImageCategoryRequest struct {
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	PicUrl       *string `json:"PicUrl,omitempty" xml:"PicUrl,omitempty"`
}

func (ImageCategoryRequest) GoString

func (s ImageCategoryRequest) GoString() string

func (*ImageCategoryRequest) SetInstanceName

func (s *ImageCategoryRequest) SetInstanceName(v string) *ImageCategoryRequest

func (*ImageCategoryRequest) SetPicUrl

func (ImageCategoryRequest) String

func (s ImageCategoryRequest) String() string

type ImageCategoryResponse

type ImageCategoryResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ImageCategoryResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ImageCategoryResponse) GoString

func (s ImageCategoryResponse) GoString() string

func (*ImageCategoryResponse) SetBody

func (*ImageCategoryResponse) SetHeaders

func (*ImageCategoryResponse) SetStatusCode

func (s *ImageCategoryResponse) SetStatusCode(v int32) *ImageCategoryResponse

func (ImageCategoryResponse) String

func (s ImageCategoryResponse) String() string

type ImageCategoryResponseBody

type ImageCategoryResponseBody struct {
	Code      *int32                         `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *ImageCategoryResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                        `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                        `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                          `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ImageCategoryResponseBody) GoString

func (s ImageCategoryResponseBody) GoString() string

func (*ImageCategoryResponseBody) SetCode

func (*ImageCategoryResponseBody) SetData

func (*ImageCategoryResponseBody) SetMessage

func (*ImageCategoryResponseBody) SetRequestId

func (*ImageCategoryResponseBody) SetSuccess

func (ImageCategoryResponseBody) String

func (s ImageCategoryResponseBody) String() string

type ImageCategoryResponseBodyData

type ImageCategoryResponseBodyData struct {
	CateResult []*ImageCategoryResponseBodyDataCateResult `json:"CateResult,omitempty" xml:"CateResult,omitempty" type:"Repeated"`
}

func (ImageCategoryResponseBodyData) GoString

func (*ImageCategoryResponseBodyData) SetCateResult

func (ImageCategoryResponseBodyData) String

type ImageCategoryResponseBodyDataCateResult

type ImageCategoryResponseBodyDataCateResult struct {
	Id    *int64   `json:"Id,omitempty" xml:"Id,omitempty"`
	Name  *string  `json:"Name,omitempty" xml:"Name,omitempty"`
	Score *float32 `json:"Score,omitempty" xml:"Score,omitempty"`
}

func (ImageCategoryResponseBodyDataCateResult) GoString

func (*ImageCategoryResponseBodyDataCateResult) SetId

func (*ImageCategoryResponseBodyDataCateResult) SetName

func (*ImageCategoryResponseBodyDataCateResult) SetScore

func (ImageCategoryResponseBodyDataCateResult) String

type ImageDuplicationRequest

type ImageDuplicationRequest struct {
	ImageHeight    *int64  `json:"ImageHeight,omitempty" xml:"ImageHeight,omitempty"`
	ImageWidth     *int64  `json:"ImageWidth,omitempty" xml:"ImageWidth,omitempty"`
	InstanceName   *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	OutputImageNum *int64  `json:"OutputImageNum,omitempty" xml:"OutputImageNum,omitempty"`
	PicNumList     *string `json:"PicNumList,omitempty" xml:"PicNumList,omitempty"`
	PicUrlList     *string `json:"PicUrlList,omitempty" xml:"PicUrlList,omitempty"`
}

func (ImageDuplicationRequest) GoString

func (s ImageDuplicationRequest) GoString() string

func (*ImageDuplicationRequest) SetImageHeight

func (*ImageDuplicationRequest) SetImageWidth

func (*ImageDuplicationRequest) SetInstanceName

func (*ImageDuplicationRequest) SetOutputImageNum

func (s *ImageDuplicationRequest) SetOutputImageNum(v int64) *ImageDuplicationRequest

func (*ImageDuplicationRequest) SetPicNumList

func (*ImageDuplicationRequest) SetPicUrlList

func (ImageDuplicationRequest) String

func (s ImageDuplicationRequest) String() string

type ImageDuplicationResponse

type ImageDuplicationResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ImageDuplicationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ImageDuplicationResponse) GoString

func (s ImageDuplicationResponse) GoString() string

func (*ImageDuplicationResponse) SetBody

func (*ImageDuplicationResponse) SetHeaders

func (*ImageDuplicationResponse) SetStatusCode

func (ImageDuplicationResponse) String

func (s ImageDuplicationResponse) String() string

type ImageDuplicationResponseBody

type ImageDuplicationResponseBody struct {
	Code      *int32    `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      []*string `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	Message   *string   `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string   `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool     `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ImageDuplicationResponseBody) GoString

func (s ImageDuplicationResponseBody) GoString() string

func (*ImageDuplicationResponseBody) SetCode

func (*ImageDuplicationResponseBody) SetData

func (*ImageDuplicationResponseBody) SetMessage

func (*ImageDuplicationResponseBody) SetRequestId

func (*ImageDuplicationResponseBody) SetSuccess

func (ImageDuplicationResponseBody) String

type ImagePropertyRequest

type ImagePropertyRequest struct {
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	PicUrl       *string `json:"PicUrl,omitempty" xml:"PicUrl,omitempty"`
}

func (ImagePropertyRequest) GoString

func (s ImagePropertyRequest) GoString() string

func (*ImagePropertyRequest) SetInstanceName

func (s *ImagePropertyRequest) SetInstanceName(v string) *ImagePropertyRequest

func (*ImagePropertyRequest) SetPicUrl

func (ImagePropertyRequest) String

func (s ImagePropertyRequest) String() string

type ImagePropertyResponse

type ImagePropertyResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ImagePropertyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ImagePropertyResponse) GoString

func (s ImagePropertyResponse) GoString() string

func (*ImagePropertyResponse) SetBody

func (*ImagePropertyResponse) SetHeaders

func (*ImagePropertyResponse) SetStatusCode

func (s *ImagePropertyResponse) SetStatusCode(v int32) *ImagePropertyResponse

func (ImagePropertyResponse) String

func (s ImagePropertyResponse) String() string

type ImagePropertyResponseBody

type ImagePropertyResponseBody struct {
	Code      *int32                         `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *ImagePropertyResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                        `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                        `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                          `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ImagePropertyResponseBody) GoString

func (s ImagePropertyResponseBody) GoString() string

func (*ImagePropertyResponseBody) SetCode

func (*ImagePropertyResponseBody) SetData

func (*ImagePropertyResponseBody) SetMessage

func (*ImagePropertyResponseBody) SetRequestId

func (*ImagePropertyResponseBody) SetSuccess

func (ImagePropertyResponseBody) String

func (s ImagePropertyResponseBody) String() string

type ImagePropertyResponseBodyData

type ImagePropertyResponseBodyData struct {
	PropertyResults []*ImagePropertyResponseBodyDataPropertyResults `json:"PropertyResults,omitempty" xml:"PropertyResults,omitempty" type:"Repeated"`
}

func (ImagePropertyResponseBodyData) GoString

func (ImagePropertyResponseBodyData) String

type ImagePropertyResponseBodyDataPropertyResults

type ImagePropertyResponseBodyDataPropertyResults struct {
	PropertyId   *string                                               `json:"PropertyId,omitempty" xml:"PropertyId,omitempty"`
	PropertyName *string                                               `json:"PropertyName,omitempty" xml:"PropertyName,omitempty"`
	Values       []*ImagePropertyResponseBodyDataPropertyResultsValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Repeated"`
}

func (ImagePropertyResponseBodyDataPropertyResults) GoString

func (*ImagePropertyResponseBodyDataPropertyResults) SetPropertyId

func (*ImagePropertyResponseBodyDataPropertyResults) SetPropertyName

func (ImagePropertyResponseBodyDataPropertyResults) String

type ImagePropertyResponseBodyDataPropertyResultsValues

type ImagePropertyResponseBodyDataPropertyResultsValues struct {
	Probability *float32 `json:"Probability,omitempty" xml:"Probability,omitempty"`
	ValueId     *string  `json:"ValueId,omitempty" xml:"ValueId,omitempty"`
	ValueName   *string  `json:"ValueName,omitempty" xml:"ValueName,omitempty"`
}

func (ImagePropertyResponseBodyDataPropertyResultsValues) GoString

func (*ImagePropertyResponseBodyDataPropertyResultsValues) SetProbability

func (*ImagePropertyResponseBodyDataPropertyResultsValues) SetValueId

func (*ImagePropertyResponseBodyDataPropertyResultsValues) SetValueName

func (ImagePropertyResponseBodyDataPropertyResultsValues) String

type ImageSegmentationAdvanceRequest

type ImageSegmentationAdvanceRequest struct {
	InstanceName     *string   `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	PicContentObject io.Reader `json:"PicContent,omitempty" xml:"PicContent,omitempty"`
	ReturnPicFormat  *string   `json:"ReturnPicFormat,omitempty" xml:"ReturnPicFormat,omitempty"`
	ReturnPicType    *string   `json:"ReturnPicType,omitempty" xml:"ReturnPicType,omitempty"`
}

func (ImageSegmentationAdvanceRequest) GoString

func (*ImageSegmentationAdvanceRequest) SetInstanceName

func (*ImageSegmentationAdvanceRequest) SetPicContentObject

func (*ImageSegmentationAdvanceRequest) SetReturnPicFormat

func (*ImageSegmentationAdvanceRequest) SetReturnPicType

func (ImageSegmentationAdvanceRequest) String

type ImageSegmentationRequest

type ImageSegmentationRequest struct {
	InstanceName    *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	PicContent      *string `json:"PicContent,omitempty" xml:"PicContent,omitempty"`
	ReturnPicFormat *string `json:"ReturnPicFormat,omitempty" xml:"ReturnPicFormat,omitempty"`
	ReturnPicType   *string `json:"ReturnPicType,omitempty" xml:"ReturnPicType,omitempty"`
}

func (ImageSegmentationRequest) GoString

func (s ImageSegmentationRequest) GoString() string

func (*ImageSegmentationRequest) SetInstanceName

func (*ImageSegmentationRequest) SetPicContent

func (*ImageSegmentationRequest) SetReturnPicFormat

func (s *ImageSegmentationRequest) SetReturnPicFormat(v string) *ImageSegmentationRequest

func (*ImageSegmentationRequest) SetReturnPicType

func (ImageSegmentationRequest) String

func (s ImageSegmentationRequest) String() string

type ImageSegmentationResponse

type ImageSegmentationResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ImageSegmentationResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ImageSegmentationResponse) GoString

func (s ImageSegmentationResponse) GoString() string

func (*ImageSegmentationResponse) SetBody

func (*ImageSegmentationResponse) SetHeaders

func (*ImageSegmentationResponse) SetStatusCode

func (ImageSegmentationResponse) String

func (s ImageSegmentationResponse) String() string

type ImageSegmentationResponseBody

type ImageSegmentationResponseBody struct {
	Code      *int32                             `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *ImageSegmentationResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                            `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                            `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                              `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ImageSegmentationResponseBody) GoString

func (*ImageSegmentationResponseBody) SetCode

func (*ImageSegmentationResponseBody) SetData

func (*ImageSegmentationResponseBody) SetMessage

func (*ImageSegmentationResponseBody) SetRequestId

func (*ImageSegmentationResponseBody) SetSuccess

func (ImageSegmentationResponseBody) String

type ImageSegmentationResponseBodyData

type ImageSegmentationResponseBodyData struct {
	PicUrl *string `json:"PicUrl,omitempty" xml:"PicUrl,omitempty"`
}

func (ImageSegmentationResponseBodyData) GoString

func (*ImageSegmentationResponseBodyData) SetPicUrl

func (ImageSegmentationResponseBodyData) String

Jump to

Keyboard shortcuts

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