Package com.ngrok.definitions
Class AbuseReportHostname
java.lang.Object
com.ngrok.definitions.AbuseReportHostname
A class encapsulating the
AbuseReportHostname resource.-
Constructor Summary
ConstructorsConstructorDescriptionAbuseReportHostname(String hostname, String status) Creates a new instance ofAbuseReportHostname. -
Method Summary
-
Constructor Details
-
AbuseReportHostname
Creates a new instance ofAbuseReportHostname.- Parameters:
hostname- the hostname ngrok has parsed out of one of the reported URLs in this abuse reportstatus- indicates what action ngrok has taken against the hostname. one ofPENDING,BANNED,UNBANNED, orIGNORE
-
-
Method Details
-
getHostname
the hostname ngrok has parsed out of one of the reported URLs in this abuse report- Returns:
- the value of the property as a
String
-
getStatus
indicates what action ngrok has taken against the hostname. one ofPENDING,BANNED,UNBANNED, orIGNORE- Returns:
- the value of the property as a
String
-
equals
-
hashCode
public int hashCode() -
toString
-