30 #ifndef GOOGLE_YOUTUBE_API_VIDEO_SUGGESTIONS_H_ 31 #define GOOGLE_YOUTUBE_API_VIDEO_SUGGESTIONS_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 38 #include "google/youtube_api/video_suggestions_tag_suggestion.h" 87 return StringPiece(
"google_youtube_api::VideoSuggestions");
96 return Storage().isMember(
"editorSuggestions");
103 MutableStorage()->removeMember(
"editorSuggestions");
112 const Json::Value& storage = Storage(
"editorSuggestions");
113 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
126 Json::Value* storage = MutableStorage(
"editorSuggestions");
127 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
136 return Storage().isMember(
"processingErrors");
143 MutableStorage()->removeMember(
"processingErrors");
152 const Json::Value& storage = Storage(
"processingErrors");
153 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
168 Json::Value* storage = MutableStorage(
"processingErrors");
169 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
178 return Storage().isMember(
"processingHints");
185 MutableStorage()->removeMember(
"processingHints");
194 const Json::Value& storage = Storage(
"processingHints");
195 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
208 Json::Value* storage = MutableStorage(
"processingHints");
209 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
218 return Storage().isMember(
"processingWarnings");
225 MutableStorage()->removeMember(
"processingWarnings");
234 const Json::Value& storage = Storage(
"processingWarnings");
235 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
252 Json::Value* storage = MutableStorage(
"processingWarnings");
253 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
262 return Storage().isMember(
"tagSuggestions");
269 MutableStorage()->removeMember(
"tagSuggestions");
277 const client::JsonCppArray<VideoSuggestionsTagSuggestion > get_tag_suggestions()
const;
289 client::JsonCppArray<VideoSuggestionsTagSuggestion > mutable_tagSuggestions();
295 #endif // GOOGLE_YOUTUBE_API_VIDEO_SUGGESTIONS_H_ bool has_tag_suggestions() const
Definition: video_suggestions.h:261
Definition: access_policy.cc:40
client::JsonCppArray< string > mutable_editorSuggestions()
Definition: video_suggestions.h:125
void clear_processing_errors()
Definition: video_suggestions.h:142
bool has_processing_warnings() const
Definition: video_suggestions.h:217
void clear_tag_suggestions()
Definition: video_suggestions.h:268
const client::JsonCppArray< string > get_editor_suggestions() const
Definition: video_suggestions.h:111
client::JsonCppArray< string > mutable_processingHints()
Definition: video_suggestions.h:207
bool has_editor_suggestions() const
Definition: video_suggestions.h:95
void clear_processing_hints()
Definition: video_suggestions.h:184
const client::JsonCppArray< string > get_processing_errors() const
Definition: video_suggestions.h:151
const client::JsonCppArray< string > get_processing_hints() const
Definition: video_suggestions.h:193
void clear_editor_suggestions()
Definition: video_suggestions.h:102
Definition: access_policy.h:38
bool has_processing_hints() const
Definition: video_suggestions.h:177
Definition: video_suggestions.h:53
bool has_processing_errors() const
Definition: video_suggestions.h:135
const StringPiece GetTypeName() const
Definition: video_suggestions.h:86
client::JsonCppArray< string > mutable_processingWarnings()
Definition: video_suggestions.h:251
const client::JsonCppArray< string > get_processing_warnings() const
Definition: video_suggestions.h:233
client::JsonCppArray< string > mutable_processingErrors()
Definition: video_suggestions.h:167
void clear_processing_warnings()
Definition: video_suggestions.h:224