module Alula class DealerAddress < Alula::RestResource extend Alula::ResourceAttributes extend Alula::RelationshipAttributes extend Alula::ApiOperations::Request extend Alula::ApiOperations::List extend Alula::ApiOperations::Save resource_path 'dealers/addresses' type 'dealers-addresses' # Relationships # None # 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 :company_name, type: :string, sortable: true, filterable: true, creatable_by: [], patchable_by: [] field :address1, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer] field :address2, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer] field :st_number, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer] field :st_name, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer] field :st_direction, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer] field :city, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer] field :state, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer] field :zip_code, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer] end end