Versions in this module Expand all Collapse all v1 v1.0.1 Nov 17, 2026 v1.0.0 Nov 17, 2026 Changes in this version + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, m *http.ServeMux) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, m *http.ServeMux, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler + func NewAddEquipmentToLineRequest(server string, body AddEquipmentToLineJSONRequestBody) (*http.Request, error) + func NewAddEquipmentToLineRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewApexchartsTimelineRequest(server string, params *ApexchartsTimelineParams) (*http.Request, error) + func NewCreateEquipmentRequest(server string, body CreateEquipmentJSONRequestBody) (*http.Request, error) + func NewCreateEquipmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewCreateLineRequest(server string, body CreateLineJSONRequestBody) (*http.Request, error) + func NewCreateLineRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewCreateQualificationRuleRequest(server string, body CreateQualificationRuleJSONRequestBody) (*http.Request, error) + func NewCreateQualificationRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewCreateSpecificationRequest(server string, body CreateSpecificationJSONRequestBody) (*http.Request, error) + func NewCreateSpecificationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewCurrentIntervalRequestWithBody(server string, params *CurrentIntervalParams, contentType string, ...) (*http.Request, error) + func NewCurrentIntervalsListRequest(server string) (*http.Request, error) + func NewCurrentWorkshiftRequest(server string) (*http.Request, error) + func NewDeprecateSpecificationRequest(server string, body DeprecateSpecificationJSONRequestBody) (*http.Request, error) + func NewDeprecateSpecificationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewEventsRequest(server string) (*http.Request, error) + func NewFinishIntervalRequest(server string, body FinishIntervalJSONRequestBody) (*http.Request, error) + func NewFinishIntervalRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewFinishWorkshiftRequest(server string, body FinishWorkshiftJSONRequestBody) (*http.Request, error) + func NewFinishWorkshiftRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewIncreaseProductionRequest(server string, body IncreaseProductionJSONRequestBody) (*http.Request, error) + func NewIncreaseProductionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewLineTopologyRequest(server string, params *LineTopologyParams) (*http.Request, error) + func NewLinesListRequest(server string) (*http.Request, error) + func NewMoveEquipmentInLineRequest(server string, body MoveEquipmentInLineJSONRequestBody) (*http.Request, error) + func NewMoveEquipmentInLineRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewQualifyDowntimeRequest(server string, body QualifyDowntimeJSONRequestBody) (*http.Request, error) + func NewQualifyDowntimeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewRemoveEquipmentFromLineRequest(server string, body RemoveEquipmentFromLineJSONRequestBody) (*http.Request, error) + func NewRemoveEquipmentFromLineRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewRemoveQualificationRuleRequest(server string, body RemoveQualificationRuleJSONRequestBody) (*http.Request, error) + func NewRemoveQualificationRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewStartIntervalRequest(server string, body StartIntervalJSONRequestBody) (*http.Request, error) + func NewStartIntervalRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewStartWorkshiftRequest(server string, body StartWorkshiftJSONRequestBody) (*http.Request, error) + func NewStartWorkshiftRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + type AddEquipmentToLineCommand struct + EquipmentId EquipmentID + Id LineID + type AddEquipmentToLineJSONRequestBody = AddEquipmentToLineCommand + type AddEquipmentToLineResponse struct + Body []byte + HTTPResponse *http.Response + func ParseAddEquipmentToLineResponse(rsp *http.Response) (*AddEquipmentToLineResponse, error) + func (r AddEquipmentToLineResponse) Status() string + func (r AddEquipmentToLineResponse) StatusCode() int + type ApexchartsTimeline struct + Data []ApexchartsTimelineBar + Name IntervalCategory + type ApexchartsTimelineBar struct + Id IntervalID + X EquipmentName + Y []int + type ApexchartsTimelineParams struct + EquipmentId EquipmentID + WorkshiftId WorkshiftID + type ApexchartsTimelineResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *[]ApexchartsTimeline + func ParseApexchartsTimelineResponse(rsp *http.Response) (*ApexchartsTimelineResponse, error) + func (r ApexchartsTimelineResponse) Status() string + func (r ApexchartsTimelineResponse) StatusCode() int + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) AddEquipmentToLine(ctx context.Context, body AddEquipmentToLineJSONRequestBody, ...) (*http.Response, error) + func (c *Client) AddEquipmentToLineWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) ApexchartsTimeline(ctx context.Context, params *ApexchartsTimelineParams, ...) (*http.Response, error) + func (c *Client) CreateEquipment(ctx context.Context, body CreateEquipmentJSONRequestBody, ...) (*http.Response, error) + func (c *Client) CreateEquipmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) CreateLine(ctx context.Context, body CreateLineJSONRequestBody, ...) (*http.Response, error) + func (c *Client) CreateLineWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) CreateQualificationRule(ctx context.Context, body CreateQualificationRuleJSONRequestBody, ...) (*http.Response, error) + func (c *Client) CreateQualificationRuleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) CreateSpecification(ctx context.Context, body CreateSpecificationJSONRequestBody, ...) (*http.Response, error) + func (c *Client) CreateSpecificationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) CurrentIntervalWithBody(ctx context.Context, params *CurrentIntervalParams, contentType string, ...) (*http.Response, error) + func (c *Client) CurrentIntervalsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) CurrentWorkshift(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) DeprecateSpecification(ctx context.Context, body DeprecateSpecificationJSONRequestBody, ...) (*http.Response, error) + func (c *Client) DeprecateSpecificationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) Events(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) FinishInterval(ctx context.Context, body FinishIntervalJSONRequestBody, ...) (*http.Response, error) + func (c *Client) FinishIntervalWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) FinishWorkshift(ctx context.Context, body FinishWorkshiftJSONRequestBody, ...) (*http.Response, error) + func (c *Client) FinishWorkshiftWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) IncreaseProduction(ctx context.Context, body IncreaseProductionJSONRequestBody, ...) (*http.Response, error) + func (c *Client) IncreaseProductionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) LineTopology(ctx context.Context, params *LineTopologyParams, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) LinesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) MoveEquipmentInLine(ctx context.Context, body MoveEquipmentInLineJSONRequestBody, ...) (*http.Response, error) + func (c *Client) MoveEquipmentInLineWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) QualifyDowntime(ctx context.Context, body QualifyDowntimeJSONRequestBody, ...) (*http.Response, error) + func (c *Client) QualifyDowntimeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) RemoveEquipmentFromLine(ctx context.Context, body RemoveEquipmentFromLineJSONRequestBody, ...) (*http.Response, error) + func (c *Client) RemoveEquipmentFromLineWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) RemoveQualificationRule(ctx context.Context, body RemoveQualificationRuleJSONRequestBody, ...) (*http.Response, error) + func (c *Client) RemoveQualificationRuleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) StartInterval(ctx context.Context, body StartIntervalJSONRequestBody, ...) (*http.Response, error) + func (c *Client) StartIntervalWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) StartWorkshift(ctx context.Context, body StartWorkshiftJSONRequestBody, ...) (*http.Response, error) + func (c *Client) StartWorkshiftWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + AddEquipmentToLine func(ctx context.Context, body AddEquipmentToLineJSONRequestBody, ...) (*http.Response, error) + AddEquipmentToLineWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + ApexchartsTimeline func(ctx context.Context, params *ApexchartsTimelineParams, ...) (*http.Response, error) + CreateEquipment func(ctx context.Context, body CreateEquipmentJSONRequestBody, ...) (*http.Response, error) + CreateEquipmentWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + CreateLine func(ctx context.Context, body CreateLineJSONRequestBody, ...) (*http.Response, error) + CreateLineWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + CreateQualificationRule func(ctx context.Context, body CreateQualificationRuleJSONRequestBody, ...) (*http.Response, error) + CreateQualificationRuleWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + CreateSpecification func(ctx context.Context, body CreateSpecificationJSONRequestBody, ...) (*http.Response, error) + CreateSpecificationWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + CurrentIntervalWithBody func(ctx context.Context, params *CurrentIntervalParams, contentType string, ...) (*http.Response, error) + CurrentIntervalsList func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + CurrentWorkshift func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + DeprecateSpecification func(ctx context.Context, body DeprecateSpecificationJSONRequestBody, ...) (*http.Response, error) + DeprecateSpecificationWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + Events func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + FinishInterval func(ctx context.Context, body FinishIntervalJSONRequestBody, ...) (*http.Response, error) + FinishIntervalWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + FinishWorkshift func(ctx context.Context, body FinishWorkshiftJSONRequestBody, ...) (*http.Response, error) + FinishWorkshiftWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + IncreaseProduction func(ctx context.Context, body IncreaseProductionJSONRequestBody, ...) (*http.Response, error) + IncreaseProductionWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + LineTopology func(ctx context.Context, params *LineTopologyParams, reqEditors ...RequestEditorFn) (*http.Response, error) + LinesList func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + MoveEquipmentInLine func(ctx context.Context, body MoveEquipmentInLineJSONRequestBody, ...) (*http.Response, error) + MoveEquipmentInLineWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + QualifyDowntime func(ctx context.Context, body QualifyDowntimeJSONRequestBody, ...) (*http.Response, error) + QualifyDowntimeWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + RemoveEquipmentFromLine func(ctx context.Context, body RemoveEquipmentFromLineJSONRequestBody, ...) (*http.Response, error) + RemoveEquipmentFromLineWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + RemoveQualificationRule func(ctx context.Context, body RemoveQualificationRuleJSONRequestBody, ...) (*http.Response, error) + RemoveQualificationRuleWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + StartInterval func(ctx context.Context, body StartIntervalJSONRequestBody, ...) (*http.Response, error) + StartIntervalWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + StartWorkshift func(ctx context.Context, body StartWorkshiftJSONRequestBody, ...) (*http.Response, error) + StartWorkshiftWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) AddEquipmentToLineWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AddEquipmentToLineResponse, error) + func (c *ClientWithResponses) AddEquipmentToLineWithResponse(ctx context.Context, body AddEquipmentToLineJSONRequestBody, ...) (*AddEquipmentToLineResponse, error) + func (c *ClientWithResponses) ApexchartsTimelineWithResponse(ctx context.Context, params *ApexchartsTimelineParams, ...) (*ApexchartsTimelineResponse, error) + func (c *ClientWithResponses) CreateEquipmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEquipmentResponse, error) + func (c *ClientWithResponses) CreateEquipmentWithResponse(ctx context.Context, body CreateEquipmentJSONRequestBody, ...) (*CreateEquipmentResponse, error) + func (c *ClientWithResponses) CreateLineWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateLineResponse, error) + func (c *ClientWithResponses) CreateLineWithResponse(ctx context.Context, body CreateLineJSONRequestBody, ...) (*CreateLineResponse, error) + func (c *ClientWithResponses) CreateQualificationRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateQualificationRuleResponse, error) + func (c *ClientWithResponses) CreateQualificationRuleWithResponse(ctx context.Context, body CreateQualificationRuleJSONRequestBody, ...) (*CreateQualificationRuleResponse, error) + func (c *ClientWithResponses) CreateSpecificationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSpecificationResponse, error) + func (c *ClientWithResponses) CreateSpecificationWithResponse(ctx context.Context, body CreateSpecificationJSONRequestBody, ...) (*CreateSpecificationResponse, error) + func (c *ClientWithResponses) CurrentIntervalWithBodyWithResponse(ctx context.Context, params *CurrentIntervalParams, contentType string, ...) (*CurrentIntervalResponse, error) + func (c *ClientWithResponses) CurrentIntervalsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CurrentIntervalsListResponse, error) + func (c *ClientWithResponses) CurrentWorkshiftWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CurrentWorkshiftResponse, error) + func (c *ClientWithResponses) DeprecateSpecificationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeprecateSpecificationResponse, error) + func (c *ClientWithResponses) DeprecateSpecificationWithResponse(ctx context.Context, body DeprecateSpecificationJSONRequestBody, ...) (*DeprecateSpecificationResponse, error) + func (c *ClientWithResponses) EventsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EventsResponse, error) + func (c *ClientWithResponses) FinishIntervalWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*FinishIntervalResponse, error) + func (c *ClientWithResponses) FinishIntervalWithResponse(ctx context.Context, body FinishIntervalJSONRequestBody, ...) (*FinishIntervalResponse, error) + func (c *ClientWithResponses) FinishWorkshiftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*FinishWorkshiftResponse, error) + func (c *ClientWithResponses) FinishWorkshiftWithResponse(ctx context.Context, body FinishWorkshiftJSONRequestBody, ...) (*FinishWorkshiftResponse, error) + func (c *ClientWithResponses) IncreaseProductionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IncreaseProductionResponse, error) + func (c *ClientWithResponses) IncreaseProductionWithResponse(ctx context.Context, body IncreaseProductionJSONRequestBody, ...) (*IncreaseProductionResponse, error) + func (c *ClientWithResponses) LineTopologyWithResponse(ctx context.Context, params *LineTopologyParams, reqEditors ...RequestEditorFn) (*LineTopologyResponse, error) + func (c *ClientWithResponses) LinesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LinesListResponse, error) + func (c *ClientWithResponses) MoveEquipmentInLineWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MoveEquipmentInLineResponse, error) + func (c *ClientWithResponses) MoveEquipmentInLineWithResponse(ctx context.Context, body MoveEquipmentInLineJSONRequestBody, ...) (*MoveEquipmentInLineResponse, error) + func (c *ClientWithResponses) QualifyDowntimeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*QualifyDowntimeResponse, error) + func (c *ClientWithResponses) QualifyDowntimeWithResponse(ctx context.Context, body QualifyDowntimeJSONRequestBody, ...) (*QualifyDowntimeResponse, error) + func (c *ClientWithResponses) RemoveEquipmentFromLineWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RemoveEquipmentFromLineResponse, error) + func (c *ClientWithResponses) RemoveEquipmentFromLineWithResponse(ctx context.Context, body RemoveEquipmentFromLineJSONRequestBody, ...) (*RemoveEquipmentFromLineResponse, error) + func (c *ClientWithResponses) RemoveQualificationRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RemoveQualificationRuleResponse, error) + func (c *ClientWithResponses) RemoveQualificationRuleWithResponse(ctx context.Context, body RemoveQualificationRuleJSONRequestBody, ...) (*RemoveQualificationRuleResponse, error) + func (c *ClientWithResponses) StartIntervalWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StartIntervalResponse, error) + func (c *ClientWithResponses) StartIntervalWithResponse(ctx context.Context, body StartIntervalJSONRequestBody, ...) (*StartIntervalResponse, error) + func (c *ClientWithResponses) StartWorkshiftWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StartWorkshiftResponse, error) + func (c *ClientWithResponses) StartWorkshiftWithResponse(ctx context.Context, body StartWorkshiftJSONRequestBody, ...) (*StartWorkshiftResponse, error) + type ClientWithResponsesInterface interface + AddEquipmentToLineWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*AddEquipmentToLineResponse, error) + AddEquipmentToLineWithResponse func(ctx context.Context, body AddEquipmentToLineJSONRequestBody, ...) (*AddEquipmentToLineResponse, error) + ApexchartsTimelineWithResponse func(ctx context.Context, params *ApexchartsTimelineParams, ...) (*ApexchartsTimelineResponse, error) + CreateEquipmentWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEquipmentResponse, error) + CreateEquipmentWithResponse func(ctx context.Context, body CreateEquipmentJSONRequestBody, ...) (*CreateEquipmentResponse, error) + CreateLineWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*CreateLineResponse, error) + CreateLineWithResponse func(ctx context.Context, body CreateLineJSONRequestBody, ...) (*CreateLineResponse, error) + CreateQualificationRuleWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*CreateQualificationRuleResponse, error) + CreateQualificationRuleWithResponse func(ctx context.Context, body CreateQualificationRuleJSONRequestBody, ...) (*CreateQualificationRuleResponse, error) + CreateSpecificationWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSpecificationResponse, error) + CreateSpecificationWithResponse func(ctx context.Context, body CreateSpecificationJSONRequestBody, ...) (*CreateSpecificationResponse, error) + CurrentIntervalWithBodyWithResponse func(ctx context.Context, params *CurrentIntervalParams, contentType string, ...) (*CurrentIntervalResponse, error) + CurrentIntervalsListWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*CurrentIntervalsListResponse, error) + CurrentWorkshiftWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*CurrentWorkshiftResponse, error) + DeprecateSpecificationWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*DeprecateSpecificationResponse, error) + DeprecateSpecificationWithResponse func(ctx context.Context, body DeprecateSpecificationJSONRequestBody, ...) (*DeprecateSpecificationResponse, error) + EventsWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*EventsResponse, error) + FinishIntervalWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*FinishIntervalResponse, error) + FinishIntervalWithResponse func(ctx context.Context, body FinishIntervalJSONRequestBody, ...) (*FinishIntervalResponse, error) + FinishWorkshiftWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*FinishWorkshiftResponse, error) + FinishWorkshiftWithResponse func(ctx context.Context, body FinishWorkshiftJSONRequestBody, ...) (*FinishWorkshiftResponse, error) + IncreaseProductionWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*IncreaseProductionResponse, error) + IncreaseProductionWithResponse func(ctx context.Context, body IncreaseProductionJSONRequestBody, ...) (*IncreaseProductionResponse, error) + LineTopologyWithResponse func(ctx context.Context, params *LineTopologyParams, reqEditors ...RequestEditorFn) (*LineTopologyResponse, error) + LinesListWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*LinesListResponse, error) + MoveEquipmentInLineWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*MoveEquipmentInLineResponse, error) + MoveEquipmentInLineWithResponse func(ctx context.Context, body MoveEquipmentInLineJSONRequestBody, ...) (*MoveEquipmentInLineResponse, error) + QualifyDowntimeWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*QualifyDowntimeResponse, error) + QualifyDowntimeWithResponse func(ctx context.Context, body QualifyDowntimeJSONRequestBody, ...) (*QualifyDowntimeResponse, error) + RemoveEquipmentFromLineWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*RemoveEquipmentFromLineResponse, error) + RemoveEquipmentFromLineWithResponse func(ctx context.Context, body RemoveEquipmentFromLineJSONRequestBody, ...) (*RemoveEquipmentFromLineResponse, error) + RemoveQualificationRuleWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*RemoveQualificationRuleResponse, error) + RemoveQualificationRuleWithResponse func(ctx context.Context, body RemoveQualificationRuleJSONRequestBody, ...) (*RemoveQualificationRuleResponse, error) + StartIntervalWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*StartIntervalResponse, error) + StartIntervalWithResponse func(ctx context.Context, body StartIntervalJSONRequestBody, ...) (*StartIntervalResponse, error) + StartWorkshiftWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*StartWorkshiftResponse, error) + StartWorkshiftWithResponse func(ctx context.Context, body StartWorkshiftJSONRequestBody, ...) (*StartWorkshiftResponse, error) + type CreateEquipmentCommand struct + Category EquipmentCategory + Id EquipmentID + Name EquipmentName + type CreateEquipmentJSONRequestBody = CreateEquipmentCommand + type CreateEquipmentResponse struct + Body []byte + HTTPResponse *http.Response + func ParseCreateEquipmentResponse(rsp *http.Response) (*CreateEquipmentResponse, error) + func (r CreateEquipmentResponse) Status() string + func (r CreateEquipmentResponse) StatusCode() int + type CreateLineCommand struct + Id LineID + Name LineName + type CreateLineJSONRequestBody = CreateLineCommand + type CreateLineResponse struct + Body []byte + HTTPResponse *http.Response + func ParseCreateLineResponse(rsp *http.Response) (*CreateLineResponse, error) + func (r CreateLineResponse) Status() string + func (r CreateLineResponse) StatusCode() int + type CreateQualificationRuleCommand struct + EquipmentId EquipmentID + SpecificationId SpecificationID + type CreateQualificationRuleJSONRequestBody = CreateQualificationRuleCommand + type CreateQualificationRuleResponse struct + Body []byte + HTTPResponse *http.Response + func ParseCreateQualificationRuleResponse(rsp *http.Response) (*CreateQualificationRuleResponse, error) + func (r CreateQualificationRuleResponse) Status() string + func (r CreateQualificationRuleResponse) StatusCode() int + type CreateSpecificationCommand struct + Code SpecificationCode + Description SpecificationDescription + Id SpecificationID + type CreateSpecificationJSONRequestBody = CreateSpecificationCommand + type CreateSpecificationResponse struct + Body []byte + HTTPResponse *http.Response + func ParseCreateSpecificationResponse(rsp *http.Response) (*CreateSpecificationResponse, error) + func (r CreateSpecificationResponse) Status() string + func (r CreateSpecificationResponse) StatusCode() int + type CurrentInterval struct + Category IntervalCategory + EquipmentId EquipmentID + Id IntervalID + StartedAt time.Time + type CurrentIntervalMultipartBody = map[string]interface + type CurrentIntervalMultipartRequestBody = CurrentIntervalMultipartBody + type CurrentIntervalParams struct + EquipmentId EquipmentID + type CurrentIntervalResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *CurrentInterval + func ParseCurrentIntervalResponse(rsp *http.Response) (*CurrentIntervalResponse, error) + func (r CurrentIntervalResponse) Status() string + func (r CurrentIntervalResponse) StatusCode() int + type CurrentIntervalsList = []CurrentInterval + type CurrentIntervalsListResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *CurrentIntervalsList + func ParseCurrentIntervalsListResponse(rsp *http.Response) (*CurrentIntervalsListResponse, error) + func (r CurrentIntervalsListResponse) Status() string + func (r CurrentIntervalsListResponse) StatusCode() int + type CurrentWorkshift struct + Id WorkshiftID + Name WorkshiftName + StartedAt time.Time + type CurrentWorkshiftResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *CurrentWorkshift + func ParseCurrentWorkshiftResponse(rsp *http.Response) (*CurrentWorkshiftResponse, error) + func (r CurrentWorkshiftResponse) Status() string + func (r CurrentWorkshiftResponse) StatusCode() int + type DeprecateSpecificationCommand struct + Id SpecificationID + type DeprecateSpecificationJSONRequestBody = DeprecateSpecificationCommand + type DeprecateSpecificationResponse struct + Body []byte + HTTPResponse *http.Response + func ParseDeprecateSpecificationResponse(rsp *http.Response) (*DeprecateSpecificationResponse, error) + func (r DeprecateSpecificationResponse) Status() string + func (r DeprecateSpecificationResponse) StatusCode() int + type DowntimeQualifiedEvent struct + Comment QualificationComment + DowntimeId interface{} + SpecificationId SpecificationID + type EquipmentAddedToLineEvent struct + EquipmentId EquipmentID + Id LineID + Position int + type EquipmentCategory = string + type EquipmentCreatedEvent struct + Category EquipmentCategory + Id EquipmentID + Name EquipmentName + type EquipmentID = string + type EquipmentMovedInLineEvent struct + EquipmentId EquipmentID + Id LineID + Position int + type EquipmentName = string + type EquipmentRemovedFromLineEvent struct + EquipmentId EquipmentID + Id LineID + type EventType string + const DowntimeFinished + const DowntimeQualified + const DowntimeStarted + const EquipmentAddedToLine + const EquipmentCreated + const EquipmentMovedInLine + const EquipmentRemovedFromLine + const LineCreated + const QualificationRuleCreated + const QualificationRuleRemoved + const SpecificationCreated + const SpecificationDeprecated + const WorkshiftFinished + const WorkshiftStarted + type EventsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *MessageEvent + func ParseEventsResponse(rsp *http.Response) (*EventsResponse, error) + func (r EventsResponse) Status() string + func (r EventsResponse) StatusCode() int + type FinishIntervalCommand struct + EquipmentId EquipmentID + FinishedAt time.Time + type FinishIntervalJSONRequestBody = FinishIntervalCommand + type FinishIntervalResponse struct + Body []byte + HTTPResponse *http.Response + func ParseFinishIntervalResponse(rsp *http.Response) (*FinishIntervalResponse, error) + func (r FinishIntervalResponse) Status() string + func (r FinishIntervalResponse) StatusCode() int + type FinishWorkshiftCommand struct + FinishedAt time.Time + type FinishWorkshiftJSONRequestBody = FinishWorkshiftCommand + type FinishWorkshiftResponse struct + Body []byte + HTTPResponse *http.Response + func ParseFinishWorkshiftResponse(rsp *http.Response) (*FinishWorkshiftResponse, error) + func (r FinishWorkshiftResponse) Status() string + func (r FinishWorkshiftResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type IncreaseProductionCommand struct + Amount ProductionAmount + Category ProductionCategory + EquipmentId EquipmentID + type IncreaseProductionJSONRequestBody = IncreaseProductionCommand + type IncreaseProductionResponse struct + Body []byte + HTTPResponse *http.Response + func ParseIncreaseProductionResponse(rsp *http.Response) (*IncreaseProductionResponse, error) + func (r IncreaseProductionResponse) Status() string + func (r IncreaseProductionResponse) StatusCode() int + type IntervalCategory string + const Downtime + const Worktime + type IntervalFinishedAt struct + Category IntervalCategory + Duration int + EquipmentId EquipmentID + FinishedAt time.Time + Id IntervalID + Status IntervalStatus + type IntervalID = string + type IntervalStartedEvent struct + Category IntervalCategory + EquipmentId EquipmentID + Id IntervalID + StartedAt time.Time + Status IntervalStatus + type IntervalStatus string + const IntervalStatusActive + const IntervalStatusFinished + type InvalidParamFormatError struct + Err error + ParamName string + func (e *InvalidParamFormatError) Error() string + func (e *InvalidParamFormatError) Unwrap() error + type LineCreatedEvent struct + Id LineID + Name LineName + type LineID = string + type LineName = string + type LineTopology = []LineTopologyItem + type LineTopologyItem struct + Category EquipmentCategory + Id EquipmentID + Name EquipmentName + type LineTopologyParams struct + Id *LineID + type LineTopologyResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *LineTopology + func ParseLineTopologyResponse(rsp *http.Response) (*LineTopologyResponse, error) + func (r LineTopologyResponse) Status() string + func (r LineTopologyResponse) StatusCode() int + type LinesList = []LinesListItem + type LinesListItem struct + Id LineID + Name LineName + type LinesListResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *LinesList + func ParseLinesListResponse(rsp *http.Response) (*LinesListResponse, error) + func (r LinesListResponse) Status() string + func (r LinesListResponse) StatusCode() int + type MessageEvent struct + Data MessageEvent_Data + Event EventType + Id *string + type MessageEvent_Data struct + func (t *MessageEvent_Data) FromDowntimeQualifiedEvent(v DowntimeQualifiedEvent) error + func (t *MessageEvent_Data) FromEquipmentAddedToLineEvent(v EquipmentAddedToLineEvent) error + func (t *MessageEvent_Data) FromEquipmentCreatedEvent(v EquipmentCreatedEvent) error + func (t *MessageEvent_Data) FromEquipmentMovedInLineEvent(v EquipmentMovedInLineEvent) error + func (t *MessageEvent_Data) FromEquipmentRemovedFromLineEvent(v EquipmentRemovedFromLineEvent) error + func (t *MessageEvent_Data) FromIntervalFinishedAt(v IntervalFinishedAt) error + func (t *MessageEvent_Data) FromIntervalStartedEvent(v IntervalStartedEvent) error + func (t *MessageEvent_Data) FromLineCreatedEvent(v LineCreatedEvent) error + func (t *MessageEvent_Data) FromQualificationRuleCreatedEvent(v QualificationRuleCreatedEvent) error + func (t *MessageEvent_Data) FromQualificationRuleRemovedEvent(v QualificationRuleRemovedEvent) error + func (t *MessageEvent_Data) FromSpecificationCreatedEvent(v SpecificationCreatedEvent) error + func (t *MessageEvent_Data) FromSpecificationDeprecatedEvent(v SpecificationDeprecatedEvent) error + func (t *MessageEvent_Data) FromWorkshiftFinishedEvent(v WorkshiftFinishedEvent) error + func (t *MessageEvent_Data) FromWorkshiftStartedEvent(v WorkshiftStartedEvent) error + func (t *MessageEvent_Data) MergeDowntimeQualifiedEvent(v DowntimeQualifiedEvent) error + func (t *MessageEvent_Data) MergeEquipmentAddedToLineEvent(v EquipmentAddedToLineEvent) error + func (t *MessageEvent_Data) MergeEquipmentCreatedEvent(v EquipmentCreatedEvent) error + func (t *MessageEvent_Data) MergeEquipmentMovedInLineEvent(v EquipmentMovedInLineEvent) error + func (t *MessageEvent_Data) MergeEquipmentRemovedFromLineEvent(v EquipmentRemovedFromLineEvent) error + func (t *MessageEvent_Data) MergeIntervalFinishedAt(v IntervalFinishedAt) error + func (t *MessageEvent_Data) MergeIntervalStartedEvent(v IntervalStartedEvent) error + func (t *MessageEvent_Data) MergeLineCreatedEvent(v LineCreatedEvent) error + func (t *MessageEvent_Data) MergeQualificationRuleCreatedEvent(v QualificationRuleCreatedEvent) error + func (t *MessageEvent_Data) MergeQualificationRuleRemovedEvent(v QualificationRuleRemovedEvent) error + func (t *MessageEvent_Data) MergeSpecificationCreatedEvent(v SpecificationCreatedEvent) error + func (t *MessageEvent_Data) MergeSpecificationDeprecatedEvent(v SpecificationDeprecatedEvent) error + func (t *MessageEvent_Data) MergeWorkshiftFinishedEvent(v WorkshiftFinishedEvent) error + func (t *MessageEvent_Data) MergeWorkshiftStartedEvent(v WorkshiftStartedEvent) error + func (t *MessageEvent_Data) UnmarshalJSON(b []byte) error + func (t MessageEvent_Data) AsDowntimeQualifiedEvent() (DowntimeQualifiedEvent, error) + func (t MessageEvent_Data) AsEquipmentAddedToLineEvent() (EquipmentAddedToLineEvent, error) + func (t MessageEvent_Data) AsEquipmentCreatedEvent() (EquipmentCreatedEvent, error) + func (t MessageEvent_Data) AsEquipmentMovedInLineEvent() (EquipmentMovedInLineEvent, error) + func (t MessageEvent_Data) AsEquipmentRemovedFromLineEvent() (EquipmentRemovedFromLineEvent, error) + func (t MessageEvent_Data) AsIntervalFinishedAt() (IntervalFinishedAt, error) + func (t MessageEvent_Data) AsIntervalStartedEvent() (IntervalStartedEvent, error) + func (t MessageEvent_Data) AsLineCreatedEvent() (LineCreatedEvent, error) + func (t MessageEvent_Data) AsQualificationRuleCreatedEvent() (QualificationRuleCreatedEvent, error) + func (t MessageEvent_Data) AsQualificationRuleRemovedEvent() (QualificationRuleRemovedEvent, error) + func (t MessageEvent_Data) AsSpecificationCreatedEvent() (SpecificationCreatedEvent, error) + func (t MessageEvent_Data) AsSpecificationDeprecatedEvent() (SpecificationDeprecatedEvent, error) + func (t MessageEvent_Data) AsWorkshiftFinishedEvent() (WorkshiftFinishedEvent, error) + func (t MessageEvent_Data) AsWorkshiftStartedEvent() (WorkshiftStartedEvent, error) + func (t MessageEvent_Data) MarshalJSON() ([]byte, error) + type MiddlewareFunc func(http.Handler) http.Handler + type MoveEquipmentInLineCommand struct + Direction MoveEquipmentInLineCommandDirection + EquipmentId EquipmentID + Id LineID + type MoveEquipmentInLineCommandDirection string + const Left + const Right + type MoveEquipmentInLineJSONRequestBody = MoveEquipmentInLineCommand + type MoveEquipmentInLineResponse struct + Body []byte + HTTPResponse *http.Response + func ParseMoveEquipmentInLineResponse(rsp *http.Response) (*MoveEquipmentInLineResponse, error) + func (r MoveEquipmentInLineResponse) Status() string + func (r MoveEquipmentInLineResponse) StatusCode() int + type ProductionAmount = int + type ProductionCategory string + const Defect + const Good + type QualificationComment = string + type QualificationRuleCreatedEvent struct + EquipmentId EquipmentID + SpecificationId SpecificationID + type QualificationRuleRemovedEvent struct + EquipmentId EquipmentID + SpecificationId SpecificationID + type QualifyDowntimeCommand struct + Comment QualificationComment + DowntimeId IntervalID + SpecificationId SpecificationID + type QualifyDowntimeJSONRequestBody = QualifyDowntimeCommand + type QualifyDowntimeResponse struct + Body []byte + HTTPResponse *http.Response + func ParseQualifyDowntimeResponse(rsp *http.Response) (*QualifyDowntimeResponse, error) + func (r QualifyDowntimeResponse) Status() string + func (r QualifyDowntimeResponse) StatusCode() int + type RemoveEquipmentFromLineCommand struct + EquipmentId EquipmentID + Id LineID + type RemoveEquipmentFromLineJSONRequestBody = RemoveEquipmentFromLineCommand + type RemoveEquipmentFromLineResponse struct + Body []byte + HTTPResponse *http.Response + func ParseRemoveEquipmentFromLineResponse(rsp *http.Response) (*RemoveEquipmentFromLineResponse, error) + func (r RemoveEquipmentFromLineResponse) Status() string + func (r RemoveEquipmentFromLineResponse) StatusCode() int + type RemoveQualificationRuleCommand struct + EquipmentId EquipmentID + SpecificationId SpecificationID + type RemoveQualificationRuleJSONRequestBody = RemoveQualificationRuleCommand + type RemoveQualificationRuleResponse struct + Body []byte + HTTPResponse *http.Response + func ParseRemoveQualificationRuleResponse(rsp *http.Response) (*RemoveQualificationRuleResponse, error) + func (r RemoveQualificationRuleResponse) Status() string + func (r RemoveQualificationRuleResponse) StatusCode() int + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type RequiredHeaderError struct + Err error + ParamName string + func (e *RequiredHeaderError) Error() string + func (e *RequiredHeaderError) Unwrap() error + type RequiredParamError struct + ParamName string + func (e *RequiredParamError) Error() string + type ServerInterface interface + AddEquipmentToLine func(w http.ResponseWriter, r *http.Request) + ApexchartsTimeline func(w http.ResponseWriter, r *http.Request, params ApexchartsTimelineParams) + CreateEquipment func(w http.ResponseWriter, r *http.Request) + CreateLine func(w http.ResponseWriter, r *http.Request) + CreateQualificationRule func(w http.ResponseWriter, r *http.Request) + CreateSpecification func(w http.ResponseWriter, r *http.Request) + CurrentInterval func(w http.ResponseWriter, r *http.Request, params CurrentIntervalParams) + CurrentIntervalsList func(w http.ResponseWriter, r *http.Request) + CurrentWorkshift func(w http.ResponseWriter, r *http.Request) + DeprecateSpecification func(w http.ResponseWriter, r *http.Request) + Events func(w http.ResponseWriter, r *http.Request) + FinishInterval func(w http.ResponseWriter, r *http.Request) + FinishWorkshift func(w http.ResponseWriter, r *http.Request) + IncreaseProduction func(w http.ResponseWriter, r *http.Request) + LineTopology func(w http.ResponseWriter, r *http.Request, params LineTopologyParams) + LinesList func(w http.ResponseWriter, r *http.Request) + MoveEquipmentInLine func(w http.ResponseWriter, r *http.Request) + QualifyDowntime func(w http.ResponseWriter, r *http.Request) + RemoveEquipmentFromLine func(w http.ResponseWriter, r *http.Request) + RemoveQualificationRule func(w http.ResponseWriter, r *http.Request) + StartInterval func(w http.ResponseWriter, r *http.Request) + StartWorkshift func(w http.ResponseWriter, r *http.Request) + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) AddEquipmentToLine(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) ApexchartsTimeline(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CreateEquipment(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CreateLine(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CreateQualificationRule(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CreateSpecification(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CurrentInterval(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CurrentIntervalsList(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) CurrentWorkshift(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) DeprecateSpecification(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) Events(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) FinishInterval(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) FinishWorkshift(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) IncreaseProduction(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) LineTopology(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) LinesList(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) MoveEquipmentInLine(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) QualifyDowntime(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) RemoveEquipmentFromLine(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) RemoveQualificationRule(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) StartInterval(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) StartWorkshift(w http.ResponseWriter, r *http.Request) + type SpecificationCode = string + type SpecificationCreatedEvent struct + Code SpecificationCode + Deprecated bool + Description SpecificationDescription + Id SpecificationID + type SpecificationDeprecatedEvent struct + Deprecated bool + Id SpecificationID + type SpecificationDescription = string + type SpecificationID = string + type StartIntervalCommand struct + Category IntervalCategory + EquipmentId EquipmentID + Id IntervalID + StartedAt time.Time + type StartIntervalJSONRequestBody = StartIntervalCommand + type StartIntervalResponse struct + Body []byte + HTTPResponse *http.Response + func ParseStartIntervalResponse(rsp *http.Response) (*StartIntervalResponse, error) + func (r StartIntervalResponse) Status() string + func (r StartIntervalResponse) StatusCode() int + type StartWorkshiftCommand struct + Id WorkshiftID + Name WorkshiftName + StartedAt time.Time + type StartWorkshiftJSONRequestBody = StartWorkshiftCommand + type StartWorkshiftResponse struct + Body []byte + HTTPResponse *http.Response + func ParseStartWorkshiftResponse(rsp *http.Response) (*StartWorkshiftResponse, error) + func (r StartWorkshiftResponse) Status() string + func (r StartWorkshiftResponse) StatusCode() int + type StdHTTPServerOptions struct + BaseRouter *http.ServeMux + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type TooManyValuesForParamError struct + Count int + ParamName string + func (e *TooManyValuesForParamError) Error() string + type UnescapedCookieParamError struct + Err error + ParamName string + func (e *UnescapedCookieParamError) Error() string + func (e *UnescapedCookieParamError) Unwrap() error + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error + type WorkshiftFinishedEvent struct + Duration int + FinishedAt time.Time + Id WorkshiftID + Status WorkshiftStatus + type WorkshiftID = string + type WorkshiftName = string + type WorkshiftStartedEvent struct + Id WorkshiftID + Name WorkshiftName + StartedAt time.Time + Status WorkshiftStatus + type WorkshiftStatus string + const WorkshiftStatusActive + const WorkshiftStatusFinished