Class KotlinGenerationOptions
- Namespace
- TypedRest.CodeGeneration.Kotlin
- Assembly
- TypedRest.CodeGeneration.Kotlin.dll
Options controlling the generation of a Kotlin TypedRest client.
public class KotlinGenerationOptions : JvmGenerationOptions
- Inheritance
-
objectKotlinGenerationOptions
- Inherited Members
Constructors
KotlinGenerationOptions(string)
Creates new generation options.
public KotlinGenerationOptions(string serviceName)
Parameters
serviceNamestringThe service name to use for the entry endpoint.
KotlinGenerationOptions(ClientGenerationOptions)
Creates new generation options, copying the common options from other.
public KotlinGenerationOptions(ClientGenerationOptions other)
Parameters
otherClientGenerationOptions
Properties
DefaultSerializerName
The name of the serializer this target language uses when none is chosen.
protected override string DefaultSerializerName { get; }
Property Value
SupportedSerializers
The names accepted by Serializer, most preferred first. Empty if the target language has no serializer to choose, either because it does not annotate DTOs or because it only supports one.
public override IReadOnlyCollection<string> SupportedSerializers { get; }
Property Value
Remarks
Target languages override this to declare what they can generate for.