GoogleCloudAiplatformV1SuggestTrialsRequest.fromJson constructor

GoogleCloudAiplatformV1SuggestTrialsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1SuggestTrialsRequest.fromJson(core.Map json_)
    : this(
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        contexts: json_.containsKey('contexts')
            ? (json_['contexts'] as core.List)
                .map((value) => GoogleCloudAiplatformV1TrialContext.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        suggestionCount: json_.containsKey('suggestionCount')
            ? json_['suggestionCount'] as core.int
            : null,
      );