/**
 * Web Application Firewall (WAF) API
 * API for the Web Application Firewall service.
Use this API to manage regional Web App Firewalls and corresponding policies for protecting HTTP services.

 * OpenAPI spec version: 20210930
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * Summary of NetworkAddressListVcnAddresses.
 */ export interface NetworkAddressListVcnAddressesSummary extends model . NetworkAddressListSummary { /**
     * A list of private address prefixes, each associated with a particular VCN.
     * To specify all addresses in a VCN, use \"0.0.0.0/0\" for IPv4 and \"::/0\" for IPv6.
     *
     */ "vcnAddresses" : Array < model . PrivateAddresses > ; "type" : string ; } export namespace NetworkAddressListVcnAddressesSummary { export function getJsonObj ( obj , isParentJsonObj ? ) { const jsonObj = { ... ( isParentJsonObj ? obj : ( model . NetworkAddressListSummary . getJsonObj ( obj ) as NetworkAddressListVcnAddressesSummary ) ) , ... { "vcnAddresses" : obj . vcnAddresses ? obj . vcnAddresses . map ( item => { return model . PrivateAddresses . getJsonObj ( item ) ; } ) : undefined } } ; return jsonObj ; } export const type = "VCN_ADDRESSES" ; export function getDeserializedJsonObj ( obj , isParentJsonObj ? ) { const jsonObj = { ... ( isParentJsonObj ? obj : ( model . NetworkAddressListSummary . getDeserializedJsonObj ( obj ) as NetworkAddressListVcnAddressesSummary ) ) , ... { "vcnAddresses" : obj . vcnAddresses ? obj . vcnAddresses . map ( item => { return model . PrivateAddresses . getDeserializedJsonObj ( item ) ; } ) : undefined } } ; return jsonObj ; } }