Package com.github.twitch4j.helix.domain
Class Extension
java.lang.Object
com.github.twitch4j.helix.domain.Extension
public class Extension
extends java.lang.Object
Extension
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.BooleangetCanActivate()Indicates whether the extension is configured such that it can be activated.java.lang.StringgetId()ID of the extension.java.lang.StringgetName()Name of the extension.java.util.List<java.lang.String>getType()Types for which the extension can be activated.java.lang.StringgetVersion()Version of the extension.inthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Extension
public Extension() -
Extension
public Extension(java.lang.String id, java.lang.String name, java.lang.String version, java.lang.Boolean canActivate, java.util.List<java.lang.String> type)
-
-
Method Details
-
getId
public java.lang.String getId()ID of the extension. -
getName
public java.lang.String getName()Name of the extension. -
getVersion
public java.lang.String getVersion()Version of the extension. -
getCanActivate
public java.lang.Boolean getCanActivate()Indicates whether the extension is configured such that it can be activated. -
getType
public java.util.List<java.lang.String> getType()Types for which the extension can be activated. Valid values: "component", "mobile", "panel", "overlay". -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-