Package net.stickycode.kuuty.model.v18
Class IoK8sApiAdmissionregistrationV1beta1ServiceReference
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAdmissionregistrationV1beta1ServiceReference
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAdmissionregistrationV1beta1ServiceReference extends Object
ServiceReference holds a reference to Service.legacy.k8s.io
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_NAMESPACEstatic StringJSON_PROPERTY_PATHstatic StringJSON_PROPERTY_PORT
-
Constructor Summary
Constructors Constructor Description IoK8sApiAdmissionregistrationV1beta1ServiceReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()`name` is the name of the service.StringgetNamespace()`namespace` is the namespace of the service.StringgetPath()`path` is an optional URL path which will be sent in any request to this service.IntegergetPort()If specified, the port on the service that hosting webhook.inthashCode()IoK8sApiAdmissionregistrationV1beta1ServiceReferencename(String name)IoK8sApiAdmissionregistrationV1beta1ServiceReferencenamespace(String namespace)IoK8sApiAdmissionregistrationV1beta1ServiceReferencepath(String path)IoK8sApiAdmissionregistrationV1beta1ServiceReferenceport(Integer port)voidsetName(String name)voidsetNamespace(String namespace)voidsetPath(String path)voidsetPort(Integer port)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAMESPACE
public static final String JSON_PROPERTY_NAMESPACE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public IoK8sApiAdmissionregistrationV1beta1ServiceReference name(String name)
-
getName
public String getName()
`name` is the name of the service. Required- Returns:
- name
-
setName
public void setName(String name)
-
namespace
public IoK8sApiAdmissionregistrationV1beta1ServiceReference namespace(String namespace)
-
getNamespace
public String getNamespace()
`namespace` is the namespace of the service. Required- Returns:
- namespace
-
setNamespace
public void setNamespace(String namespace)
-
path
public IoK8sApiAdmissionregistrationV1beta1ServiceReference path(String path)
-
getPath
@Nullable public String getPath()
`path` is an optional URL path which will be sent in any request to this service.- Returns:
- path
-
setPath
public void setPath(String path)
-
port
public IoK8sApiAdmissionregistrationV1beta1ServiceReference port(Integer port)
-
getPort
@Nullable public Integer getPort()
If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).- Returns:
- port
-
setPort
public void setPort(Integer port)
-
-