Models

class rtcclient.models.Role(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

The role in the project area or team area

class rtcclient.models.Member(url, rtc_obj, raw_data=None, skip_full_attributes=True)[source]

The member in the project area

class rtcclient.models.Administrator(url, rtc_obj, raw_data=None, skip_full_attributes=True)[source]

The administrator of the project area

class rtcclient.models.ItemType(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

The workitem type

class rtcclient.models.TeamArea(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

The team area

class rtcclient.models.PlannedFor(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

The project plannedfor defines a start and end date along with an iteration breakdown

class rtcclient.models.FiledAgainst(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

Category that identifies the component or functional area that the work item belongs to.

class rtcclient.models.FoundIn(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

Release in which the issue described in the work item was identified.

class rtcclient.models.Severity(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

Indication of the impact of the work item

class rtcclient.models.Priority(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

Ranked importance of a work item

class rtcclient.models.Action(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

The action to change the state of the workitem

class rtcclient.models.State(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

Status of the work item. For example, New, In Progress, or Resolved.

class rtcclient.models.Comment(url, rtc_obj, raw_data=None, skip_full_attributes=True)[source]

Comment about the work item

class rtcclient.models.SavedQuery(url, rtc_obj, raw_data=None, skip_full_attributes=True)[source]

User saved query

class rtcclient.models.IncludedInBuild(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]

Which build includes the certain workitem

class rtcclient.models.ChangeSet(url, rtc_obj, raw_data=None, skip_full_attributes=True, **kwargs)[source]
getChanges()[source]

Get all rtcclient.models.Change objects in this changeset

Returns:

a list contains all the rtcclient.models.Change objects

Return type:

list

class rtcclient.models.Change(url, rtc_obj, raw_data=None, skip_full_attributes=True)[source]
fetchAfterStateFile(file_folder)[source]

Fetch the final file (after the change) to a folder

If the file has been deleted, then None will be returned.

Parameters:

file_folder – the folder to store the file

Returns:

the string object

Return type:

string

fetchBeforeStateFile(file_folder)[source]

Fetch the initial file (before the change) to a folder

If the file is newly added, then None will be returned.

Parameters:

file_folder – the folder to store the file

Returns:

the string object

Return type:

string

fetchCurrentFile(file_folder)[source]

Fetch the current/final file (after the change) to a folder

If the file has been deleted, then None will be returned.

Parameters:

file_folder – the folder to store the file

Returns:

the string object

Return type:

string