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.

// Job is a nested struct in outboundbot response
type Job struct {
	JobGroupId        string         `json:"JobGroupId" xml:"JobGroupId"`
	JobFailureReason  string         `json:"JobFailureReason" xml:"JobFailureReason"`
	StrategyId        string         `json:"StrategyId" xml:"StrategyId"`
	EndReason         int            `json:"EndReason" xml:"EndReason"`
	DsReport          string         `json:"DsReport" xml:"DsReport"`
	SystemPriority    int            `json:"SystemPriority" xml:"SystemPriority"`
	InstanceId        string         `json:"InstanceId" xml:"InstanceId"`
	FailureReason     string         `json:"FailureReason" xml:"FailureReason"`
	Id                string         `json:"Id" xml:"Id"`
	JobId             string         `json:"JobId" xml:"JobId"`
	Priority          int            `json:"Priority" xml:"Priority"`
	ReferenceId       string         `json:"ReferenceId" xml:"ReferenceId"`
	NextExecutionTime int64          `json:"NextExecutionTime" xml:"NextExecutionTime"`
	CalledNumber      string         `json:"CalledNumber" xml:"CalledNumber"`
	ScenarioId        string         `json:"ScenarioId" xml:"ScenarioId"`
	StatusName        string         `json:"StatusName" xml:"StatusName"`
	ActualTime        int64          `json:"ActualTime" xml:"ActualTime"`
	Status            string         `json:"Status" xml:"Status"`
	CallingNumbers    []string       `json:"CallingNumbers" xml:"CallingNumbers"`
	Script            Script         `json:"Script" xml:"Script"`
	LatestTask        LatestTask     `json:"LatestTask" xml:"LatestTask"`
	Extras            []KeyValuePair `json:"Extras" xml:"Extras"`
	Tasks             []Task         `json:"Tasks" xml:"Tasks"`
	Summary           []SummaryItem  `json:"Summary" xml:"Summary"`
	Contacts          []Contact      `json:"Contacts" xml:"Contacts"`
}
