Class
AccountInfo
Represents account metadata returned by the app-server.
Inheritance
- Object
- AccountInfo
Constructors
public AccountInfo(String email, String planType, String accountId, JsonObject raw, JsonObject additional) #Initializes a new account info model.
Parameters
- email System.String
- planType System.String
- accountId System.String
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject
Methods
public static AccountInfo FromJson(JsonObject obj) #Returns:
AccountInfoParses account info from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed account info.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Email { get; } #Gets the account email.
public String PlanType { get; } #Gets the plan type identifier.
public String AccountId { get; } #Gets the account id.
public JsonObject Raw { get; } #Gets the raw JSON object.
public JsonObject Additional { get; } #Gets unrecognized fields from the payload.