public class IpReferenceData extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
IpReferenceData.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
asn |
protected String |
city |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
countryOrRegionCode |
protected String |
odataType |
protected String |
organization |
protected String |
state |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
protected String |
vendor |
| Modifier | Constructor and Description |
|---|---|
protected |
IpReferenceData() |
| Modifier and Type | Method and Description |
|---|---|
static IpReferenceData.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getAsn() |
Optional<String> |
getCity() |
Optional<String> |
getCountryOrRegionCode() |
Optional<String> |
getOrganization() |
Optional<String> |
getState() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVendor() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
IpReferenceData |
withAsn(Integer asn) |
IpReferenceData |
withCity(String city) |
IpReferenceData |
withCountryOrRegionCode(String countryOrRegionCode) |
IpReferenceData |
withOrganization(String organization) |
IpReferenceData |
withState(String state) |
IpReferenceData |
withVendor(String vendor) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected Integer asn
protected String city
protected String countryOrRegionCode
protected String organization
protected String state
protected String vendor
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic IpReferenceData withAsn(Integer asn)
public IpReferenceData withCity(String city)
public IpReferenceData withCountryOrRegionCode(String countryOrRegionCode)
public IpReferenceData withOrganization(String organization)
public IpReferenceData withState(String state)
public IpReferenceData withVendor(String vendor)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static IpReferenceData.Builder builder()
Copyright © 2018–2020. All rights reserved.