Class: Seam::Resources::Device::Properties::CodeConstraints
- Inherits:
-
BaseResource
- Object
- BaseResource
- Seam::Resources::Device::Properties::CodeConstraints
- Defined in:
- lib/seam/resources/device.rb
Instance Attribute Summary collapse
-
#constraint_type ⇒ String
Known values: -
no_zeros-cannot_start_with_12-no_triple_consecutive_ints-cannot_specify_pin_code-pin_code_matches_existing_set-start_date_in_future-no_ascending_or_descending_sequence-at_least_three_unique_digits-cannot_contain_089-cannot_contain_0789-unique_first_four_digits-no_all_same_digits-name_length-name_must_be_unique. -
#max_length ⇒ Float?
Maximum name length constraint for access codes.
-
#min_length ⇒ Float?
Minimum name length constraint for access codes.
Attributes inherited from BaseResource
Method Summary
Methods inherited from BaseResource
#[], aliased_accessor, attribute_aliases, date_accessor, discriminated_by, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response
Constructor Details
This class inherits a constructor from Seam::Resources::BaseResource
Instance Attribute Details
#constraint_type ⇒ String
Known values:
no_zeroscannot_start_with_12no_triple_consecutive_intscannot_specify_pin_codepin_code_matches_existing_setstart_date_in_futureno_ascending_or_descending_sequenceat_least_three_unique_digitscannot_contain_089cannot_contain_0789unique_first_four_digitsno_all_same_digitsname_lengthname_must_be_unique
1288 1289 1290 |
# File 'lib/seam/resources/device.rb', line 1288 def constraint_type @constraint_type end |
#max_length ⇒ Float?
Maximum name length constraint for access codes.
1291 1292 1293 |
# File 'lib/seam/resources/device.rb', line 1291 def max_length @max_length end |
#min_length ⇒ Float?
Minimum name length constraint for access codes.
1294 1295 1296 |
# File 'lib/seam/resources/device.rb', line 1294 def min_length @min_length end |