Class: UntitledApi::InternalDevicesConfigResponse1
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- UntitledApi::InternalDevicesConfigResponse1
- Defined in:
- lib/untitled_api/models/internal_devices_config_response1.rb
Overview
InternalDevicesConfigResponse1 Model.
Instance Attribute Summary collapse
-
#ap_recovery ⇒ Object
TODO: Write general description for this method.
-
#app_def ⇒ Object
TODO: Write general description for this method.
-
#avs ⇒ Object
TODO: Write general description for this method.
-
#cna_hostnames ⇒ Object
TODO: Write general description for this method.
-
#country ⇒ String
TODO: Write general description for this method.
-
#dns ⇒ Object
TODO: Write general description for this method.
-
#dnsmasq ⇒ Object
TODO: Write general description for this method.
-
#errors ⇒ Object
TODO: Write general description for this method.
-
#ext_io ⇒ Object
TODO: Write general description for this method.
-
#hostname ⇒ String
TODO: Write general description for this method.
-
#http_redirector ⇒ Object
TODO: Write general description for this method.
-
#id ⇒ String
TODO: Write general description for this method.
-
#irq_balance ⇒ Object
TODO: Write general description for this method.
-
#l2_tp_tunnels ⇒ Object
TODO: Write general description for this method.
-
#led ⇒ Object
TODO: Write general description for this method.
-
#map_id ⇒ String
TODO: Write general description for this method.
-
#monitor ⇒ Object
TODO: Write general description for this method.
-
#name ⇒ String
TODO: Write general description for this method.
-
#org_id ⇒ String
TODO: Write general description for this method.
-
#our_ou_is ⇒ Object
TODO: Write general description for this method.
-
#pace_kernel_mod_counters ⇒ Object
TODO: Write general description for this method.
-
#papi_opaque ⇒ String
TODO: Write general description for this method.
-
#poe_pwr_constrained ⇒ Object
TODO: Write general description for this method.
-
#proxy_arp ⇒ Object
TODO: Write general description for this method.
-
#radios ⇒ Object
TODO: Write general description for this method.
-
#root_authorized_ssh_keys ⇒ Object
TODO: Write general description for this method.
-
#site_id ⇒ String
TODO: Write general description for this method.
-
#site_name ⇒ String
TODO: Write general description for this method.
-
#ssh ⇒ Object
TODO: Write general description for this method.
-
#stats ⇒ Object
TODO: Write general description for this method.
-
#steer ⇒ Object
TODO: Write general description for this method.
-
#sv_is ⇒ Object
TODO: Write general description for this method.
-
#switch_ports ⇒ Object
TODO: Write general description for this method.
-
#time_taken ⇒ Object
TODO: Write general description for this method.
-
#timestamp ⇒ Float
TODO: Write general description for this method.
-
#uuid ⇒ String
TODO: Write general description for this method.
-
#vlan_names ⇒ Object
TODO: Write general description for this method.
-
#wids ⇒ Object
TODO: Write general description for this method.
-
#wla_ns ⇒ Object
TODO: Write general description for this method.
-
#xyz ⇒ Object
TODO: Write general description for this method.
Class Method Summary collapse
-
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
-
.names ⇒ Object
A mapping from model property names to API property names.
-
.nullables ⇒ Object
An array for nullable fields.
-
.optionals ⇒ Object
An array for optional fields.
Instance Method Summary collapse
Methods inherited from BaseModel
Constructor Details
#initialize(radios = SKIP, country = SKIP, hostname = SKIP, wla_ns = SKIP, sv_is = SKIP, led = SKIP, ssh = SKIP, root_authorized_ssh_keys = SKIP, stats = SKIP, irq_balance = SKIP, our_ou_is = SKIP, id = SKIP, uuid = SKIP, errors = SKIP, timestamp = SKIP, org_id = SKIP, site_id = SKIP, name = SKIP, site_name = SKIP, map_id = SKIP, xyz = SKIP, http_redirector = SKIP, proxy_arp = SKIP, steer = SKIP, wids = SKIP, cna_hostnames = SKIP, dnsmasq = SKIP, app_def = SKIP, monitor = SKIP, pace_kernel_mod_counters = SKIP, ext_io = SKIP, poe_pwr_constrained = SKIP, avs = SKIP, dns = SKIP, switch_ports = SKIP, l2_tp_tunnels = SKIP, vlan_names = SKIP, ap_recovery = SKIP, papi_opaque = SKIP, time_taken = SKIP) ⇒ InternalDevicesConfigResponse1
Returns a new instance of InternalDevicesConfigResponse1.
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 269 def initialize(radios = SKIP, country = SKIP, hostname = SKIP, wla_ns = SKIP, sv_is = SKIP, led = SKIP, ssh = SKIP, = SKIP, stats = SKIP, irq_balance = SKIP, our_ou_is = SKIP, id = SKIP, uuid = SKIP, errors = SKIP, = SKIP, org_id = SKIP, site_id = SKIP, name = SKIP, site_name = SKIP, map_id = SKIP, xyz = SKIP, http_redirector = SKIP, proxy_arp = SKIP, steer = SKIP, wids = SKIP, cna_hostnames = SKIP, dnsmasq = SKIP, app_def = SKIP, monitor = SKIP, pace_kernel_mod_counters = SKIP, ext_io = SKIP, poe_pwr_constrained = SKIP, avs = SKIP, dns = SKIP, switch_ports = SKIP, l2_tp_tunnels = SKIP, vlan_names = SKIP, ap_recovery = SKIP, papi_opaque = SKIP, time_taken = SKIP) @radios = radios unless radios == SKIP @country = country unless country == SKIP @hostname = hostname unless hostname == SKIP @wla_ns = wla_ns unless wla_ns == SKIP @sv_is = sv_is unless sv_is == SKIP @led = led unless led == SKIP @ssh = ssh unless ssh == SKIP = unless == SKIP @stats = stats unless stats == SKIP @irq_balance = irq_balance unless irq_balance == SKIP @our_ou_is = our_ou_is unless our_ou_is == SKIP @id = id unless id == SKIP @uuid = uuid unless uuid == SKIP @errors = errors unless errors == SKIP = unless == SKIP @org_id = org_id unless org_id == SKIP @site_id = site_id unless site_id == SKIP @name = name unless name == SKIP @site_name = site_name unless site_name == SKIP @map_id = map_id unless map_id == SKIP @xyz = xyz unless xyz == SKIP @http_redirector = http_redirector unless http_redirector == SKIP @proxy_arp = proxy_arp unless proxy_arp == SKIP @steer = steer unless steer == SKIP @wids = wids unless wids == SKIP @cna_hostnames = cna_hostnames unless cna_hostnames == SKIP @dnsmasq = dnsmasq unless dnsmasq == SKIP @app_def = app_def unless app_def == SKIP @monitor = monitor unless monitor == SKIP @pace_kernel_mod_counters = pace_kernel_mod_counters unless pace_kernel_mod_counters == SKIP @ext_io = ext_io unless ext_io == SKIP @poe_pwr_constrained = poe_pwr_constrained unless poe_pwr_constrained == SKIP @avs = avs unless avs == SKIP @dns = dns unless dns == SKIP @switch_ports = switch_ports unless switch_ports == SKIP @l2_tp_tunnels = l2_tp_tunnels unless l2_tp_tunnels == SKIP @vlan_names = vlan_names unless vlan_names == SKIP @ap_recovery = ap_recovery unless ap_recovery == SKIP @papi_opaque = papi_opaque unless papi_opaque == SKIP @time_taken = time_taken unless time_taken == SKIP end |
Instance Attribute Details
#ap_recovery ⇒ Object
TODO: Write general description for this method
162 163 164 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 162 def ap_recovery @ap_recovery end |
#app_def ⇒ Object
TODO: Write general description for this method
122 123 124 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 122 def app_def @app_def end |
#avs ⇒ Object
TODO: Write general description for this method
142 143 144 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 142 def avs @avs end |
#cna_hostnames ⇒ Object
TODO: Write general description for this method
114 115 116 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 114 def cna_hostnames @cna_hostnames end |
#country ⇒ String
TODO: Write general description for this method
18 19 20 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 18 def country @country end |
#dns ⇒ Object
TODO: Write general description for this method
146 147 148 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 146 def dns @dns end |
#dnsmasq ⇒ Object
TODO: Write general description for this method
118 119 120 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 118 def dnsmasq @dnsmasq end |
#errors ⇒ Object
TODO: Write general description for this method
66 67 68 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 66 def errors @errors end |
#ext_io ⇒ Object
TODO: Write general description for this method
134 135 136 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 134 def ext_io @ext_io end |
#hostname ⇒ String
TODO: Write general description for this method
22 23 24 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 22 def hostname @hostname end |
#http_redirector ⇒ Object
TODO: Write general description for this method
98 99 100 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 98 def http_redirector @http_redirector end |
#id ⇒ String
TODO: Write general description for this method
58 59 60 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 58 def id @id end |
#irq_balance ⇒ Object
TODO: Write general description for this method
50 51 52 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 50 def irq_balance @irq_balance end |
#l2_tp_tunnels ⇒ Object
TODO: Write general description for this method
154 155 156 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 154 def l2_tp_tunnels @l2_tp_tunnels end |
#led ⇒ Object
TODO: Write general description for this method
34 35 36 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 34 def led @led end |
#map_id ⇒ String
TODO: Write general description for this method
90 91 92 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 90 def map_id @map_id end |
#monitor ⇒ Object
TODO: Write general description for this method
126 127 128 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 126 def monitor @monitor end |
#name ⇒ String
TODO: Write general description for this method
82 83 84 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 82 def name @name end |
#org_id ⇒ String
TODO: Write general description for this method
74 75 76 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 74 def org_id @org_id end |
#our_ou_is ⇒ Object
TODO: Write general description for this method
54 55 56 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 54 def our_ou_is @our_ou_is end |
#pace_kernel_mod_counters ⇒ Object
TODO: Write general description for this method
130 131 132 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 130 def pace_kernel_mod_counters @pace_kernel_mod_counters end |
#papi_opaque ⇒ String
TODO: Write general description for this method
166 167 168 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 166 def papi_opaque @papi_opaque end |
#poe_pwr_constrained ⇒ Object
TODO: Write general description for this method
138 139 140 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 138 def poe_pwr_constrained @poe_pwr_constrained end |
#proxy_arp ⇒ Object
TODO: Write general description for this method
102 103 104 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 102 def proxy_arp @proxy_arp end |
#radios ⇒ Object
TODO: Write general description for this method
14 15 16 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 14 def radios @radios end |
#root_authorized_ssh_keys ⇒ Object
TODO: Write general description for this method
42 43 44 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 42 def end |
#site_id ⇒ String
TODO: Write general description for this method
78 79 80 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 78 def site_id @site_id end |
#site_name ⇒ String
TODO: Write general description for this method
86 87 88 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 86 def site_name @site_name end |
#ssh ⇒ Object
TODO: Write general description for this method
38 39 40 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 38 def ssh @ssh end |
#stats ⇒ Object
TODO: Write general description for this method
46 47 48 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 46 def stats @stats end |
#steer ⇒ Object
TODO: Write general description for this method
106 107 108 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 106 def steer @steer end |
#sv_is ⇒ Object
TODO: Write general description for this method
30 31 32 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 30 def sv_is @sv_is end |
#switch_ports ⇒ Object
TODO: Write general description for this method
150 151 152 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 150 def switch_ports @switch_ports end |
#time_taken ⇒ Object
TODO: Write general description for this method
170 171 172 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 170 def time_taken @time_taken end |
#timestamp ⇒ Float
TODO: Write general description for this method
70 71 72 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 70 def end |
#uuid ⇒ String
TODO: Write general description for this method
62 63 64 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 62 def uuid @uuid end |
#vlan_names ⇒ Object
TODO: Write general description for this method
158 159 160 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 158 def vlan_names @vlan_names end |
#wids ⇒ Object
TODO: Write general description for this method
110 111 112 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 110 def wids @wids end |
#wla_ns ⇒ Object
TODO: Write general description for this method
26 27 28 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 26 def wla_ns @wla_ns end |
#xyz ⇒ Object
TODO: Write general description for this method
94 95 96 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 94 def xyz @xyz end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 352 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. radios = hash.key?('Radios') ? hash['Radios'] : SKIP country = hash.key?('Country') ? hash['Country'] : SKIP hostname = hash.key?('Hostname') ? hash['Hostname'] : SKIP wla_ns = hash.key?('WLANs') ? hash['WLANs'] : SKIP sv_is = hash.key?('SVIs') ? hash['SVIs'] : SKIP led = hash.key?('LED') ? hash['LED'] : SKIP ssh = hash.key?('SSH') ? hash['SSH'] : SKIP = hash.key?('RootAuthorizedSSHKeys') ? hash['RootAuthorizedSSHKeys'] : SKIP stats = hash.key?('Stats') ? hash['Stats'] : SKIP irq_balance = hash.key?('IrqBalance') ? hash['IrqBalance'] : SKIP our_ou_is = hash.key?('OurOUIs') ? hash['OurOUIs'] : SKIP id = hash.key?('ID') ? hash['ID'] : SKIP uuid = hash.key?('UUID') ? hash['UUID'] : SKIP errors = hash.key?('_errors') ? hash['_errors'] : SKIP = hash.key?('Timestamp') ? hash['Timestamp'] : SKIP org_id = hash.key?('OrgID') ? hash['OrgID'] : SKIP site_id = hash.key?('SiteID') ? hash['SiteID'] : SKIP name = hash.key?('Name') ? hash['Name'] : SKIP site_name = hash.key?('SiteName') ? hash['SiteName'] : SKIP map_id = hash.key?('MapID') ? hash['MapID'] : SKIP xyz = hash.key?('XYZ') ? hash['XYZ'] : SKIP http_redirector = hash.key?('HttpRedirector') ? hash['HttpRedirector'] : SKIP proxy_arp = hash.key?('ProxyArp') ? hash['ProxyArp'] : SKIP steer = hash.key?('Steer') ? hash['Steer'] : SKIP wids = hash.key?('WIDS') ? hash['WIDS'] : SKIP cna_hostnames = hash.key?('CnaHostnames') ? hash['CnaHostnames'] : SKIP dnsmasq = hash.key?('Dnsmasq') ? hash['Dnsmasq'] : SKIP app_def = hash.key?('AppDef') ? hash['AppDef'] : SKIP monitor = hash.key?('Monitor') ? hash['Monitor'] : SKIP pace_kernel_mod_counters = hash.key?('PACE_KernelModCounters') ? hash['PACE_KernelModCounters'] : SKIP ext_io = hash.key?('ExtIO') ? hash['ExtIO'] : SKIP poe_pwr_constrained = hash.key?('PoePwrConstrained') ? hash['PoePwrConstrained'] : SKIP avs = hash.key?('AVS') ? hash['AVS'] : SKIP dns = hash.key?('DNS') ? hash['DNS'] : SKIP switch_ports = hash.key?('SwitchPorts') ? hash['SwitchPorts'] : SKIP l2_tp_tunnels = hash.key?('L2TPTunnels') ? hash['L2TPTunnels'] : SKIP vlan_names = hash.key?('VLANNames') ? hash['VLANNames'] : SKIP ap_recovery = hash.key?('APRecovery') ? hash['APRecovery'] : SKIP papi_opaque = hash.key?('PAPIOpaque') ? hash['PAPIOpaque'] : SKIP time_taken = hash.key?('time_taken') ? hash['time_taken'] : SKIP # Create object from extracted values. InternalDevicesConfigResponse1.new(radios, country, hostname, wla_ns, sv_is, led, ssh, , stats, irq_balance, our_ou_is, id, uuid, errors, , org_id, site_id, name, site_name, map_id, xyz, http_redirector, proxy_arp, steer, wids, cna_hostnames, dnsmasq, app_def, monitor, pace_kernel_mod_counters, ext_io, poe_pwr_constrained, avs, dns, switch_ports, l2_tp_tunnels, vlan_names, ap_recovery, papi_opaque, time_taken) end |
.names ⇒ Object
A mapping from model property names to API property names.
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 173 def self.names @_hash = {} if @_hash.nil? @_hash['radios'] = 'Radios' @_hash['country'] = 'Country' @_hash['hostname'] = 'Hostname' @_hash['wla_ns'] = 'WLANs' @_hash['sv_is'] = 'SVIs' @_hash['led'] = 'LED' @_hash['ssh'] = 'SSH' @_hash['root_authorized_ssh_keys'] = 'RootAuthorizedSSHKeys' @_hash['stats'] = 'Stats' @_hash['irq_balance'] = 'IrqBalance' @_hash['our_ou_is'] = 'OurOUIs' @_hash['id'] = 'ID' @_hash['uuid'] = 'UUID' @_hash['errors'] = '_errors' @_hash['timestamp'] = 'Timestamp' @_hash['org_id'] = 'OrgID' @_hash['site_id'] = 'SiteID' @_hash['name'] = 'Name' @_hash['site_name'] = 'SiteName' @_hash['map_id'] = 'MapID' @_hash['xyz'] = 'XYZ' @_hash['http_redirector'] = 'HttpRedirector' @_hash['proxy_arp'] = 'ProxyArp' @_hash['steer'] = 'Steer' @_hash['wids'] = 'WIDS' @_hash['cna_hostnames'] = 'CnaHostnames' @_hash['dnsmasq'] = 'Dnsmasq' @_hash['app_def'] = 'AppDef' @_hash['monitor'] = 'Monitor' @_hash['pace_kernel_mod_counters'] = 'PACE_KernelModCounters' @_hash['ext_io'] = 'ExtIO' @_hash['poe_pwr_constrained'] = 'PoePwrConstrained' @_hash['avs'] = 'AVS' @_hash['dns'] = 'DNS' @_hash['switch_ports'] = 'SwitchPorts' @_hash['l2_tp_tunnels'] = 'L2TPTunnels' @_hash['vlan_names'] = 'VLANNames' @_hash['ap_recovery'] = 'APRecovery' @_hash['papi_opaque'] = 'PAPIOpaque' @_hash['time_taken'] = 'time_taken' @_hash end |
.nullables ⇒ Object
An array for nullable fields
265 266 267 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 265 def self.nullables [] end |
.optionals ⇒ Object
An array for optional fields
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'lib/untitled_api/models/internal_devices_config_response1.rb', line 219 def self.optionals %w[ radios country hostname wla_ns sv_is led ssh root_authorized_ssh_keys stats irq_balance our_ou_is id uuid errors timestamp org_id site_id name site_name map_id xyz http_redirector proxy_arp steer wids cna_hostnames dnsmasq app_def monitor pace_kernel_mod_counters ext_io poe_pwr_constrained avs dns switch_ports l2_tp_tunnels vlan_names ap_recovery papi_opaque time_taken ] end |