001// Generated by delombok at Thu Mar 06 11:40:43 UTC 2025 002/* 003 * Copyright (c) 2010-2025 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.messaging.nlp; 024 025import com.restfb.Facebook; 026 027public class NlpDuration extends BaseNlpEntity { 028 @Facebook 029 private String year; 030 @Facebook 031 private String month; 032 @Facebook 033 private String day; 034 @Facebook 035 private String hour; 036 @Facebook 037 private String minute; 038 @Facebook 039 private String second; 040 @Facebook 041 private String unit; 042 @Facebook 043 private NormalizedDuration normalized; 044 045 046 public static class NormalizedDuration { 047 @Facebook 048 private String value; 049 @Facebook 050 private String unit; 051 052 @java.lang.SuppressWarnings("all") 053 public String getValue() { 054 return this.value; 055 } 056 057 @java.lang.SuppressWarnings("all") 058 public void setValue(final String value) { 059 this.value = value; 060 } 061 062 @java.lang.SuppressWarnings("all") 063 public String getUnit() { 064 return this.unit; 065 } 066 067 @java.lang.SuppressWarnings("all") 068 public void setUnit(final String unit) { 069 this.unit = unit; 070 } 071 } 072 073 @java.lang.SuppressWarnings("all") 074 public String getYear() { 075 return this.year; 076 } 077 078 @java.lang.SuppressWarnings("all") 079 public void setYear(final String year) { 080 this.year = year; 081 } 082 083 @java.lang.SuppressWarnings("all") 084 public String getMonth() { 085 return this.month; 086 } 087 088 @java.lang.SuppressWarnings("all") 089 public void setMonth(final String month) { 090 this.month = month; 091 } 092 093 @java.lang.SuppressWarnings("all") 094 public String getDay() { 095 return this.day; 096 } 097 098 @java.lang.SuppressWarnings("all") 099 public void setDay(final String day) { 100 this.day = day; 101 } 102 103 @java.lang.SuppressWarnings("all") 104 public String getHour() { 105 return this.hour; 106 } 107 108 @java.lang.SuppressWarnings("all") 109 public void setHour(final String hour) { 110 this.hour = hour; 111 } 112 113 @java.lang.SuppressWarnings("all") 114 public String getMinute() { 115 return this.minute; 116 } 117 118 @java.lang.SuppressWarnings("all") 119 public void setMinute(final String minute) { 120 this.minute = minute; 121 } 122 123 @java.lang.SuppressWarnings("all") 124 public String getSecond() { 125 return this.second; 126 } 127 128 @java.lang.SuppressWarnings("all") 129 public void setSecond(final String second) { 130 this.second = second; 131 } 132 133 @java.lang.SuppressWarnings("all") 134 public String getUnit() { 135 return this.unit; 136 } 137 138 @java.lang.SuppressWarnings("all") 139 public void setUnit(final String unit) { 140 this.unit = unit; 141 } 142 143 @java.lang.SuppressWarnings("all") 144 public NormalizedDuration getNormalized() { 145 return this.normalized; 146 } 147 148 @java.lang.SuppressWarnings("all") 149 public void setNormalized(final NormalizedDuration normalized) { 150 this.normalized = normalized; 151 } 152}