phrase 1.0.9 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/README.md +18 -3
 - data/docs/Invitation.md +9 -1
 - data/docs/InvitationCreateParameters.md +4 -0
 - data/docs/InvitationUpdateParameters.md +4 -0
 - data/docs/InvitationUpdateSettingsParameters.md +19 -0
 - data/docs/InvitationsApi.md +66 -0
 - data/docs/JobLocale.md +3 -1
 - data/docs/Member.md +7 -1
 - data/docs/MemberProjectDetail.md +35 -0
 - data/docs/MemberProjectDetailProjectRoles.md +19 -0
 - data/docs/MemberSpaces.md +25 -0
 - data/docs/MemberUpdateParameters.md +4 -0
 - data/docs/MemberUpdateSettingsParameters.md +19 -0
 - data/docs/MembersApi.md +66 -0
 - data/docs/ProjectUpdateParameters.md +43 -9
 - data/docs/ScreenshotCreateParameters.md +3 -1
 - data/docs/ScreenshotMarkerCreateParameters.md +3 -1
 - data/docs/ScreenshotMarkerUpdateParameters.md +3 -1
 - data/docs/ScreenshotMarkersApi.md +9 -3
 - data/docs/ScreenshotUpdateParameters.md +3 -1
 - data/docs/ScreenshotsApi.md +8 -2
 - data/docs/Variable.md +23 -0
 - data/docs/VariableCreateParameters.md +19 -0
 - data/docs/VariableUpdateParameters.md +19 -0
 - data/docs/VariablesApi.md +331 -0
 - data/lib/phrase.rb +9 -0
 - data/lib/phrase/api/invitations_api.rb +80 -0
 - data/lib/phrase/api/members_api.rb +80 -0
 - data/lib/phrase/api/screenshot_markers_api.rb +9 -0
 - data/lib/phrase/api/screenshots_api.rb +9 -0
 - data/lib/phrase/api/variables_api.rb +378 -0
 - data/lib/phrase/models/invitation.rb +48 -4
 - data/lib/phrase/models/invitation_create_parameters.rb +25 -1
 - data/lib/phrase/models/invitation_update_parameters.rb +25 -1
 - data/lib/phrase/models/invitation_update_settings_parameters.rb +207 -0
 - data/lib/phrase/models/job_locale.rb +13 -4
 - data/lib/phrase/models/member.rb +35 -4
 - data/lib/phrase/models/member_project_detail.rb +285 -0
 - data/lib/phrase/models/member_project_detail_project_roles.rb +203 -0
 - data/lib/phrase/models/member_spaces.rb +230 -0
 - data/lib/phrase/models/member_update_parameters.rb +25 -1
 - data/lib/phrase/models/member_update_settings_parameters.rb +207 -0
 - data/lib/phrase/models/project_update_parameters.rb +183 -13
 - data/lib/phrase/models/screenshot_create_parameters.rb +11 -1
 - data/lib/phrase/models/screenshot_marker_create_parameters.rb +11 -1
 - data/lib/phrase/models/screenshot_marker_update_parameters.rb +11 -1
 - data/lib/phrase/models/screenshot_update_parameters.rb +11 -1
 - data/lib/phrase/models/variable.rb +221 -0
 - data/lib/phrase/models/variable_create_parameters.rb +205 -0
 - data/lib/phrase/models/variable_update_parameters.rb +205 -0
 - data/lib/phrase/version.rb +1 -1
 - data/spec/api/invitations_api_spec.rb +15 -0
 - data/spec/api/members_api_spec.rb +15 -0
 - data/spec/api/screenshot_markers_api_spec.rb +3 -0
 - data/spec/api/screenshots_api_spec.rb +3 -0
 - data/spec/api/variables_api_spec.rb +95 -0
 - data/spec/models/invitation_create_parameters_spec.rb +12 -0
 - data/spec/models/invitation_spec.rb +24 -0
 - data/spec/models/invitation_update_parameters_spec.rb +12 -0
 - data/spec/models/invitation_update_settings_parameters_spec.rb +35 -0
 - data/spec/models/job_locale_spec.rb +6 -0
 - data/spec/models/member_project_detail_project_roles_spec.rb +35 -0
 - data/spec/models/member_project_detail_spec.rb +83 -0
 - data/spec/models/member_spaces_spec.rb +53 -0
 - data/spec/models/member_spec.rb +18 -0
 - data/spec/models/member_update_parameters_spec.rb +12 -0
 - data/spec/models/member_update_settings_parameters_spec.rb +35 -0
 - data/spec/models/project_update_parameters_spec.rb +103 -1
 - data/spec/models/screenshot_create_parameters_spec.rb +6 -0
 - data/spec/models/screenshot_marker_create_parameters_spec.rb +6 -0
 - data/spec/models/screenshot_marker_update_parameters_spec.rb +6 -0
 - data/spec/models/screenshot_update_parameters_spec.rb +6 -0
 - data/spec/models/variable_create_parameters_spec.rb +35 -0
 - data/spec/models/variable_spec.rb +47 -0
 - data/spec/models/variable_update_parameters_spec.rb +35 -0
 - metadata +196 -160
 
| 
         @@ -2,45 +2,130 @@ require 'date' 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            module Phrase
         
     | 
| 
       4 
4 
     | 
    
         
             
              class ProjectUpdateParameters
         
     | 
| 
       5 
     | 
    
         
            -
                #  
     | 
| 
      
 5 
     | 
    
         
            +
                # Required if the requesting user is a member of multiple accounts. Account ID to specify the actual account the project should be created in.
         
     | 
| 
      
 6 
     | 
    
         
            +
                attr_accessor :account_id
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
                # (Optional) Name of the project
         
     | 
| 
       6 
9 
     | 
    
         
             
                attr_accessor :name
         
     | 
| 
       7 
10 
     | 
    
         | 
| 
       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://help.phrase.com/help/supported-platforms-and-formats\">Format Guide</a> or our <a href=\"#formats\">Formats API Endpoint</a>.
         
     | 
| 
      
 11 
     | 
    
         
            +
                # (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://help.phrase.com/help/supported-platforms-and-formats\">Format Guide</a> or our <a href=\"#formats\">Formats API Endpoint</a>.
         
     | 
| 
       9 
12 
     | 
    
         
             
                attr_accessor :main_format
         
     | 
| 
       10 
13 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
                # Indicates whether the project should share the account's translation memory
         
     | 
| 
      
 14 
     | 
    
         
            +
                # (Optional) Indicates whether the project should share the account's translation memory
         
     | 
| 
       12 
15 
     | 
    
         
             
                attr_accessor :shares_translation_memory
         
     | 
| 
       13 
16 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
                # Image to identify the project
         
     | 
| 
      
 17 
     | 
    
         
            +
                # (Optional) Image to identify the project
         
     | 
| 
       15 
18 
     | 
    
         
             
                attr_accessor :project_image
         
     | 
| 
       16 
19 
     | 
    
         | 
| 
       17 
     | 
    
         
            -
                # Indicates whether the project image should be deleted.
         
     | 
| 
      
 20 
     | 
    
         
            +
                # (Optional) Indicates whether the project image should be deleted.
         
     | 
| 
       18 
21 
     | 
    
         
             
                attr_accessor :remove_project_image
         
     | 
| 
       19 
22 
     | 
    
         | 
| 
       20 
     | 
    
         
            -
                #  
     | 
| 
       21 
     | 
    
         
            -
                attr_accessor : 
     | 
| 
      
 23 
     | 
    
         
            +
                # (Optional) Review Workflow. \"simple\" / \"review\". <a href=\"https://help.phrase.com/help/advanced-review-workflow\">Read more</a>
         
     | 
| 
      
 24 
     | 
    
         
            +
                attr_accessor :workflow
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
                # (Optional) Enable machine translation support in the project. Required for Autopilot and Smart Suggest
         
     | 
| 
      
 27 
     | 
    
         
            +
                attr_accessor :machine_translation_enabled
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
                # (Optional) Enable branching in the project
         
     | 
| 
      
 30 
     | 
    
         
            +
                attr_accessor :enable_branching
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
                # (Optional) Protect the master branch in project where branching is enabled
         
     | 
| 
      
 33 
     | 
    
         
            +
                attr_accessor :protect_master_branch
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
                # (Optional) Otherwise, translators are not allowed to edit translations other than strings
         
     | 
| 
      
 36 
     | 
    
         
            +
                attr_accessor :enable_all_data_type_translation_keys_for_translators
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
                # (Optional) We can validate and highlight your ICU messages. <a href=\"https://help.phrase.com/help/icu-message-format\">Read more</a>
         
     | 
| 
      
 39 
     | 
    
         
            +
                attr_accessor :enable_icu_message_format
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
                # (Optional) Displays the input fields for the 'ZERO' plural form for every key as well although only some languages require the 'ZERO' explicitly.
         
     | 
| 
      
 42 
     | 
    
         
            +
                attr_accessor :zero_plural_form_enabled
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
                # (Optional) Autopilot, requires machine_translation_enabled. <a href=\"https://help.phrase.com/help/autopilot\">Read more</a>
         
     | 
| 
      
 45 
     | 
    
         
            +
                attr_accessor :autotranslate_enabled
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
                # (Optional) Requires autotranslate_enabled to be true
         
     | 
| 
      
 48 
     | 
    
         
            +
                attr_accessor :autotranslate_check_new_translation_keys
         
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
                # (Optional) Requires autotranslate_enabled to be true
         
     | 
| 
      
 51 
     | 
    
         
            +
                attr_accessor :autotranslate_check_new_uploads
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
                # (Optional) Requires autotranslate_enabled to be true
         
     | 
| 
      
 54 
     | 
    
         
            +
                attr_accessor :autotranslate_check_new_locales
         
     | 
| 
      
 55 
     | 
    
         
            +
             
     | 
| 
      
 56 
     | 
    
         
            +
                # (Optional) Requires autotranslate_enabled to be true
         
     | 
| 
      
 57 
     | 
    
         
            +
                attr_accessor :autotranslate_mark_as_unverified
         
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
                # (Optional) Requires autotranslate_enabled to be true
         
     | 
| 
      
 60 
     | 
    
         
            +
                attr_accessor :autotranslate_use_machine_translation
         
     | 
| 
      
 61 
     | 
    
         
            +
             
     | 
| 
      
 62 
     | 
    
         
            +
                # (Optional) Requires autotranslate_enabled to be true
         
     | 
| 
      
 63 
     | 
    
         
            +
                attr_accessor :autotranslate_use_translation_memory
         
     | 
| 
      
 64 
     | 
    
         
            +
             
     | 
| 
      
 65 
     | 
    
         
            +
                # (Optional) Smart Suggest, requires machine_translation_enabled
         
     | 
| 
      
 66 
     | 
    
         
            +
                attr_accessor :smart_suggest_enabled
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
                # (Optional) Requires smart_suggest_enabled to be true
         
     | 
| 
      
 69 
     | 
    
         
            +
                attr_accessor :smart_suggest_use_glossary
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
                # (Optional) Requires smart_suggest_enabled to be true
         
     | 
| 
      
 72 
     | 
    
         
            +
                attr_accessor :smart_suggest_use_machine_translation
         
     | 
| 
       22 
73 
     | 
    
         | 
| 
       23 
74 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       24 
75 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       25 
76 
     | 
    
         
             
                  {
         
     | 
| 
      
 77 
     | 
    
         
            +
                    :'account_id' => :'account_id',
         
     | 
| 
       26 
78 
     | 
    
         
             
                    :'name' => :'name',
         
     | 
| 
       27 
79 
     | 
    
         
             
                    :'main_format' => :'main_format',
         
     | 
| 
       28 
80 
     | 
    
         
             
                    :'shares_translation_memory' => :'shares_translation_memory',
         
     | 
| 
       29 
81 
     | 
    
         
             
                    :'project_image' => :'project_image',
         
     | 
| 
       30 
82 
     | 
    
         
             
                    :'remove_project_image' => :'remove_project_image',
         
     | 
| 
       31 
     | 
    
         
            -
                    :' 
     | 
| 
      
 83 
     | 
    
         
            +
                    :'workflow' => :'workflow',
         
     | 
| 
      
 84 
     | 
    
         
            +
                    :'machine_translation_enabled' => :'machine_translation_enabled',
         
     | 
| 
      
 85 
     | 
    
         
            +
                    :'enable_branching' => :'enable_branching',
         
     | 
| 
      
 86 
     | 
    
         
            +
                    :'protect_master_branch' => :'protect_master_branch',
         
     | 
| 
      
 87 
     | 
    
         
            +
                    :'enable_all_data_type_translation_keys_for_translators' => :'enable_all_data_type_translation_keys_for_translators',
         
     | 
| 
      
 88 
     | 
    
         
            +
                    :'enable_icu_message_format' => :'enable_icu_message_format',
         
     | 
| 
      
 89 
     | 
    
         
            +
                    :'zero_plural_form_enabled' => :'zero_plural_form_enabled',
         
     | 
| 
      
 90 
     | 
    
         
            +
                    :'autotranslate_enabled' => :'autotranslate_enabled',
         
     | 
| 
      
 91 
     | 
    
         
            +
                    :'autotranslate_check_new_translation_keys' => :'autotranslate_check_new_translation_keys',
         
     | 
| 
      
 92 
     | 
    
         
            +
                    :'autotranslate_check_new_uploads' => :'autotranslate_check_new_uploads',
         
     | 
| 
      
 93 
     | 
    
         
            +
                    :'autotranslate_check_new_locales' => :'autotranslate_check_new_locales',
         
     | 
| 
      
 94 
     | 
    
         
            +
                    :'autotranslate_mark_as_unverified' => :'autotranslate_mark_as_unverified',
         
     | 
| 
      
 95 
     | 
    
         
            +
                    :'autotranslate_use_machine_translation' => :'autotranslate_use_machine_translation',
         
     | 
| 
      
 96 
     | 
    
         
            +
                    :'autotranslate_use_translation_memory' => :'autotranslate_use_translation_memory',
         
     | 
| 
      
 97 
     | 
    
         
            +
                    :'smart_suggest_enabled' => :'smart_suggest_enabled',
         
     | 
| 
      
 98 
     | 
    
         
            +
                    :'smart_suggest_use_glossary' => :'smart_suggest_use_glossary',
         
     | 
| 
      
 99 
     | 
    
         
            +
                    :'smart_suggest_use_machine_translation' => :'smart_suggest_use_machine_translation'
         
     | 
| 
       32 
100 
     | 
    
         
             
                  }
         
     | 
| 
       33 
101 
     | 
    
         
             
                end
         
     | 
| 
       34 
102 
     | 
    
         | 
| 
       35 
103 
     | 
    
         
             
                # Attribute type mapping.
         
     | 
| 
       36 
104 
     | 
    
         
             
                def self.openapi_types
         
     | 
| 
       37 
105 
     | 
    
         
             
                  {
         
     | 
| 
      
 106 
     | 
    
         
            +
                    :'account_id' => :'String',
         
     | 
| 
       38 
107 
     | 
    
         
             
                    :'name' => :'String',
         
     | 
| 
       39 
108 
     | 
    
         
             
                    :'main_format' => :'String',
         
     | 
| 
       40 
109 
     | 
    
         
             
                    :'shares_translation_memory' => :'Boolean',
         
     | 
| 
       41 
110 
     | 
    
         
             
                    :'project_image' => :'File',
         
     | 
| 
       42 
111 
     | 
    
         
             
                    :'remove_project_image' => :'Boolean',
         
     | 
| 
       43 
     | 
    
         
            -
                    :' 
     | 
| 
      
 112 
     | 
    
         
            +
                    :'workflow' => :'String',
         
     | 
| 
      
 113 
     | 
    
         
            +
                    :'machine_translation_enabled' => :'Boolean',
         
     | 
| 
      
 114 
     | 
    
         
            +
                    :'enable_branching' => :'Boolean',
         
     | 
| 
      
 115 
     | 
    
         
            +
                    :'protect_master_branch' => :'Boolean',
         
     | 
| 
      
 116 
     | 
    
         
            +
                    :'enable_all_data_type_translation_keys_for_translators' => :'Boolean',
         
     | 
| 
      
 117 
     | 
    
         
            +
                    :'enable_icu_message_format' => :'Boolean',
         
     | 
| 
      
 118 
     | 
    
         
            +
                    :'zero_plural_form_enabled' => :'Boolean',
         
     | 
| 
      
 119 
     | 
    
         
            +
                    :'autotranslate_enabled' => :'Boolean',
         
     | 
| 
      
 120 
     | 
    
         
            +
                    :'autotranslate_check_new_translation_keys' => :'Boolean',
         
     | 
| 
      
 121 
     | 
    
         
            +
                    :'autotranslate_check_new_uploads' => :'Boolean',
         
     | 
| 
      
 122 
     | 
    
         
            +
                    :'autotranslate_check_new_locales' => :'Boolean',
         
     | 
| 
      
 123 
     | 
    
         
            +
                    :'autotranslate_mark_as_unverified' => :'Boolean',
         
     | 
| 
      
 124 
     | 
    
         
            +
                    :'autotranslate_use_machine_translation' => :'Boolean',
         
     | 
| 
      
 125 
     | 
    
         
            +
                    :'autotranslate_use_translation_memory' => :'Boolean',
         
     | 
| 
      
 126 
     | 
    
         
            +
                    :'smart_suggest_enabled' => :'Boolean',
         
     | 
| 
      
 127 
     | 
    
         
            +
                    :'smart_suggest_use_glossary' => :'Boolean',
         
     | 
| 
      
 128 
     | 
    
         
            +
                    :'smart_suggest_use_machine_translation' => :'Boolean'
         
     | 
| 
       44 
129 
     | 
    
         
             
                  }
         
     | 
| 
       45 
130 
     | 
    
         
             
                end
         
     | 
| 
       46 
131 
     | 
    
         | 
| 
         @@ -65,6 +150,10 @@ module Phrase 
     | 
|
| 
       65 
150 
     | 
    
         
             
                    h[k.to_sym] = v
         
     | 
| 
       66 
151 
     | 
    
         
             
                  }
         
     | 
| 
       67 
152 
     | 
    
         | 
| 
      
 153 
     | 
    
         
            +
                  if attributes.key?(:'account_id')
         
     | 
| 
      
 154 
     | 
    
         
            +
                    self.account_id = attributes[:'account_id']
         
     | 
| 
      
 155 
     | 
    
         
            +
                  end
         
     | 
| 
      
 156 
     | 
    
         
            +
             
     | 
| 
       68 
157 
     | 
    
         
             
                  if attributes.key?(:'name')
         
     | 
| 
       69 
158 
     | 
    
         
             
                    self.name = attributes[:'name']
         
     | 
| 
       70 
159 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -85,8 +174,72 @@ module Phrase 
     | 
|
| 
       85 
174 
     | 
    
         
             
                    self.remove_project_image = attributes[:'remove_project_image']
         
     | 
| 
       86 
175 
     | 
    
         
             
                  end
         
     | 
| 
       87 
176 
     | 
    
         | 
| 
       88 
     | 
    
         
            -
                  if attributes.key?(:' 
     | 
| 
       89 
     | 
    
         
            -
                    self. 
     | 
| 
      
 177 
     | 
    
         
            +
                  if attributes.key?(:'workflow')
         
     | 
| 
      
 178 
     | 
    
         
            +
                    self.workflow = attributes[:'workflow']
         
     | 
| 
      
 179 
     | 
    
         
            +
                  end
         
     | 
| 
      
 180 
     | 
    
         
            +
             
     | 
| 
      
 181 
     | 
    
         
            +
                  if attributes.key?(:'machine_translation_enabled')
         
     | 
| 
      
 182 
     | 
    
         
            +
                    self.machine_translation_enabled = attributes[:'machine_translation_enabled']
         
     | 
| 
      
 183 
     | 
    
         
            +
                  end
         
     | 
| 
      
 184 
     | 
    
         
            +
             
     | 
| 
      
 185 
     | 
    
         
            +
                  if attributes.key?(:'enable_branching')
         
     | 
| 
      
 186 
     | 
    
         
            +
                    self.enable_branching = attributes[:'enable_branching']
         
     | 
| 
      
 187 
     | 
    
         
            +
                  end
         
     | 
| 
      
 188 
     | 
    
         
            +
             
     | 
| 
      
 189 
     | 
    
         
            +
                  if attributes.key?(:'protect_master_branch')
         
     | 
| 
      
 190 
     | 
    
         
            +
                    self.protect_master_branch = attributes[:'protect_master_branch']
         
     | 
| 
      
 191 
     | 
    
         
            +
                  end
         
     | 
| 
      
 192 
     | 
    
         
            +
             
     | 
| 
      
 193 
     | 
    
         
            +
                  if attributes.key?(:'enable_all_data_type_translation_keys_for_translators')
         
     | 
| 
      
 194 
     | 
    
         
            +
                    self.enable_all_data_type_translation_keys_for_translators = attributes[:'enable_all_data_type_translation_keys_for_translators']
         
     | 
| 
      
 195 
     | 
    
         
            +
                  end
         
     | 
| 
      
 196 
     | 
    
         
            +
             
     | 
| 
      
 197 
     | 
    
         
            +
                  if attributes.key?(:'enable_icu_message_format')
         
     | 
| 
      
 198 
     | 
    
         
            +
                    self.enable_icu_message_format = attributes[:'enable_icu_message_format']
         
     | 
| 
      
 199 
     | 
    
         
            +
                  end
         
     | 
| 
      
 200 
     | 
    
         
            +
             
     | 
| 
      
 201 
     | 
    
         
            +
                  if attributes.key?(:'zero_plural_form_enabled')
         
     | 
| 
      
 202 
     | 
    
         
            +
                    self.zero_plural_form_enabled = attributes[:'zero_plural_form_enabled']
         
     | 
| 
      
 203 
     | 
    
         
            +
                  end
         
     | 
| 
      
 204 
     | 
    
         
            +
             
     | 
| 
      
 205 
     | 
    
         
            +
                  if attributes.key?(:'autotranslate_enabled')
         
     | 
| 
      
 206 
     | 
    
         
            +
                    self.autotranslate_enabled = attributes[:'autotranslate_enabled']
         
     | 
| 
      
 207 
     | 
    
         
            +
                  end
         
     | 
| 
      
 208 
     | 
    
         
            +
             
     | 
| 
      
 209 
     | 
    
         
            +
                  if attributes.key?(:'autotranslate_check_new_translation_keys')
         
     | 
| 
      
 210 
     | 
    
         
            +
                    self.autotranslate_check_new_translation_keys = attributes[:'autotranslate_check_new_translation_keys']
         
     | 
| 
      
 211 
     | 
    
         
            +
                  end
         
     | 
| 
      
 212 
     | 
    
         
            +
             
     | 
| 
      
 213 
     | 
    
         
            +
                  if attributes.key?(:'autotranslate_check_new_uploads')
         
     | 
| 
      
 214 
     | 
    
         
            +
                    self.autotranslate_check_new_uploads = attributes[:'autotranslate_check_new_uploads']
         
     | 
| 
      
 215 
     | 
    
         
            +
                  end
         
     | 
| 
      
 216 
     | 
    
         
            +
             
     | 
| 
      
 217 
     | 
    
         
            +
                  if attributes.key?(:'autotranslate_check_new_locales')
         
     | 
| 
      
 218 
     | 
    
         
            +
                    self.autotranslate_check_new_locales = attributes[:'autotranslate_check_new_locales']
         
     | 
| 
      
 219 
     | 
    
         
            +
                  end
         
     | 
| 
      
 220 
     | 
    
         
            +
             
     | 
| 
      
 221 
     | 
    
         
            +
                  if attributes.key?(:'autotranslate_mark_as_unverified')
         
     | 
| 
      
 222 
     | 
    
         
            +
                    self.autotranslate_mark_as_unverified = attributes[:'autotranslate_mark_as_unverified']
         
     | 
| 
      
 223 
     | 
    
         
            +
                  end
         
     | 
| 
      
 224 
     | 
    
         
            +
             
     | 
| 
      
 225 
     | 
    
         
            +
                  if attributes.key?(:'autotranslate_use_machine_translation')
         
     | 
| 
      
 226 
     | 
    
         
            +
                    self.autotranslate_use_machine_translation = attributes[:'autotranslate_use_machine_translation']
         
     | 
| 
      
 227 
     | 
    
         
            +
                  end
         
     | 
| 
      
 228 
     | 
    
         
            +
             
     | 
| 
      
 229 
     | 
    
         
            +
                  if attributes.key?(:'autotranslate_use_translation_memory')
         
     | 
| 
      
 230 
     | 
    
         
            +
                    self.autotranslate_use_translation_memory = attributes[:'autotranslate_use_translation_memory']
         
     | 
| 
      
 231 
     | 
    
         
            +
                  end
         
     | 
| 
      
 232 
     | 
    
         
            +
             
     | 
| 
      
 233 
     | 
    
         
            +
                  if attributes.key?(:'smart_suggest_enabled')
         
     | 
| 
      
 234 
     | 
    
         
            +
                    self.smart_suggest_enabled = attributes[:'smart_suggest_enabled']
         
     | 
| 
      
 235 
     | 
    
         
            +
                  end
         
     | 
| 
      
 236 
     | 
    
         
            +
             
     | 
| 
      
 237 
     | 
    
         
            +
                  if attributes.key?(:'smart_suggest_use_glossary')
         
     | 
| 
      
 238 
     | 
    
         
            +
                    self.smart_suggest_use_glossary = attributes[:'smart_suggest_use_glossary']
         
     | 
| 
      
 239 
     | 
    
         
            +
                  end
         
     | 
| 
      
 240 
     | 
    
         
            +
             
     | 
| 
      
 241 
     | 
    
         
            +
                  if attributes.key?(:'smart_suggest_use_machine_translation')
         
     | 
| 
      
 242 
     | 
    
         
            +
                    self.smart_suggest_use_machine_translation = attributes[:'smart_suggest_use_machine_translation']
         
     | 
| 
       90 
243 
     | 
    
         
             
                  end
         
     | 
| 
       91 
244 
     | 
    
         
             
                end
         
     | 
| 
       92 
245 
     | 
    
         | 
| 
         @@ -108,12 +261,29 @@ module Phrase 
     | 
|
| 
       108 
261 
     | 
    
         
             
                def ==(o)
         
     | 
| 
       109 
262 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       110 
263 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
      
 264 
     | 
    
         
            +
                      account_id == o.account_id &&
         
     | 
| 
       111 
265 
     | 
    
         
             
                      name == o.name &&
         
     | 
| 
       112 
266 
     | 
    
         
             
                      main_format == o.main_format &&
         
     | 
| 
       113 
267 
     | 
    
         
             
                      shares_translation_memory == o.shares_translation_memory &&
         
     | 
| 
       114 
268 
     | 
    
         
             
                      project_image == o.project_image &&
         
     | 
| 
       115 
269 
     | 
    
         
             
                      remove_project_image == o.remove_project_image &&
         
     | 
| 
       116 
     | 
    
         
            -
                       
     | 
| 
      
 270 
     | 
    
         
            +
                      workflow == o.workflow &&
         
     | 
| 
      
 271 
     | 
    
         
            +
                      machine_translation_enabled == o.machine_translation_enabled &&
         
     | 
| 
      
 272 
     | 
    
         
            +
                      enable_branching == o.enable_branching &&
         
     | 
| 
      
 273 
     | 
    
         
            +
                      protect_master_branch == o.protect_master_branch &&
         
     | 
| 
      
 274 
     | 
    
         
            +
                      enable_all_data_type_translation_keys_for_translators == o.enable_all_data_type_translation_keys_for_translators &&
         
     | 
| 
      
 275 
     | 
    
         
            +
                      enable_icu_message_format == o.enable_icu_message_format &&
         
     | 
| 
      
 276 
     | 
    
         
            +
                      zero_plural_form_enabled == o.zero_plural_form_enabled &&
         
     | 
| 
      
 277 
     | 
    
         
            +
                      autotranslate_enabled == o.autotranslate_enabled &&
         
     | 
| 
      
 278 
     | 
    
         
            +
                      autotranslate_check_new_translation_keys == o.autotranslate_check_new_translation_keys &&
         
     | 
| 
      
 279 
     | 
    
         
            +
                      autotranslate_check_new_uploads == o.autotranslate_check_new_uploads &&
         
     | 
| 
      
 280 
     | 
    
         
            +
                      autotranslate_check_new_locales == o.autotranslate_check_new_locales &&
         
     | 
| 
      
 281 
     | 
    
         
            +
                      autotranslate_mark_as_unverified == o.autotranslate_mark_as_unverified &&
         
     | 
| 
      
 282 
     | 
    
         
            +
                      autotranslate_use_machine_translation == o.autotranslate_use_machine_translation &&
         
     | 
| 
      
 283 
     | 
    
         
            +
                      autotranslate_use_translation_memory == o.autotranslate_use_translation_memory &&
         
     | 
| 
      
 284 
     | 
    
         
            +
                      smart_suggest_enabled == o.smart_suggest_enabled &&
         
     | 
| 
      
 285 
     | 
    
         
            +
                      smart_suggest_use_glossary == o.smart_suggest_use_glossary &&
         
     | 
| 
      
 286 
     | 
    
         
            +
                      smart_suggest_use_machine_translation == o.smart_suggest_use_machine_translation
         
     | 
| 
       117 
287 
     | 
    
         
             
                end
         
     | 
| 
       118 
288 
     | 
    
         | 
| 
       119 
289 
     | 
    
         
             
                # @see the `==` method
         
     | 
| 
         @@ -125,7 +295,7 @@ module Phrase 
     | 
|
| 
       125 
295 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       126 
296 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       127 
297 
     | 
    
         
             
                def hash
         
     | 
| 
       128 
     | 
    
         
            -
                  [name, main_format, shares_translation_memory, project_image, remove_project_image,  
     | 
| 
      
 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
         
     | 
| 
       129 
299 
     | 
    
         
             
                end
         
     | 
| 
       130 
300 
     | 
    
         | 
| 
       131 
301 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -2,6 +2,9 @@ require 'date' 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            module Phrase
         
     | 
| 
       4 
4 
     | 
    
         
             
              class ScreenshotCreateParameters
         
     | 
| 
      
 5 
     | 
    
         
            +
                # specify the branch to use
         
     | 
| 
      
 6 
     | 
    
         
            +
                attr_accessor :branch
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
       5 
8 
     | 
    
         
             
                # Name of the screenshot
         
     | 
| 
       6 
9 
     | 
    
         
             
                attr_accessor :name
         
     | 
| 
       7 
10 
     | 
    
         | 
| 
         @@ -14,6 +17,7 @@ module Phrase 
     | 
|
| 
       14 
17 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       15 
18 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       16 
19 
     | 
    
         
             
                  {
         
     | 
| 
      
 20 
     | 
    
         
            +
                    :'branch' => :'branch',
         
     | 
| 
       17 
21 
     | 
    
         
             
                    :'name' => :'name',
         
     | 
| 
       18 
22 
     | 
    
         
             
                    :'description' => :'description',
         
     | 
| 
       19 
23 
     | 
    
         
             
                    :'filename' => :'filename'
         
     | 
| 
         @@ -23,6 +27,7 @@ module Phrase 
     | 
|
| 
       23 
27 
     | 
    
         
             
                # Attribute type mapping.
         
     | 
| 
       24 
28 
     | 
    
         
             
                def self.openapi_types
         
     | 
| 
       25 
29 
     | 
    
         
             
                  {
         
     | 
| 
      
 30 
     | 
    
         
            +
                    :'branch' => :'String',
         
     | 
| 
       26 
31 
     | 
    
         
             
                    :'name' => :'String',
         
     | 
| 
       27 
32 
     | 
    
         
             
                    :'description' => :'String',
         
     | 
| 
       28 
33 
     | 
    
         
             
                    :'filename' => :'File'
         
     | 
| 
         @@ -50,6 +55,10 @@ module Phrase 
     | 
|
| 
       50 
55 
     | 
    
         
             
                    h[k.to_sym] = v
         
     | 
| 
       51 
56 
     | 
    
         
             
                  }
         
     | 
| 
       52 
57 
     | 
    
         | 
| 
      
 58 
     | 
    
         
            +
                  if attributes.key?(:'branch')
         
     | 
| 
      
 59 
     | 
    
         
            +
                    self.branch = attributes[:'branch']
         
     | 
| 
      
 60 
     | 
    
         
            +
                  end
         
     | 
| 
      
 61 
     | 
    
         
            +
             
     | 
| 
       53 
62 
     | 
    
         
             
                  if attributes.key?(:'name')
         
     | 
| 
       54 
63 
     | 
    
         
             
                    self.name = attributes[:'name']
         
     | 
| 
       55 
64 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -81,6 +90,7 @@ module Phrase 
     | 
|
| 
       81 
90 
     | 
    
         
             
                def ==(o)
         
     | 
| 
       82 
91 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       83 
92 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
      
 93 
     | 
    
         
            +
                      branch == o.branch &&
         
     | 
| 
       84 
94 
     | 
    
         
             
                      name == o.name &&
         
     | 
| 
       85 
95 
     | 
    
         
             
                      description == o.description &&
         
     | 
| 
       86 
96 
     | 
    
         
             
                      filename == o.filename
         
     | 
| 
         @@ -95,7 +105,7 @@ module Phrase 
     | 
|
| 
       95 
105 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       96 
106 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       97 
107 
     | 
    
         
             
                def hash
         
     | 
| 
       98 
     | 
    
         
            -
                  [name, description, filename].hash
         
     | 
| 
      
 108 
     | 
    
         
            +
                  [branch, name, description, filename].hash
         
     | 
| 
       99 
109 
     | 
    
         
             
                end
         
     | 
| 
       100 
110 
     | 
    
         | 
| 
       101 
111 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -2,6 +2,9 @@ require 'date' 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            module Phrase
         
     | 
| 
       4 
4 
     | 
    
         
             
              class ScreenshotMarkerCreateParameters
         
     | 
| 
      
 5 
     | 
    
         
            +
                # specify the branch to use
         
     | 
| 
      
 6 
     | 
    
         
            +
                attr_accessor :branch
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
       5 
8 
     | 
    
         
             
                # Specify the Key ID which should be highlighted on the specified screenshot. The Key must belong to the project.
         
     | 
| 
       6 
9 
     | 
    
         
             
                attr_accessor :key_id
         
     | 
| 
       7 
10 
     | 
    
         | 
| 
         @@ -11,6 +14,7 @@ module Phrase 
     | 
|
| 
       11 
14 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       12 
15 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       13 
16 
     | 
    
         
             
                  {
         
     | 
| 
      
 17 
     | 
    
         
            +
                    :'branch' => :'branch',
         
     | 
| 
       14 
18 
     | 
    
         
             
                    :'key_id' => :'key_id',
         
     | 
| 
       15 
19 
     | 
    
         
             
                    :'presentation' => :'presentation'
         
     | 
| 
       16 
20 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -19,6 +23,7 @@ module Phrase 
     | 
|
| 
       19 
23 
     | 
    
         
             
                # Attribute type mapping.
         
     | 
| 
       20 
24 
     | 
    
         
             
                def self.openapi_types
         
     | 
| 
       21 
25 
     | 
    
         
             
                  {
         
     | 
| 
      
 26 
     | 
    
         
            +
                    :'branch' => :'String',
         
     | 
| 
       22 
27 
     | 
    
         
             
                    :'key_id' => :'String',
         
     | 
| 
       23 
28 
     | 
    
         
             
                    :'presentation' => :'String'
         
     | 
| 
       24 
29 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -45,6 +50,10 @@ module Phrase 
     | 
|
| 
       45 
50 
     | 
    
         
             
                    h[k.to_sym] = v
         
     | 
| 
       46 
51 
     | 
    
         
             
                  }
         
     | 
| 
       47 
52 
     | 
    
         | 
| 
      
 53 
     | 
    
         
            +
                  if attributes.key?(:'branch')
         
     | 
| 
      
 54 
     | 
    
         
            +
                    self.branch = attributes[:'branch']
         
     | 
| 
      
 55 
     | 
    
         
            +
                  end
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
       48 
57 
     | 
    
         
             
                  if attributes.key?(:'key_id')
         
     | 
| 
       49 
58 
     | 
    
         
             
                    self.key_id = attributes[:'key_id']
         
     | 
| 
       50 
59 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -72,6 +81,7 @@ module Phrase 
     | 
|
| 
       72 
81 
     | 
    
         
             
                def ==(o)
         
     | 
| 
       73 
82 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       74 
83 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
      
 84 
     | 
    
         
            +
                      branch == o.branch &&
         
     | 
| 
       75 
85 
     | 
    
         
             
                      key_id == o.key_id &&
         
     | 
| 
       76 
86 
     | 
    
         
             
                      presentation == o.presentation
         
     | 
| 
       77 
87 
     | 
    
         
             
                end
         
     | 
| 
         @@ -85,7 +95,7 @@ module Phrase 
     | 
|
| 
       85 
95 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       86 
96 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       87 
97 
     | 
    
         
             
                def hash
         
     | 
| 
       88 
     | 
    
         
            -
                  [key_id, presentation].hash
         
     | 
| 
      
 98 
     | 
    
         
            +
                  [branch, key_id, presentation].hash
         
     | 
| 
       89 
99 
     | 
    
         
             
                end
         
     | 
| 
       90 
100 
     | 
    
         | 
| 
       91 
101 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -2,6 +2,9 @@ require 'date' 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            module Phrase
         
     | 
| 
       4 
4 
     | 
    
         
             
              class ScreenshotMarkerUpdateParameters
         
     | 
| 
      
 5 
     | 
    
         
            +
                # specify the branch to use
         
     | 
| 
      
 6 
     | 
    
         
            +
                attr_accessor :branch
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
       5 
8 
     | 
    
         
             
                # Specify the Key ID which should be highlighted on the specified screenshot. The Key must belong to the project.
         
     | 
| 
       6 
9 
     | 
    
         
             
                attr_accessor :key_id
         
     | 
| 
       7 
10 
     | 
    
         | 
| 
         @@ -11,6 +14,7 @@ module Phrase 
     | 
|
| 
       11 
14 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       12 
15 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       13 
16 
     | 
    
         
             
                  {
         
     | 
| 
      
 17 
     | 
    
         
            +
                    :'branch' => :'branch',
         
     | 
| 
       14 
18 
     | 
    
         
             
                    :'key_id' => :'key_id',
         
     | 
| 
       15 
19 
     | 
    
         
             
                    :'presentation' => :'presentation'
         
     | 
| 
       16 
20 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -19,6 +23,7 @@ module Phrase 
     | 
|
| 
       19 
23 
     | 
    
         
             
                # Attribute type mapping.
         
     | 
| 
       20 
24 
     | 
    
         
             
                def self.openapi_types
         
     | 
| 
       21 
25 
     | 
    
         
             
                  {
         
     | 
| 
      
 26 
     | 
    
         
            +
                    :'branch' => :'String',
         
     | 
| 
       22 
27 
     | 
    
         
             
                    :'key_id' => :'String',
         
     | 
| 
       23 
28 
     | 
    
         
             
                    :'presentation' => :'String'
         
     | 
| 
       24 
29 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -45,6 +50,10 @@ module Phrase 
     | 
|
| 
       45 
50 
     | 
    
         
             
                    h[k.to_sym] = v
         
     | 
| 
       46 
51 
     | 
    
         
             
                  }
         
     | 
| 
       47 
52 
     | 
    
         | 
| 
      
 53 
     | 
    
         
            +
                  if attributes.key?(:'branch')
         
     | 
| 
      
 54 
     | 
    
         
            +
                    self.branch = attributes[:'branch']
         
     | 
| 
      
 55 
     | 
    
         
            +
                  end
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
       48 
57 
     | 
    
         
             
                  if attributes.key?(:'key_id')
         
     | 
| 
       49 
58 
     | 
    
         
             
                    self.key_id = attributes[:'key_id']
         
     | 
| 
       50 
59 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -72,6 +81,7 @@ module Phrase 
     | 
|
| 
       72 
81 
     | 
    
         
             
                def ==(o)
         
     | 
| 
       73 
82 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       74 
83 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
      
 84 
     | 
    
         
            +
                      branch == o.branch &&
         
     | 
| 
       75 
85 
     | 
    
         
             
                      key_id == o.key_id &&
         
     | 
| 
       76 
86 
     | 
    
         
             
                      presentation == o.presentation
         
     | 
| 
       77 
87 
     | 
    
         
             
                end
         
     | 
| 
         @@ -85,7 +95,7 @@ module Phrase 
     | 
|
| 
       85 
95 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       86 
96 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       87 
97 
     | 
    
         
             
                def hash
         
     | 
| 
       88 
     | 
    
         
            -
                  [key_id, presentation].hash
         
     | 
| 
      
 98 
     | 
    
         
            +
                  [branch, key_id, presentation].hash
         
     | 
| 
       89 
99 
     | 
    
         
             
                end
         
     | 
| 
       90 
100 
     | 
    
         | 
| 
       91 
101 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -2,6 +2,9 @@ require 'date' 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            module Phrase
         
     | 
| 
       4 
4 
     | 
    
         
             
              class ScreenshotUpdateParameters
         
     | 
| 
      
 5 
     | 
    
         
            +
                # specify the branch to use
         
     | 
| 
      
 6 
     | 
    
         
            +
                attr_accessor :branch
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
       5 
8 
     | 
    
         
             
                # Name of the screenshot
         
     | 
| 
       6 
9 
     | 
    
         
             
                attr_accessor :name
         
     | 
| 
       7 
10 
     | 
    
         | 
| 
         @@ -14,6 +17,7 @@ module Phrase 
     | 
|
| 
       14 
17 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       15 
18 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       16 
19 
     | 
    
         
             
                  {
         
     | 
| 
      
 20 
     | 
    
         
            +
                    :'branch' => :'branch',
         
     | 
| 
       17 
21 
     | 
    
         
             
                    :'name' => :'name',
         
     | 
| 
       18 
22 
     | 
    
         
             
                    :'description' => :'description',
         
     | 
| 
       19 
23 
     | 
    
         
             
                    :'filename' => :'filename'
         
     | 
| 
         @@ -23,6 +27,7 @@ module Phrase 
     | 
|
| 
       23 
27 
     | 
    
         
             
                # Attribute type mapping.
         
     | 
| 
       24 
28 
     | 
    
         
             
                def self.openapi_types
         
     | 
| 
       25 
29 
     | 
    
         
             
                  {
         
     | 
| 
      
 30 
     | 
    
         
            +
                    :'branch' => :'String',
         
     | 
| 
       26 
31 
     | 
    
         
             
                    :'name' => :'String',
         
     | 
| 
       27 
32 
     | 
    
         
             
                    :'description' => :'String',
         
     | 
| 
       28 
33 
     | 
    
         
             
                    :'filename' => :'File'
         
     | 
| 
         @@ -50,6 +55,10 @@ module Phrase 
     | 
|
| 
       50 
55 
     | 
    
         
             
                    h[k.to_sym] = v
         
     | 
| 
       51 
56 
     | 
    
         
             
                  }
         
     | 
| 
       52 
57 
     | 
    
         | 
| 
      
 58 
     | 
    
         
            +
                  if attributes.key?(:'branch')
         
     | 
| 
      
 59 
     | 
    
         
            +
                    self.branch = attributes[:'branch']
         
     | 
| 
      
 60 
     | 
    
         
            +
                  end
         
     | 
| 
      
 61 
     | 
    
         
            +
             
     | 
| 
       53 
62 
     | 
    
         
             
                  if attributes.key?(:'name')
         
     | 
| 
       54 
63 
     | 
    
         
             
                    self.name = attributes[:'name']
         
     | 
| 
       55 
64 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -81,6 +90,7 @@ module Phrase 
     | 
|
| 
       81 
90 
     | 
    
         
             
                def ==(o)
         
     | 
| 
       82 
91 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       83 
92 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
      
 93 
     | 
    
         
            +
                      branch == o.branch &&
         
     | 
| 
       84 
94 
     | 
    
         
             
                      name == o.name &&
         
     | 
| 
       85 
95 
     | 
    
         
             
                      description == o.description &&
         
     | 
| 
       86 
96 
     | 
    
         
             
                      filename == o.filename
         
     | 
| 
         @@ -95,7 +105,7 @@ module Phrase 
     | 
|
| 
       95 
105 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       96 
106 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       97 
107 
     | 
    
         
             
                def hash
         
     | 
| 
       98 
     | 
    
         
            -
                  [name, description, filename].hash
         
     | 
| 
      
 108 
     | 
    
         
            +
                  [branch, name, description, filename].hash
         
     | 
| 
       99 
109 
     | 
    
         
             
                end
         
     | 
| 
       100 
110 
     | 
    
         | 
| 
       101 
111 
     | 
    
         
             
                # Builds the object from hash
         
     |