lib/hubspot/codegen/cms/source_code/api/content_api.rb in hubspot-api-client-18.0.0 vs lib/hubspot/codegen/cms/source_code/api/content_api.rb in hubspot-api-client-19.0.0

- old
+ new

@@ -1,9 +1,9 @@ =begin #CMS Source Code -#Endpoints for interacting with files in the CMS Developer File System. These files include HTML templates, CSS, JS, modules, and other assets which are used to create CMS content. +#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.2.1 @@ -98,11 +98,11 @@ # Create a file # Creates a file at the specified path in the specified environment. Accepts multipart/form-data content type. Throws an error if a file already exists at the specified path. # @param environment [String] The environment of the file (\&quot;draft\&quot; or \&quot;published\&quot;). # @param path [String] The file system location of the file. # @param [Hash] opts the optional parameters - # @option opts [File] :file The file to upload. + # @option opts [File] :file # @return [AssetFileMetadata] def create(environment, path, opts = {}) data, _status_code, _headers = create_with_http_info(environment, path, opts) data end @@ -110,11 +110,11 @@ # Create a file # Creates a file at the specified path in the specified environment. Accepts multipart/form-data content type. Throws an error if a file already exists at the specified path. # @param environment [String] The environment of the file (\&quot;draft\&quot; or \&quot;published\&quot;). # @param path [String] The file system location of the file. # @param [Hash] opts the optional parameters - # @option opts [File] :file The file to upload. + # @option opts [File] :file # @return [Array<(AssetFileMetadata, Integer, Hash)>] AssetFileMetadata data, response status code and response headers def create_with_http_info(environment, path, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ContentApi.create ...' end @@ -180,11 +180,11 @@ # Create or update a file # Upserts a file at the specified path in the specified environment. Accepts multipart/form-data content type. # @param environment [String] The environment of the file (\&quot;draft\&quot; or \&quot;published\&quot;). # @param path [String] The file system location of the file. # @param [Hash] opts the optional parameters - # @option opts [File] :file The file to upload. + # @option opts [File] :file # @return [AssetFileMetadata] def create_or_update(environment, path, opts = {}) data, _status_code, _headers = create_or_update_with_http_info(environment, path, opts) data end @@ -192,10 +192,10 @@ # Create or update a file # Upserts a file at the specified path in the specified environment. Accepts multipart/form-data content type. # @param environment [String] The environment of the file (\&quot;draft\&quot; or \&quot;published\&quot;). # @param path [String] The file system location of the file. # @param [Hash] opts the optional parameters - # @option opts [File] :file The file to upload. + # @option opts [File] :file # @return [Array<(AssetFileMetadata, Integer, Hash)>] AssetFileMetadata data, response status code and response headers def create_or_update_with_http_info(environment, path, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ContentApi.create_or_update ...' end