lib/phrase/api/branches_api.rb in phrase-2.8.3 vs lib/phrase/api/branches_api.rb in phrase-2.8.7
- old
+ new
@@ -6,11 +6,11 @@
def initialize(api_client = ApiClient.default)
@api_client = api_client
end
# Compare branches
- # Compare branch with main branch.
+ # Compare branch with main branch. <br><br><i>Note: Comparing a branch may take several minutes depending on the project size.</i>
# @param project_id [String] Project ID
# @param name [String] name
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @return [nil]
@@ -18,11 +18,11 @@
data, _status_code, _headers = branch_compare_with_http_info(project_id, name, opts)
data
end
# Compare branches
- # Compare branch with main branch.
+ # Compare branch with main branch. <br><br><i>Note: Comparing a branch may take several minutes depending on the project size.</i>
# @param project_id [String] Project ID
# @param name [String] name
# @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
@@ -76,11 +76,11 @@
response = ::Phrase::Response.new(data, headers)
return response, status_code, headers
end
# Create a branch
- # Create a new branch.
+ # Create a new branch. <br><br><i>Note: Creating a new branch may take several minutes depending on the project size.</i>
# @param project_id [String] Project ID
# @param branch_create_parameters [BranchCreateParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @return [Branch]
@@ -88,11 +88,11 @@
data, _status_code, _headers = branch_create_with_http_info(project_id, branch_create_parameters, opts)
data
end
# Create a branch
- # Create a new branch.
+ # Create a new branch. <br><br><i>Note: Creating a new branch may take several minutes depending on the project size.</i>
# @param project_id [String] Project ID
# @param branch_create_parameters [BranchCreateParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @return [Array<(Response<(Branch)>, Integer, Hash)>] Response<(Branch)> data, response status code and response headers
@@ -220,11 +220,11 @@
response = ::Phrase::Response.new(data, headers)
return response, status_code, headers
end
# Merge a branch
- # Merge an existing branch.
+ # Merge an existing branch. <br><br><i>Note: Merging a branch may take several minutes depending on diff size.</i>
# @param project_id [String] Project ID
# @param name [String] name
# @param branch_merge_parameters [BranchMergeParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
@@ -233,10 +233,10 @@
data, _status_code, _headers = branch_merge_with_http_info(project_id, name, branch_merge_parameters, opts)
data
end
# Merge a branch
- # Merge an existing branch.
+ # Merge an existing branch. <br><br><i>Note: Merging a branch may take several minutes depending on diff size.</i>
# @param project_id [String] Project ID
# @param name [String] name
# @param branch_merge_parameters [BranchMergeParameters]
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)