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';
  
  /**
   * Class representing a ListForOrgOKResponseItem.
   */
  class ListForOrgOKResponseItem {
    /**
     * Create a ListForOrgOKResponseItem.
     * @property {string} email The email address of the user
     * @property {string} displayName The full name of the user. Might for
     * example be first and last name
     * @property {string} joinedAt The date when the user joined the organization
     * @property {string} name The unique name that is used to identify the user.
     * @property {string} role The role the user has within the organization
     */
    constructor() {
    }
  
    /**
     * Defines the metadata of ListForOrgOKResponseItem
     *
     * @returns {object} metadata of ListForOrgOKResponseItem
     *
     */
    mapper() {
      return {
        required: false,
        serializedName: 'ListForOrgOKResponseItem',
        type: {
          name: 'Composite',
          className: 'ListForOrgOKResponseItem',
          modelProperties: {
            email: {
              required: true,
              serializedName: 'email',
              type: {
                name: 'String'
              }
            },
            displayName: {
              required: true,
              serializedName: 'display_name',
              type: {
                name: 'String'
              }
            },
            joinedAt: {
              required: true,
              serializedName: 'joined_at',
              type: {
                name: 'String'
              }
            },
            name: {
              required: true,
              serializedName: 'name',
              type: {
                name: 'String'
              }
            },
            role: {
              required: true,
              serializedName: 'role',
              type: {
                name: 'String'
              }
            }
          }
        }
      };
    }
  }
  
  module.exports = ListForOrgOKResponseItem;
  