Create a class Permissions

This commit is contained in:
Vincent Jacques
2012-05-10 20:39:48 +01:00
parent 2cd6dbce91
commit d052371c15
6 changed files with 104 additions and 6 deletions
@@ -1210,6 +1210,16 @@
"collections": [
]
},
{
"name": "Permissions",
"attributes": [
{ "name": "admin", "type": "bool" },
{ "name": "pull", "type": "bool" },
{ "name": "push", "type": "bool" }
],
"collections": [
]
},
{
"name": "Repository",
"identity": [
@@ -1251,7 +1261,7 @@
{ "name": "organization", "type": "Organization" },
{ "name": "owner", "type": "NamedUser" },
{ "name": "parent", "type": "Repository" },
{ "name": "permissions", "type": "@todo" },
{ "name": "permissions", "type": "Permissions" },
{ "name": "private", "type": "bool" },
{ "name": "pushed_at", "type": "string" },
{ "name": "size", "type": "integer" },
@@ -6186,6 +6186,36 @@
}
]
},
{
"attributes": [
{
"type": {
"simple": true,
"cardinality": "scalar",
"name": "bool"
},
"name": "admin"
},
{
"type": {
"simple": true,
"cardinality": "scalar",
"name": "bool"
},
"name": "pull"
},
{
"type": {
"simple": true,
"cardinality": "scalar",
"name": "bool"
},
"name": "push"
}
],
"name": "Permissions",
"methods": []
},
{
"attributes": [
{
@@ -7103,9 +7133,9 @@
},
{
"type": {
"simple": true,
"simple": false,
"cardinality": "scalar",
"name": "@todo"
"name": "Permissions"
},
"name": "permissions"
},