| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.Graph.RBAC.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | /// <summary> |
| | 19 | | /// Server response for IsMemberOf API call |
| | 20 | | /// </summary> |
| | 21 | | public partial class CheckGroupMembershipResult |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the CheckGroupMembershipResult class. |
| | 25 | | /// </summary> |
| 0 | 26 | | public CheckGroupMembershipResult() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the CheckGroupMembershipResult class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="additionalProperties">Unmatched properties from the |
| | 35 | | /// message are deserialized this collection</param> |
| | 36 | | /// <param name="value">True if the specified user, group, contact, or |
| | 37 | | /// service principal has either direct or transitive membership in the |
| | 38 | | /// specified group; otherwise, false.</param> |
| 0 | 39 | | public CheckGroupMembershipResult(IDictionary<string, object> additionalProperties = default(IDictionary<string, |
| | 40 | | { |
| 0 | 41 | | AdditionalProperties = additionalProperties; |
| 0 | 42 | | Value = value; |
| | 43 | | CustomInit(); |
| 0 | 44 | | } |
| | 45 | |
|
| | 46 | | /// <summary> |
| | 47 | | /// An initialization method that performs custom operations like setting defaults |
| | 48 | | /// </summary> |
| | 49 | | partial void CustomInit(); |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// Gets or sets unmatched properties from the message are deserialized |
| | 53 | | /// this collection |
| | 54 | | /// </summary> |
| | 55 | | [JsonExtensionData] |
| 0 | 56 | | public IDictionary<string, object> AdditionalProperties { get; set; } |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// Gets or sets true if the specified user, group, contact, or service |
| | 60 | | /// principal has either direct or transitive membership in the |
| | 61 | | /// specified group; otherwise, false. |
| | 62 | | /// </summary> |
| | 63 | | [JsonProperty(PropertyName = "value")] |
| 0 | 64 | | public bool? Value { get; set; } |
| | 65 | |
|
| | 66 | | } |
| | 67 | | } |