Sha256: 9719141c710670afd42cb4fa36bca48e11dcef4522e62843057a583562d211df

Contents?: true

Size: 1.84 KB

Versions: 6

Compression:

Stored size: 1.84 KB

Contents

# Phrase::DistributionUpdateParameters

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | Name of the distribution | [optional] 
**project_id** | **String** | Project id the distribution should be assigned to. | [optional] 
**platforms** | **Array<String>** | List of platforms the distribution should support. | [optional] 
**locale_ids** | **Array<String>** | List of locale ids that will be part of distribution releases | [optional] 
**format_options** | **Hash<String, String>** | Additional formatting and render options. Only <code>enclose_in_cdata</code> is available for platform <code>android</code>. | [optional] 
**fallback_to_non_regional_locale** | **Boolean** | Indicates whether to fallback to non regional locale when locale can not be found | [optional] 
**fallback_to_default_locale** | **Boolean** | Indicates whether to fallback to projects default locale when locale can not be found | [optional] 
**use_last_reviewed_version** | **Boolean** | Use last reviewed instead of latest translation in a project | [optional] 

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::DistributionUpdateParameters.new(name: My Android Distribution,
                                 project_id: abcd1234abcd1234abcd1234,
                                 platforms: ["android","ios"],
                                 locale_ids: ["abcd1234cdef1234abcd1234cdef1234","fff565db236400772368235db2c6117e"],
                                 format_options: {xml:{enclose_in_cdata:'1'}},
                                 fallback_to_non_regional_locale: true,
                                 fallback_to_default_locale: true,
                                 use_last_reviewed_version: true)
```


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
phrase-2.7.1 docs/DistributionUpdateParameters.md
phrase-2.7.0 docs/DistributionUpdateParameters.md
phrase-2.6.0 docs/DistributionUpdateParameters.md
phrase-2.5.1 docs/DistributionUpdateParameters.md
phrase-2.5.0 docs/DistributionUpdateParameters.md
phrase-2.4.0 docs/DistributionUpdateParameters.md