|
| 1 | +// ------------------------------------------------------------------------------ |
| 2 | +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. |
| 3 | +// ------------------------------------------------------------------------------ |
| 4 | + |
| 5 | +package com.microsoft.graph.models.generated; |
| 6 | +import com.microsoft.graph.concurrency.*; |
| 7 | +import com.microsoft.graph.core.*; |
| 8 | +import com.microsoft.graph.http.*; |
| 9 | +import com.microsoft.graph.options.*; |
| 10 | +import com.microsoft.graph.serializer.*; |
| 11 | +import java.util.Arrays; |
| 12 | +import java.util.EnumSet; |
| 13 | + |
| 14 | + |
| 15 | +import com.google.gson.JsonObject; |
| 16 | +import com.google.gson.JsonElement; |
| 17 | +import com.google.gson.annotations.*; |
| 18 | +import java.util.HashMap; |
| 19 | +import java.util.Map; |
| 20 | + |
| 21 | +// **NOTE** This file was generated by a tool and any changes will be overwritten. |
| 22 | + |
| 23 | +/** |
| 24 | + * The class for the Base Item Preview Info. |
| 25 | + */ |
| 26 | +public class BaseItemPreviewInfo implements IJsonBackedObject { |
| 27 | + |
| 28 | + @SerializedName("@odata.type") |
| 29 | + @Expose |
| 30 | + public String oDataType; |
| 31 | + |
| 32 | + private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this); |
| 33 | + |
| 34 | + @Override |
| 35 | + public final AdditionalDataManager additionalDataManager() { |
| 36 | + return additionalDataManager; |
| 37 | + } |
| 38 | + |
| 39 | + /** |
| 40 | + * The Get Url. |
| 41 | + * |
| 42 | + */ |
| 43 | + @SerializedName("getUrl") |
| 44 | + @Expose |
| 45 | + public String getUrl; |
| 46 | + |
| 47 | + /** |
| 48 | + * The Post Parameters. |
| 49 | + * |
| 50 | + */ |
| 51 | + @SerializedName("postParameters") |
| 52 | + @Expose |
| 53 | + public String postParameters; |
| 54 | + |
| 55 | + /** |
| 56 | + * The Post Url. |
| 57 | + * |
| 58 | + */ |
| 59 | + @SerializedName("postUrl") |
| 60 | + @Expose |
| 61 | + public String postUrl; |
| 62 | + |
| 63 | + |
| 64 | + /** |
| 65 | + * The raw representation of this class |
| 66 | + */ |
| 67 | + private JsonObject rawObject; |
| 68 | + |
| 69 | + /** |
| 70 | + * The serializer |
| 71 | + */ |
| 72 | + private ISerializer serializer; |
| 73 | + |
| 74 | + /** |
| 75 | + * Gets the raw representation of this class |
| 76 | + * |
| 77 | + * @return the raw representation of this class |
| 78 | + */ |
| 79 | + public JsonObject getRawObject() { |
| 80 | + return rawObject; |
| 81 | + } |
| 82 | + |
| 83 | + /** |
| 84 | + * Gets serializer |
| 85 | + * |
| 86 | + * @return the serializer |
| 87 | + */ |
| 88 | + protected ISerializer getSerializer() { |
| 89 | + return serializer; |
| 90 | + } |
| 91 | + |
| 92 | + /** |
| 93 | + * Sets the raw JSON object |
| 94 | + * |
| 95 | + * @param serializer the serializer |
| 96 | + * @param json the JSON object to set this object to |
| 97 | + */ |
| 98 | + public void setRawObject(final ISerializer serializer, final JsonObject json) { |
| 99 | + this.serializer = serializer; |
| 100 | + rawObject = json; |
| 101 | + |
| 102 | + } |
| 103 | +} |
0 commit comments