def list_fields_by_module_and_type(resource_group_name, automation_account_name, module_name, type_name, custom_headers:nil)
      response = list_fields_by_module_and_type_async(resource_group_name, automation_account_name, module_name, type_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def list_fields_by_module_and_type(resource_group_name, automation_account_name, module_name, type_name, custom_headers:nil)
      response = list_fields_by_module_and_type_async(resource_group_name, automation_account_name, module_name, type_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Retrieve a list of fields of a given type identified by module name.

 @param resource_group_name [String] Name of an Azure Resource group.
 @param automation_account_name [String] The name of the automation account.
 @param module_name [String] The name of module.
 @param type_name [String] The name of type.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [TypeFieldListResult] operation results.