Package io.moov.sdk.models.operations
Class GetEnrichmentAddressRequest
- java.lang.Object
-
- io.moov.sdk.models.operations.GetEnrichmentAddressRequest
-
public class GetEnrichmentAddressRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetEnrichmentAddressRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetEnrichmentAddressRequest(java.lang.String search)GetEnrichmentAddressRequest(java.lang.String search, java.util.Optional<java.lang.Long> maxResults, java.util.Optional<java.lang.String> includeCities, java.util.Optional<java.lang.String> includeStates, java.util.Optional<java.lang.String> includeZipcodes, java.util.Optional<java.lang.String> excludeStates, java.util.Optional<java.lang.String> preferCities, java.util.Optional<java.lang.String> preferStates, java.util.Optional<java.lang.String> preferZipcodes, java.util.Optional<java.lang.Long> preferRatio, java.util.Optional<java.lang.String> preferGeolocation, java.util.Optional<java.lang.String> selected, java.util.Optional<java.lang.String> source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetEnrichmentAddressRequest.Builderbuilder()booleanequals(java.lang.Object o)java.util.Optional<java.lang.String>excludeStates()Exclude list of states from results.inthashCode()java.util.Optional<java.lang.String>includeCities()Limits results to a list of given cities.java.util.Optional<java.lang.String>includeStates()Limits results to a list of given states.java.util.Optional<java.lang.String>includeZipcodes()Limits results to a list of given zipcodes.java.util.Optional<java.lang.Long>maxResults()Maximum number of results to return.java.util.Optional<java.lang.String>preferCities()Display results with the listed cities at the top.java.util.Optional<java.lang.String>preferGeolocation()If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state to the preferCities value.java.util.Optional<java.lang.Long>preferRatio()Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.java.util.Optional<java.lang.String>preferStates()Display results with the listed states at the top.java.util.Optional<java.lang.String>preferZipcodes()Display results with the listed zipcodes at the top.java.lang.Stringsearch()Partial or complete address to search.java.util.Optional<java.lang.String>selected()Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).java.util.Optional<java.lang.String>source()Include results from alternate data sources.java.lang.StringtoString()GetEnrichmentAddressRequestwithExcludeStates(java.lang.String excludeStates)Exclude list of states from results.GetEnrichmentAddressRequestwithExcludeStates(java.util.Optional<java.lang.String> excludeStates)Exclude list of states from results.GetEnrichmentAddressRequestwithIncludeCities(java.lang.String includeCities)Limits results to a list of given cities.GetEnrichmentAddressRequestwithIncludeCities(java.util.Optional<java.lang.String> includeCities)Limits results to a list of given cities.GetEnrichmentAddressRequestwithIncludeStates(java.lang.String includeStates)Limits results to a list of given states.GetEnrichmentAddressRequestwithIncludeStates(java.util.Optional<java.lang.String> includeStates)Limits results to a list of given states.GetEnrichmentAddressRequestwithIncludeZipcodes(java.lang.String includeZipcodes)Limits results to a list of given zipcodes.GetEnrichmentAddressRequestwithIncludeZipcodes(java.util.Optional<java.lang.String> includeZipcodes)Limits results to a list of given zipcodes.GetEnrichmentAddressRequestwithMaxResults(long maxResults)Maximum number of results to return.GetEnrichmentAddressRequestwithMaxResults(java.util.Optional<java.lang.Long> maxResults)Maximum number of results to return.GetEnrichmentAddressRequestwithPreferCities(java.lang.String preferCities)Display results with the listed cities at the top.GetEnrichmentAddressRequestwithPreferCities(java.util.Optional<java.lang.String> preferCities)Display results with the listed cities at the top.GetEnrichmentAddressRequestwithPreferGeolocation(java.lang.String preferGeolocation)If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state to the preferCities value.GetEnrichmentAddressRequestwithPreferGeolocation(java.util.Optional<java.lang.String> preferGeolocation)If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state to the preferCities value.GetEnrichmentAddressRequestwithPreferRatio(long preferRatio)Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.GetEnrichmentAddressRequestwithPreferRatio(java.util.Optional<java.lang.Long> preferRatio)Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.GetEnrichmentAddressRequestwithPreferStates(java.lang.String preferStates)Display results with the listed states at the top.GetEnrichmentAddressRequestwithPreferStates(java.util.Optional<java.lang.String> preferStates)Display results with the listed states at the top.GetEnrichmentAddressRequestwithPreferZipcodes(java.lang.String preferZipcodes)Display results with the listed zipcodes at the top.GetEnrichmentAddressRequestwithPreferZipcodes(java.util.Optional<java.lang.String> preferZipcodes)Display results with the listed zipcodes at the top.GetEnrichmentAddressRequestwithSearch(java.lang.String search)Partial or complete address to search.GetEnrichmentAddressRequestwithSelected(java.lang.String selected)Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).GetEnrichmentAddressRequestwithSelected(java.util.Optional<java.lang.String> selected)Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).GetEnrichmentAddressRequestwithSource(java.lang.String source)Include results from alternate data sources.GetEnrichmentAddressRequestwithSource(java.util.Optional<java.lang.String> source)Include results from alternate data sources.
-
-
-
Constructor Detail
-
GetEnrichmentAddressRequest
public GetEnrichmentAddressRequest(java.lang.String search, java.util.Optional<java.lang.Long> maxResults, java.util.Optional<java.lang.String> includeCities, java.util.Optional<java.lang.String> includeStates, java.util.Optional<java.lang.String> includeZipcodes, java.util.Optional<java.lang.String> excludeStates, java.util.Optional<java.lang.String> preferCities, java.util.Optional<java.lang.String> preferStates, java.util.Optional<java.lang.String> preferZipcodes, java.util.Optional<java.lang.Long> preferRatio, java.util.Optional<java.lang.String> preferGeolocation, java.util.Optional<java.lang.String> selected, java.util.Optional<java.lang.String> source)
-
GetEnrichmentAddressRequest
public GetEnrichmentAddressRequest(java.lang.String search)
-
-
Method Detail
-
search
public java.lang.String search()
Partial or complete address to search.
-
maxResults
public java.util.Optional<java.lang.Long> maxResults()
Maximum number of results to return.
-
includeCities
public java.util.Optional<java.lang.String> includeCities()
Limits results to a list of given cities.
-
includeStates
public java.util.Optional<java.lang.String> includeStates()
Limits results to a list of given states.
-
includeZipcodes
public java.util.Optional<java.lang.String> includeZipcodes()
Limits results to a list of given zipcodes.
-
excludeStates
public java.util.Optional<java.lang.String> excludeStates()
Exclude list of states from results. No `include` pararmeters may be used with this parameter.
-
preferCities
public java.util.Optional<java.lang.String> preferCities()
Display results with the listed cities at the top.
-
preferStates
public java.util.Optional<java.lang.String> preferStates()
Display results with the listed states at the top.
-
preferZipcodes
public java.util.Optional<java.lang.String> preferZipcodes()
Display results with the listed zipcodes at the top.
-
preferRatio
public java.util.Optional<java.lang.Long> preferRatio()
Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.
-
preferGeolocation
public java.util.Optional<java.lang.String> preferGeolocation()
If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state to the preferCities value. This parameter takes precedence over other `include` or `exclude` parameters meaning that if it is not set to `none`, you may see addresses from areas you do not wish to see.
-
selected
public java.util.Optional<java.lang.String> selected()
Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).
-
source
public java.util.Optional<java.lang.String> source()
Include results from alternate data sources. Allowed values are `all` (non-postal addresses), or `postal` (postal addresses only).
-
builder
public static GetEnrichmentAddressRequest.Builder builder()
-
withSearch
public GetEnrichmentAddressRequest withSearch(java.lang.String search)
Partial or complete address to search.
-
withMaxResults
public GetEnrichmentAddressRequest withMaxResults(long maxResults)
Maximum number of results to return.
-
withMaxResults
public GetEnrichmentAddressRequest withMaxResults(java.util.Optional<java.lang.Long> maxResults)
Maximum number of results to return.
-
withIncludeCities
public GetEnrichmentAddressRequest withIncludeCities(java.lang.String includeCities)
Limits results to a list of given cities.
-
withIncludeCities
public GetEnrichmentAddressRequest withIncludeCities(java.util.Optional<java.lang.String> includeCities)
Limits results to a list of given cities.
-
withIncludeStates
public GetEnrichmentAddressRequest withIncludeStates(java.lang.String includeStates)
Limits results to a list of given states.
-
withIncludeStates
public GetEnrichmentAddressRequest withIncludeStates(java.util.Optional<java.lang.String> includeStates)
Limits results to a list of given states.
-
withIncludeZipcodes
public GetEnrichmentAddressRequest withIncludeZipcodes(java.lang.String includeZipcodes)
Limits results to a list of given zipcodes.
-
withIncludeZipcodes
public GetEnrichmentAddressRequest withIncludeZipcodes(java.util.Optional<java.lang.String> includeZipcodes)
Limits results to a list of given zipcodes.
-
withExcludeStates
public GetEnrichmentAddressRequest withExcludeStates(java.lang.String excludeStates)
Exclude list of states from results. No `include` pararmeters may be used with this parameter.
-
withExcludeStates
public GetEnrichmentAddressRequest withExcludeStates(java.util.Optional<java.lang.String> excludeStates)
Exclude list of states from results. No `include` pararmeters may be used with this parameter.
-
withPreferCities
public GetEnrichmentAddressRequest withPreferCities(java.lang.String preferCities)
Display results with the listed cities at the top.
-
withPreferCities
public GetEnrichmentAddressRequest withPreferCities(java.util.Optional<java.lang.String> preferCities)
Display results with the listed cities at the top.
-
withPreferStates
public GetEnrichmentAddressRequest withPreferStates(java.lang.String preferStates)
Display results with the listed states at the top.
-
withPreferStates
public GetEnrichmentAddressRequest withPreferStates(java.util.Optional<java.lang.String> preferStates)
Display results with the listed states at the top.
-
withPreferZipcodes
public GetEnrichmentAddressRequest withPreferZipcodes(java.lang.String preferZipcodes)
Display results with the listed zipcodes at the top.
-
withPreferZipcodes
public GetEnrichmentAddressRequest withPreferZipcodes(java.util.Optional<java.lang.String> preferZipcodes)
Display results with the listed zipcodes at the top.
-
withPreferRatio
public GetEnrichmentAddressRequest withPreferRatio(long preferRatio)
Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.
-
withPreferRatio
public GetEnrichmentAddressRequest withPreferRatio(java.util.Optional<java.lang.Long> preferRatio)
Specifies the percentage of address suggestions that should be preferred and will appear at the top of the results.
-
withPreferGeolocation
public GetEnrichmentAddressRequest withPreferGeolocation(java.lang.String preferGeolocation)
If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state to the preferCities value. This parameter takes precedence over other `include` or `exclude` parameters meaning that if it is not set to `none`, you may see addresses from areas you do not wish to see.
-
withPreferGeolocation
public GetEnrichmentAddressRequest withPreferGeolocation(java.util.Optional<java.lang.String> preferGeolocation)
If omitted or set to `city`, it uses the sender's IP address to determine location, then automatically adds the city and state to the preferCities value. This parameter takes precedence over other `include` or `exclude` parameters meaning that if it is not set to `none`, you may see addresses from areas you do not wish to see.
-
withSelected
public GetEnrichmentAddressRequest withSelected(java.lang.String selected)
Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).
-
withSelected
public GetEnrichmentAddressRequest withSelected(java.util.Optional<java.lang.String> selected)
Useful for narrowing results with `addressLine2` suggestions such as `Apt` (denotes an apartment building with multiple residences).
-
withSource
public GetEnrichmentAddressRequest withSource(java.lang.String source)
Include results from alternate data sources. Allowed values are `all` (non-postal addresses), or `postal` (postal addresses only).
-
withSource
public GetEnrichmentAddressRequest withSource(java.util.Optional<java.lang.String> source)
Include results from alternate data sources. Allowed values are `all` (non-postal addresses), or `postal` (postal addresses only).
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-