apis

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryInstanceRequest

type QueryInstanceRequest struct {
	core.JDCloudRequest

	/* 地域  */
	RegionId string `json:"regionId"`

	/*   */
	QueryInstanceParam *renewal.QueryInstanceParam `json:"queryInstanceParam"`
}

func NewQueryInstanceRequest

func NewQueryInstanceRequest(
	regionId string,
	queryInstanceParam *renewal.QueryInstanceParam,
) *QueryInstanceRequest

* param regionId: 地域 (Required) * param queryInstanceParam: (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewQueryInstanceRequestWithAllParams

func NewQueryInstanceRequestWithAllParams(
	regionId string,
	queryInstanceParam *renewal.QueryInstanceParam,
) *QueryInstanceRequest

* param regionId: 地域 (Required) * param queryInstanceParam: (Required)

func NewQueryInstanceRequestWithoutParam

func NewQueryInstanceRequestWithoutParam() *QueryInstanceRequest

This constructor has better compatible ability when API parameters changed

func (QueryInstanceRequest) GetRegionId

func (r QueryInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*QueryInstanceRequest) SetQueryInstanceParam

func (r *QueryInstanceRequest) SetQueryInstanceParam(queryInstanceParam *renewal.QueryInstanceParam)

param queryInstanceParam: (Required)

func (*QueryInstanceRequest) SetRegionId

func (r *QueryInstanceRequest) SetRegionId(regionId string)

param regionId: 地域(Required)

type QueryInstanceResponse

type QueryInstanceResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    QueryInstanceResult `json:"result"`
}

type QueryInstanceResult

type QueryInstanceResult struct {
	ListQueries []renewal.ListQuery `json:"listQueries"`
	TotalCount  int                 `json:"totalCount"`
}

type RenewInstanceRequest

type RenewInstanceRequest struct {
	core.JDCloudRequest

	/* 地域  */
	RegionId string `json:"regionId"`

	/*   */
	RenewInstanceParam *renewal.RenewInstanceParam `json:"renewInstanceParam"`
}

func NewRenewInstanceRequest

func NewRenewInstanceRequest(
	regionId string,
	renewInstanceParam *renewal.RenewInstanceParam,
) *RenewInstanceRequest

* param regionId: 地域 (Required) * param renewInstanceParam: (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewRenewInstanceRequestWithAllParams

func NewRenewInstanceRequestWithAllParams(
	regionId string,
	renewInstanceParam *renewal.RenewInstanceParam,
) *RenewInstanceRequest

* param regionId: 地域 (Required) * param renewInstanceParam: (Required)

func NewRenewInstanceRequestWithoutParam

func NewRenewInstanceRequestWithoutParam() *RenewInstanceRequest

This constructor has better compatible ability when API parameters changed

func (RenewInstanceRequest) GetRegionId

func (r RenewInstanceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*RenewInstanceRequest) SetRegionId

func (r *RenewInstanceRequest) SetRegionId(regionId string)

param regionId: 地域(Required)

func (*RenewInstanceRequest) SetRenewInstanceParam

func (r *RenewInstanceRequest) SetRenewInstanceParam(renewInstanceParam *renewal.RenewInstanceParam)

param renewInstanceParam: (Required)

type RenewInstanceResponse

type RenewInstanceResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    RenewInstanceResult `json:"result"`
}

type RenewInstanceResult

type RenewInstanceResult struct {
	OrderNumber string `json:"orderNumber"`
}

type SetRenewalRequest

type SetRenewalRequest struct {
	core.JDCloudRequest

	/* 地域  */
	RegionId string `json:"regionId"`

	/*   */
	SetRenewalParam *renewal.SetRenewalParam `json:"setRenewalParam"`
}

func NewSetRenewalRequest

func NewSetRenewalRequest(
	regionId string,
	setRenewalParam *renewal.SetRenewalParam,
) *SetRenewalRequest

* param regionId: 地域 (Required) * param setRenewalParam: (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSetRenewalRequestWithAllParams

func NewSetRenewalRequestWithAllParams(
	regionId string,
	setRenewalParam *renewal.SetRenewalParam,
) *SetRenewalRequest

* param regionId: 地域 (Required) * param setRenewalParam: (Required)

func NewSetRenewalRequestWithoutParam

func NewSetRenewalRequestWithoutParam() *SetRenewalRequest

This constructor has better compatible ability when API parameters changed

func (SetRenewalRequest) GetRegionId

func (r SetRenewalRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetRenewalRequest) SetRegionId

func (r *SetRenewalRequest) SetRegionId(regionId string)

param regionId: 地域(Required)

func (*SetRenewalRequest) SetSetRenewalParam

func (r *SetRenewalRequest) SetSetRenewalParam(setRenewalParam *renewal.SetRenewalParam)

param setRenewalParam: (Required)

type SetRenewalResponse

type SetRenewalResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    SetRenewalResult   `json:"result"`
}

type SetRenewalResult

type SetRenewalResult struct {
	StringResult string `json:"stringResult"`
}

Jump to

Keyboard shortcuts

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