# frozen_string_literal: true module Alula class DeviceFeaturePrice < Alula::RestResource extend Alula::ResourceAttributes extend Alula::RelationshipAttributes extend Alula::ApiOperations::Request extend Alula::ApiOperations::List extend Alula::ApiOperations::Save # SMS Notification object class SmsNotification < Alula::ObjectField field :unit_price, type: :number field :unit_type, type: :string field :units, type: :number field :subtotal, type: :number end resource_path 'devices/features/prices' type 'devices-features-prices' relationship :device, type: 'devices', cardinality: 'To-one' field :id, type: :string, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :activation, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :alarm_notifications, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :alarm_transmission, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :alarm_verification, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :alula_messenger, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :base, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :billing_custom, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :home_automation, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :interactive_services, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :intrude_impair, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :onvif_video_hub, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :panel_downloading, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :program_fee, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_12_hour, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_14_day, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_15_min, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_1_hour, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_200_sec, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_24_hour, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_30_day, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_5_min, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_6_hour, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_gte_7_day, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :super_lt_200_sec, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :two_way_voice, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :video_verification, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :vigilance, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :weather_alerts, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :weather_forecast, type: :number, sortable: false, filterable: false, creatable_by: [], patchable_by: [] field :sms_notification, type: :object, sortable: false, filterable: false, creatable_by: [], patchable_by: [], use: SmsNotification end end