phrase 2.8.3 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +31 -12
- data/docs/BitbucketSyncApi.md +2 -2
- data/docs/BranchesApi.md +3 -3
- data/docs/GitHubSyncApi.md +2 -2
- data/docs/GitLabSyncApi.md +2 -2
- data/docs/JobCommentsApi.md +6 -6
- data/docs/JobLocale.md +3 -1
- data/docs/JobLocaleUpdateParameters.md +5 -1
- data/docs/JobLocalesCreateParameters.md +6 -2
- data/docs/JobTemplateDetails.md +35 -0
- data/docs/JobTemplateDetails1.md +21 -0
- data/docs/JobTemplateLocaleUpdateParameters.md +6 -2
- data/docs/{JobTemplateLocale.md → JobTemplateLocales.md} +6 -4
- data/docs/JobTemplateLocalesApi.md +8 -8
- data/docs/JobTemplateLocalesCreateParameters.md +5 -1
- data/docs/JobTemplatesApi.md +41 -41
- data/docs/KeysSearchParameters.md +1 -1
- data/docs/LocaleTeamPreview.md +21 -0
- data/docs/{JobTemplateUserPreview.md → LocaleUserPreview.md} +2 -2
- data/docs/LocalesApi.md +8 -4
- data/docs/NotificationGroupDetail.md +1 -1
- data/docs/NotificationGroupsApi.md +4 -4
- data/docs/NotificationsApi.md +4 -4
- data/docs/OrganizationJobTemplate.md +25 -0
- data/docs/OrganizationJobTemplateCreateParameters.md +19 -0
- data/docs/OrganizationJobTemplateDetails.md +31 -0
- data/docs/OrganizationJobTemplateLocaleUpdateParameters.md +27 -0
- data/docs/OrganizationJobTemplateLocalesApi.md +341 -0
- data/docs/OrganizationJobTemplateLocalesCreateParameters.md +27 -0
- data/docs/OrganizationJobTemplateUpdateParameters.md +19 -0
- data/docs/OrganizationJobTemplatesApi.md +331 -0
- data/docs/Project.md +2 -0
- data/docs/ProjectCreateParameters.md +5 -1
- data/docs/ProjectDetails.md +2 -0
- data/docs/ProjectUpdateParameters.md +5 -1
- data/docs/SearchApi.md +1 -1
- data/docs/TranslationsApi.md +23 -19
- data/docs/TranslationsExcludeParameters.md +1 -1
- data/docs/TranslationsIncludeParameters.md +1 -1
- data/docs/TranslationsReviewParameters.md +1 -1
- data/docs/TranslationsSearchParameters.md +1 -1
- data/docs/TranslationsUnverifyParameters.md +1 -1
- data/docs/TranslationsVerifyParameters.md +1 -1
- data/docs/UploadsApi.md +3 -3
- data/lib/phrase/api/bitbucket_sync_api.rb +4 -4
- data/lib/phrase/api/branches_api.rb +6 -6
- data/lib/phrase/api/git_hub_sync_api.rb +4 -4
- data/lib/phrase/api/git_lab_sync_api.rb +4 -4
- data/lib/phrase/api/job_comments_api.rb +9 -9
- data/lib/phrase/api/job_template_locales_api.rb +12 -12
- data/lib/phrase/api/job_templates_api.rb +72 -72
- data/lib/phrase/api/locales_api.rb +10 -4
- data/lib/phrase/api/notification_groups_api.rb +6 -6
- data/lib/phrase/api/notifications_api.rb +6 -6
- data/lib/phrase/api/organization_job_template_locales_api.rb +408 -0
- data/lib/phrase/api/organization_job_templates_api.rb +378 -0
- data/lib/phrase/api/search_api.rb +2 -2
- data/lib/phrase/api/translations_api.rb +20 -14
- data/lib/phrase/api/uploads_api.rb +2 -2
- data/lib/phrase/models/job_locale.rb +13 -2
- data/lib/phrase/models/job_locale_update_parameters.rb +28 -4
- data/lib/phrase/models/job_locales_create_parameters.rb +33 -4
- data/lib/phrase/models/job_template_details.rb +285 -0
- data/lib/phrase/models/job_template_details1.rb +214 -0
- data/lib/phrase/models/job_template_locale_update_parameters.rb +28 -9
- data/lib/phrase/models/{job_template_locale.rb → job_template_locales.rb} +18 -7
- data/lib/phrase/models/job_template_locales_create_parameters.rb +28 -4
- data/lib/phrase/models/keys_search_parameters.rb +1 -1
- data/lib/phrase/models/locale_team_preview.rb +212 -0
- data/lib/phrase/models/{job_template_user_preview.rb → locale_user_preview.rb} +3 -3
- data/lib/phrase/models/notification_group_detail.rb +1 -1
- data/lib/phrase/models/organization_job_template.rb +230 -0
- data/lib/phrase/models/organization_job_template_create_parameters.rb +210 -0
- data/lib/phrase/models/organization_job_template_details.rb +267 -0
- data/lib/phrase/models/organization_job_template_locale_update_parameters.rb +253 -0
- data/lib/phrase/models/organization_job_template_locales_create_parameters.rb +263 -0
- data/lib/phrase/models/organization_job_template_update_parameters.rb +210 -0
- data/lib/phrase/models/project.rb +10 -1
- data/lib/phrase/models/project_create_parameters.rb +22 -2
- data/lib/phrase/models/project_details.rb +10 -1
- data/lib/phrase/models/project_update_parameters.rb +22 -2
- data/lib/phrase/models/translations_exclude_parameters.rb +1 -1
- data/lib/phrase/models/translations_include_parameters.rb +1 -1
- data/lib/phrase/models/translations_review_parameters.rb +1 -1
- data/lib/phrase/models/translations_search_parameters.rb +1 -1
- data/lib/phrase/models/translations_unverify_parameters.rb +1 -1
- data/lib/phrase/models/translations_verify_parameters.rb +1 -1
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +13 -2
- data/spec/api/bitbucket_sync_api_spec.rb +2 -2
- data/spec/api/branches_api_spec.rb +3 -3
- data/spec/api/git_hub_sync_api_spec.rb +2 -2
- data/spec/api/git_lab_sync_api_spec.rb +2 -2
- data/spec/api/job_comments_api_spec.rb +3 -3
- data/spec/api/job_template_locales_api_spec.rb +4 -4
- data/spec/api/job_templates_api_spec.rb +17 -17
- data/spec/api/locales_api_spec.rb +4 -2
- data/spec/api/notification_groups_api_spec.rb +2 -2
- data/spec/api/notifications_api_spec.rb +2 -2
- data/spec/api/organization_job_template_locales_api_spec.rb +100 -0
- data/spec/api/organization_job_templates_api_spec.rb +95 -0
- data/spec/api/search_api_spec.rb +1 -1
- data/spec/api/translations_api_spec.rb +9 -7
- data/spec/api/uploads_api_spec.rb +1 -1
- data/spec/models/job_locale_spec.rb +6 -0
- data/spec/models/job_locale_update_parameters_spec.rb +12 -0
- data/spec/models/job_locales_create_parameters_spec.rb +12 -0
- data/spec/models/job_template_details1_spec.rb +41 -0
- data/spec/models/job_template_details_spec.rb +83 -0
- data/spec/models/job_template_locale_update_parameters_spec.rb +12 -0
- data/spec/models/job_template_locales_create_parameters_spec.rb +12 -0
- data/spec/models/{job_template_locale_spec.rb → job_template_locales_spec.rb} +12 -6
- data/spec/models/locale_team_preview_spec.rb +41 -0
- data/spec/models/{job_template_user_preview_spec.rb → locale_user_preview_spec.rb} +6 -6
- data/spec/models/organization_job_template_create_parameters_spec.rb +35 -0
- data/spec/models/organization_job_template_details_spec.rb +71 -0
- data/spec/models/organization_job_template_locale_update_parameters_spec.rb +59 -0
- data/spec/models/organization_job_template_locales_create_parameters_spec.rb +59 -0
- data/spec/models/organization_job_template_spec.rb +53 -0
- data/spec/models/organization_job_template_update_parameters_spec.rb +35 -0
- data/spec/models/project_create_parameters_spec.rb +12 -0
- data/spec/models/project_details_spec.rb +6 -0
- data/spec/models/project_spec.rb +6 -0
- data/spec/models/project_update_parameters_spec.rb +12 -0
- metadata +269 -225
@@ -0,0 +1,210 @@
|
|
1
|
+
require 'date'
|
2
|
+
|
3
|
+
module Phrase
|
4
|
+
class OrganizationJobTemplateUpdateParameters
|
5
|
+
# Job template name
|
6
|
+
attr_accessor :name
|
7
|
+
|
8
|
+
# Briefing for the translators
|
9
|
+
attr_accessor :briefing
|
10
|
+
|
11
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
12
|
+
def self.attribute_map
|
13
|
+
{
|
14
|
+
:'name' => :'name',
|
15
|
+
:'briefing' => :'briefing'
|
16
|
+
}
|
17
|
+
end
|
18
|
+
|
19
|
+
# Attribute type mapping.
|
20
|
+
def self.openapi_types
|
21
|
+
{
|
22
|
+
:'name' => :'String',
|
23
|
+
:'briefing' => :'String'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# List of attributes with nullable: true
|
28
|
+
def self.openapi_nullable
|
29
|
+
Set.new([
|
30
|
+
])
|
31
|
+
end
|
32
|
+
|
33
|
+
# Initializes the object
|
34
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
35
|
+
def initialize(attributes = {})
|
36
|
+
if (!attributes.is_a?(Hash))
|
37
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::OrganizationJobTemplateUpdateParameters` initialize method"
|
38
|
+
end
|
39
|
+
|
40
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
41
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
42
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
43
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::OrganizationJobTemplateUpdateParameters`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
44
|
+
end
|
45
|
+
h[k.to_sym] = v
|
46
|
+
}
|
47
|
+
|
48
|
+
if attributes.key?(:'name')
|
49
|
+
self.name = attributes[:'name']
|
50
|
+
end
|
51
|
+
|
52
|
+
if attributes.key?(:'briefing')
|
53
|
+
self.briefing = attributes[:'briefing']
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
58
|
+
# @return Array for valid properties with the reasons
|
59
|
+
def list_invalid_properties
|
60
|
+
invalid_properties = Array.new
|
61
|
+
if @name.nil?
|
62
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
63
|
+
end
|
64
|
+
|
65
|
+
invalid_properties
|
66
|
+
end
|
67
|
+
|
68
|
+
# Check to see if the all the properties in the model are valid
|
69
|
+
# @return true if the model is valid
|
70
|
+
def valid?
|
71
|
+
return false if @name.nil?
|
72
|
+
true
|
73
|
+
end
|
74
|
+
|
75
|
+
# Checks equality by comparing each attribute.
|
76
|
+
# @param [Object] Object to be compared
|
77
|
+
def ==(o)
|
78
|
+
return true if self.equal?(o)
|
79
|
+
self.class == o.class &&
|
80
|
+
name == o.name &&
|
81
|
+
briefing == o.briefing
|
82
|
+
end
|
83
|
+
|
84
|
+
# @see the `==` method
|
85
|
+
# @param [Object] Object to be compared
|
86
|
+
def eql?(o)
|
87
|
+
self == o
|
88
|
+
end
|
89
|
+
|
90
|
+
# Calculates hash code according to all attributes.
|
91
|
+
# @return [Integer] Hash code
|
92
|
+
def hash
|
93
|
+
[name, briefing].hash
|
94
|
+
end
|
95
|
+
|
96
|
+
# Builds the object from hash
|
97
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
98
|
+
# @return [Object] Returns the model itself
|
99
|
+
def self.build_from_hash(attributes)
|
100
|
+
new.build_from_hash(attributes)
|
101
|
+
end
|
102
|
+
|
103
|
+
# Builds the object from hash
|
104
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
105
|
+
# @return [Object] Returns the model itself
|
106
|
+
def build_from_hash(attributes)
|
107
|
+
return nil unless attributes.is_a?(Hash)
|
108
|
+
self.class.openapi_types.each_pair do |key, type|
|
109
|
+
if type =~ /\AArray<(.*)>/i
|
110
|
+
# check to ensure the input is an array given that the attribute
|
111
|
+
# is documented as an array but the input is not
|
112
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
113
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
114
|
+
end
|
115
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
116
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
117
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
118
|
+
end
|
119
|
+
|
120
|
+
self
|
121
|
+
end
|
122
|
+
|
123
|
+
# Deserializes the data based on type
|
124
|
+
# @param string type Data type
|
125
|
+
# @param string value Value to be deserialized
|
126
|
+
# @return [Object] Deserialized data
|
127
|
+
def _deserialize(type, value)
|
128
|
+
case type.to_sym
|
129
|
+
when :DateTime
|
130
|
+
DateTime.parse(value)
|
131
|
+
when :Date
|
132
|
+
Date.parse(value)
|
133
|
+
when :String
|
134
|
+
value.to_s
|
135
|
+
when :Integer
|
136
|
+
value.to_i
|
137
|
+
when :Float
|
138
|
+
value.to_f
|
139
|
+
when :Boolean
|
140
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
141
|
+
true
|
142
|
+
else
|
143
|
+
false
|
144
|
+
end
|
145
|
+
when :Object
|
146
|
+
# generic object (usually a Hash), return directly
|
147
|
+
value
|
148
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
149
|
+
inner_type = Regexp.last_match[:inner_type]
|
150
|
+
value.map { |v| _deserialize(inner_type, v) }
|
151
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
152
|
+
k_type = Regexp.last_match[:k_type]
|
153
|
+
v_type = Regexp.last_match[:v_type]
|
154
|
+
{}.tap do |hash|
|
155
|
+
value.each do |k, v|
|
156
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
157
|
+
end
|
158
|
+
end
|
159
|
+
else # model
|
160
|
+
Phrase.const_get(type).build_from_hash(value)
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
# Returns the string representation of the object
|
165
|
+
# @return [String] String presentation of the object
|
166
|
+
def to_s
|
167
|
+
to_hash.to_s
|
168
|
+
end
|
169
|
+
|
170
|
+
# to_body is an alias to to_hash (backward compatibility)
|
171
|
+
# @return [Hash] Returns the object in the form of hash
|
172
|
+
def to_body
|
173
|
+
to_hash
|
174
|
+
end
|
175
|
+
|
176
|
+
# Returns the object in the form of hash
|
177
|
+
# @return [Hash] Returns the object in the form of hash
|
178
|
+
def to_hash
|
179
|
+
hash = {}
|
180
|
+
self.class.attribute_map.each_pair do |attr, param|
|
181
|
+
value = self.send(attr)
|
182
|
+
if value.nil?
|
183
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
184
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
185
|
+
end
|
186
|
+
|
187
|
+
hash[param] = _to_hash(value)
|
188
|
+
end
|
189
|
+
hash
|
190
|
+
end
|
191
|
+
|
192
|
+
# Outputs non-array value in the form of hash
|
193
|
+
# For object, use to_hash. Otherwise, just return the value
|
194
|
+
# @param [Object] value Any valid value
|
195
|
+
# @return [Hash] Returns the value in the form of hash
|
196
|
+
def _to_hash(value)
|
197
|
+
if value.is_a?(Array)
|
198
|
+
value.compact.map { |v| _to_hash(v) }
|
199
|
+
elsif value.is_a?(Hash)
|
200
|
+
{}.tap do |hash|
|
201
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
202
|
+
end
|
203
|
+
elsif value.respond_to? :to_hash
|
204
|
+
value.to_hash
|
205
|
+
else
|
206
|
+
value
|
207
|
+
end
|
208
|
+
end
|
209
|
+
end
|
210
|
+
end
|
@@ -12,6 +12,8 @@ module Phrase
|
|
12
12
|
|
13
13
|
attr_accessor :project_image_url
|
14
14
|
|
15
|
+
attr_accessor :media
|
16
|
+
|
15
17
|
attr_accessor :account
|
16
18
|
|
17
19
|
attr_accessor :space
|
@@ -30,6 +32,7 @@ module Phrase
|
|
30
32
|
:'slug' => :'slug',
|
31
33
|
:'main_format' => :'main_format',
|
32
34
|
:'project_image_url' => :'project_image_url',
|
35
|
+
:'media' => :'media',
|
33
36
|
:'account' => :'account',
|
34
37
|
:'space' => :'space',
|
35
38
|
:'point_of_contact' => :'point_of_contact',
|
@@ -46,6 +49,7 @@ module Phrase
|
|
46
49
|
:'slug' => :'String',
|
47
50
|
:'main_format' => :'String',
|
48
51
|
:'project_image_url' => :'String',
|
52
|
+
:'media' => :'String',
|
49
53
|
:'account' => :'Account',
|
50
54
|
:'space' => :'Space1',
|
51
55
|
:'point_of_contact' => :'UserPreview',
|
@@ -95,6 +99,10 @@ module Phrase
|
|
95
99
|
self.project_image_url = attributes[:'project_image_url']
|
96
100
|
end
|
97
101
|
|
102
|
+
if attributes.key?(:'media')
|
103
|
+
self.media = attributes[:'media']
|
104
|
+
end
|
105
|
+
|
98
106
|
if attributes.key?(:'account')
|
99
107
|
self.account = attributes[:'account']
|
100
108
|
end
|
@@ -139,6 +147,7 @@ module Phrase
|
|
139
147
|
slug == o.slug &&
|
140
148
|
main_format == o.main_format &&
|
141
149
|
project_image_url == o.project_image_url &&
|
150
|
+
media == o.media &&
|
142
151
|
account == o.account &&
|
143
152
|
space == o.space &&
|
144
153
|
point_of_contact == o.point_of_contact &&
|
@@ -155,7 +164,7 @@ module Phrase
|
|
155
164
|
# Calculates hash code according to all attributes.
|
156
165
|
# @return [Integer] Hash code
|
157
166
|
def hash
|
158
|
-
[id, name, slug, main_format, project_image_url, account, space, point_of_contact, created_at, updated_at].hash
|
167
|
+
[id, name, slug, main_format, project_image_url, media, account, space, point_of_contact, created_at, updated_at].hash
|
159
168
|
end
|
160
169
|
|
161
170
|
# Builds the object from hash
|
@@ -5,9 +5,12 @@ module Phrase
|
|
5
5
|
# Name of the project
|
6
6
|
attr_accessor :name
|
7
7
|
|
8
|
-
# Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see <a href=\"https://support.phrase.com/hc/en-us/
|
8
|
+
# Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see <a href=\"https://support.phrase.com/hc/en-us/sections/6111343326364\">Format Guide</a> or our <a href=\"#formats\">Formats API Endpoint</a>.
|
9
9
|
attr_accessor :main_format
|
10
10
|
|
11
|
+
# (Optional) Main technology stack used in the project. It affects for example the suggested placeholder style. Predefined values include: `Ruby`, `JavaScript`, `AngularJS`, `React`, `iOS`, `Android`, `Python`, `PHP`, `Java`, `Go`, `Windows Phone`, `Rails`, `Node.js`, `.NET`, `Django`, `Symfony`, `Yii Framework`, `Zend Framework`, `Apple App Store Description`, `Google Play Description`, but it can also take any other value.
|
12
|
+
attr_accessor :media
|
13
|
+
|
11
14
|
# Indicates whether the project should share the account's translation memory
|
12
15
|
attr_accessor :shares_translation_memory
|
13
16
|
|
@@ -20,6 +23,9 @@ module Phrase
|
|
20
23
|
# Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts.
|
21
24
|
attr_accessor :account_id
|
22
25
|
|
26
|
+
# (Optional) User ID of the point of contact for the project.
|
27
|
+
attr_accessor :point_of_contact
|
28
|
+
|
23
29
|
# When a source project ID is given, a clone of that project will be created, including all locales, keys and translations as well as the main project settings if they are not defined otherwise through the params.
|
24
30
|
attr_accessor :source_project_id
|
25
31
|
|
@@ -79,10 +85,12 @@ module Phrase
|
|
79
85
|
{
|
80
86
|
:'name' => :'name',
|
81
87
|
:'main_format' => :'main_format',
|
88
|
+
:'media' => :'media',
|
82
89
|
:'shares_translation_memory' => :'shares_translation_memory',
|
83
90
|
:'project_image' => :'project_image',
|
84
91
|
:'remove_project_image' => :'remove_project_image',
|
85
92
|
:'account_id' => :'account_id',
|
93
|
+
:'point_of_contact' => :'point_of_contact',
|
86
94
|
:'source_project_id' => :'source_project_id',
|
87
95
|
:'workflow' => :'workflow',
|
88
96
|
:'machine_translation_enabled' => :'machine_translation_enabled',
|
@@ -109,10 +117,12 @@ module Phrase
|
|
109
117
|
{
|
110
118
|
:'name' => :'String',
|
111
119
|
:'main_format' => :'String',
|
120
|
+
:'media' => :'String',
|
112
121
|
:'shares_translation_memory' => :'Boolean',
|
113
122
|
:'project_image' => :'File',
|
114
123
|
:'remove_project_image' => :'Boolean',
|
115
124
|
:'account_id' => :'String',
|
125
|
+
:'point_of_contact' => :'String',
|
116
126
|
:'source_project_id' => :'String',
|
117
127
|
:'workflow' => :'String',
|
118
128
|
:'machine_translation_enabled' => :'Boolean',
|
@@ -163,6 +173,10 @@ module Phrase
|
|
163
173
|
self.main_format = attributes[:'main_format']
|
164
174
|
end
|
165
175
|
|
176
|
+
if attributes.key?(:'media')
|
177
|
+
self.media = attributes[:'media']
|
178
|
+
end
|
179
|
+
|
166
180
|
if attributes.key?(:'shares_translation_memory')
|
167
181
|
self.shares_translation_memory = attributes[:'shares_translation_memory']
|
168
182
|
end
|
@@ -179,6 +193,10 @@ module Phrase
|
|
179
193
|
self.account_id = attributes[:'account_id']
|
180
194
|
end
|
181
195
|
|
196
|
+
if attributes.key?(:'point_of_contact')
|
197
|
+
self.point_of_contact = attributes[:'point_of_contact']
|
198
|
+
end
|
199
|
+
|
182
200
|
if attributes.key?(:'source_project_id')
|
183
201
|
self.source_project_id = attributes[:'source_project_id']
|
184
202
|
end
|
@@ -272,10 +290,12 @@ module Phrase
|
|
272
290
|
self.class == o.class &&
|
273
291
|
name == o.name &&
|
274
292
|
main_format == o.main_format &&
|
293
|
+
media == o.media &&
|
275
294
|
shares_translation_memory == o.shares_translation_memory &&
|
276
295
|
project_image == o.project_image &&
|
277
296
|
remove_project_image == o.remove_project_image &&
|
278
297
|
account_id == o.account_id &&
|
298
|
+
point_of_contact == o.point_of_contact &&
|
279
299
|
source_project_id == o.source_project_id &&
|
280
300
|
workflow == o.workflow &&
|
281
301
|
machine_translation_enabled == o.machine_translation_enabled &&
|
@@ -305,7 +325,7 @@ module Phrase
|
|
305
325
|
# Calculates hash code according to all attributes.
|
306
326
|
# @return [Integer] Hash code
|
307
327
|
def hash
|
308
|
-
[name, main_format, shares_translation_memory, project_image, remove_project_image, account_id, source_project_id, workflow, machine_translation_enabled, enable_branching, protect_master_branch, enable_all_data_type_translation_keys_for_translators, enable_icu_message_format, zero_plural_form_enabled, autotranslate_enabled, autotranslate_check_new_translation_keys, autotranslate_check_new_uploads, autotranslate_check_new_locales, autotranslate_mark_as_unverified, autotranslate_use_machine_translation, autotranslate_use_translation_memory, smart_suggest_enabled, smart_suggest_use_glossary, smart_suggest_use_machine_translation].hash
|
328
|
+
[name, main_format, media, shares_translation_memory, project_image, remove_project_image, account_id, point_of_contact, source_project_id, workflow, machine_translation_enabled, enable_branching, protect_master_branch, enable_all_data_type_translation_keys_for_translators, enable_icu_message_format, zero_plural_form_enabled, autotranslate_enabled, autotranslate_check_new_translation_keys, autotranslate_check_new_uploads, autotranslate_check_new_locales, autotranslate_mark_as_unverified, autotranslate_use_machine_translation, autotranslate_use_translation_memory, smart_suggest_enabled, smart_suggest_use_glossary, smart_suggest_use_machine_translation].hash
|
309
329
|
end
|
310
330
|
|
311
331
|
# Builds the object from hash
|
@@ -12,6 +12,8 @@ module Phrase
|
|
12
12
|
|
13
13
|
attr_accessor :project_image_url
|
14
14
|
|
15
|
+
attr_accessor :media
|
16
|
+
|
15
17
|
attr_accessor :account
|
16
18
|
|
17
19
|
attr_accessor :space
|
@@ -32,6 +34,7 @@ module Phrase
|
|
32
34
|
:'slug' => :'slug',
|
33
35
|
:'main_format' => :'main_format',
|
34
36
|
:'project_image_url' => :'project_image_url',
|
37
|
+
:'media' => :'media',
|
35
38
|
:'account' => :'account',
|
36
39
|
:'space' => :'space',
|
37
40
|
:'point_of_contact' => :'point_of_contact',
|
@@ -49,6 +52,7 @@ module Phrase
|
|
49
52
|
:'slug' => :'String',
|
50
53
|
:'main_format' => :'String',
|
51
54
|
:'project_image_url' => :'String',
|
55
|
+
:'media' => :'String',
|
52
56
|
:'account' => :'Account',
|
53
57
|
:'space' => :'Space1',
|
54
58
|
:'point_of_contact' => :'UserPreview',
|
@@ -107,6 +111,10 @@ module Phrase
|
|
107
111
|
self.project_image_url = attributes[:'project_image_url']
|
108
112
|
end
|
109
113
|
|
114
|
+
if attributes.key?(:'media')
|
115
|
+
self.media = attributes[:'media']
|
116
|
+
end
|
117
|
+
|
110
118
|
if attributes.key?(:'account')
|
111
119
|
self.account = attributes[:'account']
|
112
120
|
end
|
@@ -155,6 +163,7 @@ module Phrase
|
|
155
163
|
slug == o.slug &&
|
156
164
|
main_format == o.main_format &&
|
157
165
|
project_image_url == o.project_image_url &&
|
166
|
+
media == o.media &&
|
158
167
|
account == o.account &&
|
159
168
|
space == o.space &&
|
160
169
|
point_of_contact == o.point_of_contact &&
|
@@ -172,7 +181,7 @@ module Phrase
|
|
172
181
|
# Calculates hash code according to all attributes.
|
173
182
|
# @return [Integer] Hash code
|
174
183
|
def hash
|
175
|
-
[id, name, slug, main_format, project_image_url, account, space, point_of_contact, created_at, updated_at, shares_translation_memory].hash
|
184
|
+
[id, name, slug, main_format, project_image_url, media, account, space, point_of_contact, created_at, updated_at, shares_translation_memory].hash
|
176
185
|
end
|
177
186
|
|
178
187
|
# Builds the object from hash
|
@@ -8,9 +8,15 @@ module Phrase
|
|
8
8
|
# (Optional) Name of the project
|
9
9
|
attr_accessor :name
|
10
10
|
|
11
|
-
# (Optional)
|
11
|
+
# (Optional) User ID of the point of contact for the project. Pass `null` to unset.
|
12
|
+
attr_accessor :point_of_contact
|
13
|
+
|
14
|
+
# (Optional) Main file format specified by its API Extension name. Used for locale downloads if no format is specified. For API Extension names of available file formats see <a href=\"https://support.phrase.com/hc/en-us/sections/6111343326364\">Format Guide</a> or our <a href=\"#formats\">Formats API Endpoint</a>.
|
12
15
|
attr_accessor :main_format
|
13
16
|
|
17
|
+
# (Optional) Main technology stack used in the project. It affects for example the suggested placeholder style. Predefined values include: `Ruby`, `JavaScript`, `AngularJS`, `React`, `iOS`, `Android`, `Python`, `PHP`, `Java`, `Go`, `Windows Phone`, `Rails`, `Node.js`, `.NET`, `Django`, `Symfony`, `Yii Framework`, `Zend Framework`, `Apple App Store Description`, `Google Play Description`, but it can also take any other value.
|
18
|
+
attr_accessor :media
|
19
|
+
|
14
20
|
# (Optional) Indicates whether the project should share the account's translation memory
|
15
21
|
attr_accessor :shares_translation_memory
|
16
22
|
|
@@ -76,7 +82,9 @@ module Phrase
|
|
76
82
|
{
|
77
83
|
:'account_id' => :'account_id',
|
78
84
|
:'name' => :'name',
|
85
|
+
:'point_of_contact' => :'point_of_contact',
|
79
86
|
:'main_format' => :'main_format',
|
87
|
+
:'media' => :'media',
|
80
88
|
:'shares_translation_memory' => :'shares_translation_memory',
|
81
89
|
:'project_image' => :'project_image',
|
82
90
|
:'remove_project_image' => :'remove_project_image',
|
@@ -105,7 +113,9 @@ module Phrase
|
|
105
113
|
{
|
106
114
|
:'account_id' => :'String',
|
107
115
|
:'name' => :'String',
|
116
|
+
:'point_of_contact' => :'String',
|
108
117
|
:'main_format' => :'String',
|
118
|
+
:'media' => :'String',
|
109
119
|
:'shares_translation_memory' => :'Boolean',
|
110
120
|
:'project_image' => :'File',
|
111
121
|
:'remove_project_image' => :'Boolean',
|
@@ -158,10 +168,18 @@ module Phrase
|
|
158
168
|
self.name = attributes[:'name']
|
159
169
|
end
|
160
170
|
|
171
|
+
if attributes.key?(:'point_of_contact')
|
172
|
+
self.point_of_contact = attributes[:'point_of_contact']
|
173
|
+
end
|
174
|
+
|
161
175
|
if attributes.key?(:'main_format')
|
162
176
|
self.main_format = attributes[:'main_format']
|
163
177
|
end
|
164
178
|
|
179
|
+
if attributes.key?(:'media')
|
180
|
+
self.media = attributes[:'media']
|
181
|
+
end
|
182
|
+
|
165
183
|
if attributes.key?(:'shares_translation_memory')
|
166
184
|
self.shares_translation_memory = attributes[:'shares_translation_memory']
|
167
185
|
end
|
@@ -263,7 +281,9 @@ module Phrase
|
|
263
281
|
self.class == o.class &&
|
264
282
|
account_id == o.account_id &&
|
265
283
|
name == o.name &&
|
284
|
+
point_of_contact == o.point_of_contact &&
|
266
285
|
main_format == o.main_format &&
|
286
|
+
media == o.media &&
|
267
287
|
shares_translation_memory == o.shares_translation_memory &&
|
268
288
|
project_image == o.project_image &&
|
269
289
|
remove_project_image == o.remove_project_image &&
|
@@ -295,7 +315,7 @@ module Phrase
|
|
295
315
|
# Calculates hash code according to all attributes.
|
296
316
|
# @return [Integer] Hash code
|
297
317
|
def hash
|
298
|
-
[account_id, name, main_format, shares_translation_memory, project_image, remove_project_image, workflow, machine_translation_enabled, enable_branching, protect_master_branch, enable_all_data_type_translation_keys_for_translators, enable_icu_message_format, zero_plural_form_enabled, autotranslate_enabled, autotranslate_check_new_translation_keys, autotranslate_check_new_uploads, autotranslate_check_new_locales, autotranslate_mark_as_unverified, autotranslate_use_machine_translation, autotranslate_use_translation_memory, smart_suggest_enabled, smart_suggest_use_glossary, smart_suggest_use_machine_translation].hash
|
318
|
+
[account_id, name, point_of_contact, main_format, media, shares_translation_memory, project_image, remove_project_image, workflow, machine_translation_enabled, enable_branching, protect_master_branch, enable_all_data_type_translation_keys_for_translators, enable_icu_message_format, zero_plural_form_enabled, autotranslate_enabled, autotranslate_check_new_translation_keys, autotranslate_check_new_uploads, autotranslate_check_new_locales, autotranslate_mark_as_unverified, autotranslate_use_machine_translation, autotranslate_use_translation_memory, smart_suggest_enabled, smart_suggest_use_glossary, smart_suggest_use_machine_translation].hash
|
299
319
|
end
|
300
320
|
|
301
321
|
# Builds the object from hash
|
@@ -5,7 +5,7 @@ module Phrase
|
|
5
5
|
# specify the branch to use
|
6
6
|
attr_accessor :branch
|
7
7
|
|
8
|
-
# Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
8
|
+
# Specify a query to find translations by content (including wildcards).<br><br> <i>Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).</i><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
9
9
|
attr_accessor :q
|
10
10
|
|
11
11
|
# Sort criteria. Can be one of: key_name, created_at, updated_at.
|
@@ -5,7 +5,7 @@ module Phrase
|
|
5
5
|
# specify the branch to use
|
6
6
|
attr_accessor :branch
|
7
7
|
|
8
|
-
# Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
8
|
+
# Specify a query to find translations by content (including wildcards).<br><br> <i>Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).</i><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
9
9
|
attr_accessor :q
|
10
10
|
|
11
11
|
# Sort criteria. Can be one of: key_name, created_at, updated_at.
|
@@ -5,7 +5,7 @@ module Phrase
|
|
5
5
|
# specify the branch to use
|
6
6
|
attr_accessor :branch
|
7
7
|
|
8
|
-
# Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
8
|
+
# Specify a query to find translations by content (including wildcards).<br><br> <i>Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).</i><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
9
9
|
attr_accessor :q
|
10
10
|
|
11
11
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -11,7 +11,7 @@ module Phrase
|
|
11
11
|
# Order direction. Can be one of: asc, desc.
|
12
12
|
attr_accessor :order
|
13
13
|
|
14
|
-
# Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
14
|
+
# Specify a query to find translations by content (including wildcards).<br><br> <i>Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).</i><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
15
15
|
attr_accessor :q
|
16
16
|
|
17
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -5,7 +5,7 @@ module Phrase
|
|
5
5
|
# specify the branch to use
|
6
6
|
attr_accessor :branch
|
7
7
|
|
8
|
-
# Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
8
|
+
# Specify a query to find translations by content (including wildcards).<br><br> <i>Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).</i><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
9
9
|
attr_accessor :q
|
10
10
|
|
11
11
|
# Sort criteria. Can be one of: key_name, created_at, updated_at.
|
@@ -8,7 +8,7 @@ module Phrase
|
|
8
8
|
# specify the locale of the translations to be verified
|
9
9
|
attr_accessor :locale_id
|
10
10
|
|
11
|
-
# Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
11
|
+
# Specify a query to find translations by content (including wildcards).<br><br> <i>Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).</i><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
|
12
12
|
attr_accessor :q
|
13
13
|
|
14
14
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/phrase/version.rb
CHANGED
data/lib/phrase.rb
CHANGED
@@ -86,12 +86,13 @@ require 'phrase/models/job_reopen_parameters'
|
|
86
86
|
require 'phrase/models/job_start_parameters'
|
87
87
|
require 'phrase/models/job_template'
|
88
88
|
require 'phrase/models/job_template_create_parameters'
|
89
|
-
require 'phrase/models/
|
89
|
+
require 'phrase/models/job_template_details'
|
90
|
+
require 'phrase/models/job_template_details1'
|
90
91
|
require 'phrase/models/job_template_locale_update_parameters'
|
92
|
+
require 'phrase/models/job_template_locales'
|
91
93
|
require 'phrase/models/job_template_locales_create_parameters'
|
92
94
|
require 'phrase/models/job_template_preview'
|
93
95
|
require 'phrase/models/job_template_update_parameters'
|
94
|
-
require 'phrase/models/job_template_user_preview'
|
95
96
|
require 'phrase/models/job_update_parameters'
|
96
97
|
require 'phrase/models/key_create_parameters'
|
97
98
|
require 'phrase/models/key_preview'
|
@@ -108,7 +109,9 @@ require 'phrase/models/locale_details1'
|
|
108
109
|
require 'phrase/models/locale_preview'
|
109
110
|
require 'phrase/models/locale_preview1'
|
110
111
|
require 'phrase/models/locale_statistics'
|
112
|
+
require 'phrase/models/locale_team_preview'
|
111
113
|
require 'phrase/models/locale_update_parameters'
|
114
|
+
require 'phrase/models/locale_user_preview'
|
112
115
|
require 'phrase/models/member'
|
113
116
|
require 'phrase/models/member_project_detail'
|
114
117
|
require 'phrase/models/member_project_detail_project_roles'
|
@@ -120,6 +123,12 @@ require 'phrase/models/notification_group'
|
|
120
123
|
require 'phrase/models/notification_group_detail'
|
121
124
|
require 'phrase/models/order_confirm_parameters'
|
122
125
|
require 'phrase/models/order_create_parameters'
|
126
|
+
require 'phrase/models/organization_job_template'
|
127
|
+
require 'phrase/models/organization_job_template_create_parameters'
|
128
|
+
require 'phrase/models/organization_job_template_details'
|
129
|
+
require 'phrase/models/organization_job_template_locale_update_parameters'
|
130
|
+
require 'phrase/models/organization_job_template_locales_create_parameters'
|
131
|
+
require 'phrase/models/organization_job_template_update_parameters'
|
123
132
|
require 'phrase/models/project'
|
124
133
|
require 'phrase/models/project_create_parameters'
|
125
134
|
require 'phrase/models/project_details'
|
@@ -230,6 +239,8 @@ require 'phrase/api/members_api'
|
|
230
239
|
require 'phrase/api/notification_groups_api'
|
231
240
|
require 'phrase/api/notifications_api'
|
232
241
|
require 'phrase/api/orders_api'
|
242
|
+
require 'phrase/api/organization_job_template_locales_api'
|
243
|
+
require 'phrase/api/organization_job_templates_api'
|
233
244
|
require 'phrase/api/projects_api'
|
234
245
|
require 'phrase/api/releases_api'
|
235
246
|
require 'phrase/api/screenshot_markers_api'
|
@@ -22,7 +22,7 @@ describe 'BitbucketSyncApi' do
|
|
22
22
|
|
23
23
|
# unit tests for bitbucket_sync_export
|
24
24
|
# Export from Phrase Strings to Bitbucket
|
25
|
-
# Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
|
25
|
+
# 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>
|
26
26
|
# @param id ID
|
27
27
|
# @param bitbucket_sync_export_parameters
|
28
28
|
# @param [Hash] opts the optional parameters
|
@@ -36,7 +36,7 @@ describe 'BitbucketSyncApi' do
|
|
36
36
|
|
37
37
|
# unit tests for bitbucket_sync_import
|
38
38
|
# Import to Phrase Strings from Bitbucket
|
39
|
-
# Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository.
|
39
|
+
# 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>
|
40
40
|
# @param id ID
|
41
41
|
# @param bitbucket_sync_import_parameters
|
42
42
|
# @param [Hash] opts the optional parameters
|
@@ -22,7 +22,7 @@ describe 'BranchesApi' do
|
|
22
22
|
|
23
23
|
# unit tests for branch_compare
|
24
24
|
# Compare branches
|
25
|
-
# Compare branch with main branch.
|
25
|
+
# Compare branch with main branch. <br><br><i>Note: Comparing a branch may take several minutes depending on the project size.</i>
|
26
26
|
# @param project_id Project ID
|
27
27
|
# @param name name
|
28
28
|
# @param [Hash] opts the optional parameters
|
@@ -36,7 +36,7 @@ describe 'BranchesApi' do
|
|
36
36
|
|
37
37
|
# unit tests for branch_create
|
38
38
|
# Create a branch
|
39
|
-
# Create a new branch.
|
39
|
+
# Create a new branch. <br><br><i>Note: Creating a new branch may take several minutes depending on the project size.</i>
|
40
40
|
# @param project_id Project ID
|
41
41
|
# @param branch_create_parameters
|
42
42
|
# @param [Hash] opts the optional parameters
|
@@ -64,7 +64,7 @@ describe 'BranchesApi' do
|
|
64
64
|
|
65
65
|
# unit tests for branch_merge
|
66
66
|
# Merge a branch
|
67
|
-
# Merge an existing branch.
|
67
|
+
# Merge an existing branch. <br><br><i>Note: Merging a branch may take several minutes depending on diff size.</i>
|
68
68
|
# @param project_id Project ID
|
69
69
|
# @param name name
|
70
70
|
# @param branch_merge_parameters
|