Package com.boldsign.model
Class UpdateGroupContact
- java.lang.Object
-
- com.boldsign.model.UpdateGroupContact
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class UpdateGroupContact extends Object
UpdateGroupContact
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateGroupContact.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_NAME
-
Constructor Summary
Constructors Constructor Description UpdateGroupContact()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateGroupContactaddContactsItem(GroupUser contactsItem)UpdateGroupContactaddDirectoriesItem(String directoriesItem)UpdateGroupContactcontacts(List<GroupUser> contacts)Map<String,Object>createFormData()UpdateGroupContactdirectories(List<String> directories)booleanequals(Object o)static UpdateGroupContactfromJson(String jsonString)Create an instance of UpdateGroupContact given an JSON stringList<GroupUser>getContacts()Get contactsList<String>getDirectories()Get directoriesStringgetGroupName()Get groupNameUpdateGroupContactgroupName(String groupName)inthashCode()voidsetContacts(List<GroupUser> contacts)voidsetDirectories(List<String> directories)voidsetGroupName(String groupName)StringtoJson()Convert an instance of UpdateGroupContact 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_DIRECTORIES
public static final String SERIALIZED_NAME_DIRECTORIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTACTS
public static final String SERIALIZED_NAME_CONTACTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
groupName
public UpdateGroupContact groupName(String groupName)
-
setGroupName
public void setGroupName(String groupName)
-
directories
public UpdateGroupContact directories(List<String> directories)
-
addDirectoriesItem
public UpdateGroupContact addDirectoriesItem(String directoriesItem)
-
contacts
public UpdateGroupContact contacts(List<GroupUser> contacts)
-
addContactsItem
public UpdateGroupContact addContactsItem(GroupUser contactsItem)
-
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 UpdateGroupContact
-
fromJson
public static UpdateGroupContact fromJson(String jsonString) throws IOException
Create an instance of UpdateGroupContact given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateGroupContact
- Throws:
IOException- if the JSON string is invalid with respect to UpdateGroupContact
-
toJson
public String toJson()
Convert an instance of UpdateGroupContact to an JSON string- Returns:
- JSON string
-
-