FileStatus

@Serializable
data class FileStatus(val details: List<Map<String, JsonElement>>? = null, val message: String? = null, val code: Int? = null)

Status of a File that uses a common error model.

Constructors

Link copied to clipboard
constructor(details: List<Map<String, JsonElement>>? = null, message: String? = null, code: Int? = null)

Properties

Link copied to clipboard
val code: Int? = null

The status code. 0 for OK, 1 for CANCELLED

Link copied to clipboard
val details: List<Map<String, JsonElement>>? = null

A list of messages that carry the error details. There is a common set of message types for APIs to use.

Link copied to clipboard
val message: String? = null

A list of messages that carry the error details. There is a common set of message types for APIs to use.