Class HostCookie
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.Artifact
-
- odata.msgraph.client.security.entity.HostCookie
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class HostCookie 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 classHostCookie.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringdomainprotected OffsetDateTimefirstSeenDateTimeprotected OffsetDateTimelastSeenDateTimeprotected Stringname-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHostCookie()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostCookie.BuilderbuilderHostCookie()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<String>getDomain()Optional<OffsetDateTime>getFirstSeenDateTime()HostRequestgetHost()Optional<OffsetDateTime>getLastSeenDateTime()Optional<String>getName()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()HostCookiepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)HostCookieput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()HostCookiewithDomain(String domain)HostCookiewithFirstSeenDateTime(OffsetDateTime firstSeenDateTime)HostCookiewithLastSeenDateTime(OffsetDateTime lastSeenDateTime)HostCookiewithName(String name)HostCookiewithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
domain
protected String domain
-
firstSeenDateTime
protected OffsetDateTime firstSeenDateTime
-
lastSeenDateTime
protected OffsetDateTime lastSeenDateTime
-
name
protected String name
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classArtifact
-
builderHostCookie
public static HostCookie.Builder builderHostCookie()
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
-
withDomain
public HostCookie withDomain(String domain)
-
getFirstSeenDateTime
public Optional<OffsetDateTime> getFirstSeenDateTime()
-
withFirstSeenDateTime
public HostCookie withFirstSeenDateTime(OffsetDateTime firstSeenDateTime)
-
getLastSeenDateTime
public Optional<OffsetDateTime> getLastSeenDateTime()
-
withLastSeenDateTime
public HostCookie withLastSeenDateTime(OffsetDateTime lastSeenDateTime)
-
withName
public HostCookie withName(String name)
-
withUnmappedField
public HostCookie 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 HostCookie patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public HostCookie put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-