Class GamePayload

java.lang.Object
live.crowdcontrol.cc4j.websocket.http.GamePayload

public class GamePayload extends Object
  • Field Details

  • Constructor Details

    • GamePayload

      public GamePayload(@NotNull @NotNull String gameID, @NotNull @NotNull CCName name, @NotNull @NotNull List<String> platforms, @Pattern("^\\d{4}-\\d{2}-\\d{2}$") @NotNull @NotNull String releaseDate, @NotNull @NotNull List<String> packs, @Nullable @Nullable String title, @Nullable @Nullable String description, @Nullable @Nullable String image, @Nullable @Nullable TwitchGameDetails twitch, @Nullable @Nullable List<String> tags, @Nullable @Nullable List<String> keywords, @Nullable @Nullable List<GameClip> clips, boolean recommended, boolean earlyAccess, boolean newUpdate, boolean disabled)
  • Method Details

    • getGameID

      @NotNull public @NotNull String getGameID()
    • getName

      @NotNull public @NotNull CCName getName()
    • getPlatforms

      @NotNull public @NotNull List<String> getPlatforms()
    • getReleaseDate

      @Pattern("^\\d{4}-\\d{2}-\\d{2}$") @NotNull public @NotNull String getReleaseDate()
    • getPacks

      @NotNull public @NotNull List<String> getPacks()
    • getTitle

      @Nullable public @Nullable String getTitle()
    • getDescription

      @Nullable public @Nullable String getDescription()
    • getImage

      @Nullable public @Nullable String getImage()
    • getTwitch

      @Nullable public @Nullable TwitchGameDetails getTwitch()
    • getTags

      @Nullable public @Nullable List<String> getTags()
    • getKeywords

      @Nullable public @Nullable List<String> getKeywords()
    • getClips

      @Nullable public @Nullable List<GameClip> getClips()
    • isRecommended

      public boolean isRecommended()
    • isEarlyAccess

      public boolean isEarlyAccess()
    • isNewUpdate

      public boolean isNewUpdate()
    • isDisabled

      public boolean isDisabled()