Sha256: 06df85f3d0726356dd5ac928e688fe339b3f1d0eb28ea492f9442c809040ff2c

Contents?: true

Size: 1023 Bytes

Versions: 92

Compression:

Stored size: 1023 Bytes

Contents

module Alula
  class BillingProgram < Alula::RestResource
    extend Alula::ResourceAttributes
    extend Alula::ApiOperations::Request
    extend Alula::ApiOperations::List

    resource_path 'billing/programs'
    type 'billing-program'

    # Resource Fields
    # Not all params are used at the moment. See Alula::ResourceAttributes for details
    # on how params are parsed,
    field :id,
          type: :string,
          sortable: false,
          filterable: false,
          creatable_by: [],
          patchable_by: []

    field :name,
          type: :string,
          sortable: false,
          filterable: false,
          creatable_by: [],
          patchable_by: []
    
    field :description,
          type: :string,
          sortable: false,
          filterable: false,
          creatable_by: [],
          patchable_by: []

    field :params_schema,
          type: :object,
          sortable: false,
          filterable: false,
          creatable_by: [],
          patchable_by: []
  end
end

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
alula-ruby-2.12.0 lib/alula/resources/billing_program.rb
alula-ruby-2.11.0 lib/alula/resources/billing_program.rb
alula-ruby-2.10.1 lib/alula/resources/billing_program.rb
alula-ruby-2.10.0 lib/alula/resources/billing_program.rb
alula-ruby-2.9.1 lib/alula/resources/billing_program.rb
alula-ruby-2.9.0 lib/alula/resources/billing_program.rb
alula-ruby-2.8.1 lib/alula/resources/billing_program.rb
alula-ruby-2.8.0 lib/alula/resources/billing_program.rb
alula-ruby-2.7.0 lib/alula/resources/billing_program.rb
alula-ruby-2.6.3 lib/alula/resources/billing_program.rb
alula-ruby-2.6.2 lib/alula/resources/billing_program.rb
alula-ruby-2.6.1 lib/alula/resources/billing_program.rb
alula-ruby-2.6.0 lib/alula/resources/billing_program.rb
alula-ruby-2.5.0 lib/alula/resources/billing_program.rb
alula-ruby-2.4.0 lib/alula/resources/billing_program.rb
alula-ruby-2.3.0 lib/alula/resources/billing_program.rb
alula-ruby-2.2.0 lib/alula/resources/billing_program.rb
alula-ruby-2.1.2 lib/alula/resources/billing_program.rb
alula-ruby-2.1.1 lib/alula/resources/billing_program.rb
alula-ruby-2.1.0 lib/alula/resources/billing_program.rb