Class V1TopicPartition
- java.lang.Object
-
- io.streamthoughts.azkarra.client.openapi.models.V1TopicPartition
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-03-03T15:07:47.764821Z[Etc/UTC]") public class V1TopicPartition extends Object
V1TopicPartition
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERIALIZED_NAME_PARTITION
static String
SERIALIZED_NAME_TOPIC
-
Constructor Summary
Constructors Constructor Description V1TopicPartition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getPartition()
The partition of the topicString
getTopic()
The name of the topicint
hashCode()
V1TopicPartition
partition(Integer partition)
void
setPartition(Integer partition)
void
setTopic(String topic)
V1TopicPartition
topic(String topic)
String
toString()
-
-
-
Field Detail
-
SERIALIZED_NAME_TOPIC
public static final String SERIALIZED_NAME_TOPIC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARTITION
public static final String SERIALIZED_NAME_PARTITION
- See Also:
- Constant Field Values
-
-
Method Detail
-
topic
public V1TopicPartition topic(String topic)
-
getTopic
public String getTopic()
The name of the topic- Returns:
- topic
-
setTopic
public void setTopic(String topic)
-
partition
public V1TopicPartition partition(Integer partition)
-
getPartition
public Integer getPartition()
The partition of the topic- Returns:
- partition
-
setPartition
public void setPartition(Integer partition)
-
-