Class: UntitledApi::InternalMxagentsConfigResponse1
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- UntitledApi::InternalMxagentsConfigResponse1
- Defined in:
- lib/untitled_api/models/internal_mxagents_config_response1.rb
Overview
InternalMxagentsConfigResponse1 Model.
Instance Attribute Summary collapse
-
#audit_id ⇒ String
TODO: Write general description for this method.
-
#cloud_env ⇒ Object
TODO: Write general description for this method.
-
#cluster_id ⇒ Object
TODO: Write general description for this method.
-
#errors ⇒ Object
TODO: Write general description for this method.
-
#hostname ⇒ String
TODO: Write general description for this method.
-
#id ⇒ String
TODO: Write general description for this method.
-
#mxagent ⇒ Object
TODO: Write general description for this method.
-
#mxdas ⇒ Object
TODO: Write general description for this method.
-
#mxocproxy ⇒ Object
TODO: Write general description for this method.
-
#ntp_servers ⇒ Object
TODO: Write general description for this method.
-
#org_id ⇒ String
TODO: Write general description for this method.
-
#radsecproxy ⇒ Object
TODO: Write general description for this method.
-
#services ⇒ Object
TODO: Write general description for this method.
-
#site_id ⇒ String
TODO: Write general description for this method.
-
#ssh ⇒ Object
TODO: Write general description for this method.
-
#timestamp ⇒ Float
TODO: Write general description for this method.
-
#tunterm ⇒ Object
TODO: Write general description for this method.
-
#tunterm_id ⇒ String
TODO: Write general description for this method.
-
#versions ⇒ 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
-
#initialize(id = SKIP, cluster_id = SKIP, timestamp = SKIP, org_id = SKIP, site_id = SKIP, errors = SKIP, tunterm_id = SKIP, audit_id = SKIP, hostname = SKIP, ssh = SKIP, services = SKIP, versions = SKIP, ntp_servers = SKIP, cloud_env = SKIP, mxagent = SKIP, mxocproxy = SKIP, tunterm = SKIP, mxdas = SKIP, radsecproxy = SKIP) ⇒ InternalMxagentsConfigResponse1
constructor
A new instance of InternalMxagentsConfigResponse1.
Methods inherited from BaseModel
Constructor Details
#initialize(id = SKIP, cluster_id = SKIP, timestamp = SKIP, org_id = SKIP, site_id = SKIP, errors = SKIP, tunterm_id = SKIP, audit_id = SKIP, hostname = SKIP, ssh = SKIP, services = SKIP, versions = SKIP, ntp_servers = SKIP, cloud_env = SKIP, mxagent = SKIP, mxocproxy = SKIP, tunterm = SKIP, mxdas = SKIP, radsecproxy = SKIP) ⇒ InternalMxagentsConfigResponse1
Returns a new instance of InternalMxagentsConfigResponse1.
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 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 143 def initialize(id = SKIP, cluster_id = SKIP, = SKIP, org_id = SKIP, site_id = SKIP, errors = SKIP, tunterm_id = SKIP, audit_id = SKIP, hostname = SKIP, ssh = SKIP, services = SKIP, versions = SKIP, ntp_servers = SKIP, cloud_env = SKIP, mxagent = SKIP, mxocproxy = SKIP, tunterm = SKIP, mxdas = SKIP, radsecproxy = SKIP) @id = id unless id == SKIP @cluster_id = cluster_id unless cluster_id == SKIP @timestamp = unless == SKIP @org_id = org_id unless org_id == SKIP @site_id = site_id unless site_id == SKIP @errors = errors unless errors == SKIP @tunterm_id = tunterm_id unless tunterm_id == SKIP @audit_id = audit_id unless audit_id == SKIP @hostname = hostname unless hostname == SKIP @ssh = ssh unless ssh == SKIP @services = services unless services == SKIP @versions = versions unless versions == SKIP @ntp_servers = ntp_servers unless ntp_servers == SKIP @cloud_env = cloud_env unless cloud_env == SKIP @mxagent = mxagent unless mxagent == SKIP @mxocproxy = mxocproxy unless mxocproxy == SKIP @tunterm = tunterm unless tunterm == SKIP @mxdas = mxdas unless mxdas == SKIP @radsecproxy = radsecproxy unless radsecproxy == SKIP end |
Instance Attribute Details
#audit_id ⇒ String
TODO: Write general description for this method
42 43 44 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 42 def audit_id @audit_id end |
#cloud_env ⇒ Object
TODO: Write general description for this method
66 67 68 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 66 def cloud_env @cloud_env end |
#cluster_id ⇒ Object
TODO: Write general description for this method
18 19 20 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 18 def cluster_id @cluster_id end |
#errors ⇒ Object
TODO: Write general description for this method
34 35 36 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 34 def errors @errors end |
#hostname ⇒ String
TODO: Write general description for this method
46 47 48 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 46 def hostname @hostname end |
#id ⇒ String
TODO: Write general description for this method
14 15 16 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 14 def id @id end |
#mxagent ⇒ Object
TODO: Write general description for this method
70 71 72 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 70 def mxagent @mxagent end |
#mxdas ⇒ Object
TODO: Write general description for this method
82 83 84 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 82 def mxdas @mxdas end |
#mxocproxy ⇒ Object
TODO: Write general description for this method
74 75 76 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 74 def mxocproxy @mxocproxy end |
#ntp_servers ⇒ Object
TODO: Write general description for this method
62 63 64 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 62 def ntp_servers @ntp_servers end |
#org_id ⇒ String
TODO: Write general description for this method
26 27 28 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 26 def org_id @org_id end |
#radsecproxy ⇒ Object
TODO: Write general description for this method
86 87 88 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 86 def radsecproxy @radsecproxy end |
#services ⇒ Object
TODO: Write general description for this method
54 55 56 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 54 def services @services end |
#site_id ⇒ String
TODO: Write general description for this method
30 31 32 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 30 def site_id @site_id end |
#ssh ⇒ Object
TODO: Write general description for this method
50 51 52 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 50 def ssh @ssh end |
#timestamp ⇒ Float
TODO: Write general description for this method
22 23 24 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 22 def @timestamp end |
#tunterm ⇒ Object
TODO: Write general description for this method
78 79 80 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 78 def tunterm @tunterm end |
#tunterm_id ⇒ String
TODO: Write general description for this method
38 39 40 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 38 def tunterm_id @tunterm_id end |
#versions ⇒ Object
TODO: Write general description for this method
58 59 60 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 58 def versions @versions end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
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 217 218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 184 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. id = hash.key?('ID') ? hash['ID'] : SKIP cluster_id = hash.key?('ClusterID') ? hash['ClusterID'] : SKIP = hash.key?('Timestamp') ? hash['Timestamp'] : SKIP org_id = hash.key?('OrgID') ? hash['OrgID'] : SKIP site_id = hash.key?('SiteID') ? hash['SiteID'] : SKIP errors = hash.key?('_errors') ? hash['_errors'] : SKIP tunterm_id = hash.key?('TuntermID') ? hash['TuntermID'] : SKIP audit_id = hash.key?('AuditID') ? hash['AuditID'] : SKIP hostname = hash.key?('Hostname') ? hash['Hostname'] : SKIP ssh = hash.key?('SSH') ? hash['SSH'] : SKIP services = hash.key?('services') ? hash['services'] : SKIP versions = hash.key?('versions') ? hash['versions'] : SKIP ntp_servers = hash.key?('ntp_servers') ? hash['ntp_servers'] : SKIP cloud_env = hash.key?('cloud_env') ? hash['cloud_env'] : SKIP mxagent = hash.key?('mxagent') ? hash['mxagent'] : SKIP mxocproxy = hash.key?('mxocproxy') ? hash['mxocproxy'] : SKIP tunterm = hash.key?('tunterm') ? hash['tunterm'] : SKIP mxdas = hash.key?('mxdas') ? hash['mxdas'] : SKIP radsecproxy = hash.key?('radsecproxy') ? hash['radsecproxy'] : SKIP # Create object from extracted values. InternalMxagentsConfigResponse1.new(id, cluster_id, , org_id, site_id, errors, tunterm_id, audit_id, hostname, ssh, services, versions, ntp_servers, cloud_env, mxagent, mxocproxy, tunterm, mxdas, radsecproxy) end |
.names ⇒ Object
A mapping from model property names to API property names.
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 89 def self.names @_hash = {} if @_hash.nil? @_hash['id'] = 'ID' @_hash['cluster_id'] = 'ClusterID' @_hash['timestamp'] = 'Timestamp' @_hash['org_id'] = 'OrgID' @_hash['site_id'] = 'SiteID' @_hash['errors'] = '_errors' @_hash['tunterm_id'] = 'TuntermID' @_hash['audit_id'] = 'AuditID' @_hash['hostname'] = 'Hostname' @_hash['ssh'] = 'SSH' @_hash['services'] = 'services' @_hash['versions'] = 'versions' @_hash['ntp_servers'] = 'ntp_servers' @_hash['cloud_env'] = 'cloud_env' @_hash['mxagent'] = 'mxagent' @_hash['mxocproxy'] = 'mxocproxy' @_hash['tunterm'] = 'tunterm' @_hash['mxdas'] = 'mxdas' @_hash['radsecproxy'] = 'radsecproxy' @_hash end |
.nullables ⇒ Object
An array for nullable fields
139 140 141 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 139 def self.nullables [] end |
.optionals ⇒ Object
An array for optional fields
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 |
# File 'lib/untitled_api/models/internal_mxagents_config_response1.rb', line 114 def self.optionals %w[ id cluster_id timestamp org_id site_id errors tunterm_id audit_id hostname ssh services versions ntp_servers cloud_env mxagent mxocproxy tunterm mxdas radsecproxy ] end |