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

import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.objects.base.BoolInt;

import java.util.Objects;

/**
 * IsMessagesFromGroupAllowedResponse object
 */
public class IsMessagesFromGroupAllowedResponse {

    /**
     * Information whether user allowed to send messages from community
     */
    @SerializedName("is_allowed")
    private BoolInt isAllowed;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        IsMessagesFromGroupAllowedResponse that = (IsMessagesFromGroupAllowedResponse) o;
        return isAllowed == that.isAllowed;
    }

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

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("IsMessagesFromGroupAllowedResponse{");
        sb.append("isAllowed=").append(isAllowed);
        sb.append('}');
        return sb.toString();
    }
}

@@ -424,16 +424,85 @@
 lowed;%0A%0A
+    public BoolInt getIsAllowed() %7B%0A        return isAllowed;%0A    %7D%0A%0A
     @Ove

Fix #24. Add getter for 'is_allowed' in IsMessagesFromGroupAllowedResponse class.