client

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 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 ActivateLicenseRequest

type ActivateLicenseRequest struct {
	Fingerprint *string `json:"Fingerprint,omitempty" xml:"Fingerprint,omitempty"`
	Id          *string `json:"Id,omitempty" xml:"Id,omitempty"`
	InstanceId  *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	OrderId     *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
}

func (ActivateLicenseRequest) GoString

func (s ActivateLicenseRequest) GoString() string

func (*ActivateLicenseRequest) SetFingerprint

func (*ActivateLicenseRequest) SetId

func (*ActivateLicenseRequest) SetInstanceId

func (*ActivateLicenseRequest) SetOrderId

func (ActivateLicenseRequest) String

func (s ActivateLicenseRequest) String() string

type ActivateLicenseResponse

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

func (ActivateLicenseResponse) GoString

func (s ActivateLicenseResponse) GoString() string

func (*ActivateLicenseResponse) SetBody

func (*ActivateLicenseResponse) SetHeaders

func (*ActivateLicenseResponse) SetStatusCode

func (ActivateLicenseResponse) String

func (s ActivateLicenseResponse) String() string

type ActivateLicenseResponseBody

type ActivateLicenseResponseBody struct {
	AccessDeniedDetail *string                          `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	Code               *string                          `json:"Code,omitempty" xml:"Code,omitempty"`
	Data               *ActivateLicenseResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	HttpStatusCode     *int32                           `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	Message            *string                          `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId          *string                          `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success            *string                          `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ActivateLicenseResponseBody) GoString

func (s ActivateLicenseResponseBody) GoString() string

func (*ActivateLicenseResponseBody) SetAccessDeniedDetail

func (s *ActivateLicenseResponseBody) SetAccessDeniedDetail(v string) *ActivateLicenseResponseBody

func (*ActivateLicenseResponseBody) SetCode

func (*ActivateLicenseResponseBody) SetData

func (*ActivateLicenseResponseBody) SetHttpStatusCode

func (*ActivateLicenseResponseBody) SetMessage

func (*ActivateLicenseResponseBody) SetRequestId

func (*ActivateLicenseResponseBody) SetSuccess

func (ActivateLicenseResponseBody) String

type ActivateLicenseResponseBodyData

type ActivateLicenseResponseBodyData struct {
	ActivateRecord        []*ActivateLicenseResponseBodyDataActivateRecord `json:"ActivateRecord,omitempty" xml:"ActivateRecord,omitempty" type:"Repeated"`
	ActivateTime          *string                                          `json:"ActivateTime,omitempty" xml:"ActivateTime,omitempty"`
	AllDuration           *string                                          `json:"AllDuration,omitempty" xml:"AllDuration,omitempty"`
	ApplicableSpecs       *string                                          `json:"ApplicableSpecs,omitempty" xml:"ApplicableSpecs,omitempty"`
	BuyTime               *string                                          `json:"BuyTime,omitempty" xml:"BuyTime,omitempty"`
	CpuLimit              *int32                                           `json:"CpuLimit,omitempty" xml:"CpuLimit,omitempty"`
	Description           *string                                          `json:"Description,omitempty" xml:"Description,omitempty"`
	Duration              *string                                          `json:"Duration,omitempty" xml:"Duration,omitempty"`
	EffectTime            *string                                          `json:"EffectTime,omitempty" xml:"EffectTime,omitempty"`
	ExpireTime            *string                                          `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	Fingerprint           *string                                          `json:"Fingerprint,omitempty" xml:"Fingerprint,omitempty"`
	Id                    *string                                          `json:"Id,omitempty" xml:"Id,omitempty"`
	InstanceId            *string                                          `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	LicenseCode           *string                                          `json:"LicenseCode,omitempty" xml:"LicenseCode,omitempty"`
	LicenseSpecName       *string                                          `json:"LicenseSpecName,omitempty" xml:"LicenseSpecName,omitempty"`
	MemoryLimit           *int32                                           `json:"MemoryLimit,omitempty" xml:"MemoryLimit,omitempty"`
	Status                *string                                          `json:"Status,omitempty" xml:"Status,omitempty"`
	UnActivateAllDuration *string                                          `json:"UnActivateAllDuration,omitempty" xml:"UnActivateAllDuration,omitempty"`
}

func (ActivateLicenseResponseBodyData) GoString

func (*ActivateLicenseResponseBodyData) SetActivateTime

func (*ActivateLicenseResponseBodyData) SetAllDuration

func (*ActivateLicenseResponseBodyData) SetApplicableSpecs

func (*ActivateLicenseResponseBodyData) SetBuyTime

func (*ActivateLicenseResponseBodyData) SetCpuLimit

func (*ActivateLicenseResponseBodyData) SetDescription

func (*ActivateLicenseResponseBodyData) SetDuration

func (*ActivateLicenseResponseBodyData) SetEffectTime

func (*ActivateLicenseResponseBodyData) SetExpireTime

func (*ActivateLicenseResponseBodyData) SetFingerprint

func (*ActivateLicenseResponseBodyData) SetId

func (*ActivateLicenseResponseBodyData) SetInstanceId

func (*ActivateLicenseResponseBodyData) SetLicenseCode

func (*ActivateLicenseResponseBodyData) SetLicenseSpecName

func (*ActivateLicenseResponseBodyData) SetMemoryLimit

func (*ActivateLicenseResponseBodyData) SetStatus

func (*ActivateLicenseResponseBodyData) SetUnActivateAllDuration

func (ActivateLicenseResponseBodyData) String

type ActivateLicenseResponseBodyDataActivateRecord

type ActivateLicenseResponseBodyDataActivateRecord struct {
	ActivateTime *string `json:"ActivateTime,omitempty" xml:"ActivateTime,omitempty"`
	BuyTime      *string `json:"BuyTime,omitempty" xml:"BuyTime,omitempty"`
	Duration     *string `json:"Duration,omitempty" xml:"Duration,omitempty"`
	ExpireTime   *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	LicenseCode  *string `json:"LicenseCode,omitempty" xml:"LicenseCode,omitempty"`
	OrderId      *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	Status       *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (ActivateLicenseResponseBodyDataActivateRecord) GoString

func (*ActivateLicenseResponseBodyDataActivateRecord) SetActivateTime

func (*ActivateLicenseResponseBodyDataActivateRecord) SetBuyTime

func (*ActivateLicenseResponseBodyDataActivateRecord) SetDuration

func (*ActivateLicenseResponseBodyDataActivateRecord) SetExpireTime

func (*ActivateLicenseResponseBodyDataActivateRecord) SetLicenseCode

func (*ActivateLicenseResponseBodyDataActivateRecord) SetOrderId

func (*ActivateLicenseResponseBodyDataActivateRecord) SetStatus

func (ActivateLicenseResponseBodyDataActivateRecord) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) ActivateLicense

func (client *Client) ActivateLicense(request *ActivateLicenseRequest) (_result *ActivateLicenseResponse, _err error)

Summary:

激活License

@param request - ActivateLicenseRequest

@return ActivateLicenseResponse

func (*Client) ActivateLicenseWithOptions

func (client *Client) ActivateLicenseWithOptions(request *ActivateLicenseRequest, runtime *util.RuntimeOptions) (_result *ActivateLicenseResponse, _err error)

Summary:

激活License

@param request - ActivateLicenseRequest

@param runtime - runtime options for this request RuntimeOptions

@return ActivateLicenseResponse

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) GetLicense

func (client *Client) GetLicense(request *GetLicenseRequest) (_result *GetLicenseResponse, _err error)

Summary:

License详情

@param request - GetLicenseRequest

@return GetLicenseResponse

func (*Client) GetLicenseWithOptions

func (client *Client) GetLicenseWithOptions(request *GetLicenseRequest, runtime *util.RuntimeOptions) (_result *GetLicenseResponse, _err error)

Summary:

License详情

@param request - GetLicenseRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetLicenseResponse

func (*Client) Init

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

func (*Client) ListLicenses

func (client *Client) ListLicenses(request *ListLicensesRequest) (_result *ListLicensesResponse, _err error)

Summary:

License列表

@param request - ListLicensesRequest

@return ListLicensesResponse

func (*Client) ListLicensesWithOptions

func (client *Client) ListLicensesWithOptions(request *ListLicensesRequest, runtime *util.RuntimeOptions) (_result *ListLicensesResponse, _err error)

Summary:

License列表

@param request - ListLicensesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListLicensesResponse

func (*Client) ListUserResources

func (client *Client) ListUserResources(request *ListUserResourcesRequest) (_result *ListUserResourcesResponse, _err error)

Summary:

获取用户资源列表

@param request - ListUserResourcesRequest

@return ListUserResourcesResponse

func (*Client) ListUserResourcesWithOptions

func (client *Client) ListUserResourcesWithOptions(request *ListUserResourcesRequest, runtime *util.RuntimeOptions) (_result *ListUserResourcesResponse, _err error)

Summary:

获取用户资源列表

@param request - ListUserResourcesRequest

@param runtime - runtime options for this request RuntimeOptions

@return ListUserResourcesResponse

func (*Client) UpdateLicenseDescription

func (client *Client) UpdateLicenseDescription(request *UpdateLicenseDescriptionRequest) (_result *UpdateLicenseDescriptionResponse, _err error)

Summary:

更新license描述

@param request - UpdateLicenseDescriptionRequest

@return UpdateLicenseDescriptionResponse

func (*Client) UpdateLicenseDescriptionWithOptions

func (client *Client) UpdateLicenseDescriptionWithOptions(request *UpdateLicenseDescriptionRequest, runtime *util.RuntimeOptions) (_result *UpdateLicenseDescriptionResponse, _err error)

Summary:

更新license描述

@param request - UpdateLicenseDescriptionRequest

@param runtime - runtime options for this request RuntimeOptions

@return UpdateLicenseDescriptionResponse

type GetLicenseRequest

type GetLicenseRequest struct {
	Id         *int64  `json:"Id,omitempty" xml:"Id,omitempty"`
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

func (GetLicenseRequest) GoString

func (s GetLicenseRequest) GoString() string

func (*GetLicenseRequest) SetId

func (*GetLicenseRequest) SetInstanceId

func (s *GetLicenseRequest) SetInstanceId(v string) *GetLicenseRequest

func (GetLicenseRequest) String

func (s GetLicenseRequest) String() string

type GetLicenseResponse

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

func (GetLicenseResponse) GoString

func (s GetLicenseResponse) GoString() string

func (*GetLicenseResponse) SetBody

func (*GetLicenseResponse) SetHeaders

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

func (*GetLicenseResponse) SetStatusCode

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

func (GetLicenseResponse) String

func (s GetLicenseResponse) String() string

type GetLicenseResponseBody

type GetLicenseResponseBody struct {
	AccessDeniedDetail *string                     `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	Code               *string                     `json:"Code,omitempty" xml:"Code,omitempty"`
	Data               *GetLicenseResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	HttpStatusCode     *int32                      `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	Message            *string                     `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId          *string                     `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success            *string                     `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetLicenseResponseBody) GoString

func (s GetLicenseResponseBody) GoString() string

func (*GetLicenseResponseBody) SetAccessDeniedDetail

func (s *GetLicenseResponseBody) SetAccessDeniedDetail(v string) *GetLicenseResponseBody

func (*GetLicenseResponseBody) SetCode

func (*GetLicenseResponseBody) SetData

func (*GetLicenseResponseBody) SetHttpStatusCode

func (s *GetLicenseResponseBody) SetHttpStatusCode(v int32) *GetLicenseResponseBody

func (*GetLicenseResponseBody) SetMessage

func (*GetLicenseResponseBody) SetRequestId

func (*GetLicenseResponseBody) SetSuccess

func (GetLicenseResponseBody) String

func (s GetLicenseResponseBody) String() string

type GetLicenseResponseBodyData

type GetLicenseResponseBodyData struct {
	ActivateRecord []*GetLicenseResponseBodyDataActivateRecord `json:"ActivateRecord,omitempty" xml:"ActivateRecord,omitempty" type:"Repeated"`
	// 代表资源一级ID的资源属性字段
	ActivateTime    *string `json:"ActivateTime,omitempty" xml:"ActivateTime,omitempty"`
	AdaptiveMachine *string `json:"AdaptiveMachine,omitempty" xml:"AdaptiveMachine,omitempty"`
	AllDuration     *string `json:"AllDuration,omitempty" xml:"AllDuration,omitempty"`
	ApplicableSpecs *string `json:"ApplicableSpecs,omitempty" xml:"ApplicableSpecs,omitempty"`
	// 代表资源名称的资源属性字段
	BuyTime     *string `json:"BuyTime,omitempty" xml:"BuyTime,omitempty"`
	CpuLimit    *int32  `json:"CpuLimit,omitempty" xml:"CpuLimit,omitempty"`
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	Duration    *string `json:"Duration,omitempty" xml:"Duration,omitempty"`
	EffectTime  *string `json:"EffectTime,omitempty" xml:"EffectTime,omitempty"`
	ExpireTime  *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	// 代表创建时间的资源属性字段
	Fingerprint     *string `json:"Fingerprint,omitempty" xml:"Fingerprint,omitempty"`
	Id              *int64  `json:"Id,omitempty" xml:"Id,omitempty"`
	InstanceId      *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	LicenseCode     *string `json:"LicenseCode,omitempty" xml:"LicenseCode,omitempty"`
	LicenseSpecCode *string `json:"LicenseSpecCode,omitempty" xml:"LicenseSpecCode,omitempty"`
	// 代表资源组的资源属性字段
	LicenseSpecName       *string `json:"LicenseSpecName,omitempty" xml:"LicenseSpecName,omitempty"`
	LicenseSpecType       *string `json:"LicenseSpecType,omitempty" xml:"LicenseSpecType,omitempty"`
	MemoryLimit           *int32  `json:"MemoryLimit,omitempty" xml:"MemoryLimit,omitempty"`
	Proposal              *string `json:"Proposal,omitempty" xml:"Proposal,omitempty"`
	Status                *string `json:"Status,omitempty" xml:"Status,omitempty"`
	UnActivateAllDuration *string `json:"UnActivateAllDuration,omitempty" xml:"UnActivateAllDuration,omitempty"`
}

func (GetLicenseResponseBodyData) GoString

func (s GetLicenseResponseBodyData) GoString() string

func (*GetLicenseResponseBodyData) SetActivateRecord

func (*GetLicenseResponseBodyData) SetActivateTime

func (*GetLicenseResponseBodyData) SetAdaptiveMachine

func (*GetLicenseResponseBodyData) SetAllDuration

func (*GetLicenseResponseBodyData) SetApplicableSpecs

func (*GetLicenseResponseBodyData) SetBuyTime

func (*GetLicenseResponseBodyData) SetCpuLimit

func (*GetLicenseResponseBodyData) SetDescription

func (*GetLicenseResponseBodyData) SetDuration

func (*GetLicenseResponseBodyData) SetEffectTime

func (*GetLicenseResponseBodyData) SetExpireTime

func (*GetLicenseResponseBodyData) SetFingerprint

func (*GetLicenseResponseBodyData) SetId

func (*GetLicenseResponseBodyData) SetInstanceId

func (*GetLicenseResponseBodyData) SetLicenseCode

func (*GetLicenseResponseBodyData) SetLicenseSpecCode

func (*GetLicenseResponseBodyData) SetLicenseSpecName

func (*GetLicenseResponseBodyData) SetLicenseSpecType

func (*GetLicenseResponseBodyData) SetMemoryLimit

func (*GetLicenseResponseBodyData) SetProposal

func (*GetLicenseResponseBodyData) SetStatus

func (*GetLicenseResponseBodyData) SetUnActivateAllDuration

func (s *GetLicenseResponseBodyData) SetUnActivateAllDuration(v string) *GetLicenseResponseBodyData

func (GetLicenseResponseBodyData) String

type GetLicenseResponseBodyDataActivateRecord

type GetLicenseResponseBodyDataActivateRecord struct {
	ActivateTime *string `json:"ActivateTime,omitempty" xml:"ActivateTime,omitempty"`
	BuyTime      *string `json:"BuyTime,omitempty" xml:"BuyTime,omitempty"`
	Duration     *string `json:"Duration,omitempty" xml:"Duration,omitempty"`
	ExpireTime   *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	LicenseCode  *string `json:"LicenseCode,omitempty" xml:"LicenseCode,omitempty"`
	OrderId      *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	Status       *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetLicenseResponseBodyDataActivateRecord) GoString

func (*GetLicenseResponseBodyDataActivateRecord) SetActivateTime

func (*GetLicenseResponseBodyDataActivateRecord) SetBuyTime

func (*GetLicenseResponseBodyDataActivateRecord) SetDuration

func (*GetLicenseResponseBodyDataActivateRecord) SetExpireTime

func (*GetLicenseResponseBodyDataActivateRecord) SetLicenseCode

func (*GetLicenseResponseBodyDataActivateRecord) SetOrderId

func (*GetLicenseResponseBodyDataActivateRecord) SetStatus

func (GetLicenseResponseBodyDataActivateRecord) String

type ListLicensesRequest

type ListLicensesRequest struct {
	CurrentPage *int32  `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	PageSize    *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	QueryStr    *string `json:"QueryStr,omitempty" xml:"QueryStr,omitempty"`
}

func (ListLicensesRequest) GoString

func (s ListLicensesRequest) GoString() string

func (*ListLicensesRequest) SetCurrentPage

func (s *ListLicensesRequest) SetCurrentPage(v int32) *ListLicensesRequest

func (*ListLicensesRequest) SetPageSize

func (s *ListLicensesRequest) SetPageSize(v int32) *ListLicensesRequest

func (*ListLicensesRequest) SetQueryStr

func (s *ListLicensesRequest) SetQueryStr(v string) *ListLicensesRequest

func (ListLicensesRequest) String

func (s ListLicensesRequest) String() string

type ListLicensesResponse

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

func (ListLicensesResponse) GoString

func (s ListLicensesResponse) GoString() string

func (*ListLicensesResponse) SetBody

func (*ListLicensesResponse) SetHeaders

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

func (*ListLicensesResponse) SetStatusCode

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

func (ListLicensesResponse) String

func (s ListLicensesResponse) String() string

type ListLicensesResponseBody

type ListLicensesResponseBody struct {
	AccessDeniedDetail *string                                `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	Code               *string                                `json:"Code,omitempty" xml:"Code,omitempty"`
	CurrentPage        *int32                                 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	HttpStatusCode     *int32                                 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	LicenseList        []*ListLicensesResponseBodyLicenseList `json:"LicenseList,omitempty" xml:"LicenseList,omitempty" type:"Repeated"`
	Message            *string                                `json:"Message,omitempty" xml:"Message,omitempty"`
	PageSize           *int32                                 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	RequestId          *string                                `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success            *bool                                  `json:"Success,omitempty" xml:"Success,omitempty"`
	TotalCount         *int64                                 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
	TotalPage          *string                                `json:"TotalPage,omitempty" xml:"TotalPage,omitempty"`
	TotalPageCount     *string                                `json:"TotalPageCount,omitempty" xml:"TotalPageCount,omitempty"`
}

func (ListLicensesResponseBody) GoString

func (s ListLicensesResponseBody) GoString() string

func (*ListLicensesResponseBody) SetAccessDeniedDetail

func (s *ListLicensesResponseBody) SetAccessDeniedDetail(v string) *ListLicensesResponseBody

func (*ListLicensesResponseBody) SetCode

func (*ListLicensesResponseBody) SetCurrentPage

func (*ListLicensesResponseBody) SetHttpStatusCode

func (s *ListLicensesResponseBody) SetHttpStatusCode(v int32) *ListLicensesResponseBody

func (*ListLicensesResponseBody) SetLicenseList

func (*ListLicensesResponseBody) SetMessage

func (*ListLicensesResponseBody) SetPageSize

func (*ListLicensesResponseBody) SetRequestId

func (*ListLicensesResponseBody) SetSuccess

func (*ListLicensesResponseBody) SetTotalCount

func (*ListLicensesResponseBody) SetTotalPage

func (*ListLicensesResponseBody) SetTotalPageCount

func (s *ListLicensesResponseBody) SetTotalPageCount(v string) *ListLicensesResponseBody

func (ListLicensesResponseBody) String

func (s ListLicensesResponseBody) String() string

type ListLicensesResponseBodyLicenseList

type ListLicensesResponseBodyLicenseList struct {
	ActivateTime          *string `json:"ActivateTime,omitempty" xml:"ActivateTime,omitempty"`
	AdaptiveMachine       *int32  `json:"AdaptiveMachine,omitempty" xml:"AdaptiveMachine,omitempty"`
	AllDuration           *string `json:"AllDuration,omitempty" xml:"AllDuration,omitempty"`
	BuyTime               *string `json:"BuyTime,omitempty" xml:"BuyTime,omitempty"`
	CpuLimit              *int32  `json:"CpuLimit,omitempty" xml:"CpuLimit,omitempty"`
	Description           *string `json:"Description,omitempty" xml:"Description,omitempty"`
	Duration              *string `json:"Duration,omitempty" xml:"Duration,omitempty"`
	EffectTime            *string `json:"EffectTime,omitempty" xml:"EffectTime,omitempty"`
	ExpireTime            *string `json:"ExpireTime,omitempty" xml:"ExpireTime,omitempty"`
	Id                    *string `json:"Id,omitempty" xml:"Id,omitempty"`
	InstanceId            *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	LicenseSpecCode       *string `json:"LicenseSpecCode,omitempty" xml:"LicenseSpecCode,omitempty"`
	LicenseSpecName       *string `json:"LicenseSpecName,omitempty" xml:"LicenseSpecName,omitempty"`
	LicenseSpecType       *string `json:"LicenseSpecType,omitempty" xml:"LicenseSpecType,omitempty"`
	MemoryLimit           *int32  `json:"MemoryLimit,omitempty" xml:"MemoryLimit,omitempty"`
	Status                *string `json:"Status,omitempty" xml:"Status,omitempty"`
	UnActivateAllDuration *string `json:"UnActivateAllDuration,omitempty" xml:"UnActivateAllDuration,omitempty"`
}

func (ListLicensesResponseBodyLicenseList) GoString

func (*ListLicensesResponseBodyLicenseList) SetActivateTime

func (*ListLicensesResponseBodyLicenseList) SetAdaptiveMachine

func (*ListLicensesResponseBodyLicenseList) SetAllDuration

func (*ListLicensesResponseBodyLicenseList) SetBuyTime

func (*ListLicensesResponseBodyLicenseList) SetCpuLimit

func (*ListLicensesResponseBodyLicenseList) SetDescription

func (*ListLicensesResponseBodyLicenseList) SetDuration

func (*ListLicensesResponseBodyLicenseList) SetEffectTime

func (*ListLicensesResponseBodyLicenseList) SetExpireTime

func (*ListLicensesResponseBodyLicenseList) SetId

func (*ListLicensesResponseBodyLicenseList) SetInstanceId

func (*ListLicensesResponseBodyLicenseList) SetLicenseSpecCode

func (*ListLicensesResponseBodyLicenseList) SetLicenseSpecName

func (*ListLicensesResponseBodyLicenseList) SetLicenseSpecType

func (*ListLicensesResponseBodyLicenseList) SetMemoryLimit

func (*ListLicensesResponseBodyLicenseList) SetStatus

func (*ListLicensesResponseBodyLicenseList) SetUnActivateAllDuration

func (ListLicensesResponseBodyLicenseList) String

type ListUserResourcesRequest

type ListUserResourcesRequest struct {
	CommodityCode *string `json:"CommodityCode,omitempty" xml:"CommodityCode,omitempty"`
}

func (ListUserResourcesRequest) GoString

func (s ListUserResourcesRequest) GoString() string

func (*ListUserResourcesRequest) SetCommodityCode

func (ListUserResourcesRequest) String

func (s ListUserResourcesRequest) String() string

type ListUserResourcesResponse

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

func (ListUserResourcesResponse) GoString

func (s ListUserResourcesResponse) GoString() string

func (*ListUserResourcesResponse) SetBody

func (*ListUserResourcesResponse) SetHeaders

func (*ListUserResourcesResponse) SetStatusCode

func (ListUserResourcesResponse) String

func (s ListUserResourcesResponse) String() string

type ListUserResourcesResponseBody

type ListUserResourcesResponseBody struct {
	AccessDeniedDetail *string                              `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	Code               *string                              `json:"Code,omitempty" xml:"Code,omitempty"`
	Data               []*ListUserResourcesResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	HttpStatusCode     *int32                               `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	Message            *string                              `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId          *string                              `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	Success            *string                              `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ListUserResourcesResponseBody) GoString

func (*ListUserResourcesResponseBody) SetAccessDeniedDetail

func (*ListUserResourcesResponseBody) SetCode

func (*ListUserResourcesResponseBody) SetData

func (*ListUserResourcesResponseBody) SetHttpStatusCode

func (*ListUserResourcesResponseBody) SetMessage

func (*ListUserResourcesResponseBody) SetRequestId

func (*ListUserResourcesResponseBody) SetSuccess

func (ListUserResourcesResponseBody) String

type ListUserResourcesResponseBodyData

type ListUserResourcesResponseBodyData struct {
	ChargeType    *string `json:"chargeType,omitempty" xml:"chargeType,omitempty"`
	CommodityCode *string `json:"commodityCode,omitempty" xml:"commodityCode,omitempty"`
	EndDate       *string `json:"endDate,omitempty" xml:"endDate,omitempty"`
	InstanceId    *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	Region        *string `json:"region,omitempty" xml:"region,omitempty"`
	StartDate     *string `json:"startDate,omitempty" xml:"startDate,omitempty"`
	Status        *string `json:"status,omitempty" xml:"status,omitempty"`
	StatusMsg     *string `json:"statusMsg,omitempty" xml:"statusMsg,omitempty"`
}

func (ListUserResourcesResponseBodyData) GoString

func (*ListUserResourcesResponseBodyData) SetChargeType

func (*ListUserResourcesResponseBodyData) SetCommodityCode

func (*ListUserResourcesResponseBodyData) SetEndDate

func (*ListUserResourcesResponseBodyData) SetInstanceId

func (*ListUserResourcesResponseBodyData) SetRegion

func (*ListUserResourcesResponseBodyData) SetStartDate

func (*ListUserResourcesResponseBodyData) SetStatus

func (*ListUserResourcesResponseBodyData) SetStatusMsg

func (ListUserResourcesResponseBodyData) String

type UpdateLicenseDescriptionRequest

type UpdateLicenseDescriptionRequest struct {
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// example:
	//
	// brainindustrial_aicsruntime_public_cn-mdu3ps3kw04
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

func (UpdateLicenseDescriptionRequest) GoString

func (*UpdateLicenseDescriptionRequest) SetDescription

func (*UpdateLicenseDescriptionRequest) SetInstanceId

func (UpdateLicenseDescriptionRequest) String

type UpdateLicenseDescriptionResponse

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

func (UpdateLicenseDescriptionResponse) GoString

func (*UpdateLicenseDescriptionResponse) SetHeaders

func (*UpdateLicenseDescriptionResponse) SetStatusCode

func (UpdateLicenseDescriptionResponse) String

type UpdateLicenseDescriptionResponseBody

type UpdateLicenseDescriptionResponseBody struct {
	AccessDeniedDetail *string `json:"AccessDeniedDetail,omitempty" xml:"AccessDeniedDetail,omitempty"`
	// example:
	//
	// 200
	Code           *string `json:"Code,omitempty" xml:"Code,omitempty"`
	HttpStatusCode *int32  `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// example:
	//
	// successful
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Id of the request
	//
	// example:
	//
	// 68738E75-43C1-5AE5-9F3A-AFEF576D7B5F
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// True
	Success *string `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (UpdateLicenseDescriptionResponseBody) GoString

func (*UpdateLicenseDescriptionResponseBody) SetAccessDeniedDetail

func (*UpdateLicenseDescriptionResponseBody) SetCode

func (*UpdateLicenseDescriptionResponseBody) SetHttpStatusCode

func (*UpdateLicenseDescriptionResponseBody) SetMessage

func (*UpdateLicenseDescriptionResponseBody) SetRequestId

func (*UpdateLicenseDescriptionResponseBody) SetSuccess

func (UpdateLicenseDescriptionResponseBody) String

Jump to

Keyboard shortcuts

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