# encoding: utf-8 # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. require 'azure_mgmt_notification_hubs' module Azure::NotificationHubs::Profiles::Latest::Mgmt Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces Name = Azure::NotificationHubs::Mgmt::V2017_04_01::Name NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs Hubs = Azure::NotificationHubs::Mgmt::V2017_04_01::Hubs module Models ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource CheckNameAvailabilityResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential CheckNameAvailabilityRequestParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource AdmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType AccessRights = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights end # # NotificationHubs # class NotificationHubsClass attr_reader :namespaces, :name, :notification_hubs, :hubs, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @options = setup_default_options else @options = options end reset!(options) @configurable, @base_url, @options = self, nil, nil client_0 = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubsManagementClient.new(configurable.credentials, base_url, options) if(client_0.respond_to?(:subscription_id)) client_0.subscription_id = configurable.subscription_id end @namespaces = client_0.namespaces @name = client_0.name @notification_hubs = client_0.notification_hubs @hubs = client_0.hubs @model_classes = ModelClasses.new end class ModelClasses def resource_list_keys Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys end def policykey_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource end def check_name_availability_response Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse end def apns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential end def check_availability_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters end def wns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential end def check_name_availability_request_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters end def namespace_patch_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters end def sku Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku end def shared_access_authorization_rule_properties Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties end def sub_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource end def baidu_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential end def namespace_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult end def notification_hub_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult end def gcm_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential end def shared_access_authorization_rule_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult end def mpns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential end def resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource end def adm_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential end def check_availability_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult end def namespace_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters end def namespace_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource end def shared_access_authorization_rule_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters end def shared_access_authorization_rule_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource end def notification_hub_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters end def notification_hub_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource end def pns_credentials_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource end def sku_name Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName end def namespace_type Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType end def access_rights Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights end end end end