Snippet

object Snippet
class Object
trait Matchable
class Any

Value members

Concrete methods

def author[A](innerSelection: SelectionBuilder[UserCore, A]): SelectionBuilder[Snippet, Option[A]]

The owner of the snippet.

The owner of the snippet.

def blobs[A](paths: Option[List[String]], after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[SnippetBlobConnection, A]): SelectionBuilder[Snippet, Option[A]]

Snippet blobs.

Snippet blobs.

def createdAt: SelectionBuilder[Snippet, Time]

Timestamp this snippet was created.

Timestamp this snippet was created.

def description: SelectionBuilder[Snippet, Option[String]]

Description of the snippet.

Description of the snippet.

def descriptionHtml: SelectionBuilder[Snippet, Option[String]]

The GitLab Flavored Markdown rendering of description

The GitLab Flavored Markdown rendering of description

def discussions[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[DiscussionConnection, A]): SelectionBuilder[Snippet, A]

All discussions on this noteable.

All discussions on this noteable.

def fileName: SelectionBuilder[Snippet, Option[String]]

File Name of the snippet.

File Name of the snippet.

def httpUrlToRepo: SelectionBuilder[Snippet, Option[String]]

HTTP URL to the snippet repository.

HTTP URL to the snippet repository.

def id: SelectionBuilder[Snippet, SnippetID]

ID of the snippet.

ID of the snippet.

def notes[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[NoteConnection, A]): SelectionBuilder[Snippet, A]

All notes on this noteable.

All notes on this noteable.

def project[A](innerSelection: SelectionBuilder[Project, A]): SelectionBuilder[Snippet, Option[A]]

The project the snippet is associated with.

The project the snippet is associated with.

def rawUrl: SelectionBuilder[Snippet, String]

Raw URL of the snippet.

Raw URL of the snippet.

def sshUrlToRepo: SelectionBuilder[Snippet, Option[String]]

SSH URL to the snippet repository.

SSH URL to the snippet repository.

def title: SelectionBuilder[Snippet, String]

Title of the snippet.

Title of the snippet.

def updatedAt: SelectionBuilder[Snippet, Time]

Timestamp this snippet was updated.

Timestamp this snippet was updated.

def userPermissions[A](innerSelection: SelectionBuilder[SnippetPermissions, A]): SelectionBuilder[Snippet, A]

Permissions for the current user on the resource

Permissions for the current user on the resource

Visibility Level of the snippet.

Visibility Level of the snippet.

def webUrl: SelectionBuilder[Snippet, String]

Web URL of the snippet.

Web URL of the snippet.

Deprecated methods

@deprecated("Use `blobs`. Deprecated in 13.3.", "")
def blob[A](innerSelection: SelectionBuilder[SnippetBlob, A]): SelectionBuilder[Snippet, A]

Snippet blob. Deprecated in 13.3: Use blobs.

Snippet blob. Deprecated in 13.3: Use blobs.

Deprecated