你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphTrending Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphTrending
- com.
- com.
public final class MicrosoftGraphTrending
extends MicrosoftGraphEntity
trending.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphTrending() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
lastModifiedDateTime()
Get the last |
Microsoft |
resource()
Get the resource property: entity. |
Microsoft |
resourceReference()
Get the resource |
Microsoft |
resourceVisualization()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Double |
weight()
Get the weight property: Value indicating how much the document is currently trending. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withResource(MicrosoftGraphEntity resource)
Set the resource property: entity. |
Microsoft |
withResourceReference(MicrosoftGraphResourceReference resourceReference)
Set the resource |
Microsoft |
withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization)
Set the resource |
Microsoft |
withWeight(Double weight)
Set the weight property: Value indicating how much the document is currently trending. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphTrending
public MicrosoftGraphTrending()
Creates an instance of MicrosoftGraphTrending class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: trending.
Overrides:
MicrosoftGraphTrending.additionalProperties()Returns:
fromJson
public static MicrosoftGraphTrending fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphTrending from the JsonReader.
Parameters:
Returns:
Throws:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The lastModifiedDateTime property.
Returns:
resource
public MicrosoftGraphEntity resource()
Get the resource property: entity.
Returns:
resourceReference
public MicrosoftGraphResourceReference resourceReference()
Get the resourceReference property: resourceReference.
Returns:
resourceVisualization
public MicrosoftGraphResourceVisualization resourceVisualization()
Get the resourceVisualization property: resourceVisualization.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphTrending.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphTrending.validate()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:
withAdditionalProperties
public MicrosoftGraphTrending withAdditionalProperties(Map
Set the additionalProperties property: trending.
Overrides:
MicrosoftGraphTrending.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withId
public MicrosoftGraphTrending withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphTrending.withId(String id)Parameters:
withLastModifiedDateTime
public MicrosoftGraphTrending withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: The lastModifiedDateTime property.
Parameters:
Returns:
withResource
public MicrosoftGraphTrending withResource(MicrosoftGraphEntity resource)
Set the resource property: entity.
Parameters:
Returns:
withResourceReference
public MicrosoftGraphTrending withResourceReference(MicrosoftGraphResourceReference resourceReference)
Set the resourceReference property: resourceReference.
Parameters:
Returns:
withResourceVisualization
public MicrosoftGraphTrending withResourceVisualization(MicrosoftGraphResourceVisualization resourceVisualization)
Set the resourceVisualization property: resourceVisualization.
Parameters:
Returns:
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:
Returns: