Show / Hide Table of Contents

Class FileLinkMetadata

The metadata of a file shared link.

Inheritance
System.Object
SharedLinkMetadata
FileLinkMetadata
Inherited Members
SharedLinkMetadata.IsFile
SharedLinkMetadata.AsFile
SharedLinkMetadata.IsFolder
SharedLinkMetadata.AsFolder
SharedLinkMetadata.Url
SharedLinkMetadata.Name
SharedLinkMetadata.LinkPermissions
SharedLinkMetadata.Id
SharedLinkMetadata.Expires
SharedLinkMetadata.PathLower
SharedLinkMetadata.TeamMemberInfo
SharedLinkMetadata.ContentOwnerTeamInfo
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Sharing
Assembly: Dropbox.Api.dll
Syntax
public class FileLinkMetadata : SharedLinkMetadata

Constructors

| Improve this Doc View Source

FileLinkMetadata(String, String, LinkPermissions, DateTime, DateTime, String, UInt64, String, Nullable<DateTime>, String, TeamMemberInfo, Team)

Initializes a new instance of the FileLinkMetadata class.

Declaration
public FileLinkMetadata(string url, string name, LinkPermissions linkPermissions, DateTime clientModified, DateTime serverModified, string rev, ulong size, string id = null, DateTime? expires = null, string pathLower = null, TeamMemberInfo teamMemberInfo = null, Team contentOwnerTeamInfo = null)
Parameters
Type Name Description
System.String url

URL of the shared link.

System.String name

The linked file name (including extension). This never contains a slash.

LinkPermissions linkPermissions

The link's access permissions.

System.DateTime clientModified

The modification time set by the desktop client when the file was added to Dropbox. Since this time is not verified (the Dropbox server stores whatever the desktop client sends up), this should only be used for display purposes (such as sorting) and not, for example, to determine if a file has changed or not.

System.DateTime serverModified

The last time the file was modified on Dropbox.

System.String rev

A unique identifier for the current revision of a file. This field is the same rev as elsewhere in the API and can be used to detect changes and avoid conflicts.

System.UInt64 size

The file size in bytes.

System.String id

A unique identifier for the linked file.

System.Nullable<System.DateTime> expires

Expiration time, if set. By default the link won't expire.

System.String pathLower

The lowercased full path in the user's Dropbox. This always starts with a slash. This field will only be present only if the linked file is in the authenticated user's dropbox.

TeamMemberInfo teamMemberInfo

The team membership information of the link's owner. This field will only be present if the link's owner is a team member.

Team contentOwnerTeamInfo

The team information of the content's owner. This field will only be present if the content's owner is a team member and the content's owner team is different from the link's owner team.

Properties

| Improve this Doc View Source

ClientModified

The modification time set by the desktop client when the file was added to Dropbox. Since this time is not verified (the Dropbox server stores whatever the desktop client sends up), this should only be used for display purposes (such as sorting) and not, for example, to determine if a file has changed or not.

Declaration
public DateTime ClientModified { get; protected set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

Rev

A unique identifier for the current revision of a file. This field is the same rev as elsewhere in the API and can be used to detect changes and avoid conflicts.

Declaration
public string Rev { get; protected set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ServerModified

The last time the file was modified on Dropbox.

Declaration
public DateTime ServerModified { get; protected set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

Size

The file size in bytes.

Declaration
public ulong Size { get; protected set; }
Property Value
Type Description
System.UInt64
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FileLinkMetadata(String, String, LinkPermissions, DateTime, DateTime, String, UInt64, String, Nullable<DateTime>, String, TeamMemberInfo, Team)
  • Properties
    • ClientModified
    • Rev
    • ServerModified
    • Size
Back to top Generated by DocFX