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');
  
  /**
   * @class
   * Initializes a new instance of the AppInvitationDetailResponse class.
   * @constructor
   * @member {string} id The unique ID (UUID) of the invitation
   * 
   * @member {string} email The email address of the invited user
   * 
   * @member {boolean} isExistingUser Indicates whether the invited user already
   * exists
   * 
   * @member {object} invitedBy
   * 
   * @member {string} [invitedBy.id] The unique id (UUID) of the user
   * 
   * @member {string} [invitedBy.email] The email address of the user
   * 
   * @member {string} [invitedBy.displayName] The full name of the user. Might
   * for example be first and last name
   * 
   * @member {string} [invitedBy.name] The unique name that is used to identify
   * the user.
   * 
   * @member {string} [invitedBy.avatarUrl] The avatar URL of the user
   * 
   * @member {boolean} [invitedBy.canChangePassword] User is required to send an
   * old password in order to change the password.
   * 
   * @member {object} app
   * 
   * @member {string} [app.id] The unique ID (UUID) of the app
   * 
   * @member {string} [app.appSecret] A unique and secret key used to identify
   * the app in communication with the ingestion endpoint for crash reporting
   * and analytics
   * 
   * @member {string} [app.description] The description of the app
   * 
   * @member {string} [app.displayName] The display name of the app
   * 
   * @member {string} [app.name] The name of the app used in URLs
   * 
   * @member {string} [app.os] The OS the app will be running on. Possible
   * values include: 'iOS', 'Android'
   * 
   * @member {string} [app.platform] The platform of the app. Possible values
   * include: 'Objective-C-Swift', 'Java', 'React-Native', 'Xamarin'
   * 
   * @member {string} [app.iconUrl] The string representation of the URL
   * pointing to the app's icon
   * 
   * @member {object} [app.owner]
   * 
   * @member {string} [app.owner.id] The unique id (UUID) of the owner
   * 
   * @member {string} [app.owner.avatarUrl] The avatar URL of the owner
   * 
   * @member {string} [app.owner.email] The owner's email address
   * 
   * @member {string} [app.owner.displayName] The owner's display name
   * 
   * @member {string} [app.owner.name] The unique name that used to identify the
   * owner
   * 
   * @member {string} [app.owner.type] The owner type. Can either be 'org' or
   * 'user'. Possible values include: 'org', 'user'
   * 
   * @member {string} [app.azureSubscriptionId] The unique ID (UUID) of the
   * Azure subscription associate with the app
   * 
   */
  function AppInvitationDetailResponse() {
  }
  
  /**
   * Defines the metadata of AppInvitationDetailResponse
   *
   * @returns {object} metadata of AppInvitationDetailResponse
   *
   */
  AppInvitationDetailResponse.prototype.mapper = function () {
    return {
      required: false,
      serializedName: 'AppInvitationDetailResponse',
      type: {
        name: 'Composite',
        className: 'AppInvitationDetailResponse',
        modelProperties: {
          id: {
            required: true,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          email: {
            required: true,
            serializedName: 'email',
            type: {
              name: 'String'
            }
          },
          isExistingUser: {
            required: true,
            serializedName: 'is_existing_user',
            type: {
              name: 'Boolean'
            }
          },
          invitedBy: {
            required: true,
            serializedName: 'invited_by',
            type: {
              name: 'Composite',
              className: 'UserProfileResponse'
            }
          },
          app: {
            required: true,
            serializedName: 'app',
            type: {
              name: 'Composite',
              className: 'AppResponse'
            }
          }
        }
      }
    };
  };
  
  module.exports = AppInvitationDetailResponse;
  