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;
024
025import com.restfb.Facebook;
026
027/**
028 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/app/translations">Translations Graph
029 * API type</a>.
030 */
031public class Translation extends FacebookType {
032  /**
033   * The translated string.
034   */
035  @Facebook
036  private String translation;
037  /**
038   * The approval status of the string.
039   * <p>
040   * Possible values: auto-approved, approved, unapproved
041   * </p>
042   * 
043   */
044  @Facebook("approval_status")
045  private String approvalStatus;
046  /**
047   * The original string that was translated.
048   */
049  @Facebook("native_string")
050  private String nativeString;
051  /**
052   * The provided description of the string.
053   */
054  @Facebook
055  private String description;
056
057  /**
058   * The translated string.
059   *
060   * @return The translated string.
061   */
062  @java.lang.SuppressWarnings("all")
063  public String getTranslation() {
064    return this.translation;
065  }
066
067  /**
068   * The translated string.
069   */
070  @java.lang.SuppressWarnings("all")
071  public void setTranslation(final String translation) {
072    this.translation = translation;
073  }
074
075  /**
076   * The approval status of the string.
077   * <p>
078   * Possible values: auto-approved, approved, unapproved
079   * </p>
080   * 
081   * @return The approval status of the string.
082   */
083  @java.lang.SuppressWarnings("all")
084  public String getApprovalStatus() {
085    return this.approvalStatus;
086  }
087
088  /**
089   * The approval status of the string.
090   * <p>
091   * Possible values: auto-approved, approved, unapproved
092   * </p>
093   * 
094   */
095  @java.lang.SuppressWarnings("all")
096  public void setApprovalStatus(final String approvalStatus) {
097    this.approvalStatus = approvalStatus;
098  }
099
100  /**
101   * The original string that was translated.
102   *
103   * @return The original string that was translated.
104   */
105  @java.lang.SuppressWarnings("all")
106  public String getNativeString() {
107    return this.nativeString;
108  }
109
110  /**
111   * The original string that was translated.
112   */
113  @java.lang.SuppressWarnings("all")
114  public void setNativeString(final String nativeString) {
115    this.nativeString = nativeString;
116  }
117
118  /**
119   * The provided description of the string.
120   *
121   * @return The provided description of the string.
122   */
123  @java.lang.SuppressWarnings("all")
124  public String getDescription() {
125    return this.description;
126  }
127
128  /**
129   * The provided description of the string.
130   */
131  @java.lang.SuppressWarnings("all")
132  public void setDescription(final String description) {
133    this.description = description;
134  }
135}