Skip to content

Commit

Permalink
Generated from d3af35e
Browse files Browse the repository at this point in the history
[ADLA - ADLS] - Adding pageable extension for Catalog ACL APIs and removing childrenNum property (#2353)

* Adding paging for ListAcls and ListAclsByDatabase

* Although paging is not supported for these operations, the design
decision that we took was to provide support at the client side just in
case we need to add it from the server side.

* Removing default response from Swagger for Acl APIs

* Removing childrenNum property from FileStatusProperties

* This property is always null as brought up by this issue:
Azure/azure-sdk-for-net#3770

* Fixing examples for childrenNum

* Fixing oav validate-example errors
  • Loading branch information
AutorestCI committed Jan 30, 2018
1 parent 7509fbb commit 7396427
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 169 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from .acl_create_or_update_parameters import AclCreateOrUpdateParameters
from .acl_delete_parameters import AclDeleteParameters
from .acl import Acl
from .acl_list import AclList
from .data_lake_analytics_catalog_secret_create_or_update_parameters import DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters
from .data_lake_analytics_catalog_credential_create_parameters import DataLakeAnalyticsCatalogCredentialCreateParameters
from .data_lake_analytics_catalog_credential_delete_parameters import DataLakeAnalyticsCatalogCredentialDeleteParameters
Expand Down Expand Up @@ -58,6 +57,7 @@
from .usql_table_valued_function_paged import USqlTableValuedFunctionPaged
from .usql_assembly_clr_paged import USqlAssemblyClrPaged
from .usql_schema_paged import USqlSchemaPaged
from .acl_paged import AclPaged
from .usql_database_paged import USqlDatabasePaged
from .data_lake_analytics_catalog_management_client_enums import (
AclType,
Expand All @@ -69,7 +69,6 @@
'AclCreateOrUpdateParameters',
'AclDeleteParameters',
'Acl',
'AclList',
'DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters',
'DataLakeAnalyticsCatalogCredentialCreateParameters',
'DataLakeAnalyticsCatalogCredentialDeleteParameters',
Expand Down Expand Up @@ -115,6 +114,7 @@
'USqlTableValuedFunctionPaged',
'USqlAssemblyClrPaged',
'USqlSchemaPaged',
'AclPaged',
'USqlDatabasePaged',
'AclType',
'PermissionType',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.paging import Paged


class AclPaged(Paged):
"""
A paging container for iterating over a list of :class:`Acl <azure.mgmt.datalake.analytics.catalog.models.Acl>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[Acl]'}
}

def __init__(self, *args, **kwargs):

super(AclPaged, self).__init__(*args, **kwargs)
Loading

0 comments on commit 7396427

Please sign in to comment.