Class UsersFollowingCreateResponseData


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class UsersFollowingCreateResponseData
    extends Object
    UsersFollowingCreateResponseData
    • Constructor Detail

      • UsersFollowingCreateResponseData

        public UsersFollowingCreateResponseData()
    • Method Detail

      • getFollowing

        @Nullable
        public Boolean getFollowing()
        Get following
        Returns:
        following
      • setFollowing

        public void setFollowing​(Boolean following)
      • getPendingFollow

        @Nullable
        public Boolean getPendingFollow()
        Get pendingFollow
        Returns:
        pendingFollow
      • setPendingFollow

        public void setPendingFollow​(Boolean pendingFollow)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to UsersFollowingCreateResponseData
      • fromJson

        public static UsersFollowingCreateResponseData fromJson​(String jsonString)
                                                         throws IOException
        Create an instance of UsersFollowingCreateResponseData given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of UsersFollowingCreateResponseData
        Throws:
        IOException - if the JSON string is invalid with respect to UsersFollowingCreateResponseData
      • toJson

        public String toJson()
        Convert an instance of UsersFollowingCreateResponseData to an JSON string
        Returns:
        JSON string