public class BasicAuth extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| BasicAuth() | 
| BasicAuth(BasicAuth source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getPassword()Get 密码
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getUserName()Get 用户名
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setPassword(String Password)Set 密码
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setUserName(String UserName)Set 用户名
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic BasicAuth()
public BasicAuth(BasicAuth source)
public String getUserName()
public void setUserName(String UserName)
UserName - 用户名
注意:此字段可能返回 null,表示取不到有效值。public String getPassword()
public void setPassword(String Password)
Password - 密码
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.