1 // Code generated by go-swagger; DO NOT EDIT.
5 // This file was generated by the swagger tool.
6 // Editing this file might prove futile when you re-run the swagger generate command
11 "github.com/go-openapi/runtime"
13 models "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/models"
16 // GetXappConfigListOKCode is the HTTP code returned for type GetXappConfigListOK
17 const GetXappConfigListOKCode int = 200
19 /*GetXappConfigListOK successful query of xApp config
21 swagger:response getXappConfigListOK
23 type GetXappConfigListOK struct {
28 Payload models.XappConfigList `json:"body,omitempty"`
31 // NewGetXappConfigListOK creates GetXappConfigListOK with default headers values
32 func NewGetXappConfigListOK() *GetXappConfigListOK {
34 return &GetXappConfigListOK{}
37 // WithPayload adds the payload to the get xapp config list o k response
38 func (o *GetXappConfigListOK) WithPayload(payload models.XappConfigList) *GetXappConfigListOK {
43 // SetPayload sets the payload to the get xapp config list o k response
44 func (o *GetXappConfigListOK) SetPayload(payload models.XappConfigList) {
48 // WriteResponse to the client
49 func (o *GetXappConfigListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
55 payload = models.XappConfigList{}
58 if err := producer.Produce(rw, payload); err != nil {
59 panic(err) // let the recovery middleware deal with this
63 // GetXappConfigListInternalServerErrorCode is the HTTP code returned for type GetXappConfigListInternalServerError
64 const GetXappConfigListInternalServerErrorCode int = 500
66 /*GetXappConfigListInternalServerError Internal error
68 swagger:response getXappConfigListInternalServerError
70 type GetXappConfigListInternalServerError struct {
73 // NewGetXappConfigListInternalServerError creates GetXappConfigListInternalServerError with default headers values
74 func NewGetXappConfigListInternalServerError() *GetXappConfigListInternalServerError {
76 return &GetXappConfigListInternalServerError{}
79 // WriteResponse to the client
80 func (o *GetXappConfigListInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
82 rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses