Class: WlcSnmp::ClientData
- Inherits:
-
Object
- Object
- WlcSnmp::ClientData
- Defined in:
- lib/wlc_snmp/client_data.rb
Instance Attribute Summary collapse
-
#ap ⇒ Object
readonly
Returns the value of attribute ap.
-
#ap_mac ⇒ Object
readonly
Returns the value of attribute ap_mac.
-
#current_rate ⇒ Object
readonly
Returns the value of attribute current_rate.
-
#ip_address ⇒ Object
readonly
Returns the value of attribute ip_address.
-
#mac_address ⇒ Object
readonly
Returns the value of attribute mac_address.
-
#protocol ⇒ Object
readonly
Returns the value of attribute protocol.
-
#ssid ⇒ Object
readonly
Returns the value of attribute ssid.
-
#supported_data_rates ⇒ Object
readonly
Returns the value of attribute supported_data_rates.
-
#uptime ⇒ Object
readonly
Returns the value of attribute uptime.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
-
#wlan_profile ⇒ Object
readonly
Returns the value of attribute wlan_profile.
Instance Method Summary collapse
-
#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
constructor
A new instance of ClientData.
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
#ap ⇒ Object (readonly)
Returns the value of attribute ap.
27 28 29 |
# File 'lib/wlc_snmp/client_data.rb', line 27 def ap @ap end |
#ap_mac ⇒ Object (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_rate ⇒ Object (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_address ⇒ Object (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_address ⇒ Object (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 |
#protocol ⇒ Object (readonly)
Returns the value of attribute protocol.
20 21 22 |
# File 'lib/wlc_snmp/client_data.rb', line 20 def protocol @protocol end |
#ssid ⇒ Object (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_rates ⇒ Object (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 |
#uptime ⇒ Object (readonly)
Returns the value of attribute uptime.
22 23 24 |
# File 'lib/wlc_snmp/client_data.rb', line 22 def uptime @uptime end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
25 26 27 |
# File 'lib/wlc_snmp/client_data.rb', line 25 def user @user end |
#wlan_profile ⇒ Object (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 |