code: public ServiceFuture<List<TypeFieldInner>> listFieldsByTypeAsync(String resourceGroupName, String automationAccountName, String typeName, final ServiceCallback<List<TypeFieldInner>> serviceCallback) {
          return ServiceFuture.fromResponse(listFieldsByTypeWithServiceResponseAsync(resourceGroupName, automationAccountName, typeName), serviceCallback);
      }
docs: Retrieve a list of fields of a given type across all accessible modules.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param typeName The name of type.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object