Class GitHubUserEvidence

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

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

    • GitHubUserEvidence

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

    • createFromDiscriminatorValue

      @Nonnull public static GitHubUserEvidence 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 GitHubUserEvidence
    • getEmail

      @Nullable public String getEmail()
      Gets the email property value. The email 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>>
    • getLogin

      @Nullable public String getLogin()
      Gets the login property value. The login property
      Returns:
      a String
    • getName

      @Nullable public String getName()
      Gets the name property value. The name property
      Returns:
      a String
    • getUserId

      @Nullable public String getUserId()
      Gets the userId property value. The userId property
      Returns:
      a String
    • getWebUrl

      @Nullable public String getWebUrl()
      Gets the webUrl property value. The webUrl 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
    • setEmail

      public void setEmail(@Nullable String value)
      Sets the email property value. The email property
      Parameters:
      value - Value to set for the email property.
    • setLogin

      public void setLogin(@Nullable String value)
      Sets the login property value. The login property
      Parameters:
      value - Value to set for the login property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. The name property
      Parameters:
      value - Value to set for the name property.
    • setUserId

      public void setUserId(@Nullable String value)
      Sets the userId property value. The userId property
      Parameters:
      value - Value to set for the userId property.
    • setWebUrl

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