View Source GitHub.Gist (GitHub REST API Client v0.3.1)

Provides struct and types for a Gist

Link to this section Summary

Link to this section Types

@type simple() :: %GitHub.Gist{
  __info__: map(),
  comments: integer() | nil,
  comments_url: String.t() | nil,
  commits_url: String.t() | nil,
  created_at: String.t() | nil,
  description: String.t() | nil,
  files: GitHub.Gist.Files.simple() | nil,
  fork_of: t() | nil,
  forks: [map()] | nil,
  forks_url: String.t() | nil,
  git_pull_url: String.t() | nil,
  git_push_url: String.t() | nil,
  history: [map()] | nil,
  html_url: String.t() | nil,
  id: String.t() | nil,
  node_id: String.t() | nil,
  owner: GitHub.User.simple() | nil,
  public: boolean() | nil,
  truncated: boolean() | nil,
  updated_at: String.t() | nil,
  url: String.t() | nil,
  user: String.t() | nil
}
@type t() :: %GitHub.Gist{
  __info__: map(),
  comments: integer(),
  comments_url: String.t(),
  commits_url: String.t(),
  created_at: DateTime.t(),
  description: String.t() | nil,
  files: GitHub.Gist.Files.t(),
  fork_of: term(),
  forks: [GitHub.Gist.Forks.t()] | nil,
  forks_url: String.t(),
  git_pull_url: String.t(),
  git_push_url: String.t(),
  history: [GitHub.Gist.History.t()] | nil,
  html_url: String.t(),
  id: String.t(),
  node_id: String.t(),
  owner: GitHub.User.simple() | nil,
  public: boolean(),
  truncated: boolean() | nil,
  updated_at: DateTime.t(),
  url: String.t(),
  user: GitHub.User.simple() | nil
}