Class: NetboxClientRuby::IPAM::IpRangeStatus
- Inherits:
-
Object
- Object
- NetboxClientRuby::IPAM::IpRangeStatus
- Defined in:
- lib/netbox_client_ruby/api/ipam/ip_range.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(raw_data) ⇒ IpRangeStatus
constructor
A new instance of IpRangeStatus.
Constructor Details
#initialize(raw_data) ⇒ IpRangeStatus
Returns a new instance of IpRangeStatus.
25 26 27 28 |
# File 'lib/netbox_client_ruby/api/ipam/ip_range.rb', line 25 def initialize(raw_data) @value = raw_data['value'] @label = raw_data['label'] end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
23 24 25 |
# File 'lib/netbox_client_ruby/api/ipam/ip_range.rb', line 23 def label @label end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
23 24 25 |
# File 'lib/netbox_client_ruby/api/ipam/ip_range.rb', line 23 def value @value end |