Sha256: cd9097a929621fa1cf8d8e33b0d8d35dc0c1d00047549e89551752cab1f0b469

Contents?: true

Size: 1.17 KB

Versions: 27

Compression:

Stored size: 1.17 KB

Contents

# frozen_string_literal: true

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

    resource_path 'video/verification/cameras'
    type 'video-verification-cameras'

    relationship :device, type: 'device', cardinality: 'To-one'
    relationship :camera, type: 'camera', cardinality: 'To-one'

    field :id,
          type: :string,
          sortable: false,
          filterable: true,
          creatable_by: %i[],
          patchable_by: %i[]

    field :camera_id,
          type: :string,
          sortable: false,
          filterable: false,
          creatable_by: %i[system dealer],
          patchable_by: %i[system dealer]

    field :device_id,
          type: :string,
          sortable: false,
          filterable: true,
          creatable_by: %i[system dealer]

    field :zone_index,
          type: :string,
          sortable: true,
          filterable: true,
          creatable_by: %i[system dealer],
          patchable_by: %i[system dealer]
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
alula-ruby-2.6.1 lib/alula/resources/video_verification_camera.rb
alula-ruby-2.6.0 lib/alula/resources/video_verification_camera.rb
alula-ruby-2.5.0 lib/alula/resources/video_verification_camera.rb
alula-ruby-2.4.0 lib/alula/resources/video_verification_camera.rb
alula-ruby-2.3.0 lib/alula/resources/video_verification_camera.rb
alula-ruby-2.2.0 lib/alula/resources/video_verification_camera.rb
alula-ruby-2.1.2 lib/alula/resources/video_verification_camera.rb
alula-ruby-2.1.1 lib/alula/resources/video_verification_camera.rb
alula-ruby-2.1.0 lib/alula/resources/video_verification_camera.rb
alula-ruby-2.0.0 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.10.5 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.10.4 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.10.3 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.10.2 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.10.1 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.10.0 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.9.17 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.9.16 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.9.15 lib/alula/resources/video_verification_camera.rb
alula-ruby-1.9.14 lib/alula/resources/video_verification_camera.rb