Class GitSecret
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tione.v20191022.models.GitSecret
-
public class GitSecret extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetNoSecret()Get 无秘钥,默认选项StringgetSecret()Get Git用户名密码base64编码后的字符串 编码前的内容应为Json字符串,如 {"UserName": "用户名", "Password":"密码"}voidsetNoSecret(Boolean NoSecret)Set 无秘钥,默认选项voidsetSecret(String Secret)Set Git用户名密码base64编码后的字符串 编码前的内容应为Json字符串,如 {"UserName": "用户名", "Password":"密码"}voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
GitSecret
public GitSecret()
-
GitSecret
public 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.
-
-
Method Detail
-
getNoSecret
public Boolean getNoSecret()
Get 无秘钥,默认选项- Returns:
- NoSecret 无秘钥,默认选项
-
setNoSecret
public void setNoSecret(Boolean NoSecret)
Set 无秘钥,默认选项- Parameters:
NoSecret- 无秘钥,默认选项
-
getSecret
public String getSecret()
Get Git用户名密码base64编码后的字符串 编码前的内容应为Json字符串,如 {"UserName": "用户名", "Password":"密码"}- Returns:
- Secret Git用户名密码base64编码后的字符串 编码前的内容应为Json字符串,如 {"UserName": "用户名", "Password":"密码"}
-
setSecret
public void setSecret(String Secret)
Set Git用户名密码base64编码后的字符串 编码前的内容应为Json字符串,如 {"UserName": "用户名", "Password":"密码"}- Parameters:
Secret- Git用户名密码base64编码后的字符串 编码前的内容应为Json字符串,如 {"UserName": "用户名", "Password":"密码"}
-
-