Package com.circleci.client.v2.model
Class PipelineVcsCommit
- java.lang.Object
-
- com.circleci.client.v2.model.PipelineVcsCommit
-
public class PipelineVcsCommit extends Object
The latest commit in the pipeline.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BODYstatic StringJSON_PROPERTY_SUBJECT
-
Constructor Summary
Constructors Constructor Description PipelineVcsCommit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineVcsCommitbody(String body)booleanequals(Object o)StringgetBody()The body of the commit message.StringgetSubject()The subject of the commit message.inthashCode()voidsetBody(String body)voidsetSubject(String subject)PipelineVcsCommitsubject(String subject)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SUBJECT
public static final String JSON_PROPERTY_SUBJECT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BODY
public static final String JSON_PROPERTY_BODY
- See Also:
- Constant Field Values
-
-
Method Detail
-
subject
public PipelineVcsCommit subject(String subject)
-
getSubject
public String getSubject()
The subject of the commit message.- Returns:
- subject
-
setSubject
public void setSubject(String subject)
-
body
public PipelineVcsCommit body(String body)
-
getBody
public String getBody()
The body of the commit message.- Returns:
- body
-
setBody
public void setBody(String body)
-
-