@Generated(value="org.jsonschema2pojo") public class User extends Object implements HasMetadata
Modifier and Type | Class and Description |
---|---|
static class |
User.ApiVersion |
Constructor and Description |
---|
User()
No args constructor for use in serialization
|
User(User.ApiVersion apiVersion,
String fullName,
List<String> groups,
List<String> identities,
String kind,
ObjectMeta metadata) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
User.ApiVersion |
getApiVersion()
(Required)
|
String |
getFullName()
full name of user
|
List<String> |
getGroups()
list of groups
|
List<String> |
getIdentities()
list of identities
|
String |
getKind()
(Required)
|
ObjectMeta |
getMetadata() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(User.ApiVersion apiVersion)
(Required)
|
void |
setFullName(String fullName)
full name of user
|
void |
setGroups(List<String> groups)
list of groups
|
void |
setIdentities(List<String> identities)
list of identities
|
void |
setKind(String kind)
(Required)
|
void |
setMetadata(ObjectMeta metadata) |
public User()
public User(User.ApiVersion apiVersion, String fullName, List<String> groups, List<String> identities, String kind, ObjectMeta metadata)
apiVersion
- identities
- fullName
- kind
- groups
- metadata
- public User.ApiVersion getApiVersion()
public void setApiVersion(User.ApiVersion apiVersion)
apiVersion
- The apiVersionpublic String getFullName()
public void setFullName(String fullName)
fullName
- The fullNamepublic void setIdentities(List<String> identities)
identities
- The identitiespublic String getKind()
getKind
in interface HasMetadata
public void setKind(String kind)
kind
- The kindpublic ObjectMeta getMetadata()
getMetadata
in interface HasMetadata
public void setMetadata(ObjectMeta metadata)
setMetadata
in interface HasMetadata
metadata
- The metadataCopyright © 2011–2015 Red Hat. All rights reserved.