Class: WlcSnmp::ClientData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip_address:, mac_address: nil, wlan_profile: nil, protocol: nil, ap_mac: nil, uptime: nil, current_rate: nil, supported_data_rates: nil, user: nil, ssid: nil, ap: nil) ⇒ ClientData

Returns a new instance of ClientData.



3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/wlc_snmp/client_data.rb', line 3

def initialize(ip_address: , mac_address: nil, wlan_profile: nil, protocol: nil, ap_mac: nil, uptime: nil, current_rate: nil, supported_data_rates: nil, user: nil, ssid: nil, ap: nil)
  @ip_address = ip_address
  @mac_address = mac_address
  @wlan_profile = wlan_profile
  @protocol = protocol
  @ap_mac = ap_mac
  @uptime = uptime
  @current_rate = current_rate
  @supported_data_rates = supported_data_rates
  @user = user
  @ssid = ssid
  @ap = ap
end

Instance Attribute Details

#apObject (readonly)

Returns the value of attribute ap.



27
28
29
# File 'lib/wlc_snmp/client_data.rb', line 27

def ap
  @ap
end

#ap_macObject (readonly)

Returns the value of attribute ap_mac.



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

def ap_mac
  @ap_mac
end

#current_rateObject (readonly)

Returns the value of attribute current_rate.



23
24
25
# File 'lib/wlc_snmp/client_data.rb', line 23

def current_rate
  @current_rate
end

#ip_addressObject (readonly)

Returns the value of attribute ip_address.



17
18
19
# File 'lib/wlc_snmp/client_data.rb', line 17

def ip_address
  @ip_address
end

#mac_addressObject (readonly)

Returns the value of attribute mac_address.



18
19
20
# File 'lib/wlc_snmp/client_data.rb', line 18

def mac_address
  @mac_address
end

#protocolObject (readonly)

Returns the value of attribute protocol.



20
21
22
# File 'lib/wlc_snmp/client_data.rb', line 20

def protocol
  @protocol
end

#ssidObject (readonly)

Returns the value of attribute ssid.



26
27
28
# File 'lib/wlc_snmp/client_data.rb', line 26

def ssid
  @ssid
end

#supported_data_ratesObject (readonly)

Returns the value of attribute supported_data_rates.



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

def supported_data_rates
  @supported_data_rates
end

#uptimeObject (readonly)

Returns the value of attribute uptime.



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

def uptime
  @uptime
end

#userObject (readonly)

Returns the value of attribute user.



25
26
27
# File 'lib/wlc_snmp/client_data.rb', line 25

def user
  @user
end

#wlan_profileObject (readonly)

Returns the value of attribute wlan_profile.



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

def wlan_profile
  @wlan_profile
end