module Alula class UserPhone < Alula::RestResource extend Alula::ResourceAttributes extend Alula::RelationshipAttributes extend Alula::ApiOperations::Request extend Alula::ApiOperations::List extend Alula::ApiOperations::Save resource_path 'users/phones' type 'users-phones' # 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 :username, type: :string, sortable: true, filterable: true, creatable_by: [], patchable_by: [] field :phone_pri_contact, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :phone_pri_ct, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :phone_sec_contact, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :phone_sec_ct, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :contact_type, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :co_ph_pri, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :co_ph_sec, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :co_ph_sales, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :co_ph_service, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :co_ph_billing, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :cell_text, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] field :company_name, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [:system, :station, :dealer, :technician, :user, :subuser] end end