client

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelSubscriptionBillRequest

type CancelSubscriptionBillRequest struct {
	// The type of the bill to which you want to cancel the subscription. Valid values: PartnerBillingItemDetailForBillingPeriod, PartnerBillingItemDetailMonthly, PartnerInstanceDetailForBillingPeriod, and PartnerInstanceDetailMonthly.
	SubscribeType *string `json:"SubscribeType,omitempty" xml:"SubscribeType,omitempty"`
}

func (CancelSubscriptionBillRequest) GoString

func (*CancelSubscriptionBillRequest) SetSubscribeType

func (CancelSubscriptionBillRequest) String

type CancelSubscriptionBillResponse

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

func (CancelSubscriptionBillResponse) GoString

func (*CancelSubscriptionBillResponse) SetHeaders

func (*CancelSubscriptionBillResponse) SetStatusCode

func (CancelSubscriptionBillResponse) String

type CancelSubscriptionBillResponseBody

type CancelSubscriptionBillResponseBody struct {
	// The HTTP status code that is returned.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data that is returned.
	Data *bool `json:"Data,omitempty" xml:"Data,omitempty"`
	// The message that is returned.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request was successful.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CancelSubscriptionBillResponseBody) GoString

func (*CancelSubscriptionBillResponseBody) SetCode

func (*CancelSubscriptionBillResponseBody) SetData

func (*CancelSubscriptionBillResponseBody) SetMessage

func (*CancelSubscriptionBillResponseBody) SetRequestId

func (*CancelSubscriptionBillResponseBody) SetSuccess

func (CancelSubscriptionBillResponseBody) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) CancelSubscriptionBill

func (client *Client) CancelSubscriptionBill(request *CancelSubscriptionBillRequest) (_result *CancelSubscriptionBillResponse, _err error)

*

  • Make sure that you are a distributor of the Alibaba Cloud international ecosystem.
  • You can call this operation to cancel the subscription to only one type of bill at a time.
  • After the subscription to a type of bill is canceled, bills of this type are no longer pushed to the specified Object Storage Service (OSS) bucket.
  • **This topic is published only on the international site (alibabacloud.com). *
  • @param request CancelSubscriptionBillRequest
  • @return CancelSubscriptionBillResponse

func (*Client) CancelSubscriptionBillWithOptions

func (client *Client) CancelSubscriptionBillWithOptions(request *CancelSubscriptionBillRequest, runtime *util.RuntimeOptions) (_result *CancelSubscriptionBillResponse, _err error)

*

  • Make sure that you are a distributor of the Alibaba Cloud international ecosystem.
  • You can call this operation to cancel the subscription to only one type of bill at a time.
  • After the subscription to a type of bill is canceled, bills of this type are no longer pushed to the specified Object Storage Service (OSS) bucket.
  • **This topic is published only on the international site (alibabacloud.com). *
  • @param request CancelSubscriptionBillRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CancelSubscriptionBillResponse

func (*Client) CreateCustomer

func (client *Client) CreateCustomer(request *CreateCustomerRequest) (_result *CreateCustomerResponse, _err error)

func (*Client) CreateCustomerWithOptions

func (client *Client) CreateCustomerWithOptions(request *CreateCustomerRequest, runtime *util.RuntimeOptions) (_result *CreateCustomerResponse, _err error)

func (*Client) CustomerQuotaRecordList added in v1.1.0

func (client *Client) CustomerQuotaRecordList(request *CustomerQuotaRecordListRequest) (_result *CustomerQuotaRecordListResponse, _err error)

func (*Client) CustomerQuotaRecordListWithOptions added in v1.1.0

func (client *Client) CustomerQuotaRecordListWithOptions(request *CustomerQuotaRecordListRequest, runtime *util.RuntimeOptions) (_result *CustomerQuotaRecordListResponse, _err error)

func (*Client) DeductOutstandingBalance

func (client *Client) DeductOutstandingBalance(request *DeductOutstandingBalanceRequest) (_result *DeductOutstandingBalanceResponse, _err error)

*

  • Note that sometimes you may find that the customer\\"s Used Credit is negative. This indicates that there is no need to restore the Used Credit, and its ready for customer\\"s usage. This phenomenon occurs because a refund is generated while the customer\\"s credit is full, thereby triggered additional increasing on the customer\\"s credit.
  • For example, if the customer\\"s maximum Available Credit is 1000 with no usage, and a refund of 300 occurs, the Used Credit will become -300. *
  • @param request DeductOutstandingBalanceRequest
  • @return DeductOutstandingBalanceResponse

func (*Client) DeductOutstandingBalanceWithOptions

func (client *Client) DeductOutstandingBalanceWithOptions(request *DeductOutstandingBalanceRequest, runtime *util.RuntimeOptions) (_result *DeductOutstandingBalanceResponse, _err error)

*

  • Note that sometimes you may find that the customer\\"s Used Credit is negative. This indicates that there is no need to restore the Used Credit, and its ready for customer\\"s usage. This phenomenon occurs because a refund is generated while the customer\\"s credit is full, thereby triggered additional increasing on the customer\\"s credit.
  • For example, if the customer\\"s maximum Available Credit is 1000 with no usage, and a refund of 300 occurs, the Used Credit will become -300. *
  • @param request DeductOutstandingBalanceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeductOutstandingBalanceResponse

func (*Client) EditEndUserStatus

func (client *Client) EditEndUserStatus(request *EditEndUserStatusRequest) (_result *EditEndUserStatusResponse, _err error)

*

  • The caller should be the Partner as identified in the Alibaba Cloud distribution model. </br>
  • **This content is only published on the international site. ** *
  • @param request EditEndUserStatusRequest
  • @return EditEndUserStatusResponse

func (*Client) EditEndUserStatusWithOptions

func (client *Client) EditEndUserStatusWithOptions(request *EditEndUserStatusRequest, runtime *util.RuntimeOptions) (_result *EditEndUserStatusResponse, _err error)

*

  • The caller should be the Partner as identified in the Alibaba Cloud distribution model. </br>
  • **This content is only published on the international site. ** *
  • @param request EditEndUserStatusRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return EditEndUserStatusResponse

func (*Client) EditNewBuyStatus

func (client *Client) EditNewBuyStatus(request *EditNewBuyStatusRequest) (_result *EditNewBuyStatusResponse, _err error)

*

  • The caller should be the Partner as identified in the Alibaba Cloud distribution model. </br>
  • **This content is only published on the international site. ** *
  • @param request EditNewBuyStatusRequest
  • @return EditNewBuyStatusResponse

func (*Client) EditNewBuyStatusWithOptions

func (client *Client) EditNewBuyStatusWithOptions(request *EditNewBuyStatusRequest, runtime *util.RuntimeOptions) (_result *EditNewBuyStatusResponse, _err error)

*

  • The caller should be the Partner as identified in the Alibaba Cloud distribution model. </br>
  • **This content is only published on the international site. ** *
  • @param request EditNewBuyStatusRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return EditNewBuyStatusResponse

func (*Client) EditZeroCreditShutdown

func (client *Client) EditZeroCreditShutdown(request *EditZeroCreditShutdownRequest) (_result *EditZeroCreditShutdownResponse, _err error)

*

  • The caller should be the Partner as identified in the Alibaba Cloud distribution model. </br>
  • **This content is only published on the international site. ** *
  • @param request EditZeroCreditShutdownRequest
  • @return EditZeroCreditShutdownResponse

func (*Client) EditZeroCreditShutdownWithOptions

func (client *Client) EditZeroCreditShutdownWithOptions(request *EditZeroCreditShutdownRequest, runtime *util.RuntimeOptions) (_result *EditZeroCreditShutdownResponse, _err error)

*

  • The caller should be the Partner as identified in the Alibaba Cloud distribution model. </br>
  • **This content is only published on the international site. ** *
  • @param request EditZeroCreditShutdownRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return EditZeroCreditShutdownResponse

func (*Client) ExportCustomerQuotaRecord added in v1.1.0

func (client *Client) ExportCustomerQuotaRecord(request *ExportCustomerQuotaRecordRequest) (_result *ExportCustomerQuotaRecordResponse, _err error)

*

  • Caller must be a Partner from International Site, either Distribution or Reseller will do. *
  • @param request ExportCustomerQuotaRecordRequest
  • @return ExportCustomerQuotaRecordResponse

func (*Client) ExportCustomerQuotaRecordWithOptions added in v1.1.0

func (client *Client) ExportCustomerQuotaRecordWithOptions(request *ExportCustomerQuotaRecordRequest, runtime *util.RuntimeOptions) (_result *ExportCustomerQuotaRecordResponse, _err error)

*

  • Caller must be a Partner from International Site, either Distribution or Reseller will do. *
  • @param request ExportCustomerQuotaRecordRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ExportCustomerQuotaRecordResponse

func (*Client) GetAccountInfo

func (client *Client) GetAccountInfo(request *GetAccountInfoRequest) (_result *GetAccountInfoResponse, _err error)

func (*Client) GetAccountInfoWithOptions

func (client *Client) GetAccountInfoWithOptions(request *GetAccountInfoRequest, runtime *util.RuntimeOptions) (_result *GetAccountInfoResponse, _err error)

func (*Client) GetCreditInfo

func (client *Client) GetCreditInfo(request *GetCreditInfoRequest) (_result *GetCreditInfoResponse, _err error)

func (*Client) GetCreditInfoWithOptions

func (client *Client) GetCreditInfoWithOptions(request *GetCreditInfoRequest, runtime *util.RuntimeOptions) (_result *GetCreditInfoResponse, _err error)

func (*Client) GetDailyBill

func (client *Client) GetDailyBill(request *GetDailyBillRequest) (_result *GetDailyBillResponse, _err error)

func (*Client) GetDailyBillWithOptions

func (client *Client) GetDailyBillWithOptions(request *GetDailyBillRequest, runtime *util.RuntimeOptions) (_result *GetDailyBillResponse, _err error)

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetInviteStatus

func (client *Client) GetInviteStatus(request *GetInviteStatusRequest) (_result *GetInviteStatusResponse, _err error)

func (*Client) GetInviteStatusWithOptions

func (client *Client) GetInviteStatusWithOptions(request *GetInviteStatusRequest, runtime *util.RuntimeOptions) (_result *GetInviteStatusResponse, _err error)

func (*Client) GetMonthlyBill

func (client *Client) GetMonthlyBill(request *GetMonthlyBillRequest) (_result *GetMonthlyBillResponse, _err error)

func (*Client) GetMonthlyBillWithOptions

func (client *Client) GetMonthlyBillWithOptions(request *GetMonthlyBillRequest, runtime *util.RuntimeOptions) (_result *GetMonthlyBillResponse, _err error)

func (*Client) GetUnassociatedCustomer

func (client *Client) GetUnassociatedCustomer(request *GetUnassociatedCustomerRequest) (_result *GetUnassociatedCustomerResponse, _err error)

func (*Client) GetUnassociatedCustomerWithOptions

func (client *Client) GetUnassociatedCustomerWithOptions(request *GetUnassociatedCustomerRequest, runtime *util.RuntimeOptions) (_result *GetUnassociatedCustomerResponse, _err error)

func (*Client) Init

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

func (*Client) InviteSubAccount

func (client *Client) InviteSubAccount(request *InviteSubAccountRequest) (_result *InviteSubAccountResponse, _err error)

*

  • The current API request rate for the Cloud Product has not been disclosed. *
  • @param request InviteSubAccountRequest
  • @return InviteSubAccountResponse

func (*Client) InviteSubAccountWithOptions

func (client *Client) InviteSubAccountWithOptions(request *InviteSubAccountRequest, runtime *util.RuntimeOptions) (_result *InviteSubAccountResponse, _err error)

*

  • The current API request rate for the Cloud Product has not been disclosed. *
  • @param request InviteSubAccountRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return InviteSubAccountResponse

func (*Client) ListCountries

func (client *Client) ListCountries() (_result *ListCountriesResponse, _err error)

*

  • The current API request rate for cloud products has not been disclosed. *
  • @return ListCountriesResponse

func (*Client) ListCountriesWithOptions

func (client *Client) ListCountriesWithOptions(runtime *util.RuntimeOptions) (_result *ListCountriesResponse, _err error)

*

  • The current API request rate for cloud products has not been disclosed. *
  • @param request ListCountriesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListCountriesResponse

func (*Client) ListCouponUsage added in v1.2.0

func (client *Client) ListCouponUsage(request *ListCouponUsageRequest) (_result *ListCouponUsageResponse, _err error)

func (*Client) ListCouponUsageWithOptions added in v1.2.0

func (client *Client) ListCouponUsageWithOptions(request *ListCouponUsageRequest, runtime *util.RuntimeOptions) (_result *ListCouponUsageResponse, _err error)

func (*Client) QuotaListExportPaged added in v1.1.0

func (client *Client) QuotaListExportPaged(request *QuotaListExportPagedRequest) (_result *QuotaListExportPagedResponse, _err error)

*

  • Caller must be a Partner from International Site, either Distribution or Reseller will do. *
  • @param request QuotaListExportPagedRequest
  • @return QuotaListExportPagedResponse

func (*Client) QuotaListExportPagedWithOptions added in v1.1.0

func (client *Client) QuotaListExportPagedWithOptions(request *QuotaListExportPagedRequest, runtime *util.RuntimeOptions) (_result *QuotaListExportPagedResponse, _err error)

*

  • Caller must be a Partner from International Site, either Distribution or Reseller will do. *
  • @param request QuotaListExportPagedRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return QuotaListExportPagedResponse

func (*Client) ResendEmail

func (client *Client) ResendEmail(request *ResendEmailRequest) (_result *ResendEmailResponse, _err error)

func (*Client) ResendEmailWithOptions

func (client *Client) ResendEmailWithOptions(request *ResendEmailRequest, runtime *util.RuntimeOptions) (_result *ResendEmailResponse, _err error)

func (*Client) SetAccountInfo

func (client *Client) SetAccountInfo(request *SetAccountInfoRequest) (_result *SetAccountInfoResponse, _err error)

func (*Client) SetAccountInfoWithOptions

func (client *Client) SetAccountInfoWithOptions(request *SetAccountInfoRequest, runtime *util.RuntimeOptions) (_result *SetAccountInfoResponse, _err error)

func (*Client) SetCreditLine

func (client *Client) SetCreditLine(request *SetCreditLineRequest) (_result *SetCreditLineResponse, _err error)

func (*Client) SetCreditLineWithOptions

func (client *Client) SetCreditLineWithOptions(request *SetCreditLineRequest, runtime *util.RuntimeOptions) (_result *SetCreditLineResponse, _err error)

func (*Client) SetWarningThreshold

func (client *Client) SetWarningThreshold(request *SetWarningThresholdRequest) (_result *SetWarningThresholdResponse, _err error)

func (*Client) SetWarningThresholdWithOptions

func (client *Client) SetWarningThresholdWithOptions(request *SetWarningThresholdRequest, runtime *util.RuntimeOptions) (_result *SetWarningThresholdResponse, _err error)

func (*Client) SubscriptionBill

func (client *Client) SubscriptionBill(request *SubscriptionBillRequest) (_result *SubscriptionBillResponse, _err error)

*

  • * Make sure that you are a distributor of the Alibaba Cloud international ecosystem.
  • * You can call this operation to subscribe to only one type of bill at a time.
  • * After the subscription to a type of bill is generated, the bill for the previous day is pushed on a daily basis from the next day. On the fifth day of each month, the full-data bill for the previous month is pushed.
  • * A daily bill may be delayed. The delayed bill is pushed the next day after it is generated. The delayed bill may contain the bill data that is delayed until the previous day. We recommend that you query the full-data bill for the previous month at the beginning of each month.
  • * Your account must be granted the [AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/?spm=api-workbench.API%20Document.0.0.68c71e0fhmTSJp#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D) permission.
  • * The following file name formats are supported for bills:
  • ```
  • BillingItemDetailForBillingPeriod *
  • File name format of a daily bill: UID_PartnerBillingItemDetail_YYYYMMDD_SquenceNo_fileNo. Example: 169**_BillingItemDetail_20190310_0001_01. *
  • File name format of a monthly full-data bill: UID_PartnerBillingItemDetail_YYYYMM_SquenceNo_fileNo. Example: 169**_BillingItemDetail_201903_0001_01.
  • InstanceDetailForBillingPeriod *
  • File name format of a daily bill: UID_PartnerInstanceDetail_YYYYMMDD_SquenceNo_fileNo. Example: 169**_InstanceDetail_20190310_0001_01. *
  • File name format of a monthly full-data bill: UID_PartnerInstanceDetail_YYYYMM_SquenceNo_fileNo. Example: 169**_InstanceDetail_201903_1999-0001_01.
  • BillingItemDetailMonthly *
  • File name format of a daily bill: UID_PartnerBillingItemDetailMonthly_YYYYMM_SquenceNo_fileNo. Example: 169**_BillingItemDetailMonthly_201903_0001_01. This bill contains the bill data that is generated from the beginning of the current month to the fifth day of the next month.
  • InstanceDetailMonthly *
  • File name format of a daily bill: UID_PartnerInstanceDetailMonthly_YYYYMM_SquenceNo_fileNo. Example: 169**_InstanceDetailMonthly_201903_0001_01. This bill contains the bill data that is generated from the beginning of the current month to the fifth day of the next month.
  • The fileNo field exists only when the number of bill rows reaches the maximum rows in a single bill file and the bill is split into multiple files.
  • ```
  • **This topic is published only on the international site (alibabacloud.com). *
  • @param request SubscriptionBillRequest
  • @return SubscriptionBillResponse

func (*Client) SubscriptionBillWithOptions

func (client *Client) SubscriptionBillWithOptions(request *SubscriptionBillRequest, runtime *util.RuntimeOptions) (_result *SubscriptionBillResponse, _err error)

*

  • * Make sure that you are a distributor of the Alibaba Cloud international ecosystem.
  • * You can call this operation to subscribe to only one type of bill at a time.
  • * After the subscription to a type of bill is generated, the bill for the previous day is pushed on a daily basis from the next day. On the fifth day of each month, the full-data bill for the previous month is pushed.
  • * A daily bill may be delayed. The delayed bill is pushed the next day after it is generated. The delayed bill may contain the bill data that is delayed until the previous day. We recommend that you query the full-data bill for the previous month at the beginning of each month.
  • * Your account must be granted the [AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/?spm=api-workbench.API%20Document.0.0.68c71e0fhmTSJp#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D) permission.
  • * The following file name formats are supported for bills:
  • ```
  • BillingItemDetailForBillingPeriod *
  • File name format of a daily bill: UID_PartnerBillingItemDetail_YYYYMMDD_SquenceNo_fileNo. Example: 169**_BillingItemDetail_20190310_0001_01. *
  • File name format of a monthly full-data bill: UID_PartnerBillingItemDetail_YYYYMM_SquenceNo_fileNo. Example: 169**_BillingItemDetail_201903_0001_01.
  • InstanceDetailForBillingPeriod *
  • File name format of a daily bill: UID_PartnerInstanceDetail_YYYYMMDD_SquenceNo_fileNo. Example: 169**_InstanceDetail_20190310_0001_01. *
  • File name format of a monthly full-data bill: UID_PartnerInstanceDetail_YYYYMM_SquenceNo_fileNo. Example: 169**_InstanceDetail_201903_1999-0001_01.
  • BillingItemDetailMonthly *
  • File name format of a daily bill: UID_PartnerBillingItemDetailMonthly_YYYYMM_SquenceNo_fileNo. Example: 169**_BillingItemDetailMonthly_201903_0001_01. This bill contains the bill data that is generated from the beginning of the current month to the fifth day of the next month.
  • InstanceDetailMonthly *
  • File name format of a daily bill: UID_PartnerInstanceDetailMonthly_YYYYMM_SquenceNo_fileNo. Example: 169**_InstanceDetailMonthly_201903_0001_01. This bill contains the bill data that is generated from the beginning of the current month to the fifth day of the next month.
  • The fileNo field exists only when the number of bill rows reaches the maximum rows in a single bill file and the bill is split into multiple files.
  • ```
  • **This topic is published only on the international site (alibabacloud.com). *
  • @param request SubscriptionBillRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return SubscriptionBillResponse

type CreateCustomerRequest

type CreateCustomerRequest struct {
	// Customer\"s name.
	CustomerName *string `json:"CustomerName,omitempty" xml:"CustomerName,omitempty"`
	// The source/channel that allow client to connected with us. Please enumerate with Customer Source.
	CustomerSource *string `json:"CustomerSource,omitempty" xml:"CustomerSource,omitempty"`
	// The sub-industry that Customer\"s business belongs to. Please enumerate with Customer Trade.
	CustomerSubTrade *string `json:"CustomerSubTrade,omitempty" xml:"CustomerSubTrade,omitempty"`
	// The industry that Customer\"s business belongs to. Please enumerate with Customer Trade.
	CustomerTrade *string `json:"CustomerTrade,omitempty" xml:"CustomerTrade,omitempty"`
	// The region that Customer choose to launch the Cloud Service. Please use ListCountries to confirm the valid region list for current UID.
	Nation *string `json:"Nation,omitempty" xml:"Nation,omitempty"`
}

func (CreateCustomerRequest) GoString

func (s CreateCustomerRequest) GoString() string

func (*CreateCustomerRequest) SetCustomerName

func (s *CreateCustomerRequest) SetCustomerName(v string) *CreateCustomerRequest

func (*CreateCustomerRequest) SetCustomerSource

func (s *CreateCustomerRequest) SetCustomerSource(v string) *CreateCustomerRequest

func (*CreateCustomerRequest) SetCustomerSubTrade

func (s *CreateCustomerRequest) SetCustomerSubTrade(v string) *CreateCustomerRequest

func (*CreateCustomerRequest) SetCustomerTrade

func (s *CreateCustomerRequest) SetCustomerTrade(v string) *CreateCustomerRequest

func (*CreateCustomerRequest) SetNation

func (CreateCustomerRequest) String

func (s CreateCustomerRequest) String() string

type CreateCustomerResponse

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

func (CreateCustomerResponse) GoString

func (s CreateCustomerResponse) GoString() string

func (*CreateCustomerResponse) SetBody

func (*CreateCustomerResponse) SetHeaders

func (*CreateCustomerResponse) SetStatusCode

func (CreateCustomerResponse) String

func (s CreateCustomerResponse) String() string

type CreateCustomerResponseBody

type CreateCustomerResponseBody struct {
	// Code indicating whether the call was successful.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Data indicating whether a customer was successfully created. If it\"s "true", the Message contains CID.
	Data *bool `json:"Data,omitempty" xml:"Data,omitempty"`
	// Massage indicating whether the call was successful.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, Alibaba Cloud will track errors with this.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call it self was successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (CreateCustomerResponseBody) GoString

func (s CreateCustomerResponseBody) GoString() string

func (*CreateCustomerResponseBody) SetCode

func (*CreateCustomerResponseBody) SetData

func (*CreateCustomerResponseBody) SetMessage

func (*CreateCustomerResponseBody) SetRequestId

func (*CreateCustomerResponseBody) SetSuccess

func (CreateCustomerResponseBody) String

type CustomerQuotaRecordListRequest added in v1.1.0

type CustomerQuotaRecordListRequest struct {
	// End Date Format: yyyy-MM-dd
	EndDate *string `json:"EndDate,omitempty" xml:"EndDate,omitempty"`
	// Customer UID
	EndUserPk *int64 `json:"EndUserPk,omitempty" xml:"EndUserPk,omitempty"`
	// Multilingual Parameters, the default language is English.</br>
	// en: English</br>
	// zh: Chinese</br>
	// ja: Japanese </br>
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// Operation Type Enum</br>
	// all All types</br>
	// quota_create Create quota</br>
	// quota_amount_adjust Adjust the amount of quota</br>
	OperationType *string `json:"OperationType,omitempty" xml:"OperationType,omitempty"`
	// Pagination, current page number, starting from 1.
	PageNo *int32 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// Pagination, record number on each page. Maximum 100.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// Start Date Format: yyyy-MM-dd
	StartDate *string `json:"StartDate,omitempty" xml:"StartDate,omitempty"`
}

func (CustomerQuotaRecordListRequest) GoString added in v1.1.0

func (*CustomerQuotaRecordListRequest) SetEndDate added in v1.1.0

func (*CustomerQuotaRecordListRequest) SetEndUserPk added in v1.1.0

func (*CustomerQuotaRecordListRequest) SetLanguage added in v1.1.0

func (*CustomerQuotaRecordListRequest) SetOperationType added in v1.1.0

func (*CustomerQuotaRecordListRequest) SetPageNo added in v1.1.0

func (*CustomerQuotaRecordListRequest) SetPageSize added in v1.1.0

func (*CustomerQuotaRecordListRequest) SetStartDate added in v1.1.0

func (CustomerQuotaRecordListRequest) String added in v1.1.0

type CustomerQuotaRecordListResponse added in v1.1.0

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

func (CustomerQuotaRecordListResponse) GoString added in v1.1.0

func (*CustomerQuotaRecordListResponse) SetBody added in v1.1.0

func (*CustomerQuotaRecordListResponse) SetHeaders added in v1.1.0

func (*CustomerQuotaRecordListResponse) SetStatusCode added in v1.1.0

func (CustomerQuotaRecordListResponse) String added in v1.1.0

type CustomerQuotaRecordListResponseBody added in v1.1.0

type CustomerQuotaRecordListResponseBody struct {
	// Status code of returning result, 200 means success.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Listed data of returning result
	Data []*CustomerQuotaRecordListResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// Description of returning data
	Msg *string `json:"Msg,omitempty" xml:"Msg,omitempty"`
	// Current page number
	PageNo *int32 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// Record number on each page
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// ID of request
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Total volume
	Total *int32 `json:"Total,omitempty" xml:"Total,omitempty"`
}

func (CustomerQuotaRecordListResponseBody) GoString added in v1.1.0

func (*CustomerQuotaRecordListResponseBody) SetCode added in v1.1.0

func (*CustomerQuotaRecordListResponseBody) SetData added in v1.1.0

func (*CustomerQuotaRecordListResponseBody) SetMsg added in v1.1.0

func (*CustomerQuotaRecordListResponseBody) SetPageNo added in v1.1.0

func (*CustomerQuotaRecordListResponseBody) SetPageSize added in v1.1.0

func (*CustomerQuotaRecordListResponseBody) SetRequestId added in v1.1.0

func (*CustomerQuotaRecordListResponseBody) SetTotal added in v1.1.0

func (CustomerQuotaRecordListResponseBody) String added in v1.1.0

type CustomerQuotaRecordListResponseBodyData added in v1.1.0

type CustomerQuotaRecordListResponseBodyData struct {
	// The way to submit the quota adjustment operation. API/ACPN
	OperationSubmitType *string `json:"OperationSubmitType,omitempty" xml:"OperationSubmitType,omitempty"`
	// The time of submit the quota adjustment operation.
	OperationTime *string `json:"OperationTime,omitempty" xml:"OperationTime,omitempty"`
	// Operation Type Enum</br>
	// all All types</br>
	// quota_create Create quota</br>
	// quota_amount_adjust Adjust the amount of quota</br>
	OperationTypeCode *string `json:"OperationTypeCode,omitempty" xml:"OperationTypeCode,omitempty"`
	// The description of submitted quota adjustment operation.
	OperationTypeDesc *string `json:"OperationTypeDesc,omitempty" xml:"OperationTypeDesc,omitempty"`
	// The UID of operator(Partner\"s UID).
	OperationUid *string `json:"OperationUid,omitempty" xml:"OperationUid,omitempty"`
	// Updated quota amount
	UpdateAfterAmount *string `json:"UpdateAfterAmount,omitempty" xml:"UpdateAfterAmount,omitempty"`
	// The difference amount between updated quota and original quota.
	UpdateAmount *string `json:"UpdateAmount,omitempty" xml:"UpdateAmount,omitempty"`
	// Original quota amount
	UpdateBeforeAmount *string `json:"UpdateBeforeAmount,omitempty" xml:"UpdateBeforeAmount,omitempty"`
}

func (CustomerQuotaRecordListResponseBodyData) GoString added in v1.1.0

func (*CustomerQuotaRecordListResponseBodyData) SetOperationSubmitType added in v1.1.0

func (*CustomerQuotaRecordListResponseBodyData) SetOperationTime added in v1.1.0

func (*CustomerQuotaRecordListResponseBodyData) SetOperationTypeCode added in v1.1.0

func (*CustomerQuotaRecordListResponseBodyData) SetOperationTypeDesc added in v1.1.0

func (*CustomerQuotaRecordListResponseBodyData) SetOperationUid added in v1.1.0

func (*CustomerQuotaRecordListResponseBodyData) SetUpdateAfterAmount added in v1.1.0

func (*CustomerQuotaRecordListResponseBodyData) SetUpdateAmount added in v1.1.0

func (*CustomerQuotaRecordListResponseBodyData) SetUpdateBeforeAmount added in v1.1.0

func (CustomerQuotaRecordListResponseBodyData) String added in v1.1.0

type DeductOutstandingBalanceRequest

type DeductOutstandingBalanceRequest struct {
	// The Deducted Credit to be offset.
	DeductAmount *string `json:"DeductAmount,omitempty" xml:"DeductAmount,omitempty"`
	// Account UID of Distribution Customer.
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (DeductOutstandingBalanceRequest) GoString

func (*DeductOutstandingBalanceRequest) SetDeductAmount

func (*DeductOutstandingBalanceRequest) SetUid

func (DeductOutstandingBalanceRequest) String

type DeductOutstandingBalanceResponse

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

func (DeductOutstandingBalanceResponse) GoString

func (*DeductOutstandingBalanceResponse) SetHeaders

func (*DeductOutstandingBalanceResponse) SetStatusCode

func (DeductOutstandingBalanceResponse) String

type DeductOutstandingBalanceResponseBody

type DeductOutstandingBalanceResponseBody struct {
	// Result Code. Value Range:
	// - 200 OK
	// - 1109 System Error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Same as Code Parameter Value.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, the unique request identifier generated by Alibaba Cloud.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (DeductOutstandingBalanceResponseBody) GoString

func (*DeductOutstandingBalanceResponseBody) SetCode

func (*DeductOutstandingBalanceResponseBody) SetMessage

func (*DeductOutstandingBalanceResponseBody) SetRequestId

func (*DeductOutstandingBalanceResponseBody) SetSuccess

func (DeductOutstandingBalanceResponseBody) String

type EditEndUserStatusRequest

type EditEndUserStatusRequest struct {
	// Shutdown Status</br>
	//
	// - postPayFreeze, the account have been blocked</br>
	//
	// - postPayThaw, the account have been unlocked</br>
	CreditStatus *string `json:"CreditStatus,omitempty" xml:"CreditStatus,omitempty"`
	// UID
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (EditEndUserStatusRequest) GoString

func (s EditEndUserStatusRequest) GoString() string

func (*EditEndUserStatusRequest) SetCreditStatus

func (*EditEndUserStatusRequest) SetUid

func (EditEndUserStatusRequest) String

func (s EditEndUserStatusRequest) String() string

type EditEndUserStatusResponse

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

func (EditEndUserStatusResponse) GoString

func (s EditEndUserStatusResponse) GoString() string

func (*EditEndUserStatusResponse) SetBody

func (*EditEndUserStatusResponse) SetHeaders

func (*EditEndUserStatusResponse) SetStatusCode

func (EditEndUserStatusResponse) String

func (s EditEndUserStatusResponse) String() string

type EditEndUserStatusResponseBody

type EditEndUserStatusResponseBody struct {
	// Status Code</br>
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Success or not</br>
	Data *string `json:"Data,omitempty" xml:"Data,omitempty"`
	// Message</br>
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Message</br>
	Msg *string `json:"Msg,omitempty" xml:"Msg,omitempty"`
	// Request ID</br>
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EditEndUserStatusResponseBody) GoString

func (*EditEndUserStatusResponseBody) SetCode

func (*EditEndUserStatusResponseBody) SetData

func (*EditEndUserStatusResponseBody) SetMessage

func (*EditEndUserStatusResponseBody) SetMsg

func (*EditEndUserStatusResponseBody) SetRequestId

func (EditEndUserStatusResponseBody) String

type EditNewBuyStatusRequest

type EditNewBuyStatusRequest struct {
	// New Purchase Status</br>
	//
	// - cancelBan: Cancel the restriction for New Purchase request</br>
	//
	// - ban: ban the New Purchase request</br>
	NewBuyStatus *string `json:"NewBuyStatus,omitempty" xml:"NewBuyStatus,omitempty"`
	// Customer UID
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (EditNewBuyStatusRequest) GoString

func (s EditNewBuyStatusRequest) GoString() string

func (*EditNewBuyStatusRequest) SetNewBuyStatus

func (*EditNewBuyStatusRequest) SetUid

func (EditNewBuyStatusRequest) String

func (s EditNewBuyStatusRequest) String() string

type EditNewBuyStatusResponse

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

func (EditNewBuyStatusResponse) GoString

func (s EditNewBuyStatusResponse) GoString() string

func (*EditNewBuyStatusResponse) SetBody

func (*EditNewBuyStatusResponse) SetHeaders

func (*EditNewBuyStatusResponse) SetStatusCode

func (EditNewBuyStatusResponse) String

func (s EditNewBuyStatusResponse) String() string

type EditNewBuyStatusResponseBody

type EditNewBuyStatusResponseBody struct {
	// Status Code</br>
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Success or not</br>
	Data *string `json:"Data,omitempty" xml:"Data,omitempty"`
	// Message</br>
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Message</br>
	Msg *string `json:"Msg,omitempty" xml:"Msg,omitempty"`
	// Request ID</br>
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EditNewBuyStatusResponseBody) GoString

func (s EditNewBuyStatusResponseBody) GoString() string

func (*EditNewBuyStatusResponseBody) SetCode

func (*EditNewBuyStatusResponseBody) SetData

func (*EditNewBuyStatusResponseBody) SetMessage

func (*EditNewBuyStatusResponseBody) SetMsg

func (*EditNewBuyStatusResponseBody) SetRequestId

func (EditNewBuyStatusResponseBody) String

type EditZeroCreditShutdownRequest

type EditZeroCreditShutdownRequest struct {
	// UID
	ShutdownPolicy *string `json:"ShutdownPolicy,omitempty" xml:"ShutdownPolicy,omitempty"`
	// No Change History
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (EditZeroCreditShutdownRequest) GoString

func (*EditZeroCreditShutdownRequest) SetShutdownPolicy

func (*EditZeroCreditShutdownRequest) SetUid

func (EditZeroCreditShutdownRequest) String

type EditZeroCreditShutdownResponse

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

func (EditZeroCreditShutdownResponse) GoString

func (*EditZeroCreditShutdownResponse) SetHeaders

func (*EditZeroCreditShutdownResponse) SetStatusCode

func (EditZeroCreditShutdownResponse) String

type EditZeroCreditShutdownResponseBody

type EditZeroCreditShutdownResponseBody struct {
	// Success or not</br>
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Request ID</br>
	Data *string `json:"Data,omitempty" xml:"Data,omitempty"`
	// Message</br>
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// NO_STOP
	Msg *string `json:"Msg,omitempty" xml:"Msg,omitempty"`
	// success
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EditZeroCreditShutdownResponseBody) GoString

func (*EditZeroCreditShutdownResponseBody) SetCode

func (*EditZeroCreditShutdownResponseBody) SetData

func (*EditZeroCreditShutdownResponseBody) SetMessage

func (*EditZeroCreditShutdownResponseBody) SetMsg

func (*EditZeroCreditShutdownResponseBody) SetRequestId

func (EditZeroCreditShutdownResponseBody) String

type ExportCustomerQuotaRecordRequest added in v1.1.0

type ExportCustomerQuotaRecordRequest struct {
	// End Date Format:  yyyy-MM-dd
	EndDate *string `json:"EndDate,omitempty" xml:"EndDate,omitempty"`
	// Customer UID
	EndUserPk *int64 `json:"EndUserPk,omitempty" xml:"EndUserPk,omitempty"`
	// Multilingual Parameters, the default language is English.</br>
	// en: English</br>
	// zh: Chinese</br>
	// ja: Japanese </br>
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// Operation Type Enum</br>
	// all All types</br>
	// quota_create Create quota</br>
	// quota_amount_adjust Adjust the amount of quota</br>
	OperationType *string `json:"OperationType,omitempty" xml:"OperationType,omitempty"`
	// Start Date Format:  yyyy-MM-dd
	StartDate *string `json:"StartDate,omitempty" xml:"StartDate,omitempty"`
}

func (ExportCustomerQuotaRecordRequest) GoString added in v1.1.0

func (*ExportCustomerQuotaRecordRequest) SetEndDate added in v1.1.0

func (*ExportCustomerQuotaRecordRequest) SetEndUserPk added in v1.1.0

func (*ExportCustomerQuotaRecordRequest) SetLanguage added in v1.1.0

func (*ExportCustomerQuotaRecordRequest) SetOperationType added in v1.1.0

func (*ExportCustomerQuotaRecordRequest) SetStartDate added in v1.1.0

func (ExportCustomerQuotaRecordRequest) String added in v1.1.0

type ExportCustomerQuotaRecordResponse added in v1.1.0

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

func (ExportCustomerQuotaRecordResponse) GoString added in v1.1.0

func (*ExportCustomerQuotaRecordResponse) SetBody added in v1.1.0

func (*ExportCustomerQuotaRecordResponse) SetHeaders added in v1.1.0

func (*ExportCustomerQuotaRecordResponse) SetStatusCode added in v1.1.0

func (ExportCustomerQuotaRecordResponse) String added in v1.1.0

type ExportCustomerQuotaRecordResponseBody added in v1.1.0

type ExportCustomerQuotaRecordResponseBody struct {
	// Code
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Data
	Data *ExportCustomerQuotaRecordResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// Description
	Msg *string `json:"Msg,omitempty" xml:"Msg,omitempty"`
	// ID of the Request
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ExportCustomerQuotaRecordResponseBody) GoString added in v1.1.0

func (*ExportCustomerQuotaRecordResponseBody) SetCode added in v1.1.0

func (*ExportCustomerQuotaRecordResponseBody) SetData added in v1.1.0

func (*ExportCustomerQuotaRecordResponseBody) SetMsg added in v1.1.0

func (*ExportCustomerQuotaRecordResponseBody) SetRequestId added in v1.1.0

func (ExportCustomerQuotaRecordResponseBody) String added in v1.1.0

type ExportCustomerQuotaRecordResponseBodyData added in v1.1.0

type ExportCustomerQuotaRecordResponseBodyData struct {
	// Estimated duration, in minutes.
	Cost *int32 `json:"Cost,omitempty" xml:"Cost,omitempty"`
	// ID of Export task
	Id *int64 `json:"Id,omitempty" xml:"Id,omitempty"`
}

func (ExportCustomerQuotaRecordResponseBodyData) GoString added in v1.1.0

func (*ExportCustomerQuotaRecordResponseBodyData) SetCost added in v1.1.0

func (*ExportCustomerQuotaRecordResponseBodyData) SetId added in v1.1.0

func (ExportCustomerQuotaRecordResponseBodyData) String added in v1.1.0

type GetAccountInfoRequest

type GetAccountInfoRequest struct {
	// Pagination, current page.
	CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// Pagination, record number on each page, maximum 20.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// Account UID of Distribution Customer. This parameter and the UserType parameter must have one filled. If this parameter is empty, then check all Distribution Customer accounts of the selected UserType.
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
	// Distribution Customer\"s Account Type:
	// - 1 End User
	// - 2 Enterprise
	// - 3 T2 Partner
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (GetAccountInfoRequest) GoString

func (s GetAccountInfoRequest) GoString() string

func (*GetAccountInfoRequest) SetCurrentPage

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

func (*GetAccountInfoRequest) SetPageSize

func (*GetAccountInfoRequest) SetUid

func (*GetAccountInfoRequest) SetUserType

func (GetAccountInfoRequest) String

func (s GetAccountInfoRequest) String() string

type GetAccountInfoResponse

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

func (GetAccountInfoResponse) GoString

func (s GetAccountInfoResponse) GoString() string

func (*GetAccountInfoResponse) SetBody

func (*GetAccountInfoResponse) SetHeaders

func (*GetAccountInfoResponse) SetStatusCode

func (GetAccountInfoResponse) String

func (s GetAccountInfoResponse) String() string

type GetAccountInfoResponseBody

type GetAccountInfoResponseBody struct {
	// List of Account Information
	AccountInfoList *GetAccountInfoResponseBodyAccountInfoList `json:"AccountInfoList,omitempty" xml:"AccountInfoList,omitempty" type:"Struct"`
	// Result Code - Error Code. Value Range:
	// - 200 OK
	// - 1109 System Error
	// - 3029: Invalid UID
	// - 3062: UID and UserType are both empty.
	// - 3063: UserType value out of range.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Message
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Pagination Information
	PageInfo *GetAccountInfoResponseBodyPageInfo `json:"PageInfo,omitempty" xml:"PageInfo,omitempty" type:"Struct"`
	// Request ID, the unique request identifier generated by Alibaba Cloud.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetAccountInfoResponseBody) GoString

func (s GetAccountInfoResponseBody) GoString() string

func (*GetAccountInfoResponseBody) SetCode

func (*GetAccountInfoResponseBody) SetMessage

func (*GetAccountInfoResponseBody) SetPageInfo

func (*GetAccountInfoResponseBody) SetRequestId

func (*GetAccountInfoResponseBody) SetSuccess

func (GetAccountInfoResponseBody) String

type GetAccountInfoResponseBodyAccountInfoList

type GetAccountInfoResponseBodyAccountInfoList struct {
	AccountInfo []*GetAccountInfoResponseBodyAccountInfoListAccountInfo `json:"AccountInfo,omitempty" xml:"AccountInfo,omitempty" type:"Repeated"`
}

func (GetAccountInfoResponseBodyAccountInfoList) GoString

func (GetAccountInfoResponseBodyAccountInfoList) String

type GetAccountInfoResponseBodyAccountInfoListAccountInfo

type GetAccountInfoResponseBodyAccountInfoListAccountInfo struct {
	// The name of Sub Account:
	// 1.	Use the official name of Company, if Sub Account is an enterprise.
	// 2.	Use the official name of Partner, if Sub Account is a T2 reseller.
	AccountNickname *string `json:"AccountNickname,omitempty" xml:"AccountNickname,omitempty"`
	// Alibaba Cloud Login name of Distribution Customer.
	AliyunId *string `json:"AliyunId,omitempty" xml:"AliyunId,omitempty"`
	// The time that Distribution Customer successfully associated with Distributor.
	AssociationSuccessTime *string `json:"AssociationSuccessTime,omitempty" xml:"AssociationSuccessTime,omitempty"`
	// Account CID of Distribution Customer.
	Cid         *int64  `json:"Cid,omitempty" xml:"Cid,omitempty"`
	CustomerBd  *string `json:"CustomerBd,omitempty" xml:"CustomerBd,omitempty"`
	DelayAmount *string `json:"DelayAmount,omitempty" xml:"DelayAmount,omitempty"`
	DelayStatus *string `json:"DelayStatus,omitempty" xml:"DelayStatus,omitempty"`
	// The E-mail of Distribution Customer.
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
	// Valid mobile number of Distribution Customer.
	Mobile       *string `json:"Mobile,omitempty" xml:"Mobile,omitempty"`
	NewBuyStatus *string `json:"NewBuyStatus,omitempty" xml:"NewBuyStatus,omitempty"`
	// Description of Distribution Customer.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// Account Type:
	// - 1 Agency\"s End User
	// - 2 Reseller\"s End User
	// - 3 Enterprise
	// - 4 T2 Agency Partner
	// - 5 T2 Reseller Partner
	// - 6 T2 Agency+Reseller Partner
	SubAccountType *int32 `json:"SubAccountType,omitempty" xml:"SubAccountType,omitempty"`
	// Account UID of Distribution Customer.
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (GetAccountInfoResponseBodyAccountInfoListAccountInfo) GoString

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetAccountNickname

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetAliyunId

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetAssociationSuccessTime

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetCid

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetCustomerBd added in v1.4.0

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetDelayAmount added in v1.4.0

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetDelayStatus added in v1.4.0

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetEmail

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetMobile

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetNewBuyStatus added in v1.4.0

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetRemark

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetSubAccountType

func (*GetAccountInfoResponseBodyAccountInfoListAccountInfo) SetUid

func (GetAccountInfoResponseBodyAccountInfoListAccountInfo) String

type GetAccountInfoResponseBodyPageInfo

type GetAccountInfoResponseBodyPageInfo struct {
	// Pagination, current page.
	Page *int32 `json:"Page,omitempty" xml:"Page,omitempty"`
	// Pagination, record number on each page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// Pagination, page volume in total.
	Total *int32 `json:"Total,omitempty" xml:"Total,omitempty"`
}

func (GetAccountInfoResponseBodyPageInfo) GoString

func (*GetAccountInfoResponseBodyPageInfo) SetPage

func (*GetAccountInfoResponseBodyPageInfo) SetPageSize

func (*GetAccountInfoResponseBodyPageInfo) SetTotal

func (GetAccountInfoResponseBodyPageInfo) String

type GetCreditInfoRequest

type GetCreditInfoRequest struct {
	// Sub Account UID
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (GetCreditInfoRequest) GoString

func (s GetCreditInfoRequest) GoString() string

func (*GetCreditInfoRequest) SetUid

func (GetCreditInfoRequest) String

func (s GetCreditInfoRequest) String() string

type GetCreditInfoResponse

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

func (GetCreditInfoResponse) GoString

func (s GetCreditInfoResponse) GoString() string

func (*GetCreditInfoResponse) SetBody

func (*GetCreditInfoResponse) SetHeaders

func (*GetCreditInfoResponse) SetStatusCode

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

func (GetCreditInfoResponse) String

func (s GetCreditInfoResponse) String() string

type GetCreditInfoResponseBody

type GetCreditInfoResponseBody struct {
	// Result Code:
	// - 200 OK
	// - 1109 System Error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data returned.
	Data *GetCreditInfoResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// Message Information
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, Alibaba Cloud will track errors with this.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetCreditInfoResponseBody) GoString

func (s GetCreditInfoResponseBody) GoString() string

func (*GetCreditInfoResponseBody) SetCode

func (*GetCreditInfoResponseBody) SetData

func (*GetCreditInfoResponseBody) SetMessage

func (*GetCreditInfoResponseBody) SetRequestId

func (*GetCreditInfoResponseBody) SetSuccess

func (GetCreditInfoResponseBody) String

func (s GetCreditInfoResponseBody) String() string

type GetCreditInfoResponseBodyData

type GetCreditInfoResponseBodyData struct {
	// The Credit Control status, Value Range:</br>
	// 1. normal - Sub Account status is running as usual.
	// 2. arrearsNotShutdown - Sub Account status is running as usual, but have outstanding bill(s).
	// 3. shutdown -  Sub Account status is down.
	AccountStatus *string `json:"AccountStatus,omitempty" xml:"AccountStatus,omitempty"`
	// Percentage value, when the available credit limit is lower than this credit limit percentage, a notification E-mail will be sent to the main account.
	AlarmThreshold *string `json:"AlarmThreshold,omitempty" xml:"AlarmThreshold,omitempty"`
	// The Credit available to consume.
	AvailableCredit *string `json:"AvailableCredit,omitempty" xml:"AvailableCredit,omitempty"`
	// Obtain total unpaid amount on demo bill before simulated deduction.
	ConsumedUndeductedValue *string `json:"ConsumedUndeductedValue,omitempty" xml:"ConsumedUndeductedValue,omitempty"`
	// The Credit Line of Sub Account
	CreditLine *string `json:"CreditLine,omitempty" xml:"CreditLine,omitempty"`
	// The Credit have been consumed by Sub Account, and haven\"t be paid.
	OutstandingBalance *string `json:"OutstandingBalance,omitempty" xml:"OutstandingBalance,omitempty"`
	// The systematic controlling policy for resource management, specifically when the available Credit of Sub Account falls to 0 or less.</br>
	//
	// - 1: delayStop. The account have Shutdown-delay Privilege,  After Shutdown-delay Credit is ran out, Alibaba Cloud will take over resources and keep the instance for 15 days. In addition, the instance will be released if Sub Account failed to pay the bill within these 15 days.</br>
	// - 2: noStop. Partner will manually manage Shutdown Status for Sub Account. Meanwhile, System would not manage the resource\"s life-circle of Sub Account.</br>
	// - 3: immediatelyStop. Once valid quota of Sub Account falls below 0 and be identified as defaulting account, it will trigger the instance shutdown immediately.</br>
	ZeroCreditShutdownPolicy *string `json:"ZeroCreditShutdownPolicy,omitempty" xml:"ZeroCreditShutdownPolicy,omitempty"`
	// Manage order operation.
	// - ban:Ban the new purchase action.
	// - normal:The account could raise new purchase order as usual.
	NewBuyStatus *string `json:"newBuyStatus,omitempty" xml:"newBuyStatus,omitempty"`
}

func (GetCreditInfoResponseBodyData) GoString

func (*GetCreditInfoResponseBodyData) SetAccountStatus

func (*GetCreditInfoResponseBodyData) SetAlarmThreshold

func (*GetCreditInfoResponseBodyData) SetAvailableCredit

func (*GetCreditInfoResponseBodyData) SetConsumedUndeductedValue added in v1.0.1

func (s *GetCreditInfoResponseBodyData) SetConsumedUndeductedValue(v string) *GetCreditInfoResponseBodyData

func (*GetCreditInfoResponseBodyData) SetCreditLine

func (*GetCreditInfoResponseBodyData) SetNewBuyStatus

func (*GetCreditInfoResponseBodyData) SetOutstandingBalance

func (*GetCreditInfoResponseBodyData) SetZeroCreditShutdownPolicy

func (s *GetCreditInfoResponseBodyData) SetZeroCreditShutdownPolicy(v string) *GetCreditInfoResponseBodyData

func (GetCreditInfoResponseBodyData) String

type GetDailyBillRequest

type GetDailyBillRequest struct {
	// Bill Owner type. Value Range:</br>
	// 1: Master account</br>
	// 2: Sub account</br>
	BillOwner *string `json:"BillOwner,omitempty" xml:"BillOwner,omitempty"`
	// BillType. Value Range:</br>
	//
	// - DailyOrder(Deprecated)
	// - DailyBill (Deprecated)
	// - DailyInstanceBill (Deprecated)
	// - DailyInstanceBillV2
	BillType *string `json:"BillType,omitempty" xml:"BillType,omitempty"`
	// Billing date. Format YYYY-MM-DD
	Date *string `json:"Date,omitempty" xml:"Date,omitempty"`
}

func (GetDailyBillRequest) GoString

func (s GetDailyBillRequest) GoString() string

func (*GetDailyBillRequest) SetBillOwner

func (s *GetDailyBillRequest) SetBillOwner(v string) *GetDailyBillRequest

func (*GetDailyBillRequest) SetBillType

func (s *GetDailyBillRequest) SetBillType(v string) *GetDailyBillRequest

func (*GetDailyBillRequest) SetDate

func (GetDailyBillRequest) String

func (s GetDailyBillRequest) String() string

type GetDailyBillResponse

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

func (GetDailyBillResponse) GoString

func (s GetDailyBillResponse) GoString() string

func (*GetDailyBillResponse) SetBody

func (*GetDailyBillResponse) SetHeaders

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

func (*GetDailyBillResponse) SetStatusCode

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

func (GetDailyBillResponse) String

func (s GetDailyBillResponse) String() string

type GetDailyBillResponseBody

type GetDailyBillResponseBody struct {
	// Result Code:
	// * 200 OK
	// * 1109 System error
	// * 3050 Bill Type can only be DailyOrder, DailyBill or DailyInstanceBill.
	// * 3049 Incorrect format of Spending Time.
	// * 3048 Bill Owner can only be 1 or 2.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned data.
	Data *GetDailyBillResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// Same as Code parameters.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, the unique request identifier generated by Alibaba Cloud.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetDailyBillResponseBody) GoString

func (s GetDailyBillResponseBody) GoString() string

func (*GetDailyBillResponseBody) SetCode

func (*GetDailyBillResponseBody) SetData

func (*GetDailyBillResponseBody) SetMessage

func (*GetDailyBillResponseBody) SetRequestId

func (*GetDailyBillResponseBody) SetSuccess

func (GetDailyBillResponseBody) String

func (s GetDailyBillResponseBody) String() string

type GetDailyBillResponseBodyData

type GetDailyBillResponseBodyData struct {
	// The link to download CSV file, please use HTTP Protocol.
	BillLinkCSV *string `json:"BillLinkCSV,omitempty" xml:"BillLinkCSV,omitempty"`
	// The link to download XLSX file, please use HTTP Protocol.
	BillLinkXLSX *string `json:"BillLinkXLSX,omitempty" xml:"BillLinkXLSX,omitempty"`
	// Same as inserted parameter BillOwner.
	BillOwner *string `json:"BillOwner,omitempty" xml:"BillOwner,omitempty"`
	// Same as inserted parameter BillType.
	BillType *string `json:"BillType,omitempty" xml:"BillType,omitempty"`
	// Spending Time, refer to the exact time of costuming.
	SpendingTime *string `json:"SpendingTime,omitempty" xml:"SpendingTime,omitempty"`
}

func (GetDailyBillResponseBodyData) GoString

func (s GetDailyBillResponseBodyData) GoString() string

func (*GetDailyBillResponseBodyData) SetBillLinkCSV

func (*GetDailyBillResponseBodyData) SetBillLinkXLSX

func (*GetDailyBillResponseBodyData) SetBillOwner

func (*GetDailyBillResponseBodyData) SetBillType

func (*GetDailyBillResponseBodyData) SetSpendingTime

func (GetDailyBillResponseBodyData) String

type GetInviteStatusRequest

type GetInviteStatusRequest struct {
	// inviteId list</br>
	// `Sub-levels <= 5`
	InviteStatusList []*GetInviteStatusRequestInviteStatusList `json:"InviteStatusList,omitempty" xml:"InviteStatusList,omitempty" type:"Repeated"`
}

func (GetInviteStatusRequest) GoString

func (s GetInviteStatusRequest) GoString() string

func (*GetInviteStatusRequest) SetInviteStatusList

func (GetInviteStatusRequest) String

func (s GetInviteStatusRequest) String() string

type GetInviteStatusRequestInviteStatusList

type GetInviteStatusRequestInviteStatusList struct {
	// Invitation ID, From interface InviteSubAccount
	InviteId *int64 `json:"InviteId,omitempty" xml:"InviteId,omitempty"`
}

func (GetInviteStatusRequestInviteStatusList) GoString

func (*GetInviteStatusRequestInviteStatusList) SetInviteId

func (GetInviteStatusRequestInviteStatusList) String

type GetInviteStatusResponse

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

func (GetInviteStatusResponse) GoString

func (s GetInviteStatusResponse) GoString() string

func (*GetInviteStatusResponse) SetBody

func (*GetInviteStatusResponse) SetHeaders

func (*GetInviteStatusResponse) SetStatusCode

func (GetInviteStatusResponse) String

func (s GetInviteStatusResponse) String() string

type GetInviteStatusResponseBody

type GetInviteStatusResponseBody struct {
	// Status Code. Error Code:
	//
	// - 3057 InviteId is empty
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned data.
	Data *GetInviteStatusResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The message returned.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, Alibaba Cloud will track errors with this.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetInviteStatusResponseBody) GoString

func (s GetInviteStatusResponseBody) GoString() string

func (*GetInviteStatusResponseBody) SetCode

func (*GetInviteStatusResponseBody) SetData

func (*GetInviteStatusResponseBody) SetMessage

func (*GetInviteStatusResponseBody) SetRequestId

func (*GetInviteStatusResponseBody) SetSuccess

func (GetInviteStatusResponseBody) String

type GetInviteStatusResponseBodyData

type GetInviteStatusResponseBodyData struct {
	InviteStatus []*GetInviteStatusResponseBodyDataInviteStatus `json:"InviteStatus,omitempty" xml:"InviteStatus,omitempty" type:"Repeated"`
}

func (GetInviteStatusResponseBodyData) GoString

func (GetInviteStatusResponseBodyData) String

type GetInviteStatusResponseBodyDataInviteStatus

type GetInviteStatusResponseBodyDataInviteStatus struct {
	// Result Code. Value Range:
	// *   200 OK
	// *   1109 system error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// List of Invitation Status result
	InviteStatusList *GetInviteStatusResponseBodyDataInviteStatusInviteStatusList `json:"InviteStatusList,omitempty" xml:"InviteStatusList,omitempty" type:"Struct"`
	// The message returned.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetInviteStatusResponseBodyDataInviteStatus) GoString

func (*GetInviteStatusResponseBodyDataInviteStatus) SetCode

func (*GetInviteStatusResponseBodyDataInviteStatus) SetMessage

func (*GetInviteStatusResponseBodyDataInviteStatus) SetSuccess

func (GetInviteStatusResponseBodyDataInviteStatus) String

type GetInviteStatusResponseBodyDataInviteStatusInviteStatusList

type GetInviteStatusResponseBodyDataInviteStatusInviteStatusList struct {
	// The time that Distribution Customer successfully associated with Distributor.</br>
	// This value will be empty if there is no existing association.
	AssociationSuccessTime *string `json:"AssociationSuccessTime,omitempty" xml:"AssociationSuccessTime,omitempty"`
	// Distribution Customer\"s CID
	Cid *int64 `json:"Cid,omitempty" xml:"Cid,omitempty"`
	// The time of email been sent out.
	GmtCreate *string `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
	// The parent organization ID.
	ParentId *string `json:"ParentId,omitempty" xml:"ParentId,omitempty"`
	// Invitation Status:
	// * 0 No visit on registration URL
	// * 1 Successful Registration
	// * 2 Unsuccessful Registration
	// * 3 Registration URL have been visited, but no submitted sheet/ticket.
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
	// Account Type:
	// - 1 Agency\"s End User
	// - 2 Reseller\"s End User
	// - 5 T2 Reseller Partner
	SubAccountType *string `json:"SubAccountType,omitempty" xml:"SubAccountType,omitempty"`
	// Distribution Customer\"s UID
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (GetInviteStatusResponseBodyDataInviteStatusInviteStatusList) GoString

func (*GetInviteStatusResponseBodyDataInviteStatusInviteStatusList) SetAssociationSuccessTime

func (*GetInviteStatusResponseBodyDataInviteStatusInviteStatusList) SetCid

func (*GetInviteStatusResponseBodyDataInviteStatusInviteStatusList) SetGmtCreate

func (*GetInviteStatusResponseBodyDataInviteStatusInviteStatusList) SetParentId

func (*GetInviteStatusResponseBodyDataInviteStatusInviteStatusList) SetStatus

func (*GetInviteStatusResponseBodyDataInviteStatusInviteStatusList) SetSubAccountType

func (*GetInviteStatusResponseBodyDataInviteStatusInviteStatusList) SetUid

func (GetInviteStatusResponseBodyDataInviteStatusInviteStatusList) String

type GetMonthlyBillRequest

type GetMonthlyBillRequest struct {
	// Bill Owner type. Value Range:</br>
	// 1: Master account</br>
	// 2: Sub account</br>
	BillOwner *string `json:"BillOwner,omitempty" xml:"BillOwner,omitempty"`
	// Value Range:
	//
	// - MonthlyInvoice
	// - MonthRefundInvoice
	// - MonthlySummary
	// - MonthlyInstanceAddAdjustBill
	// - MonthlyInstanceRefundBill
	// - MonthlyAddAdjustInvoce
	// - MonthlyRefundAdjustInvoce
	// - MonthlyInstanceConsumeV2
	// - MarginReportV2
	BillType *string `json:"BillType,omitempty" xml:"BillType,omitempty"`
	// Billing Month, Format is YYYY-MM
	Month *string `json:"Month,omitempty" xml:"Month,omitempty"`
}

func (GetMonthlyBillRequest) GoString

func (s GetMonthlyBillRequest) GoString() string

func (*GetMonthlyBillRequest) SetBillOwner

func (*GetMonthlyBillRequest) SetBillType

func (*GetMonthlyBillRequest) SetMonth

func (GetMonthlyBillRequest) String

func (s GetMonthlyBillRequest) String() string

type GetMonthlyBillResponse

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

func (GetMonthlyBillResponse) GoString

func (s GetMonthlyBillResponse) GoString() string

func (*GetMonthlyBillResponse) SetBody

func (*GetMonthlyBillResponse) SetHeaders

func (*GetMonthlyBillResponse) SetStatusCode

func (GetMonthlyBillResponse) String

func (s GetMonthlyBillResponse) String() string

type GetMonthlyBillResponseBody

type GetMonthlyBillResponseBody struct {
	// Result Code:
	// * 200 OK
	// * 1109 System error
	// * 3030 Sub Account Nickname exceeds maximum length, maximum length 150 bytes.
	// * 3031 Remark exceeds maximum length, maximum length 3000 bytes.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The returned data.
	Data *GetMonthlyBillResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// Same as Code parameters.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, the unique request identifier generated by Alibaba Cloud.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetMonthlyBillResponseBody) GoString

func (s GetMonthlyBillResponseBody) GoString() string

func (*GetMonthlyBillResponseBody) SetCode

func (*GetMonthlyBillResponseBody) SetData

func (*GetMonthlyBillResponseBody) SetMessage

func (*GetMonthlyBillResponseBody) SetRequestId

func (*GetMonthlyBillResponseBody) SetSuccess

func (GetMonthlyBillResponseBody) String

type GetMonthlyBillResponseBodyData

type GetMonthlyBillResponseBodyData struct {
	// The link to download CSV file, please use HTTP Protocol.
	BillLinkCSV *string `json:"BillLinkCSV,omitempty" xml:"BillLinkCSV,omitempty"`
	// The link to download XLSX file, please use HTTP Protocol.
	BillLinkXLSX *string `json:"BillLinkXLSX,omitempty" xml:"BillLinkXLSX,omitempty"`
	// Same as inserted parameter BillOwner.
	BillOwner *string `json:"BillOwner,omitempty" xml:"BillOwner,omitempty"`
	// Same as inserted parameter BillType.
	BillType *string `json:"BillType,omitempty" xml:"BillType,omitempty"`
	// The URL to download invoice.
	InvoiceLink *string `json:"InvoiceLink,omitempty" xml:"InvoiceLink,omitempty"`
	// It states the existence of refund invoice. </br>
	// Candidate Values: True/False
	RefundInvoiceFlag *bool `json:"RefundInvoiceFlag,omitempty" xml:"RefundInvoiceFlag,omitempty"`
	// The URL to download refund invoice.
	RefundInvoiceLink *string `json:"RefundInvoiceLink,omitempty" xml:"RefundInvoiceLink,omitempty"`
	// Spending Time, refer to the exact time of costuming.
	SpendingTime *string `json:"SpendingTime,omitempty" xml:"SpendingTime,omitempty"`
}

func (GetMonthlyBillResponseBodyData) GoString

func (*GetMonthlyBillResponseBodyData) SetBillLinkCSV

func (*GetMonthlyBillResponseBodyData) SetBillLinkXLSX

func (*GetMonthlyBillResponseBodyData) SetBillOwner

func (*GetMonthlyBillResponseBodyData) SetBillType

func (*GetMonthlyBillResponseBodyData) SetRefundInvoiceFlag

func (*GetMonthlyBillResponseBodyData) SetSpendingTime

func (GetMonthlyBillResponseBodyData) String

type GetUnassociatedCustomerRequest

type GetUnassociatedCustomerRequest struct {
	// Pagination, current page.
	CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// Pagination, record number on each page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
}

func (GetUnassociatedCustomerRequest) GoString

func (*GetUnassociatedCustomerRequest) SetCurrentPage

func (*GetUnassociatedCustomerRequest) SetPageSize

func (GetUnassociatedCustomerRequest) String

type GetUnassociatedCustomerResponse

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

func (GetUnassociatedCustomerResponse) GoString

func (*GetUnassociatedCustomerResponse) SetHeaders

func (*GetUnassociatedCustomerResponse) SetStatusCode

func (GetUnassociatedCustomerResponse) String

type GetUnassociatedCustomerResponseBody

type GetUnassociatedCustomerResponseBody struct {
	// Error Code, Candidate Value:
	// * 200: OK
	// * 1109: System error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// List of Invitation Information
	InviteInfoList *GetUnassociatedCustomerResponseBodyInviteInfoList `json:"InviteInfoList,omitempty" xml:"InviteInfoList,omitempty" type:"Struct"`
	// Message information
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Pagination Information
	PageInfo *GetUnassociatedCustomerResponseBodyPageInfo `json:"PageInfo,omitempty" xml:"PageInfo,omitempty" type:"Struct"`
	// Request ID, Alibaba Cloud will track errors with this.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetUnassociatedCustomerResponseBody) GoString

func (*GetUnassociatedCustomerResponseBody) SetCode

func (*GetUnassociatedCustomerResponseBody) SetMessage

func (*GetUnassociatedCustomerResponseBody) SetRequestId

func (*GetUnassociatedCustomerResponseBody) SetSuccess

func (GetUnassociatedCustomerResponseBody) String

type GetUnassociatedCustomerResponseBodyInviteInfoList

type GetUnassociatedCustomerResponseBodyInviteInfoList struct {
	InviteInfo []*GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo `json:"InviteInfo,omitempty" xml:"InviteInfo,omitempty" type:"Repeated"`
}

func (GetUnassociatedCustomerResponseBodyInviteInfoList) GoString

func (GetUnassociatedCustomerResponseBodyInviteInfoList) String

type GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo

type GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo struct {
	// The name of Customer who are to be invited.
	AccountNickname *string `json:"AccountNickname,omitempty" xml:"AccountNickname,omitempty"`
	// The Email of Customer who are to be invited.
	Email *string `json:"Email,omitempty" xml:"Email,omitempty"`
	// The time of email been sent out.
	GmtCreate *string `json:"GmtCreate,omitempty" xml:"GmtCreate,omitempty"`
	// Invitation ID
	InviteId *int64 `json:"InviteId,omitempty" xml:"InviteId,omitempty"`
	// Invitation Status:
	// * 0 No visit on registration URL
	// * 1 Successful Registration
	// * 2 Unsuccessful Registration
	// * 3 Registration URL have been visited, but no submitted sheet/ticket.
	Status *int32 `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo) GoString

func (*GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo) SetAccountNickname

func (*GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo) SetEmail

func (*GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo) SetGmtCreate

func (*GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo) SetInviteId

func (*GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo) SetStatus

func (GetUnassociatedCustomerResponseBodyInviteInfoListInviteInfo) String

type GetUnassociatedCustomerResponseBodyPageInfo

type GetUnassociatedCustomerResponseBodyPageInfo struct {
	// Pagination, current page.
	Page *int32 `json:"Page,omitempty" xml:"Page,omitempty"`
	// Pagination, record number on each page.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// Pagination, page volume in total.
	Total *int32 `json:"Total,omitempty" xml:"Total,omitempty"`
}

func (GetUnassociatedCustomerResponseBodyPageInfo) GoString

func (*GetUnassociatedCustomerResponseBodyPageInfo) SetPage

func (*GetUnassociatedCustomerResponseBodyPageInfo) SetPageSize

func (*GetUnassociatedCustomerResponseBodyPageInfo) SetTotal

func (GetUnassociatedCustomerResponseBodyPageInfo) String

type InviteSubAccountRequest

type InviteSubAccountRequest struct {
	// List of invited account information,  less than 5 accounts at a time.</br>
	// `Sub-levels <= 5`
	AccountInfoList []*InviteSubAccountRequestAccountInfoList `json:"AccountInfoList,omitempty" xml:"AccountInfoList,omitempty" type:"Repeated"`
}

func (InviteSubAccountRequest) GoString

func (s InviteSubAccountRequest) GoString() string

func (*InviteSubAccountRequest) SetAccountInfoList

func (InviteSubAccountRequest) String

func (s InviteSubAccountRequest) String() string

type InviteSubAccountRequestAccountInfoList

type InviteSubAccountRequestAccountInfoList struct {
	// The name of Sub Account:</br>
	// 1. Use the official name of Company, if Sub Account is an enterprise.</br>
	// 2. Use the official name of Partner, if Sub Account is a T2 reseller.</br>
	AccountNickname *string `json:"AccountNickname,omitempty" xml:"AccountNickname,omitempty"`
	// The total budget Credit of Sub Account that distributed by Partner.
	CreditLine *string `json:"CreditLine,omitempty" xml:"CreditLine,omitempty"`
	CustomerBd *string `json:"CustomerBd,omitempty" xml:"CustomerBd,omitempty"`
	// Customer ID, Returning ID from CreateCustomer API.
	CustomerId *string `json:"CustomerId,omitempty" xml:"CustomerId,omitempty"`
	// The email address of End User,  which will receive the invitation email.
	EmailAddress *string `json:"EmailAddress,omitempty" xml:"EmailAddress,omitempty"`
	// Initial Order Status</br>
	// 1. ban:Ban the new purchase action--After End User finish registration and authorization, they can\"t issue Cloud Resource order immediately. Partner should manually update the "Order Control" settings as "Normal" to enable new order.</br>
	// 2. normal:Normal--After End User finished registration and authorization, they can issue Cloud Resource order immediately.</br>
	NewBuyStatus *string `json:"NewBuyStatus,omitempty" xml:"NewBuyStatus,omitempty"`
	// Description of Sub Account.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The type of Sub Account</br>
	//
	// 1 Agency\"s End User</br>
	// 2 Reseller\"s End user</br>
	// 5 Reseller\"s T2 Partner</br>
	SubAccountType *string `json:"SubAccountType,omitempty" xml:"SubAccountType,omitempty"`
	// Partner\"s Shutdown Policy Management for Sub Account.</br>
	// 1: delayStop. The account have Shutdown-delay Privilege,  After Shutdown-delay Credit is ran out, Alibaba Cloud will take over resources and keep the instance for 15 days. In addition, the instance will be released if Sub Account failed to pay the bill within these 15 days.</br>
	// 2: noStop. Partner will manually manage Shutdown Status for Sub Account. Meanwhile, System would not manage the resource\"s life-circle of Sub Account.</br>
	// 3: immediatelyStop. Once valid quota of Sub Account falls below 0 and be identified as defaulting account, it will trigger the instance shutdown immediately.</br>
	ZeroCreditShutdownPolicy *string `json:"ZeroCreditShutdownPolicy,omitempty" xml:"ZeroCreditShutdownPolicy,omitempty"`
}

func (InviteSubAccountRequestAccountInfoList) GoString

func (*InviteSubAccountRequestAccountInfoList) SetAccountNickname

func (*InviteSubAccountRequestAccountInfoList) SetCreditLine

func (*InviteSubAccountRequestAccountInfoList) SetCustomerBd added in v1.4.0

func (*InviteSubAccountRequestAccountInfoList) SetCustomerId

func (*InviteSubAccountRequestAccountInfoList) SetEmailAddress

func (*InviteSubAccountRequestAccountInfoList) SetNewBuyStatus

func (*InviteSubAccountRequestAccountInfoList) SetRemark

func (*InviteSubAccountRequestAccountInfoList) SetSubAccountType

func (*InviteSubAccountRequestAccountInfoList) SetZeroCreditShutdownPolicy

func (InviteSubAccountRequestAccountInfoList) String

type InviteSubAccountResponse

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

func (InviteSubAccountResponse) GoString

func (s InviteSubAccountResponse) GoString() string

func (*InviteSubAccountResponse) SetBody

func (*InviteSubAccountResponse) SetHeaders

func (*InviteSubAccountResponse) SetStatusCode

func (InviteSubAccountResponse) String

func (s InviteSubAccountResponse) String() string

type InviteSubAccountResponseBody

type InviteSubAccountResponseBody struct {
	// Error Code: </br>
	// • 200 OK</br>
	// • 1109 System Error</br>
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Message</br>
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, Alibaba Cloud will track errors with this ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// List of invitation sending results
	Results *InviteSubAccountResponseBodyResults `json:"Results,omitempty" xml:"Results,omitempty" type:"Struct"`
	// Candidate Values: True/False, this value states if the current API calling action is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (InviteSubAccountResponseBody) GoString

func (s InviteSubAccountResponseBody) GoString() string

func (*InviteSubAccountResponseBody) SetCode

func (*InviteSubAccountResponseBody) SetMessage

func (*InviteSubAccountResponseBody) SetRequestId

func (*InviteSubAccountResponseBody) SetResults

func (*InviteSubAccountResponseBody) SetSuccess

func (InviteSubAccountResponseBody) String

type InviteSubAccountResponseBodyResults

type InviteSubAccountResponseBodyResults struct {
	Result []*InviteSubAccountResponseBodyResultsResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Repeated"`
}

func (InviteSubAccountResponseBodyResults) GoString

func (InviteSubAccountResponseBodyResults) String

type InviteSubAccountResponseBodyResultsResult

type InviteSubAccountResponseBodyResultsResult struct {
	// Error Code, 200 OK
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Message, Notes of Code
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Returning Message of Invitation Results
	Result *InviteSubAccountResponseBodyResultsResultResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Struct"`
	// Always true.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (InviteSubAccountResponseBodyResultsResult) GoString

func (*InviteSubAccountResponseBodyResultsResult) SetCode

func (*InviteSubAccountResponseBodyResultsResult) SetMessage

func (*InviteSubAccountResponseBodyResultsResult) SetSuccess

func (InviteSubAccountResponseBodyResultsResult) String

type InviteSubAccountResponseBodyResultsResultResult

type InviteSubAccountResponseBodyResultsResultResult struct {
	// Valid days of registration URL, count on daily basis.
	Days *int32 `json:"Days,omitempty" xml:"Days,omitempty"`
	// Invitation ID, The invitation status tracking code.
	InviteId *int64 `json:"InviteId,omitempty" xml:"InviteId,omitempty"`
	// URL for Partner Customer Registration.
	RegUrl *string `json:"RegUrl,omitempty" xml:"RegUrl,omitempty"`
}

func (InviteSubAccountResponseBodyResultsResultResult) GoString

func (*InviteSubAccountResponseBodyResultsResultResult) SetDays

func (*InviteSubAccountResponseBodyResultsResultResult) SetInviteId

func (*InviteSubAccountResponseBodyResultsResultResult) SetRegUrl

func (InviteSubAccountResponseBodyResultsResultResult) String

type ListCountriesResponse

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

func (ListCountriesResponse) GoString

func (s ListCountriesResponse) GoString() string

func (*ListCountriesResponse) SetBody

func (*ListCountriesResponse) SetHeaders

func (*ListCountriesResponse) SetStatusCode

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

func (ListCountriesResponse) String

func (s ListCountriesResponse) String() string

type ListCountriesResponseBody

type ListCountriesResponseBody struct {
	// Error Code
	// * 200: OK
	// * 1109: System error
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// List of Region Code
	Data []*string `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// Message information
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, Alibaba Cloud will track errors with this.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ListCountriesResponseBody) GoString

func (s ListCountriesResponseBody) GoString() string

func (*ListCountriesResponseBody) SetCode

func (*ListCountriesResponseBody) SetData

func (*ListCountriesResponseBody) SetMessage

func (*ListCountriesResponseBody) SetRequestId

func (*ListCountriesResponseBody) SetSuccess

func (ListCountriesResponseBody) String

func (s ListCountriesResponseBody) String() string

type ListCouponUsageRequest added in v1.2.0

type ListCouponUsageRequest struct {
	Account          *string `json:"Account,omitempty" xml:"Account,omitempty"`
	CouponTemplateId *int64  `json:"CouponTemplateId,omitempty" xml:"CouponTemplateId,omitempty"`
	Page             *int32  `json:"Page,omitempty" xml:"Page,omitempty"`
	PageSize         *int32  `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	Status           *string `json:"Status,omitempty" xml:"Status,omitempty"`
	Uid              *int64  `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (ListCouponUsageRequest) GoString added in v1.2.0

func (s ListCouponUsageRequest) GoString() string

func (*ListCouponUsageRequest) SetAccount added in v1.2.0

func (*ListCouponUsageRequest) SetCouponTemplateId added in v1.2.0

func (s *ListCouponUsageRequest) SetCouponTemplateId(v int64) *ListCouponUsageRequest

func (*ListCouponUsageRequest) SetPage added in v1.2.0

func (*ListCouponUsageRequest) SetPageSize added in v1.2.0

func (*ListCouponUsageRequest) SetStatus added in v1.2.0

func (*ListCouponUsageRequest) SetUid added in v1.2.0

func (ListCouponUsageRequest) String added in v1.2.0

func (s ListCouponUsageRequest) String() string

type ListCouponUsageResponse added in v1.2.0

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

func (ListCouponUsageResponse) GoString added in v1.2.0

func (s ListCouponUsageResponse) GoString() string

func (*ListCouponUsageResponse) SetBody added in v1.2.0

func (*ListCouponUsageResponse) SetHeaders added in v1.2.0

func (*ListCouponUsageResponse) SetStatusCode added in v1.2.0

func (ListCouponUsageResponse) String added in v1.2.0

func (s ListCouponUsageResponse) String() string

type ListCouponUsageResponseBody added in v1.2.0

type ListCouponUsageResponseBody struct {
	Code      *string                              `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      []*ListCouponUsageResponseBodyData   `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	Message   *string                              `json:"Message,omitempty" xml:"Message,omitempty"`
	PageInfo  *ListCouponUsageResponseBodyPageInfo `json:"PageInfo,omitempty" xml:"PageInfo,omitempty" type:"Struct"`
	RequestId *string                              `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListCouponUsageResponseBody) GoString added in v1.2.0

func (s ListCouponUsageResponseBody) GoString() string

func (*ListCouponUsageResponseBody) SetCode added in v1.2.0

func (*ListCouponUsageResponseBody) SetData added in v1.2.0

func (*ListCouponUsageResponseBody) SetMessage added in v1.2.0

func (*ListCouponUsageResponseBody) SetPageInfo added in v1.2.0

func (*ListCouponUsageResponseBody) SetRequestId added in v1.2.0

func (ListCouponUsageResponseBody) String added in v1.2.0

type ListCouponUsageResponseBodyData added in v1.2.0

type ListCouponUsageResponseBodyData struct {
	Account          *string  `json:"Account,omitempty" xml:"Account,omitempty"`
	Amount           *float64 `json:"Amount,omitempty" xml:"Amount,omitempty"`
	Balance          *float64 `json:"Balance,omitempty" xml:"Balance,omitempty"`
	CouponId         *string  `json:"CouponId,omitempty" xml:"CouponId,omitempty"`
	CouponTemplateId *int64   `json:"CouponTemplateId,omitempty" xml:"CouponTemplateId,omitempty"`
	EffDate          *string  `json:"EffDate,omitempty" xml:"EffDate,omitempty"`
	PublishDate      *string  `json:"PublishDate,omitempty" xml:"PublishDate,omitempty"`
	Status           *string  `json:"Status,omitempty" xml:"Status,omitempty"`
	Uid              *int64   `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (ListCouponUsageResponseBodyData) GoString added in v1.2.0

func (*ListCouponUsageResponseBodyData) SetAccount added in v1.2.0

func (*ListCouponUsageResponseBodyData) SetAmount added in v1.2.0

func (*ListCouponUsageResponseBodyData) SetBalance added in v1.2.0

func (*ListCouponUsageResponseBodyData) SetCouponId added in v1.2.0

func (*ListCouponUsageResponseBodyData) SetCouponTemplateId added in v1.2.0

func (*ListCouponUsageResponseBodyData) SetEffDate added in v1.2.0

func (*ListCouponUsageResponseBodyData) SetPublishDate added in v1.2.0

func (*ListCouponUsageResponseBodyData) SetStatus added in v1.2.0

func (*ListCouponUsageResponseBodyData) SetUid added in v1.2.0

func (ListCouponUsageResponseBodyData) String added in v1.2.0

type ListCouponUsageResponseBodyPageInfo added in v1.2.0

type ListCouponUsageResponseBodyPageInfo struct {
	Page     *int32 `json:"Page,omitempty" xml:"Page,omitempty"`
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	Total    *int32 `json:"Total,omitempty" xml:"Total,omitempty"`
}

func (ListCouponUsageResponseBodyPageInfo) GoString added in v1.2.0

func (*ListCouponUsageResponseBodyPageInfo) SetPage added in v1.2.0

func (*ListCouponUsageResponseBodyPageInfo) SetPageSize added in v1.2.0

func (*ListCouponUsageResponseBodyPageInfo) SetTotal added in v1.2.0

func (ListCouponUsageResponseBodyPageInfo) String added in v1.2.0

type QuotaListExportPagedRequest added in v1.1.0

type QuotaListExportPagedRequest struct {
	// Pagination, current page number, starting from 1.
	CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// Multilingual Parameters, the default language is English.</br>
	// en: English</br>
	// zh: Chinese</br>
	// ja: Japanese </br>
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// Pagination, record number on each page, maximum 100.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
}

func (QuotaListExportPagedRequest) GoString added in v1.1.0

func (s QuotaListExportPagedRequest) GoString() string

func (*QuotaListExportPagedRequest) SetCurrentPage added in v1.1.0

func (*QuotaListExportPagedRequest) SetLanguage added in v1.1.0

func (*QuotaListExportPagedRequest) SetPageSize added in v1.1.0

func (QuotaListExportPagedRequest) String added in v1.1.0

type QuotaListExportPagedResponse added in v1.1.0

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

func (QuotaListExportPagedResponse) GoString added in v1.1.0

func (s QuotaListExportPagedResponse) GoString() string

func (*QuotaListExportPagedResponse) SetBody added in v1.1.0

func (*QuotaListExportPagedResponse) SetHeaders added in v1.1.0

func (*QuotaListExportPagedResponse) SetStatusCode added in v1.1.0

func (QuotaListExportPagedResponse) String added in v1.1.0

type QuotaListExportPagedResponseBody added in v1.1.0

type QuotaListExportPagedResponseBody struct {
	// Status code of returning result, 200 means success.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Listed data of returning result
	Data []*QuotaListExportPagedResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// Description of returning result
	Msg *string `json:"Msg,omitempty" xml:"Msg,omitempty"`
	// Current page number
	PageNo *int32 `json:"PageNo,omitempty" xml:"PageNo,omitempty"`
	// Record number on each page
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// ID of the Request
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Total volume
	Total *int32 `json:"Total,omitempty" xml:"Total,omitempty"`
}

func (QuotaListExportPagedResponseBody) GoString added in v1.1.0

func (*QuotaListExportPagedResponseBody) SetCode added in v1.1.0

func (*QuotaListExportPagedResponseBody) SetData added in v1.1.0

func (*QuotaListExportPagedResponseBody) SetMsg added in v1.1.0

func (*QuotaListExportPagedResponseBody) SetPageNo added in v1.1.0

func (*QuotaListExportPagedResponseBody) SetPageSize added in v1.1.0

func (*QuotaListExportPagedResponseBody) SetRequestId added in v1.1.0

func (*QuotaListExportPagedResponseBody) SetTotal added in v1.1.0

func (QuotaListExportPagedResponseBody) String added in v1.1.0

type QuotaListExportPagedResponseBodyData added in v1.1.0

type QuotaListExportPagedResponseBodyData struct {
	// Create Time
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// File Name
	FileName *string `json:"FileName,omitempty" xml:"FileName,omitempty"`
	// Notification Message
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Display of Task Status
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// Task Status Enum</br>
	// 2: Exporting</br>
	// 3: Export Success</br>
	// -1: Export Fail</br>
	StatusCode *string `json:"StatusCode,omitempty" xml:"StatusCode,omitempty"`
	// The link to download exported file.
	Url *string `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (QuotaListExportPagedResponseBodyData) GoString added in v1.1.0

func (*QuotaListExportPagedResponseBodyData) SetCreateTime added in v1.1.0

func (*QuotaListExportPagedResponseBodyData) SetFileName added in v1.1.0

func (*QuotaListExportPagedResponseBodyData) SetMessage added in v1.1.0

func (*QuotaListExportPagedResponseBodyData) SetStatus added in v1.1.0

func (*QuotaListExportPagedResponseBodyData) SetStatusCode added in v1.1.0

func (*QuotaListExportPagedResponseBodyData) SetUrl added in v1.1.0

func (QuotaListExportPagedResponseBodyData) String added in v1.1.0

type ResendEmailRequest

type ResendEmailRequest struct {
	// Invitation ID, from interface InviteSubAccount </br>
	// Note: This field type is Long, which may result in precision loss in serialization/deserialization process. Please ensure the value does not exceed 9007199254740991.
	InviteId *int64 `json:"InviteId,omitempty" xml:"InviteId,omitempty"`
}

func (ResendEmailRequest) GoString

func (s ResendEmailRequest) GoString() string

func (*ResendEmailRequest) SetInviteId

func (s *ResendEmailRequest) SetInviteId(v int64) *ResendEmailRequest

func (ResendEmailRequest) String

func (s ResendEmailRequest) String() string

type ResendEmailResponse

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

func (ResendEmailResponse) GoString

func (s ResendEmailResponse) GoString() string

func (*ResendEmailResponse) SetBody

func (*ResendEmailResponse) SetHeaders

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

func (*ResendEmailResponse) SetStatusCode

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

func (ResendEmailResponse) String

func (s ResendEmailResponse) String() string

type ResendEmailResponseBody

type ResendEmailResponseBody struct {
	// Result Code, Error code.</br>
	// Candidate Value: </br>
	// * 200: OK
	// * 1109: System error
	// * 3058: Frequent sending, the limit is 10 emails in every 5 minutes.
	// * 3057: InviteId is empty.
	// * 3060: Can\"t find sending record of given InviteId.
	// * 3061: Registration URL is expired, unable to resend.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Result message
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, the unique request identifier generated by Alibaba Cloud.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (ResendEmailResponseBody) GoString

func (s ResendEmailResponseBody) GoString() string

func (*ResendEmailResponseBody) SetCode

func (*ResendEmailResponseBody) SetMessage

func (*ResendEmailResponseBody) SetRequestId

func (*ResendEmailResponseBody) SetSuccess

func (ResendEmailResponseBody) String

func (s ResendEmailResponseBody) String() string

type SetAccountInfoRequest

type SetAccountInfoRequest struct {
	// Sub Account Nickname.
	// * Use the official name of Company, if Sub Account is an enterprise.
	// * Use the official name of Partner, if Sub Account is a T2 reseller.
	AccountNickname *string `json:"AccountNickname,omitempty" xml:"AccountNickname,omitempty"`
	CustomerBd      *string `json:"CustomerBd,omitempty" xml:"CustomerBd,omitempty"`
	// Description of Sub Account.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The UID of Sub Account.
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (SetAccountInfoRequest) GoString

func (s SetAccountInfoRequest) GoString() string

func (*SetAccountInfoRequest) SetAccountNickname

func (s *SetAccountInfoRequest) SetAccountNickname(v string) *SetAccountInfoRequest

func (*SetAccountInfoRequest) SetCustomerBd added in v1.4.0

func (s *SetAccountInfoRequest) SetCustomerBd(v string) *SetAccountInfoRequest

func (*SetAccountInfoRequest) SetRemark

func (*SetAccountInfoRequest) SetUid

func (SetAccountInfoRequest) String

func (s SetAccountInfoRequest) String() string

type SetAccountInfoResponse

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

func (SetAccountInfoResponse) GoString

func (s SetAccountInfoResponse) GoString() string

func (*SetAccountInfoResponse) SetBody

func (*SetAccountInfoResponse) SetHeaders

func (*SetAccountInfoResponse) SetStatusCode

func (SetAccountInfoResponse) String

func (s SetAccountInfoResponse) String() string

type SetAccountInfoResponseBody

type SetAccountInfoResponseBody struct {
	// Result Code:
	// *   200 OK
	// *   1109 System error
	// *   3030 Sub Account Nickname exceeds maximum length,  maximum length 150 bytes.
	// *   3031 Remark exceeds maximum length,  maximum length 3000 bytes.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Message information
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, Alibaba Cloud will track errors with this.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (SetAccountInfoResponseBody) GoString

func (s SetAccountInfoResponseBody) GoString() string

func (*SetAccountInfoResponseBody) SetCode

func (*SetAccountInfoResponseBody) SetMessage

func (*SetAccountInfoResponseBody) SetRequestId

func (*SetAccountInfoResponseBody) SetSuccess

func (SetAccountInfoResponseBody) String

type SetCreditLineRequest

type SetCreditLineRequest struct {
	// New Credit Line
	CreditLine *string `json:"CreditLine,omitempty" xml:"CreditLine,omitempty"`
	// The UID of Sub Account.
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
}

func (SetCreditLineRequest) GoString

func (s SetCreditLineRequest) GoString() string

func (*SetCreditLineRequest) SetCreditLine

func (s *SetCreditLineRequest) SetCreditLine(v string) *SetCreditLineRequest

func (*SetCreditLineRequest) SetUid

func (SetCreditLineRequest) String

func (s SetCreditLineRequest) String() string

type SetCreditLineResponse

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

func (SetCreditLineResponse) GoString

func (s SetCreditLineResponse) GoString() string

func (*SetCreditLineResponse) SetBody

func (*SetCreditLineResponse) SetHeaders

func (*SetCreditLineResponse) SetStatusCode

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

func (SetCreditLineResponse) String

func (s SetCreditLineResponse) String() string

type SetCreditLineResponseBody

type SetCreditLineResponseBody struct {
	// Result Code:
	// *   200 OK
	// *   1109 system error
	// *   3040 Sub Account is in a frozen state and cannot be operated.
	// *   3041 Credit is not a proper number
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Same as Code parameter value
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, the unique request identifier generated by Alibaba Cloud.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True/False, which indicates whether the current API call itself is successful. It does not guarantee the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (SetCreditLineResponseBody) GoString

func (s SetCreditLineResponseBody) GoString() string

func (*SetCreditLineResponseBody) SetCode

func (*SetCreditLineResponseBody) SetMessage

func (*SetCreditLineResponseBody) SetRequestId

func (*SetCreditLineResponseBody) SetSuccess

func (SetCreditLineResponseBody) String

func (s SetCreditLineResponseBody) String() string

type SetWarningThresholdRequest

type SetWarningThresholdRequest struct {
	// The UID of the partner‘s customer.
	Uid *int64 `json:"Uid,omitempty" xml:"Uid,omitempty"`
	// Percentage, 1 to 100. When the available credit limit is lower than the credit limit percentage, an email is sent to the main account.
	WarningValue *string `json:"WarningValue,omitempty" xml:"WarningValue,omitempty"`
}

func (SetWarningThresholdRequest) GoString

func (s SetWarningThresholdRequest) GoString() string

func (*SetWarningThresholdRequest) SetUid

func (*SetWarningThresholdRequest) SetWarningValue

func (SetWarningThresholdRequest) String

type SetWarningThresholdResponse

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

func (SetWarningThresholdResponse) GoString

func (s SetWarningThresholdResponse) GoString() string

func (*SetWarningThresholdResponse) SetBody

func (*SetWarningThresholdResponse) SetHeaders

func (*SetWarningThresholdResponse) SetStatusCode

func (SetWarningThresholdResponse) String

type SetWarningThresholdResponseBody

type SetWarningThresholdResponseBody struct {
	// Result Code:
	// * 200 OK
	// * 1109 System Error
	// * 3040 The Sub Account is frozen, the operation cannot be completed.
	// * 3044 Alert proportion value is not a number.
	// * 3045 Alert proportion value should between 1 to 100.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// Same as Code parameter value
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Request ID, the unique request identifier generated by Alibaba Cloud.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Candidate Value: True or False, which indicates whether the current API call itself is successful. does not represent the success of subsequent business operations.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (SetWarningThresholdResponseBody) GoString

func (*SetWarningThresholdResponseBody) SetCode

func (*SetWarningThresholdResponseBody) SetMessage

func (*SetWarningThresholdResponseBody) SetRequestId

func (*SetWarningThresholdResponseBody) SetSuccess

func (SetWarningThresholdResponseBody) String

type SubscriptionBillRequest

type SubscriptionBillRequest struct {
	// The start month from which the bills are pushed. Specify the value in the yyyy-MM format.
	//
	// After the subscription is generated, the system automatically pushes the bill data that is generated from the month that you specified to the current point in time. Data of up to six months can be pushed. The current month is included. If you subscribe to the bills for more than six months, the subscription is invalid.
	BeginBillingCycle *string `json:"BeginBillingCycle,omitempty" xml:"BeginBillingCycle,omitempty"`
	// The file format of the bill. Valid values: csv and parquet.
	//
	// If you subscribe to the bills of multiple file formats, we recommend that you store the bills in different OSS buckets to prevent file overwriting.
	BillFormat *string `json:"BillFormat,omitempty" xml:"BillFormat,omitempty"`
	// The ID of the user to which the OSS bucket belongs.
	//
	// If you are an eco-partner of Alibaba Cloud and you need to push the bills to the OSS bucket of a subordinate partner account, you must set this parameter to the ID of the subordinate partner account and grant the [AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/?spm=api-workbench.API%20Document.0.0.68c71e0fhmTSJp#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D) permission to the subordinate partner account.
	//
	// If you are an eco-partner of Alibaba Cloud and you need to push the bills to the OSS bucket of your own account, your account must be granted the [AliyunConsumeDump2OSSRole](https://ram.console.aliyun.com/?spm=api-workbench.API%20Document.0.0.68c71e0fhmTSJp#/role/authorize?request=%7B%22Requests%22:%20%7B%22request1%22:%20%7B%22RoleName%22:%20%22AliyunConsumeDump2OSSRole%22,%20%22TemplateId%22:%20%22Dump2OSSRole%22%7D%7D,%20%22ReturnUrl%22:%20%22https:%2F%2Fusercenter2.aliyun.com%22,%20%22Service%22:%20%22Consume%22%7D) permission.
	BucketOwnerId *int64 `json:"BucketOwnerId,omitempty" xml:"BucketOwnerId,omitempty"`
	// The name of the Object Storage Service (OSS) bucket in which you want to store the bills.
	SubscribeBucket *string `json:"SubscribeBucket,omitempty" xml:"SubscribeBucket,omitempty"`
	// The maximum rows in a single bill file. If the number of bill rows exceed the upper limit, the bill is automatically split into multiple files. The name of each split file is in the `uid_billType_billCycle_SquenceNo_fileNo` format.
	//
	// Files whose names are the same except for the fileNo field are of the same type and belong to the same billing cycle.
	SubscribeSegmentSize *int32 `json:"SubscribeSegmentSize,omitempty" xml:"SubscribeSegmentSize,omitempty"`
	// The type of the bill to which you want to subscribe. Valid values: PartnerBillingItemDetailForBillingPeriod, PartnerBillingItemDetailMonthly, PartnerInstanceDetailForBillingPeriod, and PartnerInstanceDetailMonthly.
	SubscribeType *string `json:"SubscribeType,omitempty" xml:"SubscribeType,omitempty"`
}

func (SubscriptionBillRequest) GoString

func (s SubscriptionBillRequest) GoString() string

func (*SubscriptionBillRequest) SetBeginBillingCycle

func (s *SubscriptionBillRequest) SetBeginBillingCycle(v string) *SubscriptionBillRequest

func (*SubscriptionBillRequest) SetBillFormat

func (*SubscriptionBillRequest) SetBucketOwnerId

func (s *SubscriptionBillRequest) SetBucketOwnerId(v int64) *SubscriptionBillRequest

func (*SubscriptionBillRequest) SetSubscribeBucket

func (s *SubscriptionBillRequest) SetSubscribeBucket(v string) *SubscriptionBillRequest

func (*SubscriptionBillRequest) SetSubscribeSegmentSize

func (s *SubscriptionBillRequest) SetSubscribeSegmentSize(v int32) *SubscriptionBillRequest

func (*SubscriptionBillRequest) SetSubscribeType

func (s *SubscriptionBillRequest) SetSubscribeType(v string) *SubscriptionBillRequest

func (SubscriptionBillRequest) String

func (s SubscriptionBillRequest) String() string

type SubscriptionBillResponse

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

func (SubscriptionBillResponse) GoString

func (s SubscriptionBillResponse) GoString() string

func (*SubscriptionBillResponse) SetBody

func (*SubscriptionBillResponse) SetHeaders

func (*SubscriptionBillResponse) SetStatusCode

func (SubscriptionBillResponse) String

func (s SubscriptionBillResponse) String() string

type SubscriptionBillResponseBody

type SubscriptionBillResponseBody struct {
	// The HTTP status code that is returned.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The data that is returned.
	Data *bool `json:"Data,omitempty" xml:"Data,omitempty"`
	// The message that is returned.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request was successful.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (SubscriptionBillResponseBody) GoString

func (s SubscriptionBillResponseBody) GoString() string

func (*SubscriptionBillResponseBody) SetCode

func (*SubscriptionBillResponseBody) SetData

func (*SubscriptionBillResponseBody) SetMessage

func (*SubscriptionBillResponseBody) SetRequestId

func (*SubscriptionBillResponseBody) SetSuccess

func (SubscriptionBillResponseBody) String

Jump to

Keyboard shortcuts

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