StorageMigrationResponseInner Class

public final class StorageMigrationResponseInner
extends ProxyOnlyResource

Response for a migration of app content request.

Constructor Summary

Constructor Description
StorageMigrationResponseInner()

Creates an instance of StorageMigrationResponseInner class.

Method Summary

Modifier and Type Method and Description
static StorageMigrationResponseInner fromJson(JsonReader jsonReader)

Reads an instance of StorageMigrationResponseInner 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 operationId()

Get the operationId property: When server starts the migration process, it will return an operation ID identifying that particular migration operation.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StorageMigrationResponseInner withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

StorageMigrationResponseInner

public StorageMigrationResponseInner()

Creates an instance of StorageMigrationResponseInner class.

Method Details

fromJson

public static StorageMigrationResponseInner fromJson(JsonReader jsonReader)

Reads an instance of StorageMigrationResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

StorageMigrationResponseInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StorageMigrationResponseInner.name()

Returns:

the name value.

operationId

public String operationId()

Get the operationId property: When server starts the migration process, it will return an operation ID identifying that particular migration operation.

Returns:

the operationId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StorageMigrationResponseInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StorageMigrationResponseInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

StorageMigrationResponseInner.validate()

withKind

public StorageMigrationResponseInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

StorageMigrationResponseInner.withKind(String kind)

Parameters:

kind

Applies to