Skip to content

Commit

Permalink
Regenerating Samples in Azure.Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
vishrutshah committed Jun 22, 2016
1 parent 04a9525 commit dc3d0ca
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ class StorageAccountListResult
# their properties.
attr_accessor :value

# @return [String]
attr_accessor :next_link


#
# Mapper for StorageAccountListResult class as Ruby Hash.
Expand Down Expand Up @@ -43,13 +40,6 @@ def self.mapper()
}
}
}
},
next_link: {
required: false,
serialized_name: 'nextLink',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ class UsageListResult
# @return [Array<Usage>] Gets or sets the list Storage Resource Usages.
attr_accessor :value

# @return [String]
attr_accessor :next_link


#
# Mapper for UsageListResult class as Ruby Hash.
Expand Down Expand Up @@ -42,13 +39,6 @@ def self.mapper()
}
}
}
},
next_link: {
required: false,
serialized_name: 'nextLink',
type: {
name: 'String'
}
}
}
}
Expand Down
18 changes: 18 additions & 0 deletions Samples/azure-storage/Azure.Ruby/azure_storage/storage_accounts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc3d0ca

Please sign in to comment.