Class GroupContact


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.8.0")
    public class GroupContact
    extends Object
    GroupContact
    • Constructor Detail

      • GroupContact

        public GroupContact()
    • Method Detail

      • getGroupName

        @Nullable
        public String getGroupName()
        Get groupName
        Returns:
        groupName
      • setGroupName

        public void setGroupName​(String groupName)
      • getGroupId

        @Nullable
        public String getGroupId()
        Get groupId
        Returns:
        groupId
      • setGroupId

        public void setGroupId​(String groupId)
      • setContacts

        public void setContacts​(List<GroupUser> contacts)
      • getDirectories

        @Nullable
        public List<String> getDirectories()
        Get directories
        Returns:
        directories
      • setDirectories

        public void setDirectories​(List<String> directories)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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