geonode.geoserver.acl.gsauth_client.api
Submodules
Classes
NOTE: This class is auto generated by OpenAPI Generator |
|
NOTE: This class is auto generated by OpenAPI Generator |
|
NOTE: This class is auto generated by OpenAPI Generator |
Package Contents
- class geonode.geoserver.acl.gsauth_client.api.AdminRulesApi(api_client=None)[source]
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
- api_client
- admin_rule_exists_by_id(id, **kwargs)[source]
admin_rule_exists_by_id # noqa: E501
Returns whether the AdminRule with the given identifier exists # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.admin_rule_exists_by_id(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
bool
- admin_rule_exists_by_id_with_http_info(id, **kwargs)[source]
admin_rule_exists_by_id # noqa: E501
Returns whether the AdminRule with the given identifier exists # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.admin_rule_exists_by_id_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(bool, status_code(int), headers(HTTPHeaderDict))
- count_admin_rules(admin_rule_filter, **kwargs)[source]
count_admin_rules # noqa: E501
Returns the number of rules that matches the search criteria # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.count_admin_rules(admin_rule_filter, async_req=True) >>> result = thread.get()
- Parameters:
admin_rule_filter (AdminRuleFilter) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
int
- count_admin_rules_with_http_info(admin_rule_filter, **kwargs)[source]
count_admin_rules # noqa: E501
Returns the number of rules that matches the search criteria # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.count_admin_rules_with_http_info(admin_rule_filter, async_req=True) >>> result = thread.get()
- Parameters:
admin_rule_filter (AdminRuleFilter) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(int, status_code(int), headers(HTTPHeaderDict))
- count_all_admin_rules(**kwargs)[source]
count_all_admin_rules # noqa: E501
Returns the total number of rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.count_all_admin_rules(async_req=True) >>> result = thread.get()
- Parameters:
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
int
- count_all_admin_rules_with_http_info(**kwargs)[source]
count_all_admin_rules # noqa: E501
Returns the total number of rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.count_all_admin_rules_with_http_info(async_req=True) >>> result = thread.get()
- Parameters:
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(int, status_code(int), headers(HTTPHeaderDict))
- create_admin_rule(admin_rule, **kwargs)[source]
create_admin_rule # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_admin_rule(admin_rule, async_req=True) >>> result = thread.get()
- Parameters:
admin_rule (AdminRule) – (required)
position (InsertPosition) – Displacement option related to how to interpret the Rule’s priority
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- create_admin_rule_with_http_info(admin_rule, **kwargs)[source]
create_admin_rule # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_admin_rule_with_http_info(admin_rule, async_req=True) >>> result = thread.get()
- Parameters:
admin_rule (AdminRule) – (required)
position (InsertPosition) – Displacement option related to how to interpret the Rule’s priority
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(AdminRule, status_code(int), headers(HTTPHeaderDict))
- delete_admin_rule_by_id(id, **kwargs)[source]
delete_admin_rule_by_id # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_admin_rule_by_id(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- delete_admin_rule_by_id_with_http_info(id, **kwargs)[source]
delete_admin_rule_by_id # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_admin_rule_by_id_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- find_admin_rules(**kwargs)[source]
find_admin_rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_admin_rules(async_req=True) >>> result = thread.get()
- Parameters:
limit (int) – Maximum number of rules to return from the query. If there are more rules, the response will return an X-ACL-NEXTCURSOR header with a value that can be used for the nextCursor parameter on a subsequent request, until X-ACL-NEXTCURSOR is null
next_cursor (str) – The next cursor identifier when doing cursor paging, as returned by the X-ACL-NEXTCURSOR response header
admin_rule_filter (AdminRuleFilter)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
list[AdminRule]
- find_admin_rules_with_http_info(**kwargs)[source]
find_admin_rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_admin_rules_with_http_info(async_req=True) >>> result = thread.get()
- Parameters:
limit (int) – Maximum number of rules to return from the query. If there are more rules, the response will return an X-ACL-NEXTCURSOR header with a value that can be used for the nextCursor parameter on a subsequent request, until X-ACL-NEXTCURSOR is null
next_cursor (str) – The next cursor identifier when doing cursor paging, as returned by the X-ACL-NEXTCURSOR response header
admin_rule_filter (AdminRuleFilter)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(list[AdminRule], status_code(int), headers(HTTPHeaderDict))
- find_all_admin_rules(**kwargs)[source]
find_all_admin_rules # noqa: E501
Returns an (optionally) paginated list of admin rules. # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_all_admin_rules(async_req=True) >>> result = thread.get()
- Parameters:
limit (int) – Maximum number of rules to return from the query. If there are more rules, the response will return an X-ACL-NEXTCURSOR header with a value that can be used for the nextCursor parameter on a subsequent request, until X-ACL-NEXTCURSOR is null
next_cursor (str) – The next cursor identifier when doing cursor paging, as returned by the X-ACL-NEXTCURSOR response header
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
list[AdminRule]
- find_all_admin_rules_with_http_info(**kwargs)[source]
find_all_admin_rules # noqa: E501
Returns an (optionally) paginated list of admin rules. # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_all_admin_rules_with_http_info(async_req=True) >>> result = thread.get()
- Parameters:
limit (int) – Maximum number of rules to return from the query. If there are more rules, the response will return an X-ACL-NEXTCURSOR header with a value that can be used for the nextCursor parameter on a subsequent request, until X-ACL-NEXTCURSOR is null
next_cursor (str) – The next cursor identifier when doing cursor paging, as returned by the X-ACL-NEXTCURSOR response header
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(list[AdminRule], status_code(int), headers(HTTPHeaderDict))
- find_first_admin_rule(admin_rule_filter, **kwargs)[source]
find_first_admin_rule # noqa: E501
Finds the first rule that satisfies the query criteria # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_first_admin_rule(admin_rule_filter, async_req=True) >>> result = thread.get()
- Parameters:
admin_rule_filter (AdminRuleFilter) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- find_first_admin_rule_with_http_info(admin_rule_filter, **kwargs)[source]
find_first_admin_rule # noqa: E501
Finds the first rule that satisfies the query criteria # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_first_admin_rule_with_http_info(admin_rule_filter, async_req=True) >>> result = thread.get()
- Parameters:
admin_rule_filter (AdminRuleFilter) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(AdminRule, status_code(int), headers(HTTPHeaderDict))
- find_one_admin_rule_by_priority(priority, **kwargs)[source]
find_one_admin_rule_by_priority # noqa: E501
Finds the AdminRule with the given priority # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_one_admin_rule_by_priority(priority, async_req=True) >>> result = thread.get()
- Parameters:
priority (int) – The rule priority to search for (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- find_one_admin_rule_by_priority_with_http_info(priority, **kwargs)[source]
find_one_admin_rule_by_priority # noqa: E501
Finds the AdminRule with the given priority # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_one_admin_rule_by_priority_with_http_info(priority, async_req=True) >>> result = thread.get()
- Parameters:
priority (int) – The rule priority to search for (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(AdminRule, status_code(int), headers(HTTPHeaderDict))
- get_admin_rule_by_id(id, **kwargs)[source]
get_admin_rule_by_id # noqa: E501
Returns the AdminRule with the given identifier # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_admin_rule_by_id(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- get_admin_rule_by_id_with_http_info(id, **kwargs)[source]
get_admin_rule_by_id # noqa: E501
Returns the AdminRule with the given identifier # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_admin_rule_by_id_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(AdminRule, status_code(int), headers(HTTPHeaderDict))
- shift_admin_rules_by_piority(priority_start, offset, **kwargs)[source]
shift_admin_rules_by_piority # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.shift_admin_rules_by_piority(priority_start, offset, async_req=True) >>> result = thread.get()
- Parameters:
priority_start (int) – The minimum priority to start shifting at (inclusive) (required)
offset (int) – The priority offset to apply to all rules from priorityStart onwards (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
int
- shift_admin_rules_by_piority_with_http_info(priority_start, offset, **kwargs)[source]
shift_admin_rules_by_piority # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.shift_admin_rules_by_piority_with_http_info(priority_start, offset, async_req=True) >>> result = thread.get()
- Parameters:
priority_start (int) – The minimum priority to start shifting at (inclusive) (required)
offset (int) – The priority offset to apply to all rules from priorityStart onwards (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(int, status_code(int), headers(HTTPHeaderDict))
- swap_admin_rules(id, id2, **kwargs)[source]
swap_admin_rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.swap_admin_rules(id, id2, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
id2 (str) – The admin rule identifier to swap priorities with (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- swap_admin_rules_with_http_info(id, id2, **kwargs)[source]
swap_admin_rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.swap_admin_rules_with_http_info(id, id2, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
id2 (str) – The admin rule identifier to swap priorities with (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- update_admin_rule(id, admin_rule, **kwargs)[source]
update_admin_rule # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_admin_rule(id, admin_rule, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
admin_rule (AdminRule) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- update_admin_rule_with_http_info(id, admin_rule, **kwargs)[source]
update_admin_rule # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_admin_rule_with_http_info(id, admin_rule, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
admin_rule (AdminRule) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(AdminRule, status_code(int), headers(HTTPHeaderDict))
- class geonode.geoserver.acl.gsauth_client.api.AuthorizationApi(api_client=None)[source]
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
- api_client
- get_access_info(access_request, **kwargs)[source]
get_access_info # noqa: E501
Computes the grant access info for the given request # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_access_info(access_request, async_req=True) >>> result = thread.get()
- Parameters:
access_request (AccessRequest) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- get_access_info_with_http_info(access_request, **kwargs)[source]
get_access_info # noqa: E501
Computes the grant access info for the given request # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_access_info_with_http_info(access_request, async_req=True) >>> result = thread.get()
- Parameters:
access_request (AccessRequest) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(AccessInfo, status_code(int), headers(HTTPHeaderDict))
- get_admin_authorization(admin_access_request, **kwargs)[source]
get_admin_authorization # noqa: E501
Computes info about admin authorization on a given workspace. Returned AccessInfo will always be ALLOW, with the computed adminRights. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_admin_authorization(admin_access_request, async_req=True) >>> result = thread.get()
- Parameters:
admin_access_request (AdminAccessRequest) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- get_admin_authorization_with_http_info(admin_access_request, **kwargs)[source]
get_admin_authorization # noqa: E501
Computes info about admin authorization on a given workspace. Returned AccessInfo will always be ALLOW, with the computed adminRights. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_admin_authorization_with_http_info(admin_access_request, async_req=True) >>> result = thread.get()
- Parameters:
admin_access_request (AdminAccessRequest) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(AdminAccessInfo, status_code(int), headers(HTTPHeaderDict))
- get_matching_rules(access_request, **kwargs)[source]
get_matching_rules # noqa: E501
Obtains the plain list of matching rules that are applied to the given AccessRequest when computing the AccessInfo # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_matching_rules(access_request, async_req=True) >>> result = thread.get()
- Parameters:
access_request (AccessRequest) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
list[Rule]
- get_matching_rules_with_http_info(access_request, **kwargs)[source]
get_matching_rules # noqa: E501
Obtains the plain list of matching rules that are applied to the given AccessRequest when computing the AccessInfo # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_matching_rules_with_http_info(access_request, async_req=True) >>> result = thread.get()
- Parameters:
access_request (AccessRequest) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(list[Rule], status_code(int), headers(HTTPHeaderDict))
- class geonode.geoserver.acl.gsauth_client.api.RulesApi(api_client=None)[source]
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
- api_client
- count_all_rules(**kwargs)[source]
count_all_rules # noqa: E501
Returns the total number of rules # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.count_all_rules(async_req=True) >>> result = thread.get()
- Parameters:
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
int
- count_all_rules_with_http_info(**kwargs)[source]
count_all_rules # noqa: E501
Returns the total number of rules # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.count_all_rules_with_http_info(async_req=True) >>> result = thread.get()
- Parameters:
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(int, status_code(int), headers(HTTPHeaderDict))
- count_rules(rule_filter, **kwargs)[source]
count_rules # noqa: E501
Returns the number of rules that matches the search criteria # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.count_rules(rule_filter, async_req=True) >>> result = thread.get()
- Parameters:
rule_filter (RuleFilter) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
int
- count_rules_with_http_info(rule_filter, **kwargs)[source]
count_rules # noqa: E501
Returns the number of rules that matches the search criteria # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.count_rules_with_http_info(rule_filter, async_req=True) >>> result = thread.get()
- Parameters:
rule_filter (RuleFilter) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(int, status_code(int), headers(HTTPHeaderDict))
- create_rule(rule, **kwargs)[source]
create_rule # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_rule(rule, async_req=True) >>> result = thread.get()
- Parameters:
rule (Rule) – (required)
position (InsertPosition) – Displacement option related to how to interpret the Rule’s priority
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- create_rule_with_http_info(rule, **kwargs)[source]
create_rule # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_rule_with_http_info(rule, async_req=True) >>> result = thread.get()
- Parameters:
rule (Rule) – (required)
position (InsertPosition) – Displacement option related to how to interpret the Rule’s priority
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(Rule, status_code(int), headers(HTTPHeaderDict))
- delete_rule_by_id(id, **kwargs)[source]
delete_rule_by_id # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_rule_by_id(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- delete_rule_by_id_with_http_info(id, **kwargs)[source]
delete_rule_by_id # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_rule_by_id_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- find_one_rule_by_priority(priority, **kwargs)[source]
find_one_rule_by_priority # noqa: E501
Finds the Rule with the given priority # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_one_rule_by_priority(priority, async_req=True) >>> result = thread.get()
- Parameters:
priority (int) – The rule priority to search for (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- find_one_rule_by_priority_with_http_info(priority, **kwargs)[source]
find_one_rule_by_priority # noqa: E501
Finds the Rule with the given priority # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.find_one_rule_by_priority_with_http_info(priority, async_req=True) >>> result = thread.get()
- Parameters:
priority (int) – The rule priority to search for (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(Rule, status_code(int), headers(HTTPHeaderDict))
- get_layer_details_by_rule_id(id, **kwargs)[source]
get_layer_details_by_rule_id # noqa: E501
Returns the LayerDetails for the Rule with the given identifier # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_layer_details_by_rule_id(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- get_layer_details_by_rule_id_with_http_info(id, **kwargs)[source]
get_layer_details_by_rule_id # noqa: E501
Returns the LayerDetails for the Rule with the given identifier # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_layer_details_by_rule_id_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(LayerDetails, status_code(int), headers(HTTPHeaderDict))
- get_rule_by_id(id, **kwargs)[source]
get_rule_by_id # noqa: E501
Returns the Rule with the given identifier # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_rule_by_id(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- get_rule_by_id_with_http_info(id, **kwargs)[source]
get_rule_by_id # noqa: E501
Returns the Rule with the given identifier # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_rule_by_id_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(Rule, status_code(int), headers(HTTPHeaderDict))
- get_rules(**kwargs)[source]
get_rules # noqa: E501
Returns an (optionally) paginated list of rules. See also the count operation. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_rules(async_req=True) >>> result = thread.get()
- Parameters:
limit (int) – Maximum number of rules to return from the query. If there are more rules, the response will return an X-ACL-NEXTCURSOR header with a value that can be used for the nextCursor parameter on a subsequent request, until X-ACL-NEXTCURSOR is null
next_cursor (str) – The next cursor identifier when doing cursor paging, as returned by the X-ACL-NEXTCURSOR response header
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
list[Rule]
- get_rules_with_http_info(**kwargs)[source]
get_rules # noqa: E501
Returns an (optionally) paginated list of rules. See also the count operation. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_rules_with_http_info(async_req=True) >>> result = thread.get()
- Parameters:
limit (int) – Maximum number of rules to return from the query. If there are more rules, the response will return an X-ACL-NEXTCURSOR header with a value that can be used for the nextCursor parameter on a subsequent request, until X-ACL-NEXTCURSOR is null
next_cursor (str) – The next cursor identifier when doing cursor paging, as returned by the X-ACL-NEXTCURSOR response header
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(list[Rule], status_code(int), headers(HTTPHeaderDict))
- query_rules(**kwargs)[source]
query_rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.query_rules(async_req=True) >>> result = thread.get()
- Parameters:
limit (int) – Maximum number of rules to return from the query. If there are more rules, the response will return an X-ACL-NEXTCURSOR header with a value that can be used for the nextCursor parameter on a subsequent request, until X-ACL-NEXTCURSOR is null
next_cursor (str) – The next cursor identifier when doing cursor paging, as returned by the X-ACL-NEXTCURSOR response header
rule_filter (RuleFilter)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
list[Rule]
- query_rules_with_http_info(**kwargs)[source]
query_rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.query_rules_with_http_info(async_req=True) >>> result = thread.get()
- Parameters:
limit (int) – Maximum number of rules to return from the query. If there are more rules, the response will return an X-ACL-NEXTCURSOR header with a value that can be used for the nextCursor parameter on a subsequent request, until X-ACL-NEXTCURSOR is null
next_cursor (str) – The next cursor identifier when doing cursor paging, as returned by the X-ACL-NEXTCURSOR response header
rule_filter (RuleFilter)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(list[Rule], status_code(int), headers(HTTPHeaderDict))
- rule_exists_by_id(id, **kwargs)[source]
rule_exists_by_id # noqa: E501
Returns the Rule with the given identifier # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.rule_exists_by_id(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
bool
- rule_exists_by_id_with_http_info(id, **kwargs)[source]
rule_exists_by_id # noqa: E501
Returns the Rule with the given identifier # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.rule_exists_by_id_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(bool, status_code(int), headers(HTTPHeaderDict))
- set_rule_allowed_styles(id, **kwargs)[source]
set_rule_allowed_styles # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.set_rule_allowed_styles(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
request_body (list[str])
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- set_rule_allowed_styles_with_http_info(id, **kwargs)[source]
set_rule_allowed_styles # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.set_rule_allowed_styles_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
request_body (list[str])
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- set_rule_layer_details(id, **kwargs)[source]
set_rule_layer_details # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.set_rule_layer_details(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
layer_details (LayerDetails)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- set_rule_layer_details_with_http_info(id, **kwargs)[source]
set_rule_layer_details # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.set_rule_layer_details_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
layer_details (LayerDetails)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- set_rule_limits(id, **kwargs)[source]
set_rule_limits # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.set_rule_limits(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
rule_limits (RuleLimits)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- set_rule_limits_with_http_info(id, **kwargs)[source]
set_rule_limits # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.set_rule_limits_with_http_info(id, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
rule_limits (RuleLimits)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- shift_rules_by_priority(priority_start, offset, **kwargs)[source]
shift_rules_by_priority # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.shift_rules_by_priority(priority_start, offset, async_req=True) >>> result = thread.get()
- Parameters:
priority_start (int) – The minimum priority to start shifting at (inclusive) (required)
offset (int) – The priority offset to apply to all rules from priorityStart onwards (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
int
- shift_rules_by_priority_with_http_info(priority_start, offset, **kwargs)[source]
shift_rules_by_priority # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.shift_rules_by_priority_with_http_info(priority_start, offset, async_req=True) >>> result = thread.get()
- Parameters:
priority_start (int) – The minimum priority to start shifting at (inclusive) (required)
offset (int) – The priority offset to apply to all rules from priorityStart onwards (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(int, status_code(int), headers(HTTPHeaderDict))
- swap_rules(id, id2, **kwargs)[source]
swap_rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.swap_rules(id, id2, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
id2 (str) – The rule identifier to swap priorities with (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- swap_rules_with_http_info(id, id2, **kwargs)[source]
swap_rules # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.swap_rules_with_http_info(id, id2, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
id2 (str) – The rule identifier to swap priorities with (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
None
- update_rule_by_id(id, rule, **kwargs)[source]
update_rule_by_id # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_rule_by_id(id, rule, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
rule (Rule) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- update_rule_by_id_with_http_info(id, rule, **kwargs)[source]
update_rule_by_id # noqa: E501
This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.update_rule_by_id_with_http_info(id, rule, async_req=True) >>> result = thread.get()
- Parameters:
id (str) – The rule identifier (required)
rule (Rule) – (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_return_http_data_only (bool, optional) – response data without head status code and headers
_preload_content (bool, optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.
_request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(Rule, status_code(int), headers(HTTPHeaderDict))