All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vk.api.sdk.objects.GroupAuthResponse Maven / Gradle / Ivy

Go to download

Java library for VK API interaction, includes OAuth 2.0 authorization and API methods.

The newest version!
package com.vk.api.sdk.objects;


import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.deserializers.GroupAuthResponseDeserializer;

import java.util.Map;

@JsonAdapter(GroupAuthResponseDeserializer.class)
public class GroupAuthResponse {

    private Map accessTokens;

    @SerializedName("expires_in")
    private Integer expiresIn;

    @SerializedName("error")
    private String error;

    public GroupAuthResponse(Map accessTokens, Integer expiresIn, String error) {
        this.accessTokens = accessTokens;
        this.expiresIn = expiresIn;
        this.error = error;
    }

    public Map getAccessTokens() {
        return accessTokens;
    }

    public Integer getExpiresIn() {
        return expiresIn;
    }

    public String getError() {
        return error;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy