soap

package
Version: v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalInformationMap

type AdditionalInformationMap struct {
	Name  string `xml:"name,omitempty"`
	Value string `xml:"value,omitempty"`
}

type Error

type Error struct {
	ExtendedErrorDetails []ExtendedErrorDetails `xml:"extendedErrorDetails,omitempty"`
	Fields               []string               `xml:"fields,omitempty"`
	Message              string                 `xml:"message,omitempty"`
	StatusCode           StatusCode             `xml:"statusCode,omitempty"`
}

type ExtendedErrorCode

type ExtendedErrorCode string

type ExtendedErrorDetails

type ExtendedErrorDetails struct {
	ExtendedErrorCode ExtendedErrorCode `xml:"extendedErrorCode,omitempty"`
	Items             []string          `xml:",any"`
}

type ID

type ID string

type Merge

type Merge struct {
	XMLName xml.Name        `xml:"urn:partner.soap.sforce.com merge"`
	Request []*MergeRequest `xml:"request,omitempty"`
}

type MergeRequest

type MergeRequest struct {
	XMLName                  xml.Name                    `xml:"request"`
	AdditionalInformationMap []*AdditionalInformationMap `xml:"additionalInformationMap,omitempty"`
	MasterRecord             *SObject                    `xml:"masterRecord,omitempty"`
	RecordToMergeIds         []*ID                       `xml:"recordToMergeIds,omitempty"`
}

type MergeResponse

type MergeResponse struct {
	Result []MergeResult `xml:"Body>mergeResponse>result"`
}

type MergeResult

type MergeResult struct {
	Errors            []Error `xml:"errors,omitempty"`
	Id                ID      `xml:"id,omitempty"`
	MergedRecordIds   []ID    `xml:"mergedRecordIds,omitempty"`
	Success           bool    `xml:"success,omitempty"`
	UpdatedRelatedIds []ID    `xml:"updatedRelatedIds,omitempty"`
}

type SObject

type SObject struct {
	Type_        string   `xml:"type,omitempty"`
	FieldsToNull []string `xml:"fieldsToNull,omitempty"`
	Id           *ID      `xml:"Id,omitempty"`
	Items        []string `xml:",any"`
}

type StatusCode

type StatusCode string

type UndeleteResponse

type UndeleteResponse struct {
	Result []UndeleteResult `xml:"Body>undeleteResponse>result"`
}

type UndeleteResult

type UndeleteResult struct {
	Errors  []Error `xml:"errors,omitempty"`
	Id      ID      `xml:"id,omitempty"`
	Success bool    `xml:"success,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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