C# Class AppHarbor.AppHarborClient

Datei anzeigen Open project: appharbor/AppHarbor.NET Class Usage Examples

Public Methods

Method Description
CreateApplication ( string name, string regionIdentifier = "amazon-web-services::us-east-1" ) : CreateResult

Creates a new AppHarbor application

CreateCollaborator ( string applicationSlug, string email, CollaboratorType collaboratorType ) : CreateResult
CreateConfigurationVariable ( string applicationSlug, string key, string value ) : CreateResult
CreateHostname ( string applicationSlug, string hostName ) : CreateResult
CreateServicehook ( string applicationSlug, string url ) : CreateResult
DeleteApplication ( string applicationSlug ) : bool
DeleteCollaborator ( string applicationSlug, string id ) : bool
DeleteConfigurationVariable ( string applicationSlug, string id ) : bool
DeleteHostname ( string applicationSlug, string Id ) : bool
DeleteServicehook ( string applicationSlug, string Id ) : bool
EditApplication ( string applicationSlug, Application application ) : bool
EditCollaborator ( string applicationSlug, Collaborator collaborator ) : bool
EditConfigurationVariable ( string applicationSlug, ConfigurationVariable configurationVariable ) : bool
GetApplication ( string applicationSlug ) : Application
GetApplications ( ) : IEnumerable
GetBuild ( string applicationSlug, string id ) : Build
GetBuilds ( string applicationSlug, int count = null, int offset = null ) : IEnumerable
GetCollaborator ( string applicationSlug, string id ) : Collaborator
GetCollaboratorType ( CollaboratorType collaboratorType ) : string
GetCollaborators ( string applicationSlug ) : IEnumerable
GetConfigurationVariable ( string applicationSlug, string id ) : ConfigurationVariable
GetConfigurationVariables ( string applicationSlug ) : IEnumerable
GetError ( string applicationSlug, string id ) : Error
GetErrors ( string applicationSlug ) : IEnumerable
GetHostname ( string applicationSlug, string Id ) : Hostname
GetHostnames ( string applicationSlug ) : IEnumerable
GetServicehook ( string applicationSlug, string Id ) : ServiceHook
GetServicehooks ( string applicationSlug ) : IEnumerable
GetTest ( string applicationSlug, string buildId, string Id ) : Test
GetTests ( string applicationSlug, string buildId ) : IEnumerable

Method Details

CreateApplication() public method

Creates a new AppHarbor application
public CreateApplication ( string name, string regionIdentifier = "amazon-web-services::us-east-1" ) : CreateResult
name string Name of the application.
regionIdentifier string Region the application will be created in. The default is "amazon-web-services::us-east-1". May not be null.
return CreateResult

CreateCollaborator() public method

public CreateCollaborator ( string applicationSlug, string email, CollaboratorType collaboratorType ) : CreateResult
applicationSlug string
email string
collaboratorType CollaboratorType
return CreateResult

CreateConfigurationVariable() public method

public CreateConfigurationVariable ( string applicationSlug, string key, string value ) : CreateResult
applicationSlug string
key string
value string
return CreateResult

CreateHostname() public method

public CreateHostname ( string applicationSlug, string hostName ) : CreateResult
applicationSlug string
hostName string
return CreateResult

CreateServicehook() public method

public CreateServicehook ( string applicationSlug, string url ) : CreateResult
applicationSlug string
url string
return CreateResult

DeleteApplication() public method

public DeleteApplication ( string applicationSlug ) : bool
applicationSlug string
return bool

DeleteCollaborator() public method

public DeleteCollaborator ( string applicationSlug, string id ) : bool
applicationSlug string
id string
return bool

DeleteConfigurationVariable() public method

public DeleteConfigurationVariable ( string applicationSlug, string id ) : bool
applicationSlug string
id string
return bool

DeleteHostname() public method

public DeleteHostname ( string applicationSlug, string Id ) : bool
applicationSlug string
Id string
return bool

DeleteServicehook() public method

public DeleteServicehook ( string applicationSlug, string Id ) : bool
applicationSlug string
Id string
return bool

EditApplication() public method

public EditApplication ( string applicationSlug, Application application ) : bool
applicationSlug string
application Application
return bool

EditCollaborator() public method

public EditCollaborator ( string applicationSlug, Collaborator collaborator ) : bool
applicationSlug string
collaborator Collaborator
return bool

EditConfigurationVariable() public method

public EditConfigurationVariable ( string applicationSlug, ConfigurationVariable configurationVariable ) : bool
applicationSlug string
configurationVariable ConfigurationVariable
return bool

GetApplication() public method

public GetApplication ( string applicationSlug ) : Application
applicationSlug string
return Application

GetApplications() public method

public GetApplications ( ) : IEnumerable
return IEnumerable

GetBuild() public method

public GetBuild ( string applicationSlug, string id ) : Build
applicationSlug string
id string
return Build

GetBuilds() public method

public GetBuilds ( string applicationSlug, int count = null, int offset = null ) : IEnumerable
applicationSlug string
count int
offset int
return IEnumerable

GetCollaborator() public method

public GetCollaborator ( string applicationSlug, string id ) : Collaborator
applicationSlug string
id string
return Collaborator

GetCollaboratorType() public static method

public static GetCollaboratorType ( CollaboratorType collaboratorType ) : string
collaboratorType CollaboratorType
return string

GetCollaborators() public method

public GetCollaborators ( string applicationSlug ) : IEnumerable
applicationSlug string
return IEnumerable

GetConfigurationVariable() public method

public GetConfigurationVariable ( string applicationSlug, string id ) : ConfigurationVariable
applicationSlug string
id string
return ConfigurationVariable

GetConfigurationVariables() public method

public GetConfigurationVariables ( string applicationSlug ) : IEnumerable
applicationSlug string
return IEnumerable

GetError() public method

public GetError ( string applicationSlug, string id ) : Error
applicationSlug string
id string
return Error

GetErrors() public method

public GetErrors ( string applicationSlug ) : IEnumerable
applicationSlug string
return IEnumerable

GetHostname() public method

public GetHostname ( string applicationSlug, string Id ) : Hostname
applicationSlug string
Id string
return Hostname

GetHostnames() public method

public GetHostnames ( string applicationSlug ) : IEnumerable
applicationSlug string
return IEnumerable

GetServicehook() public method

public GetServicehook ( string applicationSlug, string Id ) : ServiceHook
applicationSlug string
Id string
return ServiceHook

GetServicehooks() public method

public GetServicehooks ( string applicationSlug ) : IEnumerable
applicationSlug string
return IEnumerable

GetTest() public method

public GetTest ( string applicationSlug, string buildId, string Id ) : Test
applicationSlug string
buildId string
Id string
return Test

GetTests() public method

public GetTests ( string applicationSlug, string buildId ) : IEnumerable
applicationSlug string
buildId string
return IEnumerable