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 1.0.0.0
   * Changes may cause incorrect behavior and will be lost if the code is
   * regenerated.
   */
  
  'use strict';
  
  /**
   * Trust group update model
   *
   */
  class TrustGroupUpdateRequestApiModel {
    /**
     * Create a TrustGroupUpdateRequestApiModel.
     * @property {string} [name] The name of the trust group
     * @property {string} [issuedLifetime] The issued certificate lifetime.
     * @property {number} [issuedKeySize] The issued certificate key size in
     * bits.
     * @property {string} [issuedSignatureAlgorithm] The issued certificate key
     * size in bits. Possible values include: 'Rsa256', 'Rsa384', 'Rsa512',
     * 'Rsa256Pss', 'Rsa384Pss', 'Rsa512Pss'
     */
    constructor() {
    }
  
    /**
     * Defines the metadata of TrustGroupUpdateRequestApiModel
     *
     * @returns {object} metadata of TrustGroupUpdateRequestApiModel
     *
     */
    mapper() {
      return {
        required: false,
        serializedName: 'TrustGroupUpdateRequestApiModel',
        type: {
          name: 'Composite',
          className: 'TrustGroupUpdateRequestApiModel',
          modelProperties: {
            name: {
              required: false,
              serializedName: 'name',
              type: {
                name: 'String'
              }
            },
            issuedLifetime: {
              required: false,
              serializedName: 'issuedLifetime',
              type: {
                name: 'String'
              }
            },
            issuedKeySize: {
              required: false,
              serializedName: 'issuedKeySize',
              type: {
                name: 'Number'
              }
            },
            issuedSignatureAlgorithm: {
              required: false,
              serializedName: 'issuedSignatureAlgorithm',
              type: {
                name: 'Enum',
                allowedValues: [ 'Rsa256', 'Rsa384', 'Rsa512', 'Rsa256Pss', 'Rsa384Pss', 'Rsa512Pss' ]
              }
            }
          }
        }
      };
    }
  }
  
  module.exports = TrustGroupUpdateRequestApiModel;
  