001// Generated by delombok at Fri Oct 04 16:05:59 CEST 2024 002/* 003 * Copyright (c) 2010-2024 Mark Allen, Norbert Bartels. 004 * 005 * Permission is hereby granted, free of charge, to any person obtaining a copy 006 * of this software and associated documentation files (the "Software"), to deal 007 * in the Software without restriction, including without limitation the rights 008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 009 * copies of the Software, and to permit persons to whom the Software is 010 * furnished to do so, subject to the following conditions: 011 * 012 * The above copyright notice and this permission notice shall be included in 013 * all copies or substantial portions of the Software. 014 * 015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 021 * THE SOFTWARE. 022 */ 023package com.restfb.types.webhook; 024 025import com.restfb.Facebook; 026import com.restfb.types.RecommendationType; 027import com.restfb.types.webhook.base.BaseChangeValue; 028 029/** 030 * change value of the ratings rating 031 */ 032public class RatingsRatingValue extends BaseChangeValue { 033 @Facebook("open_graph_story_id") 034 private String openGraphStoryId; 035 @Facebook("reviewer_id") 036 private String reviewerId; 037 @Facebook("reviewer_name") 038 private String reviewerName; 039 @Facebook 040 private Long rating; 041 @Facebook("review_text") 042 private String reviewText; 043 @Facebook("comment_id") 044 private String commentId; 045 @Facebook("recommendation_type") 046 private RecommendationType recommendationType; 047 048 @java.lang.SuppressWarnings("all") 049 public String getOpenGraphStoryId() { 050 return this.openGraphStoryId; 051 } 052 053 @java.lang.SuppressWarnings("all") 054 public void setOpenGraphStoryId(final String openGraphStoryId) { 055 this.openGraphStoryId = openGraphStoryId; 056 } 057 058 @java.lang.SuppressWarnings("all") 059 public String getReviewerId() { 060 return this.reviewerId; 061 } 062 063 @java.lang.SuppressWarnings("all") 064 public void setReviewerId(final String reviewerId) { 065 this.reviewerId = reviewerId; 066 } 067 068 @java.lang.SuppressWarnings("all") 069 public String getReviewerName() { 070 return this.reviewerName; 071 } 072 073 @java.lang.SuppressWarnings("all") 074 public void setReviewerName(final String reviewerName) { 075 this.reviewerName = reviewerName; 076 } 077 078 @java.lang.SuppressWarnings("all") 079 public Long getRating() { 080 return this.rating; 081 } 082 083 @java.lang.SuppressWarnings("all") 084 public void setRating(final Long rating) { 085 this.rating = rating; 086 } 087 088 @java.lang.SuppressWarnings("all") 089 public String getReviewText() { 090 return this.reviewText; 091 } 092 093 @java.lang.SuppressWarnings("all") 094 public void setReviewText(final String reviewText) { 095 this.reviewText = reviewText; 096 } 097 098 @java.lang.SuppressWarnings("all") 099 public String getCommentId() { 100 return this.commentId; 101 } 102 103 @java.lang.SuppressWarnings("all") 104 public void setCommentId(final String commentId) { 105 this.commentId = commentId; 106 } 107 108 @java.lang.SuppressWarnings("all") 109 public RecommendationType getRecommendationType() { 110 return this.recommendationType; 111 } 112 113 @java.lang.SuppressWarnings("all") 114 public void setRecommendationType(final RecommendationType recommendationType) { 115 this.recommendationType = recommendationType; 116 } 117}