Class: Seam::Resources::UnmanagedAccessGrant::Warnings

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/seam/resources/unmanaged_access_grant.rb

Defined Under Namespace

Classes: FailedDevices

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Method Summary

Methods inherited from BaseResource

#[], date_accessor, #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

#access_method_idsObject

IDs of the access methods being updated.



77
78
79
# File 'lib/seam/resources/unmanaged_access_grant.rb', line 77

def access_method_ids
  @access_method_ids
end

#device_idObject

Returns the value of attribute device_id.



78
79
80
# File 'lib/seam/resources/unmanaged_access_grant.rb', line 78

def device_id
  @device_id
end

#messageObject

Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.



80
81
82
# File 'lib/seam/resources/unmanaged_access_grant.rb', line 80

def message
  @message
end

#new_codeObject

The new PIN code that was assigned instead.



82
83
84
# File 'lib/seam/resources/unmanaged_access_grant.rb', line 82

def new_code
  @new_code
end

#original_codeObject

The originally requested PIN code that was unavailable.



84
85
86
# File 'lib/seam/resources/unmanaged_access_grant.rb', line 84

def original_code
  @original_code
end

#reasonObject

Specific reason why the grant's times are not programmable on the device.



86
87
88
# File 'lib/seam/resources/unmanaged_access_grant.rb', line 86

def reason
  @reason
end

#warning_codeObject

Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.



88
89
90
# File 'lib/seam/resources/unmanaged_access_grant.rb', line 88

def warning_code
  @warning_code
end