Record Class BackgroundImageBlock
java.lang.Object
java.lang.Record
io.meeds.layout.model.BackgroundImageBlock
public record BackgroundImageBlock(String imageUploadId, String url, String size, String position, String attachment, String repeat, SidesBlock margins, CornersBlock corners)
extends Record
imageUploadId is an input only (the id upload_layout_image returned); a read
carries the stored url instead.
-
Constructor Summary
ConstructorsConstructorDescriptionBackgroundImageBlock(String imageUploadId, String url, String size, String position, String attachment, String repeat, SidesBlock margins, CornersBlock corners) Creates an instance of aBackgroundImageBlockrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattachmentrecord component.corners()Returns the value of thecornersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theimageUploadIdrecord component.margins()Returns the value of themarginsrecord component.position()Returns the value of thepositionrecord component.repeat()Returns the value of therepeatrecord component.size()Returns the value of thesizerecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
BackgroundImageBlock
public BackgroundImageBlock(String imageUploadId, String url, String size, String position, String attachment, String repeat, SidesBlock margins, CornersBlock corners) Creates an instance of aBackgroundImageBlockrecord class.- Parameters:
imageUploadId- the value for theimageUploadIdrecord componenturl- the value for theurlrecord componentsize- the value for thesizerecord componentposition- the value for thepositionrecord componentattachment- the value for theattachmentrecord componentrepeat- the value for therepeatrecord componentmargins- the value for themarginsrecord componentcorners- the value for thecornersrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
imageUploadId
Returns the value of theimageUploadIdrecord component.- Returns:
- the value of the
imageUploadIdrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
size
Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
position
Returns the value of thepositionrecord component.- Returns:
- the value of the
positionrecord component
-
attachment
Returns the value of theattachmentrecord component.- Returns:
- the value of the
attachmentrecord component
-
repeat
Returns the value of therepeatrecord component.- Returns:
- the value of the
repeatrecord component
-
margins
Returns the value of themarginsrecord component.- Returns:
- the value of the
marginsrecord component
-
corners
Returns the value of thecornersrecord component.- Returns:
- the value of the
cornersrecord component
-