Compartilhar via


MicrosoftGraphPlannerBucket Class

public final class MicrosoftGraphPlannerBucket
extends MicrosoftGraphEntity

plannerBucket.

Constructor Summary

Constructor Description
MicrosoftGraphPlannerBucket()

Creates an instance of MicrosoftGraphPlannerBucket class.

Method Summary

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

Get the additionalProperties property: plannerBucket.

static MicrosoftGraphPlannerBucket fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerBucket from the JsonReader.

String name()

Get the name property: Name of the bucket.

String orderHint()

Get the orderHint property: Hint used to order items of this type in a list view.

String planId()

Get the planId property: Plan ID to which the bucket belongs.

List<MicrosoftGraphPlannerTask> tasks()

Get the tasks property: Read-only.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphPlannerBucket withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: plannerBucket.

MicrosoftGraphPlannerBucket withId(String id)

Set the id property: Read-only.

MicrosoftGraphPlannerBucket withName(String name)

Set the name property: Name of the bucket.

MicrosoftGraphPlannerBucket withOrderHint(String orderHint)

Set the orderHint property: Hint used to order items of this type in a list view.

MicrosoftGraphPlannerBucket withPlanId(String planId)

Set the planId property: Plan ID to which the bucket belongs.

MicrosoftGraphPlannerBucket withTasks(List<MicrosoftGraphPlannerTask> tasks)

Set the tasks property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPlannerBucket

public MicrosoftGraphPlannerBucket()

Creates an instance of MicrosoftGraphPlannerBucket class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: plannerBucket.

Overrides:

MicrosoftGraphPlannerBucket.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphPlannerBucket fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerBucket from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the bucket.

Returns:

the name value.

orderHint

public String orderHint()

Get the orderHint property: Hint used to order items of this type in a list view. The format is defined as outlined here.

Returns:

the orderHint value.

planId

public String planId()

Get the planId property: Plan ID to which the bucket belongs.

Returns:

the planId value.

tasks

public List tasks()

Get the tasks property: Read-only. Nullable. The collection of tasks in the bucket.

Returns:

the tasks value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphPlannerBucket.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphPlannerBucket.validate()

withAdditionalProperties

public MicrosoftGraphPlannerBucket withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: plannerBucket.

Overrides:

MicrosoftGraphPlannerBucket.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPlannerBucket object itself.

withId

public MicrosoftGraphPlannerBucket withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphPlannerBucket.withId(String id)

Parameters:

id

withName

public MicrosoftGraphPlannerBucket withName(String name)

Set the name property: Name of the bucket.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphPlannerBucket object itself.

withOrderHint

public MicrosoftGraphPlannerBucket withOrderHint(String orderHint)

Set the orderHint property: Hint used to order items of this type in a list view. The format is defined as outlined here.

Parameters:

orderHint - the orderHint value to set.

Returns:

the MicrosoftGraphPlannerBucket object itself.

withPlanId

public MicrosoftGraphPlannerBucket withPlanId(String planId)

Set the planId property: Plan ID to which the bucket belongs.

Parameters:

planId - the planId value to set.

Returns:

the MicrosoftGraphPlannerBucket object itself.

withTasks

public MicrosoftGraphPlannerBucket withTasks(List tasks)

Set the tasks property: Read-only. Nullable. The collection of tasks in the bucket.

Parameters:

tasks - the tasks value to set.

Returns:

the MicrosoftGraphPlannerBucket object itself.

Applies to