LibraryResourceInner Class

public final class LibraryResourceInner
extends EntityResource

Library response details.

Constructor Summary

Constructor Description
LibraryResourceInner()

Creates an instance of LibraryResourceInner class.

Method Summary

Modifier and Type Method and Description
String containerName()

Get the containerName property: Storage blob container name.

String creatorId()

Get the creatorId property: Creator Id of the library/package.

String etag()

Get the etag property: Resource Etag.

static LibraryResourceInner fromJson(JsonReader jsonReader)

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

String namePropertiesName()

Get the name property: Name of the library.

String path()

Get the path property: Storage blob path of library.

String provisioningStatus()

Get the provisioningStatus property: Provisioning status of the library/package.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String typePropertiesType()

Get the type property: Type of the library.

OffsetDateTime uploadedTimestamp()

Get the uploadedTimestamp property: The last update time of the library.

void validate()

Validates the instance.

LibraryResourceInner withContainerName(String containerName)

Set the containerName property: Storage blob container name.

LibraryResourceInner withNamePropertiesName(String name)

Set the name property: Name of the library.

LibraryResourceInner withPath(String path)

Set the path property: Storage blob path of library.

LibraryResourceInner withTypePropertiesType(String type)

Set the type property: Type of the library.

Methods inherited from EntityResource

Methods inherited from java.lang.Object

Constructor Details

LibraryResourceInner

public LibraryResourceInner()

Creates an instance of LibraryResourceInner class.

Method Details

containerName

public String containerName()

Get the containerName property: Storage blob container name.

Returns:

the containerName value.

creatorId

public String creatorId()

Get the creatorId property: Creator Id of the library/package.

Returns:

the creatorId value.

etag

public String etag()

Get the etag property: Resource Etag.

Overrides:

LibraryResourceInner.etag()

Returns:

the etag value.

fromJson

public static LibraryResourceInner fromJson(JsonReader jsonReader)

Reads an instance of LibraryResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

LibraryResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

LibraryResourceInner.name()

Returns:

the name value.

namePropertiesName

public String namePropertiesName()

Get the name property: Name of the library.

Returns:

the name value.

path

public String path()

Get the path property: Storage blob path of library.

Returns:

the path value.

provisioningStatus

public String provisioningStatus()

Get the provisioningStatus property: Provisioning status of the library/package.

Returns:

the provisioningStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LibraryResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

LibraryResourceInner.type()

Returns:

the type value.

typePropertiesType

public String typePropertiesType()

Get the type property: Type of the library.

Returns:

the type value.

uploadedTimestamp

public OffsetDateTime uploadedTimestamp()

Get the uploadedTimestamp property: The last update time of the library.

Returns:

the uploadedTimestamp value.

validate

public void validate()

Validates the instance.

Overrides:

LibraryResourceInner.validate()

withContainerName

public LibraryResourceInner withContainerName(String containerName)

Set the containerName property: Storage blob container name.

Parameters:

containerName - the containerName value to set.

Returns:

the LibraryResourceInner object itself.

withNamePropertiesName

public LibraryResourceInner withNamePropertiesName(String name)

Set the name property: Name of the library.

Parameters:

name - the name value to set.

Returns:

the LibraryResourceInner object itself.

withPath

public LibraryResourceInner withPath(String path)

Set the path property: Storage blob path of library.

Parameters:

path - the path value to set.

Returns:

the LibraryResourceInner object itself.

withTypePropertiesType

public LibraryResourceInner withTypePropertiesType(String type)

Set the type property: Type of the library.

Parameters:

type - the type value to set.

Returns:

the LibraryResourceInner object itself.

Applies to