Class: NgrokAPI::Models::ReservedDomainCertStatus
- Inherits:
-
Object
- Object
- NgrokAPI::Models::ReservedDomainCertStatus
- Defined in:
- lib/ngrokapi/models/reserved_domain_cert_status.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#provisioning_job ⇒ Object
readonly
Returns the value of attribute provisioning_job.
-
#renews_at ⇒ Object
readonly
Returns the value of attribute renews_at.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client:, result:) ⇒ ReservedDomainCertStatus
constructor
A new instance of ReservedDomainCertStatus.
- #to_s ⇒ Object
Constructor Details
#initialize(client:, result:) ⇒ ReservedDomainCertStatus
Returns a new instance of ReservedDomainCertStatus.
11 12 13 14 15 16 |
# File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 11 def initialize(client:, result:) @client = client @result = result @renews_at = @result['renews_at'] @provisioning_job = @result['provisioning_job'] end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 6 def client @client end |
#provisioning_job ⇒ Object (readonly)
Returns the value of attribute provisioning_job.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 6 def provisioning_job @provisioning_job end |
#renews_at ⇒ Object (readonly)
Returns the value of attribute renews_at.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 6 def renews_at @renews_at end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
6 7 8 |
# File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 6 def result @result end |
Instance Method Details
#==(other) ⇒ Object
18 19 20 |
# File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 18 def ==(other) @result == other.result end |
#to_s ⇒ Object
22 23 24 |
# File 'lib/ngrokapi/models/reserved_domain_cert_status.rb', line 22 def to_s @result.to_s end |