Package com.microsoft.graph.models
Class BrowserSite
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BrowserSite
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class BrowserSite
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Singleton entity which is used to specify IE mode site metadata
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BrowserSite
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the allowRedirect property value.Gets the comment property value.Gets the compatibilityMode property value.Gets the createdDateTime property value.Gets the deletedDateTime property value.The deserialization information for the current modelGets the history property value.Gets the lastModifiedBy property value.Gets the lastModifiedDateTime property value.Gets the mergeType property value.Gets the status property value.Gets the targetEnvironment property value.Gets the webUrl property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setAllowRedirect
(Boolean value) Sets the allowRedirect property value.void
setComment
(String value) Sets the comment property value.void
Sets the compatibilityMode property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDeletedDateTime
(OffsetDateTime value) Sets the deletedDateTime property value.void
setHistory
(List<BrowserSiteHistory> value) Sets the history property value.void
setLastModifiedBy
(IdentitySet value) Sets the lastModifiedBy property value.void
Sets the lastModifiedDateTime property value.void
setMergeType
(BrowserSiteMergeType value) Sets the mergeType property value.void
setStatus
(BrowserSiteStatus value) Sets the status property value.void
Sets the targetEnvironment property value.void
Sets the webUrl property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
BrowserSite
public BrowserSite()Instantiates a newBrowserSite
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static BrowserSite createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
BrowserSite
-
getAllowRedirect
Gets the allowRedirect property value. Controls the behavior of redirected sites. If true, indicates that the site will open in Internet Explorer 11 or Microsoft Edge even if the site is navigated to as part of a HTTP or meta refresh redirection chain.- Returns:
- a
Boolean
-
getComment
Gets the comment property value. The comment for the site.- Returns:
- a
String
-
getCompatibilityMode
Gets the compatibilityMode property value. The compatibilityMode property- Returns:
- a
BrowserSiteCompatibilityMode
-
getCreatedDateTime
Gets the createdDateTime property value. The date and time when the site was created.- Returns:
- a
OffsetDateTime
-
getDeletedDateTime
Gets the deletedDateTime property value. The date and time when the site was deleted.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHistory
Gets the history property value. The history of modifications applied to the site.- Returns:
- a
List<BrowserSiteHistory>
-
getLastModifiedBy
Gets the lastModifiedBy property value. The user who last modified the site.- Returns:
- a
IdentitySet
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. The date and time when the site was last modified.- Returns:
- a
OffsetDateTime
-
getMergeType
Gets the mergeType property value. The mergeType property- Returns:
- a
BrowserSiteMergeType
-
getStatus
Gets the status property value. The status property- Returns:
- a
BrowserSiteStatus
-
getTargetEnvironment
Gets the targetEnvironment property value. The targetEnvironment property- Returns:
- a
BrowserSiteTargetEnvironment
-
getWebUrl
Gets the webUrl property value. The URL of the site.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAllowRedirect
Sets the allowRedirect property value. Controls the behavior of redirected sites. If true, indicates that the site will open in Internet Explorer 11 or Microsoft Edge even if the site is navigated to as part of a HTTP or meta refresh redirection chain.- Parameters:
value
- Value to set for the allowRedirect property.
-
setComment
Sets the comment property value. The comment for the site.- Parameters:
value
- Value to set for the comment property.
-
setCompatibilityMode
Sets the compatibilityMode property value. The compatibilityMode property- Parameters:
value
- Value to set for the compatibilityMode property.
-
setCreatedDateTime
Sets the createdDateTime property value. The date and time when the site was created.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDeletedDateTime
Sets the deletedDateTime property value. The date and time when the site was deleted.- Parameters:
value
- Value to set for the deletedDateTime property.
-
setHistory
Sets the history property value. The history of modifications applied to the site.- Parameters:
value
- Value to set for the history property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. The user who last modified the site.- Parameters:
value
- Value to set for the lastModifiedBy property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. The date and time when the site was last modified.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setMergeType
Sets the mergeType property value. The mergeType property- Parameters:
value
- Value to set for the mergeType property.
-
setStatus
Sets the status property value. The status property- Parameters:
value
- Value to set for the status property.
-
setTargetEnvironment
Sets the targetEnvironment property value. The targetEnvironment property- Parameters:
value
- Value to set for the targetEnvironment property.
-
setWebUrl
Sets the webUrl property value. The URL of the site.- Parameters:
value
- Value to set for the webUrl property.
-