Package dev.postproxy.sdk.param
Record Class PinterestParams
java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.PinterestParams
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPinterestParams(PinterestFormat format, String title, String boardId, String destinationLink, String coverUrl, Integer thumbOffset) Creates an instance of aPinterestParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionboardId()Returns the value of theboardIdrecord component.static PinterestParams.Builderbuilder()coverUrl()Returns the value of thecoverUrlrecord component.Returns the value of thedestinationLinkrecord 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 thethumbOffsetrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PinterestParams
public PinterestParams(PinterestFormat format, String title, String boardId, String destinationLink, String coverUrl, Integer thumbOffset) Creates an instance of aPinterestParamsrecord class.- Parameters:
format- the value for theformatrecord componenttitle- the value for thetitlerecord componentboardId- the value for theboardIdrecord componentdestinationLink- the value for thedestinationLinkrecord componentcoverUrl- the value for thecoverUrlrecord 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
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
boardId
Returns the value of theboardIdrecord component.- Returns:
- the value of the
boardIdrecord component
-
destinationLink
Returns the value of thedestinationLinkrecord component.- Returns:
- the value of the
destinationLinkrecord component
-
coverUrl
Returns the value of thecoverUrlrecord component.- Returns:
- the value of the
coverUrlrecord component
-
thumbOffset
Returns the value of thethumbOffsetrecord component.- Returns:
- the value of the
thumbOffsetrecord component
-