ManagedZoneOperationsListResponse.fromJson constructor

ManagedZoneOperationsListResponse.fromJson(
  1. Map _json
)

Implementation

ManagedZoneOperationsListResponse.fromJson(core.Map _json) {
  if (_json.containsKey("header")) {
    header = new ResponseHeader.fromJson(_json["header"]);
  }
  if (_json.containsKey("kind")) {
    kind = _json["kind"];
  }
  if (_json.containsKey("nextPageToken")) {
    nextPageToken = _json["nextPageToken"];
  }
  if (_json.containsKey("operations")) {
    operations = (_json["operations"] as core.List)
        .map<Operation>((value) => new Operation.fromJson(value))
        .toList();
  }
}