Documentation ¶
Index ¶
- func PossibleValuesForEventType() []string
- type Amount
- type AmountWithExchangeRate
- type EventProperties
- type EventSummary
- type EventSummaryOperationPredicate
- type EventType
- type EventsClient
- func (c EventsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c EventsClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
- func (c EventsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type Reseller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEventType ¶
func PossibleValuesForEventType() []string
Types ¶
type AmountWithExchangeRate ¶
type EventProperties ¶
type EventProperties struct { Adjustments *Amount `json:"adjustments"` AdjustmentsInBillingCurrency *AmountWithExchangeRate `json:"adjustmentsInBillingCurrency"` BillingCurrency *string `json:"billingCurrency,omitempty"` Charges *Amount `json:"charges"` ChargesInBillingCurrency *AmountWithExchangeRate `json:"chargesInBillingCurrency"` ClosedBalance *Amount `json:"closedBalance"` ClosedBalanceInBillingCurrency *AmountWithExchangeRate `json:"closedBalanceInBillingCurrency"` CreditCurrency *string `json:"creditCurrency,omitempty"` CreditExpired *Amount `json:"creditExpired"` CreditExpiredInBillingCurrency *AmountWithExchangeRate `json:"creditExpiredInBillingCurrency"` Description *string `json:"description,omitempty"` EventType *EventType `json:"eventType,omitempty"` InvoiceNumber *string `json:"invoiceNumber,omitempty"` NewCredit *Amount `json:"newCredit"` NewCreditInBillingCurrency *AmountWithExchangeRate `json:"newCreditInBillingCurrency"` Reseller *Reseller `json:"reseller"` TransactionDate *string `json:"transactionDate,omitempty"` }
func (*EventProperties) GetTransactionDateAsTime ¶
func (o *EventProperties) GetTransactionDateAsTime() (*time.Time, error)
func (*EventProperties) SetTransactionDateAsTime ¶
func (o *EventProperties) SetTransactionDateAsTime(input time.Time)
type EventSummary ¶
type EventSummary struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EventProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type EventSummaryOperationPredicate ¶
func (EventSummaryOperationPredicate) Matches ¶
func (p EventSummaryOperationPredicate) Matches(input EventSummary) bool
type EventType ¶
type EventType string
const ( EventTypeNewCredit EventType = "NewCredit" EventTypePendingAdjustments EventType = "PendingAdjustments" EventTypePendingCharges EventType = "PendingCharges" EventTypePendingExpiredCredit EventType = "PendingExpiredCredit" EventTypePendingNewCredit EventType = "PendingNewCredit" EventTypeSettledCharges EventType = "SettledCharges" EventTypeUnKnown EventType = "UnKnown" )
type EventsClient ¶
func NewEventsClientWithBaseURI ¶
func NewEventsClientWithBaseURI(endpoint string) EventsClient
func (EventsClient) List ¶
func (c EventsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (EventsClient) ListComplete ¶
func (c EventsClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (EventsClient) ListCompleteMatchingPredicate ¶
func (c EventsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, predicate EventSummaryOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []EventSummary
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]EventSummary // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
Click to show internal directories.
Click to hide internal directories.