PCShareItem

Version 1.4 - Updated on 9/23/2016

Superclass: NSObject
Declared In: PCShare.h

Introduction

PCShareItem stores the defination of a Share.

Properties

creationDate

@property (nonatomic,
    readonly) NSDate *creationDate; 
  • Discussion
    The date and time when the share has been created.

expirationDate

@property (nonatomic,
    readonly) NSDate *expirationDate;
  • Discussion
    The date and time when the share expires. Clients can specify either expirationDate or expiresIn when creating a share, but not both. If specified, the expiration interval must be within a configurable min and max range. Otherwise, the time to live of the share is set to a configurable default value. When accessing a share, this returns the date and time the share expires. If the share does not expire, this field is not populated.

expiresIn

@property (nonatomic,
    readonly) NSNumber *expiresIn; 
  • Discussion
    The time to live of the share in seconds. Clients can specify either expiresIn or expirationDate when creating a share, but not both. If specified, the value must be within a configurable min and max range. Otherwise, the time to live of the share is set to a configurable default value. When accessing a share, this returns the remaining time to live on the share. A value of 0 indicates that the share does not expire.

inboundLastModifiedDate

@property (nonatomic,
    readonly) NSDate *inboundLastModifiedDate;
  • Discussion
    The date and time the share has been last modified. This value is only updated when a resource is added, updated, or modified.

lastModifiedDate

@property (nonatomic,
    readonly) NSDate *lastModifiedDate; 
  • Discussion
    The date and time the share has been last modified. This value is updated by the following events:
    • resource added, updated,or removed
    • member added, updated or removed
    • member accepts, declines, or leaves
    • share name or visibility updated
    • permissions updated
@property (nonatomic,
    readonly) PCLink *link; 
  • Discussion
    The share links for the share.

name

@property (nonatomic,
    readonly) NSString *name;
  • Discussion
    The name of the share. This can be a user-defined name when the share is created.

owner

@property (nonatomic,
    readonly) PCUser *owner; 
  • Discussion
    The owner of the share.

publicInviteKey

@property (nonatomic,
    readonly) NSString *publicInviteKey; 
  • Discussion
    The invite key of a public share.

resources

@property (nonatomic,
    readonly) NSArray *resources;
  • Discussion
    The list of resource share. Contains object of PCShareResource type.

sharer

@property (nonatomic,
    readonly) PCUser *sharer;
  • Discussion
    The sharer of the share.

totalResourceCount

@property (nonatomic,
    readonly,
    strong) NSNumber *totalResourceCount; 
  • Discussion
    The total count of shared resources.

UID

@property (nonatomic,
    readonly) NSString *UID;
  • Discussion
    The unique identifier of the share.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.