Logo DataHubClient

Note Type

A comment on an issue or merge request. System notes are generated by GitLab itself (e.g. "changed the status to closed"). See the .

Constructors

Constructor Description

Note(id, body, author, isSystem, createdAt, updatedAt)

Full Usage: Note(id, body, author, isSystem, createdAt, updatedAt)

Parameters:
    id : int
    body : string
    author : User
    isSystem : bool
    createdAt : string
    updatedAt : string

Returns: Note
id : int
body : string
author : User
isSystem : bool
createdAt : string
updatedAt : string
Returns: Note

Instance members

Instance member Description

this.Author

Full Usage: this.Author

Returns: User

The user who created the note.

Returns: User

this.Body

Full Usage: this.Body

Returns: string

The note's text content.

Returns: string

this.CreatedAt

Full Usage: this.CreatedAt

Returns: string

The creation timestamp as an ISO 8601 string.

Returns: string

this.Id

Full Usage: this.Id

Returns: int

The note's unique, instance-wide numeric identifier.

Returns: int

this.System

Full Usage: this.System

Returns: bool

Whether the note was generated by GitLab rather than a user.

Returns: bool

this.UpdatedAt

Full Usage: this.UpdatedAt

Returns: string

The last-update timestamp as an ISO 8601 string.

Returns: string

Type something to start searching.