Record Class ApplicationManager.Application

java.lang.Object
java.lang.Record
de.jcm.discordgamesdk.ApplicationManager.Application
Record Components:
id - ID of the application
name - Name of the application
icon - Asset ID of the icon of the application
description - Description of the application
type - Type of the application
coverImage - Asset ID of the cover image of the application
summary - Summary of the application
monetized - true if the application is monetized
verified - true if the application is verified
verifyKey - ???
flags - Flags of the application
hook - ???
storefrontAvailable - true if the application is available on the storefront
Enclosing class:
ApplicationManager

public static record ApplicationManager.Application(long id, String name, String icon, String description, String type, String coverImage, String summary, boolean monetized, boolean verified, String verifyKey, int flags, boolean hook, boolean storefrontAvailable) extends Record
A Discord application.
  • Constructor Details

    • Application

      public Application(long id, String name, String icon, String description, String type, String coverImage, String summary, boolean monetized, boolean verified, String verifyKey, int flags, boolean hook, boolean storefrontAvailable)
      Creates an instance of a Application record class.
      Parameters:
      id - the value for the id record component
      name - the value for the name record component
      icon - the value for the icon record component
      description - the value for the description record component
      type - the value for the type record component
      coverImage - the value for the coverImage record component
      summary - the value for the summary record component
      monetized - the value for the monetized record component
      verified - the value for the verified record component
      verifyKey - the value for the verifyKey record component
      flags - the value for the flags record component
      hook - the value for the hook record component
      storefrontAvailable - the value for the storefrontAvailable record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public long id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • icon

      public String icon()
      Returns the value of the icon record component.
      Returns:
      the value of the icon record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • type

      public String type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • coverImage

      public String coverImage()
      Returns the value of the coverImage record component.
      Returns:
      the value of the coverImage record component
    • summary

      public String summary()
      Returns the value of the summary record component.
      Returns:
      the value of the summary record component
    • monetized

      public boolean monetized()
      Returns the value of the monetized record component.
      Returns:
      the value of the monetized record component
    • verified

      public boolean verified()
      Returns the value of the verified record component.
      Returns:
      the value of the verified record component
    • verifyKey

      public String verifyKey()
      Returns the value of the verifyKey record component.
      Returns:
      the value of the verifyKey record component
    • flags

      public int flags()
      Returns the value of the flags record component.
      Returns:
      the value of the flags record component
    • hook

      public boolean hook()
      Returns the value of the hook record component.
      Returns:
      the value of the hook record component
    • storefrontAvailable

      public boolean storefrontAvailable()
      Returns the value of the storefrontAvailable record component.
      Returns:
      the value of the storefrontAvailable record component