public final class PosixAccount
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud OS Login API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
PosixAccount() |
Modifier and Type | Method and Description |
---|---|
PosixAccount |
clone() |
java.lang.String |
getAccountId()
Output only.
|
java.lang.String |
getGecos()
The GECOS (user information) entry for this account.
|
java.lang.Long |
getGid()
The default group ID.
|
java.lang.String |
getHomeDirectory()
The path to the home directory for this account.
|
java.lang.String |
getName()
Output only.
|
java.lang.String |
getOperatingSystemType()
The operating system type where this account applies.
|
java.lang.Boolean |
getPrimary()
Only one POSIX account can be marked as primary.
|
java.lang.String |
getShell()
The path to the logic shell for this account.
|
java.lang.String |
getSystemId()
System identifier for which account the username or uid applies to.
|
java.lang.Long |
getUid()
The user ID.
|
java.lang.String |
getUsername()
The username of the POSIX account.
|
PosixAccount |
set(java.lang.String fieldName,
java.lang.Object value) |
PosixAccount |
setAccountId(java.lang.String accountId)
Output only.
|
PosixAccount |
setGecos(java.lang.String gecos)
The GECOS (user information) entry for this account.
|
PosixAccount |
setGid(java.lang.Long gid)
The default group ID.
|
PosixAccount |
setHomeDirectory(java.lang.String homeDirectory)
The path to the home directory for this account.
|
PosixAccount |
setName(java.lang.String name)
Output only.
|
PosixAccount |
setOperatingSystemType(java.lang.String operatingSystemType)
The operating system type where this account applies.
|
PosixAccount |
setPrimary(java.lang.Boolean primary)
Only one POSIX account can be marked as primary.
|
PosixAccount |
setShell(java.lang.String shell)
The path to the logic shell for this account.
|
PosixAccount |
setSystemId(java.lang.String systemId)
System identifier for which account the username or uid applies to.
|
PosixAccount |
setUid(java.lang.Long uid)
The user ID.
|
PosixAccount |
setUsername(java.lang.String username)
The username of the POSIX account.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAccountId()
null
for nonepublic PosixAccount setAccountId(java.lang.String accountId)
accountId
- accountId or null
for nonepublic java.lang.String getGecos()
null
for nonepublic PosixAccount setGecos(java.lang.String gecos)
gecos
- gecos or null
for nonepublic java.lang.Long getGid()
null
for nonepublic PosixAccount setGid(java.lang.Long gid)
gid
- gid or null
for nonepublic java.lang.String getHomeDirectory()
null
for nonepublic PosixAccount setHomeDirectory(java.lang.String homeDirectory)
homeDirectory
- homeDirectory or null
for nonepublic java.lang.String getName()
null
for nonepublic PosixAccount setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getOperatingSystemType()
null
for nonepublic PosixAccount setOperatingSystemType(java.lang.String operatingSystemType)
operatingSystemType
- operatingSystemType or null
for nonepublic java.lang.Boolean getPrimary()
null
for nonepublic PosixAccount setPrimary(java.lang.Boolean primary)
primary
- primary or null
for nonepublic java.lang.String getShell()
null
for nonepublic PosixAccount setShell(java.lang.String shell)
shell
- shell or null
for nonepublic java.lang.String getSystemId()
null
for nonepublic PosixAccount setSystemId(java.lang.String systemId)
systemId
- systemId or null
for nonepublic java.lang.Long getUid()
null
for nonepublic PosixAccount setUid(java.lang.Long uid)
uid
- uid or null
for nonepublic java.lang.String getUsername()
null
for nonepublic PosixAccount setUsername(java.lang.String username)
username
- username or null
for nonepublic PosixAccount set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PosixAccount clone()
clone
in class com.google.api.client.json.GenericJson