getDomainWithHttpInfo method

Future<Response> getDomainWithHttpInfo(
  1. String id, {
  2. bool? checkForErrors,
})

Get a domain

Returns domain verification status and tokens for a given domain

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> getDomainWithHttpInfo(String id, { bool? checkForErrors, }) async {
  // ignore: prefer_const_declarations
  final path = r'/domains/{id}'
    .replaceAll('{id}', id);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  if (checkForErrors != null) {
    queryParams.addAll(_queryParams('', 'checkForErrors', checkForErrors));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}