Package odata.msgraph.client.complex
Class BrowserSharedCookieHistory
- java.lang.Object
-
- odata.msgraph.client.complex.BrowserSharedCookieHistory
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class BrowserSharedCookieHistory extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBrowserSharedCookieHistory.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringcommentprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringdisplayNameprotected BooleanhostOnlyprotected StringhostOrDomainprotected IdentitySetlastModifiedByprotected StringodataTypeprotected Stringpathprotected OffsetDateTimepublishedDateTimeprotected BrowserSharedCookieSourceEnvironmentsourceEnvironmentprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedBrowserSharedCookieHistory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BrowserSharedCookieHistory.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getComment()“The comment of the cookie”Optional<String>getDisplayName()“The name of the cookie”Optional<Boolean>getHostOnly()“Boolean attribute that determines whether a cookie is a host-only or domain cookie”Optional<String>getHostOrDomain()“The URL of the cookie”Optional<IdentitySet>getLastModifiedBy()“The identity of the admin who last updated the cookie”Optional<String>getPath()“The path of the cookie”Optional<OffsetDateTime>getPublishedDateTime()“The time the cookie was published”Optional<BrowserSharedCookieSourceEnvironment>getSourceEnvironment()“Specifies how the cookies are shared between Microsoft Edge and Internet Explorer”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()BrowserSharedCookieHistorywithComment(String comment)Returns an immutable copy ofthiswith just thecommentfield changed.BrowserSharedCookieHistorywithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.BrowserSharedCookieHistorywithHostOnly(Boolean hostOnly)Returns an immutable copy ofthiswith just thehostOnlyfield changed.BrowserSharedCookieHistorywithHostOrDomain(String hostOrDomain)Returns an immutable copy ofthiswith just thehostOrDomainfield changed.BrowserSharedCookieHistorywithLastModifiedBy(IdentitySet lastModifiedBy)Returns an immutable copy ofthiswith just thelastModifiedByfield changed.BrowserSharedCookieHistorywithPath(String path)Returns an immutable copy ofthiswith just thepathfield changed.BrowserSharedCookieHistorywithPublishedDateTime(OffsetDateTime publishedDateTime)Returns an immutable copy ofthiswith just thepublishedDateTimefield changed.BrowserSharedCookieHistorywithSourceEnvironment(BrowserSharedCookieSourceEnvironment sourceEnvironment)Returns an immutable copy ofthiswith just thesourceEnvironmentfield changed.BrowserSharedCookieHistorywithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
comment
protected String comment
-
displayName
protected String displayName
-
hostOnly
protected Boolean hostOnly
-
hostOrDomain
protected String hostOrDomain
-
lastModifiedBy
protected IdentitySet lastModifiedBy
-
path
protected String path
-
publishedDateTime
protected OffsetDateTime publishedDateTime
-
sourceEnvironment
protected BrowserSharedCookieSourceEnvironment sourceEnvironment
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getComment
public Optional<String> getComment()
“The comment of the cookie”- Returns:
- property comment
-
withComment
public BrowserSharedCookieHistory withComment(String comment)
Returns an immutable copy ofthiswith just thecommentfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The comment of the cookie”
- Parameters:
comment- new value ofcommentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecommentfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The name of the cookie”- Returns:
- property displayName
-
withDisplayName
public BrowserSharedCookieHistory withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The name of the cookie”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getHostOnly
public Optional<Boolean> getHostOnly()
“Boolean attribute that determines whether a cookie is a host-only or domain cookie”- Returns:
- property hostOnly
-
withHostOnly
public BrowserSharedCookieHistory withHostOnly(Boolean hostOnly)
Returns an immutable copy ofthiswith just thehostOnlyfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Boolean attribute that determines whether a cookie is a host-only or domain cookie”
- Parameters:
hostOnly- new value ofhostOnlyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehostOnlyfield changed
-
getHostOrDomain
public Optional<String> getHostOrDomain()
“The URL of the cookie”- Returns:
- property hostOrDomain
-
withHostOrDomain
public BrowserSharedCookieHistory withHostOrDomain(String hostOrDomain)
Returns an immutable copy ofthiswith just thehostOrDomainfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The URL of the cookie”
- Parameters:
hostOrDomain- new value ofhostOrDomainfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thehostOrDomainfield changed
-
getLastModifiedBy
public Optional<IdentitySet> getLastModifiedBy()
“The identity of the admin who last updated the cookie”- Returns:
- property lastModifiedBy
-
withLastModifiedBy
public BrowserSharedCookieHistory withLastModifiedBy(IdentitySet lastModifiedBy)
Returns an immutable copy ofthiswith just thelastModifiedByfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The identity of the admin who last updated the cookie”
- Parameters:
lastModifiedBy- new value oflastModifiedByfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedByfield changed
-
withPath
public BrowserSharedCookieHistory withPath(String path)
Returns an immutable copy ofthiswith just thepathfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The path of the cookie”
- Parameters:
path- new value ofpathfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepathfield changed
-
getPublishedDateTime
public Optional<OffsetDateTime> getPublishedDateTime()
“The time the cookie was published”- Returns:
- property publishedDateTime
-
withPublishedDateTime
public BrowserSharedCookieHistory withPublishedDateTime(OffsetDateTime publishedDateTime)
Returns an immutable copy ofthiswith just thepublishedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The time the cookie was published”
- Parameters:
publishedDateTime- new value ofpublishedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublishedDateTimefield changed
-
getSourceEnvironment
public Optional<BrowserSharedCookieSourceEnvironment> getSourceEnvironment()
“Specifies how the cookies are shared between Microsoft Edge and Internet Explorer”- Returns:
- property sourceEnvironment
-
withSourceEnvironment
public BrowserSharedCookieHistory withSourceEnvironment(BrowserSharedCookieSourceEnvironment sourceEnvironment)
Returns an immutable copy ofthiswith just thesourceEnvironmentfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Specifies how the cookies are shared between Microsoft Edge and Internet Explorer”
- Parameters:
sourceEnvironment- new value ofsourceEnvironmentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesourceEnvironmentfield changed
-
withUnmappedField
public BrowserSharedCookieHistory withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static BrowserSharedCookieHistory.Builder builder()
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
-
-