Migration

class github.Migration.Migration

This class represents Migrations. The reference can be found here http://developer.github.com/v3/migrations/

id
Type:int
owner
Type:github.NamedUser.NamedUser
guid
Type:str
state
Type:str
lock_repositories
Type:bool
exclude_attachments
Type:bool
repositories
Type:github.PaginatedList.PaginatedList of github.Repository.Repository
url
Type:str
created_at
Type:datetime.datetime
Return type:None
updated_at
Type:datetime.datetime
Return type:None
get_status()
Calls:`GET /user/migrations/:migration_id`_
Return type:str
get_archive_url()
Calls:`GET /user/migrations/:migration_id/archive`_
Return type:str
delete()
Calls:`DELETE /user/migrations/:migration_id/archive`_
unlock_repo(repo_name)
Calls:`DELETE /user/migrations/:migration_id/repos/:repo_name/lock`_
Parameters:repo_name – str
Return type:None