MethodResponse

data class MethodResponse(val name: String, val options: List<OptionResponse>, val requestStreaming: Boolean, val requestTypeUrl: String, val responseStreaming: Boolean, val responseTypeUrl: String, val syntax: String)

Method represents a method of an API interface.

Constructors

Link copied to clipboard
fun MethodResponse(name: String, options: List<OptionResponse>, requestStreaming: Boolean, requestTypeUrl: String, responseStreaming: Boolean, responseTypeUrl: String, syntax: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The simple name of this method.

Link copied to clipboard

Any metadata attached to the method.

Link copied to clipboard

If true, the request is streamed.

Link copied to clipboard

A URL of the input message type.

Link copied to clipboard

If true, the response is streamed.

Link copied to clipboard

The URL of the output message type.

Link copied to clipboard

The source syntax of this method.