models

package
Version: v0.2212.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type AsposeResponse

type AsposeResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
}

type AssignmentBaseline

type AssignmentBaseline struct {
	// The unique number of a baseline data record.
	BaselineNumber *BaselineType `json:"baselineNumber"`
	// The work assigned to a resource when the baseline is saved.
	Work *string `json:"work,omitempty"`
	// The projected cost of a resource when the baseline is saved.
	Cost float32 `json:"cost"`
	// The budget cost of a work scheduled for a resource.
	Bcws float64 `json:"bcws"`
	// The budgeted cost of a work performed by a resource for a project to-date.
	Bcwp float64 `json:"bcwp"`
	// Gets or sets the scheduled start date of the resource assignment when the baseline was saved. The start date of the resource assignment when this baseline was saved.
	Start *custom.TimeWithoutTZ `json:"start,omitempty""`
	// Gets or sets the scheduled finish date of the resource assignment when the baseline was saved. The finish date of the resource assignment when this baseline was saved.
	Finish *custom.TimeWithoutTZ `json:"finish,omitempty""`
}

Represents baseline values of a resource assignment.

type AssignmentItem

type AssignmentItem struct {
	Link *Link `json:"link,omitempty"`
	// The unique id (Uid) of the resource's assignment.
	Uid int32 `json:"uid"`
	// Uid of the task.
	TaskUid int32 `json:"taskUid"`
	// Uid of the resource.
	ResourceUid int32 `json:"resourceUid"`
}

Resource's assignment brief into.

type AssignmentItemResponse

type AssignmentItemResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// AssignmentItem DTO.
	AssignmentItem *AssignmentItem `json:"assignmentItem,omitempty"`
}

type AssignmentItems

type AssignmentItems struct {
	// Link to the document.
	Link           *Link            `json:"link,omitempty"`
	AssignmentItem []AssignmentItem `json:"assignmentItem,omitempty"`
}

type AssignmentItemsResponse

type AssignmentItemsResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status      string           `json:"status,omitempty"`
	Assignments *AssignmentItems `json:"assignments,omitempty"`
}

type AssignmentResponse

type AssignmentResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// ResourceAssignment DTO.
	Assignment *ResourceAssignment `json:"assignment,omitempty"`
}

Assignment response.

type AssignmentsResponse

type AssignmentsResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status      string               `json:"status,omitempty"`
	Assignments *ResourceAssignments `json:"assignments,omitempty"`
}

type Baseline

type Baseline struct {
	// The unique number of a baseline data record.
	BaselineNumber *BaselineType `json:"baselineNumber"`
	// The work assigned to a resource when the baseline is saved.
	Work *string `json:"work,omitempty"`
	// The projected cost of a resource when the baseline is saved.
	Cost float32 `json:"cost"`
	// The budget cost of a work scheduled for a resource.
	Bcws float64 `json:"bcws"`
	// The budgeted cost of a work performed by a resource for a project to-date.
	Bcwp float64 `json:"bcwp"`
}

Represents baseline values of a resource or a task.

type BaselineType

type BaselineType string

BaselineType : Specifies the baseline type used to calculate Variance values.

const (
	BASELINE_BaselineType   BaselineType = "Baseline"
	BASELINE1_BaselineType  BaselineType = "Baseline1"
	BASELINE2_BaselineType  BaselineType = "Baseline2"
	BASELINE3_BaselineType  BaselineType = "Baseline3"
	BASELINE4_BaselineType  BaselineType = "Baseline4"
	BASELINE5_BaselineType  BaselineType = "Baseline5"
	BASELINE6_BaselineType  BaselineType = "Baseline6"
	BASELINE7_BaselineType  BaselineType = "Baseline7"
	BASELINE8_BaselineType  BaselineType = "Baseline8"
	BASELINE9_BaselineType  BaselineType = "Baseline9"
	BASELINE10_BaselineType BaselineType = "Baseline10"
	UNDEFINED_BaselineType  BaselineType = "Undefined"
)

List of BaselineType

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BookingType

type BookingType string

BookingType : Specifies the booking type of a resource.

const (
	COMMITTED_BookingType BookingType = "Committed"
	PROPOSED_BookingType  BookingType = "Proposed"
	UNDEFINED_BookingType BookingType = "Undefined"
)

List of BookingType

type CalculationMode

type CalculationMode string

CalculationMode : Specifies project calculation mode. None: Project dates and costs are not recalculated in this mode. Automatic mode: Project dates and costs are recalculated when using this mode. Manual mode: Only necessary fields are recalculated in this mode, for example Uids and Ids of objects

const (
	NONE_CalculationMode      CalculationMode = "None"
	AUTOMATIC_CalculationMode CalculationMode = "Automatic"
	MANUAL_CalculationMode    CalculationMode = "Manual"
)

List of CalculationMode

type CalculationType

type CalculationType string

CalculationType : Specifies the calculation type.

const (
	NONE_CalculationType        CalculationType = "None"
	LOOKUP_CalculationType      CalculationType = "Lookup"
	ROLLUP_CalculationType      CalculationType = "Rollup"
	CALCULATION_CalculationType CalculationType = "Calculation"
)

List of CalculationType

type Calendar

type Calendar struct {
	// The name of the calendar.
	Name string `json:"name,omitempty"`
	// The unique identifier of the calendar.
	Uid int32 `json:"uid"`
	// The collection of weekdays that defines the calendar.
	Days []WeekDay `json:"days,omitempty"`
	// Determines whether the calendar is a base calendar.
	IsBaseCalendar bool `json:"isBaseCalendar"`
	// The base calendar on which this calendar depends. Only applicable if the calendar is not a base calendar.
	BaseCalendar *Calendar `json:"baseCalendar,omitempty"`
	// Specifies whether the calendar is a baseline calendar.
	IsBaselineCalendar bool `json:"isBaselineCalendar"`
}

Represents a calendar used in a project.

type CalendarException

type CalendarException struct {
	// Index of the current item in the collection of calendar's exceptions.
	Index int32 `json:"index"`
	// Determines whether the range of recurrence is defined by entering a number of occurrences. False specifies that the range of recurrence is defined by entering a finish date.
	EnteredByOccurrences bool `json:"enteredByOccurrences"`
	// The beginning of the exception time.
	FromDate custom.TimeWithoutTZ `json:"fromDate"`
	// The end of the exception time.
	ToDate custom.TimeWithoutTZ `json:"toDate"`
	// The number of occurrences for which the calendar exception is valid.
	Occurrences int32 `json:"occurrences"`
	// The name of the exception.
	Name string `json:"name,omitempty"`
	// The exception type.
	Type_ *CalendarExceptionType `json:"type"`
	// The period of recurrence for the exception.
	Period int32 `json:"period"`
	// The days of the week on which the exception is valid.
	DaysOfWeek []DayType `json:"daysOfWeek,omitempty"`
	// The month item for which an exception recurrence is scheduled.
	MonthItem *MonthItemType `json:"monthItem"`
	// The position of a month item within a month.
	MonthPosition *MonthPosition `json:"monthPosition"`
	// The month for which an exception recurrence is scheduled.
	Month *Month `json:"month"`
	// The day of a month on which an exception recurrence is scheduled.
	MonthDay int32 `json:"monthDay"`
	// Determines whether the specified date or day type is working.
	DayWorking bool `json:"dayWorking"`
	// The collection of working times that defines the time worked on the weekday.  At least one working time must present, and there can't be more than five.
	WorkingTimes []WorkingTime `json:"workingTimes,omitempty"`
}

Represent exceptional time periods in a calendar.

type CalendarExceptionType

type CalendarExceptionType string

CalendarExceptionType : Specifies the calendar exception type.

const (
	DAILY_CalendarExceptionType               CalendarExceptionType = "Daily"
	YEARLY_BY_DAY_CalendarExceptionType       CalendarExceptionType = "YearlyByDay"
	YEARLY_BY_POSITION_CalendarExceptionType  CalendarExceptionType = "YearlyByPosition"
	MONTHLY_BY_DAY_CalendarExceptionType      CalendarExceptionType = "MonthlyByDay"
	MONTHLY_BY_POSITION_CalendarExceptionType CalendarExceptionType = "MonthlyByPosition"
	WEEKLY_CalendarExceptionType              CalendarExceptionType = "Weekly"
	BY_DAY_COUNT_CalendarExceptionType        CalendarExceptionType = "ByDayCount"
	BY_WEEK_DAY_COUNT_CalendarExceptionType   CalendarExceptionType = "ByWeekDayCount"
	NO_EXCEPTION_TYPE_CalendarExceptionType   CalendarExceptionType = "NoExceptionType"
)

List of CalendarExceptionType

type CalendarExceptionsResponse

type CalendarExceptionsResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status             string              `json:"status,omitempty"`
	CalendarExceptions []CalendarException `json:"calendarExceptions,omitempty"`
}

CalendarExceptions response.

type CalendarItem

type CalendarItem struct {
	Link *Link  `json:"link,omitempty"`
	Uid  int32  `json:"uid"`
	Name string `json:"name,omitempty"`
}

Represents a project calendar's brief info.

type CalendarItemResponse

type CalendarItemResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// CalendarItem DTO.
	CalendarItem *CalendarItem `json:"calendarItem,omitempty"`
}

TaskItem response.

type CalendarItems

type CalendarItems struct {
	// Link to the document.
	Link *Link          `json:"link,omitempty"`
	List []CalendarItem `json:"list,omitempty"`
}

type CalendarItemsResponse

type CalendarItemsResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status    string         `json:"status,omitempty"`
	Calendars *CalendarItems `json:"calendars,omitempty"`
}

type CalendarResponse

type CalendarResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// Calendar DTO.
	Calendar *Calendar `json:"calendar,omitempty"`
}

Task response.

type CalendarWorkWeeksResponse

type CalendarWorkWeeksResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status            string     `json:"status,omitempty"`
	CalendarWorkWeeks []WorkWeek `json:"calendarWorkWeeks,omitempty"`
}

CalendarWorkWeeks response.

type ConfidenceLevel

type ConfidenceLevel string

ConfidenceLevel : Specifies supported confidence levels used in risk analysis that correspond to the percentage of the time the actual values will be within optimistic and pessimistic estimates.

const (
	CL75_ConfidenceLevel ConfidenceLevel = "CL75"
	CL85_ConfidenceLevel ConfidenceLevel = "CL85"
	CL90_ConfidenceLevel ConfidenceLevel = "CL90"
	CL95_ConfidenceLevel ConfidenceLevel = "CL95"
	CL99_ConfidenceLevel ConfidenceLevel = "CL99"
)

List of ConfidenceLevel

type Configuration

type Configuration struct {
	BaseUrl       string            `json:"BaseUrl,omitempty"`
	AppKey        string            `json:"AppKey"`
	AppSid        string            `json:"AppSid"`
	DebugMode     bool              `json:"DebugMode,omitempty"`
	DefaultHeader map[string]string `json:"DefaultHeader,omitempty"`
	HttpClient    *http.Client
}

func NewConfiguration

func NewConfiguration(configFilePath string) (pConfig *Configuration, err error)

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

type ConstraintType

type ConstraintType string

ConstraintType : Specifies a constraint type for a project task.

const (
	AS_SOON_AS_POSSIBLE_ConstraintType    ConstraintType = "AsSoonAsPossible"
	AS_LATE_AS_POSSIBLE_ConstraintType    ConstraintType = "AsLateAsPossible"
	MUST_START_ON_ConstraintType          ConstraintType = "MustStartOn"
	MUST_FINISH_ON_ConstraintType         ConstraintType = "MustFinishOn"
	START_NO_EARLIER_THAN_ConstraintType  ConstraintType = "StartNoEarlierThan"
	START_NO_LATER_THAN_ConstraintType    ConstraintType = "StartNoLaterThan"
	FINISH_NO_EARLIER_THAN_ConstraintType ConstraintType = "FinishNoEarlierThan"
	FINISH_NO_LATER_THAN_ConstraintType   ConstraintType = "FinishNoLaterThan"
	UNDEFINED_ConstraintType              ConstraintType = "Undefined"
)

List of ConstraintType

type CostAccrualType

type CostAccrualType string

CostAccrualType : Specifies the type of an accrual cost.

const (
	START_CostAccrualType     CostAccrualType = "Start"
	PRORATED_CostAccrualType  CostAccrualType = "Prorated"
	END_CostAccrualType       CostAccrualType = "End"
	INVALID_CostAccrualType   CostAccrualType = "Invalid"
	UNDEFINED_CostAccrualType CostAccrualType = "Undefined"
)

List of CostAccrualType

type CustomFieldType

type CustomFieldType string

CustomFieldType : Specifies the type of a custom field.

const (
	NULL_CustomFieldType         CustomFieldType = "Null"
	COST_CustomFieldType         CustomFieldType = "Cost"
	DATE_CustomFieldType         CustomFieldType = "Date"
	DURATION_CustomFieldType     CustomFieldType = "Duration"
	FINISH_CustomFieldType       CustomFieldType = "Finish"
	FLAG_CustomFieldType         CustomFieldType = "Flag"
	NUMBER_CustomFieldType       CustomFieldType = "Number"
	START_CustomFieldType        CustomFieldType = "Start"
	TEXT_CustomFieldType         CustomFieldType = "Text"
	OUTLINE_CODE_CustomFieldType CustomFieldType = "OutlineCode"
	RBS_CustomFieldType          CustomFieldType = "RBS"
)

List of CustomFieldType

type DayOfWeek

type DayOfWeek string

DayOfWeek :

const (
	SUNDAY_DayOfWeek    DayOfWeek = "Sunday"
	MONDAY_DayOfWeek    DayOfWeek = "Monday"
	TUESDAY_DayOfWeek   DayOfWeek = "Tuesday"
	WEDNESDAY_DayOfWeek DayOfWeek = "Wednesday"
	THURSDAY_DayOfWeek  DayOfWeek = "Thursday"
	FRIDAY_DayOfWeek    DayOfWeek = "Friday"
	SATURDAY_DayOfWeek  DayOfWeek = "Saturday"
)

List of DayOfWeek

type DayType

type DayType string

DayType : Specifies the day of a week.

const (
	EXCEPTION_DayType DayType = "Exception"
	SUNDAY_DayType    DayType = "Sunday"
	MONDAY_DayType    DayType = "Monday"
	TUESDAY_DayType   DayType = "Tuesday"
	WEDNESDAY_DayType DayType = "Wednesday"
	THURSDAY_DayType  DayType = "Thursday"
	FRIDAY_DayType    DayType = "Friday"
	SATURDAY_DayType  DayType = "Saturday"
)

List of DayType

type DiscUsage

type DiscUsage struct {
	// Application used disc space.
	UsedSize int64 `json:"usedSize"`
	// Total disc space.
	TotalSize int64 `json:"totalSize"`
}

Class for disc space information.

type DocumentProperties

type DocumentProperties struct {
	// Link to the document.
	Link *Link              `json:"link,omitempty"`
	List []DocumentProperty `json:"list,omitempty"`
}

Collection of document properties.

type DocumentPropertiesResponse

type DocumentPropertiesResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// DocumentProperties response.
	Properties *DocumentProperties `json:"properties,omitempty"`
}

type DocumentProperty

type DocumentProperty struct {
	// Link to the document.
	Link *Link `json:"link,omitempty"`
	// Name of the document property.
	Name string `json:"name,omitempty"`
	// String value of the document property.
	Value string `json:"value,omitempty"`
}

Represents project document's property.

type DocumentPropertyResponse

type DocumentPropertyResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// DocumentProperties response.
	Property *DocumentProperty `json:"property,omitempty"`
}

type Duration

type Duration struct {
	// Gets or sets the time interval of duration.
	TimeSpan *string `json:"timeSpan,omitempty"`
	// Gets or sets the time units which will be used to display duration in MS Project.
	TimeUnit *TimeUnitType `json:"timeUnit"`
}

Represents a duration value.

type EarnedValueMethodType

type EarnedValueMethodType string

EarnedValueMethodType : Specifies the method used for calculating earned value.

const (
	PERCENT_COMPLETE_EarnedValueMethodType          EarnedValueMethodType = "PercentComplete"
	PHYSICAL_PERCENT_COMPLETE_EarnedValueMethodType EarnedValueMethodType = "PhysicalPercentComplete"
	UNDEFINED_EarnedValueMethodType                 EarnedValueMethodType = "Undefined"
)

List of EarnedValueMethodType

type ElementType

type ElementType string

ElementType : Specifies the type of an element.

const (
	NULL_ElementType     ElementType = "Null"
	TASK_ElementType     ElementType = "Task"
	RESOURCE_ElementType ElementType = "Resource"
)

List of ElementType

type ErrorDetails

type ErrorDetails struct {
	// The request id
	RequestId string `json:"requestId,omitempty"`
	// Date
	Date custom.TimeWithoutTZ `json:"date"`
}

The error details

type ExtendedAttribute

type ExtendedAttribute struct {
	// Gets or sets the id of a field.
	FieldId string `json:"fieldId,omitempty"`
	// Gets the type of a custom field.
	AttributeType *CustomFieldType `json:"attributeType"`
	// Gets or sets the guid of a value.
	ValueGuid string `json:"valueGuid,omitempty"`
	// Gets or sets Id of the lookup value (if value is lookup value)
	LookupValueId int32 `json:"lookupValueId,omitempty"`
	// Gets or sets value for attributes with 'Duration' type.
	DurationValue *Duration `json:"durationValue,omitempty"`
	// Gets or sets a value for attributes with numeric types (Cost, Number).
	NumericValue float32 `json:"numericValue"`
	// Gets or sets a value for attributes with date types (Date, Start, Finish).
	DateValue custom.TimeWithoutTZ `json:"dateValue"`
	// Gets or sets a value indicating whether a flag is set for an attribute with 'Flag' type.
	FlagValue bool `json:"flagValue"`
	// Gets or sets a value for attributes with 'Text' type.
	TextValue string `json:"textValue,omitempty"`
	// Gets whether calculation of extended attribute's value resulted in an error.
	IsErrorValue bool `json:"isErrorValue"`
}

Represents extended attribute.

type ExtendedAttributeDefinition

type ExtendedAttributeDefinition struct {
	// Corresponds to the Pid of a custom field.
	FieldId string `json:"fieldId,omitempty"`
	// The name of a custom field.
	FieldName string `json:"fieldName,omitempty"`
	// The type of a custom field.
	CfType *CustomFieldType `json:"cfType"`
	// The Guid of a custom field.
	Guid string `json:"guid,omitempty"`
	// Determines whether the extended attribute is associated with a task or a resource
	ElementType *ElementType `json:"elementType"`
	// The maximum number of values you can set in a picklist.
	MaxMultiValues int32 `json:"maxMultiValues"`
	// Determines whether a custom field is user defined.
	UserDef bool `json:"userDef"`
	// The alias of a custom field.
	Alias string `json:"alias,omitempty"`
	// The secondary Pid of a custom field.
	SecondaryPid string `json:"secondaryPid,omitempty"`
	// Determines whether an automatic rolldown to assignments is enabled.
	AutoRollDown bool `json:"autoRollDown"`
	// The Guid of the default lookup table entry.
	DefaultGuid string `json:"defaultGuid,omitempty"`
	// The Guid of the lookup table associated with a custom field.
	LookupUid string `json:"lookupUid,omitempty"`
	// The phonetic pronunciation of the alias of a custom field.
	PhoneticsAlias string `json:"phoneticsAlias,omitempty"`
	// The way rollups are calculated.
	RollupType *RollupType `json:"rollupType"`
	// Determines whether rollups are calculated for a task and group summary rows.
	CalculationType *CalculationType `json:"calculationType"`
	// Gets or sets the type of calculation of the custom attribute's value for summary rows.
	SummaryRowsCalculationType *SummaryRowsCalculationType `json:"summaryRowsCalculationType"`
	// The formula that Microsoft Project uses to populate a custom task field.
	Formula string `json:"formula,omitempty"`
	// Determines whether only values in the list are allowed in a file.
	RestrictValues bool `json:"restrictValues"`
	// The way value lists are sorted. Values are: 0=Descending, 1=Ascending.
	ValuelistSortOrder int32 `json:"valuelistSortOrder"`
	// Determines whether new values added to a project are automatically added to the list.
	AppendNewValues bool `json:"appendNewValues"`
	// The default value in the list.
	Default_ string `json:"default,omitempty"`
	// Returns list of Extended Attribute Values.
	ValueList []Value `json:"valueList,omitempty"`
	// Secondary guid of extended attribute.
	SecondaryGuid string `json:"secondaryGuid,omitempty"`
}

Extended attribute definition's brief into.

type ExtendedAttributeItem

type ExtendedAttributeItem struct {
	Link      *Link  `json:"link,omitempty"`
	Index     int32  `json:"index"`
	FieldName string `json:"fieldName,omitempty"`
	Alias     string `json:"alias,omitempty"`
	FieldId   string `json:"fieldId,omitempty"`
}

type ExtendedAttributeItemResponse

type ExtendedAttributeItemResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// Extended attribute definition info.
	ExtendedAttribute *ExtendedAttributeItem `json:"extendedAttribute,omitempty"`
}

type ExtendedAttributeItems

type ExtendedAttributeItems struct {
	// Link to the document.
	Link *Link                   `json:"link,omitempty"`
	List []ExtendedAttributeItem `json:"list,omitempty"`
}

type ExtendedAttributeItemsResponse

type ExtendedAttributeItemsResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status             string                  `json:"status,omitempty"`
	ExtendedAttributes *ExtendedAttributeItems `json:"extendedAttributes,omitempty"`
}

type ExtendedAttributeResponse

type ExtendedAttributeResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// Extended attribute definition.
	ExtendedAttribute *ExtendedAttributeDefinition `json:"extendedAttribute,omitempty"`
}

type FileVersion

type FileVersion struct {
	// File or folder name.
	Name string `json:"name,omitempty"`
	// True if it is a folder.
	IsFolder bool `json:"isFolder"`
	// File or folder last modified DateTime.
	ModifiedDate *custom.TimeWithoutTZ `json:"modifiedDate,omitempty""`
	// File or folder size.
	Size int64 `json:"size"`
	// File or folder path.
	Path string `json:"path,omitempty"`
	// File Version ID.
	VersionId string `json:"versionId,omitempty"`
	// Specifies whether the file is (true) or is not (false) the latest version of an file.
	IsLatest bool `json:"isLatest"`
}

File Version

type FileVersions

type FileVersions struct {
	// File versions FileVersion.
	Value []FileVersion `json:"value,omitempty"`
}

File versions FileVersion.

type FilesList

type FilesList struct {
	// Files and folders contained by folder StorageFile.
	Value []StorageFile `json:"value,omitempty"`
}

Files list

type FilesUploadResult

type FilesUploadResult struct {
	// List of uploaded file names
	Uploaded []string `json:"uploaded,omitempty"`
	// List of errors.
	Errors []ModelError `json:"errors,omitempty"`
}

File upload result

type ImportedProjectType

type ImportedProjectType string

ImportedProjectType : Specifies the type of a database file to import a project from

const (
	NONE_ImportedProjectType                ImportedProjectType = "None"
	PRIMAVERA_SQLITE_DB_ImportedProjectType ImportedProjectType = "PrimaveraSqliteDb"
	PRIMAVERA_XML_ImportedProjectType       ImportedProjectType = "PrimaveraXml"
)

List of ImportedProjectType

type Link struct {
	// The \"href\" attribute contains the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference
	Href string `json:"href,omitempty"`
	// atom:link elements MAY have a \"rel\" attribute that indicates the link relation type.  If the \"rel\" attribute is not present, the link element MUST be interpreted as if the link relation type is \"alternate\".
	Rel string `json:"rel,omitempty"`
	// On the link element, the \"type\" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced.  Note that the type attribute does not override the actual media type returned with the representation.
	Type_ string `json:"type,omitempty"`
	// The \"title\" attribute conveys human-readable information about the link.  The content of the \"title\" attribute is Language-Sensitive.
	Title string `json:"title,omitempty"`
}

Provides information for the object link. This is supposed to be an atom:link, therefore it should have all attributes specified here http://tools.ietf.org/html/rfc4287#section-4.2.7

type LinkElement

type LinkElement struct {
	// Link to the document.
	Link *Link `json:"link,omitempty"`
}

Reference to document.

type MaskType

type MaskType string

MaskType : Specifies the type of a mask.

const (
	NULL_MaskType               MaskType = "Null"
	NUMBERS_MaskType            MaskType = "Numbers"
	UPPER_CASE_LETTERS_MaskType MaskType = "UpperCaseLetters"
	LOWER_CASE_LETTERS_MaskType MaskType = "LowerCaseLetters"
	CHARACTERS_MaskType         MaskType = "Characters"
	VAL4_MaskType               MaskType = "Val4"
	VAL5_MaskType               MaskType = "Val5"
	VAL6_MaskType               MaskType = "Val6"
	VAL7_MaskType               MaskType = "Val7"
	VAL8_MaskType               MaskType = "Val8"
	VAL9_MaskType               MaskType = "Val9"
)

List of MaskType

type ModelError

type ModelError struct {
	// Code
	Code string `json:"code,omitempty"`
	// Message
	Message string `json:"message,omitempty"`
	// Description
	Description string `json:"description,omitempty"`
	// Inner Error
	InnerError *ErrorDetails `json:"innerError,omitempty"`
}

Error

func (*ModelError) Error

func (w *ModelError) Error() string

type Month

type Month string

Month : Specifies the month.

const (
	JANUARY_Month   Month = "January"
	FEBRUARY_Month  Month = "February"
	MARCH_Month     Month = "March"
	APRIL_Month     Month = "April"
	MAY_Month       Month = "May"
	JUNE_Month      Month = "June"
	JULY_Month      Month = "July"
	AUGUST_Month    Month = "August"
	SEPTEMBER_Month Month = "September"
	OCTOBER_Month   Month = "October"
	NOVEMBER_Month  Month = "November"
	DECEMBER_Month  Month = "December"
	UNDEFINED_Month Month = "Undefined"
)

List of Month

type MonthItemType

type MonthItemType string

MonthItemType : Specifies the month item for which an exception recurrence is scheduled.

const (
	DAY_MonthItemType         MonthItemType = "Day"
	WEEKDAY_MonthItemType     MonthItemType = "Weekday"
	WEEKEND_DAY_MonthItemType MonthItemType = "WeekendDay"
	SUNDAY_MonthItemType      MonthItemType = "Sunday"
	MONDAY_MonthItemType      MonthItemType = "Monday"
	TUESDAY_MonthItemType     MonthItemType = "Tuesday"
	WEDNESDAY_MonthItemType   MonthItemType = "Wednesday"
	THURSDAY_MonthItemType    MonthItemType = "Thursday"
	FRIDAY_MonthItemType      MonthItemType = "Friday"
	SATURDAY_MonthItemType    MonthItemType = "Saturday"
	UNDEFINED_MonthItemType   MonthItemType = "Undefined"
)

List of MonthItemType

type MonthPosition

type MonthPosition string

MonthPosition : Specifies the position of a month item within a month.

const (
	FIRST_MonthPosition     MonthPosition = "First"
	SECOND_MonthPosition    MonthPosition = "Second"
	THIRD_MonthPosition     MonthPosition = "Third"
	FOURTH_MonthPosition    MonthPosition = "Fourth"
	LAST_MonthPosition      MonthPosition = "Last"
	UNDEFINED_MonthPosition MonthPosition = "Undefined"
)

List of MonthPosition

type ObjectExist

type ObjectExist struct {
	// Indicates that the file or folder exists.
	Exists bool `json:"exists"`
	// True if it is a folder, false if it is a file.
	IsFolder bool `json:"isFolder"`
}

Object exists

type OrdinalNumber

type OrdinalNumber string

OrdinalNumber : Represents an ordinal number in the instance of RecurringInfo class.

const (
	FIRST_OrdinalNumber  OrdinalNumber = "First"
	SECOND_OrdinalNumber OrdinalNumber = "Second"
	THIRD_OrdinalNumber  OrdinalNumber = "Third"
	FOURTH_OrdinalNumber OrdinalNumber = "Fourth"
	LAST_OrdinalNumber   OrdinalNumber = "Last"
)

List of OrdinalNumber

type OutlineCode

type OutlineCode struct {
	// The number value of the project Id (Pid) custom field.
	FieldId string `json:"fieldId,omitempty"`
	// The Id in the value list associated with the definition in the outline code collection.
	ValueId int32 `json:"valueId"`
	// The Guid of the value in the value list. The ValueGuid matches the FieldGuid in the value list.
	ValueGuid string `json:"valueGuid,omitempty"`
}

Represents a value of an outline code.

type OutlineCodeDefinition

type OutlineCodeDefinition struct {
	// The Guid of an outline code.
	Guid string `json:"guid,omitempty"`
	// Corresponds to the field number of an outline code.
	FieldId string `json:"fieldId,omitempty"`
	// The name of a custom outline code.
	FieldName string `json:"fieldName,omitempty"`
	// The alias of a custom outline code.
	Alias string `json:"alias,omitempty"`
	// The phonetic pronunciation of the alias of the custom outline code.
	PhoneticAlias string `json:"phoneticAlias,omitempty"`
	// Returns List<OutlineValue> Values. The values of the table associated with this outline code.
	Values []OutlineValue `json:"values,omitempty"`
	// Determines whether a custom outline code is an enterprise custom outline code.
	Enterprise bool `json:"enterprise"`
	// The reference to another custom field for which this outline code definition is an alias.
	EnterpriseOutlineCodeAlias int32 `json:"enterpriseOutlineCodeAlias"`
	// Determines whether the custom outline code can be used by the Resource Substitution Wizard in Microsoft Project.
	ResourceSubstitutionEnabled bool `json:"resourceSubstitutionEnabled"`
	// Determines whether the values specified in this outline code field must be leaf values.
	LeafOnly bool `json:"leafOnly"`
	// Determines whether the new codes must have all levels. Not available for Enterprise Codes.
	AllLevelsRequired bool `json:"allLevelsRequired"`
	// Determines whether the values specified must come from values table.
	OnlyTableValuesAllowed bool `json:"onlyTableValuesAllowed"`
	// Returns List<OutlineMask> Masks. The table of entries that define the outline code mask.
	Masks []OutlineMask `json:"masks,omitempty"`
	// Determines whether the indents of this outline code must be shown.
	ShowIndent bool `json:"showIndent"`
}

Represents an outline code definition.

type OutlineCodeItem

type OutlineCodeItem struct {
	Link  *Link `json:"link,omitempty"`
	Index int32 `json:"index"`
}

Outline code's brief into.

type OutlineCodeItems

type OutlineCodeItems struct {
	// Link to the document.
	Link *Link             `json:"link,omitempty"`
	List []OutlineCodeItem `json:"list,omitempty"`
}

type OutlineCodeItemsResponse

type OutlineCodeItemsResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status       string            `json:"status,omitempty"`
	OutlineCodes *OutlineCodeItems `json:"outlineCodes,omitempty"`
}

type OutlineCodeResponse

type OutlineCodeResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// Outline code definition.
	OutlineCode *OutlineCodeDefinition `json:"outlineCode,omitempty"`
}

type OutlineMask

type OutlineMask struct {
	// The level of a mask.
	Level int32 `json:"level"`
	// The type of a mask.
	Type_ *MaskType `json:"type"`
	// The maximum length (in characters) of the outline code values. 0 if length is not defined.
	Length int32 `json:"length"`
	// The separator of code values.
	Separator string `json:"separator,omitempty"`
}

Represents four elements of a mask which defines an outline code format.

type OutlineValue

type OutlineValue struct {
	// The unique Id of an outline code value within a project.
	ValueId int32 `json:"valueId"`
	// The Guid of an outline code value.
	FieldGuid string `json:"fieldGuid,omitempty"`
	// The outline code type.
	Type_ *OutlineValueType `json:"type"`
	// The Id of a parent node of an outline code.
	ParentValueId int32 `json:"parentValueId"`
	// The actual value.
	Value string `json:"value,omitempty"`
	// The description of an outline value.
	Description string `json:"description,omitempty"`
	// Determines whether outline value is collapsed or not.
	IsCollapsed bool `json:"isCollapsed"`
}

Represents an outline value.

type OutlineValueType

type OutlineValueType string

OutlineValueType : Specifies the type of an outline value.

const (
	NULL_OutlineValueType        OutlineValueType = "Null"
	DATE_OutlineValueType        OutlineValueType = "Date"
	DURATION_OutlineValueType    OutlineValueType = "Duration"
	COST_OutlineValueType        OutlineValueType = "Cost"
	NUMBER_OutlineValueType      OutlineValueType = "Number"
	FLAG_OutlineValueType        OutlineValueType = "Flag"
	TEXT_OutlineValueType        OutlineValueType = "Text"
	FINISH_DATE_OutlineValueType OutlineValueType = "FinishDate"
)

List of OutlineValueType

type PageCountResponse

type PageCountResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// Number of pages in document.
	PageCount int32 `json:"pageCount"`
}

Response that contains page count.

type PageSize

type PageSize string

PageSize : Specifies page size.

const (
	LETTER_PageSize PageSize = "Letter"
	LEDGER_PageSize PageSize = "Ledger"
	A0_PageSize     PageSize = "A0"
	A1_PageSize     PageSize = "A1"
	A2_PageSize     PageSize = "A2"
	A3_PageSize     PageSize = "A3"
	A4_PageSize     PageSize = "A4"
)

List of PageSize

type PresentationFormat

type PresentationFormat string

PresentationFormat : Enumeration for presentation format.

const (
	GANTT_CHART_PresentationFormat    PresentationFormat = "GanttChart"
	TASK_USAGE_PresentationFormat     PresentationFormat = "TaskUsage"
	RESOURCE_USAGE_PresentationFormat PresentationFormat = "ResourceUsage"
	RESOURCE_SHEET_PresentationFormat PresentationFormat = "ResourceSheet"
	TASK_SHEET_PresentationFormat     PresentationFormat = "TaskSheet"
)

List of PresentationFormat

type PrimaveraTaskProperties added in v0.2212.0

type PrimaveraTaskProperties struct {
	// The sequence number of the WBS item (summary tasks). It is used to sort summary tasks in Primavera.
	SequenceNumber int32 `json:"sequenceNumber"`
	// Activity id field - a task's unique identifier used by Primavera.
	ActivityId string `json:"activityId,omitempty"`
	// Remaining early finish date - the date when the remaining work for the activity is scheduled to be finished.
	RemainingEarlyFinish custom.TimeWithoutTZ `json:"remainingEarlyFinish"`
	// Remaining early start date - the date when the remaining work for the activity is scheduled to begin.
	RemainingEarlyStart custom.TimeWithoutTZ `json:"remainingEarlyStart"`
	// Remaining late start date.
	RemainingLateStart custom.TimeWithoutTZ `json:"remainingLateStart"`
	// Remaining late finish date.
	RemainingLateFinish custom.TimeWithoutTZ `json:"remainingLateFinish"`
	// Raw text representation (as in source file) of 'Duration Type' field of the activity.
	RawDurationType string `json:"rawDurationType,omitempty"`
	// Raw text representation (as in source file) of 'Activity Type' field of the activity.
	RawActivityType string `json:"rawActivityType,omitempty"`
	// Raw text representation (as in source file) of '% Complete Type' field of the activity.
	RawCompletePercentType string `json:"rawCompletePercentType,omitempty"`
	// Raw text representation (as in source file) of 'Status' field of the activity.
	RawStatus string `json:"rawStatus,omitempty"`
}

Represents Primavera-specific properties for a task read from Primavera format (XER of P6XML).

type PrimaveraTaskPropertiesResponse added in v0.2212.0

type PrimaveraTaskPropertiesResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// PrimaveraTaskProperties DTO
	PrimaveraProperties *PrimaveraTaskProperties `json:"primaveraProperties,omitempty"`
}

PrimaveraProperties response.

type ProbabilityDistributionType

type ProbabilityDistributionType string

ProbabilityDistributionType : Specifies types of supported probability distributions.

const (
	UNIFORM_ProbabilityDistributionType ProbabilityDistributionType = "Uniform"
	NORMAL_ProbabilityDistributionType  ProbabilityDistributionType = "Normal"
)

List of ProbabilityDistributionType

type ProjectDatabaseType

type ProjectDatabaseType string

ProjectDatabaseType : Specifies the type of a database to import a project from

const (
	NONE_ProjectDatabaseType      ProjectDatabaseType = "None"
	MSP_ProjectDatabaseType       ProjectDatabaseType = "Msp"
	PRIMAVERA_ProjectDatabaseType ProjectDatabaseType = "Primavera"
)

List of ProjectDatabaseType

type ProjectFileFormat

type ProjectFileFormat string

ProjectFileFormat : Supported formats in which project file can be saved.

const (
	MPP_ProjectFileFormat            ProjectFileFormat = "mpp"
	XML_ProjectFileFormat            ProjectFileFormat = "xml"
	HTML_ProjectFileFormat           ProjectFileFormat = "html"
	BMP_ProjectFileFormat            ProjectFileFormat = "bmp"
	PNG_ProjectFileFormat            ProjectFileFormat = "png"
	JPEG_ProjectFileFormat           ProjectFileFormat = "jpeg"
	PDF_ProjectFileFormat            ProjectFileFormat = "pdf"
	TIFF_ProjectFileFormat           ProjectFileFormat = "tiff"
	XPS_ProjectFileFormat            ProjectFileFormat = "xps"
	SVG_ProjectFileFormat            ProjectFileFormat = "svg"
	CSV_ProjectFileFormat            ProjectFileFormat = "csv"
	TXT_ProjectFileFormat            ProjectFileFormat = "txt"
	SPREADSHEET_ML_ProjectFileFormat ProjectFileFormat = "spreadsheetML"
	XLSX_ProjectFileFormat           ProjectFileFormat = "xlsx"
	P6XML_ProjectFileFormat          ProjectFileFormat = "p6xml"
	XER_ProjectFileFormat            ProjectFileFormat = "xer"
	MPX_ProjectFileFormat            ProjectFileFormat = "mpx"
	GDHTML_ProjectFileFormat         ProjectFileFormat = "Gdhtml"
)

List of ProjectFileFormat

type ProjectIdsResponse

type ProjectIdsResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// UIds of the projects
	ProjectIds []string `json:"projectIds,omitempty"`
}

ProjectIds response

type ProjectInfo

type ProjectInfo struct {
	// The unique identifier of the project.
	Id string `json:"id"`
	// The name of the project.
	Name string `json:"name,omitempty"`
	// The date and time when the project was created.
	CreatedDate custom.TimeWithoutTZ `json:"createdDate"`
	// Value indicating whether the project is checked out.
	IsCheckedOut bool `json:"isCheckedOut"`
	// The most recent date when the project was published.
	LastPublishedDate custom.TimeWithoutTZ `json:"lastPublishedDate"`
	// The most recent date when the project was saved.
	LastSavedDate custom.TimeWithoutTZ `json:"lastSavedDate"`
	// The description of the project.
	Description string `json:"description,omitempty"`
}

Brief info about the published project available on Project Online.

type ProjectList

type ProjectList struct {
	// Link to the document.
	Link        *Link         `json:"link,omitempty"`
	ProjectInfo []ProjectInfo `json:"projectInfo,omitempty"`
}

type ProjectListResponse

type ProjectListResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status   string       `json:"status,omitempty"`
	Projects *ProjectList `json:"projects,omitempty"`
}

type ProjectRecalculateResponse

type ProjectRecalculateResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string                      `json:"status,omitempty"`
	Result *ProjectRecalculationResult `json:"result,omitempty"`
}

type ProjectRecalculationResult

type ProjectRecalculationResult struct {
	ValidationState        *ProjectValidationState `json:"validationState"`
	ValidationErrorMessage string                  `json:"validationErrorMessage,omitempty"`
}

Specifies the result of recalculation of the project;

type ProjectServerSaveOptionsDto

type ProjectServerSaveOptionsDto struct {
	// Gets or sets name of a project which is displayed in Project Server \\ Project     Online projects list. Should be unique within Project Server \\ Project Online     instance. Is the value is omitted, the value of Prj.Name property will be used     instead.
	ProjectName string `json:"projectName,omitempty"`
	// Gets or sets unique identifier of a project. Should be unique within Project     Server \\ Project Online instance.
	ProjectGuid string `json:"projectGuid,omitempty"`
	// Gets or sets timeout used when waiting for processing of save project request     by a Project Server's queue processing service. The default value for this property     is 1 minute. The processing time may be longer for large projects or in case when Project     Server instance is too busy responding to other requests.
	Timeout *string `json:"timeout,omitempty"`
	// Gets or sets interval between queue job status requests. The default value is     2 seconds.
	PollingInterval *string `json:"pollingInterval,omitempty"`
}

Allows to specify additional options when project is saved to Project Server or Project Online.

type ProjectValidationState

type ProjectValidationState string

ProjectValidationState : Specifies the state of the project's validation

const (
	NONE_ProjectValidationState        ProjectValidationState = "None"
	NOT_STARTED_ProjectValidationState ProjectValidationState = "NotStarted"
	VALID_ProjectValidationState       ProjectValidationState = "Valid"
	HAS_ERRORS_ProjectValidationState  ProjectValidationState = "HasErrors"
)

List of ProjectValidationState

type RateFormatType

type RateFormatType string

RateFormatType : Specifies the units used by Microsoft Project to display a rate.

const (
	MINUTE_RateFormatType                 RateFormatType = "Minute"
	HOUR_RateFormatType                   RateFormatType = "Hour"
	DAY_RateFormatType                    RateFormatType = "Day"
	WEEK_RateFormatType                   RateFormatType = "Week"
	MONTH_RateFormatType                  RateFormatType = "Month"
	YEAR_RateFormatType                   RateFormatType = "Year"
	MATERIAL_RESOURCE_RATE_RateFormatType RateFormatType = "MaterialResourceRate"
	UNDEFINED_RateFormatType              RateFormatType = "Undefined"
)

List of RateFormatType

type RateScaleType

type RateScaleType string

RateScaleType : Specifies the rate scale type.

const (
	UNDEFINED_RateScaleType RateScaleType = "Undefined"
	MINUTE_RateScaleType    RateScaleType = "Minute"
	HOUR_RateScaleType      RateScaleType = "Hour"
	DAY_RateScaleType       RateScaleType = "Day"
	WEEK_RateScaleType      RateScaleType = "Week"
	MONTH_RateScaleType     RateScaleType = "Month"
	QUARTER_RateScaleType   RateScaleType = "Quarter"
	YEAR_RateScaleType      RateScaleType = "Year"
)

List of RateScaleType

type RateType

type RateType string

RateType : Specifies the unique identifiers of a rate table.

const (
	A_RateType         RateType = "A"
	B_RateType         RateType = "B"
	C_RateType         RateType = "C"
	D_RateType         RateType = "D"
	E_RateType         RateType = "E"
	UNDEFINED_RateType RateType = "Undefined"
)

List of RateType

type RecurrencePattern

type RecurrencePattern string

RecurrencePattern : Represents a type of recurrence pattern of a recurring task.

const (
	DAILY_RecurrencePattern   RecurrencePattern = "Daily"
	WEEKLY_RecurrencePattern  RecurrencePattern = "Weekly"
	MONTHLY_RecurrencePattern RecurrencePattern = "Monthly"
	YEARLY_RecurrencePattern  RecurrencePattern = "Yearly"
)

List of RecurrencePattern

type RecurringInfo

type RecurringInfo struct {
	// Represents a recurrence pattern of the recurring task. Can be one of the values of  enum.
	RecurrencePattern *RecurrencePattern `json:"recurrencePattern"`
	// Specifies the date for the occurrences to begin.
	StartDate custom.TimeWithoutTZ `json:"startDate"`
	// Specifies the date for the occurrences to end.
	EndDate custom.TimeWithoutTZ `json:"endDate"`
	// Specifies the duration for one occurrence of the recurring task. the instance of  class.
	Duration *string `json:"duration,omitempty"`
	// Specifies a number of occurrences of the recurring task.
	Occurrences int32 `json:"occurrences"`
	// Determines whether to use the end date or a number of occurrences for the recurring task.
	UseEndDate bool `json:"useEndDate"`
	// Specifies an interval between repetitions for the daily recurrence pattern.
	DailyRepetitions int32 `json:"dailyRepetitions"`
	// Determines whether to use workdays for the daily recurrence pattern.
	DailyUseWorkdays bool `json:"dailyUseWorkdays"`
	// Specifies an interval between repetitions for the weekly recurrence pattern.
	WeeklyRepetitions int32 `json:"weeklyRepetitions"`
	// Specifies a collection of days used in the weekly recurrence pattern.
	WeeklyDays *WeekDayType `json:"weeklyDays"`
	// Determines whether to use ordinal day for the monthly recurrence pattern.
	MonthlyUseOrdinalDay bool `json:"monthlyUseOrdinalDay"`
	// Specifies an ordinal number of the monthly recurrence pattern. Can be one of the values of  enum.
	MonthlyOrdinalNumber *OrdinalNumber `json:"monthlyOrdinalNumber"`
	// Specifies a day of the monthly recurrence pattern when using ordinal day. Can be one of the values of  enum.
	MonthlyOrdinalDay *DayOfWeek `json:"monthlyOrdinalDay"`
	// Specifies a number of repetitions for the monthly recurrence pattern when using ordinal day.
	MonthlyOrdinalRepetitions int32 `json:"monthlyOrdinalRepetitions"`
	// Specifies a number of day of the monthly recurrence pattern.
	MonthlyDay int32 `json:"monthlyDay"`
	// Specifies a number of repetitions for the monthly recurrence pattern.
	MonthlyRepetitions int32 `json:"monthlyRepetitions"`
	// Determines whether to use ordinal day for the yearly recurrence pattern.
	YearlyUseOrdinalDay bool `json:"yearlyUseOrdinalDay"`
	// Specifies a date for the yearly recurrence pattern.
	YearlyDate custom.TimeWithoutTZ `json:"yearlyDate"`
	// Specifies an ordinal number of the yearly recurrence pattern. Can be one of the values of  enum.
	YearlyOrdinalNumber *OrdinalNumber `json:"yearlyOrdinalNumber"`
	// Specifies a weekday of the yearly recurrence pattern when using ordinal day. Can be one of the values of  enum.
	YearlyOrdinalDay *DayOfWeek `json:"yearlyOrdinalDay"`
	// Specifies a month of the yearly recurrence pattern when using ordinal day. Can be one of the values of  enum.
	YearlyOrdinalMonth *Month `json:"yearlyOrdinalMonth"`
}

Represents the details of a recurring task in a project.

type RecurringInfoResponse

type RecurringInfoResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// Gets or sets RecurringInfo
	RecurringInfo *RecurringInfo `json:"recurringInfo,omitempty"`
}

RecurringInfo responce

type ReportType

type ReportType string

ReportType : Specifies a type of the project's graphical report.

const (
	PROJECT_OVERVIEW_ReportType        ReportType = "ProjectOverview"
	COST_OVERVIEW_ReportType           ReportType = "CostOverview"
	WORK_OVERVIEW_ReportType           ReportType = "WorkOverview"
	RESOURCE_OVERVIEW_ReportType       ReportType = "ResourceOverview"
	RESOURCE_COST_OVERVIEW_ReportType  ReportType = "ResourceCostOverview"
	CRITICAL_TASKS_ReportType          ReportType = "CriticalTasks"
	LATE_TASKS_ReportType              ReportType = "LateTasks"
	MILESTONES_ReportType              ReportType = "Milestones"
	UPCOMING_TASK_ReportType           ReportType = "UpcomingTask"
	COST_OVERRUNS_ReportType           ReportType = "CostOverruns"
	TASK_COST_OVERVIEW_ReportType      ReportType = "TaskCostOverview"
	OVERALLOCATED_RESOURCES_ReportType ReportType = "OverallocatedResources"
	SLIPPING_TASKS_ReportType          ReportType = "SlippingTasks"
	BEST_PRACTICE_ANALYZER_ReportType  ReportType = "BestPracticeAnalyzer"
	BURNDOWN_ReportType                ReportType = "Burndown"
	CASH_FLOW_ReportType               ReportType = "CashFlow"
)

List of ReportType

type Resource

type Resource struct {
	//         Gets the flag indicating whether resource is a root resource. Root resource is         a special resource which is intended to support internals of MS Project's formats         and is not intended to be used directly from the user's code.
	IsRoot bool `json:"isRoot"`
	// The name of a resource.
	Name string `json:"name,omitempty"`
	// The unique identifier of a resource.
	Uid int32 `json:"uid"`
	// The position identifier of a resource within the list of resources.
	Id int32 `json:"id"`
	// Contains the generated unique identification code for the resource.
	Guid string `json:"guid,omitempty"`
	// The type of a resource.
	Type_ *ResourceType `json:"type"`
	// Determines whether a resource is null.
	IsNull bool `json:"isNull"`
	// The initials of a resource.
	Initials string `json:"initials,omitempty"`
	// The phonetic spelling of the resource name. For use with Japanese only.
	Phonetics string `json:"phonetics,omitempty"`
	// The NT account associated with a resource.
	NtAccount string `json:"ntAccount,omitempty"`
	// The NT account associated with a resource.
	WindowsUserAccount string `json:"windowsUserAccount,omitempty"`
	// The type of a workgroup to which a resource belongs.  type.
	Workgroup *WorkGroupType `json:"workgroup"`
	// The unit of measure for the material resource. Read/write String.
	MaterialLabel string `json:"materialLabel,omitempty"`
	// The code or other information about a resource.
	Code string `json:"code,omitempty"`
	// The group to which a resource belongs.
	Group        string `json:"group,omitempty"`
	EmailAddress string `json:"emailAddress,omitempty"`
	// The title of a hyperlink associated with a resource.
	Hyperlink string `json:"hyperlink,omitempty"`
	// The hyperlink associated with a resource.
	HyperlinkAddress string `json:"hyperlinkAddress,omitempty"`
	// The document bookmark of a hyperlink associated with a resource. Read/write String.
	HyperlinkSubAddress string `json:"hyperlinkSubAddress,omitempty"`
	// The maximum number of units of a resource is available.
	MaxUnits float64 `json:"maxUnits"`
	// The largest number of units assigned to a resource at any time.
	PeakUnits     float64 `json:"peakUnits"`
	OverAllocated bool    `json:"overAllocated"`
	// The first date when a resource is available.
	AvailableFrom custom.TimeWithoutTZ `json:"availableFrom"`
	// The last date when a resource is available.
	AvailableTo custom.TimeWithoutTZ `json:"availableTo"`
	// The scheduled start date of a resource.
	Start custom.TimeWithoutTZ `json:"start"`
	// The scheduled finish date of a resource.
	Finish custom.TimeWithoutTZ `json:"finish"`
	// Determines whether a resource can be leveled.
	CanLevel bool `json:"canLevel"`
	// Determines how cost is accrued against the resource.
	AccrueAt *CostAccrualType `json:"accrueAt"`
	// The total work assigned to a resource across all assigned tasks.
	Work *string `json:"work,omitempty"`
	// The amount of non-overtime work assigned to a resource.
	RegularWork *string `json:"regularWork,omitempty"`
	// The amount of overtime work assigned to a resource.
	OvertimeWork *string `json:"overtimeWork,omitempty"`
	// The amount of actual work performed by a resource.
	ActualWork *string `json:"actualWork,omitempty"`
	// The amount of remaining work required to complete all assigned tasks.
	RemainingWork *string `json:"remainingWork,omitempty"`
	// The amount of actual overtime work performed by a resource.
	ActualOvertimeWork *string `json:"actualOvertimeWork,omitempty"`
	// The amount of remaining overtime work required to complete all tasks.
	RemainingOvertimeWork *string `json:"remainingOvertimeWork,omitempty"`
	// The percentage of work completed across all tasks.
	PercentWorkComplete int32 `json:"percentWorkComplete"`
	// The standard rate of a resource. This value retrieved from the current date if a rate table exists for a resource.
	StandardRate float32 `json:"standardRate"`
	// The units used by Microsoft Project to display the standard rate.
	StandardRateFormat *RateFormatType `json:"standardRateFormat"`
	// The total project cost for a resource across all assigned tasks.
	Cost float32 `json:"cost"`
	// The units used by Microsoft Project to display the overtime rate.
	OvertimeRateFormat *RateFormatType `json:"overtimeRateFormat"`
	// The total overtime cost of a resource including actual and remaining overtime costs.
	OvertimeCost float32 `json:"overtimeCost"`
	// The cost per use of a resource. This value retrieved from the current date if a rate table exists for the resource.
	CostPerUse float32 `json:"costPerUse"`
	// The actual cost incurred by the resource across all assigned tasks.
	ActualCost float32 `json:"actualCost"`
	// The actual overtime cost incurred by the resource across all assigned tasks.
	ActualOvertimeCost float32 `json:"actualOvertimeCost"`
	// The remaining projected cost of a resource to complete all assigned tasks.
	RemainingCost float32 `json:"remainingCost"`
	// The remaining projected overtime cost of a resource to complete all assigned tasks.
	RemainingOvertimeCost float32 `json:"remainingOvertimeCost"`
	// The difference between a baseline work and a work
	WorkVariance float64 `json:"workVariance"`
	// The difference between a baseline cost and a cost.
	CostVariance float64 `json:"costVariance"`
	// The earned value schedule variance, through the project status date.
	Sv float64 `json:"sv"`
	// The earned value cost variance, through the project status date.
	Cv float64 `json:"cv"`
	// The actual cost of a work performed by a resource for the project to-date.
	Acwp float64 `json:"acwp"`
	// The calendar of a resource.
	CalendarUid int32 `json:"calendarUid"`
	// Notes' plain text extracted from RTF data.
	NotesText string `json:"notesText,omitempty"`
	// The text notes associated with a resource.
	Notes string `json:"notes,omitempty"`
	// The text notes in RTF format. Supported for MPP formats only.
	NotesRTF string `json:"notesRTF,omitempty"`
	// The budget cost of a work scheduled for a resource.
	Bcws float64 `json:"bcws"`
	// The budgeted cost of a work performed by a resource for the project to-date.
	Bcwp float64 `json:"bcwp"`
	// Determines whether a resource is generic.
	IsGeneric bool `json:"isGeneric"`
	// Determines whether a resource is inactive.
	IsInactive bool `json:"isInactive"`
	// Determines whether a resource is an Enterprise resource.
	IsEnterprise bool `json:"isEnterprise"`
	// The booking type of a resource.
	BookingType *BookingType `json:"bookingType"`
	// The duration through which actual work is protected.
	ActualWorkProtected *string `json:"actualWorkProtected,omitempty"`
	// The duration through which actual overtime work is protected.
	ActualOvertimeWorkProtected *string `json:"actualOvertimeWorkProtected,omitempty"`
	// The Active Directory Guid for a resource.
	ActiveDirectoryGuid string `json:"activeDirectoryGuid,omitempty"`
	// The date when a resource was created.
	CreationDate custom.TimeWithoutTZ `json:"creationDate"`
	// Indicates which cost center the costs accrued by the resource should be charged to.
	CostCenter string `json:"costCenter,omitempty"`
	// Determines whether a resource is a cost resource.
	IsCostResource bool `json:"isCostResource"`
	// Determines whether the current resource is a team resource.
	TeamAssignmentPool bool `json:"teamAssignmentPool"`
	// The name of an assignment owner.
	AssignmentOwner string `json:"assignmentOwner,omitempty"`
	// The GUID of an assignment owner.
	AssignmentOwnerGuid string `json:"assignmentOwnerGuid,omitempty"`
	// Determines whether a resource is a budget resource.
	IsBudget bool `json:"isBudget"`
	// The budget work for a budget work or material resource.
	BudgetWork *string `json:"budgetWork,omitempty"`
	// The budget cost for a budget cost resource.
	BudgetCost float32 `json:"budgetCost"`
	// The overtime rate of a resource. This value retrieved from the current date if a rate table exists for a resource.
	OvertimeRate float32 `json:"overtimeRate"`
	// Gets or sets the collection of baseline values of the resource.
	Baselines []Baseline `json:"baselines,omitempty"`
	// Resource extended attributes.
	ExtendedAttributes []ExtendedAttribute `json:"extendedAttributes,omitempty"`
	// Resource outline codes.
	OutlineCodes []OutlineCode `json:"outlineCodes,omitempty"`
}

Represents a project resource.

type ResourceAssignment

type ResourceAssignment struct {
	// Returns or sets a task unique id to which a resource is assigned.
	TaskUid int32 `json:"taskUid"`
	// Returns or sets a resource unique id assigned to a task.
	ResourceUid int32 `json:"resourceUid"`
	// Returns or sets the global unique identifier of an assignment.
	Guid string `json:"guid,omitempty"`
	// Returns or sets the unique identifier of an assignment.
	Uid int32 `json:"uid"`
	// Returns or sets the amount of a work completed on an assignment.
	PercentWorkComplete int32 `json:"percentWorkComplete"`
	// Returns or sets the actual cost incurred on an assignment.
	ActualCost float32 `json:"actualCost"`
	// Returns or sets the actual finish date of an assignment.
	ActualFinish custom.TimeWithoutTZ `json:"actualFinish"`
	// Returns or sets the actual overtime cost incurred on an assignment.
	ActualOvertimeCost float32 `json:"actualOvertimeCost"`
	// Returns or sets the actual amount of an overtime work incurred on an assignment.
	ActualOvertimeWork *string `json:"actualOvertimeWork,omitempty"`
	// Returns or sets the actual start date of an assignment.
	ActualStart custom.TimeWithoutTZ `json:"actualStart"`
	// Returns or sets the actual amount of a work incurred on an assignment.
	ActualWork *string `json:"actualWork,omitempty"`
	// Returns or sets the actual cost of a work performed on an assignment to-date.
	Acwp float64 `json:"acwp"`
	// Determines whether a resource has accepted all of its assignments.
	Confirmed bool `json:"confirmed"`
	// Returns or sets the projected or scheduled cost of an assignment.
	Cost float32 `json:"cost"`
	// Returns or sets the cost rate table used for this assignment.
	CostRateTableType *RateType `json:"costRateTableType"`
	// Returns or sets the difference between the cost and baseline cost of a resource.
	CostVariance float64 `json:"costVariance"`
	// Returns or sets the earned value cost variance.
	Cv float64 `json:"cv"`
	// Returns or sets the delay of an assignment.
	Delay int32 `json:"delay"`
	// Returns or sets the scheduled finish date of an assignment.
	Finish custom.TimeWithoutTZ `json:"finish"`
	// Returns or sets the variance of an assignment finish date from a baseline finish date.
	FinishVariance int32 `json:"finishVariance"`
	// Returns or sets the title of the hyperlink associated with an assignment.
	Hyperlink string `json:"hyperlink,omitempty"`
	// Returns or sets the hyperlink associated with an assignment.
	HyperlinkAddress string `json:"hyperlinkAddress,omitempty"`
	// Returns or sets the document bookmark of the hyperlink associated with an assignment.
	HyperlinkSubAddress string `json:"hyperlinkSubAddress,omitempty"`
	// Returns or sets the variance of an assignment work from the baseline work as minutes.
	WorkVariance float64 `json:"workVariance"`
	// Determines whether the Units have Fixed Rate.
	HasFixedRateUnits bool `json:"hasFixedRateUnits"`
	// Determines whether the consumption of an assigned material resource occurs in a single, fixed amount.
	FixedMaterial bool `json:"fixedMaterial"`
	// Returns or sets the delay caused by leveling.
	LevelingDelay int32 `json:"levelingDelay"`
	// Returns or sets the duration format of a delay.
	LevelingDelayFormat *TimeUnitType `json:"levelingDelayFormat"`
	// Determines whether the Project is linked to another OLE object.
	LinkedFields bool `json:"linkedFields"`
	// Determines whether the assignment is a milestone.
	Milestone bool `json:"milestone"`
	// Returns or sets the text notes associated with an assignment.
	Notes string `json:"notes,omitempty"`
	// Determines whether the assignment is overallocated.
	Overallocated bool `json:"overallocated"`
	// Returns or sets the sum of the actual and remaining overtime cost of an assignment.
	OvertimeCost float32 `json:"overtimeCost"`
	// Returns or sets the scheduled overtime work of an assignment.
	OvertimeWork *string `json:"overtimeWork,omitempty"`
	// Returns or sets the largest number of a resource's units assigned to a task.
	PeakUnits float64 `json:"peakUnits"`
	// Returns or sets the amount of a non-overtime work scheduled for an assignment.
	RegularWork *string `json:"regularWork,omitempty"`
	// Returns or sets the remaining projected cost of completing an assignment.
	RemainingCost float32 `json:"remainingCost"`
	// Returns or sets the remaining projected overtime cost of completing an assignment.
	RemainingOvertimeCost float32 `json:"remainingOvertimeCost"`
	// Returns or sets the remaining overtime work scheduled to complete an assignment.
	RemainingOvertimeWork *string `json:"remainingOvertimeWork,omitempty"`
	// Returns or sets the remaining work scheduled to complete an assignment.
	RemainingWork *string `json:"remainingWork,omitempty"`
	// Determines whether the response has been received for a TeamAssign message.
	ResponsePending bool `json:"responsePending"`
	// Returns or sets the scheduled start date of an assignment.
	Start custom.TimeWithoutTZ `json:"start"`
	// Returns or sets the date when assignment is stopped.
	Stop custom.TimeWithoutTZ `json:"stop"`
	// Returns or sets the date when assignment is resumed.
	Resume custom.TimeWithoutTZ `json:"resume"`
	// Returns or sets the variance of an assignment start date from a baseline start date.
	StartVariance int32 `json:"startVariance"`
	// Determines whether the task is a summary task.
	Summary bool `json:"summary"`
	// Returns or sets the earned value schedule variance, through the project status date.
	Sv float64 `json:"sv"`
	// Returns or sets the number of units for an assignment.
	Units float64 `json:"units"`
	// Determines whether the resource assigned to a task needs to be updated as to the status of the task.
	UpdateNeeded bool `json:"updateNeeded"`
	// Returns or sets the difference between basline cost and total cost. Read/write Double.
	Vac float64 `json:"vac"`
	// Returns or sets the amount of scheduled work for an assignment. Read/write TimeSpan.
	Work *string `json:"work,omitempty"`
	// Returns or sets the work contour of an assignment.
	WorkContour *WorkContourType `json:"workContour"`
	// Returns or sets the budgeted cost of a work on assignment.
	Bcws float64 `json:"bcws"`
	// Returns or sets the budgeted cost of a work performed on assignment to-date.
	Bcwp float64 `json:"bcwp"`
	// Returns or sets the booking type of an assignment.
	BookingType *BookingType `json:"bookingType"`
	// Returns or sets the duration through which actual work is protected.
	ActualWorkProtected *string `json:"actualWorkProtected,omitempty"`
	// Returns or sets the duration through which actual overtime work is protected.
	ActualOvertimeWorkProtected *string `json:"actualOvertimeWorkProtected,omitempty"`
	// Returns or sets the date that the assignment was created.
	CreationDate custom.TimeWithoutTZ `json:"creationDate"`
	// Returns or sets the name of an assignment owner.
	AssnOwner string `json:"assnOwner,omitempty"`
	// Returns or sets the Guid of an assignment owner.
	AssnOwnerGuid string `json:"assnOwnerGuid,omitempty"`
	// Returns or sets the budgeted cost of resources on an assignment.
	BudgetCost float32 `json:"budgetCost"`
	// Returns or sets the budgeted work amount for a work or material resources on an assignment.
	BudgetWork *string `json:"budgetWork,omitempty"`
	// Returns the time unit for the usage rate of the material resource assignment.
	RateScale *RateScaleType `json:"rateScale"`
	// List of ResourceAssignment's Baseline values.
	Baselines []AssignmentBaseline `json:"baselines,omitempty"`
	// ResourceAssignment extended attributes.
	ExtendedAttributes []ExtendedAttribute `json:"extendedAttributes,omitempty"`
	// Represents a collection of TimephasedData objects.
	TimephasedData []TimephasedData `json:"timephasedData,omitempty"`
}

Represents a resource assignment in a project.

type ResourceAssignments

type ResourceAssignments struct {
	// Link to the document.
	Link *Link                `json:"link,omitempty"`
	List []ResourceAssignment `json:"list,omitempty"`
}

type ResourceItem

type ResourceItem struct {
	Link *Link  `json:"link,omitempty"`
	Uid  int32  `json:"uid"`
	Id   int32  `json:"id"`
	Name string `json:"name,omitempty"`
}

Resource's brief info

type ResourceItemResponse

type ResourceItemResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// ResourceItem DTO.
	ResourceItem *ResourceItem `json:"resourceItem,omitempty"`
}

ResourceItem response.

type ResourceItems

type ResourceItems struct {
	// Link to the document.
	Link         *Link          `json:"link,omitempty"`
	ResourceItem []ResourceItem `json:"resourceItem,omitempty"`
}

type ResourceItemsResponse

type ResourceItemsResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status    string         `json:"status,omitempty"`
	Resources *ResourceItems `json:"resources,omitempty"`
}

type ResourceResponse

type ResourceResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// Resource DTO.
	Resource *Resource `json:"resource,omitempty"`
}

Task response.

type ResourceType

type ResourceType string

ResourceType : Specifies the type of a resource.

const (
	MATERIAL_ResourceType ResourceType = "Material"
	WORK_ResourceType     ResourceType = "Work"
	COST_ResourceType     ResourceType = "Cost"
)

List of ResourceType

type RollupType

type RollupType string

RollupType : Specifies the rollup type.

const (
	NULL_RollupType                   RollupType = "Null"
	MAXIMUM_RollupType                RollupType = "Maximum"
	MINIMUM_RollupType                RollupType = "Minimum"
	COUNT_RollupType                  RollupType = "Count"
	SUM_RollupType                    RollupType = "Sum"
	AVERAGE_RollupType                RollupType = "Average"
	AVERAGE_FIRST_SUBLEVEL_RollupType RollupType = "AverageFirstSublevel"
	COUNT_FIRST_SUBLEVEL_RollupType   RollupType = "CountFirstSublevel"
	COUNT_NONSUMMARIES_RollupType     RollupType = "CountNonsummaries"
)

List of RollupType

type StorageExist

type StorageExist struct {
	// Shows that the storage exists.
	Exists bool `json:"exists"`
}

Storage exists

type StorageFile

type StorageFile struct {
	// File or folder name.
	Name string `json:"name,omitempty"`
	// True if it is a folder.
	IsFolder bool `json:"isFolder"`
	// File or folder last modified DateTime.
	ModifiedDate *custom.TimeWithoutTZ `json:"modifiedDate,omitempty""`
	// File or folder size.
	Size int64 `json:"size"`
	// File or folder path.
	Path string `json:"path,omitempty"`
}

File or folder information

type SummaryRowsCalculationType added in v0.2207.0

type SummaryRowsCalculationType string

SummaryRowsCalculationType : Specifies the type of a calculation of the custom attribute's value for summary rows.

const (
	NONE_SummaryRowsCalculationType        SummaryRowsCalculationType = "None"
	ROLLUP_SummaryRowsCalculationType      SummaryRowsCalculationType = "Rollup"
	USE_FORMULA_SummaryRowsCalculationType SummaryRowsCalculationType = "UseFormula"
)

List of SummaryRowsCalculationType

type Task

type Task struct {
	// The unique id of a task.
	Uid int32 `json:"uid"`
	// The position of a task in collection.
	Id int32 `json:"id"`
	// The name of a task.
	Name string `json:"name,omitempty"`
	// The duration of a task entered by the user as a text.
	DurationText string `json:"durationText,omitempty"`
	// The duration of a task.
	Duration *string `json:"duration,omitempty"`
	// The start date of a task.
	Start custom.TimeWithoutTZ `json:"start"`
	// The finish date of a task.
	Finish custom.TimeWithoutTZ `json:"finish"`
	// Returns the task's start text.
	StartText string `json:"startText,omitempty"`
	// Returns the task's finish text.
	FinishText string `json:"finishText,omitempty"`
	// The percent complete of a task.
	PercentComplete int32 `json:"percentComplete"`
	// The percent work complete of a task.
	PercentWorkComplete int32 `json:"percentWorkComplete"`
	// Determines if a task is active.
	IsActive bool `json:"isActive"`
	// The actual cost of a task.
	ActualCost float32 `json:"actualCost"`
	// The actual duration of a task.
	ActualDuration *string `json:"actualDuration,omitempty"`
	// The actual finish date of a task.
	ActualFinish custom.TimeWithoutTZ `json:"actualFinish"`
	// The actual overtime cost of a task.
	ActualOvertimeCost float32 `json:"actualOvertimeCost"`
	// The actual overtime work of a task.
	ActualOvertimeWork *string `json:"actualOvertimeWork,omitempty"`
	// The duration through which actual work is protected. Reading supported for XML format only.
	ActualWorkProtected *string `json:"actualWorkProtected,omitempty"`
	// The duration through which actual overtime work is protected. Reading supported for XML format only.
	ActualOvertimeWorkProtected *string `json:"actualOvertimeWorkProtected,omitempty"`
	// The actual start date of a task.
	ActualStart custom.TimeWithoutTZ `json:"actualStart"`
	// The amount of budgeted work for a project root task.
	BudgetWork *string `json:"budgetWork,omitempty"`
	// The amount of budgeted cost for a project root task.
	BudgetCost float32 `json:"budgetCost"`
	// Shows the specific date associated with certain constraint types,  such as Must Start On, Must Finish On, Start No Earlier Than, Start No Later Than, Finish No Earlier Than, and Finish No Later Than.
	ConstraintDate custom.TimeWithoutTZ `json:"constraintDate"`
	// Provides choices for the type of constraint that can be applied for scheduling a task.
	ConstraintType *ConstraintType `json:"constraintType"`
	// The contact person for a task.
	Contact string `json:"contact,omitempty"`
	// The projected or scheduled cost of a task.
	Cost float32 `json:"cost"`
	// The difference between the baseline cost and total cost for a task.
	Cv float64 `json:"cv"`
	// The deadline for a task to be completed.
	Deadline custom.TimeWithoutTZ `json:"deadline"`
	// Contains the difference between the total duration of a task and the baseline duration of a task.
	DurationVariance *string `json:"durationVariance,omitempty"`
	// The early finish date of a task.
	EarlyFinish custom.TimeWithoutTZ `json:"earlyFinish"`
	// The early start date of a task.
	EarlyStart custom.TimeWithoutTZ `json:"earlyStart"`
	// Determines whether a task is effort-driven.
	IsEffortDriven bool `json:"isEffortDriven"`
	// Determines whether a task is external.
	IsExternalTask bool `json:"isExternalTask"`
	// The source location and task identifier of an external task.
	ExternalTaskProject string `json:"externalTaskProject,omitempty"`
	// If a task is an external task the property contains the task's external Id.  type.
	ExternalId int32 `json:"externalId"`
	// Contains the duration between the Early Finish and Late Finish dates.
	FinishSlack int32 `json:"finishSlack"`
	// The variance of the task finish date from the baseline finish date as minutes.
	FinishVariance int32 `json:"finishVariance"`
	// The fixed cost of a task.
	FixedCost float64 `json:"fixedCost"`
	// Determines how the fixed cost is accrued against a task.
	FixedCostAccrual *CostAccrualType `json:"fixedCostAccrual"`
	// The amount of a free slack.
	FreeSlack int32  `json:"freeSlack"`
	Guid      string `json:"guid,omitempty"`
	// Indicates whether the task has an resource assigned which has more work on assigned tasks than can be completed within normal working capacity.
	HasOverallocatedResource bool `json:"hasOverallocatedResource"`
	// Determines whether the GANTT bar of a task is hidden when displayed in Microsoft Project.
	HideBar bool `json:"hideBar"`
	// Determines whether a task ignores the resource calendar.
	IgnoreResourceCalendar bool `json:"ignoreResourceCalendar"`
	// The late finish date of a task.
	LateFinish custom.TimeWithoutTZ `json:"lateFinish"`
	// The late start date of a task.
	LateStart          custom.TimeWithoutTZ `json:"lateStart"`
	IsLevelAssignments bool                 `json:"isLevelAssignments"`
	CanLevelingSplit   bool                 `json:"canLevelingSplit"`
	// The delay caused by leveling a task.
	LevelingDelay int32 `json:"levelingDelay"`
	// Shows whether a task is marked for further action or identification of some kind.
	IsMarked bool `json:"isMarked"`
	// Determines whether a task is a milestone.
	IsMilestone bool `json:"isMilestone"`
	// Determines whether a task is in the critical chain.
	IsCritical bool `json:"isCritical"`
	// Determines whether a task is an inserted project.
	IsSubproject bool `json:"isSubproject"`
	// Determines whether a subproject is read-only.
	IsSubprojectReadOnly bool `json:"isSubprojectReadOnly"`
	// The source location of a subproject. Read/write String.
	SubprojectName string `json:"subprojectName,omitempty"`
	// Determines whether a task is a summary task.
	IsSummary bool `json:"isSummary"`
	// Unique ids of all subtasks.
	SubtasksUids []int32 `json:"subtasksUids,omitempty"`
	// The outline level of a task.
	OutlineLevel    int32 `json:"outlineLevel"`
	IsOverAllocated bool  `json:"isOverAllocated"`
	// Determines whether a task is estimated.
	IsEstimated bool `json:"isEstimated"`
	// The sum of an actual and remaining overtime cost of a task.
	OvertimeCost float32 `json:"overtimeCost"`
	// The amount of an overtime work scheduled for a task.
	OvertimeWork *string `json:"overtimeWork,omitempty"`
	// The percentage complete value entered by the Project Manager.
	PhysicalPercentComplete int32                `json:"physicalPercentComplete"`
	PreLeveledFinish        custom.TimeWithoutTZ `json:"preLeveledFinish"`
	PreLeveledStart         custom.TimeWithoutTZ `json:"preLeveledStart"`
	// Determines whether a task is a recurring task.
	IsRecurring bool `json:"isRecurring"`
	// The amount of non-overtime work scheduled for a task.
	RegularWork *string `json:"regularWork,omitempty"`
	// The remaining projected cost of completing a task.
	RemainingCost float32 `json:"remainingCost"`
	// The amount of time required to complete the unfinished portion of a task.
	RemainingDuration *string `json:"remainingDuration,omitempty"`
	// The remaining overtime cost projected to finish a task.
	RemainingOvertimeCost float32 `json:"remainingOvertimeCost"`
	// The remaining overtime work scheduled to finish a task.
	RemainingOvertimeWork *string `json:"remainingOvertimeWork,omitempty"`
	// The remaining work scheduled to complete a task.
	RemainingWork *string `json:"remainingWork,omitempty"`
	// The date when a task resumed.
	Resume custom.TimeWithoutTZ `json:"resume"`
	// Determines whether a task can be resumed.
	IsResumeValid bool `json:"isResumeValid,omitempty"`
	// The date that represents the end of the actual portion of a task.
	Stop custom.TimeWithoutTZ `json:"stop"`
	// Determines whether a task is rolled up.
	IsRollup bool `json:"isRollup"`
	// Returns the task's start slack.
	StartSlack int32 `json:"startSlack"`
	// The variance of the task start date from the baseline start date as minutes.
	StartVariance int32 `json:"startVariance"`
	// The unique id of task calendar.
	CalendarUid int32 `json:"calendarUid"`
	// Determines whether a task is manually scheduled.
	IsManual bool `json:"isManual"`
	// Defines manually scheduled start of a task.
	ManualStart custom.TimeWithoutTZ `json:"manualStart"`
	// Defines manually scheduled finish of a task.
	ManualFinish custom.TimeWithoutTZ `json:"manualFinish"`
	// Defines manually scheduled duration of a task.
	ManualDuration *string `json:"manualDuration,omitempty"`
	// The amount of a total slack.
	TotalSlack int32 `json:"totalSlack"`
	// The type of a task.
	Type_ *TaskType `json:"type"`
	// The work breakdown structure code of a task.
	Wbs string `json:"wbs,omitempty"`
	// The priority of a task from 0 to 1000.
	Priority int32 `json:"priority"`
	// The amount of the scheduled work for a task.
	Work *string `json:"work,omitempty"`
	// The variance of the task work from the baseline task work as minutes.
	WorkVariance float64 `json:"workVariance"`
	// Notes' plain text extracted from RTF data.
	NotesText string `json:"notesText,omitempty"`
	// The text notes in RTF format.
	NotesRTF string  `json:"notesRTF,omitempty"`
	Acwp     float64 `json:"acwp"`
	Bcws     float64 `json:"bcws"`
	Bcwp     float64 `json:"bcwp"`
	// LevelingDelayFormat
	LevelingDelayFormat *TimeUnitType `json:"levelingDelayFormat"`
	// The task Uid numbers for the predecessor tasks on which the task depends before it can be started or finished.
	Predecessors string `json:"predecessors,omitempty"`
	// The task Uid numbers for the successor tasks to a task.
	Successors string `json:"successors,omitempty"`
	// Indicates whether to hide the schedule conflict warning indicator in Microsoft Project.
	IgnoreWarnings bool `json:"ignoreWarnings"`
	// Determines whether a summary task is expanded or not in GanttChart view.
	IsExpanded bool `json:"isExpanded"`
	// Specifies whether a task should be displayed on a timeline view.
	DisplayOnTimeline bool `json:"displayOnTimeline"`
	// Determines whether the task should be displayed as a summary task. Reading supported for XML format only.
	DisplayAsSummary bool `json:"displayAsSummary"`
	// The title or explanatory text for a hyperlink associated with a task.
	Hyperlink string `json:"hyperlink,omitempty"`
	// The address for a hyperlink associated with a task.
	HyperlinkAddress string `json:"hyperlinkAddress,omitempty"`
	// The specific location in a document in a hyperlink associated with a task.  type.
	HyperlinkSubAddress string `json:"hyperlinkSubAddress,omitempty"`
	// Determines whether the % Complete or Physical % Complete field should be used to calculate budgeted cost of work performed (BCWP).
	EarnedValueMethod *EarnedValueMethodType `json:"earnedValueMethod"`
	// Determines whether the current task should be published to Project Server with the rest of the project.
	IsPublished bool `json:"isPublished"`
	// The name of the enterprise resource who is to receive status updates for the current task from resources.
	StatusManager string `json:"statusManager,omitempty"`
	// The start date of a delivery. Reading supported for XML format only.
	CommitmentStart custom.TimeWithoutTZ `json:"commitmentStart"`
	// The finish date of a delivery. Reading supported for XML format only.
	CommitmentFinish custom.TimeWithoutTZ `json:"commitmentFinish"`
	// Determines whether a task has an associated delivery or a dependency on an associated delivery. Reading supported for XML format only.
	CommitmentType int32 `json:"commitmentType"`
	// Gets or sets the collection of baseline values of the task.
	Baselines []TaskBaseline `json:"baselines,omitempty"`
	// Task extended attributes.
	ExtendedAttributes []ExtendedAttribute `json:"extendedAttributes,omitempty"`
	// Task outline codes.
	OutlineCodes []OutlineCode `json:"outlineCodes,omitempty"`
	// Represents the flag which indicates that task has schedule discrepancies.
	Warning bool `json:"warning"`
	// Represents activity id field - a task's unique identifier used by Primavera (only applicable to Primavera projects).
	ActivityId string `json:"activityId,omitempty"`
}

Represents project task.

type TaskBaseline

type TaskBaseline struct {
	// The unique number of a baseline data record.
	BaselineNumber *BaselineType `json:"baselineNumber"`
	// The work assigned to a resource when the baseline is saved.
	Work *string `json:"work,omitempty"`
	// The projected cost of a resource when the baseline is saved.
	Cost float32 `json:"cost"`
	// The budget cost of a work scheduled for a resource.
	Bcws float64 `json:"bcws"`
	// The budgeted cost of a work performed by a resource for a project to-date.
	Bcwp float64 `json:"bcwp"`
	// The scheduled start date of the task when the baseline was saved.
	Start custom.TimeWithoutTZ `json:"start"`
	// The scheduled finish date of the task when the baseline was saved.
	Finish custom.TimeWithoutTZ `json:"finish"`
	// The scheduled duration of the task when the baseline was saved.
	Duration *string `json:"duration,omitempty"`
	// The fixed cost of the task when the baseline was saved.
	FixedCost float64 `json:"fixedCost"`
	// The format for expressing the duration of the task baseline.
	DurationFormat *TimeUnitType `json:"durationFormat"`
	// Indicates whether the baseline duration of the task was estimated.
	EstimatedDuration bool `json:"estimatedDuration"`
}

Represents baseline values of a task.

type TaskCreationRequest

type TaskCreationRequest struct {
	// The name for the new task.
	TaskName string `json:"taskName,omitempty"`
	// Uid for parent task.
	ParentTaskUid int32 `json:"parentTaskUid,omitempty"`
	// Id of task before which new task will be inserted.
	BeforeTaskId int32 `json:"beforeTaskId,omitempty"`
}

type TaskItem

type TaskItem struct {
	Link   *Link                `json:"link,omitempty"`
	Uid    int32                `json:"uid"`
	Id     int32                `json:"id"`
	Name   string               `json:"name,omitempty"`
	Start  custom.TimeWithoutTZ `json:"start"`
	Finish custom.TimeWithoutTZ `json:"finish"`
	// The duration of a task.
	Duration *string `json:"duration,omitempty"`
}

A task's brief info

type TaskItemResponse

type TaskItemResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// TaskItem DTO.
	TaskItem *TaskItem `json:"taskItem,omitempty"`
}

TaskItem response.

type TaskItems

type TaskItems struct {
	// Link to the document.
	Link     *Link      `json:"link,omitempty"`
	TaskItem []TaskItem `json:"taskItem,omitempty"`
}

type TaskItemsResponse

type TaskItemsResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string     `json:"status,omitempty"`
	Tasks  *TaskItems `json:"tasks,omitempty"`
}
type TaskLink struct {
	Link           *Link         `json:"link,omitempty"`
	Index          int32         `json:"index"`
	PredecessorUid int32         `json:"predecessorUid"`
	SuccessorUid   int32         `json:"successorUid"`
	LinkType       *TaskLinkType `json:"linkType"`
	Lag            int32         `json:"lag"`
	LagFormat      *TimeUnitType `json:"lagFormat"`
}

type TaskLinkResponse

type TaskLinkResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// TaskLink DTO.
	TaskLink *TaskLink `json:"taskLink,omitempty"`
}

TaskItem response.

type TaskLinkType

type TaskLinkType string

TaskLinkType : Specifies the type of tasks dependency.

const (
	FINISH_TO_FINISH_TaskLinkType TaskLinkType = "FinishToFinish"
	FINISH_TO_START_TaskLinkType  TaskLinkType = "FinishToStart"
	START_TO_FINISH_TaskLinkType  TaskLinkType = "StartToFinish"
	START_TO_START_TaskLinkType   TaskLinkType = "StartToStart"
)

List of TaskLinkType

type TaskLinksResponse

type TaskLinksResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status    string     `json:"status,omitempty"`
	TaskLinks []TaskLink `json:"taskLinks,omitempty"`
}

TaskLinks response.

type TaskResponse

type TaskResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// Task DTO.
	Task *Task `json:"task,omitempty"`
}

Task response.

type TaskType

type TaskType string

TaskType : Specifies the type of a task.

const (
	FIXED_UNITS_TaskType    TaskType = "FixedUnits"
	FIXED_DURATION_TaskType TaskType = "FixedDuration"
	FIXED_WORK_TaskType     TaskType = "FixedWork"
	UNDEFINED_TaskType      TaskType = "Undefined"
)

List of TaskType

type TimeUnitType

type TimeUnitType string

TimeUnitType : Specifies the type of a time unit.

const (
	MINUTE_TimeUnitType                    TimeUnitType = "Minute"
	ELAPSED_MINUTE_TimeUnitType            TimeUnitType = "ElapsedMinute"
	HOUR_TimeUnitType                      TimeUnitType = "Hour"
	ELAPSED_HOUR_TimeUnitType              TimeUnitType = "ElapsedHour"
	DAY_TimeUnitType                       TimeUnitType = "Day"
	ELAPSED_DAY_TimeUnitType               TimeUnitType = "ElapsedDay"
	WEEK_TimeUnitType                      TimeUnitType = "Week"
	ELAPSED_WEEK_TimeUnitType              TimeUnitType = "ElapsedWeek"
	MONTH_TimeUnitType                     TimeUnitType = "Month"
	ELAPSED_MONTH_TimeUnitType             TimeUnitType = "ElapsedMonth"
	PERCENT_TimeUnitType                   TimeUnitType = "Percent"
	ELAPSED_PERCENT_TimeUnitType           TimeUnitType = "ElapsedPercent"
	NULL_TimeUnitType                      TimeUnitType = "Null"
	MINUTE_ESTIMATED_TimeUnitType          TimeUnitType = "MinuteEstimated"
	ELAPSED_MINUTE_ESTIMATED_TimeUnitType  TimeUnitType = "ElapsedMinuteEstimated"
	HOUR_ESTIMATED_TimeUnitType            TimeUnitType = "HourEstimated"
	ELAPSED_HOUR_ESTIMATED_TimeUnitType    TimeUnitType = "ElapsedHourEstimated"
	DAY_ESTIMATED_TimeUnitType             TimeUnitType = "DayEstimated"
	ELAPSED_DAY_ESTIMATED_TimeUnitType     TimeUnitType = "ElapsedDayEstimated"
	WEEK_ESTIMATED_TimeUnitType            TimeUnitType = "WeekEstimated"
	ELAPSED_WEEK_ESTIMATED_TimeUnitType    TimeUnitType = "ElapsedWeekEstimated"
	MONTH_ESTIMATED_TimeUnitType           TimeUnitType = "MonthEstimated"
	ELAPSED_MONTH_ESTIMATED_TimeUnitType   TimeUnitType = "ElapsedMonthEstimated"
	PERCENT_ESTIMATED_TimeUnitType         TimeUnitType = "PercentEstimated"
	ELAPSED_PERCENT_ESTIMATED_TimeUnitType TimeUnitType = "ElapsedPercentEstimated"
	YEAR_TimeUnitType                      TimeUnitType = "Year"
	UNDEFINED_TimeUnitType                 TimeUnitType = "Undefined"
)

List of TimeUnitType

type TimephasedData

type TimephasedData struct {
	// The unique identifier of a timephased data
	Uid int32 `json:"uid"`
	// The start date of a timephased data period.
	Start custom.TimeWithoutTZ `json:"start"`
	// The finish date of a timephased data period.
	Finish custom.TimeWithoutTZ `json:"finish"`
	// The time unit of a timephased data period.
	Unit *TimeUnitType `json:"unit"`
	// The value per unit of time for a timephased data period.
	Value string `json:"value,omitempty"`
	// The type of a timephased data.
	TimephasedDataType *TimephasedDataType `json:"timephasedDataType"`
}

Represents a time phased data.

type TimephasedDataResponse

type TimephasedDataResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string           `json:"status,omitempty"`
	Items  []TimephasedData `json:"items,omitempty"`
}

TaskLinks response.

type TimephasedDataType

type TimephasedDataType string

TimephasedDataType :

const (
	ASSIGNMENT_REMAINING_WORK_TimephasedDataType       TimephasedDataType = "AssignmentRemainingWork"
	ASSIGNMENT_ACTUAL_WORK_TimephasedDataType          TimephasedDataType = "AssignmentActualWork"
	ASSIGNMENT_ACTUAL_OVERTIME_WORK_TimephasedDataType TimephasedDataType = "AssignmentActualOvertimeWork"
	ASSIGNMENT_BASELINE_WORK_TimephasedDataType        TimephasedDataType = "AssignmentBaselineWork"
	ASSIGNMENT_BASELINE_COST_TimephasedDataType        TimephasedDataType = "AssignmentBaselineCost"
	ASSIGNMENT_ACTUAL_COST_TimephasedDataType          TimephasedDataType = "AssignmentActualCost"
	RESOURCE_BASELINE_WORK_TimephasedDataType          TimephasedDataType = "ResourceBaselineWork"
	RESOURCE_BASELINE_COST_TimephasedDataType          TimephasedDataType = "ResourceBaselineCost"
	TASK_BASELINE_WORK_TimephasedDataType              TimephasedDataType = "TaskBaselineWork"
	TASK_BASELINE_COST_TimephasedDataType              TimephasedDataType = "TaskBaselineCost"
	TASK_PERCENT_COMPLETE_TimephasedDataType           TimephasedDataType = "TaskPercentComplete"
	ASSIGNMENT_BASELINE1_WORK_TimephasedDataType       TimephasedDataType = "AssignmentBaseline1Work"
	ASSIGNMENT_BASELINE1_COST_TimephasedDataType       TimephasedDataType = "AssignmentBaseline1Cost"
	TASK_BASELINE1_WORK_TimephasedDataType             TimephasedDataType = "TaskBaseline1Work"
	TASK_BASELINE1_COST_TimephasedDataType             TimephasedDataType = "TaskBaseline1Cost"
	RESOURCE_BASELINE1_WORK_TimephasedDataType         TimephasedDataType = "ResourceBaseline1Work"
	RESOURCE_BASELINE1_COST_TimephasedDataType         TimephasedDataType = "ResourceBaseline1Cost"
	ASSIGNMENT_BASELINE2_WORK_TimephasedDataType       TimephasedDataType = "AssignmentBaseline2Work"
	ASSIGNMENT_BASELINE2_COST_TimephasedDataType       TimephasedDataType = "AssignmentBaseline2Cost"
	TASK_BASELINE2_WORK_TimephasedDataType             TimephasedDataType = "TaskBaseline2Work"
	TASK_BASELINE2_COST_TimephasedDataType             TimephasedDataType = "TaskBaseline2Cost"
	RESOURCE_BASELINE2_WORK_TimephasedDataType         TimephasedDataType = "ResourceBaseline2Work"
	RESOURCE_BASELINE2_COST_TimephasedDataType         TimephasedDataType = "ResourceBaseline2Cost"
	ASSIGNMENT_BASELINE3_WORK_TimephasedDataType       TimephasedDataType = "AssignmentBaseline3Work"
	ASSIGNMENT_BASELINE3_COST_TimephasedDataType       TimephasedDataType = "AssignmentBaseline3Cost"
	TASK_BASELINE3_WORK_TimephasedDataType             TimephasedDataType = "TaskBaseline3Work"
	TASK_BASELINE3_COST_TimephasedDataType             TimephasedDataType = "TaskBaseline3Cost"
	RESOURCE_BASELINE3_WORK_TimephasedDataType         TimephasedDataType = "ResourceBaseline3Work"
	RESOURCE_BASELINE3_COST_TimephasedDataType         TimephasedDataType = "ResourceBaseline3Cost"
	ASSIGNMENT_BASELINE4_WORK_TimephasedDataType       TimephasedDataType = "AssignmentBaseline4Work"
	ASSIGNMENT_BASELINE4_COST_TimephasedDataType       TimephasedDataType = "AssignmentBaseline4Cost"
	TASK_BASELINE4_WORK_TimephasedDataType             TimephasedDataType = "TaskBaseline4Work"
	TASK_BASELINE4_COST_TimephasedDataType             TimephasedDataType = "TaskBaseline4Cost"
	RESOURCE_BASELINE4_WORK_TimephasedDataType         TimephasedDataType = "ResourceBaseline4Work"
	RESOURCE_BASELINE4_COST_TimephasedDataType         TimephasedDataType = "ResourceBaseline4Cost"
	ASSIGNMENT_BASELINE5_WORK_TimephasedDataType       TimephasedDataType = "AssignmentBaseline5Work"
	ASSIGNMENT_BASELINE5_COST_TimephasedDataType       TimephasedDataType = "AssignmentBaseline5Cost"
	TASK_BASELINE5_WORK_TimephasedDataType             TimephasedDataType = "TaskBaseline5Work"
	TASK_BASELINE5_COST_TimephasedDataType             TimephasedDataType = "TaskBaseline5Cost"
	RESOURCE_BASELINE5_WORK_TimephasedDataType         TimephasedDataType = "ResourceBaseline5Work"
	RESOURCE_BASELINE5_COST_TimephasedDataType         TimephasedDataType = "ResourceBaseline5Cost"
	ASSIGNMENT_BASELINE6_WORK_TimephasedDataType       TimephasedDataType = "AssignmentBaseline6Work"
	ASSIGNMENT_BASELINE6_COST_TimephasedDataType       TimephasedDataType = "AssignmentBaseline6Cost"
	TASK_BASELINE6_WORK_TimephasedDataType             TimephasedDataType = "TaskBaseline6Work"
	TASK_BASELINE6_COST_TimephasedDataType             TimephasedDataType = "TaskBaseline6Cost"
	RESOURCE_BASELINE6_WORK_TimephasedDataType         TimephasedDataType = "ResourceBaseline6Work"
	RESOURCE_BASELINE6_COST_TimephasedDataType         TimephasedDataType = "ResourceBaseline6Cost"
	ASSIGNMENT_BASELINE7_WORK_TimephasedDataType       TimephasedDataType = "AssignmentBaseline7Work"
	ASSIGNMENT_BASELINE7_COST_TimephasedDataType       TimephasedDataType = "AssignmentBaseline7Cost"
	TASK_BASELINE7_WORK_TimephasedDataType             TimephasedDataType = "TaskBaseline7Work"
	TASK_BASELINE7_COST_TimephasedDataType             TimephasedDataType = "TaskBaseline7Cost"
	RESOURCE_BASELINE7_WORK_TimephasedDataType         TimephasedDataType = "ResourceBaseline7Work"
	RESOURCE_BASELINE7_COST_TimephasedDataType         TimephasedDataType = "ResourceBaseline7Cost"
	ASSIGNMENT_BASELINE8_WORK_TimephasedDataType       TimephasedDataType = "AssignmentBaseline8Work"
	ASSIGNMENT_BASELINE8_COST_TimephasedDataType       TimephasedDataType = "AssignmentBaseline8Cost"
	TASK_BASELINE8_WORK_TimephasedDataType             TimephasedDataType = "TaskBaseline8Work"
	TASK_BASELINE8_COST_TimephasedDataType             TimephasedDataType = "TaskBaseline8Cost"
	RESOURCE_BASELINE8_WORK_TimephasedDataType         TimephasedDataType = "ResourceBaseline8Work"
	RESOURCE_BASELINE8_COST_TimephasedDataType         TimephasedDataType = "ResourceBaseline8Cost"
	ASSIGNMENT_BASELINE9_WORK_TimephasedDataType       TimephasedDataType = "AssignmentBaseline9Work"
	ASSIGNMENT_BASELINE9_COST_TimephasedDataType       TimephasedDataType = "AssignmentBaseline9Cost"
	TASK_BASELINE9_WORK_TimephasedDataType             TimephasedDataType = "TaskBaseline9Work"
	TASK_BASELINE9_COST_TimephasedDataType             TimephasedDataType = "TaskBaseline9Cost"
	RESOURCE_BASELINE9_WORK_TimephasedDataType         TimephasedDataType = "ResourceBaseline9Work"
	RESOURCE_BASELINE9_COST_TimephasedDataType         TimephasedDataType = "ResourceBaseline9Cost"
	ASSIGNMENT_BASELINE10_WORK_TimephasedDataType      TimephasedDataType = "AssignmentBaseline10Work"
	ASSIGNMENT_BASELINE10_COST_TimephasedDataType      TimephasedDataType = "AssignmentBaseline10Cost"
	TASK_BASELINE10_WORK_TimephasedDataType            TimephasedDataType = "TaskBaseline10Work"
	TASK_BASELINE10_COST_TimephasedDataType            TimephasedDataType = "TaskBaseline10Cost"
	RESOURCE_BASELINE10_WORK_TimephasedDataType        TimephasedDataType = "ResourceBaseline10Work"
	RESOURCE_BASELINE10_COST_TimephasedDataType        TimephasedDataType = "ResourceBaseline10Cost"
	PHYSICAL_PERCENT_COMPLETE_TimephasedDataType       TimephasedDataType = "PhysicalPercentComplete"
	TASK_WORK_TimephasedDataType                       TimephasedDataType = "TaskWork"
	TASK_COST_TimephasedDataType                       TimephasedDataType = "TaskCost"
	RESOURCE_WORK_TimephasedDataType                   TimephasedDataType = "ResourceWork"
	RESOURCE_COST_TimephasedDataType                   TimephasedDataType = "ResourceCost"
	ASSIGNMENT_WORK_TimephasedDataType                 TimephasedDataType = "AssignmentWork"
	ASSIGNMENT_COST_TimephasedDataType                 TimephasedDataType = "AssignmentCost"
	UNDEFINED_TimephasedDataType                       TimephasedDataType = "Undefined"
)

List of TimephasedDataType

type Timescale

type Timescale string

Timescale : The minimal time period to render when saving project view data to some of SaveFileFormat.

const (
	DAYS_Timescale             Timescale = "Days"
	THIRDS_OF_MONTHS_Timescale Timescale = "ThirdsOfMonths"
	MONTHS_Timescale           Timescale = "Months"
)

List of Timescale

type Value

type Value struct {
	// The unique Id of a value across a project.
	Id int32 `json:"id"`
	// The actual value.
	Val string `json:"val,omitempty"`
	// The value in case of datetime type
	DateTimeValue *custom.TimeWithoutTZ `json:"dateTimeValue,omitempty""`
	// The value in case of duration type
	DurationValue int32 `json:"durationValue,omitempty"`
	// The description of a value.
	Description string `json:"description,omitempty"`
	// The phonetic information about custom field name.
	Phonetic string `json:"phonetic,omitempty"`
}

Represents a lookup value of an extended attribute.

type VbaModule

type VbaModule struct {
	// Gets a collection of  VbaModuleAttributeCollection
	Attributes []VbaModuleAttribute `json:"attributes,omitempty"`
	// Gets the name of the module.
	Name string `json:"name,omitempty"`
	// Gets a source code of the module
	SourceCode string `json:"sourceCode,omitempty"`
}

Represents a vba module

type VbaModuleAttribute

type VbaModuleAttribute struct {
	// Gets key of VBA module attribute.
	Key string `json:"key,omitempty"`
	// Gets value of VBA module attribute.
	Value string `json:"value,omitempty"`
}

The attribute of the VbaModule object

type VbaProject

type VbaProject struct {
	// Gets conditional Compilation Arguments
	CompilationArguments string `json:"compilationArguments,omitempty"`
	// Gets a project Description
	Description string `json:"description,omitempty"`
	// Gets a project Help Context Id
	HelpContextId int32 `json:"helpContextId"`
	// Gets a help file name
	HelpFile string `json:"helpFile,omitempty"`
	// Gets a collection of VbaModuleCollection
	Modules []VbaModule `json:"modules,omitempty"`
	// Gets project name
	Name string `json:"name,omitempty"`
	// Gets a collection of VbaReferenceCollection
	References []VbaReference `json:"references,omitempty"`
}

Represents VbaProject

type VbaProjectResponse

type VbaProjectResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status     string      `json:"status,omitempty"`
	VbaProject *VbaProject `json:"vbaProject,omitempty"`
}

VbaProject response

type VbaReference

type VbaReference struct {
	// Gets identifier of the library.
	LibIdentifier string `json:"libIdentifier,omitempty"`
	// Gets name of Vba reference.
	Name string `json:"name,omitempty"`
}

Represents a reference of the VbaProject

type WbsCodeMask

type WbsCodeMask struct {
	// Mask level.
	Level int32 `json:"level"`
	// The number of characters of the code string.
	Length int32 `json:"length"`
	// Specifies  the type of character of the code string.
	Sequence *WbsSequence `json:"sequence"`
	// Specifies the separator of the code string. Default value is Period.
	Separator string `json:"separator,omitempty"`
}

type WbsDefinition

type WbsDefinition struct {
	// Project Code Prefix.
	CodePrefix string `json:"codePrefix,omitempty"`
	// Determines whether to generate WBS code for new task.
	GenerateWBSCode bool `json:"generateWBSCode"`
	// Determines whether to verify uniqueness of new WBS codes.
	VerifyUniqueness bool `json:"verifyUniqueness"`
	// Collection of WBSCodeMask objects.
	CodeMaskCollection []WbsCodeMask `json:"codeMaskCollection,omitempty"`
}

type WbsDefinitionResponse

type WbsDefinitionResponse struct {
	// Response status code
	Code int32 `json:"code"`
	// Response status
	Status string `json:"status,omitempty"`
	// DTO WBSDefintion
	WbsDefinition *WbsDefinition `json:"wbsDefinition,omitempty"`
}

WBSDefinition response

type WbsSequence

type WbsSequence string

WbsSequence : Specifies sequence for WBSCodeMask

const (
	ORDERED_NUMBERS_WbsSequence           WbsSequence = "OrderedNumbers"
	ORDERED_UPPERCASE_LETTERS_WbsSequence WbsSequence = "OrderedUppercaseLetters"
	ORDERED_LOWERCASE_LETTERS_WbsSequence WbsSequence = "OrderedLowercaseLetters"
	UNORDERED_CHARACTERS_WbsSequence      WbsSequence = "UnorderedCharacters"
)

List of WBSSequence

type WeekDay

type WeekDay struct {
	// Returns or sets the type of a day.
	DayType *DayType `json:"dayType"`
	// Determines whether the specified date or day type is working.
	DayWorking bool `json:"dayWorking"`
	// Returns or sets the beginning of an exception time.
	FromDate custom.TimeWithoutTZ `json:"fromDate"`
	// Returns or sets the end of an exception time.
	ToDate custom.TimeWithoutTZ `json:"toDate"`
	// The collection of working times that define the time worked on the weekday.
	WorkingTimes []WorkingTime `json:"workingTimes,omitempty"`
}

type WeekDayType

type WeekDayType string

WeekDayType : Represents a weekday of a project in the instance of RecurringInfo class.

const (
	NONE_WeekDayType      WeekDayType = "None"
	SUNDAY_WeekDayType    WeekDayType = "Sunday"
	MONDAY_WeekDayType    WeekDayType = "Monday"
	TUESDAY_WeekDayType   WeekDayType = "Tuesday"
	WEDNESDAY_WeekDayType WeekDayType = "Wednesday"
	THURSDAY_WeekDayType  WeekDayType = "Thursday"
	FRIDAY_WeekDayType    WeekDayType = "Friday"
	SATURDAY_WeekDayType  WeekDayType = "Saturday"
)

List of WeekDayType

type WorkContourType

type WorkContourType string

WorkContourType : Specifies the contour of a work.

const (
	FLAT_WorkContourType         WorkContourType = "Flat"
	BACK_LOADED_WorkContourType  WorkContourType = "BackLoaded"
	FRONT_LOADED_WorkContourType WorkContourType = "FrontLoaded"
	DOUBLE_PEAK_WorkContourType  WorkContourType = "DoublePeak"
	EARLY_PEAK_WorkContourType   WorkContourType = "EarlyPeak"
	LATE_PEAK_WorkContourType    WorkContourType = "LatePeak"
	BELL_WorkContourType         WorkContourType = "Bell"
	TURTLE_WorkContourType       WorkContourType = "Turtle"
	CONTOURED_WorkContourType    WorkContourType = "Contoured"
	UNDEFINED_WorkContourType    WorkContourType = "Undefined"
)

List of WorkContourType

type WorkGroupType

type WorkGroupType string

WorkGroupType : Specifies the type of a workgroup.

const (
	DEFAULT__WorkGroupType WorkGroupType = "Default"
	NONE_WorkGroupType     WorkGroupType = "None"
	EMAIL_WorkGroupType    WorkGroupType = "Email"
	WEB_WorkGroupType      WorkGroupType = "Web"
)

List of WorkGroupType

type WorkWeek

type WorkWeek struct {
	// Determines the name of a work week.
	Name string `json:"name,omitempty"`
	// Returns or sets the beginning of a work week.
	FromDate custom.TimeWithoutTZ `json:"fromDate"`
	// Returns or sets the end of a work week.
	ToDate custom.TimeWithoutTZ `json:"toDate"`
	// The collection of week days that define the working time of current working week.
	WeekDays []WeekDay `json:"weekDays,omitempty"`
}

type WorkingTime

type WorkingTime struct {
	// Returns or sets the beginning of a working time. Read/write DateTime.
	FromTime custom.TimeWithoutTZ `json:"fromTime"`
	// Returns or sets the end of a working time. Read/write DateTime.
	ToTime custom.TimeWithoutTZ `json:"toTime"`
}

Source Files

Jump to

Keyboard shortcuts

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