GitHubApp class
GitHub app
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
- Annotations
-
- @JsonSerializable()
Constructors
-
GitHubApp({String? clientId, String? clientSecret, DateTime? createdAt, String? description, List<
String> ? events, String? externalUrl, String? htmlUrl, int? id, int? installationsCount, String? name, String? nodeId, User? owner, String? pem, Permissions? permissions, String? slug, DateTime? updatedAt, String? webhookSecret}) -
GitHubApp.fromJson(Map<
String, dynamic> input) -
factory
Properties
- clientId → String?
-
Example:
"Iv1.25b5d1e65ffc4022"
final - clientSecret → String?
-
Example:
"1d4b2097ac622ba702d19de498f005747a8b21d3"
final - createdAt → DateTime?
-
final
- description → String?
-
final
-
events
→ List<
String> ? -
The list of events for the GitHub app
final
- externalUrl → String?
-
Example:
https://example.com
final - hashCode → int
-
The hash code for this object.
no setterinherited
- htmlUrl → String?
-
Example:
https://github.com/apps/super-ci
final - id → int?
-
Unique identifier of the GitHub app
final
- installationsCount → int?
-
The number of installations associated with the GitHub app
final
- name → String?
-
The name of the GitHub app
final
- nodeId → String?
-
Example:
MDExOkludGVncmF0aW9uMQ==
final - owner → User?
-
final
- pem → String?
-
Example:
final
- permissions → Permissions?
-
The set of permissions for the GitHub app
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug → String?
-
The slug name of the GitHub app
final
- updatedAt → DateTime?
-
final
- webhookSecret → String?
-
Example:
"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b"
final
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited