Class: OCI::FusionApps::Models::VanityDomain
- Inherits:
-
Object
- Object
- OCI::FusionApps::Models::VanityDomain
- Defined in:
- lib/oci/fusion_apps/models/vanity_domain.rb
Overview
Vanity Domain resource
Constant Summary collapse
- LIFECYCLE_STATE_ENUM =
[ LIFECYCLE_STATE_INACTIVE = 'INACTIVE'.freeze, LIFECYCLE_STATE_ACTIVE = 'ACTIVE'.freeze, LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze, LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'.freeze, LIFECYCLE_STATE_DELETING = 'DELETING'.freeze, LIFECYCLE_STATE_DELETED = 'DELETED'.freeze, LIFECYCLE_STATE_FAILED = 'FAILED'.freeze, LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- LIFECYCLE_DETAILS_ENUM =
[ LIFECYCLE_DETAILS_NONE = 'NONE'.freeze, LIFECYCLE_DETAILS_DOMAIN_VALIDATION_IN_PROGRESS = 'DOMAIN_VALIDATION_IN_PROGRESS'.freeze, LIFECYCLE_DETAILS_DOMAIN_VALIDATION_COMPLETED = 'DOMAIN_VALIDATION_COMPLETED'.freeze, LIFECYCLE_DETAILS_DOMAIN_VALIDATION_FAILED = 'DOMAIN_VALIDATION_FAILED'.freeze, LIFECYCLE_DETAILS_CERT_CONFIG_IN_PROGRESS = 'CERT_CONFIG_IN_PROGRESS'.freeze, LIFECYCLE_DETAILS_CERT_CONFIG_COMPLETED = 'CERT_CONFIG_COMPLETED'.freeze, LIFECYCLE_DETAILS_CERT_CONFIG_FAILED = 'CERT_CONFIG_FAILED'.freeze, LIFECYCLE_DETAILS_ENABLE_SCHEDULED = 'ENABLE_SCHEDULED'.freeze, LIFECYCLE_DETAILS_ENABLING = 'ENABLING'.freeze, LIFECYCLE_DETAILS_ENABLED = 'ENABLED'.freeze, LIFECYCLE_DETAILS_ENABLE_FAILED = 'ENABLE_FAILED'.freeze, LIFECYCLE_DETAILS_ENABLE_CANCELLED = 'ENABLE_CANCELLED'.freeze, LIFECYCLE_DETAILS_DELETE_FAILED = 'DELETE_FAILED'.freeze, LIFECYCLE_DETAILS_UNKNOWN = 'UNKNOWN'.freeze, LIFECYCLE_DETAILS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- ORIGIN_CERT_REQUEST_TYPE_ENUM =
[ ORIGIN_CERT_REQUEST_TYPE_REQUEST_CSR = 'REQUEST_CSR'.freeze, ORIGIN_CERT_REQUEST_TYPE_REQUEST_DV = 'REQUEST_DV'.freeze, ORIGIN_CERT_REQUEST_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- CDN_CERT_REQUEST_TYPE_ENUM =
[ CDN_CERT_REQUEST_TYPE_REQUEST_CSR = 'REQUEST_CSR'.freeze, CDN_CERT_REQUEST_TYPE_REQUEST_DV = 'REQUEST_DV'.freeze, CDN_CERT_REQUEST_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- DNS_MANAGED_BY_ENUM =
[ DNS_MANAGED_BY_ORACLE_MANAGED = 'ORACLE_MANAGED'.freeze, DNS_MANAGED_BY_CUSTOMER_MANAGED = 'CUSTOMER_MANAGED'.freeze, DNS_MANAGED_BY_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- ORIGIN_CERT_STATUS_ENUM =
[ ORIGIN_CERT_STATUS_ACTIVE = 'ACTIVE'.freeze, ORIGIN_CERT_STATUS_INACTIVE = 'INACTIVE'.freeze, ORIGIN_CERT_STATUS_EXPIRING = 'EXPIRING'.freeze, ORIGIN_CERT_STATUS_EXPIRED = 'EXPIRED'.freeze, ORIGIN_CERT_STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
- CDN_CERT_STATUS_ENUM =
[ CDN_CERT_STATUS_ACTIVE = 'ACTIVE'.freeze, CDN_CERT_STATUS_INACTIVE = 'INACTIVE'.freeze, CDN_CERT_STATUS_EXPIRING = 'EXPIRING'.freeze, CDN_CERT_STATUS_EXPIRED = 'EXPIRED'.freeze, CDN_CERT_STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze ].freeze
Instance Attribute Summary collapse
-
#cdn_cert_request_type ⇒ String
The cdn request type for which the certificate is generated.
-
#cdn_cert_status ⇒ String
The cdn cert status.
- #certificate_info ⇒ OCI::FusionApps::Models::CertificateInfo
-
#change_management_link ⇒ String
The cm link that was used to create the DNS prefix.
-
#customer_dns_records ⇒ Array<OCI::FusionApps::Models::VanityDnsRecord>
List of dns records, comma separated.
-
#defined_tags ⇒ Hash<String, Hash<String, Object>>
[Required] Defined tags for this resource.
-
#dns_managed_by ⇒ String
The dns is managed by the customer or Oracle.
-
#freeform_tags ⇒ Hash<String, String>
[Required] Simple key-value pair that is applied without any predefined name, type or scope.
-
#fusion_environment_id ⇒ String
[Required] The OCID of the Fusion environment that the VanityDomain is created on.
-
#id ⇒ String
[Required] The unique identifier (OCID) of the VanityDomain.
-
#is_cdn_cert_status_ready ⇒ BOOLEAN
Identify if this cdn cert is inactive or active.
-
#is_dns_status_ready ⇒ BOOLEAN
Identify if this dns is inactive or active.
-
#is_origin_cert_status_ready ⇒ BOOLEAN
Identify if this origin cert is inactive or active.
-
#lifecycle_details ⇒ String
[Required] The current lifecycleDetails of the VanityDomain.
-
#lifecycle_state ⇒ String
[Required] The current lifecycleState of the VanityDomain.
-
#origin_cert_request_type ⇒ String
The origin request type for which the certificate is generated.
-
#origin_cert_status ⇒ String
The origin cert status.
-
#prefix ⇒ String
The prefix value of the DnsPrefix.
-
#scheduled_activity_id ⇒ String
The ID of the VanityDomainActivity is scheduled.
-
#system_tags ⇒ Hash<String, Hash<String, Object>>
[Required] The system tags associated with this resource, if any.
-
#time_cdn_cert_expired ⇒ DateTime
The cdn cert expiry date.
-
#time_created ⇒ DateTime
[Required] The time the VanityDomain was created.
-
#time_enabled ⇒ DateTime
[Required] The time the VanityDomain is scheduled to enable.
-
#time_origin_cert_expired ⇒ DateTime
The origin cert expiry date.
-
#time_updated ⇒ DateTime
[Required] The time the VanityDomain was updated.
-
#vanity_domain ⇒ String
[Required] Vanity domain.
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 = {}) ⇒ VanityDomain
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 = {}) ⇒ VanityDomain
Initializes the object
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 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 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 285 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.vanity_domain = attributes[:'vanityDomain'] if attributes[:'vanityDomain'] raise 'You cannot provide both :vanityDomain and :vanity_domain' if attributes.key?(:'vanityDomain') && attributes.key?(:'vanity_domain') self.vanity_domain = attributes[:'vanity_domain'] if attributes[:'vanity_domain'] self.prefix = attributes[:'prefix'] if attributes[:'prefix'] self.fusion_environment_id = attributes[:'fusionEnvironmentId'] if attributes[:'fusionEnvironmentId'] raise 'You cannot provide both :fusionEnvironmentId and :fusion_environment_id' if attributes.key?(:'fusionEnvironmentId') && attributes.key?(:'fusion_environment_id') self.fusion_environment_id = attributes[:'fusion_environment_id'] if attributes[:'fusion_environment_id'] 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.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.time_enabled = attributes[:'timeEnabled'] if attributes[:'timeEnabled'] raise 'You cannot provide both :timeEnabled and :time_enabled' if attributes.key?(:'timeEnabled') && attributes.key?(:'time_enabled') self.time_enabled = attributes[:'time_enabled'] if attributes[:'time_enabled'] self.origin_cert_request_type = attributes[:'originCertRequestType'] if attributes[:'originCertRequestType'] raise 'You cannot provide both :originCertRequestType and :origin_cert_request_type' if attributes.key?(:'originCertRequestType') && attributes.key?(:'origin_cert_request_type') self.origin_cert_request_type = attributes[:'origin_cert_request_type'] if attributes[:'origin_cert_request_type'] self.cdn_cert_request_type = attributes[:'cdnCertRequestType'] if attributes[:'cdnCertRequestType'] raise 'You cannot provide both :cdnCertRequestType and :cdn_cert_request_type' if attributes.key?(:'cdnCertRequestType') && attributes.key?(:'cdn_cert_request_type') self.cdn_cert_request_type = attributes[:'cdn_cert_request_type'] if attributes[:'cdn_cert_request_type'] self.dns_managed_by = attributes[:'dnsManagedBy'] if attributes[:'dnsManagedBy'] raise 'You cannot provide both :dnsManagedBy and :dns_managed_by' if attributes.key?(:'dnsManagedBy') && attributes.key?(:'dns_managed_by') self.dns_managed_by = attributes[:'dns_managed_by'] if attributes[:'dns_managed_by'] self.certificate_info = attributes[:'certificateInfo'] if attributes[:'certificateInfo'] raise 'You cannot provide both :certificateInfo and :certificate_info' if attributes.key?(:'certificateInfo') && attributes.key?(:'certificate_info') self.certificate_info = attributes[:'certificate_info'] if attributes[:'certificate_info'] self.change_management_link = attributes[:'changeManagementLink'] if attributes[:'changeManagementLink'] raise 'You cannot provide both :changeManagementLink and :change_management_link' if attributes.key?(:'changeManagementLink') && attributes.key?(:'change_management_link') self.change_management_link = attributes[:'change_management_link'] if attributes[:'change_management_link'] self.scheduled_activity_id = attributes[:'scheduledActivityId'] if attributes[:'scheduledActivityId'] raise 'You cannot provide both :scheduledActivityId and :scheduled_activity_id' if attributes.key?(:'scheduledActivityId') && attributes.key?(:'scheduled_activity_id') self.scheduled_activity_id = attributes[:'scheduled_activity_id'] if attributes[:'scheduled_activity_id'] self.customer_dns_records = attributes[:'customerDnsRecords'] if attributes[:'customerDnsRecords'] raise 'You cannot provide both :customerDnsRecords and :customer_dns_records' if attributes.key?(:'customerDnsRecords') && attributes.key?(:'customer_dns_records') self.customer_dns_records = attributes[:'customer_dns_records'] if attributes[:'customer_dns_records'] self.is_dns_status_ready = attributes[:'isDnsStatusReady'] unless attributes[:'isDnsStatusReady'].nil? raise 'You cannot provide both :isDnsStatusReady and :is_dns_status_ready' if attributes.key?(:'isDnsStatusReady') && attributes.key?(:'is_dns_status_ready') self.is_dns_status_ready = attributes[:'is_dns_status_ready'] unless attributes[:'is_dns_status_ready'].nil? self.is_origin_cert_status_ready = attributes[:'isOriginCertStatusReady'] unless attributes[:'isOriginCertStatusReady'].nil? raise 'You cannot provide both :isOriginCertStatusReady and :is_origin_cert_status_ready' if attributes.key?(:'isOriginCertStatusReady') && attributes.key?(:'is_origin_cert_status_ready') self.is_origin_cert_status_ready = attributes[:'is_origin_cert_status_ready'] unless attributes[:'is_origin_cert_status_ready'].nil? self.origin_cert_status = attributes[:'originCertStatus'] if attributes[:'originCertStatus'] raise 'You cannot provide both :originCertStatus and :origin_cert_status' if attributes.key?(:'originCertStatus') && attributes.key?(:'origin_cert_status') self.origin_cert_status = attributes[:'origin_cert_status'] if attributes[:'origin_cert_status'] self.time_origin_cert_expired = attributes[:'timeOriginCertExpired'] if attributes[:'timeOriginCertExpired'] raise 'You cannot provide both :timeOriginCertExpired and :time_origin_cert_expired' if attributes.key?(:'timeOriginCertExpired') && attributes.key?(:'time_origin_cert_expired') self.time_origin_cert_expired = attributes[:'time_origin_cert_expired'] if attributes[:'time_origin_cert_expired'] self.is_cdn_cert_status_ready = attributes[:'isCdnCertStatusReady'] unless attributes[:'isCdnCertStatusReady'].nil? raise 'You cannot provide both :isCdnCertStatusReady and :is_cdn_cert_status_ready' if attributes.key?(:'isCdnCertStatusReady') && attributes.key?(:'is_cdn_cert_status_ready') self.is_cdn_cert_status_ready = attributes[:'is_cdn_cert_status_ready'] unless attributes[:'is_cdn_cert_status_ready'].nil? self.cdn_cert_status = attributes[:'cdnCertStatus'] if attributes[:'cdnCertStatus'] raise 'You cannot provide both :cdnCertStatus and :cdn_cert_status' if attributes.key?(:'cdnCertStatus') && attributes.key?(:'cdn_cert_status') self.cdn_cert_status = attributes[:'cdn_cert_status'] if attributes[:'cdn_cert_status'] self.time_cdn_cert_expired = attributes[:'timeCdnCertExpired'] if attributes[:'timeCdnCertExpired'] raise 'You cannot provide both :timeCdnCertExpired and :time_cdn_cert_expired' if attributes.key?(:'timeCdnCertExpired') && attributes.key?(:'time_cdn_cert_expired') self.time_cdn_cert_expired = attributes[:'time_cdn_cert_expired'] if attributes[:'time_cdn_cert_expired'] 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. = 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'] end |
Instance Attribute Details
#cdn_cert_request_type ⇒ String
The cdn request type for which the certificate is generated
117 118 119 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 117 def cdn_cert_request_type @cdn_cert_request_type end |
#cdn_cert_status ⇒ String
The cdn cert status
160 161 162 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 160 def cdn_cert_status @cdn_cert_status end |
#certificate_info ⇒ OCI::FusionApps::Models::CertificateInfo
124 125 126 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 124 def certificate_info @certificate_info end |
#change_management_link ⇒ String
The cm link that was used to create the DNS prefix
128 129 130 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 128 def change_management_link @change_management_link end |
#customer_dns_records ⇒ Array<OCI::FusionApps::Models::VanityDnsRecord>
List of dns records, comma separated
136 137 138 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 136 def customer_dns_records @customer_dns_records end |
#defined_tags ⇒ Hash<String, Hash<String, Object>>
[Required] Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {\"foo-namespace\": {\"bar-key\": \"value\"}}
183 184 185 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 183 def @defined_tags end |
#dns_managed_by ⇒ String
The dns is managed by the customer or Oracle
121 122 123 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 121 def dns_managed_by @dns_managed_by end |
#freeform_tags ⇒ Hash<String, String>
[Required] Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {\"bar-key\": \"value\"}
177 178 179 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 177 def @freeform_tags end |
#fusion_environment_id ⇒ String
[Required] The OCID of the Fusion environment that the VanityDomain is created on
89 90 91 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 89 def fusion_environment_id @fusion_environment_id end |
#id ⇒ String
[Required] The unique identifier (OCID) of the VanityDomain. Can't be changed after creation
77 78 79 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 77 def id @id end |
#is_cdn_cert_status_ready ⇒ BOOLEAN
Identify if this cdn cert is inactive or active
156 157 158 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 156 def is_cdn_cert_status_ready @is_cdn_cert_status_ready end |
#is_dns_status_ready ⇒ BOOLEAN
Identify if this dns is inactive or active
140 141 142 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 140 def is_dns_status_ready @is_dns_status_ready end |
#is_origin_cert_status_ready ⇒ BOOLEAN
Identify if this origin cert is inactive or active
144 145 146 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 144 def is_origin_cert_status_ready @is_origin_cert_status_ready end |
#lifecycle_details ⇒ String
[Required] The current lifecycleDetails of the VanityDomain
97 98 99 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 97 def lifecycle_details @lifecycle_details end |
#lifecycle_state ⇒ String
[Required] The current lifecycleState of the VanityDomain
93 94 95 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 93 def lifecycle_state @lifecycle_state end |
#origin_cert_request_type ⇒ String
The origin request type for which the certificate is generated
113 114 115 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 113 def origin_cert_request_type @origin_cert_request_type end |
#origin_cert_status ⇒ String
The origin cert status
148 149 150 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 148 def origin_cert_status @origin_cert_status end |
#prefix ⇒ String
The prefix value of the DnsPrefix. Can't be changed after creation
85 86 87 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 85 def prefix @prefix end |
#scheduled_activity_id ⇒ String
The ID of the VanityDomainActivity is scheduled
132 133 134 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 132 def scheduled_activity_id @scheduled_activity_id end |
#system_tags ⇒ Hash<String, Hash<String, Object>>
[Required] The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
171 172 173 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 171 def @system_tags end |
#time_cdn_cert_expired ⇒ DateTime
The cdn cert expiry date
164 165 166 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 164 def time_cdn_cert_expired @time_cdn_cert_expired end |
#time_created ⇒ DateTime
[Required] The time the VanityDomain was created. An RFC3339 formatted datetime string
101 102 103 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 101 def time_created @time_created end |
#time_enabled ⇒ DateTime
[Required] The time the VanityDomain is scheduled to enable. An RFC3339 formatted datetime string
109 110 111 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 109 def time_enabled @time_enabled end |
#time_origin_cert_expired ⇒ DateTime
The origin cert expiry date
152 153 154 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 152 def time_origin_cert_expired @time_origin_cert_expired end |
#time_updated ⇒ DateTime
[Required] The time the VanityDomain was updated. An RFC3339 formatted datetime string
105 106 107 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 105 def time_updated @time_updated end |
#vanity_domain ⇒ String
[Required] Vanity domain
81 82 83 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 81 def vanity_domain @vanity_domain end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
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 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 186 def self.attribute_map { # rubocop:disable Style/SymbolLiteral 'id': :'id', 'vanity_domain': :'vanityDomain', 'prefix': :'prefix', 'fusion_environment_id': :'fusionEnvironmentId', 'lifecycle_state': :'lifecycleState', 'lifecycle_details': :'lifecycleDetails', 'time_created': :'timeCreated', 'time_updated': :'timeUpdated', 'time_enabled': :'timeEnabled', 'origin_cert_request_type': :'originCertRequestType', 'cdn_cert_request_type': :'cdnCertRequestType', 'dns_managed_by': :'dnsManagedBy', 'certificate_info': :'certificateInfo', 'change_management_link': :'changeManagementLink', 'scheduled_activity_id': :'scheduledActivityId', 'customer_dns_records': :'customerDnsRecords', 'is_dns_status_ready': :'isDnsStatusReady', 'is_origin_cert_status_ready': :'isOriginCertStatusReady', 'origin_cert_status': :'originCertStatus', 'time_origin_cert_expired': :'timeOriginCertExpired', 'is_cdn_cert_status_ready': :'isCdnCertStatusReady', 'cdn_cert_status': :'cdnCertStatus', 'time_cdn_cert_expired': :'timeCdnCertExpired', 'system_tags': :'systemTags', 'freeform_tags': :'freeformTags', 'defined_tags': :'definedTags' # rubocop:enable Style/SymbolLiteral } end |
.swagger_types ⇒ Object
Attribute type mapping.
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 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 220 def self.swagger_types { # rubocop:disable Style/SymbolLiteral 'id': :'String', 'vanity_domain': :'String', 'prefix': :'String', 'fusion_environment_id': :'String', 'lifecycle_state': :'String', 'lifecycle_details': :'String', 'time_created': :'DateTime', 'time_updated': :'DateTime', 'time_enabled': :'DateTime', 'origin_cert_request_type': :'String', 'cdn_cert_request_type': :'String', 'dns_managed_by': :'String', 'certificate_info': :'OCI::FusionApps::Models::CertificateInfo', 'change_management_link': :'String', 'scheduled_activity_id': :'String', 'customer_dns_records': :'Array<OCI::FusionApps::Models::VanityDnsRecord>', 'is_dns_status_ready': :'BOOLEAN', 'is_origin_cert_status_ready': :'BOOLEAN', 'origin_cert_status': :'String', 'time_origin_cert_expired': :'DateTime', 'is_cdn_cert_status_ready': :'BOOLEAN', 'cdn_cert_status': :'String', 'time_cdn_cert_expired': :'DateTime', 'system_tags': :'Hash<String, Hash<String, Object>>', 'freeform_tags': :'Hash<String, String>', 'defined_tags': :'Hash<String, Hash<String, Object>>' # rubocop:enable Style/SymbolLiteral } end |
Instance Method Details
#==(other) ⇒ Object
Checks equality by comparing each attribute.
538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 538 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && vanity_domain == other.vanity_domain && prefix == other.prefix && fusion_environment_id == other.fusion_environment_id && lifecycle_state == other.lifecycle_state && lifecycle_details == other.lifecycle_details && time_created == other.time_created && time_updated == other.time_updated && time_enabled == other.time_enabled && origin_cert_request_type == other.origin_cert_request_type && cdn_cert_request_type == other.cdn_cert_request_type && dns_managed_by == other.dns_managed_by && certificate_info == other.certificate_info && change_management_link == other.change_management_link && scheduled_activity_id == other.scheduled_activity_id && customer_dns_records == other.customer_dns_records && is_dns_status_ready == other.is_dns_status_ready && is_origin_cert_status_ready == other.is_origin_cert_status_ready && origin_cert_status == other.origin_cert_status && time_origin_cert_expired == other.time_origin_cert_expired && is_cdn_cert_status_ready == other.is_cdn_cert_status_ready && cdn_cert_status == other.cdn_cert_status && time_cdn_cert_expired == other.time_cdn_cert_expired && == other. && == other. && == other. end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 593 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
573 574 575 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 573 def eql?(other) self == other end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
582 583 584 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 582 def hash [id, vanity_domain, prefix, fusion_environment_id, lifecycle_state, lifecycle_details, time_created, time_updated, time_enabled, origin_cert_request_type, cdn_cert_request_type, dns_managed_by, certificate_info, change_management_link, scheduled_activity_id, customer_dns_records, is_dns_status_ready, is_origin_cert_status_ready, origin_cert_status, time_origin_cert_expired, is_cdn_cert_status_ready, cdn_cert_status, time_cdn_cert_expired, , , ].hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
626 627 628 629 630 631 632 633 634 635 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 626 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
620 621 622 |
# File 'lib/oci/fusion_apps/models/vanity_domain.rb', line 620 def to_s to_hash.to_s end |