Documentation
¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type ActivateLicenseRequest
- type ActivateLicenseResponse
- type BindImagePackageRequest
- type BindImagePackageResponse
- type Categories
- type Category
- type ChildCategories
- type ChildCategory
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) ActivateLicense(request *ActivateLicenseRequest) (response *ActivateLicenseResponse, err error)
- func (client *Client) ActivateLicenseWithCallback(request *ActivateLicenseRequest, ...) <-chan int
- func (client *Client) ActivateLicenseWithChan(request *ActivateLicenseRequest) (<-chan *ActivateLicenseResponse, <-chan error)
- func (client *Client) BindImagePackage(request *BindImagePackageRequest) (response *BindImagePackageResponse, err error)
- func (client *Client) BindImagePackageWithCallback(request *BindImagePackageRequest, ...) <-chan int
- func (client *Client) BindImagePackageWithChan(request *BindImagePackageRequest) (<-chan *BindImagePackageResponse, <-chan error)
- func (client *Client) CreateCommodity(request *CreateCommodityRequest) (response *CreateCommodityResponse, err error)
- func (client *Client) CreateCommodityWithCallback(request *CreateCommodityRequest, ...) <-chan int
- func (client *Client) CreateCommodityWithChan(request *CreateCommodityRequest) (<-chan *CreateCommodityResponse, <-chan error)
- func (client *Client) CreateOrder(request *CreateOrderRequest) (response *CreateOrderResponse, err error)
- func (client *Client) CreateOrderWithCallback(request *CreateOrderRequest, ...) <-chan int
- func (client *Client) CreateOrderWithChan(request *CreateOrderRequest) (<-chan *CreateOrderResponse, <-chan error)
- func (client *Client) CreateRate(request *CreateRateRequest) (response *CreateRateResponse, err error)
- func (client *Client) CreateRateWithCallback(request *CreateRateRequest, ...) <-chan int
- func (client *Client) CreateRateWithChan(request *CreateRateRequest) (<-chan *CreateRateResponse, <-chan error)
- func (client *Client) DeleteCommodity(request *DeleteCommodityRequest) (response *DeleteCommodityResponse, err error)
- func (client *Client) DeleteCommodityWithCallback(request *DeleteCommodityRequest, ...) <-chan int
- func (client *Client) DeleteCommodityWithChan(request *DeleteCommodityRequest) (<-chan *DeleteCommodityResponse, <-chan error)
- func (client *Client) DescribeCommodities(request *DescribeCommoditiesRequest) (response *DescribeCommoditiesResponse, err error)
- func (client *Client) DescribeCommoditiesWithCallback(request *DescribeCommoditiesRequest, ...) <-chan int
- func (client *Client) DescribeCommoditiesWithChan(request *DescribeCommoditiesRequest) (<-chan *DescribeCommoditiesResponse, <-chan error)
- func (client *Client) DescribeCommodity(request *DescribeCommodityRequest) (response *DescribeCommodityResponse, err error)
- func (client *Client) DescribeCommodityWithCallback(request *DescribeCommodityRequest, ...) <-chan int
- func (client *Client) DescribeCommodityWithChan(request *DescribeCommodityRequest) (<-chan *DescribeCommodityResponse, <-chan error)
- func (client *Client) DescribeInstance(request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
- func (client *Client) DescribeInstanceWithCallback(request *DescribeInstanceRequest, ...) <-chan int
- func (client *Client) DescribeInstanceWithChan(request *DescribeInstanceRequest) (<-chan *DescribeInstanceResponse, <-chan error)
- func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRequest, ...) <-chan int
- func (client *Client) DescribeInstancesWithChan(request *DescribeInstancesRequest) (<-chan *DescribeInstancesResponse, <-chan error)
- func (client *Client) DescribeLicense(request *DescribeLicenseRequest) (response *DescribeLicenseResponse, err error)
- func (client *Client) DescribeLicenseWithCallback(request *DescribeLicenseRequest, ...) <-chan int
- func (client *Client) DescribeLicenseWithChan(request *DescribeLicenseRequest) (<-chan *DescribeLicenseResponse, <-chan error)
- func (client *Client) DescribeOrder(request *DescribeOrderRequest) (response *DescribeOrderResponse, err error)
- func (client *Client) DescribeOrderWithCallback(request *DescribeOrderRequest, ...) <-chan int
- func (client *Client) DescribeOrderWithChan(request *DescribeOrderRequest) (<-chan *DescribeOrderResponse, <-chan error)
- func (client *Client) DescribePrice(request *DescribePriceRequest) (response *DescribePriceResponse, err error)
- func (client *Client) DescribePriceWithCallback(request *DescribePriceRequest, ...) <-chan int
- func (client *Client) DescribePriceWithChan(request *DescribePriceRequest) (<-chan *DescribePriceResponse, <-chan error)
- func (client *Client) DescribeProduct(request *DescribeProductRequest) (response *DescribeProductResponse, err error)
- func (client *Client) DescribeProductWithCallback(request *DescribeProductRequest, ...) <-chan int
- func (client *Client) DescribeProductWithChan(request *DescribeProductRequest) (<-chan *DescribeProductResponse, <-chan error)
- func (client *Client) DescribeProducts(request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)
- func (client *Client) DescribeProductsWithCallback(request *DescribeProductsRequest, ...) <-chan int
- func (client *Client) DescribeProductsWithChan(request *DescribeProductsRequest) (<-chan *DescribeProductsResponse, <-chan error)
- func (client *Client) DescribeRate(request *DescribeRateRequest) (response *DescribeRateResponse, err error)
- func (client *Client) DescribeRateWithCallback(request *DescribeRateRequest, ...) <-chan int
- func (client *Client) DescribeRateWithChan(request *DescribeRateRequest) (<-chan *DescribeRateResponse, <-chan error)
- func (client *Client) NotifyContractEvent(request *NotifyContractEventRequest) (response *NotifyContractEventResponse, err error)
- func (client *Client) NotifyContractEventWithCallback(request *NotifyContractEventRequest, ...) <-chan int
- func (client *Client) NotifyContractEventWithChan(request *NotifyContractEventRequest) (<-chan *NotifyContractEventResponse, <-chan error)
- func (client *Client) PushMeteringData(request *PushMeteringDataRequest) (response *PushMeteringDataResponse, err error)
- func (client *Client) PushMeteringDataWithCallback(request *PushMeteringDataRequest, ...) <-chan int
- func (client *Client) PushMeteringDataWithChan(request *PushMeteringDataRequest) (<-chan *PushMeteringDataResponse, <-chan error)
- func (client *Client) QueryMarketCategories(request *QueryMarketCategoriesRequest) (response *QueryMarketCategoriesResponse, err error)
- func (client *Client) QueryMarketCategoriesWithCallback(request *QueryMarketCategoriesRequest, ...) <-chan int
- func (client *Client) QueryMarketCategoriesWithChan(request *QueryMarketCategoriesRequest) (<-chan *QueryMarketCategoriesResponse, <-chan error)
- func (client *Client) QueryMarketImages(request *QueryMarketImagesRequest) (response *QueryMarketImagesResponse, err error)
- func (client *Client) QueryMarketImagesWithCallback(request *QueryMarketImagesRequest, ...) <-chan int
- func (client *Client) QueryMarketImagesWithChan(request *QueryMarketImagesRequest) (<-chan *QueryMarketImagesResponse, <-chan error)
- func (client *Client) UpdateCommodity(request *UpdateCommodityRequest) (response *UpdateCommodityResponse, err error)
- func (client *Client) UpdateCommodityWithCallback(request *UpdateCommodityRequest, ...) <-chan int
- func (client *Client) UpdateCommodityWithChan(request *UpdateCommodityRequest) (<-chan *UpdateCommodityResponse, <-chan error)
- func (client *Client) UploadCommodityFile(request *UploadCommodityFileRequest) (response *UploadCommodityFileResponse, err error)
- func (client *Client) UploadCommodityFileWithCallback(request *UploadCommodityFileRequest, ...) <-chan int
- func (client *Client) UploadCommodityFileWithChan(request *UploadCommodityFileRequest) (<-chan *UploadCommodityFileResponse, <-chan error)
- type Commodities
- type Commodity
- type CreateCommodityRequest
- type CreateCommodityResponse
- type CreateOrderRequest
- type CreateOrderResponse
- type CreateRateRequest
- type CreateRateResponse
- type Data
- type DeleteCommodityRequest
- type DeleteCommodityResponse
- type DescribeCommoditiesRequest
- type DescribeCommoditiesResponse
- type DescribeCommodityRequest
- type DescribeCommodityResponse
- type DescribeInstanceRequest
- type DescribeInstanceResponse
- type DescribeInstancesRequest
- type DescribeInstancesResponse
- type DescribeLicenseRequest
- type DescribeLicenseResponse
- type DescribeOrderRequest
- type DescribeOrderResponse
- type DescribePriceRequest
- type DescribePriceResponse
- type DescribeProductRequest
- type DescribeProductResponse
- type DescribeProductsFilter
- type DescribeProductsRequest
- type DescribeProductsResponse
- type DescribeRateRequest
- type DescribeRateResponse
- type DiskDeviceMapping
- type DiskDeviceMappings
- type ExtendArray
- type ExtendInfo
- type Image
- type ImageProduct
- type Images
- type InstanceIdsInCreateOrder
- type InstanceIdsInDescribeOrder
- type InstanceItem
- type InstanceItems
- type License
- type LicenseAttribute
- type Module
- type ModulesInDescribeInstance
- type ModulesInDescribeProduct
- type NotifyContractEventRequest
- type NotifyContractEventResponse
- type Order
- type OrderPeriod
- type OrderPeriods
- type Pageable
- type PriceInfo
- type ProductExtra
- type ProductExtras
- type ProductItem
- type ProductItems
- type ProductSku
- type ProductSkus
- type PromotionRule
- type PromotionRules
- type PropertiesInDescribeInstance
- type PropertiesInDescribeProduct
- type Property
- type PropertyValue
- type PropertyValuesInDescribeInstance
- type PropertyValuesInDescribeProduct
- type PushMeteringDataRequest
- type PushMeteringDataResponse
- type QueryMarketCategoriesRequest
- type QueryMarketCategoriesResponse
- type QueryMarketImagesRequest
- type QueryMarketImagesResponse
- type Quota
- type RelationalData
- type Result
- type Rule
- type RuleIdSet
- type Rules
- type ShopInfo
- type SkuCodes
- type SupplierTelephones
- type Telephones
- type UpdateCommodityRequest
- type UpdateCommodityResponse
- type UploadCommodityFileRequest
- type UploadCommodityFileResponse
- type WangWang
- type WangWangs
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
SetClientProperty Set Property by Reflect
func SetEndpointDataToClient ¶
func SetEndpointDataToClient(client *Client)
SetEndpointDataToClient Set EndpointMap and ENdpointType
Types ¶
type ActivateLicenseRequest ¶
type ActivateLicenseRequest struct {
*requests.RpcRequest
Identification string `position:"Query" name:"Identification"`
LicenseCode string `position:"Query" name:"LicenseCode"`
}
ActivateLicenseRequest is the request struct for api ActivateLicense
func CreateActivateLicenseRequest ¶
func CreateActivateLicenseRequest() (request *ActivateLicenseRequest)
CreateActivateLicenseRequest creates a request to invoke ActivateLicense API
type ActivateLicenseResponse ¶
type ActivateLicenseResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
}
ActivateLicenseResponse is the response struct for api ActivateLicense
func CreateActivateLicenseResponse ¶
func CreateActivateLicenseResponse() (response *ActivateLicenseResponse)
CreateActivateLicenseResponse creates a response to parse from ActivateLicense response
type BindImagePackageRequest ¶
type BindImagePackageRequest struct {
*requests.RpcRequest
EcsInstanceId string `position:"Query" name:"EcsInstanceId"`
ImagePackageInstanceId string `position:"Query" name:"ImagePackageInstanceId"`
}
BindImagePackageRequest is the request struct for api BindImagePackage
func CreateBindImagePackageRequest ¶
func CreateBindImagePackageRequest() (request *BindImagePackageRequest)
CreateBindImagePackageRequest creates a request to invoke BindImagePackage API
type BindImagePackageResponse ¶
type BindImagePackageResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
}
BindImagePackageResponse is the response struct for api BindImagePackage
func CreateBindImagePackageResponse ¶
func CreateBindImagePackageResponse() (response *BindImagePackageResponse)
CreateBindImagePackageResponse creates a response to parse from BindImagePackage response
type Categories ¶
type Categories struct {
Category []Category `json:"Category" xml:"Category"`
}
Categories is a nested struct in market response
type Category ¶
type Category struct {
Id int64 `json:"Id" xml:"Id"`
CategoryCode string `json:"CategoryCode" xml:"CategoryCode"`
CategoryName string `json:"CategoryName" xml:"CategoryName"`
ChildCategories ChildCategories `json:"ChildCategories" xml:"ChildCategories"`
}
Category is a nested struct in market response
type ChildCategories ¶
type ChildCategories struct {
ChildCategory []ChildCategory `json:"ChildCategory" xml:"ChildCategory"`
}
ChildCategories is a nested struct in market response
type ChildCategory ¶
type ChildCategory struct {
Id int64 `json:"Id" xml:"Id"`
CategoryCode string `json:"CategoryCode" xml:"CategoryCode"`
CategoryName string `json:"CategoryName" xml:"CategoryName"`
}
ChildCategory is a nested struct in market response
type Client ¶
type Client struct {
sdk.Client
}
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClient ¶
func NewClient() (client *Client, err error)
NewClient creates a sdk client with environment variables
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) ActivateLicense ¶
func (client *Client) ActivateLicense(request *ActivateLicenseRequest) (response *ActivateLicenseResponse, err error)
ActivateLicense invokes the market.ActivateLicense API synchronously api document: https://help.aliyun.com/api/market/activatelicense.html
func (*Client) ActivateLicenseWithCallback ¶
func (client *Client) ActivateLicenseWithCallback(request *ActivateLicenseRequest, callback func(response *ActivateLicenseResponse, err error)) <-chan int
ActivateLicenseWithCallback invokes the market.ActivateLicense API asynchronously api document: https://help.aliyun.com/api/market/activatelicense.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ActivateLicenseWithChan ¶
func (client *Client) ActivateLicenseWithChan(request *ActivateLicenseRequest) (<-chan *ActivateLicenseResponse, <-chan error)
ActivateLicenseWithChan invokes the market.ActivateLicense API asynchronously api document: https://help.aliyun.com/api/market/activatelicense.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindImagePackage ¶
func (client *Client) BindImagePackage(request *BindImagePackageRequest) (response *BindImagePackageResponse, err error)
BindImagePackage invokes the market.BindImagePackage API synchronously api document: https://help.aliyun.com/api/market/bindimagepackage.html
func (*Client) BindImagePackageWithCallback ¶
func (client *Client) BindImagePackageWithCallback(request *BindImagePackageRequest, callback func(response *BindImagePackageResponse, err error)) <-chan int
BindImagePackageWithCallback invokes the market.BindImagePackage API asynchronously api document: https://help.aliyun.com/api/market/bindimagepackage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindImagePackageWithChan ¶
func (client *Client) BindImagePackageWithChan(request *BindImagePackageRequest) (<-chan *BindImagePackageResponse, <-chan error)
BindImagePackageWithChan invokes the market.BindImagePackage API asynchronously api document: https://help.aliyun.com/api/market/bindimagepackage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateCommodity ¶
func (client *Client) CreateCommodity(request *CreateCommodityRequest) (response *CreateCommodityResponse, err error)
CreateCommodity invokes the market.CreateCommodity API synchronously api document: https://help.aliyun.com/api/market/createcommodity.html
func (*Client) CreateCommodityWithCallback ¶
func (client *Client) CreateCommodityWithCallback(request *CreateCommodityRequest, callback func(response *CreateCommodityResponse, err error)) <-chan int
CreateCommodityWithCallback invokes the market.CreateCommodity API asynchronously api document: https://help.aliyun.com/api/market/createcommodity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateCommodityWithChan ¶
func (client *Client) CreateCommodityWithChan(request *CreateCommodityRequest) (<-chan *CreateCommodityResponse, <-chan error)
CreateCommodityWithChan invokes the market.CreateCommodity API asynchronously api document: https://help.aliyun.com/api/market/createcommodity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateOrder ¶
func (client *Client) CreateOrder(request *CreateOrderRequest) (response *CreateOrderResponse, err error)
CreateOrder invokes the market.CreateOrder API synchronously api document: https://help.aliyun.com/api/market/createorder.html
func (*Client) CreateOrderWithCallback ¶
func (client *Client) CreateOrderWithCallback(request *CreateOrderRequest, callback func(response *CreateOrderResponse, err error)) <-chan int
CreateOrderWithCallback invokes the market.CreateOrder API asynchronously api document: https://help.aliyun.com/api/market/createorder.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateOrderWithChan ¶
func (client *Client) CreateOrderWithChan(request *CreateOrderRequest) (<-chan *CreateOrderResponse, <-chan error)
CreateOrderWithChan invokes the market.CreateOrder API asynchronously api document: https://help.aliyun.com/api/market/createorder.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateRate ¶
func (client *Client) CreateRate(request *CreateRateRequest) (response *CreateRateResponse, err error)
CreateRate invokes the market.CreateRate API synchronously api document: https://help.aliyun.com/api/market/createrate.html
func (*Client) CreateRateWithCallback ¶
func (client *Client) CreateRateWithCallback(request *CreateRateRequest, callback func(response *CreateRateResponse, err error)) <-chan int
CreateRateWithCallback invokes the market.CreateRate API asynchronously api document: https://help.aliyun.com/api/market/createrate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateRateWithChan ¶
func (client *Client) CreateRateWithChan(request *CreateRateRequest) (<-chan *CreateRateResponse, <-chan error)
CreateRateWithChan invokes the market.CreateRate API asynchronously api document: https://help.aliyun.com/api/market/createrate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteCommodity ¶
func (client *Client) DeleteCommodity(request *DeleteCommodityRequest) (response *DeleteCommodityResponse, err error)
DeleteCommodity invokes the market.DeleteCommodity API synchronously api document: https://help.aliyun.com/api/market/deletecommodity.html
func (*Client) DeleteCommodityWithCallback ¶
func (client *Client) DeleteCommodityWithCallback(request *DeleteCommodityRequest, callback func(response *DeleteCommodityResponse, err error)) <-chan int
DeleteCommodityWithCallback invokes the market.DeleteCommodity API asynchronously api document: https://help.aliyun.com/api/market/deletecommodity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteCommodityWithChan ¶
func (client *Client) DeleteCommodityWithChan(request *DeleteCommodityRequest) (<-chan *DeleteCommodityResponse, <-chan error)
DeleteCommodityWithChan invokes the market.DeleteCommodity API asynchronously api document: https://help.aliyun.com/api/market/deletecommodity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeCommodities ¶
func (client *Client) DescribeCommodities(request *DescribeCommoditiesRequest) (response *DescribeCommoditiesResponse, err error)
DescribeCommodities invokes the market.DescribeCommodities API synchronously api document: https://help.aliyun.com/api/market/describecommodities.html
func (*Client) DescribeCommoditiesWithCallback ¶
func (client *Client) DescribeCommoditiesWithCallback(request *DescribeCommoditiesRequest, callback func(response *DescribeCommoditiesResponse, err error)) <-chan int
DescribeCommoditiesWithCallback invokes the market.DescribeCommodities API asynchronously api document: https://help.aliyun.com/api/market/describecommodities.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeCommoditiesWithChan ¶
func (client *Client) DescribeCommoditiesWithChan(request *DescribeCommoditiesRequest) (<-chan *DescribeCommoditiesResponse, <-chan error)
DescribeCommoditiesWithChan invokes the market.DescribeCommodities API asynchronously api document: https://help.aliyun.com/api/market/describecommodities.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeCommodity ¶
func (client *Client) DescribeCommodity(request *DescribeCommodityRequest) (response *DescribeCommodityResponse, err error)
DescribeCommodity invokes the market.DescribeCommodity API synchronously api document: https://help.aliyun.com/api/market/describecommodity.html
func (*Client) DescribeCommodityWithCallback ¶
func (client *Client) DescribeCommodityWithCallback(request *DescribeCommodityRequest, callback func(response *DescribeCommodityResponse, err error)) <-chan int
DescribeCommodityWithCallback invokes the market.DescribeCommodity API asynchronously api document: https://help.aliyun.com/api/market/describecommodity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeCommodityWithChan ¶
func (client *Client) DescribeCommodityWithChan(request *DescribeCommodityRequest) (<-chan *DescribeCommodityResponse, <-chan error)
DescribeCommodityWithChan invokes the market.DescribeCommodity API asynchronously api document: https://help.aliyun.com/api/market/describecommodity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstance ¶
func (client *Client) DescribeInstance(request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)
DescribeInstance invokes the market.DescribeInstance API synchronously api document: https://help.aliyun.com/api/market/describeinstance.html
func (*Client) DescribeInstanceWithCallback ¶
func (client *Client) DescribeInstanceWithCallback(request *DescribeInstanceRequest, callback func(response *DescribeInstanceResponse, err error)) <-chan int
DescribeInstanceWithCallback invokes the market.DescribeInstance API asynchronously api document: https://help.aliyun.com/api/market/describeinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstanceWithChan ¶
func (client *Client) DescribeInstanceWithChan(request *DescribeInstanceRequest) (<-chan *DescribeInstanceResponse, <-chan error)
DescribeInstanceWithChan invokes the market.DescribeInstance API asynchronously api document: https://help.aliyun.com/api/market/describeinstance.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstances ¶
func (client *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances invokes the market.DescribeInstances API synchronously api document: https://help.aliyun.com/api/market/describeinstances.html
func (*Client) DescribeInstancesWithCallback ¶
func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRequest, callback func(response *DescribeInstancesResponse, err error)) <-chan int
DescribeInstancesWithCallback invokes the market.DescribeInstances API asynchronously api document: https://help.aliyun.com/api/market/describeinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeInstancesWithChan ¶
func (client *Client) DescribeInstancesWithChan(request *DescribeInstancesRequest) (<-chan *DescribeInstancesResponse, <-chan error)
DescribeInstancesWithChan invokes the market.DescribeInstances API asynchronously api document: https://help.aliyun.com/api/market/describeinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeLicense ¶
func (client *Client) DescribeLicense(request *DescribeLicenseRequest) (response *DescribeLicenseResponse, err error)
DescribeLicense invokes the market.DescribeLicense API synchronously api document: https://help.aliyun.com/api/market/describelicense.html
func (*Client) DescribeLicenseWithCallback ¶
func (client *Client) DescribeLicenseWithCallback(request *DescribeLicenseRequest, callback func(response *DescribeLicenseResponse, err error)) <-chan int
DescribeLicenseWithCallback invokes the market.DescribeLicense API asynchronously api document: https://help.aliyun.com/api/market/describelicense.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeLicenseWithChan ¶
func (client *Client) DescribeLicenseWithChan(request *DescribeLicenseRequest) (<-chan *DescribeLicenseResponse, <-chan error)
DescribeLicenseWithChan invokes the market.DescribeLicense API asynchronously api document: https://help.aliyun.com/api/market/describelicense.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeOrder ¶
func (client *Client) DescribeOrder(request *DescribeOrderRequest) (response *DescribeOrderResponse, err error)
DescribeOrder invokes the market.DescribeOrder API synchronously api document: https://help.aliyun.com/api/market/describeorder.html
func (*Client) DescribeOrderWithCallback ¶
func (client *Client) DescribeOrderWithCallback(request *DescribeOrderRequest, callback func(response *DescribeOrderResponse, err error)) <-chan int
DescribeOrderWithCallback invokes the market.DescribeOrder API asynchronously api document: https://help.aliyun.com/api/market/describeorder.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeOrderWithChan ¶
func (client *Client) DescribeOrderWithChan(request *DescribeOrderRequest) (<-chan *DescribeOrderResponse, <-chan error)
DescribeOrderWithChan invokes the market.DescribeOrder API asynchronously api document: https://help.aliyun.com/api/market/describeorder.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribePrice ¶
func (client *Client) DescribePrice(request *DescribePriceRequest) (response *DescribePriceResponse, err error)
DescribePrice invokes the market.DescribePrice API synchronously api document: https://help.aliyun.com/api/market/describeprice.html
func (*Client) DescribePriceWithCallback ¶
func (client *Client) DescribePriceWithCallback(request *DescribePriceRequest, callback func(response *DescribePriceResponse, err error)) <-chan int
DescribePriceWithCallback invokes the market.DescribePrice API asynchronously api document: https://help.aliyun.com/api/market/describeprice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribePriceWithChan ¶
func (client *Client) DescribePriceWithChan(request *DescribePriceRequest) (<-chan *DescribePriceResponse, <-chan error)
DescribePriceWithChan invokes the market.DescribePrice API asynchronously api document: https://help.aliyun.com/api/market/describeprice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeProduct ¶
func (client *Client) DescribeProduct(request *DescribeProductRequest) (response *DescribeProductResponse, err error)
DescribeProduct invokes the market.DescribeProduct API synchronously api document: https://help.aliyun.com/api/market/describeproduct.html
func (*Client) DescribeProductWithCallback ¶
func (client *Client) DescribeProductWithCallback(request *DescribeProductRequest, callback func(response *DescribeProductResponse, err error)) <-chan int
DescribeProductWithCallback invokes the market.DescribeProduct API asynchronously api document: https://help.aliyun.com/api/market/describeproduct.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeProductWithChan ¶
func (client *Client) DescribeProductWithChan(request *DescribeProductRequest) (<-chan *DescribeProductResponse, <-chan error)
DescribeProductWithChan invokes the market.DescribeProduct API asynchronously api document: https://help.aliyun.com/api/market/describeproduct.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeProducts ¶
func (client *Client) DescribeProducts(request *DescribeProductsRequest) (response *DescribeProductsResponse, err error)
DescribeProducts invokes the market.DescribeProducts API synchronously api document: https://help.aliyun.com/api/market/describeproducts.html
func (*Client) DescribeProductsWithCallback ¶
func (client *Client) DescribeProductsWithCallback(request *DescribeProductsRequest, callback func(response *DescribeProductsResponse, err error)) <-chan int
DescribeProductsWithCallback invokes the market.DescribeProducts API asynchronously api document: https://help.aliyun.com/api/market/describeproducts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeProductsWithChan ¶
func (client *Client) DescribeProductsWithChan(request *DescribeProductsRequest) (<-chan *DescribeProductsResponse, <-chan error)
DescribeProductsWithChan invokes the market.DescribeProducts API asynchronously api document: https://help.aliyun.com/api/market/describeproducts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeRate ¶
func (client *Client) DescribeRate(request *DescribeRateRequest) (response *DescribeRateResponse, err error)
DescribeRate invokes the market.DescribeRate API synchronously api document: https://help.aliyun.com/api/market/describerate.html
func (*Client) DescribeRateWithCallback ¶
func (client *Client) DescribeRateWithCallback(request *DescribeRateRequest, callback func(response *DescribeRateResponse, err error)) <-chan int
DescribeRateWithCallback invokes the market.DescribeRate API asynchronously api document: https://help.aliyun.com/api/market/describerate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeRateWithChan ¶
func (client *Client) DescribeRateWithChan(request *DescribeRateRequest) (<-chan *DescribeRateResponse, <-chan error)
DescribeRateWithChan invokes the market.DescribeRate API asynchronously api document: https://help.aliyun.com/api/market/describerate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) NotifyContractEvent ¶
func (client *Client) NotifyContractEvent(request *NotifyContractEventRequest) (response *NotifyContractEventResponse, err error)
NotifyContractEvent invokes the market.NotifyContractEvent API synchronously api document: https://help.aliyun.com/api/market/notifycontractevent.html
func (*Client) NotifyContractEventWithCallback ¶
func (client *Client) NotifyContractEventWithCallback(request *NotifyContractEventRequest, callback func(response *NotifyContractEventResponse, err error)) <-chan int
NotifyContractEventWithCallback invokes the market.NotifyContractEvent API asynchronously api document: https://help.aliyun.com/api/market/notifycontractevent.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) NotifyContractEventWithChan ¶
func (client *Client) NotifyContractEventWithChan(request *NotifyContractEventRequest) (<-chan *NotifyContractEventResponse, <-chan error)
NotifyContractEventWithChan invokes the market.NotifyContractEvent API asynchronously api document: https://help.aliyun.com/api/market/notifycontractevent.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushMeteringData ¶
func (client *Client) PushMeteringData(request *PushMeteringDataRequest) (response *PushMeteringDataResponse, err error)
PushMeteringData invokes the market.PushMeteringData API synchronously api document: https://help.aliyun.com/api/market/pushmeteringdata.html
func (*Client) PushMeteringDataWithCallback ¶
func (client *Client) PushMeteringDataWithCallback(request *PushMeteringDataRequest, callback func(response *PushMeteringDataResponse, err error)) <-chan int
PushMeteringDataWithCallback invokes the market.PushMeteringData API asynchronously api document: https://help.aliyun.com/api/market/pushmeteringdata.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushMeteringDataWithChan ¶
func (client *Client) PushMeteringDataWithChan(request *PushMeteringDataRequest) (<-chan *PushMeteringDataResponse, <-chan error)
PushMeteringDataWithChan invokes the market.PushMeteringData API asynchronously api document: https://help.aliyun.com/api/market/pushmeteringdata.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryMarketCategories ¶
func (client *Client) QueryMarketCategories(request *QueryMarketCategoriesRequest) (response *QueryMarketCategoriesResponse, err error)
QueryMarketCategories invokes the market.QueryMarketCategories API synchronously api document: https://help.aliyun.com/api/market/querymarketcategories.html
func (*Client) QueryMarketCategoriesWithCallback ¶
func (client *Client) QueryMarketCategoriesWithCallback(request *QueryMarketCategoriesRequest, callback func(response *QueryMarketCategoriesResponse, err error)) <-chan int
QueryMarketCategoriesWithCallback invokes the market.QueryMarketCategories API asynchronously api document: https://help.aliyun.com/api/market/querymarketcategories.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryMarketCategoriesWithChan ¶
func (client *Client) QueryMarketCategoriesWithChan(request *QueryMarketCategoriesRequest) (<-chan *QueryMarketCategoriesResponse, <-chan error)
QueryMarketCategoriesWithChan invokes the market.QueryMarketCategories API asynchronously api document: https://help.aliyun.com/api/market/querymarketcategories.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryMarketImages ¶
func (client *Client) QueryMarketImages(request *QueryMarketImagesRequest) (response *QueryMarketImagesResponse, err error)
QueryMarketImages invokes the market.QueryMarketImages API synchronously api document: https://help.aliyun.com/api/market/querymarketimages.html
func (*Client) QueryMarketImagesWithCallback ¶
func (client *Client) QueryMarketImagesWithCallback(request *QueryMarketImagesRequest, callback func(response *QueryMarketImagesResponse, err error)) <-chan int
QueryMarketImagesWithCallback invokes the market.QueryMarketImages API asynchronously api document: https://help.aliyun.com/api/market/querymarketimages.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryMarketImagesWithChan ¶
func (client *Client) QueryMarketImagesWithChan(request *QueryMarketImagesRequest) (<-chan *QueryMarketImagesResponse, <-chan error)
QueryMarketImagesWithChan invokes the market.QueryMarketImages API asynchronously api document: https://help.aliyun.com/api/market/querymarketimages.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UpdateCommodity ¶
func (client *Client) UpdateCommodity(request *UpdateCommodityRequest) (response *UpdateCommodityResponse, err error)
UpdateCommodity invokes the market.UpdateCommodity API synchronously api document: https://help.aliyun.com/api/market/updatecommodity.html
func (*Client) UpdateCommodityWithCallback ¶
func (client *Client) UpdateCommodityWithCallback(request *UpdateCommodityRequest, callback func(response *UpdateCommodityResponse, err error)) <-chan int
UpdateCommodityWithCallback invokes the market.UpdateCommodity API asynchronously api document: https://help.aliyun.com/api/market/updatecommodity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UpdateCommodityWithChan ¶
func (client *Client) UpdateCommodityWithChan(request *UpdateCommodityRequest) (<-chan *UpdateCommodityResponse, <-chan error)
UpdateCommodityWithChan invokes the market.UpdateCommodity API asynchronously api document: https://help.aliyun.com/api/market/updatecommodity.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UploadCommodityFile ¶
func (client *Client) UploadCommodityFile(request *UploadCommodityFileRequest) (response *UploadCommodityFileResponse, err error)
UploadCommodityFile invokes the market.UploadCommodityFile API synchronously api document: https://help.aliyun.com/api/market/uploadcommodityfile.html
func (*Client) UploadCommodityFileWithCallback ¶
func (client *Client) UploadCommodityFileWithCallback(request *UploadCommodityFileRequest, callback func(response *UploadCommodityFileResponse, err error)) <-chan int
UploadCommodityFileWithCallback invokes the market.UploadCommodityFile API asynchronously api document: https://help.aliyun.com/api/market/uploadcommodityfile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UploadCommodityFileWithChan ¶
func (client *Client) UploadCommodityFileWithChan(request *UploadCommodityFileRequest) (<-chan *UploadCommodityFileResponse, <-chan error)
UploadCommodityFileWithChan invokes the market.UploadCommodityFile API asynchronously api document: https://help.aliyun.com/api/market/uploadcommodityfile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type Commodities ¶
type Commodities struct {
Commodity []Commodity `json:"Commodity" xml:"Commodity"`
}
Commodities is a nested struct in market response
type Commodity ¶
type Commodity struct {
CommodityId string `json:"CommodityId" xml:"CommodityId"`
ApplicationId string `json:"ApplicationId" xml:"ApplicationId"`
CommoditySpecs string `json:"CommoditySpecs" xml:"CommoditySpecs"`
Properties string `json:"Properties" xml:"Properties"`
}
Commodity is a nested struct in market response
type CreateCommodityRequest ¶
type CreateCommodityRequest struct {
*requests.RpcRequest
ApplicationId string `position:"Query" name:"ApplicationId"`
Content string `position:"Body" name:"Content"`
}
CreateCommodityRequest is the request struct for api CreateCommodity
func CreateCreateCommodityRequest ¶
func CreateCreateCommodityRequest() (request *CreateCommodityRequest)
CreateCreateCommodityRequest creates a request to invoke CreateCommodity API
type CreateCommodityResponse ¶
type CreateCommodityResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
Commodity Commodity `json:"Commodity" xml:"Commodity"`
}
CreateCommodityResponse is the response struct for api CreateCommodity
func CreateCreateCommodityResponse ¶
func CreateCreateCommodityResponse() (response *CreateCommodityResponse)
CreateCreateCommodityResponse creates a response to parse from CreateCommodity response
type CreateOrderRequest ¶
type CreateOrderRequest struct {
*requests.RpcRequest
OrderSouce string `position:"Query" name:"OrderSouce"`
Commodity string `position:"Query" name:"Commodity"`
ClientToken string `position:"Query" name:"ClientToken"`
OwnerId string `position:"Query" name:"OwnerId"`
PaymentType string `position:"Query" name:"PaymentType"`
OrderType string `position:"Query" name:"OrderType"`
}
CreateOrderRequest is the request struct for api CreateOrder
func CreateCreateOrderRequest ¶
func CreateCreateOrderRequest() (request *CreateOrderRequest)
CreateCreateOrderRequest creates a request to invoke CreateOrder API
type CreateOrderResponse ¶
type CreateOrderResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
OrderId string `json:"OrderId" xml:"OrderId"`
InstanceIds InstanceIdsInCreateOrder `json:"InstanceIds" xml:"InstanceIds"`
}
CreateOrderResponse is the response struct for api CreateOrder
func CreateCreateOrderResponse ¶
func CreateCreateOrderResponse() (response *CreateOrderResponse)
CreateCreateOrderResponse creates a response to parse from CreateOrder response
type CreateRateRequest ¶
type CreateRateRequest struct {
*requests.RpcRequest
Score string `position:"Query" name:"Score"`
OrderId string `position:"Query" name:"OrderId"`
RequestId string `position:"Query" name:"RequestId"`
Content string `position:"Query" name:"Content"`
}
CreateRateRequest is the request struct for api CreateRate
func CreateCreateRateRequest ¶
func CreateCreateRateRequest() (request *CreateRateRequest)
CreateCreateRateRequest creates a request to invoke CreateRate API
type CreateRateResponse ¶
type CreateRateResponse struct {
*responses.BaseResponse
Id int64 `json:"Id" xml:"Id"`
RequestId string `json:"RequestId" xml:"RequestId"`
}
CreateRateResponse is the response struct for api CreateRate
func CreateCreateRateResponse ¶
func CreateCreateRateResponse() (response *CreateRateResponse)
CreateCreateRateResponse creates a response to parse from CreateRate response
type Data ¶
type Data struct {
ResourceType string `json:"ResourceType" xml:"ResourceType"`
TotalCount int64 `json:"TotalCount" xml:"TotalCount"`
Resource string `json:"Resource" xml:"Resource"`
Pageable Pageable `json:"Pageable" xml:"Pageable"`
Commodities Commodities `json:"Commodities" xml:"Commodities"`
}
Data is a nested struct in market response
type DeleteCommodityRequest ¶
type DeleteCommodityRequest struct {
*requests.RpcRequest
CommodityId string `position:"Query" name:"CommodityId"`
}
DeleteCommodityRequest is the request struct for api DeleteCommodity
func CreateDeleteCommodityRequest ¶
func CreateDeleteCommodityRequest() (request *DeleteCommodityRequest)
CreateDeleteCommodityRequest creates a request to invoke DeleteCommodity API
type DeleteCommodityResponse ¶
type DeleteCommodityResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
}
DeleteCommodityResponse is the response struct for api DeleteCommodity
func CreateDeleteCommodityResponse ¶
func CreateDeleteCommodityResponse() (response *DeleteCommodityResponse)
CreateDeleteCommodityResponse creates a response to parse from DeleteCommodity response
type DescribeCommoditiesRequest ¶
type DescribeCommoditiesRequest struct {
*requests.RpcRequest
CommodityGmtModifiedTo string `position:"Query" name:"CommodityGmtModifiedTo"`
CommodityGmtModifiedFrom string `position:"Query" name:"CommodityGmtModifiedFrom"`
CommodityId string `position:"Query" name:"CommodityId"`
CommodityGmtPublishFrom string `position:"Query" name:"CommodityGmtPublishFrom"`
CommodityStatuses string `position:"Query" name:"CommodityStatuses"`
PageNumber requests.Integer `position:"Query" name:"PageNumber"`
CommodityGmtCreatedFrom string `position:"Query" name:"CommodityGmtCreatedFrom"`
CommodityIds string `position:"Query" name:"CommodityIds"`
CommodityGmtCreatedTo string `position:"Query" name:"CommodityGmtCreatedTo"`
PageSize requests.Integer `position:"Query" name:"PageSize"`
CommodityGmtPublishTo string `position:"Query" name:"CommodityGmtPublishTo"`
CommodityAuditStatuses string `position:"Query" name:"CommodityAuditStatuses"`
Properties string `position:"Query" name:"Properties"`
CommodityCategoryIds string `position:"Query" name:"CommodityCategoryIds"`
}
DescribeCommoditiesRequest is the request struct for api DescribeCommodities
func CreateDescribeCommoditiesRequest ¶
func CreateDescribeCommoditiesRequest() (request *DescribeCommoditiesRequest)
CreateDescribeCommoditiesRequest creates a request to invoke DescribeCommodities API
type DescribeCommoditiesResponse ¶
type DescribeCommoditiesResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
Data Data `json:"Data" xml:"Data"`
}
DescribeCommoditiesResponse is the response struct for api DescribeCommodities
func CreateDescribeCommoditiesResponse ¶
func CreateDescribeCommoditiesResponse() (response *DescribeCommoditiesResponse)
CreateDescribeCommoditiesResponse creates a response to parse from DescribeCommodities response
type DescribeCommodityRequest ¶
type DescribeCommodityRequest struct {
*requests.RpcRequest
CommodityId string `position:"Query" name:"CommodityId"`
}
DescribeCommodityRequest is the request struct for api DescribeCommodity
func CreateDescribeCommodityRequest ¶
func CreateDescribeCommodityRequest() (request *DescribeCommodityRequest)
CreateDescribeCommodityRequest creates a request to invoke DescribeCommodity API
type DescribeCommodityResponse ¶
type DescribeCommodityResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
Commodity Commodity `json:"Commodity" xml:"Commodity"`
}
DescribeCommodityResponse is the response struct for api DescribeCommodity
func CreateDescribeCommodityResponse ¶
func CreateDescribeCommodityResponse() (response *DescribeCommodityResponse)
CreateDescribeCommodityResponse creates a response to parse from DescribeCommodity response
type DescribeInstanceRequest ¶
type DescribeInstanceRequest struct {
*requests.RpcRequest
OwnerId requests.Integer `position:"Query" name:"OwnerId"`
InstanceId string `position:"Query" name:"InstanceId"`
OrderType string `position:"Query" name:"OrderType"`
}
DescribeInstanceRequest is the request struct for api DescribeInstance
func CreateDescribeInstanceRequest ¶
func CreateDescribeInstanceRequest() (request *DescribeInstanceRequest)
CreateDescribeInstanceRequest creates a request to invoke DescribeInstance API
type DescribeInstanceResponse ¶
type DescribeInstanceResponse struct {
*responses.BaseResponse
InstanceId int64 `json:"InstanceId" xml:"InstanceId"`
OrderId int64 `json:"OrderId" xml:"OrderId"`
SupplierName string `json:"SupplierName" xml:"SupplierName"`
ProductCode string `json:"ProductCode" xml:"ProductCode"`
ProductSkuCode string `json:"ProductSkuCode" xml:"ProductSkuCode"`
ProductName string `json:"ProductName" xml:"ProductName"`
ProductType string `json:"ProductType" xml:"ProductType"`
Status string `json:"Status" xml:"Status"`
BeganOn int64 `json:"BeganOn" xml:"BeganOn"`
EndOn int64 `json:"EndOn" xml:"EndOn"`
CreatedOn int64 `json:"CreatedOn" xml:"CreatedOn"`
ExtendJson string `json:"ExtendJson" xml:"ExtendJson"`
HostJson string `json:"HostJson" xml:"HostJson"`
AppJson string `json:"AppJson" xml:"AppJson"`
ComponentJson string `json:"ComponentJson" xml:"ComponentJson"`
Constraints string `json:"Constraints" xml:"Constraints"`
RelationalData RelationalData `json:"RelationalData" xml:"RelationalData"`
Modules ModulesInDescribeInstance `json:"Modules" xml:"Modules"`
}
DescribeInstanceResponse is the response struct for api DescribeInstance
func CreateDescribeInstanceResponse ¶
func CreateDescribeInstanceResponse() (response *DescribeInstanceResponse)
CreateDescribeInstanceResponse creates a response to parse from DescribeInstance response
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct {
*requests.RpcRequest
PageSize requests.Integer `position:"Query" name:"PageSize"`
PageNumber requests.Integer `position:"Query" name:"PageNumber"`
ProductType string `position:"Query" name:"ProductType"`
}
DescribeInstancesRequest is the request struct for api DescribeInstances
func CreateDescribeInstancesRequest ¶
func CreateDescribeInstancesRequest() (request *DescribeInstancesRequest)
CreateDescribeInstancesRequest creates a request to invoke DescribeInstances API
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
PageNumber int `json:"PageNumber" xml:"PageNumber"`
PageSize int `json:"PageSize" xml:"PageSize"`
TotalCount int `json:"TotalCount" xml:"TotalCount"`
InstanceItems InstanceItems `json:"InstanceItems" xml:"InstanceItems"`
}
DescribeInstancesResponse is the response struct for api DescribeInstances
func CreateDescribeInstancesResponse ¶
func CreateDescribeInstancesResponse() (response *DescribeInstancesResponse)
CreateDescribeInstancesResponse creates a response to parse from DescribeInstances response
type DescribeLicenseRequest ¶
type DescribeLicenseRequest struct {
*requests.RpcRequest
LicenseCode string `position:"Query" name:"LicenseCode"`
}
DescribeLicenseRequest is the request struct for api DescribeLicense
func CreateDescribeLicenseRequest ¶
func CreateDescribeLicenseRequest() (request *DescribeLicenseRequest)
CreateDescribeLicenseRequest creates a request to invoke DescribeLicense API
type DescribeLicenseResponse ¶
type DescribeLicenseResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
License License `json:"License" xml:"License"`
}
DescribeLicenseResponse is the response struct for api DescribeLicense
func CreateDescribeLicenseResponse ¶
func CreateDescribeLicenseResponse() (response *DescribeLicenseResponse)
CreateDescribeLicenseResponse creates a response to parse from DescribeLicense response
type DescribeOrderRequest ¶
type DescribeOrderRequest struct {
*requests.RpcRequest
OrderId string `position:"Query" name:"OrderId"`
}
DescribeOrderRequest is the request struct for api DescribeOrder
func CreateDescribeOrderRequest ¶
func CreateDescribeOrderRequest() (request *DescribeOrderRequest)
CreateDescribeOrderRequest creates a request to invoke DescribeOrder API
type DescribeOrderResponse ¶
type DescribeOrderResponse struct {
*responses.BaseResponse
OrderId int64 `json:"OrderId" xml:"OrderId"`
AliUid int64 `json:"AliUid" xml:"AliUid"`
SupplierCompanyName string `json:"SupplierCompanyName" xml:"SupplierCompanyName"`
ProductCode string `json:"ProductCode" xml:"ProductCode"`
ProductSkuCode string `json:"ProductSkuCode" xml:"ProductSkuCode"`
ProductName string `json:"ProductName" xml:"ProductName"`
PeriodType string `json:"PeriodType" xml:"PeriodType"`
Quantity int `json:"Quantity" xml:"Quantity"`
AccountQuantity int64 `json:"AccountQuantity" xml:"AccountQuantity"`
OrderType string `json:"OrderType" xml:"OrderType"`
OrderStatus string `json:"OrderStatus" xml:"OrderStatus"`
PayStatus string `json:"PayStatus" xml:"PayStatus"`
PaidOn int64 `json:"PaidOn" xml:"PaidOn"`
CreatedOn int64 `json:"CreatedOn" xml:"CreatedOn"`
OriginalPrice float64 `json:"OriginalPrice" xml:"OriginalPrice"`
TotalPrice float64 `json:"TotalPrice" xml:"TotalPrice"`
PaymentPrice float64 `json:"PaymentPrice" xml:"PaymentPrice"`
CouponPrice float64 `json:"CouponPrice" xml:"CouponPrice"`
SupplierTelephones SupplierTelephones `json:"SupplierTelephones" xml:"SupplierTelephones"`
InstanceIds InstanceIdsInDescribeOrder `json:"InstanceIds" xml:"InstanceIds"`
}
DescribeOrderResponse is the response struct for api DescribeOrder
func CreateDescribeOrderResponse ¶
func CreateDescribeOrderResponse() (response *DescribeOrderResponse)
CreateDescribeOrderResponse creates a response to parse from DescribeOrder response
type DescribePriceRequest ¶
type DescribePriceRequest struct {
*requests.RpcRequest
Commodity string `position:"Query" name:"Commodity"`
OrderType string `position:"Query" name:"OrderType"`
}
DescribePriceRequest is the request struct for api DescribePrice
func CreateDescribePriceRequest ¶
func CreateDescribePriceRequest() (request *DescribePriceRequest)
CreateDescribePriceRequest creates a request to invoke DescribePrice API
type DescribePriceResponse ¶
type DescribePriceResponse struct {
*responses.BaseResponse
ProductCode string `json:"ProductCode" xml:"ProductCode"`
OriginalPrice float64 `json:"OriginalPrice" xml:"OriginalPrice"`
TradePrice float64 `json:"TradePrice" xml:"TradePrice"`
DiscountPrice float64 `json:"DiscountPrice" xml:"DiscountPrice"`
PromotionRules PromotionRules `json:"PromotionRules" xml:"PromotionRules"`
}
DescribePriceResponse is the response struct for api DescribePrice
func CreateDescribePriceResponse ¶
func CreateDescribePriceResponse() (response *DescribePriceResponse)
CreateDescribePriceResponse creates a response to parse from DescribePrice response
type DescribeProductRequest ¶
type DescribeProductRequest struct {
*requests.RpcRequest
Code string `position:"Query" name:"Code"`
QueryDraft requests.Boolean `position:"Query" name:"QueryDraft"`
AliUid string `position:"Query" name:"AliUid"`
}
DescribeProductRequest is the request struct for api DescribeProduct
func CreateDescribeProductRequest ¶
func CreateDescribeProductRequest() (request *DescribeProductRequest)
CreateDescribeProductRequest creates a request to invoke DescribeProduct API
type DescribeProductResponse ¶
type DescribeProductResponse struct {
*responses.BaseResponse
Code string `json:"Code" xml:"Code"`
Name string `json:"Name" xml:"Name"`
Type string `json:"Type" xml:"Type"`
PicUrl string `json:"PicUrl" xml:"PicUrl"`
Description string `json:"Description" xml:"Description"`
ShortDescription string `json:"ShortDescription" xml:"ShortDescription"`
UseCount int64 `json:"UseCount" xml:"UseCount"`
Score float64 `json:"Score" xml:"Score"`
Status string `json:"Status" xml:"Status"`
AuditStatus string `json:"AuditStatus" xml:"AuditStatus"`
AuditFailMsg string `json:"AuditFailMsg" xml:"AuditFailMsg"`
AuditTime int64 `json:"AuditTime" xml:"AuditTime"`
GmtCreated int64 `json:"GmtCreated" xml:"GmtCreated"`
GmtModified int64 `json:"GmtModified" xml:"GmtModified"`
ShopInfo ShopInfo `json:"ShopInfo" xml:"ShopInfo"`
ProductSkus ProductSkus `json:"ProductSkus" xml:"ProductSkus"`
ProductExtras ProductExtras `json:"ProductExtras" xml:"ProductExtras"`
}
DescribeProductResponse is the response struct for api DescribeProduct
func CreateDescribeProductResponse ¶
func CreateDescribeProductResponse() (response *DescribeProductResponse)
CreateDescribeProductResponse creates a response to parse from DescribeProduct response
type DescribeProductsFilter ¶
type DescribeProductsFilter struct {
Value string `name:"Value"`
Key string `name:"Key"`
}
DescribeProductsFilter is a repeated param struct in DescribeProductsRequest
type DescribeProductsRequest ¶
type DescribeProductsRequest struct {
*requests.RpcRequest
Filter *[]DescribeProductsFilter `position:"Query" name:"Filter" type:"Repeated"`
SearchTerm string `position:"Query" name:"SearchTerm"`
PageSize requests.Integer `position:"Query" name:"PageSize"`
PageNumber requests.Integer `position:"Query" name:"PageNumber"`
}
DescribeProductsRequest is the request struct for api DescribeProducts
func CreateDescribeProductsRequest ¶
func CreateDescribeProductsRequest() (request *DescribeProductsRequest)
CreateDescribeProductsRequest creates a request to invoke DescribeProducts API
type DescribeProductsResponse ¶
type DescribeProductsResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
PageNumber int `json:"PageNumber" xml:"PageNumber"`
PageSize int `json:"PageSize" xml:"PageSize"`
TotalCount int `json:"TotalCount" xml:"TotalCount"`
ProductItems ProductItems `json:"ProductItems" xml:"ProductItems"`
}
DescribeProductsResponse is the response struct for api DescribeProducts
func CreateDescribeProductsResponse ¶
func CreateDescribeProductsResponse() (response *DescribeProductsResponse)
CreateDescribeProductsResponse creates a response to parse from DescribeProducts response
type DescribeRateRequest ¶
type DescribeRateRequest struct {
*requests.RpcRequest
OrderId string `position:"Query" name:"OrderId"`
}
DescribeRateRequest is the request struct for api DescribeRate
func CreateDescribeRateRequest ¶
func CreateDescribeRateRequest() (request *DescribeRateRequest)
CreateDescribeRateRequest creates a request to invoke DescribeRate API
type DescribeRateResponse ¶
type DescribeRateResponse struct {
*responses.BaseResponse
Id int64 `json:"Id" xml:"Id"`
OrderId string `json:"OrderId" xml:"OrderId"`
InstanceId string `json:"InstanceId" xml:"InstanceId"`
AliUid int64 `json:"AliUid" xml:"AliUid"`
ProductId string `json:"ProductId" xml:"ProductId"`
Score string `json:"Score" xml:"Score"`
Content string `json:"Content" xml:"Content"`
GmtCreated int64 `json:"GmtCreated" xml:"GmtCreated"`
Explaintion string `json:"Explaintion" xml:"Explaintion"`
GmtExplaintion int64 `json:"GmtExplaintion" xml:"GmtExplaintion"`
AdditionalContent string `json:"AdditionalContent" xml:"AdditionalContent"`
GmtAdditional int64 `json:"GmtAdditional" xml:"GmtAdditional"`
AdditionalExplaintion string `json:"AdditionalExplaintion" xml:"AdditionalExplaintion"`
GmtAdditionalExplaintion int64 `json:"GmtAdditionalExplaintion" xml:"GmtAdditionalExplaintion"`
Type string `json:"Type" xml:"Type"`
RequestId string `json:"RequestId" xml:"RequestId"`
}
DescribeRateResponse is the response struct for api DescribeRate
func CreateDescribeRateResponse ¶
func CreateDescribeRateResponse() (response *DescribeRateResponse)
CreateDescribeRateResponse creates a response to parse from DescribeRate response
type DiskDeviceMapping ¶
type DiskDeviceMapping struct {
DiskType string `json:"DiskType" xml:"DiskType"`
Format string `json:"Format" xml:"Format"`
SnapshotId string `json:"SnapshotId" xml:"SnapshotId"`
Size int `json:"Size" xml:"Size"`
Device string `json:"Device" xml:"Device"`
ImportOSSBucket string `json:"ImportOSSBucket" xml:"ImportOSSBucket"`
ImportOSSObject string `json:"ImportOSSObject" xml:"ImportOSSObject"`
}
DiskDeviceMapping is a nested struct in market response
type DiskDeviceMappings ¶
type DiskDeviceMappings struct {
DiskDeviceMapping []DiskDeviceMapping `json:"DiskDeviceMapping" xml:"DiskDeviceMapping"`
}
DiskDeviceMappings is a nested struct in market response
type ExtendArray ¶
type ExtendArray struct {
LicenseAttribute []LicenseAttribute `json:"LicenseAttribute" xml:"LicenseAttribute"`
}
ExtendArray is a nested struct in market response
type ExtendInfo ¶
type ExtendInfo struct {
AliUid int64 `json:"AliUid" xml:"AliUid"`
Email string `json:"Email" xml:"Email"`
Mobile string `json:"Mobile" xml:"Mobile"`
AccountQuantity int64 `json:"AccountQuantity" xml:"AccountQuantity"`
}
ExtendInfo is a nested struct in market response
type Image ¶
type Image struct {
Version string `json:"Version" xml:"Version"`
VersionDescription string `json:"VersionDescription" xml:"VersionDescription"`
ImageId string `json:"ImageId" xml:"ImageId"`
ImageSize int `json:"ImageSize" xml:"ImageSize"`
Region string `json:"Region" xml:"Region"`
IsDefault bool `json:"IsDefault" xml:"IsDefault"`
SupportIO bool `json:"SupportIO" xml:"SupportIO"`
DiskDeviceMappings DiskDeviceMappings `json:"DiskDeviceMappings" xml:"DiskDeviceMappings"`
}
Image is a nested struct in market response
type ImageProduct ¶
type ImageProduct struct {
ImageProductCode string `json:"ImageProductCode" xml:"ImageProductCode"`
ProductName string `json:"ProductName" xml:"ProductName"`
CategoryName string `json:"CategoryName" xml:"CategoryName"`
SupplierName string `json:"SupplierName" xml:"SupplierName"`
BaseSystem string `json:"BaseSystem" xml:"BaseSystem"`
OsKind string `json:"OsKind" xml:"OsKind"`
OsBit int `json:"OsBit" xml:"OsBit"`
PictureUrl string `json:"PictureUrl" xml:"PictureUrl"`
SmallPicUrl string `json:"SmallPicUrl" xml:"SmallPicUrl"`
ShortDescription string `json:"ShortDescription" xml:"ShortDescription"`
AgreementUrl string `json:"AgreementUrl" xml:"AgreementUrl"`
DetailUrl string `json:"DetailUrl" xml:"DetailUrl"`
BuyUrl string `json:"BuyUrl" xml:"BuyUrl"`
StoreUrl string `json:"StoreUrl" xml:"StoreUrl"`
Score float64 `json:"Score" xml:"Score"`
UserCount int64 `json:"UserCount" xml:"UserCount"`
SupportIO bool `json:"SupportIO" xml:"SupportIO"`
CreatedOn int64 `json:"CreatedOn" xml:"CreatedOn"`
SkuCodes SkuCodes `json:"SkuCodes" xml:"SkuCodes"`
Quota Quota `json:"Quota" xml:"Quota"`
PriceInfo PriceInfo `json:"PriceInfo" xml:"PriceInfo"`
Images Images `json:"Images" xml:"Images"`
}
ImageProduct is a nested struct in market response
type Images ¶
type Images struct {
Image []Image `json:"Image" xml:"Image"`
}
Images is a nested struct in market response
type InstanceIdsInCreateOrder ¶
type InstanceIdsInCreateOrder struct {
InstanceId []string `json:"InstanceId" xml:"InstanceId"`
}
InstanceIdsInCreateOrder is a nested struct in market response
type InstanceIdsInDescribeOrder ¶
type InstanceIdsInDescribeOrder struct {
InstanceId []string `json:"InstanceId" xml:"InstanceId"`
}
InstanceIdsInDescribeOrder is a nested struct in market response
type InstanceItem ¶
type InstanceItem struct {
InstanceId int64 `json:"InstanceId" xml:"InstanceId"`
OrderId int64 `json:"OrderId" xml:"OrderId"`
SupplierName string `json:"SupplierName" xml:"SupplierName"`
ProductCode string `json:"ProductCode" xml:"ProductCode"`
ProductSkuCode string `json:"ProductSkuCode" xml:"ProductSkuCode"`
ProductName string `json:"ProductName" xml:"ProductName"`
ProductType string `json:"ProductType" xml:"ProductType"`
Status string `json:"Status" xml:"Status"`
BeganOn int64 `json:"BeganOn" xml:"BeganOn"`
EndOn int64 `json:"EndOn" xml:"EndOn"`
CreatedOn int64 `json:"CreatedOn" xml:"CreatedOn"`
ExtendJson string `json:"ExtendJson" xml:"ExtendJson"`
HostJson string `json:"HostJson" xml:"HostJson"`
AppJson string `json:"AppJson" xml:"AppJson"`
ApiJson string `json:"ApiJson" xml:"ApiJson"`
ImageJson string `json:"ImageJson" xml:"ImageJson"`
IdaasJson string `json:"IdaasJson" xml:"IdaasJson"`
}
InstanceItem is a nested struct in market response
type InstanceItems ¶
type InstanceItems struct {
InstanceItem []InstanceItem `json:"InstanceItem" xml:"InstanceItem"`
}
InstanceItems is a nested struct in market response
type License ¶
type License struct {
LicenseStatus string `json:"LicenseStatus" xml:"LicenseStatus"`
LicenseCode string `json:"LicenseCode" xml:"LicenseCode"`
InstanceId string `json:"InstanceId" xml:"InstanceId"`
CreateTime string `json:"CreateTime" xml:"CreateTime"`
ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
ActivateTime string `json:"ActivateTime" xml:"ActivateTime"`
ProductSkuId string `json:"ProductSkuId" xml:"ProductSkuId"`
ProductCode string `json:"ProductCode" xml:"ProductCode"`
ProductName string `json:"ProductName" xml:"ProductName"`
SupplierName string `json:"SupplierName" xml:"SupplierName"`
ExtendInfo ExtendInfo `json:"ExtendInfo" xml:"ExtendInfo"`
ExtendArray ExtendArray `json:"ExtendArray" xml:"ExtendArray"`
}
License is a nested struct in market response
type LicenseAttribute ¶
type LicenseAttribute struct {
Code string `json:"Code" xml:"Code"`
Value string `json:"Value" xml:"Value"`
}
LicenseAttribute is a nested struct in market response
type Module ¶
type Module struct {
Name string `json:"Name" xml:"Name"`
Code string `json:"Code" xml:"Code"`
Id string `json:"Id" xml:"Id"`
Properties PropertiesInDescribeProduct `json:"Properties" xml:"Properties"`
}
Module is a nested struct in market response
type ModulesInDescribeInstance ¶
type ModulesInDescribeInstance struct {
Module []Module `json:"Module" xml:"Module"`
}
ModulesInDescribeInstance is a nested struct in market response
type ModulesInDescribeProduct ¶
type ModulesInDescribeProduct struct {
Module []Module `json:"Module" xml:"Module"`
}
ModulesInDescribeProduct is a nested struct in market response
type NotifyContractEventRequest ¶
type NotifyContractEventRequest struct {
*requests.RpcRequest
EventMessage string `position:"Query" name:"EventMessage"`
EventType string `position:"Query" name:"EventType"`
}
NotifyContractEventRequest is the request struct for api NotifyContractEvent
func CreateNotifyContractEventRequest ¶
func CreateNotifyContractEventRequest() (request *NotifyContractEventRequest)
CreateNotifyContractEventRequest creates a request to invoke NotifyContractEvent API
type NotifyContractEventResponse ¶
type NotifyContractEventResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
}
NotifyContractEventResponse is the response struct for api NotifyContractEvent
func CreateNotifyContractEventResponse ¶
func CreateNotifyContractEventResponse() (response *NotifyContractEventResponse)
CreateNotifyContractEventResponse creates a response to parse from NotifyContractEvent response
type Order ¶
type Order struct {
OriginalPrice float64 `json:"OriginalPrice" xml:"OriginalPrice"`
DiscountPrice float64 `json:"DiscountPrice" xml:"DiscountPrice"`
TradePrice float64 `json:"TradePrice" xml:"TradePrice"`
Currency string `json:"Currency" xml:"Currency"`
Period int `json:"Period" xml:"Period"`
PriceUnit string `json:"PriceUnit" xml:"PriceUnit"`
RuleIdSet RuleIdSet `json:"RuleIdSet" xml:"RuleIdSet"`
}
Order is a nested struct in market response
type OrderPeriod ¶
type OrderPeriod struct {
Name string `json:"Name" xml:"Name"`
PeriodType string `json:"PeriodType" xml:"PeriodType"`
}
OrderPeriod is a nested struct in market response
type OrderPeriods ¶
type OrderPeriods struct {
OrderPeriod []OrderPeriod `json:"OrderPeriod" xml:"OrderPeriod"`
}
OrderPeriods is a nested struct in market response
type Pageable ¶
type Pageable struct {
PageNumber int `json:"PageNumber" xml:"PageNumber"`
PageSize int `json:"PageSize" xml:"PageSize"`
}
Pageable is a nested struct in market response
type PriceInfo ¶
type PriceInfo struct {
Order Order `json:"Order" xml:"Order"`
Rules Rules `json:"Rules" xml:"Rules"`
}
PriceInfo is a nested struct in market response
type ProductExtra ¶
type ProductExtra struct {
Key string `json:"Key" xml:"Key"`
Values string `json:"Values" xml:"Values"`
Label string `json:"Label" xml:"Label"`
Order int `json:"Order" xml:"Order"`
Type string `json:"Type" xml:"Type"`
}
ProductExtra is a nested struct in market response
type ProductExtras ¶
type ProductExtras struct {
ProductExtra []ProductExtra `json:"ProductExtra" xml:"ProductExtra"`
}
ProductExtras is a nested struct in market response
type ProductItem ¶
type ProductItem struct {
Code string `json:"Code" xml:"Code"`
Name string `json:"Name" xml:"Name"`
CategoryId int64 `json:"CategoryId" xml:"CategoryId"`
SupplierId int64 `json:"SupplierId" xml:"SupplierId"`
SupplierName string `json:"SupplierName" xml:"SupplierName"`
ShortDescription string `json:"ShortDescription" xml:"ShortDescription"`
Tags string `json:"Tags" xml:"Tags"`
SuggestedPrice string `json:"SuggestedPrice" xml:"SuggestedPrice"`
TargetUrl string `json:"TargetUrl" xml:"TargetUrl"`
ImageUrl string `json:"ImageUrl" xml:"ImageUrl"`
Score string `json:"Score" xml:"Score"`
OperationSystem string `json:"OperationSystem" xml:"OperationSystem"`
WarrantyDate string `json:"WarrantyDate" xml:"WarrantyDate"`
DeliveryDate string `json:"DeliveryDate" xml:"DeliveryDate"`
DeliveryWay string `json:"DeliveryWay" xml:"DeliveryWay"`
}
ProductItem is a nested struct in market response
type ProductItems ¶
type ProductItems struct {
ProductItem []ProductItem `json:"ProductItem" xml:"ProductItem"`
}
ProductItems is a nested struct in market response
type ProductSku ¶
type ProductSku struct {
Name string `json:"Name" xml:"Name"`
Code string `json:"Code" xml:"Code"`
ChargeType string `json:"ChargeType" xml:"ChargeType"`
Constraints string `json:"Constraints" xml:"Constraints"`
Hidden bool `json:"Hidden" xml:"Hidden"`
OrderPeriods OrderPeriods `json:"OrderPeriods" xml:"OrderPeriods"`
Modules ModulesInDescribeProduct `json:"Modules" xml:"Modules"`
}
ProductSku is a nested struct in market response
type ProductSkus ¶
type ProductSkus struct {
ProductSku []ProductSku `json:"ProductSku" xml:"ProductSku"`
}
ProductSkus is a nested struct in market response
type PromotionRule ¶
type PromotionRule struct {
RuleId string `json:"RuleId" xml:"RuleId"`
Name string `json:"Name" xml:"Name"`
Title string `json:"Title" xml:"Title"`
}
PromotionRule is a nested struct in market response
type PromotionRules ¶
type PromotionRules struct {
PromotionRule []PromotionRule `json:"PromotionRule" xml:"PromotionRule"`
}
PromotionRules is a nested struct in market response
type PropertiesInDescribeInstance ¶
type PropertiesInDescribeInstance struct {
Property []Property `json:"Property" xml:"Property"`
}
PropertiesInDescribeInstance is a nested struct in market response
type PropertiesInDescribeProduct ¶
type PropertiesInDescribeProduct struct {
Property []Property `json:"Property" xml:"Property"`
}
PropertiesInDescribeProduct is a nested struct in market response
type Property ¶
type Property struct {
Name string `json:"Name" xml:"Name"`
Key string `json:"Key" xml:"Key"`
ShowType string `json:"ShowType" xml:"ShowType"`
DisplayUnit string `json:"DisplayUnit" xml:"DisplayUnit"`
PropertyValues PropertyValuesInDescribeProduct `json:"PropertyValues" xml:"PropertyValues"`
}
Property is a nested struct in market response
type PropertyValue ¶
type PropertyValue struct {
Value string `json:"Value" xml:"Value"`
Min string `json:"Min" xml:"Min"`
Remark string `json:"Remark" xml:"Remark"`
Max string `json:"Max" xml:"Max"`
Step string `json:"Step" xml:"Step"`
DisplayName string `json:"DisplayName" xml:"DisplayName"`
Type string `json:"Type" xml:"Type"`
}
PropertyValue is a nested struct in market response
type PropertyValuesInDescribeInstance ¶
type PropertyValuesInDescribeInstance struct {
PropertyValue []PropertyValue `json:"PropertyValue" xml:"PropertyValue"`
}
PropertyValuesInDescribeInstance is a nested struct in market response
type PropertyValuesInDescribeProduct ¶
type PropertyValuesInDescribeProduct struct {
PropertyValue []PropertyValue `json:"PropertyValue" xml:"PropertyValue"`
}
PropertyValuesInDescribeProduct is a nested struct in market response
type PushMeteringDataRequest ¶
type PushMeteringDataRequest struct {
*requests.RpcRequest
Metering string `position:"Query" name:"Metering"`
}
PushMeteringDataRequest is the request struct for api PushMeteringData
func CreatePushMeteringDataRequest ¶
func CreatePushMeteringDataRequest() (request *PushMeteringDataRequest)
CreatePushMeteringDataRequest creates a request to invoke PushMeteringData API
type PushMeteringDataResponse ¶
type PushMeteringDataResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
}
PushMeteringDataResponse is the response struct for api PushMeteringData
func CreatePushMeteringDataResponse ¶
func CreatePushMeteringDataResponse() (response *PushMeteringDataResponse)
CreatePushMeteringDataResponse creates a response to parse from PushMeteringData response
type QueryMarketCategoriesRequest ¶
type QueryMarketCategoriesRequest struct {
*requests.RpcRequest
}
QueryMarketCategoriesRequest is the request struct for api QueryMarketCategories
func CreateQueryMarketCategoriesRequest ¶
func CreateQueryMarketCategoriesRequest() (request *QueryMarketCategoriesRequest)
CreateQueryMarketCategoriesRequest creates a request to invoke QueryMarketCategories API
type QueryMarketCategoriesResponse ¶
type QueryMarketCategoriesResponse struct {
*responses.BaseResponse
PageNumber int `json:"PageNumber" xml:"PageNumber"`
PageSize int `json:"PageSize" xml:"PageSize"`
TotalCount int `json:"TotalCount" xml:"TotalCount"`
RequestId string `json:"RequestId" xml:"RequestId"`
Categories Categories `json:"Categories" xml:"Categories"`
}
QueryMarketCategoriesResponse is the response struct for api QueryMarketCategories
func CreateQueryMarketCategoriesResponse ¶
func CreateQueryMarketCategoriesResponse() (response *QueryMarketCategoriesResponse)
CreateQueryMarketCategoriesResponse creates a response to parse from QueryMarketCategories response
type QueryMarketImagesRequest ¶
type QueryMarketImagesRequest struct {
*requests.RpcRequest
Param string `position:"Query" name:"Param"`
}
QueryMarketImagesRequest is the request struct for api QueryMarketImages
func CreateQueryMarketImagesRequest ¶
func CreateQueryMarketImagesRequest() (request *QueryMarketImagesRequest)
CreateQueryMarketImagesRequest creates a request to invoke QueryMarketImages API
type QueryMarketImagesResponse ¶
type QueryMarketImagesResponse struct {
*responses.BaseResponse
PageNumber int `json:"PageNumber" xml:"PageNumber"`
PageSize int `json:"PageSize" xml:"PageSize"`
TotalCount int `json:"TotalCount" xml:"TotalCount"`
RequestId string `json:"RequestId" xml:"RequestId"`
Result Result `json:"Result" xml:"Result"`
}
QueryMarketImagesResponse is the response struct for api QueryMarketImages
func CreateQueryMarketImagesResponse ¶
func CreateQueryMarketImagesResponse() (response *QueryMarketImagesResponse)
CreateQueryMarketImagesResponse creates a response to parse from QueryMarketImages response
type Quota ¶
type Quota struct {
TotalQuota int64 `json:"TotalQuota" xml:"TotalQuota"`
UsingQuota int64 `json:"UsingQuota" xml:"UsingQuota"`
UnusedQuota int64 `json:"UnusedQuota" xml:"UnusedQuota"`
}
Quota is a nested struct in market response
type RelationalData ¶
type RelationalData struct {
ServiceStatus string `json:"ServiceStatus" xml:"ServiceStatus"`
}
RelationalData is a nested struct in market response
type Result ¶
type Result struct {
ImageProduct []ImageProduct `json:"ImageProduct" xml:"ImageProduct"`
}
Result is a nested struct in market response
type Rule ¶
type Rule struct {
RuleId int64 `json:"RuleId" xml:"RuleId"`
Title string `json:"Title" xml:"Title"`
Name string `json:"Name" xml:"Name"`
}
Rule is a nested struct in market response
type RuleIdSet ¶
type RuleIdSet struct {
RuleId []string `json:"RuleId" xml:"RuleId"`
}
RuleIdSet is a nested struct in market response
type Rules ¶
type Rules struct {
Rule []Rule `json:"Rule" xml:"Rule"`
}
Rules is a nested struct in market response
type ShopInfo ¶
type ShopInfo struct {
Id int64 `json:"Id" xml:"Id"`
Name string `json:"Name" xml:"Name"`
Emails string `json:"Emails" xml:"Emails"`
Telephones Telephones `json:"Telephones" xml:"Telephones"`
WangWangs WangWangs `json:"WangWangs" xml:"WangWangs"`
}
ShopInfo is a nested struct in market response
type SkuCodes ¶
type SkuCodes struct {
SkuCode []string `json:"SkuCode" xml:"SkuCode"`
}
SkuCodes is a nested struct in market response
type SupplierTelephones ¶
type SupplierTelephones struct {
Telephone []string `json:"Telephone" xml:"Telephone"`
}
SupplierTelephones is a nested struct in market response
type Telephones ¶
type Telephones struct {
Telephone []string `json:"Telephone" xml:"Telephone"`
}
Telephones is a nested struct in market response
type UpdateCommodityRequest ¶
type UpdateCommodityRequest struct {
*requests.RpcRequest
CommodityId string `position:"Query" name:"CommodityId"`
Content string `position:"Query" name:"Content"`
}
UpdateCommodityRequest is the request struct for api UpdateCommodity
func CreateUpdateCommodityRequest ¶
func CreateUpdateCommodityRequest() (request *UpdateCommodityRequest)
CreateUpdateCommodityRequest creates a request to invoke UpdateCommodity API
type UpdateCommodityResponse ¶
type UpdateCommodityResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
}
UpdateCommodityResponse is the response struct for api UpdateCommodity
func CreateUpdateCommodityResponse ¶
func CreateUpdateCommodityResponse() (response *UpdateCommodityResponse)
CreateUpdateCommodityResponse creates a response to parse from UpdateCommodity response
type UploadCommodityFileRequest ¶
type UploadCommodityFileRequest struct {
*requests.RpcRequest
FileResourceType string `position:"Query" name:"FileResourceType"`
FileResource string `position:"Query" name:"FileResource"`
FileContentType string `position:"Query" name:"FileContentType"`
}
UploadCommodityFileRequest is the request struct for api UploadCommodityFile
func CreateUploadCommodityFileRequest ¶
func CreateUploadCommodityFileRequest() (request *UploadCommodityFileRequest)
CreateUploadCommodityFileRequest creates a request to invoke UploadCommodityFile API
type UploadCommodityFileResponse ¶
type UploadCommodityFileResponse struct {
*responses.BaseResponse
RequestId string `json:"RequestId" xml:"RequestId"`
Success bool `json:"Success" xml:"Success"`
Data Data `json:"Data" xml:"Data"`
}
UploadCommodityFileResponse is the response struct for api UploadCommodityFile
func CreateUploadCommodityFileResponse ¶
func CreateUploadCommodityFileResponse() (response *UploadCommodityFileResponse)
CreateUploadCommodityFileResponse creates a response to parse from UploadCommodityFile response
Source Files
¶
- activate_license.go
- bind_image_package.go
- client.go
- create_commodity.go
- create_order.go
- create_rate.go
- delete_commodity.go
- describe_commodities.go
- describe_commodity.go
- describe_instance.go
- describe_instances.go
- describe_license.go
- describe_order.go
- describe_price.go
- describe_product.go
- describe_products.go
- describe_rate.go
- endpoint.go
- notify_contract_event.go
- push_metering_data.go
- query_market_categories.go
- query_market_images.go
- struct_categories.go
- struct_category.go
- struct_child_categories.go
- struct_child_category.go
- struct_commodities.go
- struct_commodity.go
- struct_data.go
- struct_disk_device_mapping.go
- struct_disk_device_mappings.go
- struct_extend_array.go
- struct_extend_info.go
- struct_image.go
- struct_image_product.go
- struct_images.go
- struct_instance_ids_in_create_order.go
- struct_instance_ids_in_describe_order.go
- struct_instance_item.go
- struct_instance_items.go
- struct_license.go
- struct_license_attribute.go
- struct_module.go
- struct_modules_in_describe_instance.go
- struct_modules_in_describe_product.go
- struct_order.go
- struct_order_period.go
- struct_order_periods.go
- struct_pageable.go
- struct_price_info.go
- struct_product_extra.go
- struct_product_extras.go
- struct_product_item.go
- struct_product_items.go
- struct_product_sku.go
- struct_product_skus.go
- struct_promotion_rule.go
- struct_promotion_rules.go
- struct_properties_in_describe_instance.go
- struct_properties_in_describe_product.go
- struct_property.go
- struct_property_value.go
- struct_property_values_in_describe_instance.go
- struct_property_values_in_describe_product.go
- struct_quota.go
- struct_relational_data.go
- struct_result.go
- struct_rule.go
- struct_rule_id_set.go
- struct_rules.go
- struct_shop_info.go
- struct_sku_codes.go
- struct_supplier_telephones.go
- struct_telephones.go
- struct_wang_wang.go
- struct_wang_wangs.go
- update_commodity.go
- upload_commodity_file.go