/*
 * 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
 * Initializes a new instance of the CheckGroupMembershipResult class.
 * @constructor
 * Server response for IsMemberOf API call
 * @member {boolean} [value] true if the specified user, group, contact, or
 * service principal has either direct or transitive membership in the
 * specified group; otherwise, false.
 * 
 */
function CheckGroupMembershipResult() {
}

/**
 * Defines the metadata of CheckGroupMembershipResult
 *
 * @returns {object} metadata of CheckGroupMembershipResult
 *
 */
CheckGroupMembershipResult.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'CheckGroupMembershipResult',
    type: {
      name: 'Composite',
      className: 'CheckGroupMembershipResult',
      modelProperties: {
        value: {
          required: false,
          serializedName: 'value',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  };
};

module.exports = CheckGroupMembershipResult;
