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

com.ibm.cloud.eventnotifications.event_notifications.v1.model.SubscriptionUpdateAttributes Maven / Gradle / Ivy

There is a newer version: 0.6.1
Show newest version
/*
 * (C) Copyright IBM Corp. 2021.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 */
package com.ibm.cloud.eventnotifications.event_notifications.v1.model;

import java.util.List;

import com.google.gson.annotations.SerializedName;
import com.ibm.cloud.sdk.core.service.model.GenericModel;

/**
 * SubscriptionUpdateAttributes.
 *
 * Classes which extend this class:
 * - SubscriptionUpdateAttributesSMSAttributes
 * - SubscriptionUpdateAttributesEmailUpdateAttributes
 * - SubscriptionUpdateAttributesWebhookAttributes
 */
public class SubscriptionUpdateAttributes extends GenericModel {

  protected List to;
  protected EmailUpdateAttributesTo toEmail;
  @SerializedName("add_notification_payload")
  protected Boolean addNotificationPayload;
  @SerializedName("reply_to_mail")
  protected String replyToMail;
  @SerializedName("reply_to_name")
  protected String replyToName;
  @SerializedName("from_name")
  protected String fromName;
  protected List invited;
  protected EmailUpdateAttributesUnsubscribed unsubscribed;
  @SerializedName("signing_enabled")
  protected Boolean signingEnabled;

  protected SubscriptionUpdateAttributes() {
  }

  /**
   * Gets the to.
   *
   * The phone number to send the SMS to.
   *
   * @return the to
   */
  public List to() {
    return to;
  }
  public EmailUpdateAttributesTo toEmail() {
    return toEmail;
}


  /**
   * Gets the addNotificationPayload.
   *
   * Whether to add the notification payload to the email.
   *
   * @return the addNotificationPayload
   */
  public Boolean addNotificationPayload() {
    return addNotificationPayload;
  }

  /**
   * Gets the replyToMail.
   *
   * The email address to reply to.
   *
   * @return the replyToMail
   */
  public String replyToMail() {
    return replyToMail;
  }

  /**
   * Gets the replyToName.
   *
   * The email name to reply to.
   *
   * @return the replyToName
   */
  public String replyToName() {
    return replyToName;
  }

  /**
   * Gets the fromName.
   *
   * The email name of From.
   *
   * @return the fromName
   */
  public String fromName() {
    return fromName;
  }

  /**
   * Gets the invited.
   *
   * The email ids invited.
   *
   * @return the invited
   */
  public List invited() {
    return invited;
  }

  /**
   * Gets the unsubscribed.
   *
   * The email ids.
   *
   * @return the unsubscribed
   */
  public EmailUpdateAttributesUnsubscribed unsubscribed() {
    return unsubscribed;
  }

  /**
   * Gets the signingEnabled.
   *
   * Signing webhook attributes.
   *
   * @return the signingEnabled
   */
  public Boolean signingEnabled() {
    return signingEnabled;
  }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy