X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fclientmodel%2Faction_definition.go;h=f69c1f48f90805a16b5acbd4cb5b758b3a080f3b;hb=35809ed11f20cf5a04fa6250d00e4781d72189bb;hp=54ca9d22c3019cc8cb2d1ddd56fff4ebebe60d91;hpb=3602bf801fef17e317cb35a4c710118ec80908b9;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/clientmodel/action_definition.go b/pkg/clientmodel/action_definition.go index 54ca9d2..f69c1f4 100644 --- a/pkg/clientmodel/action_definition.go +++ b/pkg/clientmodel/action_definition.go @@ -6,38 +6,15 @@ package clientmodel // Editing this file might prove futile when you re-run the swagger generate command import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" + "github.com/go-openapi/strfmt" ) -// ActionDefinition E2SM Octet string. ActionDefinition is an OPTIONAL IE +// ActionDefinition E2SM byte array. ActionDefinition is an OPTIONAL IE +// // swagger:model ActionDefinition -type ActionDefinition struct { - - // octet string - OctetString string `json:"OctetString,omitempty"` -} +type ActionDefinition []int64 // Validate validates this action definition -func (m *ActionDefinition) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *ActionDefinition) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *ActionDefinition) UnmarshalBinary(b []byte) error { - var res ActionDefinition - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res +func (m ActionDefinition) Validate(formats strfmt.Registry) error { return nil }