@@ -14,13 +14,21 @@ class JobLocaleUpdateParameters
14
14
# Array of reviewer ids to be assigned to the job locale as reviewers
15
15
attr_accessor :reviewer_ids
16
16
17
+ # Array of team ids to be assigned to the job locale as translators
18
+ attr_accessor :translator_team_ids
19
+
20
+ # Array of team ids to be assigned to the job locale as reviewers
21
+ attr_accessor :reviewer_team_ids
22
+
17
23
# Attribute mapping from ruby-style variable name to JSON key.
18
24
def self . attribute_map
19
25
{
20
26
:'branch' => :'branch' ,
21
27
:'locale_id' => :'locale_id' ,
22
28
:'user_ids' => :'user_ids' ,
23
- :'reviewer_ids' => :'reviewer_ids'
29
+ :'reviewer_ids' => :'reviewer_ids' ,
30
+ :'translator_team_ids' => :'translator_team_ids' ,
31
+ :'reviewer_team_ids' => :'reviewer_team_ids'
24
32
}
25
33
end
26
34
@@ -30,7 +38,9 @@ def self.openapi_types
30
38
:'branch' => :'String' ,
31
39
:'locale_id' => :'String' ,
32
40
:'user_ids' => :'Array<String>' ,
33
- :'reviewer_ids' => :'Array<String>'
41
+ :'reviewer_ids' => :'Array<String>' ,
42
+ :'translator_team_ids' => :'Array<String>' ,
43
+ :'reviewer_team_ids' => :'Array<String>'
34
44
}
35
45
end
36
46
@@ -74,6 +84,18 @@ def initialize(attributes = {})
74
84
self . reviewer_ids = value
75
85
end
76
86
end
87
+
88
+ if attributes . key? ( :'translator_team_ids' )
89
+ if ( value = attributes [ :'translator_team_ids' ] ) . is_a? ( Array )
90
+ self . translator_team_ids = value
91
+ end
92
+ end
93
+
94
+ if attributes . key? ( :'reviewer_team_ids' )
95
+ if ( value = attributes [ :'reviewer_team_ids' ] ) . is_a? ( Array )
96
+ self . reviewer_team_ids = value
97
+ end
98
+ end
77
99
end
78
100
79
101
# Show invalid properties with the reasons. Usually used together with valid?
@@ -97,7 +119,9 @@ def ==(o)
97
119
branch == o . branch &&
98
120
locale_id == o . locale_id &&
99
121
user_ids == o . user_ids &&
100
- reviewer_ids == o . reviewer_ids
122
+ reviewer_ids == o . reviewer_ids &&
123
+ translator_team_ids == o . translator_team_ids &&
124
+ reviewer_team_ids == o . reviewer_team_ids
101
125
end
102
126
103
127
# @see the `==` method
@@ -109,7 +133,7 @@ def eql?(o)
109
133
# Calculates hash code according to all attributes.
110
134
# @return [Integer] Hash code
111
135
def hash
112
- [ branch , locale_id , user_ids , reviewer_ids ] . hash
136
+ [ branch , locale_id , user_ids , reviewer_ids , translator_team_ids , reviewer_team_ids ] . hash
113
137
end
114
138
115
139
# Builds the object from hash
0 commit comments