ProjectArea¶
-
class
rtcclient.project_area.
ProjectArea
(url, rtc_obj, raw_data)[source]¶ A wrapped class to perform all the operations in a Project Area
Parameters: - url – the project area url
- rtc_obj – a reference to the
rtcclient.client.RTCClient
object - raw_data – the raw data ( OrderedDict ) of the request response
-
getAdministrator
(email, returned_properties=None)[source]¶ Get the
rtcclient.models.Administrator
object by the email addressParameters: - email – the email address (e.g. somebody@gmail.com)
- returned_properties – the returned properties that you want.
Refer to
rtcclient.client.RTCClient
for more explanations
Returns: the
rtcclient.models.Administrator
objectReturn type:
-
getAdministrators
(returned_properties=None)[source]¶ Get all the
rtcclient.models.Administrator
objects in this project areaIf no
Administrators
are retrieved, None is returned.Parameters: returned_properties – the returned properties that you want. Refer to rtcclient.client.RTCClient
for more explanationsReturns: a list
that contains allrtcclient.models.Administrator
objectsReturn type: list
-
getItemType
(title, returned_properties=None)[source]¶ Get the
rtcclient.models.ItemType
object by the titleParameters: - title – the title (e.g. Story/Epic/..)
- returned_properties – the returned properties that you want.
Refer to
rtcclient.client.RTCClient
for more explanations
Returns: the
rtcclient.models.ItemType
objectReturn type:
-
getItemTypes
(returned_properties=None)[source]¶ Get all the
rtcclient.models.ItemType
objects in this project areaIf no
ItemTypes
are retrieved, None is returned.Parameters: returned_properties – the returned properties that you want. Refer to rtcclient.client.RTCClient
for more explanationsReturns: a list
that contains allrtcclient.models.ItemType
objectsReturn type: list
-
getMember
(email, returned_properties=None)[source]¶ Get the
rtcclient.models.Member
object by the email addressParameters: - email – the email address (e.g. somebody@gmail.com)
- returned_properties – the returned properties that you want.
Refer to
rtcclient.client.RTCClient
for more explanations
Returns: the
rtcclient.models.Member
objectReturn type:
-
getMembers
(returned_properties=None)[source]¶ Get all the
rtcclient.models.Member
objects in this project areaIf no
Members
are retrieved, None is returned.Parameters: returned_properties – the returned properties that you want. Refer to rtcclient.client.RTCClient
for more explanationsReturns: a list
that contains allrtcclient.models.Member
objectsReturn type: list
-
getRole
(label)[source]¶ Get the
rtcclient.models.Role
object by the label nameParameters: label – the label name of the role Returns: the rtcclient.models.Role
objectReturn type: rtcclient.models.Role
-
getRoles
()[source]¶ Get all
rtcclient.models.Role
objects in this project areaIf no
Roles
are retrieved, None is returned.Returns: a list
that contains allrtcclient.models.Role
objectsReturn type: list