crisphive

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 20 Imported by: 0

README

Crisphive Go

The official Go SDK for the Crisphive API.

This library is generated from the Crisphive OpenAPI specification and gives you typed access to the public /v1 API — customers, bookings, catalog, team and fleet.

Requirements

Go 1.18 or later.

Installation

go get github.com/crisphive/crisphive-go

Authentication

Every request is authenticated with a secret API key sent as a bearer token. Create keys from your Crisphive business dashboard. The key prefix selects the data environment:

  • chsk_live_… → live (production) data
  • chsk_test_… → sandbox (isolated test) data

Keep secret keys out of source control — load them from the environment.

Usage

package main

import (
	"context"
	"fmt"
	"os"

	crisphive "github.com/crisphive/crisphive-go"
)

func main() {
	client := crisphive.NewAPIClient(crisphive.NewConfiguration())

	// Pass your key on the context; the SDK adds the "Bearer " prefix.
	ctx := context.WithValue(context.Background(),
		crisphive.ContextAccessToken, os.Getenv("CRISPHIVE_API_KEY"))

	// List customers.
	res, _, err := client.CustomerAPI.ListCustomers(ctx).Limit(20).Execute()
	if err != nil {
		panic(err)
	}
	for _, c := range res.GetData().GetCustomers() {
		fmt.Println(c.GetId(), c.GetFullName())
	}

	// Create a customer.
	created, _, err := client.CustomerAPI.CreateCustomer(ctx).
		CustomerCreateRequest(crisphive.CustomerCreateRequest{
			FullName: "Ada Lovelace",
			Email:    crisphive.PtrString("ada@example.com"),
		}).Execute()
	if err != nil {
		panic(err)
	}
	fmt.Println("created", created.GetData().GetCustomerId())
}

Pagination

List endpoints accept .Page(n) / .Limit(n) and return a meta object (total, count, per_page, current_page, total_pages).

Idempotency

POST creates (customers, bookings) accept an idempotency key so retries never create a duplicate. Set the Idempotency-Key header via a per-request option or the shared config's default headers.

Errors

A non-2xx response returns an error and a *http.Response; inspect res.StatusCode and the decoded body for the Crisphive error code.

Documentation

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedJobDatePeriodEnumValues = []JobDatePeriod{
	"morning",
	"afternoon",
	"evening",
}

All allowed values of JobDatePeriod enum

View Source
var AllowedTechnicianStatusEnumValues = []TechnicianStatus{
	"active",
	"onboarding",
	"deactive",
}

All allowed values of TechnicianStatus enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	BusinessSkillAPI *BusinessSkillAPIService

	CustomerAPI *CustomerAPIService

	JobRequestBusinessAPI *JobRequestBusinessAPIService

	JobTypesAPI *JobTypesAPIService

	ServiceAreaAPI *ServiceAreaAPIService

	TechnicianAPI *TechnicianAPIService

	VehicleAPI *VehicleAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Crisphive Developer API API v1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCommitEmergencyRescheduleRequest added in v0.2.0

type ApiCommitEmergencyRescheduleRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiCommitEmergencyRescheduleRequest) Execute added in v0.2.0

func (ApiCommitEmergencyRescheduleRequest) IdempotencyKey added in v0.2.0

Unique key making retries safe: a repeat send with the same key replays the original response (header Idempotent-Replayed: true) instead of re-running the operation. Reusing a key with a different body returns 422 IDEMPOTENCY_KEY_REUSE.

func (ApiCommitEmergencyRescheduleRequest) JobRequestEmergencyCommitRequest added in v0.2.0

func (r ApiCommitEmergencyRescheduleRequest) JobRequestEmergencyCommitRequest(jobRequestEmergencyCommitRequest JobRequestEmergencyCommitRequest) ApiCommitEmergencyRescheduleRequest

emergency insert spec

type ApiCommitJobRequestMoveRequest added in v0.2.0

type ApiCommitJobRequestMoveRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiCommitJobRequestMoveRequest) Execute added in v0.2.0

func (ApiCommitJobRequestMoveRequest) IdempotencyKey added in v0.2.0

func (r ApiCommitJobRequestMoveRequest) IdempotencyKey(idempotencyKey string) ApiCommitJobRequestMoveRequest

Unique key making retries safe: a repeat send with the same key replays the original response (header Idempotent-Replayed: true) instead of re-running the operation. Reusing a key with a different body returns 422 IDEMPOTENCY_KEY_REUSE.

func (ApiCommitJobRequestMoveRequest) JobRequestMoveCommitReq added in v0.2.0

func (r ApiCommitJobRequestMoveRequest) JobRequestMoveCommitReq(jobRequestMoveCommitReq JobRequestMoveCommitReq) ApiCommitJobRequestMoveRequest

move spec

type ApiConfirmJobRequestRequest added in v0.2.0

type ApiConfirmJobRequestRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiConfirmJobRequestRequest) Execute added in v0.2.0

func (ApiConfirmJobRequestRequest) IdempotencyKey added in v0.2.0

func (r ApiConfirmJobRequestRequest) IdempotencyKey(idempotencyKey string) ApiConfirmJobRequestRequest

Unique key making retries safe: a repeat send with the same key replays the original response (header Idempotent-Replayed: true) instead of re-running the operation. Reusing a key with a different body returns 422 IDEMPOTENCY_KEY_REUSE.

func (ApiConfirmJobRequestRequest) JobRequestConfirmRequest added in v0.2.0

func (r ApiConfirmJobRequestRequest) JobRequestConfirmRequest(jobRequestConfirmRequest JobRequestConfirmRequest) ApiConfirmJobRequestRequest

Chosen slot (scheduled_at) + optional technician_id force-assign (P0–P3 flow: pins the ranked candidate, feasibility still enforced)

type ApiCreateCustomerRequest

type ApiCreateCustomerRequest struct {
	ApiService *CustomerAPIService
	// contains filtered or unexported fields
}

func (ApiCreateCustomerRequest) CustomerCreateRequest

func (r ApiCreateCustomerRequest) CustomerCreateRequest(customerCreateRequest CustomerCreateRequest) ApiCreateCustomerRequest

Customer details

func (ApiCreateCustomerRequest) Execute

func (ApiCreateCustomerRequest) IdempotencyKey added in v0.2.0

func (r ApiCreateCustomerRequest) IdempotencyKey(idempotencyKey string) ApiCreateCustomerRequest

Unique key making retries safe: a repeat send with the same key replays the original response (header Idempotent-Replayed: true) instead of re-running the operation. Reusing a key with a different body returns 422 IDEMPOTENCY_KEY_REUSE.

type ApiCreateJobRequestRequest

type ApiCreateJobRequestRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiCreateJobRequestRequest) Execute

func (ApiCreateJobRequestRequest) IdempotencyKey added in v0.2.0

func (r ApiCreateJobRequestRequest) IdempotencyKey(idempotencyKey string) ApiCreateJobRequestRequest

Unique key making retries safe: a repeat send with the same key returns the original booking instead of creating a duplicate

func (ApiCreateJobRequestRequest) JobRequestCreateRequest

func (r ApiCreateJobRequestRequest) JobRequestCreateRequest(jobRequestCreateRequest JobRequestCreateRequest) ApiCreateJobRequestRequest

Booking payload

func (ApiCreateJobRequestRequest) XTimezone

Customer IANA timezone

type ApiCreateTechnicianRequest added in v0.2.0

type ApiCreateTechnicianRequest struct {
	ApiService *TechnicianAPIService
	// contains filtered or unexported fields
}

func (ApiCreateTechnicianRequest) Execute added in v0.2.0

func (ApiCreateTechnicianRequest) IdempotencyKey added in v0.2.0

func (r ApiCreateTechnicianRequest) IdempotencyKey(idempotencyKey string) ApiCreateTechnicianRequest

Unique key making retries safe: a repeat send with the same key replays the original response (header Idempotent-Replayed: true) instead of re-running the operation. Reusing a key with a different body returns 422 IDEMPOTENCY_KEY_REUSE.

func (ApiCreateTechnicianRequest) TechnicianCreateRequest added in v0.2.0

func (r ApiCreateTechnicianRequest) TechnicianCreateRequest(technicianCreateRequest TechnicianCreateRequest) ApiCreateTechnicianRequest

Technician details

type ApiDeleteCustomerRequest

type ApiDeleteCustomerRequest struct {
	ApiService *CustomerAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteCustomerRequest) Execute

type ApiDeleteTechnicianRequest added in v0.2.0

type ApiDeleteTechnicianRequest struct {
	ApiService *TechnicianAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteTechnicianRequest) Execute added in v0.2.0

type ApiGetCustomerRequest

type ApiGetCustomerRequest struct {
	ApiService *CustomerAPIService
	// contains filtered or unexported fields
}

func (ApiGetCustomerRequest) Execute

type ApiGetJobRequestRequest

type ApiGetJobRequestRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiGetJobRequestRequest) Execute

type ApiGetJobRequestTimelineRequest

type ApiGetJobRequestTimelineRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiGetJobRequestTimelineRequest) Execute

type ApiGetJobTypeRequest

type ApiGetJobTypeRequest struct {
	ApiService *JobTypesAPIService
	// contains filtered or unexported fields
}

func (ApiGetJobTypeRequest) Execute

type ApiGetServiceAreaRequest

type ApiGetServiceAreaRequest struct {
	ApiService *ServiceAreaAPIService
	// contains filtered or unexported fields
}

func (ApiGetServiceAreaRequest) Execute

type ApiGetTechnicianRequest

type ApiGetTechnicianRequest struct {
	ApiService *TechnicianAPIService
	// contains filtered or unexported fields
}

func (ApiGetTechnicianRequest) Execute

type ApiGetTechnicianScheduleRequest added in v0.2.0

type ApiGetTechnicianScheduleRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiGetTechnicianScheduleRequest) Execute added in v0.2.0

func (ApiGetTechnicianScheduleRequest) From added in v0.2.0

Start date (YYYY-MM-DD, business-local; default today)

func (ApiGetTechnicianScheduleRequest) To added in v0.2.0

End date (YYYY-MM-DD, inclusive; default from+7d; max range 31 days)

type ApiGetVehicleRequest

type ApiGetVehicleRequest struct {
	ApiService *VehicleAPIService
	// contains filtered or unexported fields
}

func (ApiGetVehicleRequest) Execute

type ApiListCrewCandidatesRequest added in v0.2.0

type ApiListCrewCandidatesRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiListCrewCandidatesRequest) Execute added in v0.2.0

func (ApiListCrewCandidatesRequest) ForceLeadId added in v0.2.0

Check a specific technician as lead — returns only that lead if feasible, else 409

func (ApiListCrewCandidatesRequest) IncludeBuddies added in v0.2.0

func (r ApiListCrewCandidatesRequest) IncludeBuddies(includeBuddies bool) ApiListCrewCandidatesRequest

Also return buddy candidate pools

func (ApiListCrewCandidatesRequest) IncludeVehicle added in v0.2.0

func (r ApiListCrewCandidatesRequest) IncludeVehicle(includeVehicle bool) ApiListCrewCandidatesRequest

Also return the available-vehicle list

type ApiListCustomersRequest

type ApiListCustomersRequest struct {
	ApiService *CustomerAPIService
	// contains filtered or unexported fields
}

func (ApiListCustomersRequest) Execute

func (ApiListCustomersRequest) Limit

Page size (default 15, max 1000)

func (ApiListCustomersRequest) Page

Page number (default 1)

func (ApiListCustomersRequest) PreferredTechnicianId

func (r ApiListCustomersRequest) PreferredTechnicianId(preferredTechnicianId string) ApiListCustomersRequest

Filter by preferred technician UUID

func (ApiListCustomersRequest) Q

Search name, UID, phone, email

func (ApiListCustomersRequest) Since

RFC3339 cursor for short-polling; echo back next_since from prior response

func (ApiListCustomersRequest) Sort

Sort: created_at_desc|created_at_asc|name_asc|name_desc|uid_asc|uid_desc (default: created_at_desc)

func (ApiListCustomersRequest) Status

Filter by status: active|inactive

func (ApiListCustomersRequest) Tier

Filter by tier: regular|vip (repeatable)

type ApiListEmergencyCandidatesRequest added in v0.2.0

type ApiListEmergencyCandidatesRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiListEmergencyCandidatesRequest) Execute added in v0.2.0

func (ApiListEmergencyCandidatesRequest) JobRequestEmergencyCandidatesRequest added in v0.2.0

func (r ApiListEmergencyCandidatesRequest) JobRequestEmergencyCandidatesRequest(jobRequestEmergencyCandidatesRequest JobRequestEmergencyCandidatesRequest) ApiListEmergencyCandidatesRequest

Emergency job + desired start

type ApiListJobRequestBookingWindowsRequest

type ApiListJobRequestBookingWindowsRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiListJobRequestBookingWindowsRequest) Execute

func (ApiListJobRequestBookingWindowsRequest) From

Start YYYY-MM-DD

func (ApiListJobRequestBookingWindowsRequest) To

End YYYY-MM-DD

func (ApiListJobRequestBookingWindowsRequest) XTimezone

Customer IANA timezone

type ApiListJobRequestChangesRequest

type ApiListJobRequestChangesRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiListJobRequestChangesRequest) CustomerId

Only changes to this customer's jobs (UUID)

func (ApiListJobRequestChangesRequest) Execute

func (ApiListJobRequestChangesRequest) Limit

Max changes per poll (default 15, max 1000). If the page fills, has_more=true.

func (ApiListJobRequestChangesRequest) Priority

Priority filter (p0|p1|p2|p3)

func (ApiListJobRequestChangesRequest) ScheduledFrom

Filter from (YYYY-MM-DD = start of that day in the business timezone, or RFC3339); range is [from, to)

func (ApiListJobRequestChangesRequest) ScheduledTo

Filter to (YYYY-MM-DD = end of that day in the business timezone, or RFC3339), exclusive

func (ApiListJobRequestChangesRequest) Since

RFC3339 cursor from the prior response's next_since. OMIT on the first poll to prime the cursor at server-now.

func (ApiListJobRequestChangesRequest) StatusKeys

Comma-separated status slugs — only surface changes to jobs in these statuses

func (ApiListJobRequestChangesRequest) TechnicianId

Only changes to jobs assigned to this technician (UUID)

type ApiListJobRequestsRequest

type ApiListJobRequestsRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiListJobRequestsRequest) CustomerId

Customer UUID

func (ApiListJobRequestsRequest) Execute

func (ApiListJobRequestsRequest) Limit

Page size

func (ApiListJobRequestsRequest) Page

Page number

func (ApiListJobRequestsRequest) Priority added in v0.2.0

Priority filter (p0|p1|p2|p3)

func (ApiListJobRequestsRequest) Q

Search short_code or description (case-insensitive, partial match)

func (ApiListJobRequestsRequest) ScheduledFrom

func (r ApiListJobRequestsRequest) ScheduledFrom(scheduledFrom string) ApiListJobRequestsRequest

Filter from (YYYY-MM-DD = start of that day in the business timezone, or RFC3339); range is [from, to)

func (ApiListJobRequestsRequest) ScheduledTo

func (r ApiListJobRequestsRequest) ScheduledTo(scheduledTo string) ApiListJobRequestsRequest

Filter to (YYYY-MM-DD = end of that day in the business timezone, or RFC3339), exclusive

func (ApiListJobRequestsRequest) ServiceAreaId added in v0.2.0

func (r ApiListJobRequestsRequest) ServiceAreaId(serviceAreaId string) ApiListJobRequestsRequest

Service-area UUID (board zone filter)

func (ApiListJobRequestsRequest) Sort

Sort key: created_at:desc (default) | created_at:asc | scheduled_at:asc | scheduled_at:desc | priority:asc (P0 first) | priority:desc

func (ApiListJobRequestsRequest) Status

active (default) | archived | all

func (ApiListJobRequestsRequest) StatusKeys

Comma-separated status slugs

func (ApiListJobRequestsRequest) TechnicianId

func (r ApiListJobRequestsRequest) TechnicianId(technicianId string) ApiListJobRequestsRequest

Technician UUID

type ApiListJobTypesRequest

type ApiListJobTypesRequest struct {
	ApiService *JobTypesAPIService
	// contains filtered or unexported fields
}

func (ApiListJobTypesRequest) Execute

func (ApiListJobTypesRequest) Status

Filter by status (active|inactive)

type ApiListMatchingSlotsRequest added in v0.2.0

type ApiListMatchingSlotsRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiListMatchingSlotsRequest) Execute added in v0.2.0

func (ApiListMatchingSlotsRequest) StepMinutes added in v0.2.0

Slot step in minutes (default: business arrival window, 5–240)

type ApiListNearbyTechniciansRequest added in v0.2.0

type ApiListNearbyTechniciansRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiListNearbyTechniciansRequest) At added in v0.2.0

Visit start (RFC3339, e.g. 2026-07-20T14:00:00Z; default now)

func (ApiListNearbyTechniciansRequest) DurationMinutes added in v0.2.0

func (r ApiListNearbyTechniciansRequest) DurationMinutes(durationMinutes int32) ApiListNearbyTechniciansRequest

Visit length in minutes (default 60; 15–480)

func (ApiListNearbyTechniciansRequest) Execute added in v0.2.0

func (ApiListNearbyTechniciansRequest) Lat added in v0.2.0

Latitude of the service location

func (ApiListNearbyTechniciansRequest) Limit added in v0.2.0

Max candidates (default 10, max 20)

func (ApiListNearbyTechniciansRequest) Lng added in v0.2.0

Longitude of the service location

func (ApiListNearbyTechniciansRequest) SkillIds added in v0.2.0

Comma-separated skill UUIDs to require/match

type ApiListServiceAreasRequest

type ApiListServiceAreasRequest struct {
	ApiService *ServiceAreaAPIService
	// contains filtered or unexported fields
}

func (ApiListServiceAreasRequest) Execute

func (ApiListServiceAreasRequest) Limit

Items per page (default 15, max 1000)

func (ApiListServiceAreasRequest) Page

Page number (default 1)

type ApiListSkillCategoriesRequest

type ApiListSkillCategoriesRequest struct {
	ApiService *BusinessSkillAPIService
	// contains filtered or unexported fields
}

func (ApiListSkillCategoriesRequest) Execute

func (ApiListSkillCategoriesRequest) Limit

Page size (default: 15, max: 1000)

func (ApiListSkillCategoriesRequest) Page

Page number (default: 1)

type ApiListSkillsByCategoryRequest

type ApiListSkillsByCategoryRequest struct {
	ApiService *BusinessSkillAPIService
	// contains filtered or unexported fields
}

func (ApiListSkillsByCategoryRequest) Execute

func (ApiListSkillsByCategoryRequest) Limit

Page size (default: 15, max: 1000)

func (ApiListSkillsByCategoryRequest) Page

Page number (default: 1)

type ApiListSkillsRequest

type ApiListSkillsRequest struct {
	ApiService *BusinessSkillAPIService
	// contains filtered or unexported fields
}

func (ApiListSkillsRequest) Execute

type ApiListTechnicianSkillsRequest added in v0.2.0

type ApiListTechnicianSkillsRequest struct {
	ApiService *BusinessSkillAPIService
	// contains filtered or unexported fields
}

func (ApiListTechnicianSkillsRequest) EligibleOnly added in v0.2.0

true (default) = active skills only; false = all assigned skills including inactive

func (ApiListTechnicianSkillsRequest) Execute added in v0.2.0

func (ApiListTechnicianSkillsRequest) Limit added in v0.2.0

Page size (default: 15, max: 1000)

func (ApiListTechnicianSkillsRequest) Page added in v0.2.0

Page number (default: 1)

type ApiListTechniciansRequest

type ApiListTechniciansRequest struct {
	ApiService *TechnicianAPIService
	// contains filtered or unexported fields
}

func (ApiListTechniciansRequest) AssignmentTier

func (r ApiListTechniciansRequest) AssignmentTier(assignmentTier string) ApiListTechniciansRequest

Filter by assignment tier (lead, buddy, float)

func (ApiListTechniciansRequest) Execute

func (ApiListTechniciansRequest) Keyword

Search by full name, email, phone, or address

func (ApiListTechniciansRequest) Limit

Items per page (default 15, max 1000)

func (ApiListTechniciansRequest) Page

Page number (default 1)

func (ApiListTechniciansRequest) Since

RFC3339 cursor for short-polling; echo back next_since from prior response

func (ApiListTechniciansRequest) Sort

Sort: created_at_desc|created_at_asc|name_asc|name_desc (default: created_at_desc)

func (ApiListTechniciansRequest) Status

Filter by status (active, onboarding, deactive)

type ApiListVehiclesRequest

type ApiListVehiclesRequest struct {
	ApiService *VehicleAPIService
	// contains filtered or unexported fields
}

func (ApiListVehiclesRequest) Execute

func (ApiListVehiclesRequest) Keyword

Search by name, brand, model, or plate number

func (ApiListVehiclesRequest) Limit

Items per page (default 15, max 1000)

func (ApiListVehiclesRequest) Page

Page number (default 1)

func (ApiListVehiclesRequest) Since

RFC3339 cursor for short-polling; echo back next_since from prior response

func (ApiListVehiclesRequest) Status

Filter by status (inactive, idle, on_job, maintenance)

type ApiPreviewEmergencyRescheduleRequest added in v0.2.0

type ApiPreviewEmergencyRescheduleRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiPreviewEmergencyRescheduleRequest) Execute added in v0.2.0

func (ApiPreviewEmergencyRescheduleRequest) JobRequestEmergencyPreviewRequest added in v0.2.0

func (r ApiPreviewEmergencyRescheduleRequest) JobRequestEmergencyPreviewRequest(jobRequestEmergencyPreviewRequest JobRequestEmergencyPreviewRequest) ApiPreviewEmergencyRescheduleRequest

emergency insert spec

type ApiPreviewJobRequestMoveRequest added in v0.2.0

type ApiPreviewJobRequestMoveRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiPreviewJobRequestMoveRequest) Execute added in v0.2.0

func (ApiPreviewJobRequestMoveRequest) JobRequestMovePreviewReq added in v0.2.0

func (r ApiPreviewJobRequestMoveRequest) JobRequestMovePreviewReq(jobRequestMovePreviewReq JobRequestMovePreviewReq) ApiPreviewJobRequestMoveRequest

move spec

type ApiQuoteJobRequestRequest added in v0.2.0

type ApiQuoteJobRequestRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiQuoteJobRequestRequest) Execute added in v0.2.0

func (ApiQuoteJobRequestRequest) JobRequestQuoteRequest added in v0.2.0

func (r ApiQuoteJobRequestRequest) JobRequestQuoteRequest(jobRequestQuoteRequest JobRequestQuoteRequest) ApiQuoteJobRequestRequest

Quote payload

type ApiReplaceTechnicianBuddiesRequest added in v0.2.0

type ApiReplaceTechnicianBuddiesRequest struct {
	ApiService *TechnicianAPIService
	// contains filtered or unexported fields
}

func (ApiReplaceTechnicianBuddiesRequest) Execute added in v0.2.0

func (ApiReplaceTechnicianBuddiesRequest) TechnicianBuddiesRequest added in v0.2.0

func (r ApiReplaceTechnicianBuddiesRequest) TechnicianBuddiesRequest(technicianBuddiesRequest TechnicianBuddiesRequest) ApiReplaceTechnicianBuddiesRequest

Buddy IDs

type ApiReplaceTechnicianLeadsRequest added in v0.2.0

type ApiReplaceTechnicianLeadsRequest struct {
	ApiService *TechnicianAPIService
	// contains filtered or unexported fields
}

func (ApiReplaceTechnicianLeadsRequest) Execute added in v0.2.0

func (ApiReplaceTechnicianLeadsRequest) TechnicianLeadsRequest added in v0.2.0

func (r ApiReplaceTechnicianLeadsRequest) TechnicianLeadsRequest(technicianLeadsRequest TechnicianLeadsRequest) ApiReplaceTechnicianLeadsRequest

Lead IDs payload

type ApiReplaceTechnicianServiceAreasRequest added in v0.2.0

type ApiReplaceTechnicianServiceAreasRequest struct {
	ApiService *TechnicianAPIService
	// contains filtered or unexported fields
}

func (ApiReplaceTechnicianServiceAreasRequest) Execute added in v0.2.0

func (ApiReplaceTechnicianServiceAreasRequest) TechnicianServiceAreasRequest added in v0.2.0

func (r ApiReplaceTechnicianServiceAreasRequest) TechnicianServiceAreasRequest(technicianServiceAreasRequest TechnicianServiceAreasRequest) ApiReplaceTechnicianServiceAreasRequest

Service area IDs

type ApiReplaceTechnicianSkillsRequest added in v0.2.0

type ApiReplaceTechnicianSkillsRequest struct {
	ApiService *BusinessSkillAPIService
	// contains filtered or unexported fields
}

func (ApiReplaceTechnicianSkillsRequest) Execute added in v0.2.0

func (ApiReplaceTechnicianSkillsRequest) TechnicianSkillsRequest added in v0.2.0

func (r ApiReplaceTechnicianSkillsRequest) TechnicianSkillsRequest(technicianSkillsRequest TechnicianSkillsRequest) ApiReplaceTechnicianSkillsRequest

Full list of skill_ids (business_skills.id), 0–100 UUIDs

type ApiReplaceTechnicianVehiclesRequest added in v0.2.0

type ApiReplaceTechnicianVehiclesRequest struct {
	ApiService *TechnicianAPIService
	// contains filtered or unexported fields
}

func (ApiReplaceTechnicianVehiclesRequest) Execute added in v0.2.0

func (ApiReplaceTechnicianVehiclesRequest) TechnicianVehiclesRequest added in v0.2.0

func (r ApiReplaceTechnicianVehiclesRequest) TechnicianVehiclesRequest(technicianVehiclesRequest TechnicianVehiclesRequest) ApiReplaceTechnicianVehiclesRequest

Vehicle IDs

type ApiUpdateCustomerRequest

type ApiUpdateCustomerRequest struct {
	ApiService *CustomerAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateCustomerRequest) CustomerUpdateRequest

func (r ApiUpdateCustomerRequest) CustomerUpdateRequest(customerUpdateRequest CustomerUpdateRequest) ApiUpdateCustomerRequest

Fields to update

func (ApiUpdateCustomerRequest) Execute

type ApiUpdateJobPriorityRequest added in v0.2.0

type ApiUpdateJobPriorityRequest struct {
	ApiService *JobRequestBusinessAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateJobPriorityRequest) Execute added in v0.2.0

func (ApiUpdateJobPriorityRequest) JobRequestUpdatePriorityRequest added in v0.2.0

func (r ApiUpdateJobPriorityRequest) JobRequestUpdatePriorityRequest(jobRequestUpdatePriorityRequest JobRequestUpdatePriorityRequest) ApiUpdateJobPriorityRequest

Priority payload

type ApiUpdateTechnicianRequest added in v0.2.0

type ApiUpdateTechnicianRequest struct {
	ApiService *TechnicianAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateTechnicianRequest) Execute added in v0.2.0

func (ApiUpdateTechnicianRequest) TechnicianUpdateRequest added in v0.2.0

func (r ApiUpdateTechnicianRequest) TechnicianUpdateRequest(technicianUpdateRequest TechnicianUpdateRequest) ApiUpdateTechnicianRequest

Technician details

type BasicAuth

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

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

type BusinessSkillAPIService

type BusinessSkillAPIService service

BusinessSkillAPIService BusinessSkillAPI service

func (*BusinessSkillAPIService) ListSkillCategories

ListSkillCategories List skill categories

Returns paginated skill categories — how the business groups technician qualifications by trade or specialty (e.g. HVAC, plumbing, electrical) — ordered alphabetically.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListSkillCategoriesRequest

func (*BusinessSkillAPIService) ListSkillCategoriesExecute

Execute executes the request

@return ListSkillCategories200Response

func (*BusinessSkillAPIService) ListSkills

ListSkills List all skills

Returns the flat list of all active technician skills / qualifications for the current business — the vocabulary the dispatch engine uses for skill-based matching when assigning technicians and crews. Use it to discover the skill UUIDs accepted in `skill_ids` when creating a job request. (For a category-grouped view, use GET /skill-categories and GET /skill-categories/{id}/skills.)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListSkillsRequest

func (*BusinessSkillAPIService) ListSkillsByCategory

ListSkillsByCategory List skills in a category

Returns paginated skills (technician qualifications/certifications) belonging to the given trade/specialty category, ordered alphabetically. The `members` field on each skill is the count of active technicians currently holding it — a quick capacity check per capability.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Skill category ID (UUID)
@return ApiListSkillsByCategoryRequest

func (*BusinessSkillAPIService) ListSkillsByCategoryExecute

Execute executes the request

@return ListSkillsByCategory200Response

func (*BusinessSkillAPIService) ListSkillsExecute

Execute executes the request

@return ListSkills200Response

func (*BusinessSkillAPIService) ListTechnicianSkills added in v0.2.0

ListTechnicianSkills List skills for a technician

Returns paginated skills assigned to the technician. By default (`eligible_only` omitted or `true`) only active skills are returned — pass `eligible_only=false` to include inactive skills.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Technician ID — business_user_profiles.id (UUID)
@return ApiListTechnicianSkillsRequest

func (*BusinessSkillAPIService) ListTechnicianSkillsExecute added in v0.2.0

Execute executes the request

@return ListTechnicianSkills200Response

func (*BusinessSkillAPIService) ReplaceTechnicianSkills added in v0.2.0

ReplaceTechnicianSkills Replace a technician's skills

Sets the technician's full skill set in one call (replace semantics): skills not in the list are removed, new ones added. Pass an empty list to clear all. All skills must be active and belong to the business — on SKILL_NOT_FOUND (404) the `data` field contains `{"missing_ids": ["uuid", ...]}`; on SKILL_INACTIVE (409) it contains `{"inactive_ids": ["uuid", ...]}`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Technician ID — business_user_profiles.id (UUID)
@return ApiReplaceTechnicianSkillsRequest

func (*BusinessSkillAPIService) ReplaceTechnicianSkillsExecute added in v0.2.0

Execute executes the request

@return ResponseEnvelope

type CommitEmergencyReschedule200Response added in v0.2.0

type CommitEmergencyReschedule200Response struct {
	Data *JobRequestEmergencyPlan `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

CommitEmergencyReschedule200Response struct for CommitEmergencyReschedule200Response

func NewCommitEmergencyReschedule200Response added in v0.2.0

func NewCommitEmergencyReschedule200Response() *CommitEmergencyReschedule200Response

NewCommitEmergencyReschedule200Response instantiates a new CommitEmergencyReschedule200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommitEmergencyReschedule200ResponseWithDefaults added in v0.2.0

func NewCommitEmergencyReschedule200ResponseWithDefaults() *CommitEmergencyReschedule200Response

NewCommitEmergencyReschedule200ResponseWithDefaults instantiates a new CommitEmergencyReschedule200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CommitEmergencyReschedule200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*CommitEmergencyReschedule200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitEmergencyReschedule200Response) GetErrorCode added in v0.2.0

func (o *CommitEmergencyReschedule200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CommitEmergencyReschedule200Response) GetErrorCodeOk added in v0.2.0

func (o *CommitEmergencyReschedule200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CommitEmergencyReschedule200Response) GetErrors added in v0.2.0

func (o *CommitEmergencyReschedule200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CommitEmergencyReschedule200Response) GetErrorsOk added in v0.2.0

func (o *CommitEmergencyReschedule200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CommitEmergencyReschedule200Response) GetMessage added in v0.2.0

GetMessage returns the Message field value if set, zero value otherwise.

func (*CommitEmergencyReschedule200Response) GetMessageOk added in v0.2.0

func (o *CommitEmergencyReschedule200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitEmergencyReschedule200Response) HasData added in v0.2.0

HasData returns a boolean if a field has been set.

func (*CommitEmergencyReschedule200Response) HasErrorCode added in v0.2.0

func (o *CommitEmergencyReschedule200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*CommitEmergencyReschedule200Response) HasErrors added in v0.2.0

HasErrors returns a boolean if a field has been set.

func (*CommitEmergencyReschedule200Response) HasMessage added in v0.2.0

HasMessage returns a boolean if a field has been set.

func (CommitEmergencyReschedule200Response) MarshalJSON added in v0.2.0

func (o CommitEmergencyReschedule200Response) MarshalJSON() ([]byte, error)

func (*CommitEmergencyReschedule200Response) SetData added in v0.2.0

SetData gets a reference to the given JobRequestEmergencyPlan and assigns it to the Data field.

func (*CommitEmergencyReschedule200Response) SetErrorCode added in v0.2.0

func (o *CommitEmergencyReschedule200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*CommitEmergencyReschedule200Response) SetErrors added in v0.2.0

func (o *CommitEmergencyReschedule200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*CommitEmergencyReschedule200Response) SetMessage added in v0.2.0

SetMessage gets a reference to the given string and assigns it to the Message field.

func (CommitEmergencyReschedule200Response) ToMap added in v0.2.0

func (o CommitEmergencyReschedule200Response) ToMap() (map[string]interface{}, error)

type CommitJobRequestMove200Response added in v0.2.0

type CommitJobRequestMove200Response struct {
	Data *JobRequestMovePlan `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

CommitJobRequestMove200Response struct for CommitJobRequestMove200Response

func NewCommitJobRequestMove200Response added in v0.2.0

func NewCommitJobRequestMove200Response() *CommitJobRequestMove200Response

NewCommitJobRequestMove200Response instantiates a new CommitJobRequestMove200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommitJobRequestMove200ResponseWithDefaults added in v0.2.0

func NewCommitJobRequestMove200ResponseWithDefaults() *CommitJobRequestMove200Response

NewCommitJobRequestMove200ResponseWithDefaults instantiates a new CommitJobRequestMove200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CommitJobRequestMove200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*CommitJobRequestMove200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitJobRequestMove200Response) GetErrorCode added in v0.2.0

func (o *CommitJobRequestMove200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CommitJobRequestMove200Response) GetErrorCodeOk added in v0.2.0

func (o *CommitJobRequestMove200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CommitJobRequestMove200Response) GetErrors added in v0.2.0

func (o *CommitJobRequestMove200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CommitJobRequestMove200Response) GetErrorsOk added in v0.2.0

func (o *CommitJobRequestMove200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CommitJobRequestMove200Response) GetMessage added in v0.2.0

func (o *CommitJobRequestMove200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CommitJobRequestMove200Response) GetMessageOk added in v0.2.0

func (o *CommitJobRequestMove200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitJobRequestMove200Response) HasData added in v0.2.0

HasData returns a boolean if a field has been set.

func (*CommitJobRequestMove200Response) HasErrorCode added in v0.2.0

func (o *CommitJobRequestMove200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*CommitJobRequestMove200Response) HasErrors added in v0.2.0

func (o *CommitJobRequestMove200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*CommitJobRequestMove200Response) HasMessage added in v0.2.0

func (o *CommitJobRequestMove200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (CommitJobRequestMove200Response) MarshalJSON added in v0.2.0

func (o CommitJobRequestMove200Response) MarshalJSON() ([]byte, error)

func (*CommitJobRequestMove200Response) SetData added in v0.2.0

SetData gets a reference to the given JobRequestMovePlan and assigns it to the Data field.

func (*CommitJobRequestMove200Response) SetErrorCode added in v0.2.0

func (o *CommitJobRequestMove200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*CommitJobRequestMove200Response) SetErrors added in v0.2.0

func (o *CommitJobRequestMove200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*CommitJobRequestMove200Response) SetMessage added in v0.2.0

func (o *CommitJobRequestMove200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (CommitJobRequestMove200Response) ToMap added in v0.2.0

func (o CommitJobRequestMove200Response) ToMap() (map[string]interface{}, error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateCustomer200Response

type CreateCustomer200Response struct {
	Data *CustomerCreateResponse `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

CreateCustomer200Response struct for CreateCustomer200Response

func NewCreateCustomer200Response

func NewCreateCustomer200Response() *CreateCustomer200Response

NewCreateCustomer200Response instantiates a new CreateCustomer200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateCustomer200ResponseWithDefaults

func NewCreateCustomer200ResponseWithDefaults() *CreateCustomer200Response

NewCreateCustomer200ResponseWithDefaults instantiates a new CreateCustomer200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateCustomer200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*CreateCustomer200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCustomer200Response) GetErrorCode

func (o *CreateCustomer200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateCustomer200Response) GetErrorCodeOk

func (o *CreateCustomer200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateCustomer200Response) GetErrors

func (o *CreateCustomer200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateCustomer200Response) GetErrorsOk

func (o *CreateCustomer200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateCustomer200Response) GetMessage

func (o *CreateCustomer200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateCustomer200Response) GetMessageOk

func (o *CreateCustomer200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateCustomer200Response) HasData

func (o *CreateCustomer200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreateCustomer200Response) HasErrorCode

func (o *CreateCustomer200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*CreateCustomer200Response) HasErrors

func (o *CreateCustomer200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*CreateCustomer200Response) HasMessage

func (o *CreateCustomer200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (CreateCustomer200Response) MarshalJSON

func (o CreateCustomer200Response) MarshalJSON() ([]byte, error)

func (*CreateCustomer200Response) SetData

SetData gets a reference to the given CustomerCreateResponse and assigns it to the Data field.

func (*CreateCustomer200Response) SetErrorCode

func (o *CreateCustomer200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*CreateCustomer200Response) SetErrors

func (o *CreateCustomer200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*CreateCustomer200Response) SetMessage

func (o *CreateCustomer200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (CreateCustomer200Response) ToMap

func (o CreateCustomer200Response) ToMap() (map[string]interface{}, error)

type CreateJobRequest200Response

type CreateJobRequest200Response struct {
	Data *JobRequestCreateResponse `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

CreateJobRequest200Response struct for CreateJobRequest200Response

func NewCreateJobRequest200Response

func NewCreateJobRequest200Response() *CreateJobRequest200Response

NewCreateJobRequest200Response instantiates a new CreateJobRequest200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateJobRequest200ResponseWithDefaults

func NewCreateJobRequest200ResponseWithDefaults() *CreateJobRequest200Response

NewCreateJobRequest200ResponseWithDefaults instantiates a new CreateJobRequest200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateJobRequest200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*CreateJobRequest200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateJobRequest200Response) GetErrorCode

func (o *CreateJobRequest200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateJobRequest200Response) GetErrorCodeOk

func (o *CreateJobRequest200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateJobRequest200Response) GetErrors

func (o *CreateJobRequest200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateJobRequest200Response) GetErrorsOk

func (o *CreateJobRequest200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateJobRequest200Response) GetMessage

func (o *CreateJobRequest200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateJobRequest200Response) GetMessageOk

func (o *CreateJobRequest200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateJobRequest200Response) HasData

func (o *CreateJobRequest200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreateJobRequest200Response) HasErrorCode

func (o *CreateJobRequest200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*CreateJobRequest200Response) HasErrors

func (o *CreateJobRequest200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*CreateJobRequest200Response) HasMessage

func (o *CreateJobRequest200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (CreateJobRequest200Response) MarshalJSON

func (o CreateJobRequest200Response) MarshalJSON() ([]byte, error)

func (*CreateJobRequest200Response) SetData

SetData gets a reference to the given JobRequestCreateResponse and assigns it to the Data field.

func (*CreateJobRequest200Response) SetErrorCode

func (o *CreateJobRequest200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*CreateJobRequest200Response) SetErrors

func (o *CreateJobRequest200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*CreateJobRequest200Response) SetMessage

func (o *CreateJobRequest200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (CreateJobRequest200Response) ToMap

func (o CreateJobRequest200Response) ToMap() (map[string]interface{}, error)

type CreateTechnician200Response added in v0.2.0

type CreateTechnician200Response struct {
	Data *TechnicianCreateResponse `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

CreateTechnician200Response struct for CreateTechnician200Response

func NewCreateTechnician200Response added in v0.2.0

func NewCreateTechnician200Response() *CreateTechnician200Response

NewCreateTechnician200Response instantiates a new CreateTechnician200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateTechnician200ResponseWithDefaults added in v0.2.0

func NewCreateTechnician200ResponseWithDefaults() *CreateTechnician200Response

NewCreateTechnician200ResponseWithDefaults instantiates a new CreateTechnician200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateTechnician200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*CreateTechnician200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateTechnician200Response) GetErrorCode added in v0.2.0

func (o *CreateTechnician200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateTechnician200Response) GetErrorCodeOk added in v0.2.0

func (o *CreateTechnician200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateTechnician200Response) GetErrors added in v0.2.0

func (o *CreateTechnician200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateTechnician200Response) GetErrorsOk added in v0.2.0

func (o *CreateTechnician200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateTechnician200Response) GetMessage added in v0.2.0

func (o *CreateTechnician200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateTechnician200Response) GetMessageOk added in v0.2.0

func (o *CreateTechnician200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateTechnician200Response) HasData added in v0.2.0

func (o *CreateTechnician200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*CreateTechnician200Response) HasErrorCode added in v0.2.0

func (o *CreateTechnician200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*CreateTechnician200Response) HasErrors added in v0.2.0

func (o *CreateTechnician200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*CreateTechnician200Response) HasMessage added in v0.2.0

func (o *CreateTechnician200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (CreateTechnician200Response) MarshalJSON added in v0.2.0

func (o CreateTechnician200Response) MarshalJSON() ([]byte, error)

func (*CreateTechnician200Response) SetData added in v0.2.0

SetData gets a reference to the given TechnicianCreateResponse and assigns it to the Data field.

func (*CreateTechnician200Response) SetErrorCode added in v0.2.0

func (o *CreateTechnician200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*CreateTechnician200Response) SetErrors added in v0.2.0

func (o *CreateTechnician200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*CreateTechnician200Response) SetMessage added in v0.2.0

func (o *CreateTechnician200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (CreateTechnician200Response) ToMap added in v0.2.0

func (o CreateTechnician200Response) ToMap() (map[string]interface{}, error)

type Customer

type Customer struct {
	// Contact details: address, phone, email, preferred technician, service area.
	Contact *CustomerContact `json:"contact,omitempty"`
	// Core identity and lifecycle fields.
	Profile *CustomerProfile `json:"profile,omitempty"`
	// Spending aggregates over the trailing 12 months.
	Spending *CustomerSpending `json:"spending,omitempty"`
}

Customer struct for Customer

func NewCustomer

func NewCustomer() *Customer

NewCustomer instantiates a new Customer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerWithDefaults

func NewCustomerWithDefaults() *Customer

NewCustomerWithDefaults instantiates a new Customer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Customer) GetContact

func (o *Customer) GetContact() CustomerContact

GetContact returns the Contact field value if set, zero value otherwise.

func (*Customer) GetContactOk

func (o *Customer) GetContactOk() (*CustomerContact, bool)

GetContactOk returns a tuple with the Contact field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Customer) GetProfile

func (o *Customer) GetProfile() CustomerProfile

GetProfile returns the Profile field value if set, zero value otherwise.

func (*Customer) GetProfileOk

func (o *Customer) GetProfileOk() (*CustomerProfile, bool)

GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Customer) GetSpending

func (o *Customer) GetSpending() CustomerSpending

GetSpending returns the Spending field value if set, zero value otherwise.

func (*Customer) GetSpendingOk

func (o *Customer) GetSpendingOk() (*CustomerSpending, bool)

GetSpendingOk returns a tuple with the Spending field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Customer) HasContact

func (o *Customer) HasContact() bool

HasContact returns a boolean if a field has been set.

func (*Customer) HasProfile

func (o *Customer) HasProfile() bool

HasProfile returns a boolean if a field has been set.

func (*Customer) HasSpending

func (o *Customer) HasSpending() bool

HasSpending returns a boolean if a field has been set.

func (Customer) MarshalJSON

func (o Customer) MarshalJSON() ([]byte, error)

func (*Customer) SetContact

func (o *Customer) SetContact(v CustomerContact)

SetContact gets a reference to the given CustomerContact and assigns it to the Contact field.

func (*Customer) SetProfile

func (o *Customer) SetProfile(v CustomerProfile)

SetProfile gets a reference to the given CustomerProfile and assigns it to the Profile field.

func (*Customer) SetSpending

func (o *Customer) SetSpending(v CustomerSpending)

SetSpending gets a reference to the given CustomerSpending and assigns it to the Spending field.

func (Customer) ToMap

func (o Customer) ToMap() (map[string]interface{}, error)

type CustomerAPIService

type CustomerAPIService service

CustomerAPIService CustomerAPI service

func (*CustomerAPIService) CreateCustomer

CreateCustomer Create a customer

Creates a customer record — the client/account profile a job request (work order) is booked against; use it to import or sync customers from your own CRM, website lead form or intake flow. Address (street, city, postal_code, ...) and coordinates (latitude/longitude) live under the nested `address` object. service_area_id must be a valid service area UUID belonging to this business.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateCustomerRequest

func (*CustomerAPIService) CreateCustomerExecute

Execute executes the request

@return CreateCustomer200Response

func (*CustomerAPIService) DeleteCustomer

DeleteCustomer Delete a customer

Soft-deletes a customer record, removing it from the active customer directory; existing bookings keep their customer snapshot.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Customer ID
@return ApiDeleteCustomerRequest

func (*CustomerAPIService) DeleteCustomerExecute

Execute executes the request

@return ResponseEnvelope

func (*CustomerAPIService) GetCustomer

GetCustomer Get a customer

Returns the full customer record: profile, contact details, tier and lifetime spending summary — a 360° client view for support, upsell or CRM enrichment. contact.preferred_technician includes {id, name}. contact.service_area includes {id, name}. contact.address.latitude / contact.address.longitude are null if no coordinates saved.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Customer ID (UUID)
@return ApiGetCustomerRequest

func (*CustomerAPIService) GetCustomerExecute

Execute executes the request

@return GetCustomer200Response

func (*CustomerAPIService) ListCustomers

ListCustomers List customers

Returns a paginated, searchable directory of the business's customer records — the customer database (CRM) behind every booking and work order. Supports the `since`/`next_since` cursor for incremental sync into an external CRM, ERP or marketing tool.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListCustomersRequest

func (*CustomerAPIService) ListCustomersExecute

Execute executes the request

@return ListCustomers200Response

func (*CustomerAPIService) UpdateCustomer

UpdateCustomer Update a customer

Replaces mutable fields on a customer record — two-way CRM sync friendly (push changes from your system of record). Pass service_area_id="" to clear the service area. Address fields (including latitude/longitude) live under the nested `address` object.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Customer ID (UUID)
@return ApiUpdateCustomerRequest

func (*CustomerAPIService) UpdateCustomerExecute

Execute executes the request

@return ResponseEnvelope

type CustomerAddress

type CustomerAddress struct {
	// City / locality.
	City *string `json:"city,omitempty"`
	// Country (free-form or ISO code as supplied).
	Country *string `json:"country,omitempty"`
	// Human-readable single-line address, composed server-side.
	Formatted *string `json:"formatted,omitempty"`
	// Geographic latitude in decimal degrees; null if no coordinates are saved.
	Latitude *float32 `json:"latitude,omitempty"`
	// Street address, line 1 (e.g. \"123 Main St\").
	Line *string `json:"line,omitempty"`
	// Street address, line 2 (apartment, suite, unit). Empty if unused.
	Line2 *string `json:"line2,omitempty"`
	// Geographic longitude in decimal degrees; null if no coordinates are saved.
	Longitude *float32 `json:"longitude,omitempty"`
	// Postal / ZIP code.
	PostalCode *string `json:"postal_code,omitempty"`
	// State / province / region.
	State *string `json:"state,omitempty"`
}

CustomerAddress struct for CustomerAddress

func NewCustomerAddress

func NewCustomerAddress() *CustomerAddress

NewCustomerAddress instantiates a new CustomerAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerAddressWithDefaults

func NewCustomerAddressWithDefaults() *CustomerAddress

NewCustomerAddressWithDefaults instantiates a new CustomerAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerAddress) GetCity

func (o *CustomerAddress) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*CustomerAddress) GetCityOk

func (o *CustomerAddress) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddress) GetCountry

func (o *CustomerAddress) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*CustomerAddress) GetCountryOk

func (o *CustomerAddress) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddress) GetFormatted

func (o *CustomerAddress) GetFormatted() string

GetFormatted returns the Formatted field value if set, zero value otherwise.

func (*CustomerAddress) GetFormattedOk

func (o *CustomerAddress) GetFormattedOk() (*string, bool)

GetFormattedOk returns a tuple with the Formatted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddress) GetLatitude

func (o *CustomerAddress) GetLatitude() float32

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*CustomerAddress) GetLatitudeOk

func (o *CustomerAddress) GetLatitudeOk() (*float32, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddress) GetLine

func (o *CustomerAddress) GetLine() string

GetLine returns the Line field value if set, zero value otherwise.

func (*CustomerAddress) GetLine2

func (o *CustomerAddress) GetLine2() string

GetLine2 returns the Line2 field value if set, zero value otherwise.

func (*CustomerAddress) GetLine2Ok

func (o *CustomerAddress) GetLine2Ok() (*string, bool)

GetLine2Ok returns a tuple with the Line2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddress) GetLineOk

func (o *CustomerAddress) GetLineOk() (*string, bool)

GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddress) GetLongitude

func (o *CustomerAddress) GetLongitude() float32

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*CustomerAddress) GetLongitudeOk

func (o *CustomerAddress) GetLongitudeOk() (*float32, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddress) GetPostalCode

func (o *CustomerAddress) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*CustomerAddress) GetPostalCodeOk

func (o *CustomerAddress) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddress) GetState

func (o *CustomerAddress) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*CustomerAddress) GetStateOk

func (o *CustomerAddress) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddress) HasCity

func (o *CustomerAddress) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*CustomerAddress) HasCountry

func (o *CustomerAddress) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*CustomerAddress) HasFormatted

func (o *CustomerAddress) HasFormatted() bool

HasFormatted returns a boolean if a field has been set.

func (*CustomerAddress) HasLatitude

func (o *CustomerAddress) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*CustomerAddress) HasLine

func (o *CustomerAddress) HasLine() bool

HasLine returns a boolean if a field has been set.

func (*CustomerAddress) HasLine2

func (o *CustomerAddress) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*CustomerAddress) HasLongitude

func (o *CustomerAddress) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*CustomerAddress) HasPostalCode

func (o *CustomerAddress) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*CustomerAddress) HasState

func (o *CustomerAddress) HasState() bool

HasState returns a boolean if a field has been set.

func (CustomerAddress) MarshalJSON

func (o CustomerAddress) MarshalJSON() ([]byte, error)

func (*CustomerAddress) SetCity

func (o *CustomerAddress) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*CustomerAddress) SetCountry

func (o *CustomerAddress) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*CustomerAddress) SetFormatted

func (o *CustomerAddress) SetFormatted(v string)

SetFormatted gets a reference to the given string and assigns it to the Formatted field.

func (*CustomerAddress) SetLatitude

func (o *CustomerAddress) SetLatitude(v float32)

SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.

func (*CustomerAddress) SetLine

func (o *CustomerAddress) SetLine(v string)

SetLine gets a reference to the given string and assigns it to the Line field.

func (*CustomerAddress) SetLine2

func (o *CustomerAddress) SetLine2(v string)

SetLine2 gets a reference to the given string and assigns it to the Line2 field.

func (*CustomerAddress) SetLongitude

func (o *CustomerAddress) SetLongitude(v float32)

SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.

func (*CustomerAddress) SetPostalCode

func (o *CustomerAddress) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*CustomerAddress) SetState

func (o *CustomerAddress) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (CustomerAddress) ToMap

func (o CustomerAddress) ToMap() (map[string]interface{}, error)

type CustomerAddressRequest

type CustomerAddressRequest struct {
	// City / locality. Max 100 chars.
	City *string `json:"city,omitempty"`
	// Country (free-form or ISO code). Max 100 chars.
	Country *string `json:"country,omitempty"`
	// Human-readable single-line address; when set it wins over the discrete parts for display. Max 500 chars.
	Formatted *string `json:"formatted,omitempty"`
	// Geographic latitude in decimal degrees (-90..90). Omit if unknown.
	Latitude *float32 `json:"latitude,omitempty"`
	// Street address, line 1 (e.g. \"123 Main St\"). Max 255 chars.
	Line *string `json:"line,omitempty"`
	// Street address, line 2 (apartment, suite, unit). Max 255 chars.
	Line2 *string `json:"line2,omitempty"`
	// Geographic longitude in decimal degrees (-180..180). Omit if unknown.
	Longitude *float32 `json:"longitude,omitempty"`
	// Postal / ZIP code. Max 32 chars.
	PostalCode *string `json:"postal_code,omitempty"`
	// State / province / region. Max 100 chars.
	State *string `json:"state,omitempty"`
}

CustomerAddressRequest struct for CustomerAddressRequest

func NewCustomerAddressRequest

func NewCustomerAddressRequest() *CustomerAddressRequest

NewCustomerAddressRequest instantiates a new CustomerAddressRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerAddressRequestWithDefaults

func NewCustomerAddressRequestWithDefaults() *CustomerAddressRequest

NewCustomerAddressRequestWithDefaults instantiates a new CustomerAddressRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerAddressRequest) GetCity

func (o *CustomerAddressRequest) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*CustomerAddressRequest) GetCityOk

func (o *CustomerAddressRequest) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddressRequest) GetCountry

func (o *CustomerAddressRequest) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*CustomerAddressRequest) GetCountryOk

func (o *CustomerAddressRequest) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddressRequest) GetFormatted

func (o *CustomerAddressRequest) GetFormatted() string

GetFormatted returns the Formatted field value if set, zero value otherwise.

func (*CustomerAddressRequest) GetFormattedOk

func (o *CustomerAddressRequest) GetFormattedOk() (*string, bool)

GetFormattedOk returns a tuple with the Formatted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddressRequest) GetLatitude

func (o *CustomerAddressRequest) GetLatitude() float32

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*CustomerAddressRequest) GetLatitudeOk

func (o *CustomerAddressRequest) GetLatitudeOk() (*float32, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddressRequest) GetLine

func (o *CustomerAddressRequest) GetLine() string

GetLine returns the Line field value if set, zero value otherwise.

func (*CustomerAddressRequest) GetLine2

func (o *CustomerAddressRequest) GetLine2() string

GetLine2 returns the Line2 field value if set, zero value otherwise.

func (*CustomerAddressRequest) GetLine2Ok

func (o *CustomerAddressRequest) GetLine2Ok() (*string, bool)

GetLine2Ok returns a tuple with the Line2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddressRequest) GetLineOk

func (o *CustomerAddressRequest) GetLineOk() (*string, bool)

GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddressRequest) GetLongitude

func (o *CustomerAddressRequest) GetLongitude() float32

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*CustomerAddressRequest) GetLongitudeOk

func (o *CustomerAddressRequest) GetLongitudeOk() (*float32, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddressRequest) GetPostalCode

func (o *CustomerAddressRequest) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*CustomerAddressRequest) GetPostalCodeOk

func (o *CustomerAddressRequest) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddressRequest) GetState

func (o *CustomerAddressRequest) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*CustomerAddressRequest) GetStateOk

func (o *CustomerAddressRequest) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerAddressRequest) HasCity

func (o *CustomerAddressRequest) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*CustomerAddressRequest) HasCountry

func (o *CustomerAddressRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*CustomerAddressRequest) HasFormatted

func (o *CustomerAddressRequest) HasFormatted() bool

HasFormatted returns a boolean if a field has been set.

func (*CustomerAddressRequest) HasLatitude

func (o *CustomerAddressRequest) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*CustomerAddressRequest) HasLine

func (o *CustomerAddressRequest) HasLine() bool

HasLine returns a boolean if a field has been set.

func (*CustomerAddressRequest) HasLine2

func (o *CustomerAddressRequest) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*CustomerAddressRequest) HasLongitude

func (o *CustomerAddressRequest) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*CustomerAddressRequest) HasPostalCode

func (o *CustomerAddressRequest) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*CustomerAddressRequest) HasState

func (o *CustomerAddressRequest) HasState() bool

HasState returns a boolean if a field has been set.

func (CustomerAddressRequest) MarshalJSON

func (o CustomerAddressRequest) MarshalJSON() ([]byte, error)

func (*CustomerAddressRequest) SetCity

func (o *CustomerAddressRequest) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*CustomerAddressRequest) SetCountry

func (o *CustomerAddressRequest) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*CustomerAddressRequest) SetFormatted

func (o *CustomerAddressRequest) SetFormatted(v string)

SetFormatted gets a reference to the given string and assigns it to the Formatted field.

func (*CustomerAddressRequest) SetLatitude

func (o *CustomerAddressRequest) SetLatitude(v float32)

SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.

func (*CustomerAddressRequest) SetLine

func (o *CustomerAddressRequest) SetLine(v string)

SetLine gets a reference to the given string and assigns it to the Line field.

func (*CustomerAddressRequest) SetLine2

func (o *CustomerAddressRequest) SetLine2(v string)

SetLine2 gets a reference to the given string and assigns it to the Line2 field.

func (*CustomerAddressRequest) SetLongitude

func (o *CustomerAddressRequest) SetLongitude(v float32)

SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.

func (*CustomerAddressRequest) SetPostalCode

func (o *CustomerAddressRequest) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*CustomerAddressRequest) SetState

func (o *CustomerAddressRequest) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (CustomerAddressRequest) ToMap

func (o CustomerAddressRequest) ToMap() (map[string]interface{}, error)

type CustomerContact

type CustomerContact struct {
	// Postal address and coordinates.
	Address *CustomerAddress `json:"address,omitempty"`
	// Email address.
	Email *string `json:"email,omitempty"`
	// Phone number in the form it was supplied.
	Phone *string `json:"phone,omitempty"`
	// The technician this customer prefers, if one is set; otherwise null.
	PreferredTechnician *Technician `json:"preferred_technician,omitempty"`
	// The service area this customer falls in, if resolved; otherwise null.
	ServiceArea *ServiceArea `json:"service_area,omitempty"`
}

CustomerContact struct for CustomerContact

func NewCustomerContact

func NewCustomerContact() *CustomerContact

NewCustomerContact instantiates a new CustomerContact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerContactWithDefaults

func NewCustomerContactWithDefaults() *CustomerContact

NewCustomerContactWithDefaults instantiates a new CustomerContact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerContact) GetAddress

func (o *CustomerContact) GetAddress() CustomerAddress

GetAddress returns the Address field value if set, zero value otherwise.

func (*CustomerContact) GetAddressOk

func (o *CustomerContact) GetAddressOk() (*CustomerAddress, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerContact) GetEmail

func (o *CustomerContact) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*CustomerContact) GetEmailOk

func (o *CustomerContact) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerContact) GetPhone

func (o *CustomerContact) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*CustomerContact) GetPhoneOk

func (o *CustomerContact) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerContact) GetPreferredTechnician

func (o *CustomerContact) GetPreferredTechnician() Technician

GetPreferredTechnician returns the PreferredTechnician field value if set, zero value otherwise.

func (*CustomerContact) GetPreferredTechnicianOk

func (o *CustomerContact) GetPreferredTechnicianOk() (*Technician, bool)

GetPreferredTechnicianOk returns a tuple with the PreferredTechnician field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerContact) GetServiceArea

func (o *CustomerContact) GetServiceArea() ServiceArea

GetServiceArea returns the ServiceArea field value if set, zero value otherwise.

func (*CustomerContact) GetServiceAreaOk

func (o *CustomerContact) GetServiceAreaOk() (*ServiceArea, bool)

GetServiceAreaOk returns a tuple with the ServiceArea field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerContact) HasAddress

func (o *CustomerContact) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*CustomerContact) HasEmail

func (o *CustomerContact) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CustomerContact) HasPhone

func (o *CustomerContact) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*CustomerContact) HasPreferredTechnician

func (o *CustomerContact) HasPreferredTechnician() bool

HasPreferredTechnician returns a boolean if a field has been set.

func (*CustomerContact) HasServiceArea

func (o *CustomerContact) HasServiceArea() bool

HasServiceArea returns a boolean if a field has been set.

func (CustomerContact) MarshalJSON

func (o CustomerContact) MarshalJSON() ([]byte, error)

func (*CustomerContact) SetAddress

func (o *CustomerContact) SetAddress(v CustomerAddress)

SetAddress gets a reference to the given CustomerAddress and assigns it to the Address field.

func (*CustomerContact) SetEmail

func (o *CustomerContact) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CustomerContact) SetPhone

func (o *CustomerContact) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*CustomerContact) SetPreferredTechnician

func (o *CustomerContact) SetPreferredTechnician(v Technician)

SetPreferredTechnician gets a reference to the given Technician and assigns it to the PreferredTechnician field.

func (*CustomerContact) SetServiceArea

func (o *CustomerContact) SetServiceArea(v ServiceArea)

SetServiceArea gets a reference to the given ServiceArea and assigns it to the ServiceArea field.

func (CustomerContact) ToMap

func (o CustomerContact) ToMap() (map[string]interface{}, error)

type CustomerCreateRequest

type CustomerCreateRequest struct {
	// Postal address and coordinates.
	Address *CustomerAddressRequest `json:"address,omitempty"`
	// Email address. Optional, but at least one of phone/email is required.
	Email *string `json:"email,omitempty"`
	// Customer's full name. Required; max 255 chars.
	FullName string `json:"full_name"`
	// Phone number. Optional, but at least one of phone/email is required; 10–20 chars.
	Phone *string `json:"phone,omitempty"`
	// UUID of the technician this customer prefers. Must belong to this business.
	PreferredTechnicianId *string `json:"preferred_technician_id,omitempty"`
	// UUID of the service area for this customer. Must belong to this business.
	ServiceAreaId *string `json:"service_area_id,omitempty"`
	// Loyalty tier. Defaults to \"regular\" if omitted.
	Tier *string `json:"tier,omitempty"`
	// Your external reference for this customer (your own system's ID). Optional; max 32 chars.
	Uid *string `json:"uid,omitempty"`
}

CustomerCreateRequest struct for CustomerCreateRequest

func NewCustomerCreateRequest

func NewCustomerCreateRequest(fullName string) *CustomerCreateRequest

NewCustomerCreateRequest instantiates a new CustomerCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerCreateRequestWithDefaults

func NewCustomerCreateRequestWithDefaults() *CustomerCreateRequest

NewCustomerCreateRequestWithDefaults instantiates a new CustomerCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerCreateRequest) GetAddress

GetAddress returns the Address field value if set, zero value otherwise.

func (*CustomerCreateRequest) GetAddressOk

func (o *CustomerCreateRequest) GetAddressOk() (*CustomerAddressRequest, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerCreateRequest) GetEmail

func (o *CustomerCreateRequest) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*CustomerCreateRequest) GetEmailOk

func (o *CustomerCreateRequest) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerCreateRequest) GetFullName

func (o *CustomerCreateRequest) GetFullName() string

GetFullName returns the FullName field value

func (*CustomerCreateRequest) GetFullNameOk

func (o *CustomerCreateRequest) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.

func (*CustomerCreateRequest) GetPhone

func (o *CustomerCreateRequest) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*CustomerCreateRequest) GetPhoneOk

func (o *CustomerCreateRequest) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerCreateRequest) GetPreferredTechnicianId

func (o *CustomerCreateRequest) GetPreferredTechnicianId() string

GetPreferredTechnicianId returns the PreferredTechnicianId field value if set, zero value otherwise.

func (*CustomerCreateRequest) GetPreferredTechnicianIdOk

func (o *CustomerCreateRequest) GetPreferredTechnicianIdOk() (*string, bool)

GetPreferredTechnicianIdOk returns a tuple with the PreferredTechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerCreateRequest) GetServiceAreaId

func (o *CustomerCreateRequest) GetServiceAreaId() string

GetServiceAreaId returns the ServiceAreaId field value if set, zero value otherwise.

func (*CustomerCreateRequest) GetServiceAreaIdOk

func (o *CustomerCreateRequest) GetServiceAreaIdOk() (*string, bool)

GetServiceAreaIdOk returns a tuple with the ServiceAreaId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerCreateRequest) GetTier

func (o *CustomerCreateRequest) GetTier() string

GetTier returns the Tier field value if set, zero value otherwise.

func (*CustomerCreateRequest) GetTierOk

func (o *CustomerCreateRequest) GetTierOk() (*string, bool)

GetTierOk returns a tuple with the Tier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerCreateRequest) GetUid

func (o *CustomerCreateRequest) GetUid() string

GetUid returns the Uid field value if set, zero value otherwise.

func (*CustomerCreateRequest) GetUidOk

func (o *CustomerCreateRequest) GetUidOk() (*string, bool)

GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerCreateRequest) HasAddress

func (o *CustomerCreateRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*CustomerCreateRequest) HasEmail

func (o *CustomerCreateRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CustomerCreateRequest) HasPhone

func (o *CustomerCreateRequest) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*CustomerCreateRequest) HasPreferredTechnicianId

func (o *CustomerCreateRequest) HasPreferredTechnicianId() bool

HasPreferredTechnicianId returns a boolean if a field has been set.

func (*CustomerCreateRequest) HasServiceAreaId

func (o *CustomerCreateRequest) HasServiceAreaId() bool

HasServiceAreaId returns a boolean if a field has been set.

func (*CustomerCreateRequest) HasTier

func (o *CustomerCreateRequest) HasTier() bool

HasTier returns a boolean if a field has been set.

func (*CustomerCreateRequest) HasUid

func (o *CustomerCreateRequest) HasUid() bool

HasUid returns a boolean if a field has been set.

func (CustomerCreateRequest) MarshalJSON

func (o CustomerCreateRequest) MarshalJSON() ([]byte, error)

func (*CustomerCreateRequest) SetAddress

SetAddress gets a reference to the given CustomerAddressRequest and assigns it to the Address field.

func (*CustomerCreateRequest) SetEmail

func (o *CustomerCreateRequest) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CustomerCreateRequest) SetFullName

func (o *CustomerCreateRequest) SetFullName(v string)

SetFullName sets field value

func (*CustomerCreateRequest) SetPhone

func (o *CustomerCreateRequest) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*CustomerCreateRequest) SetPreferredTechnicianId

func (o *CustomerCreateRequest) SetPreferredTechnicianId(v string)

SetPreferredTechnicianId gets a reference to the given string and assigns it to the PreferredTechnicianId field.

func (*CustomerCreateRequest) SetServiceAreaId

func (o *CustomerCreateRequest) SetServiceAreaId(v string)

SetServiceAreaId gets a reference to the given string and assigns it to the ServiceAreaId field.

func (*CustomerCreateRequest) SetTier

func (o *CustomerCreateRequest) SetTier(v string)

SetTier gets a reference to the given string and assigns it to the Tier field.

func (*CustomerCreateRequest) SetUid

func (o *CustomerCreateRequest) SetUid(v string)

SetUid gets a reference to the given string and assigns it to the Uid field.

func (CustomerCreateRequest) ToMap

func (o CustomerCreateRequest) ToMap() (map[string]interface{}, error)

func (*CustomerCreateRequest) UnmarshalJSON

func (o *CustomerCreateRequest) UnmarshalJSON(data []byte) (err error)

type CustomerCreateResponse

type CustomerCreateResponse struct {
	// UUID of the newly created customer.
	CustomerId *string `json:"customer_id,omitempty"`
}

CustomerCreateResponse struct for CustomerCreateResponse

func NewCustomerCreateResponse

func NewCustomerCreateResponse() *CustomerCreateResponse

NewCustomerCreateResponse instantiates a new CustomerCreateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerCreateResponseWithDefaults

func NewCustomerCreateResponseWithDefaults() *CustomerCreateResponse

NewCustomerCreateResponseWithDefaults instantiates a new CustomerCreateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerCreateResponse) GetCustomerId

func (o *CustomerCreateResponse) GetCustomerId() string

GetCustomerId returns the CustomerId field value if set, zero value otherwise.

func (*CustomerCreateResponse) GetCustomerIdOk

func (o *CustomerCreateResponse) GetCustomerIdOk() (*string, bool)

GetCustomerIdOk returns a tuple with the CustomerId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerCreateResponse) HasCustomerId

func (o *CustomerCreateResponse) HasCustomerId() bool

HasCustomerId returns a boolean if a field has been set.

func (CustomerCreateResponse) MarshalJSON

func (o CustomerCreateResponse) MarshalJSON() ([]byte, error)

func (*CustomerCreateResponse) SetCustomerId

func (o *CustomerCreateResponse) SetCustomerId(v string)

SetCustomerId gets a reference to the given string and assigns it to the CustomerId field.

func (CustomerCreateResponse) ToMap

func (o CustomerCreateResponse) ToMap() (map[string]interface{}, error)

type CustomerList

type CustomerList struct {
	// The customers on this page.
	Customers []CustomerListItem `json:"customers,omitempty"`
	// True if more rows exist beyond this page.
	HasMore *bool `json:"has_more,omitempty"`
	// Page/limit/total pagination metadata.
	Meta *Pagination `json:"meta,omitempty"`
	// Cursor for short-polling: pass back as `since` to fetch only rows changed after this point (RFC3339).
	NextSince *time.Time `json:"next_since,omitempty"`
}

CustomerList struct for CustomerList

func NewCustomerList

func NewCustomerList() *CustomerList

NewCustomerList instantiates a new CustomerList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerListWithDefaults

func NewCustomerListWithDefaults() *CustomerList

NewCustomerListWithDefaults instantiates a new CustomerList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerList) GetCustomers

func (o *CustomerList) GetCustomers() []CustomerListItem

GetCustomers returns the Customers field value if set, zero value otherwise.

func (*CustomerList) GetCustomersOk

func (o *CustomerList) GetCustomersOk() ([]CustomerListItem, bool)

GetCustomersOk returns a tuple with the Customers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerList) GetHasMore

func (o *CustomerList) GetHasMore() bool

GetHasMore returns the HasMore field value if set, zero value otherwise.

func (*CustomerList) GetHasMoreOk

func (o *CustomerList) GetHasMoreOk() (*bool, bool)

GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerList) GetMeta

func (o *CustomerList) GetMeta() Pagination

GetMeta returns the Meta field value if set, zero value otherwise.

func (*CustomerList) GetMetaOk

func (o *CustomerList) GetMetaOk() (*Pagination, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerList) GetNextSince

func (o *CustomerList) GetNextSince() time.Time

GetNextSince returns the NextSince field value if set, zero value otherwise.

func (*CustomerList) GetNextSinceOk

func (o *CustomerList) GetNextSinceOk() (*time.Time, bool)

GetNextSinceOk returns a tuple with the NextSince field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerList) HasCustomers

func (o *CustomerList) HasCustomers() bool

HasCustomers returns a boolean if a field has been set.

func (*CustomerList) HasHasMore

func (o *CustomerList) HasHasMore() bool

HasHasMore returns a boolean if a field has been set.

func (*CustomerList) HasMeta

func (o *CustomerList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*CustomerList) HasNextSince

func (o *CustomerList) HasNextSince() bool

HasNextSince returns a boolean if a field has been set.

func (CustomerList) MarshalJSON

func (o CustomerList) MarshalJSON() ([]byte, error)

func (*CustomerList) SetCustomers

func (o *CustomerList) SetCustomers(v []CustomerListItem)

SetCustomers gets a reference to the given []CustomerListItem and assigns it to the Customers field.

func (*CustomerList) SetHasMore

func (o *CustomerList) SetHasMore(v bool)

SetHasMore gets a reference to the given bool and assigns it to the HasMore field.

func (*CustomerList) SetMeta

func (o *CustomerList) SetMeta(v Pagination)

SetMeta gets a reference to the given Pagination and assigns it to the Meta field.

func (*CustomerList) SetNextSince

func (o *CustomerList) SetNextSince(v time.Time)

SetNextSince gets a reference to the given time.Time and assigns it to the NextSince field.

func (CustomerList) ToMap

func (o CustomerList) ToMap() (map[string]interface{}, error)

type CustomerListItem

type CustomerListItem struct {
	// Set (RFC3339) only when the record has been soft-deleted; omitted otherwise.
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	// Customer's full name.
	FullName *string `json:"full_name,omitempty"`
	// Customer UUID.
	Id *string `json:"id,omitempty"`
	// When the customer last booked, or null if never (RFC3339).
	LastRequestAt *time.Time `json:"last_request_at,omitempty"`
	// Total number of job requests booked.
	RequestCount *int32 `json:"request_count,omitempty"`
	// Lifecycle status.
	Status *string `json:"status,omitempty"`
	// Loyalty tier.
	Tier *string `json:"tier,omitempty"`
	// Your external reference for this customer. Optional.
	Uid *string `json:"uid,omitempty"`
	// When this record was last modified (RFC3339).
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

CustomerListItem struct for CustomerListItem

func NewCustomerListItem

func NewCustomerListItem() *CustomerListItem

NewCustomerListItem instantiates a new CustomerListItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerListItemWithDefaults

func NewCustomerListItemWithDefaults() *CustomerListItem

NewCustomerListItemWithDefaults instantiates a new CustomerListItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerListItem) GetDeletedAt

func (o *CustomerListItem) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*CustomerListItem) GetDeletedAtOk

func (o *CustomerListItem) GetDeletedAtOk() (*time.Time, bool)

GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerListItem) GetFullName

func (o *CustomerListItem) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*CustomerListItem) GetFullNameOk

func (o *CustomerListItem) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerListItem) GetId

func (o *CustomerListItem) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CustomerListItem) GetIdOk

func (o *CustomerListItem) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerListItem) GetLastRequestAt

func (o *CustomerListItem) GetLastRequestAt() time.Time

GetLastRequestAt returns the LastRequestAt field value if set, zero value otherwise.

func (*CustomerListItem) GetLastRequestAtOk

func (o *CustomerListItem) GetLastRequestAtOk() (*time.Time, bool)

GetLastRequestAtOk returns a tuple with the LastRequestAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerListItem) GetRequestCount

func (o *CustomerListItem) GetRequestCount() int32

GetRequestCount returns the RequestCount field value if set, zero value otherwise.

func (*CustomerListItem) GetRequestCountOk

func (o *CustomerListItem) GetRequestCountOk() (*int32, bool)

GetRequestCountOk returns a tuple with the RequestCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerListItem) GetStatus

func (o *CustomerListItem) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CustomerListItem) GetStatusOk

func (o *CustomerListItem) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerListItem) GetTier

func (o *CustomerListItem) GetTier() string

GetTier returns the Tier field value if set, zero value otherwise.

func (*CustomerListItem) GetTierOk

func (o *CustomerListItem) GetTierOk() (*string, bool)

GetTierOk returns a tuple with the Tier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerListItem) GetUid

func (o *CustomerListItem) GetUid() string

GetUid returns the Uid field value if set, zero value otherwise.

func (*CustomerListItem) GetUidOk

func (o *CustomerListItem) GetUidOk() (*string, bool)

GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerListItem) GetUpdatedAt

func (o *CustomerListItem) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*CustomerListItem) GetUpdatedAtOk

func (o *CustomerListItem) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerListItem) HasDeletedAt

func (o *CustomerListItem) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*CustomerListItem) HasFullName

func (o *CustomerListItem) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*CustomerListItem) HasId

func (o *CustomerListItem) HasId() bool

HasId returns a boolean if a field has been set.

func (*CustomerListItem) HasLastRequestAt

func (o *CustomerListItem) HasLastRequestAt() bool

HasLastRequestAt returns a boolean if a field has been set.

func (*CustomerListItem) HasRequestCount

func (o *CustomerListItem) HasRequestCount() bool

HasRequestCount returns a boolean if a field has been set.

func (*CustomerListItem) HasStatus

func (o *CustomerListItem) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CustomerListItem) HasTier

func (o *CustomerListItem) HasTier() bool

HasTier returns a boolean if a field has been set.

func (*CustomerListItem) HasUid

func (o *CustomerListItem) HasUid() bool

HasUid returns a boolean if a field has been set.

func (*CustomerListItem) HasUpdatedAt

func (o *CustomerListItem) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (CustomerListItem) MarshalJSON

func (o CustomerListItem) MarshalJSON() ([]byte, error)

func (*CustomerListItem) SetDeletedAt

func (o *CustomerListItem) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*CustomerListItem) SetFullName

func (o *CustomerListItem) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*CustomerListItem) SetId

func (o *CustomerListItem) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CustomerListItem) SetLastRequestAt

func (o *CustomerListItem) SetLastRequestAt(v time.Time)

SetLastRequestAt gets a reference to the given time.Time and assigns it to the LastRequestAt field.

func (*CustomerListItem) SetRequestCount

func (o *CustomerListItem) SetRequestCount(v int32)

SetRequestCount gets a reference to the given int32 and assigns it to the RequestCount field.

func (*CustomerListItem) SetStatus

func (o *CustomerListItem) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*CustomerListItem) SetTier

func (o *CustomerListItem) SetTier(v string)

SetTier gets a reference to the given string and assigns it to the Tier field.

func (*CustomerListItem) SetUid

func (o *CustomerListItem) SetUid(v string)

SetUid gets a reference to the given string and assigns it to the Uid field.

func (*CustomerListItem) SetUpdatedAt

func (o *CustomerListItem) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (CustomerListItem) ToMap

func (o CustomerListItem) ToMap() (map[string]interface{}, error)

type CustomerProfile

type CustomerProfile struct {
	// When the customer record was created (RFC3339).
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Customer's full name.
	FullName *string `json:"full_name,omitempty"`
	// Customer UUID — the stable identifier used in every customer endpoint.
	Id *string `json:"id,omitempty"`
	// Total number of job requests this customer has booked.
	RequestCount *int32 `json:"request_count,omitempty"`
	// Lifecycle status.
	Status *string `json:"status,omitempty"`
	// Loyalty tier.
	Tier *string `json:"tier,omitempty"`
	// Your external reference for this customer (your own system's ID). Optional.
	Uid *string `json:"uid,omitempty"`
}

CustomerProfile struct for CustomerProfile

func NewCustomerProfile

func NewCustomerProfile() *CustomerProfile

NewCustomerProfile instantiates a new CustomerProfile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerProfileWithDefaults

func NewCustomerProfileWithDefaults() *CustomerProfile

NewCustomerProfileWithDefaults instantiates a new CustomerProfile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerProfile) GetCreatedAt

func (o *CustomerProfile) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*CustomerProfile) GetCreatedAtOk

func (o *CustomerProfile) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerProfile) GetFullName

func (o *CustomerProfile) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*CustomerProfile) GetFullNameOk

func (o *CustomerProfile) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerProfile) GetId

func (o *CustomerProfile) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*CustomerProfile) GetIdOk

func (o *CustomerProfile) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerProfile) GetRequestCount

func (o *CustomerProfile) GetRequestCount() int32

GetRequestCount returns the RequestCount field value if set, zero value otherwise.

func (*CustomerProfile) GetRequestCountOk

func (o *CustomerProfile) GetRequestCountOk() (*int32, bool)

GetRequestCountOk returns a tuple with the RequestCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerProfile) GetStatus

func (o *CustomerProfile) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CustomerProfile) GetStatusOk

func (o *CustomerProfile) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerProfile) GetTier

func (o *CustomerProfile) GetTier() string

GetTier returns the Tier field value if set, zero value otherwise.

func (*CustomerProfile) GetTierOk

func (o *CustomerProfile) GetTierOk() (*string, bool)

GetTierOk returns a tuple with the Tier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerProfile) GetUid

func (o *CustomerProfile) GetUid() string

GetUid returns the Uid field value if set, zero value otherwise.

func (*CustomerProfile) GetUidOk

func (o *CustomerProfile) GetUidOk() (*string, bool)

GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerProfile) HasCreatedAt

func (o *CustomerProfile) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*CustomerProfile) HasFullName

func (o *CustomerProfile) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*CustomerProfile) HasId

func (o *CustomerProfile) HasId() bool

HasId returns a boolean if a field has been set.

func (*CustomerProfile) HasRequestCount

func (o *CustomerProfile) HasRequestCount() bool

HasRequestCount returns a boolean if a field has been set.

func (*CustomerProfile) HasStatus

func (o *CustomerProfile) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CustomerProfile) HasTier

func (o *CustomerProfile) HasTier() bool

HasTier returns a boolean if a field has been set.

func (*CustomerProfile) HasUid

func (o *CustomerProfile) HasUid() bool

HasUid returns a boolean if a field has been set.

func (CustomerProfile) MarshalJSON

func (o CustomerProfile) MarshalJSON() ([]byte, error)

func (*CustomerProfile) SetCreatedAt

func (o *CustomerProfile) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*CustomerProfile) SetFullName

func (o *CustomerProfile) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*CustomerProfile) SetId

func (o *CustomerProfile) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CustomerProfile) SetRequestCount

func (o *CustomerProfile) SetRequestCount(v int32)

SetRequestCount gets a reference to the given int32 and assigns it to the RequestCount field.

func (*CustomerProfile) SetStatus

func (o *CustomerProfile) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*CustomerProfile) SetTier

func (o *CustomerProfile) SetTier(v string)

SetTier gets a reference to the given string and assigns it to the Tier field.

func (*CustomerProfile) SetUid

func (o *CustomerProfile) SetUid(v string)

SetUid gets a reference to the given string and assigns it to the Uid field.

func (CustomerProfile) ToMap

func (o CustomerProfile) ToMap() (map[string]interface{}, error)

type CustomerSpending

type CustomerSpending struct {
	// Average value per completed job.
	AvgJobValue *float32 `json:"avg_job_value,omitempty"`
	// ISO 4217 currency code for the monetary fields (e.g. \"USD\", \"CAD\").
	Currency *string `json:"currency,omitempty"`
	// Human-readable rank label (e.g. \"Top 5%\").
	RankPositionLabel *string `json:"rank_position_label,omitempty"`
	// Loyalty tier the spend resolves to.
	Tier *string `json:"tier,omitempty"`
	// Progress toward the next tier.
	TierProgress *CustomerTierProgress `json:"tier_progress,omitempty"`
	// Total amount spent in the trailing 12 months.
	TotalSpent12m *float32 `json:"total_spent_12m,omitempty"`
}

CustomerSpending struct for CustomerSpending

func NewCustomerSpending

func NewCustomerSpending() *CustomerSpending

NewCustomerSpending instantiates a new CustomerSpending object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerSpendingWithDefaults

func NewCustomerSpendingWithDefaults() *CustomerSpending

NewCustomerSpendingWithDefaults instantiates a new CustomerSpending object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerSpending) GetAvgJobValue

func (o *CustomerSpending) GetAvgJobValue() float32

GetAvgJobValue returns the AvgJobValue field value if set, zero value otherwise.

func (*CustomerSpending) GetAvgJobValueOk

func (o *CustomerSpending) GetAvgJobValueOk() (*float32, bool)

GetAvgJobValueOk returns a tuple with the AvgJobValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerSpending) GetCurrency

func (o *CustomerSpending) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*CustomerSpending) GetCurrencyOk

func (o *CustomerSpending) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerSpending) GetRankPositionLabel

func (o *CustomerSpending) GetRankPositionLabel() string

GetRankPositionLabel returns the RankPositionLabel field value if set, zero value otherwise.

func (*CustomerSpending) GetRankPositionLabelOk

func (o *CustomerSpending) GetRankPositionLabelOk() (*string, bool)

GetRankPositionLabelOk returns a tuple with the RankPositionLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerSpending) GetTier

func (o *CustomerSpending) GetTier() string

GetTier returns the Tier field value if set, zero value otherwise.

func (*CustomerSpending) GetTierOk

func (o *CustomerSpending) GetTierOk() (*string, bool)

GetTierOk returns a tuple with the Tier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerSpending) GetTierProgress

func (o *CustomerSpending) GetTierProgress() CustomerTierProgress

GetTierProgress returns the TierProgress field value if set, zero value otherwise.

func (*CustomerSpending) GetTierProgressOk

func (o *CustomerSpending) GetTierProgressOk() (*CustomerTierProgress, bool)

GetTierProgressOk returns a tuple with the TierProgress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerSpending) GetTotalSpent12m

func (o *CustomerSpending) GetTotalSpent12m() float32

GetTotalSpent12m returns the TotalSpent12m field value if set, zero value otherwise.

func (*CustomerSpending) GetTotalSpent12mOk

func (o *CustomerSpending) GetTotalSpent12mOk() (*float32, bool)

GetTotalSpent12mOk returns a tuple with the TotalSpent12m field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerSpending) HasAvgJobValue

func (o *CustomerSpending) HasAvgJobValue() bool

HasAvgJobValue returns a boolean if a field has been set.

func (*CustomerSpending) HasCurrency

func (o *CustomerSpending) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*CustomerSpending) HasRankPositionLabel

func (o *CustomerSpending) HasRankPositionLabel() bool

HasRankPositionLabel returns a boolean if a field has been set.

func (*CustomerSpending) HasTier

func (o *CustomerSpending) HasTier() bool

HasTier returns a boolean if a field has been set.

func (*CustomerSpending) HasTierProgress

func (o *CustomerSpending) HasTierProgress() bool

HasTierProgress returns a boolean if a field has been set.

func (*CustomerSpending) HasTotalSpent12m

func (o *CustomerSpending) HasTotalSpent12m() bool

HasTotalSpent12m returns a boolean if a field has been set.

func (CustomerSpending) MarshalJSON

func (o CustomerSpending) MarshalJSON() ([]byte, error)

func (*CustomerSpending) SetAvgJobValue

func (o *CustomerSpending) SetAvgJobValue(v float32)

SetAvgJobValue gets a reference to the given float32 and assigns it to the AvgJobValue field.

func (*CustomerSpending) SetCurrency

func (o *CustomerSpending) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*CustomerSpending) SetRankPositionLabel

func (o *CustomerSpending) SetRankPositionLabel(v string)

SetRankPositionLabel gets a reference to the given string and assigns it to the RankPositionLabel field.

func (*CustomerSpending) SetTier

func (o *CustomerSpending) SetTier(v string)

SetTier gets a reference to the given string and assigns it to the Tier field.

func (*CustomerSpending) SetTierProgress

func (o *CustomerSpending) SetTierProgress(v CustomerTierProgress)

SetTierProgress gets a reference to the given CustomerTierProgress and assigns it to the TierProgress field.

func (*CustomerSpending) SetTotalSpent12m

func (o *CustomerSpending) SetTotalSpent12m(v float32)

SetTotalSpent12m gets a reference to the given float32 and assigns it to the TotalSpent12m field.

func (CustomerSpending) ToMap

func (o CustomerSpending) ToMap() (map[string]interface{}, error)

type CustomerTierProgress

type CustomerTierProgress struct {
	// Current accumulated value toward the next tier.
	Current *float32 `json:"current,omitempty"`
	// Name of the next tier, or empty if already at the top tier.
	Next *string `json:"next,omitempty"`
	// Remaining value needed to reach the next tier.
	Remaining *float32 `json:"remaining,omitempty"`
}

CustomerTierProgress struct for CustomerTierProgress

func NewCustomerTierProgress

func NewCustomerTierProgress() *CustomerTierProgress

NewCustomerTierProgress instantiates a new CustomerTierProgress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerTierProgressWithDefaults

func NewCustomerTierProgressWithDefaults() *CustomerTierProgress

NewCustomerTierProgressWithDefaults instantiates a new CustomerTierProgress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerTierProgress) GetCurrent

func (o *CustomerTierProgress) GetCurrent() float32

GetCurrent returns the Current field value if set, zero value otherwise.

func (*CustomerTierProgress) GetCurrentOk

func (o *CustomerTierProgress) GetCurrentOk() (*float32, bool)

GetCurrentOk returns a tuple with the Current field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerTierProgress) GetNext

func (o *CustomerTierProgress) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*CustomerTierProgress) GetNextOk

func (o *CustomerTierProgress) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerTierProgress) GetRemaining

func (o *CustomerTierProgress) GetRemaining() float32

GetRemaining returns the Remaining field value if set, zero value otherwise.

func (*CustomerTierProgress) GetRemainingOk

func (o *CustomerTierProgress) GetRemainingOk() (*float32, bool)

GetRemainingOk returns a tuple with the Remaining field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerTierProgress) HasCurrent

func (o *CustomerTierProgress) HasCurrent() bool

HasCurrent returns a boolean if a field has been set.

func (*CustomerTierProgress) HasNext

func (o *CustomerTierProgress) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*CustomerTierProgress) HasRemaining

func (o *CustomerTierProgress) HasRemaining() bool

HasRemaining returns a boolean if a field has been set.

func (CustomerTierProgress) MarshalJSON

func (o CustomerTierProgress) MarshalJSON() ([]byte, error)

func (*CustomerTierProgress) SetCurrent

func (o *CustomerTierProgress) SetCurrent(v float32)

SetCurrent gets a reference to the given float32 and assigns it to the Current field.

func (*CustomerTierProgress) SetNext

func (o *CustomerTierProgress) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*CustomerTierProgress) SetRemaining

func (o *CustomerTierProgress) SetRemaining(v float32)

SetRemaining gets a reference to the given float32 and assigns it to the Remaining field.

func (CustomerTierProgress) ToMap

func (o CustomerTierProgress) ToMap() (map[string]interface{}, error)

type CustomerUpdateRequest

type CustomerUpdateRequest struct {
	// Postal address and coordinates.
	Address *CustomerAddressRequest `json:"address,omitempty"`
	// Email address.
	Email *string `json:"email,omitempty"`
	// Customer's full name. Required; max 255 chars.
	FullName string `json:"full_name"`
	// Free-form internal notes about the customer; max 4000 chars.
	Notes *string `json:"notes,omitempty"`
	// Phone number. 10–20 chars.
	Phone *string `json:"phone,omitempty"`
	// UUID of the technician this customer prefers. Must belong to this business.
	PreferredTechnicianId *string `json:"preferred_technician_id,omitempty"`
	// UUID of the service area for this customer. Must belong to this business.
	ServiceAreaId *string `json:"service_area_id,omitempty"`
	// Lifecycle status.
	Status *string `json:"status,omitempty"`
	// Loyalty tier.
	Tier *string `json:"tier,omitempty"`
	// Your external reference for this customer. Optional; max 32 chars.
	Uid *string `json:"uid,omitempty"`
}

CustomerUpdateRequest struct for CustomerUpdateRequest

func NewCustomerUpdateRequest

func NewCustomerUpdateRequest(fullName string) *CustomerUpdateRequest

NewCustomerUpdateRequest instantiates a new CustomerUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCustomerUpdateRequestWithDefaults

func NewCustomerUpdateRequestWithDefaults() *CustomerUpdateRequest

NewCustomerUpdateRequestWithDefaults instantiates a new CustomerUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CustomerUpdateRequest) GetAddress

GetAddress returns the Address field value if set, zero value otherwise.

func (*CustomerUpdateRequest) GetAddressOk

func (o *CustomerUpdateRequest) GetAddressOk() (*CustomerAddressRequest, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) GetEmail

func (o *CustomerUpdateRequest) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*CustomerUpdateRequest) GetEmailOk

func (o *CustomerUpdateRequest) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) GetFullName

func (o *CustomerUpdateRequest) GetFullName() string

GetFullName returns the FullName field value

func (*CustomerUpdateRequest) GetFullNameOk

func (o *CustomerUpdateRequest) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) GetNotes

func (o *CustomerUpdateRequest) GetNotes() string

GetNotes returns the Notes field value if set, zero value otherwise.

func (*CustomerUpdateRequest) GetNotesOk

func (o *CustomerUpdateRequest) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) GetPhone

func (o *CustomerUpdateRequest) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*CustomerUpdateRequest) GetPhoneOk

func (o *CustomerUpdateRequest) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) GetPreferredTechnicianId

func (o *CustomerUpdateRequest) GetPreferredTechnicianId() string

GetPreferredTechnicianId returns the PreferredTechnicianId field value if set, zero value otherwise.

func (*CustomerUpdateRequest) GetPreferredTechnicianIdOk

func (o *CustomerUpdateRequest) GetPreferredTechnicianIdOk() (*string, bool)

GetPreferredTechnicianIdOk returns a tuple with the PreferredTechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) GetServiceAreaId

func (o *CustomerUpdateRequest) GetServiceAreaId() string

GetServiceAreaId returns the ServiceAreaId field value if set, zero value otherwise.

func (*CustomerUpdateRequest) GetServiceAreaIdOk

func (o *CustomerUpdateRequest) GetServiceAreaIdOk() (*string, bool)

GetServiceAreaIdOk returns a tuple with the ServiceAreaId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) GetStatus

func (o *CustomerUpdateRequest) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*CustomerUpdateRequest) GetStatusOk

func (o *CustomerUpdateRequest) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) GetTier

func (o *CustomerUpdateRequest) GetTier() string

GetTier returns the Tier field value if set, zero value otherwise.

func (*CustomerUpdateRequest) GetTierOk

func (o *CustomerUpdateRequest) GetTierOk() (*string, bool)

GetTierOk returns a tuple with the Tier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) GetUid

func (o *CustomerUpdateRequest) GetUid() string

GetUid returns the Uid field value if set, zero value otherwise.

func (*CustomerUpdateRequest) GetUidOk

func (o *CustomerUpdateRequest) GetUidOk() (*string, bool)

GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CustomerUpdateRequest) HasAddress

func (o *CustomerUpdateRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*CustomerUpdateRequest) HasEmail

func (o *CustomerUpdateRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*CustomerUpdateRequest) HasNotes

func (o *CustomerUpdateRequest) HasNotes() bool

HasNotes returns a boolean if a field has been set.

func (*CustomerUpdateRequest) HasPhone

func (o *CustomerUpdateRequest) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*CustomerUpdateRequest) HasPreferredTechnicianId

func (o *CustomerUpdateRequest) HasPreferredTechnicianId() bool

HasPreferredTechnicianId returns a boolean if a field has been set.

func (*CustomerUpdateRequest) HasServiceAreaId

func (o *CustomerUpdateRequest) HasServiceAreaId() bool

HasServiceAreaId returns a boolean if a field has been set.

func (*CustomerUpdateRequest) HasStatus

func (o *CustomerUpdateRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CustomerUpdateRequest) HasTier

func (o *CustomerUpdateRequest) HasTier() bool

HasTier returns a boolean if a field has been set.

func (*CustomerUpdateRequest) HasUid

func (o *CustomerUpdateRequest) HasUid() bool

HasUid returns a boolean if a field has been set.

func (CustomerUpdateRequest) MarshalJSON

func (o CustomerUpdateRequest) MarshalJSON() ([]byte, error)

func (*CustomerUpdateRequest) SetAddress

SetAddress gets a reference to the given CustomerAddressRequest and assigns it to the Address field.

func (*CustomerUpdateRequest) SetEmail

func (o *CustomerUpdateRequest) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*CustomerUpdateRequest) SetFullName

func (o *CustomerUpdateRequest) SetFullName(v string)

SetFullName sets field value

func (*CustomerUpdateRequest) SetNotes

func (o *CustomerUpdateRequest) SetNotes(v string)

SetNotes gets a reference to the given string and assigns it to the Notes field.

func (*CustomerUpdateRequest) SetPhone

func (o *CustomerUpdateRequest) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*CustomerUpdateRequest) SetPreferredTechnicianId

func (o *CustomerUpdateRequest) SetPreferredTechnicianId(v string)

SetPreferredTechnicianId gets a reference to the given string and assigns it to the PreferredTechnicianId field.

func (*CustomerUpdateRequest) SetServiceAreaId

func (o *CustomerUpdateRequest) SetServiceAreaId(v string)

SetServiceAreaId gets a reference to the given string and assigns it to the ServiceAreaId field.

func (*CustomerUpdateRequest) SetStatus

func (o *CustomerUpdateRequest) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*CustomerUpdateRequest) SetTier

func (o *CustomerUpdateRequest) SetTier(v string)

SetTier gets a reference to the given string and assigns it to the Tier field.

func (*CustomerUpdateRequest) SetUid

func (o *CustomerUpdateRequest) SetUid(v string)

SetUid gets a reference to the given string and assigns it to the Uid field.

func (CustomerUpdateRequest) ToMap

func (o CustomerUpdateRequest) ToMap() (map[string]interface{}, error)

func (*CustomerUpdateRequest) UnmarshalJSON

func (o *CustomerUpdateRequest) UnmarshalJSON(data []byte) (err error)

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetCustomer200Response

type GetCustomer200Response struct {
	Data *Customer `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

GetCustomer200Response struct for GetCustomer200Response

func NewGetCustomer200Response

func NewGetCustomer200Response() *GetCustomer200Response

NewGetCustomer200Response instantiates a new GetCustomer200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetCustomer200ResponseWithDefaults

func NewGetCustomer200ResponseWithDefaults() *GetCustomer200Response

NewGetCustomer200ResponseWithDefaults instantiates a new GetCustomer200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetCustomer200Response) GetData

func (o *GetCustomer200Response) GetData() Customer

GetData returns the Data field value if set, zero value otherwise.

func (*GetCustomer200Response) GetDataOk

func (o *GetCustomer200Response) GetDataOk() (*Customer, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetCustomer200Response) GetErrorCode

func (o *GetCustomer200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetCustomer200Response) GetErrorCodeOk

func (o *GetCustomer200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetCustomer200Response) GetErrors

func (o *GetCustomer200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetCustomer200Response) GetErrorsOk

func (o *GetCustomer200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetCustomer200Response) GetMessage

func (o *GetCustomer200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetCustomer200Response) GetMessageOk

func (o *GetCustomer200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetCustomer200Response) HasData

func (o *GetCustomer200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetCustomer200Response) HasErrorCode

func (o *GetCustomer200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetCustomer200Response) HasErrors

func (o *GetCustomer200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*GetCustomer200Response) HasMessage

func (o *GetCustomer200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetCustomer200Response) MarshalJSON

func (o GetCustomer200Response) MarshalJSON() ([]byte, error)

func (*GetCustomer200Response) SetData

func (o *GetCustomer200Response) SetData(v Customer)

SetData gets a reference to the given Customer and assigns it to the Data field.

func (*GetCustomer200Response) SetErrorCode

func (o *GetCustomer200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*GetCustomer200Response) SetErrors

func (o *GetCustomer200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*GetCustomer200Response) SetMessage

func (o *GetCustomer200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetCustomer200Response) ToMap

func (o GetCustomer200Response) ToMap() (map[string]interface{}, error)

type GetJobRequest200Response

type GetJobRequest200Response struct {
	Data *JobRequest `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

GetJobRequest200Response struct for GetJobRequest200Response

func NewGetJobRequest200Response

func NewGetJobRequest200Response() *GetJobRequest200Response

NewGetJobRequest200Response instantiates a new GetJobRequest200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetJobRequest200ResponseWithDefaults

func NewGetJobRequest200ResponseWithDefaults() *GetJobRequest200Response

NewGetJobRequest200ResponseWithDefaults instantiates a new GetJobRequest200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetJobRequest200Response) GetData

func (o *GetJobRequest200Response) GetData() JobRequest

GetData returns the Data field value if set, zero value otherwise.

func (*GetJobRequest200Response) GetDataOk

func (o *GetJobRequest200Response) GetDataOk() (*JobRequest, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetJobRequest200Response) GetErrorCode

func (o *GetJobRequest200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetJobRequest200Response) GetErrorCodeOk

func (o *GetJobRequest200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetJobRequest200Response) GetErrors

func (o *GetJobRequest200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetJobRequest200Response) GetErrorsOk

func (o *GetJobRequest200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetJobRequest200Response) GetMessage

func (o *GetJobRequest200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetJobRequest200Response) GetMessageOk

func (o *GetJobRequest200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetJobRequest200Response) HasData

func (o *GetJobRequest200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetJobRequest200Response) HasErrorCode

func (o *GetJobRequest200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetJobRequest200Response) HasErrors

func (o *GetJobRequest200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*GetJobRequest200Response) HasMessage

func (o *GetJobRequest200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetJobRequest200Response) MarshalJSON

func (o GetJobRequest200Response) MarshalJSON() ([]byte, error)

func (*GetJobRequest200Response) SetData

func (o *GetJobRequest200Response) SetData(v JobRequest)

SetData gets a reference to the given JobRequest and assigns it to the Data field.

func (*GetJobRequest200Response) SetErrorCode

func (o *GetJobRequest200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*GetJobRequest200Response) SetErrors

func (o *GetJobRequest200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*GetJobRequest200Response) SetMessage

func (o *GetJobRequest200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetJobRequest200Response) ToMap

func (o GetJobRequest200Response) ToMap() (map[string]interface{}, error)

type GetJobRequestTimeline200Response

type GetJobRequestTimeline200Response struct {
	Data *JobRequestTimeline `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

GetJobRequestTimeline200Response struct for GetJobRequestTimeline200Response

func NewGetJobRequestTimeline200Response

func NewGetJobRequestTimeline200Response() *GetJobRequestTimeline200Response

NewGetJobRequestTimeline200Response instantiates a new GetJobRequestTimeline200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetJobRequestTimeline200ResponseWithDefaults

func NewGetJobRequestTimeline200ResponseWithDefaults() *GetJobRequestTimeline200Response

NewGetJobRequestTimeline200ResponseWithDefaults instantiates a new GetJobRequestTimeline200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetJobRequestTimeline200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetJobRequestTimeline200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetJobRequestTimeline200Response) GetErrorCode

func (o *GetJobRequestTimeline200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetJobRequestTimeline200Response) GetErrorCodeOk

func (o *GetJobRequestTimeline200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetJobRequestTimeline200Response) GetErrors

func (o *GetJobRequestTimeline200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetJobRequestTimeline200Response) GetErrorsOk

func (o *GetJobRequestTimeline200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetJobRequestTimeline200Response) GetMessage

func (o *GetJobRequestTimeline200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetJobRequestTimeline200Response) GetMessageOk

func (o *GetJobRequestTimeline200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetJobRequestTimeline200Response) HasData

HasData returns a boolean if a field has been set.

func (*GetJobRequestTimeline200Response) HasErrorCode

func (o *GetJobRequestTimeline200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetJobRequestTimeline200Response) HasErrors

func (o *GetJobRequestTimeline200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*GetJobRequestTimeline200Response) HasMessage

func (o *GetJobRequestTimeline200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetJobRequestTimeline200Response) MarshalJSON

func (o GetJobRequestTimeline200Response) MarshalJSON() ([]byte, error)

func (*GetJobRequestTimeline200Response) SetData

SetData gets a reference to the given JobRequestTimeline and assigns it to the Data field.

func (*GetJobRequestTimeline200Response) SetErrorCode

func (o *GetJobRequestTimeline200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*GetJobRequestTimeline200Response) SetErrors

func (o *GetJobRequestTimeline200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*GetJobRequestTimeline200Response) SetMessage

func (o *GetJobRequestTimeline200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetJobRequestTimeline200Response) ToMap

func (o GetJobRequestTimeline200Response) ToMap() (map[string]interface{}, error)

type GetJobType200Response

type GetJobType200Response struct {
	Data *JobType `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

GetJobType200Response struct for GetJobType200Response

func NewGetJobType200Response

func NewGetJobType200Response() *GetJobType200Response

NewGetJobType200Response instantiates a new GetJobType200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetJobType200ResponseWithDefaults

func NewGetJobType200ResponseWithDefaults() *GetJobType200Response

NewGetJobType200ResponseWithDefaults instantiates a new GetJobType200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetJobType200Response) GetData

func (o *GetJobType200Response) GetData() JobType

GetData returns the Data field value if set, zero value otherwise.

func (*GetJobType200Response) GetDataOk

func (o *GetJobType200Response) GetDataOk() (*JobType, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetJobType200Response) GetErrorCode

func (o *GetJobType200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetJobType200Response) GetErrorCodeOk

func (o *GetJobType200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetJobType200Response) GetErrors

func (o *GetJobType200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetJobType200Response) GetErrorsOk

func (o *GetJobType200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetJobType200Response) GetMessage

func (o *GetJobType200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetJobType200Response) GetMessageOk

func (o *GetJobType200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetJobType200Response) HasData

func (o *GetJobType200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetJobType200Response) HasErrorCode

func (o *GetJobType200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetJobType200Response) HasErrors

func (o *GetJobType200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*GetJobType200Response) HasMessage

func (o *GetJobType200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetJobType200Response) MarshalJSON

func (o GetJobType200Response) MarshalJSON() ([]byte, error)

func (*GetJobType200Response) SetData

func (o *GetJobType200Response) SetData(v JobType)

SetData gets a reference to the given JobType and assigns it to the Data field.

func (*GetJobType200Response) SetErrorCode

func (o *GetJobType200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*GetJobType200Response) SetErrors

func (o *GetJobType200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*GetJobType200Response) SetMessage

func (o *GetJobType200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetJobType200Response) ToMap

func (o GetJobType200Response) ToMap() (map[string]interface{}, error)

type GetServiceArea200Response

type GetServiceArea200Response struct {
	Data *ServiceArea `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

GetServiceArea200Response struct for GetServiceArea200Response

func NewGetServiceArea200Response

func NewGetServiceArea200Response() *GetServiceArea200Response

NewGetServiceArea200Response instantiates a new GetServiceArea200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetServiceArea200ResponseWithDefaults

func NewGetServiceArea200ResponseWithDefaults() *GetServiceArea200Response

NewGetServiceArea200ResponseWithDefaults instantiates a new GetServiceArea200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetServiceArea200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*GetServiceArea200Response) GetDataOk

func (o *GetServiceArea200Response) GetDataOk() (*ServiceArea, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetServiceArea200Response) GetErrorCode

func (o *GetServiceArea200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetServiceArea200Response) GetErrorCodeOk

func (o *GetServiceArea200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetServiceArea200Response) GetErrors

func (o *GetServiceArea200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetServiceArea200Response) GetErrorsOk

func (o *GetServiceArea200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetServiceArea200Response) GetMessage

func (o *GetServiceArea200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetServiceArea200Response) GetMessageOk

func (o *GetServiceArea200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetServiceArea200Response) HasData

func (o *GetServiceArea200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetServiceArea200Response) HasErrorCode

func (o *GetServiceArea200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetServiceArea200Response) HasErrors

func (o *GetServiceArea200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*GetServiceArea200Response) HasMessage

func (o *GetServiceArea200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetServiceArea200Response) MarshalJSON

func (o GetServiceArea200Response) MarshalJSON() ([]byte, error)

func (*GetServiceArea200Response) SetData

func (o *GetServiceArea200Response) SetData(v ServiceArea)

SetData gets a reference to the given ServiceArea and assigns it to the Data field.

func (*GetServiceArea200Response) SetErrorCode

func (o *GetServiceArea200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*GetServiceArea200Response) SetErrors

func (o *GetServiceArea200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*GetServiceArea200Response) SetMessage

func (o *GetServiceArea200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetServiceArea200Response) ToMap

func (o GetServiceArea200Response) ToMap() (map[string]interface{}, error)

type GetTechnician200Response

type GetTechnician200Response struct {
	Data *Technician `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

GetTechnician200Response struct for GetTechnician200Response

func NewGetTechnician200Response

func NewGetTechnician200Response() *GetTechnician200Response

NewGetTechnician200Response instantiates a new GetTechnician200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetTechnician200ResponseWithDefaults

func NewGetTechnician200ResponseWithDefaults() *GetTechnician200Response

NewGetTechnician200ResponseWithDefaults instantiates a new GetTechnician200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetTechnician200Response) GetData

func (o *GetTechnician200Response) GetData() Technician

GetData returns the Data field value if set, zero value otherwise.

func (*GetTechnician200Response) GetDataOk

func (o *GetTechnician200Response) GetDataOk() (*Technician, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetTechnician200Response) GetErrorCode

func (o *GetTechnician200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetTechnician200Response) GetErrorCodeOk

func (o *GetTechnician200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetTechnician200Response) GetErrors

func (o *GetTechnician200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetTechnician200Response) GetErrorsOk

func (o *GetTechnician200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetTechnician200Response) GetMessage

func (o *GetTechnician200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetTechnician200Response) GetMessageOk

func (o *GetTechnician200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetTechnician200Response) HasData

func (o *GetTechnician200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetTechnician200Response) HasErrorCode

func (o *GetTechnician200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetTechnician200Response) HasErrors

func (o *GetTechnician200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*GetTechnician200Response) HasMessage

func (o *GetTechnician200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetTechnician200Response) MarshalJSON

func (o GetTechnician200Response) MarshalJSON() ([]byte, error)

func (*GetTechnician200Response) SetData

func (o *GetTechnician200Response) SetData(v Technician)

SetData gets a reference to the given Technician and assigns it to the Data field.

func (*GetTechnician200Response) SetErrorCode

func (o *GetTechnician200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*GetTechnician200Response) SetErrors

func (o *GetTechnician200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*GetTechnician200Response) SetMessage

func (o *GetTechnician200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetTechnician200Response) ToMap

func (o GetTechnician200Response) ToMap() (map[string]interface{}, error)

type GetTechnicianSchedule200Response added in v0.2.0

type GetTechnicianSchedule200Response struct {
	Data *TechnicianSchedule `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

GetTechnicianSchedule200Response struct for GetTechnicianSchedule200Response

func NewGetTechnicianSchedule200Response added in v0.2.0

func NewGetTechnicianSchedule200Response() *GetTechnicianSchedule200Response

NewGetTechnicianSchedule200Response instantiates a new GetTechnicianSchedule200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetTechnicianSchedule200ResponseWithDefaults added in v0.2.0

func NewGetTechnicianSchedule200ResponseWithDefaults() *GetTechnicianSchedule200Response

NewGetTechnicianSchedule200ResponseWithDefaults instantiates a new GetTechnicianSchedule200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetTechnicianSchedule200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*GetTechnicianSchedule200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetTechnicianSchedule200Response) GetErrorCode added in v0.2.0

func (o *GetTechnicianSchedule200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetTechnicianSchedule200Response) GetErrorCodeOk added in v0.2.0

func (o *GetTechnicianSchedule200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetTechnicianSchedule200Response) GetErrors added in v0.2.0

func (o *GetTechnicianSchedule200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetTechnicianSchedule200Response) GetErrorsOk added in v0.2.0

func (o *GetTechnicianSchedule200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetTechnicianSchedule200Response) GetMessage added in v0.2.0

func (o *GetTechnicianSchedule200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetTechnicianSchedule200Response) GetMessageOk added in v0.2.0

func (o *GetTechnicianSchedule200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetTechnicianSchedule200Response) HasData added in v0.2.0

HasData returns a boolean if a field has been set.

func (*GetTechnicianSchedule200Response) HasErrorCode added in v0.2.0

func (o *GetTechnicianSchedule200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetTechnicianSchedule200Response) HasErrors added in v0.2.0

func (o *GetTechnicianSchedule200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*GetTechnicianSchedule200Response) HasMessage added in v0.2.0

func (o *GetTechnicianSchedule200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetTechnicianSchedule200Response) MarshalJSON added in v0.2.0

func (o GetTechnicianSchedule200Response) MarshalJSON() ([]byte, error)

func (*GetTechnicianSchedule200Response) SetData added in v0.2.0

SetData gets a reference to the given TechnicianSchedule and assigns it to the Data field.

func (*GetTechnicianSchedule200Response) SetErrorCode added in v0.2.0

func (o *GetTechnicianSchedule200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*GetTechnicianSchedule200Response) SetErrors added in v0.2.0

func (o *GetTechnicianSchedule200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*GetTechnicianSchedule200Response) SetMessage added in v0.2.0

func (o *GetTechnicianSchedule200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetTechnicianSchedule200Response) ToMap added in v0.2.0

func (o GetTechnicianSchedule200Response) ToMap() (map[string]interface{}, error)

type GetVehicle200Response

type GetVehicle200Response struct {
	Data *Vehicle `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

GetVehicle200Response struct for GetVehicle200Response

func NewGetVehicle200Response

func NewGetVehicle200Response() *GetVehicle200Response

NewGetVehicle200Response instantiates a new GetVehicle200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetVehicle200ResponseWithDefaults

func NewGetVehicle200ResponseWithDefaults() *GetVehicle200Response

NewGetVehicle200ResponseWithDefaults instantiates a new GetVehicle200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetVehicle200Response) GetData

func (o *GetVehicle200Response) GetData() Vehicle

GetData returns the Data field value if set, zero value otherwise.

func (*GetVehicle200Response) GetDataOk

func (o *GetVehicle200Response) GetDataOk() (*Vehicle, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetVehicle200Response) GetErrorCode

func (o *GetVehicle200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetVehicle200Response) GetErrorCodeOk

func (o *GetVehicle200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetVehicle200Response) GetErrors

func (o *GetVehicle200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*GetVehicle200Response) GetErrorsOk

func (o *GetVehicle200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetVehicle200Response) GetMessage

func (o *GetVehicle200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*GetVehicle200Response) GetMessageOk

func (o *GetVehicle200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetVehicle200Response) HasData

func (o *GetVehicle200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*GetVehicle200Response) HasErrorCode

func (o *GetVehicle200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*GetVehicle200Response) HasErrors

func (o *GetVehicle200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*GetVehicle200Response) HasMessage

func (o *GetVehicle200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (GetVehicle200Response) MarshalJSON

func (o GetVehicle200Response) MarshalJSON() ([]byte, error)

func (*GetVehicle200Response) SetData

func (o *GetVehicle200Response) SetData(v Vehicle)

SetData gets a reference to the given Vehicle and assigns it to the Data field.

func (*GetVehicle200Response) SetErrorCode

func (o *GetVehicle200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*GetVehicle200Response) SetErrors

func (o *GetVehicle200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*GetVehicle200Response) SetMessage

func (o *GetVehicle200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (GetVehicle200Response) ToMap

func (o GetVehicle200Response) ToMap() (map[string]interface{}, error)

type JobDate

type JobDate struct {
	// Requested calendar day (YYYY-MM-DD), customer-local.
	Date *string `json:"date,omitempty"`
	// Time-of-day periods picked on this date.
	Periods []JobDatePeriodEntry `json:"periods,omitempty"`
}

JobDate struct for JobDate

func NewJobDate

func NewJobDate() *JobDate

NewJobDate instantiates a new JobDate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobDateWithDefaults

func NewJobDateWithDefaults() *JobDate

NewJobDateWithDefaults instantiates a new JobDate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobDate) GetDate

func (o *JobDate) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*JobDate) GetDateOk

func (o *JobDate) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobDate) GetPeriods

func (o *JobDate) GetPeriods() []JobDatePeriodEntry

GetPeriods returns the Periods field value if set, zero value otherwise.

func (*JobDate) GetPeriodsOk

func (o *JobDate) GetPeriodsOk() ([]JobDatePeriodEntry, bool)

GetPeriodsOk returns a tuple with the Periods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobDate) HasDate

func (o *JobDate) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*JobDate) HasPeriods

func (o *JobDate) HasPeriods() bool

HasPeriods returns a boolean if a field has been set.

func (JobDate) MarshalJSON

func (o JobDate) MarshalJSON() ([]byte, error)

func (*JobDate) SetDate

func (o *JobDate) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*JobDate) SetPeriods

func (o *JobDate) SetPeriods(v []JobDatePeriodEntry)

SetPeriods gets a reference to the given []JobDatePeriodEntry and assigns it to the Periods field.

func (JobDate) ToMap

func (o JobDate) ToMap() (map[string]interface{}, error)

type JobDateBusinessRange

type JobDateBusinessRange struct {
	// Calendar day (YYYY-MM-DD) this range falls on, business-local.
	Date *string `json:"date,omitempty"`
	// Range end as minutes since business-local midnight (0–1440); 1440 = end of day.
	EndMinute *int32 `json:"end_minute,omitempty"`
	// Time-of-day period this range backs.
	Period *JobDatePeriod `json:"period,omitempty"`
	// Range start as minutes since business-local midnight (0–1440).
	StartMinute *int32 `json:"start_minute,omitempty"`
}

JobDateBusinessRange struct for JobDateBusinessRange

func NewJobDateBusinessRange

func NewJobDateBusinessRange() *JobDateBusinessRange

NewJobDateBusinessRange instantiates a new JobDateBusinessRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobDateBusinessRangeWithDefaults

func NewJobDateBusinessRangeWithDefaults() *JobDateBusinessRange

NewJobDateBusinessRangeWithDefaults instantiates a new JobDateBusinessRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobDateBusinessRange) GetDate

func (o *JobDateBusinessRange) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*JobDateBusinessRange) GetDateOk

func (o *JobDateBusinessRange) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobDateBusinessRange) GetEndMinute

func (o *JobDateBusinessRange) GetEndMinute() int32

GetEndMinute returns the EndMinute field value if set, zero value otherwise.

func (*JobDateBusinessRange) GetEndMinuteOk

func (o *JobDateBusinessRange) GetEndMinuteOk() (*int32, bool)

GetEndMinuteOk returns a tuple with the EndMinute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobDateBusinessRange) GetPeriod

func (o *JobDateBusinessRange) GetPeriod() JobDatePeriod

GetPeriod returns the Period field value if set, zero value otherwise.

func (*JobDateBusinessRange) GetPeriodOk

func (o *JobDateBusinessRange) GetPeriodOk() (*JobDatePeriod, bool)

GetPeriodOk returns a tuple with the Period field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobDateBusinessRange) GetStartMinute

func (o *JobDateBusinessRange) GetStartMinute() int32

GetStartMinute returns the StartMinute field value if set, zero value otherwise.

func (*JobDateBusinessRange) GetStartMinuteOk

func (o *JobDateBusinessRange) GetStartMinuteOk() (*int32, bool)

GetStartMinuteOk returns a tuple with the StartMinute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobDateBusinessRange) HasDate

func (o *JobDateBusinessRange) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*JobDateBusinessRange) HasEndMinute

func (o *JobDateBusinessRange) HasEndMinute() bool

HasEndMinute returns a boolean if a field has been set.

func (*JobDateBusinessRange) HasPeriod

func (o *JobDateBusinessRange) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

func (*JobDateBusinessRange) HasStartMinute

func (o *JobDateBusinessRange) HasStartMinute() bool

HasStartMinute returns a boolean if a field has been set.

func (JobDateBusinessRange) MarshalJSON

func (o JobDateBusinessRange) MarshalJSON() ([]byte, error)

func (*JobDateBusinessRange) SetDate

func (o *JobDateBusinessRange) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*JobDateBusinessRange) SetEndMinute

func (o *JobDateBusinessRange) SetEndMinute(v int32)

SetEndMinute gets a reference to the given int32 and assigns it to the EndMinute field.

func (*JobDateBusinessRange) SetPeriod

func (o *JobDateBusinessRange) SetPeriod(v JobDatePeriod)

SetPeriod gets a reference to the given JobDatePeriod and assigns it to the Period field.

func (*JobDateBusinessRange) SetStartMinute

func (o *JobDateBusinessRange) SetStartMinute(v int32)

SetStartMinute gets a reference to the given int32 and assigns it to the StartMinute field.

func (JobDateBusinessRange) ToMap

func (o JobDateBusinessRange) ToMap() (map[string]interface{}, error)

type JobDatePeriod

type JobDatePeriod string

JobDatePeriod the model 'JobDatePeriod'

const (
	JOBDATEPERIOD_PeriodMorning   JobDatePeriod = "morning"
	JOBDATEPERIOD_PeriodAfternoon JobDatePeriod = "afternoon"
	JOBDATEPERIOD_PeriodEvening   JobDatePeriod = "evening"
)

List of JobDatePeriod

func NewJobDatePeriodFromValue

func NewJobDatePeriodFromValue(v string) (*JobDatePeriod, error)

NewJobDatePeriodFromValue returns a pointer to a valid JobDatePeriod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (JobDatePeriod) IsValid

func (v JobDatePeriod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (JobDatePeriod) Ptr

func (v JobDatePeriod) Ptr() *JobDatePeriod

Ptr returns reference to JobDatePeriod value

func (*JobDatePeriod) UnmarshalJSON

func (v *JobDatePeriod) UnmarshalJSON(src []byte) error

type JobDatePeriodEntry

type JobDatePeriodEntry struct {
	// Business-local minute ranges that back this period selection.
	BusinessView []JobDateBusinessRange `json:"business_view,omitempty"`
	// Time-of-day period the customer picked.
	Period *JobDatePeriod `json:"period,omitempty"`
}

JobDatePeriodEntry struct for JobDatePeriodEntry

func NewJobDatePeriodEntry

func NewJobDatePeriodEntry() *JobDatePeriodEntry

NewJobDatePeriodEntry instantiates a new JobDatePeriodEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobDatePeriodEntryWithDefaults

func NewJobDatePeriodEntryWithDefaults() *JobDatePeriodEntry

NewJobDatePeriodEntryWithDefaults instantiates a new JobDatePeriodEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobDatePeriodEntry) GetBusinessView

func (o *JobDatePeriodEntry) GetBusinessView() []JobDateBusinessRange

GetBusinessView returns the BusinessView field value if set, zero value otherwise.

func (*JobDatePeriodEntry) GetBusinessViewOk

func (o *JobDatePeriodEntry) GetBusinessViewOk() ([]JobDateBusinessRange, bool)

GetBusinessViewOk returns a tuple with the BusinessView field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobDatePeriodEntry) GetPeriod

func (o *JobDatePeriodEntry) GetPeriod() JobDatePeriod

GetPeriod returns the Period field value if set, zero value otherwise.

func (*JobDatePeriodEntry) GetPeriodOk

func (o *JobDatePeriodEntry) GetPeriodOk() (*JobDatePeriod, bool)

GetPeriodOk returns a tuple with the Period field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobDatePeriodEntry) HasBusinessView

func (o *JobDatePeriodEntry) HasBusinessView() bool

HasBusinessView returns a boolean if a field has been set.

func (*JobDatePeriodEntry) HasPeriod

func (o *JobDatePeriodEntry) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

func (JobDatePeriodEntry) MarshalJSON

func (o JobDatePeriodEntry) MarshalJSON() ([]byte, error)

func (*JobDatePeriodEntry) SetBusinessView

func (o *JobDatePeriodEntry) SetBusinessView(v []JobDateBusinessRange)

SetBusinessView gets a reference to the given []JobDateBusinessRange and assigns it to the BusinessView field.

func (*JobDatePeriodEntry) SetPeriod

func (o *JobDatePeriodEntry) SetPeriod(v JobDatePeriod)

SetPeriod gets a reference to the given JobDatePeriod and assigns it to the Period field.

func (JobDatePeriodEntry) ToMap

func (o JobDatePeriodEntry) ToMap() (map[string]interface{}, error)

type JobRequest

type JobRequest struct {
	// ActionAudit is the per-action audit log keyed by action_key. `complete` fixed action không xuất hiện ở đây — actor lookup qua CompletedByUserID.
	ActionAudit *map[string]JobRequestActionAuditEntry `json:"action_audit,omitempty"`
	// The job's service address snapshot.
	Address *JobRequestAddressSummary `json:"address,omitempty"`
	// The job's archive state.
	Archive *JobRequestArchiveSummary `json:"archive,omitempty"`
	// AssignedVehicle is the carpool vehicle (the lead drives). Omitted when the job has no vehicle.
	AssignedVehicle *JobRequestAssignedVehicle `json:"assigned_vehicle,omitempty"`
	// Who/what is assigned to the job.
	Assignment *JobRequestAssignmentSummary `json:"assignment,omitempty"`
	// Attention is the dispatch-board \"needs attention\" marker (exception tray); null when the job needs no attention.
	Attention *JobRequestAttentionSummary `json:"attention,omitempty"`
	// UUID of the owning business.
	BusinessId *string `json:"business_id,omitempty"`
	// When the job was completed (UTC); null until completed.
	CompletedAt *time.Time `json:"completed_at,omitempty"`
	// UUID of the user who fired complete; null until completed.
	CompletedByUserId *string `json:"completed_by_user_id,omitempty"`
	// When the job was created (UTC).
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Crew is the multi-person crew on the job (lead first). A single-person job has one member. Omitted when no session plan exists.
	Crew []JobRequestCrewMember `json:"crew,omitempty"`
	// The job's current workflow status.
	CurrentStatus *JobRequestStatusSummary `json:"current_status,omitempty"`
	// The job's customer contact snapshot.
	Customer *JobRequestCustomerSummary `json:"customer,omitempty"`
	// Ready-to-share customer URL embedding the magic token. Omitted if not issued.
	CustomerUrl *string `json:"customer_url,omitempty"`
	// When the job was soft-deleted (UTC); omitted unless deleted.
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	// Free-text job description; null if none.
	Description *string `json:"description,omitempty"`
	// Job request UUID.
	Id *string `json:"id,omitempty"`
	// UUID of the job type, or null if unclassified.
	JobTypeId *string `json:"job_type_id,omitempty"`
	// Job type display name (resolved to locale). Omitted if unclassified.
	JobTypeName *string `json:"job_type_name,omitempty"`
	// The action(s) the job is currently waiting on. Omitted in a terminal status.
	NextActions []JobRequestActionSummary `json:"next_actions,omitempty"`
	// Scheduling priority. p0=emergency (interrupt-driven), p1=top (displaced only by p0), p2=standard, p3=deferrable (first candidate for displacement).
	Priority *string `json:"priority,omitempty"`
	// The time-bundle quoted for the job.
	Quote *JobRequestQuoteSummary `json:"quote,omitempty"`
	// The customer's rating of the completed job.
	Rating *JobRequestRatingSummary `json:"rating,omitempty"`
	// When/how the job is scheduled and its per-day plan.
	Schedule *JobRequestSchedule `json:"schedule,omitempty"`
	// Human-friendly short code. Omitted if not assigned.
	ShortCode *string `json:"short_code,omitempty"`
	// Desired skills for the job (resolved id+name).
	Skills []JobRequestSkillSummary `json:"skills,omitempty"`
	// SLA deadline (UTC) armed on a p1 job; omitted when no SLA.
	SlaDeadline *time.Time `json:"sla_deadline,omitempty"`
	// When the SLA sweep auto-escalated this job to p0 (UTC); omitted if never.
	SlaEscalatedAt *time.Time `json:"sla_escalated_at,omitempty"`
	// When the sweep fired the one-shot pre-escalation warning (UTC); omitted if never.
	SlaWarnedAt *time.Time `json:"sla_warned_at,omitempty"`
	// Optimistic-lock version; pass back as status_version on transitions to avoid races.
	StatusVersion *int32 `json:"status_version,omitempty"`
	// When the job was last modified (UTC).
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// UUID of the workflow snapshot driving this job's state machine.
	WorkflowId *string `json:"workflow_id,omitempty"`
	// Workflow display name.
	WorkflowName *string `json:"workflow_name,omitempty"`
}

JobRequest struct for JobRequest

func NewJobRequest

func NewJobRequest() *JobRequest

NewJobRequest instantiates a new JobRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestWithDefaults

func NewJobRequestWithDefaults() *JobRequest

NewJobRequestWithDefaults instantiates a new JobRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequest) GetActionAudit

func (o *JobRequest) GetActionAudit() map[string]JobRequestActionAuditEntry

GetActionAudit returns the ActionAudit field value if set, zero value otherwise.

func (*JobRequest) GetActionAuditOk

func (o *JobRequest) GetActionAuditOk() (*map[string]JobRequestActionAuditEntry, bool)

GetActionAuditOk returns a tuple with the ActionAudit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetAddress

func (o *JobRequest) GetAddress() JobRequestAddressSummary

GetAddress returns the Address field value if set, zero value otherwise.

func (*JobRequest) GetAddressOk

func (o *JobRequest) GetAddressOk() (*JobRequestAddressSummary, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetArchive

func (o *JobRequest) GetArchive() JobRequestArchiveSummary

GetArchive returns the Archive field value if set, zero value otherwise.

func (*JobRequest) GetArchiveOk

func (o *JobRequest) GetArchiveOk() (*JobRequestArchiveSummary, bool)

GetArchiveOk returns a tuple with the Archive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetAssignedVehicle

func (o *JobRequest) GetAssignedVehicle() JobRequestAssignedVehicle

GetAssignedVehicle returns the AssignedVehicle field value if set, zero value otherwise.

func (*JobRequest) GetAssignedVehicleOk

func (o *JobRequest) GetAssignedVehicleOk() (*JobRequestAssignedVehicle, bool)

GetAssignedVehicleOk returns a tuple with the AssignedVehicle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetAssignment

func (o *JobRequest) GetAssignment() JobRequestAssignmentSummary

GetAssignment returns the Assignment field value if set, zero value otherwise.

func (*JobRequest) GetAssignmentOk

func (o *JobRequest) GetAssignmentOk() (*JobRequestAssignmentSummary, bool)

GetAssignmentOk returns a tuple with the Assignment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetAttention added in v0.2.0

func (o *JobRequest) GetAttention() JobRequestAttentionSummary

GetAttention returns the Attention field value if set, zero value otherwise.

func (*JobRequest) GetAttentionOk added in v0.2.0

func (o *JobRequest) GetAttentionOk() (*JobRequestAttentionSummary, bool)

GetAttentionOk returns a tuple with the Attention field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetBusinessId

func (o *JobRequest) GetBusinessId() string

GetBusinessId returns the BusinessId field value if set, zero value otherwise.

func (*JobRequest) GetBusinessIdOk

func (o *JobRequest) GetBusinessIdOk() (*string, bool)

GetBusinessIdOk returns a tuple with the BusinessId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetCompletedAt

func (o *JobRequest) GetCompletedAt() time.Time

GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.

func (*JobRequest) GetCompletedAtOk

func (o *JobRequest) GetCompletedAtOk() (*time.Time, bool)

GetCompletedAtOk returns a tuple with the CompletedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetCompletedByUserId

func (o *JobRequest) GetCompletedByUserId() string

GetCompletedByUserId returns the CompletedByUserId field value if set, zero value otherwise.

func (*JobRequest) GetCompletedByUserIdOk

func (o *JobRequest) GetCompletedByUserIdOk() (*string, bool)

GetCompletedByUserIdOk returns a tuple with the CompletedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetCreatedAt

func (o *JobRequest) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*JobRequest) GetCreatedAtOk

func (o *JobRequest) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetCrew

func (o *JobRequest) GetCrew() []JobRequestCrewMember

GetCrew returns the Crew field value if set, zero value otherwise.

func (*JobRequest) GetCrewOk

func (o *JobRequest) GetCrewOk() ([]JobRequestCrewMember, bool)

GetCrewOk returns a tuple with the Crew field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetCurrentStatus

func (o *JobRequest) GetCurrentStatus() JobRequestStatusSummary

GetCurrentStatus returns the CurrentStatus field value if set, zero value otherwise.

func (*JobRequest) GetCurrentStatusOk

func (o *JobRequest) GetCurrentStatusOk() (*JobRequestStatusSummary, bool)

GetCurrentStatusOk returns a tuple with the CurrentStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetCustomer

func (o *JobRequest) GetCustomer() JobRequestCustomerSummary

GetCustomer returns the Customer field value if set, zero value otherwise.

func (*JobRequest) GetCustomerOk

func (o *JobRequest) GetCustomerOk() (*JobRequestCustomerSummary, bool)

GetCustomerOk returns a tuple with the Customer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetCustomerUrl

func (o *JobRequest) GetCustomerUrl() string

GetCustomerUrl returns the CustomerUrl field value if set, zero value otherwise.

func (*JobRequest) GetCustomerUrlOk

func (o *JobRequest) GetCustomerUrlOk() (*string, bool)

GetCustomerUrlOk returns a tuple with the CustomerUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetDeletedAt

func (o *JobRequest) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*JobRequest) GetDeletedAtOk

func (o *JobRequest) GetDeletedAtOk() (*time.Time, bool)

GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetDescription

func (o *JobRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*JobRequest) GetDescriptionOk

func (o *JobRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetId

func (o *JobRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JobRequest) GetIdOk

func (o *JobRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetJobTypeId

func (o *JobRequest) GetJobTypeId() string

GetJobTypeId returns the JobTypeId field value if set, zero value otherwise.

func (*JobRequest) GetJobTypeIdOk

func (o *JobRequest) GetJobTypeIdOk() (*string, bool)

GetJobTypeIdOk returns a tuple with the JobTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetJobTypeName

func (o *JobRequest) GetJobTypeName() string

GetJobTypeName returns the JobTypeName field value if set, zero value otherwise.

func (*JobRequest) GetJobTypeNameOk

func (o *JobRequest) GetJobTypeNameOk() (*string, bool)

GetJobTypeNameOk returns a tuple with the JobTypeName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetNextActions

func (o *JobRequest) GetNextActions() []JobRequestActionSummary

GetNextActions returns the NextActions field value if set, zero value otherwise.

func (*JobRequest) GetNextActionsOk

func (o *JobRequest) GetNextActionsOk() ([]JobRequestActionSummary, bool)

GetNextActionsOk returns a tuple with the NextActions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetPriority

func (o *JobRequest) GetPriority() string

GetPriority returns the Priority field value if set, zero value otherwise.

func (*JobRequest) GetPriorityOk

func (o *JobRequest) GetPriorityOk() (*string, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetQuote

func (o *JobRequest) GetQuote() JobRequestQuoteSummary

GetQuote returns the Quote field value if set, zero value otherwise.

func (*JobRequest) GetQuoteOk

func (o *JobRequest) GetQuoteOk() (*JobRequestQuoteSummary, bool)

GetQuoteOk returns a tuple with the Quote field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetRating

func (o *JobRequest) GetRating() JobRequestRatingSummary

GetRating returns the Rating field value if set, zero value otherwise.

func (*JobRequest) GetRatingOk

func (o *JobRequest) GetRatingOk() (*JobRequestRatingSummary, bool)

GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetSchedule

func (o *JobRequest) GetSchedule() JobRequestSchedule

GetSchedule returns the Schedule field value if set, zero value otherwise.

func (*JobRequest) GetScheduleOk

func (o *JobRequest) GetScheduleOk() (*JobRequestSchedule, bool)

GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetShortCode

func (o *JobRequest) GetShortCode() string

GetShortCode returns the ShortCode field value if set, zero value otherwise.

func (*JobRequest) GetShortCodeOk

func (o *JobRequest) GetShortCodeOk() (*string, bool)

GetShortCodeOk returns a tuple with the ShortCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetSkills

func (o *JobRequest) GetSkills() []JobRequestSkillSummary

GetSkills returns the Skills field value if set, zero value otherwise.

func (*JobRequest) GetSkillsOk

func (o *JobRequest) GetSkillsOk() ([]JobRequestSkillSummary, bool)

GetSkillsOk returns a tuple with the Skills field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetSlaDeadline added in v0.2.0

func (o *JobRequest) GetSlaDeadline() time.Time

GetSlaDeadline returns the SlaDeadline field value if set, zero value otherwise.

func (*JobRequest) GetSlaDeadlineOk added in v0.2.0

func (o *JobRequest) GetSlaDeadlineOk() (*time.Time, bool)

GetSlaDeadlineOk returns a tuple with the SlaDeadline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetSlaEscalatedAt added in v0.2.0

func (o *JobRequest) GetSlaEscalatedAt() time.Time

GetSlaEscalatedAt returns the SlaEscalatedAt field value if set, zero value otherwise.

func (*JobRequest) GetSlaEscalatedAtOk added in v0.2.0

func (o *JobRequest) GetSlaEscalatedAtOk() (*time.Time, bool)

GetSlaEscalatedAtOk returns a tuple with the SlaEscalatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetSlaWarnedAt added in v0.2.0

func (o *JobRequest) GetSlaWarnedAt() time.Time

GetSlaWarnedAt returns the SlaWarnedAt field value if set, zero value otherwise.

func (*JobRequest) GetSlaWarnedAtOk added in v0.2.0

func (o *JobRequest) GetSlaWarnedAtOk() (*time.Time, bool)

GetSlaWarnedAtOk returns a tuple with the SlaWarnedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetStatusVersion

func (o *JobRequest) GetStatusVersion() int32

GetStatusVersion returns the StatusVersion field value if set, zero value otherwise.

func (*JobRequest) GetStatusVersionOk

func (o *JobRequest) GetStatusVersionOk() (*int32, bool)

GetStatusVersionOk returns a tuple with the StatusVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetUpdatedAt

func (o *JobRequest) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*JobRequest) GetUpdatedAtOk

func (o *JobRequest) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetWorkflowId

func (o *JobRequest) GetWorkflowId() string

GetWorkflowId returns the WorkflowId field value if set, zero value otherwise.

func (*JobRequest) GetWorkflowIdOk

func (o *JobRequest) GetWorkflowIdOk() (*string, bool)

GetWorkflowIdOk returns a tuple with the WorkflowId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) GetWorkflowName

func (o *JobRequest) GetWorkflowName() string

GetWorkflowName returns the WorkflowName field value if set, zero value otherwise.

func (*JobRequest) GetWorkflowNameOk

func (o *JobRequest) GetWorkflowNameOk() (*string, bool)

GetWorkflowNameOk returns a tuple with the WorkflowName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequest) HasActionAudit

func (o *JobRequest) HasActionAudit() bool

HasActionAudit returns a boolean if a field has been set.

func (*JobRequest) HasAddress

func (o *JobRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*JobRequest) HasArchive

func (o *JobRequest) HasArchive() bool

HasArchive returns a boolean if a field has been set.

func (*JobRequest) HasAssignedVehicle

func (o *JobRequest) HasAssignedVehicle() bool

HasAssignedVehicle returns a boolean if a field has been set.

func (*JobRequest) HasAssignment

func (o *JobRequest) HasAssignment() bool

HasAssignment returns a boolean if a field has been set.

func (*JobRequest) HasAttention added in v0.2.0

func (o *JobRequest) HasAttention() bool

HasAttention returns a boolean if a field has been set.

func (*JobRequest) HasBusinessId

func (o *JobRequest) HasBusinessId() bool

HasBusinessId returns a boolean if a field has been set.

func (*JobRequest) HasCompletedAt

func (o *JobRequest) HasCompletedAt() bool

HasCompletedAt returns a boolean if a field has been set.

func (*JobRequest) HasCompletedByUserId

func (o *JobRequest) HasCompletedByUserId() bool

HasCompletedByUserId returns a boolean if a field has been set.

func (*JobRequest) HasCreatedAt

func (o *JobRequest) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*JobRequest) HasCrew

func (o *JobRequest) HasCrew() bool

HasCrew returns a boolean if a field has been set.

func (*JobRequest) HasCurrentStatus

func (o *JobRequest) HasCurrentStatus() bool

HasCurrentStatus returns a boolean if a field has been set.

func (*JobRequest) HasCustomer

func (o *JobRequest) HasCustomer() bool

HasCustomer returns a boolean if a field has been set.

func (*JobRequest) HasCustomerUrl

func (o *JobRequest) HasCustomerUrl() bool

HasCustomerUrl returns a boolean if a field has been set.

func (*JobRequest) HasDeletedAt

func (o *JobRequest) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*JobRequest) HasDescription

func (o *JobRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*JobRequest) HasId

func (o *JobRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*JobRequest) HasJobTypeId

func (o *JobRequest) HasJobTypeId() bool

HasJobTypeId returns a boolean if a field has been set.

func (*JobRequest) HasJobTypeName

func (o *JobRequest) HasJobTypeName() bool

HasJobTypeName returns a boolean if a field has been set.

func (*JobRequest) HasNextActions

func (o *JobRequest) HasNextActions() bool

HasNextActions returns a boolean if a field has been set.

func (*JobRequest) HasPriority

func (o *JobRequest) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*JobRequest) HasQuote

func (o *JobRequest) HasQuote() bool

HasQuote returns a boolean if a field has been set.

func (*JobRequest) HasRating

func (o *JobRequest) HasRating() bool

HasRating returns a boolean if a field has been set.

func (*JobRequest) HasSchedule

func (o *JobRequest) HasSchedule() bool

HasSchedule returns a boolean if a field has been set.

func (*JobRequest) HasShortCode

func (o *JobRequest) HasShortCode() bool

HasShortCode returns a boolean if a field has been set.

func (*JobRequest) HasSkills

func (o *JobRequest) HasSkills() bool

HasSkills returns a boolean if a field has been set.

func (*JobRequest) HasSlaDeadline added in v0.2.0

func (o *JobRequest) HasSlaDeadline() bool

HasSlaDeadline returns a boolean if a field has been set.

func (*JobRequest) HasSlaEscalatedAt added in v0.2.0

func (o *JobRequest) HasSlaEscalatedAt() bool

HasSlaEscalatedAt returns a boolean if a field has been set.

func (*JobRequest) HasSlaWarnedAt added in v0.2.0

func (o *JobRequest) HasSlaWarnedAt() bool

HasSlaWarnedAt returns a boolean if a field has been set.

func (*JobRequest) HasStatusVersion

func (o *JobRequest) HasStatusVersion() bool

HasStatusVersion returns a boolean if a field has been set.

func (*JobRequest) HasUpdatedAt

func (o *JobRequest) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*JobRequest) HasWorkflowId

func (o *JobRequest) HasWorkflowId() bool

HasWorkflowId returns a boolean if a field has been set.

func (*JobRequest) HasWorkflowName

func (o *JobRequest) HasWorkflowName() bool

HasWorkflowName returns a boolean if a field has been set.

func (JobRequest) MarshalJSON

func (o JobRequest) MarshalJSON() ([]byte, error)

func (*JobRequest) SetActionAudit

func (o *JobRequest) SetActionAudit(v map[string]JobRequestActionAuditEntry)

SetActionAudit gets a reference to the given map[string]JobRequestActionAuditEntry and assigns it to the ActionAudit field.

func (*JobRequest) SetAddress

func (o *JobRequest) SetAddress(v JobRequestAddressSummary)

SetAddress gets a reference to the given JobRequestAddressSummary and assigns it to the Address field.

func (*JobRequest) SetArchive

func (o *JobRequest) SetArchive(v JobRequestArchiveSummary)

SetArchive gets a reference to the given JobRequestArchiveSummary and assigns it to the Archive field.

func (*JobRequest) SetAssignedVehicle

func (o *JobRequest) SetAssignedVehicle(v JobRequestAssignedVehicle)

SetAssignedVehicle gets a reference to the given JobRequestAssignedVehicle and assigns it to the AssignedVehicle field.

func (*JobRequest) SetAssignment

func (o *JobRequest) SetAssignment(v JobRequestAssignmentSummary)

SetAssignment gets a reference to the given JobRequestAssignmentSummary and assigns it to the Assignment field.

func (*JobRequest) SetAttention added in v0.2.0

func (o *JobRequest) SetAttention(v JobRequestAttentionSummary)

SetAttention gets a reference to the given JobRequestAttentionSummary and assigns it to the Attention field.

func (*JobRequest) SetBusinessId

func (o *JobRequest) SetBusinessId(v string)

SetBusinessId gets a reference to the given string and assigns it to the BusinessId field.

func (*JobRequest) SetCompletedAt

func (o *JobRequest) SetCompletedAt(v time.Time)

SetCompletedAt gets a reference to the given time.Time and assigns it to the CompletedAt field.

func (*JobRequest) SetCompletedByUserId

func (o *JobRequest) SetCompletedByUserId(v string)

SetCompletedByUserId gets a reference to the given string and assigns it to the CompletedByUserId field.

func (*JobRequest) SetCreatedAt

func (o *JobRequest) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*JobRequest) SetCrew

func (o *JobRequest) SetCrew(v []JobRequestCrewMember)

SetCrew gets a reference to the given []JobRequestCrewMember and assigns it to the Crew field.

func (*JobRequest) SetCurrentStatus

func (o *JobRequest) SetCurrentStatus(v JobRequestStatusSummary)

SetCurrentStatus gets a reference to the given JobRequestStatusSummary and assigns it to the CurrentStatus field.

func (*JobRequest) SetCustomer

func (o *JobRequest) SetCustomer(v JobRequestCustomerSummary)

SetCustomer gets a reference to the given JobRequestCustomerSummary and assigns it to the Customer field.

func (*JobRequest) SetCustomerUrl

func (o *JobRequest) SetCustomerUrl(v string)

SetCustomerUrl gets a reference to the given string and assigns it to the CustomerUrl field.

func (*JobRequest) SetDeletedAt

func (o *JobRequest) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*JobRequest) SetDescription

func (o *JobRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*JobRequest) SetId

func (o *JobRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JobRequest) SetJobTypeId

func (o *JobRequest) SetJobTypeId(v string)

SetJobTypeId gets a reference to the given string and assigns it to the JobTypeId field.

func (*JobRequest) SetJobTypeName

func (o *JobRequest) SetJobTypeName(v string)

SetJobTypeName gets a reference to the given string and assigns it to the JobTypeName field.

func (*JobRequest) SetNextActions

func (o *JobRequest) SetNextActions(v []JobRequestActionSummary)

SetNextActions gets a reference to the given []JobRequestActionSummary and assigns it to the NextActions field.

func (*JobRequest) SetPriority

func (o *JobRequest) SetPriority(v string)

SetPriority gets a reference to the given string and assigns it to the Priority field.

func (*JobRequest) SetQuote

func (o *JobRequest) SetQuote(v JobRequestQuoteSummary)

SetQuote gets a reference to the given JobRequestQuoteSummary and assigns it to the Quote field.

func (*JobRequest) SetRating

func (o *JobRequest) SetRating(v JobRequestRatingSummary)

SetRating gets a reference to the given JobRequestRatingSummary and assigns it to the Rating field.

func (*JobRequest) SetSchedule

func (o *JobRequest) SetSchedule(v JobRequestSchedule)

SetSchedule gets a reference to the given JobRequestSchedule and assigns it to the Schedule field.

func (*JobRequest) SetShortCode

func (o *JobRequest) SetShortCode(v string)

SetShortCode gets a reference to the given string and assigns it to the ShortCode field.

func (*JobRequest) SetSkills

func (o *JobRequest) SetSkills(v []JobRequestSkillSummary)

SetSkills gets a reference to the given []JobRequestSkillSummary and assigns it to the Skills field.

func (*JobRequest) SetSlaDeadline added in v0.2.0

func (o *JobRequest) SetSlaDeadline(v time.Time)

SetSlaDeadline gets a reference to the given time.Time and assigns it to the SlaDeadline field.

func (*JobRequest) SetSlaEscalatedAt added in v0.2.0

func (o *JobRequest) SetSlaEscalatedAt(v time.Time)

SetSlaEscalatedAt gets a reference to the given time.Time and assigns it to the SlaEscalatedAt field.

func (*JobRequest) SetSlaWarnedAt added in v0.2.0

func (o *JobRequest) SetSlaWarnedAt(v time.Time)

SetSlaWarnedAt gets a reference to the given time.Time and assigns it to the SlaWarnedAt field.

func (*JobRequest) SetStatusVersion

func (o *JobRequest) SetStatusVersion(v int32)

SetStatusVersion gets a reference to the given int32 and assigns it to the StatusVersion field.

func (*JobRequest) SetUpdatedAt

func (o *JobRequest) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*JobRequest) SetWorkflowId

func (o *JobRequest) SetWorkflowId(v string)

SetWorkflowId gets a reference to the given string and assigns it to the WorkflowId field.

func (*JobRequest) SetWorkflowName

func (o *JobRequest) SetWorkflowName(v string)

SetWorkflowName gets a reference to the given string and assigns it to the WorkflowName field.

func (JobRequest) ToMap

func (o JobRequest) ToMap() (map[string]interface{}, error)

type JobRequestActionAuditBy

type JobRequestActionAuditBy struct {
	// Role that fired the action (business_on_behalf = a business user acting for the customer/technician).
	Actor *string `json:"actor,omitempty"`
	// UUID of the firing user; null for an unauthenticated customer actor.
	UserId *string `json:"user_id,omitempty"`
}

JobRequestActionAuditBy struct for JobRequestActionAuditBy

func NewJobRequestActionAuditBy

func NewJobRequestActionAuditBy() *JobRequestActionAuditBy

NewJobRequestActionAuditBy instantiates a new JobRequestActionAuditBy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestActionAuditByWithDefaults

func NewJobRequestActionAuditByWithDefaults() *JobRequestActionAuditBy

NewJobRequestActionAuditByWithDefaults instantiates a new JobRequestActionAuditBy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestActionAuditBy) GetActor

func (o *JobRequestActionAuditBy) GetActor() string

GetActor returns the Actor field value if set, zero value otherwise.

func (*JobRequestActionAuditBy) GetActorOk

func (o *JobRequestActionAuditBy) GetActorOk() (*string, bool)

GetActorOk returns a tuple with the Actor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestActionAuditBy) GetUserId

func (o *JobRequestActionAuditBy) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*JobRequestActionAuditBy) GetUserIdOk

func (o *JobRequestActionAuditBy) GetUserIdOk() (*string, bool)

GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestActionAuditBy) HasActor

func (o *JobRequestActionAuditBy) HasActor() bool

HasActor returns a boolean if a field has been set.

func (*JobRequestActionAuditBy) HasUserId

func (o *JobRequestActionAuditBy) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (JobRequestActionAuditBy) MarshalJSON

func (o JobRequestActionAuditBy) MarshalJSON() ([]byte, error)

func (*JobRequestActionAuditBy) SetActor

func (o *JobRequestActionAuditBy) SetActor(v string)

SetActor gets a reference to the given string and assigns it to the Actor field.

func (*JobRequestActionAuditBy) SetUserId

func (o *JobRequestActionAuditBy) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (JobRequestActionAuditBy) ToMap

func (o JobRequestActionAuditBy) ToMap() (map[string]interface{}, error)

type JobRequestActionAuditEntry

type JobRequestActionAuditEntry struct {
	// When the action was fired (UTC).
	At *time.Time `json:"at,omitempty"`
	// Who fired the action.
	By *JobRequestActionAuditBy `json:"by,omitempty"`
	// Payload is the raw capability payload (e.g. {\"location\":{\"lat\":..., \"lng\":...}} for client_location). Forwarded as json.RawMessage so FE receives a real JSON object, NOT a stringified blob. `swaggertype` hints the older swag CLI used in the Docker build pipeline (it does not natively recognise json.RawMessage).
	Payload map[string]interface{} `json:"payload,omitempty"`
}

JobRequestActionAuditEntry struct for JobRequestActionAuditEntry

func NewJobRequestActionAuditEntry

func NewJobRequestActionAuditEntry() *JobRequestActionAuditEntry

NewJobRequestActionAuditEntry instantiates a new JobRequestActionAuditEntry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestActionAuditEntryWithDefaults

func NewJobRequestActionAuditEntryWithDefaults() *JobRequestActionAuditEntry

NewJobRequestActionAuditEntryWithDefaults instantiates a new JobRequestActionAuditEntry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestActionAuditEntry) GetAt

GetAt returns the At field value if set, zero value otherwise.

func (*JobRequestActionAuditEntry) GetAtOk

func (o *JobRequestActionAuditEntry) GetAtOk() (*time.Time, bool)

GetAtOk returns a tuple with the At field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestActionAuditEntry) GetBy

GetBy returns the By field value if set, zero value otherwise.

func (*JobRequestActionAuditEntry) GetByOk

GetByOk returns a tuple with the By field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestActionAuditEntry) GetPayload

func (o *JobRequestActionAuditEntry) GetPayload() map[string]interface{}

GetPayload returns the Payload field value if set, zero value otherwise.

func (*JobRequestActionAuditEntry) GetPayloadOk

func (o *JobRequestActionAuditEntry) GetPayloadOk() (map[string]interface{}, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestActionAuditEntry) HasAt

func (o *JobRequestActionAuditEntry) HasAt() bool

HasAt returns a boolean if a field has been set.

func (*JobRequestActionAuditEntry) HasBy

func (o *JobRequestActionAuditEntry) HasBy() bool

HasBy returns a boolean if a field has been set.

func (*JobRequestActionAuditEntry) HasPayload

func (o *JobRequestActionAuditEntry) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (JobRequestActionAuditEntry) MarshalJSON

func (o JobRequestActionAuditEntry) MarshalJSON() ([]byte, error)

func (*JobRequestActionAuditEntry) SetAt

func (o *JobRequestActionAuditEntry) SetAt(v time.Time)

SetAt gets a reference to the given time.Time and assigns it to the At field.

func (*JobRequestActionAuditEntry) SetBy

SetBy gets a reference to the given JobRequestActionAuditBy and assigns it to the By field.

func (*JobRequestActionAuditEntry) SetPayload

func (o *JobRequestActionAuditEntry) SetPayload(v map[string]interface{})

SetPayload gets a reference to the given map[string]interface{} and assigns it to the Payload field.

func (JobRequestActionAuditEntry) ToMap

func (o JobRequestActionAuditEntry) ToMap() (map[string]interface{}, error)

type JobRequestActionSummary

type JobRequestActionSummary struct {
	// Role expected to fire this action.
	Actor *string `json:"actor,omitempty"`
	// Capability slugs declared on the action (e.g. client_location). Omitted when none.
	Capabilities []string `json:"capabilities,omitempty"`
	// Action key (e.g. quote, confirm_booking, complete, or a custom DYNAMIC action).
	Key *string `json:"key,omitempty"`
	// Action label, resolved to the request locale.
	Label *string `json:"label,omitempty"`
}

JobRequestActionSummary struct for JobRequestActionSummary

func NewJobRequestActionSummary

func NewJobRequestActionSummary() *JobRequestActionSummary

NewJobRequestActionSummary instantiates a new JobRequestActionSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestActionSummaryWithDefaults

func NewJobRequestActionSummaryWithDefaults() *JobRequestActionSummary

NewJobRequestActionSummaryWithDefaults instantiates a new JobRequestActionSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestActionSummary) GetActor

func (o *JobRequestActionSummary) GetActor() string

GetActor returns the Actor field value if set, zero value otherwise.

func (*JobRequestActionSummary) GetActorOk

func (o *JobRequestActionSummary) GetActorOk() (*string, bool)

GetActorOk returns a tuple with the Actor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestActionSummary) GetCapabilities

func (o *JobRequestActionSummary) GetCapabilities() []string

GetCapabilities returns the Capabilities field value if set, zero value otherwise.

func (*JobRequestActionSummary) GetCapabilitiesOk

func (o *JobRequestActionSummary) GetCapabilitiesOk() ([]string, bool)

GetCapabilitiesOk returns a tuple with the Capabilities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestActionSummary) GetKey

func (o *JobRequestActionSummary) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*JobRequestActionSummary) GetKeyOk

func (o *JobRequestActionSummary) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestActionSummary) GetLabel

func (o *JobRequestActionSummary) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*JobRequestActionSummary) GetLabelOk

func (o *JobRequestActionSummary) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestActionSummary) HasActor

func (o *JobRequestActionSummary) HasActor() bool

HasActor returns a boolean if a field has been set.

func (*JobRequestActionSummary) HasCapabilities

func (o *JobRequestActionSummary) HasCapabilities() bool

HasCapabilities returns a boolean if a field has been set.

func (*JobRequestActionSummary) HasKey

func (o *JobRequestActionSummary) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*JobRequestActionSummary) HasLabel

func (o *JobRequestActionSummary) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (JobRequestActionSummary) MarshalJSON

func (o JobRequestActionSummary) MarshalJSON() ([]byte, error)

func (*JobRequestActionSummary) SetActor

func (o *JobRequestActionSummary) SetActor(v string)

SetActor gets a reference to the given string and assigns it to the Actor field.

func (*JobRequestActionSummary) SetCapabilities

func (o *JobRequestActionSummary) SetCapabilities(v []string)

SetCapabilities gets a reference to the given []string and assigns it to the Capabilities field.

func (*JobRequestActionSummary) SetKey

func (o *JobRequestActionSummary) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*JobRequestActionSummary) SetLabel

func (o *JobRequestActionSummary) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (JobRequestActionSummary) ToMap

func (o JobRequestActionSummary) ToMap() (map[string]interface{}, error)

type JobRequestAddressSummary

type JobRequestAddressSummary struct {
	// City / locality.
	City *string `json:"city,omitempty"`
	// Country (free-form or ISO code as supplied).
	Country *string `json:"country,omitempty"`
	// Human-readable single-line address. Omitted if not composed.
	Formatted *string `json:"formatted,omitempty"`
	// Geographic latitude in decimal degrees; null if no coordinates are saved.
	Latitude *float32 `json:"latitude,omitempty"`
	// Street address, line 1.
	Line *string `json:"line,omitempty"`
	// Street address, line 2 (apartment, suite, unit). Omitted if unused.
	Line2 *string `json:"line2,omitempty"`
	// Geographic longitude in decimal degrees; null if no coordinates are saved.
	Longitude *float32 `json:"longitude,omitempty"`
	// Postal / ZIP code.
	Postal *string `json:"postal,omitempty"`
	// State / province / region.
	State *string `json:"state,omitempty"`
}

JobRequestAddressSummary struct for JobRequestAddressSummary

func NewJobRequestAddressSummary

func NewJobRequestAddressSummary() *JobRequestAddressSummary

NewJobRequestAddressSummary instantiates a new JobRequestAddressSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestAddressSummaryWithDefaults

func NewJobRequestAddressSummaryWithDefaults() *JobRequestAddressSummary

NewJobRequestAddressSummaryWithDefaults instantiates a new JobRequestAddressSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestAddressSummary) GetCity

func (o *JobRequestAddressSummary) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*JobRequestAddressSummary) GetCityOk

func (o *JobRequestAddressSummary) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAddressSummary) GetCountry

func (o *JobRequestAddressSummary) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*JobRequestAddressSummary) GetCountryOk

func (o *JobRequestAddressSummary) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAddressSummary) GetFormatted

func (o *JobRequestAddressSummary) GetFormatted() string

GetFormatted returns the Formatted field value if set, zero value otherwise.

func (*JobRequestAddressSummary) GetFormattedOk

func (o *JobRequestAddressSummary) GetFormattedOk() (*string, bool)

GetFormattedOk returns a tuple with the Formatted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAddressSummary) GetLatitude

func (o *JobRequestAddressSummary) GetLatitude() float32

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*JobRequestAddressSummary) GetLatitudeOk

func (o *JobRequestAddressSummary) GetLatitudeOk() (*float32, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAddressSummary) GetLine

func (o *JobRequestAddressSummary) GetLine() string

GetLine returns the Line field value if set, zero value otherwise.

func (*JobRequestAddressSummary) GetLine2

func (o *JobRequestAddressSummary) GetLine2() string

GetLine2 returns the Line2 field value if set, zero value otherwise.

func (*JobRequestAddressSummary) GetLine2Ok

func (o *JobRequestAddressSummary) GetLine2Ok() (*string, bool)

GetLine2Ok returns a tuple with the Line2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAddressSummary) GetLineOk

func (o *JobRequestAddressSummary) GetLineOk() (*string, bool)

GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAddressSummary) GetLongitude

func (o *JobRequestAddressSummary) GetLongitude() float32

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*JobRequestAddressSummary) GetLongitudeOk

func (o *JobRequestAddressSummary) GetLongitudeOk() (*float32, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAddressSummary) GetPostal

func (o *JobRequestAddressSummary) GetPostal() string

GetPostal returns the Postal field value if set, zero value otherwise.

func (*JobRequestAddressSummary) GetPostalOk

func (o *JobRequestAddressSummary) GetPostalOk() (*string, bool)

GetPostalOk returns a tuple with the Postal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAddressSummary) GetState

func (o *JobRequestAddressSummary) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*JobRequestAddressSummary) GetStateOk

func (o *JobRequestAddressSummary) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAddressSummary) HasCity

func (o *JobRequestAddressSummary) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*JobRequestAddressSummary) HasCountry

func (o *JobRequestAddressSummary) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*JobRequestAddressSummary) HasFormatted

func (o *JobRequestAddressSummary) HasFormatted() bool

HasFormatted returns a boolean if a field has been set.

func (*JobRequestAddressSummary) HasLatitude

func (o *JobRequestAddressSummary) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*JobRequestAddressSummary) HasLine

func (o *JobRequestAddressSummary) HasLine() bool

HasLine returns a boolean if a field has been set.

func (*JobRequestAddressSummary) HasLine2

func (o *JobRequestAddressSummary) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*JobRequestAddressSummary) HasLongitude

func (o *JobRequestAddressSummary) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*JobRequestAddressSummary) HasPostal

func (o *JobRequestAddressSummary) HasPostal() bool

HasPostal returns a boolean if a field has been set.

func (*JobRequestAddressSummary) HasState

func (o *JobRequestAddressSummary) HasState() bool

HasState returns a boolean if a field has been set.

func (JobRequestAddressSummary) MarshalJSON

func (o JobRequestAddressSummary) MarshalJSON() ([]byte, error)

func (*JobRequestAddressSummary) SetCity

func (o *JobRequestAddressSummary) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*JobRequestAddressSummary) SetCountry

func (o *JobRequestAddressSummary) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*JobRequestAddressSummary) SetFormatted

func (o *JobRequestAddressSummary) SetFormatted(v string)

SetFormatted gets a reference to the given string and assigns it to the Formatted field.

func (*JobRequestAddressSummary) SetLatitude

func (o *JobRequestAddressSummary) SetLatitude(v float32)

SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.

func (*JobRequestAddressSummary) SetLine

func (o *JobRequestAddressSummary) SetLine(v string)

SetLine gets a reference to the given string and assigns it to the Line field.

func (*JobRequestAddressSummary) SetLine2

func (o *JobRequestAddressSummary) SetLine2(v string)

SetLine2 gets a reference to the given string and assigns it to the Line2 field.

func (*JobRequestAddressSummary) SetLongitude

func (o *JobRequestAddressSummary) SetLongitude(v float32)

SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.

func (*JobRequestAddressSummary) SetPostal

func (o *JobRequestAddressSummary) SetPostal(v string)

SetPostal gets a reference to the given string and assigns it to the Postal field.

func (*JobRequestAddressSummary) SetState

func (o *JobRequestAddressSummary) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (JobRequestAddressSummary) ToMap

func (o JobRequestAddressSummary) ToMap() (map[string]interface{}, error)

type JobRequestArchiveSummary

type JobRequestArchiveSummary struct {
	// When the job was archived (UTC); null if not archived.
	ArchivedAt *time.Time `json:"archived_at,omitempty"`
	// UUID of the user who archived the job; null if not archived.
	ArchivedByUserId *string `json:"archived_by_user_id,omitempty"`
	// Whether the job is archived.
	IsArchived *bool `json:"is_archived,omitempty"`
	// Optional free-text archive note; null if none.
	Note *string `json:"note,omitempty"`
}

JobRequestArchiveSummary struct for JobRequestArchiveSummary

func NewJobRequestArchiveSummary

func NewJobRequestArchiveSummary() *JobRequestArchiveSummary

NewJobRequestArchiveSummary instantiates a new JobRequestArchiveSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestArchiveSummaryWithDefaults

func NewJobRequestArchiveSummaryWithDefaults() *JobRequestArchiveSummary

NewJobRequestArchiveSummaryWithDefaults instantiates a new JobRequestArchiveSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestArchiveSummary) GetArchivedAt

func (o *JobRequestArchiveSummary) GetArchivedAt() time.Time

GetArchivedAt returns the ArchivedAt field value if set, zero value otherwise.

func (*JobRequestArchiveSummary) GetArchivedAtOk

func (o *JobRequestArchiveSummary) GetArchivedAtOk() (*time.Time, bool)

GetArchivedAtOk returns a tuple with the ArchivedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestArchiveSummary) GetArchivedByUserId

func (o *JobRequestArchiveSummary) GetArchivedByUserId() string

GetArchivedByUserId returns the ArchivedByUserId field value if set, zero value otherwise.

func (*JobRequestArchiveSummary) GetArchivedByUserIdOk

func (o *JobRequestArchiveSummary) GetArchivedByUserIdOk() (*string, bool)

GetArchivedByUserIdOk returns a tuple with the ArchivedByUserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestArchiveSummary) GetIsArchived

func (o *JobRequestArchiveSummary) GetIsArchived() bool

GetIsArchived returns the IsArchived field value if set, zero value otherwise.

func (*JobRequestArchiveSummary) GetIsArchivedOk

func (o *JobRequestArchiveSummary) GetIsArchivedOk() (*bool, bool)

GetIsArchivedOk returns a tuple with the IsArchived field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestArchiveSummary) GetNote

func (o *JobRequestArchiveSummary) GetNote() string

GetNote returns the Note field value if set, zero value otherwise.

func (*JobRequestArchiveSummary) GetNoteOk

func (o *JobRequestArchiveSummary) GetNoteOk() (*string, bool)

GetNoteOk returns a tuple with the Note field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestArchiveSummary) HasArchivedAt

func (o *JobRequestArchiveSummary) HasArchivedAt() bool

HasArchivedAt returns a boolean if a field has been set.

func (*JobRequestArchiveSummary) HasArchivedByUserId

func (o *JobRequestArchiveSummary) HasArchivedByUserId() bool

HasArchivedByUserId returns a boolean if a field has been set.

func (*JobRequestArchiveSummary) HasIsArchived

func (o *JobRequestArchiveSummary) HasIsArchived() bool

HasIsArchived returns a boolean if a field has been set.

func (*JobRequestArchiveSummary) HasNote

func (o *JobRequestArchiveSummary) HasNote() bool

HasNote returns a boolean if a field has been set.

func (JobRequestArchiveSummary) MarshalJSON

func (o JobRequestArchiveSummary) MarshalJSON() ([]byte, error)

func (*JobRequestArchiveSummary) SetArchivedAt

func (o *JobRequestArchiveSummary) SetArchivedAt(v time.Time)

SetArchivedAt gets a reference to the given time.Time and assigns it to the ArchivedAt field.

func (*JobRequestArchiveSummary) SetArchivedByUserId

func (o *JobRequestArchiveSummary) SetArchivedByUserId(v string)

SetArchivedByUserId gets a reference to the given string and assigns it to the ArchivedByUserId field.

func (*JobRequestArchiveSummary) SetIsArchived

func (o *JobRequestArchiveSummary) SetIsArchived(v bool)

SetIsArchived gets a reference to the given bool and assigns it to the IsArchived field.

func (*JobRequestArchiveSummary) SetNote

func (o *JobRequestArchiveSummary) SetNote(v string)

SetNote gets a reference to the given string and assigns it to the Note field.

func (JobRequestArchiveSummary) ToMap

func (o JobRequestArchiveSummary) ToMap() (map[string]interface{}, error)

type JobRequestArrivalWindow

type JobRequestArrivalWindow struct {
	// Window end (UTC) = start + window_minutes.
	End *time.Time `json:"end,omitempty"`
	// Window start (UTC); render in business/customer timezone.
	Start *time.Time `json:"start,omitempty"`
	// Width of the arrival window, in minutes.
	WindowMinutes *int32 `json:"window_minutes,omitempty"`
}

JobRequestArrivalWindow struct for JobRequestArrivalWindow

func NewJobRequestArrivalWindow

func NewJobRequestArrivalWindow() *JobRequestArrivalWindow

NewJobRequestArrivalWindow instantiates a new JobRequestArrivalWindow object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestArrivalWindowWithDefaults

func NewJobRequestArrivalWindowWithDefaults() *JobRequestArrivalWindow

NewJobRequestArrivalWindowWithDefaults instantiates a new JobRequestArrivalWindow object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestArrivalWindow) GetEnd

func (o *JobRequestArrivalWindow) GetEnd() time.Time

GetEnd returns the End field value if set, zero value otherwise.

func (*JobRequestArrivalWindow) GetEndOk

func (o *JobRequestArrivalWindow) GetEndOk() (*time.Time, bool)

GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestArrivalWindow) GetStart

func (o *JobRequestArrivalWindow) GetStart() time.Time

GetStart returns the Start field value if set, zero value otherwise.

func (*JobRequestArrivalWindow) GetStartOk

func (o *JobRequestArrivalWindow) GetStartOk() (*time.Time, bool)

GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestArrivalWindow) GetWindowMinutes

func (o *JobRequestArrivalWindow) GetWindowMinutes() int32

GetWindowMinutes returns the WindowMinutes field value if set, zero value otherwise.

func (*JobRequestArrivalWindow) GetWindowMinutesOk

func (o *JobRequestArrivalWindow) GetWindowMinutesOk() (*int32, bool)

GetWindowMinutesOk returns a tuple with the WindowMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestArrivalWindow) HasEnd

func (o *JobRequestArrivalWindow) HasEnd() bool

HasEnd returns a boolean if a field has been set.

func (*JobRequestArrivalWindow) HasStart

func (o *JobRequestArrivalWindow) HasStart() bool

HasStart returns a boolean if a field has been set.

func (*JobRequestArrivalWindow) HasWindowMinutes

func (o *JobRequestArrivalWindow) HasWindowMinutes() bool

HasWindowMinutes returns a boolean if a field has been set.

func (JobRequestArrivalWindow) MarshalJSON

func (o JobRequestArrivalWindow) MarshalJSON() ([]byte, error)

func (*JobRequestArrivalWindow) SetEnd

func (o *JobRequestArrivalWindow) SetEnd(v time.Time)

SetEnd gets a reference to the given time.Time and assigns it to the End field.

func (*JobRequestArrivalWindow) SetStart

func (o *JobRequestArrivalWindow) SetStart(v time.Time)

SetStart gets a reference to the given time.Time and assigns it to the Start field.

func (*JobRequestArrivalWindow) SetWindowMinutes

func (o *JobRequestArrivalWindow) SetWindowMinutes(v int32)

SetWindowMinutes gets a reference to the given int32 and assigns it to the WindowMinutes field.

func (JobRequestArrivalWindow) ToMap

func (o JobRequestArrivalWindow) ToMap() (map[string]interface{}, error)

type JobRequestAssignedVehicle

type JobRequestAssignedVehicle struct {
	// Vehicle UUID.
	Id *string `json:"id,omitempty"`
	// Vehicle display name.
	Name *string `json:"name,omitempty"`
}

JobRequestAssignedVehicle struct for JobRequestAssignedVehicle

func NewJobRequestAssignedVehicle

func NewJobRequestAssignedVehicle() *JobRequestAssignedVehicle

NewJobRequestAssignedVehicle instantiates a new JobRequestAssignedVehicle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestAssignedVehicleWithDefaults

func NewJobRequestAssignedVehicleWithDefaults() *JobRequestAssignedVehicle

NewJobRequestAssignedVehicleWithDefaults instantiates a new JobRequestAssignedVehicle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestAssignedVehicle) GetId

func (o *JobRequestAssignedVehicle) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JobRequestAssignedVehicle) GetIdOk

func (o *JobRequestAssignedVehicle) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAssignedVehicle) GetName

func (o *JobRequestAssignedVehicle) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*JobRequestAssignedVehicle) GetNameOk

func (o *JobRequestAssignedVehicle) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAssignedVehicle) HasId

func (o *JobRequestAssignedVehicle) HasId() bool

HasId returns a boolean if a field has been set.

func (*JobRequestAssignedVehicle) HasName

func (o *JobRequestAssignedVehicle) HasName() bool

HasName returns a boolean if a field has been set.

func (JobRequestAssignedVehicle) MarshalJSON

func (o JobRequestAssignedVehicle) MarshalJSON() ([]byte, error)

func (*JobRequestAssignedVehicle) SetId

func (o *JobRequestAssignedVehicle) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JobRequestAssignedVehicle) SetName

func (o *JobRequestAssignedVehicle) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (JobRequestAssignedVehicle) ToMap

func (o JobRequestAssignedVehicle) ToMap() (map[string]interface{}, error)

type JobRequestAssignmentSummary

type JobRequestAssignmentSummary struct {
	// When the technician was assigned (UTC); null if unassigned.
	AssignedAt *time.Time `json:"assigned_at,omitempty"`
	// UUID of the service area the job falls in; null if not resolved.
	ServiceAreaId *string `json:"service_area_id,omitempty"`
	// Full contact info of the assigned technician; null if unassigned.
	Technician *JobRequestTechnicianInfo `json:"technician,omitempty"`
	// UUID of the assigned (lead) technician; null if unassigned.
	TechnicianId *string `json:"technician_id,omitempty"`
	// UUID of the assigned carpool vehicle; null if none.
	VehicleId *string `json:"vehicle_id,omitempty"`
}

JobRequestAssignmentSummary struct for JobRequestAssignmentSummary

func NewJobRequestAssignmentSummary

func NewJobRequestAssignmentSummary() *JobRequestAssignmentSummary

NewJobRequestAssignmentSummary instantiates a new JobRequestAssignmentSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestAssignmentSummaryWithDefaults

func NewJobRequestAssignmentSummaryWithDefaults() *JobRequestAssignmentSummary

NewJobRequestAssignmentSummaryWithDefaults instantiates a new JobRequestAssignmentSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestAssignmentSummary) GetAssignedAt

func (o *JobRequestAssignmentSummary) GetAssignedAt() time.Time

GetAssignedAt returns the AssignedAt field value if set, zero value otherwise.

func (*JobRequestAssignmentSummary) GetAssignedAtOk

func (o *JobRequestAssignmentSummary) GetAssignedAtOk() (*time.Time, bool)

GetAssignedAtOk returns a tuple with the AssignedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAssignmentSummary) GetServiceAreaId

func (o *JobRequestAssignmentSummary) GetServiceAreaId() string

GetServiceAreaId returns the ServiceAreaId field value if set, zero value otherwise.

func (*JobRequestAssignmentSummary) GetServiceAreaIdOk

func (o *JobRequestAssignmentSummary) GetServiceAreaIdOk() (*string, bool)

GetServiceAreaIdOk returns a tuple with the ServiceAreaId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAssignmentSummary) GetTechnician

GetTechnician returns the Technician field value if set, zero value otherwise.

func (*JobRequestAssignmentSummary) GetTechnicianId

func (o *JobRequestAssignmentSummary) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*JobRequestAssignmentSummary) GetTechnicianIdOk

func (o *JobRequestAssignmentSummary) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAssignmentSummary) GetTechnicianOk

GetTechnicianOk returns a tuple with the Technician field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAssignmentSummary) GetVehicleId

func (o *JobRequestAssignmentSummary) GetVehicleId() string

GetVehicleId returns the VehicleId field value if set, zero value otherwise.

func (*JobRequestAssignmentSummary) GetVehicleIdOk

func (o *JobRequestAssignmentSummary) GetVehicleIdOk() (*string, bool)

GetVehicleIdOk returns a tuple with the VehicleId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAssignmentSummary) HasAssignedAt

func (o *JobRequestAssignmentSummary) HasAssignedAt() bool

HasAssignedAt returns a boolean if a field has been set.

func (*JobRequestAssignmentSummary) HasServiceAreaId

func (o *JobRequestAssignmentSummary) HasServiceAreaId() bool

HasServiceAreaId returns a boolean if a field has been set.

func (*JobRequestAssignmentSummary) HasTechnician

func (o *JobRequestAssignmentSummary) HasTechnician() bool

HasTechnician returns a boolean if a field has been set.

func (*JobRequestAssignmentSummary) HasTechnicianId

func (o *JobRequestAssignmentSummary) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*JobRequestAssignmentSummary) HasVehicleId

func (o *JobRequestAssignmentSummary) HasVehicleId() bool

HasVehicleId returns a boolean if a field has been set.

func (JobRequestAssignmentSummary) MarshalJSON

func (o JobRequestAssignmentSummary) MarshalJSON() ([]byte, error)

func (*JobRequestAssignmentSummary) SetAssignedAt

func (o *JobRequestAssignmentSummary) SetAssignedAt(v time.Time)

SetAssignedAt gets a reference to the given time.Time and assigns it to the AssignedAt field.

func (*JobRequestAssignmentSummary) SetServiceAreaId

func (o *JobRequestAssignmentSummary) SetServiceAreaId(v string)

SetServiceAreaId gets a reference to the given string and assigns it to the ServiceAreaId field.

func (*JobRequestAssignmentSummary) SetTechnician

SetTechnician gets a reference to the given JobRequestTechnicianInfo and assigns it to the Technician field.

func (*JobRequestAssignmentSummary) SetTechnicianId

func (o *JobRequestAssignmentSummary) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*JobRequestAssignmentSummary) SetVehicleId

func (o *JobRequestAssignmentSummary) SetVehicleId(v string)

SetVehicleId gets a reference to the given string and assigns it to the VehicleId field.

func (JobRequestAssignmentSummary) ToMap

func (o JobRequestAssignmentSummary) ToMap() (map[string]interface{}, error)

type JobRequestAttentionSummary added in v0.2.0

type JobRequestAttentionSummary struct {
	// When the job was flagged (UTC).
	At *time.Time `json:"at,omitempty"`
	// Why the job needs attention.
	Reason *string `json:"reason,omitempty"`
}

JobRequestAttentionSummary struct for JobRequestAttentionSummary

func NewJobRequestAttentionSummary added in v0.2.0

func NewJobRequestAttentionSummary() *JobRequestAttentionSummary

NewJobRequestAttentionSummary instantiates a new JobRequestAttentionSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestAttentionSummaryWithDefaults added in v0.2.0

func NewJobRequestAttentionSummaryWithDefaults() *JobRequestAttentionSummary

NewJobRequestAttentionSummaryWithDefaults instantiates a new JobRequestAttentionSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestAttentionSummary) GetAt added in v0.2.0

GetAt returns the At field value if set, zero value otherwise.

func (*JobRequestAttentionSummary) GetAtOk added in v0.2.0

func (o *JobRequestAttentionSummary) GetAtOk() (*time.Time, bool)

GetAtOk returns a tuple with the At field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAttentionSummary) GetReason added in v0.2.0

func (o *JobRequestAttentionSummary) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*JobRequestAttentionSummary) GetReasonOk added in v0.2.0

func (o *JobRequestAttentionSummary) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAttentionSummary) HasAt added in v0.2.0

func (o *JobRequestAttentionSummary) HasAt() bool

HasAt returns a boolean if a field has been set.

func (*JobRequestAttentionSummary) HasReason added in v0.2.0

func (o *JobRequestAttentionSummary) HasReason() bool

HasReason returns a boolean if a field has been set.

func (JobRequestAttentionSummary) MarshalJSON added in v0.2.0

func (o JobRequestAttentionSummary) MarshalJSON() ([]byte, error)

func (*JobRequestAttentionSummary) SetAt added in v0.2.0

func (o *JobRequestAttentionSummary) SetAt(v time.Time)

SetAt gets a reference to the given time.Time and assigns it to the At field.

func (*JobRequestAttentionSummary) SetReason added in v0.2.0

func (o *JobRequestAttentionSummary) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (JobRequestAttentionSummary) ToMap added in v0.2.0

func (o JobRequestAttentionSummary) ToMap() (map[string]interface{}, error)

type JobRequestAvailableVehicle added in v0.2.0

type JobRequestAvailableVehicle struct {
	// True when the vehicle is in the lead's preference set (their previous-job vehicle or their vehicle_ids list).
	LeadPreferred *bool `json:"lead_preferred,omitempty"`
	// Vehicle display name.
	Name *string `json:"name,omitempty"`
	// Vehicle UUID.
	VehicleId *string `json:"vehicle_id,omitempty"`
}

JobRequestAvailableVehicle struct for JobRequestAvailableVehicle

func NewJobRequestAvailableVehicle added in v0.2.0

func NewJobRequestAvailableVehicle() *JobRequestAvailableVehicle

NewJobRequestAvailableVehicle instantiates a new JobRequestAvailableVehicle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestAvailableVehicleWithDefaults added in v0.2.0

func NewJobRequestAvailableVehicleWithDefaults() *JobRequestAvailableVehicle

NewJobRequestAvailableVehicleWithDefaults instantiates a new JobRequestAvailableVehicle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestAvailableVehicle) GetLeadPreferred added in v0.2.0

func (o *JobRequestAvailableVehicle) GetLeadPreferred() bool

GetLeadPreferred returns the LeadPreferred field value if set, zero value otherwise.

func (*JobRequestAvailableVehicle) GetLeadPreferredOk added in v0.2.0

func (o *JobRequestAvailableVehicle) GetLeadPreferredOk() (*bool, bool)

GetLeadPreferredOk returns a tuple with the LeadPreferred field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAvailableVehicle) GetName added in v0.2.0

func (o *JobRequestAvailableVehicle) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*JobRequestAvailableVehicle) GetNameOk added in v0.2.0

func (o *JobRequestAvailableVehicle) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAvailableVehicle) GetVehicleId added in v0.2.0

func (o *JobRequestAvailableVehicle) GetVehicleId() string

GetVehicleId returns the VehicleId field value if set, zero value otherwise.

func (*JobRequestAvailableVehicle) GetVehicleIdOk added in v0.2.0

func (o *JobRequestAvailableVehicle) GetVehicleIdOk() (*string, bool)

GetVehicleIdOk returns a tuple with the VehicleId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestAvailableVehicle) HasLeadPreferred added in v0.2.0

func (o *JobRequestAvailableVehicle) HasLeadPreferred() bool

HasLeadPreferred returns a boolean if a field has been set.

func (*JobRequestAvailableVehicle) HasName added in v0.2.0

func (o *JobRequestAvailableVehicle) HasName() bool

HasName returns a boolean if a field has been set.

func (*JobRequestAvailableVehicle) HasVehicleId added in v0.2.0

func (o *JobRequestAvailableVehicle) HasVehicleId() bool

HasVehicleId returns a boolean if a field has been set.

func (JobRequestAvailableVehicle) MarshalJSON added in v0.2.0

func (o JobRequestAvailableVehicle) MarshalJSON() ([]byte, error)

func (*JobRequestAvailableVehicle) SetLeadPreferred added in v0.2.0

func (o *JobRequestAvailableVehicle) SetLeadPreferred(v bool)

SetLeadPreferred gets a reference to the given bool and assigns it to the LeadPreferred field.

func (*JobRequestAvailableVehicle) SetName added in v0.2.0

func (o *JobRequestAvailableVehicle) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*JobRequestAvailableVehicle) SetVehicleId added in v0.2.0

func (o *JobRequestAvailableVehicle) SetVehicleId(v string)

SetVehicleId gets a reference to the given string and assigns it to the VehicleId field.

func (JobRequestAvailableVehicle) ToMap added in v0.2.0

func (o JobRequestAvailableVehicle) ToMap() (map[string]interface{}, error)

type JobRequestBookingWindows

type JobRequestBookingWindows struct {
	// Business alias the windows were computed for.
	Alias *string `json:"alias,omitempty"`
	// IANA timezone of the business (the business_view ranges).
	BusinessTimezone *string `json:"business_timezone,omitempty"`
	// IANA timezone the customer-facing dates/periods are expressed in.
	CustomerTimezone *string `json:"customer_timezone,omitempty"`
	// Per-day availability, ordered chronologically.
	Days []JobRequestDayWindows `json:"days,omitempty"`
}

JobRequestBookingWindows struct for JobRequestBookingWindows

func NewJobRequestBookingWindows

func NewJobRequestBookingWindows() *JobRequestBookingWindows

NewJobRequestBookingWindows instantiates a new JobRequestBookingWindows object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestBookingWindowsWithDefaults

func NewJobRequestBookingWindowsWithDefaults() *JobRequestBookingWindows

NewJobRequestBookingWindowsWithDefaults instantiates a new JobRequestBookingWindows object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestBookingWindows) GetAlias

func (o *JobRequestBookingWindows) GetAlias() string

GetAlias returns the Alias field value if set, zero value otherwise.

func (*JobRequestBookingWindows) GetAliasOk

func (o *JobRequestBookingWindows) GetAliasOk() (*string, bool)

GetAliasOk returns a tuple with the Alias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBookingWindows) GetBusinessTimezone

func (o *JobRequestBookingWindows) GetBusinessTimezone() string

GetBusinessTimezone returns the BusinessTimezone field value if set, zero value otherwise.

func (*JobRequestBookingWindows) GetBusinessTimezoneOk

func (o *JobRequestBookingWindows) GetBusinessTimezoneOk() (*string, bool)

GetBusinessTimezoneOk returns a tuple with the BusinessTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBookingWindows) GetCustomerTimezone

func (o *JobRequestBookingWindows) GetCustomerTimezone() string

GetCustomerTimezone returns the CustomerTimezone field value if set, zero value otherwise.

func (*JobRequestBookingWindows) GetCustomerTimezoneOk

func (o *JobRequestBookingWindows) GetCustomerTimezoneOk() (*string, bool)

GetCustomerTimezoneOk returns a tuple with the CustomerTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBookingWindows) GetDays

GetDays returns the Days field value if set, zero value otherwise.

func (*JobRequestBookingWindows) GetDaysOk

GetDaysOk returns a tuple with the Days field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBookingWindows) HasAlias

func (o *JobRequestBookingWindows) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*JobRequestBookingWindows) HasBusinessTimezone

func (o *JobRequestBookingWindows) HasBusinessTimezone() bool

HasBusinessTimezone returns a boolean if a field has been set.

func (*JobRequestBookingWindows) HasCustomerTimezone

func (o *JobRequestBookingWindows) HasCustomerTimezone() bool

HasCustomerTimezone returns a boolean if a field has been set.

func (*JobRequestBookingWindows) HasDays

func (o *JobRequestBookingWindows) HasDays() bool

HasDays returns a boolean if a field has been set.

func (JobRequestBookingWindows) MarshalJSON

func (o JobRequestBookingWindows) MarshalJSON() ([]byte, error)

func (*JobRequestBookingWindows) SetAlias

func (o *JobRequestBookingWindows) SetAlias(v string)

SetAlias gets a reference to the given string and assigns it to the Alias field.

func (*JobRequestBookingWindows) SetBusinessTimezone

func (o *JobRequestBookingWindows) SetBusinessTimezone(v string)

SetBusinessTimezone gets a reference to the given string and assigns it to the BusinessTimezone field.

func (*JobRequestBookingWindows) SetCustomerTimezone

func (o *JobRequestBookingWindows) SetCustomerTimezone(v string)

SetCustomerTimezone gets a reference to the given string and assigns it to the CustomerTimezone field.

func (*JobRequestBookingWindows) SetDays

SetDays gets a reference to the given []JobRequestDayWindows and assigns it to the Days field.

func (JobRequestBookingWindows) ToMap

func (o JobRequestBookingWindows) ToMap() (map[string]interface{}, error)

type JobRequestBuddySlotCandidates added in v0.2.0

type JobRequestBuddySlotCandidates struct {
	// Ranked feasible technicians for this slot, best total_score first.
	Candidates []JobRequestTechCandidate `json:"candidates,omitempty"`
	// Skill UUIDs this buddy slot was quoted to require. Omitted when the slot has no skill requirement.
	SkillIds []string `json:"skill_ids,omitempty"`
	// Zero-based index of this buddy slot in the crew plan.
	Slot *int32 `json:"slot,omitempty"`
}

JobRequestBuddySlotCandidates struct for JobRequestBuddySlotCandidates

func NewJobRequestBuddySlotCandidates added in v0.2.0

func NewJobRequestBuddySlotCandidates() *JobRequestBuddySlotCandidates

NewJobRequestBuddySlotCandidates instantiates a new JobRequestBuddySlotCandidates object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestBuddySlotCandidatesWithDefaults added in v0.2.0

func NewJobRequestBuddySlotCandidatesWithDefaults() *JobRequestBuddySlotCandidates

NewJobRequestBuddySlotCandidatesWithDefaults instantiates a new JobRequestBuddySlotCandidates object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestBuddySlotCandidates) GetCandidates added in v0.2.0

GetCandidates returns the Candidates field value if set, zero value otherwise.

func (*JobRequestBuddySlotCandidates) GetCandidatesOk added in v0.2.0

GetCandidatesOk returns a tuple with the Candidates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBuddySlotCandidates) GetSkillIds added in v0.2.0

func (o *JobRequestBuddySlotCandidates) GetSkillIds() []string

GetSkillIds returns the SkillIds field value if set, zero value otherwise.

func (*JobRequestBuddySlotCandidates) GetSkillIdsOk added in v0.2.0

func (o *JobRequestBuddySlotCandidates) GetSkillIdsOk() ([]string, bool)

GetSkillIdsOk returns a tuple with the SkillIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBuddySlotCandidates) GetSlot added in v0.2.0

func (o *JobRequestBuddySlotCandidates) GetSlot() int32

GetSlot returns the Slot field value if set, zero value otherwise.

func (*JobRequestBuddySlotCandidates) GetSlotOk added in v0.2.0

func (o *JobRequestBuddySlotCandidates) GetSlotOk() (*int32, bool)

GetSlotOk returns a tuple with the Slot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBuddySlotCandidates) HasCandidates added in v0.2.0

func (o *JobRequestBuddySlotCandidates) HasCandidates() bool

HasCandidates returns a boolean if a field has been set.

func (*JobRequestBuddySlotCandidates) HasSkillIds added in v0.2.0

func (o *JobRequestBuddySlotCandidates) HasSkillIds() bool

HasSkillIds returns a boolean if a field has been set.

func (*JobRequestBuddySlotCandidates) HasSlot added in v0.2.0

func (o *JobRequestBuddySlotCandidates) HasSlot() bool

HasSlot returns a boolean if a field has been set.

func (JobRequestBuddySlotCandidates) MarshalJSON added in v0.2.0

func (o JobRequestBuddySlotCandidates) MarshalJSON() ([]byte, error)

func (*JobRequestBuddySlotCandidates) SetCandidates added in v0.2.0

SetCandidates gets a reference to the given []JobRequestTechCandidate and assigns it to the Candidates field.

func (*JobRequestBuddySlotCandidates) SetSkillIds added in v0.2.0

func (o *JobRequestBuddySlotCandidates) SetSkillIds(v []string)

SetSkillIds gets a reference to the given []string and assigns it to the SkillIds field.

func (*JobRequestBuddySlotCandidates) SetSlot added in v0.2.0

func (o *JobRequestBuddySlotCandidates) SetSlot(v int32)

SetSlot gets a reference to the given int32 and assigns it to the Slot field.

func (JobRequestBuddySlotCandidates) ToMap added in v0.2.0

func (o JobRequestBuddySlotCandidates) ToMap() (map[string]interface{}, error)

type JobRequestBusinessAPIService

type JobRequestBusinessAPIService service

JobRequestBusinessAPIService JobRequestBusinessAPI service

func (*JobRequestBusinessAPIService) CommitEmergencyReschedule added in v0.2.0

CommitEmergencyReschedule Commit emergency insert + cascade reschedule

Applies the cascade previewed by /emergency/preview: assigns the emergency job to the technician and pushes the displaced jobs back (or, with `displacement_mode=reassign`, re-staffs them onto their previewed alternates first), atomically. Supports Idempotency-Key. The server recomputes the plan under a lock and fences each job on its status_version — if anything changed since the preview it returns 409 EMERGENCY_RESCHEDULE_PLAN_DRIFTED (re-preview). Same body as preview + optional `emergency_expected_version`. Isolated feature (see EMERGENCY_RESCHEDULE_DESIGN.md). 409 NEXT STEPS: EMERGENCY_RESCHEDULE_PLAN_DRIFTED — the schedule changed between your preview and this commit (another booking/move won a lane): call /preview again, show the fresh plan, then commit. EMERGENCY_RESCHEDULE_SLOT_OCCUPIED — landing window blocked by an immovable anchor (P0/crew/multi-day): another tech or time. Other codes — same remedies as /candidates.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCommitEmergencyRescheduleRequest

func (*JobRequestBusinessAPIService) CommitEmergencyRescheduleExecute added in v0.2.0

Execute executes the request

@return CommitEmergencyReschedule200Response

func (*JobRequestBusinessAPIService) CommitJobRequestMove added in v0.2.0

CommitJobRequestMove Commit a schedule-board job move

Applies the move previewed by /move/preview: places the job on the technician at the new time and pushes the displaced jobs back, atomically (per-tech advisory lock; the server recomputes the plan and fences each job on its status_version — drift since the preview returns 409 SCHEDULE_MOVE_PLAN_DRIFTED, re-preview). Same body as preview + optional `expected_version`. See SCHEDULE_BOARD_DESIGN.md. 409 NEXT STEPS: SCHEDULE_MOVE_PLAN_DRIFTED — the schedule changed since your preview (or expected_move_ids no longer match): re-preview, show the fresh plan, commit again. All other codes — same remedies as /move/preview.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job request ID (UUID or short_code)
@return ApiCommitJobRequestMoveRequest

func (*JobRequestBusinessAPIService) CommitJobRequestMoveExecute added in v0.2.0

Execute executes the request

@return CommitJobRequestMove200Response

func (*JobRequestBusinessAPIService) ConfirmJobRequest added in v0.2.0

ConfirmJobRequest Confirm a booking on behalf of the customer

Fires the customer-actor `confirm_booking` action from the BUSINESS surface (audited as business_on_behalf). Two uses: (1) LIVE — staff confirm a slot for a customer who booked by phone; (2) SANDBOX — the customer magic-token surface is live-only (a sandbox job's link can never reach a real customer), so this is the ONLY way to drive a sandbox test job past booking (book → quote → confirm → assign → complete). Body carries the customer-chosen scheduled_at (business-local naive datetime). DECISION TABLE — every 409 this endpoint returns, and the correct NEXT STEP (branch on error_code, never on the HTTP status): • JOB_REQUEST_STAGE_CONFLICT — the job changed since you read it (NOTE: every FAILED confirm attempt also bumps status_version by design). Next: re-GET the job, retry with the fresh status_version. • JOB_REQUEST_ACTION_NOT_PENDING — the job is no longer at the confirm step (usually: already confirmed). Next: re-GET and show current status; do not retry. • JOB_REQUEST_NO_TECHNICIAN_AVAILABLE — the TIME is infeasible for everyone (outside working hours / the customer window, or nobody qualifies). Next: pick another time via booking-windows / time-segments. NOT an emergency case — displacement cannot conjure capacity. • JOB_REQUEST_TECH_INFEASIBLE — the FORCED technician can never take the job then; `data.reason` says why: cannot_arrive_in_time (commute/shift-start — `data.earliest_feasible_at` (RFC3339 UTC) is the first same-day time they CAN be on site → offer it) | missing_required_skills | not_available_today | not_lead_tier. Next: keep the tech and reschedule to earliest_feasible_at+, OR keep the time and drop technician_id (auto-pick) / choose another tech from time-segments. NOT an emergency case. • JOB_REQUEST_P0_REQUIRES_DISPLACEMENT — the ONLY code that routes to the EMERGENCY flow: the job is P0, the tech qualifies, but the lane is genuinely occupied. Next: POST emergency/candidates → preview → commit (the commit auto-confirms). Caveat: if the occupying jobs are themselves P0 the preview will reject with EMERGENCY_RESCHEDULE_SLOT_OCCUPIED (P0 never displaces P0) — then pick another tech/time.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job request ID
@return ApiConfirmJobRequestRequest

func (*JobRequestBusinessAPIService) ConfirmJobRequestExecute added in v0.2.0

Execute executes the request

@return ResponseEnvelope

func (*JobRequestBusinessAPIService) CreateJobRequest

CreateJobRequest Create a job request

Books a field-service job — the work order that enters the dispatch & scheduling pipeline. Send the customer's UUID plus requested `job_dates` (date + morning/afternoon/evening periods, ideally offered from GET /job-requests/booking-windows), optional `job_type_id` (service catalog), `skill_ids` (required technician qualifications) and a free-text description. Quoting, technician/crew assignment and completion then advance the work order through the business's workflow.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateJobRequestRequest

func (*JobRequestBusinessAPIService) CreateJobRequestExecute

Execute executes the request

@return CreateJobRequest200Response

func (*JobRequestBusinessAPIService) GetJobRequest

GetJobRequest Get a job request

Returns the full work order: current workflow status, quoted duration, confirmed schedule, customer contact snapshot and the assigned technician / crew — everything a dispatcher or an external field-service system needs to track one job.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job request ID (UUID or short_code)
@return ApiGetJobRequestRequest

func (*JobRequestBusinessAPIService) GetJobRequestExecute

Execute executes the request

@return GetJobRequest200Response

func (*JobRequestBusinessAPIService) GetJobRequestTimeline

GetJobRequestTimeline Job timeline

Per-status progress of a job's lifecycle (e.g. booked → confirmed → on the way → arrived → completed, following the business's configured workflow) — render it as a job-tracking timeline. Each status carries its state (completed | current | upcoming), when the job entered it, and the actions fired within it. entered_at may be null for upcoming steps and for older jobs predating the backfill.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job request ID (UUID or short_code)
@return ApiGetJobRequestTimelineRequest

func (*JobRequestBusinessAPIService) GetJobRequestTimelineExecute

Execute executes the request

@return GetJobRequestTimeline200Response

func (*JobRequestBusinessAPIService) GetTechnicianSchedule added in v0.2.0

GetTechnicianSchedule One technician's real schedule (sessions + time off)

The technician's ACTUAL occupancy over a date range: every job session on their lane (solo/lead and crew) plus approved time-off blocks. Weekly recurring working hours come from the technician-availability endpoints — combine both for the full availability picture ("get crew availability"). from/to are business-local dates (YYYY-MM-DD, inclusive); omitted = today .. +7 days; range max 31 days.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Technician ID
@return ApiGetTechnicianScheduleRequest

func (*JobRequestBusinessAPIService) GetTechnicianScheduleExecute added in v0.2.0

Execute executes the request

@return GetTechnicianSchedule200Response

func (*JobRequestBusinessAPIService) ListCrewCandidates added in v0.2.0

ListCrewCandidates Matching crew candidates for a job

Technicians who can actually take this job, matched and ranked by the smart-assignment engine — skills per crew slot, weekly availability, existing schedule, time off and travel are all checked; each candidate carries a score breakdown (distance, travel, matched skills) plus the exact on-site session plan they would work. NOT a raw roster list (use GET /technicians for that). Returns the ranked feasible LEAD pool by default; pass include_buddies=true to also return per-slot buddy pools, include_vehicle=true to include the available-vehicle list. force_lead_id checks one specific technician: returns only that lead (with their crew combo) if feasible, else 409 JOB_REQUEST_NO_TECHNICIAN_AVAILABLE.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job request ID or short_code
@return ApiListCrewCandidatesRequest

func (*JobRequestBusinessAPIService) ListCrewCandidatesExecute added in v0.2.0

Execute executes the request

@return ListCrewCandidates200Response

func (*JobRequestBusinessAPIService) ListEmergencyCandidates added in v0.2.0

ListEmergencyCandidates Rank technicians for a P0 emergency insert

Returns the technicians who could take the emergency job at the requested start, ranked FASTEST-ARRIVAL first (arrival beats route efficiency for a P0). The response also carries a historical `crew_recommendation` (median crew size on comparable completed jobs + mandatory disclaimer — AC-2). Booked technicians are still candidates — each entry carries the displacement preview (which lower-priority jobs would be pushed, per day) that committing to them would cause; total_moves=0 means a free slot. P0 jobs are never displaced; P1 only by a P0. ETA is estimated from the technician's start location (no live GPS). Feed the chosen technician_id into emergency/preview + emergency/commit. 409 NEXT STEPS: EMERGENCY_RESCHEDULE_NOT_ELIGIBLE — the job cannot be emergency-inserted (not P0, already started/completed/archived, or not quoted): fix the job state or use a normal confirm. EMERGENCY_RESCHEDULE_CREW_UNSUPPORTED — crew jobs cannot use the emergency flow (v1): staff via confirm/reassign instead. EMERGENCY_RESCHEDULE_MULTIDAY_UNSUPPORTED — a confirmed multi-day job cannot be re-inserted (v1): use the normal reassign flow. EMERGENCY_RESCHEDULE_NO_WORKING_DAY — the chosen date has no working hours: pick a working day. EMERGENCY_RESCHEDULE_IN_PAST — start time already passed: pick a future time.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListEmergencyCandidatesRequest

func (*JobRequestBusinessAPIService) ListEmergencyCandidatesExecute added in v0.2.0

Execute executes the request

@return ListEmergencyCandidates200Response

func (*JobRequestBusinessAPIService) ListJobRequestBookingWindows

ListJobRequestBookingWindows Booking availability

Real-time appointment availability from the scheduling engine: returns the bookable date + time-period windows given technician capacity, working hours and service-territory coverage. Call this before creating a job request and offer the customer ONLY the returned windows — it prevents unschedulable bookings.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListJobRequestBookingWindowsRequest

func (*JobRequestBusinessAPIService) ListJobRequestBookingWindowsExecute

Execute executes the request

@return ListJobRequestBookingWindows200Response

func (*JobRequestBusinessAPIService) ListJobRequestChanges

ListJobRequestChanges Poll for new & changed job requests (sync feed)

Keep an external system (your CRM, ERP or field-service tool) in sync with bookings WITHOUT re-listing everything: returns the job requests (work orders) whose state changed (created, status transition, reschedule, soft-delete/archive) at or after the `since` cursor, ordered oldest-change-first (updated_at ASC).

How to use it: (1) On your first poll OMIT `since` — the server primes the cursor at "now", returns no items and a `next_since`. (2) Store `next_since` and pass it as `since` on the next poll. (3) Apply each returned item to your store by UPSERTING on `id` (the server re-scans a ~5s safety window, so the same job may appear again — never blindly append). (4) If `has_more` is true the page filled to `limit` and more changes are already waiting — poll again immediately; otherwise wait your normal interval (e.g. 5–15s).

This is NOT pagination — it is a time-keyed change feed. Use the paginated GET /job-requests for the initial bulk load, then this endpoint to stay live. Filters (status_keys, customer_id, …) narrow the feed to the slice you care about.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListJobRequestChangesRequest

func (*JobRequestBusinessAPIService) ListJobRequestChangesExecute

Execute executes the request

@return ListJobRequestChanges200Response

func (*JobRequestBusinessAPIService) ListJobRequests

ListJobRequests List job requests

Paginated list of the business's bookings (work orders) with dispatch-oriented filters: workflow status, customer, assigned technician, scheduled date range and free-text search over code/description. This is also the SCHEDULE query: combine technician_id + scheduled_from/scheduled_to to read one technician's agenda for a day or week (e.g. "what is Alex doing tomorrow"), or just the date range for the whole team's calendar.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListJobRequestsRequest

func (*JobRequestBusinessAPIService) ListJobRequestsExecute

Execute executes the request

@return ListJobRequests200Response

func (*JobRequestBusinessAPIService) ListMatchingSlots added in v0.2.0

ListMatchingSlots Matching time slots for a quoted job

Bookable arrival-window slots for a quoted job, computed by the smart-assignment matching engine: each slot lists the technicians actually available to start then (skills, weekly availability, existing schedule, time off and travel all checked), with a per-technician match score. Use it to find and offer appointment times an agent or integration can then confirm (POST /job-requests/{id}/confirm with the slot's business_time.datetime). Same grid the end-customer's slot picker shows; slot width defaults to the business's arrival window — override via ?step_minutes (5–240). The job must be quoted first (the quote sets the visit duration the matcher schedules).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job request ID (UUID or short_code)
@return ApiListMatchingSlotsRequest

func (*JobRequestBusinessAPIService) ListMatchingSlotsExecute added in v0.2.0

Execute executes the request

@return ListMatchingSlots200Response

func (*JobRequestBusinessAPIService) ListNearbyTechnicians added in v0.2.0

ListNearbyTechnicians Find nearby feasible technicians (job-less location query)

Ranks who could serve a hypothetical visit at (lat,lng) starting `at` for `duration_minutes` — the engine applies the REAL hard filters (weekly hours, existing schedule, approved time-off, geographic service areas, optional skill floor) and returns candidates nearest-arrival first. ETA origin is each technician's start location (no live GPS). Use before creating a booking to propose realistic arrivals.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListNearbyTechniciansRequest

func (*JobRequestBusinessAPIService) ListNearbyTechniciansExecute added in v0.2.0

Execute executes the request

@return ListNearbyTechnicians200Response

func (*JobRequestBusinessAPIService) PreviewEmergencyReschedule added in v0.2.0

PreviewEmergencyReschedule Preview emergency insert + cascade reschedule

Computes (WITHOUT writing) the cascade of inserting an emergency job onto a technician at a chosen time: where the emergency lands + every job pushed back, grouped per business-local day. `displacement_mode=reassign` instead hands each displaced job to another feasible technician at its ORIGINAL window (same-day promise) — jobs with no alternate capacity fall back to reschedule and stay in `days`. `mode=overtime` keeps everyone same-day (tech works late); `mode=next_day` rolls overflow to the next working day(s). Read-only — safe to call repeatedly; commit is a separate endpoint. Isolated feature (see EMERGENCY_RESCHEDULE_DESIGN.md). 409 NEXT STEPS: EMERGENCY_RESCHEDULE_SLOT_OCCUPIED — the landing window is blocked by a job the cascade may NOT move (another P0, a crew or multi-day job): choose another technician (walk the /candidates ranking) or another time; displacement never touches P0/crew/multi-day anchors. EMERGENCY_RESCHEDULE_NOT_ELIGIBLE / CREW_UNSUPPORTED / MULTIDAY_UNSUPPORTED / NO_WORKING_DAY / IN_PAST — same remedies as /candidates.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPreviewEmergencyRescheduleRequest

func (*JobRequestBusinessAPIService) PreviewEmergencyRescheduleExecute added in v0.2.0

Execute executes the request

@return CommitEmergencyReschedule200Response

func (*JobRequestBusinessAPIService) PreviewJobRequestMove added in v0.2.0

PreviewJobRequestMove Preview a schedule-board job move

Computes (WITHOUT writing) the outcome of moving a confirmed job to a new time and/or technician: where it lands, every later job pushed back per `mode`, and the warnings the coordinator would accept (displaced jobs leaving their confirmed windows, overtime). Same technician = pure time move; different technician = manual reassign. Read-only — safe to call repeatedly while dragging; commit is a separate endpoint. See SCHEDULE_BOARD_DESIGN.md. Warning detail: a TECH_NOT_FEASIBLE warning carries `reason` = `cannot_arrive_in_time` (commute from the tech day-start location / shift start; `earliest_feasible_at` (RFC3339 UTC) is the first same-day time they CAN be on site — suggest it as the drop slot) | `missing_required_skills` | `not_available_today` (no working hours, approved time off, or outside the service area) | `not_lead_tier`. For a P0 move this warning is advisory (coordinator may commit anyway); for p1/p2/p3 the same condition is the hard 409 SCHEDULE_MOVE_TECH_INFEASIBLE. 409 NEXT STEPS: SCHEDULE_MOVE_NOT_ELIGIBLE (job unconfirmed/unquoted/archived/completed — not movable) · SCHEDULE_MOVE_IN_PROGRESS (tech already executing — do not move) · SCHEDULE_MOVE_IN_PAST (pick a future time) · SCHEDULE_MOVE_OUTSIDE_WINDOW (landing time outside the customer-confirmed window — hard block; pick a time inside it) · SCHEDULE_MOVE_SLOT_OCCUPIED (landing window blocked by an immovable anchor — another tech/time) · SCHEDULE_MOVE_TECH_INFEASIBLE (non-P0 hard block: target tech not qualified/available — see the TECH_NOT_FEASIBLE warning reasons; change tech or time) · SCHEDULE_MOVE_MULTIDAY_UNSUPPORTED (multi-day jobs not movable v1) · SCHEDULE_MOVE_NO_WORKING_DAY (pick a working day) · SCHEDULE_MOVE_REQUIRES_FREE_SLOT (non-P0 moves may not displace — free capacity only, unless the owner enables allow_non_p0_displacement) · SCHEDULE_MOVE_CREW_UNSTAFFABLE (a crew slot has no feasible replacement at the new time — another time).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job request ID (UUID or short_code)
@return ApiPreviewJobRequestMoveRequest

func (*JobRequestBusinessAPIService) PreviewJobRequestMoveExecute added in v0.2.0

Execute executes the request

@return CommitJobRequestMove200Response

func (*JobRequestBusinessAPIService) QuoteJobRequest added in v0.2.0

QuoteJobRequest Fire quote (FIXED action — business)

Sends the quote: sets quoted_at + duration cols, advances pending_action to confirm_booking. Status stays `booking`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job request ID
@return ApiQuoteJobRequestRequest

func (*JobRequestBusinessAPIService) QuoteJobRequestExecute added in v0.2.0

Execute executes the request

@return ResponseEnvelope

func (*JobRequestBusinessAPIService) UpdateJobPriority added in v0.2.0

UpdateJobPriority Set job priority (scheduling staff)

Sets the P0–P3 priority on a non-archived, non-completed job (Owner / Administrator / Booking Coordinator). Allowed values: "p0" (emergency, interrupt-driven) | "p1" (top — displaced only by p0; may carry an sla_deadline arming auto-escalation) | "p2" (standard) | "p3" (deferrable, first displacement victim). sla_deadline is only valid with p1 and must be in the future (business-local naive datetime); moving away from p1 disarms the SLA clock. Accepts UUID or short_code in :id.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job request ID or short_code
@return ApiUpdateJobPriorityRequest

func (*JobRequestBusinessAPIService) UpdateJobPriorityExecute added in v0.2.0

Execute executes the request

@return ResponseEnvelope

type JobRequestBusinessTimeRange

type JobRequestBusinessTimeRange struct {
	// Calendar day (YYYY-MM-DD), business-local.
	Date *string `json:"date,omitempty"`
	// Range end as minutes since midnight (0–1440), business-local.
	EndMinute *int32 `json:"end_minute,omitempty"`
	// Time-of-day period this range belongs to.
	Period *string `json:"period,omitempty"`
	// Range start as minutes since midnight (0–1440), business-local.
	StartMinute *int32 `json:"start_minute,omitempty"`
}

JobRequestBusinessTimeRange struct for JobRequestBusinessTimeRange

func NewJobRequestBusinessTimeRange

func NewJobRequestBusinessTimeRange() *JobRequestBusinessTimeRange

NewJobRequestBusinessTimeRange instantiates a new JobRequestBusinessTimeRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestBusinessTimeRangeWithDefaults

func NewJobRequestBusinessTimeRangeWithDefaults() *JobRequestBusinessTimeRange

NewJobRequestBusinessTimeRangeWithDefaults instantiates a new JobRequestBusinessTimeRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestBusinessTimeRange) GetDate

func (o *JobRequestBusinessTimeRange) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*JobRequestBusinessTimeRange) GetDateOk

func (o *JobRequestBusinessTimeRange) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBusinessTimeRange) GetEndMinute

func (o *JobRequestBusinessTimeRange) GetEndMinute() int32

GetEndMinute returns the EndMinute field value if set, zero value otherwise.

func (*JobRequestBusinessTimeRange) GetEndMinuteOk

func (o *JobRequestBusinessTimeRange) GetEndMinuteOk() (*int32, bool)

GetEndMinuteOk returns a tuple with the EndMinute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBusinessTimeRange) GetPeriod

func (o *JobRequestBusinessTimeRange) GetPeriod() string

GetPeriod returns the Period field value if set, zero value otherwise.

func (*JobRequestBusinessTimeRange) GetPeriodOk

func (o *JobRequestBusinessTimeRange) GetPeriodOk() (*string, bool)

GetPeriodOk returns a tuple with the Period field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBusinessTimeRange) GetStartMinute

func (o *JobRequestBusinessTimeRange) GetStartMinute() int32

GetStartMinute returns the StartMinute field value if set, zero value otherwise.

func (*JobRequestBusinessTimeRange) GetStartMinuteOk

func (o *JobRequestBusinessTimeRange) GetStartMinuteOk() (*int32, bool)

GetStartMinuteOk returns a tuple with the StartMinute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestBusinessTimeRange) HasDate

func (o *JobRequestBusinessTimeRange) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*JobRequestBusinessTimeRange) HasEndMinute

func (o *JobRequestBusinessTimeRange) HasEndMinute() bool

HasEndMinute returns a boolean if a field has been set.

func (*JobRequestBusinessTimeRange) HasPeriod

func (o *JobRequestBusinessTimeRange) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

func (*JobRequestBusinessTimeRange) HasStartMinute

func (o *JobRequestBusinessTimeRange) HasStartMinute() bool

HasStartMinute returns a boolean if a field has been set.

func (JobRequestBusinessTimeRange) MarshalJSON

func (o JobRequestBusinessTimeRange) MarshalJSON() ([]byte, error)

func (*JobRequestBusinessTimeRange) SetDate

func (o *JobRequestBusinessTimeRange) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*JobRequestBusinessTimeRange) SetEndMinute

func (o *JobRequestBusinessTimeRange) SetEndMinute(v int32)

SetEndMinute gets a reference to the given int32 and assigns it to the EndMinute field.

func (*JobRequestBusinessTimeRange) SetPeriod

func (o *JobRequestBusinessTimeRange) SetPeriod(v string)

SetPeriod gets a reference to the given string and assigns it to the Period field.

func (*JobRequestBusinessTimeRange) SetStartMinute

func (o *JobRequestBusinessTimeRange) SetStartMinute(v int32)

SetStartMinute gets a reference to the given int32 and assigns it to the StartMinute field.

func (JobRequestBusinessTimeRange) ToMap

func (o JobRequestBusinessTimeRange) ToMap() (map[string]interface{}, error)

type JobRequestChanges

type JobRequestChanges struct {
	// True when this page hit `limit` (more changes already waiting) — poll again immediately instead of waiting your normal interval. False ⇒ you are caught up; resume your normal polling interval.
	HasMore *bool `json:"has_more,omitempty"`
	// The changed job requests, oldest-change first (ordered by updated_at ASC). Each item is the full job-request shape (same as GET /job-requests/{id}). Soft-deleted/archived jobs also surface here so you can prune your copy.
	Items []JobRequest `json:"items,omitempty"`
	// The cursor to send as `since` on your next poll. Always store and echo it. NOTE: the server re-scans a small safety window (~5s) each poll, so a job MAY appear again across polls — upsert by `id`, never blindly append.
	NextSince *time.Time `json:"next_since,omitempty"`
}

JobRequestChanges struct for JobRequestChanges

func NewJobRequestChanges

func NewJobRequestChanges() *JobRequestChanges

NewJobRequestChanges instantiates a new JobRequestChanges object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestChangesWithDefaults

func NewJobRequestChangesWithDefaults() *JobRequestChanges

NewJobRequestChangesWithDefaults instantiates a new JobRequestChanges object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestChanges) GetHasMore

func (o *JobRequestChanges) GetHasMore() bool

GetHasMore returns the HasMore field value if set, zero value otherwise.

func (*JobRequestChanges) GetHasMoreOk

func (o *JobRequestChanges) GetHasMoreOk() (*bool, bool)

GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestChanges) GetItems

func (o *JobRequestChanges) GetItems() []JobRequest

GetItems returns the Items field value if set, zero value otherwise.

func (*JobRequestChanges) GetItemsOk

func (o *JobRequestChanges) GetItemsOk() ([]JobRequest, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestChanges) GetNextSince

func (o *JobRequestChanges) GetNextSince() time.Time

GetNextSince returns the NextSince field value if set, zero value otherwise.

func (*JobRequestChanges) GetNextSinceOk

func (o *JobRequestChanges) GetNextSinceOk() (*time.Time, bool)

GetNextSinceOk returns a tuple with the NextSince field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestChanges) HasHasMore

func (o *JobRequestChanges) HasHasMore() bool

HasHasMore returns a boolean if a field has been set.

func (*JobRequestChanges) HasItems

func (o *JobRequestChanges) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*JobRequestChanges) HasNextSince

func (o *JobRequestChanges) HasNextSince() bool

HasNextSince returns a boolean if a field has been set.

func (JobRequestChanges) MarshalJSON

func (o JobRequestChanges) MarshalJSON() ([]byte, error)

func (*JobRequestChanges) SetHasMore

func (o *JobRequestChanges) SetHasMore(v bool)

SetHasMore gets a reference to the given bool and assigns it to the HasMore field.

func (*JobRequestChanges) SetItems

func (o *JobRequestChanges) SetItems(v []JobRequest)

SetItems gets a reference to the given []JobRequest and assigns it to the Items field.

func (*JobRequestChanges) SetNextSince

func (o *JobRequestChanges) SetNextSince(v time.Time)

SetNextSince gets a reference to the given time.Time and assigns it to the NextSince field.

func (JobRequestChanges) ToMap

func (o JobRequestChanges) ToMap() (map[string]interface{}, error)

type JobRequestConfirmRequest added in v0.2.0

type JobRequestConfirmRequest struct {
	// ArrivalWindowMinutes = width (phút) của arrival-window ô khách bấm ở slot-picker (chính là time_slot_step_minutes, mặc định 30). Persist để post-confirm detail render lại đúng window. Optional; bounds ([5, 240], khớp slot-picker step) validate ở usecase — single authority, một error code (JOB_REQUEST_INVALID_INPUT).
	ArrivalWindowMinutes *int32 `json:"arrival_window_minutes,omitempty"`
	// Chosen start time — business-local naive datetime, no offset (the business_time.datetime value from the time-segments picker). The server converts to UTC using the job's business timezone.
	ScheduledAt *string `json:"scheduled_at,omitempty"`
	// Optimistic-lock fence: the status_version from your last read. Omitted/0 = fence on the row's current version (no race protection).
	StatusVersion *int32 `json:"status_version,omitempty"`
	// TechnicianID (BUSINESS confirm only — ignored on the customer surface): force-assign the job to this technician instead of the ranked auto-pick. Ranking is bypassed; feasibility (hours/time-off/geo/skills), the TierLead rule and the double-booking guard still apply — an infeasible forced tech rejects the confirm (P0 gets the displacement hint).
	TechnicianId *string `json:"technician_id,omitempty"`
}

JobRequestConfirmRequest struct for JobRequestConfirmRequest

func NewJobRequestConfirmRequest added in v0.2.0

func NewJobRequestConfirmRequest() *JobRequestConfirmRequest

NewJobRequestConfirmRequest instantiates a new JobRequestConfirmRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestConfirmRequestWithDefaults added in v0.2.0

func NewJobRequestConfirmRequestWithDefaults() *JobRequestConfirmRequest

NewJobRequestConfirmRequestWithDefaults instantiates a new JobRequestConfirmRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestConfirmRequest) GetArrivalWindowMinutes added in v0.2.0

func (o *JobRequestConfirmRequest) GetArrivalWindowMinutes() int32

GetArrivalWindowMinutes returns the ArrivalWindowMinutes field value if set, zero value otherwise.

func (*JobRequestConfirmRequest) GetArrivalWindowMinutesOk added in v0.2.0

func (o *JobRequestConfirmRequest) GetArrivalWindowMinutesOk() (*int32, bool)

GetArrivalWindowMinutesOk returns a tuple with the ArrivalWindowMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestConfirmRequest) GetScheduledAt added in v0.2.0

func (o *JobRequestConfirmRequest) GetScheduledAt() string

GetScheduledAt returns the ScheduledAt field value if set, zero value otherwise.

func (*JobRequestConfirmRequest) GetScheduledAtOk added in v0.2.0

func (o *JobRequestConfirmRequest) GetScheduledAtOk() (*string, bool)

GetScheduledAtOk returns a tuple with the ScheduledAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestConfirmRequest) GetStatusVersion added in v0.2.0

func (o *JobRequestConfirmRequest) GetStatusVersion() int32

GetStatusVersion returns the StatusVersion field value if set, zero value otherwise.

func (*JobRequestConfirmRequest) GetStatusVersionOk added in v0.2.0

func (o *JobRequestConfirmRequest) GetStatusVersionOk() (*int32, bool)

GetStatusVersionOk returns a tuple with the StatusVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestConfirmRequest) GetTechnicianId added in v0.2.0

func (o *JobRequestConfirmRequest) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*JobRequestConfirmRequest) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestConfirmRequest) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestConfirmRequest) HasArrivalWindowMinutes added in v0.2.0

func (o *JobRequestConfirmRequest) HasArrivalWindowMinutes() bool

HasArrivalWindowMinutes returns a boolean if a field has been set.

func (*JobRequestConfirmRequest) HasScheduledAt added in v0.2.0

func (o *JobRequestConfirmRequest) HasScheduledAt() bool

HasScheduledAt returns a boolean if a field has been set.

func (*JobRequestConfirmRequest) HasStatusVersion added in v0.2.0

func (o *JobRequestConfirmRequest) HasStatusVersion() bool

HasStatusVersion returns a boolean if a field has been set.

func (*JobRequestConfirmRequest) HasTechnicianId added in v0.2.0

func (o *JobRequestConfirmRequest) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (JobRequestConfirmRequest) MarshalJSON added in v0.2.0

func (o JobRequestConfirmRequest) MarshalJSON() ([]byte, error)

func (*JobRequestConfirmRequest) SetArrivalWindowMinutes added in v0.2.0

func (o *JobRequestConfirmRequest) SetArrivalWindowMinutes(v int32)

SetArrivalWindowMinutes gets a reference to the given int32 and assigns it to the ArrivalWindowMinutes field.

func (*JobRequestConfirmRequest) SetScheduledAt added in v0.2.0

func (o *JobRequestConfirmRequest) SetScheduledAt(v string)

SetScheduledAt gets a reference to the given string and assigns it to the ScheduledAt field.

func (*JobRequestConfirmRequest) SetStatusVersion added in v0.2.0

func (o *JobRequestConfirmRequest) SetStatusVersion(v int32)

SetStatusVersion gets a reference to the given int32 and assigns it to the StatusVersion field.

func (*JobRequestConfirmRequest) SetTechnicianId added in v0.2.0

func (o *JobRequestConfirmRequest) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (JobRequestConfirmRequest) ToMap added in v0.2.0

func (o JobRequestConfirmRequest) ToMap() (map[string]interface{}, error)

type JobRequestCreateRequest

type JobRequestCreateRequest struct {
	// UUID of an existing customer of this business to book the job for. Required.
	CustomerId string `json:"customer_id"`
	// Free-text description of the work requested. Optional; max 2000 chars.
	Description *string `json:"description,omitempty"`
	// Requested date(s) + period(s) the customer wants the job. At least one, up to 12.
	JobDates []JobRequestJobDateRequest `json:"job_dates"`
	// UUID of the job type to classify this job. Optional; null leaves the job unclassified.
	JobTypeId *string `json:"job_type_id,omitempty"`
	// Scheduling priority. Optional; omitted bookings receive the business's default_priority setting (assignment settings, default p2). p0=emergency (interrupt-driven insert), p1=top (displaced only by p0), p2=standard, p3=deferrable (first candidate for displacement).
	Priority *string `json:"priority,omitempty"`
	// UUIDs of the skills the customer desires for this job. Optional; up to 20.
	SkillIds []string `json:"skill_ids,omitempty"`
	// SLA deadline (business-local naive datetime, e.g. \"2030-06-14T17:00:00\"). Optional; ONLY valid together with priority=p1 — arms the auto-escalation clock (the job escalates to p0 as breach risk crosses the business's safety buffer). Must be in the future.
	SlaDeadline *string `json:"sla_deadline,omitempty"`
}

JobRequestCreateRequest struct for JobRequestCreateRequest

func NewJobRequestCreateRequest

func NewJobRequestCreateRequest(customerId string, jobDates []JobRequestJobDateRequest) *JobRequestCreateRequest

NewJobRequestCreateRequest instantiates a new JobRequestCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestCreateRequestWithDefaults

func NewJobRequestCreateRequestWithDefaults() *JobRequestCreateRequest

NewJobRequestCreateRequestWithDefaults instantiates a new JobRequestCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestCreateRequest) GetCustomerId

func (o *JobRequestCreateRequest) GetCustomerId() string

GetCustomerId returns the CustomerId field value

func (*JobRequestCreateRequest) GetCustomerIdOk

func (o *JobRequestCreateRequest) GetCustomerIdOk() (*string, bool)

GetCustomerIdOk returns a tuple with the CustomerId field value and a boolean to check if the value has been set.

func (*JobRequestCreateRequest) GetDescription

func (o *JobRequestCreateRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*JobRequestCreateRequest) GetDescriptionOk

func (o *JobRequestCreateRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCreateRequest) GetJobDates

GetJobDates returns the JobDates field value

func (*JobRequestCreateRequest) GetJobDatesOk

func (o *JobRequestCreateRequest) GetJobDatesOk() ([]JobRequestJobDateRequest, bool)

GetJobDatesOk returns a tuple with the JobDates field value and a boolean to check if the value has been set.

func (*JobRequestCreateRequest) GetJobTypeId

func (o *JobRequestCreateRequest) GetJobTypeId() string

GetJobTypeId returns the JobTypeId field value if set, zero value otherwise.

func (*JobRequestCreateRequest) GetJobTypeIdOk

func (o *JobRequestCreateRequest) GetJobTypeIdOk() (*string, bool)

GetJobTypeIdOk returns a tuple with the JobTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCreateRequest) GetPriority added in v0.2.0

func (o *JobRequestCreateRequest) GetPriority() string

GetPriority returns the Priority field value if set, zero value otherwise.

func (*JobRequestCreateRequest) GetPriorityOk added in v0.2.0

func (o *JobRequestCreateRequest) GetPriorityOk() (*string, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCreateRequest) GetSkillIds

func (o *JobRequestCreateRequest) GetSkillIds() []string

GetSkillIds returns the SkillIds field value if set, zero value otherwise.

func (*JobRequestCreateRequest) GetSkillIdsOk

func (o *JobRequestCreateRequest) GetSkillIdsOk() ([]string, bool)

GetSkillIdsOk returns a tuple with the SkillIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCreateRequest) GetSlaDeadline added in v0.2.0

func (o *JobRequestCreateRequest) GetSlaDeadline() string

GetSlaDeadline returns the SlaDeadline field value if set, zero value otherwise.

func (*JobRequestCreateRequest) GetSlaDeadlineOk added in v0.2.0

func (o *JobRequestCreateRequest) GetSlaDeadlineOk() (*string, bool)

GetSlaDeadlineOk returns a tuple with the SlaDeadline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCreateRequest) HasDescription

func (o *JobRequestCreateRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*JobRequestCreateRequest) HasJobTypeId

func (o *JobRequestCreateRequest) HasJobTypeId() bool

HasJobTypeId returns a boolean if a field has been set.

func (*JobRequestCreateRequest) HasPriority added in v0.2.0

func (o *JobRequestCreateRequest) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*JobRequestCreateRequest) HasSkillIds

func (o *JobRequestCreateRequest) HasSkillIds() bool

HasSkillIds returns a boolean if a field has been set.

func (*JobRequestCreateRequest) HasSlaDeadline added in v0.2.0

func (o *JobRequestCreateRequest) HasSlaDeadline() bool

HasSlaDeadline returns a boolean if a field has been set.

func (JobRequestCreateRequest) MarshalJSON

func (o JobRequestCreateRequest) MarshalJSON() ([]byte, error)

func (*JobRequestCreateRequest) SetCustomerId

func (o *JobRequestCreateRequest) SetCustomerId(v string)

SetCustomerId sets field value

func (*JobRequestCreateRequest) SetDescription

func (o *JobRequestCreateRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*JobRequestCreateRequest) SetJobDates

SetJobDates sets field value

func (*JobRequestCreateRequest) SetJobTypeId

func (o *JobRequestCreateRequest) SetJobTypeId(v string)

SetJobTypeId gets a reference to the given string and assigns it to the JobTypeId field.

func (*JobRequestCreateRequest) SetPriority added in v0.2.0

func (o *JobRequestCreateRequest) SetPriority(v string)

SetPriority gets a reference to the given string and assigns it to the Priority field.

func (*JobRequestCreateRequest) SetSkillIds

func (o *JobRequestCreateRequest) SetSkillIds(v []string)

SetSkillIds gets a reference to the given []string and assigns it to the SkillIds field.

func (*JobRequestCreateRequest) SetSlaDeadline added in v0.2.0

func (o *JobRequestCreateRequest) SetSlaDeadline(v string)

SetSlaDeadline gets a reference to the given string and assigns it to the SlaDeadline field.

func (JobRequestCreateRequest) ToMap

func (o JobRequestCreateRequest) ToMap() (map[string]interface{}, error)

func (*JobRequestCreateRequest) UnmarshalJSON

func (o *JobRequestCreateRequest) UnmarshalJSON(data []byte) (err error)

type JobRequestCreateResponse

type JobRequestCreateResponse struct {
	// Ready-to-share customer URL embedding the magic token. Omitted if not issued.
	CustomerUrl *string `json:"customer_url,omitempty"`
	// UUID of the newly created job request.
	Id *string `json:"id,omitempty"`
	// Customer magic-link JWT granting access to this job's customer pages. Omitted if not issued.
	MagicToken *string `json:"magic_token,omitempty"`
	// Human-friendly short code for the job (e.g. for customer reference). Omitted if not assigned.
	ShortCode *string `json:"short_code,omitempty"`
}

JobRequestCreateResponse struct for JobRequestCreateResponse

func NewJobRequestCreateResponse

func NewJobRequestCreateResponse() *JobRequestCreateResponse

NewJobRequestCreateResponse instantiates a new JobRequestCreateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestCreateResponseWithDefaults

func NewJobRequestCreateResponseWithDefaults() *JobRequestCreateResponse

NewJobRequestCreateResponseWithDefaults instantiates a new JobRequestCreateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestCreateResponse) GetCustomerUrl

func (o *JobRequestCreateResponse) GetCustomerUrl() string

GetCustomerUrl returns the CustomerUrl field value if set, zero value otherwise.

func (*JobRequestCreateResponse) GetCustomerUrlOk

func (o *JobRequestCreateResponse) GetCustomerUrlOk() (*string, bool)

GetCustomerUrlOk returns a tuple with the CustomerUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCreateResponse) GetId

func (o *JobRequestCreateResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JobRequestCreateResponse) GetIdOk

func (o *JobRequestCreateResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCreateResponse) GetMagicToken

func (o *JobRequestCreateResponse) GetMagicToken() string

GetMagicToken returns the MagicToken field value if set, zero value otherwise.

func (*JobRequestCreateResponse) GetMagicTokenOk

func (o *JobRequestCreateResponse) GetMagicTokenOk() (*string, bool)

GetMagicTokenOk returns a tuple with the MagicToken field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCreateResponse) GetShortCode

func (o *JobRequestCreateResponse) GetShortCode() string

GetShortCode returns the ShortCode field value if set, zero value otherwise.

func (*JobRequestCreateResponse) GetShortCodeOk

func (o *JobRequestCreateResponse) GetShortCodeOk() (*string, bool)

GetShortCodeOk returns a tuple with the ShortCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCreateResponse) HasCustomerUrl

func (o *JobRequestCreateResponse) HasCustomerUrl() bool

HasCustomerUrl returns a boolean if a field has been set.

func (*JobRequestCreateResponse) HasId

func (o *JobRequestCreateResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*JobRequestCreateResponse) HasMagicToken

func (o *JobRequestCreateResponse) HasMagicToken() bool

HasMagicToken returns a boolean if a field has been set.

func (*JobRequestCreateResponse) HasShortCode

func (o *JobRequestCreateResponse) HasShortCode() bool

HasShortCode returns a boolean if a field has been set.

func (JobRequestCreateResponse) MarshalJSON

func (o JobRequestCreateResponse) MarshalJSON() ([]byte, error)

func (*JobRequestCreateResponse) SetCustomerUrl

func (o *JobRequestCreateResponse) SetCustomerUrl(v string)

SetCustomerUrl gets a reference to the given string and assigns it to the CustomerUrl field.

func (*JobRequestCreateResponse) SetId

func (o *JobRequestCreateResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JobRequestCreateResponse) SetMagicToken

func (o *JobRequestCreateResponse) SetMagicToken(v string)

SetMagicToken gets a reference to the given string and assigns it to the MagicToken field.

func (*JobRequestCreateResponse) SetShortCode

func (o *JobRequestCreateResponse) SetShortCode(v string)

SetShortCode gets a reference to the given string and assigns it to the ShortCode field.

func (JobRequestCreateResponse) ToMap

func (o JobRequestCreateResponse) ToMap() (map[string]interface{}, error)

type JobRequestCrewCandidates added in v0.2.0

type JobRequestCrewCandidates struct {
	// Job identifier — the human-readable short code when present, else the job UUID.
	JobRequestId *string `json:"job_request_id,omitempty"`
	// Ranked feasible lead technicians, best total_score first; each carries its own buddy/vehicle sections when requested.
	Leads []JobRequestLeadCandidate `json:"leads,omitempty"`
}

JobRequestCrewCandidates struct for JobRequestCrewCandidates

func NewJobRequestCrewCandidates added in v0.2.0

func NewJobRequestCrewCandidates() *JobRequestCrewCandidates

NewJobRequestCrewCandidates instantiates a new JobRequestCrewCandidates object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestCrewCandidatesWithDefaults added in v0.2.0

func NewJobRequestCrewCandidatesWithDefaults() *JobRequestCrewCandidates

NewJobRequestCrewCandidatesWithDefaults instantiates a new JobRequestCrewCandidates object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestCrewCandidates) GetJobRequestId added in v0.2.0

func (o *JobRequestCrewCandidates) GetJobRequestId() string

GetJobRequestId returns the JobRequestId field value if set, zero value otherwise.

func (*JobRequestCrewCandidates) GetJobRequestIdOk added in v0.2.0

func (o *JobRequestCrewCandidates) GetJobRequestIdOk() (*string, bool)

GetJobRequestIdOk returns a tuple with the JobRequestId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewCandidates) GetLeads added in v0.2.0

GetLeads returns the Leads field value if set, zero value otherwise.

func (*JobRequestCrewCandidates) GetLeadsOk added in v0.2.0

GetLeadsOk returns a tuple with the Leads field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewCandidates) HasJobRequestId added in v0.2.0

func (o *JobRequestCrewCandidates) HasJobRequestId() bool

HasJobRequestId returns a boolean if a field has been set.

func (*JobRequestCrewCandidates) HasLeads added in v0.2.0

func (o *JobRequestCrewCandidates) HasLeads() bool

HasLeads returns a boolean if a field has been set.

func (JobRequestCrewCandidates) MarshalJSON added in v0.2.0

func (o JobRequestCrewCandidates) MarshalJSON() ([]byte, error)

func (*JobRequestCrewCandidates) SetJobRequestId added in v0.2.0

func (o *JobRequestCrewCandidates) SetJobRequestId(v string)

SetJobRequestId gets a reference to the given string and assigns it to the JobRequestId field.

func (*JobRequestCrewCandidates) SetLeads added in v0.2.0

SetLeads gets a reference to the given []JobRequestLeadCandidate and assigns it to the Leads field.

func (JobRequestCrewCandidates) ToMap added in v0.2.0

func (o JobRequestCrewCandidates) ToMap() (map[string]interface{}, error)

type JobRequestCrewChange added in v0.2.0

type JobRequestCrewChange struct {
	// Full name of the member being replaced. Omitted when unresolved.
	FromName *string `json:"from_name,omitempty"`
	// UUID of the member being replaced (busy/infeasible at the new time).
	FromTechnicianId *string `json:"from_technician_id,omitempty"`
	// Role of the slot: lead | buddy.
	Role *string `json:"role,omitempty"`
	// Crew slot index (0 = lead).
	Slot *int32 `json:"slot,omitempty"`
	// Full name of the proposed replacement. Omitted when unresolved.
	ToName *string `json:"to_name,omitempty"`
	// UUID of the proposed replacement.
	ToTechnicianId *string `json:"to_technician_id,omitempty"`
}

JobRequestCrewChange struct for JobRequestCrewChange

func NewJobRequestCrewChange added in v0.2.0

func NewJobRequestCrewChange() *JobRequestCrewChange

NewJobRequestCrewChange instantiates a new JobRequestCrewChange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestCrewChangeWithDefaults added in v0.2.0

func NewJobRequestCrewChangeWithDefaults() *JobRequestCrewChange

NewJobRequestCrewChangeWithDefaults instantiates a new JobRequestCrewChange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestCrewChange) GetFromName added in v0.2.0

func (o *JobRequestCrewChange) GetFromName() string

GetFromName returns the FromName field value if set, zero value otherwise.

func (*JobRequestCrewChange) GetFromNameOk added in v0.2.0

func (o *JobRequestCrewChange) GetFromNameOk() (*string, bool)

GetFromNameOk returns a tuple with the FromName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewChange) GetFromTechnicianId added in v0.2.0

func (o *JobRequestCrewChange) GetFromTechnicianId() string

GetFromTechnicianId returns the FromTechnicianId field value if set, zero value otherwise.

func (*JobRequestCrewChange) GetFromTechnicianIdOk added in v0.2.0

func (o *JobRequestCrewChange) GetFromTechnicianIdOk() (*string, bool)

GetFromTechnicianIdOk returns a tuple with the FromTechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewChange) GetRole added in v0.2.0

func (o *JobRequestCrewChange) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*JobRequestCrewChange) GetRoleOk added in v0.2.0

func (o *JobRequestCrewChange) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewChange) GetSlot added in v0.2.0

func (o *JobRequestCrewChange) GetSlot() int32

GetSlot returns the Slot field value if set, zero value otherwise.

func (*JobRequestCrewChange) GetSlotOk added in v0.2.0

func (o *JobRequestCrewChange) GetSlotOk() (*int32, bool)

GetSlotOk returns a tuple with the Slot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewChange) GetToName added in v0.2.0

func (o *JobRequestCrewChange) GetToName() string

GetToName returns the ToName field value if set, zero value otherwise.

func (*JobRequestCrewChange) GetToNameOk added in v0.2.0

func (o *JobRequestCrewChange) GetToNameOk() (*string, bool)

GetToNameOk returns a tuple with the ToName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewChange) GetToTechnicianId added in v0.2.0

func (o *JobRequestCrewChange) GetToTechnicianId() string

GetToTechnicianId returns the ToTechnicianId field value if set, zero value otherwise.

func (*JobRequestCrewChange) GetToTechnicianIdOk added in v0.2.0

func (o *JobRequestCrewChange) GetToTechnicianIdOk() (*string, bool)

GetToTechnicianIdOk returns a tuple with the ToTechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewChange) HasFromName added in v0.2.0

func (o *JobRequestCrewChange) HasFromName() bool

HasFromName returns a boolean if a field has been set.

func (*JobRequestCrewChange) HasFromTechnicianId added in v0.2.0

func (o *JobRequestCrewChange) HasFromTechnicianId() bool

HasFromTechnicianId returns a boolean if a field has been set.

func (*JobRequestCrewChange) HasRole added in v0.2.0

func (o *JobRequestCrewChange) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*JobRequestCrewChange) HasSlot added in v0.2.0

func (o *JobRequestCrewChange) HasSlot() bool

HasSlot returns a boolean if a field has been set.

func (*JobRequestCrewChange) HasToName added in v0.2.0

func (o *JobRequestCrewChange) HasToName() bool

HasToName returns a boolean if a field has been set.

func (*JobRequestCrewChange) HasToTechnicianId added in v0.2.0

func (o *JobRequestCrewChange) HasToTechnicianId() bool

HasToTechnicianId returns a boolean if a field has been set.

func (JobRequestCrewChange) MarshalJSON added in v0.2.0

func (o JobRequestCrewChange) MarshalJSON() ([]byte, error)

func (*JobRequestCrewChange) SetFromName added in v0.2.0

func (o *JobRequestCrewChange) SetFromName(v string)

SetFromName gets a reference to the given string and assigns it to the FromName field.

func (*JobRequestCrewChange) SetFromTechnicianId added in v0.2.0

func (o *JobRequestCrewChange) SetFromTechnicianId(v string)

SetFromTechnicianId gets a reference to the given string and assigns it to the FromTechnicianId field.

func (*JobRequestCrewChange) SetRole added in v0.2.0

func (o *JobRequestCrewChange) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*JobRequestCrewChange) SetSlot added in v0.2.0

func (o *JobRequestCrewChange) SetSlot(v int32)

SetSlot gets a reference to the given int32 and assigns it to the Slot field.

func (*JobRequestCrewChange) SetToName added in v0.2.0

func (o *JobRequestCrewChange) SetToName(v string)

SetToName gets a reference to the given string and assigns it to the ToName field.

func (*JobRequestCrewChange) SetToTechnicianId added in v0.2.0

func (o *JobRequestCrewChange) SetToTechnicianId(v string)

SetToTechnicianId gets a reference to the given string and assigns it to the ToTechnicianId field.

func (JobRequestCrewChange) ToMap added in v0.2.0

func (o JobRequestCrewChange) ToMap() (map[string]interface{}, error)

type JobRequestCrewMember

type JobRequestCrewMember struct {
	// Crew member's email; null if not available.
	Email *string `json:"email,omitempty"`
	// This member's last session end (UTC). Omitted when no session plan exists.
	EndsAt *time.Time `json:"ends_at,omitempty"`
	// Crew member's job title. Empty for a planned-but-unassigned slot.
	JobTitle *string `json:"job_title,omitempty"`
	// Crew member's phone; null if not available.
	Phone *string `json:"phone,omitempty"`
	// Role of this member on the job.
	Role *string `json:"role,omitempty"`
	// This member's per-day on-site work blocks (ordered).
	Sessions []JobRequestSession `json:"sessions,omitempty"`
	// SkillIDs are the skills this crew slot was quoted to require (the skills the assignment engine matched on); Skills resolves them to id+name for display. Omitted when the slot carries no skill requirement.
	SkillIds []string `json:"skill_ids,omitempty"`
	// Resolved skills (id+name) for SkillIDs. Omitted when the slot carries no skill requirement.
	Skills []JobRequestSkillSummary `json:"skills,omitempty"`
	// UUID of the assigned technician. Empty for a planned-but-unassigned crew member (quoted, not yet confirmed/assigned).
	TechnicianId *string `json:"technician_id,omitempty"`
	// Full name of the assigned technician. Empty for a planned-but-unassigned slot.
	TechnicianName *string `json:"technician_name,omitempty"`
	// Share of the job's man-hours this member works (1–100). Omitted for a single-person job.
	WrenchPercent *int32 `json:"wrench_percent,omitempty"`
}

JobRequestCrewMember struct for JobRequestCrewMember

func NewJobRequestCrewMember

func NewJobRequestCrewMember() *JobRequestCrewMember

NewJobRequestCrewMember instantiates a new JobRequestCrewMember object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestCrewMemberWithDefaults

func NewJobRequestCrewMemberWithDefaults() *JobRequestCrewMember

NewJobRequestCrewMemberWithDefaults instantiates a new JobRequestCrewMember object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestCrewMember) GetEmail

func (o *JobRequestCrewMember) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetEmailOk

func (o *JobRequestCrewMember) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetEndsAt

func (o *JobRequestCrewMember) GetEndsAt() time.Time

GetEndsAt returns the EndsAt field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetEndsAtOk

func (o *JobRequestCrewMember) GetEndsAtOk() (*time.Time, bool)

GetEndsAtOk returns a tuple with the EndsAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetJobTitle

func (o *JobRequestCrewMember) GetJobTitle() string

GetJobTitle returns the JobTitle field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetJobTitleOk

func (o *JobRequestCrewMember) GetJobTitleOk() (*string, bool)

GetJobTitleOk returns a tuple with the JobTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetPhone

func (o *JobRequestCrewMember) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetPhoneOk

func (o *JobRequestCrewMember) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetRole

func (o *JobRequestCrewMember) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetRoleOk

func (o *JobRequestCrewMember) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetSessions

func (o *JobRequestCrewMember) GetSessions() []JobRequestSession

GetSessions returns the Sessions field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetSessionsOk

func (o *JobRequestCrewMember) GetSessionsOk() ([]JobRequestSession, bool)

GetSessionsOk returns a tuple with the Sessions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetSkillIds

func (o *JobRequestCrewMember) GetSkillIds() []string

GetSkillIds returns the SkillIds field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetSkillIdsOk

func (o *JobRequestCrewMember) GetSkillIdsOk() ([]string, bool)

GetSkillIdsOk returns a tuple with the SkillIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetSkills

GetSkills returns the Skills field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetSkillsOk

func (o *JobRequestCrewMember) GetSkillsOk() ([]JobRequestSkillSummary, bool)

GetSkillsOk returns a tuple with the Skills field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetTechnicianId

func (o *JobRequestCrewMember) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetTechnicianIdOk

func (o *JobRequestCrewMember) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetTechnicianName

func (o *JobRequestCrewMember) GetTechnicianName() string

GetTechnicianName returns the TechnicianName field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetTechnicianNameOk

func (o *JobRequestCrewMember) GetTechnicianNameOk() (*string, bool)

GetTechnicianNameOk returns a tuple with the TechnicianName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) GetWrenchPercent

func (o *JobRequestCrewMember) GetWrenchPercent() int32

GetWrenchPercent returns the WrenchPercent field value if set, zero value otherwise.

func (*JobRequestCrewMember) GetWrenchPercentOk

func (o *JobRequestCrewMember) GetWrenchPercentOk() (*int32, bool)

GetWrenchPercentOk returns a tuple with the WrenchPercent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMember) HasEmail

func (o *JobRequestCrewMember) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasEndsAt

func (o *JobRequestCrewMember) HasEndsAt() bool

HasEndsAt returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasJobTitle

func (o *JobRequestCrewMember) HasJobTitle() bool

HasJobTitle returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasPhone

func (o *JobRequestCrewMember) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasRole

func (o *JobRequestCrewMember) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasSessions

func (o *JobRequestCrewMember) HasSessions() bool

HasSessions returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasSkillIds

func (o *JobRequestCrewMember) HasSkillIds() bool

HasSkillIds returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasSkills

func (o *JobRequestCrewMember) HasSkills() bool

HasSkills returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasTechnicianId

func (o *JobRequestCrewMember) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasTechnicianName

func (o *JobRequestCrewMember) HasTechnicianName() bool

HasTechnicianName returns a boolean if a field has been set.

func (*JobRequestCrewMember) HasWrenchPercent

func (o *JobRequestCrewMember) HasWrenchPercent() bool

HasWrenchPercent returns a boolean if a field has been set.

func (JobRequestCrewMember) MarshalJSON

func (o JobRequestCrewMember) MarshalJSON() ([]byte, error)

func (*JobRequestCrewMember) SetEmail

func (o *JobRequestCrewMember) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*JobRequestCrewMember) SetEndsAt

func (o *JobRequestCrewMember) SetEndsAt(v time.Time)

SetEndsAt gets a reference to the given time.Time and assigns it to the EndsAt field.

func (*JobRequestCrewMember) SetJobTitle

func (o *JobRequestCrewMember) SetJobTitle(v string)

SetJobTitle gets a reference to the given string and assigns it to the JobTitle field.

func (*JobRequestCrewMember) SetPhone

func (o *JobRequestCrewMember) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*JobRequestCrewMember) SetRole

func (o *JobRequestCrewMember) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*JobRequestCrewMember) SetSessions

func (o *JobRequestCrewMember) SetSessions(v []JobRequestSession)

SetSessions gets a reference to the given []JobRequestSession and assigns it to the Sessions field.

func (*JobRequestCrewMember) SetSkillIds

func (o *JobRequestCrewMember) SetSkillIds(v []string)

SetSkillIds gets a reference to the given []string and assigns it to the SkillIds field.

func (*JobRequestCrewMember) SetSkills

func (o *JobRequestCrewMember) SetSkills(v []JobRequestSkillSummary)

SetSkills gets a reference to the given []JobRequestSkillSummary and assigns it to the Skills field.

func (*JobRequestCrewMember) SetTechnicianId

func (o *JobRequestCrewMember) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*JobRequestCrewMember) SetTechnicianName

func (o *JobRequestCrewMember) SetTechnicianName(v string)

SetTechnicianName gets a reference to the given string and assigns it to the TechnicianName field.

func (*JobRequestCrewMember) SetWrenchPercent

func (o *JobRequestCrewMember) SetWrenchPercent(v int32)

SetWrenchPercent gets a reference to the given int32 and assigns it to the WrenchPercent field.

func (JobRequestCrewMember) ToMap

func (o JobRequestCrewMember) ToMap() (map[string]interface{}, error)

type JobRequestCrewMemberInput added in v0.2.0

type JobRequestCrewMemberInput struct {
	// Whether this slot is the crew lead. Exactly one slot must set it.
	IsLead *bool `json:"is_lead,omitempty"`
	// UUIDs of the skills this slot requires (hard filter for the matching engine). Optional; up to 20.
	SkillIds []string `json:"skill_ids,omitempty"`
	// This slot's share of the job's man-hours, in percent (1–100). Shares across all slots must sum to 100.
	WrenchPercent *int32 `json:"wrench_percent,omitempty"`
}

JobRequestCrewMemberInput struct for JobRequestCrewMemberInput

func NewJobRequestCrewMemberInput added in v0.2.0

func NewJobRequestCrewMemberInput() *JobRequestCrewMemberInput

NewJobRequestCrewMemberInput instantiates a new JobRequestCrewMemberInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestCrewMemberInputWithDefaults added in v0.2.0

func NewJobRequestCrewMemberInputWithDefaults() *JobRequestCrewMemberInput

NewJobRequestCrewMemberInputWithDefaults instantiates a new JobRequestCrewMemberInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestCrewMemberInput) GetIsLead added in v0.2.0

func (o *JobRequestCrewMemberInput) GetIsLead() bool

GetIsLead returns the IsLead field value if set, zero value otherwise.

func (*JobRequestCrewMemberInput) GetIsLeadOk added in v0.2.0

func (o *JobRequestCrewMemberInput) GetIsLeadOk() (*bool, bool)

GetIsLeadOk returns a tuple with the IsLead field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMemberInput) GetSkillIds added in v0.2.0

func (o *JobRequestCrewMemberInput) GetSkillIds() []string

GetSkillIds returns the SkillIds field value if set, zero value otherwise.

func (*JobRequestCrewMemberInput) GetSkillIdsOk added in v0.2.0

func (o *JobRequestCrewMemberInput) GetSkillIdsOk() ([]string, bool)

GetSkillIdsOk returns a tuple with the SkillIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMemberInput) GetWrenchPercent added in v0.2.0

func (o *JobRequestCrewMemberInput) GetWrenchPercent() int32

GetWrenchPercent returns the WrenchPercent field value if set, zero value otherwise.

func (*JobRequestCrewMemberInput) GetWrenchPercentOk added in v0.2.0

func (o *JobRequestCrewMemberInput) GetWrenchPercentOk() (*int32, bool)

GetWrenchPercentOk returns a tuple with the WrenchPercent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewMemberInput) HasIsLead added in v0.2.0

func (o *JobRequestCrewMemberInput) HasIsLead() bool

HasIsLead returns a boolean if a field has been set.

func (*JobRequestCrewMemberInput) HasSkillIds added in v0.2.0

func (o *JobRequestCrewMemberInput) HasSkillIds() bool

HasSkillIds returns a boolean if a field has been set.

func (*JobRequestCrewMemberInput) HasWrenchPercent added in v0.2.0

func (o *JobRequestCrewMemberInput) HasWrenchPercent() bool

HasWrenchPercent returns a boolean if a field has been set.

func (JobRequestCrewMemberInput) MarshalJSON added in v0.2.0

func (o JobRequestCrewMemberInput) MarshalJSON() ([]byte, error)

func (*JobRequestCrewMemberInput) SetIsLead added in v0.2.0

func (o *JobRequestCrewMemberInput) SetIsLead(v bool)

SetIsLead gets a reference to the given bool and assigns it to the IsLead field.

func (*JobRequestCrewMemberInput) SetSkillIds added in v0.2.0

func (o *JobRequestCrewMemberInput) SetSkillIds(v []string)

SetSkillIds gets a reference to the given []string and assigns it to the SkillIds field.

func (*JobRequestCrewMemberInput) SetWrenchPercent added in v0.2.0

func (o *JobRequestCrewMemberInput) SetWrenchPercent(v int32)

SetWrenchPercent gets a reference to the given int32 and assigns it to the WrenchPercent field.

func (JobRequestCrewMemberInput) ToMap added in v0.2.0

func (o JobRequestCrewMemberInput) ToMap() (map[string]interface{}, error)

type JobRequestCrewRecommendation added in v0.2.0

type JobRequestCrewRecommendation struct {
	// Average recorded actual duration (minutes) across the sample; 0 when unrecorded.
	AvgActualMinutes *int32 `json:"avg_actual_minutes,omitempty"`
	// Human-readable disclaimer — MUST be displayed next to the number (AC-2).
	Disclaimer *string `json:"disclaimer,omitempty"`
	// Largest crew observed in the sample.
	MaxObserved *int32 `json:"max_observed,omitempty"`
	// Suggested number of technicians (median of comparable completed jobs; 1 when no history).
	RecommendedSize *int32 `json:"recommended_size,omitempty"`
	// How many completed jobs the suggestion is based on. 0 = no history.
	SampleSize *int32 `json:"sample_size,omitempty"`
}

JobRequestCrewRecommendation struct for JobRequestCrewRecommendation

func NewJobRequestCrewRecommendation added in v0.2.0

func NewJobRequestCrewRecommendation() *JobRequestCrewRecommendation

NewJobRequestCrewRecommendation instantiates a new JobRequestCrewRecommendation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestCrewRecommendationWithDefaults added in v0.2.0

func NewJobRequestCrewRecommendationWithDefaults() *JobRequestCrewRecommendation

NewJobRequestCrewRecommendationWithDefaults instantiates a new JobRequestCrewRecommendation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestCrewRecommendation) GetAvgActualMinutes added in v0.2.0

func (o *JobRequestCrewRecommendation) GetAvgActualMinutes() int32

GetAvgActualMinutes returns the AvgActualMinutes field value if set, zero value otherwise.

func (*JobRequestCrewRecommendation) GetAvgActualMinutesOk added in v0.2.0

func (o *JobRequestCrewRecommendation) GetAvgActualMinutesOk() (*int32, bool)

GetAvgActualMinutesOk returns a tuple with the AvgActualMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewRecommendation) GetDisclaimer added in v0.2.0

func (o *JobRequestCrewRecommendation) GetDisclaimer() string

GetDisclaimer returns the Disclaimer field value if set, zero value otherwise.

func (*JobRequestCrewRecommendation) GetDisclaimerOk added in v0.2.0

func (o *JobRequestCrewRecommendation) GetDisclaimerOk() (*string, bool)

GetDisclaimerOk returns a tuple with the Disclaimer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewRecommendation) GetMaxObserved added in v0.2.0

func (o *JobRequestCrewRecommendation) GetMaxObserved() int32

GetMaxObserved returns the MaxObserved field value if set, zero value otherwise.

func (*JobRequestCrewRecommendation) GetMaxObservedOk added in v0.2.0

func (o *JobRequestCrewRecommendation) GetMaxObservedOk() (*int32, bool)

GetMaxObservedOk returns a tuple with the MaxObserved field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewRecommendation) GetRecommendedSize added in v0.2.0

func (o *JobRequestCrewRecommendation) GetRecommendedSize() int32

GetRecommendedSize returns the RecommendedSize field value if set, zero value otherwise.

func (*JobRequestCrewRecommendation) GetRecommendedSizeOk added in v0.2.0

func (o *JobRequestCrewRecommendation) GetRecommendedSizeOk() (*int32, bool)

GetRecommendedSizeOk returns a tuple with the RecommendedSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewRecommendation) GetSampleSize added in v0.2.0

func (o *JobRequestCrewRecommendation) GetSampleSize() int32

GetSampleSize returns the SampleSize field value if set, zero value otherwise.

func (*JobRequestCrewRecommendation) GetSampleSizeOk added in v0.2.0

func (o *JobRequestCrewRecommendation) GetSampleSizeOk() (*int32, bool)

GetSampleSizeOk returns a tuple with the SampleSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCrewRecommendation) HasAvgActualMinutes added in v0.2.0

func (o *JobRequestCrewRecommendation) HasAvgActualMinutes() bool

HasAvgActualMinutes returns a boolean if a field has been set.

func (*JobRequestCrewRecommendation) HasDisclaimer added in v0.2.0

func (o *JobRequestCrewRecommendation) HasDisclaimer() bool

HasDisclaimer returns a boolean if a field has been set.

func (*JobRequestCrewRecommendation) HasMaxObserved added in v0.2.0

func (o *JobRequestCrewRecommendation) HasMaxObserved() bool

HasMaxObserved returns a boolean if a field has been set.

func (*JobRequestCrewRecommendation) HasRecommendedSize added in v0.2.0

func (o *JobRequestCrewRecommendation) HasRecommendedSize() bool

HasRecommendedSize returns a boolean if a field has been set.

func (*JobRequestCrewRecommendation) HasSampleSize added in v0.2.0

func (o *JobRequestCrewRecommendation) HasSampleSize() bool

HasSampleSize returns a boolean if a field has been set.

func (JobRequestCrewRecommendation) MarshalJSON added in v0.2.0

func (o JobRequestCrewRecommendation) MarshalJSON() ([]byte, error)

func (*JobRequestCrewRecommendation) SetAvgActualMinutes added in v0.2.0

func (o *JobRequestCrewRecommendation) SetAvgActualMinutes(v int32)

SetAvgActualMinutes gets a reference to the given int32 and assigns it to the AvgActualMinutes field.

func (*JobRequestCrewRecommendation) SetDisclaimer added in v0.2.0

func (o *JobRequestCrewRecommendation) SetDisclaimer(v string)

SetDisclaimer gets a reference to the given string and assigns it to the Disclaimer field.

func (*JobRequestCrewRecommendation) SetMaxObserved added in v0.2.0

func (o *JobRequestCrewRecommendation) SetMaxObserved(v int32)

SetMaxObserved gets a reference to the given int32 and assigns it to the MaxObserved field.

func (*JobRequestCrewRecommendation) SetRecommendedSize added in v0.2.0

func (o *JobRequestCrewRecommendation) SetRecommendedSize(v int32)

SetRecommendedSize gets a reference to the given int32 and assigns it to the RecommendedSize field.

func (*JobRequestCrewRecommendation) SetSampleSize added in v0.2.0

func (o *JobRequestCrewRecommendation) SetSampleSize(v int32)

SetSampleSize gets a reference to the given int32 and assigns it to the SampleSize field.

func (JobRequestCrewRecommendation) ToMap added in v0.2.0

func (o JobRequestCrewRecommendation) ToMap() (map[string]interface{}, error)

type JobRequestCustomerSummary

type JobRequestCustomerSummary struct {
	// Customer email, or null if not captured.
	Email *string `json:"email,omitempty"`
	// Customer UUID, or null for an inline public-booking customer with no saved record.
	Id *string `json:"id,omitempty"`
	// Customer's full name.
	Name *string `json:"name,omitempty"`
	// Customer phone, or null if not captured.
	Phone *string `json:"phone,omitempty"`
}

JobRequestCustomerSummary struct for JobRequestCustomerSummary

func NewJobRequestCustomerSummary

func NewJobRequestCustomerSummary() *JobRequestCustomerSummary

NewJobRequestCustomerSummary instantiates a new JobRequestCustomerSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestCustomerSummaryWithDefaults

func NewJobRequestCustomerSummaryWithDefaults() *JobRequestCustomerSummary

NewJobRequestCustomerSummaryWithDefaults instantiates a new JobRequestCustomerSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestCustomerSummary) GetEmail

func (o *JobRequestCustomerSummary) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*JobRequestCustomerSummary) GetEmailOk

func (o *JobRequestCustomerSummary) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCustomerSummary) GetId

func (o *JobRequestCustomerSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JobRequestCustomerSummary) GetIdOk

func (o *JobRequestCustomerSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCustomerSummary) GetName

func (o *JobRequestCustomerSummary) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*JobRequestCustomerSummary) GetNameOk

func (o *JobRequestCustomerSummary) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCustomerSummary) GetPhone

func (o *JobRequestCustomerSummary) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*JobRequestCustomerSummary) GetPhoneOk

func (o *JobRequestCustomerSummary) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestCustomerSummary) HasEmail

func (o *JobRequestCustomerSummary) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*JobRequestCustomerSummary) HasId

func (o *JobRequestCustomerSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*JobRequestCustomerSummary) HasName

func (o *JobRequestCustomerSummary) HasName() bool

HasName returns a boolean if a field has been set.

func (*JobRequestCustomerSummary) HasPhone

func (o *JobRequestCustomerSummary) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (JobRequestCustomerSummary) MarshalJSON

func (o JobRequestCustomerSummary) MarshalJSON() ([]byte, error)

func (*JobRequestCustomerSummary) SetEmail

func (o *JobRequestCustomerSummary) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*JobRequestCustomerSummary) SetId

func (o *JobRequestCustomerSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JobRequestCustomerSummary) SetName

func (o *JobRequestCustomerSummary) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*JobRequestCustomerSummary) SetPhone

func (o *JobRequestCustomerSummary) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (JobRequestCustomerSummary) ToMap

func (o JobRequestCustomerSummary) ToMap() (map[string]interface{}, error)

type JobRequestDayWindows

type JobRequestDayWindows struct {
	// Calendar day (YYYY-MM-DD), customer-local.
	Date *string `json:"date,omitempty"`
	// Available time-of-day periods on this day.
	Periods []JobRequestPeriod `json:"periods,omitempty"`
}

JobRequestDayWindows struct for JobRequestDayWindows

func NewJobRequestDayWindows

func NewJobRequestDayWindows() *JobRequestDayWindows

NewJobRequestDayWindows instantiates a new JobRequestDayWindows object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestDayWindowsWithDefaults

func NewJobRequestDayWindowsWithDefaults() *JobRequestDayWindows

NewJobRequestDayWindowsWithDefaults instantiates a new JobRequestDayWindows object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestDayWindows) GetDate

func (o *JobRequestDayWindows) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*JobRequestDayWindows) GetDateOk

func (o *JobRequestDayWindows) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestDayWindows) GetPeriods

func (o *JobRequestDayWindows) GetPeriods() []JobRequestPeriod

GetPeriods returns the Periods field value if set, zero value otherwise.

func (*JobRequestDayWindows) GetPeriodsOk

func (o *JobRequestDayWindows) GetPeriodsOk() ([]JobRequestPeriod, bool)

GetPeriodsOk returns a tuple with the Periods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestDayWindows) HasDate

func (o *JobRequestDayWindows) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*JobRequestDayWindows) HasPeriods

func (o *JobRequestDayWindows) HasPeriods() bool

HasPeriods returns a boolean if a field has been set.

func (JobRequestDayWindows) MarshalJSON

func (o JobRequestDayWindows) MarshalJSON() ([]byte, error)

func (*JobRequestDayWindows) SetDate

func (o *JobRequestDayWindows) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*JobRequestDayWindows) SetPeriods

func (o *JobRequestDayWindows) SetPeriods(v []JobRequestPeriod)

SetPeriods gets a reference to the given []JobRequestPeriod and assigns it to the Periods field.

func (JobRequestDayWindows) ToMap

func (o JobRequestDayWindows) ToMap() (map[string]interface{}, error)

type JobRequestEmergencyCandidate added in v0.2.0

type JobRequestEmergencyCandidate struct {
	// Minutes of work already booked on this technician that day (workload context).
	BookedMinutes *int32 `json:"booked_minutes,omitempty"`
	// The displaced jobs, grouped per business-local day (same shape as the preview endpoint) — what the coordinator reviews before committing.
	Days []JobRequestRescheduleDay `json:"days,omitempty"`
	// Estimated distance from the tech's start location to the site, in kilometers.
	DistanceKm *float32 `json:"distance_km,omitempty"`
	// Candidate technician's full name.
	FullName *string `json:"full_name,omitempty"`
	// Number of the job's desired skills this technician matches.
	MatchedSkills *int32 `json:"matched_skills,omitempty"`
	// UUID of the candidate technician.
	TechnicianId *string `json:"technician_id,omitempty"`
	// How many jobs choosing this tech would push (0 = free slot).
	TotalMoves *int32 `json:"total_moves,omitempty"`
	// Smart-assign engine ranking score (higher = better fit).
	TotalScore *float32 `json:"total_score,omitempty"`
	// ETA estimate in minutes from the tech's start location to the site — static origin (no live GPS), rank hint not a promise.
	TravelMinutes *float32 `json:"travel_minutes,omitempty"`
}

JobRequestEmergencyCandidate struct for JobRequestEmergencyCandidate

func NewJobRequestEmergencyCandidate added in v0.2.0

func NewJobRequestEmergencyCandidate() *JobRequestEmergencyCandidate

NewJobRequestEmergencyCandidate instantiates a new JobRequestEmergencyCandidate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestEmergencyCandidateWithDefaults added in v0.2.0

func NewJobRequestEmergencyCandidateWithDefaults() *JobRequestEmergencyCandidate

NewJobRequestEmergencyCandidateWithDefaults instantiates a new JobRequestEmergencyCandidate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestEmergencyCandidate) GetBookedMinutes added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetBookedMinutes() int32

GetBookedMinutes returns the BookedMinutes field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidate) GetBookedMinutesOk added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetBookedMinutesOk() (*int32, bool)

GetBookedMinutesOk returns a tuple with the BookedMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidate) GetDays added in v0.2.0

GetDays returns the Days field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidate) GetDaysOk added in v0.2.0

GetDaysOk returns a tuple with the Days field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidate) GetDistanceKm added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetDistanceKm() float32

GetDistanceKm returns the DistanceKm field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidate) GetDistanceKmOk added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetDistanceKmOk() (*float32, bool)

GetDistanceKmOk returns a tuple with the DistanceKm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidate) GetFullName added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidate) GetFullNameOk added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidate) GetMatchedSkills added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetMatchedSkills() int32

GetMatchedSkills returns the MatchedSkills field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidate) GetMatchedSkillsOk added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetMatchedSkillsOk() (*int32, bool)

GetMatchedSkillsOk returns a tuple with the MatchedSkills field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidate) GetTechnicianId added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidate) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidate) GetTotalMoves added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetTotalMoves() int32

GetTotalMoves returns the TotalMoves field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidate) GetTotalMovesOk added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetTotalMovesOk() (*int32, bool)

GetTotalMovesOk returns a tuple with the TotalMoves field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidate) GetTotalScore added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetTotalScore() float32

GetTotalScore returns the TotalScore field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidate) GetTotalScoreOk added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetTotalScoreOk() (*float32, bool)

GetTotalScoreOk returns a tuple with the TotalScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidate) GetTravelMinutes added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetTravelMinutes() float32

GetTravelMinutes returns the TravelMinutes field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidate) GetTravelMinutesOk added in v0.2.0

func (o *JobRequestEmergencyCandidate) GetTravelMinutesOk() (*float32, bool)

GetTravelMinutesOk returns a tuple with the TravelMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidate) HasBookedMinutes added in v0.2.0

func (o *JobRequestEmergencyCandidate) HasBookedMinutes() bool

HasBookedMinutes returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidate) HasDays added in v0.2.0

func (o *JobRequestEmergencyCandidate) HasDays() bool

HasDays returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidate) HasDistanceKm added in v0.2.0

func (o *JobRequestEmergencyCandidate) HasDistanceKm() bool

HasDistanceKm returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidate) HasFullName added in v0.2.0

func (o *JobRequestEmergencyCandidate) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidate) HasMatchedSkills added in v0.2.0

func (o *JobRequestEmergencyCandidate) HasMatchedSkills() bool

HasMatchedSkills returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidate) HasTechnicianId added in v0.2.0

func (o *JobRequestEmergencyCandidate) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidate) HasTotalMoves added in v0.2.0

func (o *JobRequestEmergencyCandidate) HasTotalMoves() bool

HasTotalMoves returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidate) HasTotalScore added in v0.2.0

func (o *JobRequestEmergencyCandidate) HasTotalScore() bool

HasTotalScore returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidate) HasTravelMinutes added in v0.2.0

func (o *JobRequestEmergencyCandidate) HasTravelMinutes() bool

HasTravelMinutes returns a boolean if a field has been set.

func (JobRequestEmergencyCandidate) MarshalJSON added in v0.2.0

func (o JobRequestEmergencyCandidate) MarshalJSON() ([]byte, error)

func (*JobRequestEmergencyCandidate) SetBookedMinutes added in v0.2.0

func (o *JobRequestEmergencyCandidate) SetBookedMinutes(v int32)

SetBookedMinutes gets a reference to the given int32 and assigns it to the BookedMinutes field.

func (*JobRequestEmergencyCandidate) SetDays added in v0.2.0

SetDays gets a reference to the given []JobRequestRescheduleDay and assigns it to the Days field.

func (*JobRequestEmergencyCandidate) SetDistanceKm added in v0.2.0

func (o *JobRequestEmergencyCandidate) SetDistanceKm(v float32)

SetDistanceKm gets a reference to the given float32 and assigns it to the DistanceKm field.

func (*JobRequestEmergencyCandidate) SetFullName added in v0.2.0

func (o *JobRequestEmergencyCandidate) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*JobRequestEmergencyCandidate) SetMatchedSkills added in v0.2.0

func (o *JobRequestEmergencyCandidate) SetMatchedSkills(v int32)

SetMatchedSkills gets a reference to the given int32 and assigns it to the MatchedSkills field.

func (*JobRequestEmergencyCandidate) SetTechnicianId added in v0.2.0

func (o *JobRequestEmergencyCandidate) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*JobRequestEmergencyCandidate) SetTotalMoves added in v0.2.0

func (o *JobRequestEmergencyCandidate) SetTotalMoves(v int32)

SetTotalMoves gets a reference to the given int32 and assigns it to the TotalMoves field.

func (*JobRequestEmergencyCandidate) SetTotalScore added in v0.2.0

func (o *JobRequestEmergencyCandidate) SetTotalScore(v float32)

SetTotalScore gets a reference to the given float32 and assigns it to the TotalScore field.

func (*JobRequestEmergencyCandidate) SetTravelMinutes added in v0.2.0

func (o *JobRequestEmergencyCandidate) SetTravelMinutes(v float32)

SetTravelMinutes gets a reference to the given float32 and assigns it to the TravelMinutes field.

func (JobRequestEmergencyCandidate) ToMap added in v0.2.0

func (o JobRequestEmergencyCandidate) ToMap() (map[string]interface{}, error)

type JobRequestEmergencyCandidates added in v0.2.0

type JobRequestEmergencyCandidates struct {
	// IANA timezone the per-day groupings are rendered in.
	BusinessTimezone *string `json:"business_timezone,omitempty"`
	// Technicians ranked fastest-arrival first; each carries its displacement preview.
	Candidates []JobRequestEmergencyCandidate `json:"candidates,omitempty"`
	// Historical crew-size suggestion (FR-1) — ALWAYS advisory; confirm or override before dispatch. sample_size=0 = no history, size defaults to 1.
	CrewRecommendation *JobRequestCrewRecommendation `json:"crew_recommendation,omitempty"`
	// Emergency visit window end (UTC) — start + the quoted visit duration.
	EmergencyEnd *time.Time `json:"emergency_end,omitempty"`
	// ID of the P0 job being placed.
	EmergencyJobId *string `json:"emergency_job_id,omitempty"`
	// Emergency visit window start (UTC).
	EmergencyStart *time.Time `json:"emergency_start,omitempty"`
	// Reschedule mode the displacement previews assume (overtime | next_day).
	Mode *string `json:"mode,omitempty"`
}

JobRequestEmergencyCandidates struct for JobRequestEmergencyCandidates

func NewJobRequestEmergencyCandidates added in v0.2.0

func NewJobRequestEmergencyCandidates() *JobRequestEmergencyCandidates

NewJobRequestEmergencyCandidates instantiates a new JobRequestEmergencyCandidates object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestEmergencyCandidatesWithDefaults added in v0.2.0

func NewJobRequestEmergencyCandidatesWithDefaults() *JobRequestEmergencyCandidates

NewJobRequestEmergencyCandidatesWithDefaults instantiates a new JobRequestEmergencyCandidates object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestEmergencyCandidates) GetBusinessTimezone added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetBusinessTimezone() string

GetBusinessTimezone returns the BusinessTimezone field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidates) GetBusinessTimezoneOk added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetBusinessTimezoneOk() (*string, bool)

GetBusinessTimezoneOk returns a tuple with the BusinessTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidates) GetCandidates added in v0.2.0

GetCandidates returns the Candidates field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidates) GetCandidatesOk added in v0.2.0

GetCandidatesOk returns a tuple with the Candidates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidates) GetCrewRecommendation added in v0.2.0

GetCrewRecommendation returns the CrewRecommendation field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidates) GetCrewRecommendationOk added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetCrewRecommendationOk() (*JobRequestCrewRecommendation, bool)

GetCrewRecommendationOk returns a tuple with the CrewRecommendation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidates) GetEmergencyEnd added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetEmergencyEnd() time.Time

GetEmergencyEnd returns the EmergencyEnd field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidates) GetEmergencyEndOk added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetEmergencyEndOk() (*time.Time, bool)

GetEmergencyEndOk returns a tuple with the EmergencyEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidates) GetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetEmergencyJobId() string

GetEmergencyJobId returns the EmergencyJobId field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidates) GetEmergencyJobIdOk added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetEmergencyJobIdOk() (*string, bool)

GetEmergencyJobIdOk returns a tuple with the EmergencyJobId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidates) GetEmergencyStart added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetEmergencyStart() time.Time

GetEmergencyStart returns the EmergencyStart field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidates) GetEmergencyStartOk added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetEmergencyStartOk() (*time.Time, bool)

GetEmergencyStartOk returns a tuple with the EmergencyStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidates) GetMode added in v0.2.0

GetMode returns the Mode field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidates) GetModeOk added in v0.2.0

func (o *JobRequestEmergencyCandidates) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidates) HasBusinessTimezone added in v0.2.0

func (o *JobRequestEmergencyCandidates) HasBusinessTimezone() bool

HasBusinessTimezone returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidates) HasCandidates added in v0.2.0

func (o *JobRequestEmergencyCandidates) HasCandidates() bool

HasCandidates returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidates) HasCrewRecommendation added in v0.2.0

func (o *JobRequestEmergencyCandidates) HasCrewRecommendation() bool

HasCrewRecommendation returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidates) HasEmergencyEnd added in v0.2.0

func (o *JobRequestEmergencyCandidates) HasEmergencyEnd() bool

HasEmergencyEnd returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidates) HasEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyCandidates) HasEmergencyJobId() bool

HasEmergencyJobId returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidates) HasEmergencyStart added in v0.2.0

func (o *JobRequestEmergencyCandidates) HasEmergencyStart() bool

HasEmergencyStart returns a boolean if a field has been set.

func (*JobRequestEmergencyCandidates) HasMode added in v0.2.0

func (o *JobRequestEmergencyCandidates) HasMode() bool

HasMode returns a boolean if a field has been set.

func (JobRequestEmergencyCandidates) MarshalJSON added in v0.2.0

func (o JobRequestEmergencyCandidates) MarshalJSON() ([]byte, error)

func (*JobRequestEmergencyCandidates) SetBusinessTimezone added in v0.2.0

func (o *JobRequestEmergencyCandidates) SetBusinessTimezone(v string)

SetBusinessTimezone gets a reference to the given string and assigns it to the BusinessTimezone field.

func (*JobRequestEmergencyCandidates) SetCandidates added in v0.2.0

SetCandidates gets a reference to the given []JobRequestEmergencyCandidate and assigns it to the Candidates field.

func (*JobRequestEmergencyCandidates) SetCrewRecommendation added in v0.2.0

func (o *JobRequestEmergencyCandidates) SetCrewRecommendation(v JobRequestCrewRecommendation)

SetCrewRecommendation gets a reference to the given JobRequestCrewRecommendation and assigns it to the CrewRecommendation field.

func (*JobRequestEmergencyCandidates) SetEmergencyEnd added in v0.2.0

func (o *JobRequestEmergencyCandidates) SetEmergencyEnd(v time.Time)

SetEmergencyEnd gets a reference to the given time.Time and assigns it to the EmergencyEnd field.

func (*JobRequestEmergencyCandidates) SetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyCandidates) SetEmergencyJobId(v string)

SetEmergencyJobId gets a reference to the given string and assigns it to the EmergencyJobId field.

func (*JobRequestEmergencyCandidates) SetEmergencyStart added in v0.2.0

func (o *JobRequestEmergencyCandidates) SetEmergencyStart(v time.Time)

SetEmergencyStart gets a reference to the given time.Time and assigns it to the EmergencyStart field.

func (*JobRequestEmergencyCandidates) SetMode added in v0.2.0

func (o *JobRequestEmergencyCandidates) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (JobRequestEmergencyCandidates) ToMap added in v0.2.0

func (o JobRequestEmergencyCandidates) ToMap() (map[string]interface{}, error)

type JobRequestEmergencyCandidatesRequest added in v0.2.0

type JobRequestEmergencyCandidatesRequest struct {
	// ID of the P0 job to place.
	EmergencyJobId string `json:"emergency_job_id"`
	// Max candidates to return (default 5, max 10).
	Limit *int32 `json:"limit,omitempty"`
	// Cascade mode each candidate's displacement preview assumes: overtime = displaced jobs stay same-day; next_day = overflow rolls to the next working day.
	Mode string `json:"mode"`
	// Desired start — business-local naive datetime, no offset. Must be in the future.
	StartAt string `json:"start_at"`
}

JobRequestEmergencyCandidatesRequest struct for JobRequestEmergencyCandidatesRequest

func NewJobRequestEmergencyCandidatesRequest added in v0.2.0

func NewJobRequestEmergencyCandidatesRequest(emergencyJobId string, mode string, startAt string) *JobRequestEmergencyCandidatesRequest

NewJobRequestEmergencyCandidatesRequest instantiates a new JobRequestEmergencyCandidatesRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestEmergencyCandidatesRequestWithDefaults added in v0.2.0

func NewJobRequestEmergencyCandidatesRequestWithDefaults() *JobRequestEmergencyCandidatesRequest

NewJobRequestEmergencyCandidatesRequestWithDefaults instantiates a new JobRequestEmergencyCandidatesRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestEmergencyCandidatesRequest) GetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyCandidatesRequest) GetEmergencyJobId() string

GetEmergencyJobId returns the EmergencyJobId field value

func (*JobRequestEmergencyCandidatesRequest) GetEmergencyJobIdOk added in v0.2.0

func (o *JobRequestEmergencyCandidatesRequest) GetEmergencyJobIdOk() (*string, bool)

GetEmergencyJobIdOk returns a tuple with the EmergencyJobId field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidatesRequest) GetLimit added in v0.2.0

GetLimit returns the Limit field value if set, zero value otherwise.

func (*JobRequestEmergencyCandidatesRequest) GetLimitOk added in v0.2.0

func (o *JobRequestEmergencyCandidatesRequest) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidatesRequest) GetMode added in v0.2.0

GetMode returns the Mode field value

func (*JobRequestEmergencyCandidatesRequest) GetModeOk added in v0.2.0

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidatesRequest) GetStartAt added in v0.2.0

GetStartAt returns the StartAt field value

func (*JobRequestEmergencyCandidatesRequest) GetStartAtOk added in v0.2.0

func (o *JobRequestEmergencyCandidatesRequest) GetStartAtOk() (*string, bool)

GetStartAtOk returns a tuple with the StartAt field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyCandidatesRequest) HasLimit added in v0.2.0

HasLimit returns a boolean if a field has been set.

func (JobRequestEmergencyCandidatesRequest) MarshalJSON added in v0.2.0

func (o JobRequestEmergencyCandidatesRequest) MarshalJSON() ([]byte, error)

func (*JobRequestEmergencyCandidatesRequest) SetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyCandidatesRequest) SetEmergencyJobId(v string)

SetEmergencyJobId sets field value

func (*JobRequestEmergencyCandidatesRequest) SetLimit added in v0.2.0

SetLimit gets a reference to the given int32 and assigns it to the Limit field.

func (*JobRequestEmergencyCandidatesRequest) SetMode added in v0.2.0

SetMode sets field value

func (*JobRequestEmergencyCandidatesRequest) SetStartAt added in v0.2.0

SetStartAt sets field value

func (JobRequestEmergencyCandidatesRequest) ToMap added in v0.2.0

func (o JobRequestEmergencyCandidatesRequest) ToMap() (map[string]interface{}, error)

func (*JobRequestEmergencyCandidatesRequest) UnmarshalJSON added in v0.2.0

func (o *JobRequestEmergencyCandidatesRequest) UnmarshalJSON(data []byte) (err error)

type JobRequestEmergencyCommitRequest added in v0.2.0

type JobRequestEmergencyCommitRequest struct {
	// Fate of displaced jobs: reschedule (default) or reassign — must match the preview.
	DisplacementMode *string `json:"displacement_mode,omitempty"`
	// Optimistic-lock fence from the previewed job (0 = fence on the server-read version).
	EmergencyExpectedVersion *int32 `json:"emergency_expected_version,omitempty"`
	// ID of the P0 job to insert.
	EmergencyJobId string `json:"emergency_job_id"`
	// ExpectedMoveIDs — the displaced job IDs the preview returned (echo BOTH data.days[].moves[].job_id AND data.reassignments[].job_id). RECOMMENDED: if the recomputed cascade would touch a different set (a job booked onto the lane since the preview), the commit is rejected with EMERGENCY_RESCHEDULE_PLAN_DRIFTED instead of displacing a job the coordinator never saw. Omit to opt out.
	ExpectedMoveIds []string `json:"expected_move_ids,omitempty"`
	// Cascade mode: overtime | next_day (must match the preview).
	Mode string `json:"mode"`
	// Desired start — business-local naive datetime, no offset. Must be in the future and match the preview.
	StartAt string `json:"start_at"`
	// Target technician (must belong to the business).
	TechnicianId string `json:"technician_id"`
}

JobRequestEmergencyCommitRequest struct for JobRequestEmergencyCommitRequest

func NewJobRequestEmergencyCommitRequest added in v0.2.0

func NewJobRequestEmergencyCommitRequest(emergencyJobId string, mode string, startAt string, technicianId string) *JobRequestEmergencyCommitRequest

NewJobRequestEmergencyCommitRequest instantiates a new JobRequestEmergencyCommitRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestEmergencyCommitRequestWithDefaults added in v0.2.0

func NewJobRequestEmergencyCommitRequestWithDefaults() *JobRequestEmergencyCommitRequest

NewJobRequestEmergencyCommitRequestWithDefaults instantiates a new JobRequestEmergencyCommitRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestEmergencyCommitRequest) GetDisplacementMode added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetDisplacementMode() string

GetDisplacementMode returns the DisplacementMode field value if set, zero value otherwise.

func (*JobRequestEmergencyCommitRequest) GetDisplacementModeOk added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetDisplacementModeOk() (*string, bool)

GetDisplacementModeOk returns a tuple with the DisplacementMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCommitRequest) GetEmergencyExpectedVersion added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetEmergencyExpectedVersion() int32

GetEmergencyExpectedVersion returns the EmergencyExpectedVersion field value if set, zero value otherwise.

func (*JobRequestEmergencyCommitRequest) GetEmergencyExpectedVersionOk added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetEmergencyExpectedVersionOk() (*int32, bool)

GetEmergencyExpectedVersionOk returns a tuple with the EmergencyExpectedVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCommitRequest) GetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetEmergencyJobId() string

GetEmergencyJobId returns the EmergencyJobId field value

func (*JobRequestEmergencyCommitRequest) GetEmergencyJobIdOk added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetEmergencyJobIdOk() (*string, bool)

GetEmergencyJobIdOk returns a tuple with the EmergencyJobId field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyCommitRequest) GetExpectedMoveIds added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetExpectedMoveIds() []string

GetExpectedMoveIds returns the ExpectedMoveIds field value if set, zero value otherwise.

func (*JobRequestEmergencyCommitRequest) GetExpectedMoveIdsOk added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetExpectedMoveIdsOk() ([]string, bool)

GetExpectedMoveIdsOk returns a tuple with the ExpectedMoveIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyCommitRequest) GetMode added in v0.2.0

GetMode returns the Mode field value

func (*JobRequestEmergencyCommitRequest) GetModeOk added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyCommitRequest) GetStartAt added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetStartAt() string

GetStartAt returns the StartAt field value

func (*JobRequestEmergencyCommitRequest) GetStartAtOk added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetStartAtOk() (*string, bool)

GetStartAtOk returns a tuple with the StartAt field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyCommitRequest) GetTechnicianId added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value

func (*JobRequestEmergencyCommitRequest) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyCommitRequest) HasDisplacementMode added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) HasDisplacementMode() bool

HasDisplacementMode returns a boolean if a field has been set.

func (*JobRequestEmergencyCommitRequest) HasEmergencyExpectedVersion added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) HasEmergencyExpectedVersion() bool

HasEmergencyExpectedVersion returns a boolean if a field has been set.

func (*JobRequestEmergencyCommitRequest) HasExpectedMoveIds added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) HasExpectedMoveIds() bool

HasExpectedMoveIds returns a boolean if a field has been set.

func (JobRequestEmergencyCommitRequest) MarshalJSON added in v0.2.0

func (o JobRequestEmergencyCommitRequest) MarshalJSON() ([]byte, error)

func (*JobRequestEmergencyCommitRequest) SetDisplacementMode added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) SetDisplacementMode(v string)

SetDisplacementMode gets a reference to the given string and assigns it to the DisplacementMode field.

func (*JobRequestEmergencyCommitRequest) SetEmergencyExpectedVersion added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) SetEmergencyExpectedVersion(v int32)

SetEmergencyExpectedVersion gets a reference to the given int32 and assigns it to the EmergencyExpectedVersion field.

func (*JobRequestEmergencyCommitRequest) SetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) SetEmergencyJobId(v string)

SetEmergencyJobId sets field value

func (*JobRequestEmergencyCommitRequest) SetExpectedMoveIds added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) SetExpectedMoveIds(v []string)

SetExpectedMoveIds gets a reference to the given []string and assigns it to the ExpectedMoveIds field.

func (*JobRequestEmergencyCommitRequest) SetMode added in v0.2.0

SetMode sets field value

func (*JobRequestEmergencyCommitRequest) SetStartAt added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) SetStartAt(v string)

SetStartAt sets field value

func (*JobRequestEmergencyCommitRequest) SetTechnicianId added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) SetTechnicianId(v string)

SetTechnicianId sets field value

func (JobRequestEmergencyCommitRequest) ToMap added in v0.2.0

func (o JobRequestEmergencyCommitRequest) ToMap() (map[string]interface{}, error)

func (*JobRequestEmergencyCommitRequest) UnmarshalJSON added in v0.2.0

func (o *JobRequestEmergencyCommitRequest) UnmarshalJSON(data []byte) (err error)

type JobRequestEmergencyPlan added in v0.2.0

type JobRequestEmergencyPlan struct {
	// IANA timezone the per-day groupings are rendered in.
	BusinessTimezone *string `json:"business_timezone,omitempty"`
	// Pushed jobs grouped per business-local calendar day.
	Days []JobRequestRescheduleDay `json:"days,omitempty"`
	// Emergency visit window end (UTC) — start + the quoted visit duration (job + mobilization + demobilization).
	EmergencyEnd *time.Time `json:"emergency_end,omitempty"`
	// ID of the inserted P0 job.
	EmergencyJobId *string `json:"emergency_job_id,omitempty"`
	// Emergency visit window start (UTC).
	EmergencyStart *time.Time `json:"emergency_start,omitempty"`
	// Cascade mode the plan assumed (overtime | next_day).
	Mode *string `json:"mode,omitempty"`
	// Displaced jobs handed to an ALTERNATE technician at their original window (displacement_mode=reassign; empty otherwise). Jobs that could not be re-staffed remain in days/total_moves (reschedule fallback).
	Reassignments []JobRequestRescheduleReassignment `json:"reassignments,omitempty"`
	// Technician the emergency lands on.
	TechnicianId *string `json:"technician_id,omitempty"`
	// Number of displaced jobs pushed to a later window.
	TotalMoves *int32 `json:"total_moves,omitempty"`
	// Non-blocking consequences the coordinator accepts by committing (TIME_OFF_OVERLAP per displaced job landing in the tech's approved leave).
	Warnings []JobRequestMoveWarning `json:"warnings,omitempty"`
}

JobRequestEmergencyPlan struct for JobRequestEmergencyPlan

func NewJobRequestEmergencyPlan added in v0.2.0

func NewJobRequestEmergencyPlan() *JobRequestEmergencyPlan

NewJobRequestEmergencyPlan instantiates a new JobRequestEmergencyPlan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestEmergencyPlanWithDefaults added in v0.2.0

func NewJobRequestEmergencyPlanWithDefaults() *JobRequestEmergencyPlan

NewJobRequestEmergencyPlanWithDefaults instantiates a new JobRequestEmergencyPlan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestEmergencyPlan) GetBusinessTimezone added in v0.2.0

func (o *JobRequestEmergencyPlan) GetBusinessTimezone() string

GetBusinessTimezone returns the BusinessTimezone field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetBusinessTimezoneOk added in v0.2.0

func (o *JobRequestEmergencyPlan) GetBusinessTimezoneOk() (*string, bool)

GetBusinessTimezoneOk returns a tuple with the BusinessTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) GetDays added in v0.2.0

GetDays returns the Days field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetDaysOk added in v0.2.0

GetDaysOk returns a tuple with the Days field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) GetEmergencyEnd added in v0.2.0

func (o *JobRequestEmergencyPlan) GetEmergencyEnd() time.Time

GetEmergencyEnd returns the EmergencyEnd field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetEmergencyEndOk added in v0.2.0

func (o *JobRequestEmergencyPlan) GetEmergencyEndOk() (*time.Time, bool)

GetEmergencyEndOk returns a tuple with the EmergencyEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) GetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyPlan) GetEmergencyJobId() string

GetEmergencyJobId returns the EmergencyJobId field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetEmergencyJobIdOk added in v0.2.0

func (o *JobRequestEmergencyPlan) GetEmergencyJobIdOk() (*string, bool)

GetEmergencyJobIdOk returns a tuple with the EmergencyJobId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) GetEmergencyStart added in v0.2.0

func (o *JobRequestEmergencyPlan) GetEmergencyStart() time.Time

GetEmergencyStart returns the EmergencyStart field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetEmergencyStartOk added in v0.2.0

func (o *JobRequestEmergencyPlan) GetEmergencyStartOk() (*time.Time, bool)

GetEmergencyStartOk returns a tuple with the EmergencyStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) GetMode added in v0.2.0

func (o *JobRequestEmergencyPlan) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetModeOk added in v0.2.0

func (o *JobRequestEmergencyPlan) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) GetReassignments added in v0.2.0

GetReassignments returns the Reassignments field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetReassignmentsOk added in v0.2.0

func (o *JobRequestEmergencyPlan) GetReassignmentsOk() ([]JobRequestRescheduleReassignment, bool)

GetReassignmentsOk returns a tuple with the Reassignments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) GetTechnicianId added in v0.2.0

func (o *JobRequestEmergencyPlan) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestEmergencyPlan) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) GetTotalMoves added in v0.2.0

func (o *JobRequestEmergencyPlan) GetTotalMoves() int32

GetTotalMoves returns the TotalMoves field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetTotalMovesOk added in v0.2.0

func (o *JobRequestEmergencyPlan) GetTotalMovesOk() (*int32, bool)

GetTotalMovesOk returns a tuple with the TotalMoves field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) GetWarnings added in v0.2.0

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*JobRequestEmergencyPlan) GetWarningsOk added in v0.2.0

func (o *JobRequestEmergencyPlan) GetWarningsOk() ([]JobRequestMoveWarning, bool)

GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPlan) HasBusinessTimezone added in v0.2.0

func (o *JobRequestEmergencyPlan) HasBusinessTimezone() bool

HasBusinessTimezone returns a boolean if a field has been set.

func (*JobRequestEmergencyPlan) HasDays added in v0.2.0

func (o *JobRequestEmergencyPlan) HasDays() bool

HasDays returns a boolean if a field has been set.

func (*JobRequestEmergencyPlan) HasEmergencyEnd added in v0.2.0

func (o *JobRequestEmergencyPlan) HasEmergencyEnd() bool

HasEmergencyEnd returns a boolean if a field has been set.

func (*JobRequestEmergencyPlan) HasEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyPlan) HasEmergencyJobId() bool

HasEmergencyJobId returns a boolean if a field has been set.

func (*JobRequestEmergencyPlan) HasEmergencyStart added in v0.2.0

func (o *JobRequestEmergencyPlan) HasEmergencyStart() bool

HasEmergencyStart returns a boolean if a field has been set.

func (*JobRequestEmergencyPlan) HasMode added in v0.2.0

func (o *JobRequestEmergencyPlan) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*JobRequestEmergencyPlan) HasReassignments added in v0.2.0

func (o *JobRequestEmergencyPlan) HasReassignments() bool

HasReassignments returns a boolean if a field has been set.

func (*JobRequestEmergencyPlan) HasTechnicianId added in v0.2.0

func (o *JobRequestEmergencyPlan) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*JobRequestEmergencyPlan) HasTotalMoves added in v0.2.0

func (o *JobRequestEmergencyPlan) HasTotalMoves() bool

HasTotalMoves returns a boolean if a field has been set.

func (*JobRequestEmergencyPlan) HasWarnings added in v0.2.0

func (o *JobRequestEmergencyPlan) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (JobRequestEmergencyPlan) MarshalJSON added in v0.2.0

func (o JobRequestEmergencyPlan) MarshalJSON() ([]byte, error)

func (*JobRequestEmergencyPlan) SetBusinessTimezone added in v0.2.0

func (o *JobRequestEmergencyPlan) SetBusinessTimezone(v string)

SetBusinessTimezone gets a reference to the given string and assigns it to the BusinessTimezone field.

func (*JobRequestEmergencyPlan) SetDays added in v0.2.0

SetDays gets a reference to the given []JobRequestRescheduleDay and assigns it to the Days field.

func (*JobRequestEmergencyPlan) SetEmergencyEnd added in v0.2.0

func (o *JobRequestEmergencyPlan) SetEmergencyEnd(v time.Time)

SetEmergencyEnd gets a reference to the given time.Time and assigns it to the EmergencyEnd field.

func (*JobRequestEmergencyPlan) SetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyPlan) SetEmergencyJobId(v string)

SetEmergencyJobId gets a reference to the given string and assigns it to the EmergencyJobId field.

func (*JobRequestEmergencyPlan) SetEmergencyStart added in v0.2.0

func (o *JobRequestEmergencyPlan) SetEmergencyStart(v time.Time)

SetEmergencyStart gets a reference to the given time.Time and assigns it to the EmergencyStart field.

func (*JobRequestEmergencyPlan) SetMode added in v0.2.0

func (o *JobRequestEmergencyPlan) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*JobRequestEmergencyPlan) SetReassignments added in v0.2.0

SetReassignments gets a reference to the given []JobRequestRescheduleReassignment and assigns it to the Reassignments field.

func (*JobRequestEmergencyPlan) SetTechnicianId added in v0.2.0

func (o *JobRequestEmergencyPlan) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*JobRequestEmergencyPlan) SetTotalMoves added in v0.2.0

func (o *JobRequestEmergencyPlan) SetTotalMoves(v int32)

SetTotalMoves gets a reference to the given int32 and assigns it to the TotalMoves field.

func (*JobRequestEmergencyPlan) SetWarnings added in v0.2.0

func (o *JobRequestEmergencyPlan) SetWarnings(v []JobRequestMoveWarning)

SetWarnings gets a reference to the given []JobRequestMoveWarning and assigns it to the Warnings field.

func (JobRequestEmergencyPlan) ToMap added in v0.2.0

func (o JobRequestEmergencyPlan) ToMap() (map[string]interface{}, error)

type JobRequestEmergencyPreviewRequest added in v0.2.0

type JobRequestEmergencyPreviewRequest struct {
	// Fate of displaced jobs: reschedule (default — pushed to later windows) or reassign (handed to another feasible technician at their ORIGINAL time; no-capacity jobs fall back to reschedule).
	DisplacementMode *string `json:"displacement_mode,omitempty"`
	// ID of the P0 job to insert.
	EmergencyJobId string `json:"emergency_job_id"`
	// Cascade mode: overtime = displaced jobs stay same-day (tech works late); next_day = overflow rolls to the next working day.
	Mode string `json:"mode"`
	// Desired start — business-local naive datetime, no offset. Must be in the future.
	StartAt string `json:"start_at"`
	// Target technician (must belong to the business).
	TechnicianId string `json:"technician_id"`
}

JobRequestEmergencyPreviewRequest struct for JobRequestEmergencyPreviewRequest

func NewJobRequestEmergencyPreviewRequest added in v0.2.0

func NewJobRequestEmergencyPreviewRequest(emergencyJobId string, mode string, startAt string, technicianId string) *JobRequestEmergencyPreviewRequest

NewJobRequestEmergencyPreviewRequest instantiates a new JobRequestEmergencyPreviewRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestEmergencyPreviewRequestWithDefaults added in v0.2.0

func NewJobRequestEmergencyPreviewRequestWithDefaults() *JobRequestEmergencyPreviewRequest

NewJobRequestEmergencyPreviewRequestWithDefaults instantiates a new JobRequestEmergencyPreviewRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestEmergencyPreviewRequest) GetDisplacementMode added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) GetDisplacementMode() string

GetDisplacementMode returns the DisplacementMode field value if set, zero value otherwise.

func (*JobRequestEmergencyPreviewRequest) GetDisplacementModeOk added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) GetDisplacementModeOk() (*string, bool)

GetDisplacementModeOk returns a tuple with the DisplacementMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestEmergencyPreviewRequest) GetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) GetEmergencyJobId() string

GetEmergencyJobId returns the EmergencyJobId field value

func (*JobRequestEmergencyPreviewRequest) GetEmergencyJobIdOk added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) GetEmergencyJobIdOk() (*string, bool)

GetEmergencyJobIdOk returns a tuple with the EmergencyJobId field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyPreviewRequest) GetMode added in v0.2.0

GetMode returns the Mode field value

func (*JobRequestEmergencyPreviewRequest) GetModeOk added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyPreviewRequest) GetStartAt added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) GetStartAt() string

GetStartAt returns the StartAt field value

func (*JobRequestEmergencyPreviewRequest) GetStartAtOk added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) GetStartAtOk() (*string, bool)

GetStartAtOk returns a tuple with the StartAt field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyPreviewRequest) GetTechnicianId added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value

func (*JobRequestEmergencyPreviewRequest) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value and a boolean to check if the value has been set.

func (*JobRequestEmergencyPreviewRequest) HasDisplacementMode added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) HasDisplacementMode() bool

HasDisplacementMode returns a boolean if a field has been set.

func (JobRequestEmergencyPreviewRequest) MarshalJSON added in v0.2.0

func (o JobRequestEmergencyPreviewRequest) MarshalJSON() ([]byte, error)

func (*JobRequestEmergencyPreviewRequest) SetDisplacementMode added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) SetDisplacementMode(v string)

SetDisplacementMode gets a reference to the given string and assigns it to the DisplacementMode field.

func (*JobRequestEmergencyPreviewRequest) SetEmergencyJobId added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) SetEmergencyJobId(v string)

SetEmergencyJobId sets field value

func (*JobRequestEmergencyPreviewRequest) SetMode added in v0.2.0

SetMode sets field value

func (*JobRequestEmergencyPreviewRequest) SetStartAt added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) SetStartAt(v string)

SetStartAt sets field value

func (*JobRequestEmergencyPreviewRequest) SetTechnicianId added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) SetTechnicianId(v string)

SetTechnicianId sets field value

func (JobRequestEmergencyPreviewRequest) ToMap added in v0.2.0

func (o JobRequestEmergencyPreviewRequest) ToMap() (map[string]interface{}, error)

func (*JobRequestEmergencyPreviewRequest) UnmarshalJSON added in v0.2.0

func (o *JobRequestEmergencyPreviewRequest) UnmarshalJSON(data []byte) (err error)

type JobRequestJobDateBusinessRangeRequest

type JobRequestJobDateBusinessRangeRequest struct {
	// Calendar day (YYYY-MM-DD), business-local.
	Date *string `json:"date,omitempty"`
	// Range end as minutes since midnight (0–1440), business-local.
	EndMinute *int32 `json:"end_minute,omitempty"`
	// Time-of-day period this range belongs to.
	Period *string `json:"period,omitempty"`
	// Range start as minutes since midnight (0–1440), business-local.
	StartMinute *int32 `json:"start_minute,omitempty"`
}

JobRequestJobDateBusinessRangeRequest struct for JobRequestJobDateBusinessRangeRequest

func NewJobRequestJobDateBusinessRangeRequest

func NewJobRequestJobDateBusinessRangeRequest() *JobRequestJobDateBusinessRangeRequest

NewJobRequestJobDateBusinessRangeRequest instantiates a new JobRequestJobDateBusinessRangeRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestJobDateBusinessRangeRequestWithDefaults

func NewJobRequestJobDateBusinessRangeRequestWithDefaults() *JobRequestJobDateBusinessRangeRequest

NewJobRequestJobDateBusinessRangeRequestWithDefaults instantiates a new JobRequestJobDateBusinessRangeRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestJobDateBusinessRangeRequest) GetDate

GetDate returns the Date field value if set, zero value otherwise.

func (*JobRequestJobDateBusinessRangeRequest) GetDateOk

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestJobDateBusinessRangeRequest) GetEndMinute

func (o *JobRequestJobDateBusinessRangeRequest) GetEndMinute() int32

GetEndMinute returns the EndMinute field value if set, zero value otherwise.

func (*JobRequestJobDateBusinessRangeRequest) GetEndMinuteOk

func (o *JobRequestJobDateBusinessRangeRequest) GetEndMinuteOk() (*int32, bool)

GetEndMinuteOk returns a tuple with the EndMinute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestJobDateBusinessRangeRequest) GetPeriod

GetPeriod returns the Period field value if set, zero value otherwise.

func (*JobRequestJobDateBusinessRangeRequest) GetPeriodOk

func (o *JobRequestJobDateBusinessRangeRequest) GetPeriodOk() (*string, bool)

GetPeriodOk returns a tuple with the Period field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestJobDateBusinessRangeRequest) GetStartMinute

func (o *JobRequestJobDateBusinessRangeRequest) GetStartMinute() int32

GetStartMinute returns the StartMinute field value if set, zero value otherwise.

func (*JobRequestJobDateBusinessRangeRequest) GetStartMinuteOk

func (o *JobRequestJobDateBusinessRangeRequest) GetStartMinuteOk() (*int32, bool)

GetStartMinuteOk returns a tuple with the StartMinute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestJobDateBusinessRangeRequest) HasDate

HasDate returns a boolean if a field has been set.

func (*JobRequestJobDateBusinessRangeRequest) HasEndMinute

func (o *JobRequestJobDateBusinessRangeRequest) HasEndMinute() bool

HasEndMinute returns a boolean if a field has been set.

func (*JobRequestJobDateBusinessRangeRequest) HasPeriod

HasPeriod returns a boolean if a field has been set.

func (*JobRequestJobDateBusinessRangeRequest) HasStartMinute

func (o *JobRequestJobDateBusinessRangeRequest) HasStartMinute() bool

HasStartMinute returns a boolean if a field has been set.

func (JobRequestJobDateBusinessRangeRequest) MarshalJSON

func (o JobRequestJobDateBusinessRangeRequest) MarshalJSON() ([]byte, error)

func (*JobRequestJobDateBusinessRangeRequest) SetDate

SetDate gets a reference to the given string and assigns it to the Date field.

func (*JobRequestJobDateBusinessRangeRequest) SetEndMinute

func (o *JobRequestJobDateBusinessRangeRequest) SetEndMinute(v int32)

SetEndMinute gets a reference to the given int32 and assigns it to the EndMinute field.

func (*JobRequestJobDateBusinessRangeRequest) SetPeriod

SetPeriod gets a reference to the given string and assigns it to the Period field.

func (*JobRequestJobDateBusinessRangeRequest) SetStartMinute

func (o *JobRequestJobDateBusinessRangeRequest) SetStartMinute(v int32)

SetStartMinute gets a reference to the given int32 and assigns it to the StartMinute field.

func (JobRequestJobDateBusinessRangeRequest) ToMap

func (o JobRequestJobDateBusinessRangeRequest) ToMap() (map[string]interface{}, error)

type JobRequestJobDatePeriodRequest

type JobRequestJobDatePeriodRequest struct {
	// Business-local time ranges the period maps to (echoed from booking-windows). Optional.
	BusinessView []JobRequestJobDateBusinessRangeRequest `json:"business_view,omitempty"`
	// Time-of-day period the customer requested. Required.
	Period string `json:"period"`
}

JobRequestJobDatePeriodRequest struct for JobRequestJobDatePeriodRequest

func NewJobRequestJobDatePeriodRequest

func NewJobRequestJobDatePeriodRequest(period string) *JobRequestJobDatePeriodRequest

NewJobRequestJobDatePeriodRequest instantiates a new JobRequestJobDatePeriodRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestJobDatePeriodRequestWithDefaults

func NewJobRequestJobDatePeriodRequestWithDefaults() *JobRequestJobDatePeriodRequest

NewJobRequestJobDatePeriodRequestWithDefaults instantiates a new JobRequestJobDatePeriodRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestJobDatePeriodRequest) GetBusinessView

GetBusinessView returns the BusinessView field value if set, zero value otherwise.

func (*JobRequestJobDatePeriodRequest) GetBusinessViewOk

GetBusinessViewOk returns a tuple with the BusinessView field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestJobDatePeriodRequest) GetPeriod

func (o *JobRequestJobDatePeriodRequest) GetPeriod() string

GetPeriod returns the Period field value

func (*JobRequestJobDatePeriodRequest) GetPeriodOk

func (o *JobRequestJobDatePeriodRequest) GetPeriodOk() (*string, bool)

GetPeriodOk returns a tuple with the Period field value and a boolean to check if the value has been set.

func (*JobRequestJobDatePeriodRequest) HasBusinessView

func (o *JobRequestJobDatePeriodRequest) HasBusinessView() bool

HasBusinessView returns a boolean if a field has been set.

func (JobRequestJobDatePeriodRequest) MarshalJSON

func (o JobRequestJobDatePeriodRequest) MarshalJSON() ([]byte, error)

func (*JobRequestJobDatePeriodRequest) SetBusinessView

SetBusinessView gets a reference to the given []JobRequestJobDateBusinessRangeRequest and assigns it to the BusinessView field.

func (*JobRequestJobDatePeriodRequest) SetPeriod

func (o *JobRequestJobDatePeriodRequest) SetPeriod(v string)

SetPeriod sets field value

func (JobRequestJobDatePeriodRequest) ToMap

func (o JobRequestJobDatePeriodRequest) ToMap() (map[string]interface{}, error)

func (*JobRequestJobDatePeriodRequest) UnmarshalJSON

func (o *JobRequestJobDatePeriodRequest) UnmarshalJSON(data []byte) (err error)

type JobRequestJobDateRequest

type JobRequestJobDateRequest struct {
	// Requested calendar day (YYYY-MM-DD), customer-local. Required.
	Date string `json:"date"`
	// One or more time-of-day periods requested on this date. At least one, up to 3.
	Periods []JobRequestJobDatePeriodRequest `json:"periods"`
}

JobRequestJobDateRequest struct for JobRequestJobDateRequest

func NewJobRequestJobDateRequest

func NewJobRequestJobDateRequest(date string, periods []JobRequestJobDatePeriodRequest) *JobRequestJobDateRequest

NewJobRequestJobDateRequest instantiates a new JobRequestJobDateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestJobDateRequestWithDefaults

func NewJobRequestJobDateRequestWithDefaults() *JobRequestJobDateRequest

NewJobRequestJobDateRequestWithDefaults instantiates a new JobRequestJobDateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestJobDateRequest) GetDate

func (o *JobRequestJobDateRequest) GetDate() string

GetDate returns the Date field value

func (*JobRequestJobDateRequest) GetDateOk

func (o *JobRequestJobDateRequest) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.

func (*JobRequestJobDateRequest) GetPeriods

GetPeriods returns the Periods field value

func (*JobRequestJobDateRequest) GetPeriodsOk

GetPeriodsOk returns a tuple with the Periods field value and a boolean to check if the value has been set.

func (JobRequestJobDateRequest) MarshalJSON

func (o JobRequestJobDateRequest) MarshalJSON() ([]byte, error)

func (*JobRequestJobDateRequest) SetDate

func (o *JobRequestJobDateRequest) SetDate(v string)

SetDate sets field value

func (*JobRequestJobDateRequest) SetPeriods

SetPeriods sets field value

func (JobRequestJobDateRequest) ToMap

func (o JobRequestJobDateRequest) ToMap() (map[string]interface{}, error)

func (*JobRequestJobDateRequest) UnmarshalJSON

func (o *JobRequestJobDateRequest) UnmarshalJSON(data []byte) (err error)

type JobRequestLeadCandidate added in v0.2.0

type JobRequestLeadCandidate struct {
	// Minutes of job work already booked on this technician's schedule over the evaluated window (feeds the wrench-time score; lower = more open capacity).
	BookedMinutes *int32 `json:"booked_minutes,omitempty"`
	// Per-slot ranked buddy pools that fit THIS lead (present only when include_buddies=true was requested).
	Buddies []JobRequestBuddySlotCandidates `json:"buddies,omitempty"`
	// Estimated one-way distance from the technician's start location to the job site, in km (routing-provider estimate, straight-line fallback). 0 when the job has no geocoded location.
	DistanceKm *float32 `json:"distance_km,omitempty"`
	// Technician's full display name.
	FullName *string `json:"full_name,omitempty"`
	// How many of the job's desired skills this technician holds.
	MatchedSkills *int32 `json:"matched_skills,omitempty"`
	// Per-day on-site session plan this technician would work for the job (ordered; one block for a single-day visit, several for multi-day).
	Sessions []JobRequestSession `json:"sessions,omitempty"`
	// UUID of the candidate technician.
	TechnicianId *string `json:"technician_id,omitempty"`
	// Overall ranking score (0-100): weighted blend of the distance, travel-time, wrench-time and skill sub-scores; candidates are listed best-first.
	TotalScore *float32 `json:"total_score,omitempty"`
	// Estimated one-way travel time from the technician's start location to the job site, in minutes. 0 when the job has no geocoded location.
	TravelMinutes *float32 `json:"travel_minutes,omitempty"`
	// Vehicles free for the job's window, ordered by this lead's preference (present only when include_vehicle=true was requested).
	Vehicles []JobRequestAvailableVehicle `json:"vehicles,omitempty"`
}

JobRequestLeadCandidate struct for JobRequestLeadCandidate

func NewJobRequestLeadCandidate added in v0.2.0

func NewJobRequestLeadCandidate() *JobRequestLeadCandidate

NewJobRequestLeadCandidate instantiates a new JobRequestLeadCandidate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestLeadCandidateWithDefaults added in v0.2.0

func NewJobRequestLeadCandidateWithDefaults() *JobRequestLeadCandidate

NewJobRequestLeadCandidateWithDefaults instantiates a new JobRequestLeadCandidate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestLeadCandidate) GetBookedMinutes added in v0.2.0

func (o *JobRequestLeadCandidate) GetBookedMinutes() int32

GetBookedMinutes returns the BookedMinutes field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetBookedMinutesOk added in v0.2.0

func (o *JobRequestLeadCandidate) GetBookedMinutesOk() (*int32, bool)

GetBookedMinutesOk returns a tuple with the BookedMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) GetBuddies added in v0.2.0

GetBuddies returns the Buddies field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetBuddiesOk added in v0.2.0

GetBuddiesOk returns a tuple with the Buddies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) GetDistanceKm added in v0.2.0

func (o *JobRequestLeadCandidate) GetDistanceKm() float32

GetDistanceKm returns the DistanceKm field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetDistanceKmOk added in v0.2.0

func (o *JobRequestLeadCandidate) GetDistanceKmOk() (*float32, bool)

GetDistanceKmOk returns a tuple with the DistanceKm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) GetFullName added in v0.2.0

func (o *JobRequestLeadCandidate) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetFullNameOk added in v0.2.0

func (o *JobRequestLeadCandidate) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) GetMatchedSkills added in v0.2.0

func (o *JobRequestLeadCandidate) GetMatchedSkills() int32

GetMatchedSkills returns the MatchedSkills field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetMatchedSkillsOk added in v0.2.0

func (o *JobRequestLeadCandidate) GetMatchedSkillsOk() (*int32, bool)

GetMatchedSkillsOk returns a tuple with the MatchedSkills field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) GetSessions added in v0.2.0

func (o *JobRequestLeadCandidate) GetSessions() []JobRequestSession

GetSessions returns the Sessions field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetSessionsOk added in v0.2.0

func (o *JobRequestLeadCandidate) GetSessionsOk() ([]JobRequestSession, bool)

GetSessionsOk returns a tuple with the Sessions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) GetTechnicianId added in v0.2.0

func (o *JobRequestLeadCandidate) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestLeadCandidate) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) GetTotalScore added in v0.2.0

func (o *JobRequestLeadCandidate) GetTotalScore() float32

GetTotalScore returns the TotalScore field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetTotalScoreOk added in v0.2.0

func (o *JobRequestLeadCandidate) GetTotalScoreOk() (*float32, bool)

GetTotalScoreOk returns a tuple with the TotalScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) GetTravelMinutes added in v0.2.0

func (o *JobRequestLeadCandidate) GetTravelMinutes() float32

GetTravelMinutes returns the TravelMinutes field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetTravelMinutesOk added in v0.2.0

func (o *JobRequestLeadCandidate) GetTravelMinutesOk() (*float32, bool)

GetTravelMinutesOk returns a tuple with the TravelMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) GetVehicles added in v0.2.0

GetVehicles returns the Vehicles field value if set, zero value otherwise.

func (*JobRequestLeadCandidate) GetVehiclesOk added in v0.2.0

GetVehiclesOk returns a tuple with the Vehicles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestLeadCandidate) HasBookedMinutes added in v0.2.0

func (o *JobRequestLeadCandidate) HasBookedMinutes() bool

HasBookedMinutes returns a boolean if a field has been set.

func (*JobRequestLeadCandidate) HasBuddies added in v0.2.0

func (o *JobRequestLeadCandidate) HasBuddies() bool

HasBuddies returns a boolean if a field has been set.

func (*JobRequestLeadCandidate) HasDistanceKm added in v0.2.0

func (o *JobRequestLeadCandidate) HasDistanceKm() bool

HasDistanceKm returns a boolean if a field has been set.

func (*JobRequestLeadCandidate) HasFullName added in v0.2.0

func (o *JobRequestLeadCandidate) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*JobRequestLeadCandidate) HasMatchedSkills added in v0.2.0

func (o *JobRequestLeadCandidate) HasMatchedSkills() bool

HasMatchedSkills returns a boolean if a field has been set.

func (*JobRequestLeadCandidate) HasSessions added in v0.2.0

func (o *JobRequestLeadCandidate) HasSessions() bool

HasSessions returns a boolean if a field has been set.

func (*JobRequestLeadCandidate) HasTechnicianId added in v0.2.0

func (o *JobRequestLeadCandidate) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*JobRequestLeadCandidate) HasTotalScore added in v0.2.0

func (o *JobRequestLeadCandidate) HasTotalScore() bool

HasTotalScore returns a boolean if a field has been set.

func (*JobRequestLeadCandidate) HasTravelMinutes added in v0.2.0

func (o *JobRequestLeadCandidate) HasTravelMinutes() bool

HasTravelMinutes returns a boolean if a field has been set.

func (*JobRequestLeadCandidate) HasVehicles added in v0.2.0

func (o *JobRequestLeadCandidate) HasVehicles() bool

HasVehicles returns a boolean if a field has been set.

func (JobRequestLeadCandidate) MarshalJSON added in v0.2.0

func (o JobRequestLeadCandidate) MarshalJSON() ([]byte, error)

func (*JobRequestLeadCandidate) SetBookedMinutes added in v0.2.0

func (o *JobRequestLeadCandidate) SetBookedMinutes(v int32)

SetBookedMinutes gets a reference to the given int32 and assigns it to the BookedMinutes field.

func (*JobRequestLeadCandidate) SetBuddies added in v0.2.0

SetBuddies gets a reference to the given []JobRequestBuddySlotCandidates and assigns it to the Buddies field.

func (*JobRequestLeadCandidate) SetDistanceKm added in v0.2.0

func (o *JobRequestLeadCandidate) SetDistanceKm(v float32)

SetDistanceKm gets a reference to the given float32 and assigns it to the DistanceKm field.

func (*JobRequestLeadCandidate) SetFullName added in v0.2.0

func (o *JobRequestLeadCandidate) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*JobRequestLeadCandidate) SetMatchedSkills added in v0.2.0

func (o *JobRequestLeadCandidate) SetMatchedSkills(v int32)

SetMatchedSkills gets a reference to the given int32 and assigns it to the MatchedSkills field.

func (*JobRequestLeadCandidate) SetSessions added in v0.2.0

func (o *JobRequestLeadCandidate) SetSessions(v []JobRequestSession)

SetSessions gets a reference to the given []JobRequestSession and assigns it to the Sessions field.

func (*JobRequestLeadCandidate) SetTechnicianId added in v0.2.0

func (o *JobRequestLeadCandidate) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*JobRequestLeadCandidate) SetTotalScore added in v0.2.0

func (o *JobRequestLeadCandidate) SetTotalScore(v float32)

SetTotalScore gets a reference to the given float32 and assigns it to the TotalScore field.

func (*JobRequestLeadCandidate) SetTravelMinutes added in v0.2.0

func (o *JobRequestLeadCandidate) SetTravelMinutes(v float32)

SetTravelMinutes gets a reference to the given float32 and assigns it to the TravelMinutes field.

func (*JobRequestLeadCandidate) SetVehicles added in v0.2.0

SetVehicles gets a reference to the given []JobRequestAvailableVehicle and assigns it to the Vehicles field.

func (JobRequestLeadCandidate) ToMap added in v0.2.0

func (o JobRequestLeadCandidate) ToMap() (map[string]interface{}, error)

type JobRequestList

type JobRequestList struct {
	// The job requests on this page.
	Items []JobRequest `json:"items,omitempty"`
	// Page/limit/total pagination metadata.
	Meta *Pagination `json:"meta,omitempty"`
}

JobRequestList struct for JobRequestList

func NewJobRequestList

func NewJobRequestList() *JobRequestList

NewJobRequestList instantiates a new JobRequestList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestListWithDefaults

func NewJobRequestListWithDefaults() *JobRequestList

NewJobRequestListWithDefaults instantiates a new JobRequestList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestList) GetItems

func (o *JobRequestList) GetItems() []JobRequest

GetItems returns the Items field value if set, zero value otherwise.

func (*JobRequestList) GetItemsOk

func (o *JobRequestList) GetItemsOk() ([]JobRequest, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestList) GetMeta

func (o *JobRequestList) GetMeta() Pagination

GetMeta returns the Meta field value if set, zero value otherwise.

func (*JobRequestList) GetMetaOk

func (o *JobRequestList) GetMetaOk() (*Pagination, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestList) HasItems

func (o *JobRequestList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*JobRequestList) HasMeta

func (o *JobRequestList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (JobRequestList) MarshalJSON

func (o JobRequestList) MarshalJSON() ([]byte, error)

func (*JobRequestList) SetItems

func (o *JobRequestList) SetItems(v []JobRequest)

SetItems gets a reference to the given []JobRequest and assigns it to the Items field.

func (*JobRequestList) SetMeta

func (o *JobRequestList) SetMeta(v Pagination)

SetMeta gets a reference to the given Pagination and assigns it to the Meta field.

func (JobRequestList) ToMap

func (o JobRequestList) ToMap() (map[string]interface{}, error)

type JobRequestMoveCommitReq added in v0.2.0

type JobRequestMoveCommitReq struct {
	// ExpectedMemberIDs — crew moves only: the FULL member set the preview staffed (echo data.members[].technician_id). If the commit's re-plan would staff a DIFFERENT set (a previewed replacement got booked in the meantime), the commit is rejected with SCHEDULE_MOVE_PLAN_DRIFTED — crew swaps are never approved unseen. Omit to opt out.
	ExpectedMemberIds []string `json:"expected_member_ids,omitempty"`
	// ExpectedMoveIDs — the displaced job IDs the preview returned (echo data.days[].moves[].job_id). Optional but RECOMMENDED: if the schedule changed so the commit would push a different set (e.g. a job booked onto the target tech since the preview), the commit is rejected with SCHEDULE_MOVE_PLAN_DRIFTED instead of silently pushing an unseen job.
	ExpectedMoveIds []string `json:"expected_move_ids,omitempty"`
	// ExpectedVersion — the moved job's status_version from the preview (0 = fence on the fresh plan-read value; negatives rejected).
	ExpectedVersion *int32 `json:"expected_version,omitempty"`
	// Cascade mode: overtime | next_day (must match the preview).
	Mode string `json:"mode"`
	// New start — business-local naive datetime, no offset. Must match the preview and be in the future.
	StartAt string `json:"start_at"`
	// Target technician (must match the preview).
	TechnicianId string `json:"technician_id"`
}

JobRequestMoveCommitReq struct for JobRequestMoveCommitReq

func NewJobRequestMoveCommitReq added in v0.2.0

func NewJobRequestMoveCommitReq(mode string, startAt string, technicianId string) *JobRequestMoveCommitReq

NewJobRequestMoveCommitReq instantiates a new JobRequestMoveCommitReq object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestMoveCommitReqWithDefaults added in v0.2.0

func NewJobRequestMoveCommitReqWithDefaults() *JobRequestMoveCommitReq

NewJobRequestMoveCommitReqWithDefaults instantiates a new JobRequestMoveCommitReq object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestMoveCommitReq) GetExpectedMemberIds added in v0.2.0

func (o *JobRequestMoveCommitReq) GetExpectedMemberIds() []string

GetExpectedMemberIds returns the ExpectedMemberIds field value if set, zero value otherwise.

func (*JobRequestMoveCommitReq) GetExpectedMemberIdsOk added in v0.2.0

func (o *JobRequestMoveCommitReq) GetExpectedMemberIdsOk() ([]string, bool)

GetExpectedMemberIdsOk returns a tuple with the ExpectedMemberIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveCommitReq) GetExpectedMoveIds added in v0.2.0

func (o *JobRequestMoveCommitReq) GetExpectedMoveIds() []string

GetExpectedMoveIds returns the ExpectedMoveIds field value if set, zero value otherwise.

func (*JobRequestMoveCommitReq) GetExpectedMoveIdsOk added in v0.2.0

func (o *JobRequestMoveCommitReq) GetExpectedMoveIdsOk() ([]string, bool)

GetExpectedMoveIdsOk returns a tuple with the ExpectedMoveIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveCommitReq) GetExpectedVersion added in v0.2.0

func (o *JobRequestMoveCommitReq) GetExpectedVersion() int32

GetExpectedVersion returns the ExpectedVersion field value if set, zero value otherwise.

func (*JobRequestMoveCommitReq) GetExpectedVersionOk added in v0.2.0

func (o *JobRequestMoveCommitReq) GetExpectedVersionOk() (*int32, bool)

GetExpectedVersionOk returns a tuple with the ExpectedVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveCommitReq) GetMode added in v0.2.0

func (o *JobRequestMoveCommitReq) GetMode() string

GetMode returns the Mode field value

func (*JobRequestMoveCommitReq) GetModeOk added in v0.2.0

func (o *JobRequestMoveCommitReq) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.

func (*JobRequestMoveCommitReq) GetStartAt added in v0.2.0

func (o *JobRequestMoveCommitReq) GetStartAt() string

GetStartAt returns the StartAt field value

func (*JobRequestMoveCommitReq) GetStartAtOk added in v0.2.0

func (o *JobRequestMoveCommitReq) GetStartAtOk() (*string, bool)

GetStartAtOk returns a tuple with the StartAt field value and a boolean to check if the value has been set.

func (*JobRequestMoveCommitReq) GetTechnicianId added in v0.2.0

func (o *JobRequestMoveCommitReq) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value

func (*JobRequestMoveCommitReq) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestMoveCommitReq) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value and a boolean to check if the value has been set.

func (*JobRequestMoveCommitReq) HasExpectedMemberIds added in v0.2.0

func (o *JobRequestMoveCommitReq) HasExpectedMemberIds() bool

HasExpectedMemberIds returns a boolean if a field has been set.

func (*JobRequestMoveCommitReq) HasExpectedMoveIds added in v0.2.0

func (o *JobRequestMoveCommitReq) HasExpectedMoveIds() bool

HasExpectedMoveIds returns a boolean if a field has been set.

func (*JobRequestMoveCommitReq) HasExpectedVersion added in v0.2.0

func (o *JobRequestMoveCommitReq) HasExpectedVersion() bool

HasExpectedVersion returns a boolean if a field has been set.

func (JobRequestMoveCommitReq) MarshalJSON added in v0.2.0

func (o JobRequestMoveCommitReq) MarshalJSON() ([]byte, error)

func (*JobRequestMoveCommitReq) SetExpectedMemberIds added in v0.2.0

func (o *JobRequestMoveCommitReq) SetExpectedMemberIds(v []string)

SetExpectedMemberIds gets a reference to the given []string and assigns it to the ExpectedMemberIds field.

func (*JobRequestMoveCommitReq) SetExpectedMoveIds added in v0.2.0

func (o *JobRequestMoveCommitReq) SetExpectedMoveIds(v []string)

SetExpectedMoveIds gets a reference to the given []string and assigns it to the ExpectedMoveIds field.

func (*JobRequestMoveCommitReq) SetExpectedVersion added in v0.2.0

func (o *JobRequestMoveCommitReq) SetExpectedVersion(v int32)

SetExpectedVersion gets a reference to the given int32 and assigns it to the ExpectedVersion field.

func (*JobRequestMoveCommitReq) SetMode added in v0.2.0

func (o *JobRequestMoveCommitReq) SetMode(v string)

SetMode sets field value

func (*JobRequestMoveCommitReq) SetStartAt added in v0.2.0

func (o *JobRequestMoveCommitReq) SetStartAt(v string)

SetStartAt sets field value

func (*JobRequestMoveCommitReq) SetTechnicianId added in v0.2.0

func (o *JobRequestMoveCommitReq) SetTechnicianId(v string)

SetTechnicianId sets field value

func (JobRequestMoveCommitReq) ToMap added in v0.2.0

func (o JobRequestMoveCommitReq) ToMap() (map[string]interface{}, error)

func (*JobRequestMoveCommitReq) UnmarshalJSON added in v0.2.0

func (o *JobRequestMoveCommitReq) UnmarshalJSON(data []byte) (err error)

type JobRequestMoveMember added in v0.2.0

type JobRequestMoveMember struct {
	// This member's planned session end (UTC).
	EndAt *time.Time `json:"end_at,omitempty"`
	// Crew-plan slot order (0 = lead).
	Ordinal *int32 `json:"ordinal,omitempty"`
	// Crew role at the new time.
	Role *string `json:"role,omitempty"`
	// This member's planned session start (UTC).
	StartAt *time.Time `json:"start_at,omitempty"`
	// UUID of the crew member's technician.
	TechnicianId *string `json:"technician_id,omitempty"`
	// One-way commute estimate (minutes, engine, ceil). Omitted = unknown.
	TravelMinutes *int32 `json:"travel_minutes,omitempty"`
}

JobRequestMoveMember struct for JobRequestMoveMember

func NewJobRequestMoveMember added in v0.2.0

func NewJobRequestMoveMember() *JobRequestMoveMember

NewJobRequestMoveMember instantiates a new JobRequestMoveMember object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestMoveMemberWithDefaults added in v0.2.0

func NewJobRequestMoveMemberWithDefaults() *JobRequestMoveMember

NewJobRequestMoveMemberWithDefaults instantiates a new JobRequestMoveMember object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestMoveMember) GetEndAt added in v0.2.0

func (o *JobRequestMoveMember) GetEndAt() time.Time

GetEndAt returns the EndAt field value if set, zero value otherwise.

func (*JobRequestMoveMember) GetEndAtOk added in v0.2.0

func (o *JobRequestMoveMember) GetEndAtOk() (*time.Time, bool)

GetEndAtOk returns a tuple with the EndAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveMember) GetOrdinal added in v0.2.0

func (o *JobRequestMoveMember) GetOrdinal() int32

GetOrdinal returns the Ordinal field value if set, zero value otherwise.

func (*JobRequestMoveMember) GetOrdinalOk added in v0.2.0

func (o *JobRequestMoveMember) GetOrdinalOk() (*int32, bool)

GetOrdinalOk returns a tuple with the Ordinal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveMember) GetRole added in v0.2.0

func (o *JobRequestMoveMember) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*JobRequestMoveMember) GetRoleOk added in v0.2.0

func (o *JobRequestMoveMember) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveMember) GetStartAt added in v0.2.0

func (o *JobRequestMoveMember) GetStartAt() time.Time

GetStartAt returns the StartAt field value if set, zero value otherwise.

func (*JobRequestMoveMember) GetStartAtOk added in v0.2.0

func (o *JobRequestMoveMember) GetStartAtOk() (*time.Time, bool)

GetStartAtOk returns a tuple with the StartAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveMember) GetTechnicianId added in v0.2.0

func (o *JobRequestMoveMember) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*JobRequestMoveMember) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestMoveMember) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveMember) GetTravelMinutes added in v0.2.0

func (o *JobRequestMoveMember) GetTravelMinutes() int32

GetTravelMinutes returns the TravelMinutes field value if set, zero value otherwise.

func (*JobRequestMoveMember) GetTravelMinutesOk added in v0.2.0

func (o *JobRequestMoveMember) GetTravelMinutesOk() (*int32, bool)

GetTravelMinutesOk returns a tuple with the TravelMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveMember) HasEndAt added in v0.2.0

func (o *JobRequestMoveMember) HasEndAt() bool

HasEndAt returns a boolean if a field has been set.

func (*JobRequestMoveMember) HasOrdinal added in v0.2.0

func (o *JobRequestMoveMember) HasOrdinal() bool

HasOrdinal returns a boolean if a field has been set.

func (*JobRequestMoveMember) HasRole added in v0.2.0

func (o *JobRequestMoveMember) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*JobRequestMoveMember) HasStartAt added in v0.2.0

func (o *JobRequestMoveMember) HasStartAt() bool

HasStartAt returns a boolean if a field has been set.

func (*JobRequestMoveMember) HasTechnicianId added in v0.2.0

func (o *JobRequestMoveMember) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*JobRequestMoveMember) HasTravelMinutes added in v0.2.0

func (o *JobRequestMoveMember) HasTravelMinutes() bool

HasTravelMinutes returns a boolean if a field has been set.

func (JobRequestMoveMember) MarshalJSON added in v0.2.0

func (o JobRequestMoveMember) MarshalJSON() ([]byte, error)

func (*JobRequestMoveMember) SetEndAt added in v0.2.0

func (o *JobRequestMoveMember) SetEndAt(v time.Time)

SetEndAt gets a reference to the given time.Time and assigns it to the EndAt field.

func (*JobRequestMoveMember) SetOrdinal added in v0.2.0

func (o *JobRequestMoveMember) SetOrdinal(v int32)

SetOrdinal gets a reference to the given int32 and assigns it to the Ordinal field.

func (*JobRequestMoveMember) SetRole added in v0.2.0

func (o *JobRequestMoveMember) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*JobRequestMoveMember) SetStartAt added in v0.2.0

func (o *JobRequestMoveMember) SetStartAt(v time.Time)

SetStartAt gets a reference to the given time.Time and assigns it to the StartAt field.

func (*JobRequestMoveMember) SetTechnicianId added in v0.2.0

func (o *JobRequestMoveMember) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*JobRequestMoveMember) SetTravelMinutes added in v0.2.0

func (o *JobRequestMoveMember) SetTravelMinutes(v int32)

SetTravelMinutes gets a reference to the given int32 and assigns it to the TravelMinutes field.

func (JobRequestMoveMember) ToMap added in v0.2.0

func (o JobRequestMoveMember) ToMap() (map[string]interface{}, error)

type JobRequestMovePlan added in v0.2.0

type JobRequestMovePlan struct {
	// IANA timezone the per-day groupings are rendered in.
	BusinessTimezone *string `json:"business_timezone,omitempty"`
	// Crew-job move: proposed member swaps (current member busy at the new time → auto-replaced by the best same-tier candidate). Committing the plan approves them. Omitted for single-person jobs / no swaps.
	CrewChanges []JobRequestCrewChange `json:"crew_changes,omitempty"`
	// Displaced jobs grouped per business-local calendar day.
	Days []JobRequestRescheduleDay `json:"days,omitempty"`
	// UUID of the moved job.
	JobId *string `json:"job_id,omitempty"`
	// Crew-job move: the FULL member plan at the new time (kept AND swapped members, each with their window + travel) — review F2: previously computed but never surfaced. Omitted for single-person jobs.
	Members []JobRequestMoveMember `json:"members,omitempty"`
	// Cascade mode the plan assumed (overtime | next_day).
	Mode *string `json:"mode,omitempty"`
	// The moved job's new window end (UTC).
	NewEnd *time.Time `json:"new_end,omitempty"`
	// The moved job's new window start (UTC).
	NewStart *time.Time `json:"new_start,omitempty"`
	// UUID of the technician the job moved OFF (manual reassign only). Omitted on a pure time move.
	PreviousTechnicianId *string `json:"previous_technician_id,omitempty"`
	// Human-friendly short code of the moved job.
	ShortCode *string `json:"short_code,omitempty"`
	// UUID of the technician the job lands on.
	TechnicianId *string `json:"technician_id,omitempty"`
	// Number of displaced jobs pushed to a later window.
	TotalMoves *int32 `json:"total_moves,omitempty"`
	// Non-blocking consequences the coordinator accepts by committing.
	Warnings []JobRequestMoveWarning `json:"warnings,omitempty"`
}

JobRequestMovePlan struct for JobRequestMovePlan

func NewJobRequestMovePlan added in v0.2.0

func NewJobRequestMovePlan() *JobRequestMovePlan

NewJobRequestMovePlan instantiates a new JobRequestMovePlan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestMovePlanWithDefaults added in v0.2.0

func NewJobRequestMovePlanWithDefaults() *JobRequestMovePlan

NewJobRequestMovePlanWithDefaults instantiates a new JobRequestMovePlan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestMovePlan) GetBusinessTimezone added in v0.2.0

func (o *JobRequestMovePlan) GetBusinessTimezone() string

GetBusinessTimezone returns the BusinessTimezone field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetBusinessTimezoneOk added in v0.2.0

func (o *JobRequestMovePlan) GetBusinessTimezoneOk() (*string, bool)

GetBusinessTimezoneOk returns a tuple with the BusinessTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetCrewChanges added in v0.2.0

func (o *JobRequestMovePlan) GetCrewChanges() []JobRequestCrewChange

GetCrewChanges returns the CrewChanges field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetCrewChangesOk added in v0.2.0

func (o *JobRequestMovePlan) GetCrewChangesOk() ([]JobRequestCrewChange, bool)

GetCrewChangesOk returns a tuple with the CrewChanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetDays added in v0.2.0

GetDays returns the Days field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetDaysOk added in v0.2.0

func (o *JobRequestMovePlan) GetDaysOk() ([]JobRequestRescheduleDay, bool)

GetDaysOk returns a tuple with the Days field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetJobId added in v0.2.0

func (o *JobRequestMovePlan) GetJobId() string

GetJobId returns the JobId field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetJobIdOk added in v0.2.0

func (o *JobRequestMovePlan) GetJobIdOk() (*string, bool)

GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetMembers added in v0.2.0

func (o *JobRequestMovePlan) GetMembers() []JobRequestMoveMember

GetMembers returns the Members field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetMembersOk added in v0.2.0

func (o *JobRequestMovePlan) GetMembersOk() ([]JobRequestMoveMember, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetMode added in v0.2.0

func (o *JobRequestMovePlan) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetModeOk added in v0.2.0

func (o *JobRequestMovePlan) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetNewEnd added in v0.2.0

func (o *JobRequestMovePlan) GetNewEnd() time.Time

GetNewEnd returns the NewEnd field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetNewEndOk added in v0.2.0

func (o *JobRequestMovePlan) GetNewEndOk() (*time.Time, bool)

GetNewEndOk returns a tuple with the NewEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetNewStart added in v0.2.0

func (o *JobRequestMovePlan) GetNewStart() time.Time

GetNewStart returns the NewStart field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetNewStartOk added in v0.2.0

func (o *JobRequestMovePlan) GetNewStartOk() (*time.Time, bool)

GetNewStartOk returns a tuple with the NewStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetPreviousTechnicianId added in v0.2.0

func (o *JobRequestMovePlan) GetPreviousTechnicianId() string

GetPreviousTechnicianId returns the PreviousTechnicianId field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetPreviousTechnicianIdOk added in v0.2.0

func (o *JobRequestMovePlan) GetPreviousTechnicianIdOk() (*string, bool)

GetPreviousTechnicianIdOk returns a tuple with the PreviousTechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetShortCode added in v0.2.0

func (o *JobRequestMovePlan) GetShortCode() string

GetShortCode returns the ShortCode field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetShortCodeOk added in v0.2.0

func (o *JobRequestMovePlan) GetShortCodeOk() (*string, bool)

GetShortCodeOk returns a tuple with the ShortCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetTechnicianId added in v0.2.0

func (o *JobRequestMovePlan) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestMovePlan) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetTotalMoves added in v0.2.0

func (o *JobRequestMovePlan) GetTotalMoves() int32

GetTotalMoves returns the TotalMoves field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetTotalMovesOk added in v0.2.0

func (o *JobRequestMovePlan) GetTotalMovesOk() (*int32, bool)

GetTotalMovesOk returns a tuple with the TotalMoves field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) GetWarnings added in v0.2.0

func (o *JobRequestMovePlan) GetWarnings() []JobRequestMoveWarning

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*JobRequestMovePlan) GetWarningsOk added in v0.2.0

func (o *JobRequestMovePlan) GetWarningsOk() ([]JobRequestMoveWarning, bool)

GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMovePlan) HasBusinessTimezone added in v0.2.0

func (o *JobRequestMovePlan) HasBusinessTimezone() bool

HasBusinessTimezone returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasCrewChanges added in v0.2.0

func (o *JobRequestMovePlan) HasCrewChanges() bool

HasCrewChanges returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasDays added in v0.2.0

func (o *JobRequestMovePlan) HasDays() bool

HasDays returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasJobId added in v0.2.0

func (o *JobRequestMovePlan) HasJobId() bool

HasJobId returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasMembers added in v0.2.0

func (o *JobRequestMovePlan) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasMode added in v0.2.0

func (o *JobRequestMovePlan) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasNewEnd added in v0.2.0

func (o *JobRequestMovePlan) HasNewEnd() bool

HasNewEnd returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasNewStart added in v0.2.0

func (o *JobRequestMovePlan) HasNewStart() bool

HasNewStart returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasPreviousTechnicianId added in v0.2.0

func (o *JobRequestMovePlan) HasPreviousTechnicianId() bool

HasPreviousTechnicianId returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasShortCode added in v0.2.0

func (o *JobRequestMovePlan) HasShortCode() bool

HasShortCode returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasTechnicianId added in v0.2.0

func (o *JobRequestMovePlan) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasTotalMoves added in v0.2.0

func (o *JobRequestMovePlan) HasTotalMoves() bool

HasTotalMoves returns a boolean if a field has been set.

func (*JobRequestMovePlan) HasWarnings added in v0.2.0

func (o *JobRequestMovePlan) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (JobRequestMovePlan) MarshalJSON added in v0.2.0

func (o JobRequestMovePlan) MarshalJSON() ([]byte, error)

func (*JobRequestMovePlan) SetBusinessTimezone added in v0.2.0

func (o *JobRequestMovePlan) SetBusinessTimezone(v string)

SetBusinessTimezone gets a reference to the given string and assigns it to the BusinessTimezone field.

func (*JobRequestMovePlan) SetCrewChanges added in v0.2.0

func (o *JobRequestMovePlan) SetCrewChanges(v []JobRequestCrewChange)

SetCrewChanges gets a reference to the given []JobRequestCrewChange and assigns it to the CrewChanges field.

func (*JobRequestMovePlan) SetDays added in v0.2.0

SetDays gets a reference to the given []JobRequestRescheduleDay and assigns it to the Days field.

func (*JobRequestMovePlan) SetJobId added in v0.2.0

func (o *JobRequestMovePlan) SetJobId(v string)

SetJobId gets a reference to the given string and assigns it to the JobId field.

func (*JobRequestMovePlan) SetMembers added in v0.2.0

func (o *JobRequestMovePlan) SetMembers(v []JobRequestMoveMember)

SetMembers gets a reference to the given []JobRequestMoveMember and assigns it to the Members field.

func (*JobRequestMovePlan) SetMode added in v0.2.0

func (o *JobRequestMovePlan) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*JobRequestMovePlan) SetNewEnd added in v0.2.0

func (o *JobRequestMovePlan) SetNewEnd(v time.Time)

SetNewEnd gets a reference to the given time.Time and assigns it to the NewEnd field.

func (*JobRequestMovePlan) SetNewStart added in v0.2.0

func (o *JobRequestMovePlan) SetNewStart(v time.Time)

SetNewStart gets a reference to the given time.Time and assigns it to the NewStart field.

func (*JobRequestMovePlan) SetPreviousTechnicianId added in v0.2.0

func (o *JobRequestMovePlan) SetPreviousTechnicianId(v string)

SetPreviousTechnicianId gets a reference to the given string and assigns it to the PreviousTechnicianId field.

func (*JobRequestMovePlan) SetShortCode added in v0.2.0

func (o *JobRequestMovePlan) SetShortCode(v string)

SetShortCode gets a reference to the given string and assigns it to the ShortCode field.

func (*JobRequestMovePlan) SetTechnicianId added in v0.2.0

func (o *JobRequestMovePlan) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*JobRequestMovePlan) SetTotalMoves added in v0.2.0

func (o *JobRequestMovePlan) SetTotalMoves(v int32)

SetTotalMoves gets a reference to the given int32 and assigns it to the TotalMoves field.

func (*JobRequestMovePlan) SetWarnings added in v0.2.0

func (o *JobRequestMovePlan) SetWarnings(v []JobRequestMoveWarning)

SetWarnings gets a reference to the given []JobRequestMoveWarning and assigns it to the Warnings field.

func (JobRequestMovePlan) ToMap added in v0.2.0

func (o JobRequestMovePlan) ToMap() (map[string]interface{}, error)

type JobRequestMovePreviewReq added in v0.2.0

type JobRequestMovePreviewReq struct {
	// Cascade mode for displaced jobs: overtime = stay same-day (tech works late); next_day = overflow rolls to the next working day.
	Mode string `json:"mode"`
	// New start — business-local naive datetime, no offset. Must be in the future.
	StartAt string `json:"start_at"`
	// Target technician — may equal the current tech (pure time move) or differ (manual reassign).
	TechnicianId string `json:"technician_id"`
}

JobRequestMovePreviewReq struct for JobRequestMovePreviewReq

func NewJobRequestMovePreviewReq added in v0.2.0

func NewJobRequestMovePreviewReq(mode string, startAt string, technicianId string) *JobRequestMovePreviewReq

NewJobRequestMovePreviewReq instantiates a new JobRequestMovePreviewReq object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestMovePreviewReqWithDefaults added in v0.2.0

func NewJobRequestMovePreviewReqWithDefaults() *JobRequestMovePreviewReq

NewJobRequestMovePreviewReqWithDefaults instantiates a new JobRequestMovePreviewReq object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestMovePreviewReq) GetMode added in v0.2.0

func (o *JobRequestMovePreviewReq) GetMode() string

GetMode returns the Mode field value

func (*JobRequestMovePreviewReq) GetModeOk added in v0.2.0

func (o *JobRequestMovePreviewReq) GetModeOk() (*string, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.

func (*JobRequestMovePreviewReq) GetStartAt added in v0.2.0

func (o *JobRequestMovePreviewReq) GetStartAt() string

GetStartAt returns the StartAt field value

func (*JobRequestMovePreviewReq) GetStartAtOk added in v0.2.0

func (o *JobRequestMovePreviewReq) GetStartAtOk() (*string, bool)

GetStartAtOk returns a tuple with the StartAt field value and a boolean to check if the value has been set.

func (*JobRequestMovePreviewReq) GetTechnicianId added in v0.2.0

func (o *JobRequestMovePreviewReq) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value

func (*JobRequestMovePreviewReq) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestMovePreviewReq) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value and a boolean to check if the value has been set.

func (JobRequestMovePreviewReq) MarshalJSON added in v0.2.0

func (o JobRequestMovePreviewReq) MarshalJSON() ([]byte, error)

func (*JobRequestMovePreviewReq) SetMode added in v0.2.0

func (o *JobRequestMovePreviewReq) SetMode(v string)

SetMode sets field value

func (*JobRequestMovePreviewReq) SetStartAt added in v0.2.0

func (o *JobRequestMovePreviewReq) SetStartAt(v string)

SetStartAt sets field value

func (*JobRequestMovePreviewReq) SetTechnicianId added in v0.2.0

func (o *JobRequestMovePreviewReq) SetTechnicianId(v string)

SetTechnicianId sets field value

func (JobRequestMovePreviewReq) ToMap added in v0.2.0

func (o JobRequestMovePreviewReq) ToMap() (map[string]interface{}, error)

func (*JobRequestMovePreviewReq) UnmarshalJSON added in v0.2.0

func (o *JobRequestMovePreviewReq) UnmarshalJSON(data []byte) (err error)

type JobRequestMoveWarning added in v0.2.0

type JobRequestMoveWarning struct {
	// Warning kind: TECH_NOT_FEASIBLE | PUSHED_OUTSIDE_WINDOW | OVERTIME | TIME_OFF_OVERLAP | VEHICLE_CONFLICT.
	Code *string `json:"code,omitempty"`
	// First same-day time the target technician CAN be on site (UTC) — only with reason=cannot_arrive_in_time; suggest it as the drop slot.
	EarliestFeasibleAt *time.Time `json:"earliest_feasible_at,omitempty"`
	// The displaced job this warning is about (per-job warnings only).
	JobId *string `json:"job_id,omitempty"`
	// Human-readable explanation.
	Message *string `json:"message,omitempty"`
	// OVERTIME only: the largest overrun in minutes past the working-day end. Omitted otherwise.
	Minutes *int32 `json:"minutes,omitempty"`
	// Machine cause, TECH_NOT_FEASIBLE only: cannot_arrive_in_time (see earliest_feasible_at) | missing_required_skills | not_available_today | not_lead_tier.
	Reason *string `json:"reason,omitempty"`
}

JobRequestMoveWarning struct for JobRequestMoveWarning

func NewJobRequestMoveWarning added in v0.2.0

func NewJobRequestMoveWarning() *JobRequestMoveWarning

NewJobRequestMoveWarning instantiates a new JobRequestMoveWarning object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestMoveWarningWithDefaults added in v0.2.0

func NewJobRequestMoveWarningWithDefaults() *JobRequestMoveWarning

NewJobRequestMoveWarningWithDefaults instantiates a new JobRequestMoveWarning object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestMoveWarning) GetCode added in v0.2.0

func (o *JobRequestMoveWarning) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*JobRequestMoveWarning) GetCodeOk added in v0.2.0

func (o *JobRequestMoveWarning) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveWarning) GetEarliestFeasibleAt added in v0.2.0

func (o *JobRequestMoveWarning) GetEarliestFeasibleAt() time.Time

GetEarliestFeasibleAt returns the EarliestFeasibleAt field value if set, zero value otherwise.

func (*JobRequestMoveWarning) GetEarliestFeasibleAtOk added in v0.2.0

func (o *JobRequestMoveWarning) GetEarliestFeasibleAtOk() (*time.Time, bool)

GetEarliestFeasibleAtOk returns a tuple with the EarliestFeasibleAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveWarning) GetJobId added in v0.2.0

func (o *JobRequestMoveWarning) GetJobId() string

GetJobId returns the JobId field value if set, zero value otherwise.

func (*JobRequestMoveWarning) GetJobIdOk added in v0.2.0

func (o *JobRequestMoveWarning) GetJobIdOk() (*string, bool)

GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveWarning) GetMessage added in v0.2.0

func (o *JobRequestMoveWarning) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*JobRequestMoveWarning) GetMessageOk added in v0.2.0

func (o *JobRequestMoveWarning) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveWarning) GetMinutes added in v0.2.0

func (o *JobRequestMoveWarning) GetMinutes() int32

GetMinutes returns the Minutes field value if set, zero value otherwise.

func (*JobRequestMoveWarning) GetMinutesOk added in v0.2.0

func (o *JobRequestMoveWarning) GetMinutesOk() (*int32, bool)

GetMinutesOk returns a tuple with the Minutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveWarning) GetReason added in v0.2.0

func (o *JobRequestMoveWarning) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*JobRequestMoveWarning) GetReasonOk added in v0.2.0

func (o *JobRequestMoveWarning) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestMoveWarning) HasCode added in v0.2.0

func (o *JobRequestMoveWarning) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*JobRequestMoveWarning) HasEarliestFeasibleAt added in v0.2.0

func (o *JobRequestMoveWarning) HasEarliestFeasibleAt() bool

HasEarliestFeasibleAt returns a boolean if a field has been set.

func (*JobRequestMoveWarning) HasJobId added in v0.2.0

func (o *JobRequestMoveWarning) HasJobId() bool

HasJobId returns a boolean if a field has been set.

func (*JobRequestMoveWarning) HasMessage added in v0.2.0

func (o *JobRequestMoveWarning) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*JobRequestMoveWarning) HasMinutes added in v0.2.0

func (o *JobRequestMoveWarning) HasMinutes() bool

HasMinutes returns a boolean if a field has been set.

func (*JobRequestMoveWarning) HasReason added in v0.2.0

func (o *JobRequestMoveWarning) HasReason() bool

HasReason returns a boolean if a field has been set.

func (JobRequestMoveWarning) MarshalJSON added in v0.2.0

func (o JobRequestMoveWarning) MarshalJSON() ([]byte, error)

func (*JobRequestMoveWarning) SetCode added in v0.2.0

func (o *JobRequestMoveWarning) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*JobRequestMoveWarning) SetEarliestFeasibleAt added in v0.2.0

func (o *JobRequestMoveWarning) SetEarliestFeasibleAt(v time.Time)

SetEarliestFeasibleAt gets a reference to the given time.Time and assigns it to the EarliestFeasibleAt field.

func (*JobRequestMoveWarning) SetJobId added in v0.2.0

func (o *JobRequestMoveWarning) SetJobId(v string)

SetJobId gets a reference to the given string and assigns it to the JobId field.

func (*JobRequestMoveWarning) SetMessage added in v0.2.0

func (o *JobRequestMoveWarning) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*JobRequestMoveWarning) SetMinutes added in v0.2.0

func (o *JobRequestMoveWarning) SetMinutes(v int32)

SetMinutes gets a reference to the given int32 and assigns it to the Minutes field.

func (*JobRequestMoveWarning) SetReason added in v0.2.0

func (o *JobRequestMoveWarning) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (JobRequestMoveWarning) ToMap added in v0.2.0

func (o JobRequestMoveWarning) ToMap() (map[string]interface{}, error)

type JobRequestPeriod

type JobRequestPeriod struct {
	// Business-local time ranges that make up this period's availability.
	BusinessView []JobRequestBusinessTimeRange `json:"business_view,omitempty"`
	// Time-of-day period.
	Period *string `json:"period,omitempty"`
}

JobRequestPeriod struct for JobRequestPeriod

func NewJobRequestPeriod

func NewJobRequestPeriod() *JobRequestPeriod

NewJobRequestPeriod instantiates a new JobRequestPeriod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestPeriodWithDefaults

func NewJobRequestPeriodWithDefaults() *JobRequestPeriod

NewJobRequestPeriodWithDefaults instantiates a new JobRequestPeriod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestPeriod) GetBusinessView

func (o *JobRequestPeriod) GetBusinessView() []JobRequestBusinessTimeRange

GetBusinessView returns the BusinessView field value if set, zero value otherwise.

func (*JobRequestPeriod) GetBusinessViewOk

func (o *JobRequestPeriod) GetBusinessViewOk() ([]JobRequestBusinessTimeRange, bool)

GetBusinessViewOk returns a tuple with the BusinessView field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestPeriod) GetPeriod

func (o *JobRequestPeriod) GetPeriod() string

GetPeriod returns the Period field value if set, zero value otherwise.

func (*JobRequestPeriod) GetPeriodOk

func (o *JobRequestPeriod) GetPeriodOk() (*string, bool)

GetPeriodOk returns a tuple with the Period field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestPeriod) HasBusinessView

func (o *JobRequestPeriod) HasBusinessView() bool

HasBusinessView returns a boolean if a field has been set.

func (*JobRequestPeriod) HasPeriod

func (o *JobRequestPeriod) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

func (JobRequestPeriod) MarshalJSON

func (o JobRequestPeriod) MarshalJSON() ([]byte, error)

func (*JobRequestPeriod) SetBusinessView

func (o *JobRequestPeriod) SetBusinessView(v []JobRequestBusinessTimeRange)

SetBusinessView gets a reference to the given []JobRequestBusinessTimeRange and assigns it to the BusinessView field.

func (*JobRequestPeriod) SetPeriod

func (o *JobRequestPeriod) SetPeriod(v string)

SetPeriod gets a reference to the given string and assigns it to the Period field.

func (JobRequestPeriod) ToMap

func (o JobRequestPeriod) ToMap() (map[string]interface{}, error)

type JobRequestQuoteRequest added in v0.2.0

type JobRequestQuoteRequest struct {
	// Crew — multi-person plan (tech lead + buddies). Omit / empty = single person (lead 100%). When present must have exactly one is_lead and wrench_percent summing to 100. See MULTIPERSON_CREW_DESIGN.md.
	Crew []JobRequestCrewMemberInput `json:"crew,omitempty"`
	// Demobilization (teardown) minutes added after the work. Optional, min 0.
	DemobilizationMinutes *int32 `json:"demobilization_minutes,omitempty"`
	// Hands-on work duration in minutes (man-minutes for a crew job). Required, min 1.
	JobDurationMinutes int32 `json:"job_duration_minutes"`
	// Mobilization (setup/travel-prep) minutes added before the work. Optional, min 0.
	MobilizationMinutes *int32 `json:"mobilization_minutes,omitempty"`
	// Optimistic-lock fence: the status_version from your last read. Omitted/0 = fence on the row's current version (no race protection).
	StatusVersion *int32 `json:"status_version,omitempty"`
}

JobRequestQuoteRequest struct for JobRequestQuoteRequest

func NewJobRequestQuoteRequest added in v0.2.0

func NewJobRequestQuoteRequest(jobDurationMinutes int32) *JobRequestQuoteRequest

NewJobRequestQuoteRequest instantiates a new JobRequestQuoteRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestQuoteRequestWithDefaults added in v0.2.0

func NewJobRequestQuoteRequestWithDefaults() *JobRequestQuoteRequest

NewJobRequestQuoteRequestWithDefaults instantiates a new JobRequestQuoteRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestQuoteRequest) GetCrew added in v0.2.0

GetCrew returns the Crew field value if set, zero value otherwise.

func (*JobRequestQuoteRequest) GetCrewOk added in v0.2.0

GetCrewOk returns a tuple with the Crew field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestQuoteRequest) GetDemobilizationMinutes added in v0.2.0

func (o *JobRequestQuoteRequest) GetDemobilizationMinutes() int32

GetDemobilizationMinutes returns the DemobilizationMinutes field value if set, zero value otherwise.

func (*JobRequestQuoteRequest) GetDemobilizationMinutesOk added in v0.2.0

func (o *JobRequestQuoteRequest) GetDemobilizationMinutesOk() (*int32, bool)

GetDemobilizationMinutesOk returns a tuple with the DemobilizationMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestQuoteRequest) GetJobDurationMinutes added in v0.2.0

func (o *JobRequestQuoteRequest) GetJobDurationMinutes() int32

GetJobDurationMinutes returns the JobDurationMinutes field value

func (*JobRequestQuoteRequest) GetJobDurationMinutesOk added in v0.2.0

func (o *JobRequestQuoteRequest) GetJobDurationMinutesOk() (*int32, bool)

GetJobDurationMinutesOk returns a tuple with the JobDurationMinutes field value and a boolean to check if the value has been set.

func (*JobRequestQuoteRequest) GetMobilizationMinutes added in v0.2.0

func (o *JobRequestQuoteRequest) GetMobilizationMinutes() int32

GetMobilizationMinutes returns the MobilizationMinutes field value if set, zero value otherwise.

func (*JobRequestQuoteRequest) GetMobilizationMinutesOk added in v0.2.0

func (o *JobRequestQuoteRequest) GetMobilizationMinutesOk() (*int32, bool)

GetMobilizationMinutesOk returns a tuple with the MobilizationMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestQuoteRequest) GetStatusVersion added in v0.2.0

func (o *JobRequestQuoteRequest) GetStatusVersion() int32

GetStatusVersion returns the StatusVersion field value if set, zero value otherwise.

func (*JobRequestQuoteRequest) GetStatusVersionOk added in v0.2.0

func (o *JobRequestQuoteRequest) GetStatusVersionOk() (*int32, bool)

GetStatusVersionOk returns a tuple with the StatusVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestQuoteRequest) HasCrew added in v0.2.0

func (o *JobRequestQuoteRequest) HasCrew() bool

HasCrew returns a boolean if a field has been set.

func (*JobRequestQuoteRequest) HasDemobilizationMinutes added in v0.2.0

func (o *JobRequestQuoteRequest) HasDemobilizationMinutes() bool

HasDemobilizationMinutes returns a boolean if a field has been set.

func (*JobRequestQuoteRequest) HasMobilizationMinutes added in v0.2.0

func (o *JobRequestQuoteRequest) HasMobilizationMinutes() bool

HasMobilizationMinutes returns a boolean if a field has been set.

func (*JobRequestQuoteRequest) HasStatusVersion added in v0.2.0

func (o *JobRequestQuoteRequest) HasStatusVersion() bool

HasStatusVersion returns a boolean if a field has been set.

func (JobRequestQuoteRequest) MarshalJSON added in v0.2.0

func (o JobRequestQuoteRequest) MarshalJSON() ([]byte, error)

func (*JobRequestQuoteRequest) SetCrew added in v0.2.0

SetCrew gets a reference to the given []JobRequestCrewMemberInput and assigns it to the Crew field.

func (*JobRequestQuoteRequest) SetDemobilizationMinutes added in v0.2.0

func (o *JobRequestQuoteRequest) SetDemobilizationMinutes(v int32)

SetDemobilizationMinutes gets a reference to the given int32 and assigns it to the DemobilizationMinutes field.

func (*JobRequestQuoteRequest) SetJobDurationMinutes added in v0.2.0

func (o *JobRequestQuoteRequest) SetJobDurationMinutes(v int32)

SetJobDurationMinutes sets field value

func (*JobRequestQuoteRequest) SetMobilizationMinutes added in v0.2.0

func (o *JobRequestQuoteRequest) SetMobilizationMinutes(v int32)

SetMobilizationMinutes gets a reference to the given int32 and assigns it to the MobilizationMinutes field.

func (*JobRequestQuoteRequest) SetStatusVersion added in v0.2.0

func (o *JobRequestQuoteRequest) SetStatusVersion(v int32)

SetStatusVersion gets a reference to the given int32 and assigns it to the StatusVersion field.

func (JobRequestQuoteRequest) ToMap added in v0.2.0

func (o JobRequestQuoteRequest) ToMap() (map[string]interface{}, error)

func (*JobRequestQuoteRequest) UnmarshalJSON added in v0.2.0

func (o *JobRequestQuoteRequest) UnmarshalJSON(data []byte) (err error)

type JobRequestQuoteSummary

type JobRequestQuoteSummary struct {
	// Demobilization (teardown) minutes; null until quoted.
	DemobilizationMinutes *int32 `json:"demobilization_minutes,omitempty"`
	// Hands-on work duration in minutes; null until quoted.
	JobDurationMinutes *int32 `json:"job_duration_minutes,omitempty"`
	// Mobilization (setup/travel-prep) minutes; null until quoted.
	MobilizationMinutes *int32 `json:"mobilization_minutes,omitempty"`
	// When the quote was fired (UTC); null until quoted.
	QuotedAt *time.Time `json:"quoted_at,omitempty"`
}

JobRequestQuoteSummary struct for JobRequestQuoteSummary

func NewJobRequestQuoteSummary

func NewJobRequestQuoteSummary() *JobRequestQuoteSummary

NewJobRequestQuoteSummary instantiates a new JobRequestQuoteSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestQuoteSummaryWithDefaults

func NewJobRequestQuoteSummaryWithDefaults() *JobRequestQuoteSummary

NewJobRequestQuoteSummaryWithDefaults instantiates a new JobRequestQuoteSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestQuoteSummary) GetDemobilizationMinutes

func (o *JobRequestQuoteSummary) GetDemobilizationMinutes() int32

GetDemobilizationMinutes returns the DemobilizationMinutes field value if set, zero value otherwise.

func (*JobRequestQuoteSummary) GetDemobilizationMinutesOk

func (o *JobRequestQuoteSummary) GetDemobilizationMinutesOk() (*int32, bool)

GetDemobilizationMinutesOk returns a tuple with the DemobilizationMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestQuoteSummary) GetJobDurationMinutes

func (o *JobRequestQuoteSummary) GetJobDurationMinutes() int32

GetJobDurationMinutes returns the JobDurationMinutes field value if set, zero value otherwise.

func (*JobRequestQuoteSummary) GetJobDurationMinutesOk

func (o *JobRequestQuoteSummary) GetJobDurationMinutesOk() (*int32, bool)

GetJobDurationMinutesOk returns a tuple with the JobDurationMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestQuoteSummary) GetMobilizationMinutes

func (o *JobRequestQuoteSummary) GetMobilizationMinutes() int32

GetMobilizationMinutes returns the MobilizationMinutes field value if set, zero value otherwise.

func (*JobRequestQuoteSummary) GetMobilizationMinutesOk

func (o *JobRequestQuoteSummary) GetMobilizationMinutesOk() (*int32, bool)

GetMobilizationMinutesOk returns a tuple with the MobilizationMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestQuoteSummary) GetQuotedAt

func (o *JobRequestQuoteSummary) GetQuotedAt() time.Time

GetQuotedAt returns the QuotedAt field value if set, zero value otherwise.

func (*JobRequestQuoteSummary) GetQuotedAtOk

func (o *JobRequestQuoteSummary) GetQuotedAtOk() (*time.Time, bool)

GetQuotedAtOk returns a tuple with the QuotedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestQuoteSummary) HasDemobilizationMinutes

func (o *JobRequestQuoteSummary) HasDemobilizationMinutes() bool

HasDemobilizationMinutes returns a boolean if a field has been set.

func (*JobRequestQuoteSummary) HasJobDurationMinutes

func (o *JobRequestQuoteSummary) HasJobDurationMinutes() bool

HasJobDurationMinutes returns a boolean if a field has been set.

func (*JobRequestQuoteSummary) HasMobilizationMinutes

func (o *JobRequestQuoteSummary) HasMobilizationMinutes() bool

HasMobilizationMinutes returns a boolean if a field has been set.

func (*JobRequestQuoteSummary) HasQuotedAt

func (o *JobRequestQuoteSummary) HasQuotedAt() bool

HasQuotedAt returns a boolean if a field has been set.

func (JobRequestQuoteSummary) MarshalJSON

func (o JobRequestQuoteSummary) MarshalJSON() ([]byte, error)

func (*JobRequestQuoteSummary) SetDemobilizationMinutes

func (o *JobRequestQuoteSummary) SetDemobilizationMinutes(v int32)

SetDemobilizationMinutes gets a reference to the given int32 and assigns it to the DemobilizationMinutes field.

func (*JobRequestQuoteSummary) SetJobDurationMinutes

func (o *JobRequestQuoteSummary) SetJobDurationMinutes(v int32)

SetJobDurationMinutes gets a reference to the given int32 and assigns it to the JobDurationMinutes field.

func (*JobRequestQuoteSummary) SetMobilizationMinutes

func (o *JobRequestQuoteSummary) SetMobilizationMinutes(v int32)

SetMobilizationMinutes gets a reference to the given int32 and assigns it to the MobilizationMinutes field.

func (*JobRequestQuoteSummary) SetQuotedAt

func (o *JobRequestQuoteSummary) SetQuotedAt(v time.Time)

SetQuotedAt gets a reference to the given time.Time and assigns it to the QuotedAt field.

func (JobRequestQuoteSummary) ToMap

func (o JobRequestQuoteSummary) ToMap() (map[string]interface{}, error)

type JobRequestRatingSummary

type JobRequestRatingSummary struct {
	// Optional free-text rating comment; null if none.
	Comment *string `json:"comment,omitempty"`
	// Whether the customer has rated the job.
	IsRated *bool `json:"is_rated,omitempty"`
	// When the job was rated (UTC); null if not rated.
	RatedAt *time.Time `json:"rated_at,omitempty"`
	// Rating score (1–5); null if not rated.
	Score *int32 `json:"score,omitempty"`
}

JobRequestRatingSummary struct for JobRequestRatingSummary

func NewJobRequestRatingSummary

func NewJobRequestRatingSummary() *JobRequestRatingSummary

NewJobRequestRatingSummary instantiates a new JobRequestRatingSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestRatingSummaryWithDefaults

func NewJobRequestRatingSummaryWithDefaults() *JobRequestRatingSummary

NewJobRequestRatingSummaryWithDefaults instantiates a new JobRequestRatingSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestRatingSummary) GetComment

func (o *JobRequestRatingSummary) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*JobRequestRatingSummary) GetCommentOk

func (o *JobRequestRatingSummary) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRatingSummary) GetIsRated

func (o *JobRequestRatingSummary) GetIsRated() bool

GetIsRated returns the IsRated field value if set, zero value otherwise.

func (*JobRequestRatingSummary) GetIsRatedOk

func (o *JobRequestRatingSummary) GetIsRatedOk() (*bool, bool)

GetIsRatedOk returns a tuple with the IsRated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRatingSummary) GetRatedAt

func (o *JobRequestRatingSummary) GetRatedAt() time.Time

GetRatedAt returns the RatedAt field value if set, zero value otherwise.

func (*JobRequestRatingSummary) GetRatedAtOk

func (o *JobRequestRatingSummary) GetRatedAtOk() (*time.Time, bool)

GetRatedAtOk returns a tuple with the RatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRatingSummary) GetScore

func (o *JobRequestRatingSummary) GetScore() int32

GetScore returns the Score field value if set, zero value otherwise.

func (*JobRequestRatingSummary) GetScoreOk

func (o *JobRequestRatingSummary) GetScoreOk() (*int32, bool)

GetScoreOk returns a tuple with the Score field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRatingSummary) HasComment

func (o *JobRequestRatingSummary) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*JobRequestRatingSummary) HasIsRated

func (o *JobRequestRatingSummary) HasIsRated() bool

HasIsRated returns a boolean if a field has been set.

func (*JobRequestRatingSummary) HasRatedAt

func (o *JobRequestRatingSummary) HasRatedAt() bool

HasRatedAt returns a boolean if a field has been set.

func (*JobRequestRatingSummary) HasScore

func (o *JobRequestRatingSummary) HasScore() bool

HasScore returns a boolean if a field has been set.

func (JobRequestRatingSummary) MarshalJSON

func (o JobRequestRatingSummary) MarshalJSON() ([]byte, error)

func (*JobRequestRatingSummary) SetComment

func (o *JobRequestRatingSummary) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*JobRequestRatingSummary) SetIsRated

func (o *JobRequestRatingSummary) SetIsRated(v bool)

SetIsRated gets a reference to the given bool and assigns it to the IsRated field.

func (*JobRequestRatingSummary) SetRatedAt

func (o *JobRequestRatingSummary) SetRatedAt(v time.Time)

SetRatedAt gets a reference to the given time.Time and assigns it to the RatedAt field.

func (*JobRequestRatingSummary) SetScore

func (o *JobRequestRatingSummary) SetScore(v int32)

SetScore gets a reference to the given int32 and assigns it to the Score field.

func (JobRequestRatingSummary) ToMap

func (o JobRequestRatingSummary) ToMap() (map[string]interface{}, error)

type JobRequestRescheduleDay added in v0.2.0

type JobRequestRescheduleDay struct {
	// Calendar day (YYYY-MM-DD), business-local, the moves land on.
	Date *string `json:"date,omitempty"`
	// Displaced jobs landing on this day, time-ordered (before→after windows).
	Moves []JobRequestRescheduleMove `json:"moves,omitempty"`
}

JobRequestRescheduleDay struct for JobRequestRescheduleDay

func NewJobRequestRescheduleDay added in v0.2.0

func NewJobRequestRescheduleDay() *JobRequestRescheduleDay

NewJobRequestRescheduleDay instantiates a new JobRequestRescheduleDay object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestRescheduleDayWithDefaults added in v0.2.0

func NewJobRequestRescheduleDayWithDefaults() *JobRequestRescheduleDay

NewJobRequestRescheduleDayWithDefaults instantiates a new JobRequestRescheduleDay object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestRescheduleDay) GetDate added in v0.2.0

func (o *JobRequestRescheduleDay) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*JobRequestRescheduleDay) GetDateOk added in v0.2.0

func (o *JobRequestRescheduleDay) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleDay) GetMoves added in v0.2.0

GetMoves returns the Moves field value if set, zero value otherwise.

func (*JobRequestRescheduleDay) GetMovesOk added in v0.2.0

GetMovesOk returns a tuple with the Moves field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleDay) HasDate added in v0.2.0

func (o *JobRequestRescheduleDay) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*JobRequestRescheduleDay) HasMoves added in v0.2.0

func (o *JobRequestRescheduleDay) HasMoves() bool

HasMoves returns a boolean if a field has been set.

func (JobRequestRescheduleDay) MarshalJSON added in v0.2.0

func (o JobRequestRescheduleDay) MarshalJSON() ([]byte, error)

func (*JobRequestRescheduleDay) SetDate added in v0.2.0

func (o *JobRequestRescheduleDay) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*JobRequestRescheduleDay) SetMoves added in v0.2.0

SetMoves gets a reference to the given []JobRequestRescheduleMove and assigns it to the Moves field.

func (JobRequestRescheduleDay) ToMap added in v0.2.0

func (o JobRequestRescheduleDay) ToMap() (map[string]interface{}, error)

type JobRequestRescheduleMove added in v0.2.0

type JobRequestRescheduleMove struct {
	// Name of the displaced job's customer.
	CustomerName *string `json:"customer_name,omitempty"`
	// Current window end (UTC).
	FromEnd *time.Time `json:"from_end,omitempty"`
	// Current window start (UTC) — where the job sits today.
	FromStart *time.Time `json:"from_start,omitempty"`
	// UUID of the displaced job.
	JobId *string `json:"job_id,omitempty"`
	// Priority of the displaced job (p0..p3) — what the coordinator is pushing.
	Priority *string `json:"priority,omitempty"`
	// Human-friendly short code of the displaced job.
	ShortCode *string `json:"short_code,omitempty"`
	// Proposed window end (UTC).
	ToEnd *time.Time `json:"to_end,omitempty"`
	// Proposed window start (UTC) — where the job lands after the cascade.
	ToStart *time.Time `json:"to_start,omitempty"`
}

JobRequestRescheduleMove struct for JobRequestRescheduleMove

func NewJobRequestRescheduleMove added in v0.2.0

func NewJobRequestRescheduleMove() *JobRequestRescheduleMove

NewJobRequestRescheduleMove instantiates a new JobRequestRescheduleMove object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestRescheduleMoveWithDefaults added in v0.2.0

func NewJobRequestRescheduleMoveWithDefaults() *JobRequestRescheduleMove

NewJobRequestRescheduleMoveWithDefaults instantiates a new JobRequestRescheduleMove object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestRescheduleMove) GetCustomerName added in v0.2.0

func (o *JobRequestRescheduleMove) GetCustomerName() string

GetCustomerName returns the CustomerName field value if set, zero value otherwise.

func (*JobRequestRescheduleMove) GetCustomerNameOk added in v0.2.0

func (o *JobRequestRescheduleMove) GetCustomerNameOk() (*string, bool)

GetCustomerNameOk returns a tuple with the CustomerName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleMove) GetFromEnd added in v0.2.0

func (o *JobRequestRescheduleMove) GetFromEnd() time.Time

GetFromEnd returns the FromEnd field value if set, zero value otherwise.

func (*JobRequestRescheduleMove) GetFromEndOk added in v0.2.0

func (o *JobRequestRescheduleMove) GetFromEndOk() (*time.Time, bool)

GetFromEndOk returns a tuple with the FromEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleMove) GetFromStart added in v0.2.0

func (o *JobRequestRescheduleMove) GetFromStart() time.Time

GetFromStart returns the FromStart field value if set, zero value otherwise.

func (*JobRequestRescheduleMove) GetFromStartOk added in v0.2.0

func (o *JobRequestRescheduleMove) GetFromStartOk() (*time.Time, bool)

GetFromStartOk returns a tuple with the FromStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleMove) GetJobId added in v0.2.0

func (o *JobRequestRescheduleMove) GetJobId() string

GetJobId returns the JobId field value if set, zero value otherwise.

func (*JobRequestRescheduleMove) GetJobIdOk added in v0.2.0

func (o *JobRequestRescheduleMove) GetJobIdOk() (*string, bool)

GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleMove) GetPriority added in v0.2.0

func (o *JobRequestRescheduleMove) GetPriority() string

GetPriority returns the Priority field value if set, zero value otherwise.

func (*JobRequestRescheduleMove) GetPriorityOk added in v0.2.0

func (o *JobRequestRescheduleMove) GetPriorityOk() (*string, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleMove) GetShortCode added in v0.2.0

func (o *JobRequestRescheduleMove) GetShortCode() string

GetShortCode returns the ShortCode field value if set, zero value otherwise.

func (*JobRequestRescheduleMove) GetShortCodeOk added in v0.2.0

func (o *JobRequestRescheduleMove) GetShortCodeOk() (*string, bool)

GetShortCodeOk returns a tuple with the ShortCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleMove) GetToEnd added in v0.2.0

func (o *JobRequestRescheduleMove) GetToEnd() time.Time

GetToEnd returns the ToEnd field value if set, zero value otherwise.

func (*JobRequestRescheduleMove) GetToEndOk added in v0.2.0

func (o *JobRequestRescheduleMove) GetToEndOk() (*time.Time, bool)

GetToEndOk returns a tuple with the ToEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleMove) GetToStart added in v0.2.0

func (o *JobRequestRescheduleMove) GetToStart() time.Time

GetToStart returns the ToStart field value if set, zero value otherwise.

func (*JobRequestRescheduleMove) GetToStartOk added in v0.2.0

func (o *JobRequestRescheduleMove) GetToStartOk() (*time.Time, bool)

GetToStartOk returns a tuple with the ToStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleMove) HasCustomerName added in v0.2.0

func (o *JobRequestRescheduleMove) HasCustomerName() bool

HasCustomerName returns a boolean if a field has been set.

func (*JobRequestRescheduleMove) HasFromEnd added in v0.2.0

func (o *JobRequestRescheduleMove) HasFromEnd() bool

HasFromEnd returns a boolean if a field has been set.

func (*JobRequestRescheduleMove) HasFromStart added in v0.2.0

func (o *JobRequestRescheduleMove) HasFromStart() bool

HasFromStart returns a boolean if a field has been set.

func (*JobRequestRescheduleMove) HasJobId added in v0.2.0

func (o *JobRequestRescheduleMove) HasJobId() bool

HasJobId returns a boolean if a field has been set.

func (*JobRequestRescheduleMove) HasPriority added in v0.2.0

func (o *JobRequestRescheduleMove) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*JobRequestRescheduleMove) HasShortCode added in v0.2.0

func (o *JobRequestRescheduleMove) HasShortCode() bool

HasShortCode returns a boolean if a field has been set.

func (*JobRequestRescheduleMove) HasToEnd added in v0.2.0

func (o *JobRequestRescheduleMove) HasToEnd() bool

HasToEnd returns a boolean if a field has been set.

func (*JobRequestRescheduleMove) HasToStart added in v0.2.0

func (o *JobRequestRescheduleMove) HasToStart() bool

HasToStart returns a boolean if a field has been set.

func (JobRequestRescheduleMove) MarshalJSON added in v0.2.0

func (o JobRequestRescheduleMove) MarshalJSON() ([]byte, error)

func (*JobRequestRescheduleMove) SetCustomerName added in v0.2.0

func (o *JobRequestRescheduleMove) SetCustomerName(v string)

SetCustomerName gets a reference to the given string and assigns it to the CustomerName field.

func (*JobRequestRescheduleMove) SetFromEnd added in v0.2.0

func (o *JobRequestRescheduleMove) SetFromEnd(v time.Time)

SetFromEnd gets a reference to the given time.Time and assigns it to the FromEnd field.

func (*JobRequestRescheduleMove) SetFromStart added in v0.2.0

func (o *JobRequestRescheduleMove) SetFromStart(v time.Time)

SetFromStart gets a reference to the given time.Time and assigns it to the FromStart field.

func (*JobRequestRescheduleMove) SetJobId added in v0.2.0

func (o *JobRequestRescheduleMove) SetJobId(v string)

SetJobId gets a reference to the given string and assigns it to the JobId field.

func (*JobRequestRescheduleMove) SetPriority added in v0.2.0

func (o *JobRequestRescheduleMove) SetPriority(v string)

SetPriority gets a reference to the given string and assigns it to the Priority field.

func (*JobRequestRescheduleMove) SetShortCode added in v0.2.0

func (o *JobRequestRescheduleMove) SetShortCode(v string)

SetShortCode gets a reference to the given string and assigns it to the ShortCode field.

func (*JobRequestRescheduleMove) SetToEnd added in v0.2.0

func (o *JobRequestRescheduleMove) SetToEnd(v time.Time)

SetToEnd gets a reference to the given time.Time and assigns it to the ToEnd field.

func (*JobRequestRescheduleMove) SetToStart added in v0.2.0

func (o *JobRequestRescheduleMove) SetToStart(v time.Time)

SetToStart gets a reference to the given time.Time and assigns it to the ToStart field.

func (JobRequestRescheduleMove) ToMap added in v0.2.0

func (o JobRequestRescheduleMove) ToMap() (map[string]interface{}, error)

type JobRequestRescheduleReassignment added in v0.2.0

type JobRequestRescheduleReassignment struct {
	// Name of the reassigned job's customer.
	CustomerName *string `json:"customer_name,omitempty"`
	// The job's UNCHANGED window end (UTC).
	EndAt *time.Time `json:"end_at,omitempty"`
	// UUID of the technician losing the job.
	FromTechnicianId *string `json:"from_technician_id,omitempty"`
	// UUID of the reassigned job.
	JobId *string `json:"job_id,omitempty"`
	// Priority of the reassigned job (p0..p3).
	Priority *string `json:"priority,omitempty"`
	// Human-friendly short code of the reassigned job.
	ShortCode *string `json:"short_code,omitempty"`
	// The job's UNCHANGED window start (UTC) — reassign preserves the customer's slot.
	StartAt *time.Time `json:"start_at,omitempty"`
	// Full name of the receiving technician. Omitted when unresolved.
	ToName *string `json:"to_name,omitempty"`
	// UUID of the alternate technician receiving the job.
	ToTechnicianId *string `json:"to_technician_id,omitempty"`
	// The alternate technician's one-way commute estimate in minutes (engine, rounded up). Omitted when the engine has no location for them.
	TravelMinutes *int32 `json:"travel_minutes,omitempty"`
}

JobRequestRescheduleReassignment struct for JobRequestRescheduleReassignment

func NewJobRequestRescheduleReassignment added in v0.2.0

func NewJobRequestRescheduleReassignment() *JobRequestRescheduleReassignment

NewJobRequestRescheduleReassignment instantiates a new JobRequestRescheduleReassignment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestRescheduleReassignmentWithDefaults added in v0.2.0

func NewJobRequestRescheduleReassignmentWithDefaults() *JobRequestRescheduleReassignment

NewJobRequestRescheduleReassignmentWithDefaults instantiates a new JobRequestRescheduleReassignment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestRescheduleReassignment) GetCustomerName added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetCustomerName() string

GetCustomerName returns the CustomerName field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetCustomerNameOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetCustomerNameOk() (*string, bool)

GetCustomerNameOk returns a tuple with the CustomerName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) GetEndAt added in v0.2.0

GetEndAt returns the EndAt field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetEndAtOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetEndAtOk() (*time.Time, bool)

GetEndAtOk returns a tuple with the EndAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) GetFromTechnicianId added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetFromTechnicianId() string

GetFromTechnicianId returns the FromTechnicianId field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetFromTechnicianIdOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetFromTechnicianIdOk() (*string, bool)

GetFromTechnicianIdOk returns a tuple with the FromTechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) GetJobId added in v0.2.0

GetJobId returns the JobId field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetJobIdOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetJobIdOk() (*string, bool)

GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) GetPriority added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetPriority() string

GetPriority returns the Priority field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetPriorityOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetPriorityOk() (*string, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) GetShortCode added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetShortCode() string

GetShortCode returns the ShortCode field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetShortCodeOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetShortCodeOk() (*string, bool)

GetShortCodeOk returns a tuple with the ShortCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) GetStartAt added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetStartAt() time.Time

GetStartAt returns the StartAt field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetStartAtOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetStartAtOk() (*time.Time, bool)

GetStartAtOk returns a tuple with the StartAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) GetToName added in v0.2.0

GetToName returns the ToName field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetToNameOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetToNameOk() (*string, bool)

GetToNameOk returns a tuple with the ToName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) GetToTechnicianId added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetToTechnicianId() string

GetToTechnicianId returns the ToTechnicianId field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetToTechnicianIdOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetToTechnicianIdOk() (*string, bool)

GetToTechnicianIdOk returns a tuple with the ToTechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) GetTravelMinutes added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetTravelMinutes() int32

GetTravelMinutes returns the TravelMinutes field value if set, zero value otherwise.

func (*JobRequestRescheduleReassignment) GetTravelMinutesOk added in v0.2.0

func (o *JobRequestRescheduleReassignment) GetTravelMinutesOk() (*int32, bool)

GetTravelMinutesOk returns a tuple with the TravelMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestRescheduleReassignment) HasCustomerName added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasCustomerName() bool

HasCustomerName returns a boolean if a field has been set.

func (*JobRequestRescheduleReassignment) HasEndAt added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasEndAt() bool

HasEndAt returns a boolean if a field has been set.

func (*JobRequestRescheduleReassignment) HasFromTechnicianId added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasFromTechnicianId() bool

HasFromTechnicianId returns a boolean if a field has been set.

func (*JobRequestRescheduleReassignment) HasJobId added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasJobId() bool

HasJobId returns a boolean if a field has been set.

func (*JobRequestRescheduleReassignment) HasPriority added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*JobRequestRescheduleReassignment) HasShortCode added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasShortCode() bool

HasShortCode returns a boolean if a field has been set.

func (*JobRequestRescheduleReassignment) HasStartAt added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasStartAt() bool

HasStartAt returns a boolean if a field has been set.

func (*JobRequestRescheduleReassignment) HasToName added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasToName() bool

HasToName returns a boolean if a field has been set.

func (*JobRequestRescheduleReassignment) HasToTechnicianId added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasToTechnicianId() bool

HasToTechnicianId returns a boolean if a field has been set.

func (*JobRequestRescheduleReassignment) HasTravelMinutes added in v0.2.0

func (o *JobRequestRescheduleReassignment) HasTravelMinutes() bool

HasTravelMinutes returns a boolean if a field has been set.

func (JobRequestRescheduleReassignment) MarshalJSON added in v0.2.0

func (o JobRequestRescheduleReassignment) MarshalJSON() ([]byte, error)

func (*JobRequestRescheduleReassignment) SetCustomerName added in v0.2.0

func (o *JobRequestRescheduleReassignment) SetCustomerName(v string)

SetCustomerName gets a reference to the given string and assigns it to the CustomerName field.

func (*JobRequestRescheduleReassignment) SetEndAt added in v0.2.0

SetEndAt gets a reference to the given time.Time and assigns it to the EndAt field.

func (*JobRequestRescheduleReassignment) SetFromTechnicianId added in v0.2.0

func (o *JobRequestRescheduleReassignment) SetFromTechnicianId(v string)

SetFromTechnicianId gets a reference to the given string and assigns it to the FromTechnicianId field.

func (*JobRequestRescheduleReassignment) SetJobId added in v0.2.0

SetJobId gets a reference to the given string and assigns it to the JobId field.

func (*JobRequestRescheduleReassignment) SetPriority added in v0.2.0

func (o *JobRequestRescheduleReassignment) SetPriority(v string)

SetPriority gets a reference to the given string and assigns it to the Priority field.

func (*JobRequestRescheduleReassignment) SetShortCode added in v0.2.0

func (o *JobRequestRescheduleReassignment) SetShortCode(v string)

SetShortCode gets a reference to the given string and assigns it to the ShortCode field.

func (*JobRequestRescheduleReassignment) SetStartAt added in v0.2.0

func (o *JobRequestRescheduleReassignment) SetStartAt(v time.Time)

SetStartAt gets a reference to the given time.Time and assigns it to the StartAt field.

func (*JobRequestRescheduleReassignment) SetToName added in v0.2.0

func (o *JobRequestRescheduleReassignment) SetToName(v string)

SetToName gets a reference to the given string and assigns it to the ToName field.

func (*JobRequestRescheduleReassignment) SetToTechnicianId added in v0.2.0

func (o *JobRequestRescheduleReassignment) SetToTechnicianId(v string)

SetToTechnicianId gets a reference to the given string and assigns it to the ToTechnicianId field.

func (*JobRequestRescheduleReassignment) SetTravelMinutes added in v0.2.0

func (o *JobRequestRescheduleReassignment) SetTravelMinutes(v int32)

SetTravelMinutes gets a reference to the given int32 and assigns it to the TravelMinutes field.

func (JobRequestRescheduleReassignment) ToMap added in v0.2.0

func (o JobRequestRescheduleReassignment) ToMap() (map[string]interface{}, error)

type JobRequestSchedule

type JobRequestSchedule struct {
	// ArrivalWindow is the [start, start+window_minutes] arrival window the customer sees after confirming. start/end UTC — render in business/customer timezone. Omitted until confirmed.
	ArrivalWindow *JobRequestArrivalWindow `json:"arrival_window,omitempty"`
	// IANA timezone of the business. Omitted if unknown.
	BusinessTimezone *string `json:"business_timezone,omitempty"`
	// IANA timezone of the customer. Omitted if unknown.
	CustomerTimezone *string `json:"customer_timezone,omitempty"`
	// EndsAt is the job's span END (last session end, UTC). For a multi-day job it falls on a LATER calendar day than scheduled_at — render \"starts D1 → ends Dn\". Nil when no session plan exists.
	EndsAt *time.Time `json:"ends_at,omitempty"`
	// Requested date(s)/period(s) captured at booking. Omitted once confirmed/scheduled. Use regional.JobDate directly (not the jobrequest.JobDate alias) so swag emits a single canonical `JobDate` schema instead of an aliased duplicate.
	JobDates []JobDate `json:"job_dates,omitempty"`
	// Confirmed start time (UTC); null until the customer confirms. Render in business/customer timezone.
	ScheduledAt *time.Time `json:"scheduled_at,omitempty"`
	// Total scheduled duration in minutes (job + mobilization + demobilization); null until quoted.
	ScheduledDurationMinutes *int32 `json:"scheduled_duration_minutes,omitempty"`
	// Sessions is the per-day on-site breakdown (ordered): one for single-day, several for multi-day.
	Sessions []JobRequestSession `json:"sessions,omitempty"`
}

JobRequestSchedule struct for JobRequestSchedule

func NewJobRequestSchedule

func NewJobRequestSchedule() *JobRequestSchedule

NewJobRequestSchedule instantiates a new JobRequestSchedule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestScheduleWithDefaults

func NewJobRequestScheduleWithDefaults() *JobRequestSchedule

NewJobRequestScheduleWithDefaults instantiates a new JobRequestSchedule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestSchedule) GetArrivalWindow

func (o *JobRequestSchedule) GetArrivalWindow() JobRequestArrivalWindow

GetArrivalWindow returns the ArrivalWindow field value if set, zero value otherwise.

func (*JobRequestSchedule) GetArrivalWindowOk

func (o *JobRequestSchedule) GetArrivalWindowOk() (*JobRequestArrivalWindow, bool)

GetArrivalWindowOk returns a tuple with the ArrivalWindow field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSchedule) GetBusinessTimezone

func (o *JobRequestSchedule) GetBusinessTimezone() string

GetBusinessTimezone returns the BusinessTimezone field value if set, zero value otherwise.

func (*JobRequestSchedule) GetBusinessTimezoneOk

func (o *JobRequestSchedule) GetBusinessTimezoneOk() (*string, bool)

GetBusinessTimezoneOk returns a tuple with the BusinessTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSchedule) GetCustomerTimezone

func (o *JobRequestSchedule) GetCustomerTimezone() string

GetCustomerTimezone returns the CustomerTimezone field value if set, zero value otherwise.

func (*JobRequestSchedule) GetCustomerTimezoneOk

func (o *JobRequestSchedule) GetCustomerTimezoneOk() (*string, bool)

GetCustomerTimezoneOk returns a tuple with the CustomerTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSchedule) GetEndsAt

func (o *JobRequestSchedule) GetEndsAt() time.Time

GetEndsAt returns the EndsAt field value if set, zero value otherwise.

func (*JobRequestSchedule) GetEndsAtOk

func (o *JobRequestSchedule) GetEndsAtOk() (*time.Time, bool)

GetEndsAtOk returns a tuple with the EndsAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSchedule) GetJobDates

func (o *JobRequestSchedule) GetJobDates() []JobDate

GetJobDates returns the JobDates field value if set, zero value otherwise.

func (*JobRequestSchedule) GetJobDatesOk

func (o *JobRequestSchedule) GetJobDatesOk() ([]JobDate, bool)

GetJobDatesOk returns a tuple with the JobDates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSchedule) GetScheduledAt

func (o *JobRequestSchedule) GetScheduledAt() time.Time

GetScheduledAt returns the ScheduledAt field value if set, zero value otherwise.

func (*JobRequestSchedule) GetScheduledAtOk

func (o *JobRequestSchedule) GetScheduledAtOk() (*time.Time, bool)

GetScheduledAtOk returns a tuple with the ScheduledAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSchedule) GetScheduledDurationMinutes

func (o *JobRequestSchedule) GetScheduledDurationMinutes() int32

GetScheduledDurationMinutes returns the ScheduledDurationMinutes field value if set, zero value otherwise.

func (*JobRequestSchedule) GetScheduledDurationMinutesOk

func (o *JobRequestSchedule) GetScheduledDurationMinutesOk() (*int32, bool)

GetScheduledDurationMinutesOk returns a tuple with the ScheduledDurationMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSchedule) GetSessions

func (o *JobRequestSchedule) GetSessions() []JobRequestSession

GetSessions returns the Sessions field value if set, zero value otherwise.

func (*JobRequestSchedule) GetSessionsOk

func (o *JobRequestSchedule) GetSessionsOk() ([]JobRequestSession, bool)

GetSessionsOk returns a tuple with the Sessions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSchedule) HasArrivalWindow

func (o *JobRequestSchedule) HasArrivalWindow() bool

HasArrivalWindow returns a boolean if a field has been set.

func (*JobRequestSchedule) HasBusinessTimezone

func (o *JobRequestSchedule) HasBusinessTimezone() bool

HasBusinessTimezone returns a boolean if a field has been set.

func (*JobRequestSchedule) HasCustomerTimezone

func (o *JobRequestSchedule) HasCustomerTimezone() bool

HasCustomerTimezone returns a boolean if a field has been set.

func (*JobRequestSchedule) HasEndsAt

func (o *JobRequestSchedule) HasEndsAt() bool

HasEndsAt returns a boolean if a field has been set.

func (*JobRequestSchedule) HasJobDates

func (o *JobRequestSchedule) HasJobDates() bool

HasJobDates returns a boolean if a field has been set.

func (*JobRequestSchedule) HasScheduledAt

func (o *JobRequestSchedule) HasScheduledAt() bool

HasScheduledAt returns a boolean if a field has been set.

func (*JobRequestSchedule) HasScheduledDurationMinutes

func (o *JobRequestSchedule) HasScheduledDurationMinutes() bool

HasScheduledDurationMinutes returns a boolean if a field has been set.

func (*JobRequestSchedule) HasSessions

func (o *JobRequestSchedule) HasSessions() bool

HasSessions returns a boolean if a field has been set.

func (JobRequestSchedule) MarshalJSON

func (o JobRequestSchedule) MarshalJSON() ([]byte, error)

func (*JobRequestSchedule) SetArrivalWindow

func (o *JobRequestSchedule) SetArrivalWindow(v JobRequestArrivalWindow)

SetArrivalWindow gets a reference to the given JobRequestArrivalWindow and assigns it to the ArrivalWindow field.

func (*JobRequestSchedule) SetBusinessTimezone

func (o *JobRequestSchedule) SetBusinessTimezone(v string)

SetBusinessTimezone gets a reference to the given string and assigns it to the BusinessTimezone field.

func (*JobRequestSchedule) SetCustomerTimezone

func (o *JobRequestSchedule) SetCustomerTimezone(v string)

SetCustomerTimezone gets a reference to the given string and assigns it to the CustomerTimezone field.

func (*JobRequestSchedule) SetEndsAt

func (o *JobRequestSchedule) SetEndsAt(v time.Time)

SetEndsAt gets a reference to the given time.Time and assigns it to the EndsAt field.

func (*JobRequestSchedule) SetJobDates

func (o *JobRequestSchedule) SetJobDates(v []JobDate)

SetJobDates gets a reference to the given []JobDate and assigns it to the JobDates field.

func (*JobRequestSchedule) SetScheduledAt

func (o *JobRequestSchedule) SetScheduledAt(v time.Time)

SetScheduledAt gets a reference to the given time.Time and assigns it to the ScheduledAt field.

func (*JobRequestSchedule) SetScheduledDurationMinutes

func (o *JobRequestSchedule) SetScheduledDurationMinutes(v int32)

SetScheduledDurationMinutes gets a reference to the given int32 and assigns it to the ScheduledDurationMinutes field.

func (*JobRequestSchedule) SetSessions

func (o *JobRequestSchedule) SetSessions(v []JobRequestSession)

SetSessions gets a reference to the given []JobRequestSession and assigns it to the Sessions field.

func (JobRequestSchedule) ToMap

func (o JobRequestSchedule) ToMap() (map[string]interface{}, error)

type JobRequestSession

type JobRequestSession struct {
	// Calendar day (YYYY-MM-DD) this session falls on, business-local.
	Date *string `json:"date,omitempty"`
	// Leave-home time bracketing the day: StartAt minus planned travel (UTC). Omitted (with return_at) when travel is unknown.
	DepartAt *time.Time `json:"depart_at,omitempty"`
	// Leave site — end of demobilization (UTC).
	EndAt *time.Time `json:"end_at,omitempty"`
	// 1-based day index within the job's span (1 for single-day jobs).
	Ordinal *int32 `json:"ordinal,omitempty"`
	// Arrive-home time bracketing the day: EndAt plus planned travel (UTC). Omitted (with depart_at) when travel is unknown.
	ReturnAt *time.Time `json:"return_at,omitempty"`
	// On-site arrival — start of mobilization (UTC).
	StartAt *time.Time `json:"start_at,omitempty"`
	// TravelMinutes is the PLANNED one-way commute (home → site) for this day, snapshotted at assignment. Omitted when unknown (admin-fallback job with no geocoded location, or legacy row).
	TravelMinutes *int32 `json:"travel_minutes,omitempty"`
}

JobRequestSession struct for JobRequestSession

func NewJobRequestSession

func NewJobRequestSession() *JobRequestSession

NewJobRequestSession instantiates a new JobRequestSession object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestSessionWithDefaults

func NewJobRequestSessionWithDefaults() *JobRequestSession

NewJobRequestSessionWithDefaults instantiates a new JobRequestSession object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestSession) GetDate

func (o *JobRequestSession) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*JobRequestSession) GetDateOk

func (o *JobRequestSession) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSession) GetDepartAt

func (o *JobRequestSession) GetDepartAt() time.Time

GetDepartAt returns the DepartAt field value if set, zero value otherwise.

func (*JobRequestSession) GetDepartAtOk

func (o *JobRequestSession) GetDepartAtOk() (*time.Time, bool)

GetDepartAtOk returns a tuple with the DepartAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSession) GetEndAt

func (o *JobRequestSession) GetEndAt() time.Time

GetEndAt returns the EndAt field value if set, zero value otherwise.

func (*JobRequestSession) GetEndAtOk

func (o *JobRequestSession) GetEndAtOk() (*time.Time, bool)

GetEndAtOk returns a tuple with the EndAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSession) GetOrdinal

func (o *JobRequestSession) GetOrdinal() int32

GetOrdinal returns the Ordinal field value if set, zero value otherwise.

func (*JobRequestSession) GetOrdinalOk

func (o *JobRequestSession) GetOrdinalOk() (*int32, bool)

GetOrdinalOk returns a tuple with the Ordinal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSession) GetReturnAt

func (o *JobRequestSession) GetReturnAt() time.Time

GetReturnAt returns the ReturnAt field value if set, zero value otherwise.

func (*JobRequestSession) GetReturnAtOk

func (o *JobRequestSession) GetReturnAtOk() (*time.Time, bool)

GetReturnAtOk returns a tuple with the ReturnAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSession) GetStartAt

func (o *JobRequestSession) GetStartAt() time.Time

GetStartAt returns the StartAt field value if set, zero value otherwise.

func (*JobRequestSession) GetStartAtOk

func (o *JobRequestSession) GetStartAtOk() (*time.Time, bool)

GetStartAtOk returns a tuple with the StartAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSession) GetTravelMinutes

func (o *JobRequestSession) GetTravelMinutes() int32

GetTravelMinutes returns the TravelMinutes field value if set, zero value otherwise.

func (*JobRequestSession) GetTravelMinutesOk

func (o *JobRequestSession) GetTravelMinutesOk() (*int32, bool)

GetTravelMinutesOk returns a tuple with the TravelMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSession) HasDate

func (o *JobRequestSession) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*JobRequestSession) HasDepartAt

func (o *JobRequestSession) HasDepartAt() bool

HasDepartAt returns a boolean if a field has been set.

func (*JobRequestSession) HasEndAt

func (o *JobRequestSession) HasEndAt() bool

HasEndAt returns a boolean if a field has been set.

func (*JobRequestSession) HasOrdinal

func (o *JobRequestSession) HasOrdinal() bool

HasOrdinal returns a boolean if a field has been set.

func (*JobRequestSession) HasReturnAt

func (o *JobRequestSession) HasReturnAt() bool

HasReturnAt returns a boolean if a field has been set.

func (*JobRequestSession) HasStartAt

func (o *JobRequestSession) HasStartAt() bool

HasStartAt returns a boolean if a field has been set.

func (*JobRequestSession) HasTravelMinutes

func (o *JobRequestSession) HasTravelMinutes() bool

HasTravelMinutes returns a boolean if a field has been set.

func (JobRequestSession) MarshalJSON

func (o JobRequestSession) MarshalJSON() ([]byte, error)

func (*JobRequestSession) SetDate

func (o *JobRequestSession) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*JobRequestSession) SetDepartAt

func (o *JobRequestSession) SetDepartAt(v time.Time)

SetDepartAt gets a reference to the given time.Time and assigns it to the DepartAt field.

func (*JobRequestSession) SetEndAt

func (o *JobRequestSession) SetEndAt(v time.Time)

SetEndAt gets a reference to the given time.Time and assigns it to the EndAt field.

func (*JobRequestSession) SetOrdinal

func (o *JobRequestSession) SetOrdinal(v int32)

SetOrdinal gets a reference to the given int32 and assigns it to the Ordinal field.

func (*JobRequestSession) SetReturnAt

func (o *JobRequestSession) SetReturnAt(v time.Time)

SetReturnAt gets a reference to the given time.Time and assigns it to the ReturnAt field.

func (*JobRequestSession) SetStartAt

func (o *JobRequestSession) SetStartAt(v time.Time)

SetStartAt gets a reference to the given time.Time and assigns it to the StartAt field.

func (*JobRequestSession) SetTravelMinutes

func (o *JobRequestSession) SetTravelMinutes(v int32)

SetTravelMinutes gets a reference to the given int32 and assigns it to the TravelMinutes field.

func (JobRequestSession) ToMap

func (o JobRequestSession) ToMap() (map[string]interface{}, error)

type JobRequestSkillSummary

type JobRequestSkillSummary struct {
	// UUID of the skill's category.
	CategoryId *string `json:"category_id,omitempty"`
	// Category display name.
	CategoryName *string `json:"category_name,omitempty"`
	// Skill UUID.
	Id *string `json:"id,omitempty"`
	// Whether the skill is currently active.
	IsActive *bool `json:"is_active,omitempty"`
	// Skill display name (resolved to the request locale).
	Name *string `json:"name,omitempty"`
}

JobRequestSkillSummary struct for JobRequestSkillSummary

func NewJobRequestSkillSummary

func NewJobRequestSkillSummary() *JobRequestSkillSummary

NewJobRequestSkillSummary instantiates a new JobRequestSkillSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestSkillSummaryWithDefaults

func NewJobRequestSkillSummaryWithDefaults() *JobRequestSkillSummary

NewJobRequestSkillSummaryWithDefaults instantiates a new JobRequestSkillSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestSkillSummary) GetCategoryId

func (o *JobRequestSkillSummary) GetCategoryId() string

GetCategoryId returns the CategoryId field value if set, zero value otherwise.

func (*JobRequestSkillSummary) GetCategoryIdOk

func (o *JobRequestSkillSummary) GetCategoryIdOk() (*string, bool)

GetCategoryIdOk returns a tuple with the CategoryId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSkillSummary) GetCategoryName

func (o *JobRequestSkillSummary) GetCategoryName() string

GetCategoryName returns the CategoryName field value if set, zero value otherwise.

func (*JobRequestSkillSummary) GetCategoryNameOk

func (o *JobRequestSkillSummary) GetCategoryNameOk() (*string, bool)

GetCategoryNameOk returns a tuple with the CategoryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSkillSummary) GetId

func (o *JobRequestSkillSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JobRequestSkillSummary) GetIdOk

func (o *JobRequestSkillSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSkillSummary) GetIsActive

func (o *JobRequestSkillSummary) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*JobRequestSkillSummary) GetIsActiveOk

func (o *JobRequestSkillSummary) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSkillSummary) GetName

func (o *JobRequestSkillSummary) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*JobRequestSkillSummary) GetNameOk

func (o *JobRequestSkillSummary) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestSkillSummary) HasCategoryId

func (o *JobRequestSkillSummary) HasCategoryId() bool

HasCategoryId returns a boolean if a field has been set.

func (*JobRequestSkillSummary) HasCategoryName

func (o *JobRequestSkillSummary) HasCategoryName() bool

HasCategoryName returns a boolean if a field has been set.

func (*JobRequestSkillSummary) HasId

func (o *JobRequestSkillSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*JobRequestSkillSummary) HasIsActive

func (o *JobRequestSkillSummary) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*JobRequestSkillSummary) HasName

func (o *JobRequestSkillSummary) HasName() bool

HasName returns a boolean if a field has been set.

func (JobRequestSkillSummary) MarshalJSON

func (o JobRequestSkillSummary) MarshalJSON() ([]byte, error)

func (*JobRequestSkillSummary) SetCategoryId

func (o *JobRequestSkillSummary) SetCategoryId(v string)

SetCategoryId gets a reference to the given string and assigns it to the CategoryId field.

func (*JobRequestSkillSummary) SetCategoryName

func (o *JobRequestSkillSummary) SetCategoryName(v string)

SetCategoryName gets a reference to the given string and assigns it to the CategoryName field.

func (*JobRequestSkillSummary) SetId

func (o *JobRequestSkillSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JobRequestSkillSummary) SetIsActive

func (o *JobRequestSkillSummary) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*JobRequestSkillSummary) SetName

func (o *JobRequestSkillSummary) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (JobRequestSkillSummary) ToMap

func (o JobRequestSkillSummary) ToMap() (map[string]interface{}, error)

type JobRequestStatusSummary

type JobRequestStatusSummary struct {
	// Status display name, resolved to the request locale.
	DisplayName *string `json:"display_name,omitempty"`
	// Workflow status key (the business's workflow defines the set; first is always \"booking\", last always \"completed\").
	Key *string `json:"key,omitempty"`
}

JobRequestStatusSummary struct for JobRequestStatusSummary

func NewJobRequestStatusSummary

func NewJobRequestStatusSummary() *JobRequestStatusSummary

NewJobRequestStatusSummary instantiates a new JobRequestStatusSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestStatusSummaryWithDefaults

func NewJobRequestStatusSummaryWithDefaults() *JobRequestStatusSummary

NewJobRequestStatusSummaryWithDefaults instantiates a new JobRequestStatusSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestStatusSummary) GetDisplayName

func (o *JobRequestStatusSummary) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*JobRequestStatusSummary) GetDisplayNameOk

func (o *JobRequestStatusSummary) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestStatusSummary) GetKey

func (o *JobRequestStatusSummary) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*JobRequestStatusSummary) GetKeyOk

func (o *JobRequestStatusSummary) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestStatusSummary) HasDisplayName

func (o *JobRequestStatusSummary) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*JobRequestStatusSummary) HasKey

func (o *JobRequestStatusSummary) HasKey() bool

HasKey returns a boolean if a field has been set.

func (JobRequestStatusSummary) MarshalJSON

func (o JobRequestStatusSummary) MarshalJSON() ([]byte, error)

func (*JobRequestStatusSummary) SetDisplayName

func (o *JobRequestStatusSummary) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*JobRequestStatusSummary) SetKey

func (o *JobRequestStatusSummary) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (JobRequestStatusSummary) ToMap

func (o JobRequestStatusSummary) ToMap() (map[string]interface{}, error)

type JobRequestTechCandidate added in v0.2.0

type JobRequestTechCandidate struct {
	// Minutes of job work already booked on this technician's schedule over the evaluated window (feeds the wrench-time score; lower = more open capacity).
	BookedMinutes *int32 `json:"booked_minutes,omitempty"`
	// Estimated one-way distance from the technician's start location to the job site, in km (routing-provider estimate, straight-line fallback). 0 when the job has no geocoded location.
	DistanceKm *float32 `json:"distance_km,omitempty"`
	// Technician's full display name.
	FullName *string `json:"full_name,omitempty"`
	// How many of the job's desired skills this technician holds.
	MatchedSkills *int32 `json:"matched_skills,omitempty"`
	// Per-day on-site session plan this technician would work for the job (ordered; one block for a single-day visit, several for multi-day).
	Sessions []JobRequestSession `json:"sessions,omitempty"`
	// UUID of the candidate technician.
	TechnicianId *string `json:"technician_id,omitempty"`
	// Overall ranking score (0-100): weighted blend of the distance, travel-time, wrench-time and skill sub-scores; candidates are listed best-first.
	TotalScore *float32 `json:"total_score,omitempty"`
	// Estimated one-way travel time from the technician's start location to the job site, in minutes. 0 when the job has no geocoded location.
	TravelMinutes *float32 `json:"travel_minutes,omitempty"`
}

JobRequestTechCandidate struct for JobRequestTechCandidate

func NewJobRequestTechCandidate added in v0.2.0

func NewJobRequestTechCandidate() *JobRequestTechCandidate

NewJobRequestTechCandidate instantiates a new JobRequestTechCandidate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTechCandidateWithDefaults added in v0.2.0

func NewJobRequestTechCandidateWithDefaults() *JobRequestTechCandidate

NewJobRequestTechCandidateWithDefaults instantiates a new JobRequestTechCandidate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTechCandidate) GetBookedMinutes added in v0.2.0

func (o *JobRequestTechCandidate) GetBookedMinutes() int32

GetBookedMinutes returns the BookedMinutes field value if set, zero value otherwise.

func (*JobRequestTechCandidate) GetBookedMinutesOk added in v0.2.0

func (o *JobRequestTechCandidate) GetBookedMinutesOk() (*int32, bool)

GetBookedMinutesOk returns a tuple with the BookedMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechCandidate) GetDistanceKm added in v0.2.0

func (o *JobRequestTechCandidate) GetDistanceKm() float32

GetDistanceKm returns the DistanceKm field value if set, zero value otherwise.

func (*JobRequestTechCandidate) GetDistanceKmOk added in v0.2.0

func (o *JobRequestTechCandidate) GetDistanceKmOk() (*float32, bool)

GetDistanceKmOk returns a tuple with the DistanceKm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechCandidate) GetFullName added in v0.2.0

func (o *JobRequestTechCandidate) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*JobRequestTechCandidate) GetFullNameOk added in v0.2.0

func (o *JobRequestTechCandidate) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechCandidate) GetMatchedSkills added in v0.2.0

func (o *JobRequestTechCandidate) GetMatchedSkills() int32

GetMatchedSkills returns the MatchedSkills field value if set, zero value otherwise.

func (*JobRequestTechCandidate) GetMatchedSkillsOk added in v0.2.0

func (o *JobRequestTechCandidate) GetMatchedSkillsOk() (*int32, bool)

GetMatchedSkillsOk returns a tuple with the MatchedSkills field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechCandidate) GetSessions added in v0.2.0

func (o *JobRequestTechCandidate) GetSessions() []JobRequestSession

GetSessions returns the Sessions field value if set, zero value otherwise.

func (*JobRequestTechCandidate) GetSessionsOk added in v0.2.0

func (o *JobRequestTechCandidate) GetSessionsOk() ([]JobRequestSession, bool)

GetSessionsOk returns a tuple with the Sessions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechCandidate) GetTechnicianId added in v0.2.0

func (o *JobRequestTechCandidate) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*JobRequestTechCandidate) GetTechnicianIdOk added in v0.2.0

func (o *JobRequestTechCandidate) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechCandidate) GetTotalScore added in v0.2.0

func (o *JobRequestTechCandidate) GetTotalScore() float32

GetTotalScore returns the TotalScore field value if set, zero value otherwise.

func (*JobRequestTechCandidate) GetTotalScoreOk added in v0.2.0

func (o *JobRequestTechCandidate) GetTotalScoreOk() (*float32, bool)

GetTotalScoreOk returns a tuple with the TotalScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechCandidate) GetTravelMinutes added in v0.2.0

func (o *JobRequestTechCandidate) GetTravelMinutes() float32

GetTravelMinutes returns the TravelMinutes field value if set, zero value otherwise.

func (*JobRequestTechCandidate) GetTravelMinutesOk added in v0.2.0

func (o *JobRequestTechCandidate) GetTravelMinutesOk() (*float32, bool)

GetTravelMinutesOk returns a tuple with the TravelMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechCandidate) HasBookedMinutes added in v0.2.0

func (o *JobRequestTechCandidate) HasBookedMinutes() bool

HasBookedMinutes returns a boolean if a field has been set.

func (*JobRequestTechCandidate) HasDistanceKm added in v0.2.0

func (o *JobRequestTechCandidate) HasDistanceKm() bool

HasDistanceKm returns a boolean if a field has been set.

func (*JobRequestTechCandidate) HasFullName added in v0.2.0

func (o *JobRequestTechCandidate) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*JobRequestTechCandidate) HasMatchedSkills added in v0.2.0

func (o *JobRequestTechCandidate) HasMatchedSkills() bool

HasMatchedSkills returns a boolean if a field has been set.

func (*JobRequestTechCandidate) HasSessions added in v0.2.0

func (o *JobRequestTechCandidate) HasSessions() bool

HasSessions returns a boolean if a field has been set.

func (*JobRequestTechCandidate) HasTechnicianId added in v0.2.0

func (o *JobRequestTechCandidate) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*JobRequestTechCandidate) HasTotalScore added in v0.2.0

func (o *JobRequestTechCandidate) HasTotalScore() bool

HasTotalScore returns a boolean if a field has been set.

func (*JobRequestTechCandidate) HasTravelMinutes added in v0.2.0

func (o *JobRequestTechCandidate) HasTravelMinutes() bool

HasTravelMinutes returns a boolean if a field has been set.

func (JobRequestTechCandidate) MarshalJSON added in v0.2.0

func (o JobRequestTechCandidate) MarshalJSON() ([]byte, error)

func (*JobRequestTechCandidate) SetBookedMinutes added in v0.2.0

func (o *JobRequestTechCandidate) SetBookedMinutes(v int32)

SetBookedMinutes gets a reference to the given int32 and assigns it to the BookedMinutes field.

func (*JobRequestTechCandidate) SetDistanceKm added in v0.2.0

func (o *JobRequestTechCandidate) SetDistanceKm(v float32)

SetDistanceKm gets a reference to the given float32 and assigns it to the DistanceKm field.

func (*JobRequestTechCandidate) SetFullName added in v0.2.0

func (o *JobRequestTechCandidate) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*JobRequestTechCandidate) SetMatchedSkills added in v0.2.0

func (o *JobRequestTechCandidate) SetMatchedSkills(v int32)

SetMatchedSkills gets a reference to the given int32 and assigns it to the MatchedSkills field.

func (*JobRequestTechCandidate) SetSessions added in v0.2.0

func (o *JobRequestTechCandidate) SetSessions(v []JobRequestSession)

SetSessions gets a reference to the given []JobRequestSession and assigns it to the Sessions field.

func (*JobRequestTechCandidate) SetTechnicianId added in v0.2.0

func (o *JobRequestTechCandidate) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*JobRequestTechCandidate) SetTotalScore added in v0.2.0

func (o *JobRequestTechCandidate) SetTotalScore(v float32)

SetTotalScore gets a reference to the given float32 and assigns it to the TotalScore field.

func (*JobRequestTechCandidate) SetTravelMinutes added in v0.2.0

func (o *JobRequestTechCandidate) SetTravelMinutes(v float32)

SetTravelMinutes gets a reference to the given float32 and assigns it to the TravelMinutes field.

func (JobRequestTechCandidate) ToMap added in v0.2.0

func (o JobRequestTechCandidate) ToMap() (map[string]interface{}, error)

type JobRequestTechnicianInfo

type JobRequestTechnicianInfo struct {
	// Technician avatar URL (CDN); null if no avatar set.
	AvatarUrl *string `json:"avatar_url,omitempty"`
	// Technician email; null if not available.
	Email *string `json:"email,omitempty"`
	// Technician's full name.
	FullName *string `json:"full_name,omitempty"`
	// Technician UUID.
	Id *string `json:"id,omitempty"`
	// Technician's job title. Omitted if unset.
	JobTitle *string `json:"job_title,omitempty"`
	// Technician phone; null if not available.
	Phone *string `json:"phone,omitempty"`
}

JobRequestTechnicianInfo struct for JobRequestTechnicianInfo

func NewJobRequestTechnicianInfo

func NewJobRequestTechnicianInfo() *JobRequestTechnicianInfo

NewJobRequestTechnicianInfo instantiates a new JobRequestTechnicianInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTechnicianInfoWithDefaults

func NewJobRequestTechnicianInfoWithDefaults() *JobRequestTechnicianInfo

NewJobRequestTechnicianInfoWithDefaults instantiates a new JobRequestTechnicianInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTechnicianInfo) GetAvatarUrl

func (o *JobRequestTechnicianInfo) GetAvatarUrl() string

GetAvatarUrl returns the AvatarUrl field value if set, zero value otherwise.

func (*JobRequestTechnicianInfo) GetAvatarUrlOk

func (o *JobRequestTechnicianInfo) GetAvatarUrlOk() (*string, bool)

GetAvatarUrlOk returns a tuple with the AvatarUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechnicianInfo) GetEmail

func (o *JobRequestTechnicianInfo) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*JobRequestTechnicianInfo) GetEmailOk

func (o *JobRequestTechnicianInfo) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechnicianInfo) GetFullName

func (o *JobRequestTechnicianInfo) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*JobRequestTechnicianInfo) GetFullNameOk

func (o *JobRequestTechnicianInfo) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechnicianInfo) GetId

func (o *JobRequestTechnicianInfo) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JobRequestTechnicianInfo) GetIdOk

func (o *JobRequestTechnicianInfo) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechnicianInfo) GetJobTitle

func (o *JobRequestTechnicianInfo) GetJobTitle() string

GetJobTitle returns the JobTitle field value if set, zero value otherwise.

func (*JobRequestTechnicianInfo) GetJobTitleOk

func (o *JobRequestTechnicianInfo) GetJobTitleOk() (*string, bool)

GetJobTitleOk returns a tuple with the JobTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechnicianInfo) GetPhone

func (o *JobRequestTechnicianInfo) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*JobRequestTechnicianInfo) GetPhoneOk

func (o *JobRequestTechnicianInfo) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTechnicianInfo) HasAvatarUrl

func (o *JobRequestTechnicianInfo) HasAvatarUrl() bool

HasAvatarUrl returns a boolean if a field has been set.

func (*JobRequestTechnicianInfo) HasEmail

func (o *JobRequestTechnicianInfo) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*JobRequestTechnicianInfo) HasFullName

func (o *JobRequestTechnicianInfo) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*JobRequestTechnicianInfo) HasId

func (o *JobRequestTechnicianInfo) HasId() bool

HasId returns a boolean if a field has been set.

func (*JobRequestTechnicianInfo) HasJobTitle

func (o *JobRequestTechnicianInfo) HasJobTitle() bool

HasJobTitle returns a boolean if a field has been set.

func (*JobRequestTechnicianInfo) HasPhone

func (o *JobRequestTechnicianInfo) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (JobRequestTechnicianInfo) MarshalJSON

func (o JobRequestTechnicianInfo) MarshalJSON() ([]byte, error)

func (*JobRequestTechnicianInfo) SetAvatarUrl

func (o *JobRequestTechnicianInfo) SetAvatarUrl(v string)

SetAvatarUrl gets a reference to the given string and assigns it to the AvatarUrl field.

func (*JobRequestTechnicianInfo) SetEmail

func (o *JobRequestTechnicianInfo) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*JobRequestTechnicianInfo) SetFullName

func (o *JobRequestTechnicianInfo) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*JobRequestTechnicianInfo) SetId

func (o *JobRequestTechnicianInfo) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JobRequestTechnicianInfo) SetJobTitle

func (o *JobRequestTechnicianInfo) SetJobTitle(v string)

SetJobTitle gets a reference to the given string and assigns it to the JobTitle field.

func (*JobRequestTechnicianInfo) SetPhone

func (o *JobRequestTechnicianInfo) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (JobRequestTechnicianInfo) ToMap

func (o JobRequestTechnicianInfo) ToMap() (map[string]interface{}, error)

type JobRequestTimeSegments added in v0.2.0

type JobRequestTimeSegments struct {
	// UUID of the business the job belongs to.
	BusinessId *string `json:"business_id,omitempty"`
	// Business display name.
	BusinessName *string `json:"business_name,omitempty"`
	// IANA timezone of the business (business_time values render in this zone).
	BusinessTimezone *string `json:"business_timezone,omitempty"`
	// IANA timezone of the customer (customer-facing slot times render in this zone).
	CustomerTimezone *string `json:"customer_timezone,omitempty"`
	// Offerable days in date order, each with its slot grid. Only slots with at least one feasible technician are offered.
	Days []JobRequestTimeSegmentsDay `json:"days,omitempty"`
	// Reserved UI hint; currently always false.
	IsSuggested *bool `json:"is_suggested,omitempty"`
	// Job identifier — the human-readable short code when present, else the job UUID.
	JobRequestId *string `json:"job_request_id,omitempty"`
	// Slot granularity in minutes (the arrival-window width). Defaults to the business's configured arrival window; clamped to 5-240.
	TimeSlotStepMinutes *int32 `json:"time_slot_step_minutes,omitempty"`
}

JobRequestTimeSegments struct for JobRequestTimeSegments

func NewJobRequestTimeSegments added in v0.2.0

func NewJobRequestTimeSegments() *JobRequestTimeSegments

NewJobRequestTimeSegments instantiates a new JobRequestTimeSegments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTimeSegmentsWithDefaults added in v0.2.0

func NewJobRequestTimeSegmentsWithDefaults() *JobRequestTimeSegments

NewJobRequestTimeSegmentsWithDefaults instantiates a new JobRequestTimeSegments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTimeSegments) GetBusinessId added in v0.2.0

func (o *JobRequestTimeSegments) GetBusinessId() string

GetBusinessId returns the BusinessId field value if set, zero value otherwise.

func (*JobRequestTimeSegments) GetBusinessIdOk added in v0.2.0

func (o *JobRequestTimeSegments) GetBusinessIdOk() (*string, bool)

GetBusinessIdOk returns a tuple with the BusinessId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegments) GetBusinessName added in v0.2.0

func (o *JobRequestTimeSegments) GetBusinessName() string

GetBusinessName returns the BusinessName field value if set, zero value otherwise.

func (*JobRequestTimeSegments) GetBusinessNameOk added in v0.2.0

func (o *JobRequestTimeSegments) GetBusinessNameOk() (*string, bool)

GetBusinessNameOk returns a tuple with the BusinessName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegments) GetBusinessTimezone added in v0.2.0

func (o *JobRequestTimeSegments) GetBusinessTimezone() string

GetBusinessTimezone returns the BusinessTimezone field value if set, zero value otherwise.

func (*JobRequestTimeSegments) GetBusinessTimezoneOk added in v0.2.0

func (o *JobRequestTimeSegments) GetBusinessTimezoneOk() (*string, bool)

GetBusinessTimezoneOk returns a tuple with the BusinessTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegments) GetCustomerTimezone added in v0.2.0

func (o *JobRequestTimeSegments) GetCustomerTimezone() string

GetCustomerTimezone returns the CustomerTimezone field value if set, zero value otherwise.

func (*JobRequestTimeSegments) GetCustomerTimezoneOk added in v0.2.0

func (o *JobRequestTimeSegments) GetCustomerTimezoneOk() (*string, bool)

GetCustomerTimezoneOk returns a tuple with the CustomerTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegments) GetDays added in v0.2.0

GetDays returns the Days field value if set, zero value otherwise.

func (*JobRequestTimeSegments) GetDaysOk added in v0.2.0

GetDaysOk returns a tuple with the Days field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegments) GetIsSuggested added in v0.2.0

func (o *JobRequestTimeSegments) GetIsSuggested() bool

GetIsSuggested returns the IsSuggested field value if set, zero value otherwise.

func (*JobRequestTimeSegments) GetIsSuggestedOk added in v0.2.0

func (o *JobRequestTimeSegments) GetIsSuggestedOk() (*bool, bool)

GetIsSuggestedOk returns a tuple with the IsSuggested field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegments) GetJobRequestId added in v0.2.0

func (o *JobRequestTimeSegments) GetJobRequestId() string

GetJobRequestId returns the JobRequestId field value if set, zero value otherwise.

func (*JobRequestTimeSegments) GetJobRequestIdOk added in v0.2.0

func (o *JobRequestTimeSegments) GetJobRequestIdOk() (*string, bool)

GetJobRequestIdOk returns a tuple with the JobRequestId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegments) GetTimeSlotStepMinutes added in v0.2.0

func (o *JobRequestTimeSegments) GetTimeSlotStepMinutes() int32

GetTimeSlotStepMinutes returns the TimeSlotStepMinutes field value if set, zero value otherwise.

func (*JobRequestTimeSegments) GetTimeSlotStepMinutesOk added in v0.2.0

func (o *JobRequestTimeSegments) GetTimeSlotStepMinutesOk() (*int32, bool)

GetTimeSlotStepMinutesOk returns a tuple with the TimeSlotStepMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegments) HasBusinessId added in v0.2.0

func (o *JobRequestTimeSegments) HasBusinessId() bool

HasBusinessId returns a boolean if a field has been set.

func (*JobRequestTimeSegments) HasBusinessName added in v0.2.0

func (o *JobRequestTimeSegments) HasBusinessName() bool

HasBusinessName returns a boolean if a field has been set.

func (*JobRequestTimeSegments) HasBusinessTimezone added in v0.2.0

func (o *JobRequestTimeSegments) HasBusinessTimezone() bool

HasBusinessTimezone returns a boolean if a field has been set.

func (*JobRequestTimeSegments) HasCustomerTimezone added in v0.2.0

func (o *JobRequestTimeSegments) HasCustomerTimezone() bool

HasCustomerTimezone returns a boolean if a field has been set.

func (*JobRequestTimeSegments) HasDays added in v0.2.0

func (o *JobRequestTimeSegments) HasDays() bool

HasDays returns a boolean if a field has been set.

func (*JobRequestTimeSegments) HasIsSuggested added in v0.2.0

func (o *JobRequestTimeSegments) HasIsSuggested() bool

HasIsSuggested returns a boolean if a field has been set.

func (*JobRequestTimeSegments) HasJobRequestId added in v0.2.0

func (o *JobRequestTimeSegments) HasJobRequestId() bool

HasJobRequestId returns a boolean if a field has been set.

func (*JobRequestTimeSegments) HasTimeSlotStepMinutes added in v0.2.0

func (o *JobRequestTimeSegments) HasTimeSlotStepMinutes() bool

HasTimeSlotStepMinutes returns a boolean if a field has been set.

func (JobRequestTimeSegments) MarshalJSON added in v0.2.0

func (o JobRequestTimeSegments) MarshalJSON() ([]byte, error)

func (*JobRequestTimeSegments) SetBusinessId added in v0.2.0

func (o *JobRequestTimeSegments) SetBusinessId(v string)

SetBusinessId gets a reference to the given string and assigns it to the BusinessId field.

func (*JobRequestTimeSegments) SetBusinessName added in v0.2.0

func (o *JobRequestTimeSegments) SetBusinessName(v string)

SetBusinessName gets a reference to the given string and assigns it to the BusinessName field.

func (*JobRequestTimeSegments) SetBusinessTimezone added in v0.2.0

func (o *JobRequestTimeSegments) SetBusinessTimezone(v string)

SetBusinessTimezone gets a reference to the given string and assigns it to the BusinessTimezone field.

func (*JobRequestTimeSegments) SetCustomerTimezone added in v0.2.0

func (o *JobRequestTimeSegments) SetCustomerTimezone(v string)

SetCustomerTimezone gets a reference to the given string and assigns it to the CustomerTimezone field.

func (*JobRequestTimeSegments) SetDays added in v0.2.0

SetDays gets a reference to the given []JobRequestTimeSegmentsDay and assigns it to the Days field.

func (*JobRequestTimeSegments) SetIsSuggested added in v0.2.0

func (o *JobRequestTimeSegments) SetIsSuggested(v bool)

SetIsSuggested gets a reference to the given bool and assigns it to the IsSuggested field.

func (*JobRequestTimeSegments) SetJobRequestId added in v0.2.0

func (o *JobRequestTimeSegments) SetJobRequestId(v string)

SetJobRequestId gets a reference to the given string and assigns it to the JobRequestId field.

func (*JobRequestTimeSegments) SetTimeSlotStepMinutes added in v0.2.0

func (o *JobRequestTimeSegments) SetTimeSlotStepMinutes(v int32)

SetTimeSlotStepMinutes gets a reference to the given int32 and assigns it to the TimeSlotStepMinutes field.

func (JobRequestTimeSegments) ToMap added in v0.2.0

func (o JobRequestTimeSegments) ToMap() (map[string]interface{}, error)

type JobRequestTimeSegmentsBusinessTime added in v0.2.0

type JobRequestTimeSegmentsBusinessTime struct {
	// Calendar day of the window start, business-local (YYYY-MM-DD).
	Date *string `json:"date,omitempty"`
	// Window start as a naive business-local datetime (no UTC offset) — the exact value to send back as scheduled_at on confirm.
	Datetime *string `json:"datetime,omitempty"`
	// Full weekday name of the window start, business-local.
	DayName *string `json:"day_name,omitempty"`
	// Arrival-window start, HH:MM business-local.
	Time *string `json:"time,omitempty"`
	// Arrival-window end, HH:MM business-local.
	TimeEnd *string `json:"time_end,omitempty"`
	// Period bucket of the window start, business-local: 1=morning, 2=afternoon, 3=evening.
	TimePeriod *int32 `json:"time_period,omitempty"`
	// Localized label for time_period.
	TimePeriodLabel *string `json:"time_period_label,omitempty"`
}

JobRequestTimeSegmentsBusinessTime struct for JobRequestTimeSegmentsBusinessTime

func NewJobRequestTimeSegmentsBusinessTime added in v0.2.0

func NewJobRequestTimeSegmentsBusinessTime() *JobRequestTimeSegmentsBusinessTime

NewJobRequestTimeSegmentsBusinessTime instantiates a new JobRequestTimeSegmentsBusinessTime object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTimeSegmentsBusinessTimeWithDefaults added in v0.2.0

func NewJobRequestTimeSegmentsBusinessTimeWithDefaults() *JobRequestTimeSegmentsBusinessTime

NewJobRequestTimeSegmentsBusinessTimeWithDefaults instantiates a new JobRequestTimeSegmentsBusinessTime object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTimeSegmentsBusinessTime) GetDate added in v0.2.0

GetDate returns the Date field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsBusinessTime) GetDateOk added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsBusinessTime) GetDatetime added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetDatetime() string

GetDatetime returns the Datetime field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsBusinessTime) GetDatetimeOk added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetDatetimeOk() (*string, bool)

GetDatetimeOk returns a tuple with the Datetime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsBusinessTime) GetDayName added in v0.2.0

GetDayName returns the DayName field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsBusinessTime) GetDayNameOk added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetDayNameOk() (*string, bool)

GetDayNameOk returns a tuple with the DayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsBusinessTime) GetTime added in v0.2.0

GetTime returns the Time field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsBusinessTime) GetTimeEnd added in v0.2.0

GetTimeEnd returns the TimeEnd field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsBusinessTime) GetTimeEndOk added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetTimeEndOk() (*string, bool)

GetTimeEndOk returns a tuple with the TimeEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsBusinessTime) GetTimeOk added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsBusinessTime) GetTimePeriod added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetTimePeriod() int32

GetTimePeriod returns the TimePeriod field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsBusinessTime) GetTimePeriodLabel added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetTimePeriodLabel() string

GetTimePeriodLabel returns the TimePeriodLabel field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsBusinessTime) GetTimePeriodLabelOk added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetTimePeriodLabelOk() (*string, bool)

GetTimePeriodLabelOk returns a tuple with the TimePeriodLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsBusinessTime) GetTimePeriodOk added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) GetTimePeriodOk() (*int32, bool)

GetTimePeriodOk returns a tuple with the TimePeriod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsBusinessTime) HasDate added in v0.2.0

HasDate returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsBusinessTime) HasDatetime added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) HasDatetime() bool

HasDatetime returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsBusinessTime) HasDayName added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) HasDayName() bool

HasDayName returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsBusinessTime) HasTime added in v0.2.0

HasTime returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsBusinessTime) HasTimeEnd added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) HasTimeEnd() bool

HasTimeEnd returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsBusinessTime) HasTimePeriod added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) HasTimePeriod() bool

HasTimePeriod returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsBusinessTime) HasTimePeriodLabel added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) HasTimePeriodLabel() bool

HasTimePeriodLabel returns a boolean if a field has been set.

func (JobRequestTimeSegmentsBusinessTime) MarshalJSON added in v0.2.0

func (o JobRequestTimeSegmentsBusinessTime) MarshalJSON() ([]byte, error)

func (*JobRequestTimeSegmentsBusinessTime) SetDate added in v0.2.0

SetDate gets a reference to the given string and assigns it to the Date field.

func (*JobRequestTimeSegmentsBusinessTime) SetDatetime added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) SetDatetime(v string)

SetDatetime gets a reference to the given string and assigns it to the Datetime field.

func (*JobRequestTimeSegmentsBusinessTime) SetDayName added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) SetDayName(v string)

SetDayName gets a reference to the given string and assigns it to the DayName field.

func (*JobRequestTimeSegmentsBusinessTime) SetTime added in v0.2.0

SetTime gets a reference to the given string and assigns it to the Time field.

func (*JobRequestTimeSegmentsBusinessTime) SetTimeEnd added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) SetTimeEnd(v string)

SetTimeEnd gets a reference to the given string and assigns it to the TimeEnd field.

func (*JobRequestTimeSegmentsBusinessTime) SetTimePeriod added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) SetTimePeriod(v int32)

SetTimePeriod gets a reference to the given int32 and assigns it to the TimePeriod field.

func (*JobRequestTimeSegmentsBusinessTime) SetTimePeriodLabel added in v0.2.0

func (o *JobRequestTimeSegmentsBusinessTime) SetTimePeriodLabel(v string)

SetTimePeriodLabel gets a reference to the given string and assigns it to the TimePeriodLabel field.

func (JobRequestTimeSegmentsBusinessTime) ToMap added in v0.2.0

func (o JobRequestTimeSegmentsBusinessTime) ToMap() (map[string]interface{}, error)

type JobRequestTimeSegmentsDay added in v0.2.0

type JobRequestTimeSegmentsDay struct {
	// Calendar day, customer-local (YYYY-MM-DD).
	Date *string `json:"date,omitempty"`
	// Full weekday name of the day, customer-local.
	DayName *string `json:"day_name,omitempty"`
	// Short display label for the day (\"Mon D\" form).
	DayShort *string `json:"day_short,omitempty"`
	// Offerable arrival-window slots for this day, ordered by start time.
	TimeSlots []JobRequestTimeSegmentsSlot `json:"time_slots,omitempty"`
}

JobRequestTimeSegmentsDay struct for JobRequestTimeSegmentsDay

func NewJobRequestTimeSegmentsDay added in v0.2.0

func NewJobRequestTimeSegmentsDay() *JobRequestTimeSegmentsDay

NewJobRequestTimeSegmentsDay instantiates a new JobRequestTimeSegmentsDay object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTimeSegmentsDayWithDefaults added in v0.2.0

func NewJobRequestTimeSegmentsDayWithDefaults() *JobRequestTimeSegmentsDay

NewJobRequestTimeSegmentsDayWithDefaults instantiates a new JobRequestTimeSegmentsDay object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTimeSegmentsDay) GetDate added in v0.2.0

func (o *JobRequestTimeSegmentsDay) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsDay) GetDateOk added in v0.2.0

func (o *JobRequestTimeSegmentsDay) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsDay) GetDayName added in v0.2.0

func (o *JobRequestTimeSegmentsDay) GetDayName() string

GetDayName returns the DayName field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsDay) GetDayNameOk added in v0.2.0

func (o *JobRequestTimeSegmentsDay) GetDayNameOk() (*string, bool)

GetDayNameOk returns a tuple with the DayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsDay) GetDayShort added in v0.2.0

func (o *JobRequestTimeSegmentsDay) GetDayShort() string

GetDayShort returns the DayShort field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsDay) GetDayShortOk added in v0.2.0

func (o *JobRequestTimeSegmentsDay) GetDayShortOk() (*string, bool)

GetDayShortOk returns a tuple with the DayShort field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsDay) GetTimeSlots added in v0.2.0

GetTimeSlots returns the TimeSlots field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsDay) GetTimeSlotsOk added in v0.2.0

GetTimeSlotsOk returns a tuple with the TimeSlots field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsDay) HasDate added in v0.2.0

func (o *JobRequestTimeSegmentsDay) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsDay) HasDayName added in v0.2.0

func (o *JobRequestTimeSegmentsDay) HasDayName() bool

HasDayName returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsDay) HasDayShort added in v0.2.0

func (o *JobRequestTimeSegmentsDay) HasDayShort() bool

HasDayShort returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsDay) HasTimeSlots added in v0.2.0

func (o *JobRequestTimeSegmentsDay) HasTimeSlots() bool

HasTimeSlots returns a boolean if a field has been set.

func (JobRequestTimeSegmentsDay) MarshalJSON added in v0.2.0

func (o JobRequestTimeSegmentsDay) MarshalJSON() ([]byte, error)

func (*JobRequestTimeSegmentsDay) SetDate added in v0.2.0

func (o *JobRequestTimeSegmentsDay) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*JobRequestTimeSegmentsDay) SetDayName added in v0.2.0

func (o *JobRequestTimeSegmentsDay) SetDayName(v string)

SetDayName gets a reference to the given string and assigns it to the DayName field.

func (*JobRequestTimeSegmentsDay) SetDayShort added in v0.2.0

func (o *JobRequestTimeSegmentsDay) SetDayShort(v string)

SetDayShort gets a reference to the given string and assigns it to the DayShort field.

func (*JobRequestTimeSegmentsDay) SetTimeSlots added in v0.2.0

SetTimeSlots gets a reference to the given []JobRequestTimeSegmentsSlot and assigns it to the TimeSlots field.

func (JobRequestTimeSegmentsDay) ToMap added in v0.2.0

func (o JobRequestTimeSegmentsDay) ToMap() (map[string]interface{}, error)

type JobRequestTimeSegmentsSlot added in v0.2.0

type JobRequestTimeSegmentsSlot struct {
	// Technicians feasible for this slot, engine-ranked best first, each with its score breakdown.
	AvailableWorkers []JobRequestTimeSegmentsWorker `json:"available_workers,omitempty"`
	// True on the first slot of each day — the suggested \"BEST\" pick (UI hint).
	BestTime *bool `json:"best_time,omitempty"`
	// The same arrival window expressed in BUSINESS-local time; its naive datetime is the value to send back on confirm.
	BusinessTime *JobRequestTimeSegmentsBusinessTime `json:"business_time,omitempty"`
	// Window start as an RFC3339 customer-local instant (with UTC offset).
	Datetime *time.Time `json:"datetime,omitempty"`
	// Span end (UTC) of a multi-day visit — render in business/customer timezone. Omitted for single-day slots.
	EndsAt *time.Time `json:"ends_at,omitempty"`
	// MultiDay flags a slot whose visit cannot finish in one day and spans consecutive days. EndsAt + Sessions are then populated (for the best-ranked candidate — the one auto-assign would pick) so the picker can show the customer \"this start runs until <EndsAt>, over N days\" BEFORE they confirm. Single-day slots leave these empty (the slot itself is the visit).
	MultiDay *bool `json:"multi_day,omitempty"`
	// Per-day session plan of a multi-day visit (for the best-ranked candidate). Omitted for single-day slots.
	Sessions []JobRequestSession `json:"sessions,omitempty"`
	// Arrival-window start, HH:MM customer-local.
	Time *string `json:"time,omitempty"`
	// Arrival-window end, HH:MM customer-local (= time + time_slot_step_minutes).
	TimeEnd *string `json:"time_end,omitempty"`
	// Period bucket of the window start: 1=morning, 2=afternoon, 3=evening.
	TimePeriod *int32 `json:"time_period,omitempty"`
	// Localized label for time_period.
	TimePeriodLabel *string `json:"time_period_label,omitempty"`
	// Number of entries in available_workers.
	WorkersCount *int32 `json:"workers_count,omitempty"`
}

JobRequestTimeSegmentsSlot struct for JobRequestTimeSegmentsSlot

func NewJobRequestTimeSegmentsSlot added in v0.2.0

func NewJobRequestTimeSegmentsSlot() *JobRequestTimeSegmentsSlot

NewJobRequestTimeSegmentsSlot instantiates a new JobRequestTimeSegmentsSlot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTimeSegmentsSlotWithDefaults added in v0.2.0

func NewJobRequestTimeSegmentsSlotWithDefaults() *JobRequestTimeSegmentsSlot

NewJobRequestTimeSegmentsSlotWithDefaults instantiates a new JobRequestTimeSegmentsSlot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTimeSegmentsSlot) GetAvailableWorkers added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetAvailableWorkers() []JobRequestTimeSegmentsWorker

GetAvailableWorkers returns the AvailableWorkers field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetAvailableWorkersOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetAvailableWorkersOk() ([]JobRequestTimeSegmentsWorker, bool)

GetAvailableWorkersOk returns a tuple with the AvailableWorkers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetBestTime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetBestTime() bool

GetBestTime returns the BestTime field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetBestTimeOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetBestTimeOk() (*bool, bool)

GetBestTimeOk returns a tuple with the BestTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetBusinessTime added in v0.2.0

GetBusinessTime returns the BusinessTime field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetBusinessTimeOk added in v0.2.0

GetBusinessTimeOk returns a tuple with the BusinessTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetDatetime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetDatetime() time.Time

GetDatetime returns the Datetime field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetDatetimeOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetDatetimeOk() (*time.Time, bool)

GetDatetimeOk returns a tuple with the Datetime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetEndsAt added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetEndsAt() time.Time

GetEndsAt returns the EndsAt field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetEndsAtOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetEndsAtOk() (*time.Time, bool)

GetEndsAtOk returns a tuple with the EndsAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetMultiDay added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetMultiDay() bool

GetMultiDay returns the MultiDay field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetMultiDayOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetMultiDayOk() (*bool, bool)

GetMultiDayOk returns a tuple with the MultiDay field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetSessions added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetSessions() []JobRequestSession

GetSessions returns the Sessions field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetSessionsOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetSessionsOk() ([]JobRequestSession, bool)

GetSessionsOk returns a tuple with the Sessions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetTime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetTime() string

GetTime returns the Time field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetTimeEnd added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetTimeEnd() string

GetTimeEnd returns the TimeEnd field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetTimeEndOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetTimeEndOk() (*string, bool)

GetTimeEndOk returns a tuple with the TimeEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetTimeOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetTimePeriod added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetTimePeriod() int32

GetTimePeriod returns the TimePeriod field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetTimePeriodLabel added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetTimePeriodLabel() string

GetTimePeriodLabel returns the TimePeriodLabel field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetTimePeriodLabelOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetTimePeriodLabelOk() (*string, bool)

GetTimePeriodLabelOk returns a tuple with the TimePeriodLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetTimePeriodOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetTimePeriodOk() (*int32, bool)

GetTimePeriodOk returns a tuple with the TimePeriod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) GetWorkersCount added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetWorkersCount() int32

GetWorkersCount returns the WorkersCount field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsSlot) GetWorkersCountOk added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) GetWorkersCountOk() (*int32, bool)

GetWorkersCountOk returns a tuple with the WorkersCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsSlot) HasAvailableWorkers added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasAvailableWorkers() bool

HasAvailableWorkers returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasBestTime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasBestTime() bool

HasBestTime returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasBusinessTime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasBusinessTime() bool

HasBusinessTime returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasDatetime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasDatetime() bool

HasDatetime returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasEndsAt added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasEndsAt() bool

HasEndsAt returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasMultiDay added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasMultiDay() bool

HasMultiDay returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasSessions added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasSessions() bool

HasSessions returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasTime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasTime() bool

HasTime returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasTimeEnd added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasTimeEnd() bool

HasTimeEnd returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasTimePeriod added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasTimePeriod() bool

HasTimePeriod returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasTimePeriodLabel added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasTimePeriodLabel() bool

HasTimePeriodLabel returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsSlot) HasWorkersCount added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) HasWorkersCount() bool

HasWorkersCount returns a boolean if a field has been set.

func (JobRequestTimeSegmentsSlot) MarshalJSON added in v0.2.0

func (o JobRequestTimeSegmentsSlot) MarshalJSON() ([]byte, error)

func (*JobRequestTimeSegmentsSlot) SetAvailableWorkers added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetAvailableWorkers(v []JobRequestTimeSegmentsWorker)

SetAvailableWorkers gets a reference to the given []JobRequestTimeSegmentsWorker and assigns it to the AvailableWorkers field.

func (*JobRequestTimeSegmentsSlot) SetBestTime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetBestTime(v bool)

SetBestTime gets a reference to the given bool and assigns it to the BestTime field.

func (*JobRequestTimeSegmentsSlot) SetBusinessTime added in v0.2.0

SetBusinessTime gets a reference to the given JobRequestTimeSegmentsBusinessTime and assigns it to the BusinessTime field.

func (*JobRequestTimeSegmentsSlot) SetDatetime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetDatetime(v time.Time)

SetDatetime gets a reference to the given time.Time and assigns it to the Datetime field.

func (*JobRequestTimeSegmentsSlot) SetEndsAt added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetEndsAt(v time.Time)

SetEndsAt gets a reference to the given time.Time and assigns it to the EndsAt field.

func (*JobRequestTimeSegmentsSlot) SetMultiDay added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetMultiDay(v bool)

SetMultiDay gets a reference to the given bool and assigns it to the MultiDay field.

func (*JobRequestTimeSegmentsSlot) SetSessions added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetSessions(v []JobRequestSession)

SetSessions gets a reference to the given []JobRequestSession and assigns it to the Sessions field.

func (*JobRequestTimeSegmentsSlot) SetTime added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetTime(v string)

SetTime gets a reference to the given string and assigns it to the Time field.

func (*JobRequestTimeSegmentsSlot) SetTimeEnd added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetTimeEnd(v string)

SetTimeEnd gets a reference to the given string and assigns it to the TimeEnd field.

func (*JobRequestTimeSegmentsSlot) SetTimePeriod added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetTimePeriod(v int32)

SetTimePeriod gets a reference to the given int32 and assigns it to the TimePeriod field.

func (*JobRequestTimeSegmentsSlot) SetTimePeriodLabel added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetTimePeriodLabel(v string)

SetTimePeriodLabel gets a reference to the given string and assigns it to the TimePeriodLabel field.

func (*JobRequestTimeSegmentsSlot) SetWorkersCount added in v0.2.0

func (o *JobRequestTimeSegmentsSlot) SetWorkersCount(v int32)

SetWorkersCount gets a reference to the given int32 and assigns it to the WorkersCount field.

func (JobRequestTimeSegmentsSlot) ToMap added in v0.2.0

func (o JobRequestTimeSegmentsSlot) ToMap() (map[string]interface{}, error)

type JobRequestTimeSegmentsWorker added in v0.2.0

type JobRequestTimeSegmentsWorker struct {
	// Estimated one-way distance from the technician's start location to the job site, in km (routing-provider estimate, straight-line fallback). 0 when unknown or on the pre-quote fallback path.
	DistanceKm *float32 `json:"distance_km,omitempty"`
	// Distance sub-score (0-100; closer to the job = higher).
	DistanceScore *float32 `json:"distance_score,omitempty"`
	// Technician's email; empty when not on file.
	Email *string `json:"email,omitempty"`
	// Technician UUID.
	Id *string `json:"id,omitempty"`
	// Minutes of job work already booked on this technician's schedule around the offered window (feeds the wrench-time score; lower = more open capacity).
	JobDurationTodayMinutes *int32 `json:"job_duration_today_minutes,omitempty"`
	// Technician's full display name.
	Name *string `json:"name,omitempty"`
	// Overall ranking score (0-100): weighted blend of the distance, travel-time, wrench-time and skill sub-scores; workers are listed best-first. Placeholder values on the pre-quote fallback path.
	TotalScore *float32 `json:"total_score,omitempty"`
	// Travel-time sub-score (0-100; shorter commute = higher).
	TravelTimeScore *float32 `json:"travel_time_score,omitempty"`
	// Wrench-time sub-score (0-100; more open capacity vs the daily booked-work goal = higher).
	WrenchTimeScore *float32 `json:"wrench_time_score,omitempty"`
}

JobRequestTimeSegmentsWorker struct for JobRequestTimeSegmentsWorker

func NewJobRequestTimeSegmentsWorker added in v0.2.0

func NewJobRequestTimeSegmentsWorker() *JobRequestTimeSegmentsWorker

NewJobRequestTimeSegmentsWorker instantiates a new JobRequestTimeSegmentsWorker object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTimeSegmentsWorkerWithDefaults added in v0.2.0

func NewJobRequestTimeSegmentsWorkerWithDefaults() *JobRequestTimeSegmentsWorker

NewJobRequestTimeSegmentsWorkerWithDefaults instantiates a new JobRequestTimeSegmentsWorker object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTimeSegmentsWorker) GetDistanceKm added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetDistanceKm() float32

GetDistanceKm returns the DistanceKm field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsWorker) GetDistanceKmOk added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetDistanceKmOk() (*float32, bool)

GetDistanceKmOk returns a tuple with the DistanceKm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsWorker) GetDistanceScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetDistanceScore() float32

GetDistanceScore returns the DistanceScore field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsWorker) GetDistanceScoreOk added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetDistanceScoreOk() (*float32, bool)

GetDistanceScoreOk returns a tuple with the DistanceScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsWorker) GetEmail added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsWorker) GetEmailOk added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsWorker) GetId added in v0.2.0

GetId returns the Id field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsWorker) GetIdOk added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsWorker) GetJobDurationTodayMinutes added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetJobDurationTodayMinutes() int32

GetJobDurationTodayMinutes returns the JobDurationTodayMinutes field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsWorker) GetJobDurationTodayMinutesOk added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetJobDurationTodayMinutesOk() (*int32, bool)

GetJobDurationTodayMinutesOk returns a tuple with the JobDurationTodayMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsWorker) GetName added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsWorker) GetNameOk added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsWorker) GetTotalScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetTotalScore() float32

GetTotalScore returns the TotalScore field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsWorker) GetTotalScoreOk added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetTotalScoreOk() (*float32, bool)

GetTotalScoreOk returns a tuple with the TotalScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsWorker) GetTravelTimeScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetTravelTimeScore() float32

GetTravelTimeScore returns the TravelTimeScore field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsWorker) GetTravelTimeScoreOk added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetTravelTimeScoreOk() (*float32, bool)

GetTravelTimeScoreOk returns a tuple with the TravelTimeScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsWorker) GetWrenchTimeScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetWrenchTimeScore() float32

GetWrenchTimeScore returns the WrenchTimeScore field value if set, zero value otherwise.

func (*JobRequestTimeSegmentsWorker) GetWrenchTimeScoreOk added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) GetWrenchTimeScoreOk() (*float32, bool)

GetWrenchTimeScoreOk returns a tuple with the WrenchTimeScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeSegmentsWorker) HasDistanceKm added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) HasDistanceKm() bool

HasDistanceKm returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsWorker) HasDistanceScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) HasDistanceScore() bool

HasDistanceScore returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsWorker) HasEmail added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsWorker) HasId added in v0.2.0

HasId returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsWorker) HasJobDurationTodayMinutes added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) HasJobDurationTodayMinutes() bool

HasJobDurationTodayMinutes returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsWorker) HasName added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) HasName() bool

HasName returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsWorker) HasTotalScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) HasTotalScore() bool

HasTotalScore returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsWorker) HasTravelTimeScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) HasTravelTimeScore() bool

HasTravelTimeScore returns a boolean if a field has been set.

func (*JobRequestTimeSegmentsWorker) HasWrenchTimeScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) HasWrenchTimeScore() bool

HasWrenchTimeScore returns a boolean if a field has been set.

func (JobRequestTimeSegmentsWorker) MarshalJSON added in v0.2.0

func (o JobRequestTimeSegmentsWorker) MarshalJSON() ([]byte, error)

func (*JobRequestTimeSegmentsWorker) SetDistanceKm added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) SetDistanceKm(v float32)

SetDistanceKm gets a reference to the given float32 and assigns it to the DistanceKm field.

func (*JobRequestTimeSegmentsWorker) SetDistanceScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) SetDistanceScore(v float32)

SetDistanceScore gets a reference to the given float32 and assigns it to the DistanceScore field.

func (*JobRequestTimeSegmentsWorker) SetEmail added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*JobRequestTimeSegmentsWorker) SetId added in v0.2.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*JobRequestTimeSegmentsWorker) SetJobDurationTodayMinutes added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) SetJobDurationTodayMinutes(v int32)

SetJobDurationTodayMinutes gets a reference to the given int32 and assigns it to the JobDurationTodayMinutes field.

func (*JobRequestTimeSegmentsWorker) SetName added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*JobRequestTimeSegmentsWorker) SetTotalScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) SetTotalScore(v float32)

SetTotalScore gets a reference to the given float32 and assigns it to the TotalScore field.

func (*JobRequestTimeSegmentsWorker) SetTravelTimeScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) SetTravelTimeScore(v float32)

SetTravelTimeScore gets a reference to the given float32 and assigns it to the TravelTimeScore field.

func (*JobRequestTimeSegmentsWorker) SetWrenchTimeScore added in v0.2.0

func (o *JobRequestTimeSegmentsWorker) SetWrenchTimeScore(v float32)

SetWrenchTimeScore gets a reference to the given float32 and assigns it to the WrenchTimeScore field.

func (JobRequestTimeSegmentsWorker) ToMap added in v0.2.0

func (o JobRequestTimeSegmentsWorker) ToMap() (map[string]interface{}, error)

type JobRequestTimeline

type JobRequestTimeline struct {
	// Status key the job is currently in.
	CurrentStatusKey *string `json:"current_status_key,omitempty"`
	// Status rows in workflow order (booking → … → completed).
	Events []JobRequestTimelineEvent `json:"events,omitempty"`
	// Optimistic-lock version of the job (read-only here; timeline does not bump it).
	StatusVersion *int32 `json:"status_version,omitempty"`
	// UUID of the workflow snapshot driving this job.
	WorkflowId *string `json:"workflow_id,omitempty"`
	// Workflow display name.
	WorkflowName *string `json:"workflow_name,omitempty"`
}

JobRequestTimeline struct for JobRequestTimeline

func NewJobRequestTimeline

func NewJobRequestTimeline() *JobRequestTimeline

NewJobRequestTimeline instantiates a new JobRequestTimeline object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTimelineWithDefaults

func NewJobRequestTimelineWithDefaults() *JobRequestTimeline

NewJobRequestTimelineWithDefaults instantiates a new JobRequestTimeline object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTimeline) GetCurrentStatusKey

func (o *JobRequestTimeline) GetCurrentStatusKey() string

GetCurrentStatusKey returns the CurrentStatusKey field value if set, zero value otherwise.

func (*JobRequestTimeline) GetCurrentStatusKeyOk

func (o *JobRequestTimeline) GetCurrentStatusKeyOk() (*string, bool)

GetCurrentStatusKeyOk returns a tuple with the CurrentStatusKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeline) GetEvents

GetEvents returns the Events field value if set, zero value otherwise.

func (*JobRequestTimeline) GetEventsOk

func (o *JobRequestTimeline) GetEventsOk() ([]JobRequestTimelineEvent, bool)

GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeline) GetStatusVersion

func (o *JobRequestTimeline) GetStatusVersion() int32

GetStatusVersion returns the StatusVersion field value if set, zero value otherwise.

func (*JobRequestTimeline) GetStatusVersionOk

func (o *JobRequestTimeline) GetStatusVersionOk() (*int32, bool)

GetStatusVersionOk returns a tuple with the StatusVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeline) GetWorkflowId

func (o *JobRequestTimeline) GetWorkflowId() string

GetWorkflowId returns the WorkflowId field value if set, zero value otherwise.

func (*JobRequestTimeline) GetWorkflowIdOk

func (o *JobRequestTimeline) GetWorkflowIdOk() (*string, bool)

GetWorkflowIdOk returns a tuple with the WorkflowId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeline) GetWorkflowName

func (o *JobRequestTimeline) GetWorkflowName() string

GetWorkflowName returns the WorkflowName field value if set, zero value otherwise.

func (*JobRequestTimeline) GetWorkflowNameOk

func (o *JobRequestTimeline) GetWorkflowNameOk() (*string, bool)

GetWorkflowNameOk returns a tuple with the WorkflowName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimeline) HasCurrentStatusKey

func (o *JobRequestTimeline) HasCurrentStatusKey() bool

HasCurrentStatusKey returns a boolean if a field has been set.

func (*JobRequestTimeline) HasEvents

func (o *JobRequestTimeline) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*JobRequestTimeline) HasStatusVersion

func (o *JobRequestTimeline) HasStatusVersion() bool

HasStatusVersion returns a boolean if a field has been set.

func (*JobRequestTimeline) HasWorkflowId

func (o *JobRequestTimeline) HasWorkflowId() bool

HasWorkflowId returns a boolean if a field has been set.

func (*JobRequestTimeline) HasWorkflowName

func (o *JobRequestTimeline) HasWorkflowName() bool

HasWorkflowName returns a boolean if a field has been set.

func (JobRequestTimeline) MarshalJSON

func (o JobRequestTimeline) MarshalJSON() ([]byte, error)

func (*JobRequestTimeline) SetCurrentStatusKey

func (o *JobRequestTimeline) SetCurrentStatusKey(v string)

SetCurrentStatusKey gets a reference to the given string and assigns it to the CurrentStatusKey field.

func (*JobRequestTimeline) SetEvents

func (o *JobRequestTimeline) SetEvents(v []JobRequestTimelineEvent)

SetEvents gets a reference to the given []JobRequestTimelineEvent and assigns it to the Events field.

func (*JobRequestTimeline) SetStatusVersion

func (o *JobRequestTimeline) SetStatusVersion(v int32)

SetStatusVersion gets a reference to the given int32 and assigns it to the StatusVersion field.

func (*JobRequestTimeline) SetWorkflowId

func (o *JobRequestTimeline) SetWorkflowId(v string)

SetWorkflowId gets a reference to the given string and assigns it to the WorkflowId field.

func (*JobRequestTimeline) SetWorkflowName

func (o *JobRequestTimeline) SetWorkflowName(v string)

SetWorkflowName gets a reference to the given string and assigns it to the WorkflowName field.

func (JobRequestTimeline) ToMap

func (o JobRequestTimeline) ToMap() (map[string]interface{}, error)

type JobRequestTimelineAction

type JobRequestTimelineAction struct {
	// Role expected to fire this action (badge hint, NOT who actually fired it).
	Actor *string `json:"actor,omitempty"`
	// When the action was fired (UTC); null until fired.
	FiredAt *time.Time `json:"fired_at,omitempty"`
	// Action key (e.g. quote, confirm_booking, complete, or a DYNAMIC action).
	Key *string `json:"key,omitempty"`
	// Action label, resolved to the request locale.
	Label *string `json:"label,omitempty"`
	// Payload mirrors action_data[key].payload — raw JSON; `swaggertype` hints the swag CLI which doesn't natively know json.RawMessage.
	Payload map[string]interface{} `json:"payload,omitempty"`
	// Where this action sits relative to the job's progress.
	State *string `json:"state,omitempty"`
}

JobRequestTimelineAction struct for JobRequestTimelineAction

func NewJobRequestTimelineAction

func NewJobRequestTimelineAction() *JobRequestTimelineAction

NewJobRequestTimelineAction instantiates a new JobRequestTimelineAction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTimelineActionWithDefaults

func NewJobRequestTimelineActionWithDefaults() *JobRequestTimelineAction

NewJobRequestTimelineActionWithDefaults instantiates a new JobRequestTimelineAction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTimelineAction) GetActor

func (o *JobRequestTimelineAction) GetActor() string

GetActor returns the Actor field value if set, zero value otherwise.

func (*JobRequestTimelineAction) GetActorOk

func (o *JobRequestTimelineAction) GetActorOk() (*string, bool)

GetActorOk returns a tuple with the Actor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineAction) GetFiredAt

func (o *JobRequestTimelineAction) GetFiredAt() time.Time

GetFiredAt returns the FiredAt field value if set, zero value otherwise.

func (*JobRequestTimelineAction) GetFiredAtOk

func (o *JobRequestTimelineAction) GetFiredAtOk() (*time.Time, bool)

GetFiredAtOk returns a tuple with the FiredAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineAction) GetKey

func (o *JobRequestTimelineAction) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*JobRequestTimelineAction) GetKeyOk

func (o *JobRequestTimelineAction) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineAction) GetLabel

func (o *JobRequestTimelineAction) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*JobRequestTimelineAction) GetLabelOk

func (o *JobRequestTimelineAction) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineAction) GetPayload

func (o *JobRequestTimelineAction) GetPayload() map[string]interface{}

GetPayload returns the Payload field value if set, zero value otherwise.

func (*JobRequestTimelineAction) GetPayloadOk

func (o *JobRequestTimelineAction) GetPayloadOk() (map[string]interface{}, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineAction) GetState

func (o *JobRequestTimelineAction) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*JobRequestTimelineAction) GetStateOk

func (o *JobRequestTimelineAction) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineAction) HasActor

func (o *JobRequestTimelineAction) HasActor() bool

HasActor returns a boolean if a field has been set.

func (*JobRequestTimelineAction) HasFiredAt

func (o *JobRequestTimelineAction) HasFiredAt() bool

HasFiredAt returns a boolean if a field has been set.

func (*JobRequestTimelineAction) HasKey

func (o *JobRequestTimelineAction) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*JobRequestTimelineAction) HasLabel

func (o *JobRequestTimelineAction) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*JobRequestTimelineAction) HasPayload

func (o *JobRequestTimelineAction) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*JobRequestTimelineAction) HasState

func (o *JobRequestTimelineAction) HasState() bool

HasState returns a boolean if a field has been set.

func (JobRequestTimelineAction) MarshalJSON

func (o JobRequestTimelineAction) MarshalJSON() ([]byte, error)

func (*JobRequestTimelineAction) SetActor

func (o *JobRequestTimelineAction) SetActor(v string)

SetActor gets a reference to the given string and assigns it to the Actor field.

func (*JobRequestTimelineAction) SetFiredAt

func (o *JobRequestTimelineAction) SetFiredAt(v time.Time)

SetFiredAt gets a reference to the given time.Time and assigns it to the FiredAt field.

func (*JobRequestTimelineAction) SetKey

func (o *JobRequestTimelineAction) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*JobRequestTimelineAction) SetLabel

func (o *JobRequestTimelineAction) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*JobRequestTimelineAction) SetPayload

func (o *JobRequestTimelineAction) SetPayload(v map[string]interface{})

SetPayload gets a reference to the given map[string]interface{} and assigns it to the Payload field.

func (*JobRequestTimelineAction) SetState

func (o *JobRequestTimelineAction) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (JobRequestTimelineAction) ToMap

func (o JobRequestTimelineAction) ToMap() (map[string]interface{}, error)

type JobRequestTimelineEvent

type JobRequestTimelineEvent struct {
	// Actions declared for this status, in workflow order. Omitted when none.
	Actions []JobRequestTimelineAction `json:"actions,omitempty"`
	// Status display name, resolved to the request locale.
	DisplayName *string `json:"display_name,omitempty"`
	// When the job entered this status (UTC); null for upcoming steps or jobs missing the backfill.
	EnteredAt *time.Time `json:"entered_at,omitempty"`
	// Where this status sits relative to the job's progress.
	State *string `json:"state,omitempty"`
	// Workflow status key for this row.
	StatusKey *string `json:"status_key,omitempty"`
}

JobRequestTimelineEvent struct for JobRequestTimelineEvent

func NewJobRequestTimelineEvent

func NewJobRequestTimelineEvent() *JobRequestTimelineEvent

NewJobRequestTimelineEvent instantiates a new JobRequestTimelineEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestTimelineEventWithDefaults

func NewJobRequestTimelineEventWithDefaults() *JobRequestTimelineEvent

NewJobRequestTimelineEventWithDefaults instantiates a new JobRequestTimelineEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestTimelineEvent) GetActions

GetActions returns the Actions field value if set, zero value otherwise.

func (*JobRequestTimelineEvent) GetActionsOk

func (o *JobRequestTimelineEvent) GetActionsOk() ([]JobRequestTimelineAction, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineEvent) GetDisplayName

func (o *JobRequestTimelineEvent) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*JobRequestTimelineEvent) GetDisplayNameOk

func (o *JobRequestTimelineEvent) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineEvent) GetEnteredAt

func (o *JobRequestTimelineEvent) GetEnteredAt() time.Time

GetEnteredAt returns the EnteredAt field value if set, zero value otherwise.

func (*JobRequestTimelineEvent) GetEnteredAtOk

func (o *JobRequestTimelineEvent) GetEnteredAtOk() (*time.Time, bool)

GetEnteredAtOk returns a tuple with the EnteredAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineEvent) GetState

func (o *JobRequestTimelineEvent) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*JobRequestTimelineEvent) GetStateOk

func (o *JobRequestTimelineEvent) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineEvent) GetStatusKey

func (o *JobRequestTimelineEvent) GetStatusKey() string

GetStatusKey returns the StatusKey field value if set, zero value otherwise.

func (*JobRequestTimelineEvent) GetStatusKeyOk

func (o *JobRequestTimelineEvent) GetStatusKeyOk() (*string, bool)

GetStatusKeyOk returns a tuple with the StatusKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestTimelineEvent) HasActions

func (o *JobRequestTimelineEvent) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*JobRequestTimelineEvent) HasDisplayName

func (o *JobRequestTimelineEvent) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*JobRequestTimelineEvent) HasEnteredAt

func (o *JobRequestTimelineEvent) HasEnteredAt() bool

HasEnteredAt returns a boolean if a field has been set.

func (*JobRequestTimelineEvent) HasState

func (o *JobRequestTimelineEvent) HasState() bool

HasState returns a boolean if a field has been set.

func (*JobRequestTimelineEvent) HasStatusKey

func (o *JobRequestTimelineEvent) HasStatusKey() bool

HasStatusKey returns a boolean if a field has been set.

func (JobRequestTimelineEvent) MarshalJSON

func (o JobRequestTimelineEvent) MarshalJSON() ([]byte, error)

func (*JobRequestTimelineEvent) SetActions

SetActions gets a reference to the given []JobRequestTimelineAction and assigns it to the Actions field.

func (*JobRequestTimelineEvent) SetDisplayName

func (o *JobRequestTimelineEvent) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*JobRequestTimelineEvent) SetEnteredAt

func (o *JobRequestTimelineEvent) SetEnteredAt(v time.Time)

SetEnteredAt gets a reference to the given time.Time and assigns it to the EnteredAt field.

func (*JobRequestTimelineEvent) SetState

func (o *JobRequestTimelineEvent) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*JobRequestTimelineEvent) SetStatusKey

func (o *JobRequestTimelineEvent) SetStatusKey(v string)

SetStatusKey gets a reference to the given string and assigns it to the StatusKey field.

func (JobRequestTimelineEvent) ToMap

func (o JobRequestTimelineEvent) ToMap() (map[string]interface{}, error)

type JobRequestUpdatePriorityRequest added in v0.2.0

type JobRequestUpdatePriorityRequest struct {
	// Optional justification (max 500 chars) — recorded on the activity trail and the priority_changed webhook. Recommended when de-escalating an SLA-escalated job (audit provenance).
	Note *string `json:"note,omitempty"`
	// New P0–P3 priority level. p0=emergency, p1=top, p2=standard, p3=deferrable.
	Priority string `json:"priority"`
	// SLA deadline (business-local naive datetime) — only with priority=p1; (re)arms the auto-escalation clock. Omitted on a p1 change keeps any stored deadline; changing away from p1 disarms SLA entirely.
	SlaDeadline *string `json:"sla_deadline,omitempty"`
}

JobRequestUpdatePriorityRequest struct for JobRequestUpdatePriorityRequest

func NewJobRequestUpdatePriorityRequest added in v0.2.0

func NewJobRequestUpdatePriorityRequest(priority string) *JobRequestUpdatePriorityRequest

NewJobRequestUpdatePriorityRequest instantiates a new JobRequestUpdatePriorityRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobRequestUpdatePriorityRequestWithDefaults added in v0.2.0

func NewJobRequestUpdatePriorityRequestWithDefaults() *JobRequestUpdatePriorityRequest

NewJobRequestUpdatePriorityRequestWithDefaults instantiates a new JobRequestUpdatePriorityRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobRequestUpdatePriorityRequest) GetNote added in v0.2.0

GetNote returns the Note field value if set, zero value otherwise.

func (*JobRequestUpdatePriorityRequest) GetNoteOk added in v0.2.0

func (o *JobRequestUpdatePriorityRequest) GetNoteOk() (*string, bool)

GetNoteOk returns a tuple with the Note field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestUpdatePriorityRequest) GetPriority added in v0.2.0

func (o *JobRequestUpdatePriorityRequest) GetPriority() string

GetPriority returns the Priority field value

func (*JobRequestUpdatePriorityRequest) GetPriorityOk added in v0.2.0

func (o *JobRequestUpdatePriorityRequest) GetPriorityOk() (*string, bool)

GetPriorityOk returns a tuple with the Priority field value and a boolean to check if the value has been set.

func (*JobRequestUpdatePriorityRequest) GetSlaDeadline added in v0.2.0

func (o *JobRequestUpdatePriorityRequest) GetSlaDeadline() string

GetSlaDeadline returns the SlaDeadline field value if set, zero value otherwise.

func (*JobRequestUpdatePriorityRequest) GetSlaDeadlineOk added in v0.2.0

func (o *JobRequestUpdatePriorityRequest) GetSlaDeadlineOk() (*string, bool)

GetSlaDeadlineOk returns a tuple with the SlaDeadline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobRequestUpdatePriorityRequest) HasNote added in v0.2.0

HasNote returns a boolean if a field has been set.

func (*JobRequestUpdatePriorityRequest) HasSlaDeadline added in v0.2.0

func (o *JobRequestUpdatePriorityRequest) HasSlaDeadline() bool

HasSlaDeadline returns a boolean if a field has been set.

func (JobRequestUpdatePriorityRequest) MarshalJSON added in v0.2.0

func (o JobRequestUpdatePriorityRequest) MarshalJSON() ([]byte, error)

func (*JobRequestUpdatePriorityRequest) SetNote added in v0.2.0

SetNote gets a reference to the given string and assigns it to the Note field.

func (*JobRequestUpdatePriorityRequest) SetPriority added in v0.2.0

func (o *JobRequestUpdatePriorityRequest) SetPriority(v string)

SetPriority sets field value

func (*JobRequestUpdatePriorityRequest) SetSlaDeadline added in v0.2.0

func (o *JobRequestUpdatePriorityRequest) SetSlaDeadline(v string)

SetSlaDeadline gets a reference to the given string and assigns it to the SlaDeadline field.

func (JobRequestUpdatePriorityRequest) ToMap added in v0.2.0

func (o JobRequestUpdatePriorityRequest) ToMap() (map[string]interface{}, error)

func (*JobRequestUpdatePriorityRequest) UnmarshalJSON added in v0.2.0

func (o *JobRequestUpdatePriorityRequest) UnmarshalJSON(data []byte) (err error)

type JobType

type JobType struct {
	// UUID of the business that owns this job type.
	BusinessId *string `json:"business_id,omitempty"`
	// When the job type was created (RFC3339).
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Job type UUID — the stable identifier used in every job-type endpoint.
	Id *string `json:"id,omitempty"`
	// True for platform-seeded system rows, which cannot be modified or deleted.
	IsSystem *bool `json:"is_system,omitempty"`
	// Job type name, localized server-side to the request locale.
	Name *string `json:"name,omitempty"`
	// Lifecycle status. Inactive types remain on historical jobs but cannot be selected for new requests.
	Status *string `json:"status,omitempty"`
	// When the job type was last modified (RFC3339).
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

JobType struct for JobType

func NewJobType

func NewJobType() *JobType

NewJobType instantiates a new JobType object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJobTypeWithDefaults

func NewJobTypeWithDefaults() *JobType

NewJobTypeWithDefaults instantiates a new JobType object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*JobType) GetBusinessId

func (o *JobType) GetBusinessId() string

GetBusinessId returns the BusinessId field value if set, zero value otherwise.

func (*JobType) GetBusinessIdOk

func (o *JobType) GetBusinessIdOk() (*string, bool)

GetBusinessIdOk returns a tuple with the BusinessId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobType) GetCreatedAt

func (o *JobType) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*JobType) GetCreatedAtOk

func (o *JobType) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobType) GetId

func (o *JobType) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*JobType) GetIdOk

func (o *JobType) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobType) GetIsSystem

func (o *JobType) GetIsSystem() bool

GetIsSystem returns the IsSystem field value if set, zero value otherwise.

func (*JobType) GetIsSystemOk

func (o *JobType) GetIsSystemOk() (*bool, bool)

GetIsSystemOk returns a tuple with the IsSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobType) GetName

func (o *JobType) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*JobType) GetNameOk

func (o *JobType) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobType) GetStatus

func (o *JobType) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*JobType) GetStatusOk

func (o *JobType) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobType) GetUpdatedAt

func (o *JobType) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*JobType) GetUpdatedAtOk

func (o *JobType) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JobType) HasBusinessId

func (o *JobType) HasBusinessId() bool

HasBusinessId returns a boolean if a field has been set.

func (*JobType) HasCreatedAt

func (o *JobType) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*JobType) HasId

func (o *JobType) HasId() bool

HasId returns a boolean if a field has been set.

func (*JobType) HasIsSystem

func (o *JobType) HasIsSystem() bool

HasIsSystem returns a boolean if a field has been set.

func (*JobType) HasName

func (o *JobType) HasName() bool

HasName returns a boolean if a field has been set.

func (*JobType) HasStatus

func (o *JobType) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*JobType) HasUpdatedAt

func (o *JobType) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (JobType) MarshalJSON

func (o JobType) MarshalJSON() ([]byte, error)

func (*JobType) SetBusinessId

func (o *JobType) SetBusinessId(v string)

SetBusinessId gets a reference to the given string and assigns it to the BusinessId field.

func (*JobType) SetCreatedAt

func (o *JobType) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*JobType) SetId

func (o *JobType) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*JobType) SetIsSystem

func (o *JobType) SetIsSystem(v bool)

SetIsSystem gets a reference to the given bool and assigns it to the IsSystem field.

func (*JobType) SetName

func (o *JobType) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*JobType) SetStatus

func (o *JobType) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*JobType) SetUpdatedAt

func (o *JobType) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (JobType) ToMap

func (o JobType) ToMap() (map[string]interface{}, error)

type JobTypesAPIService

type JobTypesAPIService service

JobTypesAPIService JobTypesAPI service

func (*JobTypesAPIService) GetJobType

GetJobType Get a job type

Returns one entry of the business's service catalog (job/work-order type) with its localized display name — e.g. an HVAC tune-up, drain cleaning or electrical inspection offering.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Job Type ID
@return ApiGetJobTypeRequest

func (*JobTypesAPIService) GetJobTypeExecute

Execute executes the request

@return GetJobType200Response

func (*JobTypesAPIService) ListJobTypes

ListJobTypes List job types

Returns the business's service catalog — the job/work-order types it offers (e.g. installation, repair, maintenance, inspection for trades like HVAC, plumbing, electrical, cleaning). Use it to discover the `job_type_id` accepted when booking a job request, or to render a services menu on your own site.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListJobTypesRequest

func (*JobTypesAPIService) ListJobTypesExecute

Execute executes the request

@return ListJobTypes200Response

type ListCrewCandidates200Response added in v0.2.0

type ListCrewCandidates200Response struct {
	Data *JobRequestCrewCandidates `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListCrewCandidates200Response struct for ListCrewCandidates200Response

func NewListCrewCandidates200Response added in v0.2.0

func NewListCrewCandidates200Response() *ListCrewCandidates200Response

NewListCrewCandidates200Response instantiates a new ListCrewCandidates200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListCrewCandidates200ResponseWithDefaults added in v0.2.0

func NewListCrewCandidates200ResponseWithDefaults() *ListCrewCandidates200Response

NewListCrewCandidates200ResponseWithDefaults instantiates a new ListCrewCandidates200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListCrewCandidates200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*ListCrewCandidates200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCrewCandidates200Response) GetErrorCode added in v0.2.0

func (o *ListCrewCandidates200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListCrewCandidates200Response) GetErrorCodeOk added in v0.2.0

func (o *ListCrewCandidates200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListCrewCandidates200Response) GetErrors added in v0.2.0

func (o *ListCrewCandidates200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListCrewCandidates200Response) GetErrorsOk added in v0.2.0

func (o *ListCrewCandidates200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListCrewCandidates200Response) GetMessage added in v0.2.0

func (o *ListCrewCandidates200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListCrewCandidates200Response) GetMessageOk added in v0.2.0

func (o *ListCrewCandidates200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCrewCandidates200Response) HasData added in v0.2.0

func (o *ListCrewCandidates200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListCrewCandidates200Response) HasErrorCode added in v0.2.0

func (o *ListCrewCandidates200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListCrewCandidates200Response) HasErrors added in v0.2.0

func (o *ListCrewCandidates200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListCrewCandidates200Response) HasMessage added in v0.2.0

func (o *ListCrewCandidates200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListCrewCandidates200Response) MarshalJSON added in v0.2.0

func (o ListCrewCandidates200Response) MarshalJSON() ([]byte, error)

func (*ListCrewCandidates200Response) SetData added in v0.2.0

SetData gets a reference to the given JobRequestCrewCandidates and assigns it to the Data field.

func (*ListCrewCandidates200Response) SetErrorCode added in v0.2.0

func (o *ListCrewCandidates200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListCrewCandidates200Response) SetErrors added in v0.2.0

func (o *ListCrewCandidates200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListCrewCandidates200Response) SetMessage added in v0.2.0

func (o *ListCrewCandidates200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListCrewCandidates200Response) ToMap added in v0.2.0

func (o ListCrewCandidates200Response) ToMap() (map[string]interface{}, error)

type ListCustomers200Response

type ListCustomers200Response struct {
	Data *CustomerList `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListCustomers200Response struct for ListCustomers200Response

func NewListCustomers200Response

func NewListCustomers200Response() *ListCustomers200Response

NewListCustomers200Response instantiates a new ListCustomers200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListCustomers200ResponseWithDefaults

func NewListCustomers200ResponseWithDefaults() *ListCustomers200Response

NewListCustomers200ResponseWithDefaults instantiates a new ListCustomers200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListCustomers200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListCustomers200Response) GetDataOk

func (o *ListCustomers200Response) GetDataOk() (*CustomerList, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCustomers200Response) GetErrorCode

func (o *ListCustomers200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListCustomers200Response) GetErrorCodeOk

func (o *ListCustomers200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListCustomers200Response) GetErrors

func (o *ListCustomers200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListCustomers200Response) GetErrorsOk

func (o *ListCustomers200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListCustomers200Response) GetMessage

func (o *ListCustomers200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListCustomers200Response) GetMessageOk

func (o *ListCustomers200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListCustomers200Response) HasData

func (o *ListCustomers200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListCustomers200Response) HasErrorCode

func (o *ListCustomers200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListCustomers200Response) HasErrors

func (o *ListCustomers200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListCustomers200Response) HasMessage

func (o *ListCustomers200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListCustomers200Response) MarshalJSON

func (o ListCustomers200Response) MarshalJSON() ([]byte, error)

func (*ListCustomers200Response) SetData

func (o *ListCustomers200Response) SetData(v CustomerList)

SetData gets a reference to the given CustomerList and assigns it to the Data field.

func (*ListCustomers200Response) SetErrorCode

func (o *ListCustomers200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListCustomers200Response) SetErrors

func (o *ListCustomers200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListCustomers200Response) SetMessage

func (o *ListCustomers200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListCustomers200Response) ToMap

func (o ListCustomers200Response) ToMap() (map[string]interface{}, error)

type ListEmergencyCandidates200Response added in v0.2.0

type ListEmergencyCandidates200Response struct {
	Data *JobRequestEmergencyCandidates `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListEmergencyCandidates200Response struct for ListEmergencyCandidates200Response

func NewListEmergencyCandidates200Response added in v0.2.0

func NewListEmergencyCandidates200Response() *ListEmergencyCandidates200Response

NewListEmergencyCandidates200Response instantiates a new ListEmergencyCandidates200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListEmergencyCandidates200ResponseWithDefaults added in v0.2.0

func NewListEmergencyCandidates200ResponseWithDefaults() *ListEmergencyCandidates200Response

NewListEmergencyCandidates200ResponseWithDefaults instantiates a new ListEmergencyCandidates200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListEmergencyCandidates200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*ListEmergencyCandidates200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListEmergencyCandidates200Response) GetErrorCode added in v0.2.0

func (o *ListEmergencyCandidates200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListEmergencyCandidates200Response) GetErrorCodeOk added in v0.2.0

func (o *ListEmergencyCandidates200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListEmergencyCandidates200Response) GetErrors added in v0.2.0

func (o *ListEmergencyCandidates200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListEmergencyCandidates200Response) GetErrorsOk added in v0.2.0

func (o *ListEmergencyCandidates200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListEmergencyCandidates200Response) GetMessage added in v0.2.0

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListEmergencyCandidates200Response) GetMessageOk added in v0.2.0

func (o *ListEmergencyCandidates200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListEmergencyCandidates200Response) HasData added in v0.2.0

HasData returns a boolean if a field has been set.

func (*ListEmergencyCandidates200Response) HasErrorCode added in v0.2.0

func (o *ListEmergencyCandidates200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListEmergencyCandidates200Response) HasErrors added in v0.2.0

HasErrors returns a boolean if a field has been set.

func (*ListEmergencyCandidates200Response) HasMessage added in v0.2.0

func (o *ListEmergencyCandidates200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListEmergencyCandidates200Response) MarshalJSON added in v0.2.0

func (o ListEmergencyCandidates200Response) MarshalJSON() ([]byte, error)

func (*ListEmergencyCandidates200Response) SetData added in v0.2.0

SetData gets a reference to the given JobRequestEmergencyCandidates and assigns it to the Data field.

func (*ListEmergencyCandidates200Response) SetErrorCode added in v0.2.0

func (o *ListEmergencyCandidates200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListEmergencyCandidates200Response) SetErrors added in v0.2.0

func (o *ListEmergencyCandidates200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListEmergencyCandidates200Response) SetMessage added in v0.2.0

func (o *ListEmergencyCandidates200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListEmergencyCandidates200Response) ToMap added in v0.2.0

func (o ListEmergencyCandidates200Response) ToMap() (map[string]interface{}, error)

type ListJobRequestBookingWindows200Response

type ListJobRequestBookingWindows200Response struct {
	Data *JobRequestBookingWindows `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListJobRequestBookingWindows200Response struct for ListJobRequestBookingWindows200Response

func NewListJobRequestBookingWindows200Response

func NewListJobRequestBookingWindows200Response() *ListJobRequestBookingWindows200Response

NewListJobRequestBookingWindows200Response instantiates a new ListJobRequestBookingWindows200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListJobRequestBookingWindows200ResponseWithDefaults

func NewListJobRequestBookingWindows200ResponseWithDefaults() *ListJobRequestBookingWindows200Response

NewListJobRequestBookingWindows200ResponseWithDefaults instantiates a new ListJobRequestBookingWindows200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListJobRequestBookingWindows200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListJobRequestBookingWindows200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListJobRequestBookingWindows200Response) GetErrorCode

func (o *ListJobRequestBookingWindows200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListJobRequestBookingWindows200Response) GetErrorCodeOk

func (o *ListJobRequestBookingWindows200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListJobRequestBookingWindows200Response) GetErrors

func (o *ListJobRequestBookingWindows200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListJobRequestBookingWindows200Response) GetErrorsOk

func (o *ListJobRequestBookingWindows200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListJobRequestBookingWindows200Response) GetMessage

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListJobRequestBookingWindows200Response) GetMessageOk

func (o *ListJobRequestBookingWindows200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListJobRequestBookingWindows200Response) HasData

HasData returns a boolean if a field has been set.

func (*ListJobRequestBookingWindows200Response) HasErrorCode

HasErrorCode returns a boolean if a field has been set.

func (*ListJobRequestBookingWindows200Response) HasErrors

HasErrors returns a boolean if a field has been set.

func (*ListJobRequestBookingWindows200Response) HasMessage

HasMessage returns a boolean if a field has been set.

func (ListJobRequestBookingWindows200Response) MarshalJSON

func (o ListJobRequestBookingWindows200Response) MarshalJSON() ([]byte, error)

func (*ListJobRequestBookingWindows200Response) SetData

SetData gets a reference to the given JobRequestBookingWindows and assigns it to the Data field.

func (*ListJobRequestBookingWindows200Response) SetErrorCode

func (o *ListJobRequestBookingWindows200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListJobRequestBookingWindows200Response) SetErrors

func (o *ListJobRequestBookingWindows200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListJobRequestBookingWindows200Response) SetMessage

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListJobRequestBookingWindows200Response) ToMap

func (o ListJobRequestBookingWindows200Response) ToMap() (map[string]interface{}, error)

type ListJobRequestChanges200Response

type ListJobRequestChanges200Response struct {
	Data *JobRequestChanges `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListJobRequestChanges200Response struct for ListJobRequestChanges200Response

func NewListJobRequestChanges200Response

func NewListJobRequestChanges200Response() *ListJobRequestChanges200Response

NewListJobRequestChanges200Response instantiates a new ListJobRequestChanges200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListJobRequestChanges200ResponseWithDefaults

func NewListJobRequestChanges200ResponseWithDefaults() *ListJobRequestChanges200Response

NewListJobRequestChanges200ResponseWithDefaults instantiates a new ListJobRequestChanges200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListJobRequestChanges200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListJobRequestChanges200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListJobRequestChanges200Response) GetErrorCode

func (o *ListJobRequestChanges200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListJobRequestChanges200Response) GetErrorCodeOk

func (o *ListJobRequestChanges200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListJobRequestChanges200Response) GetErrors

func (o *ListJobRequestChanges200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListJobRequestChanges200Response) GetErrorsOk

func (o *ListJobRequestChanges200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListJobRequestChanges200Response) GetMessage

func (o *ListJobRequestChanges200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListJobRequestChanges200Response) GetMessageOk

func (o *ListJobRequestChanges200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListJobRequestChanges200Response) HasData

HasData returns a boolean if a field has been set.

func (*ListJobRequestChanges200Response) HasErrorCode

func (o *ListJobRequestChanges200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListJobRequestChanges200Response) HasErrors

func (o *ListJobRequestChanges200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListJobRequestChanges200Response) HasMessage

func (o *ListJobRequestChanges200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListJobRequestChanges200Response) MarshalJSON

func (o ListJobRequestChanges200Response) MarshalJSON() ([]byte, error)

func (*ListJobRequestChanges200Response) SetData

SetData gets a reference to the given JobRequestChanges and assigns it to the Data field.

func (*ListJobRequestChanges200Response) SetErrorCode

func (o *ListJobRequestChanges200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListJobRequestChanges200Response) SetErrors

func (o *ListJobRequestChanges200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListJobRequestChanges200Response) SetMessage

func (o *ListJobRequestChanges200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListJobRequestChanges200Response) ToMap

func (o ListJobRequestChanges200Response) ToMap() (map[string]interface{}, error)

type ListJobRequests200Response

type ListJobRequests200Response struct {
	Data *JobRequestList `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListJobRequests200Response struct for ListJobRequests200Response

func NewListJobRequests200Response

func NewListJobRequests200Response() *ListJobRequests200Response

NewListJobRequests200Response instantiates a new ListJobRequests200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListJobRequests200ResponseWithDefaults

func NewListJobRequests200ResponseWithDefaults() *ListJobRequests200Response

NewListJobRequests200ResponseWithDefaults instantiates a new ListJobRequests200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListJobRequests200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListJobRequests200Response) GetDataOk

func (o *ListJobRequests200Response) GetDataOk() (*JobRequestList, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListJobRequests200Response) GetErrorCode

func (o *ListJobRequests200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListJobRequests200Response) GetErrorCodeOk

func (o *ListJobRequests200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListJobRequests200Response) GetErrors

func (o *ListJobRequests200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListJobRequests200Response) GetErrorsOk

func (o *ListJobRequests200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListJobRequests200Response) GetMessage

func (o *ListJobRequests200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListJobRequests200Response) GetMessageOk

func (o *ListJobRequests200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListJobRequests200Response) HasData

func (o *ListJobRequests200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListJobRequests200Response) HasErrorCode

func (o *ListJobRequests200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListJobRequests200Response) HasErrors

func (o *ListJobRequests200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListJobRequests200Response) HasMessage

func (o *ListJobRequests200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListJobRequests200Response) MarshalJSON

func (o ListJobRequests200Response) MarshalJSON() ([]byte, error)

func (*ListJobRequests200Response) SetData

SetData gets a reference to the given JobRequestList and assigns it to the Data field.

func (*ListJobRequests200Response) SetErrorCode

func (o *ListJobRequests200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListJobRequests200Response) SetErrors

func (o *ListJobRequests200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListJobRequests200Response) SetMessage

func (o *ListJobRequests200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListJobRequests200Response) ToMap

func (o ListJobRequests200Response) ToMap() (map[string]interface{}, error)

type ListJobTypes200Response

type ListJobTypes200Response struct {
	Data []JobType `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListJobTypes200Response struct for ListJobTypes200Response

func NewListJobTypes200Response

func NewListJobTypes200Response() *ListJobTypes200Response

NewListJobTypes200Response instantiates a new ListJobTypes200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListJobTypes200ResponseWithDefaults

func NewListJobTypes200ResponseWithDefaults() *ListJobTypes200Response

NewListJobTypes200ResponseWithDefaults instantiates a new ListJobTypes200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListJobTypes200Response) GetData

func (o *ListJobTypes200Response) GetData() []JobType

GetData returns the Data field value if set, zero value otherwise.

func (*ListJobTypes200Response) GetDataOk

func (o *ListJobTypes200Response) GetDataOk() ([]JobType, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListJobTypes200Response) GetErrorCode

func (o *ListJobTypes200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListJobTypes200Response) GetErrorCodeOk

func (o *ListJobTypes200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListJobTypes200Response) GetErrors

func (o *ListJobTypes200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListJobTypes200Response) GetErrorsOk

func (o *ListJobTypes200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListJobTypes200Response) GetMessage

func (o *ListJobTypes200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListJobTypes200Response) GetMessageOk

func (o *ListJobTypes200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListJobTypes200Response) HasData

func (o *ListJobTypes200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListJobTypes200Response) HasErrorCode

func (o *ListJobTypes200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListJobTypes200Response) HasErrors

func (o *ListJobTypes200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListJobTypes200Response) HasMessage

func (o *ListJobTypes200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListJobTypes200Response) MarshalJSON

func (o ListJobTypes200Response) MarshalJSON() ([]byte, error)

func (*ListJobTypes200Response) SetData

func (o *ListJobTypes200Response) SetData(v []JobType)

SetData gets a reference to the given []JobType and assigns it to the Data field.

func (*ListJobTypes200Response) SetErrorCode

func (o *ListJobTypes200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListJobTypes200Response) SetErrors

func (o *ListJobTypes200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListJobTypes200Response) SetMessage

func (o *ListJobTypes200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListJobTypes200Response) ToMap

func (o ListJobTypes200Response) ToMap() (map[string]interface{}, error)

type ListMatchingSlots200Response added in v0.2.0

type ListMatchingSlots200Response struct {
	Data *JobRequestTimeSegments `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListMatchingSlots200Response struct for ListMatchingSlots200Response

func NewListMatchingSlots200Response added in v0.2.0

func NewListMatchingSlots200Response() *ListMatchingSlots200Response

NewListMatchingSlots200Response instantiates a new ListMatchingSlots200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListMatchingSlots200ResponseWithDefaults added in v0.2.0

func NewListMatchingSlots200ResponseWithDefaults() *ListMatchingSlots200Response

NewListMatchingSlots200ResponseWithDefaults instantiates a new ListMatchingSlots200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListMatchingSlots200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*ListMatchingSlots200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListMatchingSlots200Response) GetErrorCode added in v0.2.0

func (o *ListMatchingSlots200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListMatchingSlots200Response) GetErrorCodeOk added in v0.2.0

func (o *ListMatchingSlots200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMatchingSlots200Response) GetErrors added in v0.2.0

func (o *ListMatchingSlots200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListMatchingSlots200Response) GetErrorsOk added in v0.2.0

func (o *ListMatchingSlots200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListMatchingSlots200Response) GetMessage added in v0.2.0

func (o *ListMatchingSlots200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListMatchingSlots200Response) GetMessageOk added in v0.2.0

func (o *ListMatchingSlots200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListMatchingSlots200Response) HasData added in v0.2.0

func (o *ListMatchingSlots200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListMatchingSlots200Response) HasErrorCode added in v0.2.0

func (o *ListMatchingSlots200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListMatchingSlots200Response) HasErrors added in v0.2.0

func (o *ListMatchingSlots200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListMatchingSlots200Response) HasMessage added in v0.2.0

func (o *ListMatchingSlots200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListMatchingSlots200Response) MarshalJSON added in v0.2.0

func (o ListMatchingSlots200Response) MarshalJSON() ([]byte, error)

func (*ListMatchingSlots200Response) SetData added in v0.2.0

SetData gets a reference to the given JobRequestTimeSegments and assigns it to the Data field.

func (*ListMatchingSlots200Response) SetErrorCode added in v0.2.0

func (o *ListMatchingSlots200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListMatchingSlots200Response) SetErrors added in v0.2.0

func (o *ListMatchingSlots200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListMatchingSlots200Response) SetMessage added in v0.2.0

func (o *ListMatchingSlots200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListMatchingSlots200Response) ToMap added in v0.2.0

func (o ListMatchingSlots200Response) ToMap() (map[string]interface{}, error)

type ListNearbyTechnicians200Response added in v0.2.0

type ListNearbyTechnicians200Response struct {
	Data *NearbyTechnicians `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListNearbyTechnicians200Response struct for ListNearbyTechnicians200Response

func NewListNearbyTechnicians200Response added in v0.2.0

func NewListNearbyTechnicians200Response() *ListNearbyTechnicians200Response

NewListNearbyTechnicians200Response instantiates a new ListNearbyTechnicians200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListNearbyTechnicians200ResponseWithDefaults added in v0.2.0

func NewListNearbyTechnicians200ResponseWithDefaults() *ListNearbyTechnicians200Response

NewListNearbyTechnicians200ResponseWithDefaults instantiates a new ListNearbyTechnicians200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListNearbyTechnicians200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*ListNearbyTechnicians200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListNearbyTechnicians200Response) GetErrorCode added in v0.2.0

func (o *ListNearbyTechnicians200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListNearbyTechnicians200Response) GetErrorCodeOk added in v0.2.0

func (o *ListNearbyTechnicians200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListNearbyTechnicians200Response) GetErrors added in v0.2.0

func (o *ListNearbyTechnicians200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListNearbyTechnicians200Response) GetErrorsOk added in v0.2.0

func (o *ListNearbyTechnicians200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListNearbyTechnicians200Response) GetMessage added in v0.2.0

func (o *ListNearbyTechnicians200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListNearbyTechnicians200Response) GetMessageOk added in v0.2.0

func (o *ListNearbyTechnicians200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListNearbyTechnicians200Response) HasData added in v0.2.0

HasData returns a boolean if a field has been set.

func (*ListNearbyTechnicians200Response) HasErrorCode added in v0.2.0

func (o *ListNearbyTechnicians200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListNearbyTechnicians200Response) HasErrors added in v0.2.0

func (o *ListNearbyTechnicians200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListNearbyTechnicians200Response) HasMessage added in v0.2.0

func (o *ListNearbyTechnicians200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListNearbyTechnicians200Response) MarshalJSON added in v0.2.0

func (o ListNearbyTechnicians200Response) MarshalJSON() ([]byte, error)

func (*ListNearbyTechnicians200Response) SetData added in v0.2.0

SetData gets a reference to the given NearbyTechnicians and assigns it to the Data field.

func (*ListNearbyTechnicians200Response) SetErrorCode added in v0.2.0

func (o *ListNearbyTechnicians200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListNearbyTechnicians200Response) SetErrors added in v0.2.0

func (o *ListNearbyTechnicians200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListNearbyTechnicians200Response) SetMessage added in v0.2.0

func (o *ListNearbyTechnicians200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListNearbyTechnicians200Response) ToMap added in v0.2.0

func (o ListNearbyTechnicians200Response) ToMap() (map[string]interface{}, error)

type ListServiceAreas200Response

type ListServiceAreas200Response struct {
	Data *ServiceAreaList `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListServiceAreas200Response struct for ListServiceAreas200Response

func NewListServiceAreas200Response

func NewListServiceAreas200Response() *ListServiceAreas200Response

NewListServiceAreas200Response instantiates a new ListServiceAreas200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListServiceAreas200ResponseWithDefaults

func NewListServiceAreas200ResponseWithDefaults() *ListServiceAreas200Response

NewListServiceAreas200ResponseWithDefaults instantiates a new ListServiceAreas200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListServiceAreas200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListServiceAreas200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListServiceAreas200Response) GetErrorCode

func (o *ListServiceAreas200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListServiceAreas200Response) GetErrorCodeOk

func (o *ListServiceAreas200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListServiceAreas200Response) GetErrors

func (o *ListServiceAreas200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListServiceAreas200Response) GetErrorsOk

func (o *ListServiceAreas200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListServiceAreas200Response) GetMessage

func (o *ListServiceAreas200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListServiceAreas200Response) GetMessageOk

func (o *ListServiceAreas200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListServiceAreas200Response) HasData

func (o *ListServiceAreas200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListServiceAreas200Response) HasErrorCode

func (o *ListServiceAreas200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListServiceAreas200Response) HasErrors

func (o *ListServiceAreas200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListServiceAreas200Response) HasMessage

func (o *ListServiceAreas200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListServiceAreas200Response) MarshalJSON

func (o ListServiceAreas200Response) MarshalJSON() ([]byte, error)

func (*ListServiceAreas200Response) SetData

SetData gets a reference to the given ServiceAreaList and assigns it to the Data field.

func (*ListServiceAreas200Response) SetErrorCode

func (o *ListServiceAreas200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListServiceAreas200Response) SetErrors

func (o *ListServiceAreas200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListServiceAreas200Response) SetMessage

func (o *ListServiceAreas200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListServiceAreas200Response) ToMap

func (o ListServiceAreas200Response) ToMap() (map[string]interface{}, error)

type ListSkillCategories200Response

type ListSkillCategories200Response struct {
	Data *SkillCategoryList `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListSkillCategories200Response struct for ListSkillCategories200Response

func NewListSkillCategories200Response

func NewListSkillCategories200Response() *ListSkillCategories200Response

NewListSkillCategories200Response instantiates a new ListSkillCategories200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListSkillCategories200ResponseWithDefaults

func NewListSkillCategories200ResponseWithDefaults() *ListSkillCategories200Response

NewListSkillCategories200ResponseWithDefaults instantiates a new ListSkillCategories200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListSkillCategories200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListSkillCategories200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListSkillCategories200Response) GetErrorCode

func (o *ListSkillCategories200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListSkillCategories200Response) GetErrorCodeOk

func (o *ListSkillCategories200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListSkillCategories200Response) GetErrors

func (o *ListSkillCategories200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListSkillCategories200Response) GetErrorsOk

func (o *ListSkillCategories200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListSkillCategories200Response) GetMessage

func (o *ListSkillCategories200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListSkillCategories200Response) GetMessageOk

func (o *ListSkillCategories200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListSkillCategories200Response) HasData

func (o *ListSkillCategories200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListSkillCategories200Response) HasErrorCode

func (o *ListSkillCategories200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListSkillCategories200Response) HasErrors

func (o *ListSkillCategories200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListSkillCategories200Response) HasMessage

func (o *ListSkillCategories200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListSkillCategories200Response) MarshalJSON

func (o ListSkillCategories200Response) MarshalJSON() ([]byte, error)

func (*ListSkillCategories200Response) SetData

SetData gets a reference to the given SkillCategoryList and assigns it to the Data field.

func (*ListSkillCategories200Response) SetErrorCode

func (o *ListSkillCategories200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListSkillCategories200Response) SetErrors

func (o *ListSkillCategories200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListSkillCategories200Response) SetMessage

func (o *ListSkillCategories200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListSkillCategories200Response) ToMap

func (o ListSkillCategories200Response) ToMap() (map[string]interface{}, error)

type ListSkills200Response

type ListSkills200Response struct {
	Data *SkillList `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListSkills200Response struct for ListSkills200Response

func NewListSkills200Response

func NewListSkills200Response() *ListSkills200Response

NewListSkills200Response instantiates a new ListSkills200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListSkills200ResponseWithDefaults

func NewListSkills200ResponseWithDefaults() *ListSkills200Response

NewListSkills200ResponseWithDefaults instantiates a new ListSkills200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListSkills200Response) GetData

func (o *ListSkills200Response) GetData() SkillList

GetData returns the Data field value if set, zero value otherwise.

func (*ListSkills200Response) GetDataOk

func (o *ListSkills200Response) GetDataOk() (*SkillList, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListSkills200Response) GetErrorCode

func (o *ListSkills200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListSkills200Response) GetErrorCodeOk

func (o *ListSkills200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListSkills200Response) GetErrors

func (o *ListSkills200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListSkills200Response) GetErrorsOk

func (o *ListSkills200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListSkills200Response) GetMessage

func (o *ListSkills200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListSkills200Response) GetMessageOk

func (o *ListSkills200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListSkills200Response) HasData

func (o *ListSkills200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListSkills200Response) HasErrorCode

func (o *ListSkills200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListSkills200Response) HasErrors

func (o *ListSkills200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListSkills200Response) HasMessage

func (o *ListSkills200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListSkills200Response) MarshalJSON

func (o ListSkills200Response) MarshalJSON() ([]byte, error)

func (*ListSkills200Response) SetData

func (o *ListSkills200Response) SetData(v SkillList)

SetData gets a reference to the given SkillList and assigns it to the Data field.

func (*ListSkills200Response) SetErrorCode

func (o *ListSkills200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListSkills200Response) SetErrors

func (o *ListSkills200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListSkills200Response) SetMessage

func (o *ListSkills200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListSkills200Response) ToMap

func (o ListSkills200Response) ToMap() (map[string]interface{}, error)

type ListSkillsByCategory200Response

type ListSkillsByCategory200Response struct {
	Data *SkillByCategoryList `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListSkillsByCategory200Response struct for ListSkillsByCategory200Response

func NewListSkillsByCategory200Response

func NewListSkillsByCategory200Response() *ListSkillsByCategory200Response

NewListSkillsByCategory200Response instantiates a new ListSkillsByCategory200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListSkillsByCategory200ResponseWithDefaults

func NewListSkillsByCategory200ResponseWithDefaults() *ListSkillsByCategory200Response

NewListSkillsByCategory200ResponseWithDefaults instantiates a new ListSkillsByCategory200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListSkillsByCategory200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListSkillsByCategory200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListSkillsByCategory200Response) GetErrorCode

func (o *ListSkillsByCategory200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListSkillsByCategory200Response) GetErrorCodeOk

func (o *ListSkillsByCategory200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListSkillsByCategory200Response) GetErrors

func (o *ListSkillsByCategory200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListSkillsByCategory200Response) GetErrorsOk

func (o *ListSkillsByCategory200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListSkillsByCategory200Response) GetMessage

func (o *ListSkillsByCategory200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListSkillsByCategory200Response) GetMessageOk

func (o *ListSkillsByCategory200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListSkillsByCategory200Response) HasData

HasData returns a boolean if a field has been set.

func (*ListSkillsByCategory200Response) HasErrorCode

func (o *ListSkillsByCategory200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListSkillsByCategory200Response) HasErrors

func (o *ListSkillsByCategory200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListSkillsByCategory200Response) HasMessage

func (o *ListSkillsByCategory200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListSkillsByCategory200Response) MarshalJSON

func (o ListSkillsByCategory200Response) MarshalJSON() ([]byte, error)

func (*ListSkillsByCategory200Response) SetData

SetData gets a reference to the given SkillByCategoryList and assigns it to the Data field.

func (*ListSkillsByCategory200Response) SetErrorCode

func (o *ListSkillsByCategory200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListSkillsByCategory200Response) SetErrors

func (o *ListSkillsByCategory200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListSkillsByCategory200Response) SetMessage

func (o *ListSkillsByCategory200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListSkillsByCategory200Response) ToMap

func (o ListSkillsByCategory200Response) ToMap() (map[string]interface{}, error)

type ListTechnicianSkills200Response added in v0.2.0

type ListTechnicianSkills200Response struct {
	Data *TechnicianSkillList `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListTechnicianSkills200Response struct for ListTechnicianSkills200Response

func NewListTechnicianSkills200Response added in v0.2.0

func NewListTechnicianSkills200Response() *ListTechnicianSkills200Response

NewListTechnicianSkills200Response instantiates a new ListTechnicianSkills200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListTechnicianSkills200ResponseWithDefaults added in v0.2.0

func NewListTechnicianSkills200ResponseWithDefaults() *ListTechnicianSkills200Response

NewListTechnicianSkills200ResponseWithDefaults instantiates a new ListTechnicianSkills200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListTechnicianSkills200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*ListTechnicianSkills200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListTechnicianSkills200Response) GetErrorCode added in v0.2.0

func (o *ListTechnicianSkills200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListTechnicianSkills200Response) GetErrorCodeOk added in v0.2.0

func (o *ListTechnicianSkills200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListTechnicianSkills200Response) GetErrors added in v0.2.0

func (o *ListTechnicianSkills200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListTechnicianSkills200Response) GetErrorsOk added in v0.2.0

func (o *ListTechnicianSkills200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListTechnicianSkills200Response) GetMessage added in v0.2.0

func (o *ListTechnicianSkills200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListTechnicianSkills200Response) GetMessageOk added in v0.2.0

func (o *ListTechnicianSkills200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListTechnicianSkills200Response) HasData added in v0.2.0

HasData returns a boolean if a field has been set.

func (*ListTechnicianSkills200Response) HasErrorCode added in v0.2.0

func (o *ListTechnicianSkills200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListTechnicianSkills200Response) HasErrors added in v0.2.0

func (o *ListTechnicianSkills200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListTechnicianSkills200Response) HasMessage added in v0.2.0

func (o *ListTechnicianSkills200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListTechnicianSkills200Response) MarshalJSON added in v0.2.0

func (o ListTechnicianSkills200Response) MarshalJSON() ([]byte, error)

func (*ListTechnicianSkills200Response) SetData added in v0.2.0

SetData gets a reference to the given TechnicianSkillList and assigns it to the Data field.

func (*ListTechnicianSkills200Response) SetErrorCode added in v0.2.0

func (o *ListTechnicianSkills200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListTechnicianSkills200Response) SetErrors added in v0.2.0

func (o *ListTechnicianSkills200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListTechnicianSkills200Response) SetMessage added in v0.2.0

func (o *ListTechnicianSkills200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListTechnicianSkills200Response) ToMap added in v0.2.0

func (o ListTechnicianSkills200Response) ToMap() (map[string]interface{}, error)

type ListTechnicians200Response

type ListTechnicians200Response struct {
	Data *TechnicianList `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListTechnicians200Response struct for ListTechnicians200Response

func NewListTechnicians200Response

func NewListTechnicians200Response() *ListTechnicians200Response

NewListTechnicians200Response instantiates a new ListTechnicians200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListTechnicians200ResponseWithDefaults

func NewListTechnicians200ResponseWithDefaults() *ListTechnicians200Response

NewListTechnicians200ResponseWithDefaults instantiates a new ListTechnicians200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListTechnicians200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*ListTechnicians200Response) GetDataOk

func (o *ListTechnicians200Response) GetDataOk() (*TechnicianList, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListTechnicians200Response) GetErrorCode

func (o *ListTechnicians200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListTechnicians200Response) GetErrorCodeOk

func (o *ListTechnicians200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListTechnicians200Response) GetErrors

func (o *ListTechnicians200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListTechnicians200Response) GetErrorsOk

func (o *ListTechnicians200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListTechnicians200Response) GetMessage

func (o *ListTechnicians200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListTechnicians200Response) GetMessageOk

func (o *ListTechnicians200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListTechnicians200Response) HasData

func (o *ListTechnicians200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListTechnicians200Response) HasErrorCode

func (o *ListTechnicians200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListTechnicians200Response) HasErrors

func (o *ListTechnicians200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListTechnicians200Response) HasMessage

func (o *ListTechnicians200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListTechnicians200Response) MarshalJSON

func (o ListTechnicians200Response) MarshalJSON() ([]byte, error)

func (*ListTechnicians200Response) SetData

SetData gets a reference to the given TechnicianList and assigns it to the Data field.

func (*ListTechnicians200Response) SetErrorCode

func (o *ListTechnicians200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListTechnicians200Response) SetErrors

func (o *ListTechnicians200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListTechnicians200Response) SetMessage

func (o *ListTechnicians200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListTechnicians200Response) ToMap

func (o ListTechnicians200Response) ToMap() (map[string]interface{}, error)

type ListVehicles200Response

type ListVehicles200Response struct {
	Data *VehicleList `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ListVehicles200Response struct for ListVehicles200Response

func NewListVehicles200Response

func NewListVehicles200Response() *ListVehicles200Response

NewListVehicles200Response instantiates a new ListVehicles200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewListVehicles200ResponseWithDefaults

func NewListVehicles200ResponseWithDefaults() *ListVehicles200Response

NewListVehicles200ResponseWithDefaults instantiates a new ListVehicles200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ListVehicles200Response) GetData

func (o *ListVehicles200Response) GetData() VehicleList

GetData returns the Data field value if set, zero value otherwise.

func (*ListVehicles200Response) GetDataOk

func (o *ListVehicles200Response) GetDataOk() (*VehicleList, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListVehicles200Response) GetErrorCode

func (o *ListVehicles200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListVehicles200Response) GetErrorCodeOk

func (o *ListVehicles200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListVehicles200Response) GetErrors

func (o *ListVehicles200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ListVehicles200Response) GetErrorsOk

func (o *ListVehicles200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ListVehicles200Response) GetMessage

func (o *ListVehicles200Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListVehicles200Response) GetMessageOk

func (o *ListVehicles200Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ListVehicles200Response) HasData

func (o *ListVehicles200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*ListVehicles200Response) HasErrorCode

func (o *ListVehicles200Response) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ListVehicles200Response) HasErrors

func (o *ListVehicles200Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ListVehicles200Response) HasMessage

func (o *ListVehicles200Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ListVehicles200Response) MarshalJSON

func (o ListVehicles200Response) MarshalJSON() ([]byte, error)

func (*ListVehicles200Response) SetData

func (o *ListVehicles200Response) SetData(v VehicleList)

SetData gets a reference to the given VehicleList and assigns it to the Data field.

func (*ListVehicles200Response) SetErrorCode

func (o *ListVehicles200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ListVehicles200Response) SetErrors

func (o *ListVehicles200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ListVehicles200Response) SetMessage

func (o *ListVehicles200Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ListVehicles200Response) ToMap

func (o ListVehicles200Response) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NearbyTechnician added in v0.2.0

type NearbyTechnician struct {
	// Minutes already booked that day (workload context).
	BookedMinutes *int32 `json:"booked_minutes,omitempty"`
	// Estimated distance from the tech's start location to the site, in kilometers.
	DistanceKm *float32 `json:"distance_km,omitempty"`
	// Candidate technician's full name. Omitted when unresolved.
	FullName *string `json:"full_name,omitempty"`
	// Number of desired skills the tech matches (when skill_ids sent).
	MatchedSkills *int32 `json:"matched_skills,omitempty"`
	// UUID of the candidate technician.
	TechnicianId *string `json:"technician_id,omitempty"`
	// Assignment tier (lead | buddy | float).
	Tier *string `json:"tier,omitempty"`
	// Smart-assign engine ranking score (higher = better fit).
	TotalScore *float32 `json:"total_score,omitempty"`
	// ETA estimate in minutes from the tech's start location (static origin — no live GPS; a ranking hint, not a promise).
	TravelMinutes *float32 `json:"travel_minutes,omitempty"`
}

NearbyTechnician struct for NearbyTechnician

func NewNearbyTechnician added in v0.2.0

func NewNearbyTechnician() *NearbyTechnician

NewNearbyTechnician instantiates a new NearbyTechnician object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNearbyTechnicianWithDefaults added in v0.2.0

func NewNearbyTechnicianWithDefaults() *NearbyTechnician

NewNearbyTechnicianWithDefaults instantiates a new NearbyTechnician object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NearbyTechnician) GetBookedMinutes added in v0.2.0

func (o *NearbyTechnician) GetBookedMinutes() int32

GetBookedMinutes returns the BookedMinutes field value if set, zero value otherwise.

func (*NearbyTechnician) GetBookedMinutesOk added in v0.2.0

func (o *NearbyTechnician) GetBookedMinutesOk() (*int32, bool)

GetBookedMinutesOk returns a tuple with the BookedMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnician) GetDistanceKm added in v0.2.0

func (o *NearbyTechnician) GetDistanceKm() float32

GetDistanceKm returns the DistanceKm field value if set, zero value otherwise.

func (*NearbyTechnician) GetDistanceKmOk added in v0.2.0

func (o *NearbyTechnician) GetDistanceKmOk() (*float32, bool)

GetDistanceKmOk returns a tuple with the DistanceKm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnician) GetFullName added in v0.2.0

func (o *NearbyTechnician) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*NearbyTechnician) GetFullNameOk added in v0.2.0

func (o *NearbyTechnician) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnician) GetMatchedSkills added in v0.2.0

func (o *NearbyTechnician) GetMatchedSkills() int32

GetMatchedSkills returns the MatchedSkills field value if set, zero value otherwise.

func (*NearbyTechnician) GetMatchedSkillsOk added in v0.2.0

func (o *NearbyTechnician) GetMatchedSkillsOk() (*int32, bool)

GetMatchedSkillsOk returns a tuple with the MatchedSkills field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnician) GetTechnicianId added in v0.2.0

func (o *NearbyTechnician) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*NearbyTechnician) GetTechnicianIdOk added in v0.2.0

func (o *NearbyTechnician) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnician) GetTier added in v0.2.0

func (o *NearbyTechnician) GetTier() string

GetTier returns the Tier field value if set, zero value otherwise.

func (*NearbyTechnician) GetTierOk added in v0.2.0

func (o *NearbyTechnician) GetTierOk() (*string, bool)

GetTierOk returns a tuple with the Tier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnician) GetTotalScore added in v0.2.0

func (o *NearbyTechnician) GetTotalScore() float32

GetTotalScore returns the TotalScore field value if set, zero value otherwise.

func (*NearbyTechnician) GetTotalScoreOk added in v0.2.0

func (o *NearbyTechnician) GetTotalScoreOk() (*float32, bool)

GetTotalScoreOk returns a tuple with the TotalScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnician) GetTravelMinutes added in v0.2.0

func (o *NearbyTechnician) GetTravelMinutes() float32

GetTravelMinutes returns the TravelMinutes field value if set, zero value otherwise.

func (*NearbyTechnician) GetTravelMinutesOk added in v0.2.0

func (o *NearbyTechnician) GetTravelMinutesOk() (*float32, bool)

GetTravelMinutesOk returns a tuple with the TravelMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnician) HasBookedMinutes added in v0.2.0

func (o *NearbyTechnician) HasBookedMinutes() bool

HasBookedMinutes returns a boolean if a field has been set.

func (*NearbyTechnician) HasDistanceKm added in v0.2.0

func (o *NearbyTechnician) HasDistanceKm() bool

HasDistanceKm returns a boolean if a field has been set.

func (*NearbyTechnician) HasFullName added in v0.2.0

func (o *NearbyTechnician) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*NearbyTechnician) HasMatchedSkills added in v0.2.0

func (o *NearbyTechnician) HasMatchedSkills() bool

HasMatchedSkills returns a boolean if a field has been set.

func (*NearbyTechnician) HasTechnicianId added in v0.2.0

func (o *NearbyTechnician) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*NearbyTechnician) HasTier added in v0.2.0

func (o *NearbyTechnician) HasTier() bool

HasTier returns a boolean if a field has been set.

func (*NearbyTechnician) HasTotalScore added in v0.2.0

func (o *NearbyTechnician) HasTotalScore() bool

HasTotalScore returns a boolean if a field has been set.

func (*NearbyTechnician) HasTravelMinutes added in v0.2.0

func (o *NearbyTechnician) HasTravelMinutes() bool

HasTravelMinutes returns a boolean if a field has been set.

func (NearbyTechnician) MarshalJSON added in v0.2.0

func (o NearbyTechnician) MarshalJSON() ([]byte, error)

func (*NearbyTechnician) SetBookedMinutes added in v0.2.0

func (o *NearbyTechnician) SetBookedMinutes(v int32)

SetBookedMinutes gets a reference to the given int32 and assigns it to the BookedMinutes field.

func (*NearbyTechnician) SetDistanceKm added in v0.2.0

func (o *NearbyTechnician) SetDistanceKm(v float32)

SetDistanceKm gets a reference to the given float32 and assigns it to the DistanceKm field.

func (*NearbyTechnician) SetFullName added in v0.2.0

func (o *NearbyTechnician) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*NearbyTechnician) SetMatchedSkills added in v0.2.0

func (o *NearbyTechnician) SetMatchedSkills(v int32)

SetMatchedSkills gets a reference to the given int32 and assigns it to the MatchedSkills field.

func (*NearbyTechnician) SetTechnicianId added in v0.2.0

func (o *NearbyTechnician) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*NearbyTechnician) SetTier added in v0.2.0

func (o *NearbyTechnician) SetTier(v string)

SetTier gets a reference to the given string and assigns it to the Tier field.

func (*NearbyTechnician) SetTotalScore added in v0.2.0

func (o *NearbyTechnician) SetTotalScore(v float32)

SetTotalScore gets a reference to the given float32 and assigns it to the TotalScore field.

func (*NearbyTechnician) SetTravelMinutes added in v0.2.0

func (o *NearbyTechnician) SetTravelMinutes(v float32)

SetTravelMinutes gets a reference to the given float32 and assigns it to the TravelMinutes field.

func (NearbyTechnician) ToMap added in v0.2.0

func (o NearbyTechnician) ToMap() (map[string]interface{}, error)

type NearbyTechnicians added in v0.2.0

type NearbyTechnicians struct {
	// The visit instant evaluated (UTC).
	At *time.Time `json:"at,omitempty"`
	// Visit length assumed, in minutes.
	DurationMinutes *int32 `json:"duration_minutes,omitempty"`
	// Feasible technicians, nearest-arrival first.
	Technicians []NearbyTechnician `json:"technicians,omitempty"`
}

NearbyTechnicians struct for NearbyTechnicians

func NewNearbyTechnicians added in v0.2.0

func NewNearbyTechnicians() *NearbyTechnicians

NewNearbyTechnicians instantiates a new NearbyTechnicians object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNearbyTechniciansWithDefaults added in v0.2.0

func NewNearbyTechniciansWithDefaults() *NearbyTechnicians

NewNearbyTechniciansWithDefaults instantiates a new NearbyTechnicians object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NearbyTechnicians) GetAt added in v0.2.0

func (o *NearbyTechnicians) GetAt() time.Time

GetAt returns the At field value if set, zero value otherwise.

func (*NearbyTechnicians) GetAtOk added in v0.2.0

func (o *NearbyTechnicians) GetAtOk() (*time.Time, bool)

GetAtOk returns a tuple with the At field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnicians) GetDurationMinutes added in v0.2.0

func (o *NearbyTechnicians) GetDurationMinutes() int32

GetDurationMinutes returns the DurationMinutes field value if set, zero value otherwise.

func (*NearbyTechnicians) GetDurationMinutesOk added in v0.2.0

func (o *NearbyTechnicians) GetDurationMinutesOk() (*int32, bool)

GetDurationMinutesOk returns a tuple with the DurationMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnicians) GetTechnicians added in v0.2.0

func (o *NearbyTechnicians) GetTechnicians() []NearbyTechnician

GetTechnicians returns the Technicians field value if set, zero value otherwise.

func (*NearbyTechnicians) GetTechniciansOk added in v0.2.0

func (o *NearbyTechnicians) GetTechniciansOk() ([]NearbyTechnician, bool)

GetTechniciansOk returns a tuple with the Technicians field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NearbyTechnicians) HasAt added in v0.2.0

func (o *NearbyTechnicians) HasAt() bool

HasAt returns a boolean if a field has been set.

func (*NearbyTechnicians) HasDurationMinutes added in v0.2.0

func (o *NearbyTechnicians) HasDurationMinutes() bool

HasDurationMinutes returns a boolean if a field has been set.

func (*NearbyTechnicians) HasTechnicians added in v0.2.0

func (o *NearbyTechnicians) HasTechnicians() bool

HasTechnicians returns a boolean if a field has been set.

func (NearbyTechnicians) MarshalJSON added in v0.2.0

func (o NearbyTechnicians) MarshalJSON() ([]byte, error)

func (*NearbyTechnicians) SetAt added in v0.2.0

func (o *NearbyTechnicians) SetAt(v time.Time)

SetAt gets a reference to the given time.Time and assigns it to the At field.

func (*NearbyTechnicians) SetDurationMinutes added in v0.2.0

func (o *NearbyTechnicians) SetDurationMinutes(v int32)

SetDurationMinutes gets a reference to the given int32 and assigns it to the DurationMinutes field.

func (*NearbyTechnicians) SetTechnicians added in v0.2.0

func (o *NearbyTechnicians) SetTechnicians(v []NearbyTechnician)

SetTechnicians gets a reference to the given []NearbyTechnician and assigns it to the Technicians field.

func (NearbyTechnicians) ToMap added in v0.2.0

func (o NearbyTechnicians) ToMap() (map[string]interface{}, error)

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCommitEmergencyReschedule200Response added in v0.2.0

type NullableCommitEmergencyReschedule200Response struct {
	// contains filtered or unexported fields
}

func NewNullableCommitEmergencyReschedule200Response added in v0.2.0

func NewNullableCommitEmergencyReschedule200Response(val *CommitEmergencyReschedule200Response) *NullableCommitEmergencyReschedule200Response

func (NullableCommitEmergencyReschedule200Response) Get added in v0.2.0

func (NullableCommitEmergencyReschedule200Response) IsSet added in v0.2.0

func (NullableCommitEmergencyReschedule200Response) MarshalJSON added in v0.2.0

func (*NullableCommitEmergencyReschedule200Response) Set added in v0.2.0

func (*NullableCommitEmergencyReschedule200Response) UnmarshalJSON added in v0.2.0

func (*NullableCommitEmergencyReschedule200Response) Unset added in v0.2.0

type NullableCommitJobRequestMove200Response added in v0.2.0

type NullableCommitJobRequestMove200Response struct {
	// contains filtered or unexported fields
}

func NewNullableCommitJobRequestMove200Response added in v0.2.0

func NewNullableCommitJobRequestMove200Response(val *CommitJobRequestMove200Response) *NullableCommitJobRequestMove200Response

func (NullableCommitJobRequestMove200Response) Get added in v0.2.0

func (NullableCommitJobRequestMove200Response) IsSet added in v0.2.0

func (NullableCommitJobRequestMove200Response) MarshalJSON added in v0.2.0

func (v NullableCommitJobRequestMove200Response) MarshalJSON() ([]byte, error)

func (*NullableCommitJobRequestMove200Response) Set added in v0.2.0

func (*NullableCommitJobRequestMove200Response) UnmarshalJSON added in v0.2.0

func (v *NullableCommitJobRequestMove200Response) UnmarshalJSON(src []byte) error

func (*NullableCommitJobRequestMove200Response) Unset added in v0.2.0

type NullableCreateCustomer200Response

type NullableCreateCustomer200Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateCustomer200Response) Get

func (NullableCreateCustomer200Response) IsSet

func (NullableCreateCustomer200Response) MarshalJSON

func (v NullableCreateCustomer200Response) MarshalJSON() ([]byte, error)

func (*NullableCreateCustomer200Response) Set

func (*NullableCreateCustomer200Response) UnmarshalJSON

func (v *NullableCreateCustomer200Response) UnmarshalJSON(src []byte) error

func (*NullableCreateCustomer200Response) Unset

type NullableCreateJobRequest200Response

type NullableCreateJobRequest200Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateJobRequest200Response) Get

func (NullableCreateJobRequest200Response) IsSet

func (NullableCreateJobRequest200Response) MarshalJSON

func (v NullableCreateJobRequest200Response) MarshalJSON() ([]byte, error)

func (*NullableCreateJobRequest200Response) Set

func (*NullableCreateJobRequest200Response) UnmarshalJSON

func (v *NullableCreateJobRequest200Response) UnmarshalJSON(src []byte) error

func (*NullableCreateJobRequest200Response) Unset

type NullableCreateTechnician200Response added in v0.2.0

type NullableCreateTechnician200Response struct {
	// contains filtered or unexported fields
}

func NewNullableCreateTechnician200Response added in v0.2.0

func NewNullableCreateTechnician200Response(val *CreateTechnician200Response) *NullableCreateTechnician200Response

func (NullableCreateTechnician200Response) Get added in v0.2.0

func (NullableCreateTechnician200Response) IsSet added in v0.2.0

func (NullableCreateTechnician200Response) MarshalJSON added in v0.2.0

func (v NullableCreateTechnician200Response) MarshalJSON() ([]byte, error)

func (*NullableCreateTechnician200Response) Set added in v0.2.0

func (*NullableCreateTechnician200Response) UnmarshalJSON added in v0.2.0

func (v *NullableCreateTechnician200Response) UnmarshalJSON(src []byte) error

func (*NullableCreateTechnician200Response) Unset added in v0.2.0

type NullableCustomer

type NullableCustomer struct {
	// contains filtered or unexported fields
}

func NewNullableCustomer

func NewNullableCustomer(val *Customer) *NullableCustomer

func (NullableCustomer) Get

func (v NullableCustomer) Get() *Customer

func (NullableCustomer) IsSet

func (v NullableCustomer) IsSet() bool

func (NullableCustomer) MarshalJSON

func (v NullableCustomer) MarshalJSON() ([]byte, error)

func (*NullableCustomer) Set

func (v *NullableCustomer) Set(val *Customer)

func (*NullableCustomer) UnmarshalJSON

func (v *NullableCustomer) UnmarshalJSON(src []byte) error

func (*NullableCustomer) Unset

func (v *NullableCustomer) Unset()

type NullableCustomerAddress

type NullableCustomerAddress struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerAddress

func NewNullableCustomerAddress(val *CustomerAddress) *NullableCustomerAddress

func (NullableCustomerAddress) Get

func (NullableCustomerAddress) IsSet

func (v NullableCustomerAddress) IsSet() bool

func (NullableCustomerAddress) MarshalJSON

func (v NullableCustomerAddress) MarshalJSON() ([]byte, error)

func (*NullableCustomerAddress) Set

func (*NullableCustomerAddress) UnmarshalJSON

func (v *NullableCustomerAddress) UnmarshalJSON(src []byte) error

func (*NullableCustomerAddress) Unset

func (v *NullableCustomerAddress) Unset()

type NullableCustomerAddressRequest

type NullableCustomerAddressRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerAddressRequest) Get

func (NullableCustomerAddressRequest) IsSet

func (NullableCustomerAddressRequest) MarshalJSON

func (v NullableCustomerAddressRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerAddressRequest) Set

func (*NullableCustomerAddressRequest) UnmarshalJSON

func (v *NullableCustomerAddressRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerAddressRequest) Unset

func (v *NullableCustomerAddressRequest) Unset()

type NullableCustomerContact

type NullableCustomerContact struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerContact

func NewNullableCustomerContact(val *CustomerContact) *NullableCustomerContact

func (NullableCustomerContact) Get

func (NullableCustomerContact) IsSet

func (v NullableCustomerContact) IsSet() bool

func (NullableCustomerContact) MarshalJSON

func (v NullableCustomerContact) MarshalJSON() ([]byte, error)

func (*NullableCustomerContact) Set

func (*NullableCustomerContact) UnmarshalJSON

func (v *NullableCustomerContact) UnmarshalJSON(src []byte) error

func (*NullableCustomerContact) Unset

func (v *NullableCustomerContact) Unset()

type NullableCustomerCreateRequest

type NullableCustomerCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerCreateRequest) Get

func (NullableCustomerCreateRequest) IsSet

func (NullableCustomerCreateRequest) MarshalJSON

func (v NullableCustomerCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerCreateRequest) Set

func (*NullableCustomerCreateRequest) UnmarshalJSON

func (v *NullableCustomerCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerCreateRequest) Unset

func (v *NullableCustomerCreateRequest) Unset()

type NullableCustomerCreateResponse

type NullableCustomerCreateResponse struct {
	// contains filtered or unexported fields
}

func (NullableCustomerCreateResponse) Get

func (NullableCustomerCreateResponse) IsSet

func (NullableCustomerCreateResponse) MarshalJSON

func (v NullableCustomerCreateResponse) MarshalJSON() ([]byte, error)

func (*NullableCustomerCreateResponse) Set

func (*NullableCustomerCreateResponse) UnmarshalJSON

func (v *NullableCustomerCreateResponse) UnmarshalJSON(src []byte) error

func (*NullableCustomerCreateResponse) Unset

func (v *NullableCustomerCreateResponse) Unset()

type NullableCustomerList

type NullableCustomerList struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerList

func NewNullableCustomerList(val *CustomerList) *NullableCustomerList

func (NullableCustomerList) Get

func (NullableCustomerList) IsSet

func (v NullableCustomerList) IsSet() bool

func (NullableCustomerList) MarshalJSON

func (v NullableCustomerList) MarshalJSON() ([]byte, error)

func (*NullableCustomerList) Set

func (v *NullableCustomerList) Set(val *CustomerList)

func (*NullableCustomerList) UnmarshalJSON

func (v *NullableCustomerList) UnmarshalJSON(src []byte) error

func (*NullableCustomerList) Unset

func (v *NullableCustomerList) Unset()

type NullableCustomerListItem

type NullableCustomerListItem struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerListItem

func NewNullableCustomerListItem(val *CustomerListItem) *NullableCustomerListItem

func (NullableCustomerListItem) Get

func (NullableCustomerListItem) IsSet

func (v NullableCustomerListItem) IsSet() bool

func (NullableCustomerListItem) MarshalJSON

func (v NullableCustomerListItem) MarshalJSON() ([]byte, error)

func (*NullableCustomerListItem) Set

func (*NullableCustomerListItem) UnmarshalJSON

func (v *NullableCustomerListItem) UnmarshalJSON(src []byte) error

func (*NullableCustomerListItem) Unset

func (v *NullableCustomerListItem) Unset()

type NullableCustomerProfile

type NullableCustomerProfile struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerProfile

func NewNullableCustomerProfile(val *CustomerProfile) *NullableCustomerProfile

func (NullableCustomerProfile) Get

func (NullableCustomerProfile) IsSet

func (v NullableCustomerProfile) IsSet() bool

func (NullableCustomerProfile) MarshalJSON

func (v NullableCustomerProfile) MarshalJSON() ([]byte, error)

func (*NullableCustomerProfile) Set

func (*NullableCustomerProfile) UnmarshalJSON

func (v *NullableCustomerProfile) UnmarshalJSON(src []byte) error

func (*NullableCustomerProfile) Unset

func (v *NullableCustomerProfile) Unset()

type NullableCustomerSpending

type NullableCustomerSpending struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerSpending

func NewNullableCustomerSpending(val *CustomerSpending) *NullableCustomerSpending

func (NullableCustomerSpending) Get

func (NullableCustomerSpending) IsSet

func (v NullableCustomerSpending) IsSet() bool

func (NullableCustomerSpending) MarshalJSON

func (v NullableCustomerSpending) MarshalJSON() ([]byte, error)

func (*NullableCustomerSpending) Set

func (*NullableCustomerSpending) UnmarshalJSON

func (v *NullableCustomerSpending) UnmarshalJSON(src []byte) error

func (*NullableCustomerSpending) Unset

func (v *NullableCustomerSpending) Unset()

type NullableCustomerTierProgress

type NullableCustomerTierProgress struct {
	// contains filtered or unexported fields
}

func NewNullableCustomerTierProgress

func NewNullableCustomerTierProgress(val *CustomerTierProgress) *NullableCustomerTierProgress

func (NullableCustomerTierProgress) Get

func (NullableCustomerTierProgress) IsSet

func (NullableCustomerTierProgress) MarshalJSON

func (v NullableCustomerTierProgress) MarshalJSON() ([]byte, error)

func (*NullableCustomerTierProgress) Set

func (*NullableCustomerTierProgress) UnmarshalJSON

func (v *NullableCustomerTierProgress) UnmarshalJSON(src []byte) error

func (*NullableCustomerTierProgress) Unset

func (v *NullableCustomerTierProgress) Unset()

type NullableCustomerUpdateRequest

type NullableCustomerUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullableCustomerUpdateRequest) Get

func (NullableCustomerUpdateRequest) IsSet

func (NullableCustomerUpdateRequest) MarshalJSON

func (v NullableCustomerUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableCustomerUpdateRequest) Set

func (*NullableCustomerUpdateRequest) UnmarshalJSON

func (v *NullableCustomerUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableCustomerUpdateRequest) Unset

func (v *NullableCustomerUpdateRequest) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetCustomer200Response

type NullableGetCustomer200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetCustomer200Response) Get

func (NullableGetCustomer200Response) IsSet

func (NullableGetCustomer200Response) MarshalJSON

func (v NullableGetCustomer200Response) MarshalJSON() ([]byte, error)

func (*NullableGetCustomer200Response) Set

func (*NullableGetCustomer200Response) UnmarshalJSON

func (v *NullableGetCustomer200Response) UnmarshalJSON(src []byte) error

func (*NullableGetCustomer200Response) Unset

func (v *NullableGetCustomer200Response) Unset()

type NullableGetJobRequest200Response

type NullableGetJobRequest200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetJobRequest200Response) Get

func (NullableGetJobRequest200Response) IsSet

func (NullableGetJobRequest200Response) MarshalJSON

func (v NullableGetJobRequest200Response) MarshalJSON() ([]byte, error)

func (*NullableGetJobRequest200Response) Set

func (*NullableGetJobRequest200Response) UnmarshalJSON

func (v *NullableGetJobRequest200Response) UnmarshalJSON(src []byte) error

func (*NullableGetJobRequest200Response) Unset

type NullableGetJobRequestTimeline200Response

type NullableGetJobRequestTimeline200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetJobRequestTimeline200Response) Get

func (NullableGetJobRequestTimeline200Response) IsSet

func (NullableGetJobRequestTimeline200Response) MarshalJSON

func (*NullableGetJobRequestTimeline200Response) Set

func (*NullableGetJobRequestTimeline200Response) UnmarshalJSON

func (v *NullableGetJobRequestTimeline200Response) UnmarshalJSON(src []byte) error

func (*NullableGetJobRequestTimeline200Response) Unset

type NullableGetJobType200Response

type NullableGetJobType200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetJobType200Response) Get

func (NullableGetJobType200Response) IsSet

func (NullableGetJobType200Response) MarshalJSON

func (v NullableGetJobType200Response) MarshalJSON() ([]byte, error)

func (*NullableGetJobType200Response) Set

func (*NullableGetJobType200Response) UnmarshalJSON

func (v *NullableGetJobType200Response) UnmarshalJSON(src []byte) error

func (*NullableGetJobType200Response) Unset

func (v *NullableGetJobType200Response) Unset()

type NullableGetServiceArea200Response

type NullableGetServiceArea200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetServiceArea200Response) Get

func (NullableGetServiceArea200Response) IsSet

func (NullableGetServiceArea200Response) MarshalJSON

func (v NullableGetServiceArea200Response) MarshalJSON() ([]byte, error)

func (*NullableGetServiceArea200Response) Set

func (*NullableGetServiceArea200Response) UnmarshalJSON

func (v *NullableGetServiceArea200Response) UnmarshalJSON(src []byte) error

func (*NullableGetServiceArea200Response) Unset

type NullableGetTechnician200Response

type NullableGetTechnician200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetTechnician200Response) Get

func (NullableGetTechnician200Response) IsSet

func (NullableGetTechnician200Response) MarshalJSON

func (v NullableGetTechnician200Response) MarshalJSON() ([]byte, error)

func (*NullableGetTechnician200Response) Set

func (*NullableGetTechnician200Response) UnmarshalJSON

func (v *NullableGetTechnician200Response) UnmarshalJSON(src []byte) error

func (*NullableGetTechnician200Response) Unset

type NullableGetTechnicianSchedule200Response added in v0.2.0

type NullableGetTechnicianSchedule200Response struct {
	// contains filtered or unexported fields
}

func NewNullableGetTechnicianSchedule200Response added in v0.2.0

func NewNullableGetTechnicianSchedule200Response(val *GetTechnicianSchedule200Response) *NullableGetTechnicianSchedule200Response

func (NullableGetTechnicianSchedule200Response) Get added in v0.2.0

func (NullableGetTechnicianSchedule200Response) IsSet added in v0.2.0

func (NullableGetTechnicianSchedule200Response) MarshalJSON added in v0.2.0

func (*NullableGetTechnicianSchedule200Response) Set added in v0.2.0

func (*NullableGetTechnicianSchedule200Response) UnmarshalJSON added in v0.2.0

func (v *NullableGetTechnicianSchedule200Response) UnmarshalJSON(src []byte) error

func (*NullableGetTechnicianSchedule200Response) Unset added in v0.2.0

type NullableGetVehicle200Response

type NullableGetVehicle200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetVehicle200Response) Get

func (NullableGetVehicle200Response) IsSet

func (NullableGetVehicle200Response) MarshalJSON

func (v NullableGetVehicle200Response) MarshalJSON() ([]byte, error)

func (*NullableGetVehicle200Response) Set

func (*NullableGetVehicle200Response) UnmarshalJSON

func (v *NullableGetVehicle200Response) UnmarshalJSON(src []byte) error

func (*NullableGetVehicle200Response) Unset

func (v *NullableGetVehicle200Response) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableJobDate

type NullableJobDate struct {
	// contains filtered or unexported fields
}

func NewNullableJobDate

func NewNullableJobDate(val *JobDate) *NullableJobDate

func (NullableJobDate) Get

func (v NullableJobDate) Get() *JobDate

func (NullableJobDate) IsSet

func (v NullableJobDate) IsSet() bool

func (NullableJobDate) MarshalJSON

func (v NullableJobDate) MarshalJSON() ([]byte, error)

func (*NullableJobDate) Set

func (v *NullableJobDate) Set(val *JobDate)

func (*NullableJobDate) UnmarshalJSON

func (v *NullableJobDate) UnmarshalJSON(src []byte) error

func (*NullableJobDate) Unset

func (v *NullableJobDate) Unset()

type NullableJobDateBusinessRange

type NullableJobDateBusinessRange struct {
	// contains filtered or unexported fields
}

func NewNullableJobDateBusinessRange

func NewNullableJobDateBusinessRange(val *JobDateBusinessRange) *NullableJobDateBusinessRange

func (NullableJobDateBusinessRange) Get

func (NullableJobDateBusinessRange) IsSet

func (NullableJobDateBusinessRange) MarshalJSON

func (v NullableJobDateBusinessRange) MarshalJSON() ([]byte, error)

func (*NullableJobDateBusinessRange) Set

func (*NullableJobDateBusinessRange) UnmarshalJSON

func (v *NullableJobDateBusinessRange) UnmarshalJSON(src []byte) error

func (*NullableJobDateBusinessRange) Unset

func (v *NullableJobDateBusinessRange) Unset()

type NullableJobDatePeriod

type NullableJobDatePeriod struct {
	// contains filtered or unexported fields
}

func NewNullableJobDatePeriod

func NewNullableJobDatePeriod(val *JobDatePeriod) *NullableJobDatePeriod

func (NullableJobDatePeriod) Get

func (NullableJobDatePeriod) IsSet

func (v NullableJobDatePeriod) IsSet() bool

func (NullableJobDatePeriod) MarshalJSON

func (v NullableJobDatePeriod) MarshalJSON() ([]byte, error)

func (*NullableJobDatePeriod) Set

func (v *NullableJobDatePeriod) Set(val *JobDatePeriod)

func (*NullableJobDatePeriod) UnmarshalJSON

func (v *NullableJobDatePeriod) UnmarshalJSON(src []byte) error

func (*NullableJobDatePeriod) Unset

func (v *NullableJobDatePeriod) Unset()

type NullableJobDatePeriodEntry

type NullableJobDatePeriodEntry struct {
	// contains filtered or unexported fields
}

func NewNullableJobDatePeriodEntry

func NewNullableJobDatePeriodEntry(val *JobDatePeriodEntry) *NullableJobDatePeriodEntry

func (NullableJobDatePeriodEntry) Get

func (NullableJobDatePeriodEntry) IsSet

func (v NullableJobDatePeriodEntry) IsSet() bool

func (NullableJobDatePeriodEntry) MarshalJSON

func (v NullableJobDatePeriodEntry) MarshalJSON() ([]byte, error)

func (*NullableJobDatePeriodEntry) Set

func (*NullableJobDatePeriodEntry) UnmarshalJSON

func (v *NullableJobDatePeriodEntry) UnmarshalJSON(src []byte) error

func (*NullableJobDatePeriodEntry) Unset

func (v *NullableJobDatePeriodEntry) Unset()

type NullableJobRequest

type NullableJobRequest struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequest

func NewNullableJobRequest(val *JobRequest) *NullableJobRequest

func (NullableJobRequest) Get

func (v NullableJobRequest) Get() *JobRequest

func (NullableJobRequest) IsSet

func (v NullableJobRequest) IsSet() bool

func (NullableJobRequest) MarshalJSON

func (v NullableJobRequest) MarshalJSON() ([]byte, error)

func (*NullableJobRequest) Set

func (v *NullableJobRequest) Set(val *JobRequest)

func (*NullableJobRequest) UnmarshalJSON

func (v *NullableJobRequest) UnmarshalJSON(src []byte) error

func (*NullableJobRequest) Unset

func (v *NullableJobRequest) Unset()

type NullableJobRequestActionAuditBy

type NullableJobRequestActionAuditBy struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestActionAuditBy) Get

func (NullableJobRequestActionAuditBy) IsSet

func (NullableJobRequestActionAuditBy) MarshalJSON

func (v NullableJobRequestActionAuditBy) MarshalJSON() ([]byte, error)

func (*NullableJobRequestActionAuditBy) Set

func (*NullableJobRequestActionAuditBy) UnmarshalJSON

func (v *NullableJobRequestActionAuditBy) UnmarshalJSON(src []byte) error

func (*NullableJobRequestActionAuditBy) Unset

type NullableJobRequestActionAuditEntry

type NullableJobRequestActionAuditEntry struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestActionAuditEntry) Get

func (NullableJobRequestActionAuditEntry) IsSet

func (NullableJobRequestActionAuditEntry) MarshalJSON

func (v NullableJobRequestActionAuditEntry) MarshalJSON() ([]byte, error)

func (*NullableJobRequestActionAuditEntry) Set

func (*NullableJobRequestActionAuditEntry) UnmarshalJSON

func (v *NullableJobRequestActionAuditEntry) UnmarshalJSON(src []byte) error

func (*NullableJobRequestActionAuditEntry) Unset

type NullableJobRequestActionSummary

type NullableJobRequestActionSummary struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestActionSummary) Get

func (NullableJobRequestActionSummary) IsSet

func (NullableJobRequestActionSummary) MarshalJSON

func (v NullableJobRequestActionSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestActionSummary) Set

func (*NullableJobRequestActionSummary) UnmarshalJSON

func (v *NullableJobRequestActionSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestActionSummary) Unset

type NullableJobRequestAddressSummary

type NullableJobRequestAddressSummary struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestAddressSummary) Get

func (NullableJobRequestAddressSummary) IsSet

func (NullableJobRequestAddressSummary) MarshalJSON

func (v NullableJobRequestAddressSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestAddressSummary) Set

func (*NullableJobRequestAddressSummary) UnmarshalJSON

func (v *NullableJobRequestAddressSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestAddressSummary) Unset

type NullableJobRequestArchiveSummary

type NullableJobRequestArchiveSummary struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestArchiveSummary) Get

func (NullableJobRequestArchiveSummary) IsSet

func (NullableJobRequestArchiveSummary) MarshalJSON

func (v NullableJobRequestArchiveSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestArchiveSummary) Set

func (*NullableJobRequestArchiveSummary) UnmarshalJSON

func (v *NullableJobRequestArchiveSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestArchiveSummary) Unset

type NullableJobRequestArrivalWindow

type NullableJobRequestArrivalWindow struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestArrivalWindow) Get

func (NullableJobRequestArrivalWindow) IsSet

func (NullableJobRequestArrivalWindow) MarshalJSON

func (v NullableJobRequestArrivalWindow) MarshalJSON() ([]byte, error)

func (*NullableJobRequestArrivalWindow) Set

func (*NullableJobRequestArrivalWindow) UnmarshalJSON

func (v *NullableJobRequestArrivalWindow) UnmarshalJSON(src []byte) error

func (*NullableJobRequestArrivalWindow) Unset

type NullableJobRequestAssignedVehicle

type NullableJobRequestAssignedVehicle struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestAssignedVehicle) Get

func (NullableJobRequestAssignedVehicle) IsSet

func (NullableJobRequestAssignedVehicle) MarshalJSON

func (v NullableJobRequestAssignedVehicle) MarshalJSON() ([]byte, error)

func (*NullableJobRequestAssignedVehicle) Set

func (*NullableJobRequestAssignedVehicle) UnmarshalJSON

func (v *NullableJobRequestAssignedVehicle) UnmarshalJSON(src []byte) error

func (*NullableJobRequestAssignedVehicle) Unset

type NullableJobRequestAssignmentSummary

type NullableJobRequestAssignmentSummary struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestAssignmentSummary) Get

func (NullableJobRequestAssignmentSummary) IsSet

func (NullableJobRequestAssignmentSummary) MarshalJSON

func (v NullableJobRequestAssignmentSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestAssignmentSummary) Set

func (*NullableJobRequestAssignmentSummary) UnmarshalJSON

func (v *NullableJobRequestAssignmentSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestAssignmentSummary) Unset

type NullableJobRequestAttentionSummary added in v0.2.0

type NullableJobRequestAttentionSummary struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestAttentionSummary added in v0.2.0

func NewNullableJobRequestAttentionSummary(val *JobRequestAttentionSummary) *NullableJobRequestAttentionSummary

func (NullableJobRequestAttentionSummary) Get added in v0.2.0

func (NullableJobRequestAttentionSummary) IsSet added in v0.2.0

func (NullableJobRequestAttentionSummary) MarshalJSON added in v0.2.0

func (v NullableJobRequestAttentionSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestAttentionSummary) Set added in v0.2.0

func (*NullableJobRequestAttentionSummary) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestAttentionSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestAttentionSummary) Unset added in v0.2.0

type NullableJobRequestAvailableVehicle added in v0.2.0

type NullableJobRequestAvailableVehicle struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestAvailableVehicle added in v0.2.0

func NewNullableJobRequestAvailableVehicle(val *JobRequestAvailableVehicle) *NullableJobRequestAvailableVehicle

func (NullableJobRequestAvailableVehicle) Get added in v0.2.0

func (NullableJobRequestAvailableVehicle) IsSet added in v0.2.0

func (NullableJobRequestAvailableVehicle) MarshalJSON added in v0.2.0

func (v NullableJobRequestAvailableVehicle) MarshalJSON() ([]byte, error)

func (*NullableJobRequestAvailableVehicle) Set added in v0.2.0

func (*NullableJobRequestAvailableVehicle) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestAvailableVehicle) UnmarshalJSON(src []byte) error

func (*NullableJobRequestAvailableVehicle) Unset added in v0.2.0

type NullableJobRequestBookingWindows

type NullableJobRequestBookingWindows struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestBookingWindows) Get

func (NullableJobRequestBookingWindows) IsSet

func (NullableJobRequestBookingWindows) MarshalJSON

func (v NullableJobRequestBookingWindows) MarshalJSON() ([]byte, error)

func (*NullableJobRequestBookingWindows) Set

func (*NullableJobRequestBookingWindows) UnmarshalJSON

func (v *NullableJobRequestBookingWindows) UnmarshalJSON(src []byte) error

func (*NullableJobRequestBookingWindows) Unset

type NullableJobRequestBuddySlotCandidates added in v0.2.0

type NullableJobRequestBuddySlotCandidates struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestBuddySlotCandidates added in v0.2.0

func NewNullableJobRequestBuddySlotCandidates(val *JobRequestBuddySlotCandidates) *NullableJobRequestBuddySlotCandidates

func (NullableJobRequestBuddySlotCandidates) Get added in v0.2.0

func (NullableJobRequestBuddySlotCandidates) IsSet added in v0.2.0

func (NullableJobRequestBuddySlotCandidates) MarshalJSON added in v0.2.0

func (v NullableJobRequestBuddySlotCandidates) MarshalJSON() ([]byte, error)

func (*NullableJobRequestBuddySlotCandidates) Set added in v0.2.0

func (*NullableJobRequestBuddySlotCandidates) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestBuddySlotCandidates) UnmarshalJSON(src []byte) error

func (*NullableJobRequestBuddySlotCandidates) Unset added in v0.2.0

type NullableJobRequestBusinessTimeRange

type NullableJobRequestBusinessTimeRange struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestBusinessTimeRange) Get

func (NullableJobRequestBusinessTimeRange) IsSet

func (NullableJobRequestBusinessTimeRange) MarshalJSON

func (v NullableJobRequestBusinessTimeRange) MarshalJSON() ([]byte, error)

func (*NullableJobRequestBusinessTimeRange) Set

func (*NullableJobRequestBusinessTimeRange) UnmarshalJSON

func (v *NullableJobRequestBusinessTimeRange) UnmarshalJSON(src []byte) error

func (*NullableJobRequestBusinessTimeRange) Unset

type NullableJobRequestChanges

type NullableJobRequestChanges struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestChanges

func NewNullableJobRequestChanges(val *JobRequestChanges) *NullableJobRequestChanges

func (NullableJobRequestChanges) Get

func (NullableJobRequestChanges) IsSet

func (v NullableJobRequestChanges) IsSet() bool

func (NullableJobRequestChanges) MarshalJSON

func (v NullableJobRequestChanges) MarshalJSON() ([]byte, error)

func (*NullableJobRequestChanges) Set

func (*NullableJobRequestChanges) UnmarshalJSON

func (v *NullableJobRequestChanges) UnmarshalJSON(src []byte) error

func (*NullableJobRequestChanges) Unset

func (v *NullableJobRequestChanges) Unset()

type NullableJobRequestConfirmRequest added in v0.2.0

type NullableJobRequestConfirmRequest struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestConfirmRequest added in v0.2.0

func NewNullableJobRequestConfirmRequest(val *JobRequestConfirmRequest) *NullableJobRequestConfirmRequest

func (NullableJobRequestConfirmRequest) Get added in v0.2.0

func (NullableJobRequestConfirmRequest) IsSet added in v0.2.0

func (NullableJobRequestConfirmRequest) MarshalJSON added in v0.2.0

func (v NullableJobRequestConfirmRequest) MarshalJSON() ([]byte, error)

func (*NullableJobRequestConfirmRequest) Set added in v0.2.0

func (*NullableJobRequestConfirmRequest) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestConfirmRequest) UnmarshalJSON(src []byte) error

func (*NullableJobRequestConfirmRequest) Unset added in v0.2.0

type NullableJobRequestCreateRequest

type NullableJobRequestCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestCreateRequest) Get

func (NullableJobRequestCreateRequest) IsSet

func (NullableJobRequestCreateRequest) MarshalJSON

func (v NullableJobRequestCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableJobRequestCreateRequest) Set

func (*NullableJobRequestCreateRequest) UnmarshalJSON

func (v *NullableJobRequestCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableJobRequestCreateRequest) Unset

type NullableJobRequestCreateResponse

type NullableJobRequestCreateResponse struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestCreateResponse) Get

func (NullableJobRequestCreateResponse) IsSet

func (NullableJobRequestCreateResponse) MarshalJSON

func (v NullableJobRequestCreateResponse) MarshalJSON() ([]byte, error)

func (*NullableJobRequestCreateResponse) Set

func (*NullableJobRequestCreateResponse) UnmarshalJSON

func (v *NullableJobRequestCreateResponse) UnmarshalJSON(src []byte) error

func (*NullableJobRequestCreateResponse) Unset

type NullableJobRequestCrewCandidates added in v0.2.0

type NullableJobRequestCrewCandidates struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestCrewCandidates added in v0.2.0

func NewNullableJobRequestCrewCandidates(val *JobRequestCrewCandidates) *NullableJobRequestCrewCandidates

func (NullableJobRequestCrewCandidates) Get added in v0.2.0

func (NullableJobRequestCrewCandidates) IsSet added in v0.2.0

func (NullableJobRequestCrewCandidates) MarshalJSON added in v0.2.0

func (v NullableJobRequestCrewCandidates) MarshalJSON() ([]byte, error)

func (*NullableJobRequestCrewCandidates) Set added in v0.2.0

func (*NullableJobRequestCrewCandidates) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestCrewCandidates) UnmarshalJSON(src []byte) error

func (*NullableJobRequestCrewCandidates) Unset added in v0.2.0

type NullableJobRequestCrewChange added in v0.2.0

type NullableJobRequestCrewChange struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestCrewChange added in v0.2.0

func NewNullableJobRequestCrewChange(val *JobRequestCrewChange) *NullableJobRequestCrewChange

func (NullableJobRequestCrewChange) Get added in v0.2.0

func (NullableJobRequestCrewChange) IsSet added in v0.2.0

func (NullableJobRequestCrewChange) MarshalJSON added in v0.2.0

func (v NullableJobRequestCrewChange) MarshalJSON() ([]byte, error)

func (*NullableJobRequestCrewChange) Set added in v0.2.0

func (*NullableJobRequestCrewChange) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestCrewChange) UnmarshalJSON(src []byte) error

func (*NullableJobRequestCrewChange) Unset added in v0.2.0

func (v *NullableJobRequestCrewChange) Unset()

type NullableJobRequestCrewMember

type NullableJobRequestCrewMember struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestCrewMember

func NewNullableJobRequestCrewMember(val *JobRequestCrewMember) *NullableJobRequestCrewMember

func (NullableJobRequestCrewMember) Get

func (NullableJobRequestCrewMember) IsSet

func (NullableJobRequestCrewMember) MarshalJSON

func (v NullableJobRequestCrewMember) MarshalJSON() ([]byte, error)

func (*NullableJobRequestCrewMember) Set

func (*NullableJobRequestCrewMember) UnmarshalJSON

func (v *NullableJobRequestCrewMember) UnmarshalJSON(src []byte) error

func (*NullableJobRequestCrewMember) Unset

func (v *NullableJobRequestCrewMember) Unset()

type NullableJobRequestCrewMemberInput added in v0.2.0

type NullableJobRequestCrewMemberInput struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestCrewMemberInput added in v0.2.0

func NewNullableJobRequestCrewMemberInput(val *JobRequestCrewMemberInput) *NullableJobRequestCrewMemberInput

func (NullableJobRequestCrewMemberInput) Get added in v0.2.0

func (NullableJobRequestCrewMemberInput) IsSet added in v0.2.0

func (NullableJobRequestCrewMemberInput) MarshalJSON added in v0.2.0

func (v NullableJobRequestCrewMemberInput) MarshalJSON() ([]byte, error)

func (*NullableJobRequestCrewMemberInput) Set added in v0.2.0

func (*NullableJobRequestCrewMemberInput) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestCrewMemberInput) UnmarshalJSON(src []byte) error

func (*NullableJobRequestCrewMemberInput) Unset added in v0.2.0

type NullableJobRequestCrewRecommendation added in v0.2.0

type NullableJobRequestCrewRecommendation struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestCrewRecommendation added in v0.2.0

func NewNullableJobRequestCrewRecommendation(val *JobRequestCrewRecommendation) *NullableJobRequestCrewRecommendation

func (NullableJobRequestCrewRecommendation) Get added in v0.2.0

func (NullableJobRequestCrewRecommendation) IsSet added in v0.2.0

func (NullableJobRequestCrewRecommendation) MarshalJSON added in v0.2.0

func (v NullableJobRequestCrewRecommendation) MarshalJSON() ([]byte, error)

func (*NullableJobRequestCrewRecommendation) Set added in v0.2.0

func (*NullableJobRequestCrewRecommendation) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestCrewRecommendation) UnmarshalJSON(src []byte) error

func (*NullableJobRequestCrewRecommendation) Unset added in v0.2.0

type NullableJobRequestCustomerSummary

type NullableJobRequestCustomerSummary struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestCustomerSummary) Get

func (NullableJobRequestCustomerSummary) IsSet

func (NullableJobRequestCustomerSummary) MarshalJSON

func (v NullableJobRequestCustomerSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestCustomerSummary) Set

func (*NullableJobRequestCustomerSummary) UnmarshalJSON

func (v *NullableJobRequestCustomerSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestCustomerSummary) Unset

type NullableJobRequestDayWindows

type NullableJobRequestDayWindows struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestDayWindows

func NewNullableJobRequestDayWindows(val *JobRequestDayWindows) *NullableJobRequestDayWindows

func (NullableJobRequestDayWindows) Get

func (NullableJobRequestDayWindows) IsSet

func (NullableJobRequestDayWindows) MarshalJSON

func (v NullableJobRequestDayWindows) MarshalJSON() ([]byte, error)

func (*NullableJobRequestDayWindows) Set

func (*NullableJobRequestDayWindows) UnmarshalJSON

func (v *NullableJobRequestDayWindows) UnmarshalJSON(src []byte) error

func (*NullableJobRequestDayWindows) Unset

func (v *NullableJobRequestDayWindows) Unset()

type NullableJobRequestEmergencyCandidate added in v0.2.0

type NullableJobRequestEmergencyCandidate struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestEmergencyCandidate added in v0.2.0

func NewNullableJobRequestEmergencyCandidate(val *JobRequestEmergencyCandidate) *NullableJobRequestEmergencyCandidate

func (NullableJobRequestEmergencyCandidate) Get added in v0.2.0

func (NullableJobRequestEmergencyCandidate) IsSet added in v0.2.0

func (NullableJobRequestEmergencyCandidate) MarshalJSON added in v0.2.0

func (v NullableJobRequestEmergencyCandidate) MarshalJSON() ([]byte, error)

func (*NullableJobRequestEmergencyCandidate) Set added in v0.2.0

func (*NullableJobRequestEmergencyCandidate) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestEmergencyCandidate) UnmarshalJSON(src []byte) error

func (*NullableJobRequestEmergencyCandidate) Unset added in v0.2.0

type NullableJobRequestEmergencyCandidates added in v0.2.0

type NullableJobRequestEmergencyCandidates struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestEmergencyCandidates added in v0.2.0

func NewNullableJobRequestEmergencyCandidates(val *JobRequestEmergencyCandidates) *NullableJobRequestEmergencyCandidates

func (NullableJobRequestEmergencyCandidates) Get added in v0.2.0

func (NullableJobRequestEmergencyCandidates) IsSet added in v0.2.0

func (NullableJobRequestEmergencyCandidates) MarshalJSON added in v0.2.0

func (v NullableJobRequestEmergencyCandidates) MarshalJSON() ([]byte, error)

func (*NullableJobRequestEmergencyCandidates) Set added in v0.2.0

func (*NullableJobRequestEmergencyCandidates) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestEmergencyCandidates) UnmarshalJSON(src []byte) error

func (*NullableJobRequestEmergencyCandidates) Unset added in v0.2.0

type NullableJobRequestEmergencyCandidatesRequest added in v0.2.0

type NullableJobRequestEmergencyCandidatesRequest struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestEmergencyCandidatesRequest added in v0.2.0

func NewNullableJobRequestEmergencyCandidatesRequest(val *JobRequestEmergencyCandidatesRequest) *NullableJobRequestEmergencyCandidatesRequest

func (NullableJobRequestEmergencyCandidatesRequest) Get added in v0.2.0

func (NullableJobRequestEmergencyCandidatesRequest) IsSet added in v0.2.0

func (NullableJobRequestEmergencyCandidatesRequest) MarshalJSON added in v0.2.0

func (*NullableJobRequestEmergencyCandidatesRequest) Set added in v0.2.0

func (*NullableJobRequestEmergencyCandidatesRequest) UnmarshalJSON added in v0.2.0

func (*NullableJobRequestEmergencyCandidatesRequest) Unset added in v0.2.0

type NullableJobRequestEmergencyCommitRequest added in v0.2.0

type NullableJobRequestEmergencyCommitRequest struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestEmergencyCommitRequest added in v0.2.0

func NewNullableJobRequestEmergencyCommitRequest(val *JobRequestEmergencyCommitRequest) *NullableJobRequestEmergencyCommitRequest

func (NullableJobRequestEmergencyCommitRequest) Get added in v0.2.0

func (NullableJobRequestEmergencyCommitRequest) IsSet added in v0.2.0

func (NullableJobRequestEmergencyCommitRequest) MarshalJSON added in v0.2.0

func (*NullableJobRequestEmergencyCommitRequest) Set added in v0.2.0

func (*NullableJobRequestEmergencyCommitRequest) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestEmergencyCommitRequest) UnmarshalJSON(src []byte) error

func (*NullableJobRequestEmergencyCommitRequest) Unset added in v0.2.0

type NullableJobRequestEmergencyPlan added in v0.2.0

type NullableJobRequestEmergencyPlan struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestEmergencyPlan added in v0.2.0

func NewNullableJobRequestEmergencyPlan(val *JobRequestEmergencyPlan) *NullableJobRequestEmergencyPlan

func (NullableJobRequestEmergencyPlan) Get added in v0.2.0

func (NullableJobRequestEmergencyPlan) IsSet added in v0.2.0

func (NullableJobRequestEmergencyPlan) MarshalJSON added in v0.2.0

func (v NullableJobRequestEmergencyPlan) MarshalJSON() ([]byte, error)

func (*NullableJobRequestEmergencyPlan) Set added in v0.2.0

func (*NullableJobRequestEmergencyPlan) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestEmergencyPlan) UnmarshalJSON(src []byte) error

func (*NullableJobRequestEmergencyPlan) Unset added in v0.2.0

type NullableJobRequestEmergencyPreviewRequest added in v0.2.0

type NullableJobRequestEmergencyPreviewRequest struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestEmergencyPreviewRequest added in v0.2.0

func NewNullableJobRequestEmergencyPreviewRequest(val *JobRequestEmergencyPreviewRequest) *NullableJobRequestEmergencyPreviewRequest

func (NullableJobRequestEmergencyPreviewRequest) Get added in v0.2.0

func (NullableJobRequestEmergencyPreviewRequest) IsSet added in v0.2.0

func (NullableJobRequestEmergencyPreviewRequest) MarshalJSON added in v0.2.0

func (*NullableJobRequestEmergencyPreviewRequest) Set added in v0.2.0

func (*NullableJobRequestEmergencyPreviewRequest) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestEmergencyPreviewRequest) UnmarshalJSON(src []byte) error

func (*NullableJobRequestEmergencyPreviewRequest) Unset added in v0.2.0

type NullableJobRequestJobDateBusinessRangeRequest

type NullableJobRequestJobDateBusinessRangeRequest struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestJobDateBusinessRangeRequest) Get

func (NullableJobRequestJobDateBusinessRangeRequest) IsSet

func (NullableJobRequestJobDateBusinessRangeRequest) MarshalJSON

func (*NullableJobRequestJobDateBusinessRangeRequest) Set

func (*NullableJobRequestJobDateBusinessRangeRequest) UnmarshalJSON

func (*NullableJobRequestJobDateBusinessRangeRequest) Unset

type NullableJobRequestJobDatePeriodRequest

type NullableJobRequestJobDatePeriodRequest struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestJobDatePeriodRequest) Get

func (NullableJobRequestJobDatePeriodRequest) IsSet

func (NullableJobRequestJobDatePeriodRequest) MarshalJSON

func (v NullableJobRequestJobDatePeriodRequest) MarshalJSON() ([]byte, error)

func (*NullableJobRequestJobDatePeriodRequest) Set

func (*NullableJobRequestJobDatePeriodRequest) UnmarshalJSON

func (v *NullableJobRequestJobDatePeriodRequest) UnmarshalJSON(src []byte) error

func (*NullableJobRequestJobDatePeriodRequest) Unset

type NullableJobRequestJobDateRequest

type NullableJobRequestJobDateRequest struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestJobDateRequest) Get

func (NullableJobRequestJobDateRequest) IsSet

func (NullableJobRequestJobDateRequest) MarshalJSON

func (v NullableJobRequestJobDateRequest) MarshalJSON() ([]byte, error)

func (*NullableJobRequestJobDateRequest) Set

func (*NullableJobRequestJobDateRequest) UnmarshalJSON

func (v *NullableJobRequestJobDateRequest) UnmarshalJSON(src []byte) error

func (*NullableJobRequestJobDateRequest) Unset

type NullableJobRequestLeadCandidate added in v0.2.0

type NullableJobRequestLeadCandidate struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestLeadCandidate added in v0.2.0

func NewNullableJobRequestLeadCandidate(val *JobRequestLeadCandidate) *NullableJobRequestLeadCandidate

func (NullableJobRequestLeadCandidate) Get added in v0.2.0

func (NullableJobRequestLeadCandidate) IsSet added in v0.2.0

func (NullableJobRequestLeadCandidate) MarshalJSON added in v0.2.0

func (v NullableJobRequestLeadCandidate) MarshalJSON() ([]byte, error)

func (*NullableJobRequestLeadCandidate) Set added in v0.2.0

func (*NullableJobRequestLeadCandidate) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestLeadCandidate) UnmarshalJSON(src []byte) error

func (*NullableJobRequestLeadCandidate) Unset added in v0.2.0

type NullableJobRequestList

type NullableJobRequestList struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestList

func NewNullableJobRequestList(val *JobRequestList) *NullableJobRequestList

func (NullableJobRequestList) Get

func (NullableJobRequestList) IsSet

func (v NullableJobRequestList) IsSet() bool

func (NullableJobRequestList) MarshalJSON

func (v NullableJobRequestList) MarshalJSON() ([]byte, error)

func (*NullableJobRequestList) Set

func (*NullableJobRequestList) UnmarshalJSON

func (v *NullableJobRequestList) UnmarshalJSON(src []byte) error

func (*NullableJobRequestList) Unset

func (v *NullableJobRequestList) Unset()

type NullableJobRequestMoveCommitReq added in v0.2.0

type NullableJobRequestMoveCommitReq struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestMoveCommitReq added in v0.2.0

func NewNullableJobRequestMoveCommitReq(val *JobRequestMoveCommitReq) *NullableJobRequestMoveCommitReq

func (NullableJobRequestMoveCommitReq) Get added in v0.2.0

func (NullableJobRequestMoveCommitReq) IsSet added in v0.2.0

func (NullableJobRequestMoveCommitReq) MarshalJSON added in v0.2.0

func (v NullableJobRequestMoveCommitReq) MarshalJSON() ([]byte, error)

func (*NullableJobRequestMoveCommitReq) Set added in v0.2.0

func (*NullableJobRequestMoveCommitReq) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestMoveCommitReq) UnmarshalJSON(src []byte) error

func (*NullableJobRequestMoveCommitReq) Unset added in v0.2.0

type NullableJobRequestMoveMember added in v0.2.0

type NullableJobRequestMoveMember struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestMoveMember added in v0.2.0

func NewNullableJobRequestMoveMember(val *JobRequestMoveMember) *NullableJobRequestMoveMember

func (NullableJobRequestMoveMember) Get added in v0.2.0

func (NullableJobRequestMoveMember) IsSet added in v0.2.0

func (NullableJobRequestMoveMember) MarshalJSON added in v0.2.0

func (v NullableJobRequestMoveMember) MarshalJSON() ([]byte, error)

func (*NullableJobRequestMoveMember) Set added in v0.2.0

func (*NullableJobRequestMoveMember) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestMoveMember) UnmarshalJSON(src []byte) error

func (*NullableJobRequestMoveMember) Unset added in v0.2.0

func (v *NullableJobRequestMoveMember) Unset()

type NullableJobRequestMovePlan added in v0.2.0

type NullableJobRequestMovePlan struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestMovePlan added in v0.2.0

func NewNullableJobRequestMovePlan(val *JobRequestMovePlan) *NullableJobRequestMovePlan

func (NullableJobRequestMovePlan) Get added in v0.2.0

func (NullableJobRequestMovePlan) IsSet added in v0.2.0

func (v NullableJobRequestMovePlan) IsSet() bool

func (NullableJobRequestMovePlan) MarshalJSON added in v0.2.0

func (v NullableJobRequestMovePlan) MarshalJSON() ([]byte, error)

func (*NullableJobRequestMovePlan) Set added in v0.2.0

func (*NullableJobRequestMovePlan) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestMovePlan) UnmarshalJSON(src []byte) error

func (*NullableJobRequestMovePlan) Unset added in v0.2.0

func (v *NullableJobRequestMovePlan) Unset()

type NullableJobRequestMovePreviewReq added in v0.2.0

type NullableJobRequestMovePreviewReq struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestMovePreviewReq added in v0.2.0

func NewNullableJobRequestMovePreviewReq(val *JobRequestMovePreviewReq) *NullableJobRequestMovePreviewReq

func (NullableJobRequestMovePreviewReq) Get added in v0.2.0

func (NullableJobRequestMovePreviewReq) IsSet added in v0.2.0

func (NullableJobRequestMovePreviewReq) MarshalJSON added in v0.2.0

func (v NullableJobRequestMovePreviewReq) MarshalJSON() ([]byte, error)

func (*NullableJobRequestMovePreviewReq) Set added in v0.2.0

func (*NullableJobRequestMovePreviewReq) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestMovePreviewReq) UnmarshalJSON(src []byte) error

func (*NullableJobRequestMovePreviewReq) Unset added in v0.2.0

type NullableJobRequestMoveWarning added in v0.2.0

type NullableJobRequestMoveWarning struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestMoveWarning added in v0.2.0

func NewNullableJobRequestMoveWarning(val *JobRequestMoveWarning) *NullableJobRequestMoveWarning

func (NullableJobRequestMoveWarning) Get added in v0.2.0

func (NullableJobRequestMoveWarning) IsSet added in v0.2.0

func (NullableJobRequestMoveWarning) MarshalJSON added in v0.2.0

func (v NullableJobRequestMoveWarning) MarshalJSON() ([]byte, error)

func (*NullableJobRequestMoveWarning) Set added in v0.2.0

func (*NullableJobRequestMoveWarning) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestMoveWarning) UnmarshalJSON(src []byte) error

func (*NullableJobRequestMoveWarning) Unset added in v0.2.0

func (v *NullableJobRequestMoveWarning) Unset()

type NullableJobRequestPeriod

type NullableJobRequestPeriod struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestPeriod

func NewNullableJobRequestPeriod(val *JobRequestPeriod) *NullableJobRequestPeriod

func (NullableJobRequestPeriod) Get

func (NullableJobRequestPeriod) IsSet

func (v NullableJobRequestPeriod) IsSet() bool

func (NullableJobRequestPeriod) MarshalJSON

func (v NullableJobRequestPeriod) MarshalJSON() ([]byte, error)

func (*NullableJobRequestPeriod) Set

func (*NullableJobRequestPeriod) UnmarshalJSON

func (v *NullableJobRequestPeriod) UnmarshalJSON(src []byte) error

func (*NullableJobRequestPeriod) Unset

func (v *NullableJobRequestPeriod) Unset()

type NullableJobRequestQuoteRequest added in v0.2.0

type NullableJobRequestQuoteRequest struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestQuoteRequest added in v0.2.0

func NewNullableJobRequestQuoteRequest(val *JobRequestQuoteRequest) *NullableJobRequestQuoteRequest

func (NullableJobRequestQuoteRequest) Get added in v0.2.0

func (NullableJobRequestQuoteRequest) IsSet added in v0.2.0

func (NullableJobRequestQuoteRequest) MarshalJSON added in v0.2.0

func (v NullableJobRequestQuoteRequest) MarshalJSON() ([]byte, error)

func (*NullableJobRequestQuoteRequest) Set added in v0.2.0

func (*NullableJobRequestQuoteRequest) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestQuoteRequest) UnmarshalJSON(src []byte) error

func (*NullableJobRequestQuoteRequest) Unset added in v0.2.0

func (v *NullableJobRequestQuoteRequest) Unset()

type NullableJobRequestQuoteSummary

type NullableJobRequestQuoteSummary struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestQuoteSummary) Get

func (NullableJobRequestQuoteSummary) IsSet

func (NullableJobRequestQuoteSummary) MarshalJSON

func (v NullableJobRequestQuoteSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestQuoteSummary) Set

func (*NullableJobRequestQuoteSummary) UnmarshalJSON

func (v *NullableJobRequestQuoteSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestQuoteSummary) Unset

func (v *NullableJobRequestQuoteSummary) Unset()

type NullableJobRequestRatingSummary

type NullableJobRequestRatingSummary struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestRatingSummary) Get

func (NullableJobRequestRatingSummary) IsSet

func (NullableJobRequestRatingSummary) MarshalJSON

func (v NullableJobRequestRatingSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestRatingSummary) Set

func (*NullableJobRequestRatingSummary) UnmarshalJSON

func (v *NullableJobRequestRatingSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestRatingSummary) Unset

type NullableJobRequestRescheduleDay added in v0.2.0

type NullableJobRequestRescheduleDay struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestRescheduleDay added in v0.2.0

func NewNullableJobRequestRescheduleDay(val *JobRequestRescheduleDay) *NullableJobRequestRescheduleDay

func (NullableJobRequestRescheduleDay) Get added in v0.2.0

func (NullableJobRequestRescheduleDay) IsSet added in v0.2.0

func (NullableJobRequestRescheduleDay) MarshalJSON added in v0.2.0

func (v NullableJobRequestRescheduleDay) MarshalJSON() ([]byte, error)

func (*NullableJobRequestRescheduleDay) Set added in v0.2.0

func (*NullableJobRequestRescheduleDay) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestRescheduleDay) UnmarshalJSON(src []byte) error

func (*NullableJobRequestRescheduleDay) Unset added in v0.2.0

type NullableJobRequestRescheduleMove added in v0.2.0

type NullableJobRequestRescheduleMove struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestRescheduleMove added in v0.2.0

func NewNullableJobRequestRescheduleMove(val *JobRequestRescheduleMove) *NullableJobRequestRescheduleMove

func (NullableJobRequestRescheduleMove) Get added in v0.2.0

func (NullableJobRequestRescheduleMove) IsSet added in v0.2.0

func (NullableJobRequestRescheduleMove) MarshalJSON added in v0.2.0

func (v NullableJobRequestRescheduleMove) MarshalJSON() ([]byte, error)

func (*NullableJobRequestRescheduleMove) Set added in v0.2.0

func (*NullableJobRequestRescheduleMove) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestRescheduleMove) UnmarshalJSON(src []byte) error

func (*NullableJobRequestRescheduleMove) Unset added in v0.2.0

type NullableJobRequestRescheduleReassignment added in v0.2.0

type NullableJobRequestRescheduleReassignment struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestRescheduleReassignment added in v0.2.0

func NewNullableJobRequestRescheduleReassignment(val *JobRequestRescheduleReassignment) *NullableJobRequestRescheduleReassignment

func (NullableJobRequestRescheduleReassignment) Get added in v0.2.0

func (NullableJobRequestRescheduleReassignment) IsSet added in v0.2.0

func (NullableJobRequestRescheduleReassignment) MarshalJSON added in v0.2.0

func (*NullableJobRequestRescheduleReassignment) Set added in v0.2.0

func (*NullableJobRequestRescheduleReassignment) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestRescheduleReassignment) UnmarshalJSON(src []byte) error

func (*NullableJobRequestRescheduleReassignment) Unset added in v0.2.0

type NullableJobRequestSchedule

type NullableJobRequestSchedule struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestSchedule

func NewNullableJobRequestSchedule(val *JobRequestSchedule) *NullableJobRequestSchedule

func (NullableJobRequestSchedule) Get

func (NullableJobRequestSchedule) IsSet

func (v NullableJobRequestSchedule) IsSet() bool

func (NullableJobRequestSchedule) MarshalJSON

func (v NullableJobRequestSchedule) MarshalJSON() ([]byte, error)

func (*NullableJobRequestSchedule) Set

func (*NullableJobRequestSchedule) UnmarshalJSON

func (v *NullableJobRequestSchedule) UnmarshalJSON(src []byte) error

func (*NullableJobRequestSchedule) Unset

func (v *NullableJobRequestSchedule) Unset()

type NullableJobRequestSession

type NullableJobRequestSession struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestSession

func NewNullableJobRequestSession(val *JobRequestSession) *NullableJobRequestSession

func (NullableJobRequestSession) Get

func (NullableJobRequestSession) IsSet

func (v NullableJobRequestSession) IsSet() bool

func (NullableJobRequestSession) MarshalJSON

func (v NullableJobRequestSession) MarshalJSON() ([]byte, error)

func (*NullableJobRequestSession) Set

func (*NullableJobRequestSession) UnmarshalJSON

func (v *NullableJobRequestSession) UnmarshalJSON(src []byte) error

func (*NullableJobRequestSession) Unset

func (v *NullableJobRequestSession) Unset()

type NullableJobRequestSkillSummary

type NullableJobRequestSkillSummary struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestSkillSummary) Get

func (NullableJobRequestSkillSummary) IsSet

func (NullableJobRequestSkillSummary) MarshalJSON

func (v NullableJobRequestSkillSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestSkillSummary) Set

func (*NullableJobRequestSkillSummary) UnmarshalJSON

func (v *NullableJobRequestSkillSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestSkillSummary) Unset

func (v *NullableJobRequestSkillSummary) Unset()

type NullableJobRequestStatusSummary

type NullableJobRequestStatusSummary struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestStatusSummary) Get

func (NullableJobRequestStatusSummary) IsSet

func (NullableJobRequestStatusSummary) MarshalJSON

func (v NullableJobRequestStatusSummary) MarshalJSON() ([]byte, error)

func (*NullableJobRequestStatusSummary) Set

func (*NullableJobRequestStatusSummary) UnmarshalJSON

func (v *NullableJobRequestStatusSummary) UnmarshalJSON(src []byte) error

func (*NullableJobRequestStatusSummary) Unset

type NullableJobRequestTechCandidate added in v0.2.0

type NullableJobRequestTechCandidate struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestTechCandidate added in v0.2.0

func NewNullableJobRequestTechCandidate(val *JobRequestTechCandidate) *NullableJobRequestTechCandidate

func (NullableJobRequestTechCandidate) Get added in v0.2.0

func (NullableJobRequestTechCandidate) IsSet added in v0.2.0

func (NullableJobRequestTechCandidate) MarshalJSON added in v0.2.0

func (v NullableJobRequestTechCandidate) MarshalJSON() ([]byte, error)

func (*NullableJobRequestTechCandidate) Set added in v0.2.0

func (*NullableJobRequestTechCandidate) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestTechCandidate) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTechCandidate) Unset added in v0.2.0

type NullableJobRequestTechnicianInfo

type NullableJobRequestTechnicianInfo struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestTechnicianInfo) Get

func (NullableJobRequestTechnicianInfo) IsSet

func (NullableJobRequestTechnicianInfo) MarshalJSON

func (v NullableJobRequestTechnicianInfo) MarshalJSON() ([]byte, error)

func (*NullableJobRequestTechnicianInfo) Set

func (*NullableJobRequestTechnicianInfo) UnmarshalJSON

func (v *NullableJobRequestTechnicianInfo) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTechnicianInfo) Unset

type NullableJobRequestTimeSegments added in v0.2.0

type NullableJobRequestTimeSegments struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestTimeSegments added in v0.2.0

func NewNullableJobRequestTimeSegments(val *JobRequestTimeSegments) *NullableJobRequestTimeSegments

func (NullableJobRequestTimeSegments) Get added in v0.2.0

func (NullableJobRequestTimeSegments) IsSet added in v0.2.0

func (NullableJobRequestTimeSegments) MarshalJSON added in v0.2.0

func (v NullableJobRequestTimeSegments) MarshalJSON() ([]byte, error)

func (*NullableJobRequestTimeSegments) Set added in v0.2.0

func (*NullableJobRequestTimeSegments) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestTimeSegments) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTimeSegments) Unset added in v0.2.0

func (v *NullableJobRequestTimeSegments) Unset()

type NullableJobRequestTimeSegmentsBusinessTime added in v0.2.0

type NullableJobRequestTimeSegmentsBusinessTime struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestTimeSegmentsBusinessTime added in v0.2.0

func NewNullableJobRequestTimeSegmentsBusinessTime(val *JobRequestTimeSegmentsBusinessTime) *NullableJobRequestTimeSegmentsBusinessTime

func (NullableJobRequestTimeSegmentsBusinessTime) Get added in v0.2.0

func (NullableJobRequestTimeSegmentsBusinessTime) IsSet added in v0.2.0

func (NullableJobRequestTimeSegmentsBusinessTime) MarshalJSON added in v0.2.0

func (*NullableJobRequestTimeSegmentsBusinessTime) Set added in v0.2.0

func (*NullableJobRequestTimeSegmentsBusinessTime) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestTimeSegmentsBusinessTime) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTimeSegmentsBusinessTime) Unset added in v0.2.0

type NullableJobRequestTimeSegmentsDay added in v0.2.0

type NullableJobRequestTimeSegmentsDay struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestTimeSegmentsDay added in v0.2.0

func NewNullableJobRequestTimeSegmentsDay(val *JobRequestTimeSegmentsDay) *NullableJobRequestTimeSegmentsDay

func (NullableJobRequestTimeSegmentsDay) Get added in v0.2.0

func (NullableJobRequestTimeSegmentsDay) IsSet added in v0.2.0

func (NullableJobRequestTimeSegmentsDay) MarshalJSON added in v0.2.0

func (v NullableJobRequestTimeSegmentsDay) MarshalJSON() ([]byte, error)

func (*NullableJobRequestTimeSegmentsDay) Set added in v0.2.0

func (*NullableJobRequestTimeSegmentsDay) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestTimeSegmentsDay) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTimeSegmentsDay) Unset added in v0.2.0

type NullableJobRequestTimeSegmentsSlot added in v0.2.0

type NullableJobRequestTimeSegmentsSlot struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestTimeSegmentsSlot added in v0.2.0

func NewNullableJobRequestTimeSegmentsSlot(val *JobRequestTimeSegmentsSlot) *NullableJobRequestTimeSegmentsSlot

func (NullableJobRequestTimeSegmentsSlot) Get added in v0.2.0

func (NullableJobRequestTimeSegmentsSlot) IsSet added in v0.2.0

func (NullableJobRequestTimeSegmentsSlot) MarshalJSON added in v0.2.0

func (v NullableJobRequestTimeSegmentsSlot) MarshalJSON() ([]byte, error)

func (*NullableJobRequestTimeSegmentsSlot) Set added in v0.2.0

func (*NullableJobRequestTimeSegmentsSlot) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestTimeSegmentsSlot) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTimeSegmentsSlot) Unset added in v0.2.0

type NullableJobRequestTimeSegmentsWorker added in v0.2.0

type NullableJobRequestTimeSegmentsWorker struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestTimeSegmentsWorker added in v0.2.0

func NewNullableJobRequestTimeSegmentsWorker(val *JobRequestTimeSegmentsWorker) *NullableJobRequestTimeSegmentsWorker

func (NullableJobRequestTimeSegmentsWorker) Get added in v0.2.0

func (NullableJobRequestTimeSegmentsWorker) IsSet added in v0.2.0

func (NullableJobRequestTimeSegmentsWorker) MarshalJSON added in v0.2.0

func (v NullableJobRequestTimeSegmentsWorker) MarshalJSON() ([]byte, error)

func (*NullableJobRequestTimeSegmentsWorker) Set added in v0.2.0

func (*NullableJobRequestTimeSegmentsWorker) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestTimeSegmentsWorker) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTimeSegmentsWorker) Unset added in v0.2.0

type NullableJobRequestTimeline

type NullableJobRequestTimeline struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestTimeline

func NewNullableJobRequestTimeline(val *JobRequestTimeline) *NullableJobRequestTimeline

func (NullableJobRequestTimeline) Get

func (NullableJobRequestTimeline) IsSet

func (v NullableJobRequestTimeline) IsSet() bool

func (NullableJobRequestTimeline) MarshalJSON

func (v NullableJobRequestTimeline) MarshalJSON() ([]byte, error)

func (*NullableJobRequestTimeline) Set

func (*NullableJobRequestTimeline) UnmarshalJSON

func (v *NullableJobRequestTimeline) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTimeline) Unset

func (v *NullableJobRequestTimeline) Unset()

type NullableJobRequestTimelineAction

type NullableJobRequestTimelineAction struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestTimelineAction) Get

func (NullableJobRequestTimelineAction) IsSet

func (NullableJobRequestTimelineAction) MarshalJSON

func (v NullableJobRequestTimelineAction) MarshalJSON() ([]byte, error)

func (*NullableJobRequestTimelineAction) Set

func (*NullableJobRequestTimelineAction) UnmarshalJSON

func (v *NullableJobRequestTimelineAction) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTimelineAction) Unset

type NullableJobRequestTimelineEvent

type NullableJobRequestTimelineEvent struct {
	// contains filtered or unexported fields
}

func (NullableJobRequestTimelineEvent) Get

func (NullableJobRequestTimelineEvent) IsSet

func (NullableJobRequestTimelineEvent) MarshalJSON

func (v NullableJobRequestTimelineEvent) MarshalJSON() ([]byte, error)

func (*NullableJobRequestTimelineEvent) Set

func (*NullableJobRequestTimelineEvent) UnmarshalJSON

func (v *NullableJobRequestTimelineEvent) UnmarshalJSON(src []byte) error

func (*NullableJobRequestTimelineEvent) Unset

type NullableJobRequestUpdatePriorityRequest added in v0.2.0

type NullableJobRequestUpdatePriorityRequest struct {
	// contains filtered or unexported fields
}

func NewNullableJobRequestUpdatePriorityRequest added in v0.2.0

func NewNullableJobRequestUpdatePriorityRequest(val *JobRequestUpdatePriorityRequest) *NullableJobRequestUpdatePriorityRequest

func (NullableJobRequestUpdatePriorityRequest) Get added in v0.2.0

func (NullableJobRequestUpdatePriorityRequest) IsSet added in v0.2.0

func (NullableJobRequestUpdatePriorityRequest) MarshalJSON added in v0.2.0

func (v NullableJobRequestUpdatePriorityRequest) MarshalJSON() ([]byte, error)

func (*NullableJobRequestUpdatePriorityRequest) Set added in v0.2.0

func (*NullableJobRequestUpdatePriorityRequest) UnmarshalJSON added in v0.2.0

func (v *NullableJobRequestUpdatePriorityRequest) UnmarshalJSON(src []byte) error

func (*NullableJobRequestUpdatePriorityRequest) Unset added in v0.2.0

type NullableJobType

type NullableJobType struct {
	// contains filtered or unexported fields
}

func NewNullableJobType

func NewNullableJobType(val *JobType) *NullableJobType

func (NullableJobType) Get

func (v NullableJobType) Get() *JobType

func (NullableJobType) IsSet

func (v NullableJobType) IsSet() bool

func (NullableJobType) MarshalJSON

func (v NullableJobType) MarshalJSON() ([]byte, error)

func (*NullableJobType) Set

func (v *NullableJobType) Set(val *JobType)

func (*NullableJobType) UnmarshalJSON

func (v *NullableJobType) UnmarshalJSON(src []byte) error

func (*NullableJobType) Unset

func (v *NullableJobType) Unset()

type NullableListCrewCandidates200Response added in v0.2.0

type NullableListCrewCandidates200Response struct {
	// contains filtered or unexported fields
}

func NewNullableListCrewCandidates200Response added in v0.2.0

func NewNullableListCrewCandidates200Response(val *ListCrewCandidates200Response) *NullableListCrewCandidates200Response

func (NullableListCrewCandidates200Response) Get added in v0.2.0

func (NullableListCrewCandidates200Response) IsSet added in v0.2.0

func (NullableListCrewCandidates200Response) MarshalJSON added in v0.2.0

func (v NullableListCrewCandidates200Response) MarshalJSON() ([]byte, error)

func (*NullableListCrewCandidates200Response) Set added in v0.2.0

func (*NullableListCrewCandidates200Response) UnmarshalJSON added in v0.2.0

func (v *NullableListCrewCandidates200Response) UnmarshalJSON(src []byte) error

func (*NullableListCrewCandidates200Response) Unset added in v0.2.0

type NullableListCustomers200Response

type NullableListCustomers200Response struct {
	// contains filtered or unexported fields
}

func (NullableListCustomers200Response) Get

func (NullableListCustomers200Response) IsSet

func (NullableListCustomers200Response) MarshalJSON

func (v NullableListCustomers200Response) MarshalJSON() ([]byte, error)

func (*NullableListCustomers200Response) Set

func (*NullableListCustomers200Response) UnmarshalJSON

func (v *NullableListCustomers200Response) UnmarshalJSON(src []byte) error

func (*NullableListCustomers200Response) Unset

type NullableListEmergencyCandidates200Response added in v0.2.0

type NullableListEmergencyCandidates200Response struct {
	// contains filtered or unexported fields
}

func NewNullableListEmergencyCandidates200Response added in v0.2.0

func NewNullableListEmergencyCandidates200Response(val *ListEmergencyCandidates200Response) *NullableListEmergencyCandidates200Response

func (NullableListEmergencyCandidates200Response) Get added in v0.2.0

func (NullableListEmergencyCandidates200Response) IsSet added in v0.2.0

func (NullableListEmergencyCandidates200Response) MarshalJSON added in v0.2.0

func (*NullableListEmergencyCandidates200Response) Set added in v0.2.0

func (*NullableListEmergencyCandidates200Response) UnmarshalJSON added in v0.2.0

func (v *NullableListEmergencyCandidates200Response) UnmarshalJSON(src []byte) error

func (*NullableListEmergencyCandidates200Response) Unset added in v0.2.0

type NullableListJobRequestBookingWindows200Response

type NullableListJobRequestBookingWindows200Response struct {
	// contains filtered or unexported fields
}

func (NullableListJobRequestBookingWindows200Response) Get

func (NullableListJobRequestBookingWindows200Response) IsSet

func (NullableListJobRequestBookingWindows200Response) MarshalJSON

func (*NullableListJobRequestBookingWindows200Response) Set

func (*NullableListJobRequestBookingWindows200Response) UnmarshalJSON

func (*NullableListJobRequestBookingWindows200Response) Unset

type NullableListJobRequestChanges200Response

type NullableListJobRequestChanges200Response struct {
	// contains filtered or unexported fields
}

func (NullableListJobRequestChanges200Response) Get

func (NullableListJobRequestChanges200Response) IsSet

func (NullableListJobRequestChanges200Response) MarshalJSON

func (*NullableListJobRequestChanges200Response) Set

func (*NullableListJobRequestChanges200Response) UnmarshalJSON

func (v *NullableListJobRequestChanges200Response) UnmarshalJSON(src []byte) error

func (*NullableListJobRequestChanges200Response) Unset

type NullableListJobRequests200Response

type NullableListJobRequests200Response struct {
	// contains filtered or unexported fields
}

func (NullableListJobRequests200Response) Get

func (NullableListJobRequests200Response) IsSet

func (NullableListJobRequests200Response) MarshalJSON

func (v NullableListJobRequests200Response) MarshalJSON() ([]byte, error)

func (*NullableListJobRequests200Response) Set

func (*NullableListJobRequests200Response) UnmarshalJSON

func (v *NullableListJobRequests200Response) UnmarshalJSON(src []byte) error

func (*NullableListJobRequests200Response) Unset

type NullableListJobTypes200Response

type NullableListJobTypes200Response struct {
	// contains filtered or unexported fields
}

func (NullableListJobTypes200Response) Get

func (NullableListJobTypes200Response) IsSet

func (NullableListJobTypes200Response) MarshalJSON

func (v NullableListJobTypes200Response) MarshalJSON() ([]byte, error)

func (*NullableListJobTypes200Response) Set

func (*NullableListJobTypes200Response) UnmarshalJSON

func (v *NullableListJobTypes200Response) UnmarshalJSON(src []byte) error

func (*NullableListJobTypes200Response) Unset

type NullableListMatchingSlots200Response added in v0.2.0

type NullableListMatchingSlots200Response struct {
	// contains filtered or unexported fields
}

func NewNullableListMatchingSlots200Response added in v0.2.0

func NewNullableListMatchingSlots200Response(val *ListMatchingSlots200Response) *NullableListMatchingSlots200Response

func (NullableListMatchingSlots200Response) Get added in v0.2.0

func (NullableListMatchingSlots200Response) IsSet added in v0.2.0

func (NullableListMatchingSlots200Response) MarshalJSON added in v0.2.0

func (v NullableListMatchingSlots200Response) MarshalJSON() ([]byte, error)

func (*NullableListMatchingSlots200Response) Set added in v0.2.0

func (*NullableListMatchingSlots200Response) UnmarshalJSON added in v0.2.0

func (v *NullableListMatchingSlots200Response) UnmarshalJSON(src []byte) error

func (*NullableListMatchingSlots200Response) Unset added in v0.2.0

type NullableListNearbyTechnicians200Response added in v0.2.0

type NullableListNearbyTechnicians200Response struct {
	// contains filtered or unexported fields
}

func NewNullableListNearbyTechnicians200Response added in v0.2.0

func NewNullableListNearbyTechnicians200Response(val *ListNearbyTechnicians200Response) *NullableListNearbyTechnicians200Response

func (NullableListNearbyTechnicians200Response) Get added in v0.2.0

func (NullableListNearbyTechnicians200Response) IsSet added in v0.2.0

func (NullableListNearbyTechnicians200Response) MarshalJSON added in v0.2.0

func (*NullableListNearbyTechnicians200Response) Set added in v0.2.0

func (*NullableListNearbyTechnicians200Response) UnmarshalJSON added in v0.2.0

func (v *NullableListNearbyTechnicians200Response) UnmarshalJSON(src []byte) error

func (*NullableListNearbyTechnicians200Response) Unset added in v0.2.0

type NullableListServiceAreas200Response

type NullableListServiceAreas200Response struct {
	// contains filtered or unexported fields
}

func (NullableListServiceAreas200Response) Get

func (NullableListServiceAreas200Response) IsSet

func (NullableListServiceAreas200Response) MarshalJSON

func (v NullableListServiceAreas200Response) MarshalJSON() ([]byte, error)

func (*NullableListServiceAreas200Response) Set

func (*NullableListServiceAreas200Response) UnmarshalJSON

func (v *NullableListServiceAreas200Response) UnmarshalJSON(src []byte) error

func (*NullableListServiceAreas200Response) Unset

type NullableListSkillCategories200Response

type NullableListSkillCategories200Response struct {
	// contains filtered or unexported fields
}

func (NullableListSkillCategories200Response) Get

func (NullableListSkillCategories200Response) IsSet

func (NullableListSkillCategories200Response) MarshalJSON

func (v NullableListSkillCategories200Response) MarshalJSON() ([]byte, error)

func (*NullableListSkillCategories200Response) Set

func (*NullableListSkillCategories200Response) UnmarshalJSON

func (v *NullableListSkillCategories200Response) UnmarshalJSON(src []byte) error

func (*NullableListSkillCategories200Response) Unset

type NullableListSkills200Response

type NullableListSkills200Response struct {
	// contains filtered or unexported fields
}

func (NullableListSkills200Response) Get

func (NullableListSkills200Response) IsSet

func (NullableListSkills200Response) MarshalJSON

func (v NullableListSkills200Response) MarshalJSON() ([]byte, error)

func (*NullableListSkills200Response) Set

func (*NullableListSkills200Response) UnmarshalJSON

func (v *NullableListSkills200Response) UnmarshalJSON(src []byte) error

func (*NullableListSkills200Response) Unset

func (v *NullableListSkills200Response) Unset()

type NullableListSkillsByCategory200Response

type NullableListSkillsByCategory200Response struct {
	// contains filtered or unexported fields
}

func (NullableListSkillsByCategory200Response) Get

func (NullableListSkillsByCategory200Response) IsSet

func (NullableListSkillsByCategory200Response) MarshalJSON

func (v NullableListSkillsByCategory200Response) MarshalJSON() ([]byte, error)

func (*NullableListSkillsByCategory200Response) Set

func (*NullableListSkillsByCategory200Response) UnmarshalJSON

func (v *NullableListSkillsByCategory200Response) UnmarshalJSON(src []byte) error

func (*NullableListSkillsByCategory200Response) Unset

type NullableListTechnicianSkills200Response added in v0.2.0

type NullableListTechnicianSkills200Response struct {
	// contains filtered or unexported fields
}

func NewNullableListTechnicianSkills200Response added in v0.2.0

func NewNullableListTechnicianSkills200Response(val *ListTechnicianSkills200Response) *NullableListTechnicianSkills200Response

func (NullableListTechnicianSkills200Response) Get added in v0.2.0

func (NullableListTechnicianSkills200Response) IsSet added in v0.2.0

func (NullableListTechnicianSkills200Response) MarshalJSON added in v0.2.0

func (v NullableListTechnicianSkills200Response) MarshalJSON() ([]byte, error)

func (*NullableListTechnicianSkills200Response) Set added in v0.2.0

func (*NullableListTechnicianSkills200Response) UnmarshalJSON added in v0.2.0

func (v *NullableListTechnicianSkills200Response) UnmarshalJSON(src []byte) error

func (*NullableListTechnicianSkills200Response) Unset added in v0.2.0

type NullableListTechnicians200Response

type NullableListTechnicians200Response struct {
	// contains filtered or unexported fields
}

func (NullableListTechnicians200Response) Get

func (NullableListTechnicians200Response) IsSet

func (NullableListTechnicians200Response) MarshalJSON

func (v NullableListTechnicians200Response) MarshalJSON() ([]byte, error)

func (*NullableListTechnicians200Response) Set

func (*NullableListTechnicians200Response) UnmarshalJSON

func (v *NullableListTechnicians200Response) UnmarshalJSON(src []byte) error

func (*NullableListTechnicians200Response) Unset

type NullableListVehicles200Response

type NullableListVehicles200Response struct {
	// contains filtered or unexported fields
}

func (NullableListVehicles200Response) Get

func (NullableListVehicles200Response) IsSet

func (NullableListVehicles200Response) MarshalJSON

func (v NullableListVehicles200Response) MarshalJSON() ([]byte, error)

func (*NullableListVehicles200Response) Set

func (*NullableListVehicles200Response) UnmarshalJSON

func (v *NullableListVehicles200Response) UnmarshalJSON(src []byte) error

func (*NullableListVehicles200Response) Unset

type NullableNearbyTechnician added in v0.2.0

type NullableNearbyTechnician struct {
	// contains filtered or unexported fields
}

func NewNullableNearbyTechnician added in v0.2.0

func NewNullableNearbyTechnician(val *NearbyTechnician) *NullableNearbyTechnician

func (NullableNearbyTechnician) Get added in v0.2.0

func (NullableNearbyTechnician) IsSet added in v0.2.0

func (v NullableNearbyTechnician) IsSet() bool

func (NullableNearbyTechnician) MarshalJSON added in v0.2.0

func (v NullableNearbyTechnician) MarshalJSON() ([]byte, error)

func (*NullableNearbyTechnician) Set added in v0.2.0

func (*NullableNearbyTechnician) UnmarshalJSON added in v0.2.0

func (v *NullableNearbyTechnician) UnmarshalJSON(src []byte) error

func (*NullableNearbyTechnician) Unset added in v0.2.0

func (v *NullableNearbyTechnician) Unset()

type NullableNearbyTechnicians added in v0.2.0

type NullableNearbyTechnicians struct {
	// contains filtered or unexported fields
}

func NewNullableNearbyTechnicians added in v0.2.0

func NewNullableNearbyTechnicians(val *NearbyTechnicians) *NullableNearbyTechnicians

func (NullableNearbyTechnicians) Get added in v0.2.0

func (NullableNearbyTechnicians) IsSet added in v0.2.0

func (v NullableNearbyTechnicians) IsSet() bool

func (NullableNearbyTechnicians) MarshalJSON added in v0.2.0

func (v NullableNearbyTechnicians) MarshalJSON() ([]byte, error)

func (*NullableNearbyTechnicians) Set added in v0.2.0

func (*NullableNearbyTechnicians) UnmarshalJSON added in v0.2.0

func (v *NullableNearbyTechnicians) UnmarshalJSON(src []byte) error

func (*NullableNearbyTechnicians) Unset added in v0.2.0

func (v *NullableNearbyTechnicians) Unset()

type NullablePagination

type NullablePagination struct {
	// contains filtered or unexported fields
}

func NewNullablePagination

func NewNullablePagination(val *Pagination) *NullablePagination

func (NullablePagination) Get

func (v NullablePagination) Get() *Pagination

func (NullablePagination) IsSet

func (v NullablePagination) IsSet() bool

func (NullablePagination) MarshalJSON

func (v NullablePagination) MarshalJSON() ([]byte, error)

func (*NullablePagination) Set

func (v *NullablePagination) Set(val *Pagination)

func (*NullablePagination) UnmarshalJSON

func (v *NullablePagination) UnmarshalJSON(src []byte) error

func (*NullablePagination) Unset

func (v *NullablePagination) Unset()

type NullableReplaceTechnicianServiceAreas200Response added in v0.2.0

type NullableReplaceTechnicianServiceAreas200Response struct {
	// contains filtered or unexported fields
}

func (NullableReplaceTechnicianServiceAreas200Response) Get added in v0.2.0

func (NullableReplaceTechnicianServiceAreas200Response) IsSet added in v0.2.0

func (NullableReplaceTechnicianServiceAreas200Response) MarshalJSON added in v0.2.0

func (*NullableReplaceTechnicianServiceAreas200Response) Set added in v0.2.0

func (*NullableReplaceTechnicianServiceAreas200Response) UnmarshalJSON added in v0.2.0

func (*NullableReplaceTechnicianServiceAreas200Response) Unset added in v0.2.0

type NullableResponseEnvelope

type NullableResponseEnvelope struct {
	// contains filtered or unexported fields
}

func NewNullableResponseEnvelope

func NewNullableResponseEnvelope(val *ResponseEnvelope) *NullableResponseEnvelope

func (NullableResponseEnvelope) Get

func (NullableResponseEnvelope) IsSet

func (v NullableResponseEnvelope) IsSet() bool

func (NullableResponseEnvelope) MarshalJSON

func (v NullableResponseEnvelope) MarshalJSON() ([]byte, error)

func (*NullableResponseEnvelope) Set

func (*NullableResponseEnvelope) UnmarshalJSON

func (v *NullableResponseEnvelope) UnmarshalJSON(src []byte) error

func (*NullableResponseEnvelope) Unset

func (v *NullableResponseEnvelope) Unset()

type NullableServiceArea

type NullableServiceArea struct {
	// contains filtered or unexported fields
}

func NewNullableServiceArea

func NewNullableServiceArea(val *ServiceArea) *NullableServiceArea

func (NullableServiceArea) Get

func (NullableServiceArea) IsSet

func (v NullableServiceArea) IsSet() bool

func (NullableServiceArea) MarshalJSON

func (v NullableServiceArea) MarshalJSON() ([]byte, error)

func (*NullableServiceArea) Set

func (v *NullableServiceArea) Set(val *ServiceArea)

func (*NullableServiceArea) UnmarshalJSON

func (v *NullableServiceArea) UnmarshalJSON(src []byte) error

func (*NullableServiceArea) Unset

func (v *NullableServiceArea) Unset()

type NullableServiceAreaList

type NullableServiceAreaList struct {
	// contains filtered or unexported fields
}

func NewNullableServiceAreaList

func NewNullableServiceAreaList(val *ServiceAreaList) *NullableServiceAreaList

func (NullableServiceAreaList) Get

func (NullableServiceAreaList) IsSet

func (v NullableServiceAreaList) IsSet() bool

func (NullableServiceAreaList) MarshalJSON

func (v NullableServiceAreaList) MarshalJSON() ([]byte, error)

func (*NullableServiceAreaList) Set

func (*NullableServiceAreaList) UnmarshalJSON

func (v *NullableServiceAreaList) UnmarshalJSON(src []byte) error

func (*NullableServiceAreaList) Unset

func (v *NullableServiceAreaList) Unset()

type NullableSkill

type NullableSkill struct {
	// contains filtered or unexported fields
}

func NewNullableSkill

func NewNullableSkill(val *Skill) *NullableSkill

func (NullableSkill) Get

func (v NullableSkill) Get() *Skill

func (NullableSkill) IsSet

func (v NullableSkill) IsSet() bool

func (NullableSkill) MarshalJSON

func (v NullableSkill) MarshalJSON() ([]byte, error)

func (*NullableSkill) Set

func (v *NullableSkill) Set(val *Skill)

func (*NullableSkill) UnmarshalJSON

func (v *NullableSkill) UnmarshalJSON(src []byte) error

func (*NullableSkill) Unset

func (v *NullableSkill) Unset()

type NullableSkillByCategoryList

type NullableSkillByCategoryList struct {
	// contains filtered or unexported fields
}

func NewNullableSkillByCategoryList

func NewNullableSkillByCategoryList(val *SkillByCategoryList) *NullableSkillByCategoryList

func (NullableSkillByCategoryList) Get

func (NullableSkillByCategoryList) IsSet

func (NullableSkillByCategoryList) MarshalJSON

func (v NullableSkillByCategoryList) MarshalJSON() ([]byte, error)

func (*NullableSkillByCategoryList) Set

func (*NullableSkillByCategoryList) UnmarshalJSON

func (v *NullableSkillByCategoryList) UnmarshalJSON(src []byte) error

func (*NullableSkillByCategoryList) Unset

func (v *NullableSkillByCategoryList) Unset()

type NullableSkillCategory

type NullableSkillCategory struct {
	// contains filtered or unexported fields
}

func NewNullableSkillCategory

func NewNullableSkillCategory(val *SkillCategory) *NullableSkillCategory

func (NullableSkillCategory) Get

func (NullableSkillCategory) IsSet

func (v NullableSkillCategory) IsSet() bool

func (NullableSkillCategory) MarshalJSON

func (v NullableSkillCategory) MarshalJSON() ([]byte, error)

func (*NullableSkillCategory) Set

func (v *NullableSkillCategory) Set(val *SkillCategory)

func (*NullableSkillCategory) UnmarshalJSON

func (v *NullableSkillCategory) UnmarshalJSON(src []byte) error

func (*NullableSkillCategory) Unset

func (v *NullableSkillCategory) Unset()

type NullableSkillCategoryList

type NullableSkillCategoryList struct {
	// contains filtered or unexported fields
}

func NewNullableSkillCategoryList

func NewNullableSkillCategoryList(val *SkillCategoryList) *NullableSkillCategoryList

func (NullableSkillCategoryList) Get

func (NullableSkillCategoryList) IsSet

func (v NullableSkillCategoryList) IsSet() bool

func (NullableSkillCategoryList) MarshalJSON

func (v NullableSkillCategoryList) MarshalJSON() ([]byte, error)

func (*NullableSkillCategoryList) Set

func (*NullableSkillCategoryList) UnmarshalJSON

func (v *NullableSkillCategoryList) UnmarshalJSON(src []byte) error

func (*NullableSkillCategoryList) Unset

func (v *NullableSkillCategoryList) Unset()

type NullableSkillList

type NullableSkillList struct {
	// contains filtered or unexported fields
}

func NewNullableSkillList

func NewNullableSkillList(val *SkillList) *NullableSkillList

func (NullableSkillList) Get

func (v NullableSkillList) Get() *SkillList

func (NullableSkillList) IsSet

func (v NullableSkillList) IsSet() bool

func (NullableSkillList) MarshalJSON

func (v NullableSkillList) MarshalJSON() ([]byte, error)

func (*NullableSkillList) Set

func (v *NullableSkillList) Set(val *SkillList)

func (*NullableSkillList) UnmarshalJSON

func (v *NullableSkillList) UnmarshalJSON(src []byte) error

func (*NullableSkillList) Unset

func (v *NullableSkillList) Unset()

type NullableSkillSummary

type NullableSkillSummary struct {
	// contains filtered or unexported fields
}

func NewNullableSkillSummary

func NewNullableSkillSummary(val *SkillSummary) *NullableSkillSummary

func (NullableSkillSummary) Get

func (NullableSkillSummary) IsSet

func (v NullableSkillSummary) IsSet() bool

func (NullableSkillSummary) MarshalJSON

func (v NullableSkillSummary) MarshalJSON() ([]byte, error)

func (*NullableSkillSummary) Set

func (v *NullableSkillSummary) Set(val *SkillSummary)

func (*NullableSkillSummary) UnmarshalJSON

func (v *NullableSkillSummary) UnmarshalJSON(src []byte) error

func (*NullableSkillSummary) Unset

func (v *NullableSkillSummary) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTechnician

type NullableTechnician struct {
	// contains filtered or unexported fields
}

func NewNullableTechnician

func NewNullableTechnician(val *Technician) *NullableTechnician

func (NullableTechnician) Get

func (v NullableTechnician) Get() *Technician

func (NullableTechnician) IsSet

func (v NullableTechnician) IsSet() bool

func (NullableTechnician) MarshalJSON

func (v NullableTechnician) MarshalJSON() ([]byte, error)

func (*NullableTechnician) Set

func (v *NullableTechnician) Set(val *Technician)

func (*NullableTechnician) UnmarshalJSON

func (v *NullableTechnician) UnmarshalJSON(src []byte) error

func (*NullableTechnician) Unset

func (v *NullableTechnician) Unset()

type NullableTechnicianAddress

type NullableTechnicianAddress struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianAddress

func NewNullableTechnicianAddress(val *TechnicianAddress) *NullableTechnicianAddress

func (NullableTechnicianAddress) Get

func (NullableTechnicianAddress) IsSet

func (v NullableTechnicianAddress) IsSet() bool

func (NullableTechnicianAddress) MarshalJSON

func (v NullableTechnicianAddress) MarshalJSON() ([]byte, error)

func (*NullableTechnicianAddress) Set

func (*NullableTechnicianAddress) UnmarshalJSON

func (v *NullableTechnicianAddress) UnmarshalJSON(src []byte) error

func (*NullableTechnicianAddress) Unset

func (v *NullableTechnicianAddress) Unset()

type NullableTechnicianAddressInput added in v0.2.0

type NullableTechnicianAddressInput struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianAddressInput added in v0.2.0

func NewNullableTechnicianAddressInput(val *TechnicianAddressInput) *NullableTechnicianAddressInput

func (NullableTechnicianAddressInput) Get added in v0.2.0

func (NullableTechnicianAddressInput) IsSet added in v0.2.0

func (NullableTechnicianAddressInput) MarshalJSON added in v0.2.0

func (v NullableTechnicianAddressInput) MarshalJSON() ([]byte, error)

func (*NullableTechnicianAddressInput) Set added in v0.2.0

func (*NullableTechnicianAddressInput) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianAddressInput) UnmarshalJSON(src []byte) error

func (*NullableTechnicianAddressInput) Unset added in v0.2.0

func (v *NullableTechnicianAddressInput) Unset()

type NullableTechnicianBuddiesRequest added in v0.2.0

type NullableTechnicianBuddiesRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianBuddiesRequest added in v0.2.0

func NewNullableTechnicianBuddiesRequest(val *TechnicianBuddiesRequest) *NullableTechnicianBuddiesRequest

func (NullableTechnicianBuddiesRequest) Get added in v0.2.0

func (NullableTechnicianBuddiesRequest) IsSet added in v0.2.0

func (NullableTechnicianBuddiesRequest) MarshalJSON added in v0.2.0

func (v NullableTechnicianBuddiesRequest) MarshalJSON() ([]byte, error)

func (*NullableTechnicianBuddiesRequest) Set added in v0.2.0

func (*NullableTechnicianBuddiesRequest) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianBuddiesRequest) UnmarshalJSON(src []byte) error

func (*NullableTechnicianBuddiesRequest) Unset added in v0.2.0

type NullableTechnicianCreateRequest added in v0.2.0

type NullableTechnicianCreateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianCreateRequest added in v0.2.0

func NewNullableTechnicianCreateRequest(val *TechnicianCreateRequest) *NullableTechnicianCreateRequest

func (NullableTechnicianCreateRequest) Get added in v0.2.0

func (NullableTechnicianCreateRequest) IsSet added in v0.2.0

func (NullableTechnicianCreateRequest) MarshalJSON added in v0.2.0

func (v NullableTechnicianCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableTechnicianCreateRequest) Set added in v0.2.0

func (*NullableTechnicianCreateRequest) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableTechnicianCreateRequest) Unset added in v0.2.0

type NullableTechnicianCreateResponse added in v0.2.0

type NullableTechnicianCreateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianCreateResponse added in v0.2.0

func NewNullableTechnicianCreateResponse(val *TechnicianCreateResponse) *NullableTechnicianCreateResponse

func (NullableTechnicianCreateResponse) Get added in v0.2.0

func (NullableTechnicianCreateResponse) IsSet added in v0.2.0

func (NullableTechnicianCreateResponse) MarshalJSON added in v0.2.0

func (v NullableTechnicianCreateResponse) MarshalJSON() ([]byte, error)

func (*NullableTechnicianCreateResponse) Set added in v0.2.0

func (*NullableTechnicianCreateResponse) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianCreateResponse) UnmarshalJSON(src []byte) error

func (*NullableTechnicianCreateResponse) Unset added in v0.2.0

type NullableTechnicianLeadRef

type NullableTechnicianLeadRef struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianLeadRef

func NewNullableTechnicianLeadRef(val *TechnicianLeadRef) *NullableTechnicianLeadRef

func (NullableTechnicianLeadRef) Get

func (NullableTechnicianLeadRef) IsSet

func (v NullableTechnicianLeadRef) IsSet() bool

func (NullableTechnicianLeadRef) MarshalJSON

func (v NullableTechnicianLeadRef) MarshalJSON() ([]byte, error)

func (*NullableTechnicianLeadRef) Set

func (*NullableTechnicianLeadRef) UnmarshalJSON

func (v *NullableTechnicianLeadRef) UnmarshalJSON(src []byte) error

func (*NullableTechnicianLeadRef) Unset

func (v *NullableTechnicianLeadRef) Unset()

type NullableTechnicianLeadsRequest added in v0.2.0

type NullableTechnicianLeadsRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianLeadsRequest added in v0.2.0

func NewNullableTechnicianLeadsRequest(val *TechnicianLeadsRequest) *NullableTechnicianLeadsRequest

func (NullableTechnicianLeadsRequest) Get added in v0.2.0

func (NullableTechnicianLeadsRequest) IsSet added in v0.2.0

func (NullableTechnicianLeadsRequest) MarshalJSON added in v0.2.0

func (v NullableTechnicianLeadsRequest) MarshalJSON() ([]byte, error)

func (*NullableTechnicianLeadsRequest) Set added in v0.2.0

func (*NullableTechnicianLeadsRequest) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianLeadsRequest) UnmarshalJSON(src []byte) error

func (*NullableTechnicianLeadsRequest) Unset added in v0.2.0

func (v *NullableTechnicianLeadsRequest) Unset()

type NullableTechnicianList

type NullableTechnicianList struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianList

func NewNullableTechnicianList(val *TechnicianList) *NullableTechnicianList

func (NullableTechnicianList) Get

func (NullableTechnicianList) IsSet

func (v NullableTechnicianList) IsSet() bool

func (NullableTechnicianList) MarshalJSON

func (v NullableTechnicianList) MarshalJSON() ([]byte, error)

func (*NullableTechnicianList) Set

func (*NullableTechnicianList) UnmarshalJSON

func (v *NullableTechnicianList) UnmarshalJSON(src []byte) error

func (*NullableTechnicianList) Unset

func (v *NullableTechnicianList) Unset()

type NullableTechnicianSchedule added in v0.2.0

type NullableTechnicianSchedule struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianSchedule added in v0.2.0

func NewNullableTechnicianSchedule(val *TechnicianSchedule) *NullableTechnicianSchedule

func (NullableTechnicianSchedule) Get added in v0.2.0

func (NullableTechnicianSchedule) IsSet added in v0.2.0

func (v NullableTechnicianSchedule) IsSet() bool

func (NullableTechnicianSchedule) MarshalJSON added in v0.2.0

func (v NullableTechnicianSchedule) MarshalJSON() ([]byte, error)

func (*NullableTechnicianSchedule) Set added in v0.2.0

func (*NullableTechnicianSchedule) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianSchedule) UnmarshalJSON(src []byte) error

func (*NullableTechnicianSchedule) Unset added in v0.2.0

func (v *NullableTechnicianSchedule) Unset()

type NullableTechnicianScheduleBlock added in v0.2.0

type NullableTechnicianScheduleBlock struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianScheduleBlock added in v0.2.0

func NewNullableTechnicianScheduleBlock(val *TechnicianScheduleBlock) *NullableTechnicianScheduleBlock

func (NullableTechnicianScheduleBlock) Get added in v0.2.0

func (NullableTechnicianScheduleBlock) IsSet added in v0.2.0

func (NullableTechnicianScheduleBlock) MarshalJSON added in v0.2.0

func (v NullableTechnicianScheduleBlock) MarshalJSON() ([]byte, error)

func (*NullableTechnicianScheduleBlock) Set added in v0.2.0

func (*NullableTechnicianScheduleBlock) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianScheduleBlock) UnmarshalJSON(src []byte) error

func (*NullableTechnicianScheduleBlock) Unset added in v0.2.0

type NullableTechnicianScheduleSession added in v0.2.0

type NullableTechnicianScheduleSession struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianScheduleSession added in v0.2.0

func NewNullableTechnicianScheduleSession(val *TechnicianScheduleSession) *NullableTechnicianScheduleSession

func (NullableTechnicianScheduleSession) Get added in v0.2.0

func (NullableTechnicianScheduleSession) IsSet added in v0.2.0

func (NullableTechnicianScheduleSession) MarshalJSON added in v0.2.0

func (v NullableTechnicianScheduleSession) MarshalJSON() ([]byte, error)

func (*NullableTechnicianScheduleSession) Set added in v0.2.0

func (*NullableTechnicianScheduleSession) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianScheduleSession) UnmarshalJSON(src []byte) error

func (*NullableTechnicianScheduleSession) Unset added in v0.2.0

type NullableTechnicianServiceAreaRef

type NullableTechnicianServiceAreaRef struct {
	// contains filtered or unexported fields
}

func (NullableTechnicianServiceAreaRef) Get

func (NullableTechnicianServiceAreaRef) IsSet

func (NullableTechnicianServiceAreaRef) MarshalJSON

func (v NullableTechnicianServiceAreaRef) MarshalJSON() ([]byte, error)

func (*NullableTechnicianServiceAreaRef) Set

func (*NullableTechnicianServiceAreaRef) UnmarshalJSON

func (v *NullableTechnicianServiceAreaRef) UnmarshalJSON(src []byte) error

func (*NullableTechnicianServiceAreaRef) Unset

type NullableTechnicianServiceAreasRequest added in v0.2.0

type NullableTechnicianServiceAreasRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianServiceAreasRequest added in v0.2.0

func NewNullableTechnicianServiceAreasRequest(val *TechnicianServiceAreasRequest) *NullableTechnicianServiceAreasRequest

func (NullableTechnicianServiceAreasRequest) Get added in v0.2.0

func (NullableTechnicianServiceAreasRequest) IsSet added in v0.2.0

func (NullableTechnicianServiceAreasRequest) MarshalJSON added in v0.2.0

func (v NullableTechnicianServiceAreasRequest) MarshalJSON() ([]byte, error)

func (*NullableTechnicianServiceAreasRequest) Set added in v0.2.0

func (*NullableTechnicianServiceAreasRequest) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianServiceAreasRequest) UnmarshalJSON(src []byte) error

func (*NullableTechnicianServiceAreasRequest) Unset added in v0.2.0

type NullableTechnicianServiceAreasResponse added in v0.2.0

type NullableTechnicianServiceAreasResponse struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianServiceAreasResponse added in v0.2.0

func NewNullableTechnicianServiceAreasResponse(val *TechnicianServiceAreasResponse) *NullableTechnicianServiceAreasResponse

func (NullableTechnicianServiceAreasResponse) Get added in v0.2.0

func (NullableTechnicianServiceAreasResponse) IsSet added in v0.2.0

func (NullableTechnicianServiceAreasResponse) MarshalJSON added in v0.2.0

func (v NullableTechnicianServiceAreasResponse) MarshalJSON() ([]byte, error)

func (*NullableTechnicianServiceAreasResponse) Set added in v0.2.0

func (*NullableTechnicianServiceAreasResponse) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianServiceAreasResponse) UnmarshalJSON(src []byte) error

func (*NullableTechnicianServiceAreasResponse) Unset added in v0.2.0

type NullableTechnicianSkill added in v0.2.0

type NullableTechnicianSkill struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianSkill added in v0.2.0

func NewNullableTechnicianSkill(val *TechnicianSkill) *NullableTechnicianSkill

func (NullableTechnicianSkill) Get added in v0.2.0

func (NullableTechnicianSkill) IsSet added in v0.2.0

func (v NullableTechnicianSkill) IsSet() bool

func (NullableTechnicianSkill) MarshalJSON added in v0.2.0

func (v NullableTechnicianSkill) MarshalJSON() ([]byte, error)

func (*NullableTechnicianSkill) Set added in v0.2.0

func (*NullableTechnicianSkill) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianSkill) UnmarshalJSON(src []byte) error

func (*NullableTechnicianSkill) Unset added in v0.2.0

func (v *NullableTechnicianSkill) Unset()

type NullableTechnicianSkillList added in v0.2.0

type NullableTechnicianSkillList struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianSkillList added in v0.2.0

func NewNullableTechnicianSkillList(val *TechnicianSkillList) *NullableTechnicianSkillList

func (NullableTechnicianSkillList) Get added in v0.2.0

func (NullableTechnicianSkillList) IsSet added in v0.2.0

func (NullableTechnicianSkillList) MarshalJSON added in v0.2.0

func (v NullableTechnicianSkillList) MarshalJSON() ([]byte, error)

func (*NullableTechnicianSkillList) Set added in v0.2.0

func (*NullableTechnicianSkillList) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianSkillList) UnmarshalJSON(src []byte) error

func (*NullableTechnicianSkillList) Unset added in v0.2.0

func (v *NullableTechnicianSkillList) Unset()

type NullableTechnicianSkillsRequest added in v0.2.0

type NullableTechnicianSkillsRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianSkillsRequest added in v0.2.0

func NewNullableTechnicianSkillsRequest(val *TechnicianSkillsRequest) *NullableTechnicianSkillsRequest

func (NullableTechnicianSkillsRequest) Get added in v0.2.0

func (NullableTechnicianSkillsRequest) IsSet added in v0.2.0

func (NullableTechnicianSkillsRequest) MarshalJSON added in v0.2.0

func (v NullableTechnicianSkillsRequest) MarshalJSON() ([]byte, error)

func (*NullableTechnicianSkillsRequest) Set added in v0.2.0

func (*NullableTechnicianSkillsRequest) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianSkillsRequest) UnmarshalJSON(src []byte) error

func (*NullableTechnicianSkillsRequest) Unset added in v0.2.0

type NullableTechnicianStatus

type NullableTechnicianStatus struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianStatus

func NewNullableTechnicianStatus(val *TechnicianStatus) *NullableTechnicianStatus

func (NullableTechnicianStatus) Get

func (NullableTechnicianStatus) IsSet

func (v NullableTechnicianStatus) IsSet() bool

func (NullableTechnicianStatus) MarshalJSON

func (v NullableTechnicianStatus) MarshalJSON() ([]byte, error)

func (*NullableTechnicianStatus) Set

func (*NullableTechnicianStatus) UnmarshalJSON

func (v *NullableTechnicianStatus) UnmarshalJSON(src []byte) error

func (*NullableTechnicianStatus) Unset

func (v *NullableTechnicianStatus) Unset()

type NullableTechnicianUpdateRequest added in v0.2.0

type NullableTechnicianUpdateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianUpdateRequest added in v0.2.0

func NewNullableTechnicianUpdateRequest(val *TechnicianUpdateRequest) *NullableTechnicianUpdateRequest

func (NullableTechnicianUpdateRequest) Get added in v0.2.0

func (NullableTechnicianUpdateRequest) IsSet added in v0.2.0

func (NullableTechnicianUpdateRequest) MarshalJSON added in v0.2.0

func (v NullableTechnicianUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableTechnicianUpdateRequest) Set added in v0.2.0

func (*NullableTechnicianUpdateRequest) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableTechnicianUpdateRequest) Unset added in v0.2.0

type NullableTechnicianVehiclesRequest added in v0.2.0

type NullableTechnicianVehiclesRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTechnicianVehiclesRequest added in v0.2.0

func NewNullableTechnicianVehiclesRequest(val *TechnicianVehiclesRequest) *NullableTechnicianVehiclesRequest

func (NullableTechnicianVehiclesRequest) Get added in v0.2.0

func (NullableTechnicianVehiclesRequest) IsSet added in v0.2.0

func (NullableTechnicianVehiclesRequest) MarshalJSON added in v0.2.0

func (v NullableTechnicianVehiclesRequest) MarshalJSON() ([]byte, error)

func (*NullableTechnicianVehiclesRequest) Set added in v0.2.0

func (*NullableTechnicianVehiclesRequest) UnmarshalJSON added in v0.2.0

func (v *NullableTechnicianVehiclesRequest) UnmarshalJSON(src []byte) error

func (*NullableTechnicianVehiclesRequest) Unset added in v0.2.0

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableVehicle

type NullableVehicle struct {
	// contains filtered or unexported fields
}

func NewNullableVehicle

func NewNullableVehicle(val *Vehicle) *NullableVehicle

func (NullableVehicle) Get

func (v NullableVehicle) Get() *Vehicle

func (NullableVehicle) IsSet

func (v NullableVehicle) IsSet() bool

func (NullableVehicle) MarshalJSON

func (v NullableVehicle) MarshalJSON() ([]byte, error)

func (*NullableVehicle) Set

func (v *NullableVehicle) Set(val *Vehicle)

func (*NullableVehicle) UnmarshalJSON

func (v *NullableVehicle) UnmarshalJSON(src []byte) error

func (*NullableVehicle) Unset

func (v *NullableVehicle) Unset()

type NullableVehicleList

type NullableVehicleList struct {
	// contains filtered or unexported fields
}

func NewNullableVehicleList

func NewNullableVehicleList(val *VehicleList) *NullableVehicleList

func (NullableVehicleList) Get

func (NullableVehicleList) IsSet

func (v NullableVehicleList) IsSet() bool

func (NullableVehicleList) MarshalJSON

func (v NullableVehicleList) MarshalJSON() ([]byte, error)

func (*NullableVehicleList) Set

func (v *NullableVehicleList) Set(val *VehicleList)

func (*NullableVehicleList) UnmarshalJSON

func (v *NullableVehicleList) UnmarshalJSON(src []byte) error

func (*NullableVehicleList) Unset

func (v *NullableVehicleList) Unset()

type NullableVehicleOwner

type NullableVehicleOwner struct {
	// contains filtered or unexported fields
}

func NewNullableVehicleOwner

func NewNullableVehicleOwner(val *VehicleOwner) *NullableVehicleOwner

func (NullableVehicleOwner) Get

func (NullableVehicleOwner) IsSet

func (v NullableVehicleOwner) IsSet() bool

func (NullableVehicleOwner) MarshalJSON

func (v NullableVehicleOwner) MarshalJSON() ([]byte, error)

func (*NullableVehicleOwner) Set

func (v *NullableVehicleOwner) Set(val *VehicleOwner)

func (*NullableVehicleOwner) UnmarshalJSON

func (v *NullableVehicleOwner) UnmarshalJSON(src []byte) error

func (*NullableVehicleOwner) Unset

func (v *NullableVehicleOwner) Unset()

type Pagination

type Pagination struct {
	// Number of rows in THIS page (equals the items array length).
	Count *int32 `json:"count,omitempty"`
	// The current page number (1-based).
	CurrentPage *int32 `json:"current_page,omitempty"`
	// Page size used for the query (default 15, max 1000).
	PerPage *int32 `json:"per_page,omitempty"`
	// Total number of rows matching the query across ALL pages.
	Total *int32 `json:"total,omitempty"`
	// Total number of pages (0 when there are no matching rows).
	TotalPages *int32 `json:"total_pages,omitempty"`
}

Pagination struct for Pagination

func NewPagination

func NewPagination() *Pagination

NewPagination instantiates a new Pagination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginationWithDefaults

func NewPaginationWithDefaults() *Pagination

NewPaginationWithDefaults instantiates a new Pagination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Pagination) GetCount

func (o *Pagination) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*Pagination) GetCountOk

func (o *Pagination) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pagination) GetCurrentPage

func (o *Pagination) GetCurrentPage() int32

GetCurrentPage returns the CurrentPage field value if set, zero value otherwise.

func (*Pagination) GetCurrentPageOk

func (o *Pagination) GetCurrentPageOk() (*int32, bool)

GetCurrentPageOk returns a tuple with the CurrentPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pagination) GetPerPage

func (o *Pagination) GetPerPage() int32

GetPerPage returns the PerPage field value if set, zero value otherwise.

func (*Pagination) GetPerPageOk

func (o *Pagination) GetPerPageOk() (*int32, bool)

GetPerPageOk returns a tuple with the PerPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pagination) GetTotal

func (o *Pagination) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*Pagination) GetTotalOk

func (o *Pagination) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pagination) GetTotalPages

func (o *Pagination) GetTotalPages() int32

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*Pagination) GetTotalPagesOk

func (o *Pagination) GetTotalPagesOk() (*int32, bool)

GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pagination) HasCount

func (o *Pagination) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*Pagination) HasCurrentPage

func (o *Pagination) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

func (*Pagination) HasPerPage

func (o *Pagination) HasPerPage() bool

HasPerPage returns a boolean if a field has been set.

func (*Pagination) HasTotal

func (o *Pagination) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*Pagination) HasTotalPages

func (o *Pagination) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (Pagination) MarshalJSON

func (o Pagination) MarshalJSON() ([]byte, error)

func (*Pagination) SetCount

func (o *Pagination) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*Pagination) SetCurrentPage

func (o *Pagination) SetCurrentPage(v int32)

SetCurrentPage gets a reference to the given int32 and assigns it to the CurrentPage field.

func (*Pagination) SetPerPage

func (o *Pagination) SetPerPage(v int32)

SetPerPage gets a reference to the given int32 and assigns it to the PerPage field.

func (*Pagination) SetTotal

func (o *Pagination) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (*Pagination) SetTotalPages

func (o *Pagination) SetTotalPages(v int32)

SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.

func (Pagination) ToMap

func (o Pagination) ToMap() (map[string]interface{}, error)

type ReplaceTechnicianServiceAreas200Response added in v0.2.0

type ReplaceTechnicianServiceAreas200Response struct {
	Data *TechnicianServiceAreasResponse `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ReplaceTechnicianServiceAreas200Response struct for ReplaceTechnicianServiceAreas200Response

func NewReplaceTechnicianServiceAreas200Response added in v0.2.0

func NewReplaceTechnicianServiceAreas200Response() *ReplaceTechnicianServiceAreas200Response

NewReplaceTechnicianServiceAreas200Response instantiates a new ReplaceTechnicianServiceAreas200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReplaceTechnicianServiceAreas200ResponseWithDefaults added in v0.2.0

func NewReplaceTechnicianServiceAreas200ResponseWithDefaults() *ReplaceTechnicianServiceAreas200Response

NewReplaceTechnicianServiceAreas200ResponseWithDefaults instantiates a new ReplaceTechnicianServiceAreas200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReplaceTechnicianServiceAreas200Response) GetData added in v0.2.0

GetData returns the Data field value if set, zero value otherwise.

func (*ReplaceTechnicianServiceAreas200Response) GetDataOk added in v0.2.0

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReplaceTechnicianServiceAreas200Response) GetErrorCode added in v0.2.0

func (o *ReplaceTechnicianServiceAreas200Response) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReplaceTechnicianServiceAreas200Response) GetErrorCodeOk added in v0.2.0

func (o *ReplaceTechnicianServiceAreas200Response) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReplaceTechnicianServiceAreas200Response) GetErrors added in v0.2.0

func (o *ReplaceTechnicianServiceAreas200Response) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ReplaceTechnicianServiceAreas200Response) GetErrorsOk added in v0.2.0

func (o *ReplaceTechnicianServiceAreas200Response) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ReplaceTechnicianServiceAreas200Response) GetMessage added in v0.2.0

GetMessage returns the Message field value if set, zero value otherwise.

func (*ReplaceTechnicianServiceAreas200Response) GetMessageOk added in v0.2.0

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReplaceTechnicianServiceAreas200Response) HasData added in v0.2.0

HasData returns a boolean if a field has been set.

func (*ReplaceTechnicianServiceAreas200Response) HasErrorCode added in v0.2.0

HasErrorCode returns a boolean if a field has been set.

func (*ReplaceTechnicianServiceAreas200Response) HasErrors added in v0.2.0

HasErrors returns a boolean if a field has been set.

func (*ReplaceTechnicianServiceAreas200Response) HasMessage added in v0.2.0

HasMessage returns a boolean if a field has been set.

func (ReplaceTechnicianServiceAreas200Response) MarshalJSON added in v0.2.0

func (*ReplaceTechnicianServiceAreas200Response) SetData added in v0.2.0

SetData gets a reference to the given TechnicianServiceAreasResponse and assigns it to the Data field.

func (*ReplaceTechnicianServiceAreas200Response) SetErrorCode added in v0.2.0

func (o *ReplaceTechnicianServiceAreas200Response) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ReplaceTechnicianServiceAreas200Response) SetErrors added in v0.2.0

func (o *ReplaceTechnicianServiceAreas200Response) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ReplaceTechnicianServiceAreas200Response) SetMessage added in v0.2.0

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ReplaceTechnicianServiceAreas200Response) ToMap added in v0.2.0

func (o ReplaceTechnicianServiceAreas200Response) ToMap() (map[string]interface{}, error)

type ResponseEnvelope

type ResponseEnvelope struct {
	// The response payload. Omitted on error unless the error carries structured data.
	Data interface{} `json:"data,omitempty"`
	// 0 on success; a stable string error code (e.g. \"VALIDATION_ERROR\") on failure.
	ErrorCode interface{} `json:"error_code,omitempty"`
	// Field-level validation details; present only for VALIDATION_ERROR responses.
	Errors interface{} `json:"errors,omitempty"`
	// Human-readable message (\"Success\" or an error description), localized via the X-Locale header.
	Message *string `json:"message,omitempty"`
}

ResponseEnvelope struct for ResponseEnvelope

func NewResponseEnvelope

func NewResponseEnvelope() *ResponseEnvelope

NewResponseEnvelope instantiates a new ResponseEnvelope object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewResponseEnvelopeWithDefaults

func NewResponseEnvelopeWithDefaults() *ResponseEnvelope

NewResponseEnvelopeWithDefaults instantiates a new ResponseEnvelope object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ResponseEnvelope) GetData

func (o *ResponseEnvelope) GetData() interface{}

GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResponseEnvelope) GetDataOk

func (o *ResponseEnvelope) GetDataOk() (*interface{}, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ResponseEnvelope) GetErrorCode

func (o *ResponseEnvelope) GetErrorCode() interface{}

GetErrorCode returns the ErrorCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResponseEnvelope) GetErrorCodeOk

func (o *ResponseEnvelope) GetErrorCodeOk() (*interface{}, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ResponseEnvelope) GetErrors

func (o *ResponseEnvelope) GetErrors() interface{}

GetErrors returns the Errors field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ResponseEnvelope) GetErrorsOk

func (o *ResponseEnvelope) GetErrorsOk() (*interface{}, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ResponseEnvelope) GetMessage

func (o *ResponseEnvelope) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ResponseEnvelope) GetMessageOk

func (o *ResponseEnvelope) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ResponseEnvelope) HasData

func (o *ResponseEnvelope) HasData() bool

HasData returns a boolean if a field has been set.

func (*ResponseEnvelope) HasErrorCode

func (o *ResponseEnvelope) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ResponseEnvelope) HasErrors

func (o *ResponseEnvelope) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (*ResponseEnvelope) HasMessage

func (o *ResponseEnvelope) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ResponseEnvelope) MarshalJSON

func (o ResponseEnvelope) MarshalJSON() ([]byte, error)

func (*ResponseEnvelope) SetData

func (o *ResponseEnvelope) SetData(v interface{})

SetData gets a reference to the given interface{} and assigns it to the Data field.

func (*ResponseEnvelope) SetErrorCode

func (o *ResponseEnvelope) SetErrorCode(v interface{})

SetErrorCode gets a reference to the given interface{} and assigns it to the ErrorCode field.

func (*ResponseEnvelope) SetErrors

func (o *ResponseEnvelope) SetErrors(v interface{})

SetErrors gets a reference to the given interface{} and assigns it to the Errors field.

func (*ResponseEnvelope) SetMessage

func (o *ResponseEnvelope) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ResponseEnvelope) ToMap

func (o ResponseEnvelope) ToMap() (map[string]interface{}, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type ServiceArea

type ServiceArea struct {
	// GeoJSON polygon boundary of the area; null if no boundary was set.
	Boundary map[string]interface{} `json:"boundary,omitempty"`
	// UUID of the business that owns this service area.
	BusinessId *string `json:"business_id,omitempty"`
	// City / locality for the area. Empty if unused.
	City *string `json:"city,omitempty"`
	// County for the area. Empty if unused.
	County *string `json:"county,omitempty"`
	// When the service area was created (RFC3339).
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Free-form description of the area. Empty if none was set.
	Description *string `json:"description,omitempty"`
	// District for the area. Empty if unused.
	District *string `json:"district,omitempty"`
	// Service-area UUID — the stable identifier used in every service-area endpoint.
	Id *string `json:"id,omitempty"`
	// Service-area display name.
	Name *string `json:"name,omitempty"`
	// Postal / ZIP code for the area. Empty if unused.
	PostalCode *string `json:"postal_code,omitempty"`
	// When the service area was last modified (RFC3339).
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ServiceArea struct for ServiceArea

func NewServiceArea

func NewServiceArea() *ServiceArea

NewServiceArea instantiates a new ServiceArea object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceAreaWithDefaults

func NewServiceAreaWithDefaults() *ServiceArea

NewServiceAreaWithDefaults instantiates a new ServiceArea object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceArea) GetBoundary

func (o *ServiceArea) GetBoundary() map[string]interface{}

GetBoundary returns the Boundary field value if set, zero value otherwise.

func (*ServiceArea) GetBoundaryOk

func (o *ServiceArea) GetBoundaryOk() (map[string]interface{}, bool)

GetBoundaryOk returns a tuple with the Boundary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetBusinessId

func (o *ServiceArea) GetBusinessId() string

GetBusinessId returns the BusinessId field value if set, zero value otherwise.

func (*ServiceArea) GetBusinessIdOk

func (o *ServiceArea) GetBusinessIdOk() (*string, bool)

GetBusinessIdOk returns a tuple with the BusinessId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetCity

func (o *ServiceArea) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*ServiceArea) GetCityOk

func (o *ServiceArea) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetCounty

func (o *ServiceArea) GetCounty() string

GetCounty returns the County field value if set, zero value otherwise.

func (*ServiceArea) GetCountyOk

func (o *ServiceArea) GetCountyOk() (*string, bool)

GetCountyOk returns a tuple with the County field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetCreatedAt

func (o *ServiceArea) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ServiceArea) GetCreatedAtOk

func (o *ServiceArea) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetDescription

func (o *ServiceArea) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ServiceArea) GetDescriptionOk

func (o *ServiceArea) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetDistrict

func (o *ServiceArea) GetDistrict() string

GetDistrict returns the District field value if set, zero value otherwise.

func (*ServiceArea) GetDistrictOk

func (o *ServiceArea) GetDistrictOk() (*string, bool)

GetDistrictOk returns a tuple with the District field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetId

func (o *ServiceArea) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ServiceArea) GetIdOk

func (o *ServiceArea) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetName

func (o *ServiceArea) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ServiceArea) GetNameOk

func (o *ServiceArea) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetPostalCode

func (o *ServiceArea) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*ServiceArea) GetPostalCodeOk

func (o *ServiceArea) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) GetUpdatedAt

func (o *ServiceArea) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ServiceArea) GetUpdatedAtOk

func (o *ServiceArea) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceArea) HasBoundary

func (o *ServiceArea) HasBoundary() bool

HasBoundary returns a boolean if a field has been set.

func (*ServiceArea) HasBusinessId

func (o *ServiceArea) HasBusinessId() bool

HasBusinessId returns a boolean if a field has been set.

func (*ServiceArea) HasCity

func (o *ServiceArea) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*ServiceArea) HasCounty

func (o *ServiceArea) HasCounty() bool

HasCounty returns a boolean if a field has been set.

func (*ServiceArea) HasCreatedAt

func (o *ServiceArea) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*ServiceArea) HasDescription

func (o *ServiceArea) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ServiceArea) HasDistrict

func (o *ServiceArea) HasDistrict() bool

HasDistrict returns a boolean if a field has been set.

func (*ServiceArea) HasId

func (o *ServiceArea) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServiceArea) HasName

func (o *ServiceArea) HasName() bool

HasName returns a boolean if a field has been set.

func (*ServiceArea) HasPostalCode

func (o *ServiceArea) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*ServiceArea) HasUpdatedAt

func (o *ServiceArea) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ServiceArea) MarshalJSON

func (o ServiceArea) MarshalJSON() ([]byte, error)

func (*ServiceArea) SetBoundary

func (o *ServiceArea) SetBoundary(v map[string]interface{})

SetBoundary gets a reference to the given map[string]interface{} and assigns it to the Boundary field.

func (*ServiceArea) SetBusinessId

func (o *ServiceArea) SetBusinessId(v string)

SetBusinessId gets a reference to the given string and assigns it to the BusinessId field.

func (*ServiceArea) SetCity

func (o *ServiceArea) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*ServiceArea) SetCounty

func (o *ServiceArea) SetCounty(v string)

SetCounty gets a reference to the given string and assigns it to the County field.

func (*ServiceArea) SetCreatedAt

func (o *ServiceArea) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ServiceArea) SetDescription

func (o *ServiceArea) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ServiceArea) SetDistrict

func (o *ServiceArea) SetDistrict(v string)

SetDistrict gets a reference to the given string and assigns it to the District field.

func (*ServiceArea) SetId

func (o *ServiceArea) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ServiceArea) SetName

func (o *ServiceArea) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ServiceArea) SetPostalCode

func (o *ServiceArea) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*ServiceArea) SetUpdatedAt

func (o *ServiceArea) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (ServiceArea) ToMap

func (o ServiceArea) ToMap() (map[string]interface{}, error)

type ServiceAreaAPIService

type ServiceAreaAPIService service

ServiceAreaAPIService ServiceAreaAPI service

func (*ServiceAreaAPIService) GetServiceArea

GetServiceArea Get a service area

Returns one service area — a geographic coverage zone (service territory) the business operates in, with its name and geometry metadata. Reference its UUID as `service_area_id` on customer records for territory-aware dispatch.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Service Area ID
@return ApiGetServiceAreaRequest

func (*ServiceAreaAPIService) GetServiceAreaExecute

Execute executes the request

@return GetServiceArea200Response

func (*ServiceAreaAPIService) ListServiceAreas

ListServiceAreas List service areas

Returns the business's geographic coverage: paginated service areas (service territories / coverage zones) used for routing jobs to the right teams. Discover the `service_area_id` values accepted on customer create/update here.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListServiceAreasRequest

func (*ServiceAreaAPIService) ListServiceAreasExecute

Execute executes the request

@return ListServiceAreas200Response

type ServiceAreaList

type ServiceAreaList struct {
	// Page/limit/total pagination metadata.
	Meta *Pagination `json:"meta,omitempty"`
	// The service areas on this page.
	ServiceAreas []ServiceArea `json:"service_areas,omitempty"`
}

ServiceAreaList struct for ServiceAreaList

func NewServiceAreaList

func NewServiceAreaList() *ServiceAreaList

NewServiceAreaList instantiates a new ServiceAreaList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServiceAreaListWithDefaults

func NewServiceAreaListWithDefaults() *ServiceAreaList

NewServiceAreaListWithDefaults instantiates a new ServiceAreaList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServiceAreaList) GetMeta

func (o *ServiceAreaList) GetMeta() Pagination

GetMeta returns the Meta field value if set, zero value otherwise.

func (*ServiceAreaList) GetMetaOk

func (o *ServiceAreaList) GetMetaOk() (*Pagination, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceAreaList) GetServiceAreas

func (o *ServiceAreaList) GetServiceAreas() []ServiceArea

GetServiceAreas returns the ServiceAreas field value if set, zero value otherwise.

func (*ServiceAreaList) GetServiceAreasOk

func (o *ServiceAreaList) GetServiceAreasOk() ([]ServiceArea, bool)

GetServiceAreasOk returns a tuple with the ServiceAreas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceAreaList) HasMeta

func (o *ServiceAreaList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*ServiceAreaList) HasServiceAreas

func (o *ServiceAreaList) HasServiceAreas() bool

HasServiceAreas returns a boolean if a field has been set.

func (ServiceAreaList) MarshalJSON

func (o ServiceAreaList) MarshalJSON() ([]byte, error)

func (*ServiceAreaList) SetMeta

func (o *ServiceAreaList) SetMeta(v Pagination)

SetMeta gets a reference to the given Pagination and assigns it to the Meta field.

func (*ServiceAreaList) SetServiceAreas

func (o *ServiceAreaList) SetServiceAreas(v []ServiceArea)

SetServiceAreas gets a reference to the given []ServiceArea and assigns it to the ServiceAreas field.

func (ServiceAreaList) ToMap

func (o ServiceAreaList) ToMap() (map[string]interface{}, error)

type Skill

type Skill struct {
	// UUID of the category this skill belongs to.
	CategoryId *string `json:"category_id,omitempty"`
	// When the skill was created (RFC3339, UTC).
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Free-form description of the skill.
	Description *string `json:"description,omitempty"`
	// Skill UUID — pass this in `skill_ids` when creating a job request.
	Id *string `json:"id,omitempty"`
	// Whether the skill is active and bookable.
	IsActive *bool `json:"is_active,omitempty"`
	// Members is the count of active (non-deleted) technicians currently assigned to this skill.
	Members *int32 `json:"members,omitempty"`
	// Skill name.
	Name *string `json:"name,omitempty"`
	// When the skill was last modified (RFC3339, UTC).
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Skill struct for Skill

func NewSkill

func NewSkill() *Skill

NewSkill instantiates a new Skill object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSkillWithDefaults

func NewSkillWithDefaults() *Skill

NewSkillWithDefaults instantiates a new Skill object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Skill) GetCategoryId

func (o *Skill) GetCategoryId() string

GetCategoryId returns the CategoryId field value if set, zero value otherwise.

func (*Skill) GetCategoryIdOk

func (o *Skill) GetCategoryIdOk() (*string, bool)

GetCategoryIdOk returns a tuple with the CategoryId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Skill) GetCreatedAt

func (o *Skill) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Skill) GetCreatedAtOk

func (o *Skill) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Skill) GetDescription

func (o *Skill) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Skill) GetDescriptionOk

func (o *Skill) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Skill) GetId

func (o *Skill) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Skill) GetIdOk

func (o *Skill) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Skill) GetIsActive

func (o *Skill) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*Skill) GetIsActiveOk

func (o *Skill) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Skill) GetMembers

func (o *Skill) GetMembers() int32

GetMembers returns the Members field value if set, zero value otherwise.

func (*Skill) GetMembersOk

func (o *Skill) GetMembersOk() (*int32, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Skill) GetName

func (o *Skill) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Skill) GetNameOk

func (o *Skill) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Skill) GetUpdatedAt

func (o *Skill) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Skill) GetUpdatedAtOk

func (o *Skill) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Skill) HasCategoryId

func (o *Skill) HasCategoryId() bool

HasCategoryId returns a boolean if a field has been set.

func (*Skill) HasCreatedAt

func (o *Skill) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Skill) HasDescription

func (o *Skill) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Skill) HasId

func (o *Skill) HasId() bool

HasId returns a boolean if a field has been set.

func (*Skill) HasIsActive

func (o *Skill) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*Skill) HasMembers

func (o *Skill) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*Skill) HasName

func (o *Skill) HasName() bool

HasName returns a boolean if a field has been set.

func (*Skill) HasUpdatedAt

func (o *Skill) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Skill) MarshalJSON

func (o Skill) MarshalJSON() ([]byte, error)

func (*Skill) SetCategoryId

func (o *Skill) SetCategoryId(v string)

SetCategoryId gets a reference to the given string and assigns it to the CategoryId field.

func (*Skill) SetCreatedAt

func (o *Skill) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Skill) SetDescription

func (o *Skill) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Skill) SetId

func (o *Skill) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Skill) SetIsActive

func (o *Skill) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*Skill) SetMembers

func (o *Skill) SetMembers(v int32)

SetMembers gets a reference to the given int32 and assigns it to the Members field.

func (*Skill) SetName

func (o *Skill) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Skill) SetUpdatedAt

func (o *Skill) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Skill) ToMap

func (o Skill) ToMap() (map[string]interface{}, error)

type SkillByCategoryList

type SkillByCategoryList struct {
	// Page/limit/total pagination metadata.
	Meta *Pagination `json:"meta,omitempty"`
	// The category's skills on this page.
	Skills []Skill `json:"skills,omitempty"`
}

SkillByCategoryList struct for SkillByCategoryList

func NewSkillByCategoryList

func NewSkillByCategoryList() *SkillByCategoryList

NewSkillByCategoryList instantiates a new SkillByCategoryList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSkillByCategoryListWithDefaults

func NewSkillByCategoryListWithDefaults() *SkillByCategoryList

NewSkillByCategoryListWithDefaults instantiates a new SkillByCategoryList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SkillByCategoryList) GetMeta

func (o *SkillByCategoryList) GetMeta() Pagination

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SkillByCategoryList) GetMetaOk

func (o *SkillByCategoryList) GetMetaOk() (*Pagination, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillByCategoryList) GetSkills

func (o *SkillByCategoryList) GetSkills() []Skill

GetSkills returns the Skills field value if set, zero value otherwise.

func (*SkillByCategoryList) GetSkillsOk

func (o *SkillByCategoryList) GetSkillsOk() ([]Skill, bool)

GetSkillsOk returns a tuple with the Skills field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillByCategoryList) HasMeta

func (o *SkillByCategoryList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*SkillByCategoryList) HasSkills

func (o *SkillByCategoryList) HasSkills() bool

HasSkills returns a boolean if a field has been set.

func (SkillByCategoryList) MarshalJSON

func (o SkillByCategoryList) MarshalJSON() ([]byte, error)

func (*SkillByCategoryList) SetMeta

func (o *SkillByCategoryList) SetMeta(v Pagination)

SetMeta gets a reference to the given Pagination and assigns it to the Meta field.

func (*SkillByCategoryList) SetSkills

func (o *SkillByCategoryList) SetSkills(v []Skill)

SetSkills gets a reference to the given []Skill and assigns it to the Skills field.

func (SkillByCategoryList) ToMap

func (o SkillByCategoryList) ToMap() (map[string]interface{}, error)

type SkillCategory

type SkillCategory struct {
	// When the category was created (RFC3339, UTC).
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Icon identifier for dashboard display.
	Icon *string `json:"icon,omitempty"`
	// Category UUID.
	Id *string `json:"id,omitempty"`
	// Category display name.
	Name *string `json:"name,omitempty"`
	// When the category was last modified (RFC3339, UTC).
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SkillCategory struct for SkillCategory

func NewSkillCategory

func NewSkillCategory() *SkillCategory

NewSkillCategory instantiates a new SkillCategory object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSkillCategoryWithDefaults

func NewSkillCategoryWithDefaults() *SkillCategory

NewSkillCategoryWithDefaults instantiates a new SkillCategory object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SkillCategory) GetCreatedAt

func (o *SkillCategory) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SkillCategory) GetCreatedAtOk

func (o *SkillCategory) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillCategory) GetIcon

func (o *SkillCategory) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise.

func (*SkillCategory) GetIconOk

func (o *SkillCategory) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillCategory) GetId

func (o *SkillCategory) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SkillCategory) GetIdOk

func (o *SkillCategory) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillCategory) GetName

func (o *SkillCategory) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SkillCategory) GetNameOk

func (o *SkillCategory) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillCategory) GetUpdatedAt

func (o *SkillCategory) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*SkillCategory) GetUpdatedAtOk

func (o *SkillCategory) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillCategory) HasCreatedAt

func (o *SkillCategory) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SkillCategory) HasIcon

func (o *SkillCategory) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*SkillCategory) HasId

func (o *SkillCategory) HasId() bool

HasId returns a boolean if a field has been set.

func (*SkillCategory) HasName

func (o *SkillCategory) HasName() bool

HasName returns a boolean if a field has been set.

func (*SkillCategory) HasUpdatedAt

func (o *SkillCategory) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SkillCategory) MarshalJSON

func (o SkillCategory) MarshalJSON() ([]byte, error)

func (*SkillCategory) SetCreatedAt

func (o *SkillCategory) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SkillCategory) SetIcon

func (o *SkillCategory) SetIcon(v string)

SetIcon gets a reference to the given string and assigns it to the Icon field.

func (*SkillCategory) SetId

func (o *SkillCategory) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SkillCategory) SetName

func (o *SkillCategory) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SkillCategory) SetUpdatedAt

func (o *SkillCategory) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (SkillCategory) ToMap

func (o SkillCategory) ToMap() (map[string]interface{}, error)

type SkillCategoryList

type SkillCategoryList struct {
	// The skill categories on this page.
	Categories []SkillCategory `json:"categories,omitempty"`
	// Page/limit/total pagination metadata.
	Meta *Pagination `json:"meta,omitempty"`
}

SkillCategoryList struct for SkillCategoryList

func NewSkillCategoryList

func NewSkillCategoryList() *SkillCategoryList

NewSkillCategoryList instantiates a new SkillCategoryList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSkillCategoryListWithDefaults

func NewSkillCategoryListWithDefaults() *SkillCategoryList

NewSkillCategoryListWithDefaults instantiates a new SkillCategoryList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SkillCategoryList) GetCategories

func (o *SkillCategoryList) GetCategories() []SkillCategory

GetCategories returns the Categories field value if set, zero value otherwise.

func (*SkillCategoryList) GetCategoriesOk

func (o *SkillCategoryList) GetCategoriesOk() ([]SkillCategory, bool)

GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillCategoryList) GetMeta

func (o *SkillCategoryList) GetMeta() Pagination

GetMeta returns the Meta field value if set, zero value otherwise.

func (*SkillCategoryList) GetMetaOk

func (o *SkillCategoryList) GetMetaOk() (*Pagination, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillCategoryList) HasCategories

func (o *SkillCategoryList) HasCategories() bool

HasCategories returns a boolean if a field has been set.

func (*SkillCategoryList) HasMeta

func (o *SkillCategoryList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (SkillCategoryList) MarshalJSON

func (o SkillCategoryList) MarshalJSON() ([]byte, error)

func (*SkillCategoryList) SetCategories

func (o *SkillCategoryList) SetCategories(v []SkillCategory)

SetCategories gets a reference to the given []SkillCategory and assigns it to the Categories field.

func (*SkillCategoryList) SetMeta

func (o *SkillCategoryList) SetMeta(v Pagination)

SetMeta gets a reference to the given Pagination and assigns it to the Meta field.

func (SkillCategoryList) ToMap

func (o SkillCategoryList) ToMap() (map[string]interface{}, error)

type SkillList

type SkillList struct {
	// All active skills across every category.
	Skills []SkillSummary `json:"skills,omitempty"`
}

SkillList struct for SkillList

func NewSkillList

func NewSkillList() *SkillList

NewSkillList instantiates a new SkillList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSkillListWithDefaults

func NewSkillListWithDefaults() *SkillList

NewSkillListWithDefaults instantiates a new SkillList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SkillList) GetSkills

func (o *SkillList) GetSkills() []SkillSummary

GetSkills returns the Skills field value if set, zero value otherwise.

func (*SkillList) GetSkillsOk

func (o *SkillList) GetSkillsOk() ([]SkillSummary, bool)

GetSkillsOk returns a tuple with the Skills field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillList) HasSkills

func (o *SkillList) HasSkills() bool

HasSkills returns a boolean if a field has been set.

func (SkillList) MarshalJSON

func (o SkillList) MarshalJSON() ([]byte, error)

func (*SkillList) SetSkills

func (o *SkillList) SetSkills(v []SkillSummary)

SetSkills gets a reference to the given []SkillSummary and assigns it to the Skills field.

func (SkillList) ToMap

func (o SkillList) ToMap() (map[string]interface{}, error)

type SkillSummary

type SkillSummary struct {
	// UUID of the category this skill belongs to.
	CategoryId *string `json:"category_id,omitempty"`
	// Display name of the skill's category.
	CategoryName *string `json:"category_name,omitempty"`
	// Skill UUID — pass this in `skill_ids` when creating a job request.
	Id *string `json:"id,omitempty"`
	// Whether the skill is active and bookable.
	IsActive *bool `json:"is_active,omitempty"`
	// Skill name.
	Name *string `json:"name,omitempty"`
}

SkillSummary struct for SkillSummary

func NewSkillSummary

func NewSkillSummary() *SkillSummary

NewSkillSummary instantiates a new SkillSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSkillSummaryWithDefaults

func NewSkillSummaryWithDefaults() *SkillSummary

NewSkillSummaryWithDefaults instantiates a new SkillSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SkillSummary) GetCategoryId

func (o *SkillSummary) GetCategoryId() string

GetCategoryId returns the CategoryId field value if set, zero value otherwise.

func (*SkillSummary) GetCategoryIdOk

func (o *SkillSummary) GetCategoryIdOk() (*string, bool)

GetCategoryIdOk returns a tuple with the CategoryId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillSummary) GetCategoryName

func (o *SkillSummary) GetCategoryName() string

GetCategoryName returns the CategoryName field value if set, zero value otherwise.

func (*SkillSummary) GetCategoryNameOk

func (o *SkillSummary) GetCategoryNameOk() (*string, bool)

GetCategoryNameOk returns a tuple with the CategoryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillSummary) GetId

func (o *SkillSummary) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SkillSummary) GetIdOk

func (o *SkillSummary) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillSummary) GetIsActive

func (o *SkillSummary) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*SkillSummary) GetIsActiveOk

func (o *SkillSummary) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillSummary) GetName

func (o *SkillSummary) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SkillSummary) GetNameOk

func (o *SkillSummary) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SkillSummary) HasCategoryId

func (o *SkillSummary) HasCategoryId() bool

HasCategoryId returns a boolean if a field has been set.

func (*SkillSummary) HasCategoryName

func (o *SkillSummary) HasCategoryName() bool

HasCategoryName returns a boolean if a field has been set.

func (*SkillSummary) HasId

func (o *SkillSummary) HasId() bool

HasId returns a boolean if a field has been set.

func (*SkillSummary) HasIsActive

func (o *SkillSummary) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*SkillSummary) HasName

func (o *SkillSummary) HasName() bool

HasName returns a boolean if a field has been set.

func (SkillSummary) MarshalJSON

func (o SkillSummary) MarshalJSON() ([]byte, error)

func (*SkillSummary) SetCategoryId

func (o *SkillSummary) SetCategoryId(v string)

SetCategoryId gets a reference to the given string and assigns it to the CategoryId field.

func (*SkillSummary) SetCategoryName

func (o *SkillSummary) SetCategoryName(v string)

SetCategoryName gets a reference to the given string and assigns it to the CategoryName field.

func (*SkillSummary) SetId

func (o *SkillSummary) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SkillSummary) SetIsActive

func (o *SkillSummary) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*SkillSummary) SetName

func (o *SkillSummary) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (SkillSummary) ToMap

func (o SkillSummary) ToMap() (map[string]interface{}, error)

type Technician

type Technician struct {
	// Technician's start-location postal address.
	Address *TechnicianAddress `json:"address,omitempty"`
	// Smart-assignment tier, or null if unset.
	AssignmentTier *string `json:"assignment_tier,omitempty"`
	// UUIDs of this technician's buddies (the techs they prefer to work alongside).
	BuddyIds []string `json:"buddy_ids,omitempty"`
	// UUID of the permission group (role) this technician is assigned to.
	BusinessGroupId *string `json:"business_group_id,omitempty"`
	// UUID of the business this technician belongs to.
	BusinessId *string `json:"business_id,omitempty"`
	// When the technician record was created (RFC3339).
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Set (RFC3339) only when the technician has been soft-removed; omitted otherwise.
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	// Email address; null if not set.
	Email *string `json:"email,omitempty"`
	// Technician's full name.
	FullName *string `json:"full_name,omitempty"`
	// Technician membership UUID — the stable identifier used in every technician endpoint.
	Id *string `json:"id,omitempty"`
	// Free-form job title (e.g. \"Senior HVAC Technician\"). Empty if unset.
	JobTitle *string `json:"job_title,omitempty"`
	// Date the technician joined (YYYY-MM-DD); null if unset.
	JoinDate *string `json:"join_date,omitempty"`
	// When the technician last logged in (RFC3339); null if never.
	LastLoginAt *time.Time `json:"last_login_at,omitempty"`
	// Leads this technician is a buddy of (id + name).
	Leads []TechnicianLeadRef `json:"leads,omitempty"`
	// Phone number in the form it was supplied; null if not set.
	Phone *string `json:"phone,omitempty"`
	// Resolved role/group name (e.g. \"Technician\", \"Owner\").
	Role *string `json:"role,omitempty"`
	// Service areas this technician is assigned to (id + name).
	ServiceAreas []TechnicianServiceAreaRef `json:"service_areas,omitempty"`
	// Start-location latitude in decimal degrees; null if no coordinates are saved.
	StartLocationLat *float32 `json:"start_location_lat,omitempty"`
	// Start-location longitude in decimal degrees; null if no coordinates are saved.
	StartLocationLong *float32 `json:"start_location_long,omitempty"`
	// Where the technician's day starts: \"home\" (their address) or \"office\" (the business address). Null if unset.
	StartLocationType *string `json:"start_location_type,omitempty"`
	// Membership lifecycle status.
	Status *TechnicianStatus `json:"status,omitempty"`
	// When the technician record was last modified (RFC3339).
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// UUID of the underlying user account.
	UserId *string `json:"user_id,omitempty"`
	// UUIDs of the vehicles this technician uses.
	VehicleIds []string `json:"vehicle_ids,omitempty"`
}

Technician struct for Technician

func NewTechnician

func NewTechnician() *Technician

NewTechnician instantiates a new Technician object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianWithDefaults

func NewTechnicianWithDefaults() *Technician

NewTechnicianWithDefaults instantiates a new Technician object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Technician) GetAddress

func (o *Technician) GetAddress() TechnicianAddress

GetAddress returns the Address field value if set, zero value otherwise.

func (*Technician) GetAddressOk

func (o *Technician) GetAddressOk() (*TechnicianAddress, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetAssignmentTier

func (o *Technician) GetAssignmentTier() string

GetAssignmentTier returns the AssignmentTier field value if set, zero value otherwise.

func (*Technician) GetAssignmentTierOk

func (o *Technician) GetAssignmentTierOk() (*string, bool)

GetAssignmentTierOk returns a tuple with the AssignmentTier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetBuddyIds

func (o *Technician) GetBuddyIds() []string

GetBuddyIds returns the BuddyIds field value if set, zero value otherwise.

func (*Technician) GetBuddyIdsOk

func (o *Technician) GetBuddyIdsOk() ([]string, bool)

GetBuddyIdsOk returns a tuple with the BuddyIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetBusinessGroupId

func (o *Technician) GetBusinessGroupId() string

GetBusinessGroupId returns the BusinessGroupId field value if set, zero value otherwise.

func (*Technician) GetBusinessGroupIdOk

func (o *Technician) GetBusinessGroupIdOk() (*string, bool)

GetBusinessGroupIdOk returns a tuple with the BusinessGroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetBusinessId

func (o *Technician) GetBusinessId() string

GetBusinessId returns the BusinessId field value if set, zero value otherwise.

func (*Technician) GetBusinessIdOk

func (o *Technician) GetBusinessIdOk() (*string, bool)

GetBusinessIdOk returns a tuple with the BusinessId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetCreatedAt

func (o *Technician) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Technician) GetCreatedAtOk

func (o *Technician) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetDeletedAt

func (o *Technician) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*Technician) GetDeletedAtOk

func (o *Technician) GetDeletedAtOk() (*time.Time, bool)

GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetEmail

func (o *Technician) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*Technician) GetEmailOk

func (o *Technician) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetFullName

func (o *Technician) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*Technician) GetFullNameOk

func (o *Technician) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetId

func (o *Technician) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Technician) GetIdOk

func (o *Technician) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetJobTitle

func (o *Technician) GetJobTitle() string

GetJobTitle returns the JobTitle field value if set, zero value otherwise.

func (*Technician) GetJobTitleOk

func (o *Technician) GetJobTitleOk() (*string, bool)

GetJobTitleOk returns a tuple with the JobTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetJoinDate

func (o *Technician) GetJoinDate() string

GetJoinDate returns the JoinDate field value if set, zero value otherwise.

func (*Technician) GetJoinDateOk

func (o *Technician) GetJoinDateOk() (*string, bool)

GetJoinDateOk returns a tuple with the JoinDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetLastLoginAt

func (o *Technician) GetLastLoginAt() time.Time

GetLastLoginAt returns the LastLoginAt field value if set, zero value otherwise.

func (*Technician) GetLastLoginAtOk

func (o *Technician) GetLastLoginAtOk() (*time.Time, bool)

GetLastLoginAtOk returns a tuple with the LastLoginAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetLeads

func (o *Technician) GetLeads() []TechnicianLeadRef

GetLeads returns the Leads field value if set, zero value otherwise.

func (*Technician) GetLeadsOk

func (o *Technician) GetLeadsOk() ([]TechnicianLeadRef, bool)

GetLeadsOk returns a tuple with the Leads field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetPhone

func (o *Technician) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*Technician) GetPhoneOk

func (o *Technician) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetRole

func (o *Technician) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*Technician) GetRoleOk

func (o *Technician) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetServiceAreas

func (o *Technician) GetServiceAreas() []TechnicianServiceAreaRef

GetServiceAreas returns the ServiceAreas field value if set, zero value otherwise.

func (*Technician) GetServiceAreasOk

func (o *Technician) GetServiceAreasOk() ([]TechnicianServiceAreaRef, bool)

GetServiceAreasOk returns a tuple with the ServiceAreas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetStartLocationLat

func (o *Technician) GetStartLocationLat() float32

GetStartLocationLat returns the StartLocationLat field value if set, zero value otherwise.

func (*Technician) GetStartLocationLatOk

func (o *Technician) GetStartLocationLatOk() (*float32, bool)

GetStartLocationLatOk returns a tuple with the StartLocationLat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetStartLocationLong

func (o *Technician) GetStartLocationLong() float32

GetStartLocationLong returns the StartLocationLong field value if set, zero value otherwise.

func (*Technician) GetStartLocationLongOk

func (o *Technician) GetStartLocationLongOk() (*float32, bool)

GetStartLocationLongOk returns a tuple with the StartLocationLong field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetStartLocationType

func (o *Technician) GetStartLocationType() string

GetStartLocationType returns the StartLocationType field value if set, zero value otherwise.

func (*Technician) GetStartLocationTypeOk

func (o *Technician) GetStartLocationTypeOk() (*string, bool)

GetStartLocationTypeOk returns a tuple with the StartLocationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetStatus

func (o *Technician) GetStatus() TechnicianStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*Technician) GetStatusOk

func (o *Technician) GetStatusOk() (*TechnicianStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetUpdatedAt

func (o *Technician) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Technician) GetUpdatedAtOk

func (o *Technician) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetUserId

func (o *Technician) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*Technician) GetUserIdOk

func (o *Technician) GetUserIdOk() (*string, bool)

GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) GetVehicleIds

func (o *Technician) GetVehicleIds() []string

GetVehicleIds returns the VehicleIds field value if set, zero value otherwise.

func (*Technician) GetVehicleIdsOk

func (o *Technician) GetVehicleIdsOk() ([]string, bool)

GetVehicleIdsOk returns a tuple with the VehicleIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Technician) HasAddress

func (o *Technician) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*Technician) HasAssignmentTier

func (o *Technician) HasAssignmentTier() bool

HasAssignmentTier returns a boolean if a field has been set.

func (*Technician) HasBuddyIds

func (o *Technician) HasBuddyIds() bool

HasBuddyIds returns a boolean if a field has been set.

func (*Technician) HasBusinessGroupId

func (o *Technician) HasBusinessGroupId() bool

HasBusinessGroupId returns a boolean if a field has been set.

func (*Technician) HasBusinessId

func (o *Technician) HasBusinessId() bool

HasBusinessId returns a boolean if a field has been set.

func (*Technician) HasCreatedAt

func (o *Technician) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Technician) HasDeletedAt

func (o *Technician) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Technician) HasEmail

func (o *Technician) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*Technician) HasFullName

func (o *Technician) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*Technician) HasId

func (o *Technician) HasId() bool

HasId returns a boolean if a field has been set.

func (*Technician) HasJobTitle

func (o *Technician) HasJobTitle() bool

HasJobTitle returns a boolean if a field has been set.

func (*Technician) HasJoinDate

func (o *Technician) HasJoinDate() bool

HasJoinDate returns a boolean if a field has been set.

func (*Technician) HasLastLoginAt

func (o *Technician) HasLastLoginAt() bool

HasLastLoginAt returns a boolean if a field has been set.

func (*Technician) HasLeads

func (o *Technician) HasLeads() bool

HasLeads returns a boolean if a field has been set.

func (*Technician) HasPhone

func (o *Technician) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*Technician) HasRole

func (o *Technician) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*Technician) HasServiceAreas

func (o *Technician) HasServiceAreas() bool

HasServiceAreas returns a boolean if a field has been set.

func (*Technician) HasStartLocationLat

func (o *Technician) HasStartLocationLat() bool

HasStartLocationLat returns a boolean if a field has been set.

func (*Technician) HasStartLocationLong

func (o *Technician) HasStartLocationLong() bool

HasStartLocationLong returns a boolean if a field has been set.

func (*Technician) HasStartLocationType

func (o *Technician) HasStartLocationType() bool

HasStartLocationType returns a boolean if a field has been set.

func (*Technician) HasStatus

func (o *Technician) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Technician) HasUpdatedAt

func (o *Technician) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Technician) HasUserId

func (o *Technician) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (*Technician) HasVehicleIds

func (o *Technician) HasVehicleIds() bool

HasVehicleIds returns a boolean if a field has been set.

func (Technician) MarshalJSON

func (o Technician) MarshalJSON() ([]byte, error)

func (*Technician) SetAddress

func (o *Technician) SetAddress(v TechnicianAddress)

SetAddress gets a reference to the given TechnicianAddress and assigns it to the Address field.

func (*Technician) SetAssignmentTier

func (o *Technician) SetAssignmentTier(v string)

SetAssignmentTier gets a reference to the given string and assigns it to the AssignmentTier field.

func (*Technician) SetBuddyIds

func (o *Technician) SetBuddyIds(v []string)

SetBuddyIds gets a reference to the given []string and assigns it to the BuddyIds field.

func (*Technician) SetBusinessGroupId

func (o *Technician) SetBusinessGroupId(v string)

SetBusinessGroupId gets a reference to the given string and assigns it to the BusinessGroupId field.

func (*Technician) SetBusinessId

func (o *Technician) SetBusinessId(v string)

SetBusinessId gets a reference to the given string and assigns it to the BusinessId field.

func (*Technician) SetCreatedAt

func (o *Technician) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Technician) SetDeletedAt

func (o *Technician) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*Technician) SetEmail

func (o *Technician) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*Technician) SetFullName

func (o *Technician) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*Technician) SetId

func (o *Technician) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Technician) SetJobTitle

func (o *Technician) SetJobTitle(v string)

SetJobTitle gets a reference to the given string and assigns it to the JobTitle field.

func (*Technician) SetJoinDate

func (o *Technician) SetJoinDate(v string)

SetJoinDate gets a reference to the given string and assigns it to the JoinDate field.

func (*Technician) SetLastLoginAt

func (o *Technician) SetLastLoginAt(v time.Time)

SetLastLoginAt gets a reference to the given time.Time and assigns it to the LastLoginAt field.

func (*Technician) SetLeads

func (o *Technician) SetLeads(v []TechnicianLeadRef)

SetLeads gets a reference to the given []TechnicianLeadRef and assigns it to the Leads field.

func (*Technician) SetPhone

func (o *Technician) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*Technician) SetRole

func (o *Technician) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*Technician) SetServiceAreas

func (o *Technician) SetServiceAreas(v []TechnicianServiceAreaRef)

SetServiceAreas gets a reference to the given []TechnicianServiceAreaRef and assigns it to the ServiceAreas field.

func (*Technician) SetStartLocationLat

func (o *Technician) SetStartLocationLat(v float32)

SetStartLocationLat gets a reference to the given float32 and assigns it to the StartLocationLat field.

func (*Technician) SetStartLocationLong

func (o *Technician) SetStartLocationLong(v float32)

SetStartLocationLong gets a reference to the given float32 and assigns it to the StartLocationLong field.

func (*Technician) SetStartLocationType

func (o *Technician) SetStartLocationType(v string)

SetStartLocationType gets a reference to the given string and assigns it to the StartLocationType field.

func (*Technician) SetStatus

func (o *Technician) SetStatus(v TechnicianStatus)

SetStatus gets a reference to the given TechnicianStatus and assigns it to the Status field.

func (*Technician) SetUpdatedAt

func (o *Technician) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Technician) SetUserId

func (o *Technician) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (*Technician) SetVehicleIds

func (o *Technician) SetVehicleIds(v []string)

SetVehicleIds gets a reference to the given []string and assigns it to the VehicleIds field.

func (Technician) ToMap

func (o Technician) ToMap() (map[string]interface{}, error)

type TechnicianAPIService

type TechnicianAPIService service

TechnicianAPIService TechnicianAPI service

func (*TechnicianAPIService) CreateTechnician added in v0.2.0

CreateTechnician Add a technician

Creates a technician membership under the current business. If the phone/email matches an existing user, their account is linked. Otherwise a new user identity is created (no invite email — login is passwordless later). Either way the membership starts active. If the technician was previously removed (deactive) they are reactivated instead. Owner/Administrator groups cannot be assigned via API key, and not at all in sandbox mode.

Optional relations (all validated; any missing id → 404 TECHNICIAN_NOT_FOUND with `missing_ids`): `buddy_ids` sets this technician's buddy list (use when creating a lead); `lead_ids` adds this technician as a buddy of each named lead (use when creating a buddy — the buddy-side way to attach the same lead↔buddy relation); `service_area_ids` assigns the technician to those service areas.

`start_location_type=office` snapshots the business address + coordinates into the technician at create time; `address`, `start_location_lat`, `start_location_long` in the body are ignored. Requires the business to have coordinates set (else 400 BUSINESS_LOCATION_MISSING). `start_location_type=home` (or empty) uses the address + coordinates from the body.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTechnicianRequest

func (*TechnicianAPIService) CreateTechnicianExecute added in v0.2.0

Execute executes the request

@return CreateTechnician200Response

func (*TechnicianAPIService) DeleteTechnician added in v0.2.0

DeleteTechnician Remove a technician

Soft-removes a technician from the business by setting status to deactive

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Technician ID
@return ApiDeleteTechnicianRequest

func (*TechnicianAPIService) DeleteTechnicianExecute added in v0.2.0

Execute executes the request

@return ResponseEnvelope

func (*TechnicianAPIService) GetTechnician

GetTechnician Get a technician

Returns one technician's full profile: contact info, employment status, assignment tier, skills/qualifications, buddy (crew) relations and assigned vehicles — the dispatch-ready view of a field worker.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Technician ID
@return ApiGetTechnicianRequest

func (*TechnicianAPIService) GetTechnicianExecute

Execute executes the request

@return GetTechnician200Response

func (*TechnicianAPIService) ListTechnicians

ListTechnicians List technicians

Returns the field workforce roster: paginated technicians (field workers / engineers) with status, assignment tier (lead, buddy, float), skills and crew relations — the people the dispatch engine schedules onto jobs. Discover the `preferred_technician_id` accepted on customer records here. Supports the `since` cursor for incremental workforce sync.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListTechniciansRequest

func (*TechnicianAPIService) ListTechniciansExecute

Execute executes the request

@return ListTechnicians200Response

func (*TechnicianAPIService) ReplaceTechnicianBuddies added in v0.2.0

func (a *TechnicianAPIService) ReplaceTechnicianBuddies(ctx context.Context, id string) ApiReplaceTechnicianBuddiesRequest

ReplaceTechnicianBuddies Replace a technician's buddies

Overwrites the technician's buddy list with the provided set of technician IDs. Sending an empty list clears all buddies. Each buddy ID must be an active technician of the same business; a technician cannot be their own buddy.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Technician ID
@return ApiReplaceTechnicianBuddiesRequest

func (*TechnicianAPIService) ReplaceTechnicianBuddiesExecute added in v0.2.0

func (a *TechnicianAPIService) ReplaceTechnicianBuddiesExecute(r ApiReplaceTechnicianBuddiesRequest) (*ResponseEnvelope, *http.Response, error)

Execute executes the request

@return ResponseEnvelope

func (*TechnicianAPIService) ReplaceTechnicianLeads added in v0.2.0

func (a *TechnicianAPIService) ReplaceTechnicianLeads(ctx context.Context, id string) ApiReplaceTechnicianLeadsRequest

ReplaceTechnicianLeads Replace a buddy's leaders (buddy side)

Sets the full set of leads this buddy belongs to (many-to-many favorites). Replace-semantics — lead_ids is the complete new list; [] clears every leader. Managed by business staff.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Buddy technician ID
@return ApiReplaceTechnicianLeadsRequest

func (*TechnicianAPIService) ReplaceTechnicianLeadsExecute added in v0.2.0

Execute executes the request

@return ResponseEnvelope

func (*TechnicianAPIService) ReplaceTechnicianServiceAreas added in v0.2.0

func (a *TechnicianAPIService) ReplaceTechnicianServiceAreas(ctx context.Context, id string) ApiReplaceTechnicianServiceAreasRequest

ReplaceTechnicianServiceAreas Replace a technician's service areas

Overwrites the technician's service-area assignments with the provided set of service area IDs. Sending an empty list clears all. Each service area ID must belong to the same business — any missing id → 404 SERVICE_AREA_NOT_FOUND with `missing_ids` and no writes. The resolved set is returned and also embedded as `service_areas` in the technician GET/list response. Managed by business staff (Booking Coordinator), not tech self-service.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Technician ID
@return ApiReplaceTechnicianServiceAreasRequest

func (*TechnicianAPIService) ReplaceTechnicianServiceAreasExecute added in v0.2.0

Execute executes the request

@return ReplaceTechnicianServiceAreas200Response

func (*TechnicianAPIService) ReplaceTechnicianVehicles added in v0.2.0

func (a *TechnicianAPIService) ReplaceTechnicianVehicles(ctx context.Context, id string) ApiReplaceTechnicianVehiclesRequest

ReplaceTechnicianVehicles Replace a technician's vehicles

Overwrites the technician's vehicle list with the provided set of vehicle IDs (the vehicles this technician uses). Sending an empty list clears all. Each vehicle ID must belong to the same business. The list is also embedded as `vehicle_ids` in the technician GET/list response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Technician ID
@return ApiReplaceTechnicianVehiclesRequest

func (*TechnicianAPIService) ReplaceTechnicianVehiclesExecute added in v0.2.0

func (a *TechnicianAPIService) ReplaceTechnicianVehiclesExecute(r ApiReplaceTechnicianVehiclesRequest) (*ResponseEnvelope, *http.Response, error)

Execute executes the request

@return ResponseEnvelope

func (*TechnicianAPIService) UpdateTechnician added in v0.2.0

UpdateTechnician Update a technician

Updates mutable technician profile fields. `start_location_type=office` re-snapshots the current business address + coordinates (body `address`/`start_location_lat`/`start_location_long` ignored; requires business coordinates, else 400 BUSINESS_LOCATION_MISSING). `start_location_type=home` (or empty) uses the address + coordinates from the body.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Technician ID
@return ApiUpdateTechnicianRequest

func (*TechnicianAPIService) UpdateTechnicianExecute added in v0.2.0

Execute executes the request

@return ResponseEnvelope

type TechnicianAddress

type TechnicianAddress struct {
	// City / locality. Empty if unset.
	City *string `json:"city,omitempty"`
	// Country (free-form or ISO code as supplied). Empty if unset.
	Country *string `json:"country,omitempty"`
	// Human-readable single-line address. Empty if unset.
	Formatted *string `json:"formatted,omitempty"`
	// Street address, line 1 (e.g. \"123 Main St\"). Empty if unset.
	Line *string `json:"line,omitempty"`
	// Street address, line 2 (apartment, suite, unit). Empty if unused.
	Line2 *string `json:"line2,omitempty"`
	// Postal / ZIP code. Empty if unset.
	PostalCode *string `json:"postal_code,omitempty"`
	// State / province / region. Empty if unset.
	State *string `json:"state,omitempty"`
}

TechnicianAddress struct for TechnicianAddress

func NewTechnicianAddress

func NewTechnicianAddress() *TechnicianAddress

NewTechnicianAddress instantiates a new TechnicianAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianAddressWithDefaults

func NewTechnicianAddressWithDefaults() *TechnicianAddress

NewTechnicianAddressWithDefaults instantiates a new TechnicianAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianAddress) GetCity

func (o *TechnicianAddress) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*TechnicianAddress) GetCityOk

func (o *TechnicianAddress) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddress) GetCountry

func (o *TechnicianAddress) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*TechnicianAddress) GetCountryOk

func (o *TechnicianAddress) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddress) GetFormatted

func (o *TechnicianAddress) GetFormatted() string

GetFormatted returns the Formatted field value if set, zero value otherwise.

func (*TechnicianAddress) GetFormattedOk

func (o *TechnicianAddress) GetFormattedOk() (*string, bool)

GetFormattedOk returns a tuple with the Formatted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddress) GetLine

func (o *TechnicianAddress) GetLine() string

GetLine returns the Line field value if set, zero value otherwise.

func (*TechnicianAddress) GetLine2

func (o *TechnicianAddress) GetLine2() string

GetLine2 returns the Line2 field value if set, zero value otherwise.

func (*TechnicianAddress) GetLine2Ok

func (o *TechnicianAddress) GetLine2Ok() (*string, bool)

GetLine2Ok returns a tuple with the Line2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddress) GetLineOk

func (o *TechnicianAddress) GetLineOk() (*string, bool)

GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddress) GetPostalCode

func (o *TechnicianAddress) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*TechnicianAddress) GetPostalCodeOk

func (o *TechnicianAddress) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddress) GetState

func (o *TechnicianAddress) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*TechnicianAddress) GetStateOk

func (o *TechnicianAddress) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddress) HasCity

func (o *TechnicianAddress) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*TechnicianAddress) HasCountry

func (o *TechnicianAddress) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*TechnicianAddress) HasFormatted

func (o *TechnicianAddress) HasFormatted() bool

HasFormatted returns a boolean if a field has been set.

func (*TechnicianAddress) HasLine

func (o *TechnicianAddress) HasLine() bool

HasLine returns a boolean if a field has been set.

func (*TechnicianAddress) HasLine2

func (o *TechnicianAddress) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*TechnicianAddress) HasPostalCode

func (o *TechnicianAddress) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*TechnicianAddress) HasState

func (o *TechnicianAddress) HasState() bool

HasState returns a boolean if a field has been set.

func (TechnicianAddress) MarshalJSON

func (o TechnicianAddress) MarshalJSON() ([]byte, error)

func (*TechnicianAddress) SetCity

func (o *TechnicianAddress) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*TechnicianAddress) SetCountry

func (o *TechnicianAddress) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*TechnicianAddress) SetFormatted

func (o *TechnicianAddress) SetFormatted(v string)

SetFormatted gets a reference to the given string and assigns it to the Formatted field.

func (*TechnicianAddress) SetLine

func (o *TechnicianAddress) SetLine(v string)

SetLine gets a reference to the given string and assigns it to the Line field.

func (*TechnicianAddress) SetLine2

func (o *TechnicianAddress) SetLine2(v string)

SetLine2 gets a reference to the given string and assigns it to the Line2 field.

func (*TechnicianAddress) SetPostalCode

func (o *TechnicianAddress) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*TechnicianAddress) SetState

func (o *TechnicianAddress) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (TechnicianAddress) ToMap

func (o TechnicianAddress) ToMap() (map[string]interface{}, error)

type TechnicianAddressInput added in v0.2.0

type TechnicianAddressInput struct {
	// City / locality.
	City *string `json:"city,omitempty"`
	// Country (free-form or ISO code).
	Country *string `json:"country,omitempty"`
	// Full display string; when set it wins over the discrete parts for display.
	Formatted *string `json:"formatted,omitempty"`
	// Street line 1.
	Line *string `json:"line,omitempty"`
	// Street line 2 (unit, suite).
	Line2 *string `json:"line2,omitempty"`
	// Postal / ZIP code.
	PostalCode *string `json:"postal_code,omitempty"`
	// State / province / region.
	State *string `json:"state,omitempty"`
}

TechnicianAddressInput struct for TechnicianAddressInput

func NewTechnicianAddressInput added in v0.2.0

func NewTechnicianAddressInput() *TechnicianAddressInput

NewTechnicianAddressInput instantiates a new TechnicianAddressInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianAddressInputWithDefaults added in v0.2.0

func NewTechnicianAddressInputWithDefaults() *TechnicianAddressInput

NewTechnicianAddressInputWithDefaults instantiates a new TechnicianAddressInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianAddressInput) GetCity added in v0.2.0

func (o *TechnicianAddressInput) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*TechnicianAddressInput) GetCityOk added in v0.2.0

func (o *TechnicianAddressInput) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddressInput) GetCountry added in v0.2.0

func (o *TechnicianAddressInput) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*TechnicianAddressInput) GetCountryOk added in v0.2.0

func (o *TechnicianAddressInput) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddressInput) GetFormatted added in v0.2.0

func (o *TechnicianAddressInput) GetFormatted() string

GetFormatted returns the Formatted field value if set, zero value otherwise.

func (*TechnicianAddressInput) GetFormattedOk added in v0.2.0

func (o *TechnicianAddressInput) GetFormattedOk() (*string, bool)

GetFormattedOk returns a tuple with the Formatted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddressInput) GetLine added in v0.2.0

func (o *TechnicianAddressInput) GetLine() string

GetLine returns the Line field value if set, zero value otherwise.

func (*TechnicianAddressInput) GetLine2 added in v0.2.0

func (o *TechnicianAddressInput) GetLine2() string

GetLine2 returns the Line2 field value if set, zero value otherwise.

func (*TechnicianAddressInput) GetLine2Ok added in v0.2.0

func (o *TechnicianAddressInput) GetLine2Ok() (*string, bool)

GetLine2Ok returns a tuple with the Line2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddressInput) GetLineOk added in v0.2.0

func (o *TechnicianAddressInput) GetLineOk() (*string, bool)

GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddressInput) GetPostalCode added in v0.2.0

func (o *TechnicianAddressInput) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*TechnicianAddressInput) GetPostalCodeOk added in v0.2.0

func (o *TechnicianAddressInput) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddressInput) GetState added in v0.2.0

func (o *TechnicianAddressInput) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*TechnicianAddressInput) GetStateOk added in v0.2.0

func (o *TechnicianAddressInput) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianAddressInput) HasCity added in v0.2.0

func (o *TechnicianAddressInput) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*TechnicianAddressInput) HasCountry added in v0.2.0

func (o *TechnicianAddressInput) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*TechnicianAddressInput) HasFormatted added in v0.2.0

func (o *TechnicianAddressInput) HasFormatted() bool

HasFormatted returns a boolean if a field has been set.

func (*TechnicianAddressInput) HasLine added in v0.2.0

func (o *TechnicianAddressInput) HasLine() bool

HasLine returns a boolean if a field has been set.

func (*TechnicianAddressInput) HasLine2 added in v0.2.0

func (o *TechnicianAddressInput) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*TechnicianAddressInput) HasPostalCode added in v0.2.0

func (o *TechnicianAddressInput) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*TechnicianAddressInput) HasState added in v0.2.0

func (o *TechnicianAddressInput) HasState() bool

HasState returns a boolean if a field has been set.

func (TechnicianAddressInput) MarshalJSON added in v0.2.0

func (o TechnicianAddressInput) MarshalJSON() ([]byte, error)

func (*TechnicianAddressInput) SetCity added in v0.2.0

func (o *TechnicianAddressInput) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*TechnicianAddressInput) SetCountry added in v0.2.0

func (o *TechnicianAddressInput) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*TechnicianAddressInput) SetFormatted added in v0.2.0

func (o *TechnicianAddressInput) SetFormatted(v string)

SetFormatted gets a reference to the given string and assigns it to the Formatted field.

func (*TechnicianAddressInput) SetLine added in v0.2.0

func (o *TechnicianAddressInput) SetLine(v string)

SetLine gets a reference to the given string and assigns it to the Line field.

func (*TechnicianAddressInput) SetLine2 added in v0.2.0

func (o *TechnicianAddressInput) SetLine2(v string)

SetLine2 gets a reference to the given string and assigns it to the Line2 field.

func (*TechnicianAddressInput) SetPostalCode added in v0.2.0

func (o *TechnicianAddressInput) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*TechnicianAddressInput) SetState added in v0.2.0

func (o *TechnicianAddressInput) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (TechnicianAddressInput) ToMap added in v0.2.0

func (o TechnicianAddressInput) ToMap() (map[string]interface{}, error)

type TechnicianBuddiesRequest added in v0.2.0

type TechnicianBuddiesRequest struct {
	// Technician ids to set as this lead's buddies (max 50; self-buddy rejected).
	BuddyIds []string `json:"buddy_ids,omitempty"`
}

TechnicianBuddiesRequest struct for TechnicianBuddiesRequest

func NewTechnicianBuddiesRequest added in v0.2.0

func NewTechnicianBuddiesRequest() *TechnicianBuddiesRequest

NewTechnicianBuddiesRequest instantiates a new TechnicianBuddiesRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianBuddiesRequestWithDefaults added in v0.2.0

func NewTechnicianBuddiesRequestWithDefaults() *TechnicianBuddiesRequest

NewTechnicianBuddiesRequestWithDefaults instantiates a new TechnicianBuddiesRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianBuddiesRequest) GetBuddyIds added in v0.2.0

func (o *TechnicianBuddiesRequest) GetBuddyIds() []string

GetBuddyIds returns the BuddyIds field value if set, zero value otherwise.

func (*TechnicianBuddiesRequest) GetBuddyIdsOk added in v0.2.0

func (o *TechnicianBuddiesRequest) GetBuddyIdsOk() ([]string, bool)

GetBuddyIdsOk returns a tuple with the BuddyIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianBuddiesRequest) HasBuddyIds added in v0.2.0

func (o *TechnicianBuddiesRequest) HasBuddyIds() bool

HasBuddyIds returns a boolean if a field has been set.

func (TechnicianBuddiesRequest) MarshalJSON added in v0.2.0

func (o TechnicianBuddiesRequest) MarshalJSON() ([]byte, error)

func (*TechnicianBuddiesRequest) SetBuddyIds added in v0.2.0

func (o *TechnicianBuddiesRequest) SetBuddyIds(v []string)

SetBuddyIds gets a reference to the given []string and assigns it to the BuddyIds field.

func (TechnicianBuddiesRequest) ToMap added in v0.2.0

func (o TechnicianBuddiesRequest) ToMap() (map[string]interface{}, error)

type TechnicianCreateRequest added in v0.2.0

type TechnicianCreateRequest struct {
	// Home address (the day-start point when start_location_type=home).
	Address *TechnicianAddressInput `json:"address,omitempty"`
	// Crew tier the matching engine assigns by: lead (can head a job), buddy (crew helper), float (excluded from auto crew-assign).
	AssignmentTier *string `json:"assignment_tier,omitempty"`
	// Buddies of this technician (set when creating a lead). Optional; max 50 technician ids.
	BuddyIds []string `json:"buddy_ids,omitempty"`
	// Role group for the new member. Discover IDs via GET /permission/groups (Owner/Administrator groups are rejected in sandbox mode).
	BusinessGroupId string `json:"business_group_id"`
	// Email address. At least one of phone/email is required (identity resolution key).
	Email *string `json:"email,omitempty"`
	// The person's full display name. Required; max 255 chars.
	FullName string `json:"full_name"`
	// Display title (e.g. \"Senior HVAC Technician\").
	JobTitle *string `json:"job_title,omitempty"`
	// First working day (YYYY-MM-DD).
	JoinDate *string `json:"join_date,omitempty"`
	// Leads this technician is a buddy of (set when creating a buddy; the technician is appended to each lead's buddy list). Optional; max 50 technician ids.
	LeadIds []string `json:"lead_ids,omitempty"`
	// At least one of phone/email is required (identity resolution key).
	Phone *string `json:"phone,omitempty"`
	// Service areas to assign the technician to. Optional; max 50. Discover via GET /service-areas.
	ServiceAreaIds []string `json:"service_area_ids,omitempty"`
	// Explicit day-start latitude in decimal degrees (-90..90); when set it wins over the address geocode.
	StartLocationLat *float32 `json:"start_location_lat,omitempty"`
	// Explicit day-start longitude in decimal degrees (-180..180); when set it wins over the address geocode.
	StartLocationLong *float32 `json:"start_location_long,omitempty"`
	// Where the technician starts their day: home (their address) or office (the business location). Drives the engine's travel estimates.
	StartLocationType *string `json:"start_location_type,omitempty"`
}

TechnicianCreateRequest struct for TechnicianCreateRequest

func NewTechnicianCreateRequest added in v0.2.0

func NewTechnicianCreateRequest(businessGroupId string, fullName string) *TechnicianCreateRequest

NewTechnicianCreateRequest instantiates a new TechnicianCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianCreateRequestWithDefaults added in v0.2.0

func NewTechnicianCreateRequestWithDefaults() *TechnicianCreateRequest

NewTechnicianCreateRequestWithDefaults instantiates a new TechnicianCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianCreateRequest) GetAddress added in v0.2.0

GetAddress returns the Address field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetAddressOk added in v0.2.0

func (o *TechnicianCreateRequest) GetAddressOk() (*TechnicianAddressInput, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetAssignmentTier added in v0.2.0

func (o *TechnicianCreateRequest) GetAssignmentTier() string

GetAssignmentTier returns the AssignmentTier field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetAssignmentTierOk added in v0.2.0

func (o *TechnicianCreateRequest) GetAssignmentTierOk() (*string, bool)

GetAssignmentTierOk returns a tuple with the AssignmentTier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetBuddyIds added in v0.2.0

func (o *TechnicianCreateRequest) GetBuddyIds() []string

GetBuddyIds returns the BuddyIds field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetBuddyIdsOk added in v0.2.0

func (o *TechnicianCreateRequest) GetBuddyIdsOk() ([]string, bool)

GetBuddyIdsOk returns a tuple with the BuddyIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetBusinessGroupId added in v0.2.0

func (o *TechnicianCreateRequest) GetBusinessGroupId() string

GetBusinessGroupId returns the BusinessGroupId field value

func (*TechnicianCreateRequest) GetBusinessGroupIdOk added in v0.2.0

func (o *TechnicianCreateRequest) GetBusinessGroupIdOk() (*string, bool)

GetBusinessGroupIdOk returns a tuple with the BusinessGroupId field value and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetEmail added in v0.2.0

func (o *TechnicianCreateRequest) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetEmailOk added in v0.2.0

func (o *TechnicianCreateRequest) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetFullName added in v0.2.0

func (o *TechnicianCreateRequest) GetFullName() string

GetFullName returns the FullName field value

func (*TechnicianCreateRequest) GetFullNameOk added in v0.2.0

func (o *TechnicianCreateRequest) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetJobTitle added in v0.2.0

func (o *TechnicianCreateRequest) GetJobTitle() string

GetJobTitle returns the JobTitle field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetJobTitleOk added in v0.2.0

func (o *TechnicianCreateRequest) GetJobTitleOk() (*string, bool)

GetJobTitleOk returns a tuple with the JobTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetJoinDate added in v0.2.0

func (o *TechnicianCreateRequest) GetJoinDate() string

GetJoinDate returns the JoinDate field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetJoinDateOk added in v0.2.0

func (o *TechnicianCreateRequest) GetJoinDateOk() (*string, bool)

GetJoinDateOk returns a tuple with the JoinDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetLeadIds added in v0.2.0

func (o *TechnicianCreateRequest) GetLeadIds() []string

GetLeadIds returns the LeadIds field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetLeadIdsOk added in v0.2.0

func (o *TechnicianCreateRequest) GetLeadIdsOk() ([]string, bool)

GetLeadIdsOk returns a tuple with the LeadIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetPhone added in v0.2.0

func (o *TechnicianCreateRequest) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetPhoneOk added in v0.2.0

func (o *TechnicianCreateRequest) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetServiceAreaIds added in v0.2.0

func (o *TechnicianCreateRequest) GetServiceAreaIds() []string

GetServiceAreaIds returns the ServiceAreaIds field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetServiceAreaIdsOk added in v0.2.0

func (o *TechnicianCreateRequest) GetServiceAreaIdsOk() ([]string, bool)

GetServiceAreaIdsOk returns a tuple with the ServiceAreaIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetStartLocationLat added in v0.2.0

func (o *TechnicianCreateRequest) GetStartLocationLat() float32

GetStartLocationLat returns the StartLocationLat field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetStartLocationLatOk added in v0.2.0

func (o *TechnicianCreateRequest) GetStartLocationLatOk() (*float32, bool)

GetStartLocationLatOk returns a tuple with the StartLocationLat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetStartLocationLong added in v0.2.0

func (o *TechnicianCreateRequest) GetStartLocationLong() float32

GetStartLocationLong returns the StartLocationLong field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetStartLocationLongOk added in v0.2.0

func (o *TechnicianCreateRequest) GetStartLocationLongOk() (*float32, bool)

GetStartLocationLongOk returns a tuple with the StartLocationLong field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) GetStartLocationType added in v0.2.0

func (o *TechnicianCreateRequest) GetStartLocationType() string

GetStartLocationType returns the StartLocationType field value if set, zero value otherwise.

func (*TechnicianCreateRequest) GetStartLocationTypeOk added in v0.2.0

func (o *TechnicianCreateRequest) GetStartLocationTypeOk() (*string, bool)

GetStartLocationTypeOk returns a tuple with the StartLocationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateRequest) HasAddress added in v0.2.0

func (o *TechnicianCreateRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasAssignmentTier added in v0.2.0

func (o *TechnicianCreateRequest) HasAssignmentTier() bool

HasAssignmentTier returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasBuddyIds added in v0.2.0

func (o *TechnicianCreateRequest) HasBuddyIds() bool

HasBuddyIds returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasEmail added in v0.2.0

func (o *TechnicianCreateRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasJobTitle added in v0.2.0

func (o *TechnicianCreateRequest) HasJobTitle() bool

HasJobTitle returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasJoinDate added in v0.2.0

func (o *TechnicianCreateRequest) HasJoinDate() bool

HasJoinDate returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasLeadIds added in v0.2.0

func (o *TechnicianCreateRequest) HasLeadIds() bool

HasLeadIds returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasPhone added in v0.2.0

func (o *TechnicianCreateRequest) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasServiceAreaIds added in v0.2.0

func (o *TechnicianCreateRequest) HasServiceAreaIds() bool

HasServiceAreaIds returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasStartLocationLat added in v0.2.0

func (o *TechnicianCreateRequest) HasStartLocationLat() bool

HasStartLocationLat returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasStartLocationLong added in v0.2.0

func (o *TechnicianCreateRequest) HasStartLocationLong() bool

HasStartLocationLong returns a boolean if a field has been set.

func (*TechnicianCreateRequest) HasStartLocationType added in v0.2.0

func (o *TechnicianCreateRequest) HasStartLocationType() bool

HasStartLocationType returns a boolean if a field has been set.

func (TechnicianCreateRequest) MarshalJSON added in v0.2.0

func (o TechnicianCreateRequest) MarshalJSON() ([]byte, error)

func (*TechnicianCreateRequest) SetAddress added in v0.2.0

SetAddress gets a reference to the given TechnicianAddressInput and assigns it to the Address field.

func (*TechnicianCreateRequest) SetAssignmentTier added in v0.2.0

func (o *TechnicianCreateRequest) SetAssignmentTier(v string)

SetAssignmentTier gets a reference to the given string and assigns it to the AssignmentTier field.

func (*TechnicianCreateRequest) SetBuddyIds added in v0.2.0

func (o *TechnicianCreateRequest) SetBuddyIds(v []string)

SetBuddyIds gets a reference to the given []string and assigns it to the BuddyIds field.

func (*TechnicianCreateRequest) SetBusinessGroupId added in v0.2.0

func (o *TechnicianCreateRequest) SetBusinessGroupId(v string)

SetBusinessGroupId sets field value

func (*TechnicianCreateRequest) SetEmail added in v0.2.0

func (o *TechnicianCreateRequest) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*TechnicianCreateRequest) SetFullName added in v0.2.0

func (o *TechnicianCreateRequest) SetFullName(v string)

SetFullName sets field value

func (*TechnicianCreateRequest) SetJobTitle added in v0.2.0

func (o *TechnicianCreateRequest) SetJobTitle(v string)

SetJobTitle gets a reference to the given string and assigns it to the JobTitle field.

func (*TechnicianCreateRequest) SetJoinDate added in v0.2.0

func (o *TechnicianCreateRequest) SetJoinDate(v string)

SetJoinDate gets a reference to the given string and assigns it to the JoinDate field.

func (*TechnicianCreateRequest) SetLeadIds added in v0.2.0

func (o *TechnicianCreateRequest) SetLeadIds(v []string)

SetLeadIds gets a reference to the given []string and assigns it to the LeadIds field.

func (*TechnicianCreateRequest) SetPhone added in v0.2.0

func (o *TechnicianCreateRequest) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*TechnicianCreateRequest) SetServiceAreaIds added in v0.2.0

func (o *TechnicianCreateRequest) SetServiceAreaIds(v []string)

SetServiceAreaIds gets a reference to the given []string and assigns it to the ServiceAreaIds field.

func (*TechnicianCreateRequest) SetStartLocationLat added in v0.2.0

func (o *TechnicianCreateRequest) SetStartLocationLat(v float32)

SetStartLocationLat gets a reference to the given float32 and assigns it to the StartLocationLat field.

func (*TechnicianCreateRequest) SetStartLocationLong added in v0.2.0

func (o *TechnicianCreateRequest) SetStartLocationLong(v float32)

SetStartLocationLong gets a reference to the given float32 and assigns it to the StartLocationLong field.

func (*TechnicianCreateRequest) SetStartLocationType added in v0.2.0

func (o *TechnicianCreateRequest) SetStartLocationType(v string)

SetStartLocationType gets a reference to the given string and assigns it to the StartLocationType field.

func (TechnicianCreateRequest) ToMap added in v0.2.0

func (o TechnicianCreateRequest) ToMap() (map[string]interface{}, error)

func (*TechnicianCreateRequest) UnmarshalJSON added in v0.2.0

func (o *TechnicianCreateRequest) UnmarshalJSON(data []byte) (err error)

type TechnicianCreateResponse added in v0.2.0

type TechnicianCreateResponse struct {
	// The technician id (business_user_profiles.id) every other endpoint takes.
	Id *string `json:"id,omitempty"`
}

TechnicianCreateResponse struct for TechnicianCreateResponse

func NewTechnicianCreateResponse added in v0.2.0

func NewTechnicianCreateResponse() *TechnicianCreateResponse

NewTechnicianCreateResponse instantiates a new TechnicianCreateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianCreateResponseWithDefaults added in v0.2.0

func NewTechnicianCreateResponseWithDefaults() *TechnicianCreateResponse

NewTechnicianCreateResponseWithDefaults instantiates a new TechnicianCreateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianCreateResponse) GetId added in v0.2.0

func (o *TechnicianCreateResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TechnicianCreateResponse) GetIdOk added in v0.2.0

func (o *TechnicianCreateResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianCreateResponse) HasId added in v0.2.0

func (o *TechnicianCreateResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (TechnicianCreateResponse) MarshalJSON added in v0.2.0

func (o TechnicianCreateResponse) MarshalJSON() ([]byte, error)

func (*TechnicianCreateResponse) SetId added in v0.2.0

func (o *TechnicianCreateResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (TechnicianCreateResponse) ToMap added in v0.2.0

func (o TechnicianCreateResponse) ToMap() (map[string]interface{}, error)

type TechnicianLeadRef

type TechnicianLeadRef struct {
	// Lead technician display name.
	FullName *string `json:"full_name,omitempty"`
	// Lead technician UUID.
	Id *string `json:"id,omitempty"`
}

TechnicianLeadRef struct for TechnicianLeadRef

func NewTechnicianLeadRef

func NewTechnicianLeadRef() *TechnicianLeadRef

NewTechnicianLeadRef instantiates a new TechnicianLeadRef object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianLeadRefWithDefaults

func NewTechnicianLeadRefWithDefaults() *TechnicianLeadRef

NewTechnicianLeadRefWithDefaults instantiates a new TechnicianLeadRef object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianLeadRef) GetFullName

func (o *TechnicianLeadRef) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*TechnicianLeadRef) GetFullNameOk

func (o *TechnicianLeadRef) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianLeadRef) GetId

func (o *TechnicianLeadRef) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TechnicianLeadRef) GetIdOk

func (o *TechnicianLeadRef) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianLeadRef) HasFullName

func (o *TechnicianLeadRef) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*TechnicianLeadRef) HasId

func (o *TechnicianLeadRef) HasId() bool

HasId returns a boolean if a field has been set.

func (TechnicianLeadRef) MarshalJSON

func (o TechnicianLeadRef) MarshalJSON() ([]byte, error)

func (*TechnicianLeadRef) SetFullName

func (o *TechnicianLeadRef) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*TechnicianLeadRef) SetId

func (o *TechnicianLeadRef) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (TechnicianLeadRef) ToMap

func (o TechnicianLeadRef) ToMap() (map[string]interface{}, error)

type TechnicianLeadsRequest added in v0.2.0

type TechnicianLeadsRequest struct {
	// Lead technician ids this buddy assists (max 50).
	LeadIds []string `json:"lead_ids,omitempty"`
}

TechnicianLeadsRequest struct for TechnicianLeadsRequest

func NewTechnicianLeadsRequest added in v0.2.0

func NewTechnicianLeadsRequest() *TechnicianLeadsRequest

NewTechnicianLeadsRequest instantiates a new TechnicianLeadsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianLeadsRequestWithDefaults added in v0.2.0

func NewTechnicianLeadsRequestWithDefaults() *TechnicianLeadsRequest

NewTechnicianLeadsRequestWithDefaults instantiates a new TechnicianLeadsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianLeadsRequest) GetLeadIds added in v0.2.0

func (o *TechnicianLeadsRequest) GetLeadIds() []string

GetLeadIds returns the LeadIds field value if set, zero value otherwise.

func (*TechnicianLeadsRequest) GetLeadIdsOk added in v0.2.0

func (o *TechnicianLeadsRequest) GetLeadIdsOk() ([]string, bool)

GetLeadIdsOk returns a tuple with the LeadIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianLeadsRequest) HasLeadIds added in v0.2.0

func (o *TechnicianLeadsRequest) HasLeadIds() bool

HasLeadIds returns a boolean if a field has been set.

func (TechnicianLeadsRequest) MarshalJSON added in v0.2.0

func (o TechnicianLeadsRequest) MarshalJSON() ([]byte, error)

func (*TechnicianLeadsRequest) SetLeadIds added in v0.2.0

func (o *TechnicianLeadsRequest) SetLeadIds(v []string)

SetLeadIds gets a reference to the given []string and assigns it to the LeadIds field.

func (TechnicianLeadsRequest) ToMap added in v0.2.0

func (o TechnicianLeadsRequest) ToMap() (map[string]interface{}, error)

type TechnicianList

type TechnicianList struct {
	// True if more rows exist beyond this page.
	HasMore *bool `json:"has_more,omitempty"`
	// Page/limit/total pagination metadata.
	Meta *Pagination `json:"meta,omitempty"`
	// Cursor for short-polling: pass back as `since` to fetch only rows changed after this point (RFC3339).
	NextSince *time.Time `json:"next_since,omitempty"`
	// The technicians on this page.
	Technicians []Technician `json:"technicians,omitempty"`
}

TechnicianList struct for TechnicianList

func NewTechnicianList

func NewTechnicianList() *TechnicianList

NewTechnicianList instantiates a new TechnicianList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianListWithDefaults

func NewTechnicianListWithDefaults() *TechnicianList

NewTechnicianListWithDefaults instantiates a new TechnicianList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianList) GetHasMore

func (o *TechnicianList) GetHasMore() bool

GetHasMore returns the HasMore field value if set, zero value otherwise.

func (*TechnicianList) GetHasMoreOk

func (o *TechnicianList) GetHasMoreOk() (*bool, bool)

GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianList) GetMeta

func (o *TechnicianList) GetMeta() Pagination

GetMeta returns the Meta field value if set, zero value otherwise.

func (*TechnicianList) GetMetaOk

func (o *TechnicianList) GetMetaOk() (*Pagination, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianList) GetNextSince

func (o *TechnicianList) GetNextSince() time.Time

GetNextSince returns the NextSince field value if set, zero value otherwise.

func (*TechnicianList) GetNextSinceOk

func (o *TechnicianList) GetNextSinceOk() (*time.Time, bool)

GetNextSinceOk returns a tuple with the NextSince field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianList) GetTechnicians

func (o *TechnicianList) GetTechnicians() []Technician

GetTechnicians returns the Technicians field value if set, zero value otherwise.

func (*TechnicianList) GetTechniciansOk

func (o *TechnicianList) GetTechniciansOk() ([]Technician, bool)

GetTechniciansOk returns a tuple with the Technicians field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianList) HasHasMore

func (o *TechnicianList) HasHasMore() bool

HasHasMore returns a boolean if a field has been set.

func (*TechnicianList) HasMeta

func (o *TechnicianList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*TechnicianList) HasNextSince

func (o *TechnicianList) HasNextSince() bool

HasNextSince returns a boolean if a field has been set.

func (*TechnicianList) HasTechnicians

func (o *TechnicianList) HasTechnicians() bool

HasTechnicians returns a boolean if a field has been set.

func (TechnicianList) MarshalJSON

func (o TechnicianList) MarshalJSON() ([]byte, error)

func (*TechnicianList) SetHasMore

func (o *TechnicianList) SetHasMore(v bool)

SetHasMore gets a reference to the given bool and assigns it to the HasMore field.

func (*TechnicianList) SetMeta

func (o *TechnicianList) SetMeta(v Pagination)

SetMeta gets a reference to the given Pagination and assigns it to the Meta field.

func (*TechnicianList) SetNextSince

func (o *TechnicianList) SetNextSince(v time.Time)

SetNextSince gets a reference to the given time.Time and assigns it to the NextSince field.

func (*TechnicianList) SetTechnicians

func (o *TechnicianList) SetTechnicians(v []Technician)

SetTechnicians gets a reference to the given []Technician and assigns it to the Technicians field.

func (TechnicianList) ToMap

func (o TechnicianList) ToMap() (map[string]interface{}, error)

type TechnicianSchedule added in v0.2.0

type TechnicianSchedule struct {
	// IANA timezone the from/to dates were interpreted in.
	BusinessTimezone *string `json:"business_timezone,omitempty"`
	// Resolved query window start (UTC).
	From *time.Time `json:"from,omitempty"`
	// Job blocks occupying the technician's lane, time-ordered.
	Sessions []TechnicianScheduleSession `json:"sessions,omitempty"`
	// The technician queried.
	TechnicianId *string `json:"technician_id,omitempty"`
	// The technician's full name.
	TechnicianName *string `json:"technician_name,omitempty"`
	// Approved time-off blocks inside the window.
	TimeOff []TechnicianScheduleBlock `json:"time_off,omitempty"`
	// Resolved query window end (UTC).
	To *time.Time `json:"to,omitempty"`
}

TechnicianSchedule struct for TechnicianSchedule

func NewTechnicianSchedule added in v0.2.0

func NewTechnicianSchedule() *TechnicianSchedule

NewTechnicianSchedule instantiates a new TechnicianSchedule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianScheduleWithDefaults added in v0.2.0

func NewTechnicianScheduleWithDefaults() *TechnicianSchedule

NewTechnicianScheduleWithDefaults instantiates a new TechnicianSchedule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianSchedule) GetBusinessTimezone added in v0.2.0

func (o *TechnicianSchedule) GetBusinessTimezone() string

GetBusinessTimezone returns the BusinessTimezone field value if set, zero value otherwise.

func (*TechnicianSchedule) GetBusinessTimezoneOk added in v0.2.0

func (o *TechnicianSchedule) GetBusinessTimezoneOk() (*string, bool)

GetBusinessTimezoneOk returns a tuple with the BusinessTimezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSchedule) GetFrom added in v0.2.0

func (o *TechnicianSchedule) GetFrom() time.Time

GetFrom returns the From field value if set, zero value otherwise.

func (*TechnicianSchedule) GetFromOk added in v0.2.0

func (o *TechnicianSchedule) GetFromOk() (*time.Time, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSchedule) GetSessions added in v0.2.0

func (o *TechnicianSchedule) GetSessions() []TechnicianScheduleSession

GetSessions returns the Sessions field value if set, zero value otherwise.

func (*TechnicianSchedule) GetSessionsOk added in v0.2.0

func (o *TechnicianSchedule) GetSessionsOk() ([]TechnicianScheduleSession, bool)

GetSessionsOk returns a tuple with the Sessions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSchedule) GetTechnicianId added in v0.2.0

func (o *TechnicianSchedule) GetTechnicianId() string

GetTechnicianId returns the TechnicianId field value if set, zero value otherwise.

func (*TechnicianSchedule) GetTechnicianIdOk added in v0.2.0

func (o *TechnicianSchedule) GetTechnicianIdOk() (*string, bool)

GetTechnicianIdOk returns a tuple with the TechnicianId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSchedule) GetTechnicianName added in v0.2.0

func (o *TechnicianSchedule) GetTechnicianName() string

GetTechnicianName returns the TechnicianName field value if set, zero value otherwise.

func (*TechnicianSchedule) GetTechnicianNameOk added in v0.2.0

func (o *TechnicianSchedule) GetTechnicianNameOk() (*string, bool)

GetTechnicianNameOk returns a tuple with the TechnicianName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSchedule) GetTimeOff added in v0.2.0

func (o *TechnicianSchedule) GetTimeOff() []TechnicianScheduleBlock

GetTimeOff returns the TimeOff field value if set, zero value otherwise.

func (*TechnicianSchedule) GetTimeOffOk added in v0.2.0

func (o *TechnicianSchedule) GetTimeOffOk() ([]TechnicianScheduleBlock, bool)

GetTimeOffOk returns a tuple with the TimeOff field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSchedule) GetTo added in v0.2.0

func (o *TechnicianSchedule) GetTo() time.Time

GetTo returns the To field value if set, zero value otherwise.

func (*TechnicianSchedule) GetToOk added in v0.2.0

func (o *TechnicianSchedule) GetToOk() (*time.Time, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSchedule) HasBusinessTimezone added in v0.2.0

func (o *TechnicianSchedule) HasBusinessTimezone() bool

HasBusinessTimezone returns a boolean if a field has been set.

func (*TechnicianSchedule) HasFrom added in v0.2.0

func (o *TechnicianSchedule) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*TechnicianSchedule) HasSessions added in v0.2.0

func (o *TechnicianSchedule) HasSessions() bool

HasSessions returns a boolean if a field has been set.

func (*TechnicianSchedule) HasTechnicianId added in v0.2.0

func (o *TechnicianSchedule) HasTechnicianId() bool

HasTechnicianId returns a boolean if a field has been set.

func (*TechnicianSchedule) HasTechnicianName added in v0.2.0

func (o *TechnicianSchedule) HasTechnicianName() bool

HasTechnicianName returns a boolean if a field has been set.

func (*TechnicianSchedule) HasTimeOff added in v0.2.0

func (o *TechnicianSchedule) HasTimeOff() bool

HasTimeOff returns a boolean if a field has been set.

func (*TechnicianSchedule) HasTo added in v0.2.0

func (o *TechnicianSchedule) HasTo() bool

HasTo returns a boolean if a field has been set.

func (TechnicianSchedule) MarshalJSON added in v0.2.0

func (o TechnicianSchedule) MarshalJSON() ([]byte, error)

func (*TechnicianSchedule) SetBusinessTimezone added in v0.2.0

func (o *TechnicianSchedule) SetBusinessTimezone(v string)

SetBusinessTimezone gets a reference to the given string and assigns it to the BusinessTimezone field.

func (*TechnicianSchedule) SetFrom added in v0.2.0

func (o *TechnicianSchedule) SetFrom(v time.Time)

SetFrom gets a reference to the given time.Time and assigns it to the From field.

func (*TechnicianSchedule) SetSessions added in v0.2.0

func (o *TechnicianSchedule) SetSessions(v []TechnicianScheduleSession)

SetSessions gets a reference to the given []TechnicianScheduleSession and assigns it to the Sessions field.

func (*TechnicianSchedule) SetTechnicianId added in v0.2.0

func (o *TechnicianSchedule) SetTechnicianId(v string)

SetTechnicianId gets a reference to the given string and assigns it to the TechnicianId field.

func (*TechnicianSchedule) SetTechnicianName added in v0.2.0

func (o *TechnicianSchedule) SetTechnicianName(v string)

SetTechnicianName gets a reference to the given string and assigns it to the TechnicianName field.

func (*TechnicianSchedule) SetTimeOff added in v0.2.0

func (o *TechnicianSchedule) SetTimeOff(v []TechnicianScheduleBlock)

SetTimeOff gets a reference to the given []TechnicianScheduleBlock and assigns it to the TimeOff field.

func (*TechnicianSchedule) SetTo added in v0.2.0

func (o *TechnicianSchedule) SetTo(v time.Time)

SetTo gets a reference to the given time.Time and assigns it to the To field.

func (TechnicianSchedule) ToMap added in v0.2.0

func (o TechnicianSchedule) ToMap() (map[string]interface{}, error)

type TechnicianScheduleBlock added in v0.2.0

type TechnicianScheduleBlock struct {
	// Time-off window end (UTC).
	EndAt *time.Time `json:"end_at,omitempty"`
	// Time-off window start (UTC).
	StartAt *time.Time `json:"start_at,omitempty"`
}

TechnicianScheduleBlock struct for TechnicianScheduleBlock

func NewTechnicianScheduleBlock added in v0.2.0

func NewTechnicianScheduleBlock() *TechnicianScheduleBlock

NewTechnicianScheduleBlock instantiates a new TechnicianScheduleBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianScheduleBlockWithDefaults added in v0.2.0

func NewTechnicianScheduleBlockWithDefaults() *TechnicianScheduleBlock

NewTechnicianScheduleBlockWithDefaults instantiates a new TechnicianScheduleBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianScheduleBlock) GetEndAt added in v0.2.0

func (o *TechnicianScheduleBlock) GetEndAt() time.Time

GetEndAt returns the EndAt field value if set, zero value otherwise.

func (*TechnicianScheduleBlock) GetEndAtOk added in v0.2.0

func (o *TechnicianScheduleBlock) GetEndAtOk() (*time.Time, bool)

GetEndAtOk returns a tuple with the EndAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianScheduleBlock) GetStartAt added in v0.2.0

func (o *TechnicianScheduleBlock) GetStartAt() time.Time

GetStartAt returns the StartAt field value if set, zero value otherwise.

func (*TechnicianScheduleBlock) GetStartAtOk added in v0.2.0

func (o *TechnicianScheduleBlock) GetStartAtOk() (*time.Time, bool)

GetStartAtOk returns a tuple with the StartAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianScheduleBlock) HasEndAt added in v0.2.0

func (o *TechnicianScheduleBlock) HasEndAt() bool

HasEndAt returns a boolean if a field has been set.

func (*TechnicianScheduleBlock) HasStartAt added in v0.2.0

func (o *TechnicianScheduleBlock) HasStartAt() bool

HasStartAt returns a boolean if a field has been set.

func (TechnicianScheduleBlock) MarshalJSON added in v0.2.0

func (o TechnicianScheduleBlock) MarshalJSON() ([]byte, error)

func (*TechnicianScheduleBlock) SetEndAt added in v0.2.0

func (o *TechnicianScheduleBlock) SetEndAt(v time.Time)

SetEndAt gets a reference to the given time.Time and assigns it to the EndAt field.

func (*TechnicianScheduleBlock) SetStartAt added in v0.2.0

func (o *TechnicianScheduleBlock) SetStartAt(v time.Time)

SetStartAt gets a reference to the given time.Time and assigns it to the StartAt field.

func (TechnicianScheduleBlock) ToMap added in v0.2.0

func (o TechnicianScheduleBlock) ToMap() (map[string]interface{}, error)

type TechnicianScheduleSession added in v0.2.0

type TechnicianScheduleSession struct {
	// Session window end (UTC).
	EndAt *time.Time `json:"end_at,omitempty"`
	// UUID of the occupying job request.
	JobId *string `json:"job_id,omitempty"`
	// Priority of the occupying job (p0..p3).
	Priority *string `json:"priority,omitempty"`
	// lead = single-person job; crew = a multi-person job this technician is a member of (the specific member role is not distinguished here).
	Role *string `json:"role,omitempty"`
	// Human-readable job code (e.g. \"REQ-A3K7M2X9\").
	ShortCode *string `json:"short_code,omitempty"`
	// Session window start (UTC).
	StartAt *time.Time `json:"start_at,omitempty"`
}

TechnicianScheduleSession struct for TechnicianScheduleSession

func NewTechnicianScheduleSession added in v0.2.0

func NewTechnicianScheduleSession() *TechnicianScheduleSession

NewTechnicianScheduleSession instantiates a new TechnicianScheduleSession object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianScheduleSessionWithDefaults added in v0.2.0

func NewTechnicianScheduleSessionWithDefaults() *TechnicianScheduleSession

NewTechnicianScheduleSessionWithDefaults instantiates a new TechnicianScheduleSession object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianScheduleSession) GetEndAt added in v0.2.0

func (o *TechnicianScheduleSession) GetEndAt() time.Time

GetEndAt returns the EndAt field value if set, zero value otherwise.

func (*TechnicianScheduleSession) GetEndAtOk added in v0.2.0

func (o *TechnicianScheduleSession) GetEndAtOk() (*time.Time, bool)

GetEndAtOk returns a tuple with the EndAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianScheduleSession) GetJobId added in v0.2.0

func (o *TechnicianScheduleSession) GetJobId() string

GetJobId returns the JobId field value if set, zero value otherwise.

func (*TechnicianScheduleSession) GetJobIdOk added in v0.2.0

func (o *TechnicianScheduleSession) GetJobIdOk() (*string, bool)

GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianScheduleSession) GetPriority added in v0.2.0

func (o *TechnicianScheduleSession) GetPriority() string

GetPriority returns the Priority field value if set, zero value otherwise.

func (*TechnicianScheduleSession) GetPriorityOk added in v0.2.0

func (o *TechnicianScheduleSession) GetPriorityOk() (*string, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianScheduleSession) GetRole added in v0.2.0

func (o *TechnicianScheduleSession) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*TechnicianScheduleSession) GetRoleOk added in v0.2.0

func (o *TechnicianScheduleSession) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianScheduleSession) GetShortCode added in v0.2.0

func (o *TechnicianScheduleSession) GetShortCode() string

GetShortCode returns the ShortCode field value if set, zero value otherwise.

func (*TechnicianScheduleSession) GetShortCodeOk added in v0.2.0

func (o *TechnicianScheduleSession) GetShortCodeOk() (*string, bool)

GetShortCodeOk returns a tuple with the ShortCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianScheduleSession) GetStartAt added in v0.2.0

func (o *TechnicianScheduleSession) GetStartAt() time.Time

GetStartAt returns the StartAt field value if set, zero value otherwise.

func (*TechnicianScheduleSession) GetStartAtOk added in v0.2.0

func (o *TechnicianScheduleSession) GetStartAtOk() (*time.Time, bool)

GetStartAtOk returns a tuple with the StartAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianScheduleSession) HasEndAt added in v0.2.0

func (o *TechnicianScheduleSession) HasEndAt() bool

HasEndAt returns a boolean if a field has been set.

func (*TechnicianScheduleSession) HasJobId added in v0.2.0

func (o *TechnicianScheduleSession) HasJobId() bool

HasJobId returns a boolean if a field has been set.

func (*TechnicianScheduleSession) HasPriority added in v0.2.0

func (o *TechnicianScheduleSession) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*TechnicianScheduleSession) HasRole added in v0.2.0

func (o *TechnicianScheduleSession) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*TechnicianScheduleSession) HasShortCode added in v0.2.0

func (o *TechnicianScheduleSession) HasShortCode() bool

HasShortCode returns a boolean if a field has been set.

func (*TechnicianScheduleSession) HasStartAt added in v0.2.0

func (o *TechnicianScheduleSession) HasStartAt() bool

HasStartAt returns a boolean if a field has been set.

func (TechnicianScheduleSession) MarshalJSON added in v0.2.0

func (o TechnicianScheduleSession) MarshalJSON() ([]byte, error)

func (*TechnicianScheduleSession) SetEndAt added in v0.2.0

func (o *TechnicianScheduleSession) SetEndAt(v time.Time)

SetEndAt gets a reference to the given time.Time and assigns it to the EndAt field.

func (*TechnicianScheduleSession) SetJobId added in v0.2.0

func (o *TechnicianScheduleSession) SetJobId(v string)

SetJobId gets a reference to the given string and assigns it to the JobId field.

func (*TechnicianScheduleSession) SetPriority added in v0.2.0

func (o *TechnicianScheduleSession) SetPriority(v string)

SetPriority gets a reference to the given string and assigns it to the Priority field.

func (*TechnicianScheduleSession) SetRole added in v0.2.0

func (o *TechnicianScheduleSession) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*TechnicianScheduleSession) SetShortCode added in v0.2.0

func (o *TechnicianScheduleSession) SetShortCode(v string)

SetShortCode gets a reference to the given string and assigns it to the ShortCode field.

func (*TechnicianScheduleSession) SetStartAt added in v0.2.0

func (o *TechnicianScheduleSession) SetStartAt(v time.Time)

SetStartAt gets a reference to the given time.Time and assigns it to the StartAt field.

func (TechnicianScheduleSession) ToMap added in v0.2.0

func (o TechnicianScheduleSession) ToMap() (map[string]interface{}, error)

type TechnicianServiceAreaRef

type TechnicianServiceAreaRef struct {
	// Service-area UUID.
	Id *string `json:"id,omitempty"`
	// Service-area display name.
	Name *string `json:"name,omitempty"`
}

TechnicianServiceAreaRef struct for TechnicianServiceAreaRef

func NewTechnicianServiceAreaRef

func NewTechnicianServiceAreaRef() *TechnicianServiceAreaRef

NewTechnicianServiceAreaRef instantiates a new TechnicianServiceAreaRef object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianServiceAreaRefWithDefaults

func NewTechnicianServiceAreaRefWithDefaults() *TechnicianServiceAreaRef

NewTechnicianServiceAreaRefWithDefaults instantiates a new TechnicianServiceAreaRef object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianServiceAreaRef) GetId

func (o *TechnicianServiceAreaRef) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TechnicianServiceAreaRef) GetIdOk

func (o *TechnicianServiceAreaRef) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianServiceAreaRef) GetName

func (o *TechnicianServiceAreaRef) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TechnicianServiceAreaRef) GetNameOk

func (o *TechnicianServiceAreaRef) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianServiceAreaRef) HasId

func (o *TechnicianServiceAreaRef) HasId() bool

HasId returns a boolean if a field has been set.

func (*TechnicianServiceAreaRef) HasName

func (o *TechnicianServiceAreaRef) HasName() bool

HasName returns a boolean if a field has been set.

func (TechnicianServiceAreaRef) MarshalJSON

func (o TechnicianServiceAreaRef) MarshalJSON() ([]byte, error)

func (*TechnicianServiceAreaRef) SetId

func (o *TechnicianServiceAreaRef) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*TechnicianServiceAreaRef) SetName

func (o *TechnicianServiceAreaRef) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (TechnicianServiceAreaRef) ToMap

func (o TechnicianServiceAreaRef) ToMap() (map[string]interface{}, error)

type TechnicianServiceAreasRequest added in v0.2.0

type TechnicianServiceAreasRequest struct {
	// Service-area ids (max 50). Discover via GET /service-areas.
	ServiceAreaIds []string `json:"service_area_ids,omitempty"`
}

TechnicianServiceAreasRequest struct for TechnicianServiceAreasRequest

func NewTechnicianServiceAreasRequest added in v0.2.0

func NewTechnicianServiceAreasRequest() *TechnicianServiceAreasRequest

NewTechnicianServiceAreasRequest instantiates a new TechnicianServiceAreasRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianServiceAreasRequestWithDefaults added in v0.2.0

func NewTechnicianServiceAreasRequestWithDefaults() *TechnicianServiceAreasRequest

NewTechnicianServiceAreasRequestWithDefaults instantiates a new TechnicianServiceAreasRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianServiceAreasRequest) GetServiceAreaIds added in v0.2.0

func (o *TechnicianServiceAreasRequest) GetServiceAreaIds() []string

GetServiceAreaIds returns the ServiceAreaIds field value if set, zero value otherwise.

func (*TechnicianServiceAreasRequest) GetServiceAreaIdsOk added in v0.2.0

func (o *TechnicianServiceAreasRequest) GetServiceAreaIdsOk() ([]string, bool)

GetServiceAreaIdsOk returns a tuple with the ServiceAreaIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianServiceAreasRequest) HasServiceAreaIds added in v0.2.0

func (o *TechnicianServiceAreasRequest) HasServiceAreaIds() bool

HasServiceAreaIds returns a boolean if a field has been set.

func (TechnicianServiceAreasRequest) MarshalJSON added in v0.2.0

func (o TechnicianServiceAreasRequest) MarshalJSON() ([]byte, error)

func (*TechnicianServiceAreasRequest) SetServiceAreaIds added in v0.2.0

func (o *TechnicianServiceAreasRequest) SetServiceAreaIds(v []string)

SetServiceAreaIds gets a reference to the given []string and assigns it to the ServiceAreaIds field.

func (TechnicianServiceAreasRequest) ToMap added in v0.2.0

func (o TechnicianServiceAreasRequest) ToMap() (map[string]interface{}, error)

type TechnicianServiceAreasResponse added in v0.2.0

type TechnicianServiceAreasResponse struct {
	// The service areas now assigned to the technician.
	ServiceAreas []TechnicianServiceAreaRef `json:"service_areas,omitempty"`
}

TechnicianServiceAreasResponse struct for TechnicianServiceAreasResponse

func NewTechnicianServiceAreasResponse added in v0.2.0

func NewTechnicianServiceAreasResponse() *TechnicianServiceAreasResponse

NewTechnicianServiceAreasResponse instantiates a new TechnicianServiceAreasResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianServiceAreasResponseWithDefaults added in v0.2.0

func NewTechnicianServiceAreasResponseWithDefaults() *TechnicianServiceAreasResponse

NewTechnicianServiceAreasResponseWithDefaults instantiates a new TechnicianServiceAreasResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianServiceAreasResponse) GetServiceAreas added in v0.2.0

GetServiceAreas returns the ServiceAreas field value if set, zero value otherwise.

func (*TechnicianServiceAreasResponse) GetServiceAreasOk added in v0.2.0

func (o *TechnicianServiceAreasResponse) GetServiceAreasOk() ([]TechnicianServiceAreaRef, bool)

GetServiceAreasOk returns a tuple with the ServiceAreas field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianServiceAreasResponse) HasServiceAreas added in v0.2.0

func (o *TechnicianServiceAreasResponse) HasServiceAreas() bool

HasServiceAreas returns a boolean if a field has been set.

func (TechnicianServiceAreasResponse) MarshalJSON added in v0.2.0

func (o TechnicianServiceAreasResponse) MarshalJSON() ([]byte, error)

func (*TechnicianServiceAreasResponse) SetServiceAreas added in v0.2.0

SetServiceAreas gets a reference to the given []TechnicianServiceAreaRef and assigns it to the ServiceAreas field.

func (TechnicianServiceAreasResponse) ToMap added in v0.2.0

func (o TechnicianServiceAreasResponse) ToMap() (map[string]interface{}, error)

type TechnicianSkill added in v0.2.0

type TechnicianSkill struct {
	// UUID of the category the skill belongs to.
	CategoryId *string `json:"category_id,omitempty"`
	// Display name of the skill's category.
	CategoryName *string `json:"category_name,omitempty"`
	// Free-form description of the skill.
	Description *string `json:"description,omitempty"`
	// Whether the skill is active and bookable.
	IsActive *bool `json:"is_active,omitempty"`
	// Skill name.
	Name *string `json:"name,omitempty"`
	// Skill UUID — use it in `skill_ids` on job booking or the skills-replace call.
	SkillId *string `json:"skill_id,omitempty"`
}

TechnicianSkill struct for TechnicianSkill

func NewTechnicianSkill added in v0.2.0

func NewTechnicianSkill() *TechnicianSkill

NewTechnicianSkill instantiates a new TechnicianSkill object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianSkillWithDefaults added in v0.2.0

func NewTechnicianSkillWithDefaults() *TechnicianSkill

NewTechnicianSkillWithDefaults instantiates a new TechnicianSkill object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianSkill) GetCategoryId added in v0.2.0

func (o *TechnicianSkill) GetCategoryId() string

GetCategoryId returns the CategoryId field value if set, zero value otherwise.

func (*TechnicianSkill) GetCategoryIdOk added in v0.2.0

func (o *TechnicianSkill) GetCategoryIdOk() (*string, bool)

GetCategoryIdOk returns a tuple with the CategoryId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSkill) GetCategoryName added in v0.2.0

func (o *TechnicianSkill) GetCategoryName() string

GetCategoryName returns the CategoryName field value if set, zero value otherwise.

func (*TechnicianSkill) GetCategoryNameOk added in v0.2.0

func (o *TechnicianSkill) GetCategoryNameOk() (*string, bool)

GetCategoryNameOk returns a tuple with the CategoryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSkill) GetDescription added in v0.2.0

func (o *TechnicianSkill) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*TechnicianSkill) GetDescriptionOk added in v0.2.0

func (o *TechnicianSkill) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSkill) GetIsActive added in v0.2.0

func (o *TechnicianSkill) GetIsActive() bool

GetIsActive returns the IsActive field value if set, zero value otherwise.

func (*TechnicianSkill) GetIsActiveOk added in v0.2.0

func (o *TechnicianSkill) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSkill) GetName added in v0.2.0

func (o *TechnicianSkill) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TechnicianSkill) GetNameOk added in v0.2.0

func (o *TechnicianSkill) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSkill) GetSkillId added in v0.2.0

func (o *TechnicianSkill) GetSkillId() string

GetSkillId returns the SkillId field value if set, zero value otherwise.

func (*TechnicianSkill) GetSkillIdOk added in v0.2.0

func (o *TechnicianSkill) GetSkillIdOk() (*string, bool)

GetSkillIdOk returns a tuple with the SkillId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSkill) HasCategoryId added in v0.2.0

func (o *TechnicianSkill) HasCategoryId() bool

HasCategoryId returns a boolean if a field has been set.

func (*TechnicianSkill) HasCategoryName added in v0.2.0

func (o *TechnicianSkill) HasCategoryName() bool

HasCategoryName returns a boolean if a field has been set.

func (*TechnicianSkill) HasDescription added in v0.2.0

func (o *TechnicianSkill) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*TechnicianSkill) HasIsActive added in v0.2.0

func (o *TechnicianSkill) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

func (*TechnicianSkill) HasName added in v0.2.0

func (o *TechnicianSkill) HasName() bool

HasName returns a boolean if a field has been set.

func (*TechnicianSkill) HasSkillId added in v0.2.0

func (o *TechnicianSkill) HasSkillId() bool

HasSkillId returns a boolean if a field has been set.

func (TechnicianSkill) MarshalJSON added in v0.2.0

func (o TechnicianSkill) MarshalJSON() ([]byte, error)

func (*TechnicianSkill) SetCategoryId added in v0.2.0

func (o *TechnicianSkill) SetCategoryId(v string)

SetCategoryId gets a reference to the given string and assigns it to the CategoryId field.

func (*TechnicianSkill) SetCategoryName added in v0.2.0

func (o *TechnicianSkill) SetCategoryName(v string)

SetCategoryName gets a reference to the given string and assigns it to the CategoryName field.

func (*TechnicianSkill) SetDescription added in v0.2.0

func (o *TechnicianSkill) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*TechnicianSkill) SetIsActive added in v0.2.0

func (o *TechnicianSkill) SetIsActive(v bool)

SetIsActive gets a reference to the given bool and assigns it to the IsActive field.

func (*TechnicianSkill) SetName added in v0.2.0

func (o *TechnicianSkill) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*TechnicianSkill) SetSkillId added in v0.2.0

func (o *TechnicianSkill) SetSkillId(v string)

SetSkillId gets a reference to the given string and assigns it to the SkillId field.

func (TechnicianSkill) ToMap added in v0.2.0

func (o TechnicianSkill) ToMap() (map[string]interface{}, error)

type TechnicianSkillList added in v0.2.0

type TechnicianSkillList struct {
	// Page/limit/total pagination metadata.
	Meta *Pagination `json:"meta,omitempty"`
	// The technician's skills on this page.
	Skills []TechnicianSkill `json:"skills,omitempty"`
}

TechnicianSkillList struct for TechnicianSkillList

func NewTechnicianSkillList added in v0.2.0

func NewTechnicianSkillList() *TechnicianSkillList

NewTechnicianSkillList instantiates a new TechnicianSkillList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianSkillListWithDefaults added in v0.2.0

func NewTechnicianSkillListWithDefaults() *TechnicianSkillList

NewTechnicianSkillListWithDefaults instantiates a new TechnicianSkillList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianSkillList) GetMeta added in v0.2.0

func (o *TechnicianSkillList) GetMeta() Pagination

GetMeta returns the Meta field value if set, zero value otherwise.

func (*TechnicianSkillList) GetMetaOk added in v0.2.0

func (o *TechnicianSkillList) GetMetaOk() (*Pagination, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSkillList) GetSkills added in v0.2.0

func (o *TechnicianSkillList) GetSkills() []TechnicianSkill

GetSkills returns the Skills field value if set, zero value otherwise.

func (*TechnicianSkillList) GetSkillsOk added in v0.2.0

func (o *TechnicianSkillList) GetSkillsOk() ([]TechnicianSkill, bool)

GetSkillsOk returns a tuple with the Skills field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSkillList) HasMeta added in v0.2.0

func (o *TechnicianSkillList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*TechnicianSkillList) HasSkills added in v0.2.0

func (o *TechnicianSkillList) HasSkills() bool

HasSkills returns a boolean if a field has been set.

func (TechnicianSkillList) MarshalJSON added in v0.2.0

func (o TechnicianSkillList) MarshalJSON() ([]byte, error)

func (*TechnicianSkillList) SetMeta added in v0.2.0

func (o *TechnicianSkillList) SetMeta(v Pagination)

SetMeta gets a reference to the given Pagination and assigns it to the Meta field.

func (*TechnicianSkillList) SetSkills added in v0.2.0

func (o *TechnicianSkillList) SetSkills(v []TechnicianSkill)

SetSkills gets a reference to the given []TechnicianSkill and assigns it to the Skills field.

func (TechnicianSkillList) ToMap added in v0.2.0

func (o TechnicianSkillList) ToMap() (map[string]interface{}, error)

type TechnicianSkillsRequest added in v0.2.0

type TechnicianSkillsRequest struct {
	// Skill ids (max 100). Discover via GET /skills.
	SkillIds []string `json:"skill_ids,omitempty"`
}

TechnicianSkillsRequest struct for TechnicianSkillsRequest

func NewTechnicianSkillsRequest added in v0.2.0

func NewTechnicianSkillsRequest() *TechnicianSkillsRequest

NewTechnicianSkillsRequest instantiates a new TechnicianSkillsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianSkillsRequestWithDefaults added in v0.2.0

func NewTechnicianSkillsRequestWithDefaults() *TechnicianSkillsRequest

NewTechnicianSkillsRequestWithDefaults instantiates a new TechnicianSkillsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianSkillsRequest) GetSkillIds added in v0.2.0

func (o *TechnicianSkillsRequest) GetSkillIds() []string

GetSkillIds returns the SkillIds field value if set, zero value otherwise.

func (*TechnicianSkillsRequest) GetSkillIdsOk added in v0.2.0

func (o *TechnicianSkillsRequest) GetSkillIdsOk() ([]string, bool)

GetSkillIdsOk returns a tuple with the SkillIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianSkillsRequest) HasSkillIds added in v0.2.0

func (o *TechnicianSkillsRequest) HasSkillIds() bool

HasSkillIds returns a boolean if a field has been set.

func (TechnicianSkillsRequest) MarshalJSON added in v0.2.0

func (o TechnicianSkillsRequest) MarshalJSON() ([]byte, error)

func (*TechnicianSkillsRequest) SetSkillIds added in v0.2.0

func (o *TechnicianSkillsRequest) SetSkillIds(v []string)

SetSkillIds gets a reference to the given []string and assigns it to the SkillIds field.

func (TechnicianSkillsRequest) ToMap added in v0.2.0

func (o TechnicianSkillsRequest) ToMap() (map[string]interface{}, error)

type TechnicianStatus

type TechnicianStatus string

TechnicianStatus the model 'TechnicianStatus'

const (
	TECHNICIANSTATUS_StatusActive     TechnicianStatus = "active"
	TECHNICIANSTATUS_StatusOnboarding TechnicianStatus = "onboarding"
	TECHNICIANSTATUS_StatusDeactive   TechnicianStatus = "deactive"
)

List of TechnicianStatus

func NewTechnicianStatusFromValue

func NewTechnicianStatusFromValue(v string) (*TechnicianStatus, error)

NewTechnicianStatusFromValue returns a pointer to a valid TechnicianStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TechnicianStatus) IsValid

func (v TechnicianStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TechnicianStatus) Ptr

Ptr returns reference to TechnicianStatus value

func (*TechnicianStatus) UnmarshalJSON

func (v *TechnicianStatus) UnmarshalJSON(src []byte) error

type TechnicianUpdateRequest added in v0.2.0

type TechnicianUpdateRequest struct {
	// Home address (the day-start point when start_location_type=home).
	Address *TechnicianAddressInput `json:"address,omitempty"`
	// Crew tier: lead / buddy / float (float = excluded from auto crew-assign).
	AssignmentTier *string `json:"assignment_tier,omitempty"`
	// Role group. Discover IDs via GET /permission/groups.
	BusinessGroupId string `json:"business_group_id"`
	// Email address. At least one of phone/email is required.
	Email *string `json:"email,omitempty"`
	// The person's full display name. Required; max 255 chars.
	FullName string `json:"full_name"`
	// Display title.
	JobTitle *string `json:"job_title,omitempty"`
	// First working day (YYYY-MM-DD).
	JoinDate *string `json:"join_date,omitempty"`
	// At least one of phone/email is required.
	Phone *string `json:"phone,omitempty"`
	// Explicit day-start latitude in decimal degrees (-90..90); when set it wins over the address geocode.
	StartLocationLat *float32 `json:"start_location_lat,omitempty"`
	// Explicit day-start longitude in decimal degrees (-180..180); when set it wins over the address geocode.
	StartLocationLong *float32 `json:"start_location_long,omitempty"`
	// Day-start point: home or office; explicit coordinates win when set.
	StartLocationType *string `json:"start_location_type,omitempty"`
}

TechnicianUpdateRequest struct for TechnicianUpdateRequest

func NewTechnicianUpdateRequest added in v0.2.0

func NewTechnicianUpdateRequest(businessGroupId string, fullName string) *TechnicianUpdateRequest

NewTechnicianUpdateRequest instantiates a new TechnicianUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianUpdateRequestWithDefaults added in v0.2.0

func NewTechnicianUpdateRequestWithDefaults() *TechnicianUpdateRequest

NewTechnicianUpdateRequestWithDefaults instantiates a new TechnicianUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianUpdateRequest) GetAddress added in v0.2.0

GetAddress returns the Address field value if set, zero value otherwise.

func (*TechnicianUpdateRequest) GetAddressOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetAddressOk() (*TechnicianAddressInput, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetAssignmentTier added in v0.2.0

func (o *TechnicianUpdateRequest) GetAssignmentTier() string

GetAssignmentTier returns the AssignmentTier field value if set, zero value otherwise.

func (*TechnicianUpdateRequest) GetAssignmentTierOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetAssignmentTierOk() (*string, bool)

GetAssignmentTierOk returns a tuple with the AssignmentTier field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetBusinessGroupId added in v0.2.0

func (o *TechnicianUpdateRequest) GetBusinessGroupId() string

GetBusinessGroupId returns the BusinessGroupId field value

func (*TechnicianUpdateRequest) GetBusinessGroupIdOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetBusinessGroupIdOk() (*string, bool)

GetBusinessGroupIdOk returns a tuple with the BusinessGroupId field value and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetEmail added in v0.2.0

func (o *TechnicianUpdateRequest) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*TechnicianUpdateRequest) GetEmailOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetFullName added in v0.2.0

func (o *TechnicianUpdateRequest) GetFullName() string

GetFullName returns the FullName field value

func (*TechnicianUpdateRequest) GetFullNameOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetJobTitle added in v0.2.0

func (o *TechnicianUpdateRequest) GetJobTitle() string

GetJobTitle returns the JobTitle field value if set, zero value otherwise.

func (*TechnicianUpdateRequest) GetJobTitleOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetJobTitleOk() (*string, bool)

GetJobTitleOk returns a tuple with the JobTitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetJoinDate added in v0.2.0

func (o *TechnicianUpdateRequest) GetJoinDate() string

GetJoinDate returns the JoinDate field value if set, zero value otherwise.

func (*TechnicianUpdateRequest) GetJoinDateOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetJoinDateOk() (*string, bool)

GetJoinDateOk returns a tuple with the JoinDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetPhone added in v0.2.0

func (o *TechnicianUpdateRequest) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise.

func (*TechnicianUpdateRequest) GetPhoneOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetStartLocationLat added in v0.2.0

func (o *TechnicianUpdateRequest) GetStartLocationLat() float32

GetStartLocationLat returns the StartLocationLat field value if set, zero value otherwise.

func (*TechnicianUpdateRequest) GetStartLocationLatOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetStartLocationLatOk() (*float32, bool)

GetStartLocationLatOk returns a tuple with the StartLocationLat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetStartLocationLong added in v0.2.0

func (o *TechnicianUpdateRequest) GetStartLocationLong() float32

GetStartLocationLong returns the StartLocationLong field value if set, zero value otherwise.

func (*TechnicianUpdateRequest) GetStartLocationLongOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetStartLocationLongOk() (*float32, bool)

GetStartLocationLongOk returns a tuple with the StartLocationLong field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) GetStartLocationType added in v0.2.0

func (o *TechnicianUpdateRequest) GetStartLocationType() string

GetStartLocationType returns the StartLocationType field value if set, zero value otherwise.

func (*TechnicianUpdateRequest) GetStartLocationTypeOk added in v0.2.0

func (o *TechnicianUpdateRequest) GetStartLocationTypeOk() (*string, bool)

GetStartLocationTypeOk returns a tuple with the StartLocationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianUpdateRequest) HasAddress added in v0.2.0

func (o *TechnicianUpdateRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*TechnicianUpdateRequest) HasAssignmentTier added in v0.2.0

func (o *TechnicianUpdateRequest) HasAssignmentTier() bool

HasAssignmentTier returns a boolean if a field has been set.

func (*TechnicianUpdateRequest) HasEmail added in v0.2.0

func (o *TechnicianUpdateRequest) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*TechnicianUpdateRequest) HasJobTitle added in v0.2.0

func (o *TechnicianUpdateRequest) HasJobTitle() bool

HasJobTitle returns a boolean if a field has been set.

func (*TechnicianUpdateRequest) HasJoinDate added in v0.2.0

func (o *TechnicianUpdateRequest) HasJoinDate() bool

HasJoinDate returns a boolean if a field has been set.

func (*TechnicianUpdateRequest) HasPhone added in v0.2.0

func (o *TechnicianUpdateRequest) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*TechnicianUpdateRequest) HasStartLocationLat added in v0.2.0

func (o *TechnicianUpdateRequest) HasStartLocationLat() bool

HasStartLocationLat returns a boolean if a field has been set.

func (*TechnicianUpdateRequest) HasStartLocationLong added in v0.2.0

func (o *TechnicianUpdateRequest) HasStartLocationLong() bool

HasStartLocationLong returns a boolean if a field has been set.

func (*TechnicianUpdateRequest) HasStartLocationType added in v0.2.0

func (o *TechnicianUpdateRequest) HasStartLocationType() bool

HasStartLocationType returns a boolean if a field has been set.

func (TechnicianUpdateRequest) MarshalJSON added in v0.2.0

func (o TechnicianUpdateRequest) MarshalJSON() ([]byte, error)

func (*TechnicianUpdateRequest) SetAddress added in v0.2.0

SetAddress gets a reference to the given TechnicianAddressInput and assigns it to the Address field.

func (*TechnicianUpdateRequest) SetAssignmentTier added in v0.2.0

func (o *TechnicianUpdateRequest) SetAssignmentTier(v string)

SetAssignmentTier gets a reference to the given string and assigns it to the AssignmentTier field.

func (*TechnicianUpdateRequest) SetBusinessGroupId added in v0.2.0

func (o *TechnicianUpdateRequest) SetBusinessGroupId(v string)

SetBusinessGroupId sets field value

func (*TechnicianUpdateRequest) SetEmail added in v0.2.0

func (o *TechnicianUpdateRequest) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*TechnicianUpdateRequest) SetFullName added in v0.2.0

func (o *TechnicianUpdateRequest) SetFullName(v string)

SetFullName sets field value

func (*TechnicianUpdateRequest) SetJobTitle added in v0.2.0

func (o *TechnicianUpdateRequest) SetJobTitle(v string)

SetJobTitle gets a reference to the given string and assigns it to the JobTitle field.

func (*TechnicianUpdateRequest) SetJoinDate added in v0.2.0

func (o *TechnicianUpdateRequest) SetJoinDate(v string)

SetJoinDate gets a reference to the given string and assigns it to the JoinDate field.

func (*TechnicianUpdateRequest) SetPhone added in v0.2.0

func (o *TechnicianUpdateRequest) SetPhone(v string)

SetPhone gets a reference to the given string and assigns it to the Phone field.

func (*TechnicianUpdateRequest) SetStartLocationLat added in v0.2.0

func (o *TechnicianUpdateRequest) SetStartLocationLat(v float32)

SetStartLocationLat gets a reference to the given float32 and assigns it to the StartLocationLat field.

func (*TechnicianUpdateRequest) SetStartLocationLong added in v0.2.0

func (o *TechnicianUpdateRequest) SetStartLocationLong(v float32)

SetStartLocationLong gets a reference to the given float32 and assigns it to the StartLocationLong field.

func (*TechnicianUpdateRequest) SetStartLocationType added in v0.2.0

func (o *TechnicianUpdateRequest) SetStartLocationType(v string)

SetStartLocationType gets a reference to the given string and assigns it to the StartLocationType field.

func (TechnicianUpdateRequest) ToMap added in v0.2.0

func (o TechnicianUpdateRequest) ToMap() (map[string]interface{}, error)

func (*TechnicianUpdateRequest) UnmarshalJSON added in v0.2.0

func (o *TechnicianUpdateRequest) UnmarshalJSON(data []byte) (err error)

type TechnicianVehiclesRequest added in v0.2.0

type TechnicianVehiclesRequest struct {
	// Vehicle ids (max 50). Discover via GET /vehicles.
	VehicleIds []string `json:"vehicle_ids,omitempty"`
}

TechnicianVehiclesRequest struct for TechnicianVehiclesRequest

func NewTechnicianVehiclesRequest added in v0.2.0

func NewTechnicianVehiclesRequest() *TechnicianVehiclesRequest

NewTechnicianVehiclesRequest instantiates a new TechnicianVehiclesRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTechnicianVehiclesRequestWithDefaults added in v0.2.0

func NewTechnicianVehiclesRequestWithDefaults() *TechnicianVehiclesRequest

NewTechnicianVehiclesRequestWithDefaults instantiates a new TechnicianVehiclesRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TechnicianVehiclesRequest) GetVehicleIds added in v0.2.0

func (o *TechnicianVehiclesRequest) GetVehicleIds() []string

GetVehicleIds returns the VehicleIds field value if set, zero value otherwise.

func (*TechnicianVehiclesRequest) GetVehicleIdsOk added in v0.2.0

func (o *TechnicianVehiclesRequest) GetVehicleIdsOk() ([]string, bool)

GetVehicleIdsOk returns a tuple with the VehicleIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TechnicianVehiclesRequest) HasVehicleIds added in v0.2.0

func (o *TechnicianVehiclesRequest) HasVehicleIds() bool

HasVehicleIds returns a boolean if a field has been set.

func (TechnicianVehiclesRequest) MarshalJSON added in v0.2.0

func (o TechnicianVehiclesRequest) MarshalJSON() ([]byte, error)

func (*TechnicianVehiclesRequest) SetVehicleIds added in v0.2.0

func (o *TechnicianVehiclesRequest) SetVehicleIds(v []string)

SetVehicleIds gets a reference to the given []string and assigns it to the VehicleIds field.

func (TechnicianVehiclesRequest) ToMap added in v0.2.0

func (o TechnicianVehiclesRequest) ToMap() (map[string]interface{}, error)

type Vehicle

type Vehicle struct {
	// Manufacturer / make (e.g. \"Ford\"). Empty if not set.
	Brand *string `json:"brand,omitempty"`
	// UUID of the business that owns this vehicle.
	BusinessId *string `json:"business_id,omitempty"`
	// When the vehicle record was created (RFC3339).
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Current odometer reading; null if not tracked.
	CurrentMileage *int32 `json:"current_mileage,omitempty"`
	// Set (RFC3339) only when the record has been soft-deleted; omitted otherwise.
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	// Vehicle UUID — the stable identifier used in every vehicle endpoint.
	Id *string `json:"id,omitempty"`
	// Model name (e.g. \"Transit\"). Empty if not set.
	Model *string `json:"model,omitempty"`
	// Vehicle display name.
	Name *string `json:"name,omitempty"`
	// Live operational state derived from the vehicle's jobs: on_job = a job's scheduled window contains now (the vehicle is out working); assigned = attached to an upcoming/open job that is not in progress; other values mirror status.
	OperationalStatus *string `json:"operational_status,omitempty"`
	// The technician who currently owns (claimed) this vehicle; null if unowned.
	Owner *VehicleOwner `json:"owner,omitempty"`
	// License plate number. Empty if not set.
	PlateNumber *string `json:"plate_number,omitempty"`
	// Stored status. on_job here means \"attached to an open job\" (set at assignment, cleared at complete/archive/unassign) — see operational_status for the live state.
	Status *string `json:"status,omitempty"`
	// UUIDs of technicians who use this vehicle (derived from each technician's vehicle list). Empty array if none.
	TechnicianIds []string `json:"technician_ids,omitempty"`
	// When the vehicle record was last modified (RFC3339).
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Percentage of capacity the vehicle is utilized (0–100).
	UtilizationPercent *int32 `json:"utilization_percent,omitempty"`
	// Vehicle category.
	VehicleType *string `json:"vehicle_type,omitempty"`
	// Model year. Zero if not set.
	Year *int32 `json:"year,omitempty"`
}

Vehicle struct for Vehicle

func NewVehicle

func NewVehicle() *Vehicle

NewVehicle instantiates a new Vehicle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVehicleWithDefaults

func NewVehicleWithDefaults() *Vehicle

NewVehicleWithDefaults instantiates a new Vehicle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Vehicle) GetBrand

func (o *Vehicle) GetBrand() string

GetBrand returns the Brand field value if set, zero value otherwise.

func (*Vehicle) GetBrandOk

func (o *Vehicle) GetBrandOk() (*string, bool)

GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetBusinessId

func (o *Vehicle) GetBusinessId() string

GetBusinessId returns the BusinessId field value if set, zero value otherwise.

func (*Vehicle) GetBusinessIdOk

func (o *Vehicle) GetBusinessIdOk() (*string, bool)

GetBusinessIdOk returns a tuple with the BusinessId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetCreatedAt

func (o *Vehicle) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Vehicle) GetCreatedAtOk

func (o *Vehicle) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetCurrentMileage

func (o *Vehicle) GetCurrentMileage() int32

GetCurrentMileage returns the CurrentMileage field value if set, zero value otherwise.

func (*Vehicle) GetCurrentMileageOk

func (o *Vehicle) GetCurrentMileageOk() (*int32, bool)

GetCurrentMileageOk returns a tuple with the CurrentMileage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetDeletedAt

func (o *Vehicle) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*Vehicle) GetDeletedAtOk

func (o *Vehicle) GetDeletedAtOk() (*time.Time, bool)

GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetId

func (o *Vehicle) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Vehicle) GetIdOk

func (o *Vehicle) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetModel

func (o *Vehicle) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*Vehicle) GetModelOk

func (o *Vehicle) GetModelOk() (*string, bool)

GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetName

func (o *Vehicle) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Vehicle) GetNameOk

func (o *Vehicle) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetOperationalStatus added in v0.2.0

func (o *Vehicle) GetOperationalStatus() string

GetOperationalStatus returns the OperationalStatus field value if set, zero value otherwise.

func (*Vehicle) GetOperationalStatusOk added in v0.2.0

func (o *Vehicle) GetOperationalStatusOk() (*string, bool)

GetOperationalStatusOk returns a tuple with the OperationalStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetOwner

func (o *Vehicle) GetOwner() VehicleOwner

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Vehicle) GetOwnerOk

func (o *Vehicle) GetOwnerOk() (*VehicleOwner, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetPlateNumber

func (o *Vehicle) GetPlateNumber() string

GetPlateNumber returns the PlateNumber field value if set, zero value otherwise.

func (*Vehicle) GetPlateNumberOk

func (o *Vehicle) GetPlateNumberOk() (*string, bool)

GetPlateNumberOk returns a tuple with the PlateNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetStatus

func (o *Vehicle) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Vehicle) GetStatusOk

func (o *Vehicle) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetTechnicianIds

func (o *Vehicle) GetTechnicianIds() []string

GetTechnicianIds returns the TechnicianIds field value if set, zero value otherwise.

func (*Vehicle) GetTechnicianIdsOk

func (o *Vehicle) GetTechnicianIdsOk() ([]string, bool)

GetTechnicianIdsOk returns a tuple with the TechnicianIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetUpdatedAt

func (o *Vehicle) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Vehicle) GetUpdatedAtOk

func (o *Vehicle) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetUtilizationPercent

func (o *Vehicle) GetUtilizationPercent() int32

GetUtilizationPercent returns the UtilizationPercent field value if set, zero value otherwise.

func (*Vehicle) GetUtilizationPercentOk

func (o *Vehicle) GetUtilizationPercentOk() (*int32, bool)

GetUtilizationPercentOk returns a tuple with the UtilizationPercent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetVehicleType

func (o *Vehicle) GetVehicleType() string

GetVehicleType returns the VehicleType field value if set, zero value otherwise.

func (*Vehicle) GetVehicleTypeOk

func (o *Vehicle) GetVehicleTypeOk() (*string, bool)

GetVehicleTypeOk returns a tuple with the VehicleType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) GetYear

func (o *Vehicle) GetYear() int32

GetYear returns the Year field value if set, zero value otherwise.

func (*Vehicle) GetYearOk

func (o *Vehicle) GetYearOk() (*int32, bool)

GetYearOk returns a tuple with the Year field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vehicle) HasBrand

func (o *Vehicle) HasBrand() bool

HasBrand returns a boolean if a field has been set.

func (*Vehicle) HasBusinessId

func (o *Vehicle) HasBusinessId() bool

HasBusinessId returns a boolean if a field has been set.

func (*Vehicle) HasCreatedAt

func (o *Vehicle) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Vehicle) HasCurrentMileage

func (o *Vehicle) HasCurrentMileage() bool

HasCurrentMileage returns a boolean if a field has been set.

func (*Vehicle) HasDeletedAt

func (o *Vehicle) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Vehicle) HasId

func (o *Vehicle) HasId() bool

HasId returns a boolean if a field has been set.

func (*Vehicle) HasModel

func (o *Vehicle) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*Vehicle) HasName

func (o *Vehicle) HasName() bool

HasName returns a boolean if a field has been set.

func (*Vehicle) HasOperationalStatus added in v0.2.0

func (o *Vehicle) HasOperationalStatus() bool

HasOperationalStatus returns a boolean if a field has been set.

func (*Vehicle) HasOwner

func (o *Vehicle) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Vehicle) HasPlateNumber

func (o *Vehicle) HasPlateNumber() bool

HasPlateNumber returns a boolean if a field has been set.

func (*Vehicle) HasStatus

func (o *Vehicle) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Vehicle) HasTechnicianIds

func (o *Vehicle) HasTechnicianIds() bool

HasTechnicianIds returns a boolean if a field has been set.

func (*Vehicle) HasUpdatedAt

func (o *Vehicle) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Vehicle) HasUtilizationPercent

func (o *Vehicle) HasUtilizationPercent() bool

HasUtilizationPercent returns a boolean if a field has been set.

func (*Vehicle) HasVehicleType

func (o *Vehicle) HasVehicleType() bool

HasVehicleType returns a boolean if a field has been set.

func (*Vehicle) HasYear

func (o *Vehicle) HasYear() bool

HasYear returns a boolean if a field has been set.

func (Vehicle) MarshalJSON

func (o Vehicle) MarshalJSON() ([]byte, error)

func (*Vehicle) SetBrand

func (o *Vehicle) SetBrand(v string)

SetBrand gets a reference to the given string and assigns it to the Brand field.

func (*Vehicle) SetBusinessId

func (o *Vehicle) SetBusinessId(v string)

SetBusinessId gets a reference to the given string and assigns it to the BusinessId field.

func (*Vehicle) SetCreatedAt

func (o *Vehicle) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Vehicle) SetCurrentMileage

func (o *Vehicle) SetCurrentMileage(v int32)

SetCurrentMileage gets a reference to the given int32 and assigns it to the CurrentMileage field.

func (*Vehicle) SetDeletedAt

func (o *Vehicle) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*Vehicle) SetId

func (o *Vehicle) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Vehicle) SetModel

func (o *Vehicle) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

func (*Vehicle) SetName

func (o *Vehicle) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Vehicle) SetOperationalStatus added in v0.2.0

func (o *Vehicle) SetOperationalStatus(v string)

SetOperationalStatus gets a reference to the given string and assigns it to the OperationalStatus field.

func (*Vehicle) SetOwner

func (o *Vehicle) SetOwner(v VehicleOwner)

SetOwner gets a reference to the given VehicleOwner and assigns it to the Owner field.

func (*Vehicle) SetPlateNumber

func (o *Vehicle) SetPlateNumber(v string)

SetPlateNumber gets a reference to the given string and assigns it to the PlateNumber field.

func (*Vehicle) SetStatus

func (o *Vehicle) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Vehicle) SetTechnicianIds

func (o *Vehicle) SetTechnicianIds(v []string)

SetTechnicianIds gets a reference to the given []string and assigns it to the TechnicianIds field.

func (*Vehicle) SetUpdatedAt

func (o *Vehicle) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Vehicle) SetUtilizationPercent

func (o *Vehicle) SetUtilizationPercent(v int32)

SetUtilizationPercent gets a reference to the given int32 and assigns it to the UtilizationPercent field.

func (*Vehicle) SetVehicleType

func (o *Vehicle) SetVehicleType(v string)

SetVehicleType gets a reference to the given string and assigns it to the VehicleType field.

func (*Vehicle) SetYear

func (o *Vehicle) SetYear(v int32)

SetYear gets a reference to the given int32 and assigns it to the Year field.

func (Vehicle) ToMap

func (o Vehicle) ToMap() (map[string]interface{}, error)

type VehicleAPIService

type VehicleAPIService service

VehicleAPIService VehicleAPI service

func (*VehicleAPIService) GetVehicle

GetVehicle Get a vehicle

Returns one fleet vehicle (service van/truck): identity, plate, operational status (idle, on job, maintenance) and which technicians use it — the fleet-management view of a single asset.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Vehicle ID
@return ApiGetVehicleRequest

func (*VehicleAPIService) GetVehicleExecute

Execute executes the request

@return GetVehicle200Response

func (*VehicleAPIService) ListVehicles

ListVehicles List vehicles

Returns the business's fleet: paginated service vehicles (vans/trucks) with operational status (idle, on job, maintenance) — the fleet inventory behind crew carpooling and job mobilization. Supports the `since` cursor for incremental fleet sync.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListVehiclesRequest

func (*VehicleAPIService) ListVehiclesExecute

Execute executes the request

@return ListVehicles200Response

type VehicleList

type VehicleList struct {
	// True if more rows exist beyond this page.
	HasMore *bool `json:"has_more,omitempty"`
	// Page/limit/total pagination metadata.
	Meta *Pagination `json:"meta,omitempty"`
	// Cursor for short-polling: pass back as `since` to fetch only rows changed after this point (RFC3339).
	NextSince *time.Time `json:"next_since,omitempty"`
	// The vehicles on this page.
	Vehicles []Vehicle `json:"vehicles,omitempty"`
}

VehicleList struct for VehicleList

func NewVehicleList

func NewVehicleList() *VehicleList

NewVehicleList instantiates a new VehicleList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVehicleListWithDefaults

func NewVehicleListWithDefaults() *VehicleList

NewVehicleListWithDefaults instantiates a new VehicleList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VehicleList) GetHasMore

func (o *VehicleList) GetHasMore() bool

GetHasMore returns the HasMore field value if set, zero value otherwise.

func (*VehicleList) GetHasMoreOk

func (o *VehicleList) GetHasMoreOk() (*bool, bool)

GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VehicleList) GetMeta

func (o *VehicleList) GetMeta() Pagination

GetMeta returns the Meta field value if set, zero value otherwise.

func (*VehicleList) GetMetaOk

func (o *VehicleList) GetMetaOk() (*Pagination, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VehicleList) GetNextSince

func (o *VehicleList) GetNextSince() time.Time

GetNextSince returns the NextSince field value if set, zero value otherwise.

func (*VehicleList) GetNextSinceOk

func (o *VehicleList) GetNextSinceOk() (*time.Time, bool)

GetNextSinceOk returns a tuple with the NextSince field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VehicleList) GetVehicles

func (o *VehicleList) GetVehicles() []Vehicle

GetVehicles returns the Vehicles field value if set, zero value otherwise.

func (*VehicleList) GetVehiclesOk

func (o *VehicleList) GetVehiclesOk() ([]Vehicle, bool)

GetVehiclesOk returns a tuple with the Vehicles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VehicleList) HasHasMore

func (o *VehicleList) HasHasMore() bool

HasHasMore returns a boolean if a field has been set.

func (*VehicleList) HasMeta

func (o *VehicleList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*VehicleList) HasNextSince

func (o *VehicleList) HasNextSince() bool

HasNextSince returns a boolean if a field has been set.

func (*VehicleList) HasVehicles

func (o *VehicleList) HasVehicles() bool

HasVehicles returns a boolean if a field has been set.

func (VehicleList) MarshalJSON

func (o VehicleList) MarshalJSON() ([]byte, error)

func (*VehicleList) SetHasMore

func (o *VehicleList) SetHasMore(v bool)

SetHasMore gets a reference to the given bool and assigns it to the HasMore field.

func (*VehicleList) SetMeta

func (o *VehicleList) SetMeta(v Pagination)

SetMeta gets a reference to the given Pagination and assigns it to the Meta field.

func (*VehicleList) SetNextSince

func (o *VehicleList) SetNextSince(v time.Time)

SetNextSince gets a reference to the given time.Time and assigns it to the NextSince field.

func (*VehicleList) SetVehicles

func (o *VehicleList) SetVehicles(v []Vehicle)

SetVehicles gets a reference to the given []Vehicle and assigns it to the Vehicles field.

func (VehicleList) ToMap

func (o VehicleList) ToMap() (map[string]interface{}, error)

type VehicleOwner

type VehicleOwner struct {
	// Owning technician's display name.
	FullName *string `json:"full_name,omitempty"`
	// UUID of the owning technician's business user profile.
	Id *string `json:"id,omitempty"`
}

VehicleOwner struct for VehicleOwner

func NewVehicleOwner

func NewVehicleOwner() *VehicleOwner

NewVehicleOwner instantiates a new VehicleOwner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVehicleOwnerWithDefaults

func NewVehicleOwnerWithDefaults() *VehicleOwner

NewVehicleOwnerWithDefaults instantiates a new VehicleOwner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VehicleOwner) GetFullName

func (o *VehicleOwner) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*VehicleOwner) GetFullNameOk

func (o *VehicleOwner) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VehicleOwner) GetId

func (o *VehicleOwner) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VehicleOwner) GetIdOk

func (o *VehicleOwner) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VehicleOwner) HasFullName

func (o *VehicleOwner) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*VehicleOwner) HasId

func (o *VehicleOwner) HasId() bool

HasId returns a boolean if a field has been set.

func (VehicleOwner) MarshalJSON

func (o VehicleOwner) MarshalJSON() ([]byte, error)

func (*VehicleOwner) SetFullName

func (o *VehicleOwner) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*VehicleOwner) SetId

func (o *VehicleOwner) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (VehicleOwner) ToMap

func (o VehicleOwner) ToMap() (map[string]interface{}, error)

Source Files

Jump to

Keyboard shortcuts

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