Queue.fromJson constructor

Queue.fromJson(
  1. Map _json
)

Implementation

Queue.fromJson(core.Map _json) {
  if (_json.containsKey("appEngineRoutingOverride")) {
    appEngineRoutingOverride =
        new AppEngineRouting.fromJson(_json["appEngineRoutingOverride"]);
  }
  if (_json.containsKey("name")) {
    name = _json["name"];
  }
  if (_json.containsKey("purgeTime")) {
    purgeTime = _json["purgeTime"];
  }
  if (_json.containsKey("rateLimits")) {
    rateLimits = new RateLimits.fromJson(_json["rateLimits"]);
  }
  if (_json.containsKey("retryConfig")) {
    retryConfig = new RetryConfig.fromJson(_json["retryConfig"]);
  }
  if (_json.containsKey("stackdriverLoggingConfig")) {
    stackdriverLoggingConfig = new StackdriverLoggingConfig.fromJson(
        _json["stackdriverLoggingConfig"]);
  }
  if (_json.containsKey("state")) {
    state = _json["state"];
  }
}