@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class GroupContactsDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GroupContactsDto.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CONTACTS |
static String |
SERIALIZED_NAME_GROUP |
Constructor and Description |
---|
GroupContactsDto() |
Modifier and Type | Method and Description |
---|---|
GroupContactsDto |
addContactsItem(ContactDto contactsItem) |
GroupContactsDto |
contacts(List<ContactDto> contacts) |
boolean |
equals(Object o) |
static GroupContactsDto |
fromJson(String jsonString)
Create an instance of GroupContactsDto given an JSON string
|
List<ContactDto> |
getContacts()
Get contacts
|
GroupDto |
getGroup()
Get group
|
GroupContactsDto |
group(GroupDto group) |
int |
hashCode() |
void |
setContacts(List<ContactDto> contacts) |
void |
setGroup(GroupDto group) |
String |
toJson()
Convert an instance of GroupContactsDto to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_GROUP
public static final String SERIALIZED_NAME_CONTACTS
public GroupContactsDto group(GroupDto group)
public void setGroup(GroupDto group)
public GroupContactsDto contacts(List<ContactDto> contacts)
public GroupContactsDto addContactsItem(ContactDto contactsItem)
@Nonnull public List<ContactDto> getContacts()
public void setContacts(List<ContactDto> contacts)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to GroupContactsDtopublic static GroupContactsDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to GroupContactsDtopublic String toJson()
Copyright © 2023. All rights reserved.