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
  • Constructor Details

    • BrowserSite

      public BrowserSite()
      Instantiates a new BrowserSite 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

      @Nullable public Boolean 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

      @Nullable public String getComment()
      Gets the comment property value. The comment for the site.
      Returns:
      a String
    • getCompatibilityMode

      @Nullable public BrowserSiteCompatibilityMode getCompatibilityMode()
      Gets the compatibilityMode property value. The compatibilityMode property
      Returns:
      a BrowserSiteCompatibilityMode
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. The date and time when the site was created.
      Returns:
      a OffsetDateTime
    • getDeletedDateTime

      @Nullable public 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getHistory

      @Nullable public List<BrowserSiteHistory> getHistory()
      Gets the history property value. The history of modifications applied to the site.
      Returns:
      a List<BrowserSiteHistory>
    • getLastModifiedBy

      @Nullable public IdentitySet getLastModifiedBy()
      Gets the lastModifiedBy property value. The user who last modified the site.
      Returns:
      a IdentitySet
    • getLastModifiedDateTime

      @Nullable public OffsetDateTime getLastModifiedDateTime()
      Gets the lastModifiedDateTime property value. The date and time when the site was last modified.
      Returns:
      a OffsetDateTime
    • getMergeType

      @Nullable public BrowserSiteMergeType getMergeType()
      Gets the mergeType property value. The mergeType property
      Returns:
      a BrowserSiteMergeType
    • getStatus

      @Nullable public BrowserSiteStatus getStatus()
      Gets the status property value. The status property
      Returns:
      a BrowserSiteStatus
    • getTargetEnvironment

      @Nullable public BrowserSiteTargetEnvironment getTargetEnvironment()
      Gets the targetEnvironment property value. The targetEnvironment property
      Returns:
      a BrowserSiteTargetEnvironment
    • getWebUrl

      @Nullable public String 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAllowRedirect

      public void setAllowRedirect(@Nullable Boolean value)
      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

      public void setComment(@Nullable String value)
      Sets the comment property value. The comment for the site.
      Parameters:
      value - Value to set for the comment property.
    • setCompatibilityMode

      public void setCompatibilityMode(@Nullable BrowserSiteCompatibilityMode value)
      Sets the compatibilityMode property value. The compatibilityMode property
      Parameters:
      value - Value to set for the compatibilityMode property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. The date and time when the site was created.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDeletedDateTime

      public void setDeletedDateTime(@Nullable OffsetDateTime value)
      Sets the deletedDateTime property value. The date and time when the site was deleted.
      Parameters:
      value - Value to set for the deletedDateTime property.
    • setHistory

      public void setHistory(@Nullable List<BrowserSiteHistory> value)
      Sets the history property value. The history of modifications applied to the site.
      Parameters:
      value - Value to set for the history property.
    • setLastModifiedBy

      public void setLastModifiedBy(@Nullable IdentitySet value)
      Sets the lastModifiedBy property value. The user who last modified the site.
      Parameters:
      value - Value to set for the lastModifiedBy property.
    • setLastModifiedDateTime

      public void setLastModifiedDateTime(@Nullable OffsetDateTime value)
      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

      public void setMergeType(@Nullable BrowserSiteMergeType value)
      Sets the mergeType property value. The mergeType property
      Parameters:
      value - Value to set for the mergeType property.
    • setStatus

      public void setStatus(@Nullable BrowserSiteStatus value)
      Sets the status property value. The status property
      Parameters:
      value - Value to set for the status property.
    • setTargetEnvironment

      public void setTargetEnvironment(@Nullable BrowserSiteTargetEnvironment value)
      Sets the targetEnvironment property value. The targetEnvironment property
      Parameters:
      value - Value to set for the targetEnvironment property.
    • setWebUrl

      public void setWebUrl(@Nullable String value)
      Sets the webUrl property value. The URL of the site.
      Parameters:
      value - Value to set for the webUrl property.