Record Class OrganizationRequest
java.lang.Object
java.lang.Record
org.diabetestechnology.drh.service.http.pg.request.OrganizationRequest
-
Constructor Summary
ConstructorsConstructorDescriptionOrganizationRequest(String name, Map<String, String> identifierSystemValue, String alias, String typeCode, String typeDisplay, String city, String state, String country, String websiteUrl, String createdBy, String latitude, String longitude) Creates an instance of aOrganizationRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.city()Returns the value of thecityrecord component.country()Returns the value of thecountryrecord component.Returns the value of thecreatedByrecord 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 theidentifierSystemValuerecord component.latitude()Returns the value of thelatituderecord component.Returns the value of thelongituderecord component.name()Returns the value of thenamerecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.typeCode()Returns the value of thetypeCoderecord component.Returns the value of thetypeDisplayrecord component.Returns the value of thewebsiteUrlrecord component.
-
Constructor Details
-
OrganizationRequest
public OrganizationRequest(String name, Map<String, String> identifierSystemValue, String alias, String typeCode, String typeDisplay, String city, String state, String country, String websiteUrl, String createdBy, String latitude, String longitude) Creates an instance of aOrganizationRequestrecord class.- Parameters:
name- the value for thenamerecord componentidentifierSystemValue- the value for theidentifierSystemValuerecord componentalias- the value for thealiasrecord componenttypeCode- the value for thetypeCoderecord componenttypeDisplay- the value for thetypeDisplayrecord componentcity- the value for thecityrecord componentstate- the value for thestaterecord componentcountry- the value for thecountryrecord componentwebsiteUrl- the value for thewebsiteUrlrecord componentcreatedBy- the value for thecreatedByrecord componentlatitude- the value for thelatituderecord componentlongitude- the value for thelongituderecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
identifierSystemValue
Returns the value of theidentifierSystemValuerecord component.- Returns:
- the value of the
identifierSystemValuerecord component
-
alias
Returns the value of thealiasrecord component.- Returns:
- the value of the
aliasrecord component
-
typeCode
Returns the value of thetypeCoderecord component.- Returns:
- the value of the
typeCoderecord component
-
typeDisplay
Returns the value of thetypeDisplayrecord component.- Returns:
- the value of the
typeDisplayrecord component
-
city
Returns the value of thecityrecord component.- Returns:
- the value of the
cityrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
country
Returns the value of thecountryrecord component.- Returns:
- the value of the
countryrecord component
-
websiteUrl
Returns the value of thewebsiteUrlrecord component.- Returns:
- the value of the
websiteUrlrecord component
-
createdBy
Returns the value of thecreatedByrecord component.- Returns:
- the value of the
createdByrecord component
-
latitude
Returns the value of thelatituderecord component.- Returns:
- the value of the
latituderecord component
-
longitude
Returns the value of thelongituderecord component.- Returns:
- the value of the
longituderecord component
-