001package com.plivo.api.models.campaign; 002import com.fasterxml.jackson.annotation.JsonInclude; 003 004import com.plivo.api.models.base.BaseResource; 005 006@JsonInclude(JsonInclude.Include.NON_NULL) 007public class CampaignResponse extends BaseResource{ 008 private String brandID; 009 private String campaignID; 010 private String resellerID; 011 private String usecase; 012 private String subUsecase; 013 private String registrationStatus; 014 private MnoMetadata mnoMetadata; 015 private String messageFlow; 016 private String helpMessage; 017 private String optoutMessage; 018 private String optinKeywords; 019 private String optinMessage; 020 private String optoutKeywords; 021 private String helpKeywords; 022 private String sample1; 023 private String sample2; 024 private String description; 025 private String createdAt; 026 private String campaignSource; 027 private String errorReason; 028 private String errorCode; 029 private CampaignAttributes campaignAttributes; 030 private String vertical; 031 private String campaignAlias; 032 033 034 035 /** 036 * @return String return the brandID 037 */ 038 public String getBrandID() { 039 return brandID; 040 } 041 042 043 /** 044 * @return String return the campaignID 045 */ 046 public String getCampaignID() { 047 return campaignID; 048 } 049 050 051 052 /** 053 * @return String return the resellerID 054 */ 055 public String getResellerID() { 056 return resellerID; 057 } 058 059 060 /** 061 * @return String return the usecase 062 */ 063 public String getUsecase() { 064 return usecase; 065 } 066 067 /** 068 * @return String return the subUsecase 069 */ 070 public String getSubUsecase() { 071 return subUsecase; 072 } 073 074 /** 075 * @return String return the registrationStatus 076 */ 077 public String getRegistrationStatus() { 078 return registrationStatus; 079 } 080 081 public String getMessageFlow(){ 082 return this.messageFlow; 083 } 084 public String getHelpMessage(){ 085 return this.helpMessage; 086 } 087 088 public String getOptoutMessage(){ 089 return this.optoutMessage; 090 } 091 public String getOptinKeywords(){ 092 return this.optinKeywords; 093 } 094 095 public String getOptinMessage(){ 096 return this.optinMessage; 097 } 098 public String getOptoutKeywords(){ 099 return this.optoutKeywords; 100 } 101 public String getHelpKeywords(){ 102 return this.helpKeywords; 103 } 104 /** 105 * @return MnoMetadata return the mnoMetadata 106 */ 107 public MnoMetadata getMnoMetadata() { 108 return mnoMetadata; 109 } 110 111 /** 112 * @return sample1 return the sample1 113 */ 114 public String getSample1() { 115 return sample1; 116 } 117 118 /** 119 * @return sample2 return the sample2 120 */ 121 public String getSample2() { 122 return sample2; 123 } 124 125 /** 126 * @return CampaignAttributes return the CampaignAttributes 127 */ 128 public CampaignAttributes getCampaignAttributes() { 129 return campaignAttributes; 130 } 131 132 /** 133 * @return description return the description 134 */ 135 public String getDescription() { 136 return description; 137 } 138 139 /** 140 * @return createdAt return the CreatedAt 141 */ 142 public String getCreatedAt() { 143 return createdAt; 144 } 145 146 /** 147 * @return createdAt return the CreatedAt 148 */ 149 public String getCampaignSource() { 150 return campaignSource; 151 } 152 153 /** 154 * @return vertical return the vertical 155 */ 156 public String getVertical() { 157 return vertical; 158 } 159 160 /** 161 * @return campaignAlias return the camp 162aignAlias 163 */ 164 public String getCampaignAlias() { 165 return campaignAlias; 166 } 167 168 /** 169 * @return errorCode return the errorCode 170 */ 171 public String getErrorCode() { 172 return errorCode; 173 } 174 175 /** 176 * @return errorReason return the errorReason 177 */ 178 public String getErrorReason() { 179 return errorReason; 180 } 181 182 183 @Override 184 public String getId() { 185 return this.campaignID; 186 } 187}