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 aOrganizationRequest
record class. -
Method Summary
Modifier and TypeMethodDescriptionalias()
Returns the value of thealias
record component.city()
Returns the value of thecity
record component.country()
Returns the value of thecountry
record component.Returns the value of thecreatedBy
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theidentifierSystemValue
record component.latitude()
Returns the value of thelatitude
record component.Returns the value of thelongitude
record component.name()
Returns the value of thename
record component.state()
Returns the value of thestate
record component.final String
toString()
Returns a string representation of this record class.typeCode()
Returns the value of thetypeCode
record component.Returns the value of thetypeDisplay
record component.Returns the value of thewebsiteUrl
record 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 aOrganizationRequest
record class.- Parameters:
name
- the value for thename
record componentidentifierSystemValue
- the value for theidentifierSystemValue
record componentalias
- the value for thealias
record componenttypeCode
- the value for thetypeCode
record componenttypeDisplay
- the value for thetypeDisplay
record componentcity
- the value for thecity
record componentstate
- the value for thestate
record componentcountry
- the value for thecountry
record componentwebsiteUrl
- the value for thewebsiteUrl
record componentcreatedBy
- the value for thecreatedBy
record componentlatitude
- the value for thelatitude
record componentlongitude
- the value for thelongitude
record 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 thename
record component.- Returns:
- the value of the
name
record component
-
identifierSystemValue
Returns the value of theidentifierSystemValue
record component.- Returns:
- the value of the
identifierSystemValue
record component
-
alias
Returns the value of thealias
record component.- Returns:
- the value of the
alias
record component
-
typeCode
Returns the value of thetypeCode
record component.- Returns:
- the value of the
typeCode
record component
-
typeDisplay
Returns the value of thetypeDisplay
record component.- Returns:
- the value of the
typeDisplay
record component
-
city
Returns the value of thecity
record component.- Returns:
- the value of the
city
record component
-
state
Returns the value of thestate
record component.- Returns:
- the value of the
state
record component
-
country
Returns the value of thecountry
record component.- Returns:
- the value of the
country
record component
-
websiteUrl
Returns the value of thewebsiteUrl
record component.- Returns:
- the value of the
websiteUrl
record component
-
createdBy
Returns the value of thecreatedBy
record component.- Returns:
- the value of the
createdBy
record component
-
latitude
Returns the value of thelatitude
record component.- Returns:
- the value of the
latitude
record component
-
longitude
Returns the value of thelongitude
record component.- Returns:
- the value of the
longitude
record component
-