Record Class HarPostDataParam
java.lang.Object
java.lang.Record
de.sstoehr.harreader.model.HarPostDataParam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalrecord component.comment()Returns the value of thecommentrecord component.Returns the value of thecontentTyperecord component.final booleanIndicates whether some other object is "equal to" this one.fileName()Returns the value of thefileNamerecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.voidsetAdditionalField(String key, Object value) final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
HarPostDataParam
public HarPostDataParam() -
HarPostDataParam
public HarPostDataParam(@Nullable String name, @Nullable String value, @Nullable String fileName, @Nullable String contentType, @Nullable String comment, @Nullable Map<String, Object> additional) Creates an instance of aHarPostDataParamrecord class.- Parameters:
name- the value for thenamerecord componentvalue- the value for thevaluerecord componentfileName- the value for thefileNamerecord componentcontentType- the value for thecontentTyperecord componentcomment- the value for thecommentrecord componentadditional- the value for theadditionalrecord component
-
-
Method Details
-
additional
-
setAdditionalField
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
contentType
Returns the value of thecontentTyperecord component.- Returns:
- the value of the
contentTyperecord component
-
comment
Returns the value of thecommentrecord component.- Returns:
- the value of the
commentrecord component
-