lib/fastly/api/service_api.rb in fastly-4.0.0.alpha4 vs lib/fastly/api/service_api.rb in fastly-4.0.0
- old
+ new
@@ -19,11 +19,11 @@
end
# Create a service
# Create a service.
# @option opts [String] :comment A freeform descriptive note.
# @option opts [String] :name The name of the service.
- # @option opts [String] :customer_id
+ # @option opts [String] :customer_id Alphanumeric string identifying the customer.
# @option opts [String] :type The type of this service.
# @return [ServiceResponse]
def create_service(opts = {})
data, _status_code, _headers = create_service_with_http_info(opts)
data
@@ -31,11 +31,11 @@
# Create a service
# Create a service.
# @option opts [String] :comment A freeform descriptive note.
# @option opts [String] :name The name of the service.
- # @option opts [String] :customer_id
+ # @option opts [String] :customer_id Alphanumeric string identifying the customer.
# @option opts [String] :type The type of this service.
# @return [Array<(ServiceResponse, Integer, Hash)>] ServiceResponse data, response status code and response headers
def create_service_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: ServiceApi.create_service ...'
@@ -500,11 +500,11 @@
# Update a service
# Update a service.
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
# @option opts [String] :comment A freeform descriptive note.
# @option opts [String] :name The name of the service.
- # @option opts [String] :customer_id
+ # @option opts [String] :customer_id Alphanumeric string identifying the customer.
# @return [ServiceResponse]
def update_service(opts = {})
data, _status_code, _headers = update_service_with_http_info(opts)
data
end
@@ -512,10 +512,10 @@
# Update a service
# Update a service.
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
# @option opts [String] :comment A freeform descriptive note.
# @option opts [String] :name The name of the service.
- # @option opts [String] :customer_id
+ # @option opts [String] :customer_id Alphanumeric string identifying the customer.
# @return [Array<(ServiceResponse, Integer, Hash)>] ServiceResponse data, response status code and response headers
def update_service_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: ServiceApi.update_service ...'
end