CatalogSyncError Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.models.CatalogSyncError

Implements

public final class CatalogSyncError
implements JsonSerializable<CatalogSyncError>

An individual synchronization error.

Constructor Summary

Constructor Description
CatalogSyncError()

Creates an instance of CatalogSyncError class.

Method Summary

Modifier and Type Method and Description
List<CatalogErrorDetails> errorDetails()

Get the errorDetails property: Errors associated with the file.

static CatalogSyncError fromJson(JsonReader jsonReader)

Reads an instance of CatalogSyncError from the JsonReader.

String path()

Get the path property: The path of the file the error is associated with.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

CatalogSyncError

public CatalogSyncError()

Creates an instance of CatalogSyncError class.

Method Details

errorDetails

public List<CatalogErrorDetails> errorDetails()

Get the errorDetails property: Errors associated with the file.

Returns:

the errorDetails value.

fromJson

public static CatalogSyncError fromJson(JsonReader jsonReader)

Reads an instance of CatalogSyncError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

path

public String path()

Get the path property: The path of the file the error is associated with.

Returns:

the path value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to