Class: OCI::CloudBridge::Models::ComputeProperties

Inherits:
Object
  • Object
show all
Defined in:
lib/oci/cloud_bridge/models/compute_properties.rb

Overview

Compute related properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ComputeProperties

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash

Options Hash (attributes):



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
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
350
351
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
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 234

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  self.primary_ip = attributes[:'primaryIp'] if attributes[:'primaryIp']

  raise 'You cannot provide both :primaryIp and :primary_ip' if attributes.key?(:'primaryIp') && attributes.key?(:'primary_ip')

  self.primary_ip = attributes[:'primary_ip'] if attributes[:'primary_ip']

  self.dns_name = attributes[:'dnsName'] if attributes[:'dnsName']

  raise 'You cannot provide both :dnsName and :dns_name' if attributes.key?(:'dnsName') && attributes.key?(:'dns_name')

  self.dns_name = attributes[:'dns_name'] if attributes[:'dns_name']

  self.description = attributes[:'description'] if attributes[:'description']

  self.cores_count = attributes[:'coresCount'] if attributes[:'coresCount']

  raise 'You cannot provide both :coresCount and :cores_count' if attributes.key?(:'coresCount') && attributes.key?(:'cores_count')

  self.cores_count = attributes[:'cores_count'] if attributes[:'cores_count']

  self.cpu_model = attributes[:'cpuModel'] if attributes[:'cpuModel']

  raise 'You cannot provide both :cpuModel and :cpu_model' if attributes.key?(:'cpuModel') && attributes.key?(:'cpu_model')

  self.cpu_model = attributes[:'cpu_model'] if attributes[:'cpu_model']

  self.gpu_devices_count = attributes[:'gpuDevicesCount'] if attributes[:'gpuDevicesCount']

  raise 'You cannot provide both :gpuDevicesCount and :gpu_devices_count' if attributes.key?(:'gpuDevicesCount') && attributes.key?(:'gpu_devices_count')

  self.gpu_devices_count = attributes[:'gpu_devices_count'] if attributes[:'gpu_devices_count']

  self.gpu_devices = attributes[:'gpuDevices'] if attributes[:'gpuDevices']

  raise 'You cannot provide both :gpuDevices and :gpu_devices' if attributes.key?(:'gpuDevices') && attributes.key?(:'gpu_devices')

  self.gpu_devices = attributes[:'gpu_devices'] if attributes[:'gpu_devices']

  self.threads_per_core_count = attributes[:'threadsPerCoreCount'] if attributes[:'threadsPerCoreCount']

  raise 'You cannot provide both :threadsPerCoreCount and :threads_per_core_count' if attributes.key?(:'threadsPerCoreCount') && attributes.key?(:'threads_per_core_count')

  self.threads_per_core_count = attributes[:'threads_per_core_count'] if attributes[:'threads_per_core_count']

  self.memory_in_mbs = attributes[:'memoryInMBs'] if attributes[:'memoryInMBs']

  raise 'You cannot provide both :memoryInMBs and :memory_in_mbs' if attributes.key?(:'memoryInMBs') && attributes.key?(:'memory_in_mbs')

  self.memory_in_mbs = attributes[:'memory_in_mbs'] if attributes[:'memory_in_mbs']

  self.is_pmem_enabled = attributes[:'isPmemEnabled'] unless attributes[:'isPmemEnabled'].nil?

  raise 'You cannot provide both :isPmemEnabled and :is_pmem_enabled' if attributes.key?(:'isPmemEnabled') && attributes.key?(:'is_pmem_enabled')

  self.is_pmem_enabled = attributes[:'is_pmem_enabled'] unless attributes[:'is_pmem_enabled'].nil?

  self.pmem_in_mbs = attributes[:'pmemInMBs'] if attributes[:'pmemInMBs']

  raise 'You cannot provide both :pmemInMBs and :pmem_in_mbs' if attributes.key?(:'pmemInMBs') && attributes.key?(:'pmem_in_mbs')

  self.pmem_in_mbs = attributes[:'pmem_in_mbs'] if attributes[:'pmem_in_mbs']

  self.operating_system = attributes[:'operatingSystem'] if attributes[:'operatingSystem']

  raise 'You cannot provide both :operatingSystem and :operating_system' if attributes.key?(:'operatingSystem') && attributes.key?(:'operating_system')

  self.operating_system = attributes[:'operating_system'] if attributes[:'operating_system']

  self.operating_system_version = attributes[:'operatingSystemVersion'] if attributes[:'operatingSystemVersion']

  raise 'You cannot provide both :operatingSystemVersion and :operating_system_version' if attributes.key?(:'operatingSystemVersion') && attributes.key?(:'operating_system_version')

  self.operating_system_version = attributes[:'operating_system_version'] if attributes[:'operating_system_version']

  self.host_name = attributes[:'hostName'] if attributes[:'hostName']

  raise 'You cannot provide both :hostName and :host_name' if attributes.key?(:'hostName') && attributes.key?(:'host_name')

  self.host_name = attributes[:'host_name'] if attributes[:'host_name']

  self.power_state = attributes[:'powerState'] if attributes[:'powerState']

  raise 'You cannot provide both :powerState and :power_state' if attributes.key?(:'powerState') && attributes.key?(:'power_state')

  self.power_state = attributes[:'power_state'] if attributes[:'power_state']

  self.guest_state = attributes[:'guestState'] if attributes[:'guestState']

  raise 'You cannot provide both :guestState and :guest_state' if attributes.key?(:'guestState') && attributes.key?(:'guest_state')

  self.guest_state = attributes[:'guest_state'] if attributes[:'guest_state']

  self.is_tpm_enabled = attributes[:'isTpmEnabled'] unless attributes[:'isTpmEnabled'].nil?

  raise 'You cannot provide both :isTpmEnabled and :is_tpm_enabled' if attributes.key?(:'isTpmEnabled') && attributes.key?(:'is_tpm_enabled')

  self.is_tpm_enabled = attributes[:'is_tpm_enabled'] unless attributes[:'is_tpm_enabled'].nil?

  self.connected_networks = attributes[:'connectedNetworks'] if attributes[:'connectedNetworks']

  raise 'You cannot provide both :connectedNetworks and :connected_networks' if attributes.key?(:'connectedNetworks') && attributes.key?(:'connected_networks')

  self.connected_networks = attributes[:'connected_networks'] if attributes[:'connected_networks']

  self.nics_count = attributes[:'nicsCount'] if attributes[:'nicsCount']

  raise 'You cannot provide both :nicsCount and :nics_count' if attributes.key?(:'nicsCount') && attributes.key?(:'nics_count')

  self.nics_count = attributes[:'nics_count'] if attributes[:'nics_count']

  self.nics = attributes[:'nics'] if attributes[:'nics']

  self.storage_provisioned_in_mbs = attributes[:'storageProvisionedInMBs'] if attributes[:'storageProvisionedInMBs']

  raise 'You cannot provide both :storageProvisionedInMBs and :storage_provisioned_in_mbs' if attributes.key?(:'storageProvisionedInMBs') && attributes.key?(:'storage_provisioned_in_mbs')

  self.storage_provisioned_in_mbs = attributes[:'storage_provisioned_in_mbs'] if attributes[:'storage_provisioned_in_mbs']

  self.disks_count = attributes[:'disksCount'] if attributes[:'disksCount']

  raise 'You cannot provide both :disksCount and :disks_count' if attributes.key?(:'disksCount') && attributes.key?(:'disks_count')

  self.disks_count = attributes[:'disks_count'] if attributes[:'disks_count']

  self.disks = attributes[:'disks'] if attributes[:'disks']

  self.firmware = attributes[:'firmware'] if attributes[:'firmware']

  self.latency_sensitivity = attributes[:'latencySensitivity'] if attributes[:'latencySensitivity']

  raise 'You cannot provide both :latencySensitivity and :latency_sensitivity' if attributes.key?(:'latencySensitivity') && attributes.key?(:'latency_sensitivity')

  self.latency_sensitivity = attributes[:'latency_sensitivity'] if attributes[:'latency_sensitivity']

  self.nvdimms = attributes[:'nvdimms'] if attributes[:'nvdimms']

  self.nvdimm_controller = attributes[:'nvdimmController'] if attributes[:'nvdimmController']

  raise 'You cannot provide both :nvdimmController and :nvdimm_controller' if attributes.key?(:'nvdimmController') && attributes.key?(:'nvdimm_controller')

  self.nvdimm_controller = attributes[:'nvdimm_controller'] if attributes[:'nvdimm_controller']

  self.scsi_controller = attributes[:'scsiController'] if attributes[:'scsiController']

  raise 'You cannot provide both :scsiController and :scsi_controller' if attributes.key?(:'scsiController') && attributes.key?(:'scsi_controller')

  self.scsi_controller = attributes[:'scsi_controller'] if attributes[:'scsi_controller']

  self.hardware_version = attributes[:'hardwareVersion'] if attributes[:'hardwareVersion']

  raise 'You cannot provide both :hardwareVersion and :hardware_version' if attributes.key?(:'hardwareVersion') && attributes.key?(:'hardware_version')

  self.hardware_version = attributes[:'hardware_version'] if attributes[:'hardware_version']
end

Instance Attribute Details

#connected_networksInteger

Number of connected networks.

Returns:

  • (Integer)


81
82
83
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 81

def connected_networks
  @connected_networks
end

#cores_countInteger

Number of CPUs.

Returns:

  • (Integer)


25
26
27
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 25

def cores_count
  @cores_count
end

#cpu_modelString

CPU model name.

Returns:

  • (String)


29
30
31
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 29

def cpu_model
  @cpu_model
end

#descriptionString

Information about the asset.

Returns:

  • (String)


21
22
23
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 21

def description
  @description
end

#disksArray<OCI::CloudBridge::Models::Disk>

Lists the set of disks belonging to the virtual machine. This list is unordered.

Returns:



101
102
103
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 101

def disks
  @disks
end

#disks_countInteger

Number of disks.

Returns:

  • (Integer)


97
98
99
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 97

def disks_count
  @disks_count
end

#dns_nameString

Fully Qualified DNS Name.

Returns:

  • (String)


17
18
19
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 17

def dns_name
  @dns_name
end

#firmwareString

Information about firmware type for this virtual machine.

Returns:

  • (String)


105
106
107
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 105

def firmware
  @firmware
end

#gpu_devicesArray<OCI::CloudBridge::Models::GpuDevice>

List of GPU devices attached to a virtual machine.



37
38
39
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 37

def gpu_devices
  @gpu_devices
end

#gpu_devices_countInteger

Number of GPU devices.

Returns:

  • (Integer)


33
34
35
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 33

def gpu_devices_count
  @gpu_devices_count
end

#guest_stateString

Guest state.

Returns:

  • (String)


73
74
75
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 73

def guest_state
  @guest_state
end

#hardware_versionString

Hardware version.

Returns:

  • (String)


123
124
125
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 123

def hardware_version
  @hardware_version
end

#host_nameString

Host name of the VM.

Returns:

  • (String)


65
66
67
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 65

def host_name
  @host_name
end

#is_pmem_enabledBOOLEAN

Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.

Returns:

  • (BOOLEAN)


49
50
51
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 49

def is_pmem_enabled
  @is_pmem_enabled
end

#is_tpm_enabledBOOLEAN

Whether Trusted Platform Module (TPM) is enabled.

Returns:

  • (BOOLEAN)


77
78
79
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 77

def is_tpm_enabled
  @is_tpm_enabled
end

#latency_sensitivityString

Latency sensitivity.

Returns:

  • (String)


109
110
111
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 109

def latency_sensitivity
  @latency_sensitivity
end

#memory_in_mbsInteger

Memory size in MBs.

Returns:

  • (Integer)


45
46
47
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 45

def memory_in_mbs
  @memory_in_mbs
end

#nicsArray<OCI::CloudBridge::Models::Nic>

List of network ethernet cards attached to a virtual machine.

Returns:



89
90
91
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 89

def nics
  @nics
end

#nics_countInteger

Number of network ethernet cards.

Returns:

  • (Integer)


85
86
87
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 85

def nics_count
  @nics_count
end

#nvdimm_controllerOCI::CloudBridge::Models::NvdimmController



116
117
118
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 116

def nvdimm_controller
  @nvdimm_controller
end

#nvdimmsArray<OCI::CloudBridge::Models::Nvdimm>

The properties of the NVDIMMs attached to a virtual machine.



113
114
115
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 113

def nvdimms
  @nvdimms
end

#operating_systemString

Operating system.

Returns:

  • (String)


57
58
59
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 57

def operating_system
  @operating_system
end

#operating_system_versionString

Operating system version.

Returns:

  • (String)


61
62
63
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 61

def operating_system_version
  @operating_system_version
end

#pmem_in_mbsInteger

Pmem size in MBs.

Returns:

  • (Integer)


53
54
55
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 53

def pmem_in_mbs
  @pmem_in_mbs
end

#power_stateString

The current power state of the virtual machine.

Returns:

  • (String)


69
70
71
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 69

def power_state
  @power_state
end

#primary_ipString

Primary IP address of the compute instance.

Returns:

  • (String)


13
14
15
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 13

def primary_ip
  @primary_ip
end

#scsi_controllerOCI::CloudBridge::Models::ScsiController



119
120
121
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 119

def scsi_controller
  @scsi_controller
end

#storage_provisioned_in_mbsInteger

Provision storage size in MBs.

Returns:

  • (Integer)


93
94
95
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 93

def storage_provisioned_in_mbs
  @storage_provisioned_in_mbs
end

#threads_per_core_countInteger

Number of threads per core.

Returns:

  • (Integer)


41
42
43
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 41

def threads_per_core_count
  @threads_per_core_count
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



126
127
128
129
130
131
132
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
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 126

def self.attribute_map
  {
    # rubocop:disable Style/SymbolLiteral
    'primary_ip': :'primaryIp',
    'dns_name': :'dnsName',
    'description': :'description',
    'cores_count': :'coresCount',
    'cpu_model': :'cpuModel',
    'gpu_devices_count': :'gpuDevicesCount',
    'gpu_devices': :'gpuDevices',
    'threads_per_core_count': :'threadsPerCoreCount',
    'memory_in_mbs': :'memoryInMBs',
    'is_pmem_enabled': :'isPmemEnabled',
    'pmem_in_mbs': :'pmemInMBs',
    'operating_system': :'operatingSystem',
    'operating_system_version': :'operatingSystemVersion',
    'host_name': :'hostName',
    'power_state': :'powerState',
    'guest_state': :'guestState',
    'is_tpm_enabled': :'isTpmEnabled',
    'connected_networks': :'connectedNetworks',
    'nics_count': :'nicsCount',
    'nics': :'nics',
    'storage_provisioned_in_mbs': :'storageProvisionedInMBs',
    'disks_count': :'disksCount',
    'disks': :'disks',
    'firmware': :'firmware',
    'latency_sensitivity': :'latencySensitivity',
    'nvdimms': :'nvdimms',
    'nvdimm_controller': :'nvdimmController',
    'scsi_controller': :'scsiController',
    'hardware_version': :'hardwareVersion'
    # rubocop:enable Style/SymbolLiteral
  }
end

.swagger_typesObject

Attribute type mapping.



163
164
165
166
167
168
169
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
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 163

def self.swagger_types
  {
    # rubocop:disable Style/SymbolLiteral
    'primary_ip': :'String',
    'dns_name': :'String',
    'description': :'String',
    'cores_count': :'Integer',
    'cpu_model': :'String',
    'gpu_devices_count': :'Integer',
    'gpu_devices': :'Array<OCI::CloudBridge::Models::GpuDevice>',
    'threads_per_core_count': :'Integer',
    'memory_in_mbs': :'Integer',
    'is_pmem_enabled': :'BOOLEAN',
    'pmem_in_mbs': :'Integer',
    'operating_system': :'String',
    'operating_system_version': :'String',
    'host_name': :'String',
    'power_state': :'String',
    'guest_state': :'String',
    'is_tpm_enabled': :'BOOLEAN',
    'connected_networks': :'Integer',
    'nics_count': :'Integer',
    'nics': :'Array<OCI::CloudBridge::Models::Nic>',
    'storage_provisioned_in_mbs': :'Integer',
    'disks_count': :'Integer',
    'disks': :'Array<OCI::CloudBridge::Models::Disk>',
    'firmware': :'String',
    'latency_sensitivity': :'String',
    'nvdimms': :'Array<OCI::CloudBridge::Models::Nvdimm>',
    'nvdimm_controller': :'OCI::CloudBridge::Models::NvdimmController',
    'scsi_controller': :'OCI::CloudBridge::Models::ScsiController',
    'hardware_version': :'String'
    # rubocop:enable Style/SymbolLiteral
  }
end

Instance Method Details

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • other (Object)

    the other object to be compared



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
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 402

def ==(other)
  return true if equal?(other)

  self.class == other.class &&
    primary_ip == other.primary_ip &&
    dns_name == other.dns_name &&
    description == other.description &&
    cores_count == other.cores_count &&
    cpu_model == other.cpu_model &&
    gpu_devices_count == other.gpu_devices_count &&
    gpu_devices == other.gpu_devices &&
    threads_per_core_count == other.threads_per_core_count &&
    memory_in_mbs == other.memory_in_mbs &&
    is_pmem_enabled == other.is_pmem_enabled &&
    pmem_in_mbs == other.pmem_in_mbs &&
    operating_system == other.operating_system &&
    operating_system_version == other.operating_system_version &&
    host_name == other.host_name &&
    power_state == other.power_state &&
    guest_state == other.guest_state &&
    is_tpm_enabled == other.is_tpm_enabled &&
    connected_networks == other.connected_networks &&
    nics_count == other.nics_count &&
    nics == other.nics &&
    storage_provisioned_in_mbs == other.storage_provisioned_in_mbs &&
    disks_count == other.disks_count &&
    disks == other.disks &&
    firmware == other.firmware &&
    latency_sensitivity == other.latency_sensitivity &&
    nvdimms == other.nvdimms &&
    nvdimm_controller == other.nvdimm_controller &&
    scsi_controller == other.scsi_controller &&
    hardware_version == other.hardware_version
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 460

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)

  self.class.swagger_types.each_pair do |key, type|
    if type =~ /^Array<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        public_method("#{key}=").call(
          attributes[self.class.attribute_map[key]]
            .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
        )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      public_method("#{key}=").call(
        OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
      )
    end
    # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(other) ⇒ Boolean

Parameters:

  • other (Object)

    the other object to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


440
441
442
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 440

def eql?(other)
  self == other
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



449
450
451
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 449

def hash
  [primary_ip, dns_name, description, cores_count, cpu_model, gpu_devices_count, gpu_devices, threads_per_core_count, memory_in_mbs, is_pmem_enabled, pmem_in_mbs, operating_system, operating_system_version, host_name, power_state, guest_state, is_tpm_enabled, connected_networks, nics_count, nics, storage_provisioned_in_mbs, disks_count, disks, firmware, latency_sensitivity, nvdimms, nvdimm_controller, scsi_controller, hardware_version].hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



493
494
495
496
497
498
499
500
501
502
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 493

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = public_method(attr).call
    next if value.nil? && !instance_variable_defined?("@#{attr}")

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



487
488
489
# File 'lib/oci/cloud_bridge/models/compute_properties.rb', line 487

def to_s
  to_hash.to_s
end