Table of Contents

Class ChildResource

Namespace
Smartsheet.Api.Models
Assembly
smartsheet-csharp-sdk.dll

Unified class for deserializing children resources based on the OpenAPI specification. Contains properties returned by the /children endpoints before converting to the appropriate specific type based on resourceType.

public class ChildResource : NamedModel
Inheritance
ChildResource
Inherited Members

Properties

AccessLevel

The user's access level for the resource

public AccessLevel? AccessLevel { get; set; }

Property Value

AccessLevel?

CreatedAt

The resource creation date Either a DateTime object, or Long if numericDates parameter is true on API call.

public object CreatedAt { get; set; }

Property Value

object

ModifiedAt

The resource last updated date Either a DateTime object, or Long if numericDates parameter is true on API call.

public object ModifiedAt { get; set; }

Property Value

object

Owner

The email address of the owner, or the user with admin permissions if there is no owner assigned. Only present for sheets if 'ownerInfo' is listed for the 'include' query parameter.

public string Owner { get; set; }

Property Value

string

OwnerId

The ID of the owner, or the user with admin permissions if there is no owner assigned. Only present for sheets if 'ownerInfo' is listed for the 'include' query parameter.

public long? OwnerId { get; set; }

Property Value

long?

The resource permalink

public string Permalink { get; set; }

Property Value

string

ResourceType

The resource type (sheet, report, sight, folder)

public string ResourceType { get; set; }

Property Value

string

Source

Data on the source object from which this asset was instantiated. Only present if 'source' is listed for the 'include' query parameter.

public Source Source { get; set; }

Property Value

Source

Methods

ConvertToSpecificType(ChildResource)

Converts a ChildResource to the appropriate specific type based on resourceType

public static object ConvertToSpecificType(ChildResource childResource)

Parameters

childResource ChildResource

The ChildResource to convert

Returns

object

The converted object (Sheet, Report, Sight, Folder, or Template)