SetLocationsRequest.fromJson constructor

SetLocationsRequest.fromJson(
  1. Map json_
)

Implementation

SetLocationsRequest.fromJson(core.Map json_)
    : this(
        clusterId: json_.containsKey('clusterId')
            ? json_['clusterId'] as core.String
            : null,
        locations: json_.containsKey('locations')
            ? (json_['locations'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );