|
| 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.IdentitySet; |
| 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 Comment Action. |
| 25 | + */ |
| 26 | +public class CommentAction 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 Is Reply. |
| 44 | + * If true, this activity was a reply to an existing comment thread. |
| 45 | + */ |
| 46 | + @SerializedName(value = "isReply", alternate = {"IsReply"}) |
| 47 | + @Expose |
| 48 | + @Nullable |
| 49 | + public Boolean isReply; |
| 50 | + |
| 51 | + /** |
| 52 | + * The Parent Author. |
| 53 | + * The identity of the user who started the comment thread. |
| 54 | + */ |
| 55 | + @SerializedName(value = "parentAuthor", alternate = {"ParentAuthor"}) |
| 56 | + @Expose |
| 57 | + @Nullable |
| 58 | + public IdentitySet parentAuthor; |
| 59 | + |
| 60 | + /** |
| 61 | + * The Participants. |
| 62 | + * The identities of the users participating in this comment thread. |
| 63 | + */ |
| 64 | + @SerializedName(value = "participants", alternate = {"Participants"}) |
| 65 | + @Expose |
| 66 | + @Nullable |
| 67 | + public java.util.List<IdentitySet> participants; |
| 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