PCUploadAPIParams

Version 1.6 - Updated on 11/17/2016

Superclass: PCResourceAPIParams
Declared In: PCUploadAPIParams.h

Contents

Introduction

PCUploadAPIParams stores parameters required to upload a file.

Properties

checkSum

@property (nonatomic,
    copy,
    readonly) NSString *checkSum; 
  • Discussion
    Checksum of the file or chunk. Required.

chunk

@property (nonatomic,
    assign,
    readonly) BOOL chunk; 
  • Discussion
    • Set to false if the file is to be uploaded with single request.
    • Set to true when file is to be uploaded in multiple requests.

name

@property (nonatomic,
    copy) NSString *name;
  • Discussion
    Name of the file to be uploaded. Required.

path

@property (nonatomic,
    copy) NSString *path; 
  • Discussion
    The path to the folder where file has to be uploaded. Required.

size

@property (nonatomic,
    assign,
    readonly) long long size; 
  • Discussion
    Size of the file to be uploaded. Required.

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