SharedGalleryInner Class

public final class SharedGalleryInner
extends PirSharedGalleryResource

Specifies information about the Shared Gallery that you want to create or update.

Constructor Summary

Constructor Description
SharedGalleryInner()

Creates an instance of SharedGalleryInner class.

Method Summary

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

Get the artifactTags property: The artifact tags of a shared gallery resource.

static SharedGalleryInner fromJson(JsonReader jsonReader)

Reads an instance of SharedGalleryInner from the JsonReader.

String location()

Get the location property: Resource location.

String name()

Get the name property: Resource name.

JsonWriter toJson(JsonWriter jsonWriter)
String uniqueId()

Get the uniqueId property: The unique id of this shared gallery.

void validate()

Validates the instance.

SharedGalleryInner withUniqueId(String uniqueId)

Set the uniqueId property: The unique id of this shared gallery.

Methods inherited from PirSharedGalleryResource

Methods inherited from java.lang.Object

Constructor Details

SharedGalleryInner

public SharedGalleryInner()

Creates an instance of SharedGalleryInner class.

Method Details

artifactTags

public Map artifactTags()

Get the artifactTags property: The artifact tags of a shared gallery resource.

Returns:

the artifactTags value.

fromJson

public static SharedGalleryInner fromJson(JsonReader jsonReader)

Reads an instance of SharedGalleryInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

location

public String location()

Get the location property: Resource location.

Overrides:

SharedGalleryInner.location()

Returns:

the location value.

name

public String name()

Get the name property: Resource name.

Overrides:

SharedGalleryInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SharedGalleryInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uniqueId

public String uniqueId()

Get the uniqueId property: The unique id of this shared gallery.

Overrides:

SharedGalleryInner.uniqueId()

Returns:

the uniqueId value.

validate

public void validate()

Validates the instance.

Overrides:

SharedGalleryInner.validate()

withUniqueId

public SharedGalleryInner withUniqueId(String uniqueId)

Set the uniqueId property: The unique id of this shared gallery.

Overrides:

SharedGalleryInner.withUniqueId(String uniqueId)

Parameters:

uniqueId - the uniqueId value to set.

Returns:

the SharedGalleryInner object itself.

Applies to