package com.vk.api.sdk.objects.messages.responses;

import com.google.gson.annotations.SerializedName;

import java.util.Objects;

public class JoinChatResponse {

    @SerializedName("chat_id")
    private Integer chatId;

    public Integer getChatId() {
        return chatId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JoinChatResponse response = (JoinChatResponse) o;
        return Objects.equals(chatId, response.chatId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(chatId);
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("JoinChatResponse{");
        sb.append("chatId=").append(chatId);
        sb.append('}');
        return sb.toString();
    }
}
@@ -124,16 +124,87 @@
 jects;%0A%0A
+/**%0A * Response which contains chat_id the current user joined to%0A */%0A%0A
 public c

Add comment