mirror of
https://github.com/openziti/zrok.git
synced 2024-11-21 23:53:19 +01:00
added 'uniqueName' to the share request in the api spec (#123)
This commit is contained in:
parent
bfa1c39b4c
commit
ead350b442
@ -48,7 +48,7 @@ func (o *InviteReader) ReadResponse(response runtime.ClientResponse, consumer ru
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /invite] invite", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,6 +90,11 @@ func (o *InviteCreated) IsCode(code int) bool {
|
|||||||
return code == 201
|
return code == 201
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the invite created response
|
||||||
|
func (o *InviteCreated) Code() int {
|
||||||
|
return 201
|
||||||
|
}
|
||||||
|
|
||||||
func (o *InviteCreated) Error() string {
|
func (o *InviteCreated) Error() string {
|
||||||
return fmt.Sprintf("[POST /invite][%d] inviteCreated ", 201)
|
return fmt.Sprintf("[POST /invite][%d] inviteCreated ", 201)
|
||||||
}
|
}
|
||||||
@ -142,6 +147,11 @@ func (o *InviteBadRequest) IsCode(code int) bool {
|
|||||||
return code == 400
|
return code == 400
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the invite bad request response
|
||||||
|
func (o *InviteBadRequest) Code() int {
|
||||||
|
return 400
|
||||||
|
}
|
||||||
|
|
||||||
func (o *InviteBadRequest) Error() string {
|
func (o *InviteBadRequest) Error() string {
|
||||||
return fmt.Sprintf("[POST /invite][%d] inviteBadRequest %+v", 400, o.Payload)
|
return fmt.Sprintf("[POST /invite][%d] inviteBadRequest %+v", 400, o.Payload)
|
||||||
}
|
}
|
||||||
@ -202,6 +212,11 @@ func (o *InviteUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the invite unauthorized response
|
||||||
|
func (o *InviteUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *InviteUnauthorized) Error() string {
|
func (o *InviteUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[POST /invite][%d] inviteUnauthorized ", 401)
|
return fmt.Sprintf("[POST /invite][%d] inviteUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -253,6 +268,11 @@ func (o *InviteInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the invite internal server error response
|
||||||
|
func (o *InviteInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *InviteInternalServerError) Error() string {
|
func (o *InviteInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /invite][%d] inviteInternalServerError ", 500)
|
return fmt.Sprintf("[POST /invite][%d] inviteInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ func (o *LoginReader) ReadResponse(response runtime.ClientResponse, consumer run
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /login] login", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,6 +79,11 @@ func (o *LoginOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the login o k response
|
||||||
|
func (o *LoginOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *LoginOK) Error() string {
|
func (o *LoginOK) Error() string {
|
||||||
return fmt.Sprintf("[POST /login][%d] loginOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[POST /login][%d] loginOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -139,6 +144,11 @@ func (o *LoginUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the login unauthorized response
|
||||||
|
func (o *LoginUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *LoginUnauthorized) Error() string {
|
func (o *LoginUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[POST /login][%d] loginUnauthorized ", 401)
|
return fmt.Sprintf("[POST /login][%d] loginUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *RegisterReader) ReadResponse(response runtime.ClientResponse, consumer
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /register] register", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +91,11 @@ func (o *RegisterOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the register o k response
|
||||||
|
func (o *RegisterOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *RegisterOK) Error() string {
|
func (o *RegisterOK) Error() string {
|
||||||
return fmt.Sprintf("[POST /register][%d] registerOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[POST /register][%d] registerOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -153,6 +158,11 @@ func (o *RegisterNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the register not found response
|
||||||
|
func (o *RegisterNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *RegisterNotFound) Error() string {
|
func (o *RegisterNotFound) Error() string {
|
||||||
return fmt.Sprintf("[POST /register][%d] registerNotFound ", 404)
|
return fmt.Sprintf("[POST /register][%d] registerNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -205,6 +215,11 @@ func (o *RegisterUnprocessableEntity) IsCode(code int) bool {
|
|||||||
return code == 422
|
return code == 422
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the register unprocessable entity response
|
||||||
|
func (o *RegisterUnprocessableEntity) Code() int {
|
||||||
|
return 422
|
||||||
|
}
|
||||||
|
|
||||||
func (o *RegisterUnprocessableEntity) Error() string {
|
func (o *RegisterUnprocessableEntity) Error() string {
|
||||||
return fmt.Sprintf("[POST /register][%d] registerUnprocessableEntity %+v", 422, o.Payload)
|
return fmt.Sprintf("[POST /register][%d] registerUnprocessableEntity %+v", 422, o.Payload)
|
||||||
}
|
}
|
||||||
@ -265,6 +280,11 @@ func (o *RegisterInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the register internal server error response
|
||||||
|
func (o *RegisterInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *RegisterInternalServerError) Error() string {
|
func (o *RegisterInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /register][%d] registerInternalServerError ", 500)
|
return fmt.Sprintf("[POST /register][%d] registerInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ func (o *ResetPasswordRequestReader) ReadResponse(response runtime.ClientRespons
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /resetPasswordRequest] resetPasswordRequest", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -83,6 +83,11 @@ func (o *ResetPasswordRequestCreated) IsCode(code int) bool {
|
|||||||
return code == 201
|
return code == 201
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the reset password request created response
|
||||||
|
func (o *ResetPasswordRequestCreated) Code() int {
|
||||||
|
return 201
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ResetPasswordRequestCreated) Error() string {
|
func (o *ResetPasswordRequestCreated) Error() string {
|
||||||
return fmt.Sprintf("[POST /resetPasswordRequest][%d] resetPasswordRequestCreated ", 201)
|
return fmt.Sprintf("[POST /resetPasswordRequest][%d] resetPasswordRequestCreated ", 201)
|
||||||
}
|
}
|
||||||
@ -134,6 +139,11 @@ func (o *ResetPasswordRequestBadRequest) IsCode(code int) bool {
|
|||||||
return code == 400
|
return code == 400
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the reset password request bad request response
|
||||||
|
func (o *ResetPasswordRequestBadRequest) Code() int {
|
||||||
|
return 400
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ResetPasswordRequestBadRequest) Error() string {
|
func (o *ResetPasswordRequestBadRequest) Error() string {
|
||||||
return fmt.Sprintf("[POST /resetPasswordRequest][%d] resetPasswordRequestBadRequest ", 400)
|
return fmt.Sprintf("[POST /resetPasswordRequest][%d] resetPasswordRequestBadRequest ", 400)
|
||||||
}
|
}
|
||||||
@ -185,6 +195,11 @@ func (o *ResetPasswordRequestInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the reset password request internal server error response
|
||||||
|
func (o *ResetPasswordRequestInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ResetPasswordRequestInternalServerError) Error() string {
|
func (o *ResetPasswordRequestInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /resetPasswordRequest][%d] resetPasswordRequestInternalServerError ", 500)
|
return fmt.Sprintf("[POST /resetPasswordRequest][%d] resetPasswordRequestInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *ResetPasswordReader) ReadResponse(response runtime.ClientResponse, cons
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /resetPassword] resetPassword", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,6 +90,11 @@ func (o *ResetPasswordOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the reset password o k response
|
||||||
|
func (o *ResetPasswordOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ResetPasswordOK) Error() string {
|
func (o *ResetPasswordOK) Error() string {
|
||||||
return fmt.Sprintf("[POST /resetPassword][%d] resetPasswordOK ", 200)
|
return fmt.Sprintf("[POST /resetPassword][%d] resetPasswordOK ", 200)
|
||||||
}
|
}
|
||||||
@ -141,6 +146,11 @@ func (o *ResetPasswordNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the reset password not found response
|
||||||
|
func (o *ResetPasswordNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ResetPasswordNotFound) Error() string {
|
func (o *ResetPasswordNotFound) Error() string {
|
||||||
return fmt.Sprintf("[POST /resetPassword][%d] resetPasswordNotFound ", 404)
|
return fmt.Sprintf("[POST /resetPassword][%d] resetPasswordNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -193,6 +203,11 @@ func (o *ResetPasswordUnprocessableEntity) IsCode(code int) bool {
|
|||||||
return code == 422
|
return code == 422
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the reset password unprocessable entity response
|
||||||
|
func (o *ResetPasswordUnprocessableEntity) Code() int {
|
||||||
|
return 422
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ResetPasswordUnprocessableEntity) Error() string {
|
func (o *ResetPasswordUnprocessableEntity) Error() string {
|
||||||
return fmt.Sprintf("[POST /resetPassword][%d] resetPasswordUnprocessableEntity %+v", 422, o.Payload)
|
return fmt.Sprintf("[POST /resetPassword][%d] resetPasswordUnprocessableEntity %+v", 422, o.Payload)
|
||||||
}
|
}
|
||||||
@ -253,6 +268,11 @@ func (o *ResetPasswordInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the reset password internal server error response
|
||||||
|
func (o *ResetPasswordInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ResetPasswordInternalServerError) Error() string {
|
func (o *ResetPasswordInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /resetPassword][%d] resetPasswordInternalServerError ", 500)
|
return fmt.Sprintf("[POST /resetPassword][%d] resetPasswordInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ func (o *VerifyReader) ReadResponse(response runtime.ClientResponse, consumer ru
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /verify] verify", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,6 +85,11 @@ func (o *VerifyOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the verify o k response
|
||||||
|
func (o *VerifyOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *VerifyOK) Error() string {
|
func (o *VerifyOK) Error() string {
|
||||||
return fmt.Sprintf("[POST /verify][%d] verifyOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[POST /verify][%d] verifyOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -147,6 +152,11 @@ func (o *VerifyNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the verify not found response
|
||||||
|
func (o *VerifyNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *VerifyNotFound) Error() string {
|
func (o *VerifyNotFound) Error() string {
|
||||||
return fmt.Sprintf("[POST /verify][%d] verifyNotFound ", 404)
|
return fmt.Sprintf("[POST /verify][%d] verifyNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -198,6 +208,11 @@ func (o *VerifyInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the verify internal server error response
|
||||||
|
func (o *VerifyInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *VerifyInternalServerError) Error() string {
|
func (o *VerifyInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /verify][%d] verifyInternalServerError ", 500)
|
return fmt.Sprintf("[POST /verify][%d] verifyInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ func (o *CreateFrontendReader) ReadResponse(response runtime.ClientResponse, con
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /frontend] createFrontend", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -97,6 +97,11 @@ func (o *CreateFrontendCreated) IsCode(code int) bool {
|
|||||||
return code == 201
|
return code == 201
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the create frontend created response
|
||||||
|
func (o *CreateFrontendCreated) Code() int {
|
||||||
|
return 201
|
||||||
|
}
|
||||||
|
|
||||||
func (o *CreateFrontendCreated) Error() string {
|
func (o *CreateFrontendCreated) Error() string {
|
||||||
return fmt.Sprintf("[POST /frontend][%d] createFrontendCreated %+v", 201, o.Payload)
|
return fmt.Sprintf("[POST /frontend][%d] createFrontendCreated %+v", 201, o.Payload)
|
||||||
}
|
}
|
||||||
@ -159,6 +164,11 @@ func (o *CreateFrontendBadRequest) IsCode(code int) bool {
|
|||||||
return code == 400
|
return code == 400
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the create frontend bad request response
|
||||||
|
func (o *CreateFrontendBadRequest) Code() int {
|
||||||
|
return 400
|
||||||
|
}
|
||||||
|
|
||||||
func (o *CreateFrontendBadRequest) Error() string {
|
func (o *CreateFrontendBadRequest) Error() string {
|
||||||
return fmt.Sprintf("[POST /frontend][%d] createFrontendBadRequest ", 400)
|
return fmt.Sprintf("[POST /frontend][%d] createFrontendBadRequest ", 400)
|
||||||
}
|
}
|
||||||
@ -210,6 +220,11 @@ func (o *CreateFrontendUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the create frontend unauthorized response
|
||||||
|
func (o *CreateFrontendUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *CreateFrontendUnauthorized) Error() string {
|
func (o *CreateFrontendUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[POST /frontend][%d] createFrontendUnauthorized ", 401)
|
return fmt.Sprintf("[POST /frontend][%d] createFrontendUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -261,6 +276,11 @@ func (o *CreateFrontendNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the create frontend not found response
|
||||||
|
func (o *CreateFrontendNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *CreateFrontendNotFound) Error() string {
|
func (o *CreateFrontendNotFound) Error() string {
|
||||||
return fmt.Sprintf("[POST /frontend][%d] createFrontendNotFound ", 404)
|
return fmt.Sprintf("[POST /frontend][%d] createFrontendNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -312,6 +332,11 @@ func (o *CreateFrontendInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the create frontend internal server error response
|
||||||
|
func (o *CreateFrontendInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *CreateFrontendInternalServerError) Error() string {
|
func (o *CreateFrontendInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /frontend][%d] createFrontendInternalServerError ", 500)
|
return fmt.Sprintf("[POST /frontend][%d] createFrontendInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ func (o *CreateIdentityReader) ReadResponse(response runtime.ClientResponse, con
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /identity] createIdentity", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,6 +85,11 @@ func (o *CreateIdentityCreated) IsCode(code int) bool {
|
|||||||
return code == 201
|
return code == 201
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the create identity created response
|
||||||
|
func (o *CreateIdentityCreated) Code() int {
|
||||||
|
return 201
|
||||||
|
}
|
||||||
|
|
||||||
func (o *CreateIdentityCreated) Error() string {
|
func (o *CreateIdentityCreated) Error() string {
|
||||||
return fmt.Sprintf("[POST /identity][%d] createIdentityCreated %+v", 201, o.Payload)
|
return fmt.Sprintf("[POST /identity][%d] createIdentityCreated %+v", 201, o.Payload)
|
||||||
}
|
}
|
||||||
@ -147,6 +152,11 @@ func (o *CreateIdentityUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the create identity unauthorized response
|
||||||
|
func (o *CreateIdentityUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *CreateIdentityUnauthorized) Error() string {
|
func (o *CreateIdentityUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[POST /identity][%d] createIdentityUnauthorized ", 401)
|
return fmt.Sprintf("[POST /identity][%d] createIdentityUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -198,6 +208,11 @@ func (o *CreateIdentityInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the create identity internal server error response
|
||||||
|
func (o *CreateIdentityInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *CreateIdentityInternalServerError) Error() string {
|
func (o *CreateIdentityInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /identity][%d] createIdentityInternalServerError ", 500)
|
return fmt.Sprintf("[POST /identity][%d] createIdentityInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ func (o *DeleteFrontendReader) ReadResponse(response runtime.ClientResponse, con
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[DELETE /frontend] deleteFrontend", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,6 +87,11 @@ func (o *DeleteFrontendOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the delete frontend o k response
|
||||||
|
func (o *DeleteFrontendOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *DeleteFrontendOK) Error() string {
|
func (o *DeleteFrontendOK) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /frontend][%d] deleteFrontendOK ", 200)
|
return fmt.Sprintf("[DELETE /frontend][%d] deleteFrontendOK ", 200)
|
||||||
}
|
}
|
||||||
@ -138,6 +143,11 @@ func (o *DeleteFrontendUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the delete frontend unauthorized response
|
||||||
|
func (o *DeleteFrontendUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *DeleteFrontendUnauthorized) Error() string {
|
func (o *DeleteFrontendUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /frontend][%d] deleteFrontendUnauthorized ", 401)
|
return fmt.Sprintf("[DELETE /frontend][%d] deleteFrontendUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -189,6 +199,11 @@ func (o *DeleteFrontendNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the delete frontend not found response
|
||||||
|
func (o *DeleteFrontendNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *DeleteFrontendNotFound) Error() string {
|
func (o *DeleteFrontendNotFound) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /frontend][%d] deleteFrontendNotFound ", 404)
|
return fmt.Sprintf("[DELETE /frontend][%d] deleteFrontendNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -240,6 +255,11 @@ func (o *DeleteFrontendInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the delete frontend internal server error response
|
||||||
|
func (o *DeleteFrontendInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *DeleteFrontendInternalServerError) Error() string {
|
func (o *DeleteFrontendInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /frontend][%d] deleteFrontendInternalServerError ", 500)
|
return fmt.Sprintf("[DELETE /frontend][%d] deleteFrontendInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ func (o *InviteTokenGenerateReader) ReadResponse(response runtime.ClientResponse
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /invite/token/generate] inviteTokenGenerate", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,6 +87,11 @@ func (o *InviteTokenGenerateCreated) IsCode(code int) bool {
|
|||||||
return code == 201
|
return code == 201
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the invite token generate created response
|
||||||
|
func (o *InviteTokenGenerateCreated) Code() int {
|
||||||
|
return 201
|
||||||
|
}
|
||||||
|
|
||||||
func (o *InviteTokenGenerateCreated) Error() string {
|
func (o *InviteTokenGenerateCreated) Error() string {
|
||||||
return fmt.Sprintf("[POST /invite/token/generate][%d] inviteTokenGenerateCreated ", 201)
|
return fmt.Sprintf("[POST /invite/token/generate][%d] inviteTokenGenerateCreated ", 201)
|
||||||
}
|
}
|
||||||
@ -138,6 +143,11 @@ func (o *InviteTokenGenerateBadRequest) IsCode(code int) bool {
|
|||||||
return code == 400
|
return code == 400
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the invite token generate bad request response
|
||||||
|
func (o *InviteTokenGenerateBadRequest) Code() int {
|
||||||
|
return 400
|
||||||
|
}
|
||||||
|
|
||||||
func (o *InviteTokenGenerateBadRequest) Error() string {
|
func (o *InviteTokenGenerateBadRequest) Error() string {
|
||||||
return fmt.Sprintf("[POST /invite/token/generate][%d] inviteTokenGenerateBadRequest ", 400)
|
return fmt.Sprintf("[POST /invite/token/generate][%d] inviteTokenGenerateBadRequest ", 400)
|
||||||
}
|
}
|
||||||
@ -189,6 +199,11 @@ func (o *InviteTokenGenerateUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the invite token generate unauthorized response
|
||||||
|
func (o *InviteTokenGenerateUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *InviteTokenGenerateUnauthorized) Error() string {
|
func (o *InviteTokenGenerateUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[POST /invite/token/generate][%d] inviteTokenGenerateUnauthorized ", 401)
|
return fmt.Sprintf("[POST /invite/token/generate][%d] inviteTokenGenerateUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -240,6 +255,11 @@ func (o *InviteTokenGenerateInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the invite token generate internal server error response
|
||||||
|
func (o *InviteTokenGenerateInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *InviteTokenGenerateInternalServerError) Error() string {
|
func (o *InviteTokenGenerateInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /invite/token/generate][%d] inviteTokenGenerateInternalServerError ", 500)
|
return fmt.Sprintf("[POST /invite/token/generate][%d] inviteTokenGenerateInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ func (o *ListFrontendsReader) ReadResponse(response runtime.ClientResponse, cons
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /frontends] listFrontends", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,6 +85,11 @@ func (o *ListFrontendsOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the list frontends o k response
|
||||||
|
func (o *ListFrontendsOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ListFrontendsOK) Error() string {
|
func (o *ListFrontendsOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /frontends][%d] listFrontendsOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /frontends][%d] listFrontendsOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -145,6 +150,11 @@ func (o *ListFrontendsUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the list frontends unauthorized response
|
||||||
|
func (o *ListFrontendsUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ListFrontendsUnauthorized) Error() string {
|
func (o *ListFrontendsUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[GET /frontends][%d] listFrontendsUnauthorized ", 401)
|
return fmt.Sprintf("[GET /frontends][%d] listFrontendsUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -196,6 +206,11 @@ func (o *ListFrontendsInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the list frontends internal server error response
|
||||||
|
func (o *ListFrontendsInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ListFrontendsInternalServerError) Error() string {
|
func (o *ListFrontendsInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[GET /frontends][%d] listFrontendsInternalServerError ", 500)
|
return fmt.Sprintf("[GET /frontends][%d] listFrontendsInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ func (o *UpdateFrontendReader) ReadResponse(response runtime.ClientResponse, con
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[PATCH /frontend] updateFrontend", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,6 +87,11 @@ func (o *UpdateFrontendOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the update frontend o k response
|
||||||
|
func (o *UpdateFrontendOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UpdateFrontendOK) Error() string {
|
func (o *UpdateFrontendOK) Error() string {
|
||||||
return fmt.Sprintf("[PATCH /frontend][%d] updateFrontendOK ", 200)
|
return fmt.Sprintf("[PATCH /frontend][%d] updateFrontendOK ", 200)
|
||||||
}
|
}
|
||||||
@ -138,6 +143,11 @@ func (o *UpdateFrontendUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the update frontend unauthorized response
|
||||||
|
func (o *UpdateFrontendUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UpdateFrontendUnauthorized) Error() string {
|
func (o *UpdateFrontendUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[PATCH /frontend][%d] updateFrontendUnauthorized ", 401)
|
return fmt.Sprintf("[PATCH /frontend][%d] updateFrontendUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -189,6 +199,11 @@ func (o *UpdateFrontendNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the update frontend not found response
|
||||||
|
func (o *UpdateFrontendNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UpdateFrontendNotFound) Error() string {
|
func (o *UpdateFrontendNotFound) Error() string {
|
||||||
return fmt.Sprintf("[PATCH /frontend][%d] updateFrontendNotFound ", 404)
|
return fmt.Sprintf("[PATCH /frontend][%d] updateFrontendNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -240,6 +255,11 @@ func (o *UpdateFrontendInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the update frontend internal server error response
|
||||||
|
func (o *UpdateFrontendInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UpdateFrontendInternalServerError) Error() string {
|
func (o *UpdateFrontendInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[PATCH /frontend][%d] updateFrontendInternalServerError ", 500)
|
return fmt.Sprintf("[PATCH /frontend][%d] updateFrontendInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ func (o *DisableReader) ReadResponse(response runtime.ClientResponse, consumer r
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /disable] disable", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,6 +81,11 @@ func (o *DisableOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the disable o k response
|
||||||
|
func (o *DisableOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *DisableOK) Error() string {
|
func (o *DisableOK) Error() string {
|
||||||
return fmt.Sprintf("[POST /disable][%d] disableOK ", 200)
|
return fmt.Sprintf("[POST /disable][%d] disableOK ", 200)
|
||||||
}
|
}
|
||||||
@ -132,6 +137,11 @@ func (o *DisableUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the disable unauthorized response
|
||||||
|
func (o *DisableUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *DisableUnauthorized) Error() string {
|
func (o *DisableUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[POST /disable][%d] disableUnauthorized ", 401)
|
return fmt.Sprintf("[POST /disable][%d] disableUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -183,6 +193,11 @@ func (o *DisableInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the disable internal server error response
|
||||||
|
func (o *DisableInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *DisableInternalServerError) Error() string {
|
func (o *DisableInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /disable][%d] disableInternalServerError ", 500)
|
return fmt.Sprintf("[POST /disable][%d] disableInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *EnableReader) ReadResponse(response runtime.ClientResponse, consumer ru
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /enable] enable", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +91,11 @@ func (o *EnableCreated) IsCode(code int) bool {
|
|||||||
return code == 201
|
return code == 201
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the enable created response
|
||||||
|
func (o *EnableCreated) Code() int {
|
||||||
|
return 201
|
||||||
|
}
|
||||||
|
|
||||||
func (o *EnableCreated) Error() string {
|
func (o *EnableCreated) Error() string {
|
||||||
return fmt.Sprintf("[POST /enable][%d] enableCreated %+v", 201, o.Payload)
|
return fmt.Sprintf("[POST /enable][%d] enableCreated %+v", 201, o.Payload)
|
||||||
}
|
}
|
||||||
@ -153,6 +158,11 @@ func (o *EnableUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the enable unauthorized response
|
||||||
|
func (o *EnableUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *EnableUnauthorized) Error() string {
|
func (o *EnableUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[POST /enable][%d] enableUnauthorized ", 401)
|
return fmt.Sprintf("[POST /enable][%d] enableUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -204,6 +214,11 @@ func (o *EnableNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the enable not found response
|
||||||
|
func (o *EnableNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *EnableNotFound) Error() string {
|
func (o *EnableNotFound) Error() string {
|
||||||
return fmt.Sprintf("[POST /enable][%d] enableNotFound ", 404)
|
return fmt.Sprintf("[POST /enable][%d] enableNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -255,6 +270,11 @@ func (o *EnableInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the enable internal server error response
|
||||||
|
func (o *EnableInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *EnableInternalServerError) Error() string {
|
func (o *EnableInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /enable][%d] enableInternalServerError ", 500)
|
return fmt.Sprintf("[POST /enable][%d] enableInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ func (o *ConfigurationReader) ReadResponse(response runtime.ClientResponse, cons
|
|||||||
}
|
}
|
||||||
return result, nil
|
return result, nil
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /configuration] configuration", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,6 +73,11 @@ func (o *ConfigurationOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the configuration o k response
|
||||||
|
func (o *ConfigurationOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ConfigurationOK) Error() string {
|
func (o *ConfigurationOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /configuration][%d] configurationOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /configuration][%d] configurationOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ func (o *GetAccountDetailReader) ReadResponse(response runtime.ClientResponse, c
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /detail/account] getAccountDetail", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,6 +79,11 @@ func (o *GetAccountDetailOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get account detail o k response
|
||||||
|
func (o *GetAccountDetailOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetAccountDetailOK) Error() string {
|
func (o *GetAccountDetailOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/account][%d] getAccountDetailOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /detail/account][%d] getAccountDetailOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -139,6 +144,11 @@ func (o *GetAccountDetailInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get account detail internal server error response
|
||||||
|
func (o *GetAccountDetailInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetAccountDetailInternalServerError) Error() string {
|
func (o *GetAccountDetailInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/account][%d] getAccountDetailInternalServerError ", 500)
|
return fmt.Sprintf("[GET /detail/account][%d] getAccountDetailInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ func (o *GetAccountMetricsReader) ReadResponse(response runtime.ClientResponse,
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /metrics/account] getAccountMetrics", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -85,6 +85,11 @@ func (o *GetAccountMetricsOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get account metrics o k response
|
||||||
|
func (o *GetAccountMetricsOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetAccountMetricsOK) Error() string {
|
func (o *GetAccountMetricsOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/account][%d] getAccountMetricsOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /metrics/account][%d] getAccountMetricsOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -147,6 +152,11 @@ func (o *GetAccountMetricsBadRequest) IsCode(code int) bool {
|
|||||||
return code == 400
|
return code == 400
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get account metrics bad request response
|
||||||
|
func (o *GetAccountMetricsBadRequest) Code() int {
|
||||||
|
return 400
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetAccountMetricsBadRequest) Error() string {
|
func (o *GetAccountMetricsBadRequest) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/account][%d] getAccountMetricsBadRequest ", 400)
|
return fmt.Sprintf("[GET /metrics/account][%d] getAccountMetricsBadRequest ", 400)
|
||||||
}
|
}
|
||||||
@ -198,6 +208,11 @@ func (o *GetAccountMetricsInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get account metrics internal server error response
|
||||||
|
func (o *GetAccountMetricsInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetAccountMetricsInternalServerError) Error() string {
|
func (o *GetAccountMetricsInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/account][%d] getAccountMetricsInternalServerError ", 500)
|
return fmt.Sprintf("[GET /metrics/account][%d] getAccountMetricsInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *GetEnvironmentDetailReader) ReadResponse(response runtime.ClientRespons
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /detail/environment/{envZId}] getEnvironmentDetail", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +91,11 @@ func (o *GetEnvironmentDetailOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get environment detail o k response
|
||||||
|
func (o *GetEnvironmentDetailOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetEnvironmentDetailOK) Error() string {
|
func (o *GetEnvironmentDetailOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/environment/{envZId}][%d] getEnvironmentDetailOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /detail/environment/{envZId}][%d] getEnvironmentDetailOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -153,6 +158,11 @@ func (o *GetEnvironmentDetailUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get environment detail unauthorized response
|
||||||
|
func (o *GetEnvironmentDetailUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetEnvironmentDetailUnauthorized) Error() string {
|
func (o *GetEnvironmentDetailUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/environment/{envZId}][%d] getEnvironmentDetailUnauthorized ", 401)
|
return fmt.Sprintf("[GET /detail/environment/{envZId}][%d] getEnvironmentDetailUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -204,6 +214,11 @@ func (o *GetEnvironmentDetailNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get environment detail not found response
|
||||||
|
func (o *GetEnvironmentDetailNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetEnvironmentDetailNotFound) Error() string {
|
func (o *GetEnvironmentDetailNotFound) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/environment/{envZId}][%d] getEnvironmentDetailNotFound ", 404)
|
return fmt.Sprintf("[GET /detail/environment/{envZId}][%d] getEnvironmentDetailNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -255,6 +270,11 @@ func (o *GetEnvironmentDetailInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get environment detail internal server error response
|
||||||
|
func (o *GetEnvironmentDetailInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetEnvironmentDetailInternalServerError) Error() string {
|
func (o *GetEnvironmentDetailInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/environment/{envZId}][%d] getEnvironmentDetailInternalServerError ", 500)
|
return fmt.Sprintf("[GET /detail/environment/{envZId}][%d] getEnvironmentDetailInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *GetEnvironmentMetricsReader) ReadResponse(response runtime.ClientRespon
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /metrics/environment/{envId}] getEnvironmentMetrics", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +91,11 @@ func (o *GetEnvironmentMetricsOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get environment metrics o k response
|
||||||
|
func (o *GetEnvironmentMetricsOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetEnvironmentMetricsOK) Error() string {
|
func (o *GetEnvironmentMetricsOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/environment/{envId}][%d] getEnvironmentMetricsOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /metrics/environment/{envId}][%d] getEnvironmentMetricsOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -153,6 +158,11 @@ func (o *GetEnvironmentMetricsBadRequest) IsCode(code int) bool {
|
|||||||
return code == 400
|
return code == 400
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get environment metrics bad request response
|
||||||
|
func (o *GetEnvironmentMetricsBadRequest) Code() int {
|
||||||
|
return 400
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetEnvironmentMetricsBadRequest) Error() string {
|
func (o *GetEnvironmentMetricsBadRequest) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/environment/{envId}][%d] getEnvironmentMetricsBadRequest ", 400)
|
return fmt.Sprintf("[GET /metrics/environment/{envId}][%d] getEnvironmentMetricsBadRequest ", 400)
|
||||||
}
|
}
|
||||||
@ -204,6 +214,11 @@ func (o *GetEnvironmentMetricsUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get environment metrics unauthorized response
|
||||||
|
func (o *GetEnvironmentMetricsUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetEnvironmentMetricsUnauthorized) Error() string {
|
func (o *GetEnvironmentMetricsUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/environment/{envId}][%d] getEnvironmentMetricsUnauthorized ", 401)
|
return fmt.Sprintf("[GET /metrics/environment/{envId}][%d] getEnvironmentMetricsUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -255,6 +270,11 @@ func (o *GetEnvironmentMetricsInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get environment metrics internal server error response
|
||||||
|
func (o *GetEnvironmentMetricsInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetEnvironmentMetricsInternalServerError) Error() string {
|
func (o *GetEnvironmentMetricsInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/environment/{envId}][%d] getEnvironmentMetricsInternalServerError ", 500)
|
return fmt.Sprintf("[GET /metrics/environment/{envId}][%d] getEnvironmentMetricsInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *GetFrontendDetailReader) ReadResponse(response runtime.ClientResponse,
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /detail/frontend/{feId}] getFrontendDetail", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +91,11 @@ func (o *GetFrontendDetailOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get frontend detail o k response
|
||||||
|
func (o *GetFrontendDetailOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetFrontendDetailOK) Error() string {
|
func (o *GetFrontendDetailOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/frontend/{feId}][%d] getFrontendDetailOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /detail/frontend/{feId}][%d] getFrontendDetailOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -153,6 +158,11 @@ func (o *GetFrontendDetailUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get frontend detail unauthorized response
|
||||||
|
func (o *GetFrontendDetailUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetFrontendDetailUnauthorized) Error() string {
|
func (o *GetFrontendDetailUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/frontend/{feId}][%d] getFrontendDetailUnauthorized ", 401)
|
return fmt.Sprintf("[GET /detail/frontend/{feId}][%d] getFrontendDetailUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -204,6 +214,11 @@ func (o *GetFrontendDetailNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get frontend detail not found response
|
||||||
|
func (o *GetFrontendDetailNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetFrontendDetailNotFound) Error() string {
|
func (o *GetFrontendDetailNotFound) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/frontend/{feId}][%d] getFrontendDetailNotFound ", 404)
|
return fmt.Sprintf("[GET /detail/frontend/{feId}][%d] getFrontendDetailNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -255,6 +270,11 @@ func (o *GetFrontendDetailInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get frontend detail internal server error response
|
||||||
|
func (o *GetFrontendDetailInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetFrontendDetailInternalServerError) Error() string {
|
func (o *GetFrontendDetailInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/frontend/{feId}][%d] getFrontendDetailInternalServerError ", 500)
|
return fmt.Sprintf("[GET /detail/frontend/{feId}][%d] getFrontendDetailInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *GetShareDetailReader) ReadResponse(response runtime.ClientResponse, con
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /detail/share/{shrToken}] getShareDetail", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +91,11 @@ func (o *GetShareDetailOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get share detail o k response
|
||||||
|
func (o *GetShareDetailOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetShareDetailOK) Error() string {
|
func (o *GetShareDetailOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/share/{shrToken}][%d] getShareDetailOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /detail/share/{shrToken}][%d] getShareDetailOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -153,6 +158,11 @@ func (o *GetShareDetailUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get share detail unauthorized response
|
||||||
|
func (o *GetShareDetailUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetShareDetailUnauthorized) Error() string {
|
func (o *GetShareDetailUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/share/{shrToken}][%d] getShareDetailUnauthorized ", 401)
|
return fmt.Sprintf("[GET /detail/share/{shrToken}][%d] getShareDetailUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -204,6 +214,11 @@ func (o *GetShareDetailNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get share detail not found response
|
||||||
|
func (o *GetShareDetailNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetShareDetailNotFound) Error() string {
|
func (o *GetShareDetailNotFound) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/share/{shrToken}][%d] getShareDetailNotFound ", 404)
|
return fmt.Sprintf("[GET /detail/share/{shrToken}][%d] getShareDetailNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -255,6 +270,11 @@ func (o *GetShareDetailInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get share detail internal server error response
|
||||||
|
func (o *GetShareDetailInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetShareDetailInternalServerError) Error() string {
|
func (o *GetShareDetailInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[GET /detail/share/{shrToken}][%d] getShareDetailInternalServerError ", 500)
|
return fmt.Sprintf("[GET /detail/share/{shrToken}][%d] getShareDetailInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *GetShareMetricsReader) ReadResponse(response runtime.ClientResponse, co
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /metrics/share/{shrToken}] getShareMetrics", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +91,11 @@ func (o *GetShareMetricsOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get share metrics o k response
|
||||||
|
func (o *GetShareMetricsOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetShareMetricsOK) Error() string {
|
func (o *GetShareMetricsOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/share/{shrToken}][%d] getShareMetricsOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /metrics/share/{shrToken}][%d] getShareMetricsOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -153,6 +158,11 @@ func (o *GetShareMetricsBadRequest) IsCode(code int) bool {
|
|||||||
return code == 400
|
return code == 400
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get share metrics bad request response
|
||||||
|
func (o *GetShareMetricsBadRequest) Code() int {
|
||||||
|
return 400
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetShareMetricsBadRequest) Error() string {
|
func (o *GetShareMetricsBadRequest) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/share/{shrToken}][%d] getShareMetricsBadRequest ", 400)
|
return fmt.Sprintf("[GET /metrics/share/{shrToken}][%d] getShareMetricsBadRequest ", 400)
|
||||||
}
|
}
|
||||||
@ -204,6 +214,11 @@ func (o *GetShareMetricsUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get share metrics unauthorized response
|
||||||
|
func (o *GetShareMetricsUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetShareMetricsUnauthorized) Error() string {
|
func (o *GetShareMetricsUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/share/{shrToken}][%d] getShareMetricsUnauthorized ", 401)
|
return fmt.Sprintf("[GET /metrics/share/{shrToken}][%d] getShareMetricsUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -255,6 +270,11 @@ func (o *GetShareMetricsInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the get share metrics internal server error response
|
||||||
|
func (o *GetShareMetricsInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GetShareMetricsInternalServerError) Error() string {
|
func (o *GetShareMetricsInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[GET /metrics/share/{shrToken}][%d] getShareMetricsInternalServerError ", 500)
|
return fmt.Sprintf("[GET /metrics/share/{shrToken}][%d] getShareMetricsInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ func (o *OverviewReader) ReadResponse(response runtime.ClientResponse, consumer
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /overview] overview", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -79,6 +79,11 @@ func (o *OverviewOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the overview o k response
|
||||||
|
func (o *OverviewOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *OverviewOK) Error() string {
|
func (o *OverviewOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /overview][%d] overviewOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /overview][%d] overviewOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
@ -142,6 +147,11 @@ func (o *OverviewInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the overview internal server error response
|
||||||
|
func (o *OverviewInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *OverviewInternalServerError) Error() string {
|
func (o *OverviewInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[GET /overview][%d] overviewInternalServerError %+v", 500, o.Payload)
|
return fmt.Sprintf("[GET /overview][%d] overviewInternalServerError %+v", 500, o.Payload)
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ func (o *VersionReader) ReadResponse(response runtime.ClientResponse, consumer r
|
|||||||
}
|
}
|
||||||
return result, nil
|
return result, nil
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[GET /version] version", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,6 +73,11 @@ func (o *VersionOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the version o k response
|
||||||
|
func (o *VersionOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *VersionOK) Error() string {
|
func (o *VersionOK) Error() string {
|
||||||
return fmt.Sprintf("[GET /version][%d] versionOK %+v", 200, o.Payload)
|
return fmt.Sprintf("[GET /version][%d] versionOK %+v", 200, o.Payload)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *AccessReader) ReadResponse(response runtime.ClientResponse, consumer ru
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /access] access", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,6 +91,11 @@ func (o *AccessCreated) IsCode(code int) bool {
|
|||||||
return code == 201
|
return code == 201
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the access created response
|
||||||
|
func (o *AccessCreated) Code() int {
|
||||||
|
return 201
|
||||||
|
}
|
||||||
|
|
||||||
func (o *AccessCreated) Error() string {
|
func (o *AccessCreated) Error() string {
|
||||||
return fmt.Sprintf("[POST /access][%d] accessCreated %+v", 201, o.Payload)
|
return fmt.Sprintf("[POST /access][%d] accessCreated %+v", 201, o.Payload)
|
||||||
}
|
}
|
||||||
@ -153,6 +158,11 @@ func (o *AccessUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the access unauthorized response
|
||||||
|
func (o *AccessUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *AccessUnauthorized) Error() string {
|
func (o *AccessUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[POST /access][%d] accessUnauthorized ", 401)
|
return fmt.Sprintf("[POST /access][%d] accessUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -204,6 +214,11 @@ func (o *AccessNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the access not found response
|
||||||
|
func (o *AccessNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *AccessNotFound) Error() string {
|
func (o *AccessNotFound) Error() string {
|
||||||
return fmt.Sprintf("[POST /access][%d] accessNotFound ", 404)
|
return fmt.Sprintf("[POST /access][%d] accessNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -255,6 +270,11 @@ func (o *AccessInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the access internal server error response
|
||||||
|
func (o *AccessInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *AccessInternalServerError) Error() string {
|
func (o *AccessInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /access][%d] accessInternalServerError ", 500)
|
return fmt.Sprintf("[POST /access][%d] accessInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ func (o *ShareReader) ReadResponse(response runtime.ClientResponse, consumer run
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[POST /share] share", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -97,6 +97,11 @@ func (o *ShareCreated) IsCode(code int) bool {
|
|||||||
return code == 201
|
return code == 201
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the share created response
|
||||||
|
func (o *ShareCreated) Code() int {
|
||||||
|
return 201
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ShareCreated) Error() string {
|
func (o *ShareCreated) Error() string {
|
||||||
return fmt.Sprintf("[POST /share][%d] shareCreated %+v", 201, o.Payload)
|
return fmt.Sprintf("[POST /share][%d] shareCreated %+v", 201, o.Payload)
|
||||||
}
|
}
|
||||||
@ -159,6 +164,11 @@ func (o *ShareUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the share unauthorized response
|
||||||
|
func (o *ShareUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ShareUnauthorized) Error() string {
|
func (o *ShareUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[POST /share][%d] shareUnauthorized ", 401)
|
return fmt.Sprintf("[POST /share][%d] shareUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -210,6 +220,11 @@ func (o *ShareNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the share not found response
|
||||||
|
func (o *ShareNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ShareNotFound) Error() string {
|
func (o *ShareNotFound) Error() string {
|
||||||
return fmt.Sprintf("[POST /share][%d] shareNotFound ", 404)
|
return fmt.Sprintf("[POST /share][%d] shareNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -261,6 +276,11 @@ func (o *ShareUnprocessableEntity) IsCode(code int) bool {
|
|||||||
return code == 422
|
return code == 422
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the share unprocessable entity response
|
||||||
|
func (o *ShareUnprocessableEntity) Code() int {
|
||||||
|
return 422
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ShareUnprocessableEntity) Error() string {
|
func (o *ShareUnprocessableEntity) Error() string {
|
||||||
return fmt.Sprintf("[POST /share][%d] shareUnprocessableEntity ", 422)
|
return fmt.Sprintf("[POST /share][%d] shareUnprocessableEntity ", 422)
|
||||||
}
|
}
|
||||||
@ -313,6 +333,11 @@ func (o *ShareInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the share internal server error response
|
||||||
|
func (o *ShareInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *ShareInternalServerError) Error() string {
|
func (o *ShareInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[POST /share][%d] shareInternalServerError %+v", 500, o.Payload)
|
return fmt.Sprintf("[POST /share][%d] shareInternalServerError %+v", 500, o.Payload)
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ func (o *UnaccessReader) ReadResponse(response runtime.ClientResponse, consumer
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[DELETE /unaccess] unaccess", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,6 +87,11 @@ func (o *UnaccessOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the unaccess o k response
|
||||||
|
func (o *UnaccessOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UnaccessOK) Error() string {
|
func (o *UnaccessOK) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /unaccess][%d] unaccessOK ", 200)
|
return fmt.Sprintf("[DELETE /unaccess][%d] unaccessOK ", 200)
|
||||||
}
|
}
|
||||||
@ -138,6 +143,11 @@ func (o *UnaccessUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the unaccess unauthorized response
|
||||||
|
func (o *UnaccessUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UnaccessUnauthorized) Error() string {
|
func (o *UnaccessUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /unaccess][%d] unaccessUnauthorized ", 401)
|
return fmt.Sprintf("[DELETE /unaccess][%d] unaccessUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -189,6 +199,11 @@ func (o *UnaccessNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the unaccess not found response
|
||||||
|
func (o *UnaccessNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UnaccessNotFound) Error() string {
|
func (o *UnaccessNotFound) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /unaccess][%d] unaccessNotFound ", 404)
|
return fmt.Sprintf("[DELETE /unaccess][%d] unaccessNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -240,6 +255,11 @@ func (o *UnaccessInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the unaccess internal server error response
|
||||||
|
func (o *UnaccessInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UnaccessInternalServerError) Error() string {
|
func (o *UnaccessInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /unaccess][%d] unaccessInternalServerError ", 500)
|
return fmt.Sprintf("[DELETE /unaccess][%d] unaccessInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ func (o *UnshareReader) ReadResponse(response runtime.ClientResponse, consumer r
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[DELETE /unshare] unshare", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,6 +90,11 @@ func (o *UnshareOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the unshare o k response
|
||||||
|
func (o *UnshareOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UnshareOK) Error() string {
|
func (o *UnshareOK) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /unshare][%d] unshareOK ", 200)
|
return fmt.Sprintf("[DELETE /unshare][%d] unshareOK ", 200)
|
||||||
}
|
}
|
||||||
@ -141,6 +146,11 @@ func (o *UnshareUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the unshare unauthorized response
|
||||||
|
func (o *UnshareUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UnshareUnauthorized) Error() string {
|
func (o *UnshareUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /unshare][%d] unshareUnauthorized ", 401)
|
return fmt.Sprintf("[DELETE /unshare][%d] unshareUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -192,6 +202,11 @@ func (o *UnshareNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the unshare not found response
|
||||||
|
func (o *UnshareNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UnshareNotFound) Error() string {
|
func (o *UnshareNotFound) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /unshare][%d] unshareNotFound ", 404)
|
return fmt.Sprintf("[DELETE /unshare][%d] unshareNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -244,6 +259,11 @@ func (o *UnshareInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the unshare internal server error response
|
||||||
|
func (o *UnshareInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UnshareInternalServerError) Error() string {
|
func (o *UnshareInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[DELETE /unshare][%d] unshareInternalServerError %+v", 500, o.Payload)
|
return fmt.Sprintf("[DELETE /unshare][%d] unshareInternalServerError %+v", 500, o.Payload)
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ func (o *UpdateShareReader) ReadResponse(response runtime.ClientResponse, consum
|
|||||||
}
|
}
|
||||||
return nil, result
|
return nil, result
|
||||||
default:
|
default:
|
||||||
return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
|
return nil, runtime.NewAPIError("[PATCH /share] updateShare", response, response.Code())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,6 +87,11 @@ func (o *UpdateShareOK) IsCode(code int) bool {
|
|||||||
return code == 200
|
return code == 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the update share o k response
|
||||||
|
func (o *UpdateShareOK) Code() int {
|
||||||
|
return 200
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UpdateShareOK) Error() string {
|
func (o *UpdateShareOK) Error() string {
|
||||||
return fmt.Sprintf("[PATCH /share][%d] updateShareOK ", 200)
|
return fmt.Sprintf("[PATCH /share][%d] updateShareOK ", 200)
|
||||||
}
|
}
|
||||||
@ -138,6 +143,11 @@ func (o *UpdateShareUnauthorized) IsCode(code int) bool {
|
|||||||
return code == 401
|
return code == 401
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the update share unauthorized response
|
||||||
|
func (o *UpdateShareUnauthorized) Code() int {
|
||||||
|
return 401
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UpdateShareUnauthorized) Error() string {
|
func (o *UpdateShareUnauthorized) Error() string {
|
||||||
return fmt.Sprintf("[PATCH /share][%d] updateShareUnauthorized ", 401)
|
return fmt.Sprintf("[PATCH /share][%d] updateShareUnauthorized ", 401)
|
||||||
}
|
}
|
||||||
@ -189,6 +199,11 @@ func (o *UpdateShareNotFound) IsCode(code int) bool {
|
|||||||
return code == 404
|
return code == 404
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the update share not found response
|
||||||
|
func (o *UpdateShareNotFound) Code() int {
|
||||||
|
return 404
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UpdateShareNotFound) Error() string {
|
func (o *UpdateShareNotFound) Error() string {
|
||||||
return fmt.Sprintf("[PATCH /share][%d] updateShareNotFound ", 404)
|
return fmt.Sprintf("[PATCH /share][%d] updateShareNotFound ", 404)
|
||||||
}
|
}
|
||||||
@ -240,6 +255,11 @@ func (o *UpdateShareInternalServerError) IsCode(code int) bool {
|
|||||||
return code == 500
|
return code == 500
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Code gets the status code for the update share internal server error response
|
||||||
|
func (o *UpdateShareInternalServerError) Code() int {
|
||||||
|
return 500
|
||||||
|
}
|
||||||
|
|
||||||
func (o *UpdateShareInternalServerError) Error() string {
|
func (o *UpdateShareInternalServerError) Error() string {
|
||||||
return fmt.Sprintf("[PATCH /share][%d] updateShareInternalServerError ", 500)
|
return fmt.Sprintf("[PATCH /share][%d] updateShareInternalServerError ", 500)
|
||||||
}
|
}
|
||||||
|
@ -87,6 +87,11 @@ func (m *Configuration) ContextValidate(ctx context.Context, formats strfmt.Regi
|
|||||||
func (m *Configuration) contextValidatePasswordRequirements(ctx context.Context, formats strfmt.Registry) error {
|
func (m *Configuration) contextValidatePasswordRequirements(ctx context.Context, formats strfmt.Registry) error {
|
||||||
|
|
||||||
if m.PasswordRequirements != nil {
|
if m.PasswordRequirements != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m.PasswordRequirements) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m.PasswordRequirements.ContextValidate(ctx, formats); err != nil {
|
if err := m.PasswordRequirements.ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName("passwordRequirements")
|
return ve.ValidateName("passwordRequirements")
|
||||||
|
@ -128,6 +128,11 @@ func (m *EnvironmentAndResources) ContextValidate(ctx context.Context, formats s
|
|||||||
func (m *EnvironmentAndResources) contextValidateEnvironment(ctx context.Context, formats strfmt.Registry) error {
|
func (m *EnvironmentAndResources) contextValidateEnvironment(ctx context.Context, formats strfmt.Registry) error {
|
||||||
|
|
||||||
if m.Environment != nil {
|
if m.Environment != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m.Environment) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m.Environment.ContextValidate(ctx, formats); err != nil {
|
if err := m.Environment.ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName("environment")
|
return ve.ValidateName("environment")
|
||||||
|
@ -54,6 +54,11 @@ func (m Environments) ContextValidate(ctx context.Context, formats strfmt.Regist
|
|||||||
for i := 0; i < len(m); i++ {
|
for i := 0; i < len(m); i++ {
|
||||||
|
|
||||||
if m[i] != nil {
|
if m[i] != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m[i]) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName(strconv.Itoa(i))
|
return ve.ValidateName(strconv.Itoa(i))
|
||||||
|
@ -54,6 +54,11 @@ func (m Frontends) ContextValidate(ctx context.Context, formats strfmt.Registry)
|
|||||||
for i := 0; i < len(m); i++ {
|
for i := 0; i < len(m); i++ {
|
||||||
|
|
||||||
if m[i] != nil {
|
if m[i] != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m[i]) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName(strconv.Itoa(i))
|
return ve.ValidateName(strconv.Itoa(i))
|
||||||
|
@ -91,6 +91,11 @@ func (m *Metrics) contextValidateSamples(ctx context.Context, formats strfmt.Reg
|
|||||||
for i := 0; i < len(m.Samples); i++ {
|
for i := 0; i < len(m.Samples); i++ {
|
||||||
|
|
||||||
if m.Samples[i] != nil {
|
if m.Samples[i] != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m.Samples[i]) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m.Samples[i].ContextValidate(ctx, formats); err != nil {
|
if err := m.Samples[i].ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName("samples" + "." + strconv.Itoa(i))
|
return ve.ValidateName("samples" + "." + strconv.Itoa(i))
|
||||||
|
@ -85,6 +85,11 @@ func (m *Overview) contextValidateEnvironments(ctx context.Context, formats strf
|
|||||||
for i := 0; i < len(m.Environments); i++ {
|
for i := 0; i < len(m.Environments); i++ {
|
||||||
|
|
||||||
if m.Environments[i] != nil {
|
if m.Environments[i] != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m.Environments[i]) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m.Environments[i].ContextValidate(ctx, formats); err != nil {
|
if err := m.Environments[i].ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName("environments" + "." + strconv.Itoa(i))
|
return ve.ValidateName("environments" + "." + strconv.Itoa(i))
|
||||||
|
@ -54,6 +54,11 @@ func (m PublicFrontendList) ContextValidate(ctx context.Context, formats strfmt.
|
|||||||
for i := 0; i < len(m); i++ {
|
for i := 0; i < len(m); i++ {
|
||||||
|
|
||||||
if m[i] != nil {
|
if m[i] != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m[i]) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName(strconv.Itoa(i))
|
return ve.ValidateName(strconv.Itoa(i))
|
||||||
|
@ -56,6 +56,9 @@ type ShareRequest struct {
|
|||||||
// share mode
|
// share mode
|
||||||
// Enum: [public private]
|
// Enum: [public private]
|
||||||
ShareMode string `json:"shareMode,omitempty"`
|
ShareMode string `json:"shareMode,omitempty"`
|
||||||
|
|
||||||
|
// unique name
|
||||||
|
UniqueName string `json:"uniqueName,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate validates this share request
|
// Validate validates this share request
|
||||||
@ -267,6 +270,11 @@ func (m *ShareRequest) contextValidateAuthUsers(ctx context.Context, formats str
|
|||||||
for i := 0; i < len(m.AuthUsers); i++ {
|
for i := 0; i < len(m.AuthUsers); i++ {
|
||||||
|
|
||||||
if m.AuthUsers[i] != nil {
|
if m.AuthUsers[i] != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m.AuthUsers[i]) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m.AuthUsers[i].ContextValidate(ctx, formats); err != nil {
|
if err := m.AuthUsers[i].ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName("authUsers" + "." + strconv.Itoa(i))
|
return ve.ValidateName("authUsers" + "." + strconv.Itoa(i))
|
||||||
|
@ -54,6 +54,11 @@ func (m Shares) ContextValidate(ctx context.Context, formats strfmt.Registry) er
|
|||||||
for i := 0; i < len(m); i++ {
|
for i := 0; i < len(m); i++ {
|
||||||
|
|
||||||
if m[i] != nil {
|
if m[i] != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m[i]) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName(strconv.Itoa(i))
|
return ve.ValidateName(strconv.Itoa(i))
|
||||||
|
@ -54,6 +54,11 @@ func (m SparkData) ContextValidate(ctx context.Context, formats strfmt.Registry)
|
|||||||
for i := 0; i < len(m); i++ {
|
for i := 0; i < len(m); i++ {
|
||||||
|
|
||||||
if m[i] != nil {
|
if m[i] != nil {
|
||||||
|
|
||||||
|
if swag.IsZero(m[i]) { // not required
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
if err := m[i].ContextValidate(ctx, formats); err != nil {
|
||||||
if ve, ok := err.(*errors.Validation); ok {
|
if ve, ok := err.(*errors.Validation); ok {
|
||||||
return ve.ValidateName(strconv.Itoa(i))
|
return ve.ValidateName(strconv.Itoa(i))
|
||||||
|
@ -1513,6 +1513,9 @@ func init() {
|
|||||||
"public",
|
"public",
|
||||||
"private"
|
"private"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"uniqueName": {
|
||||||
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3130,6 +3133,9 @@ func init() {
|
|||||||
"public",
|
"public",
|
||||||
"private"
|
"private"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"uniqueName": {
|
||||||
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -668,6 +668,6 @@ func (o *ZrokAPI) AddMiddlewareFor(method, path string, builder middleware.Build
|
|||||||
}
|
}
|
||||||
o.Init()
|
o.Init()
|
||||||
if h, ok := o.handlers[um][path]; ok {
|
if h, ok := o.handlers[um][path]; ok {
|
||||||
o.handlers[method][path] = builder(h)
|
o.handlers[um][path] = builder(h)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
3.0.50
|
3.0.51
|
@ -1,12 +1,19 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
|
||||||
|
"""
|
||||||
|
zrok
|
||||||
|
|
||||||
|
zrok client access # noqa: E501
|
||||||
|
|
||||||
|
OpenAPI spec version: 0.3.0
|
||||||
|
|
||||||
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
||||||
|
"""
|
||||||
|
|
||||||
from setuptools import setup, find_packages # noqa: H301
|
from setuptools import setup, find_packages # noqa: H301
|
||||||
import os
|
|
||||||
|
|
||||||
NAME = "zrok_sdk"
|
NAME = "zrok_sdk"
|
||||||
VERSION = "0.0.0.dev"
|
VERSION = "1.0.0"
|
||||||
try:
|
|
||||||
VERSION = os.environ['ZROK_VERSION']
|
|
||||||
except KeyError:
|
|
||||||
pass
|
|
||||||
# To install the library, run the following
|
# To install the library, run the following
|
||||||
#
|
#
|
||||||
# python setup.py install
|
# python setup.py install
|
||||||
@ -20,14 +27,13 @@ setup(
|
|||||||
name=NAME,
|
name=NAME,
|
||||||
version=VERSION,
|
version=VERSION,
|
||||||
description="zrok",
|
description="zrok",
|
||||||
author_email="cameron.otts@netfoundry.io",
|
author_email="",
|
||||||
url="https://zrok.io",
|
url="",
|
||||||
python_requires='>=3.10',
|
|
||||||
keywords=["Swagger", "zrok"],
|
keywords=["Swagger", "zrok"],
|
||||||
install_requires=REQUIRES,
|
install_requires=REQUIRES,
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
long_description="""\
|
long_description="""\
|
||||||
Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
|
zrok client access # noqa: E501
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
@ -38,7 +38,8 @@ class ShareRequest(object):
|
|||||||
'oauth_provider': 'str',
|
'oauth_provider': 'str',
|
||||||
'oauth_email_domains': 'list[str]',
|
'oauth_email_domains': 'list[str]',
|
||||||
'oauth_authorization_check_interval': 'str',
|
'oauth_authorization_check_interval': 'str',
|
||||||
'reserved': 'bool'
|
'reserved': 'bool',
|
||||||
|
'unique_name': 'str'
|
||||||
}
|
}
|
||||||
|
|
||||||
attribute_map = {
|
attribute_map = {
|
||||||
@ -52,10 +53,11 @@ class ShareRequest(object):
|
|||||||
'oauth_provider': 'oauthProvider',
|
'oauth_provider': 'oauthProvider',
|
||||||
'oauth_email_domains': 'oauthEmailDomains',
|
'oauth_email_domains': 'oauthEmailDomains',
|
||||||
'oauth_authorization_check_interval': 'oauthAuthorizationCheckInterval',
|
'oauth_authorization_check_interval': 'oauthAuthorizationCheckInterval',
|
||||||
'reserved': 'reserved'
|
'reserved': 'reserved',
|
||||||
|
'unique_name': 'uniqueName'
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, env_zid=None, share_mode=None, frontend_selection=None, backend_mode=None, backend_proxy_endpoint=None, auth_scheme=None, auth_users=None, oauth_provider=None, oauth_email_domains=None, oauth_authorization_check_interval=None, reserved=None): # noqa: E501
|
def __init__(self, env_zid=None, share_mode=None, frontend_selection=None, backend_mode=None, backend_proxy_endpoint=None, auth_scheme=None, auth_users=None, oauth_provider=None, oauth_email_domains=None, oauth_authorization_check_interval=None, reserved=None, unique_name=None): # noqa: E501
|
||||||
"""ShareRequest - a model defined in Swagger""" # noqa: E501
|
"""ShareRequest - a model defined in Swagger""" # noqa: E501
|
||||||
self._env_zid = None
|
self._env_zid = None
|
||||||
self._share_mode = None
|
self._share_mode = None
|
||||||
@ -68,6 +70,7 @@ class ShareRequest(object):
|
|||||||
self._oauth_email_domains = None
|
self._oauth_email_domains = None
|
||||||
self._oauth_authorization_check_interval = None
|
self._oauth_authorization_check_interval = None
|
||||||
self._reserved = None
|
self._reserved = None
|
||||||
|
self._unique_name = None
|
||||||
self.discriminator = None
|
self.discriminator = None
|
||||||
if env_zid is not None:
|
if env_zid is not None:
|
||||||
self.env_zid = env_zid
|
self.env_zid = env_zid
|
||||||
@ -91,6 +94,8 @@ class ShareRequest(object):
|
|||||||
self.oauth_authorization_check_interval = oauth_authorization_check_interval
|
self.oauth_authorization_check_interval = oauth_authorization_check_interval
|
||||||
if reserved is not None:
|
if reserved is not None:
|
||||||
self.reserved = reserved
|
self.reserved = reserved
|
||||||
|
if unique_name is not None:
|
||||||
|
self.unique_name = unique_name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def env_zid(self):
|
def env_zid(self):
|
||||||
@ -179,7 +184,7 @@ class ShareRequest(object):
|
|||||||
:param backend_mode: The backend_mode of this ShareRequest. # noqa: E501
|
:param backend_mode: The backend_mode of this ShareRequest. # noqa: E501
|
||||||
:type: str
|
:type: str
|
||||||
"""
|
"""
|
||||||
allowed_values = ["proxy", "web", "tcpTunnel", "udpTunnel", "caddy"] # noqa: E501
|
allowed_values = ["proxy", "web", "tcpTunnel", "udpTunnel", "caddy", "drive"] # noqa: E501
|
||||||
if backend_mode not in allowed_values:
|
if backend_mode not in allowed_values:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"Invalid value for `backend_mode` ({0}), must be one of {1}" # noqa: E501
|
"Invalid value for `backend_mode` ({0}), must be one of {1}" # noqa: E501
|
||||||
@ -341,6 +346,27 @@ class ShareRequest(object):
|
|||||||
|
|
||||||
self._reserved = reserved
|
self._reserved = reserved
|
||||||
|
|
||||||
|
@property
|
||||||
|
def unique_name(self):
|
||||||
|
"""Gets the unique_name of this ShareRequest. # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
|
:return: The unique_name of this ShareRequest. # noqa: E501
|
||||||
|
:rtype: str
|
||||||
|
"""
|
||||||
|
return self._unique_name
|
||||||
|
|
||||||
|
@unique_name.setter
|
||||||
|
def unique_name(self, unique_name):
|
||||||
|
"""Sets the unique_name of this ShareRequest.
|
||||||
|
|
||||||
|
|
||||||
|
:param unique_name: The unique_name of this ShareRequest. # noqa: E501
|
||||||
|
:type: str
|
||||||
|
"""
|
||||||
|
|
||||||
|
self._unique_name = unique_name
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
"""Returns the model properties as a dict"""
|
"""Returns the model properties as a dict"""
|
||||||
result = {}
|
result = {}
|
||||||
|
@ -991,6 +991,8 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
reserved:
|
reserved:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
uniqueName:
|
||||||
|
type: string
|
||||||
|
|
||||||
shareResponse:
|
shareResponse:
|
||||||
type: object
|
type: object
|
||||||
|
@ -257,6 +257,7 @@
|
|||||||
* @property {string[]} oauthEmailDomains
|
* @property {string[]} oauthEmailDomains
|
||||||
* @property {string} oauthAuthorizationCheckInterval
|
* @property {string} oauthAuthorizationCheckInterval
|
||||||
* @property {boolean} reserved
|
* @property {boolean} reserved
|
||||||
|
* @property {string} uniqueName
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user