model

package
v0.0.43-rc Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CelebrityRecognitionReq

type CelebrityRecognitionReq struct {
	Image *string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	Threshold *float32 `json:"threshold,omitempty"`
}

func (CelebrityRecognitionReq) String

func (o CelebrityRecognitionReq) String() string

type CelebrityRecognitionResultBody

type CelebrityRecognitionResultBody struct {
	Confidence *float32 `json:"confidence,omitempty"`

	FaceDetail *interface{} `json:"face_detail,omitempty"`

	Label *string `json:"label,omitempty"`
}

func (CelebrityRecognitionResultBody) String

type ImageTaggingBody

type ImageTaggingBody struct {
	Tags *[]ImageTaggingItemBody `json:"tags,omitempty"`
}

This is a auto create Response Object

func (ImageTaggingBody) String

func (o ImageTaggingBody) String() string

type ImageTaggingI18nTag

type ImageTaggingI18nTag struct {
	Zh *string `json:"zh,omitempty"`

	En *string `json:"en,omitempty"`
}

func (ImageTaggingI18nTag) String

func (o ImageTaggingI18nTag) String() string

type ImageTaggingItemBody

type ImageTaggingItemBody struct {
	Confidence *string `json:"confidence,omitempty"`

	Type *string `json:"type,omitempty"`

	Tag *string `json:"tag,omitempty"`

	I18nTag *ImageTaggingI18nTag `json:"i18n_tag,omitempty"`
}

func (ImageTaggingItemBody) String

func (o ImageTaggingItemBody) String() string

type ImageTaggingReq

type ImageTaggingReq struct {
	Image string `json:"image,omitempty"`

	Url *string `json:"url,omitempty"`

	Language *string `json:"language,omitempty"`

	Threshold *float32 `json:"threshold,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

This is a auto create Body Object

func (ImageTaggingReq) String

func (o ImageTaggingReq) String() string

type RunCelebrityRecognitionRequest

type RunCelebrityRecognitionRequest struct {
	Body *CelebrityRecognitionReq `json:"body,omitempty"`
}

Request Object

func (RunCelebrityRecognitionRequest) String

type RunCelebrityRecognitionResponse

type RunCelebrityRecognitionResponse struct {
	Result         *[]CelebrityRecognitionResultBody `json:"result,omitempty"`
	HttpStatusCode int                               `json:"-"`
}

Response Object

func (RunCelebrityRecognitionResponse) String

type RunImageTaggingRequest

type RunImageTaggingRequest struct {
	Body *ImageTaggingReq `json:"body,omitempty"`
}

Request Object

func (RunImageTaggingRequest) String

func (o RunImageTaggingRequest) String() string

type RunImageTaggingResponse

type RunImageTaggingResponse struct {
	Result         *ImageTaggingBody `json:"result,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (RunImageTaggingResponse) String

func (o RunImageTaggingResponse) String() string

Jump to

Keyboard shortcuts

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