client

package
v2.0.1 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: 5 Imported by: 47

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 AuthorizeFileUploadRequest

type AuthorizeFileUploadRequest struct {
	Product  *string `json:"Product,omitempty" xml:"Product,omitempty"`
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (AuthorizeFileUploadRequest) GoString

func (s AuthorizeFileUploadRequest) GoString() string

func (*AuthorizeFileUploadRequest) SetProduct

func (*AuthorizeFileUploadRequest) SetRegionId

func (AuthorizeFileUploadRequest) String

type AuthorizeFileUploadResponse

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

func (AuthorizeFileUploadResponse) GoString

func (s AuthorizeFileUploadResponse) GoString() string

func (*AuthorizeFileUploadResponse) SetBody

func (*AuthorizeFileUploadResponse) SetHeaders

func (*AuthorizeFileUploadResponse) SetStatusCode

func (AuthorizeFileUploadResponse) String

type AuthorizeFileUploadResponseBody

type AuthorizeFileUploadResponseBody struct {
	AccessKeyId   *string `json:"AccessKeyId,omitempty" xml:"AccessKeyId,omitempty"`
	Bucket        *string `json:"Bucket,omitempty" xml:"Bucket,omitempty"`
	EncodedPolicy *string `json:"EncodedPolicy,omitempty" xml:"EncodedPolicy,omitempty"`
	Endpoint      *string `json:"Endpoint,omitempty" xml:"Endpoint,omitempty"`
	ObjectKey     *string `json:"ObjectKey,omitempty" xml:"ObjectKey,omitempty"`
	RequestId     *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Signature     *string `json:"Signature,omitempty" xml:"Signature,omitempty"`
	UseAccelerate *bool   `json:"UseAccelerate,omitempty" xml:"UseAccelerate,omitempty"`
}

func (AuthorizeFileUploadResponseBody) GoString

func (*AuthorizeFileUploadResponseBody) SetAccessKeyId

func (*AuthorizeFileUploadResponseBody) SetBucket

func (*AuthorizeFileUploadResponseBody) SetEncodedPolicy

func (*AuthorizeFileUploadResponseBody) SetEndpoint

func (*AuthorizeFileUploadResponseBody) SetObjectKey

func (*AuthorizeFileUploadResponseBody) SetRequestId

func (*AuthorizeFileUploadResponseBody) SetSignature

func (*AuthorizeFileUploadResponseBody) SetUseAccelerate

func (AuthorizeFileUploadResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) AuthorizeFileUpload

func (client *Client) AuthorizeFileUpload(request *AuthorizeFileUploadRequest) (_result *AuthorizeFileUploadResponse, _err error)

func (*Client) AuthorizeFileUploadWithOptions

func (client *Client) AuthorizeFileUploadWithOptions(request *AuthorizeFileUploadRequest, runtime *util.RuntimeOptions) (_result *AuthorizeFileUploadResponse, _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)

Jump to

Keyboard shortcuts

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