@@ -71,7 +71,11 @@ class PrimaveraTaskProperties(object):
7171 'budgeted_labor_cost' : 'float' ,
7272 'budgeted_nonlabor_cost' : 'float' ,
7373 'budgeted_material_cost' : 'float' ,
74- 'budgeted_expense_cost' : 'float'
74+ 'budgeted_expense_cost' : 'float' ,
75+ 'primary_constraint_type' : 'PrimaveraConstraintType' ,
76+ 'primary_constraint_date' : 'datetime' ,
77+ 'secondary_constraint_type' : 'PrimaveraConstraintType' ,
78+ 'secondary_constraint_date' : 'datetime'
7579 }
7680
7781 attribute_map = {
@@ -105,10 +109,14 @@ class PrimaveraTaskProperties(object):
105109 'budgeted_labor_cost' : 'budgetedLaborCost' ,
106110 'budgeted_nonlabor_cost' : 'budgetedNonlaborCost' ,
107111 'budgeted_material_cost' : 'budgetedMaterialCost' ,
108- 'budgeted_expense_cost' : 'budgetedExpenseCost'
112+ 'budgeted_expense_cost' : 'budgetedExpenseCost' ,
113+ 'primary_constraint_type' : 'primaryConstraintType' ,
114+ 'primary_constraint_date' : 'primaryConstraintDate' ,
115+ 'secondary_constraint_type' : 'secondaryConstraintType' ,
116+ 'secondary_constraint_date' : 'secondaryConstraintDate'
109117 }
110118
111- def __init__ (self , sequence_number = None , activity_id = None , remaining_early_finish = None , remaining_early_start = None , remaining_late_start = None , remaining_late_finish = None , raw_duration_type = None , raw_activity_type = None , raw_complete_percent_type = None , raw_status = None , duration_percent_complete = None , physical_percent_complete = None , actual_non_labor_units = None , actual_labor_units = None , units_percent_complete = None , remaining_labor_units = None , remaining_non_labor_units = None , duration_type = None , activity_type = None , percent_complete_type = None , actual_labor_cost = None , actual_nonlabor_cost = None , actual_material_cost = None , actual_expense_cost = None , remaining_expense_cost = None , actual_total_cost = None , budgeted_total_cost = None , budgeted_labor_cost = None , budgeted_nonlabor_cost = None , budgeted_material_cost = None , budgeted_expense_cost = None ): # noqa: E501
119+ def __init__ (self , sequence_number = None , activity_id = None , remaining_early_finish = None , remaining_early_start = None , remaining_late_start = None , remaining_late_finish = None , raw_duration_type = None , raw_activity_type = None , raw_complete_percent_type = None , raw_status = None , duration_percent_complete = None , physical_percent_complete = None , actual_non_labor_units = None , actual_labor_units = None , units_percent_complete = None , remaining_labor_units = None , remaining_non_labor_units = None , duration_type = None , activity_type = None , percent_complete_type = None , actual_labor_cost = None , actual_nonlabor_cost = None , actual_material_cost = None , actual_expense_cost = None , remaining_expense_cost = None , actual_total_cost = None , budgeted_total_cost = None , budgeted_labor_cost = None , budgeted_nonlabor_cost = None , budgeted_material_cost = None , budgeted_expense_cost = None , primary_constraint_type = None , primary_constraint_date = None , secondary_constraint_type = None , secondary_constraint_date = None ): # noqa: E501
112120 """PrimaveraTaskProperties - a model defined in Swagger""" # noqa: E501
113121
114122 self ._sequence_number = None
@@ -142,6 +150,10 @@ def __init__(self, sequence_number=None, activity_id=None, remaining_early_finis
142150 self ._budgeted_nonlabor_cost = None
143151 self ._budgeted_material_cost = None
144152 self ._budgeted_expense_cost = None
153+ self ._primary_constraint_type = None
154+ self ._primary_constraint_date = None
155+ self ._secondary_constraint_type = None
156+ self ._secondary_constraint_date = None
145157 self .discriminator = None
146158
147159 if sequence_number is not None :
@@ -206,6 +218,14 @@ def __init__(self, sequence_number=None, activity_id=None, remaining_early_finis
206218 self .budgeted_material_cost = budgeted_material_cost
207219 if budgeted_expense_cost is not None :
208220 self .budgeted_expense_cost = budgeted_expense_cost
221+ if primary_constraint_type is not None :
222+ self .primary_constraint_type = primary_constraint_type
223+ if primary_constraint_date is not None :
224+ self .primary_constraint_date = primary_constraint_date
225+ if secondary_constraint_type is not None :
226+ self .secondary_constraint_type = secondary_constraint_type
227+ if secondary_constraint_date is not None :
228+ self .secondary_constraint_date = secondary_constraint_date
209229
210230 @property
211231 def sequence_number (self ):
@@ -910,6 +930,98 @@ def budgeted_expense_cost(self, budgeted_expense_cost):
910930 if budgeted_expense_cost is None :
911931 raise ValueError ("Invalid value for `budgeted_expense_cost`, must not be `None`" ) # noqa: E501
912932 self ._budgeted_expense_cost = budgeted_expense_cost
933+ @property
934+ def primary_constraint_type (self ):
935+ """Gets the primary_constraint_type of this PrimaveraTaskProperties. # noqa: E501
936+
937+ Gets a type of primary constraint. # noqa: E501
938+
939+ :return: The primary_constraint_type of this PrimaveraTaskProperties. # noqa: E501
940+ :rtype: PrimaveraConstraintType
941+ """
942+ return self ._primary_constraint_type
943+
944+ @primary_constraint_type .setter
945+ def primary_constraint_type (self , primary_constraint_type ):
946+ """Sets the primary_constraint_type of this PrimaveraTaskProperties.
947+
948+ Gets a type of primary constraint. # noqa: E501
949+
950+ :param primary_constraint_type: The primary_constraint_type of this PrimaveraTaskProperties. # noqa: E501
951+ :type: PrimaveraConstraintType
952+ """
953+ if primary_constraint_type is None :
954+ raise ValueError ("Invalid value for `primary_constraint_type`, must not be `None`" ) # noqa: E501
955+ self ._primary_constraint_type = primary_constraint_type
956+ @property
957+ def primary_constraint_date (self ):
958+ """Gets the primary_constraint_date of this PrimaveraTaskProperties. # noqa: E501
959+
960+ Gets the date of primary constraint. # noqa: E501
961+
962+ :return: The primary_constraint_date of this PrimaveraTaskProperties. # noqa: E501
963+ :rtype: datetime
964+ """
965+ return self ._primary_constraint_date
966+
967+ @primary_constraint_date .setter
968+ def primary_constraint_date (self , primary_constraint_date ):
969+ """Sets the primary_constraint_date of this PrimaveraTaskProperties.
970+
971+ Gets the date of primary constraint. # noqa: E501
972+
973+ :param primary_constraint_date: The primary_constraint_date of this PrimaveraTaskProperties. # noqa: E501
974+ :type: datetime
975+ """
976+ if primary_constraint_date is None :
977+ raise ValueError ("Invalid value for `primary_constraint_date`, must not be `None`" ) # noqa: E501
978+ self ._primary_constraint_date = primary_constraint_date
979+ @property
980+ def secondary_constraint_type (self ):
981+ """Gets the secondary_constraint_type of this PrimaveraTaskProperties. # noqa: E501
982+
983+ Gets a type of secondary constraint. # noqa: E501
984+
985+ :return: The secondary_constraint_type of this PrimaveraTaskProperties. # noqa: E501
986+ :rtype: PrimaveraConstraintType
987+ """
988+ return self ._secondary_constraint_type
989+
990+ @secondary_constraint_type .setter
991+ def secondary_constraint_type (self , secondary_constraint_type ):
992+ """Sets the secondary_constraint_type of this PrimaveraTaskProperties.
993+
994+ Gets a type of secondary constraint. # noqa: E501
995+
996+ :param secondary_constraint_type: The secondary_constraint_type of this PrimaveraTaskProperties. # noqa: E501
997+ :type: PrimaveraConstraintType
998+ """
999+ if secondary_constraint_type is None :
1000+ raise ValueError ("Invalid value for `secondary_constraint_type`, must not be `None`" ) # noqa: E501
1001+ self ._secondary_constraint_type = secondary_constraint_type
1002+ @property
1003+ def secondary_constraint_date (self ):
1004+ """Gets the secondary_constraint_date of this PrimaveraTaskProperties. # noqa: E501
1005+
1006+ Gets the date of secondary constraint. # noqa: E501
1007+
1008+ :return: The secondary_constraint_date of this PrimaveraTaskProperties. # noqa: E501
1009+ :rtype: datetime
1010+ """
1011+ return self ._secondary_constraint_date
1012+
1013+ @secondary_constraint_date .setter
1014+ def secondary_constraint_date (self , secondary_constraint_date ):
1015+ """Sets the secondary_constraint_date of this PrimaveraTaskProperties.
1016+
1017+ Gets the date of secondary constraint. # noqa: E501
1018+
1019+ :param secondary_constraint_date: The secondary_constraint_date of this PrimaveraTaskProperties. # noqa: E501
1020+ :type: datetime
1021+ """
1022+ if secondary_constraint_date is None :
1023+ raise ValueError ("Invalid value for `secondary_constraint_date`, must not be `None`" ) # noqa: E501
1024+ self ._secondary_constraint_date = secondary_constraint_date
9131025 def to_dict (self ):
9141026 """Returns the model properties as a dict"""
9151027 result = {}
0 commit comments