com.jakewharton.pingdom.entities.Error Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pingdom-java Show documentation
Show all versions of pingdom-java Show documentation
A Java wrapper around the Pingdom RESTful API and a simple DSL for easy interaction.
The newest version!
package com.jakewharton.pingdom.entities;
import com.google.gson.annotations.Since;
import com.jakewharton.pingdom.PingdomEntity;
/**
* Represents a Pingdom error object.
*/
public final class Error implements PingdomEntity {
private static final long serialVersionUID = 4351246390203620969L;
@Since(2.0) private Integer statusCode;
@Since(2.0) private String statusDesc;
@Since(2.0) private String errorMessage;
/**
* Error status code.
*
* @return Value.
* @since 2.0
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* Error status description.
*
* @return Value.
* @since 2.0
*/
public String getStatusDescription() {
return this.statusDesc;
}
/**
* Error message body.
*
* @return Value.
* @since 2.0
*/
public String getErrorMessage() {
return this.errorMessage;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy