| | 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 | | /// Request parameters for GetMemberGroups API call. |
| | 20 | | /// </summary> |
| | 21 | | public partial class UserGetMemberGroupsParameters |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the UserGetMemberGroupsParameters |
| | 25 | | /// class. |
| | 26 | | /// </summary> |
| 2 | 27 | | public UserGetMemberGroupsParameters() |
| | 28 | | { |
| | 29 | | CustomInit(); |
| 2 | 30 | | } |
| | 31 | |
|
| | 32 | | /// <summary> |
| | 33 | | /// Initializes a new instance of the UserGetMemberGroupsParameters |
| | 34 | | /// class. |
| | 35 | | /// </summary> |
| | 36 | | /// <param name="securityEnabledOnly">If true, only membership in |
| | 37 | | /// security-enabled groups should be checked. Otherwise, membership in |
| | 38 | | /// all groups should be checked.</param> |
| | 39 | | /// <param name="additionalProperties">Unmatched properties from the |
| | 40 | | /// message are deserialized this collection</param> |
| 4 | 41 | | public UserGetMemberGroupsParameters(bool securityEnabledOnly, IDictionary<string, object> additionalProperties |
| | 42 | | { |
| 4 | 43 | | AdditionalProperties = additionalProperties; |
| 4 | 44 | | SecurityEnabledOnly = securityEnabledOnly; |
| | 45 | | CustomInit(); |
| 4 | 46 | | } |
| | 47 | |
|
| | 48 | | /// <summary> |
| | 49 | | /// An initialization method that performs custom operations like setting defaults |
| | 50 | | /// </summary> |
| | 51 | | partial void CustomInit(); |
| | 52 | |
|
| | 53 | | /// <summary> |
| | 54 | | /// Gets or sets unmatched properties from the message are deserialized |
| | 55 | | /// this collection |
| | 56 | | /// </summary> |
| | 57 | | [JsonExtensionData] |
| 10 | 58 | | public IDictionary<string, object> AdditionalProperties { get; set; } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// Gets or sets if true, only membership in security-enabled groups |
| | 62 | | /// should be checked. Otherwise, membership in all groups should be |
| | 63 | | /// checked. |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "securityEnabledOnly")] |
| 12 | 66 | | public bool SecurityEnabledOnly { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Validate the object. |
| | 70 | | /// </summary> |
| | 71 | | /// <exception cref="Rest.ValidationException"> |
| | 72 | | /// Thrown if validation fails |
| | 73 | | /// </exception> |
| | 74 | | public virtual void Validate() |
| | 75 | | { |
| 6 | 76 | | } |
| | 77 | | } |
| | 78 | | } |