GoogleCloudDocumentaiV1ProcessorVersion.fromJson constructor
GoogleCloudDocumentaiV1ProcessorVersion.fromJson(
- Map json_
Implementation
GoogleCloudDocumentaiV1ProcessorVersion.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
deprecationInfo: json_.containsKey('deprecationInfo')
? GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo.fromJson(
json_['deprecationInfo']
as core.Map<core.String, core.dynamic>)
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
documentSchema: json_.containsKey('documentSchema')
? GoogleCloudDocumentaiV1DocumentSchema.fromJson(
json_['documentSchema']
as core.Map<core.String, core.dynamic>)
: null,
googleManaged: json_.containsKey('googleManaged')
? json_['googleManaged'] as core.bool
: null,
kmsKeyName: json_.containsKey('kmsKeyName')
? json_['kmsKeyName'] as core.String
: null,
kmsKeyVersionName: json_.containsKey('kmsKeyVersionName')
? json_['kmsKeyVersionName'] as core.String
: null,
latestEvaluation: json_.containsKey('latestEvaluation')
? GoogleCloudDocumentaiV1EvaluationReference.fromJson(
json_['latestEvaluation']
as core.Map<core.String, core.dynamic>)
: null,
modelType: json_.containsKey('modelType')
? json_['modelType'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);