PatchedAnnouncementRequest
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.patched_announcement_request import PatchedAnnouncementRequest
# TODO update the JSON string below
json = "{}"
# create an instance of PatchedAnnouncementRequest from a JSON string
patched_announcement_request_instance = PatchedAnnouncementRequest.from_json(json)
# print the JSON string representation of the object
print(PatchedAnnouncementRequest.to_json())
# convert the object into a dict
patched_announcement_request_dict = patched_announcement_request_instance.to_dict()
# create an instance of PatchedAnnouncementRequest from a dict
patched_announcement_request_from_dict = PatchedAnnouncementRequest.from_dict(patched_announcement_request_dict)
[Back to Model list] [Back to API list] [Back to README]