次の方法で共有


ProjectFileInner Class

public final class ProjectFileInner
extends ProxyResource

A file resource.

Constructor Summary

Constructor Description
ProjectFileInner()

Creates an instance of ProjectFileInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: HTTP strong entity tag value.

static ProjectFileInner fromJson(JsonReader jsonReader)

Reads an instance of ProjectFileInner 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.

ProjectFileProperties properties()

Get the properties property: Custom file 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.

ProjectFileInner withEtag(String etag)

Set the etag property: HTTP strong entity tag value.

ProjectFileInner withProperties(ProjectFileProperties properties)

Set the properties property: Custom file properties.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ProjectFileInner

public ProjectFileInner()

Creates an instance of ProjectFileInner 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 ProjectFileInner fromJson(JsonReader jsonReader)

Reads an instance of ProjectFileInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProjectFileInner 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:

ProjectFileInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ProjectFileInner.name()

Returns:

the name value.

properties

public ProjectFileProperties properties()

Get the properties property: Custom file 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:

ProjectFileInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ProjectFileInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEtag

public ProjectFileInner 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 ProjectFileInner object itself.

withProperties

public ProjectFileInner withProperties(ProjectFileProperties properties)

Set the properties property: Custom file properties.

Parameters:

properties - the properties value to set.

Returns:

the ProjectFileInner object itself.

Applies to