Class BasicAuthentication

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class BasicAuthentication extends ApiAuthenticationConfigurationBase implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Basic Authentication.
  • Field Details

    • password

      @SerializedName(value="password", alternate="Password") @Expose @Nullable public String password
      The Password. The password. It is not returned in the responses.
    • username

      @SerializedName(value="username", alternate="Username") @Expose @Nullable public String username
      The Username. The username.
  • Constructor Details

    • BasicAuthentication

      public BasicAuthentication()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class ApiAuthenticationConfigurationBase
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to