FMLiveSwitchWebhookInfo Class Reference

Webhook information. More...

Instance Methods

(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 
(int) - result
 Gets the webhook result. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setResult:
 Sets the webhook result. More...
 
(void) - setUrl:
 Sets the webhook URL. More...
 
(NSString *) - toJson
 Serializes this instance to Json. More...
 
(NSString *) - url
 Gets the webhook URL. More...
 
- Instance Methods inherited from FMLiveSwitchInfo
(NSString *) - id
 Gets the identifier. More...
 
(void) - setId:
 Sets the identifier. More...
 

Class Methods

(FMLiveSwitchWebhookInfo *) + fromJsonWithWebhookInfoJson:
 Deserializes Json to a WebhookInfo. More...
 
(NSString *) + toJsonWithWebhookInfo:
 Serializes an instance to Json. More...
 
(FMLiveSwitchWebhookInfo *) + webhookInfo
 
- Class Methods inherited from FMLiveSwitchInfo
(FMLiveSwitchInfo *) + info
 
(NSMutableArray *) + processArrayWithNewValues:oldValues:
 Processes an array for an info. More...
 
(NSMutableArray *) + processBooleanArrayWithNewValues:oldValues:
 Processes a boolean array for an info. More...
 
(FMLiveSwitchNullableBool *) + processBooleanWithNewValue:oldValue:
 Processes a boolean for an info. More...
 
(FMLiveSwitchNullableDouble *) + processDoubleWithNewValue:oldValue:
 Processes a double for an info. More...
 
(NSMutableArray *) + processFloatArrayWithNewValues:oldValues:
 Processes a float array for an info. More...
 
(FMLiveSwitchNullableFloat *) + processFloatWithNewValue:oldValue:
 Processes a float for an info. More...
 
(NSMutableArray *) + processIntegerArrayWithNewValues:oldValues:
 Processes a integer array for an info. More...
 
(FMLiveSwitchNullableInt *) + processIntegerWithNewValue:oldValue:
 Processes an integer for an info. More...
 
(NSMutableArray *) + processLongArrayWithNewValues:oldValues:
 Processes a long array for an info. More...
 
(FMLiveSwitchNullableLong *) + processLongWithNewValue:oldValue:
 Processes a long for an info. More...
 
(NSObject< FMLiveSwitchIEquivalent > *) + processObjectWithNewValue:oldValue:
 Processes an object for an info. More...
 
(NSMutableArray *) + processShortArrayWithNewValues:oldValues:
 Processes a short array for an info. More...
 
(FMLiveSwitchNullableShort *) + processShortWithNewValue:oldValue:
 Processes a short for an info. More...
 
(NSString *) + processStringWithNewValue:oldValue:
 Processes a string for an info. More...
 

Detailed Description

Webhook information.

Method Documentation

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchInfo.

◆ fromJsonWithWebhookInfoJson:

+ (FMLiveSwitchWebhookInfo*) fromJsonWithWebhookInfoJson: (NSString *)  webhookInfoJson

Deserializes Json to a WebhookInfo.

Parameters
webhookInfoJsonThe serialized Json.
Returns
The deserialized WebhookInfo.

◆ init

- (instancetype) init

Implements FMLiveSwitchInfo.

◆ result

- (int) result

Gets the webhook result.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchInfo.

◆ setResult:

- (void) setResult: (int)  value

Sets the webhook result.

◆ setUrl:

- (void) setUrl: (NSString *)  value

Sets the webhook URL.

◆ toJson

- (NSString*) toJson

Serializes this instance to Json.

◆ toJsonWithWebhookInfo:

+ (NSString*) toJsonWithWebhookInfo: (FMLiveSwitchWebhookInfo *)  webhookInfo

Serializes an instance to Json.

Parameters
webhookInfoThe instance to serialize.
Returns
Serialized Json.

◆ url

- (NSString*) url

Gets the webhook URL.

◆ webhookInfo

+ (FMLiveSwitchWebhookInfo*) webhookInfo