Record Class OrganizationRequest

java.lang.Object
java.lang.Record
org.diabetestechnology.drh.service.http.pg.request.OrganizationRequest

public record 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) extends Record
  • 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 a OrganizationRequest record class.
      Parameters:
      name - the value for the name record component
      identifierSystemValue - the value for the identifierSystemValue record component
      alias - the value for the alias record component
      typeCode - the value for the typeCode record component
      typeDisplay - the value for the typeDisplay record component
      city - the value for the city record component
      state - the value for the state record component
      country - the value for the country record component
      websiteUrl - the value for the websiteUrl record component
      createdBy - the value for the createdBy record component
      latitude - the value for the latitude record component
      longitude - the value for the longitude record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • identifierSystemValue

      public Map<String,String> identifierSystemValue()
      Returns the value of the identifierSystemValue record component.
      Returns:
      the value of the identifierSystemValue record component
    • alias

      public String alias()
      Returns the value of the alias record component.
      Returns:
      the value of the alias record component
    • typeCode

      public String typeCode()
      Returns the value of the typeCode record component.
      Returns:
      the value of the typeCode record component
    • typeDisplay

      public String typeDisplay()
      Returns the value of the typeDisplay record component.
      Returns:
      the value of the typeDisplay record component
    • city

      public String city()
      Returns the value of the city record component.
      Returns:
      the value of the city record component
    • state

      public String state()
      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • country

      public String country()
      Returns the value of the country record component.
      Returns:
      the value of the country record component
    • websiteUrl

      public String websiteUrl()
      Returns the value of the websiteUrl record component.
      Returns:
      the value of the websiteUrl record component
    • createdBy

      public String createdBy()
      Returns the value of the createdBy record component.
      Returns:
      the value of the createdBy record component
    • latitude

      public String latitude()
      Returns the value of the latitude record component.
      Returns:
      the value of the latitude record component
    • longitude

      public String longitude()
      Returns the value of the longitude record component.
      Returns:
      the value of the longitude record component