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,1245 @@
|
|
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 Member
|
29
|
+
attr_accessor :admin_flag
|
30
|
+
|
31
|
+
attr_accessor :allow_expenses_entered_against_companies_flag
|
32
|
+
|
33
|
+
attr_accessor :allow_in_cell_entry_on_time_sheet
|
34
|
+
|
35
|
+
attr_accessor :billable_forecast
|
36
|
+
|
37
|
+
attr_accessor :calendar
|
38
|
+
|
39
|
+
attr_accessor :calendar_sync_integration_flag
|
40
|
+
|
41
|
+
attr_accessor :country
|
42
|
+
|
43
|
+
attr_accessor :daily_capacity
|
44
|
+
|
45
|
+
attr_accessor :days_tolerance
|
46
|
+
|
47
|
+
attr_accessor :default_department_id
|
48
|
+
|
49
|
+
attr_accessor :default_email
|
50
|
+
|
51
|
+
attr_accessor :default_location_id
|
52
|
+
|
53
|
+
attr_accessor :default_phone
|
54
|
+
|
55
|
+
attr_accessor :disable_online_flag
|
56
|
+
|
57
|
+
attr_accessor :enable_ldap_authentication_flag
|
58
|
+
|
59
|
+
attr_accessor :enable_mobile_flag
|
60
|
+
|
61
|
+
attr_accessor :enable_mobile_gps_flag
|
62
|
+
|
63
|
+
attr_accessor :enter_time_against_company_flag
|
64
|
+
|
65
|
+
attr_accessor :expense_approver
|
66
|
+
|
67
|
+
attr_accessor :first_name
|
68
|
+
|
69
|
+
attr_accessor :hide_member_in_dispatch_portal_flag
|
70
|
+
|
71
|
+
attr_accessor :hire_date
|
72
|
+
|
73
|
+
attr_accessor :home_email
|
74
|
+
|
75
|
+
attr_accessor :home_extension
|
76
|
+
|
77
|
+
attr_accessor :home_phone
|
78
|
+
|
79
|
+
attr_accessor :hourly_cost
|
80
|
+
|
81
|
+
attr_accessor :hourly_rate
|
82
|
+
|
83
|
+
attr_accessor :id
|
84
|
+
|
85
|
+
attr_accessor :identifier
|
86
|
+
|
87
|
+
attr_accessor :inactive_date
|
88
|
+
|
89
|
+
attr_accessor :inactive_flag
|
90
|
+
|
91
|
+
attr_accessor :include_in_utilization_reporting_flag
|
92
|
+
|
93
|
+
attr_accessor :last_login
|
94
|
+
|
95
|
+
attr_accessor :last_name
|
96
|
+
|
97
|
+
attr_accessor :license_class
|
98
|
+
|
99
|
+
attr_accessor :mapi_name
|
100
|
+
|
101
|
+
attr_accessor :middle_initial
|
102
|
+
|
103
|
+
attr_accessor :minimum_hours
|
104
|
+
|
105
|
+
attr_accessor :mobile_email
|
106
|
+
|
107
|
+
attr_accessor :mobile_extension
|
108
|
+
|
109
|
+
attr_accessor :mobile_phone
|
110
|
+
|
111
|
+
attr_accessor :notes
|
112
|
+
|
113
|
+
attr_accessor :office_email
|
114
|
+
|
115
|
+
attr_accessor :office_extension
|
116
|
+
|
117
|
+
attr_accessor :office_phone
|
118
|
+
|
119
|
+
attr_accessor :project_default_board
|
120
|
+
|
121
|
+
attr_accessor :project_default_department_id
|
122
|
+
|
123
|
+
attr_accessor :project_default_location_id
|
124
|
+
|
125
|
+
attr_accessor :reports_to
|
126
|
+
|
127
|
+
attr_accessor :require_expense_entry_flag
|
128
|
+
|
129
|
+
attr_accessor :require_start_and_end_time_on_time_entry_flag
|
130
|
+
|
131
|
+
attr_accessor :require_time_sheet_entry_flag
|
132
|
+
|
133
|
+
attr_accessor :restrict_default_sales_territory_flag
|
134
|
+
|
135
|
+
attr_accessor :restrict_default_warehouse_bin_flag
|
136
|
+
|
137
|
+
attr_accessor :restrict_default_warehouse_flag
|
138
|
+
|
139
|
+
attr_accessor :restrict_department_flag
|
140
|
+
|
141
|
+
attr_accessor :restrict_location_flag
|
142
|
+
|
143
|
+
attr_accessor :restrict_project_default_department_flag
|
144
|
+
|
145
|
+
attr_accessor :restrict_project_default_location_flag
|
146
|
+
|
147
|
+
attr_accessor :restrict_schedule_flag
|
148
|
+
|
149
|
+
attr_accessor :restrict_service_default_department_flag
|
150
|
+
|
151
|
+
attr_accessor :restrict_service_default_location_flag
|
152
|
+
|
153
|
+
attr_accessor :sales_default_location_id
|
154
|
+
|
155
|
+
attr_accessor :schedule_capacity
|
156
|
+
|
157
|
+
attr_accessor :schedule_default_department_id
|
158
|
+
|
159
|
+
attr_accessor :schedule_default_location_id
|
160
|
+
|
161
|
+
attr_accessor :security_level
|
162
|
+
|
163
|
+
attr_accessor :security_location_id
|
164
|
+
|
165
|
+
attr_accessor :security_role
|
166
|
+
|
167
|
+
attr_accessor :service_default_board
|
168
|
+
|
169
|
+
attr_accessor :service_default_department_id
|
170
|
+
|
171
|
+
attr_accessor :service_default_location_id
|
172
|
+
|
173
|
+
attr_accessor :service_location
|
174
|
+
|
175
|
+
attr_accessor :service_teams
|
176
|
+
|
177
|
+
attr_accessor :time_approver
|
178
|
+
|
179
|
+
attr_accessor :time_reminder_email_flag
|
180
|
+
|
181
|
+
attr_accessor :time_sheet_start_date
|
182
|
+
|
183
|
+
attr_accessor :time_zone
|
184
|
+
|
185
|
+
attr_accessor :title
|
186
|
+
|
187
|
+
attr_accessor :type
|
188
|
+
|
189
|
+
attr_accessor :vendor_number
|
190
|
+
|
191
|
+
attr_accessor :warehouse
|
192
|
+
|
193
|
+
attr_accessor :warehouse_bin
|
194
|
+
|
195
|
+
attr_accessor :work_role
|
196
|
+
|
197
|
+
attr_accessor :work_type
|
198
|
+
|
199
|
+
# Metadata of the entity
|
200
|
+
attr_accessor :_info
|
201
|
+
|
202
|
+
attr_accessor :system_flag
|
203
|
+
|
204
|
+
class EnumAttributeValidator
|
205
|
+
attr_reader :datatype
|
206
|
+
attr_reader :allowable_values
|
207
|
+
|
208
|
+
def initialize(datatype, allowable_values)
|
209
|
+
@allowable_values = allowable_values.map do |value|
|
210
|
+
case datatype.to_s
|
211
|
+
when /Integer/i
|
212
|
+
value.to_i
|
213
|
+
when /Float/i
|
214
|
+
value.to_f
|
215
|
+
else
|
216
|
+
value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
def valid?(value)
|
222
|
+
!value || allowable_values.include?(value)
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
227
|
+
def self.attribute_map
|
228
|
+
{
|
229
|
+
:'admin_flag' => :'adminFlag',
|
230
|
+
:'allow_expenses_entered_against_companies_flag' => :'allowExpensesEnteredAgainstCompaniesFlag',
|
231
|
+
:'allow_in_cell_entry_on_time_sheet' => :'allowInCellEntryOnTimeSheet',
|
232
|
+
:'billable_forecast' => :'billableForecast',
|
233
|
+
:'calendar' => :'calendar',
|
234
|
+
:'calendar_sync_integration_flag' => :'calendarSyncIntegrationFlag',
|
235
|
+
:'country' => :'country',
|
236
|
+
:'daily_capacity' => :'dailyCapacity',
|
237
|
+
:'days_tolerance' => :'daysTolerance',
|
238
|
+
:'default_department_id' => :'defaultDepartmentId',
|
239
|
+
:'default_email' => :'defaultEmail',
|
240
|
+
:'default_location_id' => :'defaultLocationId',
|
241
|
+
:'default_phone' => :'defaultPhone',
|
242
|
+
:'disable_online_flag' => :'disableOnlineFlag',
|
243
|
+
:'enable_ldap_authentication_flag' => :'enableLdapAuthenticationFlag',
|
244
|
+
:'enable_mobile_flag' => :'enableMobileFlag',
|
245
|
+
:'enable_mobile_gps_flag' => :'enableMobileGpsFlag',
|
246
|
+
:'enter_time_against_company_flag' => :'enterTimeAgainstCompanyFlag',
|
247
|
+
:'expense_approver' => :'expenseApprover',
|
248
|
+
:'first_name' => :'firstName',
|
249
|
+
:'hide_member_in_dispatch_portal_flag' => :'hideMemberInDispatchPortalFlag',
|
250
|
+
:'hire_date' => :'hireDate',
|
251
|
+
:'home_email' => :'homeEmail',
|
252
|
+
:'home_extension' => :'homeExtension',
|
253
|
+
:'home_phone' => :'homePhone',
|
254
|
+
:'hourly_cost' => :'hourlyCost',
|
255
|
+
:'hourly_rate' => :'hourlyRate',
|
256
|
+
:'id' => :'id',
|
257
|
+
:'identifier' => :'identifier',
|
258
|
+
:'inactive_date' => :'inactiveDate',
|
259
|
+
:'inactive_flag' => :'inactiveFlag',
|
260
|
+
:'include_in_utilization_reporting_flag' => :'includeInUtilizationReportingFlag',
|
261
|
+
:'last_login' => :'lastLogin',
|
262
|
+
:'last_name' => :'lastName',
|
263
|
+
:'license_class' => :'licenseClass',
|
264
|
+
:'mapi_name' => :'mapiName',
|
265
|
+
:'middle_initial' => :'middleInitial',
|
266
|
+
:'minimum_hours' => :'minimumHours',
|
267
|
+
:'mobile_email' => :'mobileEmail',
|
268
|
+
:'mobile_extension' => :'mobileExtension',
|
269
|
+
:'mobile_phone' => :'mobilePhone',
|
270
|
+
:'notes' => :'notes',
|
271
|
+
:'office_email' => :'officeEmail',
|
272
|
+
:'office_extension' => :'officeExtension',
|
273
|
+
:'office_phone' => :'officePhone',
|
274
|
+
:'project_default_board' => :'projectDefaultBoard',
|
275
|
+
:'project_default_department_id' => :'projectDefaultDepartmentId',
|
276
|
+
:'project_default_location_id' => :'projectDefaultLocationId',
|
277
|
+
:'reports_to' => :'reportsTo',
|
278
|
+
:'require_expense_entry_flag' => :'requireExpenseEntryFlag',
|
279
|
+
:'require_start_and_end_time_on_time_entry_flag' => :'requireStartAndEndTimeOnTimeEntryFlag',
|
280
|
+
:'require_time_sheet_entry_flag' => :'requireTimeSheetEntryFlag',
|
281
|
+
:'restrict_default_sales_territory_flag' => :'restrictDefaultSalesTerritoryFlag',
|
282
|
+
:'restrict_default_warehouse_bin_flag' => :'restrictDefaultWarehouseBinFlag',
|
283
|
+
:'restrict_default_warehouse_flag' => :'restrictDefaultWarehouseFlag',
|
284
|
+
:'restrict_department_flag' => :'restrictDepartmentFlag',
|
285
|
+
:'restrict_location_flag' => :'restrictLocationFlag',
|
286
|
+
:'restrict_project_default_department_flag' => :'restrictProjectDefaultDepartmentFlag',
|
287
|
+
:'restrict_project_default_location_flag' => :'restrictProjectDefaultLocationFlag',
|
288
|
+
:'restrict_schedule_flag' => :'restrictScheduleFlag',
|
289
|
+
:'restrict_service_default_department_flag' => :'restrictServiceDefaultDepartmentFlag',
|
290
|
+
:'restrict_service_default_location_flag' => :'restrictServiceDefaultLocationFlag',
|
291
|
+
:'sales_default_location_id' => :'salesDefaultLocationId',
|
292
|
+
:'schedule_capacity' => :'scheduleCapacity',
|
293
|
+
:'schedule_default_department_id' => :'scheduleDefaultDepartmentId',
|
294
|
+
:'schedule_default_location_id' => :'scheduleDefaultLocationId',
|
295
|
+
:'security_level' => :'securityLevel',
|
296
|
+
:'security_location_id' => :'securityLocationId',
|
297
|
+
:'security_role' => :'securityRole',
|
298
|
+
:'service_default_board' => :'serviceDefaultBoard',
|
299
|
+
:'service_default_department_id' => :'serviceDefaultDepartmentId',
|
300
|
+
:'service_default_location_id' => :'serviceDefaultLocationId',
|
301
|
+
:'service_location' => :'serviceLocation',
|
302
|
+
:'service_teams' => :'serviceTeams',
|
303
|
+
:'time_approver' => :'timeApprover',
|
304
|
+
:'time_reminder_email_flag' => :'timeReminderEmailFlag',
|
305
|
+
:'time_sheet_start_date' => :'timeSheetStartDate',
|
306
|
+
:'time_zone' => :'timeZone',
|
307
|
+
:'title' => :'title',
|
308
|
+
:'type' => :'type',
|
309
|
+
:'vendor_number' => :'vendorNumber',
|
310
|
+
:'warehouse' => :'warehouse',
|
311
|
+
:'warehouse_bin' => :'warehouseBin',
|
312
|
+
:'work_role' => :'workRole',
|
313
|
+
:'work_type' => :'workType',
|
314
|
+
:'_info' => :'_info',
|
315
|
+
:'system_flag' => :'System_Flag'
|
316
|
+
}
|
317
|
+
end
|
318
|
+
|
319
|
+
# Attribute type mapping.
|
320
|
+
def self.swagger_types
|
321
|
+
{
|
322
|
+
:'admin_flag' => :'BOOLEAN',
|
323
|
+
:'allow_expenses_entered_against_companies_flag' => :'BOOLEAN',
|
324
|
+
:'allow_in_cell_entry_on_time_sheet' => :'BOOLEAN',
|
325
|
+
:'billable_forecast' => :'Float',
|
326
|
+
:'calendar' => :'CalendarReference',
|
327
|
+
:'calendar_sync_integration_flag' => :'BOOLEAN',
|
328
|
+
:'country' => :'CountryReference',
|
329
|
+
:'daily_capacity' => :'Float',
|
330
|
+
:'days_tolerance' => :'Integer',
|
331
|
+
:'default_department_id' => :'Integer',
|
332
|
+
:'default_email' => :'String',
|
333
|
+
:'default_location_id' => :'Integer',
|
334
|
+
:'default_phone' => :'String',
|
335
|
+
:'disable_online_flag' => :'BOOLEAN',
|
336
|
+
:'enable_ldap_authentication_flag' => :'BOOLEAN',
|
337
|
+
:'enable_mobile_flag' => :'BOOLEAN',
|
338
|
+
:'enable_mobile_gps_flag' => :'BOOLEAN',
|
339
|
+
:'enter_time_against_company_flag' => :'BOOLEAN',
|
340
|
+
:'expense_approver' => :'MemberReference',
|
341
|
+
:'first_name' => :'String',
|
342
|
+
:'hide_member_in_dispatch_portal_flag' => :'BOOLEAN',
|
343
|
+
:'hire_date' => :'DateTime',
|
344
|
+
:'home_email' => :'String',
|
345
|
+
:'home_extension' => :'String',
|
346
|
+
:'home_phone' => :'String',
|
347
|
+
:'hourly_cost' => :'Float',
|
348
|
+
:'hourly_rate' => :'Float',
|
349
|
+
:'id' => :'Integer',
|
350
|
+
:'identifier' => :'String',
|
351
|
+
:'inactive_date' => :'DateTime',
|
352
|
+
:'inactive_flag' => :'BOOLEAN',
|
353
|
+
:'include_in_utilization_reporting_flag' => :'BOOLEAN',
|
354
|
+
:'last_login' => :'String',
|
355
|
+
:'last_name' => :'String',
|
356
|
+
:'license_class' => :'String',
|
357
|
+
:'mapi_name' => :'String',
|
358
|
+
:'middle_initial' => :'String',
|
359
|
+
:'minimum_hours' => :'Float',
|
360
|
+
:'mobile_email' => :'String',
|
361
|
+
:'mobile_extension' => :'String',
|
362
|
+
:'mobile_phone' => :'String',
|
363
|
+
:'notes' => :'String',
|
364
|
+
:'office_email' => :'String',
|
365
|
+
:'office_extension' => :'String',
|
366
|
+
:'office_phone' => :'String',
|
367
|
+
:'project_default_board' => :'ProjectBoardReference',
|
368
|
+
:'project_default_department_id' => :'Integer',
|
369
|
+
:'project_default_location_id' => :'Integer',
|
370
|
+
:'reports_to' => :'MemberReference',
|
371
|
+
:'require_expense_entry_flag' => :'BOOLEAN',
|
372
|
+
:'require_start_and_end_time_on_time_entry_flag' => :'BOOLEAN',
|
373
|
+
:'require_time_sheet_entry_flag' => :'BOOLEAN',
|
374
|
+
:'restrict_default_sales_territory_flag' => :'BOOLEAN',
|
375
|
+
:'restrict_default_warehouse_bin_flag' => :'BOOLEAN',
|
376
|
+
:'restrict_default_warehouse_flag' => :'BOOLEAN',
|
377
|
+
:'restrict_department_flag' => :'BOOLEAN',
|
378
|
+
:'restrict_location_flag' => :'BOOLEAN',
|
379
|
+
:'restrict_project_default_department_flag' => :'BOOLEAN',
|
380
|
+
:'restrict_project_default_location_flag' => :'BOOLEAN',
|
381
|
+
:'restrict_schedule_flag' => :'BOOLEAN',
|
382
|
+
:'restrict_service_default_department_flag' => :'BOOLEAN',
|
383
|
+
:'restrict_service_default_location_flag' => :'BOOLEAN',
|
384
|
+
:'sales_default_location_id' => :'Integer',
|
385
|
+
:'schedule_capacity' => :'Float',
|
386
|
+
:'schedule_default_department_id' => :'Integer',
|
387
|
+
:'schedule_default_location_id' => :'Integer',
|
388
|
+
:'security_level' => :'String',
|
389
|
+
:'security_location_id' => :'Integer',
|
390
|
+
:'security_role' => :'SecurityRoleReference',
|
391
|
+
:'service_default_board' => :'BoardReference',
|
392
|
+
:'service_default_department_id' => :'Integer',
|
393
|
+
:'service_default_location_id' => :'Integer',
|
394
|
+
:'service_location' => :'ServiceLocationReference',
|
395
|
+
:'service_teams' => :'Array<Integer>',
|
396
|
+
:'time_approver' => :'MemberReference',
|
397
|
+
:'time_reminder_email_flag' => :'BOOLEAN',
|
398
|
+
:'time_sheet_start_date' => :'DateTime',
|
399
|
+
:'time_zone' => :'TimeZoneReference',
|
400
|
+
:'title' => :'String',
|
401
|
+
:'type' => :'MemberTypeReference',
|
402
|
+
:'vendor_number' => :'String',
|
403
|
+
:'warehouse' => :'WarehouseReference',
|
404
|
+
:'warehouse_bin' => :'WarehouseBinReference',
|
405
|
+
:'work_role' => :'WorkRoleReference',
|
406
|
+
:'work_type' => :'WorkTypeReference',
|
407
|
+
:'_info' => :'Metadata',
|
408
|
+
:'system_flag' => :'BOOLEAN'
|
409
|
+
}
|
410
|
+
end
|
411
|
+
|
412
|
+
# Initializes the object
|
413
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
414
|
+
def initialize(attributes = {})
|
415
|
+
return unless attributes.is_a?(Hash)
|
416
|
+
|
417
|
+
# convert string to symbol for hash key
|
418
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
419
|
+
|
420
|
+
if attributes.has_key?(:'adminFlag')
|
421
|
+
self.admin_flag = attributes[:'adminFlag']
|
422
|
+
end
|
423
|
+
|
424
|
+
if attributes.has_key?(:'allowExpensesEnteredAgainstCompaniesFlag')
|
425
|
+
self.allow_expenses_entered_against_companies_flag = attributes[:'allowExpensesEnteredAgainstCompaniesFlag']
|
426
|
+
end
|
427
|
+
|
428
|
+
if attributes.has_key?(:'allowInCellEntryOnTimeSheet')
|
429
|
+
self.allow_in_cell_entry_on_time_sheet = attributes[:'allowInCellEntryOnTimeSheet']
|
430
|
+
end
|
431
|
+
|
432
|
+
if attributes.has_key?(:'billableForecast')
|
433
|
+
self.billable_forecast = attributes[:'billableForecast']
|
434
|
+
end
|
435
|
+
|
436
|
+
if attributes.has_key?(:'calendar')
|
437
|
+
self.calendar = attributes[:'calendar']
|
438
|
+
end
|
439
|
+
|
440
|
+
if attributes.has_key?(:'calendarSyncIntegrationFlag')
|
441
|
+
self.calendar_sync_integration_flag = attributes[:'calendarSyncIntegrationFlag']
|
442
|
+
end
|
443
|
+
|
444
|
+
if attributes.has_key?(:'country')
|
445
|
+
self.country = attributes[:'country']
|
446
|
+
end
|
447
|
+
|
448
|
+
if attributes.has_key?(:'dailyCapacity')
|
449
|
+
self.daily_capacity = attributes[:'dailyCapacity']
|
450
|
+
end
|
451
|
+
|
452
|
+
if attributes.has_key?(:'daysTolerance')
|
453
|
+
self.days_tolerance = attributes[:'daysTolerance']
|
454
|
+
end
|
455
|
+
|
456
|
+
if attributes.has_key?(:'defaultDepartmentId')
|
457
|
+
self.default_department_id = attributes[:'defaultDepartmentId']
|
458
|
+
end
|
459
|
+
|
460
|
+
if attributes.has_key?(:'defaultEmail')
|
461
|
+
self.default_email = attributes[:'defaultEmail']
|
462
|
+
end
|
463
|
+
|
464
|
+
if attributes.has_key?(:'defaultLocationId')
|
465
|
+
self.default_location_id = attributes[:'defaultLocationId']
|
466
|
+
end
|
467
|
+
|
468
|
+
if attributes.has_key?(:'defaultPhone')
|
469
|
+
self.default_phone = attributes[:'defaultPhone']
|
470
|
+
end
|
471
|
+
|
472
|
+
if attributes.has_key?(:'disableOnlineFlag')
|
473
|
+
self.disable_online_flag = attributes[:'disableOnlineFlag']
|
474
|
+
end
|
475
|
+
|
476
|
+
if attributes.has_key?(:'enableLdapAuthenticationFlag')
|
477
|
+
self.enable_ldap_authentication_flag = attributes[:'enableLdapAuthenticationFlag']
|
478
|
+
end
|
479
|
+
|
480
|
+
if attributes.has_key?(:'enableMobileFlag')
|
481
|
+
self.enable_mobile_flag = attributes[:'enableMobileFlag']
|
482
|
+
end
|
483
|
+
|
484
|
+
if attributes.has_key?(:'enableMobileGpsFlag')
|
485
|
+
self.enable_mobile_gps_flag = attributes[:'enableMobileGpsFlag']
|
486
|
+
end
|
487
|
+
|
488
|
+
if attributes.has_key?(:'enterTimeAgainstCompanyFlag')
|
489
|
+
self.enter_time_against_company_flag = attributes[:'enterTimeAgainstCompanyFlag']
|
490
|
+
end
|
491
|
+
|
492
|
+
if attributes.has_key?(:'expenseApprover')
|
493
|
+
self.expense_approver = attributes[:'expenseApprover']
|
494
|
+
end
|
495
|
+
|
496
|
+
if attributes.has_key?(:'firstName')
|
497
|
+
self.first_name = attributes[:'firstName']
|
498
|
+
end
|
499
|
+
|
500
|
+
if attributes.has_key?(:'hideMemberInDispatchPortalFlag')
|
501
|
+
self.hide_member_in_dispatch_portal_flag = attributes[:'hideMemberInDispatchPortalFlag']
|
502
|
+
end
|
503
|
+
|
504
|
+
if attributes.has_key?(:'hireDate')
|
505
|
+
self.hire_date = attributes[:'hireDate']
|
506
|
+
end
|
507
|
+
|
508
|
+
if attributes.has_key?(:'homeEmail')
|
509
|
+
self.home_email = attributes[:'homeEmail']
|
510
|
+
end
|
511
|
+
|
512
|
+
if attributes.has_key?(:'homeExtension')
|
513
|
+
self.home_extension = attributes[:'homeExtension']
|
514
|
+
end
|
515
|
+
|
516
|
+
if attributes.has_key?(:'homePhone')
|
517
|
+
self.home_phone = attributes[:'homePhone']
|
518
|
+
end
|
519
|
+
|
520
|
+
if attributes.has_key?(:'hourlyCost')
|
521
|
+
self.hourly_cost = attributes[:'hourlyCost']
|
522
|
+
end
|
523
|
+
|
524
|
+
if attributes.has_key?(:'hourlyRate')
|
525
|
+
self.hourly_rate = attributes[:'hourlyRate']
|
526
|
+
end
|
527
|
+
|
528
|
+
if attributes.has_key?(:'id')
|
529
|
+
self.id = attributes[:'id']
|
530
|
+
end
|
531
|
+
|
532
|
+
if attributes.has_key?(:'identifier')
|
533
|
+
self.identifier = attributes[:'identifier']
|
534
|
+
end
|
535
|
+
|
536
|
+
if attributes.has_key?(:'inactiveDate')
|
537
|
+
self.inactive_date = attributes[:'inactiveDate']
|
538
|
+
end
|
539
|
+
|
540
|
+
if attributes.has_key?(:'inactiveFlag')
|
541
|
+
self.inactive_flag = attributes[:'inactiveFlag']
|
542
|
+
end
|
543
|
+
|
544
|
+
if attributes.has_key?(:'includeInUtilizationReportingFlag')
|
545
|
+
self.include_in_utilization_reporting_flag = attributes[:'includeInUtilizationReportingFlag']
|
546
|
+
end
|
547
|
+
|
548
|
+
if attributes.has_key?(:'lastLogin')
|
549
|
+
self.last_login = attributes[:'lastLogin']
|
550
|
+
end
|
551
|
+
|
552
|
+
if attributes.has_key?(:'lastName')
|
553
|
+
self.last_name = attributes[:'lastName']
|
554
|
+
end
|
555
|
+
|
556
|
+
if attributes.has_key?(:'licenseClass')
|
557
|
+
self.license_class = attributes[:'licenseClass']
|
558
|
+
end
|
559
|
+
|
560
|
+
if attributes.has_key?(:'mapiName')
|
561
|
+
self.mapi_name = attributes[:'mapiName']
|
562
|
+
end
|
563
|
+
|
564
|
+
if attributes.has_key?(:'middleInitial')
|
565
|
+
self.middle_initial = attributes[:'middleInitial']
|
566
|
+
end
|
567
|
+
|
568
|
+
if attributes.has_key?(:'minimumHours')
|
569
|
+
self.minimum_hours = attributes[:'minimumHours']
|
570
|
+
end
|
571
|
+
|
572
|
+
if attributes.has_key?(:'mobileEmail')
|
573
|
+
self.mobile_email = attributes[:'mobileEmail']
|
574
|
+
end
|
575
|
+
|
576
|
+
if attributes.has_key?(:'mobileExtension')
|
577
|
+
self.mobile_extension = attributes[:'mobileExtension']
|
578
|
+
end
|
579
|
+
|
580
|
+
if attributes.has_key?(:'mobilePhone')
|
581
|
+
self.mobile_phone = attributes[:'mobilePhone']
|
582
|
+
end
|
583
|
+
|
584
|
+
if attributes.has_key?(:'notes')
|
585
|
+
self.notes = attributes[:'notes']
|
586
|
+
end
|
587
|
+
|
588
|
+
if attributes.has_key?(:'officeEmail')
|
589
|
+
self.office_email = attributes[:'officeEmail']
|
590
|
+
end
|
591
|
+
|
592
|
+
if attributes.has_key?(:'officeExtension')
|
593
|
+
self.office_extension = attributes[:'officeExtension']
|
594
|
+
end
|
595
|
+
|
596
|
+
if attributes.has_key?(:'officePhone')
|
597
|
+
self.office_phone = attributes[:'officePhone']
|
598
|
+
end
|
599
|
+
|
600
|
+
if attributes.has_key?(:'projectDefaultBoard')
|
601
|
+
self.project_default_board = attributes[:'projectDefaultBoard']
|
602
|
+
end
|
603
|
+
|
604
|
+
if attributes.has_key?(:'projectDefaultDepartmentId')
|
605
|
+
self.project_default_department_id = attributes[:'projectDefaultDepartmentId']
|
606
|
+
end
|
607
|
+
|
608
|
+
if attributes.has_key?(:'projectDefaultLocationId')
|
609
|
+
self.project_default_location_id = attributes[:'projectDefaultLocationId']
|
610
|
+
end
|
611
|
+
|
612
|
+
if attributes.has_key?(:'reportsTo')
|
613
|
+
self.reports_to = attributes[:'reportsTo']
|
614
|
+
end
|
615
|
+
|
616
|
+
if attributes.has_key?(:'requireExpenseEntryFlag')
|
617
|
+
self.require_expense_entry_flag = attributes[:'requireExpenseEntryFlag']
|
618
|
+
end
|
619
|
+
|
620
|
+
if attributes.has_key?(:'requireStartAndEndTimeOnTimeEntryFlag')
|
621
|
+
self.require_start_and_end_time_on_time_entry_flag = attributes[:'requireStartAndEndTimeOnTimeEntryFlag']
|
622
|
+
end
|
623
|
+
|
624
|
+
if attributes.has_key?(:'requireTimeSheetEntryFlag')
|
625
|
+
self.require_time_sheet_entry_flag = attributes[:'requireTimeSheetEntryFlag']
|
626
|
+
end
|
627
|
+
|
628
|
+
if attributes.has_key?(:'restrictDefaultSalesTerritoryFlag')
|
629
|
+
self.restrict_default_sales_territory_flag = attributes[:'restrictDefaultSalesTerritoryFlag']
|
630
|
+
end
|
631
|
+
|
632
|
+
if attributes.has_key?(:'restrictDefaultWarehouseBinFlag')
|
633
|
+
self.restrict_default_warehouse_bin_flag = attributes[:'restrictDefaultWarehouseBinFlag']
|
634
|
+
end
|
635
|
+
|
636
|
+
if attributes.has_key?(:'restrictDefaultWarehouseFlag')
|
637
|
+
self.restrict_default_warehouse_flag = attributes[:'restrictDefaultWarehouseFlag']
|
638
|
+
end
|
639
|
+
|
640
|
+
if attributes.has_key?(:'restrictDepartmentFlag')
|
641
|
+
self.restrict_department_flag = attributes[:'restrictDepartmentFlag']
|
642
|
+
end
|
643
|
+
|
644
|
+
if attributes.has_key?(:'restrictLocationFlag')
|
645
|
+
self.restrict_location_flag = attributes[:'restrictLocationFlag']
|
646
|
+
end
|
647
|
+
|
648
|
+
if attributes.has_key?(:'restrictProjectDefaultDepartmentFlag')
|
649
|
+
self.restrict_project_default_department_flag = attributes[:'restrictProjectDefaultDepartmentFlag']
|
650
|
+
end
|
651
|
+
|
652
|
+
if attributes.has_key?(:'restrictProjectDefaultLocationFlag')
|
653
|
+
self.restrict_project_default_location_flag = attributes[:'restrictProjectDefaultLocationFlag']
|
654
|
+
end
|
655
|
+
|
656
|
+
if attributes.has_key?(:'restrictScheduleFlag')
|
657
|
+
self.restrict_schedule_flag = attributes[:'restrictScheduleFlag']
|
658
|
+
end
|
659
|
+
|
660
|
+
if attributes.has_key?(:'restrictServiceDefaultDepartmentFlag')
|
661
|
+
self.restrict_service_default_department_flag = attributes[:'restrictServiceDefaultDepartmentFlag']
|
662
|
+
end
|
663
|
+
|
664
|
+
if attributes.has_key?(:'restrictServiceDefaultLocationFlag')
|
665
|
+
self.restrict_service_default_location_flag = attributes[:'restrictServiceDefaultLocationFlag']
|
666
|
+
end
|
667
|
+
|
668
|
+
if attributes.has_key?(:'salesDefaultLocationId')
|
669
|
+
self.sales_default_location_id = attributes[:'salesDefaultLocationId']
|
670
|
+
end
|
671
|
+
|
672
|
+
if attributes.has_key?(:'scheduleCapacity')
|
673
|
+
self.schedule_capacity = attributes[:'scheduleCapacity']
|
674
|
+
end
|
675
|
+
|
676
|
+
if attributes.has_key?(:'scheduleDefaultDepartmentId')
|
677
|
+
self.schedule_default_department_id = attributes[:'scheduleDefaultDepartmentId']
|
678
|
+
end
|
679
|
+
|
680
|
+
if attributes.has_key?(:'scheduleDefaultLocationId')
|
681
|
+
self.schedule_default_location_id = attributes[:'scheduleDefaultLocationId']
|
682
|
+
end
|
683
|
+
|
684
|
+
if attributes.has_key?(:'securityLevel')
|
685
|
+
self.security_level = attributes[:'securityLevel']
|
686
|
+
end
|
687
|
+
|
688
|
+
if attributes.has_key?(:'securityLocationId')
|
689
|
+
self.security_location_id = attributes[:'securityLocationId']
|
690
|
+
end
|
691
|
+
|
692
|
+
if attributes.has_key?(:'securityRole')
|
693
|
+
self.security_role = attributes[:'securityRole']
|
694
|
+
end
|
695
|
+
|
696
|
+
if attributes.has_key?(:'serviceDefaultBoard')
|
697
|
+
self.service_default_board = attributes[:'serviceDefaultBoard']
|
698
|
+
end
|
699
|
+
|
700
|
+
if attributes.has_key?(:'serviceDefaultDepartmentId')
|
701
|
+
self.service_default_department_id = attributes[:'serviceDefaultDepartmentId']
|
702
|
+
end
|
703
|
+
|
704
|
+
if attributes.has_key?(:'serviceDefaultLocationId')
|
705
|
+
self.service_default_location_id = attributes[:'serviceDefaultLocationId']
|
706
|
+
end
|
707
|
+
|
708
|
+
if attributes.has_key?(:'serviceLocation')
|
709
|
+
self.service_location = attributes[:'serviceLocation']
|
710
|
+
end
|
711
|
+
|
712
|
+
if attributes.has_key?(:'serviceTeams')
|
713
|
+
if (value = attributes[:'serviceTeams']).is_a?(Array)
|
714
|
+
self.service_teams = value
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
718
|
+
if attributes.has_key?(:'timeApprover')
|
719
|
+
self.time_approver = attributes[:'timeApprover']
|
720
|
+
end
|
721
|
+
|
722
|
+
if attributes.has_key?(:'timeReminderEmailFlag')
|
723
|
+
self.time_reminder_email_flag = attributes[:'timeReminderEmailFlag']
|
724
|
+
end
|
725
|
+
|
726
|
+
if attributes.has_key?(:'timeSheetStartDate')
|
727
|
+
self.time_sheet_start_date = attributes[:'timeSheetStartDate']
|
728
|
+
end
|
729
|
+
|
730
|
+
if attributes.has_key?(:'timeZone')
|
731
|
+
self.time_zone = attributes[:'timeZone']
|
732
|
+
end
|
733
|
+
|
734
|
+
if attributes.has_key?(:'title')
|
735
|
+
self.title = attributes[:'title']
|
736
|
+
end
|
737
|
+
|
738
|
+
if attributes.has_key?(:'type')
|
739
|
+
self.type = attributes[:'type']
|
740
|
+
end
|
741
|
+
|
742
|
+
if attributes.has_key?(:'vendorNumber')
|
743
|
+
self.vendor_number = attributes[:'vendorNumber']
|
744
|
+
end
|
745
|
+
|
746
|
+
if attributes.has_key?(:'warehouse')
|
747
|
+
self.warehouse = attributes[:'warehouse']
|
748
|
+
end
|
749
|
+
|
750
|
+
if attributes.has_key?(:'warehouseBin')
|
751
|
+
self.warehouse_bin = attributes[:'warehouseBin']
|
752
|
+
end
|
753
|
+
|
754
|
+
if attributes.has_key?(:'workRole')
|
755
|
+
self.work_role = attributes[:'workRole']
|
756
|
+
end
|
757
|
+
|
758
|
+
if attributes.has_key?(:'workType')
|
759
|
+
self.work_type = attributes[:'workType']
|
760
|
+
end
|
761
|
+
|
762
|
+
if attributes.has_key?(:'_info')
|
763
|
+
self._info = attributes[:'_info']
|
764
|
+
end
|
765
|
+
|
766
|
+
if attributes.has_key?(:'System_Flag')
|
767
|
+
self.system_flag = attributes[:'System_Flag']
|
768
|
+
end
|
769
|
+
|
770
|
+
end
|
771
|
+
|
772
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
773
|
+
# @return Array for valid properies with the reasons
|
774
|
+
def list_invalid_properties
|
775
|
+
invalid_properties = Array.new
|
776
|
+
return invalid_properties
|
777
|
+
end
|
778
|
+
|
779
|
+
# Check to see if the all the properties in the model are valid
|
780
|
+
# @return true if the model is valid
|
781
|
+
def valid?
|
782
|
+
return false if @default_department_id.nil?
|
783
|
+
return false if @default_email.to_s.length <
|
784
|
+
return false if @default_location_id.nil?
|
785
|
+
return false if @default_phone.to_s.length <
|
786
|
+
return false if @expense_approver.nil?
|
787
|
+
return false if @first_name.nil?
|
788
|
+
return false if @first_name.to_s.length <
|
789
|
+
return false if @home_email.to_s.length <
|
790
|
+
return false if @home_extension.to_s.length <
|
791
|
+
return false if @home_phone.to_s.length <
|
792
|
+
return false if @identifier.nil?
|
793
|
+
return false if @identifier.to_s.length <
|
794
|
+
return false if @last_name.nil?
|
795
|
+
return false if @last_name.to_s.length <
|
796
|
+
return false if @license_class.nil?
|
797
|
+
license_class_validator = EnumAttributeValidator.new('String', ["F", "A", "C", "X"])
|
798
|
+
return false unless license_class_validator.valid?(@license_class)
|
799
|
+
return false if @mobile_email.to_s.length <
|
800
|
+
return false if @mobile_extension.to_s.length <
|
801
|
+
return false if @mobile_phone.to_s.length <
|
802
|
+
return false if @office_email.to_s.length <
|
803
|
+
return false if @office_extension.to_s.length <
|
804
|
+
return false if @office_phone.to_s.length <
|
805
|
+
return false if @sales_default_location_id.nil?
|
806
|
+
return false if @time_approver.nil?
|
807
|
+
return false if @time_zone.nil?
|
808
|
+
return false if @title.to_s.length <
|
809
|
+
return false if @work_role.nil?
|
810
|
+
return true
|
811
|
+
end
|
812
|
+
|
813
|
+
# Custom attribute writer method with validation
|
814
|
+
# @param [Object] default_email Value to be assigned
|
815
|
+
def default_email=(default_email)
|
816
|
+
if default_email.nil?
|
817
|
+
fail ArgumentError, "default_email cannot be nil"
|
818
|
+
end
|
819
|
+
|
820
|
+
if default_email.to_s.length <
|
821
|
+
fail ArgumentError, "invalid value for 'default_email', the character length must be great than or equal to ."
|
822
|
+
end
|
823
|
+
|
824
|
+
@default_email = default_email
|
825
|
+
end
|
826
|
+
|
827
|
+
# Custom attribute writer method with validation
|
828
|
+
# @param [Object] default_phone Value to be assigned
|
829
|
+
def default_phone=(default_phone)
|
830
|
+
if default_phone.nil?
|
831
|
+
fail ArgumentError, "default_phone cannot be nil"
|
832
|
+
end
|
833
|
+
|
834
|
+
if default_phone.to_s.length <
|
835
|
+
fail ArgumentError, "invalid value for 'default_phone', the character length must be great than or equal to ."
|
836
|
+
end
|
837
|
+
|
838
|
+
@default_phone = default_phone
|
839
|
+
end
|
840
|
+
|
841
|
+
# Custom attribute writer method with validation
|
842
|
+
# @param [Object] first_name Value to be assigned
|
843
|
+
def first_name=(first_name)
|
844
|
+
if first_name.nil?
|
845
|
+
fail ArgumentError, "first_name cannot be nil"
|
846
|
+
end
|
847
|
+
|
848
|
+
if first_name.to_s.length <
|
849
|
+
fail ArgumentError, "invalid value for 'first_name', the character length must be great than or equal to ."
|
850
|
+
end
|
851
|
+
|
852
|
+
@first_name = first_name
|
853
|
+
end
|
854
|
+
|
855
|
+
# Custom attribute writer method with validation
|
856
|
+
# @param [Object] home_email Value to be assigned
|
857
|
+
def home_email=(home_email)
|
858
|
+
if home_email.nil?
|
859
|
+
fail ArgumentError, "home_email cannot be nil"
|
860
|
+
end
|
861
|
+
|
862
|
+
if home_email.to_s.length <
|
863
|
+
fail ArgumentError, "invalid value for 'home_email', the character length must be great than or equal to ."
|
864
|
+
end
|
865
|
+
|
866
|
+
@home_email = home_email
|
867
|
+
end
|
868
|
+
|
869
|
+
# Custom attribute writer method with validation
|
870
|
+
# @param [Object] home_extension Value to be assigned
|
871
|
+
def home_extension=(home_extension)
|
872
|
+
if home_extension.nil?
|
873
|
+
fail ArgumentError, "home_extension cannot be nil"
|
874
|
+
end
|
875
|
+
|
876
|
+
if home_extension.to_s.length <
|
877
|
+
fail ArgumentError, "invalid value for 'home_extension', the character length must be great than or equal to ."
|
878
|
+
end
|
879
|
+
|
880
|
+
@home_extension = home_extension
|
881
|
+
end
|
882
|
+
|
883
|
+
# Custom attribute writer method with validation
|
884
|
+
# @param [Object] home_phone Value to be assigned
|
885
|
+
def home_phone=(home_phone)
|
886
|
+
if home_phone.nil?
|
887
|
+
fail ArgumentError, "home_phone cannot be nil"
|
888
|
+
end
|
889
|
+
|
890
|
+
if home_phone.to_s.length <
|
891
|
+
fail ArgumentError, "invalid value for 'home_phone', the character length must be great than or equal to ."
|
892
|
+
end
|
893
|
+
|
894
|
+
@home_phone = home_phone
|
895
|
+
end
|
896
|
+
|
897
|
+
# Custom attribute writer method with validation
|
898
|
+
# @param [Object] identifier Value to be assigned
|
899
|
+
def identifier=(identifier)
|
900
|
+
if identifier.nil?
|
901
|
+
fail ArgumentError, "identifier cannot be nil"
|
902
|
+
end
|
903
|
+
|
904
|
+
if identifier.to_s.length <
|
905
|
+
fail ArgumentError, "invalid value for 'identifier', the character length must be great than or equal to ."
|
906
|
+
end
|
907
|
+
|
908
|
+
@identifier = identifier
|
909
|
+
end
|
910
|
+
|
911
|
+
# Custom attribute writer method with validation
|
912
|
+
# @param [Object] last_name Value to be assigned
|
913
|
+
def last_name=(last_name)
|
914
|
+
if last_name.nil?
|
915
|
+
fail ArgumentError, "last_name cannot be nil"
|
916
|
+
end
|
917
|
+
|
918
|
+
if last_name.to_s.length <
|
919
|
+
fail ArgumentError, "invalid value for 'last_name', the character length must be great than or equal to ."
|
920
|
+
end
|
921
|
+
|
922
|
+
@last_name = last_name
|
923
|
+
end
|
924
|
+
|
925
|
+
# Custom attribute writer method checking allowed values (enum).
|
926
|
+
# @param [Object] license_class Object to be assigned
|
927
|
+
def license_class=(license_class)
|
928
|
+
validator = EnumAttributeValidator.new('String', ["F", "A", "C", "X"])
|
929
|
+
unless validator.valid?(license_class)
|
930
|
+
fail ArgumentError, "invalid value for 'license_class', must be one of #{validator.allowable_values}."
|
931
|
+
end
|
932
|
+
@license_class = license_class
|
933
|
+
end
|
934
|
+
|
935
|
+
# Custom attribute writer method with validation
|
936
|
+
# @param [Object] mobile_email Value to be assigned
|
937
|
+
def mobile_email=(mobile_email)
|
938
|
+
if mobile_email.nil?
|
939
|
+
fail ArgumentError, "mobile_email cannot be nil"
|
940
|
+
end
|
941
|
+
|
942
|
+
if mobile_email.to_s.length <
|
943
|
+
fail ArgumentError, "invalid value for 'mobile_email', the character length must be great than or equal to ."
|
944
|
+
end
|
945
|
+
|
946
|
+
@mobile_email = mobile_email
|
947
|
+
end
|
948
|
+
|
949
|
+
# Custom attribute writer method with validation
|
950
|
+
# @param [Object] mobile_extension Value to be assigned
|
951
|
+
def mobile_extension=(mobile_extension)
|
952
|
+
if mobile_extension.nil?
|
953
|
+
fail ArgumentError, "mobile_extension cannot be nil"
|
954
|
+
end
|
955
|
+
|
956
|
+
if mobile_extension.to_s.length <
|
957
|
+
fail ArgumentError, "invalid value for 'mobile_extension', the character length must be great than or equal to ."
|
958
|
+
end
|
959
|
+
|
960
|
+
@mobile_extension = mobile_extension
|
961
|
+
end
|
962
|
+
|
963
|
+
# Custom attribute writer method with validation
|
964
|
+
# @param [Object] mobile_phone Value to be assigned
|
965
|
+
def mobile_phone=(mobile_phone)
|
966
|
+
if mobile_phone.nil?
|
967
|
+
fail ArgumentError, "mobile_phone cannot be nil"
|
968
|
+
end
|
969
|
+
|
970
|
+
if mobile_phone.to_s.length <
|
971
|
+
fail ArgumentError, "invalid value for 'mobile_phone', the character length must be great than or equal to ."
|
972
|
+
end
|
973
|
+
|
974
|
+
@mobile_phone = mobile_phone
|
975
|
+
end
|
976
|
+
|
977
|
+
# Custom attribute writer method with validation
|
978
|
+
# @param [Object] office_email Value to be assigned
|
979
|
+
def office_email=(office_email)
|
980
|
+
if office_email.nil?
|
981
|
+
fail ArgumentError, "office_email cannot be nil"
|
982
|
+
end
|
983
|
+
|
984
|
+
if office_email.to_s.length <
|
985
|
+
fail ArgumentError, "invalid value for 'office_email', the character length must be great than or equal to ."
|
986
|
+
end
|
987
|
+
|
988
|
+
@office_email = office_email
|
989
|
+
end
|
990
|
+
|
991
|
+
# Custom attribute writer method with validation
|
992
|
+
# @param [Object] office_extension Value to be assigned
|
993
|
+
def office_extension=(office_extension)
|
994
|
+
if office_extension.nil?
|
995
|
+
fail ArgumentError, "office_extension cannot be nil"
|
996
|
+
end
|
997
|
+
|
998
|
+
if office_extension.to_s.length <
|
999
|
+
fail ArgumentError, "invalid value for 'office_extension', the character length must be great than or equal to ."
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
@office_extension = office_extension
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# Custom attribute writer method with validation
|
1006
|
+
# @param [Object] office_phone Value to be assigned
|
1007
|
+
def office_phone=(office_phone)
|
1008
|
+
if office_phone.nil?
|
1009
|
+
fail ArgumentError, "office_phone cannot be nil"
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
if office_phone.to_s.length <
|
1013
|
+
fail ArgumentError, "invalid value for 'office_phone', the character length must be great than or equal to ."
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
@office_phone = office_phone
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
# Custom attribute writer method with validation
|
1020
|
+
# @param [Object] title Value to be assigned
|
1021
|
+
def title=(title)
|
1022
|
+
if title.nil?
|
1023
|
+
fail ArgumentError, "title cannot be nil"
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
if title.to_s.length <
|
1027
|
+
fail ArgumentError, "invalid value for 'title', the character length must be great than or equal to ."
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
@title = title
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# Checks equality by comparing each attribute.
|
1034
|
+
# @param [Object] Object to be compared
|
1035
|
+
def ==(o)
|
1036
|
+
return true if self.equal?(o)
|
1037
|
+
self.class == o.class &&
|
1038
|
+
admin_flag == o.admin_flag &&
|
1039
|
+
allow_expenses_entered_against_companies_flag == o.allow_expenses_entered_against_companies_flag &&
|
1040
|
+
allow_in_cell_entry_on_time_sheet == o.allow_in_cell_entry_on_time_sheet &&
|
1041
|
+
billable_forecast == o.billable_forecast &&
|
1042
|
+
calendar == o.calendar &&
|
1043
|
+
calendar_sync_integration_flag == o.calendar_sync_integration_flag &&
|
1044
|
+
country == o.country &&
|
1045
|
+
daily_capacity == o.daily_capacity &&
|
1046
|
+
days_tolerance == o.days_tolerance &&
|
1047
|
+
default_department_id == o.default_department_id &&
|
1048
|
+
default_email == o.default_email &&
|
1049
|
+
default_location_id == o.default_location_id &&
|
1050
|
+
default_phone == o.default_phone &&
|
1051
|
+
disable_online_flag == o.disable_online_flag &&
|
1052
|
+
enable_ldap_authentication_flag == o.enable_ldap_authentication_flag &&
|
1053
|
+
enable_mobile_flag == o.enable_mobile_flag &&
|
1054
|
+
enable_mobile_gps_flag == o.enable_mobile_gps_flag &&
|
1055
|
+
enter_time_against_company_flag == o.enter_time_against_company_flag &&
|
1056
|
+
expense_approver == o.expense_approver &&
|
1057
|
+
first_name == o.first_name &&
|
1058
|
+
hide_member_in_dispatch_portal_flag == o.hide_member_in_dispatch_portal_flag &&
|
1059
|
+
hire_date == o.hire_date &&
|
1060
|
+
home_email == o.home_email &&
|
1061
|
+
home_extension == o.home_extension &&
|
1062
|
+
home_phone == o.home_phone &&
|
1063
|
+
hourly_cost == o.hourly_cost &&
|
1064
|
+
hourly_rate == o.hourly_rate &&
|
1065
|
+
id == o.id &&
|
1066
|
+
identifier == o.identifier &&
|
1067
|
+
inactive_date == o.inactive_date &&
|
1068
|
+
inactive_flag == o.inactive_flag &&
|
1069
|
+
include_in_utilization_reporting_flag == o.include_in_utilization_reporting_flag &&
|
1070
|
+
last_login == o.last_login &&
|
1071
|
+
last_name == o.last_name &&
|
1072
|
+
license_class == o.license_class &&
|
1073
|
+
mapi_name == o.mapi_name &&
|
1074
|
+
middle_initial == o.middle_initial &&
|
1075
|
+
minimum_hours == o.minimum_hours &&
|
1076
|
+
mobile_email == o.mobile_email &&
|
1077
|
+
mobile_extension == o.mobile_extension &&
|
1078
|
+
mobile_phone == o.mobile_phone &&
|
1079
|
+
notes == o.notes &&
|
1080
|
+
office_email == o.office_email &&
|
1081
|
+
office_extension == o.office_extension &&
|
1082
|
+
office_phone == o.office_phone &&
|
1083
|
+
project_default_board == o.project_default_board &&
|
1084
|
+
project_default_department_id == o.project_default_department_id &&
|
1085
|
+
project_default_location_id == o.project_default_location_id &&
|
1086
|
+
reports_to == o.reports_to &&
|
1087
|
+
require_expense_entry_flag == o.require_expense_entry_flag &&
|
1088
|
+
require_start_and_end_time_on_time_entry_flag == o.require_start_and_end_time_on_time_entry_flag &&
|
1089
|
+
require_time_sheet_entry_flag == o.require_time_sheet_entry_flag &&
|
1090
|
+
restrict_default_sales_territory_flag == o.restrict_default_sales_territory_flag &&
|
1091
|
+
restrict_default_warehouse_bin_flag == o.restrict_default_warehouse_bin_flag &&
|
1092
|
+
restrict_default_warehouse_flag == o.restrict_default_warehouse_flag &&
|
1093
|
+
restrict_department_flag == o.restrict_department_flag &&
|
1094
|
+
restrict_location_flag == o.restrict_location_flag &&
|
1095
|
+
restrict_project_default_department_flag == o.restrict_project_default_department_flag &&
|
1096
|
+
restrict_project_default_location_flag == o.restrict_project_default_location_flag &&
|
1097
|
+
restrict_schedule_flag == o.restrict_schedule_flag &&
|
1098
|
+
restrict_service_default_department_flag == o.restrict_service_default_department_flag &&
|
1099
|
+
restrict_service_default_location_flag == o.restrict_service_default_location_flag &&
|
1100
|
+
sales_default_location_id == o.sales_default_location_id &&
|
1101
|
+
schedule_capacity == o.schedule_capacity &&
|
1102
|
+
schedule_default_department_id == o.schedule_default_department_id &&
|
1103
|
+
schedule_default_location_id == o.schedule_default_location_id &&
|
1104
|
+
security_level == o.security_level &&
|
1105
|
+
security_location_id == o.security_location_id &&
|
1106
|
+
security_role == o.security_role &&
|
1107
|
+
service_default_board == o.service_default_board &&
|
1108
|
+
service_default_department_id == o.service_default_department_id &&
|
1109
|
+
service_default_location_id == o.service_default_location_id &&
|
1110
|
+
service_location == o.service_location &&
|
1111
|
+
service_teams == o.service_teams &&
|
1112
|
+
time_approver == o.time_approver &&
|
1113
|
+
time_reminder_email_flag == o.time_reminder_email_flag &&
|
1114
|
+
time_sheet_start_date == o.time_sheet_start_date &&
|
1115
|
+
time_zone == o.time_zone &&
|
1116
|
+
title == o.title &&
|
1117
|
+
type == o.type &&
|
1118
|
+
vendor_number == o.vendor_number &&
|
1119
|
+
warehouse == o.warehouse &&
|
1120
|
+
warehouse_bin == o.warehouse_bin &&
|
1121
|
+
work_role == o.work_role &&
|
1122
|
+
work_type == o.work_type &&
|
1123
|
+
_info == o._info &&
|
1124
|
+
system_flag == o.system_flag
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
# @see the `==` method
|
1128
|
+
# @param [Object] Object to be compared
|
1129
|
+
def eql?(o)
|
1130
|
+
self == o
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
# Calculates hash code according to all attributes.
|
1134
|
+
# @return [Fixnum] Hash code
|
1135
|
+
def hash
|
1136
|
+
[admin_flag, allow_expenses_entered_against_companies_flag, allow_in_cell_entry_on_time_sheet, billable_forecast, calendar, calendar_sync_integration_flag, country, daily_capacity, days_tolerance, default_department_id, default_email, default_location_id, default_phone, disable_online_flag, enable_ldap_authentication_flag, enable_mobile_flag, enable_mobile_gps_flag, enter_time_against_company_flag, expense_approver, first_name, hide_member_in_dispatch_portal_flag, hire_date, home_email, home_extension, home_phone, hourly_cost, hourly_rate, id, identifier, inactive_date, inactive_flag, include_in_utilization_reporting_flag, last_login, last_name, license_class, mapi_name, middle_initial, minimum_hours, mobile_email, mobile_extension, mobile_phone, notes, office_email, office_extension, office_phone, project_default_board, project_default_department_id, project_default_location_id, reports_to, require_expense_entry_flag, require_start_and_end_time_on_time_entry_flag, require_time_sheet_entry_flag, restrict_default_sales_territory_flag, restrict_default_warehouse_bin_flag, restrict_default_warehouse_flag, restrict_department_flag, restrict_location_flag, restrict_project_default_department_flag, restrict_project_default_location_flag, restrict_schedule_flag, restrict_service_default_department_flag, restrict_service_default_location_flag, sales_default_location_id, schedule_capacity, schedule_default_department_id, schedule_default_location_id, security_level, security_location_id, security_role, service_default_board, service_default_department_id, service_default_location_id, service_location, service_teams, time_approver, time_reminder_email_flag, time_sheet_start_date, time_zone, title, type, vendor_number, warehouse, warehouse_bin, work_role, work_type, _info, system_flag].hash
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# Builds the object from hash
|
1140
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
1141
|
+
# @return [Object] Returns the model itself
|
1142
|
+
def build_from_hash(attributes)
|
1143
|
+
return nil unless attributes.is_a?(Hash)
|
1144
|
+
self.class.swagger_types.each_pair do |key, type|
|
1145
|
+
if type =~ /^Array<(.*)>/i
|
1146
|
+
# check to ensure the input is an array given that the the attribute
|
1147
|
+
# is documented as an array but the input is not
|
1148
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
1149
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
1150
|
+
end
|
1151
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
1152
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
1153
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
self
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
# Deserializes the data based on type
|
1160
|
+
# @param string type Data type
|
1161
|
+
# @param string value Value to be deserialized
|
1162
|
+
# @return [Object] Deserialized data
|
1163
|
+
def _deserialize(type, value)
|
1164
|
+
case type.to_sym
|
1165
|
+
when :DateTime
|
1166
|
+
DateTime.parse(value)
|
1167
|
+
when :Date
|
1168
|
+
Date.parse(value)
|
1169
|
+
when :String
|
1170
|
+
value.to_s
|
1171
|
+
when :Integer
|
1172
|
+
value.to_i
|
1173
|
+
when :Float
|
1174
|
+
value.to_f
|
1175
|
+
when :BOOLEAN
|
1176
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
1177
|
+
true
|
1178
|
+
else
|
1179
|
+
false
|
1180
|
+
end
|
1181
|
+
when :Object
|
1182
|
+
# generic object (usually a Hash), return directly
|
1183
|
+
value
|
1184
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
1185
|
+
inner_type = Regexp.last_match[:inner_type]
|
1186
|
+
value.map { |v| _deserialize(inner_type, v) }
|
1187
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
1188
|
+
k_type = Regexp.last_match[:k_type]
|
1189
|
+
v_type = Regexp.last_match[:v_type]
|
1190
|
+
{}.tap do |hash|
|
1191
|
+
value.each do |k, v|
|
1192
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
1193
|
+
end
|
1194
|
+
end
|
1195
|
+
else # model
|
1196
|
+
temp_model = Connectwise.const_get(type).new
|
1197
|
+
temp_model.build_from_hash(value)
|
1198
|
+
end
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# Returns the string representation of the object
|
1202
|
+
# @return [String] String presentation of the object
|
1203
|
+
def to_s
|
1204
|
+
to_hash.to_s
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
# to_body is an alias to to_hash (backward compatibility)
|
1208
|
+
# @return [Hash] Returns the object in the form of hash
|
1209
|
+
def to_body
|
1210
|
+
to_hash
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
# Returns the object in the form of hash
|
1214
|
+
# @return [Hash] Returns the object in the form of hash
|
1215
|
+
def to_hash
|
1216
|
+
hash = {}
|
1217
|
+
self.class.attribute_map.each_pair do |attr, param|
|
1218
|
+
value = self.send(attr)
|
1219
|
+
next if value.nil?
|
1220
|
+
hash[param] = _to_hash(value)
|
1221
|
+
end
|
1222
|
+
hash
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# Outputs non-array value in the form of hash
|
1226
|
+
# For object, use to_hash. Otherwise, just return the value
|
1227
|
+
# @param [Object] value Any valid value
|
1228
|
+
# @return [Hash] Returns the value in the form of hash
|
1229
|
+
def _to_hash(value)
|
1230
|
+
if value.is_a?(Array)
|
1231
|
+
value.compact.map{ |v| _to_hash(v) }
|
1232
|
+
elsif value.is_a?(Hash)
|
1233
|
+
{}.tap do |hash|
|
1234
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
1235
|
+
end
|
1236
|
+
elsif value.respond_to? :to_hash
|
1237
|
+
value.to_hash
|
1238
|
+
else
|
1239
|
+
value
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
end
|
1244
|
+
|
1245
|
+
end
|