Class KeyedAppState
Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.
Implements
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1.Data
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class KeyedAppState : IDirectResponseSchema
Properties
Data
Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
Declaration
[JsonProperty("data")]
public virtual string Data { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Key
Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
string |
Message
Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it.
Declaration
[JsonProperty("message")]
public virtual string Message { get; set; }
Property Value
Type | Description |
---|---|
string |
Severity
Severity of the app state. This field will always be present.
Declaration
[JsonProperty("severity")]
public virtual string Severity { get; set; }
Property Value
Type | Description |
---|---|
string |
StateTimestampMillis
Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
Declaration
[JsonProperty("stateTimestampMillis")]
public virtual long? StateTimestampMillis { get; set; }
Property Value
Type | Description |
---|---|
long? |