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
-true
if the application is monetizedverified
-true
if the application is verifiedverifyKey
- ???flags
- Flags of the applicationhook
- ???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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoverImage
record component.Returns the value of thedescription
record component.final boolean
Indicates whether some other object is "equal to" this one.int
flags()
Returns the value of theflags
record component.final int
hashCode()
Returns a hash code value for this object.boolean
hook()
Returns the value of thehook
record component.icon()
Returns the value of theicon
record component.long
id()
Returns the value of theid
record component.boolean
Returns the value of themonetized
record component.name()
Returns the value of thename
record component.boolean
Returns the value of thestorefrontAvailable
record component.summary()
Returns the value of thesummary
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.boolean
verified()
Returns the value of theverified
record component.Returns the value of theverifyKey
record 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 aApplication
record class.- Parameters:
id
- the value for theid
record componentname
- the value for thename
record componenticon
- the value for theicon
record componentdescription
- the value for thedescription
record componenttype
- the value for thetype
record componentcoverImage
- the value for thecoverImage
record componentsummary
- the value for thesummary
record componentmonetized
- the value for themonetized
record componentverified
- the value for theverified
record componentverifyKey
- the value for theverifyKey
record componentflags
- the value for theflags
record componenthook
- the value for thehook
record componentstorefrontAvailable
- the value for thestorefrontAvailable
record 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 theid
record component.- Returns:
- the value of the
id
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
icon
Returns the value of theicon
record component.- Returns:
- the value of the
icon
record component
-
description
Returns the value of thedescription
record component.- Returns:
- the value of the
description
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
coverImage
Returns the value of thecoverImage
record component.- Returns:
- the value of the
coverImage
record component
-
summary
Returns the value of thesummary
record component.- Returns:
- the value of the
summary
record component
-
monetized
public boolean monetized()Returns the value of themonetized
record component.- Returns:
- the value of the
monetized
record component
-
verified
public boolean verified()Returns the value of theverified
record component.- Returns:
- the value of the
verified
record component
-
verifyKey
Returns the value of theverifyKey
record component.- Returns:
- the value of the
verifyKey
record component
-
flags
public int flags()Returns the value of theflags
record component.- Returns:
- the value of the
flags
record component
-
hook
public boolean hook()Returns the value of thehook
record component.- Returns:
- the value of the
hook
record component
-
storefrontAvailable
public boolean storefrontAvailable()Returns the value of thestorefrontAvailable
record component.- Returns:
- the value of the
storefrontAvailable
record component
-