X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fclientmodel%2Faction_definition.go;h=f69c1f48f90805a16b5acbd4cb5b758b3a080f3b;hb=HEAD;hp=71851c2ab0bc9938470185a8c43e1b457295dc67;hpb=c79bd0e1a4fe855b06c8f8131f162d0ee4a5f9f5;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/clientmodel/action_definition.go b/pkg/clientmodel/action_definition.go index 71851c2..f69c1f4 100644 --- a/pkg/clientmodel/action_definition.go +++ b/pkg/clientmodel/action_definition.go @@ -7,37 +7,14 @@ package clientmodel import ( "github.com/go-openapi/strfmt" - "github.com/go-openapi/swag" ) -// 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 }