public class GitSecret extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| GitSecret() | 
| GitSecret(GitSecret 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 | 
|---|---|
| Boolean | getNoSecret()Get 无密钥,默认选项 | 
| String | getSecret()Get Git用户名密码base64编码后的字符串
编码前的内容应为Json字符串,如
{"UserName": "用户名", "Password":"密码"} | 
| void | setNoSecret(Boolean NoSecret)Set 无密钥,默认选项 | 
| void | setSecret(String Secret)Set Git用户名密码base64编码后的字符串
编码前的内容应为Json字符串,如
{"UserName": "用户名", "Password":"密码"} | 
| 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 GitSecret()
public GitSecret(GitSecret source)
public Boolean getNoSecret()
public void setNoSecret(Boolean NoSecret)
NoSecret - 无密钥,默认选项public String getSecret()
public void setSecret(String Secret)
Secret - Git用户名密码base64编码后的字符串
编码前的内容应为Json字符串,如
{"UserName": "用户名", "Password":"密码"}Copyright © 2025. All rights reserved.