Class ServicePrincipalEvidence

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

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

    • ServicePrincipalEvidence

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

    • createFromDiscriminatorValue

      @Nonnull public static ServicePrincipalEvidence 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 ServicePrincipalEvidence
    • getAppId

      @Nullable public String getAppId()
      Gets the appId property value. The appId property
      Returns:
      a String
    • getAppOwnerTenantId

      @Nullable public String getAppOwnerTenantId()
      Gets the appOwnerTenantId property value. The appOwnerTenantId property
      Returns:
      a String
    • 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>>
    • getServicePrincipalName

      @Nullable public String getServicePrincipalName()
      Gets the servicePrincipalName property value. The servicePrincipalName property
      Returns:
      a String
    • getServicePrincipalObjectId

      @Nullable public String getServicePrincipalObjectId()
      Gets the servicePrincipalObjectId property value. The servicePrincipalObjectId property
      Returns:
      a String
    • getServicePrincipalType

      @Nullable public ServicePrincipalType getServicePrincipalType()
      Gets the servicePrincipalType property value. The servicePrincipalType property
      Returns:
      a ServicePrincipalType
    • getTenantId

      @Nullable public String getTenantId()
      Gets the tenantId property value. The tenantId property
      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 AlertEvidence
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAppId

      public void setAppId(@Nullable String value)
      Sets the appId property value. The appId property
      Parameters:
      value - Value to set for the appId property.
    • setAppOwnerTenantId

      public void setAppOwnerTenantId(@Nullable String value)
      Sets the appOwnerTenantId property value. The appOwnerTenantId property
      Parameters:
      value - Value to set for the appOwnerTenantId property.
    • setServicePrincipalName

      public void setServicePrincipalName(@Nullable String value)
      Sets the servicePrincipalName property value. The servicePrincipalName property
      Parameters:
      value - Value to set for the servicePrincipalName property.
    • setServicePrincipalObjectId

      public void setServicePrincipalObjectId(@Nullable String value)
      Sets the servicePrincipalObjectId property value. The servicePrincipalObjectId property
      Parameters:
      value - Value to set for the servicePrincipalObjectId property.
    • setServicePrincipalType

      public void setServicePrincipalType(@Nullable ServicePrincipalType value)
      Sets the servicePrincipalType property value. The servicePrincipalType property
      Parameters:
      value - Value to set for the servicePrincipalType property.
    • setTenantId

      public void setTenantId(@Nullable String value)
      Sets the tenantId property value. The tenantId property
      Parameters:
      value - Value to set for the tenantId property.