Class: OCI::LustreFileStorage::Models::LustreFileSystemSummary
- Inherits:
-
Object
- Object
- OCI::LustreFileStorage::Models::LustreFileSystemSummary
- Defined in:
- lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb
Overview
Summary information about a Lustre file system.
Constant Summary collapse
- PERFORMANCE_TIER_ENUM =
[ PERFORMANCE_TIER_MBPS_PER_TB_125 = 'MBPS_PER_TB_125'.freeze, PERFORMANCE_TIER_MBPS_PER_TB_250 = 'MBPS_PER_TB_250'.freeze, PERFORMANCE_TIER_MBPS_PER_TB_500 = 'MBPS_PER_TB_500'.freeze, PERFORMANCE_TIER_MBPS_PER_TB_1000 = 'MBPS_PER_TB_1000'.freeze, PERFORMANCE_TIER_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#availability_domain ⇒ String
[Required] The availability domain the file system is in.
-
#capacity_in_gbs ⇒ Integer
[Required] Capacity of the Lustre file system in GB.
-
#cluster_placement_group_id ⇒ String
The OCID of the cluster placement group in which the Lustre file system exists.
-
#compartment_id ⇒ String
[Required] The OCID of the compartment that contains the Lustre file system.
-
#defined_tags ⇒ Hash<String, Hash<String, Object>>
[Required] Defined tags for this resource.
-
#display_name ⇒ String
[Required] A user-friendly name.
-
#file_system_description ⇒ String
[Required] Short description of the Lustre file system.
-
#file_system_name ⇒ String
[Required] The Lustre file system name.
-
#freeform_tags ⇒ Hash<String, String>
[Required] Free-form tags for this resource.
-
#id ⇒ String
[Required] The OCID of the Lustre file system.
-
#kms_key_id ⇒ String
The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
-
#lifecycle_details ⇒ String
A message that describes the current state of the Lustre file system in more detail.
-
#lifecycle_state ⇒ String
[Required] The current state of the Lustre file system.
-
#lnet ⇒ String
[Required] Type of network used by clients to mount the file system.
-
#major_version ⇒ String
[Required] Major version of Lustre running in the Lustre file system.
-
#management_service_address ⇒ String
[Required] The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system.
-
#nsg_ids ⇒ Array<String>
A list of Network Security Group OCIDs associated with this lustre file system.
-
#performance_tier ⇒ String
[Required] The Lustre file system performance tier.
-
#root_squash_configuration ⇒ OCI::LustreFileStorage::Models::RootSquashConfiguration
This attribute is required.
-
#subnet_id ⇒ String
[Required] The OCID of the subnet the Lustre file system is in.
-
#system_tags ⇒ Hash<String, Hash<String, Object>>
[Required] System tags for this resource.
-
#time_billing_cycle_end ⇒ DateTime
[Required] The date and time the LustreFileSystem current billing cycle will end, expressed in RFC 3339 timestamp format.
-
#time_created ⇒ DateTime
[Required] The date and time the Lustre file system was created, expressed in RFC 3339 timestamp format.
-
#time_updated ⇒ DateTime
[Required] The date and time the Lustre file system was updated, in the format defined by RFC 3339.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(other) ⇒ Object
Checks equality by comparing each attribute.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(other) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ LustreFileSystemSummary
constructor
Initializes the object.
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
Constructor Details
#initialize(attributes = {}) ⇒ LustreFileSystemSummary
Initializes the object
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 394 395 396 397 398 399 400 401 402 403 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 262 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.id = attributes[:'id'] if attributes[:'id'] self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId'] raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id') self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id'] self.availability_domain = attributes[:'availabilityDomain'] if attributes[:'availabilityDomain'] raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain') self.availability_domain = attributes[:'availability_domain'] if attributes[:'availability_domain'] self.display_name = attributes[:'displayName'] if attributes[:'displayName'] raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name') self.display_name = attributes[:'display_name'] if attributes[:'display_name'] self.file_system_description = attributes[:'fileSystemDescription'] if attributes[:'fileSystemDescription'] raise 'You cannot provide both :fileSystemDescription and :file_system_description' if attributes.key?(:'fileSystemDescription') && attributes.key?(:'file_system_description') self.file_system_description = attributes[:'file_system_description'] if attributes[:'file_system_description'] self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated'] raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created') self.time_created = attributes[:'time_created'] if attributes[:'time_created'] self.time_updated = attributes[:'timeUpdated'] if attributes[:'timeUpdated'] raise 'You cannot provide both :timeUpdated and :time_updated' if attributes.key?(:'timeUpdated') && attributes.key?(:'time_updated') self.time_updated = attributes[:'time_updated'] if attributes[:'time_updated'] self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState'] raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state') self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state'] self.lifecycle_details = attributes[:'lifecycleDetails'] if attributes[:'lifecycleDetails'] raise 'You cannot provide both :lifecycleDetails and :lifecycle_details' if attributes.key?(:'lifecycleDetails') && attributes.key?(:'lifecycle_details') self.lifecycle_details = attributes[:'lifecycle_details'] if attributes[:'lifecycle_details'] self. = attributes[:'freeformTags'] if attributes[:'freeformTags'] raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags') self. = attributes[:'freeform_tags'] if attributes[:'freeform_tags'] self. = attributes[:'definedTags'] if attributes[:'definedTags'] raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags') self. = attributes[:'defined_tags'] if attributes[:'defined_tags'] self. = attributes[:'systemTags'] if attributes[:'systemTags'] raise 'You cannot provide both :systemTags and :system_tags' if attributes.key?(:'systemTags') && attributes.key?(:'system_tags') self. = attributes[:'system_tags'] if attributes[:'system_tags'] self.nsg_ids = attributes[:'nsgIds'] if attributes[:'nsgIds'] raise 'You cannot provide both :nsgIds and :nsg_ids' if attributes.key?(:'nsgIds') && attributes.key?(:'nsg_ids') self.nsg_ids = attributes[:'nsg_ids'] if attributes[:'nsg_ids'] self.file_system_name = attributes[:'fileSystemName'] if attributes[:'fileSystemName'] raise 'You cannot provide both :fileSystemName and :file_system_name' if attributes.key?(:'fileSystemName') && attributes.key?(:'file_system_name') self.file_system_name = attributes[:'file_system_name'] if attributes[:'file_system_name'] self.kms_key_id = attributes[:'kmsKeyId'] if attributes[:'kmsKeyId'] raise 'You cannot provide both :kmsKeyId and :kms_key_id' if attributes.key?(:'kmsKeyId') && attributes.key?(:'kms_key_id') self.kms_key_id = attributes[:'kms_key_id'] if attributes[:'kms_key_id'] self.capacity_in_gbs = attributes[:'capacityInGBs'] if attributes[:'capacityInGBs'] raise 'You cannot provide both :capacityInGBs and :capacity_in_gbs' if attributes.key?(:'capacityInGBs') && attributes.key?(:'capacity_in_gbs') self.capacity_in_gbs = attributes[:'capacity_in_gbs'] if attributes[:'capacity_in_gbs'] self.subnet_id = attributes[:'subnetId'] if attributes[:'subnetId'] raise 'You cannot provide both :subnetId and :subnet_id' if attributes.key?(:'subnetId') && attributes.key?(:'subnet_id') self.subnet_id = attributes[:'subnet_id'] if attributes[:'subnet_id'] self.performance_tier = attributes[:'performanceTier'] if attributes[:'performanceTier'] raise 'You cannot provide both :performanceTier and :performance_tier' if attributes.key?(:'performanceTier') && attributes.key?(:'performance_tier') self.performance_tier = attributes[:'performance_tier'] if attributes[:'performance_tier'] self.time_billing_cycle_end = attributes[:'timeBillingCycleEnd'] if attributes[:'timeBillingCycleEnd'] raise 'You cannot provide both :timeBillingCycleEnd and :time_billing_cycle_end' if attributes.key?(:'timeBillingCycleEnd') && attributes.key?(:'time_billing_cycle_end') self.time_billing_cycle_end = attributes[:'time_billing_cycle_end'] if attributes[:'time_billing_cycle_end'] self.management_service_address = attributes[:'managementServiceAddress'] if attributes[:'managementServiceAddress'] raise 'You cannot provide both :managementServiceAddress and :management_service_address' if attributes.key?(:'managementServiceAddress') && attributes.key?(:'management_service_address') self.management_service_address = attributes[:'management_service_address'] if attributes[:'management_service_address'] self.lnet = attributes[:'lnet'] if attributes[:'lnet'] self.cluster_placement_group_id = attributes[:'clusterPlacementGroupId'] if attributes[:'clusterPlacementGroupId'] raise 'You cannot provide both :clusterPlacementGroupId and :cluster_placement_group_id' if attributes.key?(:'clusterPlacementGroupId') && attributes.key?(:'cluster_placement_group_id') self.cluster_placement_group_id = attributes[:'cluster_placement_group_id'] if attributes[:'cluster_placement_group_id'] self.major_version = attributes[:'majorVersion'] if attributes[:'majorVersion'] raise 'You cannot provide both :majorVersion and :major_version' if attributes.key?(:'majorVersion') && attributes.key?(:'major_version') self.major_version = attributes[:'major_version'] if attributes[:'major_version'] self.root_squash_configuration = attributes[:'rootSquashConfiguration'] if attributes[:'rootSquashConfiguration'] raise 'You cannot provide both :rootSquashConfiguration and :root_squash_configuration' if attributes.key?(:'rootSquashConfiguration') && attributes.key?(:'root_squash_configuration') self.root_squash_configuration = attributes[:'root_squash_configuration'] if attributes[:'root_squash_configuration'] end |
Instance Attribute Details
#availability_domain ⇒ String
[Required] The availability domain the file system is in. May be unset as a blank or NULL value.
Example: Uocm:PHX-AD-1
34 35 36 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 34 def availability_domain @availability_domain end |
#capacity_in_gbs ⇒ Integer
[Required] Capacity of the Lustre file system in GB.
119 120 121 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 119 def capacity_in_gbs @capacity_in_gbs end |
#cluster_placement_group_id ⇒ String
The OCID of the cluster placement group in which the Lustre file system exists.
155 156 157 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 155 def cluster_placement_group_id @cluster_placement_group_id end |
#compartment_id ⇒ String
[Required] The OCID of the compartment that contains the Lustre file system.
26 27 28 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 26 def compartment_id @compartment_id end |
#defined_tags ⇒ Hash<String, Hash<String, Object>>
[Required] Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {\"Operations\": {\"CostCenter\": \"42\"}}
89 90 91 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 89 def @defined_tags end |
#display_name ⇒ String
[Required] A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
Example: My Lustre file system
42 43 44 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 42 def display_name @display_name end |
#file_system_description ⇒ String
[Required] Short description of the Lustre file system. Avoid entering confidential information.
48 49 50 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 48 def file_system_description @file_system_description end |
#file_system_name ⇒ String
[Required] The Lustre file system name. This is used in mount commands and other aspects of the client command line interface. The default file system name is 'lustre'. The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and '_'.
110 111 112 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 110 def file_system_name @file_system_name end |
#freeform_tags ⇒ Hash<String, String>
[Required] Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {\"Department\": \"Finance\"}
81 82 83 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 81 def @freeform_tags end |
#id ⇒ String
[Required] The OCID of the Lustre file system.
22 23 24 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 22 def id @id end |
#kms_key_id ⇒ String
The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
115 116 117 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 115 def kms_key_id @kms_key_id end |
#lifecycle_details ⇒ String
A message that describes the current state of the Lustre file system in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
73 74 75 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 73 def lifecycle_details @lifecycle_details end |
#lifecycle_state ⇒ String
[Required] The current state of the Lustre file system.
67 68 69 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 67 def lifecycle_state @lifecycle_state end |
#lnet ⇒ String
[Required] Type of network used by clients to mount the file system.
Example: tcp
151 152 153 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 151 def lnet @lnet end |
#major_version ⇒ String
[Required] Major version of Lustre running in the Lustre file system.
Example: 2.15
162 163 164 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 162 def major_version @major_version end |
#management_service_address ⇒ String
[Required] The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system.
Example: 10.0.0.4
144 145 146 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 144 def management_service_address @management_service_address end |
#nsg_ids ⇒ Array<String>
A list of Network Security Group OCIDs associated with this lustre file system. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the lustre file system from all NSGs. For more information about NSGs, see Security Rules.
104 105 106 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 104 def nsg_ids @nsg_ids end |
#performance_tier ⇒ String
[Required] The Lustre file system performance tier. A value of MBPS_PER_TB_125
represents 125 megabytes per second per terabyte.
127 128 129 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 127 def performance_tier @performance_tier end |
#root_squash_configuration ⇒ OCI::LustreFileStorage::Models::RootSquashConfiguration
This attribute is required.
166 167 168 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 166 def root_squash_configuration @root_squash_configuration end |
#subnet_id ⇒ String
[Required] The OCID of the subnet the Lustre file system is in.
123 124 125 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 123 def subnet_id @subnet_id end |
#system_tags ⇒ Hash<String, Hash<String, Object>>
[Required] System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}
96 97 98 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 96 def @system_tags end |
#time_billing_cycle_end ⇒ DateTime
[Required] The date and time the LustreFileSystem current billing cycle will end, expressed in RFC 3339 timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. File systems deleted earlier will still incur charges till this date.
Example: 2016-08-25T21:10:29.600Z
137 138 139 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 137 def time_billing_cycle_end @time_billing_cycle_end end |
#time_created ⇒ DateTime
[Required] The date and time the Lustre file system was created, expressed in RFC 3339 timestamp format.
Example: 2024-04-25T21:10:29.600Z
56 57 58 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 56 def time_created @time_created end |
#time_updated ⇒ DateTime
[Required] The date and time the Lustre file system was updated, in the format defined by RFC 3339.
Example: 2024-04-25T21:10:29.600Z
63 64 65 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 63 def time_updated @time_updated end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
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 198 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 169 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'id': :'id', 'compartment_id': :'compartmentId', 'availability_domain': :'availabilityDomain', 'display_name': :'displayName', 'file_system_description': :'fileSystemDescription', 'time_created': :'timeCreated', 'time_updated': :'timeUpdated', 'lifecycle_state': :'lifecycleState', 'lifecycle_details': :'lifecycleDetails', 'freeform_tags': :'freeformTags', 'defined_tags': :'definedTags', 'system_tags': :'systemTags', 'nsg_ids': :'nsgIds', 'file_system_name': :'fileSystemName', 'kms_key_id': :'kmsKeyId', 'capacity_in_gbs': :'capacityInGBs', 'subnet_id': :'subnetId', 'performance_tier': :'performanceTier', 'time_billing_cycle_end': :'timeBillingCycleEnd', 'management_service_address': :'managementServiceAddress', 'lnet': :'lnet', 'cluster_placement_group_id': :'clusterPlacementGroupId', 'major_version': :'majorVersion', 'root_squash_configuration': :'rootSquashConfiguration' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
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 229 230 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 201 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'id': :'String', 'compartment_id': :'String', 'availability_domain': :'String', 'display_name': :'String', 'file_system_description': :'String', 'time_created': :'DateTime', 'time_updated': :'DateTime', 'lifecycle_state': :'String', 'lifecycle_details': :'String', 'freeform_tags': :'Hash<String, String>', 'defined_tags': :'Hash<String, Hash<String, Object>>', 'system_tags': :'Hash<String, Hash<String, Object>>', 'nsg_ids': :'Array<String>', 'file_system_name': :'String', 'kms_key_id': :'String', 'capacity_in_gbs': :'Integer', 'subnet_id': :'String', 'performance_tier': :'String', 'time_billing_cycle_end': :'DateTime', 'management_service_address': :'String', 'lnet': :'String', 'cluster_placement_group_id': :'String', 'major_version': :'String', 'root_squash_configuration': :'OCI::LustreFileStorage::Models::RootSquashConfiguration' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 425 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && compartment_id == other.compartment_id && availability_domain == other.availability_domain && display_name == other.display_name && file_system_description == other.file_system_description && time_created == other.time_created && time_updated == other.time_updated && lifecycle_state == other.lifecycle_state && lifecycle_details == other.lifecycle_details && == other. && == other. && == other. && nsg_ids == other.nsg_ids && file_system_name == other.file_system_name && kms_key_id == other.kms_key_id && capacity_in_gbs == other.capacity_in_gbs && subnet_id == other.subnet_id && performance_tier == other.performance_tier && time_billing_cycle_end == other.time_billing_cycle_end && management_service_address == other.management_service_address && lnet == other.lnet && cluster_placement_group_id == other.cluster_placement_group_id && major_version == other.major_version && root_squash_configuration == other.root_squash_configuration end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 478 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
458 459 460 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 458 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
467 468 469 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 467 def hash [id, compartment_id, availability_domain, display_name, file_system_description, time_created, time_updated, lifecycle_state, lifecycle_details, , , , nsg_ids, file_system_name, kms_key_id, capacity_in_gbs, subnet_id, performance_tier, time_billing_cycle_end, management_service_address, lnet, cluster_placement_group_id, major_version, root_squash_configuration].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
511 512 513 514 515 516 517 518 519 520 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 511 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_s ⇒ String
Returns the string representation of the object
505 506 507 |
# File 'lib/oci/lustre_file_storage/models/lustre_file_system_summary.rb', line 505 def to_s to_hash.to_s end |