text: /*
   * Copyright (c) Microsoft Corporation. All rights reserved.
   * Licensed under the MIT License. See License.txt in the project root for
   * license information.
   *
   * Code generated by Microsoft (R) AutoRest Code Generator.
   * Changes may cause incorrect behavior and will be lost if the code is
   * regenerated.
   */
  
  'use strict';
  
  /**
   * The list of backup entities that are being periodically backed. The list is
   * paged when all of the results cannot fit in a single message. The next set
   * of results can be obtained by executing the same query with the continuation
   * token provided in this list.
   *
   */
  class PagedBackupEntityList {
    /**
     * Create a PagedBackupEntityList.
     * @member {string} [continuationToken] The continuation token parameter is
     * used to obtain next set of results. The continuation token is included in
     * the response of the API when the results from the system do not fit in a
     * single response. When this value is passed to the next API call, the API
     * returns next set of results. If there are no further results, then the
     * continuation token is not included in the response.
     * @member {array} [items] List of backup entity information.
     */
    constructor() {
    }
  
    /**
     * Defines the metadata of PagedBackupEntityList
     *
     * @returns {object} metadata of PagedBackupEntityList
     *
     */
    mapper() {
      return {
        required: false,
        serializedName: 'PagedBackupEntityList',
        type: {
          name: 'Composite',
          className: 'PagedBackupEntityList',
          modelProperties: {
            continuationToken: {
              required: false,
              serializedName: 'ContinuationToken',
              type: {
                name: 'String'
              }
            },
            items: {
              required: false,
              serializedName: 'Items',
              type: {
                name: 'Sequence',
                element: {
                    required: false,
                    serializedName: 'BackupEntityElementType',
                    type: {
                      name: 'Composite',
                      polymorphicDiscriminator: {
                        serializedName: 'EntityKind',
                        clientName: 'entityKind'
                      },
                      uberParent: 'BackupEntity',
                      className: 'BackupEntity'
                    }
                }
              }
            }
          }
        }
      };
    }
  }
  
  module.exports = PagedBackupEntityList;
  