Class: WlcSnmp::Ap

Inherits:
Object
  • Object
show all
Defined in:
lib/wlc_snmp/ap.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_statusObject (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_addressObject (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_addressObject (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

#locationObject (readonly)

Returns the value of attribute location.



19
20
21
# File 'lib/wlc_snmp/ap.rb', line 19

def location
  @location
end

#mac_addressObject (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

#modelObject (readonly)

Returns the value of attribute model.



21
22
23
# File 'lib/wlc_snmp/ap.rb', line 21

def model
  @model
end

#nameObject (readonly)

Returns the value of attribute name.



16
17
18
# File 'lib/wlc_snmp/ap.rb', line 16

def name
  @name
end

#operational_statusObject (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

#serialObject (readonly)

Returns the value of attribute serial.



22
23
24
# File 'lib/wlc_snmp/ap.rb', line 22

def serial
  @serial
end

#typeObject (readonly)

Returns the value of attribute type.



24
25
26
# File 'lib/wlc_snmp/ap.rb', line 24

def type
  @type
end