lib/api/workflow/workflow_models/task.go

166 lines
3.5 KiB
Go
Raw Permalink Normal View History

2021-08-14 22:34:08 +00:00
// Code generated by go-swagger; DO NOT EDIT.
// (c) 2012-2020 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package workflow_models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// Task task
//
// swagger:model Task
type Task struct {
// API Name
APIName string `json:"APIName,omitempty"`
// Account ID
AccountID string `json:"AccountID,omitempty"`
// Due Date
ActivityDate string `json:"ActivityDate,omitempty"`
// Task description body
Body string `json:"Body,omitempty"`
// Call Result
CallDisposition bool `json:"CallDisposition,omitempty"`
// Call Duration
CallDurationInSeconds float64 `json:"CallDurationInSeconds,omitempty"`
// Call Object Identifier
CallObject string `json:"CallObject,omitempty"`
// Call Type
CallType string `json:"CallType,omitempty"`
// Created By
CreatedByID string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
// Comments
Description string `json:"Description,omitempty"`
// Taxnexus Record Id
ID string `json:"ID,omitempty"`
// Inserted User Id
InsertedByID string `json:"InsertedByID,omitempty"`
// Is Task Archived?
IsArchived bool `json:"IsArchived,omitempty"`
// Is Task Closed?
IsClosed bool `json:"IsClosed,omitempty"`
// Is Task a High Priority?
IsHighPriority bool `json:"IsHighPriority,omitempty"`
// Create Recurring Series of Tasks
IsRecurrence bool `json:"IsRecurrence,omitempty"`
// Reminder Set
IsReminderSet bool `json:"IsReminderSet,omitempty"`
// Is Rich Text?
IsRichText bool `json:"IsRichText,omitempty"`
// Public
IsVisibleInSelfService bool `json:"IsVisibleInSelfService,omitempty"`
// Is What?
IsWhat bool `json:"IsWhat,omitempty"`
// Last Modified By
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
// Like Count
LikeCount float64 `json:"LikeCount,omitempty"`
// Link URL
LinkURL string `json:"LinkURL,omitempty"`
// Master Label
MasterLabel string `json:"MasterLabel,omitempty"`
// Network Scope
NetworkScope string `json:"NetworkScope,omitempty"`
// Task Owner
OwnerID string `json:"OwnerID,omitempty"`
// Task Parent
ParentID string `json:"ParentID,omitempty"`
// Priority
Priority string `json:"Priority,omitempty"`
// Status
Status string `json:"Status,omitempty"`
// Subject
Subject string `json:"Subject,omitempty"`
// Task Subtype
TaskSubtype string `json:"TaskSubtype,omitempty"`
// Title
Title string `json:"Title,omitempty"`
// Type
Type string `json:"Type,omitempty"`
// Visibility
Visibility string `json:"Visibility,omitempty"`
// Related To
WhatID string `json:"WhatID,omitempty"`
// Name
WhoID string `json:"WhoID,omitempty"`
}
// Validate validates this task
func (m *Task) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this task based on context it is used
func (m *Task) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *Task) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *Task) UnmarshalBinary(b []byte) error {
var res Task
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}