api

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2020 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitCommit string = "3ffc6ace6671100b8a7deb8d14ba48a892d1d806"
	GitBranch string = "master"
	GitTag    string = "v1.0.0"
	BuildTime string = "Tue Apr 14 14:14:33 CEST 2020"
)
View Source
const (
	ContentTypeTextPlain string = "text/plain"
)
View Source
const (
	RequestHeaderKey contextKey = 1 + iota
)

Variables

View Source
var (
	NullError = errors.New("unexpected null value")
	TypeError = errors.New("unexpected type")
)
View Source
var EmptyString = errors.New("string is empty")

Functions

func CreateHttpContext

func CreateHttpContext(header http.Header) context.Context

func JSON

func JSON(r io.Reader, v interface{}, required bool) (err error)

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 ActivateViewsSetRequest struct {
	ClientId string
	ViewsId  string
	XAuth    string
}

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 CodeRequest struct {
	Session      string
	State        []int64
	ResponseMode *string
	Code         string
}

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 CreateCustomerSessionRequest

type CreateCustomerSessionRequest struct {
	XRequestID *string
	Code       string  `validate:"max=255"`
	Locale     *string `validate:"omitempty,regex7,max=255"`
}

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 CreateOrUpdateClientRequest

type CreateOrUpdateClientRequest struct {
	ClientId string
	XAuth    string
	Body     Client
}

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 CreateOrUpdateUserRequest

type CreateOrUpdateUserRequest struct {
	UserId  string
	AllKeys *bool
	XAuth   string
	Body    User
}

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 CreateOrUpdateViewsSetRequest

type CreateOrUpdateViewsSetRequest struct {
	ClientId string
	ViewsId  string
	XAuth    string
	Body     ViewsSet
}

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 DeleteClientRequest struct {
	ClientId string
	XAuth    string
}

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 DeleteCustomerSessionRequest

type DeleteCustomerSessionRequest struct {
	XRequestID *string
	XSessionID string
}

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 DeleteUserRequest struct {
	UserId  string
	AllKeys *bool
	XAuth   string
}

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 DeleteViewsSetRequest struct {
	ClientId string
	ViewsId  string
	XAuth    string
}

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 GetBookingsRequest struct {
	Ids        []int64
	Date       *string
	XSessionID string
}

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 GetClientRequest struct {
	ClientId string
	XAuth    string
}

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 GetUserInfoRequest struct {
	XAuth string `validate:"max=255"`
	SubID *int64 `validate:"omitempty,max=255"`
}

type GetUserInfoResponse

type GetUserInfoResponse interface {
	StatusCode() int
	// contains filtered or unexported methods
}

type GetUserRequest

type GetUserRequest struct {
	UserId  string
	AllKeys *bool
	XAuth   string
}

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 GetViewsSetRequest struct {
	ClientId string
	ViewsId  string
	Page     string
	XAuth    string
}

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 GetViewsSetsRequest struct {
	ClientId string
	XAuth    string
}

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 HttpContext interface {
	GetHTTPRequestHeaders() (http.Header, bool)
}

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 struct {
	Href string `bson:"href,required" json:"href,required" xml:"href,required"`
}
type Links struct {
	Self Link `bson:"self,required" json:"self,required" xml:"self,required"`
}

type ListElements200Response

type ListElements200Response struct {
	Body        string
	XTotalCount int64
}

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 ListElementsRequest struct {
	Page    *int64
	PerPage *int64
}

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 ListModelsRequest struct {
	BrandId      string
	DriveConcept *DriveConcept
	LanguageId   *string
	ClassId      *string
	LineId       *string
	Ids          []int64
}

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 NewRequest

type NewRequest func(string, io.Reader) (*http.Request, error)

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 Object2

type Object2 struct {
	Id       string `bson:"id,required" json:"id,required" validate:"min=1" xml:"id,required"`
	Password string `bson:"password,required" json:"password,required" validate:"min=1" xml:"password,required"`
}

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 PostUploadRequestFormData

type PostUploadRequestFormData struct {
	Upfile *MimeFile
	Note   *string
}

type PostUploadResponse

type PostUploadResponse interface {
	StatusCode() int
	// contains filtered or unexported methods
}

type Price

type Price struct {
	Currency string  `bson:"currency,required" json:"currency,required" xml:"currency,required"`
	Value    float64 `bson:"value,required" json:"value,required" xml:"value,required"`
}

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
}

func (*Server) Start

func (server *Server) Start(port int, routes []RouteDescription) error

func (*Server) Stop

func (server *Server) Stop() error

type ServerOpts

type ServerOpts struct {
	ErrorHandler ErrorHandler
	Middleware   []Middleware
	OnStart      func(router *routing.Router)
}

type Session

type Session struct {
	Registered bool   `bson:"Registered,required" json:"Registered,required" xml:"Registered,required"`
	Token      string `bson:"Token,required" json:"Token,required" xml:"Token,required"`
}

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 ShowVehicleInViewRequest

type ShowVehicleInViewRequest struct {
	ClientId   string
	ViewsId    string
	View       string
	Breakpoint string
	Spec       string
	XAuth      string
}

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 ValidationError struct {
	Code    *string `bson:"Code,omitempty" json:"Code,omitempty" xml:"Code,omitempty"`
	Field   *string `bson:"Field,omitempty" json:"Field,omitempty" xml:"Field,omitempty"`
	Message *string `bson:"Message,omitempty" json:"Message,omitempty" xml:"Message,omitempty"`
}

type ValidationErrorObject

type ValidationErrorObject struct {
	Message string `json:"message"`
	Field   string `json:"field"`
	Code    string `json:"code"`
}

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

type Validator struct {
	*validator.Validate
}

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 ViewsSet

type ViewsSet struct {
	Id    string  `bson:"id,required" json:"id,required" xml:"id,required"`
	Name  *string `bson:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Views *string `bson:"views,omitempty" json:"views,omitempty" xml:"views,omitempty"`
}

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 NewVisAdminClientMock(httpClient *http.Client, baseUrl string, ctx ...context.Context) *VisAdminClientMock

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL