001// Generated by delombok at Thu Aug 13 13:56:44 UTC 2026
002/*
003 * Copyright (c) 2010-2026 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  @Facebook("approval_status")
044  private String approvalStatus;
045  /**
046   * The original string that was translated.
047   */
048  @Facebook("native_string")
049  private String nativeString;
050  /**
051   * The provided description of the string.
052   */
053  @Facebook
054  private String description;
055
056  /**
057   * The translated string.
058   *
059   * @return The translated string.
060   */
061  @java.lang.SuppressWarnings("all")
062  @lombok.Generated
063  public String getTranslation() {
064    return this.translation;
065  }
066
067  /**
068   * The translated string.
069   */
070  @java.lang.SuppressWarnings("all")
071  @lombok.Generated
072  public void setTranslation(final String translation) {
073    this.translation = translation;
074  }
075
076  /**
077   * The approval status of the string.
078   * <p>
079   * Possible values: auto-approved, approved, unapproved
080   * </p>
081   *
082   * @return The approval status of the string.
083   */
084  @java.lang.SuppressWarnings("all")
085  @lombok.Generated
086  public String getApprovalStatus() {
087    return this.approvalStatus;
088  }
089
090  /**
091   * The approval status of the string.
092   * <p>
093   * Possible values: auto-approved, approved, unapproved
094   * </p>
095   */
096  @java.lang.SuppressWarnings("all")
097  @lombok.Generated
098  public void setApprovalStatus(final String approvalStatus) {
099    this.approvalStatus = approvalStatus;
100  }
101
102  /**
103   * The original string that was translated.
104   *
105   * @return The original string that was translated.
106   */
107  @java.lang.SuppressWarnings("all")
108  @lombok.Generated
109  public String getNativeString() {
110    return this.nativeString;
111  }
112
113  /**
114   * The original string that was translated.
115   */
116  @java.lang.SuppressWarnings("all")
117  @lombok.Generated
118  public void setNativeString(final String nativeString) {
119    this.nativeString = nativeString;
120  }
121
122  /**
123   * The provided description of the string.
124   *
125   * @return The provided description of the string.
126   */
127  @java.lang.SuppressWarnings("all")
128  @lombok.Generated
129  public String getDescription() {
130    return this.description;
131  }
132
133  /**
134   * The provided description of the string.
135   */
136  @java.lang.SuppressWarnings("all")
137  @lombok.Generated
138  public void setDescription(final String description) {
139    this.description = description;
140  }
141}