DocsParameter

data class DocsParameter(val name: String, val description: String, val isOptional: Boolean, val isLikelyNamed: Boolean, val isLikelyBody: Boolean, val allowedValues: List<String>?)

A function parameter in a documentation file.

Parameters

name

the name of the parameter

description

the description of the parameter, possibly in HTML format

isOptional

whether the parameter is optional

isLikelyNamed

whether the parameter is likely to be passed as a named parameter

isLikelyBody

whether the parameter is likely to be passed as a body parameter

allowedValues

the allowed enum values for the parameter, or null if not applicable

Constructors

Link copied to clipboard
constructor(name: String, description: String, isOptional: Boolean, isLikelyNamed: Boolean, isLikelyBody: Boolean, allowedValues: List<String>?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard