|
| 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.models.DelegatedAdminAccessContainer; |
| 12 | +import com.microsoft.graph.models.DelegatedAdminAccessDetails; |
| 13 | +import com.microsoft.graph.models.DelegatedAdminAccessAssignmentStatus; |
| 14 | +import com.microsoft.graph.models.Entity; |
| 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 Delegated Admin Access Assignment. |
| 27 | + */ |
| 28 | +public class DelegatedAdminAccessAssignment extends Entity implements IJsonBackedObject { |
| 29 | + |
| 30 | + |
| 31 | + /** |
| 32 | + * The Access Container. |
| 33 | + * The access container through which members are assigned access. For example, a security group. |
| 34 | + */ |
| 35 | + @SerializedName(value = "accessContainer", alternate = {"AccessContainer"}) |
| 36 | + @Expose |
| 37 | + @Nullable |
| 38 | + public DelegatedAdminAccessContainer accessContainer; |
| 39 | + |
| 40 | + /** |
| 41 | + * The Access Details. |
| 42 | + * The access details containing the identifiers of the administrative roles that the partner is assigned in the customer tenant. |
| 43 | + */ |
| 44 | + @SerializedName(value = "accessDetails", alternate = {"AccessDetails"}) |
| 45 | + @Expose |
| 46 | + @Nullable |
| 47 | + public DelegatedAdminAccessDetails accessDetails; |
| 48 | + |
| 49 | + /** |
| 50 | + * The Created Date Time. |
| 51 | + * The date and time in ISO 8601 format and in UTC time when the access assignment was created. Read-only. |
| 52 | + */ |
| 53 | + @SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"}) |
| 54 | + @Expose |
| 55 | + @Nullable |
| 56 | + public java.time.OffsetDateTime createdDateTime; |
| 57 | + |
| 58 | + /** |
| 59 | + * The Last Modified Date Time. |
| 60 | + * The date and time in ISO 8601 and in UTC time when this access assignment was last modified. Read-only. |
| 61 | + */ |
| 62 | + @SerializedName(value = "lastModifiedDateTime", alternate = {"LastModifiedDateTime"}) |
| 63 | + @Expose |
| 64 | + @Nullable |
| 65 | + public java.time.OffsetDateTime lastModifiedDateTime; |
| 66 | + |
| 67 | + /** |
| 68 | + * The Status. |
| 69 | + * The status of the access assignment. Read-only. The possible values are: pending, active, deleting, deleted, error, unknownFutureValue. |
| 70 | + */ |
| 71 | + @SerializedName(value = "status", alternate = {"Status"}) |
| 72 | + @Expose |
| 73 | + @Nullable |
| 74 | + public DelegatedAdminAccessAssignmentStatus status; |
| 75 | + |
| 76 | + |
| 77 | + /** |
| 78 | + * Sets the raw JSON object |
| 79 | + * |
| 80 | + * @param serializer the serializer |
| 81 | + * @param json the JSON object to set this object to |
| 82 | + */ |
| 83 | + public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { |
| 84 | + |
| 85 | + } |
| 86 | +} |
0 commit comments