docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FileItem

    FileItem model

    Inheritance
    object
    FileItem
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.CloudSave.Models
    Assembly: Unity.Services.CloudSave.dll
    Syntax
    [Preserve]
    [DataContract(Name = "file-item")]
    public class FileItem

    Constructors

    FileItem(long, ModifiedMetadata, ModifiedMetadata, string, string, string)

    Creates an instance of FileItem.

    Declaration
    [Preserve]
    public FileItem(long size, ModifiedMetadata created, ModifiedMetadata modified, string writeLock, string contentType, string key = null)
    Parameters
    Type Name Description
    long size

    size param

    ModifiedMetadata created

    created param

    ModifiedMetadata modified

    modified param

    string writeLock

    writeLock param

    string contentType

    contentType param

    string key

    key param

    Properties

    ContentType

    Parameter contentType of FileItem

    Declaration
    [Preserve]
    [DataMember(Name = "contentType", IsRequired = true, EmitDefaultValue = true)]
    public string ContentType { get; }
    Property Value
    Type Description
    string

    Created

    Parameter created of FileItem

    Declaration
    [Preserve]
    [DataMember(Name = "created", IsRequired = true, EmitDefaultValue = true)]
    public ModifiedMetadata Created { get; }
    Property Value
    Type Description
    ModifiedMetadata

    Key

    Parameter key of FileItem

    Declaration
    [Preserve]
    [DataMember(Name = "key", EmitDefaultValue = false)]
    public string Key { get; }
    Property Value
    Type Description
    string

    Modified

    Parameter modified of FileItem

    Declaration
    [Preserve]
    [DataMember(Name = "modified", IsRequired = true, EmitDefaultValue = true)]
    public ModifiedMetadata Modified { get; }
    Property Value
    Type Description
    ModifiedMetadata

    Size

    Parameter size of FileItem

    Declaration
    [Preserve]
    [DataMember(Name = "size", IsRequired = true, EmitDefaultValue = true)]
    public long Size { get; }
    Property Value
    Type Description
    long

    WriteLock

    Parameter writeLock of FileItem

    Declaration
    [Preserve]
    [DataMember(Name = "writeLock", IsRequired = true, EmitDefaultValue = true)]
    public string WriteLock { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)