Class: WlcSnmp::Ap
- Inherits:
-
Object
- Object
- WlcSnmp::Ap
- Defined in:
- lib/wlc_snmp/ap.rb
Instance Attribute Summary collapse
-
#admin_status ⇒ Object
readonly
Returns the value of attribute admin_status.
-
#ethernet_mac_address ⇒ Object
readonly
Returns the value of attribute ethernet_mac_address.
-
#ip_address ⇒ Object
readonly
Returns the value of attribute ip_address.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#mac_address ⇒ Object
readonly
Returns the value of attribute mac_address.
-
#model ⇒ Object
readonly
Returns the value of attribute model.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#operational_status ⇒ Object
readonly
Returns the value of attribute operational_status.
-
#serial ⇒ Object
readonly
Returns the value of attribute serial.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name:, mac_address: nil, ethernet_mac_address: nil, location: nil, operational_status: nil, model: nil, serial: nil, ip_address: nil, type: nil, admin_status: nil) ⇒ Ap
constructor
A new instance of Ap.
Constructor Details
#initialize(name:, mac_address: nil, ethernet_mac_address: nil, location: nil, operational_status: nil, model: nil, serial: nil, ip_address: nil, type: nil, admin_status: nil) ⇒ Ap
Returns a new instance of Ap.
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/wlc_snmp/ap.rb', line 3 def initialize(name: , mac_address: nil, ethernet_mac_address: nil, location: nil, operational_status: nil, model: nil, serial: nil, ip_address: nil, type: nil, admin_status: nil) @name = name @mac_address = mac_address @ethernet_mac_address = ethernet_mac_address @location = location @operational_status = operational_status @model = model @serial = serial @ip_address = ip_address @type = type @admin_status = admin_status end |
Instance Attribute Details
#admin_status ⇒ Object (readonly)
Returns the value of attribute admin_status.
25 26 27 |
# File 'lib/wlc_snmp/ap.rb', line 25 def admin_status @admin_status end |
#ethernet_mac_address ⇒ Object (readonly)
Returns the value of attribute ethernet_mac_address.
18 19 20 |
# File 'lib/wlc_snmp/ap.rb', line 18 def ethernet_mac_address @ethernet_mac_address end |
#ip_address ⇒ Object (readonly)
Returns the value of attribute ip_address.
23 24 25 |
# File 'lib/wlc_snmp/ap.rb', line 23 def ip_address @ip_address end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
19 20 21 |
# File 'lib/wlc_snmp/ap.rb', line 19 def location @location end |
#mac_address ⇒ Object (readonly)
Returns the value of attribute mac_address.
17 18 19 |
# File 'lib/wlc_snmp/ap.rb', line 17 def mac_address @mac_address end |
#model ⇒ Object (readonly)
Returns the value of attribute model.
21 22 23 |
# File 'lib/wlc_snmp/ap.rb', line 21 def model @model end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
16 17 18 |
# File 'lib/wlc_snmp/ap.rb', line 16 def name @name end |
#operational_status ⇒ Object (readonly)
Returns the value of attribute operational_status.
20 21 22 |
# File 'lib/wlc_snmp/ap.rb', line 20 def operational_status @operational_status end |
#serial ⇒ Object (readonly)
Returns the value of attribute serial.
22 23 24 |
# File 'lib/wlc_snmp/ap.rb', line 22 def serial @serial end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
24 25 26 |
# File 'lib/wlc_snmp/ap.rb', line 24 def type @type end |