Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomDataType ¶
type CustomDataType struct { // VendorId corresponds to the JSON schema field "vendorId". VendorId string `json:"vendorId" yaml:"vendorId"` }
This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.
func (*CustomDataType) UnmarshalJSON ¶
func (j *CustomDataType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type StatusInfoType ¶
type StatusInfoType struct { // Additional text to provide detailed information. // AdditionalInfo *string `json:"additionalInfo,omitempty" yaml:"additionalInfo,omitempty"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // A predefined code for the reason why the status is returned in this response. // The string is case-insensitive. // ReasonCode string `json:"reasonCode" yaml:"reasonCode"` }
Element providing more information about the status.
func (*StatusInfoType) UnmarshalJSON ¶
func (j *StatusInfoType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type UpdateFirmwareResponseJson ¶
type UpdateFirmwareResponseJson struct { // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // Status corresponds to the JSON schema field "status". Status UpdateFirmwareStatusEnumType_1 `json:"status" yaml:"status"` // StatusInfo corresponds to the JSON schema field "statusInfo". StatusInfo *StatusInfoType `json:"statusInfo,omitempty" yaml:"statusInfo,omitempty"` }
func (*UpdateFirmwareResponseJson) UnmarshalJSON ¶
func (j *UpdateFirmwareResponseJson) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type UpdateFirmwareStatusEnumType ¶
type UpdateFirmwareStatusEnumType string
const UpdateFirmwareStatusEnumTypeAccepted UpdateFirmwareStatusEnumType = "Accepted"
const UpdateFirmwareStatusEnumTypeAcceptedCanceled UpdateFirmwareStatusEnumType = "AcceptedCanceled"
const UpdateFirmwareStatusEnumTypeInvalidCertificate UpdateFirmwareStatusEnumType = "InvalidCertificate"
const UpdateFirmwareStatusEnumTypeRejected UpdateFirmwareStatusEnumType = "Rejected"
const UpdateFirmwareStatusEnumTypeRevokedCertificate UpdateFirmwareStatusEnumType = "RevokedCertificate"
func (*UpdateFirmwareStatusEnumType) UnmarshalJSON ¶
func (j *UpdateFirmwareStatusEnumType) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
type UpdateFirmwareStatusEnumType_1 ¶
type UpdateFirmwareStatusEnumType_1 string
const UpdateFirmwareStatusEnumType_1_Accepted UpdateFirmwareStatusEnumType_1 = "Accepted"
const UpdateFirmwareStatusEnumType_1_AcceptedCanceled UpdateFirmwareStatusEnumType_1 = "AcceptedCanceled"
const UpdateFirmwareStatusEnumType_1_InvalidCertificate UpdateFirmwareStatusEnumType_1 = "InvalidCertificate"
const UpdateFirmwareStatusEnumType_1_Rejected UpdateFirmwareStatusEnumType_1 = "Rejected"
const UpdateFirmwareStatusEnumType_1_RevokedCertificate UpdateFirmwareStatusEnumType_1 = "RevokedCertificate"
func (*UpdateFirmwareStatusEnumType_1) UnmarshalJSON ¶
func (j *UpdateFirmwareStatusEnumType_1) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.