Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR apimanagement/resource-manager] Paths to examples fixed #2506

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from msrest.service_client import ServiceClient
from msrest.service_client import SDKClient
from msrest import Serializer, Deserializer
from msrestazure import AzureConfiguration
from .version import VERSION
Expand Down Expand Up @@ -109,7 +109,7 @@ def __init__(
self.subscription_id = subscription_id


class ApiManagementClient(object):
class ApiManagementClient(SDKClient):
"""ApiManagement Client

:ivar config: Configuration for client.
Expand Down Expand Up @@ -248,7 +248,7 @@ def __init__(
self, credentials, subscription_id, base_url=None):

self.config = ApiManagementClientConfiguration(credentials, subscription_id, base_url)
self._client = ServiceClient(self.config.credentials, self.config)
super(ApiManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2018-01-01'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class ApiContract(Resource):
}

def __init__(self, *, path: str, description: str=None, authentication_settings=None, subscription_key_parameter_names=None, api_type=None, api_revision: str=None, api_version: str=None, api_version_set_id: str=None, display_name: str=None, service_url: str=None, protocols=None, api_version_set=None, **kwargs) -> None:
super(ApiContract, self).__init__(, **kwargs)
super(ApiContract, self).__init__(**kwargs)
self.description = description
self.authentication_settings = authentication_settings
self.subscription_key_parameter_names = subscription_key_parameter_names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ApiReleaseContract(Resource):
}

def __init__(self, *, api_id: str=None, notes: str=None, **kwargs) -> None:
super(ApiReleaseContract, self).__init__(, **kwargs)
super(ApiReleaseContract, self).__init__(**kwargs)
self.api_id = api_id
self.created_date_time = None
self.updated_date_time = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ApiVersionSetContract(Resource):
}

def __init__(self, *, display_name: str, versioning_scheme, description: str=None, version_query_name: str=None, version_header_name: str=None, **kwargs) -> None:
super(ApiVersionSetContract, self).__init__(, **kwargs)
super(ApiVersionSetContract, self).__init__(**kwargs)
self.description = description
self.version_query_name = version_query_name
self.version_header_name = version_header_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class AuthorizationServerContract(Resource):
}

def __init__(self, *, display_name: str, client_registration_endpoint: str, authorization_endpoint: str, grant_types, client_id: str, description: str=None, authorization_methods=None, client_authentication_method=None, token_body_parameters=None, token_endpoint: str=None, support_state: bool=None, default_scope: str=None, bearer_token_sending_methods=None, client_secret: str=None, resource_owner_username: str=None, resource_owner_password: str=None, **kwargs) -> None:
super(AuthorizationServerContract, self).__init__(, **kwargs)
super(AuthorizationServerContract, self).__init__(**kwargs)
self.description = description
self.authorization_methods = authorization_methods
self.client_authentication_method = client_authentication_method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class AuthorizationServerUpdateContract(Resource):
}

def __init__(self, *, description: str=None, authorization_methods=None, client_authentication_method=None, token_body_parameters=None, token_endpoint: str=None, support_state: bool=None, default_scope: str=None, bearer_token_sending_methods=None, client_secret: str=None, resource_owner_username: str=None, resource_owner_password: str=None, display_name: str=None, client_registration_endpoint: str=None, authorization_endpoint: str=None, grant_types=None, client_id: str=None, **kwargs) -> None:
super(AuthorizationServerUpdateContract, self).__init__(, **kwargs)
super(AuthorizationServerUpdateContract, self).__init__(**kwargs)
self.description = description
self.authorization_methods = authorization_methods
self.client_authentication_method = client_authentication_method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class BackendContract(Resource):
}

def __init__(self, *, url: str, protocol, title: str=None, description: str=None, resource_id: str=None, properties=None, credentials=None, proxy=None, tls=None, **kwargs) -> None:
super(BackendContract, self).__init__(, **kwargs)
super(BackendContract, self).__init__(**kwargs)
self.title = title
self.description = description
self.resource_id = resource_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ class BackendReconnectContract(Resource):
}

def __init__(self, *, after=None, **kwargs) -> None:
super(BackendReconnectContract, self).__init__(, **kwargs)
super(BackendReconnectContract, self).__init__(**kwargs)
self.after = after
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CertificateContract(Resource):
}

def __init__(self, *, subject: str, thumbprint: str, expiration_date, **kwargs) -> None:
super(CertificateContract, self).__init__(, **kwargs)
super(CertificateContract, self).__init__(**kwargs)
self.subject = subject
self.thumbprint = thumbprint
self.expiration_date = expiration_date
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ class DiagnosticContract(Resource):
}

def __init__(self, *, enabled: bool, **kwargs) -> None:
super(DiagnosticContract, self).__init__(, **kwargs)
super(DiagnosticContract, self).__init__(**kwargs)
self.enabled = enabled
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class EmailTemplateContract(Resource):
}

def __init__(self, *, subject: str, body: str, title: str=None, description: str=None, parameters=None, **kwargs) -> None:
super(EmailTemplateContract, self).__init__(, **kwargs)
super(EmailTemplateContract, self).__init__(**kwargs)
self.subject = subject
self.body = body
self.title = title
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class GroupContract(Resource):
}

def __init__(self, *, display_name: str, description: str=None, group_contract_type=None, external_id: str=None, **kwargs) -> None:
super(GroupContract, self).__init__(, **kwargs)
super(GroupContract, self).__init__(**kwargs)
self.display_name = display_name
self.description = description
self.built_in = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class IdentityProviderContract(Resource):
}

def __init__(self, *, client_id: str, client_secret: str, identity_provider_contract_type=None, allowed_tenants=None, signup_policy_name: str=None, signin_policy_name: str=None, profile_editing_policy_name: str=None, password_reset_policy_name: str=None, **kwargs) -> None:
super(IdentityProviderContract, self).__init__(, **kwargs)
super(IdentityProviderContract, self).__init__(**kwargs)
self.identity_provider_contract_type = identity_provider_contract_type
self.allowed_tenants = allowed_tenants
self.signup_policy_name = signup_policy_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class IssueAttachmentContract(Resource):
}

def __init__(self, *, title: str, content_format: str, content: str, **kwargs) -> None:
super(IssueAttachmentContract, self).__init__(, **kwargs)
super(IssueAttachmentContract, self).__init__(**kwargs)
self.title = title
self.content_format = content_format
self.content = content
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class IssueCommentContract(Resource):
}

def __init__(self, *, text: str, user_id: str, created_date=None, **kwargs) -> None:
super(IssueCommentContract, self).__init__(, **kwargs)
super(IssueCommentContract, self).__init__(**kwargs)
self.text = text
self.created_date = created_date
self.user_id = user_id
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class IssueContract(Resource):
}

def __init__(self, *, title: str, description: str, user_id: str, created_date=None, state=None, api_id: str=None, **kwargs) -> None:
super(IssueContract, self).__init__(, **kwargs)
super(IssueContract, self).__init__(**kwargs)
self.title = title
self.description = description
self.created_date = created_date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class LoggerContract(Resource):
}

def __init__(self, *, logger_type, credentials, description: str=None, is_buffered: bool=None, **kwargs) -> None:
super(LoggerContract, self).__init__(, **kwargs)
super(LoggerContract, self).__init__(**kwargs)
self.logger_type = logger_type
self.description = description
self.credentials = credentials
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class NotificationContract(Resource):
}

def __init__(self, *, title: str, description: str=None, recipients=None, **kwargs) -> None:
super(NotificationContract, self).__init__(, **kwargs)
super(NotificationContract, self).__init__(**kwargs)
self.title = title
self.description = description
self.recipients = recipients
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class OpenidConnectProviderContract(Resource):
}

def __init__(self, *, display_name: str, metadata_endpoint: str, client_id: str, description: str=None, client_secret: str=None, **kwargs) -> None:
super(OpenidConnectProviderContract, self).__init__(, **kwargs)
super(OpenidConnectProviderContract, self).__init__(**kwargs)
self.display_name = display_name
self.description = description
self.metadata_endpoint = metadata_endpoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class OperationContract(Resource):
}

def __init__(self, *, display_name: str, method: str, url_template: str, template_parameters=None, description: str=None, request=None, responses=None, policies: str=None, **kwargs) -> None:
super(OperationContract, self).__init__(, **kwargs)
super(OperationContract, self).__init__(**kwargs)
self.template_parameters = template_parameters
self.description = description
self.request = request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ class PolicyContract(Resource):
}

def __init__(self, *, policy_content: str, content_format="xml", **kwargs) -> None:
super(PolicyContract, self).__init__(, **kwargs)
super(PolicyContract, self).__init__(**kwargs)
self.policy_content = policy_content
self.content_format = content_format
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class PortalDelegationSettings(Resource):
}

def __init__(self, *, url: str=None, validation_key: str=None, subscriptions=None, user_registration=None, **kwargs) -> None:
super(PortalDelegationSettings, self).__init__(, **kwargs)
super(PortalDelegationSettings, self).__init__(**kwargs)
self.url = url
self.validation_key = validation_key
self.subscriptions = subscriptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ class PortalSigninSettings(Resource):
}

def __init__(self, *, enabled: bool=None, **kwargs) -> None:
super(PortalSigninSettings, self).__init__(, **kwargs)
super(PortalSigninSettings, self).__init__(**kwargs)
self.enabled = enabled
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ class PortalSignupSettings(Resource):
}

def __init__(self, *, enabled: bool=None, terms_of_service=None, **kwargs) -> None:
super(PortalSignupSettings, self).__init__(, **kwargs)
super(PortalSignupSettings, self).__init__(**kwargs)
self.enabled = enabled
self.terms_of_service = terms_of_service
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class ProductContract(Resource):
}

def __init__(self, *, display_name: str, description: str=None, terms: str=None, subscription_required: bool=None, approval_required: bool=None, subscriptions_limit: int=None, state=None, **kwargs) -> None:
super(ProductContract, self).__init__(, **kwargs)
super(ProductContract, self).__init__(**kwargs)
self.description = description
self.terms = terms
self.subscription_required = subscription_required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class PropertyContract(Resource):
}

def __init__(self, *, display_name: str, value: str, tags=None, secret: bool=None, **kwargs) -> None:
super(PropertyContract, self).__init__(, **kwargs)
super(PropertyContract, self).__init__(**kwargs)
self.tags = tags
self.secret = secret
self.display_name = display_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ class RecipientEmailContract(Resource):
}

def __init__(self, *, email: str=None, **kwargs) -> None:
super(RecipientEmailContract, self).__init__(, **kwargs)
super(RecipientEmailContract, self).__init__(**kwargs)
self.email = email
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ class RecipientUserContract(Resource):
}

def __init__(self, *, user_id: str=None, **kwargs) -> None:
super(RecipientUserContract, self).__init__(, **kwargs)
super(RecipientUserContract, self).__init__(**kwargs)
self.user_id = user_id
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ class SchemaContract(Resource):
}

def __init__(self, *, content_type: str, value: str=None, **kwargs) -> None:
super(SchemaContract, self).__init__(, **kwargs)
super(SchemaContract, self).__init__(**kwargs)
self.content_type = content_type
self.value = value
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class SubscriptionContract(Resource):
}

def __init__(self, *, user_id: str, product_id: str, state, primary_key: str, secondary_key: str, display_name: str=None, start_date=None, expiration_date=None, end_date=None, notification_date=None, state_comment: str=None, **kwargs) -> None:
super(SubscriptionContract, self).__init__(, **kwargs)
super(SubscriptionContract, self).__init__(**kwargs)
self.user_id = user_id
self.product_id = product_id
self.display_name = display_name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ class TagContract(Resource):
}

def __init__(self, *, display_name: str, **kwargs) -> None:
super(TagContract, self).__init__(, **kwargs)
super(TagContract, self).__init__(**kwargs)
self.display_name = display_name
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class TagDescriptionContract(Resource):
}

def __init__(self, *, description: str=None, external_docs_url: str=None, external_docs_description: str=None, display_name: str=None, **kwargs) -> None:
super(TagDescriptionContract, self).__init__(, **kwargs)
super(TagDescriptionContract, self).__init__(**kwargs)
self.description = description
self.external_docs_url = external_docs_url
self.external_docs_description = external_docs_description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class UserContract(Resource):
}

def __init__(self, *, state="active", note: str=None, first_name: str=None, last_name: str=None, email: str=None, registration_date=None, **kwargs) -> None:
super(UserContract, self).__init__(, **kwargs)
super(UserContract, self).__init__(**kwargs)
self.state = state
self.note = note
self.identities = None
Expand Down