/*
 * @(#) net.bis5.mattermost.model.Command
 * Copyright (c) 2016 takayuki
 *
 * 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 net.bis5.mattermost.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

/**
 * TODO 型の説明
 * 
 * @author takayuki
 * @since 2016/10/08
 */
@Data
public class Command {
	@JsonProperty("id")
	private String id;
	@JsonProperty("token")
	private String token;
	@JsonProperty("create_at")
	private long createAt;
	@JsonProperty("update_at")
	private long updateAt;
	@JsonProperty("delete_at")
	private long deleteAt;
	@JsonProperty("creator_id")
	private String creatorId;
	@JsonProperty("team_id")
	private String teamId;
	@JsonProperty("trigger")
	private String trigger;
	@JsonProperty("method")
	private CommandMethod method;
	@JsonProperty("username")
	private String userName;
	@JsonProperty("icon_url")
	private String iconUrl;
	@JsonProperty("auto_complete")
	private boolean autoComplete;
	@JsonProperty("auto_complete_desc")
	private String autoCompleteDesc;
	@JsonProperty("auto_complete_hint")
	private String autoCompleteHint;
	@JsonProperty("display_name")
	private String displayName;
	@JsonProperty("description")
	private String description;
	@JsonProperty("url")
	private String url;
}

@@ -770,16 +770,50 @@
 k.Data;%0D
+%0Aimport lombok.NoArgsConstructor;%0D
 %0A%0D%0A/**%0D%0A
@@ -886,16 +886,36 @@
 %0A@Data%0D%0A
+@NoArgsConstructor%0D%0A
 public c
@@ -930,16 +930,253 @@
 mand %7B%0D%0A
+%0D%0A%09public Command(String creatorId, String teamId, String url, CommandMethod method, String trigger) %7B%0D%0A%09%09this.creatorId = creatorId;%0D%0A%09%09this.teamId = teamId;%0D%0A%09%09this.url = url;%0D%0A%09%09this.method = method;%0D%0A%09%09this.trigger = trigger;%0D%0A%09%7D%0D%0A%0D%0A
 %09@JsonPr

add new constructor: model/Command