GoogleCloudAiplatformV1SpecialistPool.fromJson constructor

GoogleCloudAiplatformV1SpecialistPool.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1SpecialistPool.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pendingDataLabelingJobs: json_.containsKey('pendingDataLabelingJobs')
            ? (json_['pendingDataLabelingJobs'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        specialistManagerEmails: json_.containsKey('specialistManagerEmails')
            ? (json_['specialistManagerEmails'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        specialistManagersCount: json_.containsKey('specialistManagersCount')
            ? json_['specialistManagersCount'] as core.int
            : null,
        specialistWorkerEmails: json_.containsKey('specialistWorkerEmails')
            ? (json_['specialistWorkerEmails'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );