GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences.fromJson constructor

GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences.fromJson(
    core.Map json_)
    : this(
        references: json_.containsKey('references')
            ? (json_['references'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudAiplatformV1PublisherModelResourceReference
                      .fromJson(value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        resourceDescription: json_.containsKey('resourceDescription')
            ? json_['resourceDescription'] as core.String
            : null,
        resourceTitle: json_.containsKey('resourceTitle')
            ? json_['resourceTitle'] as core.String
            : null,
        resourceUseCase: json_.containsKey('resourceUseCase')
            ? json_['resourceUseCase'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );