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.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 @lombok.Generated 054 public String getValue() { 055 return this.value; 056 } 057 058 @java.lang.SuppressWarnings("all") 059 @lombok.Generated 060 public void setValue(final String value) { 061 this.value = value; 062 } 063 064 @java.lang.SuppressWarnings("all") 065 @lombok.Generated 066 public String getUnit() { 067 return this.unit; 068 } 069 070 @java.lang.SuppressWarnings("all") 071 @lombok.Generated 072 public void setUnit(final String unit) { 073 this.unit = unit; 074 } 075 } 076 077 @java.lang.SuppressWarnings("all") 078 @lombok.Generated 079 public String getYear() { 080 return this.year; 081 } 082 083 @java.lang.SuppressWarnings("all") 084 @lombok.Generated 085 public void setYear(final String year) { 086 this.year = year; 087 } 088 089 @java.lang.SuppressWarnings("all") 090 @lombok.Generated 091 public String getMonth() { 092 return this.month; 093 } 094 095 @java.lang.SuppressWarnings("all") 096 @lombok.Generated 097 public void setMonth(final String month) { 098 this.month = month; 099 } 100 101 @java.lang.SuppressWarnings("all") 102 @lombok.Generated 103 public String getDay() { 104 return this.day; 105 } 106 107 @java.lang.SuppressWarnings("all") 108 @lombok.Generated 109 public void setDay(final String day) { 110 this.day = day; 111 } 112 113 @java.lang.SuppressWarnings("all") 114 @lombok.Generated 115 public String getHour() { 116 return this.hour; 117 } 118 119 @java.lang.SuppressWarnings("all") 120 @lombok.Generated 121 public void setHour(final String hour) { 122 this.hour = hour; 123 } 124 125 @java.lang.SuppressWarnings("all") 126 @lombok.Generated 127 public String getMinute() { 128 return this.minute; 129 } 130 131 @java.lang.SuppressWarnings("all") 132 @lombok.Generated 133 public void setMinute(final String minute) { 134 this.minute = minute; 135 } 136 137 @java.lang.SuppressWarnings("all") 138 @lombok.Generated 139 public String getSecond() { 140 return this.second; 141 } 142 143 @java.lang.SuppressWarnings("all") 144 @lombok.Generated 145 public void setSecond(final String second) { 146 this.second = second; 147 } 148 149 @java.lang.SuppressWarnings("all") 150 @lombok.Generated 151 public String getUnit() { 152 return this.unit; 153 } 154 155 @java.lang.SuppressWarnings("all") 156 @lombok.Generated 157 public void setUnit(final String unit) { 158 this.unit = unit; 159 } 160 161 @java.lang.SuppressWarnings("all") 162 @lombok.Generated 163 public NormalizedDuration getNormalized() { 164 return this.normalized; 165 } 166 167 @java.lang.SuppressWarnings("all") 168 @lombok.Generated 169 public void setNormalized(final NormalizedDuration normalized) { 170 this.normalized = normalized; 171 } 172}