Users Class
- java.
lang. Object - com.
azure. resourcemanager. dashboard. models. Users
- com.
Implements
public final class Users
implements JsonSerializable<Users>
Grafana users settings.
Constructor Summary
| Constructor | Description |
|---|---|
| Users() |
Creates an instance of Users class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
editorsCanAdmin()
Get the editors |
| static Users |
fromJson(JsonReader jsonReader)
Reads an instance of Users from the Json |
|
Json |
toJson(JsonWriter jsonWriter) |
| Boolean |
viewersCanEdit()
Get the viewers |
| Users |
withEditorsCanAdmin(Boolean editorsCanAdmin)
Set the editors |
| Users |
withViewersCanEdit(Boolean viewersCanEdit)
Set the viewers |
Methods inherited from java.lang.Object
Constructor Details
Users
public Users()
Creates an instance of Users class.
Method Details
editorsCanAdmin
public Boolean editorsCanAdmin()
Get the editorsCanAdmin property: Set to true so editors can administrate dashboards, folders and teams they create.
Returns:
fromJson
public static Users fromJson(JsonReader jsonReader)
Reads an instance of Users from the JsonReader.
Parameters:
Returns:
Throws:
toJson
viewersCanEdit
public Boolean viewersCanEdit()
Get the viewersCanEdit property: Set to true so viewers can access and use explore and perform temporary edits on panels in dashboards they have access to. They cannot save their changes.
Returns:
withEditorsCanAdmin
public Users withEditorsCanAdmin(Boolean editorsCanAdmin)
Set the editorsCanAdmin property: Set to true so editors can administrate dashboards, folders and teams they create.
Parameters:
Returns:
withViewersCanEdit
public Users withViewersCanEdit(Boolean viewersCanEdit)
Set the viewersCanEdit property: Set to true so viewers can access and use explore and perform temporary edits on panels in dashboards they have access to. They cannot save their changes.
Parameters:
Returns: