ACPex.Schema.Client.FsReadTextFileResponse (ACPex v0.1.0)

View Source

Response containing file contents.

Sent by the client in response to a FsReadTextFileRequest, containing the requested file content.

Required Fields

  • content - The file content (string)

Optional Fields

  • meta - Additional metadata (map)

Example

%ACPex.Schema.Client.FsReadTextFileResponse{
  content: "File contents here..."
}

JSON Representation

{
  "content": "File contents here..."
}

Summary

Functions

Creates a changeset for validation.

Types

t()

@type t() :: %ACPex.Schema.Client.FsReadTextFileResponse{
  content: String.t(),
  meta: map() | nil
}

Functions

changeset(struct \\ %__MODULE__{}, params)

@spec changeset(t(), map()) :: Ecto.Changeset.t()

Creates a changeset for validation.

Required Fields

  • content - Must be present