ProjectsCreate class

Constructors

ProjectsCreate({bool? analytics, String? description, String? framework, String? license, String? name, ProjectsCreateRepo? repo, String? slug, String? upstream, String? visibility})
Returns a new ProjectsCreate instance.

Properties

analytics ↔ bool?
Analytics is the opt-OUT for the wired-by-default analytics beacon: absent (nil) ⇒ ON (the default); explicit false ⇒ off. A pointer so "unset" is distinguishable from "false" — the only way to turn the default off.
getter/setter pair
description ↔ String?
Description is the one-line summary, copied onto anything forked from this project.
getter/setter pair
framework ↔ String?
Framework is a BUILD HINT from a closed set, defaulting to static. It tells CI how to build a linked repo and never gates a deploy.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
license ↔ String?
License is the terms that upstream work carries.
getter/setter pair
name ↔ String?
Name is the project's display name and the only REQUIRED field. When slug is omitted it is also what the slug is derived from.
getter/setter pair
repo ↔ ProjectsCreateRepo?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slug ↔ String?
Slug is the handle everything else addresses this project by: the public host <slug>.hanzo.app, the object-store key segment, and the path parameter of every later call. Derived from the name when omitted. It is a hostname label, so it is constrained and reserved labels such as api or admin are refused.
getter/setter pair
upstream ↔ String?
Upstream credits the third-party work this project was published from. It is accepted from any caller: giving away credit can only cost the publisher, so it needs no gate.
getter/setter pair
visibility ↔ String?
Visibility is "public" (the default when absent) or "private". Publishing publicly is ungated — that is the point of a community. Going PRIVATE is the paid feature, so an unfunded org asking for it is refused rather than silently downgraded (see resolve).
getter/setter pair

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) → ProjectsCreate?
Returns a new ProjectsCreate instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ProjectsCreate>
mapFromJson(dynamic json) → Map<String, ProjectsCreate>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ProjectsCreate>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.