package com.github.daniel_sc.rocketchat.modern_client.request;

/**
 * {@link} https://rocket.chat/docs/developer-guides/rest-api/chat/postmessage/#attachments-detail
 *
 */
public class AttachmentField {
	
	/**
	 * Whether this field should be a short field.
	 */
	public boolean _short = false;
	
	/**
	 * The title of this field.
	 */
	public final String title;
	
	/**
	 * The value of this field, displayed underneath the title value.
	 */
	public final String value;

	public AttachmentField(String title, String value) {
		this.title = title;
		this.value = value;
	}
	
	/*
	public AttachmentField(boolean _short, String title, String value) {
		this._short = _short;
		this.title = title;
		this.value = value;
	}		
	*/

	@Override
	public String toString() {
		return "AttachmentField [title=" + title + ", value=" + value + "]";
	}

	
}

@@ -57,16 +57,68 @@
 quest;%0A%0A
+import com.google.gson.annotations.SerializedName;%0A%0A
 /**%0A * %7B
@@ -300,30 +300,60 @@
 short field.
+%09 * 
 %0A%09 */%0A
+%09@SerializedName(%22short%22)%0A
 %09public bool

Add "short" param serialized name.