GoogleCloudAiplatformV1PublisherModel.fromJson constructor
GoogleCloudAiplatformV1PublisherModel.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1PublisherModel.fromJson(core.Map json_)
: this(
frameworks: json_.containsKey('frameworks')
? (json_['frameworks'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
launchStage: json_.containsKey('launchStage')
? json_['launchStage'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
openSourceCategory: json_.containsKey('openSourceCategory')
? json_['openSourceCategory'] as core.String
: null,
predictSchemata: json_.containsKey('predictSchemata')
? GoogleCloudAiplatformV1PredictSchemata.fromJson(
json_['predictSchemata']
as core.Map<core.String, core.dynamic>)
: null,
publisherModelTemplate: json_.containsKey('publisherModelTemplate')
? json_['publisherModelTemplate'] as core.String
: null,
supportedActions: json_.containsKey('supportedActions')
? GoogleCloudAiplatformV1PublisherModelCallToAction.fromJson(
json_['supportedActions']
as core.Map<core.String, core.dynamic>)
: null,
versionId: json_.containsKey('versionId')
? json_['versionId'] as core.String
: null,
versionState: json_.containsKey('versionState')
? json_['versionState'] as core.String
: null,
);