Amplication AST Libraries Documentation
    Preparing search index...
    interface Args {
        name: string;
        type: Type;
        get?: boolean;
        init?: boolean;
        set?: boolean;
        access: Access;
        readonly_?: boolean;
        annotations?: Annotation[];
        initializer?: CodeBlock;
        summary?: string;
        jsonPropertyName?: string;
        splitAnnotations?: boolean;
    }
    Index

    Properties

    name: string

    The name of the field

    type: Type

    The type of the field

    get?: boolean

    Whether the field has a getter method

    init?: boolean

    Whether the field has an init method

    set?: boolean

    Whether the field has a setter method

    access: Access

    The access level of the field

    readonly_?: boolean

    Whether the field is readonly

    annotations?: Annotation[]

    Field annotations

    initializer?: CodeBlock

    The initializer for the field

    summary?: string

    XML documentation summary for the field

    jsonPropertyName?: string

    JSON property name for serialization

    splitAnnotations?: boolean

    Whether to split annotations onto separate lines