com.cosmicpush.common.accounts.queries.AccountIdQuery Maven / Gradle / Ivy
/*
* Copyright (c) 2014 Jacob D. Parr
*
* This software may not be used without permission.
*/
package com.cosmicpush.common.accounts.queries;
import com.cosmicpush.pub.internal.*;
public class AccountIdQuery extends AccountQuery {
private final String accountId;
protected AccountIdQuery(String accountId) {
this.accountId = accountId;
}
public String getAccountId() {
return accountId;
}
@Override
public RequestErrors validate(RequestErrors errors) {
ValidationUtils.requireValue(errors, accountId, "The account must be specified.");
return errors;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy