2 ==================================================================================
3 Copyright (c) 2021 Samsung
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
17 This source code is part of the near-RT RIC (RAN Intelligent Controller)
18 platform project (RICP).
19 ==================================================================================
21 // Code generated by go-swagger; DO NOT EDIT.
25 // This file was generated by the swagger tool.
26 // Editing this file might prove futile when you re-run the swagger generate command
31 "github.com/go-openapi/runtime"
34 // A1ControllerGetHealthcheckOKCode is the HTTP code returned for type A1ControllerGetHealthcheckOK
35 const A1ControllerGetHealthcheckOKCode int = 200
37 /*A1ControllerGetHealthcheckOK A1 is healthy. Anything other than a 200 should be considered a1 as failing
40 swagger:response a1ControllerGetHealthcheckOK
42 type A1ControllerGetHealthcheckOK struct {
45 // NewA1ControllerGetHealthcheckOK creates A1ControllerGetHealthcheckOK with default headers values
46 func NewA1ControllerGetHealthcheckOK() *A1ControllerGetHealthcheckOK {
48 return &A1ControllerGetHealthcheckOK{}
51 // WriteResponse to the client
52 func (o *A1ControllerGetHealthcheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
54 rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses
59 // A1ControllerGetHealthcheckInternalServerErrorCode is the HTTP code returned for type A1ControllerGetHealthcheckInternalServerError
60 const A1ControllerGetHealthcheckInternalServerErrorCode int = 500
62 /*A1ControllerGetHealthcheckInternalServerError Internal error to signal A1 is not healthy. Client should attempt to retry later.
64 swagger:response a1ControllerGetHealthcheckInternalServerError
66 type A1ControllerGetHealthcheckInternalServerError struct {
69 // NewA1ControllerGetHealthcheckInternalServerError creates A1ControllerGetHealthcheckInternalServerError with default headers values
70 func NewA1ControllerGetHealthcheckInternalServerError() *A1ControllerGetHealthcheckInternalServerError {
72 return &A1ControllerGetHealthcheckInternalServerError{}
75 // WriteResponse to the client
76 func (o *A1ControllerGetHealthcheckInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) {
78 rw.Header().Del(runtime.HeaderContentType) //Remove Content-Type on empty responses