Condividi tramite


StorageMigrationResponseInner Class

public final class StorageMigrationResponseInner
extends ProxyOnlyResource

Response for a migration of app content request.

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: Resource Id.

String name()

Get the name property: Resource Name.

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: Resource type.

void validate()

Validates the instance.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

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 an error occurs while reading the StorageMigrationResponseInner.

id

public String id()

Get the id property: Resource Id.

Overrides:

StorageMigrationResponseInner.id()

Returns:

the id value.

name

public String name()

Get the name property: Resource Name.

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: Resource type.

Overrides:

StorageMigrationResponseInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

StorageMigrationResponseInner.validate()

Applies to