Class HostTracker
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.Artifact
-
- odata.msgraph.client.security.entity.HostTracker
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class HostTracker extends Artifact implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = true
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
true
Org.OData.Capabilities.V1.TopSupported
true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHostTracker.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimefirstSeenDateTimeprotected Stringkindprotected OffsetDateTimelastSeenDateTimeprotected Stringvalue-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHostTracker()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostTracker.BuilderbuilderHostTracker()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getFirstSeenDateTime()HostRequestgetHost()Optional<String>getKind()Optional<OffsetDateTime>getLastSeenDateTime()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getValue()StringodataTypeName()HostTrackerpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)HostTrackerput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()HostTrackerwithFirstSeenDateTime(OffsetDateTime firstSeenDateTime)HostTrackerwithKind(String kind)HostTrackerwithLastSeenDateTime(OffsetDateTime lastSeenDateTime)HostTrackerwithUnmappedField(String name, Object value)HostTrackerwithValue(String value)
-
-
-
Field Detail
-
firstSeenDateTime
protected OffsetDateTime firstSeenDateTime
-
kind
protected String kind
-
lastSeenDateTime
protected OffsetDateTime lastSeenDateTime
-
value
protected String value
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classArtifact
-
builderHostTracker
public static HostTracker.Builder builderHostTracker()
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 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 HostTracker withFirstSeenDateTime(OffsetDateTime firstSeenDateTime)
-
withKind
public HostTracker withKind(String kind)
-
getLastSeenDateTime
public Optional<OffsetDateTime> getLastSeenDateTime()
-
withLastSeenDateTime
public HostTracker withLastSeenDateTime(OffsetDateTime lastSeenDateTime)
-
withValue
public HostTracker withValue(String value)
-
withUnmappedField
public HostTracker withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classArtifact
-
getHost
public HostRequest getHost()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classArtifact
-
patch
public HostTracker patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public HostTracker put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-