forked from prolicht-dev/avaclient-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_service_specification_group_dto_all_of.go
62 lines (60 loc) · 4.63 KB
/
model_service_specification_group_dto_all_of.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* AVACloud API 1.16.0
*
* AVACloud API specification
*
* API version: 1.16.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package avaclient
// ServiceSpecificationGroupDtoAllOf This is a grouping IElement that holds other IElements within.
type ServiceSpecificationGroupDtoAllOf struct {
// The hourly wage that is used within this ElementContainerBase. Will be propagated to child elements.
ProjectHourlyWage float32 `json:"projectHourlyWage"`
// The tax rate that is used within this ElementContainerBase. Will be propagated to child elements.
ProjectTaxRate float32 `json:"projectTaxRate"`
// The price components that are used within this project. They are ignored during Json deserialization because they will be set from the parent project.
ProjectPriceComponents []string `json:"projectPriceComponents,omitempty"`
ProjectItemNumberSchema ItemNumberSchemaDto `json:"projectItemNumberSchema,omitempty"`
// The IElements within this ElementContainerBase.
Elements []IElementDtoHolder `json:"elements,omitempty"`
// The label used in the parent Project to mark labour time, e.g. \"Hours\" or \"Stunden\".
ProjectLabourTimeLabel string `json:"projectLabourTimeLabel,omitempty"`
// Indicates if there are child IElements that have conflicting, duplicated ItemNumbers or if any child ElementContainerBase elements themselves contain duplicate ItemNumber s. Will always indicate false when told to ignore duplicate item numbers.
ContainsDuplicateItemNumbers bool `json:"containsDuplicateItemNumbers"`
// Indicates if there are child IElements that have conflicting, duplicated Ids or if any child ElementContainerBase elements themselves contain duplicate Id s. Will always indicate false when told to ignore duplicate item numbers.
ContainsDuplicateElementIds bool `json:"containsDuplicateElementIds"`
// Indicate if duplicated ItemNumbers within child elements are to be ignored. Will not perform checks for duplicates if yes.
IgnoreDuplicateItemNumbers bool `json:"ignoreDuplicateItemNumbers"`
// Indicate if duplicated Ids within child elements are to be ignored. Will not perform checks for duplicates if yes.
IgnoreDuplicateElementIds bool `json:"ignoreDuplicateElementIds"`
// Price composition by tax rate.
TotalPriceGrossByTaxRate []GrossPriceComponentDto `json:"totalPriceGrossByTaxRate,omitempty"`
// Internally used to indicate that a propagation is currently done, this is done to not recalculate every single result from a lot of changes when it is sufficient to calculate the total price at once.
IgnoreChildPriceUpdates bool `json:"ignoreChildPriceUpdates"`
// Net price after applied deductions.
DeductedPrice float32 `json:"deductedPrice"`
// Factor of applied deductions to the total price. For example, \"0.03\" means that a 3% deduction is to be applied.
DeductionFactor float32 `json:"deductionFactor"`
// Will return this ElementContainerBase's total price.
TotalPrice float32 `json:"totalPrice"`
// The total gross price for this ElementContainerBase including all child elements.
TotalPriceGross float32 `json:"totalPriceGross"`
// Total gross price after applied deductions.
TotalPriceGrossDeducted float32 `json:"totalPriceGrossDeducted"`
PriceType PriceTypeDto `json:"priceType"`
// Description for this ServiceSpecificationGroup.
ShortText string `json:"shortText,omitempty"`
ComissionStatus ComissionStatusDto `json:"comissionStatus"`
ItemNumber ItemNumberDto `json:"itemNumber,omitempty"`
ElementType string `json:"elementType,omitempty"`
// This indicates if this group is the parent of a lot. See the documentation for more information about working with lots.
IsLot bool `json:"isLot"`
// If this group is an alternative for a base group, then this property should point to the id of the group in this service specification that it can replace. If this is an alternative group to a base group, the PriceType should typically be set to \"WithoutTotal\" so this group does not factor into total costs. The PriceType is not changed when this property is set
AlternativeTo string `json:"alternativeTo,omitempty"`
Type string `json:"type,omitempty"`
// These are Catalogue that are used within this ElementContainerBase. Catalogue references are used to describe catalogues, or collections, that can be used to describe elements with commonly known properties. For example, QuantityAssignments use these to categorize themselves.
ProjectCatalogues []CatalogueDto `json:"projectCatalogues,omitempty"`
// Referenced catalogues for this QuantityAssignment.
CatalogueReferences []CatalogueReferenceDto `json:"catalogueReferences,omitempty"`
}