Package dev.postproxy.sdk.param
Record Class TikTokParams
java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.TikTokParams
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTikTokParams(TikTokFormat format, TikTokPrivacy privacyStatus, Integer photoCoverIndex, Boolean autoAddMusic, Boolean madeWithAi, Boolean disableComment, Boolean disableDuet, Boolean disableStitch, Boolean brandContentToggle, Boolean brandOrganicToggle) Creates an instance of aTikTokParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theautoAddMusicrecord component.Returns the value of thebrandContentTogglerecord component.Returns the value of thebrandOrganicTogglerecord component.static TikTokParams.Builderbuilder()Returns the value of thedisableCommentrecord component.Returns the value of thedisableDuetrecord component.Returns the value of thedisableStitchrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themadeWithAirecord component.Returns the value of thephotoCoverIndexrecord component.Returns the value of theprivacyStatusrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aTikTokParamsrecord class.- Parameters:
format- the value for theformatrecord componentprivacyStatus- the value for theprivacyStatusrecord componentphotoCoverIndex- the value for thephotoCoverIndexrecord componentautoAddMusic- the value for theautoAddMusicrecord componentmadeWithAi- the value for themadeWithAirecord componentdisableComment- the value for thedisableCommentrecord componentdisableDuet- the value for thedisableDuetrecord componentdisableStitch- the value for thedisableStitchrecord componentbrandContentToggle- the value for thebrandContentTogglerecord componentbrandOrganicToggle- the value for thebrandOrganicTogglerecord component
-
-
Method Details
-
builder
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
privacyStatus
Returns the value of theprivacyStatusrecord component.- Returns:
- the value of the
privacyStatusrecord component
-
photoCoverIndex
Returns the value of thephotoCoverIndexrecord component.- Returns:
- the value of the
photoCoverIndexrecord component
-
autoAddMusic
Returns the value of theautoAddMusicrecord component.- Returns:
- the value of the
autoAddMusicrecord component
-
madeWithAi
Returns the value of themadeWithAirecord component.- Returns:
- the value of the
madeWithAirecord component
-
disableComment
Returns the value of thedisableCommentrecord component.- Returns:
- the value of the
disableCommentrecord component
-
disableDuet
Returns the value of thedisableDuetrecord component.- Returns:
- the value of the
disableDuetrecord component
-
disableStitch
Returns the value of thedisableStitchrecord component.- Returns:
- the value of the
disableStitchrecord component
-
brandContentToggle
Returns the value of thebrandContentTogglerecord component.- Returns:
- the value of the
brandContentTogglerecord component
-
brandOrganicToggle
Returns the value of thebrandOrganicTogglerecord component.- Returns:
- the value of the
brandOrganicTogglerecord component
-