Class: ConnectWise::PortalConfigurationProjectSetup
- Inherits:
-
Object
- Object
- ConnectWise::PortalConfigurationProjectSetup
- Defined in:
- lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb
Defined Under Namespace
Classes: EnumAttributeValidator
Instance Attribute Summary collapse
-
#_info ⇒ Object
Metadata of the entity.
-
#billing_method_flag ⇒ Object
Returns the value of attribute billing_method_flag.
-
#contact_flag ⇒ Object
Returns the value of attribute contact_flag.
-
#description_flag ⇒ Object
Returns the value of attribute description_flag.
-
#estimated_end_flag ⇒ Object
Returns the value of attribute estimated_end_flag.
-
#estimated_start_flag ⇒ Object
Returns the value of attribute estimated_start_flag.
-
#fixed_fee_actual_finish_flag ⇒ Object
Returns the value of attribute fixed_fee_actual_finish_flag.
-
#fixed_fee_actual_hrs_flag ⇒ Object
Returns the value of attribute fixed_fee_actual_hrs_flag.
-
#fixed_fee_actual_start_flag ⇒ Object
Returns the value of attribute fixed_fee_actual_start_flag.
-
#fixed_fee_assigned_flag ⇒ Object
Returns the value of attribute fixed_fee_assigned_flag.
-
#fixed_fee_bill_flag ⇒ Object
Returns the value of attribute fixed_fee_bill_flag.
-
#fixed_fee_budget_hrs_flag ⇒ Object
Returns the value of attribute fixed_fee_budget_hrs_flag.
-
#fixed_fee_scheduled_finish_flag ⇒ Object
Returns the value of attribute fixed_fee_scheduled_finish_flag.
-
#fixed_fee_scheduled_hrs_flag ⇒ Object
Returns the value of attribute fixed_fee_scheduled_hrs_flag.
-
#fixed_fee_scheduled_start_flag ⇒ Object
Returns the value of attribute fixed_fee_scheduled_start_flag.
-
#fixed_fee_status_flag ⇒ Object
Returns the value of attribute fixed_fee_status_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_updated_flag ⇒ Object
Returns the value of attribute last_updated_flag.
-
#only_display ⇒ Object
Returns the value of attribute only_display.
-
#portal_config ⇒ Object
Returns the value of attribute portal_config.
-
#project_detail_total_hours_flag ⇒ Object
Returns the value of attribute project_detail_total_hours_flag.
-
#project_issue_actual_finish_flag ⇒ Object
Returns the value of attribute project_issue_actual_finish_flag.
-
#project_issue_actual_hrs_flag ⇒ Object
Returns the value of attribute project_issue_actual_hrs_flag.
-
#project_issue_actual_start_flag ⇒ Object
Returns the value of attribute project_issue_actual_start_flag.
-
#project_issue_assigned_flag ⇒ Object
Returns the value of attribute project_issue_assigned_flag.
-
#project_issue_bill_flag ⇒ Object
Returns the value of attribute project_issue_bill_flag.
-
#project_issue_budget_hrs_flag ⇒ Object
Returns the value of attribute project_issue_budget_hrs_flag.
-
#project_issue_scheduled_finish_flag ⇒ Object
Returns the value of attribute project_issue_scheduled_finish_flag.
-
#project_issue_scheduled_hrs_flag ⇒ Object
Returns the value of attribute project_issue_scheduled_hrs_flag.
-
#project_issue_scheduled_start_flag ⇒ Object
Returns the value of attribute project_issue_scheduled_start_flag.
-
#project_issue_status_flag ⇒ Object
Returns the value of attribute project_issue_status_flag.
-
#project_manager_flag ⇒ Object
Returns the value of attribute project_manager_flag.
-
#project_name_flag ⇒ Object
Returns the value of attribute project_name_flag.
-
#project_type_flag ⇒ Object
Returns the value of attribute project_type_flag.
-
#status_flag ⇒ Object
Returns the value of attribute status_flag.
-
#time_material_actual_finish_flag ⇒ Object
Returns the value of attribute time_material_actual_finish_flag.
-
#time_material_actual_hrs_flag ⇒ Object
Returns the value of attribute time_material_actual_hrs_flag.
-
#time_material_actual_start_flag ⇒ Object
Returns the value of attribute time_material_actual_start_flag.
-
#time_material_assigned_flag ⇒ Object
Returns the value of attribute time_material_assigned_flag.
-
#time_material_bill_flag ⇒ Object
Returns the value of attribute time_material_bill_flag.
-
#time_material_budget_hrs_flag ⇒ Object
Returns the value of attribute time_material_budget_hrs_flag.
-
#time_material_scheduled_finish_flag ⇒ Object
Returns the value of attribute time_material_scheduled_finish_flag.
-
#time_material_scheduled_hrs_flag ⇒ Object
Returns the value of attribute time_material_scheduled_hrs_flag.
-
#time_material_scheduled_start_flag ⇒ Object
Returns the value of attribute time_material_scheduled_start_flag.
-
#time_material_status_flag ⇒ Object
Returns the value of attribute time_material_status_flag.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ PortalConfigurationProjectSetup
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ PortalConfigurationProjectSetup
Initializes the object
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 224 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} if attributes.has_key?(:'id') self.id = attributes[:'id'] end if attributes.has_key?(:'portalConfig') self.portal_config = attributes[:'portalConfig'] end if attributes.has_key?(:'projectNameFlag') self.project_name_flag = attributes[:'projectNameFlag'] end if attributes.has_key?(:'projectTypeFlag') self.project_type_flag = attributes[:'projectTypeFlag'] end if attributes.has_key?(:'statusFlag') self.status_flag = attributes[:'statusFlag'] end if attributes.has_key?(:'projectManagerFlag') self.project_manager_flag = attributes[:'projectManagerFlag'] end if attributes.has_key?(:'billingMethodFlag') self.billing_method_flag = attributes[:'billingMethodFlag'] end if attributes.has_key?(:'contactFlag') self.contact_flag = attributes[:'contactFlag'] end if attributes.has_key?(:'estimatedStartFlag') self.estimated_start_flag = attributes[:'estimatedStartFlag'] end if attributes.has_key?(:'estimatedEndFlag') self.estimated_end_flag = attributes[:'estimatedEndFlag'] end if attributes.has_key?(:'descriptionFlag') self.description_flag = attributes[:'descriptionFlag'] end if attributes.has_key?(:'lastUpdatedFlag') self.last_updated_flag = attributes[:'lastUpdatedFlag'] end if attributes.has_key?(:'onlyDisplay') self.only_display = attributes[:'onlyDisplay'] end if attributes.has_key?(:'timeMaterialBudgetHrsFlag') self.time_material_budget_hrs_flag = attributes[:'timeMaterialBudgetHrsFlag'] end if attributes.has_key?(:'timeMaterialScheduledStartFlag') self.time_material_scheduled_start_flag = attributes[:'timeMaterialScheduledStartFlag'] end if attributes.has_key?(:'timeMaterialScheduledFinishFlag') self.time_material_scheduled_finish_flag = attributes[:'timeMaterialScheduledFinishFlag'] end if attributes.has_key?(:'timeMaterialScheduledHrsFlag') self.time_material_scheduled_hrs_flag = attributes[:'timeMaterialScheduledHrsFlag'] end if attributes.has_key?(:'timeMaterialActualStartFlag') self.time_material_actual_start_flag = attributes[:'timeMaterialActualStartFlag'] end if attributes.has_key?(:'timeMaterialActualFinishFlag') self.time_material_actual_finish_flag = attributes[:'timeMaterialActualFinishFlag'] end if attributes.has_key?(:'timeMaterialActualHrsFlag') self.time_material_actual_hrs_flag = attributes[:'timeMaterialActualHrsFlag'] end if attributes.has_key?(:'timeMaterialBillFlag') self.time_material_bill_flag = attributes[:'timeMaterialBillFlag'] end if attributes.has_key?(:'timeMaterialStatusFlag') self.time_material_status_flag = attributes[:'timeMaterialStatusFlag'] end if attributes.has_key?(:'timeMaterialAssignedFlag') self.time_material_assigned_flag = attributes[:'timeMaterialAssignedFlag'] end if attributes.has_key?(:'fixedFeeBudgetHrsFlag') self.fixed_fee_budget_hrs_flag = attributes[:'fixedFeeBudgetHrsFlag'] end if attributes.has_key?(:'fixedFeeScheduledStartFlag') self.fixed_fee_scheduled_start_flag = attributes[:'fixedFeeScheduledStartFlag'] end if attributes.has_key?(:'fixedFeeScheduledFinishFlag') self.fixed_fee_scheduled_finish_flag = attributes[:'fixedFeeScheduledFinishFlag'] end if attributes.has_key?(:'fixedFeeScheduledHrsFlag') self.fixed_fee_scheduled_hrs_flag = attributes[:'fixedFeeScheduledHrsFlag'] end if attributes.has_key?(:'fixedFeeActualStartFlag') self.fixed_fee_actual_start_flag = attributes[:'fixedFeeActualStartFlag'] end if attributes.has_key?(:'fixedFeeActualFinishFlag') self.fixed_fee_actual_finish_flag = attributes[:'fixedFeeActualFinishFlag'] end if attributes.has_key?(:'fixedFeeActualHrsFlag') self.fixed_fee_actual_hrs_flag = attributes[:'fixedFeeActualHrsFlag'] end if attributes.has_key?(:'fixedFeeBillFlag') self.fixed_fee_bill_flag = attributes[:'fixedFeeBillFlag'] end if attributes.has_key?(:'fixedFeeStatusFlag') self.fixed_fee_status_flag = attributes[:'fixedFeeStatusFlag'] end if attributes.has_key?(:'fixedFeeAssignedFlag') self.fixed_fee_assigned_flag = attributes[:'fixedFeeAssignedFlag'] end if attributes.has_key?(:'projectIssueBudgetHrsFlag') self.project_issue_budget_hrs_flag = attributes[:'projectIssueBudgetHrsFlag'] end if attributes.has_key?(:'projectIssueScheduledStartFlag') self.project_issue_scheduled_start_flag = attributes[:'projectIssueScheduledStartFlag'] end if attributes.has_key?(:'projectIssueScheduledFinishFlag') self.project_issue_scheduled_finish_flag = attributes[:'projectIssueScheduledFinishFlag'] end if attributes.has_key?(:'projectIssueScheduledHrsFlag') self.project_issue_scheduled_hrs_flag = attributes[:'projectIssueScheduledHrsFlag'] end if attributes.has_key?(:'projectIssueActualStartFlag') self.project_issue_actual_start_flag = attributes[:'projectIssueActualStartFlag'] end if attributes.has_key?(:'projectIssueActualFinishFlag') self.project_issue_actual_finish_flag = attributes[:'projectIssueActualFinishFlag'] end if attributes.has_key?(:'projectIssueActualHrsFlag') self.project_issue_actual_hrs_flag = attributes[:'projectIssueActualHrsFlag'] end if attributes.has_key?(:'projectIssueBillFlag') self.project_issue_bill_flag = attributes[:'projectIssueBillFlag'] end if attributes.has_key?(:'projectIssueStatusFlag') self.project_issue_status_flag = attributes[:'projectIssueStatusFlag'] end if attributes.has_key?(:'projectIssueAssignedFlag') self.project_issue_assigned_flag = attributes[:'projectIssueAssignedFlag'] end if attributes.has_key?(:'projectDetailTotalHoursFlag') self.project_detail_total_hours_flag = attributes[:'projectDetailTotalHoursFlag'] end if attributes.has_key?(:'_info') self._info = attributes[:'_info'] end end |
Instance Attribute Details
#_info ⇒ Object
Metadata of the entity
96 97 98 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 96 def _info @_info end |
#billing_method_flag ⇒ Object
Returns the value of attribute billing_method_flag.
19 20 21 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 19 def billing_method_flag @billing_method_flag end |
#contact_flag ⇒ Object
Returns the value of attribute contact_flag.
21 22 23 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 21 def contact_flag @contact_flag end |
#description_flag ⇒ Object
Returns the value of attribute description_flag.
27 28 29 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 27 def description_flag @description_flag end |
#estimated_end_flag ⇒ Object
Returns the value of attribute estimated_end_flag.
25 26 27 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 25 def estimated_end_flag @estimated_end_flag end |
#estimated_start_flag ⇒ Object
Returns the value of attribute estimated_start_flag.
23 24 25 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 23 def estimated_start_flag @estimated_start_flag end |
#fixed_fee_actual_finish_flag ⇒ Object
Returns the value of attribute fixed_fee_actual_finish_flag.
63 64 65 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 63 def fixed_fee_actual_finish_flag @fixed_fee_actual_finish_flag end |
#fixed_fee_actual_hrs_flag ⇒ Object
Returns the value of attribute fixed_fee_actual_hrs_flag.
65 66 67 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 65 def fixed_fee_actual_hrs_flag @fixed_fee_actual_hrs_flag end |
#fixed_fee_actual_start_flag ⇒ Object
Returns the value of attribute fixed_fee_actual_start_flag.
61 62 63 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 61 def fixed_fee_actual_start_flag @fixed_fee_actual_start_flag end |
#fixed_fee_assigned_flag ⇒ Object
Returns the value of attribute fixed_fee_assigned_flag.
71 72 73 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 71 def fixed_fee_assigned_flag @fixed_fee_assigned_flag end |
#fixed_fee_bill_flag ⇒ Object
Returns the value of attribute fixed_fee_bill_flag.
67 68 69 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 67 def fixed_fee_bill_flag @fixed_fee_bill_flag end |
#fixed_fee_budget_hrs_flag ⇒ Object
Returns the value of attribute fixed_fee_budget_hrs_flag.
53 54 55 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 53 def fixed_fee_budget_hrs_flag @fixed_fee_budget_hrs_flag end |
#fixed_fee_scheduled_finish_flag ⇒ Object
Returns the value of attribute fixed_fee_scheduled_finish_flag.
57 58 59 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 57 def fixed_fee_scheduled_finish_flag @fixed_fee_scheduled_finish_flag end |
#fixed_fee_scheduled_hrs_flag ⇒ Object
Returns the value of attribute fixed_fee_scheduled_hrs_flag.
59 60 61 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 59 def fixed_fee_scheduled_hrs_flag @fixed_fee_scheduled_hrs_flag end |
#fixed_fee_scheduled_start_flag ⇒ Object
Returns the value of attribute fixed_fee_scheduled_start_flag.
55 56 57 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 55 def fixed_fee_scheduled_start_flag @fixed_fee_scheduled_start_flag end |
#fixed_fee_status_flag ⇒ Object
Returns the value of attribute fixed_fee_status_flag.
69 70 71 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 69 def fixed_fee_status_flag @fixed_fee_status_flag end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 7 def id @id end |
#last_updated_flag ⇒ Object
Returns the value of attribute last_updated_flag.
29 30 31 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 29 def last_updated_flag @last_updated_flag end |
#only_display ⇒ Object
Returns the value of attribute only_display.
31 32 33 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 31 def only_display @only_display end |
#portal_config ⇒ Object
Returns the value of attribute portal_config.
9 10 11 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 9 def portal_config @portal_config end |
#project_detail_total_hours_flag ⇒ Object
Returns the value of attribute project_detail_total_hours_flag.
93 94 95 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 93 def project_detail_total_hours_flag @project_detail_total_hours_flag end |
#project_issue_actual_finish_flag ⇒ Object
Returns the value of attribute project_issue_actual_finish_flag.
83 84 85 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 83 def project_issue_actual_finish_flag @project_issue_actual_finish_flag end |
#project_issue_actual_hrs_flag ⇒ Object
Returns the value of attribute project_issue_actual_hrs_flag.
85 86 87 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 85 def project_issue_actual_hrs_flag @project_issue_actual_hrs_flag end |
#project_issue_actual_start_flag ⇒ Object
Returns the value of attribute project_issue_actual_start_flag.
81 82 83 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 81 def project_issue_actual_start_flag @project_issue_actual_start_flag end |
#project_issue_assigned_flag ⇒ Object
Returns the value of attribute project_issue_assigned_flag.
91 92 93 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 91 def project_issue_assigned_flag @project_issue_assigned_flag end |
#project_issue_bill_flag ⇒ Object
Returns the value of attribute project_issue_bill_flag.
87 88 89 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 87 def project_issue_bill_flag @project_issue_bill_flag end |
#project_issue_budget_hrs_flag ⇒ Object
Returns the value of attribute project_issue_budget_hrs_flag.
73 74 75 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 73 def project_issue_budget_hrs_flag @project_issue_budget_hrs_flag end |
#project_issue_scheduled_finish_flag ⇒ Object
Returns the value of attribute project_issue_scheduled_finish_flag.
77 78 79 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 77 def project_issue_scheduled_finish_flag @project_issue_scheduled_finish_flag end |
#project_issue_scheduled_hrs_flag ⇒ Object
Returns the value of attribute project_issue_scheduled_hrs_flag.
79 80 81 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 79 def project_issue_scheduled_hrs_flag @project_issue_scheduled_hrs_flag end |
#project_issue_scheduled_start_flag ⇒ Object
Returns the value of attribute project_issue_scheduled_start_flag.
75 76 77 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 75 def project_issue_scheduled_start_flag @project_issue_scheduled_start_flag end |
#project_issue_status_flag ⇒ Object
Returns the value of attribute project_issue_status_flag.
89 90 91 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 89 def project_issue_status_flag @project_issue_status_flag end |
#project_manager_flag ⇒ Object
Returns the value of attribute project_manager_flag.
17 18 19 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 17 def project_manager_flag @project_manager_flag end |
#project_name_flag ⇒ Object
Returns the value of attribute project_name_flag.
11 12 13 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 11 def project_name_flag @project_name_flag end |
#project_type_flag ⇒ Object
Returns the value of attribute project_type_flag.
13 14 15 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 13 def project_type_flag @project_type_flag end |
#status_flag ⇒ Object
Returns the value of attribute status_flag.
15 16 17 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 15 def status_flag @status_flag end |
#time_material_actual_finish_flag ⇒ Object
Returns the value of attribute time_material_actual_finish_flag.
43 44 45 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 43 def time_material_actual_finish_flag @time_material_actual_finish_flag end |
#time_material_actual_hrs_flag ⇒ Object
Returns the value of attribute time_material_actual_hrs_flag.
45 46 47 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 45 def time_material_actual_hrs_flag @time_material_actual_hrs_flag end |
#time_material_actual_start_flag ⇒ Object
Returns the value of attribute time_material_actual_start_flag.
41 42 43 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 41 def time_material_actual_start_flag @time_material_actual_start_flag end |
#time_material_assigned_flag ⇒ Object
Returns the value of attribute time_material_assigned_flag.
51 52 53 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 51 def time_material_assigned_flag @time_material_assigned_flag end |
#time_material_bill_flag ⇒ Object
Returns the value of attribute time_material_bill_flag.
47 48 49 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 47 def time_material_bill_flag @time_material_bill_flag end |
#time_material_budget_hrs_flag ⇒ Object
Returns the value of attribute time_material_budget_hrs_flag.
33 34 35 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 33 def time_material_budget_hrs_flag @time_material_budget_hrs_flag end |
#time_material_scheduled_finish_flag ⇒ Object
Returns the value of attribute time_material_scheduled_finish_flag.
37 38 39 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 37 def time_material_scheduled_finish_flag @time_material_scheduled_finish_flag end |
#time_material_scheduled_hrs_flag ⇒ Object
Returns the value of attribute time_material_scheduled_hrs_flag.
39 40 41 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 39 def time_material_scheduled_hrs_flag @time_material_scheduled_hrs_flag end |
#time_material_scheduled_start_flag ⇒ Object
Returns the value of attribute time_material_scheduled_start_flag.
35 36 37 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 35 def time_material_scheduled_start_flag @time_material_scheduled_start_flag end |
#time_material_status_flag ⇒ Object
Returns the value of attribute time_material_status_flag.
49 50 51 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 49 def time_material_status_flag @time_material_status_flag end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 121 def self.attribute_map { :'id' => :'id', :'portal_config' => :'portalConfig', :'project_name_flag' => :'projectNameFlag', :'project_type_flag' => :'projectTypeFlag', :'status_flag' => :'statusFlag', :'project_manager_flag' => :'projectManagerFlag', :'billing_method_flag' => :'billingMethodFlag', :'contact_flag' => :'contactFlag', :'estimated_start_flag' => :'estimatedStartFlag', :'estimated_end_flag' => :'estimatedEndFlag', :'description_flag' => :'descriptionFlag', :'last_updated_flag' => :'lastUpdatedFlag', :'only_display' => :'onlyDisplay', :'time_material_budget_hrs_flag' => :'timeMaterialBudgetHrsFlag', :'time_material_scheduled_start_flag' => :'timeMaterialScheduledStartFlag', :'time_material_scheduled_finish_flag' => :'timeMaterialScheduledFinishFlag', :'time_material_scheduled_hrs_flag' => :'timeMaterialScheduledHrsFlag', :'time_material_actual_start_flag' => :'timeMaterialActualStartFlag', :'time_material_actual_finish_flag' => :'timeMaterialActualFinishFlag', :'time_material_actual_hrs_flag' => :'timeMaterialActualHrsFlag', :'time_material_bill_flag' => :'timeMaterialBillFlag', :'time_material_status_flag' => :'timeMaterialStatusFlag', :'time_material_assigned_flag' => :'timeMaterialAssignedFlag', :'fixed_fee_budget_hrs_flag' => :'fixedFeeBudgetHrsFlag', :'fixed_fee_scheduled_start_flag' => :'fixedFeeScheduledStartFlag', :'fixed_fee_scheduled_finish_flag' => :'fixedFeeScheduledFinishFlag', :'fixed_fee_scheduled_hrs_flag' => :'fixedFeeScheduledHrsFlag', :'fixed_fee_actual_start_flag' => :'fixedFeeActualStartFlag', :'fixed_fee_actual_finish_flag' => :'fixedFeeActualFinishFlag', :'fixed_fee_actual_hrs_flag' => :'fixedFeeActualHrsFlag', :'fixed_fee_bill_flag' => :'fixedFeeBillFlag', :'fixed_fee_status_flag' => :'fixedFeeStatusFlag', :'fixed_fee_assigned_flag' => :'fixedFeeAssignedFlag', :'project_issue_budget_hrs_flag' => :'projectIssueBudgetHrsFlag', :'project_issue_scheduled_start_flag' => :'projectIssueScheduledStartFlag', :'project_issue_scheduled_finish_flag' => :'projectIssueScheduledFinishFlag', :'project_issue_scheduled_hrs_flag' => :'projectIssueScheduledHrsFlag', :'project_issue_actual_start_flag' => :'projectIssueActualStartFlag', :'project_issue_actual_finish_flag' => :'projectIssueActualFinishFlag', :'project_issue_actual_hrs_flag' => :'projectIssueActualHrsFlag', :'project_issue_bill_flag' => :'projectIssueBillFlag', :'project_issue_status_flag' => :'projectIssueStatusFlag', :'project_issue_assigned_flag' => :'projectIssueAssignedFlag', :'project_detail_total_hours_flag' => :'projectDetailTotalHoursFlag', :'_info' => :'_info' } end |
.swagger_types ⇒ Object
Attribute type mapping.
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 172 def self.swagger_types { :'id' => :'Integer', :'portal_config' => :'PortalConfigurationReference', :'project_name_flag' => :'BOOLEAN', :'project_type_flag' => :'BOOLEAN', :'status_flag' => :'BOOLEAN', :'project_manager_flag' => :'BOOLEAN', :'billing_method_flag' => :'BOOLEAN', :'contact_flag' => :'BOOLEAN', :'estimated_start_flag' => :'BOOLEAN', :'estimated_end_flag' => :'BOOLEAN', :'description_flag' => :'BOOLEAN', :'last_updated_flag' => :'BOOLEAN', :'only_display' => :'String', :'time_material_budget_hrs_flag' => :'BOOLEAN', :'time_material_scheduled_start_flag' => :'BOOLEAN', :'time_material_scheduled_finish_flag' => :'BOOLEAN', :'time_material_scheduled_hrs_flag' => :'BOOLEAN', :'time_material_actual_start_flag' => :'BOOLEAN', :'time_material_actual_finish_flag' => :'BOOLEAN', :'time_material_actual_hrs_flag' => :'BOOLEAN', :'time_material_bill_flag' => :'BOOLEAN', :'time_material_status_flag' => :'BOOLEAN', :'time_material_assigned_flag' => :'BOOLEAN', :'fixed_fee_budget_hrs_flag' => :'BOOLEAN', :'fixed_fee_scheduled_start_flag' => :'BOOLEAN', :'fixed_fee_scheduled_finish_flag' => :'BOOLEAN', :'fixed_fee_scheduled_hrs_flag' => :'BOOLEAN', :'fixed_fee_actual_start_flag' => :'BOOLEAN', :'fixed_fee_actual_finish_flag' => :'BOOLEAN', :'fixed_fee_actual_hrs_flag' => :'BOOLEAN', :'fixed_fee_bill_flag' => :'BOOLEAN', :'fixed_fee_status_flag' => :'BOOLEAN', :'fixed_fee_assigned_flag' => :'BOOLEAN', :'project_issue_budget_hrs_flag' => :'BOOLEAN', :'project_issue_scheduled_start_flag' => :'BOOLEAN', :'project_issue_scheduled_finish_flag' => :'BOOLEAN', :'project_issue_scheduled_hrs_flag' => :'BOOLEAN', :'project_issue_actual_start_flag' => :'BOOLEAN', :'project_issue_actual_finish_flag' => :'BOOLEAN', :'project_issue_actual_hrs_flag' => :'BOOLEAN', :'project_issue_bill_flag' => :'BOOLEAN', :'project_issue_status_flag' => :'BOOLEAN', :'project_issue_assigned_flag' => :'BOOLEAN', :'project_detail_total_hours_flag' => :'BOOLEAN', :'_info' => :'Metadata' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 439 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && portal_config == o.portal_config && project_name_flag == o.project_name_flag && project_type_flag == o.project_type_flag && status_flag == o.status_flag && project_manager_flag == o.project_manager_flag && billing_method_flag == o.billing_method_flag && contact_flag == o.contact_flag && estimated_start_flag == o.estimated_start_flag && estimated_end_flag == o.estimated_end_flag && description_flag == o.description_flag && last_updated_flag == o.last_updated_flag && only_display == o.only_display && time_material_budget_hrs_flag == o.time_material_budget_hrs_flag && time_material_scheduled_start_flag == o.time_material_scheduled_start_flag && time_material_scheduled_finish_flag == o.time_material_scheduled_finish_flag && time_material_scheduled_hrs_flag == o.time_material_scheduled_hrs_flag && time_material_actual_start_flag == o.time_material_actual_start_flag && time_material_actual_finish_flag == o.time_material_actual_finish_flag && time_material_actual_hrs_flag == o.time_material_actual_hrs_flag && time_material_bill_flag == o.time_material_bill_flag && time_material_status_flag == o.time_material_status_flag && time_material_assigned_flag == o.time_material_assigned_flag && fixed_fee_budget_hrs_flag == o.fixed_fee_budget_hrs_flag && fixed_fee_scheduled_start_flag == o.fixed_fee_scheduled_start_flag && fixed_fee_scheduled_finish_flag == o.fixed_fee_scheduled_finish_flag && fixed_fee_scheduled_hrs_flag == o.fixed_fee_scheduled_hrs_flag && fixed_fee_actual_start_flag == o.fixed_fee_actual_start_flag && fixed_fee_actual_finish_flag == o.fixed_fee_actual_finish_flag && fixed_fee_actual_hrs_flag == o.fixed_fee_actual_hrs_flag && fixed_fee_bill_flag == o.fixed_fee_bill_flag && fixed_fee_status_flag == o.fixed_fee_status_flag && fixed_fee_assigned_flag == o.fixed_fee_assigned_flag && project_issue_budget_hrs_flag == o.project_issue_budget_hrs_flag && project_issue_scheduled_start_flag == o.project_issue_scheduled_start_flag && project_issue_scheduled_finish_flag == o.project_issue_scheduled_finish_flag && project_issue_scheduled_hrs_flag == o.project_issue_scheduled_hrs_flag && project_issue_actual_start_flag == o.project_issue_actual_start_flag && project_issue_actual_finish_flag == o.project_issue_actual_finish_flag && project_issue_actual_hrs_flag == o.project_issue_actual_hrs_flag && project_issue_bill_flag == o.project_issue_bill_flag && project_issue_status_flag == o.project_issue_status_flag && project_issue_assigned_flag == o.project_issue_assigned_flag && project_detail_total_hours_flag == o.project_detail_total_hours_flag && _info == o._info end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 525 def _deserialize(type, value) case type.to_sym when :DateTime DateTime.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :BOOLEAN if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model temp_model = ConnectWise.const_get(type).new temp_model.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
591 592 593 594 595 596 597 598 599 600 601 602 603 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 591 def _to_hash(value) if value.is_a?(Array) value.compact.map{ |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 504 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(o) ⇒ Boolean
491 492 493 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 491 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
497 498 499 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 497 def hash [id, portal_config, project_name_flag, project_type_flag, status_flag, project_manager_flag, billing_method_flag, contact_flag, estimated_start_flag, estimated_end_flag, description_flag, last_updated_flag, only_display, time_material_budget_hrs_flag, time_material_scheduled_start_flag, time_material_scheduled_finish_flag, time_material_scheduled_hrs_flag, time_material_actual_start_flag, time_material_actual_finish_flag, time_material_actual_hrs_flag, time_material_bill_flag, time_material_status_flag, time_material_assigned_flag, fixed_fee_budget_hrs_flag, fixed_fee_scheduled_start_flag, fixed_fee_scheduled_finish_flag, fixed_fee_scheduled_hrs_flag, fixed_fee_actual_start_flag, fixed_fee_actual_finish_flag, fixed_fee_actual_hrs_flag, fixed_fee_bill_flag, fixed_fee_status_flag, fixed_fee_assigned_flag, project_issue_budget_hrs_flag, project_issue_scheduled_start_flag, project_issue_scheduled_finish_flag, project_issue_scheduled_hrs_flag, project_issue_actual_start_flag, project_issue_actual_finish_flag, project_issue_actual_hrs_flag, project_issue_bill_flag, project_issue_status_flag, project_issue_assigned_flag, project_detail_total_hours_flag, _info].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
414 415 416 417 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 414 def list_invalid_properties invalid_properties = Array.new return invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
571 572 573 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 571 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
577 578 579 580 581 582 583 584 585 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 577 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
565 566 567 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 565 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
421 422 423 424 425 |
# File 'lib/connectwise-ruby-sdk/models/portal_configuration_project_setup.rb', line 421 def valid? only_display_validator = EnumAttributeValidator.new('String', ["DoNotDisplay", "Closed30Days", "Closed60Days", "Closed90Days", "Closed120Days", "AllClosed"]) return false unless only_display_validator.valid?(@only_display) return true end |