View Javadoc
1   /*
2    * Copyright (c) 2023. Roland T. Lichti, Kaiserpfalz EDV-Service.
3    *
4    * This program is free software: you can redistribute it and/or modify
5    * it under the terms of the GNU General Public License as published by
6    * the Free Software Foundation, either version 3 of the License, or
7    * (at your option) any later version.
8    *
9    * This program is distributed in the hope that it will be useful,
10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   * GNU General Public License for more details.
13   *
14   * You should have received a copy of the GNU General Public License
15   * along with this program.  If not, see <https://www.gnu.org/licenses/>.
16   */
17  
18  package de.kaiserpfalzedv.services.sms77.model;
19  
20  import java.io.Serializable;
21  
22  import com.fasterxml.jackson.annotation.JsonInclude;
23  
24  import lombok.AllArgsConstructor;
25  import lombok.EqualsAndHashCode;
26  import lombok.Getter;
27  import lombok.NoArgsConstructor;
28  import lombok.ToString;
29  import lombok.experimental.SuperBuilder;
30  import lombok.extern.jackson.Jacksonized;
31  
32  /**
33   * <p>Sms -- .</p>
34   *
35   * @author rlichti {@literal <rlichti@kaiserpfalz-edv.de>}
36   * @since 1.0.0  2023-01-21
37   */
38  @Jacksonized
39  @SuperBuilder(toBuilder = true)
40  @AllArgsConstructor
41  @NoArgsConstructor
42  @Getter
43  @ToString(onlyExplicitlyIncluded = true)
44  @EqualsAndHashCode(onlyExplicitlyIncluded = true)
45  @JsonInclude(JsonInclude.Include.NON_ABSENT)
46  public class NumberFormatCheckResult implements Serializable {
47      private static final long serialVersionUID = 0L;
48  
49      private boolean success;
50  
51      private String national;
52  
53      private String international;
54  
55      private String international_formatted;
56  
57      private String country_name;
58  
59      private String country_code;
60  
61      private String country_iso;
62  
63      private String carrier;
64  
65      private String network_type;
66  }