Package com.microsoft.graph.models
Class TeamworkHostedContent
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.TeamworkHostedContent
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
- Direct Known Subclasses:
ChatMessageHostedContent
public class TeamworkHostedContent
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Teamwork Hosted Content.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]The Content Bytes.The Content Type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
contentBytes
@SerializedName(value="contentBytes", alternate="ContentBytes") @Expose @Nullable public byte[] contentBytesThe Content Bytes. Write only. Bytes for the hosted content (such as images). -
contentType
@SerializedName(value="contentType", alternate="ContentType") @Expose @Nullable public String contentTypeThe Content Type. Write only. Content type. sicj as image/png, image/jpg.
-
-
Constructor Details
-
TeamworkHostedContent
public TeamworkHostedContent()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-