Content
Prompt content
Operations
AddPart
Adds a part to the content
method : public : AddPart(part:Part) ~ ContentParameters
| Name | Type | Description |
|---|---|---|
| part | Part | to add |
Return
| Type | Description |
|---|---|
| Content | self reference to Content |
GetFirstPart
Get the first part
method : public : GetFirstPart() ~ PartReturn
| Type | Description |
|---|---|
| Part | first part |
GetParts
Get all parts
method : public : GetParts() ~ Vector<Part>Return
| Type | Description |
|---|---|
| Vector<Part> | all parts |
New
Constructor
New(parts:Vector<Part>, role:String)Parameters
| Name | Type | Description |
|---|---|---|
| parts | Vector<Part> | message parts to add |
| role | String | role |
ToString
String representation of the object
method : public : ToString() ~ StringReturn
| Type | Description |
|---|---|
| String | string representation |