Share via


MicrosoftGraphPlannerCategoryDescriptions Class

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

Implements

public final class MicrosoftGraphPlannerCategoryDescriptions
implements JsonSerializable<MicrosoftGraphPlannerCategoryDescriptions>

Represents a planner category descriptions.

Constructor Summary

Constructor Description
MicrosoftGraphPlannerCategoryDescriptions()

Creates an instance of MicrosoftGraphPlannerCategoryDescriptions class.

Method Summary

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

Get the additionalProperties property: plannerCategoryDescriptions.

String category1()

Get the category1 property: The label associated with Category 1.

String category2()

Get the category2 property: The label associated with Category 2.

String category3()

Get the category3 property: The label associated with Category 3.

String category4()

Get the category4 property: The label associated with Category 4.

String category5()

Get the category5 property: The label associated with Category 5.

String category6()

Get the category6 property: The label associated with Category 6.

static MicrosoftGraphPlannerCategoryDescriptions fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerCategoryDescriptions from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphPlannerCategoryDescriptions withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: plannerCategoryDescriptions.

MicrosoftGraphPlannerCategoryDescriptions withCategory1(String category1)

Set the category1 property: The label associated with Category 1.

MicrosoftGraphPlannerCategoryDescriptions withCategory2(String category2)

Set the category2 property: The label associated with Category 2.

MicrosoftGraphPlannerCategoryDescriptions withCategory3(String category3)

Set the category3 property: The label associated with Category 3.

MicrosoftGraphPlannerCategoryDescriptions withCategory4(String category4)

Set the category4 property: The label associated with Category 4.

MicrosoftGraphPlannerCategoryDescriptions withCategory5(String category5)

Set the category5 property: The label associated with Category 5.

MicrosoftGraphPlannerCategoryDescriptions withCategory6(String category6)

Set the category6 property: The label associated with Category 6.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPlannerCategoryDescriptions

public MicrosoftGraphPlannerCategoryDescriptions()

Creates an instance of MicrosoftGraphPlannerCategoryDescriptions class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: plannerCategoryDescriptions.

Returns:

the additionalProperties value.

category1

public String category1()

Get the category1 property: The label associated with Category 1.

Returns:

the category1 value.

category2

public String category2()

Get the category2 property: The label associated with Category 2.

Returns:

the category2 value.

category3

public String category3()

Get the category3 property: The label associated with Category 3.

Returns:

the category3 value.

category4

public String category4()

Get the category4 property: The label associated with Category 4.

Returns:

the category4 value.

category5

public String category5()

Get the category5 property: The label associated with Category 5.

Returns:

the category5 value.

category6

public String category6()

Get the category6 property: The label associated with Category 6.

Returns:

the category6 value.

fromJson

public static MicrosoftGraphPlannerCategoryDescriptions fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerCategoryDescriptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphPlannerCategoryDescriptions 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 MicrosoftGraphPlannerCategoryDescriptions.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphPlannerCategoryDescriptions withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: plannerCategoryDescriptions.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPlannerCategoryDescriptions object itself.

withCategory1

public MicrosoftGraphPlannerCategoryDescriptions withCategory1(String category1)

Set the category1 property: The label associated with Category 1.

Parameters:

category1 - the category1 value to set.

Returns:

the MicrosoftGraphPlannerCategoryDescriptions object itself.

withCategory2

public MicrosoftGraphPlannerCategoryDescriptions withCategory2(String category2)

Set the category2 property: The label associated with Category 2.

Parameters:

category2 - the category2 value to set.

Returns:

the MicrosoftGraphPlannerCategoryDescriptions object itself.

withCategory3

public MicrosoftGraphPlannerCategoryDescriptions withCategory3(String category3)

Set the category3 property: The label associated with Category 3.

Parameters:

category3 - the category3 value to set.

Returns:

the MicrosoftGraphPlannerCategoryDescriptions object itself.

withCategory4

public MicrosoftGraphPlannerCategoryDescriptions withCategory4(String category4)

Set the category4 property: The label associated with Category 4.

Parameters:

category4 - the category4 value to set.

Returns:

the MicrosoftGraphPlannerCategoryDescriptions object itself.

withCategory5

public MicrosoftGraphPlannerCategoryDescriptions withCategory5(String category5)

Set the category5 property: The label associated with Category 5.

Parameters:

category5 - the category5 value to set.

Returns:

the MicrosoftGraphPlannerCategoryDescriptions object itself.

withCategory6

public MicrosoftGraphPlannerCategoryDescriptions withCategory6(String category6)

Set the category6 property: The label associated with Category 6.

Parameters:

category6 - the category6 value to set.

Returns:

the MicrosoftGraphPlannerCategoryDescriptions object itself.

Applies to