RAPP Platform API
 All Classes Namespaces Files Functions Variables Typedefs
RappCloud.Objects.File.File Class Reference
Inheritance diagram for RappCloud.Objects.File.File:
Collaboration diagram for RappCloud.Objects.File.File:

Public Member Functions

def __init__
 Constructor. More...
 
def __eq__
 Equality method. More...
 
def make_tuple
 
def path
 file path getter More...
 
def path
 file path setter More...
 
def postfield
 Post field name getter. More...
 
def postfield
 Post field name setter. More...
 
def serialize
 

Private Attributes

 __boundarySize
 
 __path
 
 __postfield
 

Detailed Description

File object class 

Definition at line 32 of file File.py.

Constructor & Destructor Documentation

def RappCloud.Objects.File.File.__init__ (   self,
  filepath = "",
  postfield = "",
  boundary_size = 30 
)

Constructor.

Parameters
pathstr -The filepath
postFieldstr - The post field name.
boundary_sizeint - Size of random boundary string for the filename to add on the post field.

Definition at line 35 of file File.py.

Member Function Documentation

def RappCloud.Objects.File.File.__eq__ (   self,
  other 
)

Equality method.

Definition at line 57 of file File.py.

def RappCloud.Objects.File.File.make_tuple (   self)

Definition at line 103 of file File.py.

def RappCloud.Objects.File.File.path (   self)

file path getter

Returns
string - The file path.

Definition at line 63 of file File.py.

def RappCloud.Objects.File.File.path (   self,
  filepath 
)

file path setter

Parameters
path(String) - The file path.

Definition at line 72 of file File.py.

def RappCloud.Objects.File.File.postfield (   self)

Post field name getter.

Returns
string - The post field name.

Definition at line 82 of file File.py.

def RappCloud.Objects.File.File.postfield (   self,
  fieldname 
)

Post field name setter.

Parameters
fieldname(String) - The post field name.

Definition at line 91 of file File.py.

def RappCloud.Objects.File.File.serialize (   self)

Definition at line 99 of file File.py.

Member Data Documentation

RappCloud.Objects.File.File.__boundarySize
private

Definition at line 44 of file File.py.

RappCloud.Objects.File.File.__path
private

Definition at line 46 of file File.py.

RappCloud.Objects.File.File.__postfield
private

Definition at line 51 of file File.py.


The documentation for this class was generated from the following file: