Sha256: 0065abf758a4e303133f5f03458f701e2a8f973507f33fce5e536bff2b3e07f2

Contents?: true

Size: 1.15 KB

Versions: 23

Compression:

Stored size: 1.15 KB

Contents

module Alula
  class UserVideoProfile < Alula::RestResource
    extend Alula::ResourceAttributes
    extend Alula::RelationshipAttributes
    extend Alula::ApiOperations::Request
    extend Alula::ApiOperations::List
    extend Alula::ApiOperations::Save

    resource_path 'users/videoprofiles'
    type 'users-videoprofiles'

    relationship :user, type: :users, cardinality: 'To-one'

    # 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 :camera_plan_count,
          type: :number,
          sortable: true,
          filterable: false,
          creatable_by: [:system, :station, :dealer, :technician],
          patchable_by: [:system, :station, :dealer, :technician]

    field :clip_plan_count,
          type: :number,
          sortable: false,
          filterable: false,
          creatable_by: [:system, :station, :dealer, :technician],
          patchable_by: [:system, :station, :dealer, :technician]
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
alula-ruby-0.69.3 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.69.2 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.69.1 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.69.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.68.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.67.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.66.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.65.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.64.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.63.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.62.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.61.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.60.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.59.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.58.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.57.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.56.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.55.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.54.0 lib/alula/resources/user_videoprofile.rb
alula-ruby-0.53.0 lib/alula/resources/user_videoprofile.rb