Package com.ngrok.definitions
Class IpPolicy
java.lang.Object
com.ngrok.definitions.IpPolicy
A class encapsulating the
IpPolicy
resource.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
timestamp when the IP policy was created, RFC 3339 formathuman-readable description of the source IPs of this IP policy.getId()
unique identifier for this IP policyarbitrary user-defined machine-readable data of this IP policy.getUri()
URI of the IP Policy API resourceint
hashCode()
toString()
-
Constructor Details
-
IpPolicy
Creates a new instance ofIpPolicy
.- Parameters:
id
- unique identifier for this IP policyuri
- URI of the IP Policy API resourcecreatedAt
- timestamp when the IP policy was created, RFC 3339 formatdescription
- human-readable description of the source IPs of this IP policy. optional, max 255 bytes.metadata
- arbitrary user-defined machine-readable data of this IP policy. optional, max 4096 bytes.
-
-
Method Details
-
getId
unique identifier for this IP policy- Returns:
- the value of the property as a
String
-
getUri
URI of the IP Policy API resource- Returns:
- the value of the property as a
URI
-
getCreatedAt
timestamp when the IP policy was created, RFC 3339 format- Returns:
- the value of the property as a
OffsetDateTime
-
getDescription
human-readable description of the source IPs of this IP policy. optional, max 255 bytes.- Returns:
- the value of the property as a
String
-
getMetadata
arbitrary user-defined machine-readable data of this IP policy. optional, max 4096 bytes.- Returns:
- the value of the property as a
String
-
equals
-
hashCode
public int hashCode() -
toString
-