From dc3d0ca33703a622bfe6643944489a3e135d261c Mon Sep 17 00:00:00 2001 From: Vishrut Shah Date: Tue, 21 Jun 2016 11:48:09 -0700 Subject: [PATCH] Regenerating Samples in Azure.Ruby --- .../models/storage_account_list_result.rb | 10 ---------- .../azure_storage/models/usage_list_result.rb | 10 ---------- .../azure_storage/storage_accounts.rb | 18 ++++++++++++++++++ .../azure_storage/usage_operations.rb | 2 ++ 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Samples/azure-storage/Azure.Ruby/azure_storage/models/storage_account_list_result.rb b/Samples/azure-storage/Azure.Ruby/azure_storage/models/storage_account_list_result.rb index aa238721e7963..594f92298cef7 100644 --- a/Samples/azure-storage/Azure.Ruby/azure_storage/models/storage_account_list_result.rb +++ b/Samples/azure-storage/Azure.Ruby/azure_storage/models/storage_account_list_result.rb @@ -13,9 +13,6 @@ class StorageAccountListResult # their properties. attr_accessor :value - # @return [String] - attr_accessor :next_link - # # Mapper for StorageAccountListResult class as Ruby Hash. @@ -43,13 +40,6 @@ def self.mapper() } } } - }, - next_link: { - required: false, - serialized_name: 'nextLink', - type: { - name: 'String' - } } } } diff --git a/Samples/azure-storage/Azure.Ruby/azure_storage/models/usage_list_result.rb b/Samples/azure-storage/Azure.Ruby/azure_storage/models/usage_list_result.rb index 638ff997317c7..916bc4958aa13 100644 --- a/Samples/azure-storage/Azure.Ruby/azure_storage/models/usage_list_result.rb +++ b/Samples/azure-storage/Azure.Ruby/azure_storage/models/usage_list_result.rb @@ -12,9 +12,6 @@ class UsageListResult # @return [Array] Gets or sets the list Storage Resource Usages. attr_accessor :value - # @return [String] - attr_accessor :next_link - # # Mapper for UsageListResult class as Ruby Hash. @@ -42,13 +39,6 @@ def self.mapper() } } } - }, - next_link: { - required: false, - serialized_name: 'nextLink', - type: { - name: 'String' - } } } } diff --git a/Samples/azure-storage/Azure.Ruby/azure_storage/storage_accounts.rb b/Samples/azure-storage/Azure.Ruby/azure_storage/storage_accounts.rb index 29649021111d5..2a9b64dab52ac 100644 --- a/Samples/azure-storage/Azure.Ruby/azure_storage/storage_accounts.rb +++ b/Samples/azure-storage/Azure.Ruby/azure_storage/storage_accounts.rb @@ -68,6 +68,8 @@ def check_name_availability_async(account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers @@ -239,6 +241,8 @@ def begin_create_async(resource_group_name, account_name, parameters, custom_hea fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers @@ -348,6 +352,8 @@ def delete_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers @@ -445,6 +451,8 @@ def get_properties_async(resource_group_name, account_name, custom_headers = nil fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers @@ -589,6 +597,8 @@ def update_async(resource_group_name, account_name, parameters, custom_headers = fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers @@ -690,6 +700,8 @@ def list_keys_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers @@ -777,6 +789,8 @@ def list_with_http_info(custom_headers = nil) def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers @@ -874,6 +888,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers @@ -982,6 +998,8 @@ def regenerate_key_async(resource_group_name, account_name, regenerate_key, cust fail ArgumentError, 'regenerate_key is nil' if regenerate_key.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers diff --git a/Samples/azure-storage/Azure.Ruby/azure_storage/usage_operations.rb b/Samples/azure-storage/Azure.Ruby/azure_storage/usage_operations.rb index c69460b704e42..f9e5ce0923f40 100644 --- a/Samples/azure-storage/Azure.Ruby/azure_storage/usage_operations.rb +++ b/Samples/azure-storage/Azure.Ruby/azure_storage/usage_operations.rb @@ -58,6 +58,8 @@ def list_with_http_info(custom_headers = nil) def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + + request_headers = {} # Set Headers