/// <summary>
 /// Get the schema configuration at the API level.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the API Management service.
 /// </param>
 /// <param name='apiId'>
 /// API revision identifier. Must be unique in the current API Management
 /// service instance. Non-current revision has ;rev=n as a suffix where n is
 /// the revision number.
 /// </param>
 public static IPage <SchemaContract> ListByApi(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId)
 {
     return(operations.ListByApiAsync(resourceGroupName, serviceName, apiId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Get the schema configuration at the API level.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the API Management service.
 /// </param>
 /// <param name='apiId'>
 /// API revision identifier. Must be unique in the current API Management
 /// service instance. Non-current revision has ;rev=n as a suffix where n is
 /// the revision number.
 /// </param>
 /// <param name='filter'>
 /// |     Field     |     Usage     |     Supported operators     |
 /// Supported functions
 /// |&lt;/br&gt;|-------------|-------------|-------------|-------------|&lt;/br&gt;|
 /// contentType | filter | ge, le, eq, ne, gt, lt | substringof, contains,
 /// startswith, endswith |&lt;/br&gt;
 /// </param>
 /// <param name='top'>
 /// Number of records to return.
 /// </param>
 /// <param name='skip'>
 /// Number of records to skip.
 /// </param>
 public static IPage <SchemaContract> ListByApi(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string filter = default(string), int?top = default(int?), int?skip = default(int?))
 {
     return(operations.ListByApiAsync(resourceGroupName, serviceName, apiId, filter, top, skip).GetAwaiter().GetResult());
 }