package outboundbot

//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.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

// Task is a nested struct in outboundbot response
type Task struct {
	EndReason       string               `json:"EndReason" xml:"EndReason"`
	JobId           string               `json:"JobId" xml:"JobId"`
	Brief           string               `json:"Brief" xml:"Brief"`
	PlanedTime      int64                `json:"PlanedTime" xml:"PlanedTime"`
	CallId          string               `json:"CallId" xml:"CallId"`
	CalledNumber    string               `json:"CalledNumber" xml:"CalledNumber"`
	EndTime         int64                `json:"EndTime" xml:"EndTime"`
	ScenarioId      string               `json:"ScenarioId" xml:"ScenarioId"`
	HangUpDirection string               `json:"HangUpDirection" xml:"HangUpDirection"`
	CallingNumber   string               `json:"CallingNumber" xml:"CallingNumber"`
	TaskId          string               `json:"TaskId" xml:"TaskId"`
	Duration        int                  `json:"Duration" xml:"Duration"`
	ChatbotId       string               `json:"ChatbotId" xml:"ChatbotId"`
	ActualTime      int64                `json:"ActualTime" xml:"ActualTime"`
	Status          string               `json:"Status" xml:"Status"`
	RingingDuration int64                `json:"RingingDuration" xml:"RingingDuration"`
	Contact         Contact              `json:"Contact" xml:"Contact"`
	Conversation    []ConversationDetail `json:"Conversation" xml:"Conversation"`
}
