Constructor
new AccountMeta(context)
Account Meta constructor
Parameters:
Name | Type | Description |
---|---|---|
context |
OVHStorage |
OVHObjectStorage context |
- Source:
Methods
(async) all() → {Promise.<array>}
Get all account metas
- Source:
(async) create(key, value) → {Promise.<Object>}
Create a new account meta
Parameters:
Name | Type | Description |
---|---|---|
key |
String |
Name of meta |
value |
String |
Value of meta |
- Source:
(async) create_with_result(key, value) → {Promise.<Boolean>}
Create a new account meta and return boolean as result
Parameters:
Name | Type | Description |
---|---|---|
key |
String |
Name of meta |
value |
String |
Value of meta |
- Source:
(async) delete(key) → {Promise.<Object>}
Delete account meta
Parameters:
Name | Type | Description |
---|---|---|
key |
String |
Name of meta |
- Source:
(async) delete_with_result(key) → {Promise.<Boolean>}
Delete account meta and return boolean as result
Parameters:
Name | Type | Description |
---|---|---|
key |
String |
Name of meta |
- Source:
(async) get(key) → {Promise.<string>}
Get account meta
Parameters:
Name | Type | Description |
---|---|---|
key |
String |
Name of meta |
- Source:
(async) has(key) → {Promise.<Boolean>}
Has account meta
Parameters:
Name | Type | Description |
---|---|---|
key |
String |
Name of meta |
- Source:
(async) update(key, value) → {Promise.<Object>}
Update existing account meta
Parameters:
Name | Type | Description |
---|---|---|
key |
String |
Name of meta |
value |
String |
Value of meta |
- Source:
(async) update_with_result(key, value) → {Promise.<Boolean>}
Update existing account meta and return boolean as result
Parameters:
Name | Type | Description |
---|---|---|
key |
String |
Name of meta |
value |
String |
Value of meta |
- Source: