Class Address

  • All Implemented Interfaces:
    com.fasterxml.jackson.core.TreeNode, com.fasterxml.jackson.databind.JsonSerializable, com.fasterxml.jackson.databind.node.JsonNodeCreator, ScimNode, Serializable, Iterable<com.fasterxml.jackson.databind.JsonNode>

    public class Address
    extends MultiComplexNode
    author Pascal Knueppel
    created at: 11.10.2019 - 12:36

    A physical mailing address for this user. Canonical type values of "work", "home", and "other". This attribute is a complex type with the following sub-attributes. All sub-attributes are OPTIONAL.
    See Also:
    Serialized Form
    • Method Detail

      • getFormatted

        public Optional<String> getFormatted()
        The full mailing address, formatted for display or use with a mailing label. This attribute MAY contain newlines.
      • setFormatted

        public void setFormatted​(String formatted)
        The full mailing address, formatted for display or use with a mailing label. This attribute MAY contain newlines.
      • getStreetAddress

        public Optional<String> getStreetAddress()
        The full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information. This attribute MAY contain newlines.
      • setStreetAddress

        public void setStreetAddress​(String streetAddress)
        The full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information. This attribute MAY contain newlines.
      • getLocality

        public Optional<String> getLocality()
        The city or locality component.
      • setLocality

        public void setLocality​(String locality)
        The city or locality component.
      • getRegion

        public Optional<String> getRegion()
        The state or region component.
      • setRegion

        public void setRegion​(String region)
        The state or region component.
      • getPostalCode

        public Optional<String> getPostalCode()
        The zip code or postal code component.
      • setPostalCode

        public void setPostalCode​(String postalCode)
        The zip code or postal code component.
      • getCountry

        public Optional<String> getCountry()
        The country name component. When specified, the value MUST be in ISO 3166-1 "alpha-2" code format [ISO3166]; e.g., the United States and Sweden are "US" and "SE", respectively.
      • setCountry

        public void setCountry​(String country)
        The country name component. When specified, the value MUST be in ISO 3166-1 "alpha-2" code format [ISO3166]; e.g., the United States and Sweden are "US" and "SE", respectively.