ParameterData

data class ParameterData(val name: String?, val typeName: String, val parameter: KParameter, val nameIsNull: Boolean, val hasQuery: Boolean, val hasBody: Boolean, val hasPathParam: Boolean)

This class is responsible for containing the data of a parameter of a method.

Parameters

name

: The name of the parameter.

typeName

: The type name of the parameter.

parameter

: The parameter.

nameIsNull

: Whether the parameter is null.

hasQuery

: Whether the parameter is a query parameter.

hasBody

: Whether the parameter is a body parameter.

hasPathParam

: Whether the parameter is a path parameter.

Constructors

Link copied to clipboard
constructor(name: String?, typeName: String, parameter: KParameter, nameIsNull: Boolean, hasQuery: Boolean, hasBody: Boolean, hasPathParam: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val name: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard