# PubItem

## NAMESPACE

RASAdminEngine.Core.OutputModels

## DESCRIPTION

RAS Published Item

## INHERITED FROM

[RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj)

⇒

[RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj)

⇒

PubItem

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                                                     | Name                    | Description                                                                                                                                                                                                                                       |
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| String                                                                                                                                                   | AdminCreate             | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) User who created the object.                                                                      |
| String                                                                                                                                                   | AdminLastMod            | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) User who last modified the object.                                                                |
| String                                                                                                                                                   | Description             | Description of the published item.                                                                                                                                                                                                                |
| Boolean                                                                                                                                                  | Enabled                 | Whether the published item is enabled or not.                                                                                                                                                                                                     |
| [PubResourceEnabledMode](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/pubresourceenabledmode) | EnabledMode             | Represents the availability status of the published resource.                                                                                                                                                                                     |
| [PubItemFilter](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/pubitemfilter)                   | Filter                  | The PubItem Filter object.                                                                                                                                                                                                                        |
| UInt32                                                                                                                                                   | Id                      | ID of the object.                                                                                                                                                                                                                                 |
| Boolean                                                                                                                                                  | InheritMaintenance      | Inherit Maintenance.                                                                                                                                                                                                                              |
| [MaintenanceMessages](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/maintenancemessages)       | MaintenanceMessages     | Contains a set of maintenance messages in different languages.                                                                                                                                                                                    |
| String                                                                                                                                                   | Name                    | Name of the published item.                                                                                                                                                                                                                       |
| UInt32                                                                                                                                                   | ParentId                | ID of the parent folder of the published item. List<[PubPreferredRoute](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/pubpreferredroute)> PreferredRoutes The list of Preferred Routes. |
| Boolean                                                                                                                                                  | PreferredRoutingEnabled | Whether Preferred Routing is enabled or not.                                                                                                                                                                                                      |
| UInt32                                                                                                                                                   | PreviousId              | ID of the previous published item. List\<UInt32> PublishToSite List of the IDs of all the sites this item is published to.                                                                                                                        |
| Boolean                                                                                                                                                  | ReplicateMaintenance    | Replicate Maintenance.                                                                                                                                                                                                                            |
| DateTime                                                                                                                                                 | TimeCreate              | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) Time when the object was created.                                                                 |
| DateTime                                                                                                                                                 | TimeLastMod             | Inherited from [RASListObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raslistobj) Time when the object was last modified.                                                           |
| [RASPubObject](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/raspubobject)                     | Type                    | Type of published item: 0=Any, 1=Folder, 2=RDSApp, 3=RDSDesktop, 4=VDIDesktop, 5=PCDesktop, 6=PCApp, 7=VDIApp.                                                                                                                                    |

## PUBLIC METHODS

| Type                                                                                                                                                                                        | Name                   | Description                                                                                                                                                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Int32                                                                                                                                                                                       | CompareTo (Object obj) | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Boolean                                                                                                                                                                                     | Equals (Object obj)    | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Int32                                                                                                                                                                                       | GetHashCode ()         | Inherited from [RASSerilazableObj](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/types/rasserilazableobj) |
| Type                                                                                                                                                                                        | GetType ()             | Boolean                                                                                                                                                       |
| ShouldSerializeHDIconId ()                                                                                                                                                                  | Boolean                | ShouldSerializeIconId ()                                                                                                                                      |
| String                                                                                                                                                                                      | ToString ()            | ### References to Commands                                                                                                                                    |
|                                                                                                                                                                                             |                        |                                                                                                                                                               |
| [Add-RASPubItemPreferredRoute](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Add-RASPubItemPreferredRoute.md)       |                        |                                                                                                                                                               |
| [Get-RASPubAppFileExt](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Get-RASPubAppFileExt.md)                       |                        |                                                                                                                                                               |
| [Invoke-RASPubItemCmd](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Invoke-RASPubItemCmd.md)                       |                        |                                                                                                                                                               |
| [New-RASPubAVDDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/New-RASPubAVDDesktop.md)                       |                        |                                                                                                                                                               |
| [New-RASPubRDSApp](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/New-RASPubRDSApp.md)                               |                        |                                                                                                                                                               |
| [New-RASPubVDIDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/New-RASPubVDIDesktop.md)                       |                        |                                                                                                                                                               |
| [Remove-RASPubAVDDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASPubAVDDesktop.md)                 |                        |                                                                                                                                                               |
| [Remove-RASPubItemPreferredRoute](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASPubItemPreferredRoute.md) |                        |                                                                                                                                                               |
| [Remove-RASPubRDSAppServerAttr](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASPubRDSAppServerAttr.md)     |                        |                                                                                                                                                               |
| [Remove-RASPubVDIDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Remove-RASPubVDIDesktop.md)                 |                        |                                                                                                                                                               |
| [Set-RASPubAVDDesktop](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Set-RASPubAVDDesktop.md)                       |                        |                                                                                                                                                               |
| [Set-RASPubItemFilter](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Set-RASPubItemFilter.md)                       |                        |                                                                                                                                                               |
| [Set-RASPubRDSApp](https://github.com/Parallels-Corp/TEST-docs/blob/LatestDoc/21_Release/20_RAS_21_API_Guides/PS_API/MD/RASAdmin/cmdlets/Set-RASPubRDSApp.md)                               |                        |                                                                                                                                                               |
