FMLiveSwitchEventBatch Class Reference

An event batch. More...

Instance Methods

(void) - deserializePropertyWithKey:valueJson:
 Deserializes the property. More...
 
(NSMutableArray *) - events
 Gets the events. More...
 
(instancetype) - init
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setEvents:
 Sets the events. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 

Class Methods

(FMLiveSwitchEventBatch *) + eventBatch
 
(FMLiveSwitchEventBatch *) + fromJsonWithInstanceJson:
 Deserializes an instance from JSON. More...
 
(NSString *) + toJsonWithInstance:
 Serializes an instance to JSON. More...
 

Detailed Description

An event batch.

Method Documentation

◆ deserializePropertyWithKey:valueJson:

- (void) deserializePropertyWithKey: (NSString *)  key
valueJson: (NSString *)  valueJson 

Deserializes the property.

Parameters
keyThe key.
valueJsonThe value in JSON format.

◆ eventBatch

+ (FMLiveSwitchEventBatch*) eventBatch

◆ events

- (NSMutableArray*) events

Gets the events.

◆ fromJsonWithInstanceJson:

+ (FMLiveSwitchEventBatch*) fromJsonWithInstanceJson: (NSString *)  instanceJson

Deserializes an instance from JSON.

◆ init

- (instancetype) init

◆ serializePropertiesWithJsonObject:

- (void) serializePropertiesWithJsonObject: (NSMutableDictionary< NSString *, NSString * > *)  jsonObject

Serializes the properties.

Parameters
jsonObjectThe JSON object.

◆ setEvents:

- (void) setEvents: (NSMutableArray *)  value

Sets the events.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonWithInstance:

+ (NSString*) toJsonWithInstance: (FMLiveSwitchEventBatch *)  instance

Serializes an instance to JSON.