getClientLicenseWithHttpInfo method

Future<Response> getClientLicenseWithHttpInfo(
  1. String format
)

Get client license

Get a subset of the server license needed by the client. ##### Permissions No permission required but having the manage_system permission returns more information.

Note: This method returns the HTTP Response.

Parameters:

  • String format (required): Must be old, other formats not implemented yet

Implementation

Future<Response> getClientLicenseWithHttpInfo(
  String format,
) async {
  // ignore: prefer_const_declarations
  final path = r'/license/client';

  // ignore: prefer_final_locals
  Object? postBody;

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

  queryParams.addAll(_queryParams('', 'format', format));

  const contentTypes = <String>[];

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