TopicTypes Interface
public interface TopicTypes
Resource collection API of TopicTypes.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Topic |
get(String topicTypeName)
Get a topic type. |
|
abstract
Response<Topic |
getWithResponse(String topicTypeName, Context context)
Get a topic type. |
|
abstract
Paged |
list()
List topic types. |
|
abstract
Paged |
list(Context context)
List topic types. |
|
abstract
Paged |
listEventTypes(String topicTypeName)
List event types. |
|
abstract
Paged |
listEventTypes(String topicTypeName, Context context)
List event types. |
Method Details
get
public abstract TopicTypeInfo get(String topicTypeName)
Get a topic type. Get information about a topic type.
Parameters:
Returns:
getWithResponse
public abstract Response<TopicTypeInfo> getWithResponse(String topicTypeName, Context context)
Get a topic type. Get information about a topic type.
Parameters:
Returns:
list
public abstract PagedIterable<TopicTypeInfo> list()
List topic types. List all registered topic types.
Returns:
list
public abstract PagedIterable<TopicTypeInfo> list(Context context)
List topic types. List all registered topic types.
Parameters:
Returns:
listEventTypes
public abstract PagedIterable<EventType> listEventTypes(String topicTypeName)
List event types. List event types for a topic type.
Parameters:
Returns:
listEventTypes
public abstract PagedIterable<EventType> listEventTypes(String topicTypeName, Context context)
List event types. List event types for a topic type.
Parameters:
Returns: