# PackageLink

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Tags: Not browsable, Not creatable
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/PackageLink/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/PackageLink

Links a [`DataModel`](https://rapi.sleaze.dev/classes/DataModel.md) instance to a corresponding asset in the cloud.

## Properties

### Creator

```luau
PackageLink.Creator: string = ""
```

- Tags: Not scriptable, Read only, Capabilities: AssetRead

The creator of the package asset.

### HasNewVersion

```luau
PackageLink.HasNewVersion: boolean = false
```

- Tags: Hidden, Not replicated, Roblox script security, Read capabilities: AssetRead

### PackageAssetName

```luau
PackageLink.PackageAssetName: string = ""
```

- Tags: Not scriptable, Read only, Capabilities: AssetRead

The asset name of the package.

### PermissionLevel

```luau
PackageLink.PermissionLevel: Enum.PackagePermission = Enum.PackagePermission.None
```

- Tags: Not scriptable, Read only, Capabilities: AssetRead

The package permission for the current Studio user.

### AutoUpdate

```luau
PackageLink.AutoUpdate: boolean = false
```

- Tags: Roblox script security, Read capabilities: AssetRead

When this property is set to true, the package associated with the given [`PackageLink`](https://rapi.sleaze.dev/classes/PackageLink.md) automatically updates to the latest version.

### DefaultName

```luau
PackageLink.DefaultName: string = ""
```

- Tags: Write: Not accessible, Read capabilities: AssetRead

Engine-managed name of the package's root instance as it was last published, kept as a baseline for detecting local name changes.

### ModifiedState

```luau
PackageLink.ModifiedState: number = 0
```

- Tags: Hidden, Roblox script security, Read capabilities: AssetRead

### PackageContent

```luau
PackageLink.PackageContent: Content
```

- Tags: Read only, Capabilities: AssetRead, Save only

Read-only [`Content`](https://rapi.sleaze.dev/index/types/Content.md) URL for the model asset backing this package.

### PackageContentSerialize

```luau
PackageLink.PackageContentSerialize: Content
```

- Tags: Hidden, Not scriptable, Capabilities: AssetRead

### PackageGuid

```luau
PackageLink.PackageGuid: number = 0
```

- Tags: Hidden, Not scriptable, Capabilities: AssetRead

### PackageId

```luau
PackageLink.PackageId: string = ""
```

- Tags: Read only, Capabilities: AssetRead, Save only

The ID of the asset this package corresponds to.

### PackageIdSerialize

```luau
PackageLink.PackageIdSerialize: string = ""
```

- Tags: Hidden, Not scriptable, Capabilities: AssetRead

### SerializedDefaultAttributes

```luau
PackageLink.SerializedDefaultAttributes: string = ""
```

- Tags: Write: Not accessible, Read capabilities: AssetRead

Engine-managed serialized snapshot of the attributes on the package's root instance as it was last published, kept as a baseline for detecting local attribute changes.

### Status

```luau
PackageLink.Status: string = "Up To Date"
```

- Tags: Read only, Roblox script security, Read capabilities: AssetRead

The status of the package.

### VersionIdSerialize

```luau
PackageLink.VersionIdSerialize: number = 0
```

- Tags: Hidden, Not scriptable, Capabilities: AssetRead

### VersionNumber

```luau
PackageLink.VersionNumber: number = 0
```

- Tags: Not replicated, Write: Not accessible, Read capabilities: AssetRead, Load only

Refers to a revision of a specific package.

### CanAutoUpdate

```luau
PackageLink.CanAutoUpdate: boolean = false
```

- Tags: Hidden, Not replicated, Not scriptable, Roblox engine security, Read capabilities: AssetRead

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
