697 lines
25 KiB
Dart
697 lines
25 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'health_check_model.dart';
|
|
|
|
// **************************************************************************
|
|
// BuiltValueGenerator
|
|
// **************************************************************************
|
|
|
|
Serializer<HealthCheckResponse> _$healthCheckResponseSerializer =
|
|
new _$HealthCheckResponseSerializer();
|
|
Serializer<HealthCheckPHPResponse> _$healthCheckPHPResponseSerializer =
|
|
new _$HealthCheckPHPResponseSerializer();
|
|
|
|
class _$HealthCheckResponseSerializer
|
|
implements StructuredSerializer<HealthCheckResponse> {
|
|
@override
|
|
final Iterable<Type> types = const [
|
|
HealthCheckResponse,
|
|
_$HealthCheckResponse
|
|
];
|
|
@override
|
|
final String wireName = 'HealthCheckResponse';
|
|
|
|
@override
|
|
Iterable<Object> serialize(
|
|
Serializers serializers, HealthCheckResponse object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object>[
|
|
'system_health',
|
|
serializers.serialize(object.systemHealth,
|
|
specifiedType: const FullType(bool)),
|
|
'php_version',
|
|
serializers.serialize(object.phpVersion,
|
|
specifiedType: const FullType(HealthCheckPHPResponse)),
|
|
'env_writable',
|
|
serializers.serialize(object.envWritable,
|
|
specifiedType: const FullType(bool)),
|
|
'simple_db_check',
|
|
serializers.serialize(object.dbCheck,
|
|
specifiedType: const FullType(bool)),
|
|
'cache_enabled',
|
|
serializers.serialize(object.cacheEnabled,
|
|
specifiedType: const FullType(bool)),
|
|
'phantom_enabled',
|
|
serializers.serialize(object.phantomEnabled,
|
|
specifiedType: const FullType(bool)),
|
|
'open_basedir',
|
|
serializers.serialize(object.openBasedir,
|
|
specifiedType: const FullType(bool)),
|
|
'file_permissions',
|
|
serializers.serialize(object.filePermissions,
|
|
specifiedType: const FullType(String)),
|
|
'exec',
|
|
serializers.serialize(object.execEnabled,
|
|
specifiedType: const FullType(bool)),
|
|
'mail_mailer',
|
|
serializers.serialize(object.emailDriver,
|
|
specifiedType: const FullType(String)),
|
|
'jobs_pending',
|
|
serializers.serialize(object.pendingJobs,
|
|
specifiedType: const FullType(int)),
|
|
'pdf_engine',
|
|
serializers.serialize(object.pdfEngine,
|
|
specifiedType: const FullType(String)),
|
|
'trailing_slash',
|
|
serializers.serialize(object.trailingSlash,
|
|
specifiedType: const FullType(bool)),
|
|
'queue',
|
|
serializers.serialize(object.queue,
|
|
specifiedType: const FullType(String)),
|
|
];
|
|
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
HealthCheckResponse deserialize(
|
|
Serializers serializers, Iterable<Object> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new HealthCheckResponseBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current as String;
|
|
iterator.moveNext();
|
|
final Object value = iterator.current;
|
|
switch (key) {
|
|
case 'system_health':
|
|
result.systemHealth = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool)) as bool;
|
|
break;
|
|
case 'php_version':
|
|
result.phpVersion.replace(serializers.deserialize(value,
|
|
specifiedType: const FullType(HealthCheckPHPResponse))
|
|
as HealthCheckPHPResponse);
|
|
break;
|
|
case 'env_writable':
|
|
result.envWritable = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool)) as bool;
|
|
break;
|
|
case 'simple_db_check':
|
|
result.dbCheck = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool)) as bool;
|
|
break;
|
|
case 'cache_enabled':
|
|
result.cacheEnabled = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool)) as bool;
|
|
break;
|
|
case 'phantom_enabled':
|
|
result.phantomEnabled = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool)) as bool;
|
|
break;
|
|
case 'open_basedir':
|
|
result.openBasedir = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool)) as bool;
|
|
break;
|
|
case 'file_permissions':
|
|
result.filePermissions = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String;
|
|
break;
|
|
case 'exec':
|
|
result.execEnabled = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool)) as bool;
|
|
break;
|
|
case 'mail_mailer':
|
|
result.emailDriver = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String;
|
|
break;
|
|
case 'jobs_pending':
|
|
result.pendingJobs = serializers.deserialize(value,
|
|
specifiedType: const FullType(int)) as int;
|
|
break;
|
|
case 'pdf_engine':
|
|
result.pdfEngine = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String;
|
|
break;
|
|
case 'trailing_slash':
|
|
result.trailingSlash = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool)) as bool;
|
|
break;
|
|
case 'queue':
|
|
result.queue = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$HealthCheckPHPResponseSerializer
|
|
implements StructuredSerializer<HealthCheckPHPResponse> {
|
|
@override
|
|
final Iterable<Type> types = const [
|
|
HealthCheckPHPResponse,
|
|
_$HealthCheckPHPResponse
|
|
];
|
|
@override
|
|
final String wireName = 'HealthCheckPHPResponse';
|
|
|
|
@override
|
|
Iterable<Object> serialize(
|
|
Serializers serializers, HealthCheckPHPResponse object,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = <Object>[
|
|
'minimum_php_version',
|
|
serializers.serialize(object.minimumPHPVersion,
|
|
specifiedType: const FullType(String)),
|
|
'current_php_version',
|
|
serializers.serialize(object.currentPHPVersion,
|
|
specifiedType: const FullType(String)),
|
|
'current_php_cli_version',
|
|
serializers.serialize(object.currentPHPCLIVersion,
|
|
specifiedType: const FullType(String)),
|
|
'is_okay',
|
|
serializers.serialize(object.isOkay, specifiedType: const FullType(bool)),
|
|
'memory_limit',
|
|
serializers.serialize(object.memoryLimit,
|
|
specifiedType: const FullType(String)),
|
|
];
|
|
|
|
return result;
|
|
}
|
|
|
|
@override
|
|
HealthCheckPHPResponse deserialize(
|
|
Serializers serializers, Iterable<Object> serialized,
|
|
{FullType specifiedType = FullType.unspecified}) {
|
|
final result = new HealthCheckPHPResponseBuilder();
|
|
|
|
final iterator = serialized.iterator;
|
|
while (iterator.moveNext()) {
|
|
final key = iterator.current as String;
|
|
iterator.moveNext();
|
|
final Object value = iterator.current;
|
|
switch (key) {
|
|
case 'minimum_php_version':
|
|
result.minimumPHPVersion = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String;
|
|
break;
|
|
case 'current_php_version':
|
|
result.currentPHPVersion = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String;
|
|
break;
|
|
case 'current_php_cli_version':
|
|
result.currentPHPCLIVersion = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String;
|
|
break;
|
|
case 'is_okay':
|
|
result.isOkay = serializers.deserialize(value,
|
|
specifiedType: const FullType(bool)) as bool;
|
|
break;
|
|
case 'memory_limit':
|
|
result.memoryLimit = serializers.deserialize(value,
|
|
specifiedType: const FullType(String)) as String;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return result.build();
|
|
}
|
|
}
|
|
|
|
class _$HealthCheckResponse extends HealthCheckResponse {
|
|
@override
|
|
final bool systemHealth;
|
|
@override
|
|
final HealthCheckPHPResponse phpVersion;
|
|
@override
|
|
final bool envWritable;
|
|
@override
|
|
final bool dbCheck;
|
|
@override
|
|
final bool cacheEnabled;
|
|
@override
|
|
final bool phantomEnabled;
|
|
@override
|
|
final bool openBasedir;
|
|
@override
|
|
final String filePermissions;
|
|
@override
|
|
final bool execEnabled;
|
|
@override
|
|
final String emailDriver;
|
|
@override
|
|
final int pendingJobs;
|
|
@override
|
|
final String pdfEngine;
|
|
@override
|
|
final bool trailingSlash;
|
|
@override
|
|
final String queue;
|
|
|
|
factory _$HealthCheckResponse(
|
|
[void Function(HealthCheckResponseBuilder) updates]) =>
|
|
(new HealthCheckResponseBuilder()..update(updates)).build();
|
|
|
|
_$HealthCheckResponse._(
|
|
{this.systemHealth,
|
|
this.phpVersion,
|
|
this.envWritable,
|
|
this.dbCheck,
|
|
this.cacheEnabled,
|
|
this.phantomEnabled,
|
|
this.openBasedir,
|
|
this.filePermissions,
|
|
this.execEnabled,
|
|
this.emailDriver,
|
|
this.pendingJobs,
|
|
this.pdfEngine,
|
|
this.trailingSlash,
|
|
this.queue})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
systemHealth, 'HealthCheckResponse', 'systemHealth');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
phpVersion, 'HealthCheckResponse', 'phpVersion');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
envWritable, 'HealthCheckResponse', 'envWritable');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
dbCheck, 'HealthCheckResponse', 'dbCheck');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
cacheEnabled, 'HealthCheckResponse', 'cacheEnabled');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
phantomEnabled, 'HealthCheckResponse', 'phantomEnabled');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
openBasedir, 'HealthCheckResponse', 'openBasedir');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
filePermissions, 'HealthCheckResponse', 'filePermissions');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
execEnabled, 'HealthCheckResponse', 'execEnabled');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
emailDriver, 'HealthCheckResponse', 'emailDriver');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
pendingJobs, 'HealthCheckResponse', 'pendingJobs');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
pdfEngine, 'HealthCheckResponse', 'pdfEngine');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
trailingSlash, 'HealthCheckResponse', 'trailingSlash');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
queue, 'HealthCheckResponse', 'queue');
|
|
}
|
|
|
|
@override
|
|
HealthCheckResponse rebuild(
|
|
void Function(HealthCheckResponseBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
HealthCheckResponseBuilder toBuilder() =>
|
|
new HealthCheckResponseBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
return other is HealthCheckResponse &&
|
|
systemHealth == other.systemHealth &&
|
|
phpVersion == other.phpVersion &&
|
|
envWritable == other.envWritable &&
|
|
dbCheck == other.dbCheck &&
|
|
cacheEnabled == other.cacheEnabled &&
|
|
phantomEnabled == other.phantomEnabled &&
|
|
openBasedir == other.openBasedir &&
|
|
filePermissions == other.filePermissions &&
|
|
execEnabled == other.execEnabled &&
|
|
emailDriver == other.emailDriver &&
|
|
pendingJobs == other.pendingJobs &&
|
|
pdfEngine == other.pdfEngine &&
|
|
trailingSlash == other.trailingSlash &&
|
|
queue == other.queue;
|
|
}
|
|
|
|
int __hashCode;
|
|
@override
|
|
int get hashCode {
|
|
return __hashCode ??= $jf($jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
$jc(
|
|
0,
|
|
systemHealth
|
|
.hashCode),
|
|
phpVersion.hashCode),
|
|
envWritable.hashCode),
|
|
dbCheck.hashCode),
|
|
cacheEnabled.hashCode),
|
|
phantomEnabled.hashCode),
|
|
openBasedir.hashCode),
|
|
filePermissions.hashCode),
|
|
execEnabled.hashCode),
|
|
emailDriver.hashCode),
|
|
pendingJobs.hashCode),
|
|
pdfEngine.hashCode),
|
|
trailingSlash.hashCode),
|
|
queue.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper('HealthCheckResponse')
|
|
..add('systemHealth', systemHealth)
|
|
..add('phpVersion', phpVersion)
|
|
..add('envWritable', envWritable)
|
|
..add('dbCheck', dbCheck)
|
|
..add('cacheEnabled', cacheEnabled)
|
|
..add('phantomEnabled', phantomEnabled)
|
|
..add('openBasedir', openBasedir)
|
|
..add('filePermissions', filePermissions)
|
|
..add('execEnabled', execEnabled)
|
|
..add('emailDriver', emailDriver)
|
|
..add('pendingJobs', pendingJobs)
|
|
..add('pdfEngine', pdfEngine)
|
|
..add('trailingSlash', trailingSlash)
|
|
..add('queue', queue))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class HealthCheckResponseBuilder
|
|
implements Builder<HealthCheckResponse, HealthCheckResponseBuilder> {
|
|
_$HealthCheckResponse _$v;
|
|
|
|
bool _systemHealth;
|
|
bool get systemHealth => _$this._systemHealth;
|
|
set systemHealth(bool systemHealth) => _$this._systemHealth = systemHealth;
|
|
|
|
HealthCheckPHPResponseBuilder _phpVersion;
|
|
HealthCheckPHPResponseBuilder get phpVersion =>
|
|
_$this._phpVersion ??= new HealthCheckPHPResponseBuilder();
|
|
set phpVersion(HealthCheckPHPResponseBuilder phpVersion) =>
|
|
_$this._phpVersion = phpVersion;
|
|
|
|
bool _envWritable;
|
|
bool get envWritable => _$this._envWritable;
|
|
set envWritable(bool envWritable) => _$this._envWritable = envWritable;
|
|
|
|
bool _dbCheck;
|
|
bool get dbCheck => _$this._dbCheck;
|
|
set dbCheck(bool dbCheck) => _$this._dbCheck = dbCheck;
|
|
|
|
bool _cacheEnabled;
|
|
bool get cacheEnabled => _$this._cacheEnabled;
|
|
set cacheEnabled(bool cacheEnabled) => _$this._cacheEnabled = cacheEnabled;
|
|
|
|
bool _phantomEnabled;
|
|
bool get phantomEnabled => _$this._phantomEnabled;
|
|
set phantomEnabled(bool phantomEnabled) =>
|
|
_$this._phantomEnabled = phantomEnabled;
|
|
|
|
bool _openBasedir;
|
|
bool get openBasedir => _$this._openBasedir;
|
|
set openBasedir(bool openBasedir) => _$this._openBasedir = openBasedir;
|
|
|
|
String _filePermissions;
|
|
String get filePermissions => _$this._filePermissions;
|
|
set filePermissions(String filePermissions) =>
|
|
_$this._filePermissions = filePermissions;
|
|
|
|
bool _execEnabled;
|
|
bool get execEnabled => _$this._execEnabled;
|
|
set execEnabled(bool execEnabled) => _$this._execEnabled = execEnabled;
|
|
|
|
String _emailDriver;
|
|
String get emailDriver => _$this._emailDriver;
|
|
set emailDriver(String emailDriver) => _$this._emailDriver = emailDriver;
|
|
|
|
int _pendingJobs;
|
|
int get pendingJobs => _$this._pendingJobs;
|
|
set pendingJobs(int pendingJobs) => _$this._pendingJobs = pendingJobs;
|
|
|
|
String _pdfEngine;
|
|
String get pdfEngine => _$this._pdfEngine;
|
|
set pdfEngine(String pdfEngine) => _$this._pdfEngine = pdfEngine;
|
|
|
|
bool _trailingSlash;
|
|
bool get trailingSlash => _$this._trailingSlash;
|
|
set trailingSlash(bool trailingSlash) =>
|
|
_$this._trailingSlash = trailingSlash;
|
|
|
|
String _queue;
|
|
String get queue => _$this._queue;
|
|
set queue(String queue) => _$this._queue = queue;
|
|
|
|
HealthCheckResponseBuilder() {
|
|
HealthCheckResponse._initializeBuilder(this);
|
|
}
|
|
|
|
HealthCheckResponseBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_systemHealth = $v.systemHealth;
|
|
_phpVersion = $v.phpVersion.toBuilder();
|
|
_envWritable = $v.envWritable;
|
|
_dbCheck = $v.dbCheck;
|
|
_cacheEnabled = $v.cacheEnabled;
|
|
_phantomEnabled = $v.phantomEnabled;
|
|
_openBasedir = $v.openBasedir;
|
|
_filePermissions = $v.filePermissions;
|
|
_execEnabled = $v.execEnabled;
|
|
_emailDriver = $v.emailDriver;
|
|
_pendingJobs = $v.pendingJobs;
|
|
_pdfEngine = $v.pdfEngine;
|
|
_trailingSlash = $v.trailingSlash;
|
|
_queue = $v.queue;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(HealthCheckResponse other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$HealthCheckResponse;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(HealthCheckResponseBuilder) updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
_$HealthCheckResponse build() {
|
|
_$HealthCheckResponse _$result;
|
|
try {
|
|
_$result = _$v ??
|
|
new _$HealthCheckResponse._(
|
|
systemHealth: BuiltValueNullFieldError.checkNotNull(
|
|
systemHealth, 'HealthCheckResponse', 'systemHealth'),
|
|
phpVersion: phpVersion.build(),
|
|
envWritable: BuiltValueNullFieldError.checkNotNull(
|
|
envWritable, 'HealthCheckResponse', 'envWritable'),
|
|
dbCheck: BuiltValueNullFieldError.checkNotNull(
|
|
dbCheck, 'HealthCheckResponse', 'dbCheck'),
|
|
cacheEnabled: BuiltValueNullFieldError.checkNotNull(
|
|
cacheEnabled, 'HealthCheckResponse', 'cacheEnabled'),
|
|
phantomEnabled: BuiltValueNullFieldError.checkNotNull(
|
|
phantomEnabled, 'HealthCheckResponse', 'phantomEnabled'),
|
|
openBasedir: BuiltValueNullFieldError.checkNotNull(
|
|
openBasedir, 'HealthCheckResponse', 'openBasedir'),
|
|
filePermissions: BuiltValueNullFieldError.checkNotNull(
|
|
filePermissions, 'HealthCheckResponse', 'filePermissions'),
|
|
execEnabled: BuiltValueNullFieldError.checkNotNull(
|
|
execEnabled, 'HealthCheckResponse', 'execEnabled'),
|
|
emailDriver: BuiltValueNullFieldError.checkNotNull(emailDriver, 'HealthCheckResponse', 'emailDriver'),
|
|
pendingJobs: BuiltValueNullFieldError.checkNotNull(pendingJobs, 'HealthCheckResponse', 'pendingJobs'),
|
|
pdfEngine: BuiltValueNullFieldError.checkNotNull(pdfEngine, 'HealthCheckResponse', 'pdfEngine'),
|
|
trailingSlash: BuiltValueNullFieldError.checkNotNull(trailingSlash, 'HealthCheckResponse', 'trailingSlash'),
|
|
queue: BuiltValueNullFieldError.checkNotNull(queue, 'HealthCheckResponse', 'queue'));
|
|
} catch (_) {
|
|
String _$failedField;
|
|
try {
|
|
_$failedField = 'phpVersion';
|
|
phpVersion.build();
|
|
} catch (e) {
|
|
throw new BuiltValueNestedFieldError(
|
|
'HealthCheckResponse', _$failedField, e.toString());
|
|
}
|
|
rethrow;
|
|
}
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
class _$HealthCheckPHPResponse extends HealthCheckPHPResponse {
|
|
@override
|
|
final String minimumPHPVersion;
|
|
@override
|
|
final String currentPHPVersion;
|
|
@override
|
|
final String currentPHPCLIVersion;
|
|
@override
|
|
final bool isOkay;
|
|
@override
|
|
final String memoryLimit;
|
|
|
|
factory _$HealthCheckPHPResponse(
|
|
[void Function(HealthCheckPHPResponseBuilder) updates]) =>
|
|
(new HealthCheckPHPResponseBuilder()..update(updates)).build();
|
|
|
|
_$HealthCheckPHPResponse._(
|
|
{this.minimumPHPVersion,
|
|
this.currentPHPVersion,
|
|
this.currentPHPCLIVersion,
|
|
this.isOkay,
|
|
this.memoryLimit})
|
|
: super._() {
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
minimumPHPVersion, 'HealthCheckPHPResponse', 'minimumPHPVersion');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
currentPHPVersion, 'HealthCheckPHPResponse', 'currentPHPVersion');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
currentPHPCLIVersion, 'HealthCheckPHPResponse', 'currentPHPCLIVersion');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
isOkay, 'HealthCheckPHPResponse', 'isOkay');
|
|
BuiltValueNullFieldError.checkNotNull(
|
|
memoryLimit, 'HealthCheckPHPResponse', 'memoryLimit');
|
|
}
|
|
|
|
@override
|
|
HealthCheckPHPResponse rebuild(
|
|
void Function(HealthCheckPHPResponseBuilder) updates) =>
|
|
(toBuilder()..update(updates)).build();
|
|
|
|
@override
|
|
HealthCheckPHPResponseBuilder toBuilder() =>
|
|
new HealthCheckPHPResponseBuilder()..replace(this);
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
if (identical(other, this)) return true;
|
|
return other is HealthCheckPHPResponse &&
|
|
minimumPHPVersion == other.minimumPHPVersion &&
|
|
currentPHPVersion == other.currentPHPVersion &&
|
|
currentPHPCLIVersion == other.currentPHPCLIVersion &&
|
|
isOkay == other.isOkay &&
|
|
memoryLimit == other.memoryLimit;
|
|
}
|
|
|
|
int __hashCode;
|
|
@override
|
|
int get hashCode {
|
|
return __hashCode ??= $jf($jc(
|
|
$jc(
|
|
$jc(
|
|
$jc($jc(0, minimumPHPVersion.hashCode),
|
|
currentPHPVersion.hashCode),
|
|
currentPHPCLIVersion.hashCode),
|
|
isOkay.hashCode),
|
|
memoryLimit.hashCode));
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return (newBuiltValueToStringHelper('HealthCheckPHPResponse')
|
|
..add('minimumPHPVersion', minimumPHPVersion)
|
|
..add('currentPHPVersion', currentPHPVersion)
|
|
..add('currentPHPCLIVersion', currentPHPCLIVersion)
|
|
..add('isOkay', isOkay)
|
|
..add('memoryLimit', memoryLimit))
|
|
.toString();
|
|
}
|
|
}
|
|
|
|
class HealthCheckPHPResponseBuilder
|
|
implements Builder<HealthCheckPHPResponse, HealthCheckPHPResponseBuilder> {
|
|
_$HealthCheckPHPResponse _$v;
|
|
|
|
String _minimumPHPVersion;
|
|
String get minimumPHPVersion => _$this._minimumPHPVersion;
|
|
set minimumPHPVersion(String minimumPHPVersion) =>
|
|
_$this._minimumPHPVersion = minimumPHPVersion;
|
|
|
|
String _currentPHPVersion;
|
|
String get currentPHPVersion => _$this._currentPHPVersion;
|
|
set currentPHPVersion(String currentPHPVersion) =>
|
|
_$this._currentPHPVersion = currentPHPVersion;
|
|
|
|
String _currentPHPCLIVersion;
|
|
String get currentPHPCLIVersion => _$this._currentPHPCLIVersion;
|
|
set currentPHPCLIVersion(String currentPHPCLIVersion) =>
|
|
_$this._currentPHPCLIVersion = currentPHPCLIVersion;
|
|
|
|
bool _isOkay;
|
|
bool get isOkay => _$this._isOkay;
|
|
set isOkay(bool isOkay) => _$this._isOkay = isOkay;
|
|
|
|
String _memoryLimit;
|
|
String get memoryLimit => _$this._memoryLimit;
|
|
set memoryLimit(String memoryLimit) => _$this._memoryLimit = memoryLimit;
|
|
|
|
HealthCheckPHPResponseBuilder() {
|
|
HealthCheckPHPResponse._initializeBuilder(this);
|
|
}
|
|
|
|
HealthCheckPHPResponseBuilder get _$this {
|
|
final $v = _$v;
|
|
if ($v != null) {
|
|
_minimumPHPVersion = $v.minimumPHPVersion;
|
|
_currentPHPVersion = $v.currentPHPVersion;
|
|
_currentPHPCLIVersion = $v.currentPHPCLIVersion;
|
|
_isOkay = $v.isOkay;
|
|
_memoryLimit = $v.memoryLimit;
|
|
_$v = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@override
|
|
void replace(HealthCheckPHPResponse other) {
|
|
ArgumentError.checkNotNull(other, 'other');
|
|
_$v = other as _$HealthCheckPHPResponse;
|
|
}
|
|
|
|
@override
|
|
void update(void Function(HealthCheckPHPResponseBuilder) updates) {
|
|
if (updates != null) updates(this);
|
|
}
|
|
|
|
@override
|
|
_$HealthCheckPHPResponse build() {
|
|
final _$result = _$v ??
|
|
new _$HealthCheckPHPResponse._(
|
|
minimumPHPVersion: BuiltValueNullFieldError.checkNotNull(
|
|
minimumPHPVersion,
|
|
'HealthCheckPHPResponse',
|
|
'minimumPHPVersion'),
|
|
currentPHPVersion: BuiltValueNullFieldError.checkNotNull(
|
|
currentPHPVersion,
|
|
'HealthCheckPHPResponse',
|
|
'currentPHPVersion'),
|
|
currentPHPCLIVersion: BuiltValueNullFieldError.checkNotNull(
|
|
currentPHPCLIVersion,
|
|
'HealthCheckPHPResponse',
|
|
'currentPHPCLIVersion'),
|
|
isOkay: BuiltValueNullFieldError.checkNotNull(
|
|
isOkay, 'HealthCheckPHPResponse', 'isOkay'),
|
|
memoryLimit: BuiltValueNullFieldError.checkNotNull(
|
|
memoryLimit, 'HealthCheckPHPResponse', 'memoryLimit'));
|
|
replace(_$result);
|
|
return _$result;
|
|
}
|
|
}
|
|
|
|
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new
|