GitlabProjectView class
Constructors
- GitlabProjectView({String? cloneUrl, String? defaultBranch, String? description, String? fullName, String? htmlUrl, String? name, bool? private, String? pushedAt})
- Returns a new GitlabProjectView instance.
Properties
- cloneUrl ↔ String?
-
CloneURL is the https remote to clone.
getter/setter pair
- defaultBranch ↔ String?
-
DefaultBranch is the branch a clone lands on ("main" when GitLab names none, which is what an empty project reports).
getter/setter pair
- description ↔ String?
-
Description is the project's own, empty when it has none.
getter/setter pair
- fullName ↔ String?
-
FullName is the namespace path ("acme/widgets", "acme/team/widgets" for a subgroup) — the string GitLab calls path_with_namespace.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- htmlUrl ↔ String?
-
HTMLURL is the project's page.
getter/setter pair
- name ↔ String?
-
Name is the project's path segment ("widgets"), not its display name.
getter/setter pair
- private ↔ bool?
-
Private is true for anything not publicly visible (private or internal).
getter/setter pair
- pushedAt ↔ String?
-
PushedAt is RFC3339 last activity, so a client can sort or say "2h ago".
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → GitlabProjectView? -
Returns a new GitlabProjectView instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< GitlabProjectView> -
mapFromJson(
dynamic json) → Map< String, GitlabProjectView> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< GitlabProjectView> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.