GoogleCloudApigeeV1SecurityAction.fromJson constructor

GoogleCloudApigeeV1SecurityAction.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1SecurityAction.fromJson(core.Map json_)
    : this(
        allow: json_.containsKey('allow')
            ? GoogleCloudApigeeV1SecurityActionAllow.fromJson(
                json_['allow'] as core.Map<core.String, core.dynamic>)
            : null,
        conditionConfig: json_.containsKey('conditionConfig')
            ? GoogleCloudApigeeV1SecurityActionConditionConfig.fromJson(
                json_['conditionConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        deny: json_.containsKey('deny')
            ? GoogleCloudApigeeV1SecurityActionDeny.fromJson(
                json_['deny'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        flag: json_.containsKey('flag')
            ? GoogleCloudApigeeV1SecurityActionFlag.fromJson(
                json_['flag'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        ttl: json_.containsKey('ttl') ? json_['ttl'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );