ServerEndpointRecallError Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.ServerEndpointRecallError

Implements

public final class ServerEndpointRecallError
implements JsonSerializable<ServerEndpointRecallError>

Server endpoint recall error object.

Method Summary

Modifier and Type Method and Description
Long count()

Get the count property: Count of occurences of the error.

Integer errorCode()

Get the errorCode property: Error code (HResult).

static ServerEndpointRecallError fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointRecallError from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

count

public Long count()

Get the count property: Count of occurences of the error.

Returns:

the count value.

errorCode

public Integer errorCode()

Get the errorCode property: Error code (HResult).

Returns:

the errorCode value.

fromJson

public static ServerEndpointRecallError fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointRecallError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to