com.lark.oapi.card.model.Action Maven / Gradle / Ivy
/*
* MIT License
*
* Copyright (c) 2022 Lark Technologies Pte. Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice, shall be included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package com.lark.oapi.card.model;
import com.google.gson.annotations.SerializedName;
import java.util.Arrays;
import java.util.Map;
public class Action {
@SerializedName("value")
private Map value;
@SerializedName("tag")
private String tag;
@SerializedName("option")
private String option;
@SerializedName("timezone")
private String timezone;
@SerializedName("name")
private String name;
@SerializedName("form_value")
private Map formValue;
@SerializedName("input_value")
private String inputValue;
@SerializedName("options")
private String[] options;
@SerializedName("checked")
private Boolean checked;
public Map getValue() {
return value;
}
public void setValue(Map value) {
this.value = value;
}
public String getTag() {
return tag;
}
public void setTag(String tag) {
this.tag = tag;
}
public String getOption() {
return option;
}
public void setOption(String option) {
this.option = option;
}
public String getTimezone() {
return timezone;
}
public void setTimezone(String timezone) {
this.timezone = timezone;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Map getFormValue() {
return formValue;
}
public void setFormValue(Map formValue) {
this.formValue = formValue;
}
public String getInputValue() {
return inputValue;
}
public void setInputValue(String inputValue) {
this.inputValue = inputValue;
}
public String[] getOptions() {
return options;
}
public void setOptions(String[] options) {
this.options = options;
}
public Boolean getChecked() {
return checked;
}
public void setChecked(Boolean checked) {
this.checked = checked;
}
@Override
public String toString() {
return "Action{" +
"value=" + value +
", tag='" + tag + '\'' +
", option='" + option + '\'' +
", name='" + name + '\'' +
", form_value='" + formValue + '\'' +
", input_value='" + inputValue + '\'' +
", options='" + Arrays.toString(options) + '\'' +
", checked='" + checked + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy