Documentation ¶
Index ¶
- func Process(input string, start time.Time) (string, error)
- type CreateReportComment
- type CreateReportVote
- type CreateThreeOneOne
- type GetReport
- type GetReportsByAddress
- type GetReportsByDeviceID
- type GetReportsByLatLng
- type GetReportsByZipCode
- type KeyValuePair
- type Processor
- type Request
- type UpdateThreeOneOne
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateReportComment ¶
type CreateReportComment struct { Request Processor ReportID string `xml:"ReportId" json:"ReportId"` Comment string `xml:"Comment" json:"Comment"` // contains filtered or unexported fields }
func (*CreateReportComment) Run ¶
func (st *CreateReportComment) Run() (string, error)
func (CreateReportComment) String ¶
func (st CreateReportComment) String() string
type CreateReportVote ¶
type CreateReportVote struct { Request Processor ReportID string `xml:"ReportId" json:"ReportId"` // contains filtered or unexported fields }
func (*CreateReportVote) Run ¶
func (st *CreateReportVote) Run() (string, error)
func (CreateReportVote) String ¶
func (st CreateReportVote) String() string
type CreateThreeOneOne ¶
type CreateThreeOneOne struct { Request Processor data.BaseReport KeyValuePairs []KeyValuePair `xml:"KeyValuePairs>KeyValuePair"` }
func (*CreateThreeOneOne) Run ¶
func (st *CreateThreeOneOne) Run() (string, error)
func (CreateThreeOneOne) String ¶
func (s CreateThreeOneOne) String() string
type GetReport ¶
type GetReport struct { Request Processor ReportID string `xml:"ReportId" json:"ReportId"` ReportIDV int64 // IncludeDetails string `xml:"IncludeDetails" json:"IncludeDetails"` IncludeComments string `xml:"IncludeComments" json:"IncludeComments"` IncludeVotes string `xml:"IncludeVotes" json:"IncludeVotes"` DateRangeStart data.CustomTime `xml:"DateRangeStart" json:"DateRangeStart"` DateRangeEnd data.CustomTime `xml:"DateRangeEnd" json:"DateRangeEnd"` CurrentStatus string `xml:"CurrentStatus" json:"CurrentStatus"` // contains filtered or unexported fields }
type GetReportsByAddress ¶
type GetReportsByAddress struct { Request Processor Address string `xml:"Address" json:"Address"` Radius string `xml:"Radius" json:"Radius"` MaxResults string `xml:"MaxResults" json:"MaxResults"` IncludeDetails string `xml:"IncludeDetails" json:"IncludeDetails"` IncludeComments string `xml:"IncludeComments" json:"IncludeComments"` DateRangeStart data.CustomTime `xml:"DateRangeStart" json:"DateRangeStart"` DateRangeEnd data.CustomTime `xml:"DateRangeEnd" json:"DateRangeEnd"` CurrentStatus string `xml:"CurrentStatus" json:"CurrentStatus"` // contains filtered or unexported fields }
func (*GetReportsByAddress) Run ¶
func (st *GetReportsByAddress) Run() (string, error)
func (GetReportsByAddress) String ¶
func (st GetReportsByAddress) String() string
type GetReportsByDeviceID ¶
type GetReportsByDeviceID struct { Request Processor DeviceID string `xml:"DeviceId" json:"DeviceId"` MaxResults string `xml:"MaxResults" json:"MaxResults"` IncludeDetails string `xml:"IncludeDetails" json:"IncludeDetails"` IncludeComments string `xml:"IncludeComments" json:"IncludeComments"` DateRangeStart data.CustomTime `xml:"DateRangeStart" json:"DateRangeStart"` DateRangeEnd data.CustomTime `xml:"DateRangeEnd" json:"DateRangeEnd"` CurrentStatus string `xml:"CurrentStatus" json:"CurrentStatus"` // contains filtered or unexported fields }
func (*GetReportsByDeviceID) Run ¶
func (st *GetReportsByDeviceID) Run() (string, error)
func (GetReportsByDeviceID) String ¶
func (st GetReportsByDeviceID) String() string
type GetReportsByLatLng ¶
type GetReportsByLatLng struct { Request Processor Latitude string `xml:"Latitude" json:"Latitude"` LatitudeV float64 // Longitude string `xml:"Longitude" json:"Longitude"` LongitudeV float64 // Radius string `xml:"Radius" json:"Radius"` MaxResults string `xml:"MaxResults" json:"MaxResults"` IncludeDetails string `xml:"IncludeDetails" json:"IncludeDetails"` IncludeComments string `xml:"IncludeComments" json:"IncludeComments"` DateRangeStart data.CustomTime `xml:"DateRangeStart" json:"DateRangeStart"` DateRangeEnd data.CustomTime `xml:"DateRangeEnd" json:"DateRangeEnd"` CurrentStatus string `xml:"CurrentStatus" json:"CurrentStatus"` // contains filtered or unexported fields }
func (*GetReportsByLatLng) Run ¶
func (st *GetReportsByLatLng) Run() (string, error)
func (GetReportsByLatLng) String ¶
func (st GetReportsByLatLng) String() string
type GetReportsByZipCode ¶
type GetReportsByZipCode struct { Request Processor ZipCode string `xml:"ZipCode" json:"ZipCode"` MaxResults string `xml:"MaxResults" json:"MaxResults"` IncludeDetails string `xml:"IncludeDetails" json:"IncludeDetails"` IncludeComments string `xml:"IncludeComments" json:"IncludeComments"` DateRangeStart data.CustomTime `xml:"DateRangeStart" json:"DateRangeStart"` DateRangeEnd data.CustomTime `xml:"DateRangeEnd" json:"DateRangeEnd"` CurrentStatus string `xml:"CurrentStatus" json:"CurrentStatus"` // contains filtered or unexported fields }
func (*GetReportsByZipCode) Run ¶
func (st *GetReportsByZipCode) Run() (string, error)
func (GetReportsByZipCode) String ¶
func (st GetReportsByZipCode) String() string
type KeyValuePair ¶
type Request ¶
type Request struct { XMLName xml.Name `xml:"CsRequest" json:"CsRequest"` ApiAuthKey string `xml:"ApiAuthKey" json:"ApiAuthKey"` ApiRequestType string `xml:"ApiRequestType" json:"ApiRequestType"` ApiRequestVersion string `xml:"ApiRequestVersion" json:"ApiRequestVersion"` // contains filtered or unexported fields }
type UpdateThreeOneOne ¶
type UpdateThreeOneOne struct { Request Processor ReportID string `xml:"TicketId" json:"TicketId"` TicketSLA string `xml:"TicketSla" json:"TicketSla"` // contains filtered or unexported fields }
func (*UpdateThreeOneOne) Run ¶
func (st *UpdateThreeOneOne) Run() (string, error)
func (UpdateThreeOneOne) String ¶
func (st UpdateThreeOneOne) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.