Queue.fromJson constructor

Queue.fromJson(
  1. Map json_
)

Implementation

Queue.fromJson(core.Map json_)
    : this(
        appEngineRoutingOverride:
            json_.containsKey('appEngineRoutingOverride')
                ? AppEngineRouting.fromJson(json_['appEngineRoutingOverride']
                    as core.Map<core.String, core.dynamic>)
                : null,
        httpTarget: json_.containsKey('httpTarget')
            ? HttpTarget.fromJson(
                json_['httpTarget'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        purgeTime: json_.containsKey('purgeTime')
            ? json_['purgeTime'] as core.String
            : null,
        rateLimits: json_.containsKey('rateLimits')
            ? RateLimits.fromJson(
                json_['rateLimits'] as core.Map<core.String, core.dynamic>)
            : null,
        retryConfig: json_.containsKey('retryConfig')
            ? RetryConfig.fromJson(
                json_['retryConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        stackdriverLoggingConfig:
            json_.containsKey('stackdriverLoggingConfig')
                ? StackdriverLoggingConfig.fromJson(
                    json_['stackdriverLoggingConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );