/// <summary>
 /// Lists all of the Job Schedules in the specified Account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='jobScheduleListOptions'>
 /// Additional parameters for the operation
 /// </param>
 public static IPage <CloudJobSchedule> List(this IJobScheduleOperations operations, JobScheduleListOptions jobScheduleListOptions = default(JobScheduleListOptions))
 {
     return(operations.ListAsync(jobScheduleListOptions).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Retrieve a list of job schedules.  (see
 /// http://aka.ms/azureautomationsdk/jobscheduleoperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Automation.IJobScheduleOperations.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <returns>
 /// The response model for the list job schedule operation.
 /// </returns>
 public static Task <JobScheduleListResponse> ListAsync(this IJobScheduleOperations operations, string automationAccount)
 {
     return(operations.ListAsync(automationAccount, CancellationToken.None));
 }