Class MicrosoftGraphTrending
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTrending
trending.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphTrending class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: trending.Get the lastModifiedDateTime property: The lastModifiedDateTime property.resource()Get the resource property: entity.Get the resourceReference property: resourceReference.Get the resourceVisualization property: resourceVisualization.voidvalidate()Validates the instance.weight()Get the weight property: Value indicating how much the document is currently trending.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: trending.Set the id property: Read-only.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: The lastModifiedDateTime property.withResource(MicrosoftGraphEntity resource) Set the resource property: entity.withResourceReference(MicrosoftGraphResourceReference resourceReference) Set the resourceReference property: resourceReference.withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization) Set the resourceVisualization property: resourceVisualization.withWeight(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
-
Constructor Details
-
MicrosoftGraphTrending
public MicrosoftGraphTrending()Creates an instance of MicrosoftGraphTrending class.
-
-
Method Details
-
lastModifiedDateTime
Get the lastModifiedDateTime property: The lastModifiedDateTime property.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
Set the lastModifiedDateTime property: The lastModifiedDateTime property.- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphTrending object itself.
-
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
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
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
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
Get the resource property: entity.- Returns:
- the resource value.
-
withResource
Set the resource property: entity.- Parameters:
resource- the resource value to set.- Returns:
- the MicrosoftGraphTrending object itself.
-
additionalProperties
Get the additionalProperties property: trending.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: trending.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphTrending object itself.
-
withId
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.
-