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

com.twilio.type.SubscribeRulesUpdate Maven / Gradle / Ivy

There is a newer version: 10.1.5
Show newest version
package com.twilio.type;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.ToString;

import java.util.List;
import java.util.Objects;

/**
 * Subscribe Rule Update - Used to update the list of Subscribe Rules
 *
 * 

* For more information see: * Specifying Subscribe Rules *

*/ @JsonIgnoreProperties(ignoreUnknown = true) @ToString public class SubscribeRulesUpdate { @JsonProperty("rules") private final List rules; public SubscribeRulesUpdate(@JsonProperty("rules") final List rules) { this.rules = rules; } public List getRules() { return rules; } @Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final SubscribeRulesUpdate that = (SubscribeRulesUpdate) o; return Objects.equals(getRules(), that.getRules()); } @Override public int hashCode() { return Objects.hash(getRules()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy