client

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 5 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 AddImageRequest

type AddImageRequest struct {
	CategoryId    *int32  `json:"CategoryId,omitempty" xml:"CategoryId,omitempty"`
	Crop          *bool   `json:"Crop,omitempty" xml:"Crop,omitempty"`
	CustomContent *string `json:"CustomContent,omitempty" xml:"CustomContent,omitempty"`
	InstanceName  *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	IntAttr       *int32  `json:"IntAttr,omitempty" xml:"IntAttr,omitempty"`
	PicContent    *string `json:"PicContent,omitempty" xml:"PicContent,omitempty"`
	PicName       *string `json:"PicName,omitempty" xml:"PicName,omitempty"`
	ProductId     *string `json:"ProductId,omitempty" xml:"ProductId,omitempty"`
	Region        *string `json:"Region,omitempty" xml:"Region,omitempty"`
	StrAttr       *string `json:"StrAttr,omitempty" xml:"StrAttr,omitempty"`
}

func (AddImageRequest) GoString

func (s AddImageRequest) GoString() string

func (*AddImageRequest) SetCategoryId

func (s *AddImageRequest) SetCategoryId(v int32) *AddImageRequest

func (*AddImageRequest) SetCrop

func (s *AddImageRequest) SetCrop(v bool) *AddImageRequest

func (*AddImageRequest) SetCustomContent

func (s *AddImageRequest) SetCustomContent(v string) *AddImageRequest

func (*AddImageRequest) SetInstanceName

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

func (*AddImageRequest) SetIntAttr

func (s *AddImageRequest) SetIntAttr(v int32) *AddImageRequest

func (*AddImageRequest) SetPicContent

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

func (*AddImageRequest) SetPicName

func (s *AddImageRequest) SetPicName(v string) *AddImageRequest

func (*AddImageRequest) SetProductId

func (s *AddImageRequest) SetProductId(v string) *AddImageRequest

func (*AddImageRequest) SetRegion

func (s *AddImageRequest) SetRegion(v string) *AddImageRequest

func (*AddImageRequest) SetStrAttr

func (s *AddImageRequest) SetStrAttr(v string) *AddImageRequest

func (AddImageRequest) String

func (s AddImageRequest) String() string

type AddImageResponse

type AddImageResponse struct {
	Headers    map[string]*string    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AddImageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AddImageResponse) GoString

func (s AddImageResponse) GoString() string

func (*AddImageResponse) SetBody

func (*AddImageResponse) SetHeaders

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

func (*AddImageResponse) SetStatusCode

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

func (AddImageResponse) String

func (s AddImageResponse) String() string

type AddImageResponseBody

type AddImageResponseBody struct {
	Code      *int32                       `json:"Code,omitempty" xml:"Code,omitempty"`
	Message   *string                      `json:"Message,omitempty" xml:"Message,omitempty"`
	PicInfo   *AddImageResponseBodyPicInfo `json:"PicInfo,omitempty" xml:"PicInfo,omitempty" type:"Struct"`
	RequestId *string                      `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                        `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (AddImageResponseBody) GoString

func (s AddImageResponseBody) GoString() string

func (*AddImageResponseBody) SetCode

func (*AddImageResponseBody) SetMessage

func (*AddImageResponseBody) SetPicInfo

func (*AddImageResponseBody) SetRequestId

func (s *AddImageResponseBody) SetRequestId(v string) *AddImageResponseBody

func (*AddImageResponseBody) SetSuccess

func (AddImageResponseBody) String

func (s AddImageResponseBody) String() string

type AddImageResponseBodyPicInfo

type AddImageResponseBodyPicInfo struct {
	CategoryId *int32  `json:"CategoryId,omitempty" xml:"CategoryId,omitempty"`
	Region     *string `json:"Region,omitempty" xml:"Region,omitempty"`
}

func (AddImageResponseBodyPicInfo) GoString

func (s AddImageResponseBodyPicInfo) GoString() string

func (*AddImageResponseBodyPicInfo) SetCategoryId

func (*AddImageResponseBodyPicInfo) SetRegion

func (AddImageResponseBodyPicInfo) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) AddImage

func (client *Client) AddImage(request *AddImageRequest) (_result *AddImageResponse, _err error)

func (*Client) AddImageWithOptions

func (client *Client) AddImageWithOptions(request *AddImageRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *AddImageResponse, _err error)

func (*Client) DeleteImage

func (client *Client) DeleteImage(request *DeleteImageRequest) (_result *DeleteImageResponse, _err error)

func (*Client) DeleteImageWithOptions

func (client *Client) DeleteImageWithOptions(request *DeleteImageRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteImageResponse, _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) Init

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

func (*Client) SearchImage

func (client *Client) SearchImage(request *SearchImageRequest) (_result *SearchImageResponse, _err error)

func (*Client) SearchImageWithOptions

func (client *Client) SearchImageWithOptions(request *SearchImageRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SearchImageResponse, _err error)

type DeleteImageRequest

type DeleteImageRequest struct {
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	PicName      *string `json:"PicName,omitempty" xml:"PicName,omitempty"`
	ProductId    *string `json:"ProductId,omitempty" xml:"ProductId,omitempty"`
}

func (DeleteImageRequest) GoString

func (s DeleteImageRequest) GoString() string

func (*DeleteImageRequest) SetInstanceName

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

func (*DeleteImageRequest) SetPicName

func (s *DeleteImageRequest) SetPicName(v string) *DeleteImageRequest

func (*DeleteImageRequest) SetProductId

func (s *DeleteImageRequest) SetProductId(v string) *DeleteImageRequest

func (DeleteImageRequest) String

func (s DeleteImageRequest) String() string

type DeleteImageResponse

type DeleteImageResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteImageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteImageResponse) GoString

func (s DeleteImageResponse) GoString() string

func (*DeleteImageResponse) SetBody

func (*DeleteImageResponse) SetHeaders

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

func (*DeleteImageResponse) SetStatusCode

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

func (DeleteImageResponse) String

func (s DeleteImageResponse) String() string

type DeleteImageResponseBody

type DeleteImageResponseBody struct {
	Code      *int32  `json:"Code,omitempty" xml:"Code,omitempty"`
	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 (DeleteImageResponseBody) GoString

func (s DeleteImageResponseBody) GoString() string

func (*DeleteImageResponseBody) SetCode

func (*DeleteImageResponseBody) SetMessage

func (*DeleteImageResponseBody) SetRequestId

func (*DeleteImageResponseBody) SetSuccess

func (DeleteImageResponseBody) String

func (s DeleteImageResponseBody) String() string

type SearchImageRequest

type SearchImageRequest struct {
	CategoryId   *int32  `json:"CategoryId,omitempty" xml:"CategoryId,omitempty"`
	Crop         *bool   `json:"Crop,omitempty" xml:"Crop,omitempty"`
	Filter       *string `json:"Filter,omitempty" xml:"Filter,omitempty"`
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	Num          *int32  `json:"Num,omitempty" xml:"Num,omitempty"`
	PicContent   *string `json:"PicContent,omitempty" xml:"PicContent,omitempty"`
	PicName      *string `json:"PicName,omitempty" xml:"PicName,omitempty"`
	ProductId    *string `json:"ProductId,omitempty" xml:"ProductId,omitempty"`
	Region       *string `json:"Region,omitempty" xml:"Region,omitempty"`
	Start        *int32  `json:"Start,omitempty" xml:"Start,omitempty"`
	Type         *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (SearchImageRequest) GoString

func (s SearchImageRequest) GoString() string

func (*SearchImageRequest) SetCategoryId

func (s *SearchImageRequest) SetCategoryId(v int32) *SearchImageRequest

func (*SearchImageRequest) SetCrop

func (*SearchImageRequest) SetFilter

func (s *SearchImageRequest) SetFilter(v string) *SearchImageRequest

func (*SearchImageRequest) SetInstanceName

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

func (*SearchImageRequest) SetNum

func (*SearchImageRequest) SetPicContent

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

func (*SearchImageRequest) SetPicName

func (s *SearchImageRequest) SetPicName(v string) *SearchImageRequest

func (*SearchImageRequest) SetProductId

func (s *SearchImageRequest) SetProductId(v string) *SearchImageRequest

func (*SearchImageRequest) SetRegion

func (s *SearchImageRequest) SetRegion(v string) *SearchImageRequest

func (*SearchImageRequest) SetStart

func (*SearchImageRequest) SetType

func (SearchImageRequest) String

func (s SearchImageRequest) String() string

type SearchImageResponse

type SearchImageResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *SearchImageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (SearchImageResponse) GoString

func (s SearchImageResponse) GoString() string

func (*SearchImageResponse) SetBody

func (*SearchImageResponse) SetHeaders

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

func (*SearchImageResponse) SetStatusCode

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

func (SearchImageResponse) String

func (s SearchImageResponse) String() string

type SearchImageResponseBody

type SearchImageResponseBody struct {
	Auctions  []*SearchImageResponseBodyAuctions `json:"Auctions,omitempty" xml:"Auctions,omitempty" type:"Repeated"`
	Code      *int32                             `json:"Code,omitempty" xml:"Code,omitempty"`
	Head      *SearchImageResponseBodyHead       `json:"Head,omitempty" xml:"Head,omitempty" type:"Struct"`
	Msg       *string                            `json:"Msg,omitempty" xml:"Msg,omitempty"`
	PicInfo   *SearchImageResponseBodyPicInfo    `json:"PicInfo,omitempty" xml:"PicInfo,omitempty" type:"Struct"`
	RequestId *string                            `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success   *bool                              `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (SearchImageResponseBody) GoString

func (s SearchImageResponseBody) GoString() string

func (*SearchImageResponseBody) SetAuctions

func (*SearchImageResponseBody) SetCode

func (*SearchImageResponseBody) SetHead

func (*SearchImageResponseBody) SetMsg

func (*SearchImageResponseBody) SetPicInfo

func (*SearchImageResponseBody) SetRequestId

func (*SearchImageResponseBody) SetSuccess

func (SearchImageResponseBody) String

func (s SearchImageResponseBody) String() string

type SearchImageResponseBodyAuctions

type SearchImageResponseBodyAuctions struct {
	CategoryId     *int32   `json:"CategoryId,omitempty" xml:"CategoryId,omitempty"`
	CustomContent  *string  `json:"CustomContent,omitempty" xml:"CustomContent,omitempty"`
	IntAttr        *int32   `json:"IntAttr,omitempty" xml:"IntAttr,omitempty"`
	PicName        *string  `json:"PicName,omitempty" xml:"PicName,omitempty"`
	ProductId      *string  `json:"ProductId,omitempty" xml:"ProductId,omitempty"`
	Score          *float32 `json:"Score,omitempty" xml:"Score,omitempty"`
	SortExprValues *string  `json:"SortExprValues,omitempty" xml:"SortExprValues,omitempty"`
	StrAttr        *string  `json:"StrAttr,omitempty" xml:"StrAttr,omitempty"`
}

func (SearchImageResponseBodyAuctions) GoString

func (*SearchImageResponseBodyAuctions) SetCategoryId

func (*SearchImageResponseBodyAuctions) SetCustomContent

func (*SearchImageResponseBodyAuctions) SetIntAttr

func (*SearchImageResponseBodyAuctions) SetPicName

func (*SearchImageResponseBodyAuctions) SetProductId

func (*SearchImageResponseBodyAuctions) SetScore added in v3.0.1

func (*SearchImageResponseBodyAuctions) SetSortExprValues

func (*SearchImageResponseBodyAuctions) SetStrAttr

func (SearchImageResponseBodyAuctions) String

type SearchImageResponseBodyHead

type SearchImageResponseBodyHead struct {
	DocsFound  *int32 `json:"DocsFound,omitempty" xml:"DocsFound,omitempty"`
	DocsReturn *int32 `json:"DocsReturn,omitempty" xml:"DocsReturn,omitempty"`
	SearchTime *int32 `json:"SearchTime,omitempty" xml:"SearchTime,omitempty"`
}

func (SearchImageResponseBodyHead) GoString

func (s SearchImageResponseBodyHead) GoString() string

func (*SearchImageResponseBodyHead) SetDocsFound

func (*SearchImageResponseBodyHead) SetDocsReturn

func (*SearchImageResponseBodyHead) SetSearchTime

func (SearchImageResponseBodyHead) String

type SearchImageResponseBodyPicInfo

type SearchImageResponseBodyPicInfo struct {
	AllCategories []*SearchImageResponseBodyPicInfoAllCategories `json:"AllCategories,omitempty" xml:"AllCategories,omitempty" type:"Repeated"`
	CategoryId    *int32                                         `json:"CategoryId,omitempty" xml:"CategoryId,omitempty"`
	MultiRegion   []*SearchImageResponseBodyPicInfoMultiRegion   `json:"MultiRegion,omitempty" xml:"MultiRegion,omitempty" type:"Repeated"`
	Region        *string                                        `json:"Region,omitempty" xml:"Region,omitempty"`
}

func (SearchImageResponseBodyPicInfo) GoString

func (*SearchImageResponseBodyPicInfo) SetCategoryId

func (*SearchImageResponseBodyPicInfo) SetMultiRegion added in v3.0.1

func (*SearchImageResponseBodyPicInfo) SetRegion

func (SearchImageResponseBodyPicInfo) String

type SearchImageResponseBodyPicInfoAllCategories

type SearchImageResponseBodyPicInfoAllCategories struct {
	Id   *int32  `json:"Id,omitempty" xml:"Id,omitempty"`
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
}

func (SearchImageResponseBodyPicInfoAllCategories) GoString

func (*SearchImageResponseBodyPicInfoAllCategories) SetId

func (*SearchImageResponseBodyPicInfoAllCategories) SetName

func (SearchImageResponseBodyPicInfoAllCategories) String

type SearchImageResponseBodyPicInfoMultiRegion added in v3.0.1

type SearchImageResponseBodyPicInfoMultiRegion struct {
	Region *string `json:"Region,omitempty" xml:"Region,omitempty"`
}

func (SearchImageResponseBodyPicInfoMultiRegion) GoString added in v3.0.1

func (*SearchImageResponseBodyPicInfoMultiRegion) SetRegion added in v3.0.1

func (SearchImageResponseBodyPicInfoMultiRegion) String added in v3.0.1

Jump to

Keyboard shortcuts

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