Class: EInvoiceAPI::Models::LookupRetrieveResponse::DNSInfo

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/e_invoice_api/models/lookup_retrieve_response.rb

Overview

See Also:

Defined Under Namespace

Classes: DNSRecord

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from EInvoiceAPI::Internal::Type::BaseModel

Instance Attribute Details

#dns_recordsArray<EInvoiceAPI::Models::LookupRetrieveResponse::DNSInfo::DNSRecord>

List of DNS records found for the Peppol participant



173
174
175
# File 'lib/e_invoice_api/models/lookup_retrieve_response.rb', line 173

required :dns_records,
-> { EInvoiceAPI::Internal::Type::ArrayOf[EInvoiceAPI::Models::LookupRetrieveResponse::DNSInfo::DNSRecord] },
api_name: :dnsRecords

#errorString?

Error message if the DNS lookup failed

Returns:

  • (String, nil)


193
# File 'lib/e_invoice_api/models/lookup_retrieve_response.rb', line 193

optional :error, String, nil?: true

#sml_hostnameString

Hostname of the SML used for the query

Returns:

  • (String)


181
# File 'lib/e_invoice_api/models/lookup_retrieve_response.rb', line 181

required :sml_hostname, String, api_name: :smlHostname

#statusString

Status of the DNS lookup: ‘success’, ‘error’, or ‘pending’

Returns:

  • (String)


187
# File 'lib/e_invoice_api/models/lookup_retrieve_response.rb', line 187

required :status, String