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

com.symphony.api.model.V4SymphonyElementsAction Maven / Gradle / Ivy

There is a newer version: 8.0.5
Show newest version
package com.symphony.api.model;

import com.symphony.api.model.V4Stream;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.annotation.JsonCreator;

public class V4SymphonyElementsAction   {
  
  @Schema(description = "")
  private V4Stream stream = null;
  
  @Schema(description = "The id of the message that contains the Form")
 /**
   * The id of the message that contains the Form  
  **/
  private String formMessageId = null;
  
  @Schema(description = "The id of the Form element")
 /**
   * The id of the Form element  
  **/
  private String formId = null;
  
  @Schema(description = "The values (in JSON format) answered on the Form")
 /**
   * The values (in JSON format) answered on the Form  
  **/
  private Object formValues = null;
 /**
   * Get stream
   * @return stream
  **/
  @JsonProperty("stream")
  public V4Stream getStream() {
    return stream;
  }

  public void setStream(V4Stream stream) {
    this.stream = stream;
  }

  public V4SymphonyElementsAction stream(V4Stream stream) {
    this.stream = stream;
    return this;
  }

 /**
   * The id of the message that contains the Form
   * @return formMessageId
  **/
  @JsonProperty("formMessageId")
  public String getFormMessageId() {
    return formMessageId;
  }

  public void setFormMessageId(String formMessageId) {
    this.formMessageId = formMessageId;
  }

  public V4SymphonyElementsAction formMessageId(String formMessageId) {
    this.formMessageId = formMessageId;
    return this;
  }

 /**
   * The id of the Form element
   * @return formId
  **/
  @JsonProperty("formId")
  public String getFormId() {
    return formId;
  }

  public void setFormId(String formId) {
    this.formId = formId;
  }

  public V4SymphonyElementsAction formId(String formId) {
    this.formId = formId;
    return this;
  }

 /**
   * The values (in JSON format) answered on the Form
   * @return formValues
  **/
  @JsonProperty("formValues")
  public Object getFormValues() {
    return formValues;
  }

  public void setFormValues(Object formValues) {
    this.formValues = formValues;
  }

  public V4SymphonyElementsAction formValues(Object formValues) {
    this.formValues = formValues;
    return this;
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V4SymphonyElementsAction {\n");
    
    sb.append("    stream: ").append(toIndentedString(stream)).append("\n");
    sb.append("    formMessageId: ").append(toIndentedString(formMessageId)).append("\n");
    sb.append("    formId: ").append(toIndentedString(formId)).append("\n");
    sb.append("    formValues: ").append(toIndentedString(formValues)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private static String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy