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

com.revinate.sendgrid.resource.MonitorResource Maven / Gradle / Ivy

The newest version!
package com.revinate.sendgrid.resource;

import com.revinate.sendgrid.exception.SendGridException;
import com.revinate.sendgrid.model.Monitor;
import com.revinate.sendgrid.net.SendGridHttpClient;
import com.revinate.sendgrid.net.auth.Credential;

import java.util.Map;

public class MonitorResource extends SingularEntityResource {

    public static final String ENDPOINT = "monitor";

    public MonitorResource(String baseUrl, SendGridHttpClient client, Credential credential) {
        super(baseUrl, client, credential, Monitor.class);
    }

    @Override
    public Monitor partialUpdate(Map requestObject) throws SendGridException {
        throw unsupported();
    }

    @Override
    protected String getEndpoint() {
        return ENDPOINT;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy