Package dev.postproxy.sdk.param
Record Class InstagramParams
java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.InstagramParams
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInstagramParams(InstagramFormat format, String firstComment, List<String> collaborators, String coverUrl, String audioName, Boolean trialStrategy, Integer thumbOffset) Creates an instance of aInstagramParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaudioNamerecord component.static InstagramParams.Builderbuilder()Returns the value of thecollaboratorsrecord component.coverUrl()Returns the value of thecoverUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefirstCommentrecord component.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thethumbOffsetrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrialStrategyrecord component.
-
Constructor Details
-
InstagramParams
public InstagramParams(InstagramFormat format, String firstComment, List<String> collaborators, String coverUrl, String audioName, Boolean trialStrategy, Integer thumbOffset) Creates an instance of aInstagramParamsrecord class.- Parameters:
format- the value for theformatrecord componentfirstComment- the value for thefirstCommentrecord componentcollaborators- the value for thecollaboratorsrecord componentcoverUrl- the value for thecoverUrlrecord componentaudioName- the value for theaudioNamerecord componenttrialStrategy- the value for thetrialStrategyrecord componentthumbOffset- the value for thethumbOffsetrecord 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
-
firstComment
Returns the value of thefirstCommentrecord component.- Returns:
- the value of the
firstCommentrecord component
-
collaborators
Returns the value of thecollaboratorsrecord component.- Returns:
- the value of the
collaboratorsrecord component
-
coverUrl
Returns the value of thecoverUrlrecord component.- Returns:
- the value of the
coverUrlrecord component
-
audioName
Returns the value of theaudioNamerecord component.- Returns:
- the value of the
audioNamerecord component
-
trialStrategy
Returns the value of thetrialStrategyrecord component.- Returns:
- the value of the
trialStrategyrecord component
-
thumbOffset
Returns the value of thethumbOffsetrecord component.- Returns:
- the value of the
thumbOffsetrecord component
-