Search Results for

    / fm / liveswitch / EventBatch

    Class: EventBatch

    fm.liveswitch.EventBatch

    An event batch.

    Table of contents

    Constructors

    • constructor

    Methods

    • deserializeProperty
    • getEvents
    • getTypeString
    • serializeProperties
    • setEvents
    • toJson
    • fromJson
    • toJson

    Constructors

    constructor

    + new EventBatch(): EventBatch

    Returns: EventBatch

    Defined in: Generated/TypeScript/fm.liveswitch/EventBatch.ts:13

    Methods

    deserializeProperty

    ▸ ProtecteddeserializeProperty(key: string, valueJson: string): void

    Deserializes the property.

    Parameters:

    Name Type Description
    key string The key.
    valueJson string The value in JSON format.

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/EventBatch.ts:63


    getEvents

    ▸ getEvents(): EventInfo[]

    Gets the events.

    Returns: EventInfo[]

    Defined in: Generated/TypeScript/fm.liveswitch/EventBatch.ts:78


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/EventBatch.ts:9


    serializeProperties

    ▸ ProtectedserializeProperties(jsonObject: Hash<string, string>): void

    Serializes the properties.

    Parameters:

    Name Type Description
    jsonObject Hash<string, string> The JSON object.

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/EventBatch.ts:91


    setEvents

    ▸ setEvents(value: EventInfo[]): void

    Sets the events.

    Parameters:

    Name Type
    value EventInfo[]

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/EventBatch.ts:105


    toJson

    ▸ toJson(): string

    Serializes this instance to JSON.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/EventBatch.ts:117


    fromJson

    ▸ StaticfromJson(instanceJson: string): EventBatch

    Deserializes an instance from JSON.

    Parameters:

    Name Type
    instanceJson string

    Returns: EventBatch

    Defined in: Generated/TypeScript/fm.liveswitch/EventBatch.ts:31


    toJson

    ▸ StatictoJson(instance: EventBatch): string

    Serializes an instance to JSON.

    Parameters:

    Name Type
    instance EventBatch

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/EventBatch.ts:47

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.14.6