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

Public Member Functions

def __init__
 
def __eq__
 Equality method. More...
 
def append
 Append key-value pairs to the request payload. More...
 
def make_json
 Serialize to Dictionary and create a json string. More...
 
def remove
 Remove payload properties. More...
 
def serialize
 Serialize to Dictionary. More...
 

Detailed Description

Payload object class 

Definition at line 30 of file Payload.py.

Constructor & Destructor Documentation

def RappCloud.Objects.Payload.Payload.__init__ (   self,
  kwargs 
)

Definition at line 32 of file Payload.py.

Member Function Documentation

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

Equality method.

Definition at line 37 of file Payload.py.

def RappCloud.Objects.Payload.Payload.append (   self,
  kwargs 
)

Append key-value pairs to the request payload.

Parameters
**kwargs- Keyword arguments. Key-Value pairs to append to the payload.

Definition at line 42 of file Payload.py.

def RappCloud.Objects.Payload.Payload.make_json (   self)

Serialize to Dictionary and create a json string.

Returns
json - Request Payload json string.

Definition at line 70 of file Payload.py.

def RappCloud.Objects.Payload.Payload.remove (   self,
  toDelAttr 
)

Remove payload properties.

Parameters
toDelAttr(Array) - Array of Strings for properties to remove from the payload.

Definition at line 52 of file Payload.py.

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

Serialize to Dictionary.

Returns
dictionary - Request Payload dictionary.

Definition at line 62 of file Payload.py.


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