TwitchApi.ApiJson.Item.Request (TwitchApi v0.1.2) View Source

Provides an ecto schema for working with twitch api json request items.

Link to this section Summary

Functions

Provides the changeset for twitch api json request items

Link to this section Types

Specs

t() :: %TwitchApi.ApiJson.Item.Request{
  authentication: [String.t()],
  authorization: [String.t()],
  body_params: [TwitchApi.ApiJson.Item.Request.Param.t()],
  optional_body_params: [TwitchApi.ApiJson.Item.Request.Param.t()],
  optional_query_params: [TwitchApi.ApiJson.Item.Request.Param.t()],
  pagination: [String.t()],
  query_params: [TwitchApi.ApiJson.Item.Request.Param.t()],
  response_codes: [TwitchApi.ApiJson.Item.Request.ResponseCode.t()],
  response_fields: [TwitchApi.ApiJson.Item.Request.Field.t()],
  response_values: [TwitchApi.ApiJson.Item.Request.Param.t()],
  url: [TwitchApi.ApiJson.Item.Request.Url.t()]
}

Link to this section Functions

Link to this function

changeset(struct, params)

View Source

Specs

changeset(
  %TwitchApi.ApiJson.Item.Request{
    authentication: term(),
    authorization: term(),
    body_params: term(),
    optional_body_params: term(),
    optional_query_params: term(),
    pagination: term(),
    query_params: term(),
    response_codes: term(),
    response_fields: term(),
    response_values: term(),
    url: term()
  },
  %{required(binary()) => any()}
) :: Ecto.Changeset.t()

Provides the changeset for twitch api json request items