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 Details

    • contentBytes

      @SerializedName(value="contentBytes", alternate="ContentBytes") @Expose @Nullable public byte[] contentBytes
      The Content Bytes. Write only. Bytes for the hosted content (such as images).
    • contentType

      @SerializedName(value="contentType", alternate="ContentType") @Expose @Nullable public String contentType
      The 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to