Class MicrosoftGraphTrending

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTrending

public final class MicrosoftGraphTrending extends MicrosoftGraphEntity
trending.
  • Constructor Details

    • MicrosoftGraphTrending

      public MicrosoftGraphTrending()
      Creates an instance of MicrosoftGraphTrending class.
  • Method Details

    • lastModifiedDateTime

      public OffsetDateTime lastModifiedDateTime()
      Get the lastModifiedDateTime property: The lastModifiedDateTime property.
      Returns:
      the lastModifiedDateTime value.
    • withLastModifiedDateTime

      public MicrosoftGraphTrending withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
      Set the lastModifiedDateTime property: The lastModifiedDateTime property.
      Parameters:
      lastModifiedDateTime - the lastModifiedDateTime value to set.
      Returns:
      the MicrosoftGraphTrending object itself.
    • resourceReference

      public MicrosoftGraphResourceReference resourceReference()
      Get the resourceReference property: resourceReference.
      Returns:
      the resourceReference value.
    • withResourceReference

      public MicrosoftGraphTrending withResourceReference(MicrosoftGraphResourceReference resourceReference)
      Set the resourceReference property: resourceReference.
      Parameters:
      resourceReference - the resourceReference value to set.
      Returns:
      the MicrosoftGraphTrending object itself.
    • resourceVisualization

      public MicrosoftGraphResourceVisualization resourceVisualization()
      Get the resourceVisualization property: resourceVisualization.
      Returns:
      the resourceVisualization value.
    • withResourceVisualization

      public MicrosoftGraphTrending withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization)
      Set the resourceVisualization property: resourceVisualization.
      Parameters:
      resourceVisualization - the resourceVisualization value to set.
      Returns:
      the MicrosoftGraphTrending object itself.
    • weight

      public Double weight()
      Get the weight property: 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.
      Returns:
      the weight value.
    • withWeight

      public MicrosoftGraphTrending withWeight(Double weight)
      Set the weight property: 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.
      Parameters:
      weight - the weight value to set.
      Returns:
      the MicrosoftGraphTrending object itself.
    • resource

      public MicrosoftGraphEntity resource()
      Get the resource property: entity.
      Returns:
      the resource value.
    • withResource

      public MicrosoftGraphTrending withResource(MicrosoftGraphEntity resource)
      Set the resource property: entity.
      Parameters:
      resource - the resource value to set.
      Returns:
      the MicrosoftGraphTrending object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: trending.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphTrending withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: trending.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphTrending object itself.
    • withId

      public MicrosoftGraphTrending withId(String id)
      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.