001/* 002 * Copyright (c) 2011-2017 Nexmo Inc 003 * 004 * Permission is hereby granted, free of charge, to any person obtaining a copy 005 * of this software and associated documentation files (the "Software"), to deal 006 * in the Software without restriction, including without limitation the rights 007 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 008 * copies of the Software, and to permit persons to whom the Software is 009 * furnished to do so, subject to the following conditions: 010 * 011 * The above copyright notice and this permission notice shall be included in 012 * all copies or substantial portions of the Software. 013 * 014 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 015 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 016 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 017 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 018 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 019 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 020 * THE SOFTWARE. 021 */ 022package com.nexmo.client.numbers; 023 024import com.fasterxml.jackson.annotation.JsonIgnoreProperties; 025 026@JsonIgnoreProperties(ignoreUnknown = true) 027public class OwnedNumber { 028 private String country; 029 private String msisdn; 030 private String moHttpUrl; 031 private String type; 032 private String[] features; 033 private String voiceCallbackType; 034 private String voiceCallbackValue; 035 036 public String getCountry() { 037 return country; 038 } 039 040 public void setCountry(String country) { 041 this.country = country; 042 } 043 044 public String getMsisdn() { 045 return msisdn; 046 } 047 048 public void setMsisdn(String msisdn) { 049 this.msisdn = msisdn; 050 } 051 052 public String getMoHttpUrl() { 053 return moHttpUrl; 054 } 055 056 public void setMoHttpUrl(String moHttpUrl) { 057 this.moHttpUrl = moHttpUrl; 058 } 059 060 public String getType() { 061 return type; 062 } 063 064 public void setType(String type) { 065 this.type = type; 066 } 067 068 public String[] getFeatures() { 069 return features; 070 } 071 072 public void setFeatures(String[] features) { 073 this.features = features; 074 } 075 076 public String getVoiceCallbackType() { 077 return voiceCallbackType; 078 } 079 080 public void setVoiceCallbackType(String voiceCallbackType) { 081 this.voiceCallbackType = voiceCallbackType; 082 } 083 084 public String getVoiceCallbackValue() { 085 return voiceCallbackValue; 086 } 087 088 public void setVoiceCallbackValue(String voiceCallbackValue) { 089 this.voiceCallbackValue = voiceCallbackValue; 090 } 091}