Class UserReference
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.UserReference
-
- All Implemented Interfaces:
Serializable
public class UserReference extends Object implements Serializable
Java class for userReference complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="userReference"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="guid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="dn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserReference()
Default no-arg constructorUserReference(UserReference other)
UserReference(Integer id)
UserReference(String username)
UserReference(String guid, Integer id, String username, String dn, String label)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDn()
Gets the value of the dn property.String
getGuid()
Gets the value of the guid property.Integer
getId()
Gets the value of the id property.String
getLabel()
Gets the value of the label property.String
getUsername()
Gets the value of the username property.void
setDn(String value)
Sets the value of the dn property.void
setGuid(String value)
Sets the value of the guid property.void
setId(Integer value)
Sets the value of the id property.void
setLabel(String value)
Sets the value of the label property.void
setUsername(String value)
Sets the value of the username property.String
toString()
UserReference
withDn(String value)
UserReference
withGuid(String value)
UserReference
withId(Integer value)
UserReference
withLabel(String value)
UserReference
withUsername(String value)
-
-
-
Constructor Detail
-
UserReference
public UserReference()
Default no-arg constructor
-
UserReference
public UserReference(String guid, Integer id, String username, String dn, String label)
Fully-initialising value constructor
-
UserReference
public UserReference(Integer id)
-
UserReference
public UserReference(String username)
-
UserReference
public UserReference(UserReference other)
-
-
Method Detail
-
getGuid
public String getGuid()
Gets the value of the guid property.- Returns:
- possible object is
String
-
setGuid
public void setGuid(String value)
Sets the value of the guid property.- Parameters:
value
- allowed object isString
-
setId
public void setId(Integer value)
Sets the value of the id property.- Parameters:
value
- allowed object isInteger
-
getUsername
public String getUsername()
Gets the value of the username property.- Returns:
- possible object is
String
-
setUsername
public void setUsername(String value)
Sets the value of the username property.- Parameters:
value
- allowed object isString
-
setDn
public void setDn(String value)
Sets the value of the dn property.- Parameters:
value
- allowed object isString
-
getLabel
public String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(String value)
Sets the value of the label property.- Parameters:
value
- allowed object isString
-
withGuid
public UserReference withGuid(String value)
-
withId
public UserReference withId(Integer value)
-
withUsername
public UserReference withUsername(String value)
-
withDn
public UserReference withDn(String value)
-
withLabel
public UserReference withLabel(String value)
-
-