Class SasTokenEvidence

java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.SasTokenEvidence
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class SasTokenEvidence extends AlertEvidence implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • SasTokenEvidence

      public SasTokenEvidence()
      Instantiates a new SasTokenEvidence and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static SasTokenEvidence 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 SasTokenEvidence
    • getAllowedIpAddresses

      @Nullable public String getAllowedIpAddresses()
      Gets the allowedIpAddresses property value. The allowedIpAddresses property
      Returns:
      a String
    • getAllowedResourceTypes

      @Nullable public List<String> getAllowedResourceTypes()
      Gets the allowedResourceTypes property value. The allowedResourceTypes property
      Returns:
      a List<String>
    • getAllowedServices

      @Nullable public List<String> getAllowedServices()
      Gets the allowedServices property value. The allowedServices property
      Returns:
      a List<String>
    • getExpiryDateTime

      @Nullable public OffsetDateTime getExpiryDateTime()
      Gets the expiryDateTime property value. The expiryDateTime property
      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 AlertEvidence
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getPermissions

      @Nullable public List<String> getPermissions()
      Gets the permissions property value. The permissions property
      Returns:
      a List<String>
    • getProtocol

      @Nullable public String getProtocol()
      Gets the protocol property value. The protocol property
      Returns:
      a String
    • getSignatureHash

      @Nullable public String getSignatureHash()
      Gets the signatureHash property value. The signatureHash property
      Returns:
      a String
    • getSignedWith

      @Nullable public String getSignedWith()
      Gets the signedWith property value. The signedWith property
      Returns:
      a String
    • getStartDateTime

      @Nullable public OffsetDateTime getStartDateTime()
      Gets the startDateTime property value. The startDateTime property
      Returns:
      a OffsetDateTime
    • getStorageResource

      @Nullable public AzureResourceEvidence getStorageResource()
      Gets the storageResource property value. The storageResource property
      Returns:
      a AzureResourceEvidence
    • 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 AlertEvidence
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAllowedIpAddresses

      public void setAllowedIpAddresses(@Nullable String value)
      Sets the allowedIpAddresses property value. The allowedIpAddresses property
      Parameters:
      value - Value to set for the allowedIpAddresses property.
    • setAllowedResourceTypes

      public void setAllowedResourceTypes(@Nullable List<String> value)
      Sets the allowedResourceTypes property value. The allowedResourceTypes property
      Parameters:
      value - Value to set for the allowedResourceTypes property.
    • setAllowedServices

      public void setAllowedServices(@Nullable List<String> value)
      Sets the allowedServices property value. The allowedServices property
      Parameters:
      value - Value to set for the allowedServices property.
    • setExpiryDateTime

      public void setExpiryDateTime(@Nullable OffsetDateTime value)
      Sets the expiryDateTime property value. The expiryDateTime property
      Parameters:
      value - Value to set for the expiryDateTime property.
    • setPermissions

      public void setPermissions(@Nullable List<String> value)
      Sets the permissions property value. The permissions property
      Parameters:
      value - Value to set for the permissions property.
    • setProtocol

      public void setProtocol(@Nullable String value)
      Sets the protocol property value. The protocol property
      Parameters:
      value - Value to set for the protocol property.
    • setSignatureHash

      public void setSignatureHash(@Nullable String value)
      Sets the signatureHash property value. The signatureHash property
      Parameters:
      value - Value to set for the signatureHash property.
    • setSignedWith

      public void setSignedWith(@Nullable String value)
      Sets the signedWith property value. The signedWith property
      Parameters:
      value - Value to set for the signedWith property.
    • setStartDateTime

      public void setStartDateTime(@Nullable OffsetDateTime value)
      Sets the startDateTime property value. The startDateTime property
      Parameters:
      value - Value to set for the startDateTime property.
    • setStorageResource

      public void setStorageResource(@Nullable AzureResourceEvidence value)
      Sets the storageResource property value. The storageResource property
      Parameters:
      value - Value to set for the storageResource property.