Class GitRepository
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cloudstudio.v20230508.models.GitRepository
-
public class GitRepository extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description GitRepository()GitRepository(GitRepository 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBranch()Get Git 仓库分支名或 Tag 名StringgetUrl()Get Git 仓库地址voidsetBranch(String Branch)Set Git 仓库分支名或 Tag 名voidsetUrl(String Url)Set Git 仓库地址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
-
GitRepository
public GitRepository()
-
GitRepository
public GitRepository(GitRepository 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
-
getUrl
public String getUrl()
Get Git 仓库地址- Returns:
- Url Git 仓库地址
-
setUrl
public void setUrl(String Url)
Set Git 仓库地址- Parameters:
Url- Git 仓库地址
-
getBranch
public String getBranch()
Get Git 仓库分支名或 Tag 名- Returns:
- Branch Git 仓库分支名或 Tag 名
-
setBranch
public void setBranch(String Branch)
Set Git 仓库分支名或 Tag 名- Parameters:
Branch- Git 仓库分支名或 Tag 名
-
-