Class ClientConfig

java.lang.Object
dev.lavalink.youtube.clients.ClientConfig

public class ClientConfig extends Object
  • Constructor Details

    • ClientConfig

      public ClientConfig()
  • Method Details

    • getName

      public String getName()
    • getUserAgent

      public String getUserAgent()
    • getVisitorData

      public String getVisitorData()
    • getApiKey

      public String getApiKey()
    • getRoot

      public Map<String,Object> getRoot()
    • copy

      public ClientConfig copy()
    • withClientName

      public ClientConfig withClientName(@NotNull @NotNull String name)
    • withUserAgent

      public ClientConfig withUserAgent(@NotNull @NotNull String userAgent)
    • withVisitorData

      public ClientConfig withVisitorData(@Nullable @Nullable String visitorData)
    • withApiKey

      public ClientConfig withApiKey(@NotNull @NotNull String apiKey)
    • putOnceAndJoin

      public Map<String,Object> putOnceAndJoin(@NotNull @NotNull Map<String,Object> on, @NotNull @NotNull String key)
    • withClientDefaultScreenParameters

      public ClientConfig withClientDefaultScreenParameters()
    • withThirdPartyEmbedUrl

      public ClientConfig withThirdPartyEmbedUrl(@NotNull @NotNull String embedUrl)
    • withPlaybackSignatureTimestamp

      public ClientConfig withPlaybackSignatureTimestamp(@NotNull @NotNull String signatureTimestamp)
    • withRootField

      public ClientConfig withRootField(@NotNull @NotNull String key, @Nullable @Nullable Object value)
    • withClientField

      public ClientConfig withClientField(@NotNull @NotNull String key, @Nullable @Nullable Object value)
    • withUserField

      public ClientConfig withUserField(@NotNull @NotNull String key, @Nullable @Nullable Object value)
    • setAttributes

      public ClientConfig setAttributes(@NotNull @NotNull com.sedmelluq.discord.lavaplayer.tools.io.HttpInterface httpInterface)
    • toJsonString

      public String toJsonString()