lib/fastly/api/domain_api.rb in fastly-6.0.2 vs lib/fastly/api/domain_api.rb in fastly-7.0.0

- old
+ new

@@ -20,22 +20,22 @@ # Validate DNS configuration for a single domain on a service # Checks the status of a specific domain's DNS record for a Service Version. Returns an array in the same format as domain/check_all. # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :domain_name The name of the domain or domains associated with this service. (required) - # @return [Array<DomainCheckItem>] + # @return [Array<Object>] def check_domain(opts = {}) data, _status_code, _headers = check_domain_with_http_info(opts) data end # Validate DNS configuration for a single domain on a service # Checks the status of a specific domain&#39;s DNS record for a Service Version. Returns an array in the same format as domain/check_all. # @option opts [String] :service_id Alphanumeric string identifying the service. (required) # @option opts [Integer] :version_id Integer identifying a service version. (required) # @option opts [String] :domain_name The name of the domain or domains associated with this service. (required) - # @return [Array<(Array<DomainCheckItem>, Integer, Hash)>] Array<DomainCheckItem> data, response status code and response headers + # @return [Array<(Array<Object>, Integer, Hash)>] Array<Object> data, response status code and response headers def check_domain_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: DomainApi.check_domain ...' end # unbox the parameters from the hash @@ -70,10 +70,10 @@ # http body (model) post_body = opts[:debug_body] # return_type - return_type = opts[:debug_return_type] || 'Array<DomainCheckItem>' + return_type = opts[:debug_return_type] || 'Array<Object>' # auth_names auth_names = opts[:debug_auth_names] || ['token'] new_options = opts.merge(