Sha256: d0c4f15158b37ebb879cb67234cfd21cdc40a22bb34d47edb3e99ad860ede01e

Contents?: true

Size: 588 Bytes

Versions: 7

Compression:

Stored size: 588 Bytes

Contents

require 'date'
require_relative 'concerns/swagger_model'

module AgridClient
  class Sale
    include SwaggerModel

    attr_accessor :price, :expiration_date, :note

    # Attribute mapping from ruby-style variable name to JSON key.
    def self.attribute_map
      {
        :'price' => :'price',
        :'expiration_date' => :'expiration_date',
        :'note' => :'note',
      }
    end

    # Attribute type mapping.
    def self.swagger_types
      {
        :'price' => :'Float',
        :'expiration_date' => :'DateTime',
        :'note' => :'String',
      }
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
agrid-client-0.0.7 lib/agrid_client/models/sale.rb
agrid-client-0.0.6 lib/agrid_client/models/sale.rb
agrid-client-0.0.5 lib/agrid_client/models/sale.rb
agrid-client-0.0.4 lib/agrid_client/models/sale.rb
agrid-client-0.0.3 lib/agrid_client/models/sale.rb
agrid-client-0.0.2 lib/agrid_client/models/sale.rb
agrid-client-0.0.1 lib/agrid_client/models/sale.rb