ciscosmartbonding

package module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 10 Imported by: 0

README

Cisco Smart Bonding

Status GitHub tag (latest SemVer) GitHub GoDoc Go Report Card Coverage CI

A Go library for interacting with the Cisco Smart Bonding API.

Currently a work in progress. This README will get updated as it progresses.

Usage

Import the library

import "github.com/darrenparkinson/ciscosmartbonding"

Initialise a client:

c := ciscosmartbonding.NewClient(clientID, secret, nil)

You can optionally provide your own Resty v2 client.

Retrieve TSP Codes with the client

res, err := c.GetAllTSPCodes(context.Background())

Examples

There are various examples to perform the various steps required. They all rely on having the appropriate environment variables which can be within a .env file at the top level of the repository.

Retriever

Firstly, there is the retriever example. This will perform the pull update requests every 30 seconds and display summary information.

This should be opened in a separate window whilst you run the other samples:

$ go run ./examples/0-retriever-service -env development

Refer to the README for more information.

Create Ticket

This can be used to create a new shadow ticket. You will need a lot more variables for this example.
Refer to the README for more information.

$ go run ./examples/2-create-ticket

There is a variation on this to create an an escalated P1 ticket:

$ go run ./examples/9-create-ticket-escalated-p1

You should update the details to use a new ticket number each time.

Update Work Notes

This demonstrates the use of a helper function and the equivalent PushUpdate function for updating work notes in a ticket.

TSP Codes

This provides an example of retrieving the TSP codes. It will output the total number of TSP codes available and save them to a CSV. Optionaly you can specify to save as json.

$ go run ./examples/1-tsp
Retrieved 19078 codes
Pull Update

An example of pulling down updates. This is similar to the retriever example, but performs a single pull.

Documentation

Overview

Copyright 2021 The ciscobcs AUTHORS. All rights reserved.

Use of this source code is governed by an MIT-style license that can be found in the LICENSE file. Code generated by gen-accessors; DO NOT EDIT.

Index

Constants

View Source
const (
	ResolutionCode_Undefined = iota // to catch zero values
	ResolutionCode_ClosedNotEntitled
	ResolutionCode_CustomerEducation
	ResolutionCode_DocumentationProvided
	ResolutionCode_Duplicate
	ResolutionCode_HardwareReplacementRMASVO
	ResolutionCode_HardwareUpgradeExistingDefect
	ResolutionCode_HardwareUpgradeNewDefect
	ResolutionCode_HardwareUpgradeNewFeatureFunctionality
	ResolutionCode_LicenseIssues
	ResolutionCode_NetworkRedesign
	ResolutionCode_NoResponseFromCustomer
	ResolutionCode_OpenedInError
	ResolutionCode_PartnerSolved
	ResolutionCode_Redirect3rdPartySupport
	ResolutionCode_RedirectPartnerResellerSupport
	ResolutionCode_ResolvedByCustomer
	ResolutionCode_SoftwareConfiguration
	ResolutionCode_SoftwareUpgradeExistingDefect
	ResolutionCode_SoftwareUpgradeNewDefect
	ResolutionCode_SoftwareUpgradeNewFeatureFunctionality
	ResolutionCode_UnreproducibleProblem
	ResolutionCode_UnresolvedBug
	ResolutionCode_NewUserAccess
	ResolutionCode_CustomerActivation
	ResolutionCode_Reports
	ResolutionCode_SandboxUpload
	ResolutionCode_ApplicationErrorWPC
	ResolutionCode_ContentDelivered
	ResolutionCode_NewFeatureRequest
	ResolutionCode_ContentRequest
	ResolutionCode_ContentNotAvailable
	ResolutionCode_ResetPassword
	ResolutionCode_MobileIOS
	ResolutionCode_MobileAndroid
	ResolutionCode_ViewerInstalled
	ResolutionCode_ViewerOnline
	ResolutionCode_ApplicationErrorMAC
)
View Source
const (
	ErrProcessingListParams = Err("ciscosmartbonding: error processing list parameters")

	ErrBadRequest    = Err("ciscosmartbonding: bad request")
	ErrUnauthorized  = Err("ciscosmartbonding: unauthorized request")
	ErrForbidden     = Err("ciscosmartbonding: forbidden")
	ErrInternalError = Err("ciscosmartbonding: internal error")
	ErrUnknown       = Err("ciscosmartbonding: unexpected error occurred")
	ErrNotFound      = Err("ciscosmartbonding: not found")

	ErrUnsupportedType = Err("ciscosmartbonding: unsupported type")
)

Error Constants

View Source
const DateTimeWithOffsetNoColonFormat = "2006-01-02T15:04:05.999999999Z0700"

DateTimeWithOffsetNoColonFormat represents the datetime field provided in the Cisco results.

Variables

View Source
var (
	CloseTicketComplexity_name = map[int64]string{
		0: "0 Level -Procedural",
		1: "1 Level -Basic",
		2: "2 Level -Advanced",
		3: "3 Level -Exceptionally Complex",
	}
	CloseTicketComplexity_value = map[string]int64{
		"0 Level -Procedural":            0,
		"1 Level -Basic":                 1,
		"2 Level -Advanced":              2,
		"3 Level -Exceptionally Complex": 3,
	}
)
View Source
var (
	CloseTicketResolutionCode_name = map[int64]string{
		0:  "Undefined",
		1:  "Closed-Not Entitled",
		2:  "Customer Education",
		3:  "Documentation Provided",
		4:  "Duplicate",
		5:  "Hardware Replacement (RMA/SVO)",
		6:  "Hardware Upgrade - Existing Defect",
		7:  "Hardware Upgrade - New Defect",
		8:  "Hardware Upgrade - New Feature/Functionality",
		9:  "License Issues",
		10: "Network Redesign",
		11: "No Response from Customer",
		12: "Opened In Error",
		13: "PARTNER_SOLVED",
		14: "Redirect-3rd Party Support",
		15: "Redirect-Partner/Reseller Support",
		16: "Resolv_By_Cust",
		17: "Software Configuration",
		18: "Software Upgrade - Existing Defect",
		19: "Software Upgrade - New Defect",
		20: "Software Upgrade - New Feature/Functionality",
		21: "Unreproducible Problem",
		22: "Unresolved Bug",
		23: "New user Access",
		24: "Customer Activation",
		25: "Reports",
		26: "Sandbox Upload",
		27: "Application error - WPC",
		28: "Content Delivered",
		29: "New Feature Request",
		30: "Content Request",
		31: "Content not Available",
		32: "Reset Password",
		33: "Mobile - IOS",
		34: "Mobile - Android",
		35: "Viewer - Installed",
		36: "Viewer - Online",
		37: "Application error - MAC",
	}
	CloseTicketResolutionCode_value = map[string]int64{
		"Undefined":                                    0,
		"Closed-Not Entitled":                          1,
		"Customer Education":                           2,
		"Documentation Provided":                       3,
		"Duplicate":                                    4,
		"Hardware Replacement (RMA/SVO)":               5,
		"Hardware Upgrade - Existing Defect":           6,
		"Hardware Upgrade - New Defect":                7,
		"Hardware Upgrade - New Feature/Functionality": 8,
		"License Issues":                               9,
		"Network Redesign":                             10,
		"No Response from Customer":                    11,
		"Opened In Error":                              12,
		"PARTNER_SOLVED":                               13,
		"Redirect-3rd Party Support":                   14,
		"Redirect-Partner/Reseller Support":            15,
		"Resolv_By_Cust":                               16,
		"Software Configuration":                       17,
		"Software Upgrade - Existing Defect":           18,
		"Software Upgrade - New Defect":                19,
		"Software Upgrade - New Feature/Functionality": 20,
		"Unreproducible Problem":                       21,
		"Unresolved Bug":                               22,
		"New user Access":                              23,
		"Customer Activation":                          24,
		"Reports":                                      25,
		"Sandbox Upload":                               26,
		"Application error - WPC":                      27,
		"Content Delivered":                            28,
		"New Feature Request":                          29,
		"Content Request":                              30,
		"Content not Available":                        31,
		"Reset Password":                               32,
		"Mobile - IOS":                                 33,
		"Mobile - Android":                             34,
		"Viewer - Installed":                           35,
		"Viewer - Online":                              36,
		"Application error - MAC":                      37,
	}
)
View Source
var (
	CloseTicketUnderlyingCause_name = map[int64]string{
		0:  "Unknown Cause/Other (Use ONLY if none of the above apply)",
		1:  "Licensing",
		2:  "Hardware Failure",
		3:  "Hardware - non-failure (limits exceeded, not enough memory, missing parts...)",
		4:  "Software Bug",
		5:  "Software -not a bug (scalability, version selection, install/upgrade help...)",
		6:  "Documentation/Tools (incomplete, too complex...)",
		7:  "Debug/Diagnostic Capability (missing, incomplete, cryptic...)",
		8:  "Design Assistance Needed (best practices, deployment advice, redesign...)",
		9:  "Configuration Assistance (process not intuitive, too complex, inconsistent...)",
		10: "Usability -other than config (product hard to use, no console port...)",
		11: "Interoperability/Compatibility (Cisco to Cisco or Cisco to 3rd Party)",
		12: "Non-Cisco product or service problem (third party failure, telco...)",
		13: "External Environment Issue (power outage, heat, lightning...)",
	}
	CloseTicketUnderlyingCause_value = map[string]int64{
		"Unknown Cause/Other": 0,
		"Unknown Cause/Other (Use ONLY if none of the above apply)": 0,
		"Licensing":              1,
		"Hardware Failure":       2,
		"Hardware - non-failure": 3,
		"Hardware - non-failure (limits exceeded, not enough memory, missing parts...)": 3,
		"Software Bug":        4,
		"Software -not a bug": 5,
		"Software -not a bug (scalability, version selection, install/upgrade help...)": 5,
		"Documentation/Tools":                                                            6,
		"Documentation/Tools (incomplete, too complex...)":                               6,
		"Debug/Diagnostic Capabilities":                                                  7,
		"Debug/Diagnostic Capability (missing, incomplete, cryptic...)":                  7,
		"Design Assistance Needed":                                                       8,
		"Design Assistance Needed (best practices, deployment advice, redesign...)":      8,
		"Configuration Assistance":                                                       9,
		"Configuration Assistance (process not intuitive, too complex, inconsistent...)": 9,
		"Usability -other than config":                                                   10,
		"Usability -other than config (product hard to use, no console port...)":         10,
		"Interoperability/Compatibility":                                                 11,
		"Interoperability/Compatibility (Cisco to Cisco or Cisco to 3rd Party)":          11,
		"Non-Cisco product or service problem":                                           12,
		"Non-Cisco product or service problem (third party failure, telco...)":           12,
		"External Environment issue":                                                     13,
		"External Environment Issue (power outage, heat, lightning...)":                  13,
	}
)

Functions

func Float32 added in v0.2.0

func Float32(v float32) *float32

Float32 is a helper routine that allocates a new Float32 value to store v and returns a pointer to it.

func Int32

func Int32(v int32) *int32

Int32 is a helper routine that allocates a new int32 value to store v and returns a pointer to it.

func Int64

func Int64(v int64) *int64

Int64 is a helper routine that allocates a new int64 value to store v and returns a pointer to it.

func String

func String(v string) *string

String is a helper routine that allocates a new string value to store v and returns a pointer to it.

Types

type AttachmentsHolder

type AttachmentsHolder struct {
	DataBase64 *string  `json:"DataBase64,omitempty"`
	FileName   *string  `json:"FileName,omitempty"`
	NR         *float32 `json:"NR,omitempty"`
}

AttachmentsHolder defines model for AttachmentsHolder.

func (*AttachmentsHolder) GetDataBase64

func (a *AttachmentsHolder) GetDataBase64() string

GetDataBase64 returns the DataBase64 field if it's non-nil, zero value otherwise.

func (*AttachmentsHolder) GetFileName

func (a *AttachmentsHolder) GetFileName() string

GetFileName returns the FileName field if it's non-nil, zero value otherwise.

func (*AttachmentsHolder) GetNR

func (a *AttachmentsHolder) GetNR() float32

GetNR returns the NR field if it's non-nil, zero value otherwise.

type CallActivitiesHolder

type CallActivitiesHolder struct {
	ActivityType      *EntityTypesHolder `json:"ActivityType,omitempty"`
	BPPShortName      *string            `json:"BPPShortName,omitempty"`
	BackTime          *CiscoDateTime     `json:"BackTime,omitempty"`
	BusyTime          *CiscoDateTime     `json:"BusyTime,omitempty"`
	Distance          *int32             `json:"Distance,omitempty"`
	TravelBackMinutes *int32             `json:"TravelBackMinutes,omitempty"`
	TravelBackRemarks *string            `json:"TravelBackRemarks,omitempty"`
	TravelMinutes     *int32             `json:"TravelMinutes,omitempty"`
	TravelRemarks     *string            `json:"TravelRemarks,omitempty"`
	WorkEndTime       *CiscoDateTime     `json:"WorkEndTime,omitempty"`
	WorkMinutes       *int32             `json:"WorkMinutes,omitempty"`
	WorkRemarks       *string            `json:"WorkRemarks,omitempty"`
	WorkStartTime     *CiscoDateTime     `json:"WorkStartTime,omitempty"`
}

CallActivitiesHolder defines model for CallActivitiesHolder.

func (*CallActivitiesHolder) GetActivityType

func (c *CallActivitiesHolder) GetActivityType() *EntityTypesHolder

GetActivityType returns the ActivityType field.

func (*CallActivitiesHolder) GetBPPShortName

func (c *CallActivitiesHolder) GetBPPShortName() string

GetBPPShortName returns the BPPShortName field if it's non-nil, zero value otherwise.

func (*CallActivitiesHolder) GetBackTime

func (c *CallActivitiesHolder) GetBackTime() *CiscoDateTime

GetBackTime returns the BackTime field.

func (*CallActivitiesHolder) GetBusyTime

func (c *CallActivitiesHolder) GetBusyTime() *CiscoDateTime

GetBusyTime returns the BusyTime field.

func (*CallActivitiesHolder) GetDistance

func (c *CallActivitiesHolder) GetDistance() *int32

GetDistance returns the Distance field.

func (*CallActivitiesHolder) GetTravelBackMinutes

func (c *CallActivitiesHolder) GetTravelBackMinutes() *int32

GetTravelBackMinutes returns the TravelBackMinutes field.

func (*CallActivitiesHolder) GetTravelBackRemarks

func (c *CallActivitiesHolder) GetTravelBackRemarks() string

GetTravelBackRemarks returns the TravelBackRemarks field if it's non-nil, zero value otherwise.

func (*CallActivitiesHolder) GetTravelMinutes

func (c *CallActivitiesHolder) GetTravelMinutes() *int32

GetTravelMinutes returns the TravelMinutes field.

func (*CallActivitiesHolder) GetTravelRemarks

func (c *CallActivitiesHolder) GetTravelRemarks() string

GetTravelRemarks returns the TravelRemarks field if it's non-nil, zero value otherwise.

func (*CallActivitiesHolder) GetWorkEndTime

func (c *CallActivitiesHolder) GetWorkEndTime() *CiscoDateTime

GetWorkEndTime returns the WorkEndTime field.

func (*CallActivitiesHolder) GetWorkMinutes

func (c *CallActivitiesHolder) GetWorkMinutes() *int32

GetWorkMinutes returns the WorkMinutes field.

func (*CallActivitiesHolder) GetWorkRemarks

func (c *CallActivitiesHolder) GetWorkRemarks() string

GetWorkRemarks returns the WorkRemarks field if it's non-nil, zero value otherwise.

func (*CallActivitiesHolder) GetWorkStartTime

func (c *CallActivitiesHolder) GetWorkStartTime() *CiscoDateTime

GetWorkStartTime returns the WorkStartTime field.

type CallAdditionalsHolder

type CallAdditionalsHolder struct {
	Field1       *StringKeyField  `json:"Field1,omitempty"`
	Field10      *StringKeyField  `json:"Field10,omitempty"`
	Field11      *StringKeyField  `json:"Field11,omitempty"`
	Field12      *StringKeyField  `json:"Field12,omitempty"`
	Field13      *StringKeyField  `json:"Field13,omitempty"`
	Field14      *StringKeyField  `json:"Field14,omitempty"`
	Field15      *StringKeyField  `json:"Field15,omitempty"`
	Field16      *StringKeyField  `json:"Field16,omitempty"`
	Field17      *StringKeyField  `json:"Field17,omitempty"`
	Field18      *StringKeyField  `json:"Field18,omitempty"`
	Field19      *StringKeyField  `json:"Field19,omitempty"`
	Field2       *StringKeyField  `json:"Field2,omitempty"`
	Field20      *StringKeyField  `json:"Field20,omitempty"`
	Field21      *StringKeyField  `json:"Field21,omitempty"`
	Field22      *StringKeyField  `json:"Field22,omitempty"`
	Field23      *StringKeyField  `json:"Field23,omitempty"`
	Field24      *StringKeyField  `json:"Field24,omitempty"`
	Field25      *StringKeyField  `json:"Field25,omitempty"`
	Field26      *StringKeyField  `json:"Field26,omitempty"`
	Field27      *StringKeyField  `json:"Field27,omitempty"`
	Field28      *StringKeyField  `json:"Field28,omitempty"`
	Field29      *StringKeyField  `json:"Field29,omitempty"`
	Field3       *StringKeyField  `json:"Field3,omitempty"`
	Field30      *StringKeyField  `json:"Field30,omitempty"`
	Field31      *StringKeyField  `json:"Field31,omitempty"`
	Field32      *StringKeyField  `json:"Field32,omitempty"`
	Field33      *StringKeyField  `json:"Field33,omitempty"`
	Field34      *StringKeyField  `json:"Field34,omitempty"`
	Field35      *StringKeyField  `json:"Field35,omitempty"`
	Field36      *StringKeyField  `json:"Field36,omitempty"`
	Field37      *StringKeyField  `json:"Field37,omitempty"`
	Field38      *StringKeyField  `json:"Field38,omitempty"`
	Field39      *StringKeyField  `json:"Field39,omitempty"`
	Field4       *StringKeyField  `json:"Field4,omitempty"`
	Field40      *StringKeyField  `json:"Field40,omitempty"`
	Field41      *StringKeyField  `json:"Field41,omitempty"`
	Field42      *StringKeyField  `json:"Field42,omitempty"`
	Field43      *StringKeyField  `json:"Field43,omitempty"`
	Field44      *StringKeyField  `json:"Field44,omitempty"`
	Field45      *StringKeyField  `json:"Field45,omitempty"`
	Field46      *StringKeyField  `json:"Field46,omitempty"`
	Field47      *StringKeyField  `json:"Field47,omitempty"`
	Field48      *StringKeyField  `json:"Field48,omitempty"`
	Field49      *StringKeyField  `json:"Field49,omitempty"`
	Field5       *StringKeyField  `json:"Field5,omitempty"`
	Field50      *StringKeyField  `json:"Field50,omitempty"`
	Field51      *StringKeyField  `json:"Field51,omitempty"`
	Field52      *StringKeyField  `json:"Field52,omitempty"`
	Field53      *StringKeyField  `json:"Field53,omitempty"`
	Field54      *StringKeyField  `json:"Field54,omitempty"`
	Field55      *StringKeyField  `json:"Field55,omitempty"`
	Field56      *StringKeyField  `json:"Field56,omitempty"`
	Field57      *StringKeyField  `json:"Field57,omitempty"`
	Field58      *StringKeyField  `json:"Field58,omitempty"`
	Field59      *StringKeyField  `json:"Field59,omitempty"`
	Field6       *StringKeyField  `json:"Field6,omitempty"`
	Field60      *StringKeyField  `json:"Field60,omitempty"`
	Field61      *StringKeyField  `json:"Field61,omitempty"`
	Field62      *StringKeyField  `json:"Field62,omitempty"`
	Field63      *StringKeyField  `json:"Field63,omitempty"`
	Field64      *StringKeyField  `json:"Field64,omitempty"`
	Field7       *StringKeyField  `json:"Field7,omitempty"`
	Field8       *StringKeyField  `json:"Field8,omitempty"`
	Field9       *StringKeyField  `json:"Field9,omitempty"`
	FunctionPort *StringKeyField  `json:"FunctionPort,omitempty"`
	PosNr        *IntegerKeyField `json:"PosNr,omitempty"`
	Url1         *string          `json:"Url1,omitempty"`
	Url2         *string          `json:"Url2,omitempty"`
	Url3         *string          `json:"Url3,omitempty"`
	Url4         *string          `json:"Url4,omitempty"`
	Url5         *string          `json:"Url5,omitempty"`
	Url6         *string          `json:"Url6,omitempty"`
	Url7         *string          `json:"Url7,omitempty"`
	Url8         *string          `json:"Url8,omitempty"`
	UrlName1     *string          `json:"UrlName1,omitempty"`
	UrlName2     *string          `json:"UrlName2,omitempty"`
	UrlName3     *string          `json:"UrlName3,omitempty"`
	UrlName4     *string          `json:"UrlName4,omitempty"`
	UrlName5     *string          `json:"UrlName5,omitempty"`
	UrlName6     *string          `json:"UrlName6,omitempty"`
	UrlName7     *string          `json:"UrlName7,omitempty"`
	UrlName8     *string          `json:"UrlName8,omitempty"`
}

CallAdditionalsHolder defines model for CallAdditionalsHolder.

func (*CallAdditionalsHolder) GetField1

func (c *CallAdditionalsHolder) GetField1() *StringKeyField

GetField1 returns the Field1 field.

func (*CallAdditionalsHolder) GetField10

func (c *CallAdditionalsHolder) GetField10() *StringKeyField

GetField10 returns the Field10 field.

func (*CallAdditionalsHolder) GetField11

func (c *CallAdditionalsHolder) GetField11() *StringKeyField

GetField11 returns the Field11 field.

func (*CallAdditionalsHolder) GetField12

func (c *CallAdditionalsHolder) GetField12() *StringKeyField

GetField12 returns the Field12 field.

func (*CallAdditionalsHolder) GetField13

func (c *CallAdditionalsHolder) GetField13() *StringKeyField

GetField13 returns the Field13 field.

func (*CallAdditionalsHolder) GetField14

func (c *CallAdditionalsHolder) GetField14() *StringKeyField

GetField14 returns the Field14 field.

func (*CallAdditionalsHolder) GetField15

func (c *CallAdditionalsHolder) GetField15() *StringKeyField

GetField15 returns the Field15 field.

func (*CallAdditionalsHolder) GetField16

func (c *CallAdditionalsHolder) GetField16() *StringKeyField

GetField16 returns the Field16 field.

func (*CallAdditionalsHolder) GetField17

func (c *CallAdditionalsHolder) GetField17() *StringKeyField

GetField17 returns the Field17 field.

func (*CallAdditionalsHolder) GetField18

func (c *CallAdditionalsHolder) GetField18() *StringKeyField

GetField18 returns the Field18 field.

func (*CallAdditionalsHolder) GetField19

func (c *CallAdditionalsHolder) GetField19() *StringKeyField

GetField19 returns the Field19 field.

func (*CallAdditionalsHolder) GetField2

func (c *CallAdditionalsHolder) GetField2() *StringKeyField

GetField2 returns the Field2 field.

func (*CallAdditionalsHolder) GetField20

func (c *CallAdditionalsHolder) GetField20() *StringKeyField

GetField20 returns the Field20 field.

func (*CallAdditionalsHolder) GetField21

func (c *CallAdditionalsHolder) GetField21() *StringKeyField

GetField21 returns the Field21 field.

func (*CallAdditionalsHolder) GetField22

func (c *CallAdditionalsHolder) GetField22() *StringKeyField

GetField22 returns the Field22 field.

func (*CallAdditionalsHolder) GetField23

func (c *CallAdditionalsHolder) GetField23() *StringKeyField

GetField23 returns the Field23 field.

func (*CallAdditionalsHolder) GetField24

func (c *CallAdditionalsHolder) GetField24() *StringKeyField

GetField24 returns the Field24 field.

func (*CallAdditionalsHolder) GetField25

func (c *CallAdditionalsHolder) GetField25() *StringKeyField

GetField25 returns the Field25 field.

func (*CallAdditionalsHolder) GetField26

func (c *CallAdditionalsHolder) GetField26() *StringKeyField

GetField26 returns the Field26 field.

func (*CallAdditionalsHolder) GetField27

func (c *CallAdditionalsHolder) GetField27() *StringKeyField

GetField27 returns the Field27 field.

func (*CallAdditionalsHolder) GetField28

func (c *CallAdditionalsHolder) GetField28() *StringKeyField

GetField28 returns the Field28 field.

func (*CallAdditionalsHolder) GetField29

func (c *CallAdditionalsHolder) GetField29() *StringKeyField

GetField29 returns the Field29 field.

func (*CallAdditionalsHolder) GetField3

func (c *CallAdditionalsHolder) GetField3() *StringKeyField

GetField3 returns the Field3 field.

func (*CallAdditionalsHolder) GetField30

func (c *CallAdditionalsHolder) GetField30() *StringKeyField

GetField30 returns the Field30 field.

func (*CallAdditionalsHolder) GetField31

func (c *CallAdditionalsHolder) GetField31() *StringKeyField

GetField31 returns the Field31 field.

func (*CallAdditionalsHolder) GetField32

func (c *CallAdditionalsHolder) GetField32() *StringKeyField

GetField32 returns the Field32 field.

func (*CallAdditionalsHolder) GetField33

func (c *CallAdditionalsHolder) GetField33() *StringKeyField

GetField33 returns the Field33 field.

func (*CallAdditionalsHolder) GetField34

func (c *CallAdditionalsHolder) GetField34() *StringKeyField

GetField34 returns the Field34 field.

func (*CallAdditionalsHolder) GetField35

func (c *CallAdditionalsHolder) GetField35() *StringKeyField

GetField35 returns the Field35 field.

func (*CallAdditionalsHolder) GetField36

func (c *CallAdditionalsHolder) GetField36() *StringKeyField

GetField36 returns the Field36 field.

func (*CallAdditionalsHolder) GetField37

func (c *CallAdditionalsHolder) GetField37() *StringKeyField

GetField37 returns the Field37 field.

func (*CallAdditionalsHolder) GetField38

func (c *CallAdditionalsHolder) GetField38() *StringKeyField

GetField38 returns the Field38 field.

func (*CallAdditionalsHolder) GetField39

func (c *CallAdditionalsHolder) GetField39() *StringKeyField

GetField39 returns the Field39 field.

func (*CallAdditionalsHolder) GetField4

func (c *CallAdditionalsHolder) GetField4() *StringKeyField

GetField4 returns the Field4 field.

func (*CallAdditionalsHolder) GetField40

func (c *CallAdditionalsHolder) GetField40() *StringKeyField

GetField40 returns the Field40 field.

func (*CallAdditionalsHolder) GetField41

func (c *CallAdditionalsHolder) GetField41() *StringKeyField

GetField41 returns the Field41 field.

func (*CallAdditionalsHolder) GetField42

func (c *CallAdditionalsHolder) GetField42() *StringKeyField

GetField42 returns the Field42 field.

func (*CallAdditionalsHolder) GetField43

func (c *CallAdditionalsHolder) GetField43() *StringKeyField

GetField43 returns the Field43 field.

func (*CallAdditionalsHolder) GetField44

func (c *CallAdditionalsHolder) GetField44() *StringKeyField

GetField44 returns the Field44 field.

func (*CallAdditionalsHolder) GetField45

func (c *CallAdditionalsHolder) GetField45() *StringKeyField

GetField45 returns the Field45 field.

func (*CallAdditionalsHolder) GetField46

func (c *CallAdditionalsHolder) GetField46() *StringKeyField

GetField46 returns the Field46 field.

func (*CallAdditionalsHolder) GetField47

func (c *CallAdditionalsHolder) GetField47() *StringKeyField

GetField47 returns the Field47 field.

func (*CallAdditionalsHolder) GetField48

func (c *CallAdditionalsHolder) GetField48() *StringKeyField

GetField48 returns the Field48 field.

func (*CallAdditionalsHolder) GetField49

func (c *CallAdditionalsHolder) GetField49() *StringKeyField

GetField49 returns the Field49 field.

func (*CallAdditionalsHolder) GetField5

func (c *CallAdditionalsHolder) GetField5() *StringKeyField

GetField5 returns the Field5 field.

func (*CallAdditionalsHolder) GetField50

func (c *CallAdditionalsHolder) GetField50() *StringKeyField

GetField50 returns the Field50 field.

func (*CallAdditionalsHolder) GetField51

func (c *CallAdditionalsHolder) GetField51() *StringKeyField

GetField51 returns the Field51 field.

func (*CallAdditionalsHolder) GetField52

func (c *CallAdditionalsHolder) GetField52() *StringKeyField

GetField52 returns the Field52 field.

func (*CallAdditionalsHolder) GetField53

func (c *CallAdditionalsHolder) GetField53() *StringKeyField

GetField53 returns the Field53 field.

func (*CallAdditionalsHolder) GetField54

func (c *CallAdditionalsHolder) GetField54() *StringKeyField

GetField54 returns the Field54 field.

func (*CallAdditionalsHolder) GetField55

func (c *CallAdditionalsHolder) GetField55() *StringKeyField

GetField55 returns the Field55 field.

func (*CallAdditionalsHolder) GetField56

func (c *CallAdditionalsHolder) GetField56() *StringKeyField

GetField56 returns the Field56 field.

func (*CallAdditionalsHolder) GetField57

func (c *CallAdditionalsHolder) GetField57() *StringKeyField

GetField57 returns the Field57 field.

func (*CallAdditionalsHolder) GetField58

func (c *CallAdditionalsHolder) GetField58() *StringKeyField

GetField58 returns the Field58 field.

func (*CallAdditionalsHolder) GetField59

func (c *CallAdditionalsHolder) GetField59() *StringKeyField

GetField59 returns the Field59 field.

func (*CallAdditionalsHolder) GetField6

func (c *CallAdditionalsHolder) GetField6() *StringKeyField

GetField6 returns the Field6 field.

func (*CallAdditionalsHolder) GetField60

func (c *CallAdditionalsHolder) GetField60() *StringKeyField

GetField60 returns the Field60 field.

func (*CallAdditionalsHolder) GetField61

func (c *CallAdditionalsHolder) GetField61() *StringKeyField

GetField61 returns the Field61 field.

func (*CallAdditionalsHolder) GetField62

func (c *CallAdditionalsHolder) GetField62() *StringKeyField

GetField62 returns the Field62 field.

func (*CallAdditionalsHolder) GetField63

func (c *CallAdditionalsHolder) GetField63() *StringKeyField

GetField63 returns the Field63 field.

func (*CallAdditionalsHolder) GetField64

func (c *CallAdditionalsHolder) GetField64() *StringKeyField

GetField64 returns the Field64 field.

func (*CallAdditionalsHolder) GetField7

func (c *CallAdditionalsHolder) GetField7() *StringKeyField

GetField7 returns the Field7 field.

func (*CallAdditionalsHolder) GetField8

func (c *CallAdditionalsHolder) GetField8() *StringKeyField

GetField8 returns the Field8 field.

func (*CallAdditionalsHolder) GetField9

func (c *CallAdditionalsHolder) GetField9() *StringKeyField

GetField9 returns the Field9 field.

func (*CallAdditionalsHolder) GetFunctionPort

func (c *CallAdditionalsHolder) GetFunctionPort() *StringKeyField

GetFunctionPort returns the FunctionPort field.

func (*CallAdditionalsHolder) GetPosNr

func (c *CallAdditionalsHolder) GetPosNr() *IntegerKeyField

GetPosNr returns the PosNr field.

func (*CallAdditionalsHolder) GetUrl1

func (c *CallAdditionalsHolder) GetUrl1() string

GetUrl1 returns the Url1 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrl2

func (c *CallAdditionalsHolder) GetUrl2() string

GetUrl2 returns the Url2 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrl3

func (c *CallAdditionalsHolder) GetUrl3() string

GetUrl3 returns the Url3 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrl4

func (c *CallAdditionalsHolder) GetUrl4() string

GetUrl4 returns the Url4 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrl5

func (c *CallAdditionalsHolder) GetUrl5() string

GetUrl5 returns the Url5 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrl6

func (c *CallAdditionalsHolder) GetUrl6() string

GetUrl6 returns the Url6 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrl7

func (c *CallAdditionalsHolder) GetUrl7() string

GetUrl7 returns the Url7 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrl8

func (c *CallAdditionalsHolder) GetUrl8() string

GetUrl8 returns the Url8 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrlName1

func (c *CallAdditionalsHolder) GetUrlName1() string

GetUrlName1 returns the UrlName1 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrlName2

func (c *CallAdditionalsHolder) GetUrlName2() string

GetUrlName2 returns the UrlName2 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrlName3

func (c *CallAdditionalsHolder) GetUrlName3() string

GetUrlName3 returns the UrlName3 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrlName4

func (c *CallAdditionalsHolder) GetUrlName4() string

GetUrlName4 returns the UrlName4 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrlName5

func (c *CallAdditionalsHolder) GetUrlName5() string

GetUrlName5 returns the UrlName5 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrlName6

func (c *CallAdditionalsHolder) GetUrlName6() string

GetUrlName6 returns the UrlName6 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrlName7

func (c *CallAdditionalsHolder) GetUrlName7() string

GetUrlName7 returns the UrlName7 field if it's non-nil, zero value otherwise.

func (*CallAdditionalsHolder) GetUrlName8

func (c *CallAdditionalsHolder) GetUrlName8() string

GetUrlName8 returns the UrlName8 field if it's non-nil, zero value otherwise.

type CallCalculationsHolder

type CallCalculationsHolder struct {
	ChargingTypes        *ChargingTypesHolder `json:"ChargingTypes,omitempty"`
	ContractShortName    *string              `json:"ContractShortName,omitempty"`
	RequestedWorkEndTime *CiscoDateTime       `json:"RequestedWorkEndTime,omitempty"`
	Revenue              *float32             `json:"Revenue,omitempty"`
	ServiceType          *string              `json:"ServiceType,omitempty"`
}

CallCalculationsHolder defines model for CallCalculationsHolder.

func (*CallCalculationsHolder) GetChargingTypes

func (c *CallCalculationsHolder) GetChargingTypes() *ChargingTypesHolder

GetChargingTypes returns the ChargingTypes field.

func (*CallCalculationsHolder) GetContractShortName

func (c *CallCalculationsHolder) GetContractShortName() string

GetContractShortName returns the ContractShortName field if it's non-nil, zero value otherwise.

func (*CallCalculationsHolder) GetRequestedWorkEndTime

func (c *CallCalculationsHolder) GetRequestedWorkEndTime() *CiscoDateTime

GetRequestedWorkEndTime returns the RequestedWorkEndTime field.

func (*CallCalculationsHolder) GetRevenue

func (c *CallCalculationsHolder) GetRevenue() float32

GetRevenue returns the Revenue field if it's non-nil, zero value otherwise.

func (*CallCalculationsHolder) GetServiceType

func (c *CallCalculationsHolder) GetServiceType() string

GetServiceType returns the ServiceType field if it's non-nil, zero value otherwise.

type CallData

type CallData struct {
	Attachments      *[]AttachmentsHolder           `json:"Attachments,omitempty"`
	CallActivities   *[]CallActivitiesHolder        `json:"CallActivities,omitempty"`
	CallAdditionals  *[]CallAdditionalsHolder       `json:"CallAdditionals,omitempty"`
	CallCalculations *CallCalculationsHolder        `json:"CallCalculations,omitempty"`
	CallStates       *CallSystemCodesHolder         `json:"CallStates,omitempty"`    // Ticket Status of the ticket/case e.g. "In Progress" (from list). M for Create/Update.
	CallStatesSPR    *CallSystemCodesHolder         `json:"CallStatesSPR,omitempty"` // TAC Ticket Status
	Calls            *InboundCallsHolder            `json:"Calls,omitempty"`
	ContractElements *InboundContractElementsHolder `json:"ContractElements,omitempty"`
	Contracts        *InboundContractsHolder        `json:"Contracts,omitempty"`
	Control          *ControlFlagsHolder            `json:"Control,omitempty"`
	DeviceMovements  *[]DeviceMovementsHolder       `json:"DeviceMovements,omitempty"`
	Devices          *DevicesHolder                 `json:"Devices,omitempty"`
	ExtTableValues   *CallExtensionsHolder          `json:"ExtTableValues,omitempty"`
	FailureTypes     *CallSystemCodesHolder         `json:"FailureTypes,omitempty"`
	Impacts          *CallSystemCodesHolder         `json:"Impacts,omitempty"`
	Locations        *LocationsHolder               `json:"Locations,omitempty"`
	ParentCall       *ParentCallsHolder             `json:"ParentCall,omitempty"`
	Priorities       *CallSystemCodesHolder         `json:"Priorities,omitempty"` // Urgency of the ticket/case (shadow or escalated case) e.g. "Shadow" (from list). M on Create.
	ProblemTypes     *CallSystemCodesHolder         `json:"ProblemTypes,omitempty"`
	Queues1          *QueuesHolder                  `json:"Queues1,omitempty"`
	Queues2          *QueuesHolder                  `json:"Queues2,omitempty"`
	Queues3          *QueuesHolder                  `json:"Queues3,omitempty"`
	RequestTypes     *CallSystemCodesHolder         `json:"RequestTypes,omitempty"`
	Severities       *CallSystemCodesHolder         `json:"Severities,omitempty"` // Severity of the ticket/case e.g. "MED" (from list). M for Create.
	Urgency          *CallSystemCodesHolder         `json:"Urgency,omitempty"`

	// They may also send us an "error" if there is no data to fetch, also with a 200 status.
	// So we'll add the fields here so we can check against them
	Message string `json:"message,omitempty"`
	Status  string `json:"status,omitempty"`
}

CallData defines model for CallData.

func (*CallData) GetAttachments

func (c *CallData) GetAttachments() []AttachmentsHolder

GetAttachments returns the Attachments field if it's non-nil, zero value otherwise.

func (*CallData) GetCallActivities

func (c *CallData) GetCallActivities() []CallActivitiesHolder

GetCallActivities returns the CallActivities field if it's non-nil, zero value otherwise.

func (*CallData) GetCallAdditionals

func (c *CallData) GetCallAdditionals() []CallAdditionalsHolder

GetCallAdditionals returns the CallAdditionals field if it's non-nil, zero value otherwise.

func (*CallData) GetCallCalculations

func (c *CallData) GetCallCalculations() *CallCalculationsHolder

GetCallCalculations returns the CallCalculations field.

func (*CallData) GetCallStates

func (c *CallData) GetCallStates() *CallSystemCodesHolder

GetCallStates returns the CallStates field.

func (*CallData) GetCallStatesSPR

func (c *CallData) GetCallStatesSPR() *CallSystemCodesHolder

GetCallStatesSPR returns the CallStatesSPR field.

func (*CallData) GetCalls

func (c *CallData) GetCalls() *InboundCallsHolder

GetCalls returns the Calls field.

func (*CallData) GetContractElements

func (c *CallData) GetContractElements() *InboundContractElementsHolder

GetContractElements returns the ContractElements field.

func (*CallData) GetContracts

func (c *CallData) GetContracts() *InboundContractsHolder

GetContracts returns the Contracts field.

func (*CallData) GetControl

func (c *CallData) GetControl() *ControlFlagsHolder

GetControl returns the Control field.

func (*CallData) GetDeviceMovements

func (c *CallData) GetDeviceMovements() []DeviceMovementsHolder

GetDeviceMovements returns the DeviceMovements field if it's non-nil, zero value otherwise.

func (*CallData) GetDevices

func (c *CallData) GetDevices() *DevicesHolder

GetDevices returns the Devices field.

func (*CallData) GetExtTableValues

func (c *CallData) GetExtTableValues() *CallExtensionsHolder

GetExtTableValues returns the ExtTableValues field.

func (*CallData) GetFailureTypes

func (c *CallData) GetFailureTypes() *CallSystemCodesHolder

GetFailureTypes returns the FailureTypes field.

func (*CallData) GetImpacts

func (c *CallData) GetImpacts() *CallSystemCodesHolder

GetImpacts returns the Impacts field.

func (*CallData) GetLocations

func (c *CallData) GetLocations() *LocationsHolder

GetLocations returns the Locations field.

func (*CallData) GetParentCall

func (c *CallData) GetParentCall() *ParentCallsHolder

GetParentCall returns the ParentCall field.

func (*CallData) GetPriorities

func (c *CallData) GetPriorities() *CallSystemCodesHolder

GetPriorities returns the Priorities field.

func (*CallData) GetProblemTypes

func (c *CallData) GetProblemTypes() *CallSystemCodesHolder

GetProblemTypes returns the ProblemTypes field.

func (*CallData) GetQueues1

func (c *CallData) GetQueues1() *QueuesHolder

GetQueues1 returns the Queues1 field.

func (*CallData) GetQueues2

func (c *CallData) GetQueues2() *QueuesHolder

GetQueues2 returns the Queues2 field.

func (*CallData) GetQueues3

func (c *CallData) GetQueues3() *QueuesHolder

GetQueues3 returns the Queues3 field.

func (*CallData) GetRequestTypes

func (c *CallData) GetRequestTypes() *CallSystemCodesHolder

GetRequestTypes returns the RequestTypes field.

func (*CallData) GetSeverities

func (c *CallData) GetSeverities() *CallSystemCodesHolder

GetSeverities returns the Severities field.

func (*CallData) GetUrgency

func (c *CallData) GetUrgency() *CallSystemCodesHolder

GetUrgency returns the Urgency field.

type CallExtensionsHolder

type CallExtensionsHolder struct {
	Field1   *string `json:"Field1,omitempty"`
	Field10  *string `json:"Field10,omitempty"`
	Field100 *string `json:"Field100,omitempty"`
	Field101 *string `json:"Field101,omitempty"`
	Field102 *string `json:"Field102,omitempty"`
	Field103 *string `json:"Field103,omitempty"`
	Field104 *string `json:"Field104,omitempty"` // Partner Ticket Open Date & Time. M for Create.
	Field105 *string `json:"Field105,omitempty"` // Partner ticket acceptance time. M for Update.
	Field106 *string `json:"Field106,omitempty"` // Partner Ticket Closed Date & Time. M for Update (on closure).
	Field107 *string `json:"Field107,omitempty"` // RMA # associated with partner ticket.
	Field108 *string `json:"Field108,omitempty"` // 3rd Party Case Number e.g. "VendINC123". M for Create.
	Field109 *string `json:"Field109,omitempty"` // 3rd Party Product Vendor Name e.g. "vendor". M for Create.
	Field11  *string `json:"Field11,omitempty"`  // Recipient / Site Contact. M for Create (Premium).
	Field110 *string `json:"Field110,omitempty"` // Customer 3rd Party Support Contract Active (customer/partner) e.g. "Yes".
	Field111 *string `json:"Field111,omitempty"` // 3rd Party Suspected Product Name e.g. "Router Cat9K". M for Create.
	Field112 *string `json:"Field112,omitempty"` // 3rd Party Suspected Product Issue e.g. "Power". M for Create.
	Field113 *string `json:"Field113,omitempty"` // 3rd Party Main Contact First Name (case owner) e.g. "Simon". M for Create.
	Field114 *string `json:"Field114,omitempty"` // 3rd Party Main Contact Last Name(case owner) e.g. "Smith". M for Create.
	Field115 *string `json:"Field115,omitempty"` // 3rd Party Contact Telephone (case owner) e.g. "1-855-000-0000". M for Create.
	Field116 *string `json:"Field116,omitempty"` // 3rd Party Contact Email (case owner) e.g. simon.smith@vendor.com. M for Create.
	Field117 *string `json:"Field117,omitempty"`
	Field118 *string `json:"Field118,omitempty"`
	Field119 *string `json:"Field119,omitempty"`
	Field12  *string `json:"Field12,omitempty"`
	Field120 *string `json:"Field120,omitempty"`
	Field121 *string `json:"Field121,omitempty"`
	Field122 *string `json:"Field122,omitempty"`
	Field123 *string `json:"Field123,omitempty"`
	Field124 *string `json:"Field124,omitempty"`
	Field125 *string `json:"Field125,omitempty"`
	Field126 *string `json:"Field126,omitempty"`
	Field127 *string `json:"Field127,omitempty"`
	Field128 *string `json:"Field128,omitempty"`
	Field13  *string `json:"Field13,omitempty"` // Site Availability From in  yyyy-MM-dd HH:mm:ss | | dd-MM-yyyy HH:mm:ss format. M for Create (Premium)
	Field14  *string `json:"Field14,omitempty"` // Site Availability To in  yyyy-MM-dd HH:mm:ss | | dd-MM-yyyy HH:mm:ss format. M for Create (Premium)
	Field15  *string `json:"Field15,omitempty"`
	Field16  *string `json:"Field16,omitempty"`
	Field17  *string `json:"Field17,omitempty"`
	Field18  *string `json:"Field18,omitempty"`
	Field19  *string `json:"Field19,omitempty"`
	Field2   *string `json:"Field2,omitempty"`
	Field20  *string `json:"Field20,omitempty"`
	Field21  *string `json:"Field21,omitempty"` // Security Clearance Code e.g. "None". M for Create (Premium).
	Field22  *string `json:"Field22,omitempty"`
	Field23  *string `json:"Field23,omitempty"`
	Field24  *string `json:"Field24,omitempty"`
	Field25  *string `json:"Field25,omitempty"` // Ship To Address - Country. M for Create.
	Field26  *string `json:"Field26,omitempty"` // Ship To Country Code e.g. 1. M for Create.
	Field27  *string `json:"Field27,omitempty"`
	Field28  *string `json:"Field28,omitempty"`
	Field29  *string `json:"Field29,omitempty"`
	Field3   *string `json:"Field3,omitempty"`
	Field30  *string `json:"Field30,omitempty"`
	Field31  *string `json:"Field31,omitempty"`
	Field32  *string `json:"Field32,omitempty"`
	Field33  *string `json:"Field33,omitempty"`
	Field34  *string `json:"Field34,omitempty"`
	Field35  *string `json:"Field35,omitempty"`
	Field36  *string `json:"Field36,omitempty"`
	Field37  *string `json:"Field37,omitempty"`
	Field38  *string `json:"Field38,omitempty"`
	Field39  *string `json:"Field39,omitempty"`
	Field4   *string `json:"Field4,omitempty"`
	Field40  *string `json:"Field40,omitempty"`
	Field41  *string `json:"Field41,omitempty"`
	Field42  *string `json:"Field42,omitempty"`
	Field43  *string `json:"Field43,omitempty"`
	Field44  *string `json:"Field44,omitempty"`
	Field45  *string `json:"Field45,omitempty"`
	Field46  *string `json:"Field46,omitempty"`
	Field47  *string `json:"Field47,omitempty"`
	Field48  *string `json:"Field48,omitempty"`
	Field49  *string `json:"Field49,omitempty"`
	Field5   *string `json:"Field5,omitempty"`
	Field50  *string `json:"Field50,omitempty"`
	Field51  *string `json:"Field51,omitempty"`
	Field52  *string `json:"Field52,omitempty"`
	Field53  *string `json:"Field53,omitempty"`
	Field54  *string `json:"Field54,omitempty"`
	Field55  *string `json:"Field55,omitempty"`
	Field56  *string `json:"Field56,omitempty"`
	Field57  *string `json:"Field57,omitempty"`
	Field58  *string `json:"Field58,omitempty"`
	Field59  *string `json:"Field59,omitempty"`
	Field6   *string `json:"Field6,omitempty"`
	Field60  *string `json:"Field60,omitempty"`
	Field61  *string `json:"Field61,omitempty"`
	Field62  *string `json:"Field62,omitempty"`
	Field63  *string `json:"Field63,omitempty"`
	Field64  *string `json:"Field64,omitempty"`
	Field65  *string `json:"Field65,omitempty"`
	Field66  *string `json:"Field66,omitempty"`
	Field67  *string `json:"Field67,omitempty"`
	Field68  *string `json:"Field68,omitempty"`
	Field69  *string `json:"Field69,omitempty"`
	Field7   *string `json:"Field7,omitempty"`
	Field70  *string `json:"Field70,omitempty"`
	Field71  *string `json:"Field71,omitempty"`
	Field72  *string `json:"Field72,omitempty"`
	Field73  *string `json:"Field73,omitempty"`
	Field74  *string `json:"Field74,omitempty"`
	Field75  *string `json:"Field75,omitempty"`
	Field76  *string `json:"Field76,omitempty"`
	Field77  *string `json:"Field77,omitempty"`
	Field78  *string `json:"Field78,omitempty"`
	Field79  *string `json:"Field79,omitempty"`
	Field8   *string `json:"Field8,omitempty"`
	Field80  *string `json:"Field80,omitempty"`
	Field81  *string `json:"Field81,omitempty"`
	Field82  *string `json:"Field82,omitempty"`
	Field83  *string `json:"Field83,omitempty"`
	Field84  *string `json:"Field84,omitempty"`
	Field85  *string `json:"Field85,omitempty"`
	Field86  *string `json:"Field86,omitempty"`
	Field87  *string `json:"Field87,omitempty"`
	Field88  *string `json:"Field88,omitempty"`
	Field89  *string `json:"Field89,omitempty"`
	Field9   *string `json:"Field9,omitempty"`
	Field90  *string `json:"Field90,omitempty"`
	Field91  *string `json:"Field91,omitempty"`
	Field92  *string `json:"Field92,omitempty"`
	Field93  *string `json:"Field93,omitempty"`
	Field94  *string `json:"Field94,omitempty"`
	Field95  *string `json:"Field95,omitempty"`
	Field96  *string `json:"Field96,omitempty"`
	Field97  *string `json:"Field97,omitempty"`
	Field98  *string `json:"Field98,omitempty"`
	Field99  *string `json:"Field99,omitempty"`
}

CallExtensionsHolder defines model for CallExtensionsHolder.

func (*CallExtensionsHolder) GetField1

func (c *CallExtensionsHolder) GetField1() string

GetField1 returns the Field1 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField10

func (c *CallExtensionsHolder) GetField10() string

GetField10 returns the Field10 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField100

func (c *CallExtensionsHolder) GetField100() string

GetField100 returns the Field100 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField101

func (c *CallExtensionsHolder) GetField101() string

GetField101 returns the Field101 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField102

func (c *CallExtensionsHolder) GetField102() string

GetField102 returns the Field102 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField103

func (c *CallExtensionsHolder) GetField103() string

GetField103 returns the Field103 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField104

func (c *CallExtensionsHolder) GetField104() string

GetField104 returns the Field104 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField105

func (c *CallExtensionsHolder) GetField105() string

GetField105 returns the Field105 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField106

func (c *CallExtensionsHolder) GetField106() string

GetField106 returns the Field106 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField107

func (c *CallExtensionsHolder) GetField107() string

GetField107 returns the Field107 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField108

func (c *CallExtensionsHolder) GetField108() string

GetField108 returns the Field108 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField109

func (c *CallExtensionsHolder) GetField109() string

GetField109 returns the Field109 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField11

func (c *CallExtensionsHolder) GetField11() string

GetField11 returns the Field11 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField110

func (c *CallExtensionsHolder) GetField110() string

GetField110 returns the Field110 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField111

func (c *CallExtensionsHolder) GetField111() string

GetField111 returns the Field111 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField112

func (c *CallExtensionsHolder) GetField112() string

GetField112 returns the Field112 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField113

func (c *CallExtensionsHolder) GetField113() string

GetField113 returns the Field113 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField114

func (c *CallExtensionsHolder) GetField114() string

GetField114 returns the Field114 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField115

func (c *CallExtensionsHolder) GetField115() string

GetField115 returns the Field115 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField116

func (c *CallExtensionsHolder) GetField116() string

GetField116 returns the Field116 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField117

func (c *CallExtensionsHolder) GetField117() string

GetField117 returns the Field117 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField118

func (c *CallExtensionsHolder) GetField118() string

GetField118 returns the Field118 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField119

func (c *CallExtensionsHolder) GetField119() string

GetField119 returns the Field119 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField12

func (c *CallExtensionsHolder) GetField12() string

GetField12 returns the Field12 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField120

func (c *CallExtensionsHolder) GetField120() string

GetField120 returns the Field120 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField121

func (c *CallExtensionsHolder) GetField121() string

GetField121 returns the Field121 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField122

func (c *CallExtensionsHolder) GetField122() string

GetField122 returns the Field122 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField123

func (c *CallExtensionsHolder) GetField123() string

GetField123 returns the Field123 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField124

func (c *CallExtensionsHolder) GetField124() string

GetField124 returns the Field124 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField125

func (c *CallExtensionsHolder) GetField125() string

GetField125 returns the Field125 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField126

func (c *CallExtensionsHolder) GetField126() string

GetField126 returns the Field126 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField127

func (c *CallExtensionsHolder) GetField127() string

GetField127 returns the Field127 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField128

func (c *CallExtensionsHolder) GetField128() string

GetField128 returns the Field128 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField13

func (c *CallExtensionsHolder) GetField13() string

GetField13 returns the Field13 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField14

func (c *CallExtensionsHolder) GetField14() string

GetField14 returns the Field14 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField15

func (c *CallExtensionsHolder) GetField15() string

GetField15 returns the Field15 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField16

func (c *CallExtensionsHolder) GetField16() string

GetField16 returns the Field16 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField17

func (c *CallExtensionsHolder) GetField17() string

GetField17 returns the Field17 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField18

func (c *CallExtensionsHolder) GetField18() string

GetField18 returns the Field18 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField19

func (c *CallExtensionsHolder) GetField19() string

GetField19 returns the Field19 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField2

func (c *CallExtensionsHolder) GetField2() string

GetField2 returns the Field2 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField20

func (c *CallExtensionsHolder) GetField20() string

GetField20 returns the Field20 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField21

func (c *CallExtensionsHolder) GetField21() string

GetField21 returns the Field21 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField22

func (c *CallExtensionsHolder) GetField22() string

GetField22 returns the Field22 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField23

func (c *CallExtensionsHolder) GetField23() string

GetField23 returns the Field23 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField24

func (c *CallExtensionsHolder) GetField24() string

GetField24 returns the Field24 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField25

func (c *CallExtensionsHolder) GetField25() string

GetField25 returns the Field25 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField26

func (c *CallExtensionsHolder) GetField26() string

GetField26 returns the Field26 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField27

func (c *CallExtensionsHolder) GetField27() string

GetField27 returns the Field27 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField28

func (c *CallExtensionsHolder) GetField28() string

GetField28 returns the Field28 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField29

func (c *CallExtensionsHolder) GetField29() string

GetField29 returns the Field29 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField3

func (c *CallExtensionsHolder) GetField3() string

GetField3 returns the Field3 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField30

func (c *CallExtensionsHolder) GetField30() string

GetField30 returns the Field30 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField31

func (c *CallExtensionsHolder) GetField31() string

GetField31 returns the Field31 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField32

func (c *CallExtensionsHolder) GetField32() string

GetField32 returns the Field32 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField33

func (c *CallExtensionsHolder) GetField33() string

GetField33 returns the Field33 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField34

func (c *CallExtensionsHolder) GetField34() string

GetField34 returns the Field34 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField35

func (c *CallExtensionsHolder) GetField35() string

GetField35 returns the Field35 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField36

func (c *CallExtensionsHolder) GetField36() string

GetField36 returns the Field36 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField37

func (c *CallExtensionsHolder) GetField37() string

GetField37 returns the Field37 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField38

func (c *CallExtensionsHolder) GetField38() string

GetField38 returns the Field38 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField39

func (c *CallExtensionsHolder) GetField39() string

GetField39 returns the Field39 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField4

func (c *CallExtensionsHolder) GetField4() string

GetField4 returns the Field4 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField40

func (c *CallExtensionsHolder) GetField40() string

GetField40 returns the Field40 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField41

func (c *CallExtensionsHolder) GetField41() string

GetField41 returns the Field41 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField42

func (c *CallExtensionsHolder) GetField42() string

GetField42 returns the Field42 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField43

func (c *CallExtensionsHolder) GetField43() string

GetField43 returns the Field43 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField44

func (c *CallExtensionsHolder) GetField44() string

GetField44 returns the Field44 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField45

func (c *CallExtensionsHolder) GetField45() string

GetField45 returns the Field45 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField46

func (c *CallExtensionsHolder) GetField46() string

GetField46 returns the Field46 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField47

func (c *CallExtensionsHolder) GetField47() string

GetField47 returns the Field47 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField48

func (c *CallExtensionsHolder) GetField48() string

GetField48 returns the Field48 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField49

func (c *CallExtensionsHolder) GetField49() string

GetField49 returns the Field49 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField5

func (c *CallExtensionsHolder) GetField5() string

GetField5 returns the Field5 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField50

func (c *CallExtensionsHolder) GetField50() string

GetField50 returns the Field50 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField51

func (c *CallExtensionsHolder) GetField51() string

GetField51 returns the Field51 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField52

func (c *CallExtensionsHolder) GetField52() string

GetField52 returns the Field52 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField53

func (c *CallExtensionsHolder) GetField53() string

GetField53 returns the Field53 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField54

func (c *CallExtensionsHolder) GetField54() string

GetField54 returns the Field54 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField55

func (c *CallExtensionsHolder) GetField55() string

GetField55 returns the Field55 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField56

func (c *CallExtensionsHolder) GetField56() string

GetField56 returns the Field56 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField57

func (c *CallExtensionsHolder) GetField57() string

GetField57 returns the Field57 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField58

func (c *CallExtensionsHolder) GetField58() string

GetField58 returns the Field58 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField59

func (c *CallExtensionsHolder) GetField59() string

GetField59 returns the Field59 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField6

func (c *CallExtensionsHolder) GetField6() string

GetField6 returns the Field6 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField60

func (c *CallExtensionsHolder) GetField60() string

GetField60 returns the Field60 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField61

func (c *CallExtensionsHolder) GetField61() string

GetField61 returns the Field61 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField62

func (c *CallExtensionsHolder) GetField62() string

GetField62 returns the Field62 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField63

func (c *CallExtensionsHolder) GetField63() string

GetField63 returns the Field63 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField64

func (c *CallExtensionsHolder) GetField64() string

GetField64 returns the Field64 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField65

func (c *CallExtensionsHolder) GetField65() string

GetField65 returns the Field65 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField66

func (c *CallExtensionsHolder) GetField66() string

GetField66 returns the Field66 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField67

func (c *CallExtensionsHolder) GetField67() string

GetField67 returns the Field67 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField68

func (c *CallExtensionsHolder) GetField68() string

GetField68 returns the Field68 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField69

func (c *CallExtensionsHolder) GetField69() string

GetField69 returns the Field69 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField7

func (c *CallExtensionsHolder) GetField7() string

GetField7 returns the Field7 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField70

func (c *CallExtensionsHolder) GetField70() string

GetField70 returns the Field70 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField71

func (c *CallExtensionsHolder) GetField71() string

GetField71 returns the Field71 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField72

func (c *CallExtensionsHolder) GetField72() string

GetField72 returns the Field72 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField73

func (c *CallExtensionsHolder) GetField73() string

GetField73 returns the Field73 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField74

func (c *CallExtensionsHolder) GetField74() string

GetField74 returns the Field74 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField75

func (c *CallExtensionsHolder) GetField75() string

GetField75 returns the Field75 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField76

func (c *CallExtensionsHolder) GetField76() string

GetField76 returns the Field76 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField77

func (c *CallExtensionsHolder) GetField77() string

GetField77 returns the Field77 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField78

func (c *CallExtensionsHolder) GetField78() string

GetField78 returns the Field78 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField79

func (c *CallExtensionsHolder) GetField79() string

GetField79 returns the Field79 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField8

func (c *CallExtensionsHolder) GetField8() string

GetField8 returns the Field8 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField80

func (c *CallExtensionsHolder) GetField80() string

GetField80 returns the Field80 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField81

func (c *CallExtensionsHolder) GetField81() string

GetField81 returns the Field81 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField82

func (c *CallExtensionsHolder) GetField82() string

GetField82 returns the Field82 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField83

func (c *CallExtensionsHolder) GetField83() string

GetField83 returns the Field83 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField84

func (c *CallExtensionsHolder) GetField84() string

GetField84 returns the Field84 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField85

func (c *CallExtensionsHolder) GetField85() string

GetField85 returns the Field85 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField86

func (c *CallExtensionsHolder) GetField86() string

GetField86 returns the Field86 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField87

func (c *CallExtensionsHolder) GetField87() string

GetField87 returns the Field87 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField88

func (c *CallExtensionsHolder) GetField88() string

GetField88 returns the Field88 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField89

func (c *CallExtensionsHolder) GetField89() string

GetField89 returns the Field89 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField9

func (c *CallExtensionsHolder) GetField9() string

GetField9 returns the Field9 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField90

func (c *CallExtensionsHolder) GetField90() string

GetField90 returns the Field90 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField91

func (c *CallExtensionsHolder) GetField91() string

GetField91 returns the Field91 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField92

func (c *CallExtensionsHolder) GetField92() string

GetField92 returns the Field92 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField93

func (c *CallExtensionsHolder) GetField93() string

GetField93 returns the Field93 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField94

func (c *CallExtensionsHolder) GetField94() string

GetField94 returns the Field94 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField95

func (c *CallExtensionsHolder) GetField95() string

GetField95 returns the Field95 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField96

func (c *CallExtensionsHolder) GetField96() string

GetField96 returns the Field96 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField97

func (c *CallExtensionsHolder) GetField97() string

GetField97 returns the Field97 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField98

func (c *CallExtensionsHolder) GetField98() string

GetField98 returns the Field98 field if it's non-nil, zero value otherwise.

func (*CallExtensionsHolder) GetField99

func (c *CallExtensionsHolder) GetField99() string

GetField99 returns the Field99 field if it's non-nil, zero value otherwise.

type CallNotesHolder

type CallNotesHolder struct {
	IsPrivate *string `json:"IsPrivate,omitempty"`
	Type      *string `json:"Type,omitempty"`
	Value     *string `json:"value,omitempty"`
}

CallNotesHolder defines model for CallNotesHolder.

func (*CallNotesHolder) GetIsPrivate

func (c *CallNotesHolder) GetIsPrivate() string

GetIsPrivate returns the IsPrivate field if it's non-nil, zero value otherwise.

func (*CallNotesHolder) GetType

func (c *CallNotesHolder) GetType() string

GetType returns the Type field if it's non-nil, zero value otherwise.

func (*CallNotesHolder) GetValue

func (c *CallNotesHolder) GetValue() string

GetValue returns the Value field if it's non-nil, zero value otherwise.

type CallSystemCodesHolder

type CallSystemCodesHolder struct {
	Name      *string `json:"Name,omitempty"`
	ShortName *string `json:"ShortName,omitempty"`
}

CallSystemCodesHolder defines model for CallSystemCodesHolder.

func (*CallSystemCodesHolder) GetName

func (c *CallSystemCodesHolder) GetName() string

GetName returns the Name field if it's non-nil, zero value otherwise.

func (*CallSystemCodesHolder) GetShortName

func (c *CallSystemCodesHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

type ChargingTypesHolder

type ChargingTypesHolder struct {
	ShortName *string `json:"ShortName,omitempty"`
}

ChargingTypesHolder defines model for ChargingTypesHolder.

func (*ChargingTypesHolder) GetShortName

func (c *ChargingTypesHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

type CiscoDateTime

type CiscoDateTime struct {
	time.Time
}

CiscoTime represents the date time with offset values that Cisco returns in their data.

func (*CiscoDateTime) UnmarshalJSON

func (d *CiscoDateTime) UnmarshalJSON(b []byte) error

type CiscoError

type CiscoError struct {
	Message string `json:"message"`
	//TODO: They have on occasion sent an int instead of string, so we might need to cater for that
	// Status  int    `json:"status"`
	Status string `json:"status"`
}

CiscoError represents the cisco error we might get back from Cisco for requests

type CiscoRemarksError added in v0.2.0

type CiscoRemarksError struct {
	ErrorMessage string `json:"errorMessage"`
	ErrorCode    string `json:"errorCode"`
}

CiscoRemarksError is an error type that is sometimes returned in the Remarks field!! IKR!

type Client

type Client struct {

	//RestyClient provides access to the resty client for using extra features
	RestyClient *resty.Client

	//TokenURL allows you to set your own token URL after initialising the client in case Cisco changes it
	TokenURL string

	//AuthType allows you to set the auth type after initialising the client in case Cisco changes it
	//It should be one of "query" or "form" for sending the data as query parameters or x-www-form-urlencoded data
	//respectively. Default is query for the old authentication.
	AuthType string
	// contains filtered or unexported fields
}

Client manages communication with the Cisco Smart Bonding API.

func NewClient

func NewClient(clientID, secret string, r *resty.Client) *Client

NewClient creates a new API client. You can pass in your own resty client, or use nil for a default one. You can change the default test base URL after initialisation using client.RestyClient.SetBaseURL.

func (*Client) CloseTicket added in v0.2.0

func (c *Client) CloseTicket(ctx context.Context, ticketID string, ctr CloseTicketRequest) (*resty.Response, error)

CloseTicket is a helper function so you don't have to remember the crazy field names for the values

func (*Client) GetAllTSPCodes

func (c *Client) GetAllTSPCodes(ctx context.Context) ([]TspCode, error)

GetAllTSPCodes is a convenience function to retrieve all TSP Codes

func (*Client) PullUpdate

func (c *Client) PullUpdate(ctx context.Context) (*CallData, *resty.Response, error)

PullUpdate makes a request for any ticket updates. It returns a CallData object, and also the resty response so that you can check for a 204 No Content in the resp.StatusCode() since that is the only way you can tell to stop pulling for data.

func (*Client) PushUpdate

func (c *Client) PushUpdate(ctx context.Context, callData *CallData) (*resty.Response, error)

PushUpdate will POST a CallData object to Cisco Smart Bonding. It returns the resty response and any errors, but no data is returned. You must use PullUpdate to retrieve status updates for any requests.

func (*Client) ResolveTicketWithWorkNotes added in v0.2.0

func (c *Client) ResolveTicketWithWorkNotes(ctx context.Context, ticketID, remarks string) (*resty.Response, error)

func (*Client) UpdateTicketWithWorkNotes

func (c *Client) UpdateTicketWithWorkNotes(ctx context.Context, ticketID, remarks string) (*resty.Response, error)

UpdateTicketWithWorkNotes is a helper function to send worknotes to an existing ticket.

func (*Client) UpdateTicketWithWorkNotesAndAttachment added in v0.2.0

func (c *Client) UpdateTicketWithWorkNotesAndAttachment(ctx context.Context, ticketID, remarks, filename, content string) (*resty.Response, error)

UpdateTicketWithWorkNotes is a helper function to send worknotes to an existing ticket along with an attachment. The attachment must be a <10MB base64 encoded string

type CloseTicketComplexity added in v0.2.0

type CloseTicketComplexity int64

CloseTicketComplexity provides an enum for the ticket complexity value

const (
	Level0Procedural CloseTicketComplexity = iota // assume zero value is fine
	Level1Basic
	Level2Advanced
	Level3ExceptionallyComplex
)

func ParseComplexity added in v0.3.0

func ParseComplexity(c string) (CloseTicketComplexity, error)

func (CloseTicketComplexity) MarshalJSON added in v0.3.0

func (c CloseTicketComplexity) MarshalJSON() ([]byte, error)

func (CloseTicketComplexity) String added in v0.2.0

func (c CloseTicketComplexity) String() string

func (*CloseTicketComplexity) UnmarshalJSON added in v0.3.0

func (c *CloseTicketComplexity) UnmarshalJSON(data []byte) error

type CloseTicketRequest added in v0.2.0

type CloseTicketRequest struct {
	ProblemDescription string                     // String(32000) - Free Text - Description
	CustomerSymptom    string                     // String(32000) - Free Text - Diagnosis?
	HardwareProductID  string                     // String(50) - Free Text - Hardware Product ID, e.g. "495266". (If unknown, default to 1866083) - PIN
	SoftwareProductID  string                     // String(50) - Free Text - Software Product ID, e.g. "888410" (If unknown, default to 3074572) - Department
	ResolutionSummary  string                     // String(50) - Free Text - Resolution Summary, e.g. "faulty power socket changed" - LocationStreet
	Complexity         CloseTicketComplexity      // String(50) - From List - Complexity, e.g. "1 Level -Basic" - LocationCity
	ResolutionCode     CloseTicketResolutionCode  // String(50) - From List - Resolution Code, e.g. "Customer Education" - Fax
	UnderlyingCause    CloseTicketUnderlyingCause // String(50) - From List - Underlying Cause, e.g. "Licensing" - EMail
}

ClostTicketRequest is a helper type for the CloseTicket helper function to avoid having to remember the crazy field names.

type CloseTicketResolutionCode added in v0.2.0

type CloseTicketResolutionCode int64

ClostTicketResolutionCode provides an enum for the ticket resolution code when closing a ticket

func ParseResolution added in v0.3.0

func ParseResolution(r string) (CloseTicketResolutionCode, error)

func (CloseTicketResolutionCode) MarshalJSON added in v0.3.0

func (r CloseTicketResolutionCode) MarshalJSON() ([]byte, error)

func (CloseTicketResolutionCode) String added in v0.2.0

func (r CloseTicketResolutionCode) String() string

func (*CloseTicketResolutionCode) UnmarshalJSON added in v0.3.0

func (r *CloseTicketResolutionCode) UnmarshalJSON(data []byte) error

type CloseTicketUnderlyingCause added in v0.2.0

type CloseTicketUnderlyingCause int64

CloseTicketUnderlyingCause provides an enum for the ticket underlying cause value on closure

const (
	UnderlyingCause_UnknownCauseOther CloseTicketUnderlyingCause = iota // (Use ONLY if none of the above apply)
	UnderlyingCause_Licensing
	UnderlyingCause_HardwareFailure
	UnderlyingCause_HardwareNonFailure // (limits exceeded, not enough memory, missing parts...)
	UnderlyingCause_SoftwareBug
	UnderlyingCause_SoftwareNotABug                 //(scalability, version selection, install/upgrade help...)
	UnderlyingCause_DocumentationTools              // (incomplete, too complex...)
	UnderlyingCause_DebugDiagnosticCapabilities     // (missing, incomplete, cryptic...)
	UnderlyingCause_DesignAssistanceNeeded          // (best practices, deployment advice, redesign...)
	UnderlyingCause_ConfigurationAssistance         // (process not intuitive, too complex, inconsistent...)
	UnderlyingCause_UsabilityOtherThanConfig        // (product hard to use, no console port...)
	UnderlyingCause_InteroperabilityCompatibility   // (Cisco to Cisco or Cisco to 3rd Party)
	UnderlyingCause_NonCiscoProductOrServiceProblem // (third party failure, telco...)
	UnderlyingCause_ExternalEnvironmentIssue        // (power outage, heat, lightning...)
)

func ParseCause added in v0.3.0

func ParseCause(u string) (CloseTicketUnderlyingCause, error)

func (CloseTicketUnderlyingCause) MarshalJSON added in v0.3.0

func (u CloseTicketUnderlyingCause) MarshalJSON() ([]byte, error)

func (CloseTicketUnderlyingCause) String added in v0.2.0

func (*CloseTicketUnderlyingCause) UnmarshalJSON added in v0.3.0

func (u *CloseTicketUnderlyingCause) UnmarshalJSON(data []byte) error

type ComponentsHolder

type ComponentsHolder struct {
	Component           *string  `json:"Component,omitempty"`
	Description         *string  `json:"Description,omitempty"`
	Hostname            *string  `json:"Hostname,omitempty"`
	IPAddress           *string  `json:"IPAddress,omitempty"`
	InvNr               *string  `json:"InvNr,omitempty"`            // Cisco Contract ID (Partner Contract Number). Must match Cisco DB.
	Location            *string  `json:"Location,omitempty"`         // Install Site ID
	LocationCategory    *string  `json:"LocationCategory,omitempty"` // Site Type e.g. Data Center. M for Create (Premium).
	LocationCity        *string  `json:"LocationCity,omitempty"`     // For SubComp, "Ship To Address - City". M for Create.
	LocationCountry     *string  `json:"LocationCountry,omitempty"`
	LocationDescription *string  `json:"LocationDescription,omitempty"`
	LocationLevel       *float32 `json:"LocationLevel,omitempty"`
	LocationName        *string  `json:"LocationName,omitempty"`
	LocationProvince    *string  `json:"LocationProvince,omitempty"` // Ship To Address - State/Territory. M for Create.
	LocationRegion      *string  `json:"LocationRegion,omitempty"`
	LocationStreet      *string  `json:"LocationStreet,omitempty"` // For SubComp, Ship To Address - Line 1. M for Create.
	LocationTel         *string  `json:"LocationTel,omitempty"`
	LocationZip         *string  `json:"LocationZip,omitempty"` // Ship To Address - Postal Code. M for Create.
	MACAddress          *string  `json:"MACAddress,omitempty"`
	Manufacturer        *string  `json:"Manufacturer,omitempty"`
	Model               *string  `json:"Model,omitempty"`
	Name                *string  `json:"Name,omitempty"`
	OpSys               *string  `json:"OpSys,omitempty"`
	Room                *string  `json:"Room,omitempty"` // Product ID for Entitlement (Software). Must match Cisco DB.
	SerNr               *string  `json:"SerNr,omitempty"`
	SerNrProv           *string  `json:"SerNrProv,omitempty"` // Serial Number used for Entitlement (Hardware). Must match Cisco DB.
	ShortName           *string  `json:"ShortName,omitempty"`
	Type                *string  `json:"Type,omitempty"`
}

ComponentsHolder defines model for ComponentsHolder.

func (*ComponentsHolder) GetComponent

func (c *ComponentsHolder) GetComponent() string

GetComponent returns the Component field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetDescription

func (c *ComponentsHolder) GetDescription() string

GetDescription returns the Description field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetHostname

func (c *ComponentsHolder) GetHostname() string

GetHostname returns the Hostname field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetIPAddress

func (c *ComponentsHolder) GetIPAddress() string

GetIPAddress returns the IPAddress field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetInvNr

func (c *ComponentsHolder) GetInvNr() string

GetInvNr returns the InvNr field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocation

func (c *ComponentsHolder) GetLocation() string

GetLocation returns the Location field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationCategory

func (c *ComponentsHolder) GetLocationCategory() string

GetLocationCategory returns the LocationCategory field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationCity

func (c *ComponentsHolder) GetLocationCity() string

GetLocationCity returns the LocationCity field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationCountry

func (c *ComponentsHolder) GetLocationCountry() string

GetLocationCountry returns the LocationCountry field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationDescription

func (c *ComponentsHolder) GetLocationDescription() string

GetLocationDescription returns the LocationDescription field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationLevel

func (c *ComponentsHolder) GetLocationLevel() float32

GetLocationLevel returns the LocationLevel field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationName

func (c *ComponentsHolder) GetLocationName() string

GetLocationName returns the LocationName field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationProvince

func (c *ComponentsHolder) GetLocationProvince() string

GetLocationProvince returns the LocationProvince field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationRegion

func (c *ComponentsHolder) GetLocationRegion() string

GetLocationRegion returns the LocationRegion field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationStreet

func (c *ComponentsHolder) GetLocationStreet() string

GetLocationStreet returns the LocationStreet field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationTel

func (c *ComponentsHolder) GetLocationTel() string

GetLocationTel returns the LocationTel field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetLocationZip

func (c *ComponentsHolder) GetLocationZip() string

GetLocationZip returns the LocationZip field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetMACAddress

func (c *ComponentsHolder) GetMACAddress() string

GetMACAddress returns the MACAddress field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetManufacturer

func (c *ComponentsHolder) GetManufacturer() string

GetManufacturer returns the Manufacturer field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetModel

func (c *ComponentsHolder) GetModel() string

GetModel returns the Model field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetName

func (c *ComponentsHolder) GetName() string

GetName returns the Name field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetOpSys

func (c *ComponentsHolder) GetOpSys() string

GetOpSys returns the OpSys field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetRoom

func (c *ComponentsHolder) GetRoom() string

GetRoom returns the Room field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetSerNr

func (c *ComponentsHolder) GetSerNr() string

GetSerNr returns the SerNr field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetSerNrProv

func (c *ComponentsHolder) GetSerNrProv() string

GetSerNrProv returns the SerNrProv field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetShortName

func (c *ComponentsHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

func (*ComponentsHolder) GetType

func (c *ComponentsHolder) GetType() string

GetType returns the Type field if it's non-nil, zero value otherwise.

type ControlFlagsHolder

type ControlFlagsHolder struct {
	DeactivateOutboundTriggers                     *string `json:"DeactivateOutboundTriggers,omitempty"`
	ForwardAfterClose                              *string `json:"ForwardAfterClose,omitempty"`
	MakePreSelection                               *string `json:"MakePreSelection,omitempty"`
	MergeDefaultsOnContractOrContractElementChange *string `json:"MergeDefaultsOnContractOrContractElementChange,omitempty"`
	MergeLocationFromCaller                        *string `json:"MergeLocationFromCaller,omitempty"`
	SetCurrentCallState                            *string `json:"SetCurrentCallState,omitempty"`
	UpdateAfterCloseAllowed                        *string `json:"UpdateAfterCloseAllowed,omitempty"`
	UseCodeDefaults                                *string `json:"UseCodeDefaults,omitempty"`
	UseIndependentDeviceRef                        *string `json:"UseIndependentDeviceRef,omitempty"`
	UsePartnerSideSuccessors                       *string `json:"UsePartnerSideSuccessors,omitempty"`
	UseSuccessors                                  *string `json:"UseSuccessors,omitempty"`
}

ControlFlagsHolder defines model for ControlFlagsHolder.

func (*ControlFlagsHolder) GetDeactivateOutboundTriggers

func (c *ControlFlagsHolder) GetDeactivateOutboundTriggers() string

GetDeactivateOutboundTriggers returns the DeactivateOutboundTriggers field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetForwardAfterClose

func (c *ControlFlagsHolder) GetForwardAfterClose() string

GetForwardAfterClose returns the ForwardAfterClose field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetMakePreSelection

func (c *ControlFlagsHolder) GetMakePreSelection() string

GetMakePreSelection returns the MakePreSelection field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetMergeDefaultsOnContractOrContractElementChange

func (c *ControlFlagsHolder) GetMergeDefaultsOnContractOrContractElementChange() string

GetMergeDefaultsOnContractOrContractElementChange returns the MergeDefaultsOnContractOrContractElementChange field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetMergeLocationFromCaller

func (c *ControlFlagsHolder) GetMergeLocationFromCaller() string

GetMergeLocationFromCaller returns the MergeLocationFromCaller field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetSetCurrentCallState

func (c *ControlFlagsHolder) GetSetCurrentCallState() string

GetSetCurrentCallState returns the SetCurrentCallState field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetUpdateAfterCloseAllowed

func (c *ControlFlagsHolder) GetUpdateAfterCloseAllowed() string

GetUpdateAfterCloseAllowed returns the UpdateAfterCloseAllowed field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetUseCodeDefaults

func (c *ControlFlagsHolder) GetUseCodeDefaults() string

GetUseCodeDefaults returns the UseCodeDefaults field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetUseIndependentDeviceRef

func (c *ControlFlagsHolder) GetUseIndependentDeviceRef() string

GetUseIndependentDeviceRef returns the UseIndependentDeviceRef field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetUsePartnerSideSuccessors

func (c *ControlFlagsHolder) GetUsePartnerSideSuccessors() string

GetUsePartnerSideSuccessors returns the UsePartnerSideSuccessors field if it's non-nil, zero value otherwise.

func (*ControlFlagsHolder) GetUseSuccessors

func (c *ControlFlagsHolder) GetUseSuccessors() string

GetUseSuccessors returns the UseSuccessors field if it's non-nil, zero value otherwise.

type DeviceMovementsDeviceHolder

type DeviceMovementsDeviceHolder struct {
	Component    *string `json:"Component,omitempty"`
	InvNr        *string `json:"InvNr,omitempty"`
	Manufacturer *string `json:"Manufacturer,omitempty"`
	Model        *string `json:"Model,omitempty"`
	Owner        *string `json:"Owner,omitempty"`
	SerNr        *string `json:"SerNr,omitempty"`
	ShortName    *string `json:"ShortName,omitempty"`
	Type         *string `json:"Type,omitempty"`
	UNSPSC       *string `json:"UNSPSC,omitempty"`
}

DeviceMovementsDeviceHolder defines model for DeviceMovementsDeviceHolder.

func (*DeviceMovementsDeviceHolder) GetComponent

func (d *DeviceMovementsDeviceHolder) GetComponent() string

GetComponent returns the Component field if it's non-nil, zero value otherwise.

func (*DeviceMovementsDeviceHolder) GetInvNr

func (d *DeviceMovementsDeviceHolder) GetInvNr() string

GetInvNr returns the InvNr field if it's non-nil, zero value otherwise.

func (*DeviceMovementsDeviceHolder) GetManufacturer

func (d *DeviceMovementsDeviceHolder) GetManufacturer() string

GetManufacturer returns the Manufacturer field if it's non-nil, zero value otherwise.

func (*DeviceMovementsDeviceHolder) GetModel

func (d *DeviceMovementsDeviceHolder) GetModel() string

GetModel returns the Model field if it's non-nil, zero value otherwise.

func (*DeviceMovementsDeviceHolder) GetOwner

func (d *DeviceMovementsDeviceHolder) GetOwner() string

GetOwner returns the Owner field if it's non-nil, zero value otherwise.

func (*DeviceMovementsDeviceHolder) GetSerNr

func (d *DeviceMovementsDeviceHolder) GetSerNr() string

GetSerNr returns the SerNr field if it's non-nil, zero value otherwise.

func (*DeviceMovementsDeviceHolder) GetShortName

func (d *DeviceMovementsDeviceHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

func (*DeviceMovementsDeviceHolder) GetType

func (d *DeviceMovementsDeviceHolder) GetType() string

GetType returns the Type field if it's non-nil, zero value otherwise.

func (*DeviceMovementsDeviceHolder) GetUNSPSC

func (d *DeviceMovementsDeviceHolder) GetUNSPSC() string

GetUNSPSC returns the UNSPSC field if it's non-nil, zero value otherwise.

type DeviceMovementsHolder

type DeviceMovementsHolder struct {
	Device       *DeviceMovementsDeviceHolder `json:"Device,omitempty"`
	FromLocation *LocationsHolder             `json:"FromLocation,omitempty"`
	ToLocation   *LocationsHolder             `json:"ToLocation,omitempty"`
}

DeviceMovementsHolder defines model for DeviceMovementsHolder.

func (*DeviceMovementsHolder) GetDevice

GetDevice returns the Device field.

func (*DeviceMovementsHolder) GetFromLocation

func (d *DeviceMovementsHolder) GetFromLocation() *LocationsHolder

GetFromLocation returns the FromLocation field.

func (*DeviceMovementsHolder) GetToLocation

func (d *DeviceMovementsHolder) GetToLocation() *LocationsHolder

GetToLocation returns the ToLocation field.

type DevicesHolder

type DevicesHolder struct {
	Component    *string `json:"Component,omitempty"`
	InvNr        *string `json:"InvNr,omitempty"`
	Manufacturer *string `json:"Manufacturer,omitempty"`
	Model        *string `json:"Model,omitempty"`
	SerNr        *string `json:"SerNr,omitempty"`
	ShortName    *string `json:"ShortName,omitempty"`
	Type         *string `json:"Type,omitempty"`
	UNSPSC       *string `json:"UNSPSC,omitempty"`
}

DevicesHolder defines model for DevicesHolder.

func (*DevicesHolder) GetComponent

func (d *DevicesHolder) GetComponent() string

GetComponent returns the Component field if it's non-nil, zero value otherwise.

func (*DevicesHolder) GetInvNr

func (d *DevicesHolder) GetInvNr() string

GetInvNr returns the InvNr field if it's non-nil, zero value otherwise.

func (*DevicesHolder) GetManufacturer

func (d *DevicesHolder) GetManufacturer() string

GetManufacturer returns the Manufacturer field if it's non-nil, zero value otherwise.

func (*DevicesHolder) GetModel

func (d *DevicesHolder) GetModel() string

GetModel returns the Model field if it's non-nil, zero value otherwise.

func (*DevicesHolder) GetSerNr

func (d *DevicesHolder) GetSerNr() string

GetSerNr returns the SerNr field if it's non-nil, zero value otherwise.

func (*DevicesHolder) GetShortName

func (d *DevicesHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

func (*DevicesHolder) GetType

func (d *DevicesHolder) GetType() string

GetType returns the Type field if it's non-nil, zero value otherwise.

func (*DevicesHolder) GetUNSPSC

func (d *DevicesHolder) GetUNSPSC() string

GetUNSPSC returns the UNSPSC field if it's non-nil, zero value otherwise.

type EntityTypesHolder

type EntityTypesHolder struct {
	Name      *string `json:"Name,omitempty"`
	ShortName *string `json:"ShortName,omitempty"`
}

EntityTypesHolder defines model for EntityTypesHolder.

func (*EntityTypesHolder) GetName

func (e *EntityTypesHolder) GetName() string

GetName returns the Name field if it's non-nil, zero value otherwise.

func (*EntityTypesHolder) GetShortName

func (e *EntityTypesHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

type Err

type Err string

Err implements the error interface so we can have constant errors.

func (Err) Error

func (e Err) Error() string

type InboundCallsHolder

type InboundCallsHolder struct {
	AddRemarksToSummary        *string            `json:"AddRemarksToSummary,omitempty"`
	CCP                        *PersonsHolder     `json:"CCP,omitempty"` // TAC Engineer Details
	CHD                        *PersonsHolder     `json:"CHD,omitempty"` // Partner Primary Contact / Information. First, Last, Tel, Email, Sign M for Create.
	CallAcknowledgeTime        *CiscoDateTime     `json:"CallAcknowledgeTime,omitempty"`
	CallCloseTime              *CiscoDateTime     `json:"CallCloseTime,omitempty"`
	CallOpenTime               *CiscoDateTime     `json:"CallOpenTime,omitempty"`
	CallRecoveryTime           *CiscoDateTime     `json:"CallRecoveryTime,omitempty"`
	CallResponseTime           *CiscoDateTime     `json:"CallResponseTime,omitempty"`
	CallSendTime               *CiscoDateTime     `json:"CallSendTime,omitempty"`
	CallStartSLATime           *CiscoDateTime     `json:"CallStartSLATime,omitempty"`
	Caller                     *PersonsHolder     `json:"Caller,omitempty"`     // End Customer Information. First, Last and Email M for Create.
	CustCallID                 *string            `json:"CustCallID,omitempty"` // PARTNER Networks ticket ID e.g. INC000456. M for Create/Update.
	CustomerCategory1          *string            `json:"CustomerCategory1,omitempty"`
	CustomerCategory2          *string            `json:"CustomerCategory2,omitempty"`
	CustomerCategory3          *string            `json:"CustomerCategory3,omitempty"`
	CustomerCategory4          *string            `json:"CustomerCategory4,omitempty"`
	CustomerCategory5          *string            `json:"CustomerCategory5,omitempty"`
	CustomerReasonCategory1    *string            `json:"CustomerReasonCategory1,omitempty"` // Technology Code for entitlement - can be sent as number or text e.g. "13" or "LAN Switching" (from list). M for Create.
	CustomerReasonCategory2    *string            `json:"CustomerReasonCategory2,omitempty"` // Sub-Technology Code for entitlement - can be sent as number or text e.g. "5190" or Cat9500X" (from list). M for Create.
	CustomerReasonCategory3    *string            `json:"CustomerReasonCategory3,omitempty"` // Problem Code for entitlement e.g. "INSTLL_UNSTLL_UPGRD" (from list). M for Create.
	CustomerReasonCategory4    *string            `json:"CustomerReasonCategory4,omitempty"`
	CustomerReasonCategory5    *string            `json:"CustomerReasonCategory5,omitempty"`
	CustomerRequestedEndTime   *CiscoDateTime     `json:"CustomerRequestedEndTime,omitempty"`
	CustomerRequestedStartTime *CiscoDateTime     `json:"CustomerRequestedStartTime,omitempty"`
	Description                *string            `json:"Description,omitempty"` // Description of Ticket e.g "No internet connection on Location XXX, Router shows no green lights, Error Message YYY on interface". M for Create. M for Close.
	Diagnosis                  *string            `json:"Diagnosis,omitempty"`   // Customer Symptom. M for Close.
	MainComp                   *ComponentsHolder  `json:"MainComp,omitempty"`
	Notes                      []*CallNotesHolder `json:"Notes,omitempty"`
	Ownership                  *string            `json:"Ownership,omitempty"`
	PartnerCoreTicketId        *float32           `json:"PartnerCoreTicketId,omitempty"`
	ProblemStartTime           *CiscoDateTime     `json:"ProblemStartTime,omitempty"`
	ProviderCategory1          *string            `json:"ProviderCategory1,omitempty"`
	ProviderCategory2          *string            `json:"ProviderCategory2,omitempty"`
	ProviderCategory3          *string            `json:"ProviderCategory3,omitempty"`
	ProviderCategory4          *string            `json:"ProviderCategory4,omitempty"`
	ProviderCategory5          *string            `json:"ProviderCategory5,omitempty"`
	ProviderReasonCategory1    *string            `json:"ProviderReasonCategory1,omitempty"`
	ProviderReasonCategory2    *string            `json:"ProviderReasonCategory2,omitempty"`
	ProviderReasonCategory3    *string            `json:"ProviderReasonCategory3,omitempty"`
	ProviderReasonCategory4    *string            `json:"ProviderReasonCategory4,omitempty"`
	ProviderReasonCategory5    *string            `json:"ProviderReasonCategory5,omitempty"`
	ProviderScheduledEndTime   *CiscoDateTime     `json:"ProviderScheduledEndTime,omitempty"`
	ProviderScheduledStartTime *CiscoDateTime     `json:"ProviderScheduledStartTime,omitempty"`
	// Remarks                    *string            `json:"Remarks,omitempty"`          // Comments sent during ticket updates (e.g. work log) TODO: May be an array of strings too!!! So perhaps need to check for this.
	Remarks          *StringOrSliceOfErrors `json:"Remarks,omitempty"`          // Comments sent during ticket updates (e.g. work log) TODO: May be an array of strings too!!! So perhaps need to check for this.
	SDCallID         *string                `json:"SDCallID,omitempty"`         // ServiceGrid ticket ID e.g. 1340036031
	SPCallID         *string                `json:"SPCallID,omitempty"`         // Cisco TAC CSOne ticket ID e.g. 692072147
	ShortDescription *string                `json:"ShortDescription,omitempty"` // Subject of Ticket when Created e.g. "Network issue in Location XXX". M for Create.
	Solution         *string                `json:"Solution,omitempty"`         // The resolution notes sent over when ticket is RESOLVED. M on Update Resolved.
	SubComp          *ComponentsHolder      `json:"SubComp,omitempty"`
	SysSpecField1    *string                `json:"SysSpecField1,omitempty"`
	SysSpecField10   *string                `json:"SysSpecField10,omitempty"`
	SysSpecField2    *string                `json:"SysSpecField2,omitempty"`
	SysSpecField3    *string                `json:"SysSpecField3,omitempty"`
	SysSpecField4    *string                `json:"SysSpecField4,omitempty"`
	SysSpecField5    *string                `json:"SysSpecField5,omitempty"`
	SysSpecField6    *string                `json:"SysSpecField6,omitempty"`
	SysSpecField7    *string                `json:"SysSpecField7,omitempty"`
	SysSpecField8    *string                `json:"SysSpecField8,omitempty"`
	SysSpecField9    *string                `json:"SysSpecField9,omitempty"`
}

InboundCallsHolder defines model for InboundCallsHolder.

func (*InboundCallsHolder) GetAddRemarksToSummary

func (i *InboundCallsHolder) GetAddRemarksToSummary() string

GetAddRemarksToSummary returns the AddRemarksToSummary field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCCP

func (i *InboundCallsHolder) GetCCP() *PersonsHolder

GetCCP returns the CCP field.

func (*InboundCallsHolder) GetCHD

func (i *InboundCallsHolder) GetCHD() *PersonsHolder

GetCHD returns the CHD field.

func (*InboundCallsHolder) GetCallAcknowledgeTime

func (i *InboundCallsHolder) GetCallAcknowledgeTime() *CiscoDateTime

GetCallAcknowledgeTime returns the CallAcknowledgeTime field.

func (*InboundCallsHolder) GetCallCloseTime

func (i *InboundCallsHolder) GetCallCloseTime() *CiscoDateTime

GetCallCloseTime returns the CallCloseTime field.

func (*InboundCallsHolder) GetCallOpenTime

func (i *InboundCallsHolder) GetCallOpenTime() *CiscoDateTime

GetCallOpenTime returns the CallOpenTime field.

func (*InboundCallsHolder) GetCallRecoveryTime

func (i *InboundCallsHolder) GetCallRecoveryTime() *CiscoDateTime

GetCallRecoveryTime returns the CallRecoveryTime field.

func (*InboundCallsHolder) GetCallResponseTime

func (i *InboundCallsHolder) GetCallResponseTime() *CiscoDateTime

GetCallResponseTime returns the CallResponseTime field.

func (*InboundCallsHolder) GetCallSendTime

func (i *InboundCallsHolder) GetCallSendTime() *CiscoDateTime

GetCallSendTime returns the CallSendTime field.

func (*InboundCallsHolder) GetCallStartSLATime

func (i *InboundCallsHolder) GetCallStartSLATime() *CiscoDateTime

GetCallStartSLATime returns the CallStartSLATime field.

func (*InboundCallsHolder) GetCaller

func (i *InboundCallsHolder) GetCaller() *PersonsHolder

GetCaller returns the Caller field.

func (*InboundCallsHolder) GetCustCallID

func (i *InboundCallsHolder) GetCustCallID() string

GetCustCallID returns the CustCallID field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerCategory1

func (i *InboundCallsHolder) GetCustomerCategory1() string

GetCustomerCategory1 returns the CustomerCategory1 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerCategory2

func (i *InboundCallsHolder) GetCustomerCategory2() string

GetCustomerCategory2 returns the CustomerCategory2 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerCategory3

func (i *InboundCallsHolder) GetCustomerCategory3() string

GetCustomerCategory3 returns the CustomerCategory3 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerCategory4

func (i *InboundCallsHolder) GetCustomerCategory4() string

GetCustomerCategory4 returns the CustomerCategory4 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerCategory5

func (i *InboundCallsHolder) GetCustomerCategory5() string

GetCustomerCategory5 returns the CustomerCategory5 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerReasonCategory1

func (i *InboundCallsHolder) GetCustomerReasonCategory1() string

GetCustomerReasonCategory1 returns the CustomerReasonCategory1 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerReasonCategory2

func (i *InboundCallsHolder) GetCustomerReasonCategory2() string

GetCustomerReasonCategory2 returns the CustomerReasonCategory2 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerReasonCategory3

func (i *InboundCallsHolder) GetCustomerReasonCategory3() string

GetCustomerReasonCategory3 returns the CustomerReasonCategory3 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerReasonCategory4

func (i *InboundCallsHolder) GetCustomerReasonCategory4() string

GetCustomerReasonCategory4 returns the CustomerReasonCategory4 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerReasonCategory5

func (i *InboundCallsHolder) GetCustomerReasonCategory5() string

GetCustomerReasonCategory5 returns the CustomerReasonCategory5 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetCustomerRequestedEndTime

func (i *InboundCallsHolder) GetCustomerRequestedEndTime() *CiscoDateTime

GetCustomerRequestedEndTime returns the CustomerRequestedEndTime field.

func (*InboundCallsHolder) GetCustomerRequestedStartTime

func (i *InboundCallsHolder) GetCustomerRequestedStartTime() *CiscoDateTime

GetCustomerRequestedStartTime returns the CustomerRequestedStartTime field.

func (*InboundCallsHolder) GetDescription

func (i *InboundCallsHolder) GetDescription() string

GetDescription returns the Description field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetDiagnosis

func (i *InboundCallsHolder) GetDiagnosis() string

GetDiagnosis returns the Diagnosis field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetMainComp

func (i *InboundCallsHolder) GetMainComp() *ComponentsHolder

GetMainComp returns the MainComp field.

func (*InboundCallsHolder) GetOwnership

func (i *InboundCallsHolder) GetOwnership() string

GetOwnership returns the Ownership field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetPartnerCoreTicketId

func (i *InboundCallsHolder) GetPartnerCoreTicketId() float32

GetPartnerCoreTicketId returns the PartnerCoreTicketId field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProblemStartTime

func (i *InboundCallsHolder) GetProblemStartTime() *CiscoDateTime

GetProblemStartTime returns the ProblemStartTime field.

func (*InboundCallsHolder) GetProviderCategory1

func (i *InboundCallsHolder) GetProviderCategory1() string

GetProviderCategory1 returns the ProviderCategory1 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderCategory2

func (i *InboundCallsHolder) GetProviderCategory2() string

GetProviderCategory2 returns the ProviderCategory2 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderCategory3

func (i *InboundCallsHolder) GetProviderCategory3() string

GetProviderCategory3 returns the ProviderCategory3 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderCategory4

func (i *InboundCallsHolder) GetProviderCategory4() string

GetProviderCategory4 returns the ProviderCategory4 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderCategory5

func (i *InboundCallsHolder) GetProviderCategory5() string

GetProviderCategory5 returns the ProviderCategory5 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderReasonCategory1

func (i *InboundCallsHolder) GetProviderReasonCategory1() string

GetProviderReasonCategory1 returns the ProviderReasonCategory1 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderReasonCategory2

func (i *InboundCallsHolder) GetProviderReasonCategory2() string

GetProviderReasonCategory2 returns the ProviderReasonCategory2 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderReasonCategory3

func (i *InboundCallsHolder) GetProviderReasonCategory3() string

GetProviderReasonCategory3 returns the ProviderReasonCategory3 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderReasonCategory4

func (i *InboundCallsHolder) GetProviderReasonCategory4() string

GetProviderReasonCategory4 returns the ProviderReasonCategory4 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderReasonCategory5

func (i *InboundCallsHolder) GetProviderReasonCategory5() string

GetProviderReasonCategory5 returns the ProviderReasonCategory5 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetProviderScheduledEndTime

func (i *InboundCallsHolder) GetProviderScheduledEndTime() *CiscoDateTime

GetProviderScheduledEndTime returns the ProviderScheduledEndTime field.

func (*InboundCallsHolder) GetProviderScheduledStartTime

func (i *InboundCallsHolder) GetProviderScheduledStartTime() *CiscoDateTime

GetProviderScheduledStartTime returns the ProviderScheduledStartTime field.

func (*InboundCallsHolder) GetRemarks

func (i *InboundCallsHolder) GetRemarks() *StringOrSliceOfErrors

GetRemarks returns the Remarks field.

func (*InboundCallsHolder) GetSDCallID

func (i *InboundCallsHolder) GetSDCallID() string

GetSDCallID returns the SDCallID field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSPCallID

func (i *InboundCallsHolder) GetSPCallID() string

GetSPCallID returns the SPCallID field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetShortDescription

func (i *InboundCallsHolder) GetShortDescription() string

GetShortDescription returns the ShortDescription field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSolution

func (i *InboundCallsHolder) GetSolution() string

GetSolution returns the Solution field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSubComp

func (i *InboundCallsHolder) GetSubComp() *ComponentsHolder

GetSubComp returns the SubComp field.

func (*InboundCallsHolder) GetSysSpecField1

func (i *InboundCallsHolder) GetSysSpecField1() string

GetSysSpecField1 returns the SysSpecField1 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSysSpecField10

func (i *InboundCallsHolder) GetSysSpecField10() string

GetSysSpecField10 returns the SysSpecField10 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSysSpecField2

func (i *InboundCallsHolder) GetSysSpecField2() string

GetSysSpecField2 returns the SysSpecField2 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSysSpecField3

func (i *InboundCallsHolder) GetSysSpecField3() string

GetSysSpecField3 returns the SysSpecField3 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSysSpecField4

func (i *InboundCallsHolder) GetSysSpecField4() string

GetSysSpecField4 returns the SysSpecField4 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSysSpecField5

func (i *InboundCallsHolder) GetSysSpecField5() string

GetSysSpecField5 returns the SysSpecField5 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSysSpecField6

func (i *InboundCallsHolder) GetSysSpecField6() string

GetSysSpecField6 returns the SysSpecField6 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSysSpecField7

func (i *InboundCallsHolder) GetSysSpecField7() string

GetSysSpecField7 returns the SysSpecField7 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSysSpecField8

func (i *InboundCallsHolder) GetSysSpecField8() string

GetSysSpecField8 returns the SysSpecField8 field if it's non-nil, zero value otherwise.

func (*InboundCallsHolder) GetSysSpecField9

func (i *InboundCallsHolder) GetSysSpecField9() string

GetSysSpecField9 returns the SysSpecField9 field if it's non-nil, zero value otherwise.

type InboundContractElementsHolder

type InboundContractElementsHolder struct {
	CompLocation      *string `json:"CompLocation,omitempty"`
	Component         *string `json:"Component,omitempty"`
	ContractIDCust    *string `json:"ContractIDCust,omitempty"`
	ContractIDProv    *string `json:"ContractIDProv,omitempty"`
	CustomerCategory1 *string `json:"CustomerCategory1,omitempty"`
	CustomerCategory2 *string `json:"CustomerCategory2,omitempty"`
	CustomerCategory3 *string `json:"CustomerCategory3,omitempty"`
	CustomerCategory4 *string `json:"CustomerCategory4,omitempty"`
	CustomerCategory5 *string `json:"CustomerCategory5,omitempty"`
	Name              *string `json:"Name,omitempty"`
	NewName           *string `json:"NewName,omitempty"`
	NewShortName      *string `json:"NewShortName,omitempty"`
	ProviderCategory1 *string `json:"ProviderCategory1,omitempty"`
	ProviderCategory2 *string `json:"ProviderCategory2,omitempty"`
	ProviderCategory3 *string `json:"ProviderCategory3,omitempty"`
	ProviderCategory4 *string `json:"ProviderCategory4,omitempty"`
	ProviderCategory5 *string `json:"ProviderCategory5,omitempty"`
	ShortName         *string `json:"ShortName,omitempty"` // A unique value required in SG (will be provided by SG to PARTNER) e.g. 1190048357. M for Create.
}

InboundContractElementsHolder defines model for InboundContractElementsHolder.

func (*InboundContractElementsHolder) GetCompLocation

func (i *InboundContractElementsHolder) GetCompLocation() string

GetCompLocation returns the CompLocation field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetComponent

func (i *InboundContractElementsHolder) GetComponent() string

GetComponent returns the Component field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetContractIDCust

func (i *InboundContractElementsHolder) GetContractIDCust() string

GetContractIDCust returns the ContractIDCust field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetContractIDProv

func (i *InboundContractElementsHolder) GetContractIDProv() string

GetContractIDProv returns the ContractIDProv field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetCustomerCategory1

func (i *InboundContractElementsHolder) GetCustomerCategory1() string

GetCustomerCategory1 returns the CustomerCategory1 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetCustomerCategory2

func (i *InboundContractElementsHolder) GetCustomerCategory2() string

GetCustomerCategory2 returns the CustomerCategory2 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetCustomerCategory3

func (i *InboundContractElementsHolder) GetCustomerCategory3() string

GetCustomerCategory3 returns the CustomerCategory3 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetCustomerCategory4

func (i *InboundContractElementsHolder) GetCustomerCategory4() string

GetCustomerCategory4 returns the CustomerCategory4 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetCustomerCategory5

func (i *InboundContractElementsHolder) GetCustomerCategory5() string

GetCustomerCategory5 returns the CustomerCategory5 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetName

GetName returns the Name field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetNewName

func (i *InboundContractElementsHolder) GetNewName() string

GetNewName returns the NewName field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetNewShortName

func (i *InboundContractElementsHolder) GetNewShortName() string

GetNewShortName returns the NewShortName field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetProviderCategory1

func (i *InboundContractElementsHolder) GetProviderCategory1() string

GetProviderCategory1 returns the ProviderCategory1 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetProviderCategory2

func (i *InboundContractElementsHolder) GetProviderCategory2() string

GetProviderCategory2 returns the ProviderCategory2 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetProviderCategory3

func (i *InboundContractElementsHolder) GetProviderCategory3() string

GetProviderCategory3 returns the ProviderCategory3 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetProviderCategory4

func (i *InboundContractElementsHolder) GetProviderCategory4() string

GetProviderCategory4 returns the ProviderCategory4 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetProviderCategory5

func (i *InboundContractElementsHolder) GetProviderCategory5() string

GetProviderCategory5 returns the ProviderCategory5 field if it's non-nil, zero value otherwise.

func (*InboundContractElementsHolder) GetShortName

func (i *InboundContractElementsHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

type InboundContractsHolder

type InboundContractsHolder struct {
	BPOrganizationShortNameCust *string `json:"BPOrganizationShortNameCust,omitempty"`
	BPOrganizationShortNameProv *string `json:"BPOrganizationShortNameProv,omitempty"`
	BPartnerShortNameCust       *string `json:"BPartnerShortNameCust,omitempty"`
	BPartnerShortNameProv       *string `json:"BPartnerShortNameProv,omitempty"`
	ContractIDCust              *string `json:"ContractIDCust,omitempty"`
	ContractIDProv              *string `json:"ContractIDProv,omitempty"`
	CustIDProv                  *string `json:"CustIDProv,omitempty"`
	Name                        *string `json:"Name,omitempty"`
	NewName                     *string `json:"NewName,omitempty"`
	NewShortName                *string `json:"NewShortName,omitempty"`
	ProvIDCust                  *string `json:"ProvIDCust,omitempty"`
	ShortName                   *string `json:"ShortName,omitempty"` // A unique value required in SG (will be provided by SG to PARTNER) e.g. 1190048450. M for Create.
}

InboundContractsHolder defines model for InboundContractsHolder.

func (*InboundContractsHolder) GetBPOrganizationShortNameCust

func (i *InboundContractsHolder) GetBPOrganizationShortNameCust() string

GetBPOrganizationShortNameCust returns the BPOrganizationShortNameCust field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetBPOrganizationShortNameProv

func (i *InboundContractsHolder) GetBPOrganizationShortNameProv() string

GetBPOrganizationShortNameProv returns the BPOrganizationShortNameProv field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetBPartnerShortNameCust

func (i *InboundContractsHolder) GetBPartnerShortNameCust() string

GetBPartnerShortNameCust returns the BPartnerShortNameCust field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetBPartnerShortNameProv

func (i *InboundContractsHolder) GetBPartnerShortNameProv() string

GetBPartnerShortNameProv returns the BPartnerShortNameProv field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetContractIDCust

func (i *InboundContractsHolder) GetContractIDCust() string

GetContractIDCust returns the ContractIDCust field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetContractIDProv

func (i *InboundContractsHolder) GetContractIDProv() string

GetContractIDProv returns the ContractIDProv field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetCustIDProv

func (i *InboundContractsHolder) GetCustIDProv() string

GetCustIDProv returns the CustIDProv field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetName

func (i *InboundContractsHolder) GetName() string

GetName returns the Name field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetNewName

func (i *InboundContractsHolder) GetNewName() string

GetNewName returns the NewName field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetNewShortName

func (i *InboundContractsHolder) GetNewShortName() string

GetNewShortName returns the NewShortName field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetProvIDCust

func (i *InboundContractsHolder) GetProvIDCust() string

GetProvIDCust returns the ProvIDCust field if it's non-nil, zero value otherwise.

func (*InboundContractsHolder) GetShortName

func (i *InboundContractsHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

type IntegerKeyField

type IntegerKeyField struct {
	Key   *string `json:"key,omitempty"`
	Value *int32  `json:"value,omitempty"`
}

IntegerKeyField defines model for IntegerKeyField.

func (*IntegerKeyField) GetKey

func (i *IntegerKeyField) GetKey() string

GetKey returns the Key field if it's non-nil, zero value otherwise.

func (*IntegerKeyField) GetValue

func (i *IntegerKeyField) GetValue() *int32

GetValue returns the Value field.

type LocationsHolder

type LocationsHolder struct {
	ShortName *string `json:"ShortName,omitempty"`
}

LocationsHolder defines model for LocationsHolder.

func (*LocationsHolder) GetShortName

func (l *LocationsHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

type ParentCallsHolder

type ParentCallsHolder struct {
	CustCallID *string  `json:"CustCallID,omitempty"`
	SDCallID   *float32 `json:"SDCallID,omitempty"`
	SPCallID   *string  `json:"SPCallID,omitempty"`
}

ParentCallsHolder defines model for ParentCallsHolder.

func (*ParentCallsHolder) GetCustCallID

func (p *ParentCallsHolder) GetCustCallID() string

GetCustCallID returns the CustCallID field if it's non-nil, zero value otherwise.

func (*ParentCallsHolder) GetSDCallID

func (p *ParentCallsHolder) GetSDCallID() float32

GetSDCallID returns the SDCallID field if it's non-nil, zero value otherwise.

func (*ParentCallsHolder) GetSPCallID

func (p *ParentCallsHolder) GetSPCallID() string

GetSPCallID returns the SPCallID field if it's non-nil, zero value otherwise.

type PersonsHolder

type PersonsHolder struct {
	Category         *string `json:"Category,omitempty"`
	Department       *string `json:"Department,omitempty"` // For CCP, Software Product ID. M on Close.
	Description      *string `json:"Description,omitempty"`
	EMail            *string `json:"EMail,omitempty"` // For CCP, Underlying Cause. M on Close.
	Fax              *string `json:"Fax,omitempty"`   // For CCP, Resolution Code. M on Close.
	FirstName        *string `json:"FirstName,omitempty"`
	Language         *string `json:"Language,omitempty"`
	LastName         *string `json:"LastName,omitempty"`
	Location         *string `json:"Location,omitempty"`
	LocationCity     *string `json:"LocationCity,omitempty"` // For CCP, Complexity. M on Close.
	LocationCountry  *string `json:"LocationCountry,omitempty"`
	LocationProvince *string `json:"LocationProvince,omitempty"`
	LocationStreet   *string `json:"LocationStreet,omitempty"` // For CCP, Resolution Summary. M on Close.
	LocationZip      *string `json:"LocationZip,omitempty"`
	MobileTel        *string `json:"MobileTel,omitempty"`
	PIN              *string `json:"PIN,omitempty"`  // For CHD, CCO ID for the case used for entitlement. M for Create. For CCP, Hardware Product ID. M for Close.
	Room             *string `json:"Room,omitempty"` // For CCP, Subscription ID (if needed to pass entitlement).
	Salutation       *string `json:"Salutation,omitempty"`
	ShortName        *string `json:"ShortName,omitempty"`
	Sign             *string `json:"Sign,omitempty"` // For CHD, Preferred communication method. M for Create.
	Tel              *string `json:"Tel,omitempty"`
	Tel2             *string `json:"Tel2,omitempty"`
	Title            *string `json:"Title,omitempty"` // For Caller, this is apparently "Ship To Customer Company"?
}

PersonsHolder defines model for PersonsHolder.

func (*PersonsHolder) GetCategory

func (p *PersonsHolder) GetCategory() string

GetCategory returns the Category field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetDepartment

func (p *PersonsHolder) GetDepartment() string

GetDepartment returns the Department field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetDescription

func (p *PersonsHolder) GetDescription() string

GetDescription returns the Description field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetEMail

func (p *PersonsHolder) GetEMail() string

GetEMail returns the EMail field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetFax

func (p *PersonsHolder) GetFax() string

GetFax returns the Fax field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetFirstName

func (p *PersonsHolder) GetFirstName() string

GetFirstName returns the FirstName field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetLanguage

func (p *PersonsHolder) GetLanguage() string

GetLanguage returns the Language field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetLastName

func (p *PersonsHolder) GetLastName() string

GetLastName returns the LastName field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetLocation

func (p *PersonsHolder) GetLocation() string

GetLocation returns the Location field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetLocationCity

func (p *PersonsHolder) GetLocationCity() string

GetLocationCity returns the LocationCity field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetLocationCountry

func (p *PersonsHolder) GetLocationCountry() string

GetLocationCountry returns the LocationCountry field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetLocationProvince

func (p *PersonsHolder) GetLocationProvince() string

GetLocationProvince returns the LocationProvince field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetLocationStreet

func (p *PersonsHolder) GetLocationStreet() string

GetLocationStreet returns the LocationStreet field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetLocationZip

func (p *PersonsHolder) GetLocationZip() string

GetLocationZip returns the LocationZip field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetMobileTel

func (p *PersonsHolder) GetMobileTel() string

GetMobileTel returns the MobileTel field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetPIN

func (p *PersonsHolder) GetPIN() string

GetPIN returns the PIN field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetRoom

func (p *PersonsHolder) GetRoom() string

GetRoom returns the Room field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetSalutation

func (p *PersonsHolder) GetSalutation() string

GetSalutation returns the Salutation field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetShortName

func (p *PersonsHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetSign

func (p *PersonsHolder) GetSign() string

GetSign returns the Sign field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetTel

func (p *PersonsHolder) GetTel() string

GetTel returns the Tel field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetTel2

func (p *PersonsHolder) GetTel2() string

GetTel2 returns the Tel2 field if it's non-nil, zero value otherwise.

func (*PersonsHolder) GetTitle

func (p *PersonsHolder) GetTitle() string

GetTitle returns the Title field if it's non-nil, zero value otherwise.

type PutCallJSONBody

type PutCallJSONBody CallData

PutCallJSONBody defines parameters for PutCall.

type PutCallJSONRequestBody

type PutCallJSONRequestBody PutCallJSONBody

PutCallJSONRequestBody defines body for PutCall for application/json ContentType.

type QueuesHolder

type QueuesHolder struct {
	ShortName *string `json:"ShortName,omitempty"`
}

QueuesHolder defines model for QueuesHolder.

func (*QueuesHolder) GetShortName

func (q *QueuesHolder) GetShortName() string

GetShortName returns the ShortName field if it's non-nil, zero value otherwise.

type StringKeyField

type StringKeyField struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

StringKeyField defines model for StringKeyField.

func (*StringKeyField) GetKey

func (s *StringKeyField) GetKey() string

GetKey returns the Key field if it's non-nil, zero value otherwise.

func (*StringKeyField) GetValue

func (s *StringKeyField) GetValue() string

GetValue returns the Value field if it's non-nil, zero value otherwise.

type StringOrSliceOfErrors added in v0.2.0

type StringOrSliceOfErrors struct {
	Errors       []CiscoRemarksError
	RemarkString string // used to hold the remarks if we have a single string instead of errors
}

StringOrSliceOfErrors caters for Cisco returning either a string or a slice of errors in the Remarks field Yep, I'm serious! We provide a custom MarshalJSON to only send the string back to Cisco and a custom UnmarshalJSON to get the errors or a string

func (*StringOrSliceOfErrors) MarshalJSON added in v0.2.0

func (se *StringOrSliceOfErrors) MarshalJSON() ([]byte, error)

MarshalJSON lets us send just the string

func (*StringOrSliceOfErrors) UnmarshalJSON added in v0.2.0

func (se *StringOrSliceOfErrors) UnmarshalJSON(data []byte) error

UnmarshalJSON convert JSON object array of errors or string to object

type TspCode

type TspCode struct {
	ChangeFlag             *string `json:"changeFlag,omitempty"`
	EditTimeUtc            *string `json:"editTimeUtc,omitempty"`
	Id                     *int64  `json:"id,omitempty"`
	ProblemCodeDescription *string `json:"problemCodeDescription,omitempty"`
	ProblemCodeName        *string `json:"problemCodeName,omitempty"`
	SubTechId              *int32  `json:"subTechId,omitempty"`
	SubTechName            *string `json:"subTechName,omitempty"`
	TechId                 *int32  `json:"techId,omitempty"`
	TechName               *string `json:"techName,omitempty"`
}

TspCode defines model for TspCode.

func (*TspCode) GetChangeFlag

func (t *TspCode) GetChangeFlag() string

GetChangeFlag returns the ChangeFlag field if it's non-nil, zero value otherwise.

func (*TspCode) GetEditTimeUtc

func (t *TspCode) GetEditTimeUtc() string

GetEditTimeUtc returns the EditTimeUtc field if it's non-nil, zero value otherwise.

func (*TspCode) GetId

func (t *TspCode) GetId() int64

GetId returns the Id field if it's non-nil, zero value otherwise.

func (*TspCode) GetProblemCodeDescription

func (t *TspCode) GetProblemCodeDescription() string

GetProblemCodeDescription returns the ProblemCodeDescription field if it's non-nil, zero value otherwise.

func (*TspCode) GetProblemCodeName

func (t *TspCode) GetProblemCodeName() string

GetProblemCodeName returns the ProblemCodeName field if it's non-nil, zero value otherwise.

func (*TspCode) GetSubTechId

func (t *TspCode) GetSubTechId() *int32

GetSubTechId returns the SubTechId field.

func (*TspCode) GetSubTechName

func (t *TspCode) GetSubTechName() string

GetSubTechName returns the SubTechName field if it's non-nil, zero value otherwise.

func (*TspCode) GetTechId

func (t *TspCode) GetTechId() *int32

GetTechId returns the TechId field.

func (*TspCode) GetTechName

func (t *TspCode) GetTechName() string

GetTechName returns the TechName field if it's non-nil, zero value otherwise.

type TspCodeList

type TspCodeList struct {
	TspCodes []TspCode `json:"tspCodes,omitempty"`
}

TspCodeList defines model for TspCodeList.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL