Version Limitation target. Indicates an intent to create new Version.
Properties¶
                 $allContentTypeIdsList
            ¶
        $allContentTypeIdsList
            ¶
    
        List of content types. At least one must match Limitation values.
|  |  | 
                 $allLanguageCodesList
            ¶
        $allLanguageCodesList
            ¶
    
        List of language codes of translations. At least one must match Limitation values.
|  |  | 
                 $forPublishLanguageCodesList
            ¶
        $forPublishLanguageCodesList
            ¶
    
        List of language codes of translations to publish. All must match Limitation values.
|  |  | 
                 $forUpdateInitialLanguageCode
            ¶
        $forUpdateInitialLanguageCode
            ¶
    
        Language code of a translation used when updated, can be null for e.g. multiple translations changed.
|  |  | 
                 $forUpdateLanguageCodesList
            ¶
        $forUpdateLanguageCodesList
            ¶
    
        List of language codes of translations to update. All must match Limitation values.
|  |  | 
                 $newStatus
            ¶
        $newStatus
            ¶
    
        One of the following: STATUS_DRAFT, STATUS_PUBLISHED, STATUS_ARCHIVED.
|  |  | 
Tags
                 $updatedFields
            ¶
        $updatedFields
            ¶
    
        |  |  | 
Methods¶
                 __construct()
            ¶
__construct()
            ¶
    
        Construct object optionally with a set of properties.
|  |  | 
Readonly properties values must be set using $properties as they aren't writable anymore
after object has been created.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $properties | array<string, mixed> | [] | - | 
                 deleteTranslations()
            ¶
deleteTranslations()
            ¶
    
        |  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $translationsToDelete | array<string|int, string> | - | List of language codes of translations to delete | 
Return values
self
                 getTranslationsToDelete()
            ¶
getTranslationsToDelete()
            ¶
    
        |  |  | 
Return values
array<string|int, string>
                 getProperties()
            ¶
getProperties()
            ¶
    
        Returns list of available properties' names.
|  |  | 
Override to add dynamic properties.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $dynamicProperties | array<int, string> | [] | Additional dynamic properties exposed on the object | 
Return values
array<int, string>