Class PullRequest
- java.lang.Object
-
- com.cdancy.bitbucket.rest.domain.pullrequest.PullRequest
-
- All Implemented Interfaces:
ErrorsHolder,LinksHolder
public abstract class PullRequest extends Object implements ErrorsHolder, LinksHolder
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Personauthor()abstract booleanclosed()static PullRequestcreate(int id, int version, String title, String description, String state, boolean open, boolean closed, long createdDate, long updatedDate, Reference fromRef, Reference toRef, boolean locked, Person author, List<Person> reviewers, List<Person> participants, Properties properties, Links links, List<Error> errors)abstract longcreatedDate()abstract Stringdescription()abstract ReferencefromRef()abstract intid()abstract booleanlocked()abstract booleanopen()abstract List<Person>participants()abstract Propertiesproperties()abstract List<Person>reviewers()abstract Stringstate()abstract Stringtitle()abstract ReferencetoRef()abstract longupdatedDate()abstract intversion()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.cdancy.bitbucket.rest.domain.common.ErrorsHolder
errors
-
Methods inherited from interface com.cdancy.bitbucket.rest.domain.common.LinksHolder
links
-
-
-
-
Method Detail
-
id
public abstract int id()
-
version
public abstract int version()
-
title
@Nullable public abstract String title()
-
description
@Nullable public abstract String description()
-
state
@Nullable public abstract String state()
-
open
public abstract boolean open()
-
closed
public abstract boolean closed()
-
createdDate
public abstract long createdDate()
-
updatedDate
public abstract long updatedDate()
-
fromRef
@Nullable public abstract Reference fromRef()
-
toRef
@Nullable public abstract Reference toRef()
-
locked
public abstract boolean locked()
-
author
@Nullable public abstract Person author()
-
properties
@Nullable public abstract Properties properties()
-
create
public static PullRequest create(int id, int version, String title, String description, String state, boolean open, boolean closed, long createdDate, long updatedDate, Reference fromRef, Reference toRef, boolean locked, Person author, List<Person> reviewers, List<Person> participants, Properties properties, Links links, List<Error> errors)
-
-