docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RequestFileDetails

    Implementation of an interface to create file data structure for an attachment request

    Inheritance
    object
    RequestFileDetails
    Implements
    IRequestFileDetails
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Collaboration.Models.Abstractions
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public class RequestFileDetails : IRequestFileDetails

    Constructors

    RequestFileDetails(long?, string, string)

    Initializes a new instance of the FileDetails class.

    Declaration
    public RequestFileDetails(long? fileSize, string fileType = null, string contentType = null)
    Parameters
    Type Name Description
    long? fileSize

    The file size (required).

    string fileType

    The file type.

    string contentType

    The file content type, MIME type if relevant.

    Properties

    ContentType

    The file content type, MIME type if relevant.

    Declaration
    public string ContentType { get; }
    Property Value
    Type Description
    string

    FileSize

    The file size.

    Declaration
    public long FileSize { get; }
    Property Value
    Type Description
    long

    FileType

    The file type.

    Declaration
    public string FileType { get; }
    Property Value
    Type Description
    string

    Implements

    IRequestFileDetails
    In This Article
    Back to top
    Copyright © 2026 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)