Documentation

NetworksnetworkIdappliancefirewalloneToOneNatRulesAllowedInbound implements ModelInterface, ArrayAccess

NetworksnetworkIdappliancefirewalloneToOneNatRulesAllowedInbound Class Doc Comment

Tags
category

Class

author

Swagger Codegen team

link
https://github.com/swagger-api/swagger-codegen

Interfaces, Classes and Traits

ModelInterface
Interface abstracting model access.
ArrayAccess

Table of Contents

DISCRIMINATOR  = null
PROTOCOL_ANY  = 'any'
PROTOCOL_ICMP_PING  = 'icmp-ping'
PROTOCOL_TCP  = 'tcp'
PROTOCOL_UDP  = 'udp'
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
$swaggerFormats  : array<string|int, string>
Array of property to format mappings. Used for (de)serialization
$swaggerModelName  : string
The original name of the model.
$swaggerTypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : array<string|int, mixed>
Array of attributes where the key is the local name, and the value is the original name
getAllowedIps()  : array<string|int, string>
Gets allowed_ips
getDestinationPorts()  : array<string|int, string>
Gets destination_ports
getModelName()  : string
The original name of the model.
getProtocol()  : string
Gets protocol
getProtocolAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
listInvalidProperties()  : array<string|int, mixed>
Show all the invalid properties with reasons.
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
setAllowedIps()  : $this
Sets allowed_ips
setDestinationPorts()  : $this
Sets destination_ports
setProtocol()  : $this
Sets protocol
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
swaggerFormats()  : array<string|int, mixed>
Array of property to format mappings. Used for (de)serialization
swaggerTypes()  : array<string|int, mixed>
Array of property to type mappings. Used for (de)serialization
valid()  : bool
Validate all the properties in the model return true if all passed

Constants

Properties

Methods

setAllowedIps()

Sets allowed_ips

public setAllowedIps(array<string|int, string> $allowed_ips) : $this
Parameters
$allowed_ips : array<string|int, string>

An array of ranges of WAN IP addresses that are allowed to make inbound connections on the specified ports or port ranges, or 'any'

Return values
$this

setDestinationPorts()

Sets destination_ports

public setDestinationPorts(array<string|int, string> $destination_ports) : $this
Parameters
$destination_ports : array<string|int, string>

An array of ports or port ranges that will be forwarded to the host on the LAN

Return values
$this

Search results