Package com.circleci.client.v2.model
Class Project
- java.lang.Object
-
- com.circleci.client.v2.model.Project
-
public class Project extends Object
NOTE: The definition of Project is subject to change.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_ORGANIZATION_NAMEstatic StringJSON_PROPERTY_SLUGstatic StringJSON_PROPERTY_VCS_INFO
-
Constructor Summary
Constructors Constructor Description Project()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()The name of the projectStringgetOrganizationName()The name of the organization the project belongs toStringgetSlug()Project slug in the form `vcs-slug/org-name/repo-name`.ProjectVcsInfogetVcsInfo()Get vcsInfointhashCode()Projectname(String name)ProjectorganizationName(String organizationName)voidsetName(String name)voidsetOrganizationName(String organizationName)voidsetSlug(String slug)voidsetVcsInfo(ProjectVcsInfo vcsInfo)Projectslug(String slug)StringtoString()ProjectvcsInfo(ProjectVcsInfo vcsInfo)
-
-
-
Field Detail
-
JSON_PROPERTY_SLUG
public static final String JSON_PROPERTY_SLUG
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ORGANIZATION_NAME
public static final String JSON_PROPERTY_ORGANIZATION_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VCS_INFO
public static final String JSON_PROPERTY_VCS_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSlug
public String getSlug()
Project slug in the form `vcs-slug/org-name/repo-name`. The `/` characters may be URL-escaped.- Returns:
- slug
-
setSlug
public void setSlug(String slug)
-
getName
public String getName()
The name of the project- Returns:
- name
-
setName
public void setName(String name)
-
getOrganizationName
public String getOrganizationName()
The name of the organization the project belongs to- Returns:
- organizationName
-
setOrganizationName
public void setOrganizationName(String organizationName)
-
vcsInfo
public Project vcsInfo(ProjectVcsInfo vcsInfo)
-
getVcsInfo
public ProjectVcsInfo getVcsInfo()
Get vcsInfo- Returns:
- vcsInfo
-
setVcsInfo
public void setVcsInfo(ProjectVcsInfo vcsInfo)
-
-