Class IpAddress
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.Artifact
-
- odata.msgraph.client.security.entity.Host
-
- odata.msgraph.client.security.entity.IpAddress
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class IpAddress extends Host implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = true
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.SortRestrictions
Sortable = false
Org.OData.Capabilities.V1.TopSupported
false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIpAddress.Builder
-
Field Summary
Fields Modifier and Type Field Description protected AutonomousSystemautonomousSystemprotected StringcountryOrRegionprotected StringhostingProviderprotected Stringnetblock-
Fields inherited from class odata.msgraph.client.security.entity.Host
firstSeenDateTime, lastSeenDateTime, reputation
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIpAddress()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpAddress.BuilderbuilderIpAddress()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<AutonomousSystem>getAutonomousSystem()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getCountryOrRegion()Optional<String>getHostingProvider()Optional<String>getNetblock()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()IpAddresspatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IpAddressput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IpAddresswithAutonomousSystem(AutonomousSystem autonomousSystem)IpAddresswithCountryOrRegion(String countryOrRegion)IpAddresswithHostingProvider(String hostingProvider)IpAddresswithNetblock(String netblock)IpAddresswithUnmappedField(String name, Object value)-
Methods inherited from class odata.msgraph.client.security.entity.Host
getChildHostPairs, getComponents, getCookies, getFirstSeenDateTime, getHostPairs, getLastSeenDateTime, getParentHostPairs, getPassiveDns, getPassiveDnsReverse, getPorts, getReputation, getSslCertificates, getSubdomains, getTrackers, getWhois, withFirstSeenDateTime, withLastSeenDateTime, withReputation
-
-
-
-
Field Detail
-
autonomousSystem
protected AutonomousSystem autonomousSystem
-
countryOrRegion
protected String countryOrRegion
-
hostingProvider
protected String hostingProvider
-
netblock
protected String netblock
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classHost
-
builderIpAddress
public static IpAddress.Builder builderIpAddress()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classHost
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classHost
-
getAutonomousSystem
public Optional<AutonomousSystem> getAutonomousSystem()
-
withAutonomousSystem
public IpAddress withAutonomousSystem(AutonomousSystem autonomousSystem)
-
withUnmappedField
public IpAddress withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classHost
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classHost
-
patch
public IpAddress patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public IpAddress put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-