Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ParameterLocations = struct { Path ParameterLocation PayloadBody ParameterLocation Query ParameterLocation }{ Path: ParameterLocation("PATH"), PayloadBody: ParameterLocation("PAYLOAD_BODY"), Query: ParameterLocation("QUERY"), }
Functions ¶
This section is empty.
Types ¶
type ConstraintViolation ¶
type ConstraintViolation struct { ParmeterLocation *ParameterLocation `json:"parameterLocation,omitempty"` Location *string `json:"location,omitempty"` Message *string `json:"message,omitempty"` Path *string `json:"path,omitempty"` }
type Error ¶
type Error struct { ConstraintViolations []*ConstraintViolation `json:"constraintViolations,omitempty"` // A list of constraint violations Message string `json:"message,omitempty"` // The error message Code int32 `json:"code,omitempty"` // The HTTP status code }
type ParameterLocation ¶
type ParameterLocation string
type SettingsObjectCreate ¶
type SettingsObjectErrorResponse ¶
type SettingsObjectErrorResponse struct { InvalidValue map[string]any `json:"invalidValue,omitempty"` // The value of the setting. \n\n It defines the actual values of settings' parameters. \n\nThe actual content depends on the object's schema. Error *Error `json:"error,omitempty"` // Error details Code *int32 `json:"code,omitempty"` // The HTTP status code for the object }
type SettingsObjectList ¶
type SettingsObjectList struct {
Items []*SettingsObjectListItem `json:"items"`
}
type SettingsObjectListItem ¶
type SettingsObjectListItem struct {
ObjectID string `json:"objectId"`
}
type SettingsObjectResponse ¶
type SettingsObjectUpdate ¶
Click to show internal directories.
Click to hide internal directories.