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... | |
An event batch.
Deserializes the property.
key | The key. |
valueJson | The value in JSON format. |
+ (FMLiveSwitchEventBatch*) eventBatch |
- (NSMutableArray*) events |
Gets the events.
+ (FMLiveSwitchEventBatch*) fromJsonWithInstanceJson: | (NSString *) | instanceJson |
Deserializes an instance from JSON.
- (instancetype) init |
- (void) serializePropertiesWithJsonObject: | (NSMutableDictionary< NSString *, NSString * > *) | jsonObject |
Serializes the properties.
jsonObject | The JSON object. |
- (void) setEvents: | (NSMutableArray *) | value |
Sets the events.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonWithInstance: | (FMLiveSwitchEventBatch *) | instance |
Serializes an instance to JSON.