Compartilhar via


MicrosoftGraphPlannerTaskDetails Class

public final class MicrosoftGraphPlannerTaskDetails
extends MicrosoftGraphEntity

plannerTaskDetails.

Constructor Summary

Constructor Description
MicrosoftGraphPlannerTaskDetails()

Creates an instance of MicrosoftGraphPlannerTaskDetails class.

Method Summary

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

Get the additionalProperties property: plannerTaskDetails.

Map<String,Object> checklist()

Get the checklist property: plannerChecklistItems.

String description()

Get the description property: Description of the task.

static MicrosoftGraphPlannerTaskDetails fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerTaskDetails from the JsonReader.

MicrosoftGraphPlannerPreviewType previewType()

Get the previewType property: plannerPreviewType.

Map<String,Object> references()

Get the references property: plannerExternalReferences.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphPlannerTaskDetails withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: plannerTaskDetails.

MicrosoftGraphPlannerTaskDetails withChecklist(Map<String,Object> checklist)

Set the checklist property: plannerChecklistItems.

MicrosoftGraphPlannerTaskDetails withDescription(String description)

Set the description property: Description of the task.

MicrosoftGraphPlannerTaskDetails withId(String id)

Set the id property: Read-only.

MicrosoftGraphPlannerTaskDetails withPreviewType(MicrosoftGraphPlannerPreviewType previewType)

Set the previewType property: plannerPreviewType.

MicrosoftGraphPlannerTaskDetails withReferences(Map<String,Object> references)

Set the references property: plannerExternalReferences.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPlannerTaskDetails

public MicrosoftGraphPlannerTaskDetails()

Creates an instance of MicrosoftGraphPlannerTaskDetails class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: plannerTaskDetails.

Overrides:

MicrosoftGraphPlannerTaskDetails.additionalProperties()

Returns:

the additionalProperties value.

checklist

public Map checklist()

Get the checklist property: plannerChecklistItems.

Returns:

the checklist value.

description

public String description()

Get the description property: Description of the task.

Returns:

the description value.

fromJson

public static MicrosoftGraphPlannerTaskDetails fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPlannerTaskDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

previewType

public MicrosoftGraphPlannerPreviewType previewType()

Get the previewType property: plannerPreviewType.

Returns:

the previewType value.

references

public Map references()

Get the references property: plannerExternalReferences.

Returns:

the references value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphPlannerTaskDetails.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphPlannerTaskDetails.validate()

withAdditionalProperties

public MicrosoftGraphPlannerTaskDetails withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: plannerTaskDetails.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPlannerTaskDetails object itself.

withChecklist

public MicrosoftGraphPlannerTaskDetails withChecklist(Map checklist)

Set the checklist property: plannerChecklistItems.

Parameters:

checklist - the checklist value to set.

Returns:

the MicrosoftGraphPlannerTaskDetails object itself.

withDescription

public MicrosoftGraphPlannerTaskDetails withDescription(String description)

Set the description property: Description of the task.

Parameters:

description - the description value to set.

Returns:

the MicrosoftGraphPlannerTaskDetails object itself.

withId

public MicrosoftGraphPlannerTaskDetails withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphPlannerTaskDetails.withId(String id)

Parameters:

id

withPreviewType

public MicrosoftGraphPlannerTaskDetails withPreviewType(MicrosoftGraphPlannerPreviewType previewType)

Set the previewType property: plannerPreviewType.

Parameters:

previewType - the previewType value to set.

Returns:

the MicrosoftGraphPlannerTaskDetails object itself.

withReferences

public MicrosoftGraphPlannerTaskDetails withReferences(Map references)

Set the references property: plannerExternalReferences.

Parameters:

references - the references value to set.

Returns:

the MicrosoftGraphPlannerTaskDetails object itself.

Applies to