Asset Connector Documentation
Loading...
Searching...
No Matches
response_body.ResponseBody Class Reference
Inheritance diagram for response_body.ResponseBody:
[legend]
Collaboration diagram for response_body.ResponseBody:
[legend]

Classes

class  Config
 

Static Public Attributes

int status_code
 
str message
 
Any payload
 
str value
 

Detailed Description

Definition at line 17 of file response_body.py.

Member Data Documentation

◆ message

str response_body.ResponseBody.message
static
Initial value:
= Field(
default="Successfully",
description="A message providing additional information about the response.",
alias="Message",
example="Successfully invoked `/set-config` with raw JSON in payload",
)

Definition at line 25 of file response_body.py.

◆ payload

Any response_body.ResponseBody.payload
static
Initial value:
= Field(
default={},
description="Json content of the response.",
alias="Payload",
example="",
)

Definition at line 32 of file response_body.py.

◆ status_code

int response_body.ResponseBody.status_code
static
Initial value:
= Field(
default=200,
description="The HTTP status code of the response.",
alias="StatusCode",
example=200,
)

Definition at line 18 of file response_body.py.

◆ value

str response_body.ResponseBody.value
static
Initial value:
= Field(
default="",
description="The value returned by the operation, if applicable.",
alias="Value",
example="myResult",
)

Definition at line 39 of file response_body.py.


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