CustomConnectorVersion.fromJson constructor
CustomConnectorVersion.fromJson(
- Map json_
Implementation
CustomConnectorVersion.fromJson(core.Map json_)
: this(
authConfig: json_.containsKey('authConfig')
? AuthConfig.fromJson(
json_['authConfig'] as core.Map<core.String, core.dynamic>)
: null,
backendVariableTemplates:
json_.containsKey('backendVariableTemplates')
? (json_['backendVariableTemplates'] as core.List)
.map((value) => ConfigVariableTemplate.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
destinationConfigs: json_.containsKey('destinationConfigs')
? (json_['destinationConfigs'] as core.List)
.map((value) => DestinationConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
enableBackendDestinationConfig:
json_.containsKey('enableBackendDestinationConfig')
? json_['enableBackendDestinationConfig'] as core.bool
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
serviceAccount: json_.containsKey('serviceAccount')
? json_['serviceAccount'] as core.String
: null,
specLocation: json_.containsKey('specLocation')
? json_['specLocation'] as core.String
: null,
specServerUrls: json_.containsKey('specServerUrls')
? (json_['specServerUrls'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);