Record Class PlatformParams

java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.PlatformParams

public record PlatformParams(FacebookParams facebook, InstagramParams instagram, TikTokParams tiktok, LinkedInParams linkedin, YouTubeParams youtube, PinterestParams pinterest, ThreadsParams threads, TwitterParams twitter, BlueskyParams bluesky, TelegramParams telegram) extends Record
  • Constructor Details

    • PlatformParams

      public PlatformParams(FacebookParams facebook, InstagramParams instagram, TikTokParams tiktok, LinkedInParams linkedin, YouTubeParams youtube, PinterestParams pinterest, ThreadsParams threads, TwitterParams twitter, BlueskyParams bluesky, TelegramParams telegram)
      Creates an instance of a PlatformParams record class.
      Parameters:
      facebook - the value for the facebook record component
      instagram - the value for the instagram record component
      tiktok - the value for the tiktok record component
      linkedin - the value for the linkedin record component
      youtube - the value for the youtube record component
      pinterest - the value for the pinterest record component
      threads - the value for the threads record component
      twitter - the value for the twitter record component
      bluesky - the value for the bluesky record component
      telegram - the value for the telegram record component
  • Method Details

    • builder

      public static PlatformParams.Builder builder()
    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • facebook

      public FacebookParams facebook()
      Returns the value of the facebook record component.
      Returns:
      the value of the facebook record component
    • instagram

      public InstagramParams instagram()
      Returns the value of the instagram record component.
      Returns:
      the value of the instagram record component
    • tiktok

      public TikTokParams tiktok()
      Returns the value of the tiktok record component.
      Returns:
      the value of the tiktok record component
    • linkedin

      public LinkedInParams linkedin()
      Returns the value of the linkedin record component.
      Returns:
      the value of the linkedin record component
    • youtube

      public YouTubeParams youtube()
      Returns the value of the youtube record component.
      Returns:
      the value of the youtube record component
    • pinterest

      public PinterestParams pinterest()
      Returns the value of the pinterest record component.
      Returns:
      the value of the pinterest record component
    • threads

      public ThreadsParams threads()
      Returns the value of the threads record component.
      Returns:
      the value of the threads record component
    • twitter

      public TwitterParams twitter()
      Returns the value of the twitter record component.
      Returns:
      the value of the twitter record component
    • bluesky

      public BlueskyParams bluesky()
      Returns the value of the bluesky record component.
      Returns:
      the value of the bluesky record component
    • telegram

      public TelegramParams telegram()
      Returns the value of the telegram record component.
      Returns:
      the value of the telegram record component