All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinypass.client.publisher.model.LicenseeNotificationRule Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.publisher.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;

public class LicenseeNotificationRule {

  /* The notification rule ID */
  private String notificationRuleId = null;
  

  /* The public ID of the licensee */
  private String licenseeId = null;
  

    private List contractIdList = new ArrayList();
  

  /* The notification rule parameter */
  private String parameter = null;
    //public enum parameterEnum {  OCCUPIED_SEATS_NUMBER,  PERIOD_OF_ACCESS,  DATE_OF_SALE,  };


  /* The notification rule condition */
  private String condition = null;
    //public enum conditionEnum {  EXCEEDS,  DROPS_BELOW,  REACHES_CAPACITY,  WILL_EXPIRE_IN,  HAS_EXPIRED,  EXPIRES,  WILL_OCCUR_IN,  HAS_OCCURRED,  OCCURS,  };


  /* The value of the notification rule condition */
  private Integer conditionValue = null;
  

  /* Whether the notification rule works for all contracts */
  private Boolean isForAllContracts = null;
  


  public String getNotificationRuleId() {
    return notificationRuleId;
  }
  public void setNotificationRuleId(String notificationRuleId) {
    this.notificationRuleId = notificationRuleId;
  }


  public String getLicenseeId() {
    return licenseeId;
  }
  public void setLicenseeId(String licenseeId) {
    this.licenseeId = licenseeId;
  }


  public List getContractIdList() {
    return contractIdList;
  }
  public void setContractIdList(List contractIdList) {
    this.contractIdList = contractIdList;
  }


  public String getParameter() {
    return parameter;
  }
  public void setParameter(String parameter) {
    this.parameter = parameter;
  }


  public String getCondition() {
    return condition;
  }
  public void setCondition(String condition) {
    this.condition = condition;
  }


  public Integer getConditionValue() {
    return conditionValue;
  }
  public void setConditionValue(Integer conditionValue) {
    this.conditionValue = conditionValue;
  }


  public Boolean getIsForAllContracts() {
    return isForAllContracts;
  }
  public void setIsForAllContracts(Boolean isForAllContracts) {
    this.isForAllContracts = isForAllContracts;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class LicenseeNotificationRule {\n");
    sb.append("  notificationRuleId: ").append(notificationRuleId).append("\n");
    sb.append("  licenseeId: ").append(licenseeId).append("\n");
    sb.append("  contractIdList: ").append(contractIdList).append("\n");
    sb.append("  parameter: ").append(parameter).append("\n");
    sb.append("  condition: ").append(condition).append("\n");
    sb.append("  conditionValue: ").append(conditionValue).append("\n");
    sb.append("  isForAllContracts: ").append(isForAllContracts).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy