Skip to content
Snippets Groups Projects
Commit 65e519b6 authored by Andreas Galonska's avatar Andreas Galonska
Browse files

rename category -> group

parent f87f74f5
No related branches found
No related tags found
No related merge requests found
...@@ -112,12 +112,12 @@ ...@@ -112,12 +112,12 @@
"type": "string" "type": "string"
} }
}, },
"categoryid":{ "groupid":{
"description": "This is only available for review events. ID of review category where the event took place. ", "description": "This is only available for review events. ID of review group where the event took place. ",
"type": "integer" "type": "integer"
}, },
"categoryname":{ "groupname":{
"description": "This is only available for review events. Name of review category where the event took place. ", "description": "This is only available for review events. Name of review group where the event took place. ",
"type": "string" "type": "string"
}, },
"project" : { "project" : {
......
...@@ -62,8 +62,8 @@ class Event implements ArrayAccess ...@@ -62,8 +62,8 @@ class Event implements ArrayAccess
'new_state' => 'string', 'new_state' => 'string',
'trigger_type' => 'string', 'trigger_type' => 'string',
'institutions' => 'string[]', 'institutions' => 'string[]',
'categoryid' => 'int', 'groupid' => 'int',
'categoryname' => 'string', 'groupname' => 'string',
'project' => '\jards\eventsapiclient\Swagger\Client\Model\Project', 'project' => '\jards\eventsapiclient\Swagger\Client\Model\Project',
'application' => '\jards\eventsapiclient\Swagger\Client\Model\Application' 'application' => '\jards\eventsapiclient\Swagger\Client\Model\Application'
]; ];
...@@ -81,8 +81,8 @@ class Event implements ArrayAccess ...@@ -81,8 +81,8 @@ class Event implements ArrayAccess
'new_state' => null, 'new_state' => null,
'trigger_type' => null, 'trigger_type' => null,
'institutions' => null, 'institutions' => null,
'categoryid' => null, 'groupid' => null,
'categoryname' => null, 'groupname' => null,
'project' => null, 'project' => null,
'application' => null 'application' => null
]; ];
...@@ -110,8 +110,8 @@ class Event implements ArrayAccess ...@@ -110,8 +110,8 @@ class Event implements ArrayAccess
'new_state' => 'newState', 'new_state' => 'newState',
'trigger_type' => 'triggerType', 'trigger_type' => 'triggerType',
'institutions' => 'institutions', 'institutions' => 'institutions',
'categoryid' => 'categoryid', 'groupid' => 'groupid',
'categoryname' => 'categoryname', 'groupname' => 'groupname',
'project' => 'project', 'project' => 'project',
'application' => 'application' 'application' => 'application'
]; ];
...@@ -130,8 +130,8 @@ class Event implements ArrayAccess ...@@ -130,8 +130,8 @@ class Event implements ArrayAccess
'new_state' => 'setNewState', 'new_state' => 'setNewState',
'trigger_type' => 'setTriggerType', 'trigger_type' => 'setTriggerType',
'institutions' => 'setInstitutions', 'institutions' => 'setInstitutions',
'categoryid' => 'setCategoryid', 'groupid' => 'setGroupid',
'categoryname' => 'setCategoryname', 'groupname' => 'setGroupname',
'project' => 'setProject', 'project' => 'setProject',
'application' => 'setApplication' 'application' => 'setApplication'
]; ];
...@@ -150,8 +150,8 @@ class Event implements ArrayAccess ...@@ -150,8 +150,8 @@ class Event implements ArrayAccess
'new_state' => 'getNewState', 'new_state' => 'getNewState',
'trigger_type' => 'getTriggerType', 'trigger_type' => 'getTriggerType',
'institutions' => 'getInstitutions', 'institutions' => 'getInstitutions',
'categoryid' => 'getCategoryid', 'groupid' => 'getGroupid',
'categoryname' => 'getCategoryname', 'groupname' => 'getGroupname',
'project' => 'getProject', 'project' => 'getProject',
'application' => 'getApplication' 'application' => 'getApplication'
]; ];
...@@ -195,8 +195,8 @@ class Event implements ArrayAccess ...@@ -195,8 +195,8 @@ class Event implements ArrayAccess
$this->container['new_state'] = isset($data['new_state']) ? $data['new_state'] : null; $this->container['new_state'] = isset($data['new_state']) ? $data['new_state'] : null;
$this->container['trigger_type'] = isset($data['trigger_type']) ? $data['trigger_type'] : null; $this->container['trigger_type'] = isset($data['trigger_type']) ? $data['trigger_type'] : null;
$this->container['institutions'] = isset($data['institutions']) ? $data['institutions'] : null; $this->container['institutions'] = isset($data['institutions']) ? $data['institutions'] : null;
$this->container['categoryid'] = isset($data['categoryid']) ? $data['categoryid'] : null; $this->container['groupid'] = isset($data['groupid']) ? $data['groupid'] : null;
$this->container['categoryname'] = isset($data['categoryname']) ? $data['categoryname'] : null; $this->container['groupname'] = isset($data['groupname']) ? $data['groupname'] : null;
$this->container['project'] = isset($data['project']) ? $data['project'] : null; $this->container['project'] = isset($data['project']) ? $data['project'] : null;
$this->container['application'] = isset($data['application']) ? $data['application'] : null; $this->container['application'] = isset($data['application']) ? $data['application'] : null;
} }
...@@ -413,43 +413,43 @@ class Event implements ArrayAccess ...@@ -413,43 +413,43 @@ class Event implements ArrayAccess
} }
/** /**
* Gets categoryid * Gets groupid
* @return int * @return int
*/ */
public function getCategoryid() public function getGroupid()
{ {
return $this->container['categoryid']; return $this->container['groupid'];
} }
/** /**
* Sets categoryid * Sets groupid
* @param int $categoryid This is only available for review events. ID of review category where the event took place. * @param int $groupid This is only available for review events. ID of review group where the event took place.
* @return $this * @return $this
*/ */
public function setCategoryid($categoryid) public function setGroupid($groupid)
{ {
$this->container['categoryid'] = $categoryid; $this->container['groupid'] = $groupid;
return $this; return $this;
} }
/** /**
* Gets categoryname * Gets groupname
* @return string * @return string
*/ */
public function getCategoryname() public function getGroupname()
{ {
return $this->container['categoryname']; return $this->container['groupname'];
} }
/** /**
* Sets categoryname * Sets groupname
* @param string $categoryname This is only available for review events. Name of review category where the event took place. * @param string $groupname This is only available for review events. Name of review group where the event took place.
* @return $this * @return $this
*/ */
public function setCategoryname($categoryname) public function setGroupname($groupname)
{ {
$this->container['categoryname'] = $categoryname; $this->container['groupname'] = $groupname;
return $this; return $this;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment