Package com.smartsheet.api.models
Class GroupMember
- java.lang.Object
-
- com.smartsheet.api.models.IdentifiableModel<java.lang.Long>
-
- com.smartsheet.api.models.UserModel
-
- com.smartsheet.api.models.UserModelWithName
-
- com.smartsheet.api.models.GroupMember
-
public class GroupMember extends UserModelWithName
Represents the Group Member object.- See Also:
- Help Managing Groups
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroupMember.AddGroupMemberBuilder
A convenience class for making aGroupMember
object with the appropriate fields for adding to aGroup
.
-
Constructor Summary
Constructors Constructor Description GroupMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEmail()
Gets the Group Member’s email addressjava.lang.String
getFirstName()
Gets the Group Member’s first namejava.lang.String
getLastName()
Gets the Group Member’s last nameUserModel
setEmail(java.lang.String email)
Sets the email address.UserModel
setFirstName(java.lang.String firstName)
Sets the first name.UserModel
setLastName(java.lang.String lastName)
Sets the last name.-
Methods inherited from class com.smartsheet.api.models.UserModelWithName
getName, setName
-
Methods inherited from class com.smartsheet.api.models.UserModel
getAdmin, getAlternateEmails, getCompany, getCustomWelcomeScreenViewed, getDepartment, getGroupAdmin, getLastLogin, getLicensedSheetCreator, getMobilePhone, getProfileImage, getResourceViewer, getRole, getSheetCount, getStatus, getTitle, getWorkPhone, setAdmin, setAlternateEmails, setCompany, setCustomWelcomeScreenViewed, setDepartment, setGroupAdmin, setLastLogin, setLicensedSheetCreator, setMobilePhone, setProfileImage, setResourceViewer, setRole, setSheetCount, setStatus, setTitle, setWorkPhone
-
Methods inherited from class com.smartsheet.api.models.IdentifiableModel
equals, getId, hashCode, setId
-
-
-
-
Method Detail
-
getEmail
public java.lang.String getEmail()
Gets the Group Member’s email address
-
setEmail
public UserModel setEmail(java.lang.String email)
Description copied from class:UserModel
Sets the email address.
-
getFirstName
public java.lang.String getFirstName()
Gets the Group Member’s first name- Overrides:
getFirstName
in classUserModel
- Returns:
- the firstname
-
setFirstName
public UserModel setFirstName(java.lang.String firstName)
Description copied from class:UserModel
Sets the first name.- Overrides:
setFirstName
in classUserModel
- Parameters:
firstName
- the Group Member's first name to set
-
getLastName
public java.lang.String getLastName()
Gets the Group Member’s last name- Overrides:
getLastName
in classUserModel
- Returns:
- the last name
-
setLastName
public UserModel setLastName(java.lang.String lastName)
Description copied from class:UserModel
Sets the last name.- Overrides:
setLastName
in classUserModel
- Parameters:
lastName
- the Group Member’s last name to set
-
-