lib/phrase/api/bitbucket_sync_api.rb in phrase-2.8.3 vs lib/phrase/api/bitbucket_sync_api.rb in phrase-2.8.7
- old
+ new
@@ -6,11 +6,11 @@
def initialize(api_client = ApiClient.default)
@api_client = api_client
end
# Export from Phrase Strings to Bitbucket
- # Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
+ # Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i>
# @param id [String] ID
# @param bitbucket_sync_export_parameters [BitbucketSyncExportParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @return [BitbucketSyncExportResponse]
@@ -18,11 +18,11 @@
data, _status_code, _headers = bitbucket_sync_export_with_http_info(id, bitbucket_sync_export_parameters, opts)
data
end
# Export from Phrase Strings to Bitbucket
- # Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
+ # Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i>
# @param id [String] ID
# @param bitbucket_sync_export_parameters [BitbucketSyncExportParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @return [Array<(Response<(BitbucketSyncExportResponse)>, Integer, Hash)>] Response<(BitbucketSyncExportResponse)> data, response status code and response headers
@@ -80,11 +80,11 @@
response = ::Phrase::Response.new(data, headers)
return response, status_code, headers
end
# Import to Phrase Strings from Bitbucket
- # Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository.
+ # Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i>
# @param id [String] ID
# @param bitbucket_sync_import_parameters [BitbucketSyncImportParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @return [nil]
@@ -92,10 +92,10 @@
data, _status_code, _headers = bitbucket_sync_import_with_http_info(id, bitbucket_sync_import_parameters, opts)
data
end
# Import to Phrase Strings from Bitbucket
- # Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository.
+ # Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i>
# @param id [String] ID
# @param bitbucket_sync_import_parameters [BitbucketSyncImportParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @return [Array<(Response, Integer, Hash)>] Response<(nil, response status code and response headers