@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-04T09:55:14.976Z[Etc/UTC]") public class ApiregistrationV1ServiceReference extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_NAMESPACE |
static String |
SERIALIZED_NAME_PORT |
Constructor and Description |
---|
ApiregistrationV1ServiceReference() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
Name is the name of the service
|
String |
getNamespace()
Namespace is the namespace of the service
|
Integer |
getPort()
If specified, the port on the service that hosting webhook.
|
int |
hashCode() |
ApiregistrationV1ServiceReference |
name(String name) |
ApiregistrationV1ServiceReference |
namespace(String namespace) |
ApiregistrationV1ServiceReference |
port(Integer port) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setPort(Integer port) |
String |
toString() |
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAMESPACE
public static final String SERIALIZED_NAME_PORT
public ApiregistrationV1ServiceReference name(String name)
public void setName(String name)
public ApiregistrationV1ServiceReference namespace(String namespace)
@Nullable public String getNamespace()
public void setNamespace(String namespace)
public ApiregistrationV1ServiceReference port(Integer port)
@Nullable public Integer getPort()
public void setPort(Integer port)
Copyright © 2021. All rights reserved.