你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphFolderView Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphFolderView

Implements

public final class MicrosoftGraphFolderView
implements JsonSerializable<MicrosoftGraphFolderView>

folderView.

Constructor Summary

Constructor Description
MicrosoftGraphFolderView()

Creates an instance of MicrosoftGraphFolderView class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: folderView.

static MicrosoftGraphFolderView fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphFolderView from the JsonReader.

String sortBy()

Get the sortBy property: The method by which the folder should be sorted.

String sortOrder()

Get the sortOrder property: If true, indicates that items should be sorted in descending order.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String viewType()

Get the viewType property: The type of view that should be used to represent the folder.

MicrosoftGraphFolderView withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: folderView.

MicrosoftGraphFolderView withSortBy(String sortBy)

Set the sortBy property: The method by which the folder should be sorted.

MicrosoftGraphFolderView withSortOrder(String sortOrder)

Set the sortOrder property: If true, indicates that items should be sorted in descending order.

MicrosoftGraphFolderView withViewType(String viewType)

Set the viewType property: The type of view that should be used to represent the folder.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphFolderView

public MicrosoftGraphFolderView()

Creates an instance of MicrosoftGraphFolderView class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: folderView.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphFolderView fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphFolderView from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphFolderView if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphFolderView.

sortBy

public String sortBy()

Get the sortBy property: The method by which the folder should be sorted.

Returns:

the sortBy value.

sortOrder

public String sortOrder()

Get the sortOrder property: If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending.

Returns:

the sortOrder value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

viewType

public String viewType()

Get the viewType property: The type of view that should be used to represent the folder.

Returns:

the viewType value.

withAdditionalProperties

public MicrosoftGraphFolderView withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: folderView.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphFolderView object itself.

withSortBy

public MicrosoftGraphFolderView withSortBy(String sortBy)

Set the sortBy property: The method by which the folder should be sorted.

Parameters:

sortBy - the sortBy value to set.

Returns:

the MicrosoftGraphFolderView object itself.

withSortOrder

public MicrosoftGraphFolderView withSortOrder(String sortOrder)

Set the sortOrder property: If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending.

Parameters:

sortOrder - the sortOrder value to set.

Returns:

the MicrosoftGraphFolderView object itself.

withViewType

public MicrosoftGraphFolderView withViewType(String viewType)

Set the viewType property: The type of view that should be used to represent the folder.

Parameters:

viewType - the viewType value to set.

Returns:

the MicrosoftGraphFolderView object itself.

Applies to