connectwise-ruby-sdk 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/README.md +1141 -0
- data/connectwise-ruby-sdk.gemspec +54 -0
- data/docs/AccountingBatchTransactionsApi.md +184 -0
- data/docs/AccountingBatchesApi.md +280 -0
- data/docs/AccountingUnpostedExpensesApi.md +175 -0
- data/docs/AccountingUnpostedProcurementsApi.md +175 -0
- data/docs/AccountingUnpostedinvoicesApi.md +175 -0
- data/docs/ActivitiesApi.md +392 -0
- data/docs/Activity.md +30 -0
- data/docs/ActivityReference.md +10 -0
- data/docs/ActivityStatus.md +14 -0
- data/docs/ActivityStatusReference.md +10 -0
- data/docs/ActivityStatusesApi.md +392 -0
- data/docs/ActivityType.md +15 -0
- data/docs/ActivityTypeReference.md +10 -0
- data/docs/ActivityTypesApi.md +392 -0
- data/docs/Addition.md +30 -0
- data/docs/Adjustment.md +13 -0
- data/docs/Agreement.md +76 -0
- data/docs/AgreementAdditionsApi.md +413 -0
- data/docs/AgreementAdjustmentsApi.md +413 -0
- data/docs/AgreementBoardDefaultsApi.md +413 -0
- data/docs/AgreementReference.md +10 -0
- data/docs/AgreementSite.md +12 -0
- data/docs/AgreementSitesApi.md +413 -0
- data/docs/AgreementType.md +61 -0
- data/docs/AgreementTypeReference.md +10 -0
- data/docs/AgreementTypesApi.md +392 -0
- data/docs/AgreementWorkRole.md +17 -0
- data/docs/AgreementWorkRoleExclusion.md +11 -0
- data/docs/AgreementWorkRoleExclusionsApi.md +239 -0
- data/docs/AgreementWorkRolesApi.md +413 -0
- data/docs/AgreementWorkType.md +25 -0
- data/docs/AgreementWorkTypeExclusion.md +11 -0
- data/docs/AgreementWorkTypeExclusionsApi.md +239 -0
- data/docs/AgreementWorkTypesApi.md +413 -0
- data/docs/AgreementsApi.md +671 -0
- data/docs/AuditTrailApi.md +180 -0
- data/docs/AuditTrailEntry.md +12 -0
- data/docs/AuditTrailEntryInsertRequest.md +9 -0
- data/docs/AuditTrailObjects.md +9 -0
- data/docs/Batch.md +24 -0
- data/docs/BatchReference.md +10 -0
- data/docs/BillingStatusReference.md +10 -0
- data/docs/BillingTermsReference.md +10 -0
- data/docs/Board.md +21 -0
- data/docs/BoardDefault.md +13 -0
- data/docs/BoardExcludedMembersApi.md +295 -0
- data/docs/BoardItemsApi.md +413 -0
- data/docs/BoardReference.md +10 -0
- data/docs/BoardStatusesApi.md +413 -0
- data/docs/BoardSubTypesApi.md +413 -0
- data/docs/BoardTeamsApi.md +413 -0
- data/docs/BoardTypesApi.md +469 -0
- data/docs/BoardsApi.md +392 -0
- data/docs/CalendarReference.md +10 -0
- data/docs/CallbackEntriesApi.md +392 -0
- data/docs/CallbackEntry.md +15 -0
- data/docs/Campaign.md +33 -0
- data/docs/CampaignAudit.md +16 -0
- data/docs/CampaignAuditsApi.md +413 -0
- data/docs/CampaignEmailsOpenedApi.md +413 -0
- data/docs/CampaignFormsSubmittedApi.md +413 -0
- data/docs/CampaignLinksClickedApi.md +413 -0
- data/docs/CampaignReference.md +10 -0
- data/docs/CampaignStatus.md +12 -0
- data/docs/CampaignStatusReference.md +10 -0
- data/docs/CampaignStatusesApi.md +392 -0
- data/docs/CampaignSubType.md +11 -0
- data/docs/CampaignSubTypeReference.md +10 -0
- data/docs/CampaignSubTypesApi.md +413 -0
- data/docs/CampaignType.md +11 -0
- data/docs/CampaignTypeReference.md +10 -0
- data/docs/CampaignTypesApi.md +392 -0
- data/docs/CampaignsApi.md +616 -0
- data/docs/CatalogComponent.md +19 -0
- data/docs/CatalogComponentsApi.md +413 -0
- data/docs/CatalogItem.md +33 -0
- data/docs/CatalogItemReference.md +10 -0
- data/docs/CatalogsItemApi.md +449 -0
- data/docs/CategoriesApi.md +392 -0
- data/docs/Category.md +16 -0
- data/docs/ChargeCodeReference.md +10 -0
- data/docs/ClassificationReference.md +10 -0
- data/docs/Code.md +14 -0
- data/docs/CodesApi.md +392 -0
- data/docs/CommunicationTypeReference.md +10 -0
- data/docs/CompaniesApi.md +448 -0
- data/docs/Company.md +53 -0
- data/docs/CompanyManagementSummary.md +42 -0
- data/docs/CompanyManagementSummaryReportsApi.md +413 -0
- data/docs/CompanyMerge.md +49 -0
- data/docs/CompanyNote.md +14 -0
- data/docs/CompanyNotesApi.md +413 -0
- data/docs/CompanyReference.md +11 -0
- data/docs/CompanySite.md +27 -0
- data/docs/CompanySitesApi.md +413 -0
- data/docs/CompanyStatus.md +18 -0
- data/docs/CompanyStatusReference.md +10 -0
- data/docs/CompanyStatusesApi.md +392 -0
- data/docs/CompanyTeam.md +18 -0
- data/docs/CompanyTeamsApi.md +413 -0
- data/docs/CompanyType.md +12 -0
- data/docs/CompanyTypeReference.md +10 -0
- data/docs/CompanyTypesApi.md +392 -0
- data/docs/Configuration.md +57 -0
- data/docs/ConfigurationQuestion.md +15 -0
- data/docs/ConfigurationReference.md +10 -0
- data/docs/ConfigurationStatus.md +12 -0
- data/docs/ConfigurationStatusReference.md +10 -0
- data/docs/ConfigurationStatusesApi.md +392 -0
- data/docs/ConfigurationType.md +12 -0
- data/docs/ConfigurationTypeQuestion.md +18 -0
- data/docs/ConfigurationTypeQuestionsApi.md +413 -0
- data/docs/ConfigurationTypeReference.md +10 -0
- data/docs/ConfigurationTypesApi.md +392 -0
- data/docs/ConfigurationsApi.md +444 -0
- data/docs/ConnectWiseHostedSetup.md +18 -0
- data/docs/ConnectWiseHostedSetupsApi.md +392 -0
- data/docs/Contact.md +47 -0
- data/docs/ContactCommunication.md +16 -0
- data/docs/ContactCommunicationItem.md +13 -0
- data/docs/ContactCommunicationsApi.md +413 -0
- data/docs/ContactDepartment.md +10 -0
- data/docs/ContactDepartmentReference.md +10 -0
- data/docs/ContactDepartmentsApi.md +392 -0
- data/docs/ContactNote.md +14 -0
- data/docs/ContactNotesApi.md +413 -0
- data/docs/ContactReference.md +10 -0
- data/docs/ContactRelationship.md +10 -0
- data/docs/ContactRelationshipsApi.md +392 -0
- data/docs/ContactTracksApi.md +295 -0
- data/docs/ContactType.md +11 -0
- data/docs/ContactTypeReference.md +10 -0
- data/docs/ContactTypesApi.md +392 -0
- data/docs/ContactsApi.md +612 -0
- data/docs/Conversion.md +12 -0
- data/docs/Count.md +8 -0
- data/docs/CountryReference.md +10 -0
- data/docs/CurrenciesApi.md +392 -0
- data/docs/Currency.md +15 -0
- data/docs/CurrencyReference.md +10 -0
- data/docs/CustomFieldValue.md +13 -0
- data/docs/DocumentInfo.md +17 -0
- data/docs/DocumentReference.md +9 -0
- data/docs/DocumentsApi.md +474 -0
- data/docs/EmailOpened.md +11 -0
- data/docs/EntityTypeReference.md +10 -0
- data/docs/Error.md +10 -0
- data/docs/ExcludedMember.md +11 -0
- data/docs/ExpenseEntriesApi.md +392 -0
- data/docs/ExpenseEntry.md +25 -0
- data/docs/ExpenseTax.md +10 -0
- data/docs/ExpenseTaxTypeReference.md +10 -0
- data/docs/ExpenseType.md +20 -0
- data/docs/ExpenseTypeReference.md +10 -0
- data/docs/ExpenseTypesApi.md +392 -0
- data/docs/FilterValues.md +9 -0
- data/docs/Forecast.md +19 -0
- data/docs/FormSubmitted.md +18 -0
- data/docs/GenericIdIdentifierReference.md +9 -0
- data/docs/Group.md +13 -0
- data/docs/GroupCompaniesApi.md +413 -0
- data/docs/GroupContactsApi.md +413 -0
- data/docs/GroupReference.md +10 -0
- data/docs/GroupsApi.md +392 -0
- data/docs/Guid.md +7 -0
- data/docs/Info.md +10 -0
- data/docs/InfoApi.md +55 -0
- data/docs/IntegratorLogin.md +65 -0
- data/docs/Invoice.md +54 -0
- data/docs/InvoicePaymentsApi.md +356 -0
- data/docs/InvoiceReference.md +10 -0
- data/docs/InvoicesApi.md +444 -0
- data/docs/Item.md +16 -0
- data/docs/IvItemReference.md +10 -0
- data/docs/JObject.md +7 -0
- data/docs/KnowledgeBaseArticle.md +19 -0
- data/docs/KnowledgeBaseArticlesApi.md +392 -0
- data/docs/Link.md +12 -0
- data/docs/LinkClicked.md +13 -0
- data/docs/LinksApi.md +392 -0
- data/docs/Location.md +12 -0
- data/docs/LocationsApi.md +392 -0
- data/docs/ManagementSolutionReference.md +10 -0
- data/docs/Manufacturer.md +11 -0
- data/docs/ManufacturerReference.md +10 -0
- data/docs/ManufacturersApi.md +392 -0
- data/docs/MarketingCompany.md +13 -0
- data/docs/MarketingContact.md +12 -0
- data/docs/Member.md +94 -0
- data/docs/MemberReference.md +11 -0
- data/docs/MemberTypeReference.md +10 -0
- data/docs/MembersApi.md +286 -0
- data/docs/MenuEntriesApi.md +502 -0
- data/docs/MenuEntry.md +17 -0
- data/docs/MenuLocationReference.md +10 -0
- data/docs/Metadata.md +7 -0
- data/docs/NoteTypeReference.md +10 -0
- data/docs/OpportunitiesApi.md +616 -0
- data/docs/Opportunity.md +40 -0
- data/docs/OpportunityContact.md +17 -0
- data/docs/OpportunityContactsApi.md +413 -0
- data/docs/OpportunityForecastsApi.md +413 -0
- data/docs/OpportunityNote.md +15 -0
- data/docs/OpportunityNotesApi.md +413 -0
- data/docs/OpportunityPriorityReference.md +10 -0
- data/docs/OpportunityProbabilityReference.md +10 -0
- data/docs/OpportunityRating.md +11 -0
- data/docs/OpportunityRatingReference.md +10 -0
- data/docs/OpportunityRatingsApi.md +392 -0
- data/docs/OpportunityReference.md +10 -0
- data/docs/OpportunitySalesRoleReference.md +10 -0
- data/docs/OpportunityStageReference.md +10 -0
- data/docs/OpportunityStatus.md +17 -0
- data/docs/OpportunityStatusReference.md +10 -0
- data/docs/OpportunityStatusesApi.md +392 -0
- data/docs/OpportunityTeamsApi.md +413 -0
- data/docs/OpportunityToAgreementConversion.md +22 -0
- data/docs/OpportunityToProjectConversion.md +22 -0
- data/docs/OpportunityToSalesOrderConversion.md +15 -0
- data/docs/OpportunityToServiceTicketConversion.md +15 -0
- data/docs/OpportunityType.md +11 -0
- data/docs/OpportunityTypeReference.md +10 -0
- data/docs/OpportunityTypesApi.md +392 -0
- data/docs/Order.md +44 -0
- data/docs/OrderStatus.md +14 -0
- data/docs/OrderStatusReference.md +10 -0
- data/docs/OrderStatusesApi.md +392 -0
- data/docs/OrdersApi.md +392 -0
- data/docs/OwnershipTypeReference.md +10 -0
- data/docs/PatchOperation.md +10 -0
- data/docs/Payment.md +14 -0
- data/docs/PaymentMethodReference.md +10 -0
- data/docs/PhaseStatusReference.md +10 -0
- data/docs/PortalSecurity.md +9 -0
- data/docs/PricingBreak.md +14 -0
- data/docs/PricingBreaksApi.md +434 -0
- data/docs/PricingDetail.md +14 -0
- data/docs/PricingDetailsApi.md +413 -0
- data/docs/PricingSchedule.md +15 -0
- data/docs/PricingSchedulesApi.md +392 -0
- data/docs/PrioritiesApi.md +450 -0
- data/docs/Priority.md +14 -0
- data/docs/PriorityReference.md +11 -0
- data/docs/ProductCategoryReference.md +10 -0
- data/docs/ProductComponent.md +21 -0
- data/docs/ProductComponentsApi.md +413 -0
- data/docs/ProductItem.md +51 -0
- data/docs/ProductItemReference.md +10 -0
- data/docs/ProductPickingShippingDetail.md +20 -0
- data/docs/ProductPickingShippingDetailsApi.md +413 -0
- data/docs/ProductRecurring.md +14 -0
- data/docs/ProductReference.md +10 -0
- data/docs/ProductSubCategoryReference.md +10 -0
- data/docs/ProductType.md +12 -0
- data/docs/ProductTypeReference.md +10 -0
- data/docs/ProductTypesApi.md +392 -0
- data/docs/ProductsItemApi.md +392 -0
- data/docs/Project.md +61 -0
- data/docs/ProjectBoardReference.md +10 -0
- data/docs/ProjectContact.md +11 -0
- data/docs/ProjectContactsApi.md +238 -0
- data/docs/ProjectNote.md +13 -0
- data/docs/ProjectNotesApi.md +413 -0
- data/docs/ProjectPhase.md +34 -0
- data/docs/ProjectPhaseReference.md +10 -0
- data/docs/ProjectPhasesApi.md +413 -0
- data/docs/ProjectReference.md +10 -0
- data/docs/ProjectRoleReference.md +10 -0
- data/docs/ProjectStatusReference.md +10 -0
- data/docs/ProjectTeamMember.md +16 -0
- data/docs/ProjectTypeReference.md +10 -0
- data/docs/ProjectsApi.md +392 -0
- data/docs/ProjectsTeamMembersApi.md +413 -0
- data/docs/PurchaseOrder.md +56 -0
- data/docs/PurchaseOrderLineItem.md +35 -0
- data/docs/PurchaseOrderLineItemsApi.md +413 -0
- data/docs/PurchaseOrderReference.md +10 -0
- data/docs/PurchaseOrderStatusReference.md +10 -0
- data/docs/PurchaseOrdersApi.md +392 -0
- data/docs/RelationshipReference.md +10 -0
- data/docs/ReminderReference.md +10 -0
- data/docs/Report.md +8 -0
- data/docs/ReportDataResponse.md +9 -0
- data/docs/ReportsApi.md +239 -0
- data/docs/RequestPasswordRequest.md +8 -0
- data/docs/SLAReference.md +10 -0
- data/docs/SalesTeamReference.md +10 -0
- data/docs/ScheduleEntriesApi.md +392 -0
- data/docs/ScheduleEntry.md +27 -0
- data/docs/ScheduleEntryReference.md +10 -0
- data/docs/ScheduleSpanReference.md +10 -0
- data/docs/ScheduleStatus.md +12 -0
- data/docs/ScheduleStatusReference.md +10 -0
- data/docs/ScheduleStatusesApi.md +392 -0
- data/docs/ScheduleType.md +14 -0
- data/docs/ScheduleTypeReference.md +10 -0
- data/docs/ScheduleTypesApi.md +392 -0
- data/docs/SecurityRoleReference.md +10 -0
- data/docs/ServiceCodeReference.md +10 -0
- data/docs/ServiceItemReference.md +10 -0
- data/docs/ServiceLocationReference.md +10 -0
- data/docs/ServiceNote.md +22 -0
- data/docs/ServiceSignoffReference.md +10 -0
- data/docs/ServiceSourceReference.md +10 -0
- data/docs/ServiceStatusReference.md +10 -0
- data/docs/ServiceSubTypeReference.md +10 -0
- data/docs/ServiceTeamReference.md +10 -0
- data/docs/ServiceTypeReference.md +10 -0
- data/docs/ShipmentMethod.md +13 -0
- data/docs/ShipmentMethodReference.md +10 -0
- data/docs/ShipmentMethodsApi.md +392 -0
- data/docs/SicCodeReference.md +10 -0
- data/docs/SiteReference.md +10 -0
- data/docs/Source.md +13 -0
- data/docs/SourcesApi.md +392 -0
- data/docs/Status.md +18 -0
- data/docs/SubCategoriesApi.md +413 -0
- data/docs/SubCategory.md +11 -0
- data/docs/SubType.md +15 -0
- data/docs/SuccessResponse.md +9 -0
- data/docs/Survey.md +20 -0
- data/docs/SurveyQuestion.md +17 -0
- data/docs/SurveyQuestionOption.md +10 -0
- data/docs/SurveyQuestionsApi.md +413 -0
- data/docs/SurveyResult.md +18 -0
- data/docs/SurveyResultDetail.md +9 -0
- data/docs/SurveyResultsApi.md +413 -0
- data/docs/SurveysApi.md +392 -0
- data/docs/Task.md +18 -0
- data/docs/TaxCodeReference.md +10 -0
- data/docs/Team.md +24 -0
- data/docs/TeamRoleReference.md +10 -0
- data/docs/Ticket.md +96 -0
- data/docs/TicketNotesApi.md +413 -0
- data/docs/TicketReference.md +10 -0
- data/docs/TicketTasksApi.md +413 -0
- data/docs/TicketsApi.md +1290 -0
- data/docs/TimeEntriesApi.md +392 -0
- data/docs/TimeEntry.md +36 -0
- data/docs/TimeEntryReference.md +9 -0
- data/docs/TimeZoneReference.md +10 -0
- data/docs/Token.md +10 -0
- data/docs/Track.md +18 -0
- data/docs/TrackReference.md +10 -0
- data/docs/Transaction.md +67 -0
- data/docs/Type.md +17 -0
- data/docs/TypeAssociations.md +9 -0
- data/docs/UnitOfMeasure.md +13 -0
- data/docs/UnitOfMeasureConversionsApi.md +413 -0
- data/docs/UnitOfMeasureReference.md +10 -0
- data/docs/UnitsOfMeasureApi.md +392 -0
- data/docs/UnpostedExpense.md +53 -0
- data/docs/UnpostedInvoice.md +50 -0
- data/docs/UnpostedProcurement.md +48 -0
- data/docs/UserDefinedField.md +29 -0
- data/docs/UserDefinedFieldOption.md +12 -0
- data/docs/UserDefinedFieldsApi.md +392 -0
- data/docs/ValidatePortalRequest.md +9 -0
- data/docs/ValidatePortalResponse.md +9 -0
- data/docs/ValidationError.md +11 -0
- data/docs/WarehouseBinReference.md +10 -0
- data/docs/WarehouseReference.md +10 -0
- data/docs/WorkRoleReference.md +10 -0
- data/docs/WorkTypeReference.md +10 -0
- data/git_push.sh +67 -0
- data/lib/connectwise-ruby-sdk.rb +414 -0
- data/lib/connectwise-ruby-sdk/api/accounting_batch_transactions_api.rb +224 -0
- data/lib/connectwise-ruby-sdk/api/accounting_batches_api.rb +325 -0
- data/lib/connectwise-ruby-sdk/api/accounting_unposted_expenses_api.rb +212 -0
- data/lib/connectwise-ruby-sdk/api/accounting_unposted_procurements_api.rb +212 -0
- data/lib/connectwise-ruby-sdk/api/accounting_unpostedinvoices_api.rb +212 -0
- data/lib/connectwise-ruby-sdk/api/activities_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/activity_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/activity_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/agreement_additions_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_adjustments_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_board_defaults_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_sites_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/agreement_work_role_exclusions_api.rb +284 -0
- data/lib/connectwise-ruby-sdk/api/agreement_work_roles_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreement_work_type_exclusions_api.rb +284 -0
- data/lib/connectwise-ruby-sdk/api/agreement_work_types_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/agreements_api.rb +749 -0
- data/lib/connectwise-ruby-sdk/api/audit_trail_api.rb +226 -0
- data/lib/connectwise-ruby-sdk/api/board_excluded_members_api.rb +345 -0
- data/lib/connectwise-ruby-sdk/api/board_items_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/board_statuses_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/board_sub_types_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/board_teams_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/board_types_api.rb +536 -0
- data/lib/connectwise-ruby-sdk/api/boards_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/callback_entries_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/campaign_audits_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_emails_opened_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_forms_submitted_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_links_clicked_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/campaign_sub_types_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/campaign_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/campaigns_api.rb +687 -0
- data/lib/connectwise-ruby-sdk/api/catalog_components_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/catalogs_item_api.rb +507 -0
- data/lib/connectwise-ruby-sdk/api/categories_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/codes_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/companies_api.rb +508 -0
- data/lib/connectwise-ruby-sdk/api/company_management_summary_reports_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/company_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/company_sites_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/company_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/company_teams_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/company_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/configuration_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/configuration_type_questions_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/configuration_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/configurations_api.rb +525 -0
- data/lib/connectwise-ruby-sdk/api/connect_wise_hosted_setups_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/contact_communications_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/contact_departments_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/contact_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/contact_relationships_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/contact_tracks_api.rb +345 -0
- data/lib/connectwise-ruby-sdk/api/contact_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/contacts_api.rb +682 -0
- data/lib/connectwise-ruby-sdk/api/currencies_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/documents_api.rb +580 -0
- data/lib/connectwise-ruby-sdk/api/expense_entries_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/expense_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/group_companies_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/group_contacts_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/groups_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/info_api.rb +87 -0
- data/lib/connectwise-ruby-sdk/api/invoice_payments_api.rb +415 -0
- data/lib/connectwise-ruby-sdk/api/invoices_api.rb +503 -0
- data/lib/connectwise-ruby-sdk/api/knowledge_base_articles_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/links_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/locations_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/manufacturers_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/members_api.rb +331 -0
- data/lib/connectwise-ruby-sdk/api/menu_entries_api.rb +565 -0
- data/lib/connectwise-ruby-sdk/api/opportunities_api.rb +691 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_contacts_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_forecasts_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_ratings_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_teams_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/opportunity_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/order_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/orders_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/pricing_breaks_api.rb +503 -0
- data/lib/connectwise-ruby-sdk/api/pricing_details_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/pricing_schedules_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/priorities_api.rb +509 -0
- data/lib/connectwise-ruby-sdk/api/product_components_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/product_picking_shipping_details_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/product_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/products_item_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/project_contacts_api.rb +285 -0
- data/lib/connectwise-ruby-sdk/api/project_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/project_phases_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/projects_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/projects_team_members_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/purchase_order_line_items_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/purchase_orders_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/reports_api.rb +282 -0
- data/lib/connectwise-ruby-sdk/api/schedule_entries_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/schedule_statuses_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/schedule_types_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/shipment_methods_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/sources_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/sub_categories_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/survey_questions_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/survey_results_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/surveys_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/ticket_notes_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/ticket_tasks_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/tickets_api.rb +1412 -0
- data/lib/connectwise-ruby-sdk/api/time_entries_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/unit_of_measure_conversions_api.rb +475 -0
- data/lib/connectwise-ruby-sdk/api/units_of_measure_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api/user_defined_fields_api.rb +447 -0
- data/lib/connectwise-ruby-sdk/api_client.rb +379 -0
- data/lib/connectwise-ruby-sdk/api_error.rb +47 -0
- data/lib/connectwise-ruby-sdk/configuration.rb +214 -0
- data/lib/connectwise-ruby-sdk/models/activity.rb +448 -0
- data/lib/connectwise-ruby-sdk/models/activity_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/activity_status.rb +270 -0
- data/lib/connectwise-ruby-sdk/models/activity_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/activity_type.rb +279 -0
- data/lib/connectwise-ruby-sdk/models/activity_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/addition.rb +463 -0
- data/lib/connectwise-ruby-sdk/models/adjustment.rb +260 -0
- data/lib/connectwise-ruby-sdk/models/agreement.rb +1020 -0
- data/lib/connectwise-ruby-sdk/models/agreement_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/agreement_site.rb +237 -0
- data/lib/connectwise-ruby-sdk/models/agreement_type.rb +859 -0
- data/lib/connectwise-ruby-sdk/models/agreement_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/agreement_work_role.rb +315 -0
- data/lib/connectwise-ruby-sdk/models/agreement_work_role_exclusion.rb +228 -0
- data/lib/connectwise-ruby-sdk/models/agreement_work_type.rb +412 -0
- data/lib/connectwise-ruby-sdk/models/agreement_work_type_exclusion.rb +228 -0
- data/lib/connectwise-ruby-sdk/models/audit_trail_entry.rb +235 -0
- data/lib/connectwise-ruby-sdk/models/audit_trail_entry_insert_request.rb +226 -0
- data/lib/connectwise-ruby-sdk/models/audit_trail_objects.rb +245 -0
- data/lib/connectwise-ruby-sdk/models/batch.rb +372 -0
- data/lib/connectwise-ruby-sdk/models/batch_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/billing_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/billing_terms_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/board.rb +337 -0
- data/lib/connectwise-ruby-sdk/models/board_default.rb +246 -0
- data/lib/connectwise-ruby-sdk/models/board_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/calendar_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/callback_entry.rb +282 -0
- data/lib/connectwise-ruby-sdk/models/campaign.rb +444 -0
- data/lib/connectwise-ruby-sdk/models/campaign_audit.rb +347 -0
- data/lib/connectwise-ruby-sdk/models/campaign_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/campaign_status.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/campaign_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/campaign_sub_type.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/campaign_sub_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/campaign_type.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/campaign_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/catalog_component.rb +301 -0
- data/lib/connectwise-ruby-sdk/models/catalog_item.rb +566 -0
- data/lib/connectwise-ruby-sdk/models/catalog_item_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/category.rb +320 -0
- data/lib/connectwise-ruby-sdk/models/charge_code_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/classification_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/code.rb +271 -0
- data/lib/connectwise-ruby-sdk/models/communication_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/company.rb +942 -0
- data/lib/connectwise-ruby-sdk/models/company_management_summary.rb +556 -0
- data/lib/connectwise-ruby-sdk/models/company_merge.rb +1082 -0
- data/lib/connectwise-ruby-sdk/models/company_note.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/company_reference.rb +227 -0
- data/lib/connectwise-ruby-sdk/models/company_site.rb +492 -0
- data/lib/connectwise-ruby-sdk/models/company_status.rb +321 -0
- data/lib/connectwise-ruby-sdk/models/company_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/company_team.rb +291 -0
- data/lib/connectwise-ruby-sdk/models/company_type.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/company_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/configuration.rb +888 -0
- data/lib/connectwise-ruby-sdk/models/configuration_question.rb +295 -0
- data/lib/connectwise-ruby-sdk/models/configuration_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/configuration_status.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/configuration_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/configuration_type.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/configuration_type_question.rb +375 -0
- data/lib/connectwise-ruby-sdk/models/configuration_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/connect_wise_hosted_setup.rb +373 -0
- data/lib/connectwise-ruby-sdk/models/contact.rb +831 -0
- data/lib/connectwise-ruby-sdk/models/contact_communication.rb +337 -0
- data/lib/connectwise-ruby-sdk/models/contact_communication_item.rb +309 -0
- data/lib/connectwise-ruby-sdk/models/contact_department.rb +234 -0
- data/lib/connectwise-ruby-sdk/models/contact_department_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/contact_note.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/contact_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/contact_relationship.rb +234 -0
- data/lib/connectwise-ruby-sdk/models/contact_type.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/contact_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/conversion.rb +238 -0
- data/lib/connectwise-ruby-sdk/models/count.rb +199 -0
- data/lib/connectwise-ruby-sdk/models/country_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/currency.rb +324 -0
- data/lib/connectwise-ruby-sdk/models/currency_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/custom_field_value.rb +289 -0
- data/lib/connectwise-ruby-sdk/models/document_info.rb +281 -0
- data/lib/connectwise-ruby-sdk/models/document_reference.rb +209 -0
- data/lib/connectwise-ruby-sdk/models/email_opened.rb +227 -0
- data/lib/connectwise-ruby-sdk/models/entity_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/error.rb +219 -0
- data/lib/connectwise-ruby-sdk/models/excluded_member.rb +228 -0
- data/lib/connectwise-ruby-sdk/models/expense_entry.rb +404 -0
- data/lib/connectwise-ruby-sdk/models/expense_tax.rb +217 -0
- data/lib/connectwise-ruby-sdk/models/expense_tax_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/expense_type.rb +372 -0
- data/lib/connectwise-ruby-sdk/models/expense_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/filter_values.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/forecast.rb +348 -0
- data/lib/connectwise-ruby-sdk/models/form_submitted.rb +306 -0
- data/lib/connectwise-ruby-sdk/models/generic_id_identifier_reference.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/group.rb +261 -0
- data/lib/connectwise-ruby-sdk/models/group_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/guid.rb +190 -0
- data/lib/connectwise-ruby-sdk/models/info.rb +217 -0
- data/lib/connectwise-ruby-sdk/models/integrator_login.rb +930 -0
- data/lib/connectwise-ruby-sdk/models/invoice.rb +722 -0
- data/lib/connectwise-ruby-sdk/models/invoice_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/item.rb +290 -0
- data/lib/connectwise-ruby-sdk/models/iv_item_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/j_object.rb +190 -0
- data/lib/connectwise-ruby-sdk/models/knowledge_base_article.rb +302 -0
- data/lib/connectwise-ruby-sdk/models/link.rb +268 -0
- data/lib/connectwise-ruby-sdk/models/link_clicked.rb +261 -0
- data/lib/connectwise-ruby-sdk/models/location.rb +286 -0
- data/lib/connectwise-ruby-sdk/models/management_solution_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/manufacturer.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/manufacturer_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/marketing_company.rb +246 -0
- data/lib/connectwise-ruby-sdk/models/marketing_contact.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/member.rb +1245 -0
- data/lib/connectwise-ruby-sdk/models/member_reference.rb +227 -0
- data/lib/connectwise-ruby-sdk/models/member_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/menu_entry.rb +332 -0
- data/lib/connectwise-ruby-sdk/models/menu_location_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/metadata.rb +190 -0
- data/lib/connectwise-ruby-sdk/models/note_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity.rb +540 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_contact.rb +282 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_note.rb +264 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_priority_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_probability_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_rating.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_rating_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_sales_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_stage_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_status.rb +297 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_to_agreement_conversion.rb +331 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_to_project_conversion.rb +331 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_to_sales_order_conversion.rb +268 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_to_service_ticket_conversion.rb +268 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_type.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/opportunity_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/order.rb +550 -0
- data/lib/connectwise-ruby-sdk/models/order_status.rb +270 -0
- data/lib/connectwise-ruby-sdk/models/order_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/ownership_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/patch_operation.rb +217 -0
- data/lib/connectwise-ruby-sdk/models/payment.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/payment_method_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/phase_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/portal_security.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/pricing_break.rb +288 -0
- data/lib/connectwise-ruby-sdk/models/pricing_detail.rb +255 -0
- data/lib/connectwise-ruby-sdk/models/pricing_schedule.rb +281 -0
- data/lib/connectwise-ruby-sdk/models/priority.rb +286 -0
- data/lib/connectwise-ruby-sdk/models/priority_reference.rb +227 -0
- data/lib/connectwise-ruby-sdk/models/product_category_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/product_component.rb +319 -0
- data/lib/connectwise-ruby-sdk/models/product_item.rb +725 -0
- data/lib/connectwise-ruby-sdk/models/product_item_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/product_picking_shipping_detail.rb +314 -0
- data/lib/connectwise-ruby-sdk/models/product_recurring.rb +293 -0
- data/lib/connectwise-ruby-sdk/models/product_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/product_sub_category_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/product_type.rb +285 -0
- data/lib/connectwise-ruby-sdk/models/product_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project.rb +821 -0
- data/lib/connectwise-ruby-sdk/models/project_board_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_contact.rb +228 -0
- data/lib/connectwise-ruby-sdk/models/project_note.rb +246 -0
- data/lib/connectwise-ruby-sdk/models/project_phase.rb +534 -0
- data/lib/connectwise-ruby-sdk/models/project_phase_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/project_team_member.rb +274 -0
- data/lib/connectwise-ruby-sdk/models/project_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order.rb +698 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_line_item.rb +553 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/purchase_order_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/relationship_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/reminder_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/report.rb +199 -0
- data/lib/connectwise-ruby-sdk/models/report_data_response.rb +212 -0
- data/lib/connectwise-ruby-sdk/models/request_password_request.rb +199 -0
- data/lib/connectwise-ruby-sdk/models/sales_team_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/schedule_entry.rb +387 -0
- data/lib/connectwise-ruby-sdk/models/schedule_entry_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/schedule_span_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/schedule_status.rb +252 -0
- data/lib/connectwise-ruby-sdk/models/schedule_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/schedule_type.rb +286 -0
- data/lib/connectwise-ruby-sdk/models/schedule_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/security_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_code_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_item_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_location_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_note.rb +326 -0
- data/lib/connectwise-ruby-sdk/models/service_signoff_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_source_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_status_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_sub_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_team_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/service_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/shipment_method.rb +294 -0
- data/lib/connectwise-ruby-sdk/models/shipment_method_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/sic_code_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/site_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/sla_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/source.rb +261 -0
- data/lib/connectwise-ruby-sdk/models/status.rb +339 -0
- data/lib/connectwise-ruby-sdk/models/sub_category.rb +243 -0
- data/lib/connectwise-ruby-sdk/models/sub_type.rb +281 -0
- data/lib/connectwise-ruby-sdk/models/success_response.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/survey.rb +369 -0
- data/lib/connectwise-ruby-sdk/models/survey_question.rb +333 -0
- data/lib/connectwise-ruby-sdk/models/survey_question_option.rb +233 -0
- data/lib/connectwise-ruby-sdk/models/survey_result.rb +293 -0
- data/lib/connectwise-ruby-sdk/models/survey_result_detail.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/task.rb +343 -0
- data/lib/connectwise-ruby-sdk/models/tax_code_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/team.rb +397 -0
- data/lib/connectwise-ruby-sdk/models/team_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/ticket.rb +1336 -0
- data/lib/connectwise-ruby-sdk/models/ticket_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/time_entry.rb +502 -0
- data/lib/connectwise-ruby-sdk/models/time_entry_reference.rb +209 -0
- data/lib/connectwise-ruby-sdk/models/time_zone_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/token.rb +217 -0
- data/lib/connectwise-ruby-sdk/models/track.rb +291 -0
- data/lib/connectwise-ruby-sdk/models/track_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/transaction.rb +782 -0
- data/lib/connectwise-ruby-sdk/models/type.rb +330 -0
- data/lib/connectwise-ruby-sdk/models/type_associations.rb +210 -0
- data/lib/connectwise-ruby-sdk/models/unit_of_measure.rb +276 -0
- data/lib/connectwise-ruby-sdk/models/unit_of_measure_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/unposted_expense.rb +656 -0
- data/lib/connectwise-ruby-sdk/models/unposted_invoice.rb +617 -0
- data/lib/connectwise-ruby-sdk/models/unposted_procurement.rb +599 -0
- data/lib/connectwise-ruby-sdk/models/user_defined_field.rb +538 -0
- data/lib/connectwise-ruby-sdk/models/user_defined_field_option.rb +251 -0
- data/lib/connectwise-ruby-sdk/models/validate_portal_request.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/validate_portal_response.rb +208 -0
- data/lib/connectwise-ruby-sdk/models/validation_error.rb +226 -0
- data/lib/connectwise-ruby-sdk/models/warehouse_bin_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/warehouse_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/work_role_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/models/work_type_reference.rb +218 -0
- data/lib/connectwise-ruby-sdk/version.rb +26 -0
- data/spec/api/accounting_batch_transactions_api_spec.rb +88 -0
- data/spec/api/accounting_batches_api_spec.rb +109 -0
- data/spec/api/accounting_unposted_expenses_api_spec.rb +85 -0
- data/spec/api/accounting_unposted_procurements_api_spec.rb +85 -0
- data/spec/api/accounting_unpostedinvoices_api_spec.rb +85 -0
- data/spec/api/activities_api_spec.rb +135 -0
- data/spec/api/activity_statuses_api_spec.rb +135 -0
- data/spec/api/activity_types_api_spec.rb +135 -0
- data/spec/api/agreement_additions_api_spec.rb +142 -0
- data/spec/api/agreement_adjustments_api_spec.rb +142 -0
- data/spec/api/agreement_board_defaults_api_spec.rb +142 -0
- data/spec/api/agreement_sites_api_spec.rb +142 -0
- data/spec/api/agreement_types_api_spec.rb +135 -0
- data/spec/api/agreement_work_role_exclusions_api_spec.rb +101 -0
- data/spec/api/agreement_work_roles_api_spec.rb +142 -0
- data/spec/api/agreement_work_type_exclusions_api_spec.rb +101 -0
- data/spec/api/agreement_work_types_api_spec.rb +142 -0
- data/spec/api/agreements_api_spec.rb +200 -0
- data/spec/api/audit_trail_api_spec.rb +88 -0
- data/spec/api/board_excluded_members_api_spec.rb +114 -0
- data/spec/api/board_items_api_spec.rb +142 -0
- data/spec/api/board_statuses_api_spec.rb +142 -0
- data/spec/api/board_sub_types_api_spec.rb +142 -0
- data/spec/api/board_teams_api_spec.rb +142 -0
- data/spec/api/board_types_api_spec.rb +155 -0
- data/spec/api/boards_api_spec.rb +135 -0
- data/spec/api/callback_entries_api_spec.rb +135 -0
- data/spec/api/campaign_audits_api_spec.rb +142 -0
- data/spec/api/campaign_emails_opened_api_spec.rb +142 -0
- data/spec/api/campaign_forms_submitted_api_spec.rb +142 -0
- data/spec/api/campaign_links_clicked_api_spec.rb +142 -0
- data/spec/api/campaign_statuses_api_spec.rb +135 -0
- data/spec/api/campaign_sub_types_api_spec.rb +142 -0
- data/spec/api/campaign_types_api_spec.rb +135 -0
- data/spec/api/campaigns_api_spec.rb +187 -0
- data/spec/api/catalog_components_api_spec.rb +142 -0
- data/spec/api/catalogs_item_api_spec.rb +148 -0
- data/spec/api/categories_api_spec.rb +135 -0
- data/spec/api/codes_api_spec.rb +135 -0
- data/spec/api/companies_api_spec.rb +148 -0
- data/spec/api/company_management_summary_reports_api_spec.rb +142 -0
- data/spec/api/company_notes_api_spec.rb +142 -0
- data/spec/api/company_sites_api_spec.rb +142 -0
- data/spec/api/company_statuses_api_spec.rb +135 -0
- data/spec/api/company_teams_api_spec.rb +142 -0
- data/spec/api/company_types_api_spec.rb +135 -0
- data/spec/api/configuration_statuses_api_spec.rb +135 -0
- data/spec/api/configuration_type_questions_api_spec.rb +142 -0
- data/spec/api/configuration_types_api_spec.rb +135 -0
- data/spec/api/configurations_api_spec.rb +158 -0
- data/spec/api/connect_wise_hosted_setups_api_spec.rb +135 -0
- data/spec/api/contact_communications_api_spec.rb +142 -0
- data/spec/api/contact_departments_api_spec.rb +135 -0
- data/spec/api/contact_notes_api_spec.rb +142 -0
- data/spec/api/contact_relationships_api_spec.rb +135 -0
- data/spec/api/contact_tracks_api_spec.rb +114 -0
- data/spec/api/contact_types_api_spec.rb +135 -0
- data/spec/api/contacts_api_spec.rb +186 -0
- data/spec/api/currencies_api_spec.rb +135 -0
- data/spec/api/documents_api_spec.rb +159 -0
- data/spec/api/expense_entries_api_spec.rb +135 -0
- data/spec/api/expense_types_api_spec.rb +135 -0
- data/spec/api/group_companies_api_spec.rb +142 -0
- data/spec/api/group_contacts_api_spec.rb +142 -0
- data/spec/api/groups_api_spec.rb +135 -0
- data/spec/api/info_api_spec.rb +57 -0
- data/spec/api/invoice_payments_api_spec.rb +129 -0
- data/spec/api/invoices_api_spec.rb +147 -0
- data/spec/api/knowledge_base_articles_api_spec.rb +135 -0
- data/spec/api/links_api_spec.rb +135 -0
- data/spec/api/locations_api_spec.rb +135 -0
- data/spec/api/manufacturers_api_spec.rb +135 -0
- data/spec/api/members_api_spec.rb +111 -0
- data/spec/api/menu_entries_api_spec.rb +161 -0
- data/spec/api/opportunities_api_spec.rb +187 -0
- data/spec/api/opportunity_contacts_api_spec.rb +142 -0
- data/spec/api/opportunity_forecasts_api_spec.rb +142 -0
- data/spec/api/opportunity_notes_api_spec.rb +142 -0
- data/spec/api/opportunity_ratings_api_spec.rb +135 -0
- data/spec/api/opportunity_statuses_api_spec.rb +135 -0
- data/spec/api/opportunity_teams_api_spec.rb +142 -0
- data/spec/api/opportunity_types_api_spec.rb +135 -0
- data/spec/api/order_statuses_api_spec.rb +135 -0
- data/spec/api/orders_api_spec.rb +135 -0
- data/spec/api/pricing_breaks_api_spec.rb +149 -0
- data/spec/api/pricing_details_api_spec.rb +142 -0
- data/spec/api/pricing_schedules_api_spec.rb +135 -0
- data/spec/api/priorities_api_spec.rb +149 -0
- data/spec/api/product_components_api_spec.rb +142 -0
- data/spec/api/product_picking_shipping_details_api_spec.rb +142 -0
- data/spec/api/product_types_api_spec.rb +135 -0
- data/spec/api/products_item_api_spec.rb +135 -0
- data/spec/api/project_contacts_api_spec.rb +101 -0
- data/spec/api/project_notes_api_spec.rb +142 -0
- data/spec/api/project_phases_api_spec.rb +142 -0
- data/spec/api/projects_api_spec.rb +135 -0
- data/spec/api/projects_team_members_api_spec.rb +142 -0
- data/spec/api/purchase_order_line_items_api_spec.rb +142 -0
- data/spec/api/purchase_orders_api_spec.rb +135 -0
- data/spec/api/reports_api_spec.rb +101 -0
- data/spec/api/schedule_entries_api_spec.rb +135 -0
- data/spec/api/schedule_statuses_api_spec.rb +135 -0
- data/spec/api/schedule_types_api_spec.rb +135 -0
- data/spec/api/shipment_methods_api_spec.rb +135 -0
- data/spec/api/sources_api_spec.rb +135 -0
- data/spec/api/sub_categories_api_spec.rb +142 -0
- data/spec/api/survey_questions_api_spec.rb +142 -0
- data/spec/api/survey_results_api_spec.rb +142 -0
- data/spec/api/surveys_api_spec.rb +135 -0
- data/spec/api/ticket_notes_api_spec.rb +142 -0
- data/spec/api/ticket_tasks_api_spec.rb +142 -0
- data/spec/api/tickets_api_spec.rb +344 -0
- data/spec/api/time_entries_api_spec.rb +135 -0
- data/spec/api/unit_of_measure_conversions_api_spec.rb +142 -0
- data/spec/api/units_of_measure_api_spec.rb +135 -0
- data/spec/api/user_defined_fields_api_spec.rb +135 -0
- data/spec/api_client_spec.rb +236 -0
- data/spec/configuration_spec.rb +52 -0
- data/spec/models/activity_reference_spec.rb +65 -0
- data/spec/models/activity_spec.rb +185 -0
- data/spec/models/activity_status_reference_spec.rb +65 -0
- data/spec/models/activity_status_spec.rb +89 -0
- data/spec/models/activity_type_reference_spec.rb +65 -0
- data/spec/models/activity_type_spec.rb +95 -0
- data/spec/models/addition_spec.rb +189 -0
- data/spec/models/adjustment_spec.rb +83 -0
- data/spec/models/agreement_reference_spec.rb +65 -0
- data/spec/models/agreement_site_spec.rb +77 -0
- data/spec/models/agreement_spec.rb +497 -0
- data/spec/models/agreement_type_reference_spec.rb +65 -0
- data/spec/models/agreement_type_spec.rb +407 -0
- data/spec/models/agreement_work_role_exclusion_spec.rb +71 -0
- data/spec/models/agreement_work_role_spec.rb +111 -0
- data/spec/models/agreement_work_type_exclusion_spec.rb +71 -0
- data/spec/models/agreement_work_type_spec.rb +167 -0
- data/spec/models/audit_trail_entry_insert_request_spec.rb +59 -0
- data/spec/models/audit_trail_entry_spec.rb +77 -0
- data/spec/models/audit_trail_objects_spec.rb +63 -0
- data/spec/models/batch_reference_spec.rb +65 -0
- data/spec/models/batch_spec.rb +149 -0
- data/spec/models/billing_status_reference_spec.rb +65 -0
- data/spec/models/billing_terms_reference_spec.rb +65 -0
- data/spec/models/board_default_spec.rb +83 -0
- data/spec/models/board_reference_spec.rb +65 -0
- data/spec/models/board_spec.rb +131 -0
- data/spec/models/calendar_reference_spec.rb +65 -0
- data/spec/models/callback_entry_spec.rb +95 -0
- data/spec/models/campaign_audit_spec.rb +101 -0
- data/spec/models/campaign_reference_spec.rb +65 -0
- data/spec/models/campaign_spec.rb +203 -0
- data/spec/models/campaign_status_reference_spec.rb +65 -0
- data/spec/models/campaign_status_spec.rb +77 -0
- data/spec/models/campaign_sub_type_reference_spec.rb +65 -0
- data/spec/models/campaign_sub_type_spec.rb +71 -0
- data/spec/models/campaign_type_reference_spec.rb +65 -0
- data/spec/models/campaign_type_spec.rb +71 -0
- data/spec/models/catalog_component_spec.rb +119 -0
- data/spec/models/catalog_item_reference_spec.rb +65 -0
- data/spec/models/catalog_item_spec.rb +211 -0
- data/spec/models/category_spec.rb +101 -0
- data/spec/models/charge_code_reference_spec.rb +65 -0
- data/spec/models/classification_reference_spec.rb +65 -0
- data/spec/models/code_spec.rb +89 -0
- data/spec/models/communication_type_reference_spec.rb +65 -0
- data/spec/models/company_management_summary_spec.rb +261 -0
- data/spec/models/company_merge_spec.rb +463 -0
- data/spec/models/company_note_spec.rb +89 -0
- data/spec/models/company_reference_spec.rb +71 -0
- data/spec/models/company_site_spec.rb +167 -0
- data/spec/models/company_spec.rb +323 -0
- data/spec/models/company_status_reference_spec.rb +65 -0
- data/spec/models/company_status_spec.rb +113 -0
- data/spec/models/company_team_spec.rb +113 -0
- data/spec/models/company_type_reference_spec.rb +65 -0
- data/spec/models/company_type_spec.rb +77 -0
- data/spec/models/configuration_question_spec.rb +99 -0
- data/spec/models/configuration_reference_spec.rb +65 -0
- data/spec/models/configuration_spec.rb +347 -0
- data/spec/models/configuration_status_reference_spec.rb +65 -0
- data/spec/models/configuration_status_spec.rb +77 -0
- data/spec/models/configuration_type_question_spec.rb +121 -0
- data/spec/models/configuration_type_reference_spec.rb +65 -0
- data/spec/models/configuration_type_spec.rb +77 -0
- data/spec/models/connect_wise_hosted_setup_spec.rb +117 -0
- data/spec/models/contact_communication_item_spec.rb +87 -0
- data/spec/models/contact_communication_spec.rb +105 -0
- data/spec/models/contact_department_reference_spec.rb +65 -0
- data/spec/models/contact_department_spec.rb +65 -0
- data/spec/models/contact_note_spec.rb +89 -0
- data/spec/models/contact_reference_spec.rb +65 -0
- data/spec/models/contact_relationship_spec.rb +65 -0
- data/spec/models/contact_spec.rb +295 -0
- data/spec/models/contact_type_reference_spec.rb +65 -0
- data/spec/models/contact_type_spec.rb +71 -0
- data/spec/models/conversion_spec.rb +77 -0
- data/spec/models/count_spec.rb +53 -0
- data/spec/models/country_reference_spec.rb +65 -0
- data/spec/models/currency_reference_spec.rb +65 -0
- data/spec/models/currency_spec.rb +95 -0
- data/spec/models/custom_field_value_spec.rb +91 -0
- data/spec/models/document_info_spec.rb +107 -0
- data/spec/models/document_reference_spec.rb +59 -0
- data/spec/models/email_opened_spec.rb +71 -0
- data/spec/models/entity_type_reference_spec.rb +65 -0
- data/spec/models/error_spec.rb +65 -0
- data/spec/models/excluded_member_spec.rb +71 -0
- data/spec/models/expense_entry_spec.rb +163 -0
- data/spec/models/expense_tax_spec.rb +65 -0
- data/spec/models/expense_tax_type_reference_spec.rb +65 -0
- data/spec/models/expense_type_reference_spec.rb +65 -0
- data/spec/models/expense_type_spec.rb +133 -0
- data/spec/models/filter_values_spec.rb +59 -0
- data/spec/models/forecast_spec.rb +123 -0
- data/spec/models/form_submitted_spec.rb +113 -0
- data/spec/models/generic_id_identifier_reference_spec.rb +59 -0
- data/spec/models/group_reference_spec.rb +65 -0
- data/spec/models/group_spec.rb +83 -0
- data/spec/models/guid_spec.rb +47 -0
- data/spec/models/info_spec.rb +65 -0
- data/spec/models/integrator_login_spec.rb +395 -0
- data/spec/models/invoice_reference_spec.rb +65 -0
- data/spec/models/invoice_spec.rb +337 -0
- data/spec/models/item_spec.rb +101 -0
- data/spec/models/iv_item_reference_spec.rb +65 -0
- data/spec/models/j_object_spec.rb +47 -0
- data/spec/models/knowledge_base_article_spec.rb +119 -0
- data/spec/models/link_clicked_spec.rb +83 -0
- data/spec/models/link_spec.rb +77 -0
- data/spec/models/location_spec.rb +81 -0
- data/spec/models/management_solution_reference_spec.rb +65 -0
- data/spec/models/manufacturer_reference_spec.rb +65 -0
- data/spec/models/manufacturer_spec.rb +71 -0
- data/spec/models/marketing_company_spec.rb +83 -0
- data/spec/models/marketing_contact_spec.rb +77 -0
- data/spec/models/member_reference_spec.rb +71 -0
- data/spec/models/member_spec.rb +573 -0
- data/spec/models/member_type_reference_spec.rb +65 -0
- data/spec/models/menu_entry_spec.rb +107 -0
- data/spec/models/menu_location_reference_spec.rb +65 -0
- data/spec/models/metadata_spec.rb +47 -0
- data/spec/models/note_type_reference_spec.rb +65 -0
- data/spec/models/opportunity_contact_spec.rb +107 -0
- data/spec/models/opportunity_note_spec.rb +95 -0
- data/spec/models/opportunity_priority_reference_spec.rb +65 -0
- data/spec/models/opportunity_probability_reference_spec.rb +65 -0
- data/spec/models/opportunity_rating_reference_spec.rb +65 -0
- data/spec/models/opportunity_rating_spec.rb +71 -0
- data/spec/models/opportunity_reference_spec.rb +65 -0
- data/spec/models/opportunity_sales_role_reference_spec.rb +65 -0
- data/spec/models/opportunity_spec.rb +245 -0
- data/spec/models/opportunity_stage_reference_spec.rb +65 -0
- data/spec/models/opportunity_status_reference_spec.rb +65 -0
- data/spec/models/opportunity_status_spec.rb +107 -0
- data/spec/models/opportunity_to_agreement_conversion_spec.rb +137 -0
- data/spec/models/opportunity_to_project_conversion_spec.rb +137 -0
- data/spec/models/opportunity_to_sales_order_conversion_spec.rb +95 -0
- data/spec/models/opportunity_to_service_ticket_conversion_spec.rb +95 -0
- data/spec/models/opportunity_type_reference_spec.rb +65 -0
- data/spec/models/opportunity_type_spec.rb +71 -0
- data/spec/models/order_spec.rb +269 -0
- data/spec/models/order_status_reference_spec.rb +65 -0
- data/spec/models/order_status_spec.rb +89 -0
- data/spec/models/ownership_type_reference_spec.rb +65 -0
- data/spec/models/patch_operation_spec.rb +65 -0
- data/spec/models/payment_method_reference_spec.rb +65 -0
- data/spec/models/payment_spec.rb +89 -0
- data/spec/models/phase_status_reference_spec.rb +65 -0
- data/spec/models/portal_security_spec.rb +59 -0
- data/spec/models/pricing_break_spec.rb +93 -0
- data/spec/models/pricing_detail_spec.rb +89 -0
- data/spec/models/pricing_schedule_spec.rb +95 -0
- data/spec/models/priority_reference_spec.rb +71 -0
- data/spec/models/priority_spec.rb +89 -0
- data/spec/models/product_category_reference_spec.rb +65 -0
- data/spec/models/product_component_spec.rb +131 -0
- data/spec/models/product_item_reference_spec.rb +65 -0
- data/spec/models/product_item_spec.rb +323 -0
- data/spec/models/product_picking_shipping_detail_spec.rb +125 -0
- data/spec/models/product_recurring_spec.rb +93 -0
- data/spec/models/product_reference_spec.rb +65 -0
- data/spec/models/product_sub_category_reference_spec.rb +65 -0
- data/spec/models/product_type_reference_spec.rb +65 -0
- data/spec/models/product_type_spec.rb +81 -0
- data/spec/models/project_board_reference_spec.rb +65 -0
- data/spec/models/project_contact_spec.rb +71 -0
- data/spec/models/project_note_spec.rb +83 -0
- data/spec/models/project_phase_reference_spec.rb +65 -0
- data/spec/models/project_phase_spec.rb +225 -0
- data/spec/models/project_reference_spec.rb +65 -0
- data/spec/models/project_role_reference_spec.rb +65 -0
- data/spec/models/project_spec.rb +395 -0
- data/spec/models/project_status_reference_spec.rb +65 -0
- data/spec/models/project_team_member_spec.rb +101 -0
- data/spec/models/project_type_reference_spec.rb +65 -0
- data/spec/models/purchase_order_line_item_spec.rb +215 -0
- data/spec/models/purchase_order_reference_spec.rb +65 -0
- data/spec/models/purchase_order_spec.rb +341 -0
- data/spec/models/purchase_order_status_reference_spec.rb +65 -0
- data/spec/models/relationship_reference_spec.rb +65 -0
- data/spec/models/reminder_reference_spec.rb +65 -0
- data/spec/models/report_data_response_spec.rb +59 -0
- data/spec/models/report_spec.rb +53 -0
- data/spec/models/request_password_request_spec.rb +53 -0
- data/spec/models/sales_team_reference_spec.rb +65 -0
- data/spec/models/schedule_entry_reference_spec.rb +65 -0
- data/spec/models/schedule_entry_spec.rb +167 -0
- data/spec/models/schedule_span_reference_spec.rb +65 -0
- data/spec/models/schedule_status_reference_spec.rb +65 -0
- data/spec/models/schedule_status_spec.rb +77 -0
- data/spec/models/schedule_type_reference_spec.rb +65 -0
- data/spec/models/schedule_type_spec.rb +89 -0
- data/spec/models/security_role_reference_spec.rb +65 -0
- data/spec/models/service_code_reference_spec.rb +65 -0
- data/spec/models/service_item_reference_spec.rb +65 -0
- data/spec/models/service_location_reference_spec.rb +65 -0
- data/spec/models/service_note_spec.rb +137 -0
- data/spec/models/service_signoff_reference_spec.rb +65 -0
- data/spec/models/service_source_reference_spec.rb +65 -0
- data/spec/models/service_status_reference_spec.rb +65 -0
- data/spec/models/service_sub_type_reference_spec.rb +65 -0
- data/spec/models/service_team_reference_spec.rb +65 -0
- data/spec/models/service_type_reference_spec.rb +65 -0
- data/spec/models/shipment_method_reference_spec.rb +65 -0
- data/spec/models/shipment_method_spec.rb +87 -0
- data/spec/models/sic_code_reference_spec.rb +65 -0
- data/spec/models/site_reference_spec.rb +65 -0
- data/spec/models/sla_reference_spec.rb +65 -0
- data/spec/models/source_spec.rb +83 -0
- data/spec/models/status_spec.rb +117 -0
- data/spec/models/sub_category_spec.rb +71 -0
- data/spec/models/sub_type_spec.rb +95 -0
- data/spec/models/success_response_spec.rb +59 -0
- data/spec/models/survey_question_option_spec.rb +65 -0
- data/spec/models/survey_question_spec.rb +111 -0
- data/spec/models/survey_result_detail_spec.rb +59 -0
- data/spec/models/survey_result_spec.rb +113 -0
- data/spec/models/survey_spec.rb +125 -0
- data/spec/models/task_spec.rb +117 -0
- data/spec/models/tax_code_reference_spec.rb +65 -0
- data/spec/models/team_role_reference_spec.rb +65 -0
- data/spec/models/team_spec.rb +153 -0
- data/spec/models/ticket_reference_spec.rb +65 -0
- data/spec/models/ticket_spec.rb +617 -0
- data/spec/models/time_entry_reference_spec.rb +59 -0
- data/spec/models/time_entry_spec.rb +229 -0
- data/spec/models/time_zone_reference_spec.rb +65 -0
- data/spec/models/token_spec.rb +65 -0
- data/spec/models/track_reference_spec.rb +65 -0
- data/spec/models/track_spec.rb +113 -0
- data/spec/models/transaction_spec.rb +415 -0
- data/spec/models/type_associations_spec.rb +59 -0
- data/spec/models/type_spec.rb +111 -0
- data/spec/models/unit_of_measure_reference_spec.rb +65 -0
- data/spec/models/unit_of_measure_spec.rb +83 -0
- data/spec/models/unposted_expense_spec.rb +331 -0
- data/spec/models/unposted_invoice_spec.rb +309 -0
- data/spec/models/unposted_procurement_spec.rb +297 -0
- data/spec/models/user_defined_field_option_spec.rb +77 -0
- data/spec/models/user_defined_field_spec.rb +187 -0
- data/spec/models/validate_portal_request_spec.rb +59 -0
- data/spec/models/validate_portal_response_spec.rb +59 -0
- data/spec/models/validation_error_spec.rb +71 -0
- data/spec/models/warehouse_bin_reference_spec.rb +65 -0
- data/spec/models/warehouse_reference_spec.rb +65 -0
- data/spec/models/work_role_reference_spec.rb +65 -0
- data/spec/models/work_type_reference_spec.rb +65 -0
- data/spec/spec_helper.rb +121 -0
- metadata +1695 -0
@@ -0,0 +1,1336 @@
|
|
1
|
+
=begin
|
2
|
+
#Connectwise REST API
|
3
|
+
|
4
|
+
#ConnectWise API
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
Contact: platform@connectwise.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
+
you may not use this file except in compliance with the License.
|
12
|
+
You may obtain a copy of the License at
|
13
|
+
|
14
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
+
|
16
|
+
Unless required by applicable law or agreed to in writing, software
|
17
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
+
See the License for the specific language governing permissions and
|
20
|
+
limitations under the License.
|
21
|
+
|
22
|
+
=end
|
23
|
+
|
24
|
+
require 'date'
|
25
|
+
|
26
|
+
module Connectwise
|
27
|
+
|
28
|
+
class Ticket
|
29
|
+
attr_accessor :id
|
30
|
+
|
31
|
+
attr_accessor :summary
|
32
|
+
|
33
|
+
attr_accessor :record_type
|
34
|
+
|
35
|
+
attr_accessor :board
|
36
|
+
|
37
|
+
attr_accessor :status
|
38
|
+
|
39
|
+
attr_accessor :project
|
40
|
+
|
41
|
+
attr_accessor :phase
|
42
|
+
|
43
|
+
attr_accessor :wbs_code
|
44
|
+
|
45
|
+
attr_accessor :company
|
46
|
+
|
47
|
+
attr_accessor :site
|
48
|
+
|
49
|
+
attr_accessor :site_name
|
50
|
+
|
51
|
+
attr_accessor :address_line1
|
52
|
+
|
53
|
+
attr_accessor :address_line2
|
54
|
+
|
55
|
+
attr_accessor :city
|
56
|
+
|
57
|
+
attr_accessor :state_identifier
|
58
|
+
|
59
|
+
attr_accessor :zip
|
60
|
+
|
61
|
+
attr_accessor :country
|
62
|
+
|
63
|
+
attr_accessor :contact
|
64
|
+
|
65
|
+
attr_accessor :contact_phone_number
|
66
|
+
|
67
|
+
attr_accessor :contact_phone_extension
|
68
|
+
|
69
|
+
attr_accessor :contact_email_address
|
70
|
+
|
71
|
+
attr_accessor :type
|
72
|
+
|
73
|
+
attr_accessor :sub_type
|
74
|
+
|
75
|
+
attr_accessor :item
|
76
|
+
|
77
|
+
attr_accessor :team
|
78
|
+
|
79
|
+
attr_accessor :owner
|
80
|
+
|
81
|
+
attr_accessor :priority
|
82
|
+
|
83
|
+
attr_accessor :service_location
|
84
|
+
|
85
|
+
attr_accessor :source
|
86
|
+
|
87
|
+
attr_accessor :required_date
|
88
|
+
|
89
|
+
attr_accessor :budget_hours
|
90
|
+
|
91
|
+
attr_accessor :opportunity
|
92
|
+
|
93
|
+
attr_accessor :agreement
|
94
|
+
|
95
|
+
attr_accessor :severity
|
96
|
+
|
97
|
+
attr_accessor :impact
|
98
|
+
|
99
|
+
attr_accessor :external_x_ref
|
100
|
+
|
101
|
+
attr_accessor :po_number
|
102
|
+
|
103
|
+
attr_accessor :knowledge_base_category_id
|
104
|
+
|
105
|
+
attr_accessor :knowledge_base_sub_category_id
|
106
|
+
|
107
|
+
attr_accessor :allow_all_clients_portal_view
|
108
|
+
|
109
|
+
attr_accessor :customer_updated_flag
|
110
|
+
|
111
|
+
attr_accessor :automatic_email_contact_flag
|
112
|
+
|
113
|
+
attr_accessor :automatic_email_resource_flag
|
114
|
+
|
115
|
+
attr_accessor :automatic_email_cc_flag
|
116
|
+
|
117
|
+
attr_accessor :automatic_email_cc
|
118
|
+
|
119
|
+
attr_accessor :initial_description
|
120
|
+
|
121
|
+
attr_accessor :initial_internal_analysis
|
122
|
+
|
123
|
+
attr_accessor :initial_resolution
|
124
|
+
|
125
|
+
attr_accessor :contact_email_lookup
|
126
|
+
|
127
|
+
# Can be set to false to skip notification processing when adding or updating a ticket (Defaults to True)
|
128
|
+
attr_accessor :process_notifications
|
129
|
+
|
130
|
+
attr_accessor :skip_callback
|
131
|
+
|
132
|
+
attr_accessor :closed_date
|
133
|
+
|
134
|
+
attr_accessor :closed_by
|
135
|
+
|
136
|
+
attr_accessor :closed_flag
|
137
|
+
|
138
|
+
attr_accessor :date_entered
|
139
|
+
|
140
|
+
attr_accessor :entered_by
|
141
|
+
|
142
|
+
attr_accessor :actual_hours
|
143
|
+
|
144
|
+
attr_accessor :approved
|
145
|
+
|
146
|
+
attr_accessor :sub_billing_method
|
147
|
+
|
148
|
+
attr_accessor :sub_billing_amount
|
149
|
+
|
150
|
+
attr_accessor :sub_date_accepted
|
151
|
+
|
152
|
+
attr_accessor :date_resolved
|
153
|
+
|
154
|
+
attr_accessor :date_resplan
|
155
|
+
|
156
|
+
attr_accessor :date_responded
|
157
|
+
|
158
|
+
attr_accessor :resolve_minutes
|
159
|
+
|
160
|
+
attr_accessor :res_plan_minutes
|
161
|
+
|
162
|
+
attr_accessor :respond_minutes
|
163
|
+
|
164
|
+
attr_accessor :is_in_sla
|
165
|
+
|
166
|
+
attr_accessor :knowledge_base_link_id
|
167
|
+
|
168
|
+
attr_accessor :resources
|
169
|
+
|
170
|
+
attr_accessor :parent_ticket_id
|
171
|
+
|
172
|
+
attr_accessor :has_child_ticket
|
173
|
+
|
174
|
+
attr_accessor :knowledge_base_link_type
|
175
|
+
|
176
|
+
attr_accessor :bill_time
|
177
|
+
|
178
|
+
attr_accessor :bill_expenses
|
179
|
+
|
180
|
+
attr_accessor :bill_products
|
181
|
+
|
182
|
+
attr_accessor :predecessor_type
|
183
|
+
|
184
|
+
attr_accessor :predecessor_id
|
185
|
+
|
186
|
+
attr_accessor :predecessor_closed_flag
|
187
|
+
|
188
|
+
attr_accessor :lag_days
|
189
|
+
|
190
|
+
attr_accessor :lag_nonworking_days_flag
|
191
|
+
|
192
|
+
attr_accessor :estimated_start_date
|
193
|
+
|
194
|
+
attr_accessor :duration
|
195
|
+
|
196
|
+
attr_accessor :location_id
|
197
|
+
|
198
|
+
attr_accessor :business_unit_id
|
199
|
+
|
200
|
+
attr_accessor :mobile_guid
|
201
|
+
|
202
|
+
attr_accessor :sla
|
203
|
+
|
204
|
+
# Metadata of the entity
|
205
|
+
attr_accessor :_info
|
206
|
+
|
207
|
+
attr_accessor :custom_fields
|
208
|
+
|
209
|
+
class EnumAttributeValidator
|
210
|
+
attr_reader :datatype
|
211
|
+
attr_reader :allowable_values
|
212
|
+
|
213
|
+
def initialize(datatype, allowable_values)
|
214
|
+
@allowable_values = allowable_values.map do |value|
|
215
|
+
case datatype.to_s
|
216
|
+
when /Integer/i
|
217
|
+
value.to_i
|
218
|
+
when /Float/i
|
219
|
+
value.to_f
|
220
|
+
else
|
221
|
+
value
|
222
|
+
end
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
def valid?(value)
|
227
|
+
!value || allowable_values.include?(value)
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
232
|
+
def self.attribute_map
|
233
|
+
{
|
234
|
+
:'id' => :'id',
|
235
|
+
:'summary' => :'summary',
|
236
|
+
:'record_type' => :'recordType',
|
237
|
+
:'board' => :'board',
|
238
|
+
:'status' => :'status',
|
239
|
+
:'project' => :'project',
|
240
|
+
:'phase' => :'phase',
|
241
|
+
:'wbs_code' => :'wbsCode',
|
242
|
+
:'company' => :'company',
|
243
|
+
:'site' => :'site',
|
244
|
+
:'site_name' => :'siteName',
|
245
|
+
:'address_line1' => :'addressLine1',
|
246
|
+
:'address_line2' => :'addressLine2',
|
247
|
+
:'city' => :'city',
|
248
|
+
:'state_identifier' => :'stateIdentifier',
|
249
|
+
:'zip' => :'zip',
|
250
|
+
:'country' => :'country',
|
251
|
+
:'contact' => :'contact',
|
252
|
+
:'contact_phone_number' => :'contactPhoneNumber',
|
253
|
+
:'contact_phone_extension' => :'contactPhoneExtension',
|
254
|
+
:'contact_email_address' => :'contactEmailAddress',
|
255
|
+
:'type' => :'type',
|
256
|
+
:'sub_type' => :'subType',
|
257
|
+
:'item' => :'item',
|
258
|
+
:'team' => :'team',
|
259
|
+
:'owner' => :'owner',
|
260
|
+
:'priority' => :'priority',
|
261
|
+
:'service_location' => :'serviceLocation',
|
262
|
+
:'source' => :'source',
|
263
|
+
:'required_date' => :'requiredDate',
|
264
|
+
:'budget_hours' => :'budgetHours',
|
265
|
+
:'opportunity' => :'opportunity',
|
266
|
+
:'agreement' => :'agreement',
|
267
|
+
:'severity' => :'severity',
|
268
|
+
:'impact' => :'impact',
|
269
|
+
:'external_x_ref' => :'externalXRef',
|
270
|
+
:'po_number' => :'poNumber',
|
271
|
+
:'knowledge_base_category_id' => :'knowledgeBaseCategoryId',
|
272
|
+
:'knowledge_base_sub_category_id' => :'knowledgeBaseSubCategoryId',
|
273
|
+
:'allow_all_clients_portal_view' => :'allowAllClientsPortalView',
|
274
|
+
:'customer_updated_flag' => :'customerUpdatedFlag',
|
275
|
+
:'automatic_email_contact_flag' => :'automaticEmailContactFlag',
|
276
|
+
:'automatic_email_resource_flag' => :'automaticEmailResourceFlag',
|
277
|
+
:'automatic_email_cc_flag' => :'automaticEmailCcFlag',
|
278
|
+
:'automatic_email_cc' => :'automaticEmailCc',
|
279
|
+
:'initial_description' => :'initialDescription',
|
280
|
+
:'initial_internal_analysis' => :'initialInternalAnalysis',
|
281
|
+
:'initial_resolution' => :'initialResolution',
|
282
|
+
:'contact_email_lookup' => :'contactEmailLookup',
|
283
|
+
:'process_notifications' => :'processNotifications',
|
284
|
+
:'skip_callback' => :'skipCallback',
|
285
|
+
:'closed_date' => :'closedDate',
|
286
|
+
:'closed_by' => :'closedBy',
|
287
|
+
:'closed_flag' => :'closedFlag',
|
288
|
+
:'date_entered' => :'dateEntered',
|
289
|
+
:'entered_by' => :'enteredBy',
|
290
|
+
:'actual_hours' => :'actualHours',
|
291
|
+
:'approved' => :'approved',
|
292
|
+
:'sub_billing_method' => :'subBillingMethod',
|
293
|
+
:'sub_billing_amount' => :'subBillingAmount',
|
294
|
+
:'sub_date_accepted' => :'subDateAccepted',
|
295
|
+
:'date_resolved' => :'dateResolved',
|
296
|
+
:'date_resplan' => :'dateResplan',
|
297
|
+
:'date_responded' => :'dateResponded',
|
298
|
+
:'resolve_minutes' => :'resolveMinutes',
|
299
|
+
:'res_plan_minutes' => :'resPlanMinutes',
|
300
|
+
:'respond_minutes' => :'respondMinutes',
|
301
|
+
:'is_in_sla' => :'isInSla',
|
302
|
+
:'knowledge_base_link_id' => :'knowledgeBaseLinkId',
|
303
|
+
:'resources' => :'resources',
|
304
|
+
:'parent_ticket_id' => :'parentTicketId',
|
305
|
+
:'has_child_ticket' => :'hasChildTicket',
|
306
|
+
:'knowledge_base_link_type' => :'knowledgeBaseLinkType',
|
307
|
+
:'bill_time' => :'billTime',
|
308
|
+
:'bill_expenses' => :'billExpenses',
|
309
|
+
:'bill_products' => :'billProducts',
|
310
|
+
:'predecessor_type' => :'predecessorType',
|
311
|
+
:'predecessor_id' => :'predecessorId',
|
312
|
+
:'predecessor_closed_flag' => :'predecessorClosedFlag',
|
313
|
+
:'lag_days' => :'lagDays',
|
314
|
+
:'lag_nonworking_days_flag' => :'lagNonworkingDaysFlag',
|
315
|
+
:'estimated_start_date' => :'estimatedStartDate',
|
316
|
+
:'duration' => :'duration',
|
317
|
+
:'location_id' => :'locationId',
|
318
|
+
:'business_unit_id' => :'businessUnitId',
|
319
|
+
:'mobile_guid' => :'mobileGuid',
|
320
|
+
:'sla' => :'sla',
|
321
|
+
:'_info' => :'_info',
|
322
|
+
:'custom_fields' => :'customFields'
|
323
|
+
}
|
324
|
+
end
|
325
|
+
|
326
|
+
# Attribute type mapping.
|
327
|
+
def self.swagger_types
|
328
|
+
{
|
329
|
+
:'id' => :'Integer',
|
330
|
+
:'summary' => :'String',
|
331
|
+
:'record_type' => :'String',
|
332
|
+
:'board' => :'BoardReference',
|
333
|
+
:'status' => :'ServiceStatusReference',
|
334
|
+
:'project' => :'ProjectReference',
|
335
|
+
:'phase' => :'ProjectPhaseReference',
|
336
|
+
:'wbs_code' => :'String',
|
337
|
+
:'company' => :'CompanyReference',
|
338
|
+
:'site' => :'SiteReference',
|
339
|
+
:'site_name' => :'String',
|
340
|
+
:'address_line1' => :'String',
|
341
|
+
:'address_line2' => :'String',
|
342
|
+
:'city' => :'String',
|
343
|
+
:'state_identifier' => :'String',
|
344
|
+
:'zip' => :'String',
|
345
|
+
:'country' => :'CountryReference',
|
346
|
+
:'contact' => :'ContactReference',
|
347
|
+
:'contact_phone_number' => :'String',
|
348
|
+
:'contact_phone_extension' => :'String',
|
349
|
+
:'contact_email_address' => :'String',
|
350
|
+
:'type' => :'ServiceTypeReference',
|
351
|
+
:'sub_type' => :'ServiceSubTypeReference',
|
352
|
+
:'item' => :'ServiceItemReference',
|
353
|
+
:'team' => :'ServiceTeamReference',
|
354
|
+
:'owner' => :'MemberReference',
|
355
|
+
:'priority' => :'PriorityReference',
|
356
|
+
:'service_location' => :'ServiceLocationReference',
|
357
|
+
:'source' => :'ServiceSourceReference',
|
358
|
+
:'required_date' => :'DateTime',
|
359
|
+
:'budget_hours' => :'Float',
|
360
|
+
:'opportunity' => :'OpportunityReference',
|
361
|
+
:'agreement' => :'AgreementReference',
|
362
|
+
:'severity' => :'String',
|
363
|
+
:'impact' => :'String',
|
364
|
+
:'external_x_ref' => :'String',
|
365
|
+
:'po_number' => :'String',
|
366
|
+
:'knowledge_base_category_id' => :'Integer',
|
367
|
+
:'knowledge_base_sub_category_id' => :'Integer',
|
368
|
+
:'allow_all_clients_portal_view' => :'BOOLEAN',
|
369
|
+
:'customer_updated_flag' => :'BOOLEAN',
|
370
|
+
:'automatic_email_contact_flag' => :'BOOLEAN',
|
371
|
+
:'automatic_email_resource_flag' => :'BOOLEAN',
|
372
|
+
:'automatic_email_cc_flag' => :'BOOLEAN',
|
373
|
+
:'automatic_email_cc' => :'String',
|
374
|
+
:'initial_description' => :'String',
|
375
|
+
:'initial_internal_analysis' => :'String',
|
376
|
+
:'initial_resolution' => :'String',
|
377
|
+
:'contact_email_lookup' => :'String',
|
378
|
+
:'process_notifications' => :'BOOLEAN',
|
379
|
+
:'skip_callback' => :'BOOLEAN',
|
380
|
+
:'closed_date' => :'String',
|
381
|
+
:'closed_by' => :'String',
|
382
|
+
:'closed_flag' => :'BOOLEAN',
|
383
|
+
:'date_entered' => :'String',
|
384
|
+
:'entered_by' => :'String',
|
385
|
+
:'actual_hours' => :'Float',
|
386
|
+
:'approved' => :'BOOLEAN',
|
387
|
+
:'sub_billing_method' => :'String',
|
388
|
+
:'sub_billing_amount' => :'Float',
|
389
|
+
:'sub_date_accepted' => :'String',
|
390
|
+
:'date_resolved' => :'String',
|
391
|
+
:'date_resplan' => :'String',
|
392
|
+
:'date_responded' => :'String',
|
393
|
+
:'resolve_minutes' => :'Integer',
|
394
|
+
:'res_plan_minutes' => :'Integer',
|
395
|
+
:'respond_minutes' => :'Integer',
|
396
|
+
:'is_in_sla' => :'BOOLEAN',
|
397
|
+
:'knowledge_base_link_id' => :'Integer',
|
398
|
+
:'resources' => :'String',
|
399
|
+
:'parent_ticket_id' => :'Integer',
|
400
|
+
:'has_child_ticket' => :'BOOLEAN',
|
401
|
+
:'knowledge_base_link_type' => :'String',
|
402
|
+
:'bill_time' => :'String',
|
403
|
+
:'bill_expenses' => :'String',
|
404
|
+
:'bill_products' => :'String',
|
405
|
+
:'predecessor_type' => :'String',
|
406
|
+
:'predecessor_id' => :'Integer',
|
407
|
+
:'predecessor_closed_flag' => :'BOOLEAN',
|
408
|
+
:'lag_days' => :'Integer',
|
409
|
+
:'lag_nonworking_days_flag' => :'BOOLEAN',
|
410
|
+
:'estimated_start_date' => :'DateTime',
|
411
|
+
:'duration' => :'Integer',
|
412
|
+
:'location_id' => :'Integer',
|
413
|
+
:'business_unit_id' => :'Integer',
|
414
|
+
:'mobile_guid' => :'Guid',
|
415
|
+
:'sla' => :'SLAReference',
|
416
|
+
:'_info' => :'Metadata',
|
417
|
+
:'custom_fields' => :'Array<CustomFieldValue>'
|
418
|
+
}
|
419
|
+
end
|
420
|
+
|
421
|
+
# Initializes the object
|
422
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
423
|
+
def initialize(attributes = {})
|
424
|
+
return unless attributes.is_a?(Hash)
|
425
|
+
|
426
|
+
# convert string to symbol for hash key
|
427
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
428
|
+
|
429
|
+
if attributes.has_key?(:'id')
|
430
|
+
self.id = attributes[:'id']
|
431
|
+
end
|
432
|
+
|
433
|
+
if attributes.has_key?(:'summary')
|
434
|
+
self.summary = attributes[:'summary']
|
435
|
+
end
|
436
|
+
|
437
|
+
if attributes.has_key?(:'recordType')
|
438
|
+
self.record_type = attributes[:'recordType']
|
439
|
+
end
|
440
|
+
|
441
|
+
if attributes.has_key?(:'board')
|
442
|
+
self.board = attributes[:'board']
|
443
|
+
end
|
444
|
+
|
445
|
+
if attributes.has_key?(:'status')
|
446
|
+
self.status = attributes[:'status']
|
447
|
+
end
|
448
|
+
|
449
|
+
if attributes.has_key?(:'project')
|
450
|
+
self.project = attributes[:'project']
|
451
|
+
end
|
452
|
+
|
453
|
+
if attributes.has_key?(:'phase')
|
454
|
+
self.phase = attributes[:'phase']
|
455
|
+
end
|
456
|
+
|
457
|
+
if attributes.has_key?(:'wbsCode')
|
458
|
+
self.wbs_code = attributes[:'wbsCode']
|
459
|
+
end
|
460
|
+
|
461
|
+
if attributes.has_key?(:'company')
|
462
|
+
self.company = attributes[:'company']
|
463
|
+
end
|
464
|
+
|
465
|
+
if attributes.has_key?(:'site')
|
466
|
+
self.site = attributes[:'site']
|
467
|
+
end
|
468
|
+
|
469
|
+
if attributes.has_key?(:'siteName')
|
470
|
+
self.site_name = attributes[:'siteName']
|
471
|
+
end
|
472
|
+
|
473
|
+
if attributes.has_key?(:'addressLine1')
|
474
|
+
self.address_line1 = attributes[:'addressLine1']
|
475
|
+
end
|
476
|
+
|
477
|
+
if attributes.has_key?(:'addressLine2')
|
478
|
+
self.address_line2 = attributes[:'addressLine2']
|
479
|
+
end
|
480
|
+
|
481
|
+
if attributes.has_key?(:'city')
|
482
|
+
self.city = attributes[:'city']
|
483
|
+
end
|
484
|
+
|
485
|
+
if attributes.has_key?(:'stateIdentifier')
|
486
|
+
self.state_identifier = attributes[:'stateIdentifier']
|
487
|
+
end
|
488
|
+
|
489
|
+
if attributes.has_key?(:'zip')
|
490
|
+
self.zip = attributes[:'zip']
|
491
|
+
end
|
492
|
+
|
493
|
+
if attributes.has_key?(:'country')
|
494
|
+
self.country = attributes[:'country']
|
495
|
+
end
|
496
|
+
|
497
|
+
if attributes.has_key?(:'contact')
|
498
|
+
self.contact = attributes[:'contact']
|
499
|
+
end
|
500
|
+
|
501
|
+
if attributes.has_key?(:'contactPhoneNumber')
|
502
|
+
self.contact_phone_number = attributes[:'contactPhoneNumber']
|
503
|
+
end
|
504
|
+
|
505
|
+
if attributes.has_key?(:'contactPhoneExtension')
|
506
|
+
self.contact_phone_extension = attributes[:'contactPhoneExtension']
|
507
|
+
end
|
508
|
+
|
509
|
+
if attributes.has_key?(:'contactEmailAddress')
|
510
|
+
self.contact_email_address = attributes[:'contactEmailAddress']
|
511
|
+
end
|
512
|
+
|
513
|
+
if attributes.has_key?(:'type')
|
514
|
+
self.type = attributes[:'type']
|
515
|
+
end
|
516
|
+
|
517
|
+
if attributes.has_key?(:'subType')
|
518
|
+
self.sub_type = attributes[:'subType']
|
519
|
+
end
|
520
|
+
|
521
|
+
if attributes.has_key?(:'item')
|
522
|
+
self.item = attributes[:'item']
|
523
|
+
end
|
524
|
+
|
525
|
+
if attributes.has_key?(:'team')
|
526
|
+
self.team = attributes[:'team']
|
527
|
+
end
|
528
|
+
|
529
|
+
if attributes.has_key?(:'owner')
|
530
|
+
self.owner = attributes[:'owner']
|
531
|
+
end
|
532
|
+
|
533
|
+
if attributes.has_key?(:'priority')
|
534
|
+
self.priority = attributes[:'priority']
|
535
|
+
end
|
536
|
+
|
537
|
+
if attributes.has_key?(:'serviceLocation')
|
538
|
+
self.service_location = attributes[:'serviceLocation']
|
539
|
+
end
|
540
|
+
|
541
|
+
if attributes.has_key?(:'source')
|
542
|
+
self.source = attributes[:'source']
|
543
|
+
end
|
544
|
+
|
545
|
+
if attributes.has_key?(:'requiredDate')
|
546
|
+
self.required_date = attributes[:'requiredDate']
|
547
|
+
end
|
548
|
+
|
549
|
+
if attributes.has_key?(:'budgetHours')
|
550
|
+
self.budget_hours = attributes[:'budgetHours']
|
551
|
+
end
|
552
|
+
|
553
|
+
if attributes.has_key?(:'opportunity')
|
554
|
+
self.opportunity = attributes[:'opportunity']
|
555
|
+
end
|
556
|
+
|
557
|
+
if attributes.has_key?(:'agreement')
|
558
|
+
self.agreement = attributes[:'agreement']
|
559
|
+
end
|
560
|
+
|
561
|
+
if attributes.has_key?(:'severity')
|
562
|
+
self.severity = attributes[:'severity']
|
563
|
+
end
|
564
|
+
|
565
|
+
if attributes.has_key?(:'impact')
|
566
|
+
self.impact = attributes[:'impact']
|
567
|
+
end
|
568
|
+
|
569
|
+
if attributes.has_key?(:'externalXRef')
|
570
|
+
self.external_x_ref = attributes[:'externalXRef']
|
571
|
+
end
|
572
|
+
|
573
|
+
if attributes.has_key?(:'poNumber')
|
574
|
+
self.po_number = attributes[:'poNumber']
|
575
|
+
end
|
576
|
+
|
577
|
+
if attributes.has_key?(:'knowledgeBaseCategoryId')
|
578
|
+
self.knowledge_base_category_id = attributes[:'knowledgeBaseCategoryId']
|
579
|
+
end
|
580
|
+
|
581
|
+
if attributes.has_key?(:'knowledgeBaseSubCategoryId')
|
582
|
+
self.knowledge_base_sub_category_id = attributes[:'knowledgeBaseSubCategoryId']
|
583
|
+
end
|
584
|
+
|
585
|
+
if attributes.has_key?(:'allowAllClientsPortalView')
|
586
|
+
self.allow_all_clients_portal_view = attributes[:'allowAllClientsPortalView']
|
587
|
+
end
|
588
|
+
|
589
|
+
if attributes.has_key?(:'customerUpdatedFlag')
|
590
|
+
self.customer_updated_flag = attributes[:'customerUpdatedFlag']
|
591
|
+
end
|
592
|
+
|
593
|
+
if attributes.has_key?(:'automaticEmailContactFlag')
|
594
|
+
self.automatic_email_contact_flag = attributes[:'automaticEmailContactFlag']
|
595
|
+
end
|
596
|
+
|
597
|
+
if attributes.has_key?(:'automaticEmailResourceFlag')
|
598
|
+
self.automatic_email_resource_flag = attributes[:'automaticEmailResourceFlag']
|
599
|
+
end
|
600
|
+
|
601
|
+
if attributes.has_key?(:'automaticEmailCcFlag')
|
602
|
+
self.automatic_email_cc_flag = attributes[:'automaticEmailCcFlag']
|
603
|
+
end
|
604
|
+
|
605
|
+
if attributes.has_key?(:'automaticEmailCc')
|
606
|
+
self.automatic_email_cc = attributes[:'automaticEmailCc']
|
607
|
+
end
|
608
|
+
|
609
|
+
if attributes.has_key?(:'initialDescription')
|
610
|
+
self.initial_description = attributes[:'initialDescription']
|
611
|
+
end
|
612
|
+
|
613
|
+
if attributes.has_key?(:'initialInternalAnalysis')
|
614
|
+
self.initial_internal_analysis = attributes[:'initialInternalAnalysis']
|
615
|
+
end
|
616
|
+
|
617
|
+
if attributes.has_key?(:'initialResolution')
|
618
|
+
self.initial_resolution = attributes[:'initialResolution']
|
619
|
+
end
|
620
|
+
|
621
|
+
if attributes.has_key?(:'contactEmailLookup')
|
622
|
+
self.contact_email_lookup = attributes[:'contactEmailLookup']
|
623
|
+
end
|
624
|
+
|
625
|
+
if attributes.has_key?(:'processNotifications')
|
626
|
+
self.process_notifications = attributes[:'processNotifications']
|
627
|
+
end
|
628
|
+
|
629
|
+
if attributes.has_key?(:'skipCallback')
|
630
|
+
self.skip_callback = attributes[:'skipCallback']
|
631
|
+
end
|
632
|
+
|
633
|
+
if attributes.has_key?(:'closedDate')
|
634
|
+
self.closed_date = attributes[:'closedDate']
|
635
|
+
end
|
636
|
+
|
637
|
+
if attributes.has_key?(:'closedBy')
|
638
|
+
self.closed_by = attributes[:'closedBy']
|
639
|
+
end
|
640
|
+
|
641
|
+
if attributes.has_key?(:'closedFlag')
|
642
|
+
self.closed_flag = attributes[:'closedFlag']
|
643
|
+
end
|
644
|
+
|
645
|
+
if attributes.has_key?(:'dateEntered')
|
646
|
+
self.date_entered = attributes[:'dateEntered']
|
647
|
+
end
|
648
|
+
|
649
|
+
if attributes.has_key?(:'enteredBy')
|
650
|
+
self.entered_by = attributes[:'enteredBy']
|
651
|
+
end
|
652
|
+
|
653
|
+
if attributes.has_key?(:'actualHours')
|
654
|
+
self.actual_hours = attributes[:'actualHours']
|
655
|
+
end
|
656
|
+
|
657
|
+
if attributes.has_key?(:'approved')
|
658
|
+
self.approved = attributes[:'approved']
|
659
|
+
end
|
660
|
+
|
661
|
+
if attributes.has_key?(:'subBillingMethod')
|
662
|
+
self.sub_billing_method = attributes[:'subBillingMethod']
|
663
|
+
end
|
664
|
+
|
665
|
+
if attributes.has_key?(:'subBillingAmount')
|
666
|
+
self.sub_billing_amount = attributes[:'subBillingAmount']
|
667
|
+
end
|
668
|
+
|
669
|
+
if attributes.has_key?(:'subDateAccepted')
|
670
|
+
self.sub_date_accepted = attributes[:'subDateAccepted']
|
671
|
+
end
|
672
|
+
|
673
|
+
if attributes.has_key?(:'dateResolved')
|
674
|
+
self.date_resolved = attributes[:'dateResolved']
|
675
|
+
end
|
676
|
+
|
677
|
+
if attributes.has_key?(:'dateResplan')
|
678
|
+
self.date_resplan = attributes[:'dateResplan']
|
679
|
+
end
|
680
|
+
|
681
|
+
if attributes.has_key?(:'dateResponded')
|
682
|
+
self.date_responded = attributes[:'dateResponded']
|
683
|
+
end
|
684
|
+
|
685
|
+
if attributes.has_key?(:'resolveMinutes')
|
686
|
+
self.resolve_minutes = attributes[:'resolveMinutes']
|
687
|
+
end
|
688
|
+
|
689
|
+
if attributes.has_key?(:'resPlanMinutes')
|
690
|
+
self.res_plan_minutes = attributes[:'resPlanMinutes']
|
691
|
+
end
|
692
|
+
|
693
|
+
if attributes.has_key?(:'respondMinutes')
|
694
|
+
self.respond_minutes = attributes[:'respondMinutes']
|
695
|
+
end
|
696
|
+
|
697
|
+
if attributes.has_key?(:'isInSla')
|
698
|
+
self.is_in_sla = attributes[:'isInSla']
|
699
|
+
end
|
700
|
+
|
701
|
+
if attributes.has_key?(:'knowledgeBaseLinkId')
|
702
|
+
self.knowledge_base_link_id = attributes[:'knowledgeBaseLinkId']
|
703
|
+
end
|
704
|
+
|
705
|
+
if attributes.has_key?(:'resources')
|
706
|
+
self.resources = attributes[:'resources']
|
707
|
+
end
|
708
|
+
|
709
|
+
if attributes.has_key?(:'parentTicketId')
|
710
|
+
self.parent_ticket_id = attributes[:'parentTicketId']
|
711
|
+
end
|
712
|
+
|
713
|
+
if attributes.has_key?(:'hasChildTicket')
|
714
|
+
self.has_child_ticket = attributes[:'hasChildTicket']
|
715
|
+
end
|
716
|
+
|
717
|
+
if attributes.has_key?(:'knowledgeBaseLinkType')
|
718
|
+
self.knowledge_base_link_type = attributes[:'knowledgeBaseLinkType']
|
719
|
+
end
|
720
|
+
|
721
|
+
if attributes.has_key?(:'billTime')
|
722
|
+
self.bill_time = attributes[:'billTime']
|
723
|
+
end
|
724
|
+
|
725
|
+
if attributes.has_key?(:'billExpenses')
|
726
|
+
self.bill_expenses = attributes[:'billExpenses']
|
727
|
+
end
|
728
|
+
|
729
|
+
if attributes.has_key?(:'billProducts')
|
730
|
+
self.bill_products = attributes[:'billProducts']
|
731
|
+
end
|
732
|
+
|
733
|
+
if attributes.has_key?(:'predecessorType')
|
734
|
+
self.predecessor_type = attributes[:'predecessorType']
|
735
|
+
end
|
736
|
+
|
737
|
+
if attributes.has_key?(:'predecessorId')
|
738
|
+
self.predecessor_id = attributes[:'predecessorId']
|
739
|
+
end
|
740
|
+
|
741
|
+
if attributes.has_key?(:'predecessorClosedFlag')
|
742
|
+
self.predecessor_closed_flag = attributes[:'predecessorClosedFlag']
|
743
|
+
end
|
744
|
+
|
745
|
+
if attributes.has_key?(:'lagDays')
|
746
|
+
self.lag_days = attributes[:'lagDays']
|
747
|
+
end
|
748
|
+
|
749
|
+
if attributes.has_key?(:'lagNonworkingDaysFlag')
|
750
|
+
self.lag_nonworking_days_flag = attributes[:'lagNonworkingDaysFlag']
|
751
|
+
end
|
752
|
+
|
753
|
+
if attributes.has_key?(:'estimatedStartDate')
|
754
|
+
self.estimated_start_date = attributes[:'estimatedStartDate']
|
755
|
+
end
|
756
|
+
|
757
|
+
if attributes.has_key?(:'duration')
|
758
|
+
self.duration = attributes[:'duration']
|
759
|
+
end
|
760
|
+
|
761
|
+
if attributes.has_key?(:'locationId')
|
762
|
+
self.location_id = attributes[:'locationId']
|
763
|
+
end
|
764
|
+
|
765
|
+
if attributes.has_key?(:'businessUnitId')
|
766
|
+
self.business_unit_id = attributes[:'businessUnitId']
|
767
|
+
end
|
768
|
+
|
769
|
+
if attributes.has_key?(:'mobileGuid')
|
770
|
+
self.mobile_guid = attributes[:'mobileGuid']
|
771
|
+
end
|
772
|
+
|
773
|
+
if attributes.has_key?(:'sla')
|
774
|
+
self.sla = attributes[:'sla']
|
775
|
+
end
|
776
|
+
|
777
|
+
if attributes.has_key?(:'_info')
|
778
|
+
self._info = attributes[:'_info']
|
779
|
+
end
|
780
|
+
|
781
|
+
if attributes.has_key?(:'customFields')
|
782
|
+
if (value = attributes[:'customFields']).is_a?(Array)
|
783
|
+
self.custom_fields = value
|
784
|
+
end
|
785
|
+
end
|
786
|
+
|
787
|
+
end
|
788
|
+
|
789
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
790
|
+
# @return Array for valid properies with the reasons
|
791
|
+
def list_invalid_properties
|
792
|
+
invalid_properties = Array.new
|
793
|
+
return invalid_properties
|
794
|
+
end
|
795
|
+
|
796
|
+
# Check to see if the all the properties in the model are valid
|
797
|
+
# @return true if the model is valid
|
798
|
+
def valid?
|
799
|
+
return false if @summary.nil?
|
800
|
+
return false if @summary.to_s.length <
|
801
|
+
record_type_validator = EnumAttributeValidator.new('String', ["ServiceTicket", "ProjectTicket", "ProjectIssue"])
|
802
|
+
return false unless record_type_validator.valid?(@record_type)
|
803
|
+
return false if @wbs_code.to_s.length <
|
804
|
+
return false if @company.nil?
|
805
|
+
return false if @site_name.to_s.length <
|
806
|
+
return false if @address_line1.to_s.length <
|
807
|
+
return false if @address_line2.to_s.length <
|
808
|
+
return false if @city.to_s.length <
|
809
|
+
return false if @state_identifier.to_s.length <
|
810
|
+
return false if @zip.to_s.length <
|
811
|
+
return false if @contact_phone_number.to_s.length <
|
812
|
+
return false if @contact_phone_extension.to_s.length <
|
813
|
+
return false if @contact_email_address.to_s.length <
|
814
|
+
severity_validator = EnumAttributeValidator.new('String', ["Low", "Medium", "High"])
|
815
|
+
return false unless severity_validator.valid?(@severity)
|
816
|
+
impact_validator = EnumAttributeValidator.new('String', ["Low", "Medium", "High"])
|
817
|
+
return false unless impact_validator.valid?(@impact)
|
818
|
+
return false if @external_x_ref.to_s.length <
|
819
|
+
return false if @po_number.to_s.length <
|
820
|
+
return false if @automatic_email_cc.to_s.length <
|
821
|
+
sub_billing_method_validator = EnumAttributeValidator.new('String', ["ActualRates", "FixedFee", "NotToExceed", "OverrideRate"])
|
822
|
+
return false unless sub_billing_method_validator.valid?(@sub_billing_method)
|
823
|
+
knowledge_base_link_type_validator = EnumAttributeValidator.new('String', ["ServiceTicket", "ProjectTicket", "ProjectIssue", "KnowledgeBaseArticle", "Time", "Activity"])
|
824
|
+
return false unless knowledge_base_link_type_validator.valid?(@knowledge_base_link_type)
|
825
|
+
bill_time_validator = EnumAttributeValidator.new('String', ["Billable", "DoNotBill", "NoCharge", "NoDefault"])
|
826
|
+
return false unless bill_time_validator.valid?(@bill_time)
|
827
|
+
bill_expenses_validator = EnumAttributeValidator.new('String', ["Billable", "DoNotBill", "NoCharge", "NoDefault"])
|
828
|
+
return false unless bill_expenses_validator.valid?(@bill_expenses)
|
829
|
+
bill_products_validator = EnumAttributeValidator.new('String', ["Billable", "DoNotBill", "NoCharge", "NoDefault"])
|
830
|
+
return false unless bill_products_validator.valid?(@bill_products)
|
831
|
+
predecessor_type_validator = EnumAttributeValidator.new('String', ["Ticket", "Phase"])
|
832
|
+
return false unless predecessor_type_validator.valid?(@predecessor_type)
|
833
|
+
return true
|
834
|
+
end
|
835
|
+
|
836
|
+
# Custom attribute writer method with validation
|
837
|
+
# @param [Object] summary Value to be assigned
|
838
|
+
def summary=(summary)
|
839
|
+
if summary.nil?
|
840
|
+
fail ArgumentError, "summary cannot be nil"
|
841
|
+
end
|
842
|
+
|
843
|
+
if summary.to_s.length <
|
844
|
+
fail ArgumentError, "invalid value for 'summary', the character length must be great than or equal to ."
|
845
|
+
end
|
846
|
+
|
847
|
+
@summary = summary
|
848
|
+
end
|
849
|
+
|
850
|
+
# Custom attribute writer method checking allowed values (enum).
|
851
|
+
# @param [Object] record_type Object to be assigned
|
852
|
+
def record_type=(record_type)
|
853
|
+
validator = EnumAttributeValidator.new('String', ["ServiceTicket", "ProjectTicket", "ProjectIssue"])
|
854
|
+
unless validator.valid?(record_type)
|
855
|
+
fail ArgumentError, "invalid value for 'record_type', must be one of #{validator.allowable_values}."
|
856
|
+
end
|
857
|
+
@record_type = record_type
|
858
|
+
end
|
859
|
+
|
860
|
+
# Custom attribute writer method with validation
|
861
|
+
# @param [Object] wbs_code Value to be assigned
|
862
|
+
def wbs_code=(wbs_code)
|
863
|
+
if wbs_code.nil?
|
864
|
+
fail ArgumentError, "wbs_code cannot be nil"
|
865
|
+
end
|
866
|
+
|
867
|
+
if wbs_code.to_s.length <
|
868
|
+
fail ArgumentError, "invalid value for 'wbs_code', the character length must be great than or equal to ."
|
869
|
+
end
|
870
|
+
|
871
|
+
@wbs_code = wbs_code
|
872
|
+
end
|
873
|
+
|
874
|
+
# Custom attribute writer method with validation
|
875
|
+
# @param [Object] site_name Value to be assigned
|
876
|
+
def site_name=(site_name)
|
877
|
+
if site_name.nil?
|
878
|
+
fail ArgumentError, "site_name cannot be nil"
|
879
|
+
end
|
880
|
+
|
881
|
+
if site_name.to_s.length <
|
882
|
+
fail ArgumentError, "invalid value for 'site_name', the character length must be great than or equal to ."
|
883
|
+
end
|
884
|
+
|
885
|
+
@site_name = site_name
|
886
|
+
end
|
887
|
+
|
888
|
+
# Custom attribute writer method with validation
|
889
|
+
# @param [Object] address_line1 Value to be assigned
|
890
|
+
def address_line1=(address_line1)
|
891
|
+
if address_line1.nil?
|
892
|
+
fail ArgumentError, "address_line1 cannot be nil"
|
893
|
+
end
|
894
|
+
|
895
|
+
if address_line1.to_s.length <
|
896
|
+
fail ArgumentError, "invalid value for 'address_line1', the character length must be great than or equal to ."
|
897
|
+
end
|
898
|
+
|
899
|
+
@address_line1 = address_line1
|
900
|
+
end
|
901
|
+
|
902
|
+
# Custom attribute writer method with validation
|
903
|
+
# @param [Object] address_line2 Value to be assigned
|
904
|
+
def address_line2=(address_line2)
|
905
|
+
if address_line2.nil?
|
906
|
+
fail ArgumentError, "address_line2 cannot be nil"
|
907
|
+
end
|
908
|
+
|
909
|
+
if address_line2.to_s.length <
|
910
|
+
fail ArgumentError, "invalid value for 'address_line2', the character length must be great than or equal to ."
|
911
|
+
end
|
912
|
+
|
913
|
+
@address_line2 = address_line2
|
914
|
+
end
|
915
|
+
|
916
|
+
# Custom attribute writer method with validation
|
917
|
+
# @param [Object] city Value to be assigned
|
918
|
+
def city=(city)
|
919
|
+
if city.nil?
|
920
|
+
fail ArgumentError, "city cannot be nil"
|
921
|
+
end
|
922
|
+
|
923
|
+
if city.to_s.length <
|
924
|
+
fail ArgumentError, "invalid value for 'city', the character length must be great than or equal to ."
|
925
|
+
end
|
926
|
+
|
927
|
+
@city = city
|
928
|
+
end
|
929
|
+
|
930
|
+
# Custom attribute writer method with validation
|
931
|
+
# @param [Object] state_identifier Value to be assigned
|
932
|
+
def state_identifier=(state_identifier)
|
933
|
+
if state_identifier.nil?
|
934
|
+
fail ArgumentError, "state_identifier cannot be nil"
|
935
|
+
end
|
936
|
+
|
937
|
+
if state_identifier.to_s.length <
|
938
|
+
fail ArgumentError, "invalid value for 'state_identifier', the character length must be great than or equal to ."
|
939
|
+
end
|
940
|
+
|
941
|
+
@state_identifier = state_identifier
|
942
|
+
end
|
943
|
+
|
944
|
+
# Custom attribute writer method with validation
|
945
|
+
# @param [Object] zip Value to be assigned
|
946
|
+
def zip=(zip)
|
947
|
+
if zip.nil?
|
948
|
+
fail ArgumentError, "zip cannot be nil"
|
949
|
+
end
|
950
|
+
|
951
|
+
if zip.to_s.length <
|
952
|
+
fail ArgumentError, "invalid value for 'zip', the character length must be great than or equal to ."
|
953
|
+
end
|
954
|
+
|
955
|
+
@zip = zip
|
956
|
+
end
|
957
|
+
|
958
|
+
# Custom attribute writer method with validation
|
959
|
+
# @param [Object] contact_phone_number Value to be assigned
|
960
|
+
def contact_phone_number=(contact_phone_number)
|
961
|
+
if contact_phone_number.nil?
|
962
|
+
fail ArgumentError, "contact_phone_number cannot be nil"
|
963
|
+
end
|
964
|
+
|
965
|
+
if contact_phone_number.to_s.length <
|
966
|
+
fail ArgumentError, "invalid value for 'contact_phone_number', the character length must be great than or equal to ."
|
967
|
+
end
|
968
|
+
|
969
|
+
@contact_phone_number = contact_phone_number
|
970
|
+
end
|
971
|
+
|
972
|
+
# Custom attribute writer method with validation
|
973
|
+
# @param [Object] contact_phone_extension Value to be assigned
|
974
|
+
def contact_phone_extension=(contact_phone_extension)
|
975
|
+
if contact_phone_extension.nil?
|
976
|
+
fail ArgumentError, "contact_phone_extension cannot be nil"
|
977
|
+
end
|
978
|
+
|
979
|
+
if contact_phone_extension.to_s.length <
|
980
|
+
fail ArgumentError, "invalid value for 'contact_phone_extension', the character length must be great than or equal to ."
|
981
|
+
end
|
982
|
+
|
983
|
+
@contact_phone_extension = contact_phone_extension
|
984
|
+
end
|
985
|
+
|
986
|
+
# Custom attribute writer method with validation
|
987
|
+
# @param [Object] contact_email_address Value to be assigned
|
988
|
+
def contact_email_address=(contact_email_address)
|
989
|
+
if contact_email_address.nil?
|
990
|
+
fail ArgumentError, "contact_email_address cannot be nil"
|
991
|
+
end
|
992
|
+
|
993
|
+
if contact_email_address.to_s.length <
|
994
|
+
fail ArgumentError, "invalid value for 'contact_email_address', the character length must be great than or equal to ."
|
995
|
+
end
|
996
|
+
|
997
|
+
@contact_email_address = contact_email_address
|
998
|
+
end
|
999
|
+
|
1000
|
+
# Custom attribute writer method checking allowed values (enum).
|
1001
|
+
# @param [Object] severity Object to be assigned
|
1002
|
+
def severity=(severity)
|
1003
|
+
validator = EnumAttributeValidator.new('String', ["Low", "Medium", "High"])
|
1004
|
+
unless validator.valid?(severity)
|
1005
|
+
fail ArgumentError, "invalid value for 'severity', must be one of #{validator.allowable_values}."
|
1006
|
+
end
|
1007
|
+
@severity = severity
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
# Custom attribute writer method checking allowed values (enum).
|
1011
|
+
# @param [Object] impact Object to be assigned
|
1012
|
+
def impact=(impact)
|
1013
|
+
validator = EnumAttributeValidator.new('String', ["Low", "Medium", "High"])
|
1014
|
+
unless validator.valid?(impact)
|
1015
|
+
fail ArgumentError, "invalid value for 'impact', must be one of #{validator.allowable_values}."
|
1016
|
+
end
|
1017
|
+
@impact = impact
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
# Custom attribute writer method with validation
|
1021
|
+
# @param [Object] external_x_ref Value to be assigned
|
1022
|
+
def external_x_ref=(external_x_ref)
|
1023
|
+
if external_x_ref.nil?
|
1024
|
+
fail ArgumentError, "external_x_ref cannot be nil"
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
if external_x_ref.to_s.length <
|
1028
|
+
fail ArgumentError, "invalid value for 'external_x_ref', the character length must be great than or equal to ."
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
@external_x_ref = external_x_ref
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
# Custom attribute writer method with validation
|
1035
|
+
# @param [Object] po_number Value to be assigned
|
1036
|
+
def po_number=(po_number)
|
1037
|
+
if po_number.nil?
|
1038
|
+
fail ArgumentError, "po_number cannot be nil"
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
if po_number.to_s.length <
|
1042
|
+
fail ArgumentError, "invalid value for 'po_number', the character length must be great than or equal to ."
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
@po_number = po_number
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# Custom attribute writer method with validation
|
1049
|
+
# @param [Object] automatic_email_cc Value to be assigned
|
1050
|
+
def automatic_email_cc=(automatic_email_cc)
|
1051
|
+
if automatic_email_cc.nil?
|
1052
|
+
fail ArgumentError, "automatic_email_cc cannot be nil"
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
if automatic_email_cc.to_s.length <
|
1056
|
+
fail ArgumentError, "invalid value for 'automatic_email_cc', the character length must be great than or equal to ."
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
@automatic_email_cc = automatic_email_cc
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
# Custom attribute writer method checking allowed values (enum).
|
1063
|
+
# @param [Object] sub_billing_method Object to be assigned
|
1064
|
+
def sub_billing_method=(sub_billing_method)
|
1065
|
+
validator = EnumAttributeValidator.new('String', ["ActualRates", "FixedFee", "NotToExceed", "OverrideRate"])
|
1066
|
+
unless validator.valid?(sub_billing_method)
|
1067
|
+
fail ArgumentError, "invalid value for 'sub_billing_method', must be one of #{validator.allowable_values}."
|
1068
|
+
end
|
1069
|
+
@sub_billing_method = sub_billing_method
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
# Custom attribute writer method checking allowed values (enum).
|
1073
|
+
# @param [Object] knowledge_base_link_type Object to be assigned
|
1074
|
+
def knowledge_base_link_type=(knowledge_base_link_type)
|
1075
|
+
validator = EnumAttributeValidator.new('String', ["ServiceTicket", "ProjectTicket", "ProjectIssue", "KnowledgeBaseArticle", "Time", "Activity"])
|
1076
|
+
unless validator.valid?(knowledge_base_link_type)
|
1077
|
+
fail ArgumentError, "invalid value for 'knowledge_base_link_type', must be one of #{validator.allowable_values}."
|
1078
|
+
end
|
1079
|
+
@knowledge_base_link_type = knowledge_base_link_type
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
# Custom attribute writer method checking allowed values (enum).
|
1083
|
+
# @param [Object] bill_time Object to be assigned
|
1084
|
+
def bill_time=(bill_time)
|
1085
|
+
validator = EnumAttributeValidator.new('String', ["Billable", "DoNotBill", "NoCharge", "NoDefault"])
|
1086
|
+
unless validator.valid?(bill_time)
|
1087
|
+
fail ArgumentError, "invalid value for 'bill_time', must be one of #{validator.allowable_values}."
|
1088
|
+
end
|
1089
|
+
@bill_time = bill_time
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# Custom attribute writer method checking allowed values (enum).
|
1093
|
+
# @param [Object] bill_expenses Object to be assigned
|
1094
|
+
def bill_expenses=(bill_expenses)
|
1095
|
+
validator = EnumAttributeValidator.new('String', ["Billable", "DoNotBill", "NoCharge", "NoDefault"])
|
1096
|
+
unless validator.valid?(bill_expenses)
|
1097
|
+
fail ArgumentError, "invalid value for 'bill_expenses', must be one of #{validator.allowable_values}."
|
1098
|
+
end
|
1099
|
+
@bill_expenses = bill_expenses
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
# Custom attribute writer method checking allowed values (enum).
|
1103
|
+
# @param [Object] bill_products Object to be assigned
|
1104
|
+
def bill_products=(bill_products)
|
1105
|
+
validator = EnumAttributeValidator.new('String', ["Billable", "DoNotBill", "NoCharge", "NoDefault"])
|
1106
|
+
unless validator.valid?(bill_products)
|
1107
|
+
fail ArgumentError, "invalid value for 'bill_products', must be one of #{validator.allowable_values}."
|
1108
|
+
end
|
1109
|
+
@bill_products = bill_products
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# Custom attribute writer method checking allowed values (enum).
|
1113
|
+
# @param [Object] predecessor_type Object to be assigned
|
1114
|
+
def predecessor_type=(predecessor_type)
|
1115
|
+
validator = EnumAttributeValidator.new('String', ["Ticket", "Phase"])
|
1116
|
+
unless validator.valid?(predecessor_type)
|
1117
|
+
fail ArgumentError, "invalid value for 'predecessor_type', must be one of #{validator.allowable_values}."
|
1118
|
+
end
|
1119
|
+
@predecessor_type = predecessor_type
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# Checks equality by comparing each attribute.
|
1123
|
+
# @param [Object] Object to be compared
|
1124
|
+
def ==(o)
|
1125
|
+
return true if self.equal?(o)
|
1126
|
+
self.class == o.class &&
|
1127
|
+
id == o.id &&
|
1128
|
+
summary == o.summary &&
|
1129
|
+
record_type == o.record_type &&
|
1130
|
+
board == o.board &&
|
1131
|
+
status == o.status &&
|
1132
|
+
project == o.project &&
|
1133
|
+
phase == o.phase &&
|
1134
|
+
wbs_code == o.wbs_code &&
|
1135
|
+
company == o.company &&
|
1136
|
+
site == o.site &&
|
1137
|
+
site_name == o.site_name &&
|
1138
|
+
address_line1 == o.address_line1 &&
|
1139
|
+
address_line2 == o.address_line2 &&
|
1140
|
+
city == o.city &&
|
1141
|
+
state_identifier == o.state_identifier &&
|
1142
|
+
zip == o.zip &&
|
1143
|
+
country == o.country &&
|
1144
|
+
contact == o.contact &&
|
1145
|
+
contact_phone_number == o.contact_phone_number &&
|
1146
|
+
contact_phone_extension == o.contact_phone_extension &&
|
1147
|
+
contact_email_address == o.contact_email_address &&
|
1148
|
+
type == o.type &&
|
1149
|
+
sub_type == o.sub_type &&
|
1150
|
+
item == o.item &&
|
1151
|
+
team == o.team &&
|
1152
|
+
owner == o.owner &&
|
1153
|
+
priority == o.priority &&
|
1154
|
+
service_location == o.service_location &&
|
1155
|
+
source == o.source &&
|
1156
|
+
required_date == o.required_date &&
|
1157
|
+
budget_hours == o.budget_hours &&
|
1158
|
+
opportunity == o.opportunity &&
|
1159
|
+
agreement == o.agreement &&
|
1160
|
+
severity == o.severity &&
|
1161
|
+
impact == o.impact &&
|
1162
|
+
external_x_ref == o.external_x_ref &&
|
1163
|
+
po_number == o.po_number &&
|
1164
|
+
knowledge_base_category_id == o.knowledge_base_category_id &&
|
1165
|
+
knowledge_base_sub_category_id == o.knowledge_base_sub_category_id &&
|
1166
|
+
allow_all_clients_portal_view == o.allow_all_clients_portal_view &&
|
1167
|
+
customer_updated_flag == o.customer_updated_flag &&
|
1168
|
+
automatic_email_contact_flag == o.automatic_email_contact_flag &&
|
1169
|
+
automatic_email_resource_flag == o.automatic_email_resource_flag &&
|
1170
|
+
automatic_email_cc_flag == o.automatic_email_cc_flag &&
|
1171
|
+
automatic_email_cc == o.automatic_email_cc &&
|
1172
|
+
initial_description == o.initial_description &&
|
1173
|
+
initial_internal_analysis == o.initial_internal_analysis &&
|
1174
|
+
initial_resolution == o.initial_resolution &&
|
1175
|
+
contact_email_lookup == o.contact_email_lookup &&
|
1176
|
+
process_notifications == o.process_notifications &&
|
1177
|
+
skip_callback == o.skip_callback &&
|
1178
|
+
closed_date == o.closed_date &&
|
1179
|
+
closed_by == o.closed_by &&
|
1180
|
+
closed_flag == o.closed_flag &&
|
1181
|
+
date_entered == o.date_entered &&
|
1182
|
+
entered_by == o.entered_by &&
|
1183
|
+
actual_hours == o.actual_hours &&
|
1184
|
+
approved == o.approved &&
|
1185
|
+
sub_billing_method == o.sub_billing_method &&
|
1186
|
+
sub_billing_amount == o.sub_billing_amount &&
|
1187
|
+
sub_date_accepted == o.sub_date_accepted &&
|
1188
|
+
date_resolved == o.date_resolved &&
|
1189
|
+
date_resplan == o.date_resplan &&
|
1190
|
+
date_responded == o.date_responded &&
|
1191
|
+
resolve_minutes == o.resolve_minutes &&
|
1192
|
+
res_plan_minutes == o.res_plan_minutes &&
|
1193
|
+
respond_minutes == o.respond_minutes &&
|
1194
|
+
is_in_sla == o.is_in_sla &&
|
1195
|
+
knowledge_base_link_id == o.knowledge_base_link_id &&
|
1196
|
+
resources == o.resources &&
|
1197
|
+
parent_ticket_id == o.parent_ticket_id &&
|
1198
|
+
has_child_ticket == o.has_child_ticket &&
|
1199
|
+
knowledge_base_link_type == o.knowledge_base_link_type &&
|
1200
|
+
bill_time == o.bill_time &&
|
1201
|
+
bill_expenses == o.bill_expenses &&
|
1202
|
+
bill_products == o.bill_products &&
|
1203
|
+
predecessor_type == o.predecessor_type &&
|
1204
|
+
predecessor_id == o.predecessor_id &&
|
1205
|
+
predecessor_closed_flag == o.predecessor_closed_flag &&
|
1206
|
+
lag_days == o.lag_days &&
|
1207
|
+
lag_nonworking_days_flag == o.lag_nonworking_days_flag &&
|
1208
|
+
estimated_start_date == o.estimated_start_date &&
|
1209
|
+
duration == o.duration &&
|
1210
|
+
location_id == o.location_id &&
|
1211
|
+
business_unit_id == o.business_unit_id &&
|
1212
|
+
mobile_guid == o.mobile_guid &&
|
1213
|
+
sla == o.sla &&
|
1214
|
+
_info == o._info &&
|
1215
|
+
custom_fields == o.custom_fields
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
# @see the `==` method
|
1219
|
+
# @param [Object] Object to be compared
|
1220
|
+
def eql?(o)
|
1221
|
+
self == o
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
# Calculates hash code according to all attributes.
|
1225
|
+
# @return [Fixnum] Hash code
|
1226
|
+
def hash
|
1227
|
+
[id, summary, record_type, board, status, project, phase, wbs_code, company, site, site_name, address_line1, address_line2, city, state_identifier, zip, country, contact, contact_phone_number, contact_phone_extension, contact_email_address, type, sub_type, item, team, owner, priority, service_location, source, required_date, budget_hours, opportunity, agreement, severity, impact, external_x_ref, po_number, knowledge_base_category_id, knowledge_base_sub_category_id, allow_all_clients_portal_view, customer_updated_flag, automatic_email_contact_flag, automatic_email_resource_flag, automatic_email_cc_flag, automatic_email_cc, initial_description, initial_internal_analysis, initial_resolution, contact_email_lookup, process_notifications, skip_callback, closed_date, closed_by, closed_flag, date_entered, entered_by, actual_hours, approved, sub_billing_method, sub_billing_amount, sub_date_accepted, date_resolved, date_resplan, date_responded, resolve_minutes, res_plan_minutes, respond_minutes, is_in_sla, knowledge_base_link_id, resources, parent_ticket_id, has_child_ticket, knowledge_base_link_type, bill_time, bill_expenses, bill_products, predecessor_type, predecessor_id, predecessor_closed_flag, lag_days, lag_nonworking_days_flag, estimated_start_date, duration, location_id, business_unit_id, mobile_guid, sla, _info, custom_fields].hash
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
# Builds the object from hash
|
1231
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
1232
|
+
# @return [Object] Returns the model itself
|
1233
|
+
def build_from_hash(attributes)
|
1234
|
+
return nil unless attributes.is_a?(Hash)
|
1235
|
+
self.class.swagger_types.each_pair do |key, type|
|
1236
|
+
if type =~ /^Array<(.*)>/i
|
1237
|
+
# check to ensure the input is an array given that the the attribute
|
1238
|
+
# is documented as an array but the input is not
|
1239
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
1240
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
1241
|
+
end
|
1242
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
1243
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
1244
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
self
|
1248
|
+
end
|
1249
|
+
|
1250
|
+
# Deserializes the data based on type
|
1251
|
+
# @param string type Data type
|
1252
|
+
# @param string value Value to be deserialized
|
1253
|
+
# @return [Object] Deserialized data
|
1254
|
+
def _deserialize(type, value)
|
1255
|
+
case type.to_sym
|
1256
|
+
when :DateTime
|
1257
|
+
DateTime.parse(value)
|
1258
|
+
when :Date
|
1259
|
+
Date.parse(value)
|
1260
|
+
when :String
|
1261
|
+
value.to_s
|
1262
|
+
when :Integer
|
1263
|
+
value.to_i
|
1264
|
+
when :Float
|
1265
|
+
value.to_f
|
1266
|
+
when :BOOLEAN
|
1267
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
1268
|
+
true
|
1269
|
+
else
|
1270
|
+
false
|
1271
|
+
end
|
1272
|
+
when :Object
|
1273
|
+
# generic object (usually a Hash), return directly
|
1274
|
+
value
|
1275
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
1276
|
+
inner_type = Regexp.last_match[:inner_type]
|
1277
|
+
value.map { |v| _deserialize(inner_type, v) }
|
1278
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
1279
|
+
k_type = Regexp.last_match[:k_type]
|
1280
|
+
v_type = Regexp.last_match[:v_type]
|
1281
|
+
{}.tap do |hash|
|
1282
|
+
value.each do |k, v|
|
1283
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
1284
|
+
end
|
1285
|
+
end
|
1286
|
+
else # model
|
1287
|
+
temp_model = Connectwise.const_get(type).new
|
1288
|
+
temp_model.build_from_hash(value)
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# Returns the string representation of the object
|
1293
|
+
# @return [String] String presentation of the object
|
1294
|
+
def to_s
|
1295
|
+
to_hash.to_s
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
# to_body is an alias to to_hash (backward compatibility)
|
1299
|
+
# @return [Hash] Returns the object in the form of hash
|
1300
|
+
def to_body
|
1301
|
+
to_hash
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
# Returns the object in the form of hash
|
1305
|
+
# @return [Hash] Returns the object in the form of hash
|
1306
|
+
def to_hash
|
1307
|
+
hash = {}
|
1308
|
+
self.class.attribute_map.each_pair do |attr, param|
|
1309
|
+
value = self.send(attr)
|
1310
|
+
next if value.nil?
|
1311
|
+
hash[param] = _to_hash(value)
|
1312
|
+
end
|
1313
|
+
hash
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
# Outputs non-array value in the form of hash
|
1317
|
+
# For object, use to_hash. Otherwise, just return the value
|
1318
|
+
# @param [Object] value Any valid value
|
1319
|
+
# @return [Hash] Returns the value in the form of hash
|
1320
|
+
def _to_hash(value)
|
1321
|
+
if value.is_a?(Array)
|
1322
|
+
value.compact.map{ |v| _to_hash(v) }
|
1323
|
+
elsif value.is_a?(Hash)
|
1324
|
+
{}.tap do |hash|
|
1325
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
1326
|
+
end
|
1327
|
+
elsif value.respond_to? :to_hash
|
1328
|
+
value.to_hash
|
1329
|
+
else
|
1330
|
+
value
|
1331
|
+
end
|
1332
|
+
end
|
1333
|
+
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
end
|