Class: UntitledApi::InternalOrgsKnobsResponse1

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/untitled_api/models/internal_orgs_knobs_response1.rb

Overview

InternalOrgsKnobsResponse1 Model.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#to_hash, #to_json

Constructor Details

#initialize(stat_interval = SKIP, mdns_enabled = SKIP, turbo_mode = SKIP, upgrade_batch = SKIP, root_overwrite = SKIP, tunterm_overwrite = SKIP, config_overwrite = SKIP, wlan_overwrite = SKIP, radio_overwrite = SKIP, proxyarp_enabled = SKIP, overds_enabled = SKIP, log_run_state_enabled = SKIP, mapless_asset = SKIP, tags = SKIP, force_sw_probereq = SKIP, ocdevice_overwrite = SKIP, disable_event_scripts = SKIP, pyagent_overwrite = SKIP, commit_overwrite = SKIP, junos_agent_overwrite = SKIP, junos_agent_install = SKIP, mxagent_overwrite = SKIP, ep_term_proxy = SKIP, ssr_config_backdoor = SKIP, macs_with_legacy_cluster_id = SKIP, radio_macs_refresh_enabled = SKIP, srx_macs_with_bgp_summarize_steering_enabled = SKIP, knob_overwrite = SKIP, cmd_history_upload = SKIP, usage = SKIP) ⇒ InternalOrgsKnobsResponse1

Returns a new instance of InternalOrgsKnobsResponse1.



210
211
212
213
214
215
216
217
218
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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 210

def initialize(stat_interval = SKIP,
               mdns_enabled = SKIP,
               turbo_mode = SKIP,
               upgrade_batch = SKIP,
               root_overwrite = SKIP,
               tunterm_overwrite = SKIP,
               config_overwrite = SKIP,
               wlan_overwrite = SKIP,
               radio_overwrite = SKIP,
               proxyarp_enabled = SKIP,
               overds_enabled = SKIP,
               log_run_state_enabled = SKIP,
               mapless_asset = SKIP,
               tags = SKIP,
               force_sw_probereq = SKIP,
               ocdevice_overwrite = SKIP,
               disable_event_scripts = SKIP,
               pyagent_overwrite = SKIP,
               commit_overwrite = SKIP,
               junos_agent_overwrite = SKIP,
               junos_agent_install = SKIP,
               mxagent_overwrite = SKIP,
               ep_term_proxy = SKIP,
               ssr_config_backdoor = SKIP,
               macs_with_legacy_cluster_id = SKIP,
               radio_macs_refresh_enabled = SKIP,
               srx_macs_with_bgp_summarize_steering_enabled = SKIP,
               knob_overwrite = SKIP,
               cmd_history_upload = SKIP,
               usage = SKIP)
  @stat_interval = stat_interval unless stat_interval == SKIP
  @mdns_enabled = mdns_enabled unless mdns_enabled == SKIP
  @turbo_mode = turbo_mode unless turbo_mode == SKIP
  @upgrade_batch = upgrade_batch unless upgrade_batch == SKIP
  @root_overwrite = root_overwrite unless root_overwrite == SKIP
  @tunterm_overwrite = tunterm_overwrite unless tunterm_overwrite == SKIP
  @config_overwrite = config_overwrite unless config_overwrite == SKIP
  @wlan_overwrite = wlan_overwrite unless wlan_overwrite == SKIP
  @radio_overwrite = radio_overwrite unless radio_overwrite == SKIP
  @proxyarp_enabled = proxyarp_enabled unless proxyarp_enabled == SKIP
  @overds_enabled = overds_enabled unless overds_enabled == SKIP
  @log_run_state_enabled = log_run_state_enabled unless log_run_state_enabled == SKIP
  @mapless_asset = mapless_asset unless mapless_asset == SKIP
  @tags = tags unless tags == SKIP
  @force_sw_probereq = force_sw_probereq unless force_sw_probereq == SKIP
  @ocdevice_overwrite = ocdevice_overwrite unless ocdevice_overwrite == SKIP
  @disable_event_scripts = disable_event_scripts unless disable_event_scripts == SKIP
  @pyagent_overwrite = pyagent_overwrite unless pyagent_overwrite == SKIP
  @commit_overwrite = commit_overwrite unless commit_overwrite == SKIP
  @junos_agent_overwrite = junos_agent_overwrite unless junos_agent_overwrite == SKIP
  @junos_agent_install = junos_agent_install unless junos_agent_install == SKIP
  @mxagent_overwrite = mxagent_overwrite unless mxagent_overwrite == SKIP
  @ep_term_proxy = ep_term_proxy unless ep_term_proxy == SKIP
  @ssr_config_backdoor = ssr_config_backdoor unless ssr_config_backdoor == SKIP
  unless macs_with_legacy_cluster_id == SKIP
    @macs_with_legacy_cluster_id =
      macs_with_legacy_cluster_id
  end
  unless radio_macs_refresh_enabled == SKIP
    @radio_macs_refresh_enabled =
      radio_macs_refresh_enabled
  end
  unless srx_macs_with_bgp_summarize_steering_enabled == SKIP
    @srx_macs_with_bgp_summarize_steering_enabled =
      srx_macs_with_bgp_summarize_steering_enabled
  end
  @knob_overwrite = knob_overwrite unless knob_overwrite == SKIP
  @cmd_history_upload = cmd_history_upload unless cmd_history_upload == SKIP
  @usage = usage unless usage == SKIP
end

Instance Attribute Details

#cmd_history_uploadObject

TODO: Write general description for this method

Returns:

  • (Object)


126
127
128
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 126

def cmd_history_upload
  @cmd_history_upload
end

#commit_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


86
87
88
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 86

def commit_overwrite
  @commit_overwrite
end

#config_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


38
39
40
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 38

def config_overwrite
  @config_overwrite
end

#disable_event_scriptsObject

TODO: Write general description for this method

Returns:

  • (Object)


78
79
80
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 78

def disable_event_scripts
  @disable_event_scripts
end

#ep_term_proxyObject

TODO: Write general description for this method

Returns:

  • (Object)


102
103
104
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 102

def ep_term_proxy
  @ep_term_proxy
end

#force_sw_probereqObject

TODO: Write general description for this method

Returns:

  • (Object)


70
71
72
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 70

def force_sw_probereq
  @force_sw_probereq
end

#junos_agent_installObject

TODO: Write general description for this method

Returns:

  • (Object)


94
95
96
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 94

def junos_agent_install
  @junos_agent_install
end

#junos_agent_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


90
91
92
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 90

def junos_agent_overwrite
  @junos_agent_overwrite
end

#knob_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


122
123
124
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 122

def knob_overwrite
  @knob_overwrite
end

#log_run_state_enabledObject

TODO: Write general description for this method

Returns:

  • (Object)


58
59
60
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 58

def log_run_state_enabled
  @log_run_state_enabled
end

#macs_with_legacy_cluster_idObject

TODO: Write general description for this method

Returns:

  • (Object)


110
111
112
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 110

def macs_with_legacy_cluster_id
  @macs_with_legacy_cluster_id
end

#mapless_assetObject

TODO: Write general description for this method

Returns:

  • (Object)


62
63
64
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 62

def mapless_asset
  @mapless_asset
end

#mdns_enabledObject

TODO: Write general description for this method

Returns:

  • (Object)


18
19
20
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 18

def mdns_enabled
  @mdns_enabled
end

#mxagent_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


98
99
100
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 98

def mxagent_overwrite
  @mxagent_overwrite
end

#ocdevice_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


74
75
76
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 74

def ocdevice_overwrite
  @ocdevice_overwrite
end

#overds_enabledObject

TODO: Write general description for this method

Returns:

  • (Object)


54
55
56
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 54

def overds_enabled
  @overds_enabled
end

#proxyarp_enabledObject

TODO: Write general description for this method

Returns:

  • (Object)


50
51
52
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 50

def proxyarp_enabled
  @proxyarp_enabled
end

#pyagent_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


82
83
84
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 82

def pyagent_overwrite
  @pyagent_overwrite
end

#radio_macs_refresh_enabledObject

TODO: Write general description for this method

Returns:

  • (Object)


114
115
116
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 114

def radio_macs_refresh_enabled
  @radio_macs_refresh_enabled
end

#radio_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


46
47
48
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 46

def radio_overwrite
  @radio_overwrite
end

#root_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


30
31
32
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 30

def root_overwrite
  @root_overwrite
end

#srx_macs_with_bgp_summarize_steering_enabledObject

TODO: Write general description for this method

Returns:

  • (Object)


118
119
120
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 118

def srx_macs_with_bgp_summarize_steering_enabled
  @srx_macs_with_bgp_summarize_steering_enabled
end

#ssr_config_backdoorObject

TODO: Write general description for this method

Returns:

  • (Object)


106
107
108
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 106

def ssr_config_backdoor
  @ssr_config_backdoor
end

#stat_intervalFloat

TODO: Write general description for this method

Returns:

  • (Float)


14
15
16
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 14

def stat_interval
  @stat_interval
end

#tagsObject

TODO: Write general description for this method

Returns:

  • (Object)


66
67
68
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 66

def tags
  @tags
end

#tunterm_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


34
35
36
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 34

def tunterm_overwrite
  @tunterm_overwrite
end

#turbo_modeObject

TODO: Write general description for this method

Returns:

  • (Object)


22
23
24
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 22

def turbo_mode
  @turbo_mode
end

#upgrade_batchObject

TODO: Write general description for this method

Returns:

  • (Object)


26
27
28
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 26

def upgrade_batch
  @upgrade_batch
end

#usageObject

TODO: Write general description for this method

Returns:

  • (Object)


130
131
132
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 130

def usage
  @usage
end

#wlan_overwriteObject

TODO: Write general description for this method

Returns:

  • (Object)


42
43
44
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 42

def wlan_overwrite
  @wlan_overwrite
end

Class Method Details

.from_hash(hash) ⇒ Object

Creates an instance of the object from a hash.



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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 282

def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.
  stat_interval = hash.key?('stat_interval') ? hash['stat_interval'] : SKIP
  mdns_enabled = hash.key?('mdns_enabled') ? hash['mdns_enabled'] : SKIP
  turbo_mode = hash.key?('turbo_mode') ? hash['turbo_mode'] : SKIP
  upgrade_batch = hash.key?('upgrade_batch') ? hash['upgrade_batch'] : SKIP
  root_overwrite =
    hash.key?('root_overwrite') ? hash['root_overwrite'] : SKIP
  tunterm_overwrite =
    hash.key?('tunterm_overwrite') ? hash['tunterm_overwrite'] : SKIP
  config_overwrite =
    hash.key?('config_overwrite') ? hash['config_overwrite'] : SKIP
  wlan_overwrite =
    hash.key?('wlan_overwrite') ? hash['wlan_overwrite'] : SKIP
  radio_overwrite =
    hash.key?('radio_overwrite') ? hash['radio_overwrite'] : SKIP
  proxyarp_enabled =
    hash.key?('proxyarp_enabled') ? hash['proxyarp_enabled'] : SKIP
  overds_enabled =
    hash.key?('overds_enabled') ? hash['overds_enabled'] : SKIP
  log_run_state_enabled =
    hash.key?('log_run_state_enabled') ? hash['log_run_state_enabled'] : SKIP
  mapless_asset = hash.key?('mapless_asset') ? hash['mapless_asset'] : SKIP
  tags = hash.key?('tags') ? hash['tags'] : SKIP
  force_sw_probereq =
    hash.key?('force_sw_probereq') ? hash['force_sw_probereq'] : SKIP
  ocdevice_overwrite =
    hash.key?('ocdevice_overwrite') ? hash['ocdevice_overwrite'] : SKIP
  disable_event_scripts =
    hash.key?('disable_event_scripts') ? hash['disable_event_scripts'] : SKIP
  pyagent_overwrite =
    hash.key?('pyagent_overwrite') ? hash['pyagent_overwrite'] : SKIP
  commit_overwrite =
    hash.key?('commit_overwrite') ? hash['commit_overwrite'] : SKIP
  junos_agent_overwrite =
    hash.key?('junos_agent_overwrite') ? hash['junos_agent_overwrite'] : SKIP
  junos_agent_install =
    hash.key?('junos_agent_install') ? hash['junos_agent_install'] : SKIP
  mxagent_overwrite =
    hash.key?('mxagent_overwrite') ? hash['mxagent_overwrite'] : SKIP
  ep_term_proxy = hash.key?('ep_term_proxy') ? hash['ep_term_proxy'] : SKIP
  ssr_config_backdoor =
    hash.key?('ssr_config_backdoor') ? hash['ssr_config_backdoor'] : SKIP
  macs_with_legacy_cluster_id =
    hash.key?('macs_with_legacy_cluster_id') ? hash['macs_with_legacy_cluster_id'] : SKIP
  radio_macs_refresh_enabled =
    hash.key?('radio_macs_refresh_enabled') ? hash['radio_macs_refresh_enabled'] : SKIP
  srx_macs_with_bgp_summarize_steering_enabled =
    hash.key?('srx_macs_with_bgp_summarize_steering_enabled') ? hash['srx_macs_with_bgp_summarize_steering_enabled'] : SKIP
  knob_overwrite =
    hash.key?('knob_overwrite') ? hash['knob_overwrite'] : SKIP
  cmd_history_upload =
    hash.key?('cmd_history_upload') ? hash['cmd_history_upload'] : SKIP
  usage = hash.key?('usage') ? hash['usage'] : SKIP

  # Create object from extracted values.
  InternalOrgsKnobsResponse1.new(stat_interval,
                                 mdns_enabled,
                                 turbo_mode,
                                 upgrade_batch,
                                 root_overwrite,
                                 tunterm_overwrite,
                                 config_overwrite,
                                 wlan_overwrite,
                                 radio_overwrite,
                                 proxyarp_enabled,
                                 overds_enabled,
                                 log_run_state_enabled,
                                 mapless_asset,
                                 tags,
                                 force_sw_probereq,
                                 ocdevice_overwrite,
                                 disable_event_scripts,
                                 pyagent_overwrite,
                                 commit_overwrite,
                                 junos_agent_overwrite,
                                 junos_agent_install,
                                 mxagent_overwrite,
                                 ep_term_proxy,
                                 ssr_config_backdoor,
                                 macs_with_legacy_cluster_id,
                                 radio_macs_refresh_enabled,
                                 srx_macs_with_bgp_summarize_steering_enabled,
                                 knob_overwrite,
                                 cmd_history_upload,
                                 usage)
end

.namesObject

A mapping from model property names to API property names.



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 133

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['stat_interval'] = 'stat_interval'
  @_hash['mdns_enabled'] = 'mdns_enabled'
  @_hash['turbo_mode'] = 'turbo_mode'
  @_hash['upgrade_batch'] = 'upgrade_batch'
  @_hash['root_overwrite'] = 'root_overwrite'
  @_hash['tunterm_overwrite'] = 'tunterm_overwrite'
  @_hash['config_overwrite'] = 'config_overwrite'
  @_hash['wlan_overwrite'] = 'wlan_overwrite'
  @_hash['radio_overwrite'] = 'radio_overwrite'
  @_hash['proxyarp_enabled'] = 'proxyarp_enabled'
  @_hash['overds_enabled'] = 'overds_enabled'
  @_hash['log_run_state_enabled'] = 'log_run_state_enabled'
  @_hash['mapless_asset'] = 'mapless_asset'
  @_hash['tags'] = 'tags'
  @_hash['force_sw_probereq'] = 'force_sw_probereq'
  @_hash['ocdevice_overwrite'] = 'ocdevice_overwrite'
  @_hash['disable_event_scripts'] = 'disable_event_scripts'
  @_hash['pyagent_overwrite'] = 'pyagent_overwrite'
  @_hash['commit_overwrite'] = 'commit_overwrite'
  @_hash['junos_agent_overwrite'] = 'junos_agent_overwrite'
  @_hash['junos_agent_install'] = 'junos_agent_install'
  @_hash['mxagent_overwrite'] = 'mxagent_overwrite'
  @_hash['ep_term_proxy'] = 'ep_term_proxy'
  @_hash['ssr_config_backdoor'] = 'ssr_config_backdoor'
  @_hash['macs_with_legacy_cluster_id'] = 'macs_with_legacy_cluster_id'
  @_hash['radio_macs_refresh_enabled'] = 'radio_macs_refresh_enabled'
  @_hash['srx_macs_with_bgp_summarize_steering_enabled'] =
    'srx_macs_with_bgp_summarize_steering_enabled'
  @_hash['knob_overwrite'] = 'knob_overwrite'
  @_hash['cmd_history_upload'] = 'cmd_history_upload'
  @_hash['usage'] = 'usage'
  @_hash
end

.nullablesObject

An array for nullable fields



206
207
208
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 206

def self.nullables
  []
end

.optionalsObject

An array for optional fields



170
171
172
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
# File 'lib/untitled_api/models/internal_orgs_knobs_response1.rb', line 170

def self.optionals
  %w[
    stat_interval
    mdns_enabled
    turbo_mode
    upgrade_batch
    root_overwrite
    tunterm_overwrite
    config_overwrite
    wlan_overwrite
    radio_overwrite
    proxyarp_enabled
    overds_enabled
    log_run_state_enabled
    mapless_asset
    tags
    force_sw_probereq
    ocdevice_overwrite
    disable_event_scripts
    pyagent_overwrite
    commit_overwrite
    junos_agent_overwrite
    junos_agent_install
    mxagent_overwrite
    ep_term_proxy
    ssr_config_backdoor
    macs_with_legacy_cluster_id
    radio_macs_refresh_enabled
    srx_macs_with_bgp_summarize_steering_enabled
    knob_overwrite
    cmd_history_upload
    usage
  ]
end