Record Class TikTokParams

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

public record TikTokParams(TikTokFormat format, TikTokPrivacy privacyStatus, Integer photoCoverIndex, Boolean autoAddMusic, Boolean madeWithAi, Boolean disableComment, Boolean disableDuet, Boolean disableStitch, Boolean brandContentToggle, Boolean brandOrganicToggle) extends Record
  • Constructor Details

    • TikTokParams

      public TikTokParams(TikTokFormat format, TikTokPrivacy privacyStatus, Integer photoCoverIndex, Boolean autoAddMusic, Boolean madeWithAi, Boolean disableComment, Boolean disableDuet, Boolean disableStitch, Boolean brandContentToggle, Boolean brandOrganicToggle)
      Creates an instance of a TikTokParams record class.
      Parameters:
      format - the value for the format record component
      privacyStatus - the value for the privacyStatus record component
      photoCoverIndex - the value for the photoCoverIndex record component
      autoAddMusic - the value for the autoAddMusic record component
      madeWithAi - the value for the madeWithAi record component
      disableComment - the value for the disableComment record component
      disableDuet - the value for the disableDuet record component
      disableStitch - the value for the disableStitch record component
      brandContentToggle - the value for the brandContentToggle record component
      brandOrganicToggle - the value for the brandOrganicToggle record component
  • Method Details

    • builder

      public static TikTokParams.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.
    • format

      public TikTokFormat format()
      Returns the value of the format record component.
      Returns:
      the value of the format record component
    • privacyStatus

      public TikTokPrivacy privacyStatus()
      Returns the value of the privacyStatus record component.
      Returns:
      the value of the privacyStatus record component
    • photoCoverIndex

      public Integer photoCoverIndex()
      Returns the value of the photoCoverIndex record component.
      Returns:
      the value of the photoCoverIndex record component
    • autoAddMusic

      public Boolean autoAddMusic()
      Returns the value of the autoAddMusic record component.
      Returns:
      the value of the autoAddMusic record component
    • madeWithAi

      public Boolean madeWithAi()
      Returns the value of the madeWithAi record component.
      Returns:
      the value of the madeWithAi record component
    • disableComment

      public Boolean disableComment()
      Returns the value of the disableComment record component.
      Returns:
      the value of the disableComment record component
    • disableDuet

      public Boolean disableDuet()
      Returns the value of the disableDuet record component.
      Returns:
      the value of the disableDuet record component
    • disableStitch

      public Boolean disableStitch()
      Returns the value of the disableStitch record component.
      Returns:
      the value of the disableStitch record component
    • brandContentToggle

      public Boolean brandContentToggle()
      Returns the value of the brandContentToggle record component.
      Returns:
      the value of the brandContentToggle record component
    • brandOrganicToggle

      public Boolean brandOrganicToggle()
      Returns the value of the brandOrganicToggle record component.
      Returns:
      the value of the brandOrganicToggle record component