Record Class UpdateRegistryRequest
java.lang.Object
java.lang.Record
net.croz.nrich.registry.data.request.UpdateRegistryRequest
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateRegistryRequest(@NotNull String classFullName, @NotNull Object id, @NotNull String jsonEntityData) Creates an instance of aUpdateRegistryRequestrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull StringReturns the value of theclassFullNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull Objectid()Returns the value of theidrecord component.@NotNull StringReturns the value of thejsonEntityDatarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateRegistryRequest
public UpdateRegistryRequest(@NotNull @NotNull String classFullName, @NotNull @NotNull Object id, @NotNull @NotNull String jsonEntityData) Creates an instance of aUpdateRegistryRequestrecord class.- Parameters:
classFullName- the value for theclassFullNamerecord componentid- the value for theidrecord componentjsonEntityData- the value for thejsonEntityDatarecord component
-
-
Method Details
-
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). -
classFullName
Returns the value of theclassFullNamerecord component.- Returns:
- the value of the
classFullNamerecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
jsonEntityData
Returns the value of thejsonEntityDatarecord component.- Returns:
- the value of the
jsonEntityDatarecord component
-