Merge "Add boards"
This commit is contained in:
commit
4f8e6d0fa0
30
storyboardclient/v1/boards.py
Normal file
30
storyboardclient/v1/boards.py
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright (c) 2016 Codethink Ltd.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
# implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
from storyboardclient import base
|
||||||
|
|
||||||
|
|
||||||
|
class Board(base.BaseObject):
|
||||||
|
title = None
|
||||||
|
description = None
|
||||||
|
creator_id = None
|
||||||
|
project_id = None
|
||||||
|
private = None
|
||||||
|
archived = None
|
||||||
|
|
||||||
|
|
||||||
|
class BoardsManager(base.BaseManager):
|
||||||
|
url_key = "boards"
|
||||||
|
resource_class = Board
|
@ -14,6 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from storyboardclient import base
|
from storyboardclient import base
|
||||||
|
from storyboardclient.v1 import boards
|
||||||
from storyboardclient.v1 import branches
|
from storyboardclient.v1 import branches
|
||||||
from storyboardclient.v1 import milestones
|
from storyboardclient.v1 import milestones
|
||||||
from storyboardclient.v1 import project_groups
|
from storyboardclient.v1 import project_groups
|
||||||
@ -65,3 +66,4 @@ class Client(base.BaseClient):
|
|||||||
self.tags = tags.TagsManager(self)
|
self.tags = tags.TagsManager(self)
|
||||||
self.milestones = milestones.MilestonesManager(self)
|
self.milestones = milestones.MilestonesManager(self)
|
||||||
self.worklists = worklists.WorklistsManager(self)
|
self.worklists = worklists.WorklistsManager(self)
|
||||||
|
self.boards = boards.BoardsManager(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user