lib/phrase/api/bitbucket_sync_api.rb in phrase-2.8.0 vs lib/phrase/api/bitbucket_sync_api.rb in phrase-2.8.1
- old
+ new
@@ -5,24 +5,24 @@
attr_accessor :api_client
def initialize(api_client = ApiClient.default)
@api_client = api_client
end
- # Export from Phrase to Bitbucket
- # Export translations from Phrase to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
+ # Export from Phrase Strings to Bitbucket
+ # Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
# @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]
def bitbucket_sync_export(id, bitbucket_sync_export_parameters, opts = {})
data, _status_code, _headers = bitbucket_sync_export_with_http_info(id, bitbucket_sync_export_parameters, opts)
data
end
- # Export from Phrase to Bitbucket
- # Export translations from Phrase to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
+ # Export from Phrase Strings to Bitbucket
+ # Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
# @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
@@ -79,24 +79,24 @@
end
response = ::Phrase::Response.new(data, headers)
return response, status_code, headers
end
- # Import to Phrase from Bitbucket
- # Import translations from Bitbucket to Phrase according to the .phraseapp.yml file within the Bitbucket repository.
+ # Import to Phrase Strings from Bitbucket
+ # Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository.
# @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]
def bitbucket_sync_import(id, bitbucket_sync_import_parameters, opts = {})
data, _status_code, _headers = bitbucket_sync_import_with_http_info(id, bitbucket_sync_import_parameters, opts)
data
end
- # Import to Phrase from Bitbucket
- # Import translations from Bitbucket to Phrase according to the .phraseapp.yml file within the Bitbucket repository.
+ # Import to Phrase Strings from Bitbucket
+ # Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository.
# @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
@@ -152,21 +152,21 @@
response = ::Phrase::Response.new(data, headers)
return response, status_code, headers
end
# List Bitbucket syncs
- # List all Bitbucket repositories for which synchronisation with Phrase is activated.
+ # List all Bitbucket repositories for which synchronisation with Phrase Strings is activated.
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [String] :account_id Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts.
# @return [Array<BitbucketSync>]
def bitbucket_syncs_list(opts = {})
data, _status_code, _headers = bitbucket_syncs_list_with_http_info(opts)
data
end
# List Bitbucket syncs
- # List all Bitbucket repositories for which synchronisation with Phrase is activated.
+ # List all Bitbucket repositories for which synchronisation with Phrase Strings is activated.
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [String] :account_id Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts.
# @return [Array<(Response<(Array<BitbucketSync>)>, Integer, Hash)>] Response<(Array<BitbucketSync>)> data, response status code and response headers
def bitbucket_syncs_list_with_http_info(opts = {})