GoogleCloudAiplatformV1ExamplesOverride.fromJson constructor
GoogleCloudAiplatformV1ExamplesOverride.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1ExamplesOverride.fromJson(core.Map json_)
: this(
crowdingCount: json_.containsKey('crowdingCount')
? json_['crowdingCount'] as core.int
: null,
dataFormat: json_.containsKey('dataFormat')
? json_['dataFormat'] as core.String
: null,
neighborCount: json_.containsKey('neighborCount')
? json_['neighborCount'] as core.int
: null,
restrictions: json_.containsKey('restrictions')
? (json_['restrictions'] as core.List)
.map((value) =>
GoogleCloudAiplatformV1ExamplesRestrictionsNamespace
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
returnEmbeddings: json_.containsKey('returnEmbeddings')
? json_['returnEmbeddings'] as core.bool
: null,
);