16 #ifndef ALEXA_CLIENT_SDK_VIDEOCONTENT_INCLUDE_ACSDK_VIDEOCONTENT_VIDEOENTITYTYPES_H_ 17 #define ALEXA_CLIENT_SDK_VIDEOCONTENT_INCLUDE_ACSDK_VIDEOCONTENT_VIDEOENTITYTYPES_H_ 20 #include <unordered_map> 22 #include <rapidjson/document.h> 26 namespace acsdkAlexaVideoCommon {
113 Channel(
int channelNum) : channelNumber{channelNum} {};
117 std::unordered_map<std::string, std::string>
externalIds;
513 #endif // ALEXA_CLIENT_SDK_VIDEOCONTENT_INCLUDE_ACSDK_VIDEOCONTENT_VIDEOENTITYTYPES_H_ Definition: VideoEntityTypes.h:163
bool parseSportsTeamEntity(const rapidjson::Value &entityJson, SportsTeam &sportsTeam)
Related video entities, such as a trilogy or five part series.
std::string name
Name of the actor. There is no restriction on the format of actor name.
Definition: VideoEntityTypes.h:90
Identifying data for the piece of video content, such as the movie title.
bool parseActorEntity(const rapidjson::Value &entityJson, Actor &actor)
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:187
A type of event, such as a music concert or sporting event.
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:287
Category of video content, such as action, drama, or comedy.
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:88
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:99
bool parseMediaEntity(const rapidjson::Value &entityJson, Media &media)
bool parseSeasonEntity(const rapidjson::Value &entityJson, Season &season)
std::string name
The name of the video.
Definition: VideoEntityTypes.h:311
bool parseGenreEntity(const rapidjson::Value &entityJson, Genre &genre)
Type
Definition: VideoEntityTypes.h:254
Definition: VideoEntityTypes.h:306
std::string name
The name of the genre.
Definition: VideoEntityTypes.h:189
std::string name
The name of the director.
Definition: VideoEntityTypes.h:147
bool parseEpisodeEntity(const rapidjson::Value &entityJson, Episode &episode)
::std::string string
Definition: gtest-port.h:1097
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:309
Episode number for serial content.
Type
Definition: VideoEntityTypes.h:321
Definition: VideoEntityTypes.h:85
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:166
Represents the name of a sporting league.
std::string name
The name of the sports team.
Definition: VideoEntityTypes.h:300
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:113
std::string number
The episode number.
Definition: VideoEntityTypes.h:156
std::string name
The name of the sport.
Definition: VideoEntityTypes.h:289
An application that the user might launch, such as Prime Video.
bool parseSportEntity(const rapidjson::Value &entityJson, Sport &sport)
A helper class that provides an aggregation of all video entity types. Users can ask Alexa to search ...
Definition: VideoEntityTypes.h:36
A character in a movie or TV show.
Definition: VideoEntityTypes.h:195
std::string name
The name of the franchise.
Definition: VideoEntityTypes.h:177
std::string name
The name of the character.
Definition: VideoEntityTypes.h:136
Definition: VideoEntityTypes.h:131
VideoResolution(Type resolutionType)
Definition: VideoEntityTypes.h:337
Definition: VideoEntityTypes.h:154
bool parseProductionCompanyEntity(const rapidjson::Value &entityJson, ProductionCompany &productionCompany)
bool parseVideoEntity(const rapidjson::Value &entityJson, Video &video)
bool parseEventEntity(const rapidjson::Value &entityJson, Event &event)
Definition: VideoEntityTypes.h:241
EntityType
Definition: VideoEntityTypes.h:41
std::string name
The name of the event type.
Definition: VideoEntityTypes.h:168
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:134
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:145
std::string channelCallSign
The call sign for the channel.
Definition: VideoEntityTypes.h:121
std::string uri
The URI of the channel.
Definition: VideoEntityTypes.h:123
Represents the identifying data for a television channel.
Definition: VideoEntityTypes.h:250
Definition: VideoEntityTypes.h:276
static std::string convertEntityTypeToString(const VideoEntity::EntityType &entityType)
bool Value(const T &value, M matcher)
Definition: gmock-matchers.h:4347
bool parsePopularityEntity(const rapidjson::Value &entityJson, Popularity &popularity)
bool parseRecencyEntity(const rapidjson::Value &entityJson, Recency &recency)
Type type
Indicates whether the user searches for new or old content.
Definition: VideoEntityTypes.h:266
std::string name
The name of the league.
Definition: VideoEntityTypes.h:200
Definition: VideoEntityTypes.h:284
bool parseCharacterEntity(const rapidjson::Value &entityJson, Character &character)
bool parseLeagueEntity(const rapidjson::Value &entityJson, League &league)
Definition: VideoEntityTypes.h:317
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool parseAppEntity(const rapidjson::Value &entityJson, App &app)
Definition: VideoEntityTypes.h:175
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:298
Definition: VideoEntityTypes.h:142
A director credited in video media content.
bool parseFranchiseEntity(const rapidjson::Value &entityJson, Franchise &franchise)
type
Definition: upload.py:443
Definition: VideoEntityTypes.h:233
bool parseVideoResolutionEntity(const rapidjson::Value &entityJson, VideoResolution &videoResolution)
Type category of the video content, such as movie or TV show.
Name of a professional sports team.
Category of a sport, such as football.
std::string name
Name of the application.
Definition: VideoEntityTypes.h:101
bool parseVideoEntityType(const rapidjson::Value &entityJson, VideoEntity::EntityType &entityType)
Indicates whether the user content is new or old.
int channelNumber
The channel number.
Definition: VideoEntityTypes.h:119
std::string name
The name of the channel.
Definition: VideoEntityTypes.h:125
Production company name for the video media content.
Indicates whether the user asks for popular content.
Definition: VideoEntityTypes.h:295
Represents the requested video resolution, such as HD.
bool value
Indicates to provider that the user searches for popular content.
Definition: VideoEntityTypes.h:235
bool parseDirectorEntity(const rapidjson::Value &entityJson, Director &director)
std::string number
The season number.
Definition: VideoEntityTypes.h:278
std::string name
Production company name.
Definition: VideoEntityTypes.h:243
Definition: VideoEntityTypes.h:184
bool parseChannelEntity(const rapidjson::Value &entityJson, Channel &channel)
Definition: VideoEntityTypes.h:96
Definition: VideoEntityTypes.h:107
An actor credited in video media content.
std::unordered_map< std::string, std::string > externalIds
Definition: VideoEntityTypes.h:198
Season number for serial content.