# PubItem Class

### NAMESPACE

RASAdminEngine.Core.OutputModels

### DESCRIPTION

RAS Published Item

### INHERITED FROM

[RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html)⇒[RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html)⇒PubItem

### INTERFACES

* ISerializable
* IComparable

### PUBLIC PROPERTIES

| Type                                                                                                                                                        | Name                    | Description                                                                                                                                      |                                                                                                                |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| String                                                                                                                                                      | AdminCreate             | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                                                                |
| String                                                                                                                                                      | AdminLastMod            | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                                                                |
| List\<String>                                                                                                                                               | AllowedClients          |                                                                                                                                                  | Lists the allowed clients (deprecated).                                                                        |
| List\<String>                                                                                                                                               | AllowedGateways         |                                                                                                                                                  | Lists the allowed Gateways (deprecated).                                                                       |
| List<[IP4Range](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/IP4Range.html)>                         | AllowedIP4s             |                                                                                                                                                  | Lists the allowed IPv4 addresses (deprecated).                                                                 |
| List<[IP6Range](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/IP6Range.html)>                         | AllowedIP6s             |                                                                                                                                                  | Lists the allowed IPV6 addresses (deprecated).                                                                 |
| List\<String>                                                                                                                                               | AllowedMACs             |                                                                                                                                                  | Lists the allowed MAC addresses (deprecated).                                                                  |
| [AllowedOperatingSystems](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AllowedOperatingSystems.html) | AllowedOSes             |                                                                                                                                                  | Allowed Operating Systems (deprecated).                                                                        |
| List<[UserFilter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UserFilter.html)>                     | AllowedUsers            |                                                                                                                                                  | Lists the allowed users (deprecated).                                                                          |
| Boolean                                                                                                                                                     | ClientFilterEnabled     |                                                                                                                                                  | Whether Client Filtering is enabled or not (deprecated).                                                       |
| String                                                                                                                                                      | Description             |                                                                                                                                                  | Description of the published item.                                                                             |
| Boolean                                                                                                                                                     | Enabled                 |                                                                                                                                                  | Whether the published item is enabled or not.                                                                  |
| [PubResourceEnabledMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/PubResourceEnabledMode.html)   | EnabledMode             |                                                                                                                                                  | Represents the availability status of the published resource.                                                  |
| [PubItemFilter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/PubItemFilter.html)                     | Filter                  |                                                                                                                                                  | The PubItem Filter object.                                                                                     |
| Boolean                                                                                                                                                     | GatewayFilterEnabled    |                                                                                                                                                  | Whether Gateway Filtering is enabled or not (deprecated).                                                      |
| UInt32                                                                                                                                                      | Id                      |                                                                                                                                                  |                                                                                                                |
| Boolean                                                                                                                                                     | InheritMaintenance      |                                                                                                                                                  | Inherit Maintenance.                                                                                           |
| Boolean                                                                                                                                                     | IPFilterEnabled         |                                                                                                                                                  | Whether IP Filtering is enabled or not (deprecated).                                                           |
| Boolean                                                                                                                                                     | MACFilterEnabled        |                                                                                                                                                  | Whether MAC address Filtering is enabled or not (deprecated).                                                  |
| [MaintenanceMessages](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/MaintenanceMessages.html)         | MaintenanceMessages     |                                                                                                                                                  | Contains a set of maintenance messages in different languages.                                                 |
| String                                                                                                                                                      | Name                    |                                                                                                                                                  | Name of the published item.                                                                                    |
| Boolean                                                                                                                                                     | OSFilterEnabled         |                                                                                                                                                  | Whether OS Filtering is enabled or not (deprecated).                                                           |
| UInt32                                                                                                                                                      | ParentId                |                                                                                                                                                  | ID of the parent folder of the published item.                                                                 |
| List<[PubPreferredRoute](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/PubPreferredRoute.html)>       | 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://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                                                                |
| DateTime                                                                                                                                                    | TimeLastMod             | Inherited from [RASListObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASListObj.html) |                                                                                                                |
| [RASPubObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASPubObject.html)                       | Type                    |                                                                                                                                                  | Type of published item: 0=Any, 1=Folder, 2=RDSApp, 3=RDSDesktop, 4=VDIDesktop, 5=PCDesktop, 6=PCApp, 7=VDIApp. |
| Boolean                                                                                                                                                     | UserFilterEnabled       |                                                                                                                                                  | Whether User Filtering is enabled or not (deprecated).                                                         |

### PUBLIC METHODS

| Type    | Name                       | Description                                                                                                                                                    |   |
| ------- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | - |
| Int32   | CompareTo (Object obj)     | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Boolean | Equals (Object obj)        | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Int32   | GetHashCode ()             | Inherited from [RASSerilazableObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RASSerilazableObj.html) |   |
| Type    | GetType ()                 |                                                                                                                                                                |   |
| Boolean | ShouldSerializeHDIconId () |                                                                                                                                                                |   |
| Boolean | ShouldSerializeIconId ()   |                                                                                                                                                                |   |
| String  | ToString ()                |                                                                                                                                                                |   |

####


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/class/pubitem-class.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
