Class Host
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.Artifact
-
- odata.msgraph.client.security.entity.Host
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Host extends Artifact 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
-
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimefirstSeenDateTimeprotected OffsetDateTimelastSeenDateTimeprotected HostReputationreputation-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHost()
-
Method Summary
-
-
-
Field Detail
-
firstSeenDateTime
protected OffsetDateTime firstSeenDateTime
-
lastSeenDateTime
protected OffsetDateTime lastSeenDateTime
-
reputation
protected HostReputation reputation
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classArtifact
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classArtifact
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classArtifact
-
getFirstSeenDateTime
public Optional<OffsetDateTime> getFirstSeenDateTime()
-
withFirstSeenDateTime
public Host withFirstSeenDateTime(OffsetDateTime firstSeenDateTime)
-
getLastSeenDateTime
public Optional<OffsetDateTime> getLastSeenDateTime()
-
withLastSeenDateTime
public Host withLastSeenDateTime(OffsetDateTime lastSeenDateTime)
-
withUnmappedField
public Host withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classArtifact
-
getChildHostPairs
public HostPairCollectionRequest getChildHostPairs()
-
getComponents
public HostComponentCollectionRequest getComponents()
-
getCookies
public HostCookieCollectionRequest getCookies()
-
getHostPairs
public HostPairCollectionRequest getHostPairs()
-
getParentHostPairs
public HostPairCollectionRequest getParentHostPairs()
-
getPassiveDns
public PassiveDnsRecordCollectionRequest getPassiveDns()
-
getPassiveDnsReverse
public PassiveDnsRecordCollectionRequest getPassiveDnsReverse()
-
getPorts
public HostPortCollectionRequest getPorts()
-
getReputation
public HostReputationRequest getReputation()
-
getSslCertificates
public HostSslCertificateCollectionRequest getSslCertificates()
-
getSubdomains
public SubdomainCollectionRequest getSubdomains()
-
getTrackers
public HostTrackerCollectionRequest getTrackers()
-
getWhois
public WhoisRecordRequest getWhois()
-
withReputation
public Host withReputation(HostReputation reputation)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classArtifact
-
patch
public Host patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Host put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-