Skip to content

Commit 62634c3

Browse files
author
y.kokubo
committed
create IssueForState
1 parent 831a818 commit 62634c3

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/*
2+
* Copyright 2012 Yusuke Kokubo
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
package com.github.api.v2.schemaex;
18+
19+
import com.github.api.v2.schema.Issue;
20+
import com.github.api.v2.schema.SchemaEntity;
21+
22+
/**
23+
* The Class Issue.
24+
*/
25+
public class IssueForState extends SchemaEntity {
26+
27+
/** The Constant serialVersionUID. */
28+
private static final long serialVersionUID = 9155892708485181542L;
29+
30+
private int number;
31+
32+
/** The state. */
33+
private Issue.State state;
34+
35+
public IssueForState() {
36+
}
37+
38+
/* (non-Javadoc)
39+
* @see java.lang.Object#toString()
40+
*/
41+
@Override
42+
public String toString() {
43+
return "Issue [state=" + getState() + "]";
44+
}
45+
46+
public int getNumber() {
47+
return number;
48+
}
49+
50+
public void setNumber(int number) {
51+
this.number = number;
52+
}
53+
54+
public Issue.State getState() {
55+
return state;
56+
}
57+
58+
public void setState(Issue.State state) {
59+
this.state = state;
60+
}
61+
}

0 commit comments

Comments
 (0)