lib/fastly/api/kv_store_api.rb in fastly-7.1.1 vs lib/fastly/api/kv_store_api.rb in fastly-7.2.0

- old
+ new

@@ -15,22 +15,22 @@ attr_accessor :api_client def initialize(api_client = ApiClient.default) @api_client = api_client end - # Create an kv store. - # Create a new kv store. + # Create a KV store. + # Create a new KV store. # @option opts [String] :location # @option opts [Store] :store # @return [StoreResponse] def create_store(opts = {}) data, _status_code, _headers = create_store_with_http_info(opts) data end - # Create an kv store. - # Create a new kv store. + # Create a KV store. + # Create a new KV store. # @option opts [String] :location # @option opts [Store] :store # @return [Array<(StoreResponse, Integer, Hash)>] StoreResponse data, response status code and response headers def create_store_with_http_info(opts = {}) if @api_client.config.debugging @@ -81,21 +81,21 @@ @api_client.config.logger.debug "API called: KvStoreApi#create_store\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Delete an kv store. - # An kv store must be empty before it can be deleted. Deleting an kv store that still contains keys will result in a `409` (Conflict). + # Delete a KV store. + # A KV store must be empty before it can be deleted. Deleting a KV store that still contains keys will result in a `409` (Conflict). # @option opts [String] :store_id (required) # @return [nil] def delete_store(opts = {}) delete_store_with_http_info(opts) nil end - # Delete an kv store. - # An kv store must be empty before it can be deleted. Deleting an kv store that still contains keys will result in a &#x60;409&#x60; (Conflict). + # Delete a KV store. + # A KV store must be empty before it can be deleted. Deleting a KV store that still contains keys will result in a &#x60;409&#x60; (Conflict). # @option opts [String] :store_id (required) # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers def delete_store_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: KvStoreApi.delete_store ...' @@ -142,21 +142,21 @@ @api_client.config.logger.debug "API called: KvStoreApi#delete_store\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Describe an kv store. - # Get an kv store by ID. + # Describe a KV store. + # Get a KV store by ID. # @option opts [String] :store_id (required) # @return [StoreResponse] def get_store(opts = {}) data, _status_code, _headers = get_store_with_http_info(opts) data end - # Describe an kv store. - # Get an kv store by ID. + # Describe a KV store. + # Get a KV store by ID. # @option opts [String] :store_id (required) # @return [Array<(StoreResponse, Integer, Hash)>] StoreResponse data, response status code and response headers def get_store_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: KvStoreApi.get_store ...' @@ -205,20 +205,20 @@ @api_client.config.logger.debug "API called: KvStoreApi#get_store\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # List kv stores. + # List KV stores. # Get all stores for a given customer. # @option opts [String] :cursor # @option opts [Integer] :limit (default to 100) # @return [InlineResponse2003] def get_stores(opts = {}) data, _status_code, _headers = get_stores_with_http_info(opts) data end - # List kv stores. + # List KV stores. # Get all stores for a given customer. # @option opts [String] :cursor # @option opts [Integer] :limit (default to 100) # @return [Array<(InlineResponse2003, Integer, Hash)>] InlineResponse2003 data, response status code and response headers def get_stores_with_http_info(opts = {})