
ru.sms_activate.response.api_rent.SMSActivateGetRentStatusResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SMSActivateApi Show documentation
Show all versions of SMSActivateApi Show documentation
Lib for working with sms activate API.
package ru.sms_activate.response.api_rent;
import ru.sms_activate.response.api_rent.extra.SMSActivateSMS;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class SMSActivateGetRentStatusResponse {
/**
* Count sms.
*/
private int quantity;
/**
* Service name.
*/
private String service;
/**
* SMS list from server.
*/
private Map values;
private SMSActivateGetRentStatusResponse() {
}
/**
* Returns the count sms.
*
* @return count sms.
*/
public int getCountSms() {
return quantity;
}
/**
* Returns the list sms from server.
*
* @return list sms from server.
*/
@NotNull
public List getSmsActivateSMSList() {
return new ArrayList<>(values.values());
}
/**
* Returns the service name.
*
* @return service name
*/
@NotNull
public String getService() {
return service;
}
@Override
public String toString() {
return "SMSActivateGetRentStatusResponse{" +
"quantity=" + quantity +
", service='" + service + '\'' +
", values=" + values +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy