/// <summary>
 /// Get apps for an iOSMAMPolicy.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='hostName'>
 /// Location hostName for the tenant
 /// </param>
 /// <param name='policyName'>
 /// Unique name for the policy
 /// </param>
 /// <param name='filter'>
 /// The filter to apply on the operation.
 /// </param>
 /// <param name='top'>
 /// </param>
 /// <param name='select'>
 /// select specific fields in entity.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <Application> > GetAppForMAMPolicyAsync(this IIosOperations operations, string hostName, string policyName, string filter = default(string), int?top = default(int?), string select = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetAppForMAMPolicyWithHttpMessagesAsync(hostName, policyName, filter, top, select, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }