View Source GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Duration (google_api_payments_reseller_subscription v0.5.0)

Describes the length of a period of a time.

Attributes

  • count (type: integer(), default: nil) - number of duration units to be included.
  • unit (type: String.t, default: nil) - The unit used for the duration

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.PaymentsResellerSubscription.V1.Model.GoogleCloudPaymentsResellerSubscriptionV1Duration{
    count: integer() | nil,
    unit: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.