// GENERATED CODE - DO NOT MODIFY BY HAND part of 'client_config.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** class _$ClientConfig extends ClientConfig { @override final String? awsAccessKeyId; @override final String? awsSecretAccessKey; @override final String? awsSessionToken; @override final String? region; @override final _i2.S3Config? s3; @override final _i3.RetryConfig? retryConfig; @override final String? awsProfile; factory _$ClientConfig([void Function(ClientConfigBuilder)? updates]) => (new ClientConfigBuilder()..update(updates))._build(); _$ClientConfig._( {this.awsAccessKeyId, this.awsSecretAccessKey, this.awsSessionToken, this.region, this.s3, this.retryConfig, this.awsProfile}) : super._(); @override ClientConfig rebuild(void Function(ClientConfigBuilder) updates) => (toBuilder()..update(updates)).build(); @override ClientConfigBuilder toBuilder() => new ClientConfigBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; return other is ClientConfig && awsAccessKeyId == other.awsAccessKeyId && awsSecretAccessKey == other.awsSecretAccessKey && awsSessionToken == other.awsSessionToken && region == other.region && s3 == other.s3 && retryConfig == other.retryConfig && awsProfile == other.awsProfile; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, awsAccessKeyId.hashCode); _$hash = $jc(_$hash, awsSecretAccessKey.hashCode); _$hash = $jc(_$hash, awsSessionToken.hashCode); _$hash = $jc(_$hash, region.hashCode); _$hash = $jc(_$hash, s3.hashCode); _$hash = $jc(_$hash, retryConfig.hashCode); _$hash = $jc(_$hash, awsProfile.hashCode); _$hash = $jf(_$hash); return _$hash; } } class ClientConfigBuilder implements Builder { _$ClientConfig? _$v; String? _awsAccessKeyId; String? get awsAccessKeyId => _$this._awsAccessKeyId; set awsAccessKeyId(String? awsAccessKeyId) => _$this._awsAccessKeyId = awsAccessKeyId; String? _awsSecretAccessKey; String? get awsSecretAccessKey => _$this._awsSecretAccessKey; set awsSecretAccessKey(String? awsSecretAccessKey) => _$this._awsSecretAccessKey = awsSecretAccessKey; String? _awsSessionToken; String? get awsSessionToken => _$this._awsSessionToken; set awsSessionToken(String? awsSessionToken) => _$this._awsSessionToken = awsSessionToken; String? _region; String? get region => _$this._region; set region(String? region) => _$this._region = region; _i2.S3ConfigBuilder? _s3; _i2.S3ConfigBuilder get s3 => _$this._s3 ??= new _i2.S3ConfigBuilder(); set s3(_i2.S3ConfigBuilder? s3) => _$this._s3 = s3; _i3.RetryConfigBuilder? _retryConfig; _i3.RetryConfigBuilder get retryConfig => _$this._retryConfig ??= new _i3.RetryConfigBuilder(); set retryConfig(_i3.RetryConfigBuilder? retryConfig) => _$this._retryConfig = retryConfig; String? _awsProfile; String? get awsProfile => _$this._awsProfile; set awsProfile(String? awsProfile) => _$this._awsProfile = awsProfile; ClientConfigBuilder(); ClientConfigBuilder get _$this { final $v = _$v; if ($v != null) { _awsAccessKeyId = $v.awsAccessKeyId; _awsSecretAccessKey = $v.awsSecretAccessKey; _awsSessionToken = $v.awsSessionToken; _region = $v.region; _s3 = $v.s3?.toBuilder(); _retryConfig = $v.retryConfig?.toBuilder(); _awsProfile = $v.awsProfile; _$v = null; } return this; } @override void replace(ClientConfig other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$ClientConfig; } @override void update(void Function(ClientConfigBuilder)? updates) { if (updates != null) updates(this); } @override ClientConfig build() => _build(); _$ClientConfig _build() { _$ClientConfig _$result; try { _$result = _$v ?? new _$ClientConfig._( awsAccessKeyId: awsAccessKeyId, awsSecretAccessKey: awsSecretAccessKey, awsSessionToken: awsSessionToken, region: region, s3: _s3?.build(), retryConfig: _retryConfig?.build(), awsProfile: awsProfile); } catch (_) { late String _$failedField; try { _$failedField = 's3'; _s3?.build(); _$failedField = 'retryConfig'; _retryConfig?.build(); } catch (e) { throw new BuiltValueNestedFieldError( r'ClientConfig', _$failedField, e.toString()); } rethrow; } replace(_$result); return _$result; } } // ignore_for_file: deprecated_member_use_from_same_package,type=lint