File object class
Definition at line 32 of file File.py.
def RappCloud.Objects.File.File.__init__ |
( |
|
self, |
|
|
|
filepath = "" , |
|
|
|
postfield = "" , |
|
|
|
boundary_size = 30 |
|
) |
| |
Constructor.
- Parameters
-
path | str -The filepath |
postField | str - The post field name. |
boundary_size | int - Size of random boundary string for the filename to add on the post field. |
Definition at line 35 of file File.py.
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 | ) |
|
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 | ) |
|
RappCloud.Objects.File.File.__boundarySize |
|
private |
RappCloud.Objects.File.File.__path |
|
private |
RappCloud.Objects.File.File.__postfield |
|
private |
The documentation for this class was generated from the following file:
- /home/travis/rapp_temp/rapp-api/python/RappCloud/Objects/File.py