FileWorkspaceDetailsProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.support.fluent.models.FileWorkspaceDetailsProperties

Implements

public final class FileWorkspaceDetailsProperties
implements JsonSerializable<FileWorkspaceDetailsProperties>

Describes the properties of a file workspace.

Constructor Summary

Constructor Description
FileWorkspaceDetailsProperties()

Creates an instance of FileWorkspaceDetailsProperties class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdOn()

Get the createdOn property: Time in UTC (ISO 8601 format) when file workspace was created.

OffsetDateTime expirationTime()

Get the expirationTime property: Time in UTC (ISO 8601 format) when file workspace is going to expire.

static FileWorkspaceDetailsProperties fromJson(JsonReader jsonReader)

Reads an instance of FileWorkspaceDetailsProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

FileWorkspaceDetailsProperties

public FileWorkspaceDetailsProperties()

Creates an instance of FileWorkspaceDetailsProperties class.

Method Details

createdOn

public OffsetDateTime createdOn()

Get the createdOn property: Time in UTC (ISO 8601 format) when file workspace was created.

Returns:

the createdOn value.

expirationTime

public OffsetDateTime expirationTime()

Get the expirationTime property: Time in UTC (ISO 8601 format) when file workspace is going to expire.

Returns:

the expirationTime value.

fromJson

public static FileWorkspaceDetailsProperties fromJson(JsonReader jsonReader)

Reads an instance of FileWorkspaceDetailsProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to