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