Package de.jcm.discordgamesdk
Record Class ApplicationManager.Application
java.lang.Object
java.lang.Record
de.jcm.discordgamesdk.ApplicationManager.Application
- Record Components:
 id- ID of the applicationname- Name of the applicationicon- Asset ID of the icon of the applicationdescription- Description of the applicationtype- Type of the applicationcoverImage- Asset ID of the cover image of the applicationsummary- Summary of the applicationmonetized-trueif the application is monetizedverified-trueif the application is verifiedverifyKey- ???flags- Flags of the applicationhook- ???storefrontAvailable-trueif 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 Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoverImagerecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.intflags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.booleanhook()Returns the value of thehookrecord component.icon()Returns the value of theiconrecord component.longid()Returns the value of theidrecord component.booleanReturns the value of themonetizedrecord component.name()Returns the value of thenamerecord component.booleanReturns the value of thestorefrontAvailablerecord component.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.booleanverified()Returns the value of theverifiedrecord component.Returns the value of theverifyKeyrecord component. 
- 
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 aApplicationrecord class.- Parameters:
 id- the value for theidrecord componentname- the value for thenamerecord componenticon- the value for theiconrecord componentdescription- the value for thedescriptionrecord componenttype- the value for thetyperecord componentcoverImage- the value for thecoverImagerecord componentsummary- the value for thesummaryrecord componentmonetized- the value for themonetizedrecord componentverified- the value for theverifiedrecord componentverifyKey- the value for theverifyKeyrecord componentflags- the value for theflagsrecord componenthook- the value for thehookrecord componentstorefrontAvailable- the value for thestorefrontAvailablerecord component
 
 - 
 - 
Method Details
- 
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. - 
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. - 
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. - 
id
public long id()Returns the value of theidrecord component.- Returns:
 - the value of the 
idrecord component 
 - 
name
Returns the value of thenamerecord component.- Returns:
 - the value of the 
namerecord component 
 - 
icon
Returns the value of theiconrecord component.- Returns:
 - the value of the 
iconrecord component 
 - 
description
Returns the value of thedescriptionrecord component.- Returns:
 - the value of the 
descriptionrecord component 
 - 
type
Returns the value of thetyperecord component.- Returns:
 - the value of the 
typerecord component 
 - 
coverImage
Returns the value of thecoverImagerecord component.- Returns:
 - the value of the 
coverImagerecord component 
 - 
summary
Returns the value of thesummaryrecord component.- Returns:
 - the value of the 
summaryrecord component 
 - 
monetized
public boolean monetized()Returns the value of themonetizedrecord component.- Returns:
 - the value of the 
monetizedrecord component 
 - 
verified
public boolean verified()Returns the value of theverifiedrecord component.- Returns:
 - the value of the 
verifiedrecord component 
 - 
verifyKey
Returns the value of theverifyKeyrecord component.- Returns:
 - the value of the 
verifyKeyrecord component 
 - 
flags
public int flags()Returns the value of theflagsrecord component.- Returns:
 - the value of the 
flagsrecord component 
 - 
hook
public boolean hook()Returns the value of thehookrecord component.- Returns:
 - the value of the 
hookrecord component 
 - 
storefrontAvailable
public boolean storefrontAvailable()Returns the value of thestorefrontAvailablerecord component.- Returns:
 - the value of the 
storefrontAvailablerecord component 
 
 -