mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-11-03 05:22:29 +01:00
Huge number of updates, too tired to list them all
+ Added a bunch of API handler classes that will use the already created models + Created a new Client class that will connect to new API handler classes + Created new collection classes
This commit is contained in:
24
src/Model/StatusState.php
Normal file
24
src/Model/StatusState.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php declare(strict_types=1);
|
||||
namespace Gitea\Models;
|
||||
|
||||
use Enum\{EnumTrait};
|
||||
|
||||
/** Defines the state of a Gitea status. */
|
||||
final class StatusState {
|
||||
use EnumTrait;
|
||||
|
||||
/** @var string The status is an error. */
|
||||
const error = 'error';
|
||||
|
||||
/** @var string The status is a failure. */
|
||||
const failure = 'failure';
|
||||
|
||||
/** @var string The status is pending. */
|
||||
const pending = 'pending';
|
||||
|
||||
/** @var string The status is a success. */
|
||||
const success = 'success';
|
||||
|
||||
/** @var string The status is a warning. */
|
||||
const warning = 'warning';
|
||||
}
|
||||
Reference in New Issue
Block a user