CommandRouteMetadata

data class CommandRouteMetadata<C>(val enabled: Boolean, val action: String, val method: String, val prefix: String = "", val appendIdPath: CommandRoute.AppendPath = CommandRoute.AppendPath.DEFAULT, val appendTenantPath: CommandRoute.AppendPath = CommandRoute.AppendPath.DEFAULT, val appendOwnerPath: CommandRoute.AppendPath = CommandRoute.AppendPath.DEFAULT, val commandMetadata: CommandMetadata<C>, val summary: String = "", val description: String = "", val pathVariableMetadata: Set<VariableMetadata> = setOf(), val headerVariableMetadata: Set<VariableMetadata> = setOf()) : Metadata, SummaryCapable, DescriptionCapable

Constructors

Link copied to clipboard
constructor(enabled: Boolean, action: String, method: String, prefix: String = "", appendIdPath: CommandRoute.AppendPath = CommandRoute.AppendPath.DEFAULT, appendTenantPath: CommandRoute.AppendPath = CommandRoute.AppendPath.DEFAULT, appendOwnerPath: CommandRoute.AppendPath = CommandRoute.AppendPath.DEFAULT, commandMetadata: CommandMetadata<C>, summary: String = "", description: String = "", pathVariableMetadata: Set<VariableMetadata> = setOf(), headerVariableMetadata: Set<VariableMetadata> = setOf())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val description: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

filedName -> PathVariableMetadata

Link copied to clipboard
Link copied to clipboard
open override val summary: String

Functions

Link copied to clipboard
fun decode(commandNode: ObjectNode, pathVariableProvider: (String) -> String?, headerVariableProvider: (String) -> String?): C
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int