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 Summary
Constructors Constructor Description MicrosoftGraphTrending()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: trending.OffsetDateTimelastModifiedDateTime()Get the lastModifiedDateTime property: The lastModifiedDateTime property.MicrosoftGraphEntityresource()Get the resource property: entity.MicrosoftGraphResourceReferenceresourceReference()Get the resourceReference property: resourceReference.MicrosoftGraphResourceVisualizationresourceVisualization()Get the resourceVisualization property: resourceVisualization.voidvalidate()Validates the instance.Doubleweight()Get the weight property: Value indicating how much the document is currently trending.MicrosoftGraphTrendingwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: trending.MicrosoftGraphTrendingwithId(String id)Set the id property: Read-only.MicrosoftGraphTrendingwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: The lastModifiedDateTime property.MicrosoftGraphTrendingwithResource(MicrosoftGraphEntity resource)Set the resource property: entity.MicrosoftGraphTrendingwithResourceReference(MicrosoftGraphResourceReference resourceReference)Set the resourceReference property: resourceReference.MicrosoftGraphTrendingwithResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization)Set the resourceVisualization property: resourceVisualization.MicrosoftGraphTrendingwithWeight(Double weight)Set the weight property: Value indicating how much the document is currently trending.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphTrending withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: trending.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- 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:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-