Udostępnij za pośrednictwem


TopicTypes Interface

public interface TopicTypes

Resource collection API of TopicTypes.

Method Summary

Modifier and Type Method and Description
abstract TopicTypeInfo get(String topicTypeName)

Get a topic type.

abstract Response<TopicTypeInfo> getWithResponse(String topicTypeName, Context context)

Get a topic type.

abstract PagedIterable<TopicTypeInfo> list()

List topic types.

abstract PagedIterable<TopicTypeInfo> list(Context context)

List topic types.

abstract PagedIterable<EventType> listEventTypes(String topicTypeName)

List event types.

abstract PagedIterable<EventType> 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:

topicTypeName - Name of the topic type.

Returns:

information about a topic type.

getWithResponse

public abstract Response<TopicTypeInfo> getWithResponse(String topicTypeName, Context context)

Get a topic type. Get information about a topic type.

Parameters:

topicTypeName - Name of the topic type.
context - The context to associate with this operation.

Returns:

information about a topic type along with Response<T>.

list

public abstract PagedIterable<TopicTypeInfo> list()

List topic types. List all registered topic types.

Returns:

result of the List Topic Types operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<TopicTypeInfo> list(Context context)

List topic types. List all registered topic types.

Parameters:

context - The context to associate with this operation.

Returns:

result of the List Topic Types operation as paginated response with PagedIterable<T>.

listEventTypes

public abstract PagedIterable<EventType> listEventTypes(String topicTypeName)

List event types. List event types for a topic type.

Parameters:

topicTypeName - Name of the topic type.

Returns:

result of the List Event Types operation as paginated response with PagedIterable<T>.

listEventTypes

public abstract PagedIterable<EventType> listEventTypes(String topicTypeName, Context context)

List event types. List event types for a topic type.

Parameters:

topicTypeName - Name of the topic type.
context - The context to associate with this operation.

Returns:

result of the List Event Types operation as paginated response with PagedIterable<T>.

Applies to