text: /*
   * Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
   * Changes may cause incorrect behavior and will be lost if the code is
   * regenerated.
   */
  
  'use strict';
  
  var models = require('./index');
  
  var util = require('util');
  
  /**
   * @class
   * Initializes a new instance of the ReleaseUpdateError class.
   * @constructor
   * @member {string} [releaseNotes]
   * 
   * @member {boolean} [mandatoryUpdate]
   * 
   * @member {array} [destinations]
   * 
   */
  function ReleaseUpdateError() {
    ReleaseUpdateError['super_'].call(this);
  }
  
  util.inherits(ReleaseUpdateError, models['ErrorDetails']);
  
  /**
   * Defines the metadata of ReleaseUpdateError
   *
   * @returns {object} metadata of ReleaseUpdateError
   *
   */
  ReleaseUpdateError.prototype.mapper = function () {
    return {
      required: false,
      serializedName: 'ReleaseUpdateError',
      type: {
        name: 'Composite',
        className: 'ReleaseUpdateError',
        modelProperties: {
          code: {
            required: true,
            serializedName: 'code',
            type: {
              name: 'String'
            }
          },
          message: {
            required: true,
            serializedName: 'message',
            type: {
              name: 'String'
            }
          },
          releaseNotes: {
            required: false,
            serializedName: 'release_notes',
            type: {
              name: 'String'
            }
          },
          mandatoryUpdate: {
            required: false,
            serializedName: 'mandatory_update',
            type: {
              name: 'Boolean'
            }
          },
          destinations: {
            required: false,
            serializedName: 'destinations',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'DestinationErrorElementType',
                  type: {
                    name: 'Composite',
                    className: 'DestinationError'
                  }
              }
            }
          }
        }
      }
    };
  };
  
  module.exports = ReleaseUpdateError;
  