Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
[AutoPR automation/resource-manager] Remove 4xx responses and change …
…schema to file (#1446)

* Generated from e8a0ed15963c97d38222e26f451052219c790fdc

nit fixes: Remove 4xx responses and schema to file

* Generated from 8732be5f9bec6cfe96e72f320fb6d0a3bf36ae9d

Reverting changes in stable APIs
  • Loading branch information
AutorestCI authored Jul 12, 2018
commit 1d08b0640a3f939c93fce57952b43c01e8dc917f
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def initialize(client)
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [String] operation results.
# @return [NOT_IMPLEMENTED] operation results.
#
def get_content(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
response = get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value!
Expand Down Expand Up @@ -107,7 +107,7 @@ def get_content_async(resource_group_name, automation_account_name, runbook_name
required: false,
serialized_name: 'parsed_response',
type: {
name: 'String'
name: 'Stream'
}
}
result.body = @client.deserialize(result_mapper, parsed_response)
Expand All @@ -132,7 +132,7 @@ def get_content_async(resource_group_name, automation_account_name, runbook_name
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [String] operation results.
# @return [NOT_IMPLEMENTED] operation results.
#
def replace_content(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers = nil)
response = replace_content_async(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers).value!
Expand Down Expand Up @@ -161,7 +161,7 @@ def replace_content_async(resource_group_name, automation_account_name, runbook_
required: false,
serialized_name: 'parsed_response',
type: {
name: 'String'
name: 'Stream'
}
}
parsed_response = @client.deserialize(result_mapper, parsed_response)
Expand Down Expand Up @@ -416,7 +416,7 @@ def undo_edit_async(resource_group_name, automation_account_name, runbook_name,
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [String] operation results.
# @return [NOT_IMPLEMENTED] operation results.
#
def begin_replace_content(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers = nil)
response = begin_replace_content_async(resource_group_name, automation_account_name, runbook_name, runbook_content, custom_headers).value!
Expand Down Expand Up @@ -511,7 +511,7 @@ def begin_replace_content_async(resource_group_name, automation_account_name, ru
required: false,
serialized_name: 'parsed_response',
type: {
name: 'String'
name: 'Stream'
}
}
result.body = @client.deserialize(result_mapper, parsed_response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def initialize(client)
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [String] operation results.
# @return [NOT_IMPLEMENTED] operation results.
#
def get_content(resource_group_name, automation_account_name, runbook_name, custom_headers = nil)
response = get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers).value!
Expand Down Expand Up @@ -107,7 +107,7 @@ def get_content_async(resource_group_name, automation_account_name, runbook_name
required: false,
serialized_name: 'parsed_response',
type: {
name: 'String'
name: 'Stream'
}
}
result.body = @client.deserialize(result_mapper, parsed_response)
Expand Down