Skip to content

Commit

Permalink
Generated from OpenAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
aw-asana committed Oct 20, 2021
1 parent ae0d30b commit e57161c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.5
0.10.6
11 changes: 11 additions & 0 deletions samples/AuditLogAPISample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
auditlogapi:
getAuditLogEvents: >-
<?php
require 'php-asana/vendor/autoload.php';
$client = Asana\Client::accessToken('PERSONAL_ACCESS_TOKEN');
$result = $client->auditlogapi->getAuditLogEvents($workspace_gid, array('param' => 'value', 'param' => 'value'), array('opt_pretty' => 'true'))
27 changes: 27 additions & 0 deletions src/Asana/Resources/Gen/AuditLogAPIBase.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

namespace Asana\Resources\Gen;

class AuditLogAPIBase {

/**
* @param Asana/Client client The client instance
*/
public function __construct($client)
{
$this->client = $client;
}

/** Get audit log events
*
* @param string $workspace_gid (required) Globally unique identifier for the workspace or organization.
* @param array $params
* @param array $options
* @return response
*/
public function getAuditLogEvents($workspace_gid, $params = array(), $options = array()) {
$path = "/workspaces/{workspace_gid}/audit_log_events";
$path = str_replace("{workspace_gid}", $workspace_gid, $path);
return $this->client->getCollection($path, $params, $options);
}
}

0 comments on commit e57161c

Please sign in to comment.