Package net.stickycode.kuuty.model.v18
Class IoK8sApiPolicyV1beta1HostPortRange
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiPolicyV1beta1HostPortRange
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiPolicyV1beta1HostPortRange extends Object
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MAXstatic StringJSON_PROPERTY_MIN
-
Constructor Summary
Constructors Constructor Description IoK8sApiPolicyV1beta1HostPortRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IntegergetMax()max is the end of the range, inclusive.IntegergetMin()min is the start of the range, inclusive.inthashCode()IoK8sApiPolicyV1beta1HostPortRangemax(Integer max)IoK8sApiPolicyV1beta1HostPortRangemin(Integer min)voidsetMax(Integer max)voidsetMin(Integer min)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MAX
public static final String JSON_PROPERTY_MAX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIN
public static final String JSON_PROPERTY_MIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
max
public IoK8sApiPolicyV1beta1HostPortRange max(Integer max)
-
getMax
public Integer getMax()
max is the end of the range, inclusive.- Returns:
- max
-
setMax
public void setMax(Integer max)
-
min
public IoK8sApiPolicyV1beta1HostPortRange min(Integer min)
-
getMin
public Integer getMin()
min is the start of the range, inclusive.- Returns:
- min
-
setMin
public void setMin(Integer min)
-
-