@ThriftStruct public class SelectedRole extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectedRole.Type |
| Constructor and Description |
|---|
SelectedRole(SelectedRole.Type type,
Optional<String> role) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Optional<String> |
getRole() |
SelectedRole.Type |
getType() |
int |
hashCode() |
String |
toString() |
static SelectedRole |
valueOf(String value) |
@ThriftConstructor public SelectedRole(SelectedRole.Type type, Optional<String> role)
@ThriftField(value=1) public SelectedRole.Type getType()
public static SelectedRole valueOf(String value)
Copyright © 2012–2022. All rights reserved.