|
| 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.AccessPackageResourceAttributeDestination; |
| 12 | +import com.microsoft.graph.models.AccessPackageResourceAttributeSource; |
| 13 | + |
| 14 | + |
| 15 | +import com.google.gson.JsonObject; |
| 16 | +import com.google.gson.annotations.SerializedName; |
| 17 | +import com.google.gson.annotations.Expose; |
| 18 | +import javax.annotation.Nullable; |
| 19 | +import javax.annotation.Nonnull; |
| 20 | + |
| 21 | +// **NOTE** This file was generated by a tool and any changes will be overwritten. |
| 22 | + |
| 23 | +/** |
| 24 | + * The class for the Access Package Resource Attribute. |
| 25 | + */ |
| 26 | +public class AccessPackageResourceAttribute implements IJsonBackedObject { |
| 27 | + |
| 28 | + /** the OData type of the object as returned by the service */ |
| 29 | + @SerializedName("@odata.type") |
| 30 | + @Expose |
| 31 | + @Nullable |
| 32 | + public String oDataType; |
| 33 | + |
| 34 | + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); |
| 35 | + |
| 36 | + @Override |
| 37 | + @Nonnull |
| 38 | + public final AdditionalDataManager additionalDataManager() { |
| 39 | + return additionalDataManager; |
| 40 | + } |
| 41 | + |
| 42 | + /** |
| 43 | + * The Destination. |
| 44 | + * Information about how to set the attribute, currently a accessPackageUserDirectoryAttributeStore type. |
| 45 | + */ |
| 46 | + @SerializedName(value = "destination", alternate = {"Destination"}) |
| 47 | + @Expose |
| 48 | + @Nullable |
| 49 | + public AccessPackageResourceAttributeDestination destination; |
| 50 | + |
| 51 | + /** |
| 52 | + * The Name. |
| 53 | + * The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle. |
| 54 | + */ |
| 55 | + @SerializedName(value = "name", alternate = {"Name"}) |
| 56 | + @Expose |
| 57 | + @Nullable |
| 58 | + public String name; |
| 59 | + |
| 60 | + /** |
| 61 | + * The Source. |
| 62 | + * Information about how to populate the attribute value when an accessPackageAssignmentRequest is being fulfilled, currently a accessPackageResourceAttributeQuestion type. |
| 63 | + */ |
| 64 | + @SerializedName(value = "source", alternate = {"Source"}) |
| 65 | + @Expose |
| 66 | + @Nullable |
| 67 | + public AccessPackageResourceAttributeSource source; |
| 68 | + |
| 69 | + |
| 70 | + /** |
| 71 | + * Sets the raw JSON object |
| 72 | + * |
| 73 | + * @param serializer the serializer |
| 74 | + * @param json the JSON object to set this object to |
| 75 | + */ |
| 76 | + public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) { |
| 77 | + |
| 78 | + } |
| 79 | +} |
0 commit comments