tickets

package
v0.0.0-...-2284865 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package tickets provides primitives to interact with the openapi HTTP API.

Code generated by github.com/faetools/devtool version (devel) DO NOT EDIT.

Package tickets provides primitives to interact with the openapi HTTP API.

Code generated by github.com/faetools/devtool version (devel) DO NOT EDIT.

Index

Constants

View Source
const (
	HapikeyScopes       = "hapikey.Scopes"
	Oauth2_legacyScopes = "oauth2_legacy.Scopes"
)
View Source
const DefaultServer = "https://api.hubapi.com/"

DefaultServer is the default server to be used.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveAssociationTypeResponse

type ArchiveAssociationTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func (ArchiveAssociationTypeResponse) Status

Status returns HTTPResponse.Status

func (ArchiveAssociationTypeResponse) StatusCode

func (r ArchiveAssociationTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ArchiveBatchJSONBody

type ArchiveBatchJSONBody BatchInputSimplePublicObjectId

ArchiveBatchJSONBody defines parameters for ArchiveBatch.

type ArchiveBatchJSONRequestBody

type ArchiveBatchJSONRequestBody ArchiveBatchJSONBody

ArchiveBatchJSONRequestBody defines body for ArchiveBatch for application/json ContentType.

type ArchiveBatchResponse

type ArchiveBatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func (ArchiveBatchResponse) Status

func (r ArchiveBatchResponse) Status() string

Status returns HTTPResponse.Status

func (ArchiveBatchResponse) StatusCode

func (r ArchiveBatchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ArchiveTicketResponse

type ArchiveTicketResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func (ArchiveTicketResponse) Status

func (r ArchiveTicketResponse) Status() string

Status returns HTTPResponse.Status

func (ArchiveTicketResponse) StatusCode

func (r ArchiveTicketResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AssociatedId

type AssociatedId struct {
	Id   string `json:"id"`
	Type string `json:"type"`
}

AssociatedId defines model for AssociatedId.

type BatchInputSimplePublicObjectBatchInput

type BatchInputSimplePublicObjectBatchInput struct {
	Inputs []SimplePublicObjectBatchInput `json:"inputs"`
}

BatchInputSimplePublicObjectBatchInput defines model for BatchInputSimplePublicObjectBatchInput.

type BatchInputSimplePublicObjectId

type BatchInputSimplePublicObjectId struct {
	Inputs []SimplePublicObjectId `json:"inputs"`
}

BatchInputSimplePublicObjectId defines model for BatchInputSimplePublicObjectId.

type BatchInputSimplePublicObjectInput

type BatchInputSimplePublicObjectInput struct {
	Inputs []SimplePublicObjectInput `json:"inputs"`
}

BatchInputSimplePublicObjectInput defines model for BatchInputSimplePublicObjectInput.

type BatchReadInputSimplePublicObjectId

type BatchReadInputSimplePublicObjectId struct {
	IdProperty *string                `json:"idProperty,omitempty"`
	Inputs     []SimplePublicObjectId `json:"inputs"`
	Properties []string               `json:"properties"`
}

BatchReadInputSimplePublicObjectId defines model for BatchReadInputSimplePublicObjectId.

type BatchResponseSimplePublicObject

type BatchResponseSimplePublicObject struct {
	CompletedAt time.Time                              `json:"completedAt"`
	Links       *BatchResponseSimplePublicObject_Links `json:"links,omitempty"`
	RequestedAt *time.Time                             `json:"requestedAt,omitempty"`
	Results     []SimplePublicObject                   `json:"results"`
	StartedAt   time.Time                              `json:"startedAt"`
	Status      BatchResponseSimplePublicObjectStatus  `json:"status"`
}

BatchResponseSimplePublicObject defines model for BatchResponseSimplePublicObject.

type BatchResponseSimplePublicObjectStatus

type BatchResponseSimplePublicObjectStatus string

BatchResponseSimplePublicObjectStatus defines model for BatchResponseSimplePublicObject.Status.

const (
	BatchResponseSimplePublicObjectStatusCANCELED BatchResponseSimplePublicObjectStatus = "CANCELED"

	BatchResponseSimplePublicObjectStatusCOMPLETE BatchResponseSimplePublicObjectStatus = "COMPLETE"

	BatchResponseSimplePublicObjectStatusPENDING BatchResponseSimplePublicObjectStatus = "PENDING"

	BatchResponseSimplePublicObjectStatusPROCESSING BatchResponseSimplePublicObjectStatus = "PROCESSING"
)

Defines values for BatchResponseSimplePublicObjectStatus.

type BatchResponseSimplePublicObjectWithErrors

type BatchResponseSimplePublicObjectWithErrors struct {
	CompletedAt time.Time                                        `json:"completedAt"`
	Errors      *[]StandardError                                 `json:"errors,omitempty"`
	Links       *BatchResponseSimplePublicObjectWithErrors_Links `json:"links,omitempty"`
	NumErrors   *int32                                           `json:"numErrors,omitempty"`
	RequestedAt *time.Time                                       `json:"requestedAt,omitempty"`
	Results     []SimplePublicObject                             `json:"results"`
	StartedAt   time.Time                                        `json:"startedAt"`
	Status      BatchResponseSimplePublicObjectWithErrorsStatus  `json:"status"`
}

BatchResponseSimplePublicObjectWithErrors defines model for BatchResponseSimplePublicObjectWithErrors.

type BatchResponseSimplePublicObjectWithErrorsStatus

type BatchResponseSimplePublicObjectWithErrorsStatus string

BatchResponseSimplePublicObjectWithErrorsStatus defines model for BatchResponseSimplePublicObjectWithErrors.Status.

const (
	BatchResponseSimplePublicObjectWithErrorsStatusCANCELED BatchResponseSimplePublicObjectWithErrorsStatus = "CANCELED"

	BatchResponseSimplePublicObjectWithErrorsStatusCOMPLETE BatchResponseSimplePublicObjectWithErrorsStatus = "COMPLETE"

	BatchResponseSimplePublicObjectWithErrorsStatusPENDING BatchResponseSimplePublicObjectWithErrorsStatus = "PENDING"

	BatchResponseSimplePublicObjectWithErrorsStatusPROCESSING BatchResponseSimplePublicObjectWithErrorsStatus = "PROCESSING"
)

Defines values for BatchResponseSimplePublicObjectWithErrorsStatus.

type BatchResponseSimplePublicObjectWithErrors_Links struct {
	AdditionalProperties map[string]string `json:"-"`
}

BatchResponseSimplePublicObjectWithErrors_Links defines model for BatchResponseSimplePublicObjectWithErrors.Links.

func (BatchResponseSimplePublicObjectWithErrors_Links) Get

func (a BatchResponseSimplePublicObjectWithErrors_Links) Get(fieldName string) (value string, found bool)

Getter for additional properties for BatchResponseSimplePublicObjectWithErrors_Links. Returns the specified element and whether it was found

func (BatchResponseSimplePublicObjectWithErrors_Links) MarshalJSON

Override default JSON handling for BatchResponseSimplePublicObjectWithErrors_Links to handle AdditionalProperties

func (*BatchResponseSimplePublicObjectWithErrors_Links) Set

Setter for additional properties for BatchResponseSimplePublicObjectWithErrors_Links

func (*BatchResponseSimplePublicObjectWithErrors_Links) UnmarshalJSON

Override default JSON handling for BatchResponseSimplePublicObjectWithErrors_Links to handle AdditionalProperties

type BatchResponseSimplePublicObject_Links struct {
	AdditionalProperties map[string]string `json:"-"`
}

BatchResponseSimplePublicObject_Links defines model for BatchResponseSimplePublicObject.Links.

func (BatchResponseSimplePublicObject_Links) Get

func (a BatchResponseSimplePublicObject_Links) Get(fieldName string) (value string, found bool)

Getter for additional properties for BatchResponseSimplePublicObject_Links. Returns the specified element and whether it was found

func (BatchResponseSimplePublicObject_Links) MarshalJSON

func (a BatchResponseSimplePublicObject_Links) MarshalJSON() ([]byte, error)

Override default JSON handling for BatchResponseSimplePublicObject_Links to handle AdditionalProperties

func (*BatchResponseSimplePublicObject_Links) Set

func (a *BatchResponseSimplePublicObject_Links) Set(fieldName string, value string)

Setter for additional properties for BatchResponseSimplePublicObject_Links

func (*BatchResponseSimplePublicObject_Links) UnmarshalJSON

func (a *BatchResponseSimplePublicObject_Links) UnmarshalJSON(b []byte) error

Override default JSON handling for BatchResponseSimplePublicObject_Links to handle AdditionalProperties

type Client

type Client client.Client

Client conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(opts ...client.Option) (*Client, error)

NewClient creates a new Client with reasonable defaults.

func (*Client) ArchiveAssociationType

func (c *Client) ArchiveAssociationType(ctx context.Context, ticketId string, toObjectType string, toObjectId string, associationType string, reqEditors ...client.RequestEditorFn) (*ArchiveAssociationTypeResponse, error)

ArchiveAssociationType request returning *ArchiveAssociationTypeResponse

func (*Client) ArchiveBatch

func (c *Client) ArchiveBatch(ctx context.Context, body ArchiveBatchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*ArchiveBatchResponse, error)

func (*Client) ArchiveBatchWithBody

func (c *Client) ArchiveBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*ArchiveBatchResponse, error)

ArchiveBatchWithBody request with arbitrary body returning *ArchiveBatchResponse

func (*Client) ArchiveTicket

func (c *Client) ArchiveTicket(ctx context.Context, ticketId string, reqEditors ...client.RequestEditorFn) (*ArchiveTicketResponse, error)

ArchiveTicket request returning *ArchiveTicketResponse

func (*Client) CreateAssociationType

func (c *Client) CreateAssociationType(ctx context.Context, ticketId string, toObjectType string, toObjectId string, associationType string, reqEditors ...client.RequestEditorFn) (*CreateAssociationTypeResponse, error)

CreateAssociationType request returning *CreateAssociationTypeResponse

func (*Client) CreateBatch

func (c *Client) CreateBatch(ctx context.Context, body CreateBatchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*CreateBatchResponse, error)

func (*Client) CreateBatchWithBody

func (c *Client) CreateBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*CreateBatchResponse, error)

CreateBatchWithBody request with arbitrary body returning *CreateBatchResponse

func (*Client) CreateTickets

func (*Client) CreateTicketsWithBody

func (c *Client) CreateTicketsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*CreateTicketsResponse, error)

CreateTicketsWithBody request with arbitrary body returning *CreateTicketsResponse

func (*Client) DoSearch

func (c *Client) DoSearch(ctx context.Context, body DoSearchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*DoSearchResponse, error)

func (*Client) DoSearchWithBody

func (c *Client) DoSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*DoSearchResponse, error)

DoSearchWithBody request with arbitrary body returning *DoSearchResponse

func (*Client) GetAllToObjectType

func (c *Client) GetAllToObjectType(ctx context.Context, ticketId string, toObjectType string, params *GetAllToObjectTypeParams, reqEditors ...client.RequestEditorFn) (*GetAllToObjectTypeResponse, error)

GetAllToObjectType request returning *GetAllToObjectTypeResponse

func (*Client) GetTicket

func (c *Client) GetTicket(ctx context.Context, ticketId string, params *GetTicketParams, reqEditors ...client.RequestEditorFn) (*GetTicketResponse, error)

GetTicket request returning *GetTicketResponse

func (*Client) ListTickets

func (c *Client) ListTickets(ctx context.Context, params *ListTicketsParams, reqEditors ...client.RequestEditorFn) (*ListTicketsResponse, error)

ListTickets request returning *ListTicketsResponse

func (*Client) ReadBatch

func (c *Client) ReadBatch(ctx context.Context, params *ReadBatchParams, body ReadBatchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*ReadBatchResponse, error)

func (*Client) ReadBatchWithBody

func (c *Client) ReadBatchWithBody(ctx context.Context, params *ReadBatchParams, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*ReadBatchResponse, error)

ReadBatchWithBody request with arbitrary body returning *ReadBatchResponse

func (*Client) UpdateBatch

func (c *Client) UpdateBatch(ctx context.Context, body UpdateBatchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*UpdateBatchResponse, error)

func (*Client) UpdateBatchWithBody

func (c *Client) UpdateBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*UpdateBatchResponse, error)

UpdateBatchWithBody request with arbitrary body returning *UpdateBatchResponse

func (*Client) UpdateTicket

func (c *Client) UpdateTicket(ctx context.Context, ticketId string, params *UpdateTicketParams, body UpdateTicketJSONRequestBody, reqEditors ...client.RequestEditorFn) (*UpdateTicketResponse, error)

func (*Client) UpdateTicketWithBody

func (c *Client) UpdateTicketWithBody(ctx context.Context, ticketId string, params *UpdateTicketParams, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*UpdateTicketResponse, error)

UpdateTicketWithBody request with arbitrary body returning *UpdateTicketResponse

type ClientInterface

type ClientInterface interface {
	// ListTickets request
	ListTickets(ctx context.Context, params *ListTicketsParams, reqEditors ...client.RequestEditorFn) (*ListTicketsResponse, error)

	// CreateTickets request with any body
	CreateTicketsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*CreateTicketsResponse, error)
	CreateTickets(ctx context.Context, body CreateTicketsJSONRequestBody, reqEditors ...client.RequestEditorFn) (*CreateTicketsResponse, error)

	// ArchiveBatch request with any body
	ArchiveBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*ArchiveBatchResponse, error)
	ArchiveBatch(ctx context.Context, body ArchiveBatchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*ArchiveBatchResponse, error)

	// CreateBatch request with any body
	CreateBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*CreateBatchResponse, error)
	CreateBatch(ctx context.Context, body CreateBatchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*CreateBatchResponse, error)

	// ReadBatch request with any body
	ReadBatchWithBody(ctx context.Context, params *ReadBatchParams, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*ReadBatchResponse, error)
	ReadBatch(ctx context.Context, params *ReadBatchParams, body ReadBatchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*ReadBatchResponse, error)

	// UpdateBatch request with any body
	UpdateBatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*UpdateBatchResponse, error)
	UpdateBatch(ctx context.Context, body UpdateBatchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*UpdateBatchResponse, error)

	// DoSearch request with any body
	DoSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*DoSearchResponse, error)
	DoSearch(ctx context.Context, body DoSearchJSONRequestBody, reqEditors ...client.RequestEditorFn) (*DoSearchResponse, error)

	// ArchiveTicket request
	ArchiveTicket(ctx context.Context, ticketId string, reqEditors ...client.RequestEditorFn) (*ArchiveTicketResponse, error)

	// GetTicket request
	GetTicket(ctx context.Context, ticketId string, params *GetTicketParams, reqEditors ...client.RequestEditorFn) (*GetTicketResponse, error)

	// UpdateTicket request with any body
	UpdateTicketWithBody(ctx context.Context, ticketId string, params *UpdateTicketParams, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*UpdateTicketResponse, error)
	UpdateTicket(ctx context.Context, ticketId string, params *UpdateTicketParams, body UpdateTicketJSONRequestBody, reqEditors ...client.RequestEditorFn) (*UpdateTicketResponse, error)

	// GetAllToObjectType request
	GetAllToObjectType(ctx context.Context, ticketId string, toObjectType string, params *GetAllToObjectTypeParams, reqEditors ...client.RequestEditorFn) (*GetAllToObjectTypeResponse, error)

	// ArchiveAssociationType request
	ArchiveAssociationType(ctx context.Context, ticketId string, toObjectType string, toObjectId string, associationType string, reqEditors ...client.RequestEditorFn) (*ArchiveAssociationTypeResponse, error)

	// CreateAssociationType request
	CreateAssociationType(ctx context.Context, ticketId string, toObjectType string, toObjectId string, associationType string, reqEditors ...client.RequestEditorFn) (*CreateAssociationTypeResponse, error)
}

ClientInterface interface specification for the client.

type CollectionResponseAssociatedId

type CollectionResponseAssociatedId struct {
	Paging  *Paging        `json:"paging,omitempty"`
	Results []AssociatedId `json:"results"`
}

CollectionResponseAssociatedId defines model for CollectionResponseAssociatedId.

type CollectionResponseAssociatedIdForwardPaging

type CollectionResponseAssociatedIdForwardPaging struct {
	Paging  *ForwardPaging `json:"paging,omitempty"`
	Results []AssociatedId `json:"results"`
}

CollectionResponseAssociatedIdForwardPaging defines model for CollectionResponseAssociatedIdForwardPaging.

type CollectionResponseSimplePublicObjectWithAssociationsForwardPaging

type CollectionResponseSimplePublicObjectWithAssociationsForwardPaging struct {
	Paging  *ForwardPaging                       `json:"paging,omitempty"`
	Results []SimplePublicObjectWithAssociations `json:"results"`
}

CollectionResponseSimplePublicObjectWithAssociationsForwardPaging defines model for CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.

type CollectionResponseWithTotalSimplePublicObjectForwardPaging

type CollectionResponseWithTotalSimplePublicObjectForwardPaging struct {
	Paging  *ForwardPaging       `json:"paging,omitempty"`
	Results []SimplePublicObject `json:"results"`
	Total   int32                `json:"total"`
}

CollectionResponseWithTotalSimplePublicObjectForwardPaging defines model for CollectionResponseWithTotalSimplePublicObjectForwardPaging.

type CreateAssociationTypeResponse

type CreateAssociationTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SimplePublicObjectWithAssociations
}

func (CreateAssociationTypeResponse) Status

Status returns HTTPResponse.Status

func (CreateAssociationTypeResponse) StatusCode

func (r CreateAssociationTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBatchJSONBody

type CreateBatchJSONBody BatchInputSimplePublicObjectInput

CreateBatchJSONBody defines parameters for CreateBatch.

type CreateBatchJSONRequestBody

type CreateBatchJSONRequestBody CreateBatchJSONBody

CreateBatchJSONRequestBody defines body for CreateBatch for application/json ContentType.

type CreateBatchResponse

type CreateBatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *BatchResponseSimplePublicObject
	JSON207      *BatchResponseSimplePublicObjectWithErrors
}

func (CreateBatchResponse) Status

func (r CreateBatchResponse) Status() string

Status returns HTTPResponse.Status

func (CreateBatchResponse) StatusCode

func (r CreateBatchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTicketsJSONBody

type CreateTicketsJSONBody SimplePublicObjectInput

CreateTicketsJSONBody defines parameters for CreateTickets.

type CreateTicketsJSONRequestBody

type CreateTicketsJSONRequestBody CreateTicketsJSONBody

CreateTicketsJSONRequestBody defines body for CreateTickets for application/json ContentType.

type CreateTicketsResponse

type CreateTicketsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SimplePublicObject
}

func (CreateTicketsResponse) Status

func (r CreateTicketsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTicketsResponse) StatusCode

func (r CreateTicketsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DoSearchJSONBody

type DoSearchJSONBody PublicObjectSearchRequest

DoSearchJSONBody defines parameters for DoSearch.

type DoSearchJSONRequestBody

type DoSearchJSONRequestBody DoSearchJSONBody

DoSearchJSONRequestBody defines body for DoSearch for application/json ContentType.

type DoSearchResponse

type DoSearchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CollectionResponseWithTotalSimplePublicObjectForwardPaging
}

func (DoSearchResponse) Status

func (r DoSearchResponse) Status() string

Status returns HTTPResponse.Status

func (DoSearchResponse) StatusCode

func (r DoSearchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Error

type Error struct {
	// The error category
	Category string `json:"category"`

	// Context about the error condition
	Context *Error_Context `json:"context,omitempty"`

	// A unique identifier for the request. Include this value with any error reports or support tickets
	CorrelationId string `json:"correlationId"`

	// further information about the error
	Errors *[]ErrorDetail `json:"errors,omitempty"`

	// A map of link names to associated URIs containing documentation about the error or recommended remediation steps
	Links *Error_Links `json:"links,omitempty"`

	// A human readable message describing the error along with remediation steps where appropriate
	Message string `json:"message"`

	// A specific category that contains more specific detail about the error
	SubCategory *string `json:"subCategory,omitempty"`
}

Error defines model for Error.

type ErrorCategory

type ErrorCategory struct {
	HttpStatus ErrorCategoryHttpStatus `json:"httpStatus"`
	Name       string                  `json:"name"`
}

ErrorCategory defines model for ErrorCategory.

type ErrorCategoryHttpStatus

type ErrorCategoryHttpStatus string

ErrorCategoryHttpStatus defines model for ErrorCategory.HttpStatus.

const (
	ErrorCategoryHttpStatusACCEPTED ErrorCategoryHttpStatus = "ACCEPTED"

	ErrorCategoryHttpStatusALREADYREPORTED ErrorCategoryHttpStatus = "ALREADY_REPORTED"

	ErrorCategoryHttpStatusBADGATEWAY ErrorCategoryHttpStatus = "BAD_GATEWAY"

	ErrorCategoryHttpStatusBADREQUEST ErrorCategoryHttpStatus = "BAD_REQUEST"

	ErrorCategoryHttpStatusCONFLICT ErrorCategoryHttpStatus = "CONFLICT"

	ErrorCategoryHttpStatusCONTINUE ErrorCategoryHttpStatus = "CONTINUE"

	ErrorCategoryHttpStatusCREATED ErrorCategoryHttpStatus = "CREATED"

	ErrorCategoryHttpStatusEXPECTATIONFAILED ErrorCategoryHttpStatus = "EXPECTATION_FAILED"

	ErrorCategoryHttpStatusFAILEDDEPENDENCY ErrorCategoryHttpStatus = "FAILED_DEPENDENCY"

	ErrorCategoryHttpStatusFORBIDDEN ErrorCategoryHttpStatus = "FORBIDDEN"

	ErrorCategoryHttpStatusFOUND ErrorCategoryHttpStatus = "FOUND"

	ErrorCategoryHttpStatusGATEWAYTIMEOUT ErrorCategoryHttpStatus = "GATEWAY_TIMEOUT"

	ErrorCategoryHttpStatusGONE ErrorCategoryHttpStatus = "GONE"

	ErrorCategoryHttpStatusHTTPVERSIONNOTSUPPORTED ErrorCategoryHttpStatus = "HTTP_VERSION_NOT_SUPPORTED"

	ErrorCategoryHttpStatusIMATEAPOT ErrorCategoryHttpStatus = "IM_A_TEAPOT"

	ErrorCategoryHttpStatusIMUSED ErrorCategoryHttpStatus = "IM_USED"

	ErrorCategoryHttpStatusINSUFFICIENTSTORAGE ErrorCategoryHttpStatus = "INSUFFICIENT_STORAGE"

	ErrorCategoryHttpStatusINTERNALSERVERERROR ErrorCategoryHttpStatus = "INTERNAL_SERVER_ERROR"

	ErrorCategoryHttpStatusINTERNALSTALESERVICEDISCOVERY ErrorCategoryHttpStatus = "INTERNAL_STALE_SERVICE_DISCOVERY"

	ErrorCategoryHttpStatusLENGTHREQUIRED ErrorCategoryHttpStatus = "LENGTH_REQUIRED"

	ErrorCategoryHttpStatusLOCKED ErrorCategoryHttpStatus = "LOCKED"

	ErrorCategoryHttpStatusLOOPDETECTED ErrorCategoryHttpStatus = "LOOP_DETECTED"

	ErrorCategoryHttpStatusMETHODNOTALLOWED ErrorCategoryHttpStatus = "METHOD_NOT_ALLOWED"

	ErrorCategoryHttpStatusMISDIRECTEDREQUEST ErrorCategoryHttpStatus = "MISDIRECTED_REQUEST"

	ErrorCategoryHttpStatusMOVEDPERMANENTLY ErrorCategoryHttpStatus = "MOVED_PERMANENTLY"

	ErrorCategoryHttpStatusMULTIPLECHOICES ErrorCategoryHttpStatus = "MULTIPLE_CHOICES"

	ErrorCategoryHttpStatusMULTISTATUS ErrorCategoryHttpStatus = "MULTI_STATUS"

	ErrorCategoryHttpStatusNETWORKAUTHENTICATIONREQUIRED ErrorCategoryHttpStatus = "NETWORK_AUTHENTICATION_REQUIRED"

	ErrorCategoryHttpStatusNOCONTENT ErrorCategoryHttpStatus = "NO_CONTENT"

	ErrorCategoryHttpStatusNONAUTHORITATIVEINFORMATION ErrorCategoryHttpStatus = "NON_AUTHORITATIVE_INFORMATION"

	ErrorCategoryHttpStatusNOTACCEPTABLE ErrorCategoryHttpStatus = "NOT_ACCEPTABLE"

	ErrorCategoryHttpStatusNOTEXTENDED ErrorCategoryHttpStatus = "NOT_EXTENDED"

	ErrorCategoryHttpStatusNOTFOUND ErrorCategoryHttpStatus = "NOT_FOUND"

	ErrorCategoryHttpStatusNOTIMPLEMENTED ErrorCategoryHttpStatus = "NOT_IMPLEMENTED"

	ErrorCategoryHttpStatusNOTMODIFIED ErrorCategoryHttpStatus = "NOT_MODIFIED"

	ErrorCategoryHttpStatusOK ErrorCategoryHttpStatus = "OK"

	ErrorCategoryHttpStatusPARTIALCONTENT ErrorCategoryHttpStatus = "PARTIAL_CONTENT"

	ErrorCategoryHttpStatusPAYMENTREQUIRED ErrorCategoryHttpStatus = "PAYMENT_REQUIRED"

	ErrorCategoryHttpStatusPERMANENTREDIRECT ErrorCategoryHttpStatus = "PERMANENT_REDIRECT"

	ErrorCategoryHttpStatusPRECONDITIONFAILED ErrorCategoryHttpStatus = "PRECONDITION_FAILED"

	ErrorCategoryHttpStatusPRECONDITIONREQUIRED ErrorCategoryHttpStatus = "PRECONDITION_REQUIRED"

	ErrorCategoryHttpStatusPROCESSING ErrorCategoryHttpStatus = "PROCESSING"

	ErrorCategoryHttpStatusPROXYAUTHENTICATIONREQUIRED ErrorCategoryHttpStatus = "PROXY_AUTHENTICATION_REQUIRED"

	ErrorCategoryHttpStatusREQUESTEDRANGENOTSATISFIABLE ErrorCategoryHttpStatus = "REQUESTED_RANGE_NOT_SATISFIABLE"

	ErrorCategoryHttpStatusREQUESTENTITYTOOLARGE ErrorCategoryHttpStatus = "REQUEST_ENTITY_TOO_LARGE"

	ErrorCategoryHttpStatusREQUESTHEADERSFIELDSTOOLARGE ErrorCategoryHttpStatus = "REQUEST_HEADERS_FIELDS_TOO_LARGE"

	ErrorCategoryHttpStatusREQUESTTIMEOUT ErrorCategoryHttpStatus = "REQUEST_TIMEOUT"

	ErrorCategoryHttpStatusREQUESTURITOOLONG ErrorCategoryHttpStatus = "REQUEST_URI_TOO_LONG"

	ErrorCategoryHttpStatusRESETCONTENT ErrorCategoryHttpStatus = "RESET_CONTENT"

	ErrorCategoryHttpStatusSEEOTHER ErrorCategoryHttpStatus = "SEE_OTHER"

	ErrorCategoryHttpStatusSERVICEUNAVAILABLE ErrorCategoryHttpStatus = "SERVICE_UNAVAILABLE"

	ErrorCategoryHttpStatusSWITCHINGPROTOCOLS ErrorCategoryHttpStatus = "SWITCHING_PROTOCOLS"

	ErrorCategoryHttpStatusTEMPORARYREDIRECT ErrorCategoryHttpStatus = "TEMPORARY_REDIRECT"

	ErrorCategoryHttpStatusTOOMANYREQUESTS ErrorCategoryHttpStatus = "TOO_MANY_REQUESTS"

	ErrorCategoryHttpStatusUNAUTHORIZED ErrorCategoryHttpStatus = "UNAUTHORIZED"

	ErrorCategoryHttpStatusUNAVAILABLEFORLEGALREASONS ErrorCategoryHttpStatus = "UNAVAILABLE_FOR_LEGAL_REASONS"

	ErrorCategoryHttpStatusUNPROCESSABLEENTITY ErrorCategoryHttpStatus = "UNPROCESSABLE_ENTITY"

	ErrorCategoryHttpStatusUNSUPPORTEDMEDIATYPE ErrorCategoryHttpStatus = "UNSUPPORTED_MEDIA_TYPE"

	ErrorCategoryHttpStatusUPGRADEREQUIRED ErrorCategoryHttpStatus = "UPGRADE_REQUIRED"

	ErrorCategoryHttpStatusUSEPROXY ErrorCategoryHttpStatus = "USE_PROXY"

	ErrorCategoryHttpStatusVARIANTALSONEGOTIATES ErrorCategoryHttpStatus = "VARIANT_ALSO_NEGOTIATES"
)

Defines values for ErrorCategoryHttpStatus.

type ErrorDetail

type ErrorDetail struct {
	// The status code associated with the error detail
	Code *string `json:"code,omitempty"`

	// Context about the error condition
	Context *ErrorDetail_Context `json:"context,omitempty"`

	// The name of the field or parameter in which the error was found.
	In *string `json:"in,omitempty"`

	// A human readable message describing the error along with remediation steps where appropriate
	Message string `json:"message"`

	// A specific category that contains more specific detail about the error
	SubCategory *string `json:"subCategory,omitempty"`
}

ErrorDetail defines model for ErrorDetail.

type ErrorDetail_Context

type ErrorDetail_Context struct {
	AdditionalProperties map[string][]string `json:"-"`
}

Context about the error condition

func (ErrorDetail_Context) Get

func (a ErrorDetail_Context) Get(fieldName string) (value []string, found bool)

Getter for additional properties for ErrorDetail_Context. Returns the specified element and whether it was found

func (ErrorDetail_Context) MarshalJSON

func (a ErrorDetail_Context) MarshalJSON() ([]byte, error)

Override default JSON handling for ErrorDetail_Context to handle AdditionalProperties

func (*ErrorDetail_Context) Set

func (a *ErrorDetail_Context) Set(fieldName string, value []string)

Setter for additional properties for ErrorDetail_Context

func (*ErrorDetail_Context) UnmarshalJSON

func (a *ErrorDetail_Context) UnmarshalJSON(b []byte) error

Override default JSON handling for ErrorDetail_Context to handle AdditionalProperties

type Error_Context

type Error_Context struct {
	AdditionalProperties map[string][]string `json:"-"`
}

Context about the error condition

func (Error_Context) Get

func (a Error_Context) Get(fieldName string) (value []string, found bool)

Getter for additional properties for Error_Context. Returns the specified element and whether it was found

func (Error_Context) MarshalJSON

func (a Error_Context) MarshalJSON() ([]byte, error)

Override default JSON handling for Error_Context to handle AdditionalProperties

func (*Error_Context) Set

func (a *Error_Context) Set(fieldName string, value []string)

Setter for additional properties for Error_Context

func (*Error_Context) UnmarshalJSON

func (a *Error_Context) UnmarshalJSON(b []byte) error

Override default JSON handling for Error_Context to handle AdditionalProperties

type Error_Links struct {
	AdditionalProperties map[string]string `json:"-"`
}

A map of link names to associated URIs containing documentation about the error or recommended remediation steps

func (Error_Links) Get

func (a Error_Links) Get(fieldName string) (value string, found bool)

Getter for additional properties for Error_Links. Returns the specified element and whether it was found

func (Error_Links) MarshalJSON

func (a Error_Links) MarshalJSON() ([]byte, error)

Override default JSON handling for Error_Links to handle AdditionalProperties

func (*Error_Links) Set

func (a *Error_Links) Set(fieldName string, value string)

Setter for additional properties for Error_Links

func (*Error_Links) UnmarshalJSON

func (a *Error_Links) UnmarshalJSON(b []byte) error

Override default JSON handling for Error_Links to handle AdditionalProperties

type Filter

type Filter struct {
	// null
	Operator     FilterOperator `json:"operator"`
	PropertyName string         `json:"propertyName"`
	Value        *string        `json:"value,omitempty"`
}

Filter defines model for Filter.

type FilterGroup

type FilterGroup struct {
	Filters []Filter `json:"filters"`
}

FilterGroup defines model for FilterGroup.

type FilterOperator

type FilterOperator string

null

const (
	FilterOperatorBETWEEN FilterOperator = "BETWEEN"

	FilterOperatorCONTAINSTOKEN FilterOperator = "CONTAINS_TOKEN"

	FilterOperatorEQ FilterOperator = "EQ"

	FilterOperatorGT FilterOperator = "GT"

	FilterOperatorGTE FilterOperator = "GTE"

	FilterOperatorHASPROPERTY FilterOperator = "HAS_PROPERTY"

	FilterOperatorIN FilterOperator = "IN"

	FilterOperatorLT FilterOperator = "LT"

	FilterOperatorLTE FilterOperator = "LTE"

	FilterOperatorNEQ FilterOperator = "NEQ"

	FilterOperatorNOTCONTAINSTOKEN FilterOperator = "NOT_CONTAINS_TOKEN"

	FilterOperatorNOTHASPROPERTY FilterOperator = "NOT_HAS_PROPERTY"

	FilterOperatorNOTIN FilterOperator = "NOT_IN"
)

Defines values for FilterOperator.

type ForwardPaging

type ForwardPaging struct {
	Next *NextPage `json:"next,omitempty"`
}

ForwardPaging defines model for ForwardPaging.

type GetAllToObjectTypeParams

type GetAllToObjectTypeParams struct {
	// The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
	After *string `json:"after,omitempty"`

	// The maximum number of results to display per page.
	Limit *int32 `json:"limit,omitempty"`
}

GetAllToObjectTypeParams defines parameters for GetAllToObjectType.

type GetAllToObjectTypeResponse

type GetAllToObjectTypeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CollectionResponseAssociatedIdForwardPaging
}

func (GetAllToObjectTypeResponse) Status

Status returns HTTPResponse.Status

func (GetAllToObjectTypeResponse) StatusCode

func (r GetAllToObjectTypeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTicketParams

type GetTicketParams struct {
	// A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
	Properties *[]string `json:"properties,omitempty"`

	// A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
	Associations *[]string `json:"associations,omitempty"`

	// Whether to return only results that have been archived.
	Archived *bool `json:"archived,omitempty"`

	// The name of a property whose values are unique for this object type
	IdProperty *string `json:"idProperty,omitempty"`
}

GetTicketParams defines parameters for GetTicket.

type GetTicketResponse

type GetTicketResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SimplePublicObjectWithAssociations
}

func (GetTicketResponse) Status

func (r GetTicketResponse) Status() string

Status returns HTTPResponse.Status

func (GetTicketResponse) StatusCode

func (r GetTicketResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTicketsParams

type ListTicketsParams struct {
	// The maximum number of results to display per page.
	Limit *int32 `json:"limit,omitempty"`

	// The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
	After *string `json:"after,omitempty"`

	// A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
	Properties *[]string `json:"properties,omitempty"`

	// A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
	Associations *[]string `json:"associations,omitempty"`

	// Whether to return only results that have been archived.
	Archived *bool `json:"archived,omitempty"`
}

ListTicketsParams defines parameters for ListTickets.

type ListTicketsResponse

type ListTicketsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CollectionResponseSimplePublicObjectWithAssociationsForwardPaging
}

func (ListTicketsResponse) Status

func (r ListTicketsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTicketsResponse) StatusCode

func (r ListTicketsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NextPage

type NextPage struct {
	After string  `json:"after"`
	Link  *string `json:"link,omitempty"`
}

NextPage defines model for NextPage.

type Paging

type Paging struct {
	Next *NextPage     `json:"next,omitempty"`
	Prev *PreviousPage `json:"prev,omitempty"`
}

Paging defines model for Paging.

type PreviousPage

type PreviousPage struct {
	Before string  `json:"before"`
	Link   *string `json:"link,omitempty"`
}

PreviousPage defines model for PreviousPage.

type PublicObjectSearchRequest

type PublicObjectSearchRequest struct {
	After        int32         `json:"after"`
	FilterGroups []FilterGroup `json:"filterGroups"`
	Limit        int32         `json:"limit"`
	Properties   []string      `json:"properties"`
	Query        *string       `json:"query,omitempty"`
	Sorts        []string      `json:"sorts"`
}

PublicObjectSearchRequest defines model for PublicObjectSearchRequest.

type ReadBatchJSONBody

type ReadBatchJSONBody BatchReadInputSimplePublicObjectId

ReadBatchJSONBody defines parameters for ReadBatch.

type ReadBatchJSONRequestBody

type ReadBatchJSONRequestBody ReadBatchJSONBody

ReadBatchJSONRequestBody defines body for ReadBatch for application/json ContentType.

type ReadBatchParams

type ReadBatchParams struct {
	// Whether to return only results that have been archived.
	Archived *bool `json:"archived,omitempty"`
}

ReadBatchParams defines parameters for ReadBatch.

type ReadBatchResponse

type ReadBatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BatchResponseSimplePublicObject
	JSON207      *BatchResponseSimplePublicObjectWithErrors
}

func (ReadBatchResponse) Status

func (r ReadBatchResponse) Status() string

Status returns HTTPResponse.Status

func (ReadBatchResponse) StatusCode

func (r ReadBatchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SimplePublicObject

type SimplePublicObject struct {
	Archived   *bool                         `json:"archived,omitempty"`
	ArchivedAt *time.Time                    `json:"archivedAt,omitempty"`
	CreatedAt  time.Time                     `json:"createdAt"`
	Id         string                        `json:"id"`
	Properties SimplePublicObject_Properties `json:"properties"`
	UpdatedAt  time.Time                     `json:"updatedAt"`
}

SimplePublicObject defines model for SimplePublicObject.

type SimplePublicObjectBatchInput

type SimplePublicObjectBatchInput struct {
	Id         string                                  `json:"id"`
	Properties SimplePublicObjectBatchInput_Properties `json:"properties"`
}

SimplePublicObjectBatchInput defines model for SimplePublicObjectBatchInput.

type SimplePublicObjectBatchInput_Properties

type SimplePublicObjectBatchInput_Properties struct {
	AdditionalProperties map[string]string `json:"-"`
}

SimplePublicObjectBatchInput_Properties defines model for SimplePublicObjectBatchInput.Properties.

func (SimplePublicObjectBatchInput_Properties) Get

func (a SimplePublicObjectBatchInput_Properties) Get(fieldName string) (value string, found bool)

Getter for additional properties for SimplePublicObjectBatchInput_Properties. Returns the specified element and whether it was found

func (SimplePublicObjectBatchInput_Properties) MarshalJSON

func (a SimplePublicObjectBatchInput_Properties) MarshalJSON() ([]byte, error)

Override default JSON handling for SimplePublicObjectBatchInput_Properties to handle AdditionalProperties

func (*SimplePublicObjectBatchInput_Properties) Set

func (a *SimplePublicObjectBatchInput_Properties) Set(fieldName string, value string)

Setter for additional properties for SimplePublicObjectBatchInput_Properties

func (*SimplePublicObjectBatchInput_Properties) UnmarshalJSON

func (a *SimplePublicObjectBatchInput_Properties) UnmarshalJSON(b []byte) error

Override default JSON handling for SimplePublicObjectBatchInput_Properties to handle AdditionalProperties

type SimplePublicObjectId

type SimplePublicObjectId struct {
	Id string `json:"id"`
}

SimplePublicObjectId defines model for SimplePublicObjectId.

type SimplePublicObjectInput

type SimplePublicObjectInput struct {
	Properties SimplePublicObjectInput_Properties `json:"properties"`
}

SimplePublicObjectInput defines model for SimplePublicObjectInput.

type SimplePublicObjectInput_Properties

type SimplePublicObjectInput_Properties struct {
	AdditionalProperties map[string]string `json:"-"`
}

SimplePublicObjectInput_Properties defines model for SimplePublicObjectInput.Properties.

func (SimplePublicObjectInput_Properties) Get

func (a SimplePublicObjectInput_Properties) Get(fieldName string) (value string, found bool)

Getter for additional properties for SimplePublicObjectInput_Properties. Returns the specified element and whether it was found

func (SimplePublicObjectInput_Properties) MarshalJSON

func (a SimplePublicObjectInput_Properties) MarshalJSON() ([]byte, error)

Override default JSON handling for SimplePublicObjectInput_Properties to handle AdditionalProperties

func (*SimplePublicObjectInput_Properties) Set

func (a *SimplePublicObjectInput_Properties) Set(fieldName string, value string)

Setter for additional properties for SimplePublicObjectInput_Properties

func (*SimplePublicObjectInput_Properties) UnmarshalJSON

func (a *SimplePublicObjectInput_Properties) UnmarshalJSON(b []byte) error

Override default JSON handling for SimplePublicObjectInput_Properties to handle AdditionalProperties

type SimplePublicObjectWithAssociations

type SimplePublicObjectWithAssociations struct {
	Archived     *bool                                            `json:"archived,omitempty"`
	ArchivedAt   *time.Time                                       `json:"archivedAt,omitempty"`
	Associations *SimplePublicObjectWithAssociations_Associations `json:"associations,omitempty"`
	CreatedAt    time.Time                                        `json:"createdAt"`
	Id           string                                           `json:"id"`
	Properties   SimplePublicObjectWithAssociations_Properties    `json:"properties"`
	UpdatedAt    time.Time                                        `json:"updatedAt"`
}

SimplePublicObjectWithAssociations defines model for SimplePublicObjectWithAssociations.

type SimplePublicObjectWithAssociations_Associations

type SimplePublicObjectWithAssociations_Associations struct {
	AdditionalProperties map[string]CollectionResponseAssociatedId `json:"-"`
}

SimplePublicObjectWithAssociations_Associations defines model for SimplePublicObjectWithAssociations.Associations.

func (SimplePublicObjectWithAssociations_Associations) Get

Getter for additional properties for SimplePublicObjectWithAssociations_Associations. Returns the specified element and whether it was found

func (SimplePublicObjectWithAssociations_Associations) MarshalJSON

Override default JSON handling for SimplePublicObjectWithAssociations_Associations to handle AdditionalProperties

func (*SimplePublicObjectWithAssociations_Associations) Set

Setter for additional properties for SimplePublicObjectWithAssociations_Associations

func (*SimplePublicObjectWithAssociations_Associations) UnmarshalJSON

Override default JSON handling for SimplePublicObjectWithAssociations_Associations to handle AdditionalProperties

type SimplePublicObjectWithAssociations_Properties

type SimplePublicObjectWithAssociations_Properties struct {
	AdditionalProperties map[string]string `json:"-"`
}

SimplePublicObjectWithAssociations_Properties defines model for SimplePublicObjectWithAssociations.Properties.

func (SimplePublicObjectWithAssociations_Properties) Get

func (a SimplePublicObjectWithAssociations_Properties) Get(fieldName string) (value string, found bool)

Getter for additional properties for SimplePublicObjectWithAssociations_Properties. Returns the specified element and whether it was found

func (SimplePublicObjectWithAssociations_Properties) MarshalJSON

Override default JSON handling for SimplePublicObjectWithAssociations_Properties to handle AdditionalProperties

func (*SimplePublicObjectWithAssociations_Properties) Set

Setter for additional properties for SimplePublicObjectWithAssociations_Properties

func (*SimplePublicObjectWithAssociations_Properties) UnmarshalJSON

Override default JSON handling for SimplePublicObjectWithAssociations_Properties to handle AdditionalProperties

type SimplePublicObject_Properties

type SimplePublicObject_Properties struct {
	AdditionalProperties map[string]string `json:"-"`
}

SimplePublicObject_Properties defines model for SimplePublicObject.Properties.

func (SimplePublicObject_Properties) Get

func (a SimplePublicObject_Properties) Get(fieldName string) (value string, found bool)

Getter for additional properties for SimplePublicObject_Properties. Returns the specified element and whether it was found

func (SimplePublicObject_Properties) MarshalJSON

func (a SimplePublicObject_Properties) MarshalJSON() ([]byte, error)

Override default JSON handling for SimplePublicObject_Properties to handle AdditionalProperties

func (*SimplePublicObject_Properties) Set

func (a *SimplePublicObject_Properties) Set(fieldName string, value string)

Setter for additional properties for SimplePublicObject_Properties

func (*SimplePublicObject_Properties) UnmarshalJSON

func (a *SimplePublicObject_Properties) UnmarshalJSON(b []byte) error

Override default JSON handling for SimplePublicObject_Properties to handle AdditionalProperties

type StandardError

type StandardError struct {
	Category    ErrorCategory           `json:"category"`
	Context     StandardError_Context   `json:"context"`
	Errors      []ErrorDetail           `json:"errors"`
	Id          *string                 `json:"id,omitempty"`
	Links       StandardError_Links     `json:"links"`
	Message     string                  `json:"message"`
	Status      string                  `json:"status"`
	SubCategory *map[string]interface{} `json:"subCategory,omitempty"`
}

StandardError defines model for StandardError.

type StandardError_Context

type StandardError_Context struct {
	AdditionalProperties map[string][]string `json:"-"`
}

StandardError_Context defines model for StandardError.Context.

func (StandardError_Context) Get

func (a StandardError_Context) Get(fieldName string) (value []string, found bool)

Getter for additional properties for StandardError_Context. Returns the specified element and whether it was found

func (StandardError_Context) MarshalJSON

func (a StandardError_Context) MarshalJSON() ([]byte, error)

Override default JSON handling for StandardError_Context to handle AdditionalProperties

func (*StandardError_Context) Set

func (a *StandardError_Context) Set(fieldName string, value []string)

Setter for additional properties for StandardError_Context

func (*StandardError_Context) UnmarshalJSON

func (a *StandardError_Context) UnmarshalJSON(b []byte) error

Override default JSON handling for StandardError_Context to handle AdditionalProperties

type StandardError_Links struct {
	AdditionalProperties map[string]string `json:"-"`
}

StandardError_Links defines model for StandardError.Links.

func (StandardError_Links) Get

func (a StandardError_Links) Get(fieldName string) (value string, found bool)

Getter for additional properties for StandardError_Links. Returns the specified element and whether it was found

func (StandardError_Links) MarshalJSON

func (a StandardError_Links) MarshalJSON() ([]byte, error)

Override default JSON handling for StandardError_Links to handle AdditionalProperties

func (*StandardError_Links) Set

func (a *StandardError_Links) Set(fieldName string, value string)

Setter for additional properties for StandardError_Links

func (*StandardError_Links) UnmarshalJSON

func (a *StandardError_Links) UnmarshalJSON(b []byte) error

Override default JSON handling for StandardError_Links to handle AdditionalProperties

type UpdateBatchJSONBody

type UpdateBatchJSONBody BatchInputSimplePublicObjectBatchInput

UpdateBatchJSONBody defines parameters for UpdateBatch.

type UpdateBatchJSONRequestBody

type UpdateBatchJSONRequestBody UpdateBatchJSONBody

UpdateBatchJSONRequestBody defines body for UpdateBatch for application/json ContentType.

type UpdateBatchResponse

type UpdateBatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BatchResponseSimplePublicObject
	JSON207      *BatchResponseSimplePublicObjectWithErrors
}

func (UpdateBatchResponse) Status

func (r UpdateBatchResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateBatchResponse) StatusCode

func (r UpdateBatchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTicketJSONBody

type UpdateTicketJSONBody SimplePublicObjectInput

UpdateTicketJSONBody defines parameters for UpdateTicket.

type UpdateTicketJSONRequestBody

type UpdateTicketJSONRequestBody UpdateTicketJSONBody

UpdateTicketJSONRequestBody defines body for UpdateTicket for application/json ContentType.

type UpdateTicketParams

type UpdateTicketParams struct {
	// The name of a property whose values are unique for this object type
	IdProperty *string `json:"idProperty,omitempty"`
}

UpdateTicketParams defines parameters for UpdateTicket.

type UpdateTicketResponse

type UpdateTicketResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SimplePublicObject
}

func (UpdateTicketResponse) Status

func (r UpdateTicketResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTicketResponse) StatusCode

func (r UpdateTicketResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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