ProjectArea¶
- class rtcclient.project_area.ProjectArea(url, rtc_obj, raw_data, skip_full_attributes=True)[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
objectraw_data – the raw data ( OrderedDict ) of the request response
- getAdministrator(email, returned_properties=None)[source]¶
Get the
rtcclient.models.Administrator
object by the email address- Parameters:
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
object- Return 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 explanations- Returns:
a
list
that contains allrtcclient.models.Administrator
objects- Return type:
- getItemType(title, returned_properties=None)[source]¶
Get the
rtcclient.models.ItemType
object by the title- Parameters:
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
object- Return 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 explanations- Returns:
a
list
that contains allrtcclient.models.ItemType
objects- Return type:
- getMember(email, returned_properties=None)[source]¶
Get the
rtcclient.models.Member
object by the email address- Parameters:
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
object- Return 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 explanations- Returns:
a
list
that contains allrtcclient.models.Member
objects- Return type:
- getRole(label)[source]¶
Get the
rtcclient.models.Role
object by the label name- Parameters:
label – the label name of the role
- Returns:
the
rtcclient.models.Role
object- Return type:
- 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
objects- Return type: