# Copyright 2015 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. require 'date' require 'google/apis/core/base_service' require 'google/apis/core/json_representation' require 'google/apis/core/hashable' require 'google/apis/errors' module Google module Apis module GamesManagementV1management class AchievementResetAllResponseRepresentation < Google::Apis::Core::JsonRepresentation; end class AchievementResetMultipleForAllRequestRepresentation < Google::Apis::Core::JsonRepresentation; end class AchievementResetResponseRepresentation < Google::Apis::Core::JsonRepresentation; end class EventsResetMultipleForAllRequestRepresentation < Google::Apis::Core::JsonRepresentation; end class GamesPlayedResourceRepresentation < Google::Apis::Core::JsonRepresentation; end class GamesPlayerExperienceInfoResourceRepresentation < Google::Apis::Core::JsonRepresentation; end class GamesPlayerLevelResourceRepresentation < Google::Apis::Core::JsonRepresentation; end class HiddenPlayerRepresentation < Google::Apis::Core::JsonRepresentation; end class HiddenPlayerListRepresentation < Google::Apis::Core::JsonRepresentation; end class PlayerRepresentation < Google::Apis::Core::JsonRepresentation; end class PlayerScoreResetAllResponseRepresentation < Google::Apis::Core::JsonRepresentation; end class PlayerScoreResetResponseRepresentation < Google::Apis::Core::JsonRepresentation; end class QuestsResetMultipleForAllRequestRepresentation < Google::Apis::Core::JsonRepresentation; end class ScoresResetMultipleForAllRequestRepresentation < Google::Apis::Core::JsonRepresentation; end # @private class AchievementResetAllResponseRepresentation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' collection :results, as: 'results', class: Google::Apis::GamesManagementV1management::AchievementResetResponse, decorator: Google::Apis::GamesManagementV1management::AchievementResetResponseRepresentation end # @private class AchievementResetMultipleForAllRequestRepresentation < Google::Apis::Core::JsonRepresentation collection :achievement_ids, as: 'achievement_ids' property :kind, as: 'kind' end # @private class AchievementResetResponseRepresentation < Google::Apis::Core::JsonRepresentation property :current_state, as: 'currentState' property :definition_id, as: 'definitionId' property :kind, as: 'kind' property :update_occurred, as: 'updateOccurred' end # @private class EventsResetMultipleForAllRequestRepresentation < Google::Apis::Core::JsonRepresentation collection :event_ids, as: 'event_ids' property :kind, as: 'kind' end # @private class GamesPlayedResourceRepresentation < Google::Apis::Core::JsonRepresentation property :auto_matched, as: 'autoMatched' property :time_millis, as: 'timeMillis' end # @private class GamesPlayerExperienceInfoResourceRepresentation < Google::Apis::Core::JsonRepresentation property :current_experience_points, as: 'currentExperiencePoints' property :current_level, as: 'currentLevel', class: Google::Apis::GamesManagementV1management::GamesPlayerLevelResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayerLevelResourceRepresentation property :last_level_up_timestamp_millis, as: 'lastLevelUpTimestampMillis' property :next_level, as: 'nextLevel', class: Google::Apis::GamesManagementV1management::GamesPlayerLevelResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayerLevelResourceRepresentation end # @private class GamesPlayerLevelResourceRepresentation < Google::Apis::Core::JsonRepresentation property :level, as: 'level' property :max_experience_points, as: 'maxExperiencePoints' property :min_experience_points, as: 'minExperiencePoints' end # @private class HiddenPlayerRepresentation < Google::Apis::Core::JsonRepresentation property :hidden_time_millis, as: 'hiddenTimeMillis' property :kind, as: 'kind' property :player, as: 'player', class: Google::Apis::GamesManagementV1management::Player, decorator: Google::Apis::GamesManagementV1management::PlayerRepresentation end # @private class HiddenPlayerListRepresentation < Google::Apis::Core::JsonRepresentation collection :items, as: 'items', class: Google::Apis::GamesManagementV1management::HiddenPlayer, decorator: Google::Apis::GamesManagementV1management::HiddenPlayerRepresentation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' end # @private class PlayerRepresentation < Google::Apis::Core::JsonRepresentation property :avatar_image_url, as: 'avatarImageUrl' property :display_name, as: 'displayName' property :experience_info, as: 'experienceInfo', class: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResourceRepresentation property :kind, as: 'kind' property :last_played_with, as: 'lastPlayedWith', class: Google::Apis::GamesManagementV1management::GamesPlayedResource, decorator: Google::Apis::GamesManagementV1management::GamesPlayedResourceRepresentation property :name, as: 'name', class: Google::Apis::GamesManagementV1management::Player::Name do property :family_name, as: 'familyName' property :given_name, as: 'givenName' end property :player_id, as: 'playerId' property :title, as: 'title' end # @private class PlayerScoreResetAllResponseRepresentation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' collection :results, as: 'results', class: Google::Apis::GamesManagementV1management::PlayerScoreResetResponse, decorator: Google::Apis::GamesManagementV1management::PlayerScoreResetResponseRepresentation end # @private class PlayerScoreResetResponseRepresentation < Google::Apis::Core::JsonRepresentation property :definition_id, as: 'definitionId' property :kind, as: 'kind' collection :reset_score_time_spans, as: 'resetScoreTimeSpans' end # @private class QuestsResetMultipleForAllRequestRepresentation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' collection :quest_ids, as: 'quest_ids' end # @private class ScoresResetMultipleForAllRequestRepresentation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' collection :leaderboard_ids, as: 'leaderboard_ids' end end end end