Documentation
¶
Index ¶
- Constants
- Variables
- func CreateHttpContext(header http.Header) context.Context
- func JSON(r io.Reader, v interface{}, required bool) (err error)
- func NewHTTPStatusCodeError(status int) xHTTPError
- type ActivateViewsSet200Response
- type ActivateViewsSet403Response
- type ActivateViewsSet404Response
- type ActivateViewsSetRequest
- type ActivateViewsSetResponse
- type Address
- type BasicTypes
- type Booking
- type Client
- type Code200Response
- type Code400Response
- type Code401Response
- type Code404Response
- type Code500Response
- type CodeRequest
- type CodeResponse
- type ComponentTypes
- type CreateCustomerSession201Response
- type CreateCustomerSession401Response
- type CreateCustomerSession403Response
- type CreateCustomerSession422Response
- type CreateCustomerSession500Response
- type CreateCustomerSessionRequest
- type CreateCustomerSessionResponse
- type CreateOrUpdateClient200Response
- type CreateOrUpdateClient201Response
- type CreateOrUpdateClient400Response
- type CreateOrUpdateClient403Response
- type CreateOrUpdateClient405Response
- type CreateOrUpdateClientRequest
- type CreateOrUpdateClientResponse
- type CreateOrUpdateUser200Response
- type CreateOrUpdateUser201Response
- type CreateOrUpdateUser400Response
- type CreateOrUpdateUser403Response
- type CreateOrUpdateUser405Response
- type CreateOrUpdateUserRequest
- type CreateOrUpdateUserResponse
- type CreateOrUpdateViewsSet200Response
- type CreateOrUpdateViewsSet201Response
- type CreateOrUpdateViewsSet400Response
- type CreateOrUpdateViewsSet403Response
- type CreateOrUpdateViewsSet405Response
- type CreateOrUpdateViewsSetRequest
- type CreateOrUpdateViewsSetResponse
- type CreateSession200Response
- type CreateSession400Response
- type CreateSession401Response
- type CreateSessionRequest
- type CreateSessionResponse
- type DeleteClient200Response
- type DeleteClient403Response
- type DeleteClient404Response
- type DeleteClientRequest
- type DeleteClientResponse
- type DeleteCustomerSession204Response
- type DeleteCustomerSession401Response
- type DeleteCustomerSession500Response
- type DeleteCustomerSessionRequest
- type DeleteCustomerSessionResponse
- type DeleteUser200Response
- type DeleteUser403Response
- type DeleteUser404Response
- type DeleteUserRequest
- type DeleteUserResponse
- type DeleteViewsSet200Response
- type DeleteViewsSet403Response
- type DeleteViewsSet404Response
- type DeleteViewsSetRequest
- type DeleteViewsSetResponse
- type DestroySession200Response
- type DestroySession404Response
- type DestroySessionRequest
- type DestroySessionResponse
- type DownloadFile200Response
- type DownloadFileRequest
- type DownloadFileResponse
- type DownloadImage200Response
- type DownloadImage500Response
- type DownloadImageRequest
- type DownloadImageResponse
- type DownloadNestedFile200Response
- type DownloadNestedFileRequest
- type DownloadNestedFileResponse
- type DriveConcept
- type EmptySlice
- type ErrorHandler
- type GenericFileDownload200Response
- type GenericFileDownload500Response
- type GenericFileDownloadRequest
- type GenericFileDownloadResponse
- type GetBooking200Response
- type GetBooking400Response
- type GetBooking401Response
- type GetBooking404Response
- type GetBooking500Response
- type GetBookingRequest
- type GetBookingResponse
- type GetBookings200Response
- type GetBookings400Response
- type GetBookings401Response
- type GetBookings404Response
- type GetBookings500Response
- type GetBookingsRequest
- type GetBookingsResponse
- type GetClasses200Response
- type GetClasses400Response
- type GetClassesRequest
- type GetClassesResponse
- type GetClient200Response
- type GetClient403Response
- type GetClient404Response
- type GetClientRequest
- type GetClientResponse
- type GetClients200Response
- type GetClients204Response
- type GetClients403Response
- type GetClientsRequest
- type GetClientsResponse
- type GetPermissions200Response
- type GetPermissions403Response
- type GetPermissionsRequest
- type GetPermissionsResponse
- type GetRental200Response
- type GetRental400Response
- type GetRentalRequest
- type GetRentalResponse
- type GetShoes200Response
- type GetShoesRequest
- type GetShoesResponse
- type GetUser200Response
- type GetUser403Response
- type GetUser404Response
- type GetUserInfo200Response
- type GetUserInfo400Response
- type GetUserInfo403Response
- type GetUserInfoRequest
- type GetUserInfoResponse
- type GetUserRequest
- type GetUserResponse
- type GetUsers200Response
- type GetUsers403Response
- type GetUsersRequest
- type GetUsersResponse
- type GetViewsSet200Response
- type GetViewsSet403Response
- type GetViewsSet404Response
- type GetViewsSetRequest
- type GetViewsSetResponse
- type GetViewsSets200Response
- type GetViewsSets403Response
- type GetViewsSetsRequest
- type GetViewsSetsResponse
- type HooksClient
- type HttpContext
- type HttpJsonError
- type Link
- type Links
- type ListElements200Response
- type ListElements500Response
- type ListElementsRequest
- type ListElementsResponse
- type ListModels200Response
- type ListModelsRequest
- type ListModelsResponse
- type Middleware
- type MimeFile
- type Model
- type NestedFileStructure
- type NewRequest
- type Object1
- type Object2
- type Opts
- type PostUpload200Response
- type PostUpload500Response
- type PostUploadRequest
- type PostUploadRequestFormData
- type PostUploadResponse
- type Price
- type ProductGroup
- type PrometheusHandler
- type Rental
- type RouteDescription
- type Server
- type ServerOpts
- type Session
- type Shoe
- type Shoes
- type ShoesEmbedded
- type ShowVehicleInView200Response
- type ShowVehicleInView403Response
- type ShowVehicleInView404Response
- type ShowVehicleInViewRequest
- type ShowVehicleInViewResponse
- type TechnicalInformation
- type User
- type ValidationError
- type ValidationErrorObject
- type ValidationErrors
- type ValidationErrorsObject
- type Validator
- type VersionInfo
- type ViewsSet
- type VisAdminClientMock
- func (client *VisAdminClientMock) ActivateViewsSet(request *ActivateViewsSetRequest) (ActivateViewsSetResponse, error)
- func (client *VisAdminClientMock) Code(request *CodeRequest) (CodeResponse, error)
- func (client *VisAdminClientMock) CreateCustomerSession(request *CreateCustomerSessionRequest) (CreateCustomerSessionResponse, error)
- func (client *VisAdminClientMock) CreateOrUpdateClient(request *CreateOrUpdateClientRequest) (CreateOrUpdateClientResponse, error)
- func (client *VisAdminClientMock) CreateOrUpdateUser(request *CreateOrUpdateUserRequest) (CreateOrUpdateUserResponse, error)
- func (client *VisAdminClientMock) CreateOrUpdateViewsSet(request *CreateOrUpdateViewsSetRequest) (CreateOrUpdateViewsSetResponse, error)
- func (client *VisAdminClientMock) CreateSession(request *CreateSessionRequest) (CreateSessionResponse, error)
- func (client *VisAdminClientMock) DeleteClient(request *DeleteClientRequest) (DeleteClientResponse, error)
- func (client *VisAdminClientMock) DeleteCustomerSession(request *DeleteCustomerSessionRequest) (DeleteCustomerSessionResponse, error)
- func (client *VisAdminClientMock) DeleteUser(request *DeleteUserRequest) (DeleteUserResponse, error)
- func (client *VisAdminClientMock) DeleteViewsSet(request *DeleteViewsSetRequest) (DeleteViewsSetResponse, error)
- func (client *VisAdminClientMock) DestroySession(request *DestroySessionRequest) (DestroySessionResponse, error)
- func (client *VisAdminClientMock) DownloadFile(request *DownloadFileRequest) (DownloadFileResponse, error)
- func (client *VisAdminClientMock) DownloadImage(request *DownloadImageRequest) (DownloadImageResponse, error)
- func (client *VisAdminClientMock) DownloadNestedFile(request *DownloadNestedFileRequest) (DownloadNestedFileResponse, error)
- func (client *VisAdminClientMock) GenericFileDownload(request *GenericFileDownloadRequest) (GenericFileDownloadResponse, error)
- func (client *VisAdminClientMock) GetBooking(request *GetBookingRequest) (GetBookingResponse, error)
- func (client *VisAdminClientMock) GetBookings(request *GetBookingsRequest) (GetBookingsResponse, error)
- func (client *VisAdminClientMock) GetClasses(request *GetClassesRequest) (GetClassesResponse, error)
- func (client *VisAdminClientMock) GetClient(request *GetClientRequest) (GetClientResponse, error)
- func (client *VisAdminClientMock) GetClients(request *GetClientsRequest) (GetClientsResponse, error)
- func (client *VisAdminClientMock) GetPermissions(request *GetPermissionsRequest) (GetPermissionsResponse, error)
- func (client *VisAdminClientMock) GetRental(request *GetRentalRequest) (GetRentalResponse, error)
- func (client *VisAdminClientMock) GetUser(request *GetUserRequest) (GetUserResponse, error)
- func (client *VisAdminClientMock) GetUserInfo(request *GetUserInfoRequest) (GetUserInfoResponse, error)
- func (client *VisAdminClientMock) GetUsers(request *GetUsersRequest) (GetUsersResponse, error)
- func (client *VisAdminClientMock) GetViewsSet(request *GetViewsSetRequest) (GetViewsSetResponse, error)
- func (client *VisAdminClientMock) GetViewsSets(request *GetViewsSetsRequest) (GetViewsSetsResponse, error)
- func (client *VisAdminClientMock) ListElements(request *ListElementsRequest) (ListElementsResponse, error)
- func (client *VisAdminClientMock) ListModels(request *ListModelsRequest) (ListModelsResponse, error)
- func (client *VisAdminClientMock) PostUpload(request *PostUploadRequest) (PostUploadResponse, error)
- func (client *VisAdminClientMock) ShowVehicleInView(request *ShowVehicleInViewRequest) (ShowVehicleInViewResponse, error)
Constants ¶
const ( GitCommit string = "3ffc6ace6671100b8a7deb8d14ba48a892d1d806" GitBranch string = "master" GitTag string = "v1.0.0" BuildTime string = "Tue Apr 14 14:14:33 CEST 2020" )
const (
ContentTypeTextPlain string = "text/plain"
)
const (
RequestHeaderKey contextKey = 1 + iota
)
Variables ¶
var ( NullError = errors.New("unexpected null value") TypeError = errors.New("unexpected type") )
var EmptyString = errors.New("string is empty")
Functions ¶
func NewHTTPStatusCodeError ¶
func NewHTTPStatusCodeError(status int) xHTTPError
Types ¶
type ActivateViewsSet200Response ¶
type ActivateViewsSet200Response struct{}
Success
func (*ActivateViewsSet200Response) StatusCode ¶
func (r *ActivateViewsSet200Response) StatusCode() int
type ActivateViewsSet403Response ¶
type ActivateViewsSet403Response struct{}
Not authenticated
func (*ActivateViewsSet403Response) StatusCode ¶
func (r *ActivateViewsSet403Response) StatusCode() int
type ActivateViewsSet404Response ¶
type ActivateViewsSet404Response struct{}
Not found
func (*ActivateViewsSet404Response) StatusCode ¶
func (r *ActivateViewsSet404Response) StatusCode() int
type ActivateViewsSetRequest ¶
type ActivateViewsSetResponse ¶
type ActivateViewsSetResponse interface { StatusCode() int // contains filtered or unexported methods }
type Address ¶
type Address struct { City string `bson:"city,required" json:"city,required" xml:"city,required"` Country string `bson:"country,required" json:"country,required" xml:"country,required"` HouseNumber string `bson:"houseNumber,required" json:"houseNumber,required" xml:"houseNumber,required"` PostalCode string `bson:"postalCode,required" json:"postalCode,required" xml:"postalCode,required"` Region string `bson:"region,required" json:"region,required" xml:"region,required"` Street string `bson:"street,required" json:"street,required" xml:"street,required"` }
type BasicTypes ¶
type BasicTypes struct { Boolean bool `bson:"boolean,required" json:"boolean,required" xml:"boolean,required"` Integer int64 `bson:"integer,required" json:"integer,required" xml:"integer,required"` Map map[string]string `bson:"map,required" json:"map,required" xml:"map,required"` Number float64 `bson:"number,required" json:"number,required" xml:"number,required"` Slice []string `bson:"slice,required" json:"slice,required" xml:"slice,required"` String string `bson:"string,required" json:"string,required" xml:"string,required"` }
type Booking ¶
type Booking struct {
BookingID *string `bson:"bookingID,omitempty" json:"bookingID,omitempty" xml:"bookingID,omitempty"`
}
type Client ¶
type Client struct { ActivePresets *string `bson:"activePresets,omitempty" json:"activePresets,omitempty" xml:"activePresets,omitempty"` Configuration Object1 `bson:"configuration,omitempty" json:"configuration,omitempty" xml:"configuration,omitempty"` Id string `bson:"id,required" json:"id,required" xml:"id,required"` Name string `bson:"name,required" json:"name,required" xml:"name,required"` }
type Code200Response ¶
type Code200Response struct {
Body string
}
TBD
func (*Code200Response) StatusCode ¶
func (r *Code200Response) StatusCode() int
type Code400Response ¶
type Code400Response struct{}
status 400
func (*Code400Response) StatusCode ¶
func (r *Code400Response) StatusCode() int
type Code401Response ¶
type Code401Response struct{}
Unauthorized Session code
func (*Code401Response) StatusCode ¶
func (r *Code401Response) StatusCode() int
type Code404Response ¶
type Code404Response struct{}
Resource Not Found
func (*Code404Response) StatusCode ¶
func (r *Code404Response) StatusCode() int
type Code500Response ¶
type Code500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*Code500Response) StatusCode ¶
func (r *Code500Response) StatusCode() int
type CodeRequest ¶
type CodeResponse ¶
type CodeResponse interface { StatusCode() int // contains filtered or unexported methods }
type ComponentTypes ¶
type ComponentTypes string
ID of the request in UUIDv4 format A list of component types separated by a comma case insensitive. If nothing is defined all component types are returned.
const ( ComponentTypesWHEELS ComponentTypes = "WHEELS" ComponentTypesPAINTS ComponentTypes = "PAINTS" ComponentTypesUPHOLSTERIES ComponentTypes = "UPHOLSTERIES" ComponentTypesTRIMS ComponentTypes = "TRIMS" ComponentTypesPACKAGES ComponentTypes = "PACKAGES" ComponentTypesLINES ComponentTypes = "LINES" ComponentTypesSPECIALEDITION ComponentTypes = "SPECIAL_EDITION" ComponentTypesSPECIALEQUIPMENT ComponentTypes = "SPECIAL_EQUIPMENT" )
type CreateCustomerSession201Response ¶
type CreateCustomerSession201Response struct {
Body Session
}
Session successful created
func (*CreateCustomerSession201Response) StatusCode ¶
func (r *CreateCustomerSession201Response) StatusCode() int
type CreateCustomerSession401Response ¶
type CreateCustomerSession401Response struct{}
Invalid OpenID authentication token
func (*CreateCustomerSession401Response) StatusCode ¶
func (r *CreateCustomerSession401Response) StatusCode() int
type CreateCustomerSession403Response ¶
type CreateCustomerSession403Response struct{}
Create session with authentication token is forbidden (e.g. Token already used)
func (*CreateCustomerSession403Response) StatusCode ¶
func (r *CreateCustomerSession403Response) StatusCode() int
type CreateCustomerSession422Response ¶
type CreateCustomerSession422Response struct {
Body ValidationErrors
}
Invalid request data
func (*CreateCustomerSession422Response) StatusCode ¶
func (r *CreateCustomerSession422Response) StatusCode() int
type CreateCustomerSession500Response ¶
type CreateCustomerSession500Response struct{}
Internal server error (e.g. unexpected condition occurred)
func (*CreateCustomerSession500Response) StatusCode ¶
func (r *CreateCustomerSession500Response) StatusCode() int
type CreateCustomerSessionResponse ¶
type CreateCustomerSessionResponse interface { StatusCode() int // contains filtered or unexported methods }
type CreateOrUpdateClient200Response ¶
type CreateOrUpdateClient200Response struct{}
Updated
func (*CreateOrUpdateClient200Response) StatusCode ¶
func (r *CreateOrUpdateClient200Response) StatusCode() int
type CreateOrUpdateClient201Response ¶
type CreateOrUpdateClient201Response struct{}
Created
func (*CreateOrUpdateClient201Response) StatusCode ¶
func (r *CreateOrUpdateClient201Response) StatusCode() int
type CreateOrUpdateClient400Response ¶
type CreateOrUpdateClient400Response struct{}
Malformed request body
func (*CreateOrUpdateClient400Response) StatusCode ¶
func (r *CreateOrUpdateClient400Response) StatusCode() int
type CreateOrUpdateClient403Response ¶
type CreateOrUpdateClient403Response struct{}
Not authenticated
func (*CreateOrUpdateClient403Response) StatusCode ¶
func (r *CreateOrUpdateClient403Response) StatusCode() int
type CreateOrUpdateClient405Response ¶
type CreateOrUpdateClient405Response struct{}
Not allowed
func (*CreateOrUpdateClient405Response) StatusCode ¶
func (r *CreateOrUpdateClient405Response) StatusCode() int
type CreateOrUpdateClientResponse ¶
type CreateOrUpdateClientResponse interface { StatusCode() int // contains filtered or unexported methods }
type CreateOrUpdateUser200Response ¶
type CreateOrUpdateUser200Response struct{}
Updated
func (*CreateOrUpdateUser200Response) StatusCode ¶
func (r *CreateOrUpdateUser200Response) StatusCode() int
type CreateOrUpdateUser201Response ¶
type CreateOrUpdateUser201Response struct{}
Created
func (*CreateOrUpdateUser201Response) StatusCode ¶
func (r *CreateOrUpdateUser201Response) StatusCode() int
type CreateOrUpdateUser400Response ¶
type CreateOrUpdateUser400Response struct{}
Malformed request body
func (*CreateOrUpdateUser400Response) StatusCode ¶
func (r *CreateOrUpdateUser400Response) StatusCode() int
type CreateOrUpdateUser403Response ¶
type CreateOrUpdateUser403Response struct{}
Not authenticated
func (*CreateOrUpdateUser403Response) StatusCode ¶
func (r *CreateOrUpdateUser403Response) StatusCode() int
type CreateOrUpdateUser405Response ¶
type CreateOrUpdateUser405Response struct{}
Not allowed
func (*CreateOrUpdateUser405Response) StatusCode ¶
func (r *CreateOrUpdateUser405Response) StatusCode() int
type CreateOrUpdateUserResponse ¶
type CreateOrUpdateUserResponse interface { StatusCode() int // contains filtered or unexported methods }
type CreateOrUpdateViewsSet200Response ¶
type CreateOrUpdateViewsSet200Response struct{}
Updated
func (*CreateOrUpdateViewsSet200Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet200Response) StatusCode() int
type CreateOrUpdateViewsSet201Response ¶
type CreateOrUpdateViewsSet201Response struct{}
Created
func (*CreateOrUpdateViewsSet201Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet201Response) StatusCode() int
type CreateOrUpdateViewsSet400Response ¶
type CreateOrUpdateViewsSet400Response struct{}
Malformed request body
func (*CreateOrUpdateViewsSet400Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet400Response) StatusCode() int
type CreateOrUpdateViewsSet403Response ¶
type CreateOrUpdateViewsSet403Response struct{}
Not authenticated
func (*CreateOrUpdateViewsSet403Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet403Response) StatusCode() int
type CreateOrUpdateViewsSet405Response ¶
type CreateOrUpdateViewsSet405Response struct{}
Not allowed
func (*CreateOrUpdateViewsSet405Response) StatusCode ¶
func (r *CreateOrUpdateViewsSet405Response) StatusCode() int
type CreateOrUpdateViewsSetResponse ¶
type CreateOrUpdateViewsSetResponse interface { StatusCode() int // contains filtered or unexported methods }
type CreateSession200Response ¶
type CreateSession200Response struct {
XAuth string
}
Authentication successful
func (*CreateSession200Response) StatusCode ¶
func (r *CreateSession200Response) StatusCode() int
type CreateSession400Response ¶
type CreateSession400Response struct {
Body ValidationErrors
}
Malformed request body
func (*CreateSession400Response) StatusCode ¶
func (r *CreateSession400Response) StatusCode() int
type CreateSession401Response ¶
type CreateSession401Response struct{}
Authentication not successful
func (*CreateSession401Response) StatusCode ¶
func (r *CreateSession401Response) StatusCode() int
type CreateSessionRequest ¶
type CreateSessionRequest struct {
Body Object2
}
type CreateSessionResponse ¶
type CreateSessionResponse interface { StatusCode() int // contains filtered or unexported methods }
type DeleteClient200Response ¶
type DeleteClient200Response struct{}
Success
func (*DeleteClient200Response) StatusCode ¶
func (r *DeleteClient200Response) StatusCode() int
type DeleteClient403Response ¶
type DeleteClient403Response struct{}
Not authenticated
func (*DeleteClient403Response) StatusCode ¶
func (r *DeleteClient403Response) StatusCode() int
type DeleteClient404Response ¶
type DeleteClient404Response struct{}
Not found
func (*DeleteClient404Response) StatusCode ¶
func (r *DeleteClient404Response) StatusCode() int
type DeleteClientRequest ¶
type DeleteClientResponse ¶
type DeleteClientResponse interface { StatusCode() int // contains filtered or unexported methods }
type DeleteCustomerSession204Response ¶
type DeleteCustomerSession204Response struct{}
Session successful deleted
func (*DeleteCustomerSession204Response) StatusCode ¶
func (r *DeleteCustomerSession204Response) StatusCode() int
type DeleteCustomerSession401Response ¶
type DeleteCustomerSession401Response struct{}
Invalid session token
func (*DeleteCustomerSession401Response) StatusCode ¶
func (r *DeleteCustomerSession401Response) StatusCode() int
type DeleteCustomerSession500Response ¶
type DeleteCustomerSession500Response struct{}
Internal server error (e.g. unexpected condition occurred)
func (*DeleteCustomerSession500Response) StatusCode ¶
func (r *DeleteCustomerSession500Response) StatusCode() int
type DeleteCustomerSessionResponse ¶
type DeleteCustomerSessionResponse interface { StatusCode() int // contains filtered or unexported methods }
type DeleteUser200Response ¶
type DeleteUser200Response struct{}
Success
func (*DeleteUser200Response) StatusCode ¶
func (r *DeleteUser200Response) StatusCode() int
type DeleteUser403Response ¶
type DeleteUser403Response struct{}
Not authenticated
func (*DeleteUser403Response) StatusCode ¶
func (r *DeleteUser403Response) StatusCode() int
type DeleteUser404Response ¶
type DeleteUser404Response struct{}
Not found
func (*DeleteUser404Response) StatusCode ¶
func (r *DeleteUser404Response) StatusCode() int
type DeleteUserRequest ¶
type DeleteUserResponse ¶
type DeleteUserResponse interface { StatusCode() int // contains filtered or unexported methods }
type DeleteViewsSet200Response ¶
type DeleteViewsSet200Response struct{}
Success
func (*DeleteViewsSet200Response) StatusCode ¶
func (r *DeleteViewsSet200Response) StatusCode() int
type DeleteViewsSet403Response ¶
type DeleteViewsSet403Response struct{}
Not authenticated
func (*DeleteViewsSet403Response) StatusCode ¶
func (r *DeleteViewsSet403Response) StatusCode() int
type DeleteViewsSet404Response ¶
type DeleteViewsSet404Response struct{}
Not found
func (*DeleteViewsSet404Response) StatusCode ¶
func (r *DeleteViewsSet404Response) StatusCode() int
type DeleteViewsSetRequest ¶
type DeleteViewsSetResponse ¶
type DeleteViewsSetResponse interface { StatusCode() int // contains filtered or unexported methods }
type DestroySession200Response ¶
type DestroySession200Response struct{}
Session destroyed
func (*DestroySession200Response) StatusCode ¶
func (r *DestroySession200Response) StatusCode() int
type DestroySession404Response ¶
type DestroySession404Response struct{}
Session not found
func (*DestroySession404Response) StatusCode ¶
func (r *DestroySession404Response) StatusCode() int
type DestroySessionRequest ¶
type DestroySessionRequest struct {
XAuth string
}
type DestroySessionResponse ¶
type DestroySessionResponse interface { StatusCode() int // contains filtered or unexported methods }
type DownloadFile200Response ¶
type DownloadFile200Response struct { Body io.ReadCloser ContentType string }
file to download
func (*DownloadFile200Response) StatusCode ¶
func (r *DownloadFile200Response) StatusCode() int
type DownloadFileRequest ¶
type DownloadFileRequest struct {
File string
}
type DownloadFileResponse ¶
type DownloadFileResponse interface { StatusCode() int // contains filtered or unexported methods }
type DownloadImage200Response ¶
type DownloadImage200Response struct { Body io.ReadCloser ContentType string }
image to download
func (*DownloadImage200Response) StatusCode ¶
func (r *DownloadImage200Response) StatusCode() int
type DownloadImage500Response ¶
type DownloadImage500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*DownloadImage500Response) StatusCode ¶
func (r *DownloadImage500Response) StatusCode() int
type DownloadImageRequest ¶
type DownloadImageRequest struct {
Image string
}
type DownloadImageResponse ¶
type DownloadImageResponse interface { StatusCode() int // contains filtered or unexported methods }
type DownloadNestedFile200Response ¶
type DownloadNestedFile200Response struct {
Body NestedFileStructure
}
Nested file structure
func (*DownloadNestedFile200Response) StatusCode ¶
func (r *DownloadNestedFile200Response) StatusCode() int
type DownloadNestedFileRequest ¶
type DownloadNestedFileRequest struct{}
type DownloadNestedFileResponse ¶
type DownloadNestedFileResponse interface { StatusCode() int // contains filtered or unexported methods }
type DriveConcept ¶
type DriveConcept string
The kind of drive concept of a vehicle. Where UNDEFINED is used as the default and/or error case.
const ( DriveConceptCOMBUSTOR DriveConcept = "COMBUSTOR" DriveConceptHYBRID DriveConcept = "HYBRID" DriveConceptELECTRIC DriveConcept = "ELECTRIC" DriveConceptFUELCELL DriveConcept = "FUELCELL" DriveConceptUNDEFINED DriveConcept = "UNDEFINED" )
type EmptySlice ¶
type EmptySlice struct {
EmptySlice []Price `bson:"EmptySlice,omitempty" json:"EmptySlice,omitempty" validate:"omitempty,gt=0,dive" xml:"EmptySlice,omitempty"`
}
type ErrorHandler ¶
type ErrorHandler func(v ...interface{})
type GenericFileDownload200Response ¶
type GenericFileDownload200Response struct { Body io.ReadCloser ContentType string Pragma string }
file to download
func (*GenericFileDownload200Response) StatusCode ¶
func (r *GenericFileDownload200Response) StatusCode() int
type GenericFileDownload500Response ¶
type GenericFileDownload500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*GenericFileDownload500Response) StatusCode ¶
func (r *GenericFileDownload500Response) StatusCode() int
type GenericFileDownloadRequest ¶
type GenericFileDownloadRequest struct {
Ext string
}
type GenericFileDownloadResponse ¶
type GenericFileDownloadResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetBooking200Response ¶
type GetBooking200Response struct {
Body string
}
status 200
func (*GetBooking200Response) StatusCode ¶
func (r *GetBooking200Response) StatusCode() int
type GetBooking400Response ¶
type GetBooking400Response struct{}
status 400
func (*GetBooking400Response) StatusCode ¶
func (r *GetBooking400Response) StatusCode() int
type GetBooking401Response ¶
type GetBooking401Response struct{}
Unauthorized Session Token
func (*GetBooking401Response) StatusCode ¶
func (r *GetBooking401Response) StatusCode() int
type GetBooking404Response ¶
type GetBooking404Response struct{}
Resource Not Found
func (*GetBooking404Response) StatusCode ¶
func (r *GetBooking404Response) StatusCode() int
type GetBooking500Response ¶
type GetBooking500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*GetBooking500Response) StatusCode ¶
func (r *GetBooking500Response) StatusCode() int
type GetBookingRequest ¶
type GetBookingRequest struct {
XSessionID string
}
type GetBookingResponse ¶
type GetBookingResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetBookings200Response ¶
type GetBookings200Response struct {
Body []Booking `validate:"dive"`
}
Success List Booking History
func (*GetBookings200Response) StatusCode ¶
func (r *GetBookings200Response) StatusCode() int
type GetBookings400Response ¶
type GetBookings400Response struct{}
status 400
func (*GetBookings400Response) StatusCode ¶
func (r *GetBookings400Response) StatusCode() int
type GetBookings401Response ¶
type GetBookings401Response struct{}
Unauthorized Session Token
func (*GetBookings401Response) StatusCode ¶
func (r *GetBookings401Response) StatusCode() int
type GetBookings404Response ¶
type GetBookings404Response struct{}
Resource Not Found
func (*GetBookings404Response) StatusCode ¶
func (r *GetBookings404Response) StatusCode() int
type GetBookings500Response ¶
type GetBookings500Response struct{}
Malfunction (internal requirements not fulfilled)
func (*GetBookings500Response) StatusCode ¶
func (r *GetBookings500Response) StatusCode() int
type GetBookingsRequest ¶
type GetBookingsResponse ¶
type GetBookingsResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetClasses200Response ¶
type GetClasses200Response struct {
Body string
}
Successful response
func (*GetClasses200Response) StatusCode ¶
func (r *GetClasses200Response) StatusCode() int
type GetClasses400Response ¶
type GetClasses400Response struct {
Body string
}
Successful response
func (*GetClasses400Response) StatusCode ¶
func (r *GetClasses400Response) StatusCode() int
type GetClassesRequest ¶
type GetClassesRequest struct { ProductGroup ProductGroup ComponentTypes []ComponentTypes }
type GetClassesResponse ¶
type GetClassesResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetClient200Response ¶
type GetClient200Response struct {
Body Client
}
Success
func (*GetClient200Response) StatusCode ¶
func (r *GetClient200Response) StatusCode() int
type GetClient403Response ¶
type GetClient403Response struct{}
Not authenticated
func (*GetClient403Response) StatusCode ¶
func (r *GetClient403Response) StatusCode() int
type GetClient404Response ¶
type GetClient404Response struct{}
Not found
func (*GetClient404Response) StatusCode ¶
func (r *GetClient404Response) StatusCode() int
type GetClientRequest ¶
type GetClientResponse ¶
type GetClientResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetClients200Response ¶
type GetClients200Response struct {
Body []Client `validate:"dive"`
}
Status 200
func (*GetClients200Response) StatusCode ¶
func (r *GetClients200Response) StatusCode() int
type GetClients204Response ¶
type GetClients204Response struct{}
Status 201
func (*GetClients204Response) StatusCode ¶
func (r *GetClients204Response) StatusCode() int
type GetClients403Response ¶
type GetClients403Response struct{}
Not authenticated
func (*GetClients403Response) StatusCode ¶
func (r *GetClients403Response) StatusCode() int
type GetClientsRequest ¶
type GetClientsRequest struct {
XAuth string
}
type GetClientsResponse ¶
type GetClientsResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetPermissions200Response ¶
type GetPermissions200Response struct {
Body []string
}
Status 200
func (*GetPermissions200Response) StatusCode ¶
func (r *GetPermissions200Response) StatusCode() int
type GetPermissions403Response ¶
type GetPermissions403Response struct{}
Not authenticated
func (*GetPermissions403Response) StatusCode ¶
func (r *GetPermissions403Response) StatusCode() int
type GetPermissionsRequest ¶
type GetPermissionsRequest struct {
XAuth string
}
type GetPermissionsResponse ¶
type GetPermissionsResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetRental200Response ¶
type GetRental200Response struct{}
status 200
func (*GetRental200Response) StatusCode ¶
func (r *GetRental200Response) StatusCode() int
type GetRental400Response ¶
type GetRental400Response struct {
Body ValidationErrors
}
status 400
func (*GetRental400Response) StatusCode ¶
func (r *GetRental400Response) StatusCode() int
type GetRentalRequest ¶
type GetRentalRequest struct {
Body Rental
}
type GetRentalResponse ¶
type GetRentalResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetShoes200Response ¶
type GetShoes200Response struct {
Body Shoes
}
Successful
func (*GetShoes200Response) StatusCode ¶
func (r *GetShoes200Response) StatusCode() int
type GetShoesRequest ¶
type GetShoesRequest struct{}
type GetShoesResponse ¶
type GetShoesResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetUser200Response ¶
type GetUser200Response struct {
Body User
}
Success
func (*GetUser200Response) StatusCode ¶
func (r *GetUser200Response) StatusCode() int
type GetUser403Response ¶
type GetUser403Response struct{}
Not authenticated
func (*GetUser403Response) StatusCode ¶
func (r *GetUser403Response) StatusCode() int
type GetUser404Response ¶
type GetUser404Response struct{}
Not found
func (*GetUser404Response) StatusCode ¶
func (r *GetUser404Response) StatusCode() int
type GetUserInfo200Response ¶
type GetUserInfo200Response struct {
Body User
}
Status 200
func (*GetUserInfo200Response) StatusCode ¶
func (r *GetUserInfo200Response) StatusCode() int
type GetUserInfo400Response ¶
type GetUserInfo400Response struct {
Body ValidationErrors
}
Malformed request body
func (*GetUserInfo400Response) StatusCode ¶
func (r *GetUserInfo400Response) StatusCode() int
type GetUserInfo403Response ¶
type GetUserInfo403Response struct{}
Not authenticatedq
func (*GetUserInfo403Response) StatusCode ¶
func (r *GetUserInfo403Response) StatusCode() int
type GetUserInfoRequest ¶
type GetUserInfoResponse ¶
type GetUserInfoResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetUserRequest ¶
type GetUserResponse ¶
type GetUserResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetUsers200Response ¶
type GetUsers200Response struct {
Body []User `validate:"dive"`
}
Success
func (*GetUsers200Response) StatusCode ¶
func (r *GetUsers200Response) StatusCode() int
type GetUsers403Response ¶
type GetUsers403Response struct{}
Not authenticated
func (*GetUsers403Response) StatusCode ¶
func (r *GetUsers403Response) StatusCode() int
type GetUsersRequest ¶
type GetUsersRequest struct {
XAuth string
}
type GetUsersResponse ¶
type GetUsersResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetViewsSet200Response ¶
type GetViewsSet200Response struct {
Body ViewsSet
}
Success
func (*GetViewsSet200Response) StatusCode ¶
func (r *GetViewsSet200Response) StatusCode() int
type GetViewsSet403Response ¶
type GetViewsSet403Response struct{}
Not authenticated
func (*GetViewsSet403Response) StatusCode ¶
func (r *GetViewsSet403Response) StatusCode() int
type GetViewsSet404Response ¶
type GetViewsSet404Response struct{}
Not found
func (*GetViewsSet404Response) StatusCode ¶
func (r *GetViewsSet404Response) StatusCode() int
type GetViewsSetRequest ¶
type GetViewsSetResponse ¶
type GetViewsSetResponse interface { StatusCode() int // contains filtered or unexported methods }
type GetViewsSets200Response ¶
type GetViewsSets200Response struct {
Body []ViewsSet `validate:"dive"`
}
Success
func (*GetViewsSets200Response) StatusCode ¶
func (r *GetViewsSets200Response) StatusCode() int
type GetViewsSets403Response ¶
type GetViewsSets403Response struct{}
Not authenticated
func (*GetViewsSets403Response) StatusCode ¶
func (r *GetViewsSets403Response) StatusCode() int
type GetViewsSetsRequest ¶
type GetViewsSetsResponse ¶
type GetViewsSetsResponse interface { StatusCode() int // contains filtered or unexported methods }
type HooksClient ¶
type HooksClient struct {
OnUnknownResponseCode func(response *http.Response, request *http.Request) string
}
func DevHook ¶
func DevHook() HooksClient
type HttpContext ¶
type HttpJsonError ¶
type HttpJsonError struct { Message interface{} // contains filtered or unexported fields }
func (*HttpJsonError) Error ¶
func (e *HttpJsonError) Error() string
func (*HttpJsonError) StatusCode ¶
func (e *HttpJsonError) StatusCode() int
type Link ¶
type Link struct {
Href string `bson:"href,required" json:"href,required" xml:"href,required"`
}
type Links ¶
type Links struct {
Self Link `bson:"self,required" json:"self,required" xml:"self,required"`
}
type ListElements200Response ¶
Status 200
func (*ListElements200Response) StatusCode ¶
func (r *ListElements200Response) StatusCode() int
type ListElements500Response ¶
type ListElements500Response struct{}
Status 500
func (*ListElements500Response) StatusCode ¶
func (r *ListElements500Response) StatusCode() int
type ListElementsRequest ¶
type ListElementsResponse ¶
type ListElementsResponse interface { StatusCode() int // contains filtered or unexported methods }
type ListModels200Response ¶
type ListModels200Response struct {
Body []Model `validate:"dive"`
}
Ok
func (*ListModels200Response) StatusCode ¶
func (r *ListModels200Response) StatusCode() int
type ListModelsRequest ¶
type ListModelsResponse ¶
type ListModelsResponse interface { StatusCode() int // contains filtered or unexported methods }
type Middleware ¶
type Middleware struct { Handler routing.Handler After bool }
type MimeFile ¶
type MimeFile struct { Header *multipart.FileHeader Content io.ReadCloser }
type Model ¶
type Model struct { DriveConcept *DriveConcept `bson:"driveConcept,omitempty" json:"driveConcept,omitempty" xml:"driveConcept,omitempty"` Price Price `bson:"price,required" json:"price,required" xml:"price,required"` TechnicalInformation TechnicalInformation `bson:"technicalInformation,required" json:"technicalInformation,required" xml:"technicalInformation,required"` }
type NestedFileStructure ¶
type NestedFileStructure struct {
Data *string `bson:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}
type Object1 ¶
type Object1 struct { BbdCEBaseUrl *string `bson:"bbdCEBaseUrl,omitempty" json:"bbdCEBaseUrl,omitempty" xml:"bbdCEBaseUrl,omitempty"` BbdCallerIdentifier *string `bson:"bbdCallerIdentifier,omitempty" json:"bbdCallerIdentifier,omitempty" xml:"bbdCallerIdentifier,omitempty"` BbdDataSupply *string `bson:"bbdDataSupply,omitempty" json:"bbdDataSupply,omitempty" xml:"bbdDataSupply,omitempty"` BbdImageBackground *string `bson:"bbdImageBackground,omitempty" json:"bbdImageBackground,omitempty" xml:"bbdImageBackground,omitempty"` BbdImagePerspective *string `bson:"bbdImagePerspective,omitempty" json:"bbdImagePerspective,omitempty" xml:"bbdImagePerspective,omitempty"` BbdImageType *string `bson:"bbdImageType,omitempty" json:"bbdImageType,omitempty" xml:"bbdImageType,omitempty"` BbdPassword *string `bson:"bbdPassword,omitempty" json:"bbdPassword,omitempty" xml:"bbdPassword,omitempty"` BbdProductGroup *string `bson:"bbdProductGroup,omitempty" json:"bbdProductGroup,omitempty" xml:"bbdProductGroup,omitempty"` BbdSoapMediaProviderUrl *string `bson:"bbdSoapMediaProviderUrl,omitempty" json:"bbdSoapMediaProviderUrl,omitempty" xml:"bbdSoapMediaProviderUrl,omitempty"` BbdUser *string `bson:"bbdUser,omitempty" json:"bbdUser,omitempty" xml:"bbdUser,omitempty"` CcoreServiceUrl *string `bson:"ccoreServiceUrl,omitempty" json:"ccoreServiceUrl,omitempty" xml:"ccoreServiceUrl,omitempty"` CryptKeys []string `bson:"cryptKeys,omitempty" json:"cryptKeys,omitempty" xml:"cryptKeys,omitempty"` HealConfigurations *bool `bson:"healConfigurations,omitempty" json:"healConfigurations,omitempty" xml:"healConfigurations,omitempty"` }
type Opts ¶
type Opts struct { Hooks HooksClient Ctx context.Context }
type PostUpload200Response ¶
type PostUpload200Response struct{}
Status 200
func (*PostUpload200Response) StatusCode ¶
func (r *PostUpload200Response) StatusCode() int
type PostUpload500Response ¶
type PostUpload500Response struct{}
Status 500
func (*PostUpload500Response) StatusCode ¶
func (r *PostUpload500Response) StatusCode() int
type PostUploadRequest ¶
type PostUploadRequest struct {
FormData PostUploadRequestFormData
}
type PostUploadResponse ¶
type PostUploadResponse interface { StatusCode() int // contains filtered or unexported methods }
type ProductGroup ¶
type ProductGroup string
The productGroup of a vehicle case insensitive.
const ( ProductGroupPKW ProductGroup = "PKW" ProductGroupGELAENDEWAGEN ProductGroup = "GELAENDEWAGEN" ProductGroupVAN ProductGroup = "VAN" ProductGroupSPRINTER ProductGroup = "SPRINTER" ProductGroupCITAN ProductGroup = "CITAN" ProductGroupSMART ProductGroup = "SMART" )
type PrometheusHandler ¶
type PrometheusHandler struct {
// contains filtered or unexported fields
}
func NewPrometheusHandler ¶
func NewPrometheusHandler(namespace *string) *PrometheusHandler
func (*PrometheusHandler) HandleRequest ¶
func (h *PrometheusHandler) HandleRequest(path, method string, status int, duration time.Duration)
func (*PrometheusHandler) InitMetric ¶
func (h *PrometheusHandler) InitMetric(path, method string)
type Rental ¶
type Rental struct { Class string `bson:"class,required" json:"class,required" validate:"min=3,max=20" xml:"class,required"` Color *string `bson:"color,omitempty" json:"color,omitempty" validate:"omitempty,min=3,max=20" xml:"color,omitempty"` HomeID *string `bson:"homeID,omitempty" json:"homeID,omitempty" validate:"omitempty,regex1" xml:"homeID,omitempty"` Id string `bson:"id,required" json:"id,required" validate:"regex2" xml:"id,required"` IdOptional *string `bson:"idOptional,omitempty" json:"idOptional,omitempty" validate:"omitempty,regex3" xml:"idOptional,omitempty"` LockStatus int32 `bson:"lockStatus,required" json:"lockStatus,required" validate:"min=1,max=100" xml:"lockStatus,required"` MaxDoors int64 `bson:"maxDoors,required" json:"maxDoors,required" validate:"max=5" xml:"maxDoors,required"` MinDoors int64 `bson:"minDoors,required" json:"minDoors,required" validate:"min=5" xml:"minDoors,required"` OptionalInt *int64 `bson:"optionalInt,omitempty" json:"optionalInt,omitempty" xml:"optionalInt,omitempty"` State *int64 `bson:"state,omitempty" json:"state,omitempty" xml:"state,omitempty"` StationID string `bson:"stationID,required" json:"stationID,required" validate:"regex4" xml:"stationID,required"` Status int64 `bson:"status,required" json:"status,required" validate:"min=46,max=49" xml:"status,required"` Valid *string `bson:"valid,omitempty" json:"valid,omitempty" validate:"omitempty,max=255" xml:"valid,omitempty"` Website string `bson:"website,required" json:"website,required" validate:"regex5" xml:"website,required"` WebsiteOptional *string `` /* 133-byte string literal not displayed */ }
type RouteDescription ¶
type RouteDescription struct { Path string Handler routing.Handler Middleware []Middleware Method string }
type Server ¶
type Server struct { ErrorLogger func(v ...interface{}) SwaggerSpec string Router *routing.Router OnStart func(router *routing.Router) // contains filtered or unexported fields }
type ServerOpts ¶
type ServerOpts struct { ErrorHandler ErrorHandler Middleware []Middleware OnStart func(router *routing.Router) }
type Shoe ¶
type Shoe struct { Links Links `bson:"_links,required" json:"_links,required" xml:"_links,required"` Color string `bson:"color,required" json:"color,required" xml:"color,required"` Name string `bson:"name,required" json:"name,required" xml:"name,required"` Size float64 `bson:"size,required" json:"size,required" xml:"size,required"` }
type Shoes ¶
type Shoes struct { Embedded ShoesEmbedded `bson:"_embedded,required" json:"_embedded,required" xml:"_embedded,required"` Links Links `bson:"_links,required" json:"_links,required" xml:"_links,required"` Id string `bson:"id,required" json:"id,required" xml:"id,required"` }
type ShoesEmbedded ¶
type ShoesEmbedded struct {
ShopShoes []Shoe `bson:"shop:shoes,required" json:"shop:shoes,required" validate:"dive" xml:"shop:shoes,required"`
}
type ShowVehicleInView200Response ¶
type ShowVehicleInView200Response struct{}
Success
func (*ShowVehicleInView200Response) StatusCode ¶
func (r *ShowVehicleInView200Response) StatusCode() int
type ShowVehicleInView403Response ¶
type ShowVehicleInView403Response struct{}
Not authenticated
func (*ShowVehicleInView403Response) StatusCode ¶
func (r *ShowVehicleInView403Response) StatusCode() int
type ShowVehicleInView404Response ¶
type ShowVehicleInView404Response struct{}
Not found
func (*ShowVehicleInView404Response) StatusCode ¶
func (r *ShowVehicleInView404Response) StatusCode() int
type ShowVehicleInViewResponse ¶
type ShowVehicleInViewResponse interface { StatusCode() int // contains filtered or unexported methods }
type TechnicalInformation ¶
type TechnicalInformation struct {
Transmission string `bson:"transmission,required" json:"transmission,required" xml:"transmission,required"`
}
type User ¶
type User struct { Address []Address `bson:"Address,omitempty" json:"Address,omitempty" validate:"omitempty,gt=0,dive" xml:"Address,omitempty"` Email *string `bson:"email,omitempty" json:"email,omitempty" validate:"omitempty,email,max=255" xml:"email,omitempty"` GrantedProtocolMappers map[string]string `bson:"grantedProtocolMappers,omitempty" json:"grantedProtocolMappers,omitempty" xml:"grantedProtocolMappers,omitempty"` Id string `bson:"id,required" json:"id,required" xml:"id,required"` Password string `bson:"password,required" json:"password,required" xml:"password,required"` Permissions []string `bson:"permissions,omitempty" json:"permissions,omitempty" xml:"permissions,omitempty"` }
type ValidationError ¶
type ValidationErrorObject ¶
type ValidationErrors ¶
type ValidationErrors struct { Errors []ValidationError `bson:"Errors,omitempty" json:"Errors,omitempty" validate:"omitempty,gt=0,dive" xml:"Errors,omitempty"` Message *string `bson:"Message,omitempty" json:"Message,omitempty" xml:"Message,omitempty"` }
type ValidationErrorsObject ¶
type ValidationErrorsObject struct { Message string `json:"message"` Errors []ValidationErrorObject `json:"errors"` }
type Validator ¶
func NewValidation ¶
func NewValidation() *Validator
func (*Validator) ValidateRequest ¶
func (v *Validator) ValidateRequest(request interface{}) (*ValidationErrorsObject, error)
type VersionInfo ¶
type VersionInfo struct { GoVersion string `json:"go_version"` GitTag string `json:"git_tag"` GitCommit string `json:"git_commit"` GitBranch string `json:"git_branch"` BuildTime string `json:"build_time"` }
func ApikitVersion ¶
func ApikitVersion() *VersionInfo
func (*VersionInfo) PrintTable ¶
func (vi *VersionInfo) PrintTable() error
type VisAdminClientMock ¶
type VisAdminClientMock struct { GetClientsStatusCode int DeleteClientStatusCode int GetClientStatusCode int CreateOrUpdateClientStatusCode int GetViewsSetsStatusCode int DeleteViewsSetStatusCode int GetViewsSetStatusCode int ActivateViewsSetStatusCode int CreateOrUpdateViewsSetStatusCode int ShowVehicleInViewStatusCode int GetPermissionsStatusCode int DestroySessionStatusCode int GetUserInfoStatusCode int CreateSessionStatusCode int GetUsersStatusCode int DeleteUserStatusCode int GetUserStatusCode int CreateOrUpdateUserStatusCode int GetBookingStatusCode int GetBookingsStatusCode int ListModelsStatusCode int GetClassesStatusCode int CodeStatusCode int DeleteCustomerSessionStatusCode int CreateCustomerSessionStatusCode int DownloadNestedFileStatusCode int DownloadImageStatusCode int ListElementsStatusCode int DownloadFileStatusCode int GenericFileDownloadStatusCode int GetRentalStatusCode int PostUploadStatusCode int }
func NewVisAdminClientMock ¶
func (*VisAdminClientMock) ActivateViewsSet ¶
func (client *VisAdminClientMock) ActivateViewsSet(request *ActivateViewsSetRequest) (ActivateViewsSetResponse, error)
Make this viewset the active one for the client.
func (*VisAdminClientMock) Code ¶
func (client *VisAdminClientMock) Code(request *CodeRequest) (CodeResponse, error)
func (*VisAdminClientMock) CreateCustomerSession ¶
func (client *VisAdminClientMock) CreateCustomerSession(request *CreateCustomerSessionRequest) (CreateCustomerSessionResponse, error)
Creates a customer session for a given OpenID authentication token.
func (*VisAdminClientMock) CreateOrUpdateClient ¶
func (client *VisAdminClientMock) CreateOrUpdateClient(request *CreateOrUpdateClientRequest) (CreateOrUpdateClientResponse, error)
func (*VisAdminClientMock) CreateOrUpdateUser ¶
func (client *VisAdminClientMock) CreateOrUpdateUser(request *CreateOrUpdateUserRequest) (CreateOrUpdateUserResponse, error)
func (*VisAdminClientMock) CreateOrUpdateViewsSet ¶
func (client *VisAdminClientMock) CreateOrUpdateViewsSet(request *CreateOrUpdateViewsSetRequest) (CreateOrUpdateViewsSetResponse, error)
func (*VisAdminClientMock) CreateSession ¶
func (client *VisAdminClientMock) CreateSession(request *CreateSessionRequest) (CreateSessionResponse, error)
func (*VisAdminClientMock) DeleteClient ¶
func (client *VisAdminClientMock) DeleteClient(request *DeleteClientRequest) (DeleteClientResponse, error)
func (*VisAdminClientMock) DeleteCustomerSession ¶
func (client *VisAdminClientMock) DeleteCustomerSession(request *DeleteCustomerSessionRequest) (DeleteCustomerSessionResponse, error)
Deletes the user session matching the *X-Auth* header.
func (*VisAdminClientMock) DeleteUser ¶
func (client *VisAdminClientMock) DeleteUser(request *DeleteUserRequest) (DeleteUserResponse, error)
func (*VisAdminClientMock) DeleteViewsSet ¶
func (client *VisAdminClientMock) DeleteViewsSet(request *DeleteViewsSetRequest) (DeleteViewsSetResponse, error)
func (*VisAdminClientMock) DestroySession ¶
func (client *VisAdminClientMock) DestroySession(request *DestroySessionRequest) (DestroySessionResponse, error)
func (*VisAdminClientMock) DownloadFile ¶
func (client *VisAdminClientMock) DownloadFile(request *DownloadFileRequest) (DownloadFileResponse, error)
Retrieve a file
func (*VisAdminClientMock) DownloadImage ¶
func (client *VisAdminClientMock) DownloadImage(request *DownloadImageRequest) (DownloadImageResponse, error)
Retrieve a image
func (*VisAdminClientMock) DownloadNestedFile ¶
func (client *VisAdminClientMock) DownloadNestedFile(request *DownloadNestedFileRequest) (DownloadNestedFileResponse, error)
Downloads a file that is a property within a nested structure in the response body
func (*VisAdminClientMock) GenericFileDownload ¶
func (client *VisAdminClientMock) GenericFileDownload(request *GenericFileDownloadRequest) (GenericFileDownloadResponse, error)
Retrieve a file
func (*VisAdminClientMock) GetBooking ¶
func (client *VisAdminClientMock) GetBooking(request *GetBookingRequest) (GetBookingResponse, error)
Get booking of session owner
func (*VisAdminClientMock) GetBookings ¶
func (client *VisAdminClientMock) GetBookings(request *GetBookingsRequest) (GetBookingsResponse, error)
Get bookings of session owner
func (*VisAdminClientMock) GetClasses ¶
func (client *VisAdminClientMock) GetClasses(request *GetClassesRequest) (GetClassesResponse, error)
func (*VisAdminClientMock) GetClient ¶
func (client *VisAdminClientMock) GetClient(request *GetClientRequest) (GetClientResponse, error)
func (*VisAdminClientMock) GetClients ¶
func (client *VisAdminClientMock) GetClients(request *GetClientsRequest) (GetClientsResponse, error)
func (*VisAdminClientMock) GetPermissions ¶
func (client *VisAdminClientMock) GetPermissions(request *GetPermissionsRequest) (GetPermissionsResponse, error)
Get the list of permissions a user can grant to other users.
func (*VisAdminClientMock) GetRental ¶
func (client *VisAdminClientMock) GetRental(request *GetRentalRequest) (GetRentalResponse, error)
get rental
func (*VisAdminClientMock) GetUser ¶
func (client *VisAdminClientMock) GetUser(request *GetUserRequest) (GetUserResponse, error)
func (*VisAdminClientMock) GetUserInfo ¶
func (client *VisAdminClientMock) GetUserInfo(request *GetUserInfoRequest) (GetUserInfoResponse, error)
func (*VisAdminClientMock) GetUsers ¶
func (client *VisAdminClientMock) GetUsers(request *GetUsersRequest) (GetUsersResponse, error)
func (*VisAdminClientMock) GetViewsSet ¶
func (client *VisAdminClientMock) GetViewsSet(request *GetViewsSetRequest) (GetViewsSetResponse, error)
func (*VisAdminClientMock) GetViewsSets ¶
func (client *VisAdminClientMock) GetViewsSets(request *GetViewsSetsRequest) (GetViewsSetsResponse, error)
func (*VisAdminClientMock) ListElements ¶
func (client *VisAdminClientMock) ListElements(request *ListElementsRequest) (ListElementsResponse, error)
func (*VisAdminClientMock) ListModels ¶
func (client *VisAdminClientMock) ListModels(request *ListModelsRequest) (ListModelsResponse, error)
func (*VisAdminClientMock) PostUpload ¶
func (client *VisAdminClientMock) PostUpload(request *PostUploadRequest) (PostUploadResponse, error)
func (*VisAdminClientMock) ShowVehicleInView ¶
func (client *VisAdminClientMock) ShowVehicleInView(request *ShowVehicleInViewRequest) (ShowVehicleInViewResponse, error)