openapi.model.Announcement

November 22, 2023 ยท View on GitHub

Load the model package

import 'package:wikipedia_api/api.dart';

Properties

NameTypeDescriptionNotes
idStringUnique ID of the announcement
typeStringThe type of announcement. Possible values are "survey" or "fundraising"
startTimeStringThe date to begin showing the announcement
endTimeStringThe date to stop showing the announcement
platformsListAn array of platforms to display the announcement. Possible values are "iOSApp" or "AndroidApp"[default to const []]
textStringThe text of the announcement
imageStringThe URL of the image for the announcement[optional]
actionAction[optional]
captionHTMLStringHTML to display below the announcement. Usually a privacy statment and link to a policy[optional]
countriesListAn array of country codes in which to display the announcement. Clients should derive the country from 'GeoIP' portion of the Set-Cookie header[default to const []]

[Back to Model list] [Back to API list] [Back to README]