com.vk.api.sdk.objects.friends.responses.AddResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
Java library for VK API interaction, includes OAuth 2.0 authorization and API methods.
The newest version!
// Autogenerated from vk-api-schema. Please don't edit it manually.
package com.vk.api.sdk.objects.friends.responses;
import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.queries.EnumParam;
/**
* Friend request status
*/
public enum AddResponse implements EnumParam {
@SerializedName("1")
SEND(1),
@SerializedName("2")
APPROVED(2),
@SerializedName("4")
RESEND(4);
private final Integer value;
AddResponse(Integer value) {
this.value = value;
}
public String getValue() {
return value.toString();
}
@Override
public String toString() {
return value.toString().toLowerCase();
}
}