diff --git a/storyboardclient/v1/boards.py b/storyboardclient/v1/boards.py new file mode 100644 index 0000000..a9c1933 --- /dev/null +++ b/storyboardclient/v1/boards.py @@ -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 diff --git a/storyboardclient/v1/client.py b/storyboardclient/v1/client.py index 200ae60..811ec8e 100644 --- a/storyboardclient/v1/client.py +++ b/storyboardclient/v1/client.py @@ -14,6 +14,7 @@ # limitations under the License. from storyboardclient import base +from storyboardclient.v1 import boards from storyboardclient.v1 import branches from storyboardclient.v1 import milestones from storyboardclient.v1 import project_groups @@ -65,3 +66,4 @@ class Client(base.BaseClient): self.tags = tags.TagsManager(self) self.milestones = milestones.MilestonesManager(self) self.worklists = worklists.WorklistsManager(self) + self.boards = boards.BoardsManager(self)