Package com.boldsign.model
Class GroupContact
- java.lang.Object
-
- com.boldsign.model.GroupContact
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class GroupContact extends Object
GroupContact
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupContact.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CONTACTSstatic StringSERIALIZED_NAME_DIRECTORIESstatic StringSERIALIZED_NAME_GROUP_IDstatic StringSERIALIZED_NAME_GROUP_NAME
-
Constructor Summary
Constructors Constructor Description GroupContact()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupContactaddContactsItem(GroupUser contactsItem)GroupContactaddDirectoriesItem(String directoriesItem)GroupContactcontacts(List<GroupUser> contacts)Map<String,Object>createFormData()GroupContactdirectories(List<String> directories)booleanequals(Object o)static GroupContactfromJson(String jsonString)Create an instance of GroupContact given an JSON stringList<GroupUser>getContacts()Get contactsList<String>getDirectories()Get directoriesStringgetGroupId()Get groupIdStringgetGroupName()Get groupNameGroupContactgroupId(String groupId)GroupContactgroupName(String groupName)inthashCode()voidsetContacts(List<GroupUser> contacts)voidsetDirectories(List<String> directories)voidsetGroupId(String groupId)voidsetGroupName(String groupName)StringtoJson()Convert an instance of GroupContact to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_GROUP_NAME
public static final String SERIALIZED_NAME_GROUP_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GROUP_ID
public static final String SERIALIZED_NAME_GROUP_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTACTS
public static final String SERIALIZED_NAME_CONTACTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DIRECTORIES
public static final String SERIALIZED_NAME_DIRECTORIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
groupName
public GroupContact groupName(String groupName)
-
setGroupName
public void setGroupName(String groupName)
-
groupId
public GroupContact groupId(String groupId)
-
setGroupId
public void setGroupId(String groupId)
-
contacts
public GroupContact contacts(List<GroupUser> contacts)
-
addContactsItem
public GroupContact addContactsItem(GroupUser contactsItem)
-
directories
public GroupContact directories(List<String> directories)
-
addDirectoriesItem
public GroupContact addDirectoriesItem(String directoriesItem)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to GroupContact
-
fromJson
public static GroupContact fromJson(String jsonString) throws IOException
Create an instance of GroupContact given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GroupContact
- Throws:
IOException- if the JSON string is invalid with respect to GroupContact
-
toJson
public String toJson()
Convert an instance of GroupContact to an JSON string- Returns:
- JSON string
-
-