target.apidocs.com.google.api.services.directory.model.UserPosixAccount.html Maven / Gradle / Ivy
UserPosixAccount (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class UserPosixAccount
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.UserPosixAccount
-
public final class UserPosixAccount
extends GenericJson
JSON template for a POSIX account entry.
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 Admin SDK API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
UserPosixAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
UserPosixAccount
clone()
String
getAccountId()
A POSIX account field identifier.
String
getGecos()
The GECOS (user information) for this account.
BigInteger
getGid()
The default group ID.
String
getHomeDirectory()
The path to the home directory for this account.
String
getOperatingSystemType()
The operating system type for this account.
Boolean
getPrimary()
If this is user's primary account within the SystemId.
String
getShell()
The path to the login shell for this account.
String
getSystemId()
System identifier for which account Username or Uid apply to.
BigInteger
getUid()
The POSIX compliant user ID.
String
getUsername()
The username of the account.
UserPosixAccount
set(String fieldName,
Object value)
UserPosixAccount
setAccountId(String accountId)
A POSIX account field identifier.
UserPosixAccount
setGecos(String gecos)
The GECOS (user information) for this account.
UserPosixAccount
setGid(BigInteger gid)
The default group ID.
UserPosixAccount
setHomeDirectory(String homeDirectory)
The path to the home directory for this account.
UserPosixAccount
setOperatingSystemType(String operatingSystemType)
The operating system type for this account.
UserPosixAccount
setPrimary(Boolean primary)
If this is user's primary account within the SystemId.
UserPosixAccount
setShell(String shell)
The path to the login shell for this account.
UserPosixAccount
setSystemId(String systemId)
System identifier for which account Username or Uid apply to.
UserPosixAccount
setUid(BigInteger uid)
The POSIX compliant user ID.
UserPosixAccount
setUsername(String username)
The username of the account.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAccountId
public String getAccountId()
A POSIX account field identifier.
- Returns:
- value or
null
for none
-
setAccountId
public UserPosixAccount setAccountId(String accountId)
A POSIX account field identifier.
- Parameters:
accountId
- accountId or null
for none
-
getGecos
public String getGecos()
The GECOS (user information) for this account.
- Returns:
- value or
null
for none
-
setGecos
public UserPosixAccount setGecos(String gecos)
The GECOS (user information) for this account.
- Parameters:
gecos
- gecos or null
for none
-
getGid
public BigInteger getGid()
The default group ID.
- Returns:
- value or
null
for none
-
setGid
public UserPosixAccount setGid(BigInteger gid)
The default group ID.
- Parameters:
gid
- gid or null
for none
-
getHomeDirectory
public String getHomeDirectory()
The path to the home directory for this account.
- Returns:
- value or
null
for none
-
setHomeDirectory
public UserPosixAccount setHomeDirectory(String homeDirectory)
The path to the home directory for this account.
- Parameters:
homeDirectory
- homeDirectory or null
for none
-
getOperatingSystemType
public String getOperatingSystemType()
The operating system type for this account.
- Returns:
- value or
null
for none
-
setOperatingSystemType
public UserPosixAccount setOperatingSystemType(String operatingSystemType)
The operating system type for this account.
- Parameters:
operatingSystemType
- operatingSystemType or null
for none
-
getPrimary
public Boolean getPrimary()
If this is user's primary account within the SystemId.
- Returns:
- value or
null
for none
-
setPrimary
public UserPosixAccount setPrimary(Boolean primary)
If this is user's primary account within the SystemId.
- Parameters:
primary
- primary or null
for none
-
getShell
public String getShell()
The path to the login shell for this account.
- Returns:
- value or
null
for none
-
setShell
public UserPosixAccount setShell(String shell)
The path to the login shell for this account.
- Parameters:
shell
- shell or null
for none
-
getSystemId
public String getSystemId()
System identifier for which account Username or Uid apply to.
- Returns:
- value or
null
for none
-
setSystemId
public UserPosixAccount setSystemId(String systemId)
System identifier for which account Username or Uid apply to.
- Parameters:
systemId
- systemId or null
for none
-
getUid
public BigInteger getUid()
The POSIX compliant user ID.
- Returns:
- value or
null
for none
-
setUid
public UserPosixAccount setUid(BigInteger uid)
The POSIX compliant user ID.
- Parameters:
uid
- uid or null
for none
-
getUsername
public String getUsername()
The username of the account.
- Returns:
- value or
null
for none
-
setUsername
public UserPosixAccount setUsername(String username)
The username of the account.
- Parameters:
username
- username or null
for none
-
set
public UserPosixAccount set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public UserPosixAccount clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.