Class: CldProvisioning::Models::Operations::GetBillingUsageRequest
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Operations::GetBillingUsageRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/operations/getbillingusage_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id: nil, year: nil, include_prodenv_breakdown: nil) ⇒ GetBillingUsageRequest
constructor
A new instance of GetBillingUsageRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id: nil, year: nil, include_prodenv_breakdown: nil) ⇒ GetBillingUsageRequest
Returns a new instance of GetBillingUsageRequest.
43 44 45 46 47 |
# File 'lib/cld_provisioning/models/operations/getbillingusage_request.rb', line 43 def initialize(account_id: nil, year: nil, include_prodenv_breakdown: nil) @account_id = account_id @year = year @include_prodenv_breakdown = include_prodenv_breakdown end |
Instance Method Details
#==(other) ⇒ Object
50 51 52 53 54 55 56 |
# File 'lib/cld_provisioning/models/operations/getbillingusage_request.rb', line 50 def ==(other) return false unless other.is_a?(self.class) return false unless @account_id == other.account_id return false unless @year == other.year return false unless @include_prodenv_breakdown == other.include_prodenv_breakdown true end |