NAME

WebService::TeamCity::Entity::Project - A single TeamCity project

VERSION

version 0.04

SYNOPSIS

    my $project = ...;

    my $parent = $project->parent_project;

DESCRIPTION

This class represents a single TeamCity project.

API

This class has the following methods:

$project->href

Returns the REST API URI for the project, without the scheme and host.

$project->name

Returns the project's name.

$project->description

Returns the project's description.

$project->id

Returns the project's id string.

$project->web_url

Returns a browser-friendly URI for the project.

$project->archived

Returns true if the project has been archived.

$project->parent_project

Returns the WebService::TeamCity::Entity::Project for the project's parent, if it has one.

$project->child_projects

Returns an arrayref of WebService::TeamCity::Entity::Project objects. If there are no child projects it returns an empty arrayref.

$project->build_types

Returns an arrayref of WebService::TeamCity::Entity::BuildType objects for the build types associated with this project.

SUPPORT

Bugs may be submitted through https://github.com/maxmind/WebService-TeamCity/issues.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by MaxMind, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.