UserWise Unity SDK  3.0.0
Public Member Functions | Properties | List of all members
UserWiseSDK.RemoteConfigs.RemoteConfig Class Reference
Inheritance diagram for UserWiseSDK.RemoteConfigs.RemoteConfig:
UserWiseSDK.IDictSerializable< RemoteConfig > UserWiseSDK.Common.IIdentifiable

Public Member Functions

GetJsonAsObject< T > (T defaultValue)
 Safely retrieve the Json property by deserializing the data through the IDictSerializable interface. More...
 
List< T > GetJsonAsList< T > (List< T > defaultValue)
 Safely retrieve the Json property by deserializing the data through the IDictSerializable interface. More...
 
Dictionary< string, object > Serialize ()
 
- Public Member Functions inherited from UserWiseSDK.IDictSerializable< RemoteConfig >
Dictionary< string, object > Serialize ()
 Serialize instance into a generic Dictionary{string, object}. More...
 
Deserialize (Dictionary< string, object > data)
 Deserialize generic Dictionary{string, object} into an instance of T. More...
 

Properties

string Id [get]
 
string Name [get]
 
string ExternalId [get]
 
object Json [get]
 
string JsonRaw [get]
 
DateTime StartAt [get, set]
 
SchedulableTimezoneType StartAtTz [get, set]
 
DateTime EndAt [get, set]
 
SchedulableTimezoneType EndAtTz [get, set]
 

Member Function Documentation

◆ GetJsonAsList< T >()

List<T> UserWiseSDK.RemoteConfigs.RemoteConfig.GetJsonAsList< T > ( List< T >  defaultValue)
inline

Safely retrieve the Json property by deserializing the data through the IDictSerializable interface.

This should only be called if the JSON you expect is a root-level dictionary.

Template Parameters
TType to convert to
Parameters
defaultValueDefault on failure. If null will default(T)
Returns
Type Constraints
T :IDictSerializable<T> 
T :new() 

◆ GetJsonAsObject< T >()

T UserWiseSDK.RemoteConfigs.RemoteConfig.GetJsonAsObject< T > ( defaultValue)
inline

Safely retrieve the Json property by deserializing the data through the IDictSerializable interface.

This should only be called if the JSON you expect is a root-level dictionary.

Template Parameters
TType to convert to
Parameters
defaultValueDefault on failure. If null will default(T)
Returns
Type Constraints
T :IDictSerializable<T> 
T :new() 

The documentation for this class was generated from the following file: