次の方法で共有


ProjectTaskInner Class

public final class ProjectTaskInner
extends ProxyResource

A task resource.

Constructor Summary

Constructor Description
ProjectTaskInner()

Creates an instance of ProjectTaskInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: HTTP strong entity tag value.

static ProjectTaskInner fromJson(JsonReader jsonReader)

Reads an instance of ProjectTaskInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

ProjectTaskProperties properties()

Get the properties property: Custom task properties.

SystemDataAutoGenerated systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ProjectTaskInner withEtag(String etag)

Set the etag property: HTTP strong entity tag value.

ProjectTaskInner withProperties(ProjectTaskProperties properties)

Set the properties property: Custom task properties.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ProjectTaskInner

public ProjectTaskInner()

Creates an instance of ProjectTaskInner class.

Method Details

etag

public String etag()

Get the etag property: HTTP strong entity tag value. This is ignored if submitted.

Returns:

the etag value.

fromJson

public static ProjectTaskInner fromJson(JsonReader jsonReader)

Reads an instance of ProjectTaskInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ProjectTaskInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ProjectTaskInner.name()

Returns:

the name value.

properties

public ProjectTaskProperties properties()

Get the properties property: Custom task properties.

Returns:

the properties value.

systemData

public SystemDataAutoGenerated systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ProjectTaskInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ProjectTaskInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEtag

public ProjectTaskInner withEtag(String etag)

Set the etag property: HTTP strong entity tag value. This is ignored if submitted.

Parameters:

etag - the etag value to set.

Returns:

the ProjectTaskInner object itself.

withProperties

public ProjectTaskInner withProperties(ProjectTaskProperties properties)

Set the properties property: Custom task properties.

Parameters:

properties - the properties value to set.

Returns:

the ProjectTaskInner object itself.

Applies to