FMLiveSwitchDiagnosticsDiagnosticsData Class Reference

Data for diagnostics. More...

Instance Methods

(void) - addWithName:value:
 Add a named value. More...
 
(NSString *) - componentName
 Gets the name of the component the data is from. More...
 
(NSMutableDictionary< NSString *, id > *) - data
 Gets the diagnostic data. More...
 
(NSString *) - description
 Serialize DiagnosticsData to a string. More...
 
(instancetype) - initWithComponentName:
 Constructor. More...
 

Class Methods

(FMLiveSwitchDiagnosticsDiagnosticsData *) + diagnosticsDataWithComponentName:
 Constructor. More...
 

Detailed Description

Data for diagnostics.

Method Documentation

◆ addWithName:value:

- (void) addWithName: (NSString *)  name
value: (id value 

Add a named value.

Parameters
name
value

◆ componentName

- (NSString*) componentName

Gets the name of the component the data is from.

◆ data

- (NSMutableDictionary<NSString*,id>*) data

Gets the diagnostic data.

◆ description

- (NSString*) description

Serialize DiagnosticsData to a string.

◆ diagnosticsDataWithComponentName:

+ (FMLiveSwitchDiagnosticsDiagnosticsData*) diagnosticsDataWithComponentName: (NSString *)  componentName

Constructor.

Parameters
componentName

◆ initWithComponentName:

- (instancetype) initWithComponentName: (NSString *)  componentName

Constructor.

Parameters
componentName