GkeWorkload.fromJson constructor

GkeWorkload.fromJson(
  1. Map json_
)

Implementation

GkeWorkload.fromJson(core.Map json_)
    : this(
        clusterName: json_.containsKey('clusterName')
            ? json_['clusterName'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        namespaceName: json_.containsKey('namespaceName')
            ? json_['namespaceName'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        topLevelControllerName: json_.containsKey('topLevelControllerName')
            ? json_['topLevelControllerName'] as core.String
            : null,
        topLevelControllerType: json_.containsKey('topLevelControllerType')
            ? json_['topLevelControllerType'] as core.String
            : null,
      );