From f4b5306ebec06541977f86d0b2f57d9f44034dcc Mon Sep 17 00:00:00 2001 From: Ross Grambo Date: Wed, 14 Apr 2021 16:55:47 -0700 Subject: [PATCH] Generated from OpenAPI --- VERSION | 2 +- samples/TeamsSample.yaml | 10 ++++++++++ src/Asana/Resources/Gen/TeamsBase.php | 11 +++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 42624f3..56e9df1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.2 \ No newline at end of file +0.10.3 \ No newline at end of file diff --git a/samples/TeamsSample.yaml b/samples/TeamsSample.yaml index 19b955b..8c6effb 100644 --- a/samples/TeamsSample.yaml +++ b/samples/TeamsSample.yaml @@ -9,6 +9,16 @@ teams: $result = $client->teams->addUserForTeam($team_gid, array('field' => 'value', 'field' => 'value'), array('opt_pretty' => 'true')) + createTeam: >- + teams->createTeam(array('field' => 'value', 'field' => 'value'), array('opt_pretty' => 'true')) getTeam: >- client->post($path, $params, $options); } + /** Create a team + * + * @param array $params + * @param array $options + * @return response + */ + public function createTeam($params = array(), $options = array()) { + $path = "/teams"; + return $this->client->post($path, $params, $options); + } + /** Get a team * * @param string $team_gid (required) Globally unique identifier for the team.