Skip to content

Commit

Permalink
update libre-graph-api-php-library
Browse files Browse the repository at this point in the history
  • Loading branch information
amrita-shrestha committed Feb 6, 2024
1 parent ef73ea4 commit 4533960
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 621 deletions.
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@
"source": {
"type": "git",
"url": "https://github.com/owncloud/libre-graph-api-php.git",
"reference": "cb414b614a1dc9dee1a320ea3862f56b11c3d70c"
"reference": "c728b27030e08689768562ea3b79694f9e5b09aa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/owncloud/libre-graph-api-php/zipball/cb414b614a1dc9dee1a320ea3862f56b11c3d70c",
"reference": "cb414b614a1dc9dee1a320ea3862f56b11c3d70c",
"url": "https://api.github.com/repos/owncloud/libre-graph-api-php/zipball/c728b27030e08689768562ea3b79694f9e5b09aa",
"reference": "c728b27030e08689768562ea3b79694f9e5b09aa",
"shasum": ""
},
"require": {
Expand All @@ -179,7 +179,7 @@
"overtrue/phplint": "^9.0",
"phpunit/phpunit": "^9.0"
},
"time": "2024-01-15T11:05:29+00:00",
"time": "2024-01-30T15:23:40+00:00",
"default-branch": true,
"type": "library",
"installation-source": "dist",
Expand Down
6 changes: 3 additions & 3 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'owncloud/moodle-repository_ocis',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '95edd79a85e00800c2e264611064fd6c0b5ab85b',
'reference' => 'ef73ea4ce9d2227836170a61992f4a7137a11a0c',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -49,7 +49,7 @@
'owncloud/libre-graph-api-php' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => 'cb414b614a1dc9dee1a320ea3862f56b11c3d70c',
'reference' => 'c728b27030e08689768562ea3b79694f9e5b09aa',
'type' => 'library',
'install_path' => __DIR__ . '/../owncloud/libre-graph-api-php',
'aliases' => array(
Expand All @@ -60,7 +60,7 @@
'owncloud/moodle-repository_ocis' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '95edd79a85e00800c2e264611064fd6c0b5ab85b',
'reference' => 'ef73ea4ce9d2227836170a61992f4a7137a11a0c',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down
2 changes: 1 addition & 1 deletion vendor/owncloud/libre-graph-api-php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Class | Method | HTTP request | Description
- [Quota](docs/Model/Quota.md)
- [RemoteItem](docs/Model/RemoteItem.md)
- [SharePointIdentitySet](docs/Model/SharePointIdentitySet.md)
- [Shared](docs/Model/Shared.md)
- [SharingInvitation](docs/Model/SharingInvitation.md)
- [SharingLink](docs/Model/SharingLink.md)
- [SharingLinkPassword](docs/Model/SharingLinkPassword.md)
- [SharingLinkType](docs/Model/SharingLinkType.md)
Expand Down
80 changes: 74 additions & 6 deletions vendor/owncloud/libre-graph-api-php/src/Model/DriveItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ class DriveItem implements ModelInterface, ArrayAccess, JsonSerializable
'children' => '\OpenAPI\Client\Model\DriveItem[]',
'permissions' => '\OpenAPI\Client\Model\Permission[]',
'audio' => '\OpenAPI\Client\Model\Audio',
'video' => '\OpenAPI\Client\Model\Video'
'video' => '\OpenAPI\Client\Model\Video',
'at_client_synchronize' => 'bool',
'at_ui_hidden' => 'bool'
];

/**
Expand Down Expand Up @@ -124,7 +126,9 @@ class DriveItem implements ModelInterface, ArrayAccess, JsonSerializable
'children' => null,
'permissions' => null,
'audio' => null,
'video' => null
'video' => null,
'at_client_synchronize' => null,
'at_ui_hidden' => null
];

/**
Expand Down Expand Up @@ -161,7 +165,9 @@ class DriveItem implements ModelInterface, ArrayAccess, JsonSerializable
'children' => false,
'permissions' => false,
'audio' => false,
'video' => false
'video' => false,
'at_client_synchronize' => false,
'at_ui_hidden' => false
];

/**
Expand Down Expand Up @@ -278,7 +284,9 @@ public function isNullableSetToNull(string $property): bool
'children' => 'children',
'permissions' => 'permissions',
'audio' => 'audio',
'video' => 'video'
'video' => 'video',
'at_client_synchronize' => '@client.synchronize',
'at_ui_hidden' => '@UI.Hidden'
];

/**
Expand Down Expand Up @@ -315,7 +323,9 @@ public function isNullableSetToNull(string $property): bool
'children' => 'setChildren',
'permissions' => 'setPermissions',
'audio' => 'setAudio',
'video' => 'setVideo'
'video' => 'setVideo',
'at_client_synchronize' => 'setAtClientSynchronize',
'at_ui_hidden' => 'setAtUiHidden'
];

/**
Expand Down Expand Up @@ -352,7 +362,9 @@ public function isNullableSetToNull(string $property): bool
'children' => 'getChildren',
'permissions' => 'getPermissions',
'audio' => 'getAudio',
'video' => 'getVideo'
'video' => 'getVideo',
'at_client_synchronize' => 'getAtClientSynchronize',
'at_ui_hidden' => 'getAtUiHidden'
];

/**
Expand Down Expand Up @@ -440,6 +452,8 @@ public function __construct(array $data = null)
$this->setIfExists('permissions', $data ?? [], null);
$this->setIfExists('audio', $data ?? [], null);
$this->setIfExists('video', $data ?? [], null);
$this->setIfExists('at_client_synchronize', $data ?? [], null);
$this->setIfExists('at_ui_hidden', $data ?? [], null);
}

/**
Expand Down Expand Up @@ -1284,6 +1298,60 @@ public function setVideo(?\OpenAPI\Client\Model\Video $video): static

return $this;
}

/**
* Gets at_client_synchronize
*
* @return bool|null
*/
public function getAtClientSynchronize(): ?bool
{
return $this->container['at_client_synchronize'];
}

/**
* Sets at_client_synchronize
*
* @param bool|null $at_client_synchronize Indicates if the item is synchronized with the underlying storage provider. Read-only.
*
* @return $this
*/
public function setAtClientSynchronize(?bool $at_client_synchronize): static
{
if (is_null($at_client_synchronize)) {
throw new InvalidArgumentException('non-nullable at_client_synchronize cannot be null');
}
$this->container['at_client_synchronize'] = $at_client_synchronize;

return $this;
}

/**
* Gets at_ui_hidden
*
* @return bool|null
*/
public function getAtUiHidden(): ?bool
{
return $this->container['at_ui_hidden'];
}

/**
* Sets at_ui_hidden
*
* @param bool|null $at_ui_hidden Properties or facets (see UI.Facet) annotated with this term will not be rendered if the annotation evaluates to true. Users can set this to hide permissons.
*
* @return $this
*/
public function setAtUiHidden(?bool $at_ui_hidden): static
{
if (is_null($at_ui_hidden)) {
throw new InvalidArgumentException('non-nullable at_ui_hidden cannot be null');
}
$this->container['at_ui_hidden'] = $at_ui_hidden;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down
68 changes: 17 additions & 51 deletions vendor/owncloud/libre-graph-api-php/src/Model/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ class Permission implements ModelInterface, ArrayAccess, JsonSerializable
'roles' => 'string[]',
'granted_to_identities' => '\OpenAPI\Client\Model\IdentitySet[]',
'at_libre_graph_permissions_actions' => 'string[]',
'at_client_synchronize' => 'bool',
'at_ui_hidden' => 'bool'
'invitation' => '\OpenAPI\Client\Model\SharingInvitation'
];

/**
Expand All @@ -85,8 +84,7 @@ class Permission implements ModelInterface, ArrayAccess, JsonSerializable
'roles' => null,
'granted_to_identities' => null,
'at_libre_graph_permissions_actions' => null,
'at_client_synchronize' => null,
'at_ui_hidden' => null
'invitation' => null
];

/**
Expand All @@ -103,8 +101,7 @@ class Permission implements ModelInterface, ArrayAccess, JsonSerializable
'roles' => false,
'granted_to_identities' => false,
'at_libre_graph_permissions_actions' => false,
'at_client_synchronize' => false,
'at_ui_hidden' => false
'invitation' => false
];

/**
Expand Down Expand Up @@ -201,8 +198,7 @@ public function isNullableSetToNull(string $property): bool
'roles' => 'roles',
'granted_to_identities' => 'grantedToIdentities',
'at_libre_graph_permissions_actions' => '@libre.graph.permissions.actions',
'at_client_synchronize' => '@client.synchronize',
'at_ui_hidden' => '@ui.hidden'
'invitation' => 'invitation'
];

/**
Expand All @@ -219,8 +215,7 @@ public function isNullableSetToNull(string $property): bool
'roles' => 'setRoles',
'granted_to_identities' => 'setGrantedToIdentities',
'at_libre_graph_permissions_actions' => 'setAtLibreGraphPermissionsActions',
'at_client_synchronize' => 'setAtClientSynchronize',
'at_ui_hidden' => 'setAtUiHidden'
'invitation' => 'setInvitation'
];

/**
Expand All @@ -237,8 +232,7 @@ public function isNullableSetToNull(string $property): bool
'roles' => 'getRoles',
'granted_to_identities' => 'getGrantedToIdentities',
'at_libre_graph_permissions_actions' => 'getAtLibreGraphPermissionsActions',
'at_client_synchronize' => 'getAtClientSynchronize',
'at_ui_hidden' => 'getAtUiHidden'
'invitation' => 'getInvitation'
];

/**
Expand Down Expand Up @@ -305,8 +299,7 @@ public function __construct(array $data = null)
$this->setIfExists('roles', $data ?? [], null);
$this->setIfExists('granted_to_identities', $data ?? [], null);
$this->setIfExists('at_libre_graph_permissions_actions', $data ?? [], null);
$this->setIfExists('at_client_synchronize', $data ?? [], null);
$this->setIfExists('at_ui_hidden', $data ?? [], null);
$this->setIfExists('invitation', $data ?? [], null);
}

/**
Expand Down Expand Up @@ -577,55 +570,28 @@ public function setAtLibreGraphPermissionsActions(?array $at_libre_graph_permiss
}

/**
* Gets at_client_synchronize
* Gets invitation
*
* @return bool|null
*/
public function getAtClientSynchronize(): ?bool
{
return $this->container['at_client_synchronize'];
}

/**
* Sets at_client_synchronize
*
* @param bool|null $at_client_synchronize Indicates if the item is synchronized with the underlying storage provider. Read-only.
*
* @return $this
*/
public function setAtClientSynchronize(?bool $at_client_synchronize): static
{
if (is_null($at_client_synchronize)) {
throw new InvalidArgumentException('non-nullable at_client_synchronize cannot be null');
}
$this->container['at_client_synchronize'] = $at_client_synchronize;

return $this;
}

/**
* Gets at_ui_hidden
*
* @return bool|null
* @return \OpenAPI\Client\Model\SharingInvitation|null
*/
public function getAtUiHidden(): ?bool
public function getInvitation(): ?\OpenAPI\Client\Model\SharingInvitation
{
return $this->container['at_ui_hidden'];
return $this->container['invitation'];
}

/**
* Sets at_ui_hidden
* Sets invitation
*
* @param bool|null $at_ui_hidden Properties or facets (see UI.Facet) annotated with this term will not be rendered if the annotation evaluates to true. Users can set this to hide permissons.
* @param \OpenAPI\Client\Model\SharingInvitation|null $invitation invitation
*
* @return $this
*/
public function setAtUiHidden(?bool $at_ui_hidden): static
public function setInvitation(?\OpenAPI\Client\Model\SharingInvitation $invitation): static
{
if (is_null($at_ui_hidden)) {
throw new InvalidArgumentException('non-nullable at_ui_hidden cannot be null');
if (is_null($invitation)) {
throw new InvalidArgumentException('non-nullable invitation cannot be null');
}
$this->container['at_ui_hidden'] = $at_ui_hidden;
$this->container['invitation'] = $invitation;

return $this;
}
Expand Down
Loading

0 comments on commit 4533960

Please sign in to comment.