|
| 1 | +// Template Source: BaseEntity.java.tt |
| 2 | +// ------------------------------------------------------------------------------ |
| 3 | +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. |
| 4 | +// ------------------------------------------------------------------------------ |
| 5 | + |
| 6 | +package com.microsoft.graph.models; |
| 7 | +import com.microsoft.graph.serializer.ISerializer; |
| 8 | +import com.microsoft.graph.serializer.IJsonBackedObject; |
| 9 | +import com.microsoft.graph.serializer.AdditionalDataManager; |
| 10 | +import java.util.EnumSet; |
| 11 | +import com.microsoft.graph.http.BaseCollectionPage; |
| 12 | +import com.microsoft.graph.models.AccessPackageAnswer; |
| 13 | +import com.microsoft.graph.models.AccessPackageQuestion; |
| 14 | +import com.microsoft.graph.models.RequestSchedule; |
| 15 | + |
| 16 | + |
| 17 | +import com.google.gson.JsonObject; |
| 18 | +import com.google.gson.annotations.SerializedName; |
| 19 | +import com.google.gson.annotations.Expose; |
| 20 | +import javax.annotation.Nullable; |
| 21 | +import javax.annotation.Nonnull; |
| 22 | + |
| 23 | +// **NOTE** This file was generated by a tool and any changes will be overwritten. |
| 24 | + |
| 25 | +/** |
| 26 | + * The class for the Access Package Assignment Request Requirements. |
| 27 | + */ |
| 28 | +public class AccessPackageAssignmentRequestRequirements implements IJsonBackedObject { |
| 29 | + |
| 30 | + /** the OData type of the object as returned by the service */ |
| 31 | + @SerializedName("@odata.type") |
| 32 | + @Expose |
| 33 | + @Nullable |
| 34 | + public String oDataType; |
| 35 | + |
| 36 | + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); |
| 37 | + |
| 38 | + @Override |
| 39 | + @Nonnull |
| 40 | + public final AdditionalDataManager additionalDataManager() { |
| 41 | + return additionalDataManager; |
| 42 | + } |
| 43 | + |
| 44 | + /** |
| 45 | + * The Allow Custom Assignment Schedule. |
| 46 | + * |
| 47 | + */ |
| 48 | + @SerializedName(value = "allowCustomAssignmentSchedule", alternate = {"AllowCustomAssignmentSchedule"}) |
| 49 | + @Expose |
| 50 | + @Nullable |
| 51 | + public Boolean allowCustomAssignmentSchedule; |
| 52 | + |
| 53 | + /** |
| 54 | + * The Existing Answers. |
| 55 | + * |
| 56 | + */ |
| 57 | + @SerializedName(value = "existingAnswers", alternate = {"ExistingAnswers"}) |
| 58 | + @Expose |
| 59 | + @Nullable |
| 60 | + public java.util.List<AccessPackageAnswer> existingAnswers; |
| 61 | + |
| 62 | + /** |
| 63 | + * The Is Approval Required For Add. |
| 64 | + * |
| 65 | + */ |
| 66 | + @SerializedName(value = "isApprovalRequiredForAdd", alternate = {"IsApprovalRequiredForAdd"}) |
| 67 | + @Expose |
| 68 | + @Nullable |
| 69 | + public Boolean isApprovalRequiredForAdd; |
| 70 | + |
| 71 | + /** |
| 72 | + * The Is Approval Required For Update. |
| 73 | + * |
| 74 | + */ |
| 75 | + @SerializedName(value = "isApprovalRequiredForUpdate", alternate = {"IsApprovalRequiredForUpdate"}) |
| 76 | + @Expose |
| 77 | + @Nullable |
| 78 | + public Boolean isApprovalRequiredForUpdate; |
| 79 | + |
| 80 | + /** |
| 81 | + * The Policy Description. |
| 82 | + * |
| 83 | + */ |
| 84 | + @SerializedName(value = "policyDescription", alternate = {"PolicyDescription"}) |
| 85 | + @Expose |
| 86 | + @Nullable |
| 87 | + public String policyDescription; |
| 88 | + |
| 89 | + /** |
| 90 | + * The Policy Display Name. |
| 91 | + * |
| 92 | + */ |
| 93 | + @SerializedName(value = "policyDisplayName", alternate = {"PolicyDisplayName"}) |
| 94 | + @Expose |
| 95 | + @Nullable |
| 96 | + public String policyDisplayName; |
| 97 | + |
| 98 | + /** |
| 99 | + * The Policy Id. |
| 100 | + * |
| 101 | + */ |
| 102 | + @SerializedName(value = "policyId", alternate = {"PolicyId"}) |
| 103 | + @Expose |
| 104 | + @Nullable |
| 105 | + public String policyId; |
| 106 | + |
| 107 | + /** |
| 108 | + * The Questions. |
| 109 | + * |
| 110 | + */ |
| 111 | + @SerializedName(value = "questions", alternate = {"Questions"}) |
| 112 | + @Expose |
| 113 | + @Nullable |
| 114 | + public java.util.List<AccessPackageQuestion> questions; |
| 115 | + |
| 116 | + /** |
| 117 | + * The Schedule. |
| 118 | + * |
| 119 | + */ |
| 120 | + @SerializedName(value = "schedule", alternate = {"Schedule"}) |
| 121 | + @Expose |
| 122 | + @Nullable |
| 123 | + public RequestSchedule schedule; |
| 124 | + |
| 125 | + |
| 126 | + /** |
| 127 | + * Sets the raw JSON object |
| 128 | + * |
| 129 | + * @param serializer the serializer |
| 130 | + * @param json the JSON object to set this object to |
| 131 | + */ |
| 132 | + public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { |
| 133 | + |
| 134 | + } |
| 135 | +} |
0 commit comments