Class WhoAmIResponse
Response from the WhoAmI endpoint containing team info and API key capabilities.
public record WhoAmIResponse : IEquatable<WhoAmIResponse>
- Inheritance
-
WhoAmIResponse
- Implements
- Inherited Members
Properties
AccessLevel
public string AccessLevel { get; init; }
Property Value
Areas
The team's areas that are on, such as Content or Monitoring (#144). Null from a
server that does not say, which is not the same as none.
public string[] Areas { get; init; }
Property Value
- string[]
Scopes
public string[] Scopes { get; init; }
Property Value
- string[]
TeamKey
public string TeamKey { get; init; }
Property Value
TeamName
public string TeamName { get; init; }
Property Value
Methods
HasScope(string)
public bool HasScope(string scope)
Parameters
scopestring
Returns
IsAreaOn(string)
Whether the team has the area on; null when the server did not say.
public bool? IsAreaOn(string area)
Parameters
areastring
Returns
- bool?