|
| 1 | +/* |
| 2 | + * -------------------------------------------------------------------------------- |
| 3 | + * <copyright company="Aspose" file="primavera_task_properties.go"> |
| 4 | + * Copyright (c) 2021 Aspose.Tasks Cloud |
| 5 | + * </copyright> |
| 6 | + * <summary> |
| 7 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 8 | + * of this software and associated documentation files (the "Software"), to deal |
| 9 | + * in the Software without restriction, including without limitation the rights |
| 10 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 11 | + * copies of the Software, and to permit persons to whom the Software is |
| 12 | + * furnished to do so, subject to the following conditions: |
| 13 | + * |
| 14 | + * The above copyright notice and this permission notice shall be included in all |
| 15 | + * copies or substantial portions of the Software. |
| 16 | + * |
| 17 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 18 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 19 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 20 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 21 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 22 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 23 | + * SOFTWARE. |
| 24 | + * </summary> |
| 25 | + * -------------------------------------------------------------------------------- |
| 26 | + */ |
| 27 | + |
| 28 | +package models |
| 29 | + |
| 30 | +import ( |
| 31 | + "github.com/aspose-tasks-cloud/aspose-tasks-cloud-go/api/custom" |
| 32 | +) |
| 33 | + |
| 34 | +// Represents Primavera-specific properties for a task read from Primavera format (XER of P6XML). |
| 35 | +type PrimaveraTaskProperties struct { |
| 36 | + // The sequence number of the WBS item (summary tasks). It is used to sort summary tasks in Primavera. |
| 37 | + SequenceNumber int32 `json:"sequenceNumber"` |
| 38 | + // Activity id field - a task's unique identifier used by Primavera. |
| 39 | + ActivityId string `json:"activityId,omitempty"` |
| 40 | + // Remaining early finish date - the date when the remaining work for the activity is scheduled to be finished. |
| 41 | + RemainingEarlyFinish custom.TimeWithoutTZ `json:"remainingEarlyFinish"` |
| 42 | + // Remaining early start date - the date when the remaining work for the activity is scheduled to begin. |
| 43 | + RemainingEarlyStart custom.TimeWithoutTZ `json:"remainingEarlyStart"` |
| 44 | + // Remaining late start date. |
| 45 | + RemainingLateStart custom.TimeWithoutTZ `json:"remainingLateStart"` |
| 46 | + // Remaining late finish date. |
| 47 | + RemainingLateFinish custom.TimeWithoutTZ `json:"remainingLateFinish"` |
| 48 | + // Raw text representation (as in source file) of 'Duration Type' field of the activity. |
| 49 | + RawDurationType string `json:"rawDurationType,omitempty"` |
| 50 | + // Raw text representation (as in source file) of 'Activity Type' field of the activity. |
| 51 | + RawActivityType string `json:"rawActivityType,omitempty"` |
| 52 | + // Raw text representation (as in source file) of '% Complete Type' field of the activity. |
| 53 | + RawCompletePercentType string `json:"rawCompletePercentType,omitempty"` |
| 54 | + // Raw text representation (as in source file) of 'Status' field of the activity. |
| 55 | + RawStatus string `json:"rawStatus,omitempty"` |
| 56 | +} |
0 commit comments