// Code generated by go-swagger; DO NOT EDIT. package models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" ) // CommonECCKeys common e c c keys // // swagger:model common.ECCKeys type CommonECCKeys struct { // ecu Ecu string `json:"ecu,omitempty"` // env Env string `json:"env,omitempty"` // level 1 // Example: 407f59557fb64ae98bc30b5370fab138f4827e14784d79bcf707dbe35ba2b85d Level1 string `json:"level_1,omitempty"` // level 2 // Example: 407f59557fb64ae98bc30b5370fab138f4827e14784d79bcf707dbe35ba2b85d Level2 string `json:"level_2,omitempty"` // level 3 // Example: 407f59557fb64ae98bc30b5370fab138f4827e14784d79bcf707dbe35ba2b85d Level3 string `json:"level_3,omitempty"` // pub key level 1 // Example: 9a1a6949d7f8a511df6e2e2771e444dbd6de97e7d98bdecbb5adc4b8965ce3bef353f523dbea123d7882dc043d415cda02810bad1b6f1b8c6202234a424b7d5b PubKeyLevel1 string `json:"pub_key_level_1,omitempty"` // pub key level 2 // Example: 9a1a6949d7f8a511df6e2e2771e444dbd6de97e7d98bdecbb5adc4b8965ce3bef353f523dbea123d7882dc043d415cda02810bad1b6f1b8c6202234a424b7d5b PubKeyLevel2 string `json:"pub_key_level_2,omitempty"` // pub key level 3 // Example: 9a1a6949d7f8a511df6e2e2771e444dbd6de97e7d98bdecbb5adc4b8965ce3bef353f523dbea123d7882dc043d415cda02810bad1b6f1b8c6202234a424b7d5b PubKeyLevel3 string `json:"pub_key_level_3,omitempty"` } // Validate validates this common e c c keys func (m *CommonECCKeys) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this common e c c keys based on context it is used func (m *CommonECCKeys) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *CommonECCKeys) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *CommonECCKeys) UnmarshalBinary(b []byte) error { var res CommonECCKeys if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil }