CitraClient.Schemas.UploadListItemResponse (citra_client v0.3.0)
View SourceStruct generated from the UploadListItemResponse schema.
Fields
:created_at—DateTime.t()(API key:createdAt):detail—String.t():expires_at—DateTime.t()(API key:expiresAt):fov—number():max_sources—integer()(API key:maxSources):original_filename—String.t()(API key:originalFilename):status—ImageStatus(see OpenAPI spec):task_id— UUIDString.t()(API key:taskId):telescope_id— UUIDString.t()(API key:telescopeId):telescope_name—String.t()(API key:telescopeName):upload_id— UUIDString.t()(API key:uploadId):user_id— UUIDString.t()(API key:userId):username—String.t()
Summary
Functions
Build this struct from a decoded JSON map received from the API. Unknown fields are ignored.
Convert this struct into a map with the API's camelCase keys, ready
to be JSON-encoded. Fields whose value is nil are omitted.
Types
@type t() :: %CitraClient.Schemas.UploadListItemResponse{ created_at: DateTime.t() | nil, detail: String.t() | nil, expires_at: DateTime.t() | nil, fov: number() | nil, max_sources: integer() | nil, original_filename: String.t() | nil, status: map() | String.t() | nil, task_id: String.t() | nil, telescope_id: String.t() | nil, telescope_name: String.t() | nil, upload_id: String.t() | nil, user_id: String.t() | nil, username: String.t() | nil }