Class Extension

java.lang.Object
com.github.twitch4j.helix.domain.Extension

public class Extension extends Object
Extension
  • Constructor Details

    • Extension

      public Extension()
    • Extension

      public Extension(String id, String name, String version, Boolean canActivate, List<String> type)
      Creates a new Extension instance.
      Parameters:
      id - ID of the extension.
      name - Name of the extension.
      version - Version of the extension.
      canActivate - Indicates whether the extension is configured such that it can be activated.
      type - Types for which the extension can be activated. Valid values: "component", "mobile", "panel", "overlay".
  • Method Details

    • getId

      public String getId()
      ID of the extension.
    • getName

      public String getName()
      Name of the extension.
    • getVersion

      public String getVersion()
      Version of the extension.
    • getCanActivate

      public Boolean getCanActivate()
      Indicates whether the extension is configured such that it can be activated.
    • getType

      public List<String> getType()
      Types for which the extension can be activated. Valid values: "component", "mobile", "panel", "overlay".
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object