Class LeaseRange
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LeaseRange
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class LeaseRange
extends Object
LeaseRange
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LeaseRangeCreate an instance of LeaseRange given an JSON stringgetEndIp()EndIP last IP in the subnet which should be used to assign ips.StartIP first IP in the subnet which should be used to assign ips.inthashCode()voidvoidsetStartIp(String startIp) toJson()Convert an instance of LeaseRange to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_END_IP
- See Also:
-
SERIALIZED_NAME_START_IP
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LeaseRange
public LeaseRange()
-
-
Method Details
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to LeaseRange
-
fromJson
Create an instance of LeaseRange given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LeaseRange
- Throws:
IOException- if the JSON string is invalid with respect to LeaseRange
-
endIp
-
getEndIp
EndIP last IP in the subnet which should be used to assign ips.- Returns:
- endIp
-
setEndIp
-
startIp
-
getStartIp
StartIP first IP in the subnet which should be used to assign ips.- Returns:
- startIp
-
setStartIp
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of LeaseRange to an JSON string- Returns:
- JSON string
-