ExStreamClient.Model.ImageSize (ExStreamClient v0.1.7)

View Source

Schema representing a ImageSize

Summary

Functions

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

Types

t()

@type t() :: %ExStreamClient.Model.ImageSize{
  crop: (:center | :right | :left | :bottom | :top) | nil,
  height: integer() | nil,
  resize: (:fill | :scale | :crop | :clip) | nil,
  width: integer() | nil
}

Functions

decode(map)

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

nested_components()