public final class NodeUserProperties
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Modifier and Type | Class and Description |
---|---|
static class |
NodeUserProperties.Builder
Builder class for
NodeUserProperties . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
static java.lang.String |
STATUS_ACTIVE |
static java.lang.String |
STATUS_NOT_ACTIVATED |
static java.lang.String |
STATUS_PASSWORD_EXPIRED |
Modifier | Constructor and Description |
---|---|
|
NodeUserProperties()
Default constructor.
|
protected |
NodeUserProperties(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static NodeUserProperties |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static NodeUserProperties |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFullName()
Full name for the user
|
java.lang.Long |
getGroupId()
Primary group id for the user format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getHomeDir()
The absolute path of user home directory
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.Long |
getLastPasswordChange()
Number of days since password was last changed format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.util.List<ResourceLink> |
getLinks()
The server will populate this field when returing the resource.
|
java.lang.String |
getLoginShell()
The absolute path of login shell
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getOldPassword()
Old password for the user (required on PUT if password specified)
|
java.lang.String |
getPassword()
Password for the user (optionally specified on PUT, unspecified on GET)
|
java.lang.Long |
getPasswordChangeFrequency()
Number of days password is valid before it must be changed.
|
java.lang.Long |
getPasswordChangeWarning()
Number of days before user receives warning message of password expiration
format: int64
|
java.lang.Boolean |
getPasswordResetRequired()
Boolean value that states if a password reset is required
|
java.lang.String |
getSchema()
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
SelfResourceLink |
getSelf() |
java.lang.String |
getStatus()
|
java.lang.Long |
getUserid()
Numeric id for the user format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
java.lang.String |
getUsername()
User login name (must be \"root\" if userid is 0)
|
int |
hashCode() |
void |
setFullName(java.lang.String fullName)
Full name for the user
|
void |
setGroupId(java.lang.Long groupId)
Primary group id for the user format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setHomeDir(java.lang.String homeDir)
The absolute path of user home directory
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setLastPasswordChange(java.lang.Long lastPasswordChange)
Number of days since password was last changed format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
void |
setLoginShell(java.lang.String loginShell)
The absolute path of login shell
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setOldPassword(java.lang.String oldPassword)
Old password for the user (required on PUT if password specified)
|
void |
setPassword(java.lang.String password)
Password for the user (optionally specified on PUT, unspecified on GET)
|
void |
setPasswordChangeFrequency(java.lang.Long passwordChangeFrequency)
Number of days password is valid before it must be changed.
|
void |
setPasswordChangeWarning(java.lang.Long passwordChangeWarning)
Number of days before user receives warning message of password expiration
format: int64
|
void |
setPasswordResetRequired(java.lang.Boolean passwordResetRequired)
Boolean value that states if a password reset is required
|
void |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setSelf(SelfResourceLink self) |
void |
setStatus(java.lang.String status)
|
void |
setUserid(java.lang.Long userid)
Numeric id for the user format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
void |
setUsername(java.lang.String username)
User login name (must be \"root\" if userid is 0)
|
java.lang.String |
toString() |
public static final java.lang.String STATUS_ACTIVE
public static final java.lang.String STATUS_PASSWORD_EXPIRED
public static final java.lang.String STATUS_NOT_ACTIVATED
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public NodeUserProperties()
protected NodeUserProperties(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.util.List<ResourceLink> getLinks()
public void setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public java.lang.String getSchema()
public void setSchema(java.lang.String schema)
schema
- New value for the property.public SelfResourceLink getSelf()
public void setSelf(SelfResourceLink self)
self
- New value for the property.public java.lang.String getFullName()
public void setFullName(java.lang.String fullName)
fullName
- New value for the property.public java.lang.Long getGroupId()
public void setGroupId(java.lang.Long groupId)
groupId
- New value for the property.public java.lang.String getHomeDir()
public void setHomeDir(java.lang.String homeDir)
homeDir
- New value for the property.public java.lang.Long getLastPasswordChange()
public void setLastPasswordChange(java.lang.Long lastPasswordChange)
lastPasswordChange
- New value for the property.public java.lang.String getLoginShell()
public void setLoginShell(java.lang.String loginShell)
loginShell
- New value for the property.public java.lang.String getOldPassword()
public void setOldPassword(java.lang.String oldPassword)
oldPassword
- New value for the property.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- New value for the property.public java.lang.Long getPasswordChangeFrequency()
public void setPasswordChangeFrequency(java.lang.Long passwordChangeFrequency)
passwordChangeFrequency
- New value for the property.public java.lang.Long getPasswordChangeWarning()
public void setPasswordChangeWarning(java.lang.Long passwordChangeWarning)
passwordChangeWarning
- New value for the property.public java.lang.Boolean getPasswordResetRequired()
public void setPasswordResetRequired(java.lang.Boolean passwordResetRequired)
passwordResetRequired
- New value for the property.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- New value for the property.public java.lang.Long getUserid()
public void setUserid(java.lang.Long userid)
userid
- New value for the property.public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static NodeUserProperties _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static NodeUserProperties _newInstance2(com.vmware.vapi.data.StructValue structValue)