Class Trending

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.Trending
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Trending extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Trending.
  • Field Details

    • lastModifiedDateTime

      @SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTime
      The Last Modified Date Time.
    • resourceReference

      @SerializedName(value="resourceReference", alternate="ResourceReference") @Expose @Nullable public ResourceReference resourceReference
      The Resource Reference. Reference properties of the trending document, such as the url and type of the document.
    • resourceVisualization

      @SerializedName(value="resourceVisualization", alternate="ResourceVisualization") @Expose @Nullable public ResourceVisualization resourceVisualization
      The Resource Visualization. Properties that you can use to visualize the document in your experience.
    • weight

      @SerializedName(value="weight", alternate="Weight") @Expose @Nullable public Double weight
      The Weight. Value indicating how much the document is currently trending. The larger the number, the more the document is currently trending around the user (the more relevant it is). Returned documents are sorted by this value.
    • resource

      @SerializedName(value="resource", alternate="Resource") @Expose @Nullable public Entity resource
      The Resource. Used for navigating to the trending document.
  • Constructor Details

    • Trending

      public Trending()
  • 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