Show / Hide Table of Contents

Class File

Represents a file in Poly, which can be a root, resource, or thumbnail file.

Inheritance
object
File
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.PolyService.v1.Data
Assembly: Google.Apis.PolyService.v1.dll
Syntax
public class File : IDirectResponseSchema

Properties

ContentType

The MIME content-type, such as image/png. For more information, see MIME types.

Declaration
[JsonProperty("contentType")]
public virtual string ContentType { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

RelativePath

The path of the resource file relative to the root file. For root or thumbnail files, this is just the filename.

Declaration
[JsonProperty("relativePath")]
public virtual string RelativePath { get; set; }
Property Value
Type Description
string

Url

The URL where the file data can be retrieved.

Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX