Foundry.ForgeMergeRequest¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.ForgeMergeRequest(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Abstract base class for representing merge requests from forge services.
Foundry.ForgeMergeRequestprovides the core interface for representing merge requests and pull requests from forge services. It includes common properties like ID, title, state, and creation date, and provides a unified interface for merge request management across different forge platforms.- dup_author()¶
- Returns:
a [class`Foundry`.ForgeUser], or
None- Return type:
Gets a copy of the user who authored the merge request.
New in version 1.1.
- dup_created_at()¶
- Returns:
a
GLib.DateTime, orNone- Return type:
Gets a copy of the date and time when the merge request was created.
New in version 1.1.
- dup_description()¶
-
Gets a copy of the merge request description.
New in version 1.1.
- dup_id()¶
-
Gets a copy of the merge request identifier.
New in version 1.1.
- dup_online_url()¶
-
Gets a copy of the URL to view the merge request online.
New in version 1.1.
- dup_state()¶
-
Gets a copy of the merge request state (e.g. “open”, “closed”, “merged”).
New in version 1.1.
- dup_title()¶
-
Gets a copy of the merge request title.
New in version 1.1.
- do_dup_author() virtual¶
- Returns:
a [class`Foundry`.ForgeUser], or
None- Return type:
Gets a copy of the user who authored the merge request.
New in version 1.1.
- do_dup_created_at() virtual¶
- Returns:
a
GLib.DateTime, orNone- Return type:
Gets a copy of the date and time when the merge request was created.
New in version 1.1.
- do_dup_description() virtual¶
-
Gets a copy of the merge request description.
New in version 1.1.
- do_dup_id() virtual¶
-
Gets a copy of the merge request identifier.
New in version 1.1.
- do_dup_online_url() virtual¶
-
Gets a copy of the URL to view the merge request online.
New in version 1.1.
- do_dup_state() virtual¶
-
Gets a copy of the merge request state (e.g. “open”, “closed”, “merged”).
New in version 1.1.
Property Details¶
- Foundry.ForgeMergeRequest.props.author¶
- Name:
author- Type:
- Default Value:
- Flags:
- Foundry.ForgeMergeRequest.props.created_at¶
- Name:
created-at- Type:
- Default Value:
- Flags:
- Foundry.ForgeMergeRequest.props.description¶
- Foundry.ForgeMergeRequest.props.online_url¶