@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class BasicAuthOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicAuthOptions.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_PASSWORD |
static String |
SERIALIZED_NAME_USERNAME |
| Constructor and Description |
|---|
BasicAuthOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static BasicAuthOptions |
fromJson(String jsonString)
Create an instance of BasicAuthOptions given an JSON string
|
String |
getPassword()
Get password
|
String |
getUsername()
Get username
|
int |
hashCode() |
BasicAuthOptions |
password(String password) |
void |
setPassword(String password) |
void |
setUsername(String username) |
String |
toJson()
Convert an instance of BasicAuthOptions to an JSON string
|
String |
toString() |
BasicAuthOptions |
username(String username) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_USERNAME
public static final String SERIALIZED_NAME_PASSWORD
public BasicAuthOptions username(String username)
public void setUsername(String username)
public BasicAuthOptions password(String password)
public void setPassword(String password)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to BasicAuthOptionspublic static BasicAuthOptions fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to BasicAuthOptionspublic String toJson()
Copyright © 2023. All rights reserved.