GoogleCloudAiplatformV1PublisherModelCallToAction.fromJson constructor

GoogleCloudAiplatformV1PublisherModelCallToAction.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1PublisherModelCallToAction.fromJson(core.Map json_)
    : this(
        createApplication: json_.containsKey('createApplication')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences
                .fromJson(json_['createApplication']
                    as core.Map<core.String, core.dynamic>)
            : null,
        deploy: json_.containsKey('deploy')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionDeploy
                .fromJson(
                    json_['deploy'] as core.Map<core.String, core.dynamic>)
            : null,
        deployGke: json_.containsKey('deployGke')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke
                .fromJson(
                    json_['deployGke'] as core.Map<core.String, core.dynamic>)
            : null,
        openEvaluationPipeline: json_.containsKey('openEvaluationPipeline')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences
                .fromJson(json_['openEvaluationPipeline']
                    as core.Map<core.String, core.dynamic>)
            : null,
        openFineTuningPipeline: json_.containsKey('openFineTuningPipeline')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences
                .fromJson(json_['openFineTuningPipeline']
                    as core.Map<core.String, core.dynamic>)
            : null,
        openFineTuningPipelines: json_.containsKey('openFineTuningPipelines')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines
                .fromJson(json_['openFineTuningPipelines']
                    as core.Map<core.String, core.dynamic>)
            : null,
        openGenerationAiStudio: json_.containsKey('openGenerationAiStudio')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences
                .fromJson(json_['openGenerationAiStudio']
                    as core.Map<core.String, core.dynamic>)
            : null,
        openGenie: json_.containsKey('openGenie')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences
                .fromJson(
                    json_['openGenie'] as core.Map<core.String, core.dynamic>)
            : null,
        openNotebook: json_.containsKey('openNotebook')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences
                .fromJson(json_['openNotebook']
                    as core.Map<core.String, core.dynamic>)
            : null,
        openNotebooks: json_.containsKey('openNotebooks')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks
                .fromJson(json_['openNotebooks']
                    as core.Map<core.String, core.dynamic>)
            : null,
        openPromptTuningPipeline: json_
                .containsKey('openPromptTuningPipeline')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences
                .fromJson(json_['openPromptTuningPipeline']
                    as core.Map<core.String, core.dynamic>)
            : null,
        requestAccess: json_.containsKey('requestAccess')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences
                .fromJson(json_['requestAccess']
                    as core.Map<core.String, core.dynamic>)
            : null,
        viewRestApi: json_.containsKey('viewRestApi')
            ? GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi
                .fromJson(json_['viewRestApi']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );