AnnouncementRequest
Properties
| Name |
Type |
Description |
Notes |
| message |
str |
This dismissable message will be displayed on all pages for authenticated users. It can contain basic html tags, for example <a href='https://www.fred.com' style='color: #337ab7;' target='_blank'>https://example.com</a> |
[optional] |
| style |
str |
The style of banner to display. (info, success, warning, danger) * `info` - Info * `success` - Success * `warning` - Warning * `danger` - Danger |
[optional] |
| dismissable |
bool |
Ticking this box allows users to dismiss the current announcement |
[optional] |
Example
from defectdojo_api_generated.models.announcement_request import AnnouncementRequest
# TODO update the JSON string below
json = "{}"
# create an instance of AnnouncementRequest from a JSON string
announcement_request_instance = AnnouncementRequest.from_json(json)
# print the JSON string representation of the object
print(AnnouncementRequest.to_json())
# convert the object into a dict
announcement_request_dict = announcement_request_instance.to_dict()
# create an instance of AnnouncementRequest from a dict
announcement_request_from_dict = AnnouncementRequest.from_dict(announcement_request_dict)
[Back to Model list] [Back to API list] [Back to README]