Documentation
¶
Index ¶
- func GetFindResponseWithCode(code pdpcodes.FindPDPCode, errArgs ...interface{}) *findV2.Response
- func GetResponseWithCode(code pdpcodes.SudirPDPCode, errArgs ...interface{}) *sudirV2.ResponseType
- func GetResponseWithError(err error) *sudirV2.ResponseType
- type BatchConvertPdpRequest
- type DeletedObject
- type DeltaInfo
- type PayloadResponse
- type PdpDelta
- type PdpNotification
- type PdpNotificationMessage
- type PdpUpsertRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFindResponseWithCode ¶
func GetFindResponseWithCode(code pdpcodes.FindPDPCode, errArgs ...interface{}) *findV2.Response
func GetResponseWithCode ¶
func GetResponseWithCode(code pdpcodes.SudirPDPCode, errArgs ...interface{}) *sudirV2.ResponseType
func GetResponseWithError ¶
func GetResponseWithError(err error) *sudirV2.ResponseType
Types ¶
type BatchConvertPdpRequest ¶ added in v1.13.0
type BatchConvertPdpRequest struct {
*structure.ConvertRequestPayload `valid:"required~Required"`
*structure.AbstractConvertBatchRequest
Delta PdpDelta
}
type DeletedObject ¶ added in v1.13.0
DeletedObject e.q.
{
Id: "62D1FA909140BABC0C10DA90A13B041E30",
DeleteFlag: "VehicleDelete",
ObjectGroup: "VEHICLE",
}
type DeltaInfo ¶ added in v1.13.0
type DeltaInfo struct {
AttributeDeltaData map[string]map[string]interface{}
ObjectDeltaData map[string]map[string]map[string]interface{}
}
DeltaInfo e.q.
{
AttributeDeltaData: {
"FIO": {
"MIDNAME": "IVANOVICH",
"SURNAME": "",
}
}
ObjectDeltaData: {
"VEHICLES": {
"1234567890_1": {
"VEHICLE_DESC": "TEST VEH 1"
},
"1234567890_2": {
"VEHICLE_DESC": ""
}
}
}
}
type PayloadResponse ¶
type PayloadResponse struct {
ConvertRequest *structure.ConvertRequestPayload
Error *pdpcodes.PdpError
}
type PdpDelta ¶ added in v1.13.0
type PdpDelta struct {
DeltaInfo DeltaInfo
DeletedObjects []DeletedObject
}
type PdpNotification ¶ added in v1.13.0
type PdpNotification struct {
entity.Notification
PdpDelta PdpDelta
}
type PdpNotificationMessage ¶ added in v1.13.0
type PdpNotificationMessage struct {
Notifications []PdpNotification
}
type PdpUpsertRequest ¶
type PdpUpsertRequest struct {
structure.SudirUpdateRecordRequest
UpdateMethod pdp.HandleMethod
}
Click to show internal directories.
Click to hide internal directories.