Documentation
¶
Index ¶
- Constants
- type AddAppointmentRequest
- type Address
- type Appointment
- type AppointmentID
- type AppointmentResource
- type AppointmentResources
- type AppointmentSlot
- type AppointmentSlotReport
- type AppointmentTime
- type AppointmentTimeInput
- type AssignAppointmentResourcesRequest
- func (m *AssignAppointmentResourcesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignAppointmentResourcesRequest) MarshalBinary() ([]byte, error)
- func (m *AssignAppointmentResourcesRequest) UnmarshalBinary(b []byte) error
- func (m *AssignAppointmentResourcesRequest) Validate(formats strfmt.Registry) error
- type AssignAppointmentResourcesResponse
- func (m *AssignAppointmentResourcesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignAppointmentResourcesResponse) MarshalBinary() ([]byte, error)
- func (m *AssignAppointmentResourcesResponse) UnmarshalBinary(b []byte) error
- func (m *AssignAppointmentResourcesResponse) Validate(formats strfmt.Registry) error
- type AssignAppointmentResourcesResponsePayload
- func (m *AssignAppointmentResourcesResponsePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignAppointmentResourcesResponsePayload) MarshalBinary() ([]byte, error)
- func (m *AssignAppointmentResourcesResponsePayload) UnmarshalBinary(b []byte) error
- func (m *AssignAppointmentResourcesResponsePayload) Validate(formats strfmt.Registry) error
- type AssociatedItem
- type AvailabilityRecord
- type AvailabilityRecords
- type Buyer
- type CancelReservationResponse
- func (m *CancelReservationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CancelReservationResponse) MarshalBinary() ([]byte, error)
- func (m *CancelReservationResponse) UnmarshalBinary(b []byte) error
- func (m *CancelReservationResponse) Validate(formats strfmt.Registry) error
- type CancelServiceJobByServiceJobIDResponse
- func (m *CancelServiceJobByServiceJobIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CancelServiceJobByServiceJobIDResponse) MarshalBinary() ([]byte, error)
- func (m *CancelServiceJobByServiceJobIDResponse) UnmarshalBinary(b []byte) error
- func (m *CancelServiceJobByServiceJobIDResponse) Validate(formats strfmt.Registry) error
- type CapacityType
- type CompleteServiceJobByServiceJobIDResponse
- func (m *CompleteServiceJobByServiceJobIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CompleteServiceJobByServiceJobIDResponse) MarshalBinary() ([]byte, error)
- func (m *CompleteServiceJobByServiceJobIDResponse) UnmarshalBinary(b []byte) error
- func (m *CompleteServiceJobByServiceJobIDResponse) Validate(formats strfmt.Registry) error
- type CreateReservationRecord
- func (m *CreateReservationRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateReservationRecord) MarshalBinary() ([]byte, error)
- func (m *CreateReservationRecord) UnmarshalBinary(b []byte) error
- func (m *CreateReservationRecord) Validate(formats strfmt.Registry) error
- type CreateReservationRequest
- func (m *CreateReservationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateReservationRequest) MarshalBinary() ([]byte, error)
- func (m *CreateReservationRequest) UnmarshalBinary(b []byte) error
- func (m *CreateReservationRequest) Validate(formats strfmt.Registry) error
- type CreateReservationResponse
- func (m *CreateReservationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateReservationResponse) MarshalBinary() ([]byte, error)
- func (m *CreateReservationResponse) UnmarshalBinary(b []byte) error
- func (m *CreateReservationResponse) Validate(formats strfmt.Registry) error
- type CreateServiceDocumentUploadDestination
- func (m *CreateServiceDocumentUploadDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateServiceDocumentUploadDestination) MarshalBinary() ([]byte, error)
- func (m *CreateServiceDocumentUploadDestination) UnmarshalBinary(b []byte) error
- func (m *CreateServiceDocumentUploadDestination) Validate(formats strfmt.Registry) error
- type DayOfWeek
- type EncryptionDetails
- type Error
- type ErrorList
- type FixedSlot
- type FixedSlotCapacity
- type FixedSlotCapacityErrors
- func (m *FixedSlotCapacityErrors) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *FixedSlotCapacityErrors) MarshalBinary() ([]byte, error)
- func (m *FixedSlotCapacityErrors) UnmarshalBinary(b []byte) error
- func (m *FixedSlotCapacityErrors) Validate(formats strfmt.Registry) error
- type FixedSlotCapacityQuery
- func (m *FixedSlotCapacityQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *FixedSlotCapacityQuery) MarshalBinary() ([]byte, error)
- func (m *FixedSlotCapacityQuery) UnmarshalBinary(b []byte) error
- func (m *FixedSlotCapacityQuery) Validate(formats strfmt.Registry) error
- type FulfillmentDocument
- type FulfillmentDocuments
- type FulfillmentTime
- type GetAppointmentSlotsResponse
- func (m *GetAppointmentSlotsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetAppointmentSlotsResponse) MarshalBinary() ([]byte, error)
- func (m *GetAppointmentSlotsResponse) UnmarshalBinary(b []byte) error
- func (m *GetAppointmentSlotsResponse) Validate(formats strfmt.Registry) error
- type GetServiceJobByServiceJobIDResponse
- func (m *GetServiceJobByServiceJobIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetServiceJobByServiceJobIDResponse) MarshalBinary() ([]byte, error)
- func (m *GetServiceJobByServiceJobIDResponse) UnmarshalBinary(b []byte) error
- func (m *GetServiceJobByServiceJobIDResponse) Validate(formats strfmt.Registry) error
- type GetServiceJobsResponse
- func (m *GetServiceJobsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetServiceJobsResponse) MarshalBinary() ([]byte, error)
- func (m *GetServiceJobsResponse) UnmarshalBinary(b []byte) error
- func (m *GetServiceJobsResponse) Validate(formats strfmt.Registry) error
- type ItemDelivery
- type ItemDeliveryPromise
- type JobListing
- type OrderID
- type Poa
- type RangeCapacity
- type RangeSlot
- type RangeSlotCapacity
- type RangeSlotCapacityErrors
- func (m *RangeSlotCapacityErrors) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RangeSlotCapacityErrors) MarshalBinary() ([]byte, error)
- func (m *RangeSlotCapacityErrors) UnmarshalBinary(b []byte) error
- func (m *RangeSlotCapacityErrors) Validate(formats strfmt.Registry) error
- type RangeSlotCapacityQuery
- func (m *RangeSlotCapacityQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RangeSlotCapacityQuery) MarshalBinary() ([]byte, error)
- func (m *RangeSlotCapacityQuery) UnmarshalBinary(b []byte) error
- func (m *RangeSlotCapacityQuery) Validate(formats strfmt.Registry) error
- type Recurrence
- type RescheduleAppointmentRequest
- func (m *RescheduleAppointmentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RescheduleAppointmentRequest) MarshalBinary() ([]byte, error)
- func (m *RescheduleAppointmentRequest) UnmarshalBinary(b []byte) error
- func (m *RescheduleAppointmentRequest) Validate(formats strfmt.Registry) error
- type RescheduleReasonCode
- type Reservation
- type ScopeOfWork
- type Seller
- type ServiceDocumentUploadDestination
- func (m *ServiceDocumentUploadDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceDocumentUploadDestination) MarshalBinary() ([]byte, error)
- func (m *ServiceDocumentUploadDestination) UnmarshalBinary(b []byte) error
- func (m *ServiceDocumentUploadDestination) Validate(formats strfmt.Registry) error
- type ServiceJob
- type ServiceJobID
- type ServiceJobProvider
- type ServiceLocation
- type ServiceUploadDocument
- type SetAppointmentFulfillmentDataRequest
- func (m *SetAppointmentFulfillmentDataRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetAppointmentFulfillmentDataRequest) MarshalBinary() ([]byte, error)
- func (m *SetAppointmentFulfillmentDataRequest) UnmarshalBinary(b []byte) error
- func (m *SetAppointmentFulfillmentDataRequest) Validate(formats strfmt.Registry) error
- type SetAppointmentResponse
- func (m *SetAppointmentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetAppointmentResponse) MarshalBinary() ([]byte, error)
- func (m *SetAppointmentResponse) UnmarshalBinary(b []byte) error
- func (m *SetAppointmentResponse) Validate(formats strfmt.Registry) error
- type Technician
- type UpdateReservationRecord
- func (m *UpdateReservationRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateReservationRecord) MarshalBinary() ([]byte, error)
- func (m *UpdateReservationRecord) UnmarshalBinary(b []byte) error
- func (m *UpdateReservationRecord) Validate(formats strfmt.Registry) error
- type UpdateReservationRequest
- func (m *UpdateReservationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateReservationRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateReservationRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateReservationRequest) Validate(formats strfmt.Registry) error
- type UpdateReservationResponse
- func (m *UpdateReservationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateReservationResponse) MarshalBinary() ([]byte, error)
- func (m *UpdateReservationResponse) UnmarshalBinary(b []byte) error
- func (m *UpdateReservationResponse) Validate(formats strfmt.Registry) error
- type UpdateScheduleRecord
- type UpdateScheduleRequest
- type UpdateScheduleResponse
- func (m *UpdateScheduleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateScheduleResponse) MarshalBinary() ([]byte, error)
- func (m *UpdateScheduleResponse) UnmarshalBinary(b []byte) error
- func (m *UpdateScheduleResponse) Validate(formats strfmt.Registry) error
- type Warning
- type WarningList
Constants ¶
const ( // AppointmentAppointmentStatusACTIVE captures enum value "ACTIVE" AppointmentAppointmentStatusACTIVE string = "ACTIVE" // AppointmentAppointmentStatusCANCELLED captures enum value "CANCELLED" AppointmentAppointmentStatusCANCELLED string = "CANCELLED" // AppointmentAppointmentStatusCOMPLETED captures enum value "COMPLETED" AppointmentAppointmentStatusCOMPLETED string = "COMPLETED" )
const ( // AppointmentSlotReportSchedulingTypeREALTIMESCHEDULING captures enum value "REAL_TIME_SCHEDULING" AppointmentSlotReportSchedulingTypeREALTIMESCHEDULING string = "REAL_TIME_SCHEDULING" // AppointmentSlotReportSchedulingTypeNONREALTIMESCHEDULING captures enum value "NON_REAL_TIME_SCHEDULING" AppointmentSlotReportSchedulingTypeNONREALTIMESCHEDULING string = "NON_REAL_TIME_SCHEDULING" )
const ( // AssociatedItemItemStatusACTIVE captures enum value "ACTIVE" AssociatedItemItemStatusACTIVE string = "ACTIVE" // AssociatedItemItemStatusCANCELLED captures enum value "CANCELLED" AssociatedItemItemStatusCANCELLED string = "CANCELLED" // AssociatedItemItemStatusSHIPPED captures enum value "SHIPPED" AssociatedItemItemStatusSHIPPED string = "SHIPPED" // AssociatedItemItemStatusDELIVERED captures enum value "DELIVERED" AssociatedItemItemStatusDELIVERED string = "DELIVERED" )
const ( // ErrorErrorLevelERROR captures enum value "ERROR" ErrorErrorLevelERROR string = "ERROR" // ErrorErrorLevelWARNING captures enum value "WARNING" ErrorErrorLevelWARNING string = "WARNING" )
const ( // PoaPoaTypeNOSIGNATUREDUMMYPOS captures enum value "NO_SIGNATURE_DUMMY_POS" PoaPoaTypeNOSIGNATUREDUMMYPOS string = "NO_SIGNATURE_DUMMY_POS" // PoaPoaTypeCUSTOMERSIGNATURE captures enum value "CUSTOMER_SIGNATURE" PoaPoaTypeCUSTOMERSIGNATURE string = "CUSTOMER_SIGNATURE" // PoaPoaTypeDUMMYRECEIPT captures enum value "DUMMY_RECEIPT" PoaPoaTypeDUMMYRECEIPT string = "DUMMY_RECEIPT" // PoaPoaTypePOARECEIPT captures enum value "POA_RECEIPT" PoaPoaTypePOARECEIPT string = "POA_RECEIPT" )
const ( // ReservationTypeAPPOINTMENT captures enum value "APPOINTMENT" ReservationTypeAPPOINTMENT string = "APPOINTMENT" // ReservationTypeTRAVEL captures enum value "TRAVEL" ReservationTypeTRAVEL string = "TRAVEL" // ReservationTypeVACATION captures enum value "VACATION" ReservationTypeVACATION string = "VACATION" // ReservationTypeBREAK captures enum value "BREAK" ReservationTypeBREAK string = "BREAK" // ReservationTypeTRAINING captures enum value "TRAINING" ReservationTypeTRAINING string = "TRAINING" )
const ( // ServiceJobServiceJobStatusNOTSERVICED captures enum value "NOT_SERVICED" ServiceJobServiceJobStatusNOTSERVICED string = "NOT_SERVICED" // ServiceJobServiceJobStatusCANCELLED captures enum value "CANCELLED" ServiceJobServiceJobStatusCANCELLED string = "CANCELLED" // ServiceJobServiceJobStatusCOMPLETED captures enum value "COMPLETED" ServiceJobServiceJobStatusCOMPLETED string = "COMPLETED" // ServiceJobServiceJobStatusPENDINGSCHEDULE captures enum value "PENDING_SCHEDULE" ServiceJobServiceJobStatusPENDINGSCHEDULE string = "PENDING_SCHEDULE" // ServiceJobServiceJobStatusNOTFULFILLABLE captures enum value "NOT_FULFILLABLE" ServiceJobServiceJobStatusNOTFULFILLABLE string = "NOT_FULFILLABLE" // ServiceJobServiceJobStatusHOLD captures enum value "HOLD" ServiceJobServiceJobStatusHOLD string = "HOLD" // ServiceJobServiceJobStatusPAYMENTDECLINED captures enum value "PAYMENT_DECLINED" ServiceJobServiceJobStatusPAYMENTDECLINED string = "PAYMENT_DECLINED" )
const ( // ServiceLocationServiceLocationTypeINHOME captures enum value "IN_HOME" ServiceLocationServiceLocationTypeINHOME string = "IN_HOME" // ServiceLocationServiceLocationTypeINSTORE captures enum value "IN_STORE" ServiceLocationServiceLocationTypeINSTORE string = "IN_STORE" // ServiceLocationServiceLocationTypeONLINE captures enum value "ONLINE" ServiceLocationServiceLocationTypeONLINE string = "ONLINE" )
const ( // ServiceUploadDocumentContentTypeTIFF captures enum value "TIFF" ServiceUploadDocumentContentTypeTIFF string = "TIFF" // ServiceUploadDocumentContentTypeJPG captures enum value "JPG" ServiceUploadDocumentContentTypeJPG string = "JPG" // ServiceUploadDocumentContentTypePNG captures enum value "PNG" ServiceUploadDocumentContentTypePNG string = "PNG" // ServiceUploadDocumentContentTypeJPEG captures enum value "JPEG" ServiceUploadDocumentContentTypeJPEG string = "JPEG" // ServiceUploadDocumentContentTypeGIF captures enum value "GIF" ServiceUploadDocumentContentTypeGIF string = "GIF" // ServiceUploadDocumentContentTypePDF captures enum value "PDF" ServiceUploadDocumentContentTypePDF string = "PDF" )
const ( // EncryptionDetailsStandardAES captures enum value "AES" EncryptionDetailsStandardAES string = "AES" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAppointmentRequest ¶
type AddAppointmentRequest struct { // Input appointment time details. // Required: true AppointmentTime *AppointmentTimeInput `json:"appointmentTime"` }
AddAppointmentRequest Input for add appointment operation.
swagger:model AddAppointmentRequest
func (*AddAppointmentRequest) ContextValidate ¶
ContextValidate validate this add appointment request based on the context it is used
func (*AddAppointmentRequest) MarshalBinary ¶
func (m *AddAppointmentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAppointmentRequest) UnmarshalBinary ¶
func (m *AddAppointmentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Address ¶
type Address struct { // The first line of the address. // Required: true AddressLine1 *string `json:"addressLine1"` // Additional address information, if required. AddressLine2 string `json:"addressLine2,omitempty"` // Additional address information, if required. AddressLine3 string `json:"addressLine3,omitempty"` // The city. City string `json:"city,omitempty"` // The two digit country code, in ISO 3166-1 alpha-2 format. CountryCode string `json:"countryCode,omitempty"` // The county. County string `json:"county,omitempty"` // The district. District string `json:"district,omitempty"` // The name of the person, business, or institution. // Required: true Name *string `json:"name"` // The phone number. Phone string `json:"phone,omitempty"` // The postal code. This can contain letters, digits, spaces, and/or punctuation. PostalCode string `json:"postalCode,omitempty"` // The state or region. StateOrRegion string `json:"stateOrRegion,omitempty"` }
Address The shipping address for the service job.
swagger:model Address
func (*Address) ContextValidate ¶
ContextValidate validates this address based on context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Appointment ¶
type Appointment struct { // The appointment identifier. AppointmentID AppointmentID `json:"appointmentId,omitempty"` // The status of the appointment. // Enum: [ACTIVE CANCELLED COMPLETED] AppointmentStatus string `json:"appointmentStatus,omitempty"` // The time of the appointment window. AppointmentTime *AppointmentTime `json:"appointmentTime,omitempty"` // A list of technicians assigned to the service job. // Min Items: 1 AssignedTechnicians []*Technician `json:"assignedTechnicians"` // Proof of Appointment (POA) details. Poa *Poa `json:"poa,omitempty"` // The identifier of a rescheduled appointment. RescheduledAppointmentID AppointmentID `json:"rescheduledAppointmentId,omitempty"` }
Appointment The details of an appointment.
swagger:model Appointment
func (*Appointment) ContextValidate ¶
ContextValidate validate this appointment based on the context it is used
func (*Appointment) MarshalBinary ¶
func (m *Appointment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Appointment) UnmarshalBinary ¶
func (m *Appointment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppointmentID ¶
type AppointmentID string
AppointmentID The appointment identifier.
swagger:model AppointmentId
func (AppointmentID) ContextValidate ¶
ContextValidate validates this appointment Id based on context it is used
type AppointmentResource ¶
type AppointmentResource struct { // The resource identifier. ResourceID string `json:"resourceId,omitempty"` }
AppointmentResource The resource that performs or performed appointment fulfillment.
swagger:model AppointmentResource
func (*AppointmentResource) ContextValidate ¶
ContextValidate validates this appointment resource based on context it is used
func (*AppointmentResource) MarshalBinary ¶
func (m *AppointmentResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppointmentResource) UnmarshalBinary ¶
func (m *AppointmentResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppointmentResources ¶
type AppointmentResources []*AppointmentResource
AppointmentResources List of resources that performs or performed job appointment fulfillment.
swagger:model AppointmentResources
func (AppointmentResources) ContextValidate ¶
ContextValidate validate this appointment resources based on the context it is used
type AppointmentSlot ¶
type AppointmentSlot struct { // Number of resources for which a slot can be reserved. // Minimum: 0 Capacity *int64 `json:"capacity,omitempty"` // Time window end time in ISO 8601 format. // Format: date-time EndTime strfmt.DateTime `json:"endTime,omitempty"` // Time window start time in ISO 8601 format. // Format: date-time StartTime strfmt.DateTime `json:"startTime,omitempty"` }
AppointmentSlot A time window along with associated capacity in which the service can be performed.
swagger:model AppointmentSlot
func (*AppointmentSlot) ContextValidate ¶
ContextValidate validates this appointment slot based on context it is used
func (*AppointmentSlot) MarshalBinary ¶
func (m *AppointmentSlot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppointmentSlot) UnmarshalBinary ¶
func (m *AppointmentSlot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppointmentSlotReport ¶
type AppointmentSlotReport struct { // A list of time windows along with associated capacity in which the service can be performed. AppointmentSlots []*AppointmentSlot `json:"appointmentSlots"` // End Time up to which the appointment slots are generated in ISO 8601 format. // Format: date-time EndTime strfmt.DateTime `json:"endTime,omitempty"` // Defines the type of slots. // Enum: [REAL_TIME_SCHEDULING NON_REAL_TIME_SCHEDULING] SchedulingType string `json:"schedulingType,omitempty"` // Start Time from which the appointment slots are generated in ISO 8601 format. // Format: date-time StartTime strfmt.DateTime `json:"startTime,omitempty"` }
AppointmentSlotReport Availability information as per the service context queried.
swagger:model AppointmentSlotReport
func (*AppointmentSlotReport) ContextValidate ¶
ContextValidate validate this appointment slot report based on the context it is used
func (*AppointmentSlotReport) MarshalBinary ¶
func (m *AppointmentSlotReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppointmentSlotReport) UnmarshalBinary ¶
func (m *AppointmentSlotReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppointmentTime ¶
type AppointmentTime struct { // The duration of the appointment window, in minutes. // Required: true // Minimum: 1 DurationInMinutes *int64 `json:"durationInMinutes"` // The date and time of the start of the appointment window in ISO 8601 format. // Required: true // Format: date-time StartTime *strfmt.DateTime `json:"startTime"` }
AppointmentTime The time of the appointment window.
swagger:model AppointmentTime
func (*AppointmentTime) ContextValidate ¶
ContextValidate validates this appointment time based on context it is used
func (*AppointmentTime) MarshalBinary ¶
func (m *AppointmentTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppointmentTime) UnmarshalBinary ¶
func (m *AppointmentTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppointmentTimeInput ¶
type AppointmentTimeInput struct { // The duration of an appointment in minutes. DurationInMinutes int64 `json:"durationInMinutes,omitempty"` // The date, time in UTC for the start time of an appointment in ISO 8601 format. // Required: true // Format: date-time StartTime *strfmt.DateTime `json:"startTime"` }
AppointmentTimeInput The input appointment time details.
swagger:model AppointmentTimeInput
func (*AppointmentTimeInput) ContextValidate ¶
ContextValidate validates this appointment time input based on context it is used
func (*AppointmentTimeInput) MarshalBinary ¶
func (m *AppointmentTimeInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppointmentTimeInput) UnmarshalBinary ¶
func (m *AppointmentTimeInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignAppointmentResourcesRequest ¶
type AssignAppointmentResourcesRequest struct { // List of resource objects to be assigned. // Required: true Resources AppointmentResources `json:"resources"` }
AssignAppointmentResourcesRequest Request schema for the `assignAppointmentResources` operation.
swagger:model AssignAppointmentResourcesRequest
func (*AssignAppointmentResourcesRequest) ContextValidate ¶
func (m *AssignAppointmentResourcesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this assign appointment resources request based on the context it is used
func (*AssignAppointmentResourcesRequest) MarshalBinary ¶
func (m *AssignAppointmentResourcesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignAppointmentResourcesRequest) UnmarshalBinary ¶
func (m *AssignAppointmentResourcesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignAppointmentResourcesResponse ¶
type AssignAppointmentResourcesResponse struct { // Errors occurred during during the `assignAppointmentResources` operation. Errors ErrorList `json:"errors,omitempty"` // payload Payload *AssignAppointmentResourcesResponsePayload `json:"payload,omitempty"` }
AssignAppointmentResourcesResponse Response schema for the `assignAppointmentResources` operation.
swagger:model AssignAppointmentResourcesResponse
func (*AssignAppointmentResourcesResponse) ContextValidate ¶
func (m *AssignAppointmentResourcesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this assign appointment resources response based on the context it is used
func (*AssignAppointmentResourcesResponse) MarshalBinary ¶
func (m *AssignAppointmentResourcesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignAppointmentResourcesResponse) UnmarshalBinary ¶
func (m *AssignAppointmentResourcesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignAppointmentResourcesResponsePayload ¶
type AssignAppointmentResourcesResponsePayload struct { // Warnings generated during the `assignAppointmentResources` operation. Warnings WarningList `json:"warnings,omitempty"` }
AssignAppointmentResourcesResponsePayload The payload for the `assignAppointmentResource` operation.
swagger:model AssignAppointmentResourcesResponsePayload
func (*AssignAppointmentResourcesResponsePayload) ContextValidate ¶
func (m *AssignAppointmentResourcesResponsePayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this assign appointment resources response payload based on the context it is used
func (*AssignAppointmentResourcesResponsePayload) MarshalBinary ¶
func (m *AssignAppointmentResourcesResponsePayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignAppointmentResourcesResponsePayload) UnmarshalBinary ¶
func (m *AssignAppointmentResourcesResponsePayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssociatedItem ¶
type AssociatedItem struct { // The Amazon Standard Identification Number (ASIN) of the item. Asin string `json:"asin,omitempty"` // The brand name of the item. BrandName string `json:"brandName,omitempty"` // Delivery information for the item. ItemDelivery *ItemDelivery `json:"itemDelivery,omitempty"` // The status of the item. // Enum: [ACTIVE CANCELLED SHIPPED DELIVERED] ItemStatus string `json:"itemStatus,omitempty"` // The Amazon-defined identifier for an order placed by the buyer in 3-7-7 format. OrderID OrderID `json:"orderId,omitempty"` // The total number of items included in the order. Quantity int64 `json:"quantity,omitempty"` // The title of the item. Title string `json:"title,omitempty"` }
AssociatedItem Information about an item associated with the service job.
swagger:model AssociatedItem
func (*AssociatedItem) ContextValidate ¶
ContextValidate validate this associated item based on the context it is used
func (*AssociatedItem) MarshalBinary ¶
func (m *AssociatedItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssociatedItem) UnmarshalBinary ¶
func (m *AssociatedItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AvailabilityRecord ¶
type AvailabilityRecord struct { // Signifies the capacity of a resource which is available. // Minimum: 1 Capacity int64 `json:"capacity,omitempty"` // Denotes the time till when the resource is available in a day in ISO-8601 format. // Required: true // Format: date-time EndTime *strfmt.DateTime `json:"endTime"` // Recurrence object containing the recurrence pattern of schedule. Recurrence *Recurrence `json:"recurrence,omitempty"` // Denotes the time from when the resource is available in a day in ISO-8601 format. // Required: true // Format: date-time StartTime *strfmt.DateTime `json:"startTime"` }
AvailabilityRecord `AvailabilityRecord` to represent the capacity of a resource over a time range.
swagger:model AvailabilityRecord
func (*AvailabilityRecord) ContextValidate ¶
ContextValidate validate this availability record based on the context it is used
func (*AvailabilityRecord) MarshalBinary ¶
func (m *AvailabilityRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AvailabilityRecord) UnmarshalBinary ¶
func (m *AvailabilityRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AvailabilityRecords ¶
type AvailabilityRecords []*AvailabilityRecord
AvailabilityRecords List of `AvailabilityRecord`s to represent the capacity of a resource over a time range.
swagger:model AvailabilityRecords
func (AvailabilityRecords) ContextValidate ¶
ContextValidate validate this availability records based on the context it is used
type Buyer ¶
type Buyer struct { // The identifier of the buyer. // Pattern: ^[A-Z0-9]*$ BuyerID string `json:"buyerId,omitempty"` // When true, the service is for an Amazon Prime buyer. IsPrimeMember bool `json:"isPrimeMember,omitempty"` // The name of the buyer. Name string `json:"name,omitempty"` // The phone number of the buyer. Phone string `json:"phone,omitempty"` }
Buyer Information about the buyer.
swagger:model Buyer
func (*Buyer) ContextValidate ¶
ContextValidate validates this buyer based on context it is used
func (*Buyer) MarshalBinary ¶
MarshalBinary interface implementation
func (*Buyer) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CancelReservationResponse ¶
type CancelReservationResponse struct { // Errors encountered, if any Errors ErrorList `json:"errors,omitempty"` }
CancelReservationResponse Response schema for the `cancelReservation` operation.
swagger:model CancelReservationResponse
func (*CancelReservationResponse) ContextValidate ¶
func (m *CancelReservationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cancel reservation response based on the context it is used
func (*CancelReservationResponse) MarshalBinary ¶
func (m *CancelReservationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CancelReservationResponse) UnmarshalBinary ¶
func (m *CancelReservationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CancelServiceJobByServiceJobIDResponse ¶
type CancelServiceJobByServiceJobIDResponse struct { // Encountered errors for the `cancelServiceJobByServiceJobId` operation. Errors ErrorList `json:"errors,omitempty"` }
CancelServiceJobByServiceJobIDResponse Response schema for the `cancelServiceJobByServiceJobId` operation.
swagger:model CancelServiceJobByServiceJobIdResponse
func (*CancelServiceJobByServiceJobIDResponse) ContextValidate ¶
func (m *CancelServiceJobByServiceJobIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cancel service job by service job Id response based on the context it is used
func (*CancelServiceJobByServiceJobIDResponse) MarshalBinary ¶
func (m *CancelServiceJobByServiceJobIDResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CancelServiceJobByServiceJobIDResponse) UnmarshalBinary ¶
func (m *CancelServiceJobByServiceJobIDResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CapacityType ¶
type CapacityType string
CapacityType Type of capacity
swagger:model CapacityType
const ( // CapacityTypeSCHEDULEDCAPACITY captures enum value "SCHEDULED_CAPACITY" CapacityTypeSCHEDULEDCAPACITY CapacityType = "SCHEDULED_CAPACITY" // CapacityTypeAVAILABLECAPACITY captures enum value "AVAILABLE_CAPACITY" CapacityTypeAVAILABLECAPACITY CapacityType = "AVAILABLE_CAPACITY" // CapacityTypeENCUMBEREDCAPACITY captures enum value "ENCUMBERED_CAPACITY" CapacityTypeENCUMBEREDCAPACITY CapacityType = "ENCUMBERED_CAPACITY" // CapacityTypeRESERVEDCAPACITY captures enum value "RESERVED_CAPACITY" CapacityTypeRESERVEDCAPACITY CapacityType = "RESERVED_CAPACITY" )
func NewCapacityType ¶
func NewCapacityType(value CapacityType) *CapacityType
func (CapacityType) ContextValidate ¶
ContextValidate validates this capacity type based on context it is used
func (CapacityType) Pointer ¶
func (m CapacityType) Pointer() *CapacityType
Pointer returns a pointer to a freshly-allocated CapacityType.
type CompleteServiceJobByServiceJobIDResponse ¶
type CompleteServiceJobByServiceJobIDResponse struct { // Encountered errors for the `completeServiceJobByServiceJobId` operation. Errors ErrorList `json:"errors,omitempty"` }
CompleteServiceJobByServiceJobIDResponse Response schema for the `completeServiceJobByServiceJobId` operation.
swagger:model CompleteServiceJobByServiceJobIdResponse
func (*CompleteServiceJobByServiceJobIDResponse) ContextValidate ¶
func (m *CompleteServiceJobByServiceJobIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this complete service job by service job Id response based on the context it is used
func (*CompleteServiceJobByServiceJobIDResponse) MarshalBinary ¶
func (m *CompleteServiceJobByServiceJobIDResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompleteServiceJobByServiceJobIDResponse) UnmarshalBinary ¶
func (m *CompleteServiceJobByServiceJobIDResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateReservationRecord ¶
type CreateReservationRecord struct { // Errors encountered, if any. Errors ErrorList `json:"errors,omitempty"` // Reservation record if the operation failed. It will only contain the new `reservationId` if the operation is successful. Reservation *Reservation `json:"reservation,omitempty"` // Warnings encountered, if any. Warnings WarningList `json:"warnings,omitempty"` }
CreateReservationRecord `CreateReservationRecord` entity contains the `Reservation` if there is an error/warning while performing the requested operation on it, otherwise it will contain the new `reservationId`.
swagger:model CreateReservationRecord
func (*CreateReservationRecord) ContextValidate ¶
func (m *CreateReservationRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create reservation record based on the context it is used
func (*CreateReservationRecord) MarshalBinary ¶
func (m *CreateReservationRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateReservationRecord) UnmarshalBinary ¶
func (m *CreateReservationRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateReservationRequest ¶
type CreateReservationRequest struct { // `Reservation` object to reduce the capacity of a resource. // Required: true Reservation *Reservation `json:"reservation"` // Resource (store) identifier. // Required: true ResourceID *string `json:"resourceId"` }
CreateReservationRequest Request schema for the `createReservation` operation.
swagger:model CreateReservationRequest
func (*CreateReservationRequest) ContextValidate ¶
func (m *CreateReservationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create reservation request based on the context it is used
func (*CreateReservationRequest) MarshalBinary ¶
func (m *CreateReservationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateReservationRequest) UnmarshalBinary ¶
func (m *CreateReservationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateReservationResponse ¶
type CreateReservationResponse struct { // Errors encountered, if any. Errors ErrorList `json:"errors,omitempty"` // `CreateReservationRecord` contains only the new `reservationId` if the operation was successful. Otherwise it will contain the reservation entity with warnings/errors. Payload *CreateReservationRecord `json:"payload,omitempty"` }
CreateReservationResponse Response schema for the `createReservation` operation.
swagger:model CreateReservationResponse
func (*CreateReservationResponse) ContextValidate ¶
func (m *CreateReservationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create reservation response based on the context it is used
func (*CreateReservationResponse) MarshalBinary ¶
func (m *CreateReservationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateReservationResponse) UnmarshalBinary ¶
func (m *CreateReservationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateServiceDocumentUploadDestination ¶
type CreateServiceDocumentUploadDestination struct { // errors Errors ErrorList `json:"errors,omitempty"` // payload Payload *ServiceDocumentUploadDestination `json:"payload,omitempty"` }
CreateServiceDocumentUploadDestination The response schema for the `createServiceDocumentUploadDestination` operation.
swagger:model CreateServiceDocumentUploadDestination
func (*CreateServiceDocumentUploadDestination) ContextValidate ¶
func (m *CreateServiceDocumentUploadDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create service document upload destination based on the context it is used
func (*CreateServiceDocumentUploadDestination) MarshalBinary ¶
func (m *CreateServiceDocumentUploadDestination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateServiceDocumentUploadDestination) UnmarshalBinary ¶
func (m *CreateServiceDocumentUploadDestination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DayOfWeek ¶
type DayOfWeek string
DayOfWeek The day of the week.
swagger:model DayOfWeek
const ( // DayOfWeekMONDAY captures enum value "MONDAY" DayOfWeekMONDAY DayOfWeek = "MONDAY" // DayOfWeekTUESDAY captures enum value "TUESDAY" DayOfWeekTUESDAY DayOfWeek = "TUESDAY" // DayOfWeekWEDNESDAY captures enum value "WEDNESDAY" DayOfWeekWEDNESDAY DayOfWeek = "WEDNESDAY" // DayOfWeekTHURSDAY captures enum value "THURSDAY" DayOfWeekTHURSDAY DayOfWeek = "THURSDAY" // DayOfWeekFRIDAY captures enum value "FRIDAY" DayOfWeekFRIDAY DayOfWeek = "FRIDAY" // DayOfWeekSATURDAY captures enum value "SATURDAY" DayOfWeekSATURDAY DayOfWeek = "SATURDAY" // DayOfWeekSUNDAY captures enum value "SUNDAY" DayOfWeekSUNDAY DayOfWeek = "SUNDAY" )
func NewDayOfWeek ¶
func (DayOfWeek) ContextValidate ¶
ContextValidate validates this day of week based on context it is used
type EncryptionDetails ¶
type EncryptionDetails struct { // The vector to encrypt or decrypt the document contents using Cipher Block Chaining (CBC). // Required: true InitializationVector *string `json:"initializationVector"` // The encryption key used to encrypt or decrypt the document contents. // Required: true Key *string `json:"key"` // The encryption standard required to encrypt or decrypt the document contents. // Required: true // Enum: [AES] Standard *string `json:"standard"` }
EncryptionDetails Encryption details for required client-side encryption and decryption of document contents.
swagger:model EncryptionDetails
func (*EncryptionDetails) ContextValidate ¶
ContextValidate validates this encryption details based on context it is used
func (*EncryptionDetails) MarshalBinary ¶
func (m *EncryptionDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionDetails) UnmarshalBinary ¶
func (m *EncryptionDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // An error code that identifies the type of error that occurred. // Required: true Code *string `json:"code"` // Additional details that can help the caller understand or fix the issue. Details string `json:"details,omitempty"` // The type of error. // Enum: [ERROR WARNING] ErrorLevel string `json:"errorLevel,omitempty"` // A message that describes the error condition in a human-readable form. // Required: true Message *string `json:"message"` }
Error Error response returned when the request is unsuccessful.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList []*Error
ErrorList A list of error responses returned when a request is unsuccessful.
swagger:model ErrorList
func (ErrorList) ContextValidate ¶
ContextValidate validate this error list based on the context it is used
type FixedSlot ¶
type FixedSlot struct { // Available capacity corresponding to the slot. This capacity represents the capacity available for allocation to reservations. AvailableCapacity int32 `json:"availableCapacity,omitempty"` // Encumbered capacity corresponding to the slot. This capacity represents the capacity allocated for Amazon Jobs/Appointments/Orders. EncumberedCapacity int32 `json:"encumberedCapacity,omitempty"` // Reserved capacity corresponding to the slot. This capacity represents the capacity made unavailable due to events like Breaks/Leaves/Lunch. ReservedCapacity int32 `json:"reservedCapacity,omitempty"` // Scheduled capacity corresponding to the slot. This capacity represents the originally allocated capacity as per resource schedule. ScheduledCapacity int32 `json:"scheduledCapacity,omitempty"` // Start date time of slot in ISO 8601 format with precision of seconds. // Format: date-time StartDateTime strfmt.DateTime `json:"startDateTime,omitempty"` }
FixedSlot In this slot format each slot only has the requested capacity types. This slot size is as specified by slot duration.
swagger:model FixedSlot
func (*FixedSlot) ContextValidate ¶
ContextValidate validates this fixed slot based on context it is used
func (*FixedSlot) MarshalBinary ¶
MarshalBinary interface implementation
func (*FixedSlot) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FixedSlotCapacity ¶
type FixedSlotCapacity struct { // Array of capacity slots in fixed slot format. Capacities []*FixedSlot `json:"capacities"` // Next page token, if there are more pages. NextPageToken string `json:"nextPageToken,omitempty"` // Resource Identifier. ResourceID string `json:"resourceId,omitempty"` // The duration of each slot which is returned. This value will be a multiple of 5 and fall in the following range: 5 <= `slotDuration` <= 360. // Multiple Of: 5 SlotDuration int32 `json:"slotDuration,omitempty"` }
FixedSlotCapacity Response schema for the `getFixedSlotCapacity` operation.
swagger:model FixedSlotCapacity
func (*FixedSlotCapacity) ContextValidate ¶
ContextValidate validate this fixed slot capacity based on the context it is used
func (*FixedSlotCapacity) MarshalBinary ¶
func (m *FixedSlotCapacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FixedSlotCapacity) UnmarshalBinary ¶
func (m *FixedSlotCapacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FixedSlotCapacityErrors ¶
type FixedSlotCapacityErrors struct { // Errors encountered during the `getFixedSlotCapacity` operation. Errors ErrorList `json:"errors,omitempty"` }
FixedSlotCapacityErrors The error response schema for the `getFixedSlotCapacity` operation.
swagger:model FixedSlotCapacityErrors
func (*FixedSlotCapacityErrors) ContextValidate ¶
func (m *FixedSlotCapacityErrors) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this fixed slot capacity errors based on the context it is used
func (*FixedSlotCapacityErrors) MarshalBinary ¶
func (m *FixedSlotCapacityErrors) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FixedSlotCapacityErrors) UnmarshalBinary ¶
func (m *FixedSlotCapacityErrors) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FixedSlotCapacityQuery ¶
type FixedSlotCapacityQuery struct { // An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`. CapacityTypes []CapacityType `json:"capacityTypes"` // End date time up to which the capacity slots are being requested in ISO 8601 format. // Required: true // Format: date-time EndDateTime *strfmt.DateTime `json:"endDateTime"` // Size in which slots are being requested. This value should be a multiple of 5 and fall in the range: 5 <= `slotDuration` <= 360. // Multiple Of: 5 SlotDuration int32 `json:"slotDuration,omitempty"` // Start date time from which the capacity slots are being requested in ISO 8601 format. // Required: true // Format: date-time StartDateTime *strfmt.DateTime `json:"startDateTime"` }
FixedSlotCapacityQuery Request schema for the `getFixedSlotCapacity` operation. This schema is used to define the time range, capacity types and slot duration which are being queried.
swagger:model FixedSlotCapacityQuery
func (*FixedSlotCapacityQuery) ContextValidate ¶
func (m *FixedSlotCapacityQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this fixed slot capacity query based on the context it is used
func (*FixedSlotCapacityQuery) MarshalBinary ¶
func (m *FixedSlotCapacityQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FixedSlotCapacityQuery) UnmarshalBinary ¶
func (m *FixedSlotCapacityQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentDocument ¶
type FulfillmentDocument struct { // Sha256 hash of the file content. This value is used to determine if the file has been corrupted or tampered with during transit. ContentSha256 string `json:"contentSha256,omitempty"` // The identifier of the upload destination. Get this value by calling the `createServiceDocumentUploadDestination` operation of the Services API. UploadDestinationID string `json:"uploadDestinationId,omitempty"` }
FulfillmentDocument Document that captured during service appointment fulfillment that portrays proof of completion
swagger:model FulfillmentDocument
func (*FulfillmentDocument) ContextValidate ¶
ContextValidate validates this fulfillment document based on context it is used
func (*FulfillmentDocument) MarshalBinary ¶
func (m *FulfillmentDocument) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentDocument) UnmarshalBinary ¶
func (m *FulfillmentDocument) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentDocuments ¶
type FulfillmentDocuments []*FulfillmentDocument
FulfillmentDocuments List of documents captured during service appointment fulfillment.
swagger:model FulfillmentDocuments
func (FulfillmentDocuments) ContextValidate ¶
ContextValidate validate this fulfillment documents based on the context it is used
type FulfillmentTime ¶
type FulfillmentTime struct { // The date, time in UTC of the fulfillment end time in ISO 8601 format. // Format: date-time EndTime strfmt.DateTime `json:"endTime,omitempty"` // The date, time in UTC of the fulfillment start time in ISO 8601 format. // Format: date-time StartTime strfmt.DateTime `json:"startTime,omitempty"` }
FulfillmentTime Input for fulfillment time details
swagger:model FulfillmentTime
func (*FulfillmentTime) ContextValidate ¶
ContextValidate validates this fulfillment time based on context it is used
func (*FulfillmentTime) MarshalBinary ¶
func (m *FulfillmentTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentTime) UnmarshalBinary ¶
func (m *FulfillmentTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAppointmentSlotsResponse ¶
type GetAppointmentSlotsResponse struct { // Errors occurred in getting schedule. Errors ErrorList `json:"errors,omitempty"` // The appointment slots fetched based on service context. Payload *AppointmentSlotReport `json:"payload,omitempty"` }
GetAppointmentSlotsResponse The response of fetching appointment slots based on service context.
swagger:model GetAppointmentSlotsResponse
func (*GetAppointmentSlotsResponse) ContextValidate ¶
func (m *GetAppointmentSlotsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get appointment slots response based on the context it is used
func (*GetAppointmentSlotsResponse) MarshalBinary ¶
func (m *GetAppointmentSlotsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAppointmentSlotsResponse) UnmarshalBinary ¶
func (m *GetAppointmentSlotsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceJobByServiceJobIDResponse ¶
type GetServiceJobByServiceJobIDResponse struct { // An unexpected condition occurred during the `getServiceJobByServiceJobId` operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `getServiceJobByServiceJobId` operation. Payload *ServiceJob `json:"payload,omitempty"` }
GetServiceJobByServiceJobIDResponse The response schema for the `getServiceJobByServiceJobId` operation.
swagger:model GetServiceJobByServiceJobIdResponse
func (*GetServiceJobByServiceJobIDResponse) ContextValidate ¶
func (m *GetServiceJobByServiceJobIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get service job by service job Id response based on the context it is used
func (*GetServiceJobByServiceJobIDResponse) MarshalBinary ¶
func (m *GetServiceJobByServiceJobIDResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceJobByServiceJobIDResponse) UnmarshalBinary ¶
func (m *GetServiceJobByServiceJobIDResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceJobsResponse ¶
type GetServiceJobsResponse struct { // An unexpected condition occurred during the `getServiceJobs` operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `getServiceJobs` operation. Payload *JobListing `json:"payload,omitempty"` }
GetServiceJobsResponse Response schema for the `getServiceJobs` operation.
swagger:model GetServiceJobsResponse
func (*GetServiceJobsResponse) ContextValidate ¶
func (m *GetServiceJobsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get service jobs response based on the context it is used
func (*GetServiceJobsResponse) MarshalBinary ¶
func (m *GetServiceJobsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceJobsResponse) UnmarshalBinary ¶
func (m *GetServiceJobsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemDelivery ¶
type ItemDelivery struct { // The date and time of the latest Estimated Delivery Date (EDD) of all the items with an EDD. In ISO 8601 format. // Format: date-time EstimatedDeliveryDate strfmt.DateTime `json:"estimatedDeliveryDate,omitempty"` // Promised delivery information for the item. ItemDeliveryPromise *ItemDeliveryPromise `json:"itemDeliveryPromise,omitempty"` }
ItemDelivery Delivery information for the item.
swagger:model ItemDelivery
func (*ItemDelivery) ContextValidate ¶
ContextValidate validate this item delivery based on the context it is used
func (*ItemDelivery) MarshalBinary ¶
func (m *ItemDelivery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemDelivery) UnmarshalBinary ¶
func (m *ItemDelivery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemDeliveryPromise ¶
type ItemDeliveryPromise struct { // The date and time of the end of the promised delivery window in ISO 8601 format. // Format: date-time EndTime strfmt.DateTime `json:"endTime,omitempty"` // The date and time of the start of the promised delivery window in ISO 8601 format. // Format: date-time StartTime strfmt.DateTime `json:"startTime,omitempty"` }
ItemDeliveryPromise Promised delivery information for the item.
swagger:model ItemDeliveryPromise
func (*ItemDeliveryPromise) ContextValidate ¶
ContextValidate validates this item delivery promise based on context it is used
func (*ItemDeliveryPromise) MarshalBinary ¶
func (m *ItemDeliveryPromise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemDeliveryPromise) UnmarshalBinary ¶
func (m *ItemDeliveryPromise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobListing ¶
type JobListing struct { // List of job details for the given input. Jobs []*ServiceJob `json:"jobs"` // A generated string used to pass information to your next request. If `nextPageToken` is returned, pass the value of `nextPageToken` to the `pageToken` to get next results. NextPageToken string `json:"nextPageToken,omitempty"` // A generated string used to pass information to your next request. If `previousPageToken` is returned, pass the value of `previousPageToken` to the `pageToken` to get previous page results. PreviousPageToken string `json:"previousPageToken,omitempty"` // Total result size of the query result. TotalResultSize int64 `json:"totalResultSize,omitempty"` }
JobListing The payload for the `getServiceJobs` operation.
swagger:model JobListing
func (*JobListing) ContextValidate ¶
ContextValidate validate this job listing based on the context it is used
func (*JobListing) MarshalBinary ¶
func (m *JobListing) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobListing) UnmarshalBinary ¶
func (m *JobListing) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderID ¶
type OrderID string
OrderID The Amazon-defined identifier for an order placed by the buyer, in 3-7-7 format.
swagger:model OrderId
func (OrderID) ContextValidate ¶
ContextValidate validates this order Id based on context it is used
type Poa ¶
type Poa struct { // The time of the appointment window. AppointmentTime *AppointmentTime `json:"appointmentTime,omitempty"` // The type of POA uploaded. // Enum: [NO_SIGNATURE_DUMMY_POS CUSTOMER_SIGNATURE DUMMY_RECEIPT POA_RECEIPT] PoaType string `json:"poaType,omitempty"` // A list of technicians. // Min Items: 1 Technicians []*Technician `json:"technicians"` // The date and time when the POA was uploaded in ISO 8601 format. // Format: date-time UploadTime strfmt.DateTime `json:"uploadTime,omitempty"` // The identifier of the technician who uploaded the POA. // Pattern: ^[A-Z0-9]*$ UploadingTechnician string `json:"uploadingTechnician,omitempty"` }
Poa Proof of Appointment (POA) details.
swagger:model Poa
func (*Poa) ContextValidate ¶
ContextValidate validate this poa based on the context it is used
func (*Poa) MarshalBinary ¶
MarshalBinary interface implementation
func (*Poa) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RangeCapacity ¶
type RangeCapacity struct { // Capacity type corresponding to the slots. CapacityType CapacityType `json:"capacityType,omitempty"` // Array of capacity slots in range slot format. Slots []*RangeSlot `json:"slots"` }
RangeCapacity Range capacity entity where each entry has a capacity type and corresponding slots.
swagger:model RangeCapacity
func (*RangeCapacity) ContextValidate ¶
ContextValidate validate this range capacity based on the context it is used
func (*RangeCapacity) MarshalBinary ¶
func (m *RangeCapacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RangeCapacity) UnmarshalBinary ¶
func (m *RangeCapacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RangeSlot ¶
type RangeSlot struct { // Capacity of the slot. Capacity int32 `json:"capacity,omitempty"` // End date time of slot in ISO 8601 format with precision of seconds. // Format: date-time EndDateTime strfmt.DateTime `json:"endDateTime,omitempty"` // Start date time of slot in ISO 8601 format with precision of seconds. // Format: date-time StartDateTime strfmt.DateTime `json:"startDateTime,omitempty"` }
RangeSlot Capacity slots represented in a format similar to availability rules.
swagger:model RangeSlot
func (*RangeSlot) ContextValidate ¶
ContextValidate validates this range slot based on context it is used
func (*RangeSlot) MarshalBinary ¶
MarshalBinary interface implementation
func (*RangeSlot) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RangeSlotCapacity ¶
type RangeSlotCapacity struct { // Array of range capacities where each entry is for a specific capacity type. Capacities []*RangeCapacity `json:"capacities"` // Next page token, if there are more pages. NextPageToken string `json:"nextPageToken,omitempty"` // Resource Identifier. ResourceID string `json:"resourceId,omitempty"` }
RangeSlotCapacity Response schema for the `getRangeSlotCapacity` operation.
swagger:model RangeSlotCapacity
func (*RangeSlotCapacity) ContextValidate ¶
ContextValidate validate this range slot capacity based on the context it is used
func (*RangeSlotCapacity) MarshalBinary ¶
func (m *RangeSlotCapacity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RangeSlotCapacity) UnmarshalBinary ¶
func (m *RangeSlotCapacity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RangeSlotCapacityErrors ¶
type RangeSlotCapacityErrors struct { // Errors encountered during the `getRangeSlotCapacity` operation. Errors ErrorList `json:"errors,omitempty"` }
RangeSlotCapacityErrors The error response schema for the `getRangeSlotCapacity` operation.
swagger:model RangeSlotCapacityErrors
func (*RangeSlotCapacityErrors) ContextValidate ¶
func (m *RangeSlotCapacityErrors) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this range slot capacity errors based on the context it is used
func (*RangeSlotCapacityErrors) MarshalBinary ¶
func (m *RangeSlotCapacityErrors) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RangeSlotCapacityErrors) UnmarshalBinary ¶
func (m *RangeSlotCapacityErrors) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RangeSlotCapacityQuery ¶
type RangeSlotCapacityQuery struct { // An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`. CapacityTypes []CapacityType `json:"capacityTypes"` // End date time up to which the capacity slots are being requested in ISO 8601 format. // Required: true // Format: date-time EndDateTime *strfmt.DateTime `json:"endDateTime"` // Start date time from which the capacity slots are being requested in ISO 8601 format. // Required: true // Format: date-time StartDateTime *strfmt.DateTime `json:"startDateTime"` }
RangeSlotCapacityQuery Request schema for the `getRangeSlotCapacity` operation. This schema is used to define the time range and capacity types that are being queried.
swagger:model RangeSlotCapacityQuery
func (*RangeSlotCapacityQuery) ContextValidate ¶
func (m *RangeSlotCapacityQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this range slot capacity query based on the context it is used
func (*RangeSlotCapacityQuery) MarshalBinary ¶
func (m *RangeSlotCapacityQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RangeSlotCapacityQuery) UnmarshalBinary ¶
func (m *RangeSlotCapacityQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Recurrence ¶
type Recurrence struct { // Days of the month when recurrence is valid. DaysOfMonth []int64 `json:"daysOfMonth"` // Days of the week when recurrence is valid. If the schedule is valid every Monday, input will only contain `MONDAY` in the list. DaysOfWeek []DayOfWeek `json:"daysOfWeek"` // End time of the recurrence. // Required: true // Format: date-time EndTime *strfmt.DateTime `json:"endTime"` }
Recurrence Repeated occurrence of an event in a time range.
swagger:model Recurrence
func (*Recurrence) ContextValidate ¶
ContextValidate validate this recurrence based on the context it is used
func (*Recurrence) MarshalBinary ¶
func (m *Recurrence) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Recurrence) UnmarshalBinary ¶
func (m *Recurrence) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RescheduleAppointmentRequest ¶
type RescheduleAppointmentRequest struct { // Input appointment time details. // Required: true AppointmentTime *AppointmentTimeInput `json:"appointmentTime"` // Input appointment reschedule reason. // Required: true RescheduleReasonCode *RescheduleReasonCode `json:"rescheduleReasonCode"` }
RescheduleAppointmentRequest Input for rescheduled appointment operation.
swagger:model RescheduleAppointmentRequest
func (*RescheduleAppointmentRequest) ContextValidate ¶
func (m *RescheduleAppointmentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this reschedule appointment request based on the context it is used
func (*RescheduleAppointmentRequest) MarshalBinary ¶
func (m *RescheduleAppointmentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RescheduleAppointmentRequest) UnmarshalBinary ¶
func (m *RescheduleAppointmentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RescheduleReasonCode ¶
type RescheduleReasonCode string
RescheduleReasonCode The appointment reschedule reason code.
swagger:model RescheduleReasonCode
func (RescheduleReasonCode) ContextValidate ¶
ContextValidate validates this reschedule reason code based on context it is used
type Reservation ¶
type Reservation struct { // `AvailabilityRecord` to represent the capacity of a resource over a time range. // Required: true Availability *AvailabilityRecord `json:"availability"` // Unique identifier for a reservation. If present, it is treated as an update reservation request and will update the corresponding reservation. Otherwise, it is treated as a new create reservation request. ReservationID string `json:"reservationId,omitempty"` // Type of reservation. // Required: true // Enum: [APPOINTMENT TRAVEL VACATION BREAK TRAINING] Type *string `json:"type"` }
Reservation Reservation object reduces the capacity of a resource.
swagger:model Reservation
func (*Reservation) ContextValidate ¶
ContextValidate validate this reservation based on the context it is used
func (*Reservation) MarshalBinary ¶
func (m *Reservation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Reservation) UnmarshalBinary ¶
func (m *Reservation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScopeOfWork ¶
type ScopeOfWork struct { // The Amazon Standard Identification Number (ASIN) of the service job. Asin string `json:"asin,omitempty"` // The number of service jobs. Quantity int64 `json:"quantity,omitempty"` // A list of skills required to perform the job. RequiredSkills []string `json:"requiredSkills"` // The title of the service job. Title string `json:"title,omitempty"` }
ScopeOfWork The scope of work for the order.
swagger:model ScopeOfWork
func (*ScopeOfWork) ContextValidate ¶
ContextValidate validates this scope of work based on context it is used
func (*ScopeOfWork) MarshalBinary ¶
func (m *ScopeOfWork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScopeOfWork) UnmarshalBinary ¶
func (m *ScopeOfWork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Seller ¶
type Seller struct { // The identifier of the seller of the service job. // Pattern: ^[A-Z0-9]*$ SellerID string `json:"sellerId,omitempty"` }
Seller Information about the seller of the service job.
swagger:model Seller
func (*Seller) ContextValidate ¶
ContextValidate validates this seller based on context it is used
func (*Seller) MarshalBinary ¶
MarshalBinary interface implementation
func (*Seller) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServiceDocumentUploadDestination ¶
type ServiceDocumentUploadDestination struct { // encryption details // Required: true EncryptionDetails *EncryptionDetails `json:"encryptionDetails"` // The headers to include in the upload request. Headers interface{} `json:"headers,omitempty"` // The unique identifier to be used by APIs that reference the upload destination. // Required: true UploadDestinationID *string `json:"uploadDestinationId"` // The URL to which to upload the file. // Required: true URL *string `json:"url"` }
ServiceDocumentUploadDestination Information about an upload destination.
swagger:model ServiceDocumentUploadDestination
func (*ServiceDocumentUploadDestination) ContextValidate ¶
func (m *ServiceDocumentUploadDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this service document upload destination based on the context it is used
func (*ServiceDocumentUploadDestination) MarshalBinary ¶
func (m *ServiceDocumentUploadDestination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDocumentUploadDestination) UnmarshalBinary ¶
func (m *ServiceDocumentUploadDestination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceJob ¶
type ServiceJob struct { // A list of appointments. Appointments []*Appointment `json:"appointments"` // A list of items associated with the service job. AssociatedItems []*AssociatedItem `json:"associatedItems"` // Information about the buyer. Buyer *Buyer `json:"buyer,omitempty"` // The date and time of the creation of the job in ISO 8601 format. // Format: date-time CreateTime strfmt.DateTime `json:"createTime,omitempty"` // The marketplace identifier. // Pattern: ^[A-Z0-9]*$ MarketplaceID string `json:"marketplaceId,omitempty"` // A list of appointment windows preferred by the buyer. Included only if the buyer selected appointment windows when creating the order. PreferredAppointmentTimes []*AppointmentTime `json:"preferredAppointmentTimes"` // The scope of work for the order. ScopeOfWork *ScopeOfWork `json:"scopeOfWork,omitempty"` // Information about the seller of the service job. Seller *Seller `json:"seller,omitempty"` // The service job identifier. ServiceJobID ServiceJobID `json:"serviceJobId,omitempty"` // Information about the service job provider. ServiceJobProvider *ServiceJobProvider `json:"serviceJobProvider,omitempty"` // The status of the service job. // Enum: [NOT_SERVICED CANCELLED COMPLETED PENDING_SCHEDULE NOT_FULFILLABLE HOLD PAYMENT_DECLINED] ServiceJobStatus string `json:"serviceJobStatus,omitempty"` // Information about the location of the service job. ServiceLocation *ServiceLocation `json:"serviceLocation,omitempty"` // The Amazon-defined identifier for an order placed by the buyer in 3-7-7 format. ServiceOrderID OrderID `json:"serviceOrderId,omitempty"` // The Amazon-defined identifier for the region scope. // Max Length: 100 // Min Length: 1 StoreID string `json:"storeId,omitempty"` }
ServiceJob The job details of a service.
swagger:model ServiceJob
func (*ServiceJob) ContextValidate ¶
ContextValidate validate this service job based on the context it is used
func (*ServiceJob) MarshalBinary ¶
func (m *ServiceJob) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceJob) UnmarshalBinary ¶
func (m *ServiceJob) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceJobID ¶
type ServiceJobID string
ServiceJobID Amazon identifier for the service job.
swagger:model ServiceJobId
func (ServiceJobID) ContextValidate ¶
ContextValidate validates this service job Id based on context it is used
type ServiceJobProvider ¶
type ServiceJobProvider struct { // The identifier of the service job provider. // Pattern: ^[A-Z0-9]*$ ServiceJobProviderID string `json:"serviceJobProviderId,omitempty"` }
ServiceJobProvider Information about the service job provider.
swagger:model ServiceJobProvider
func (*ServiceJobProvider) ContextValidate ¶
ContextValidate validates this service job provider based on context it is used
func (*ServiceJobProvider) MarshalBinary ¶
func (m *ServiceJobProvider) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceJobProvider) UnmarshalBinary ¶
func (m *ServiceJobProvider) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceLocation ¶
type ServiceLocation struct { // The shipping address for the service job. Address *Address `json:"address,omitempty"` // The location of the service job. // Enum: [IN_HOME IN_STORE ONLINE] ServiceLocationType string `json:"serviceLocationType,omitempty"` }
ServiceLocation Information about the location of the service job.
swagger:model ServiceLocation
func (*ServiceLocation) ContextValidate ¶
ContextValidate validate this service location based on the context it is used
func (*ServiceLocation) MarshalBinary ¶
func (m *ServiceLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceLocation) UnmarshalBinary ¶
func (m *ServiceLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceUploadDocument ¶
type ServiceUploadDocument struct { // The content length of the to-be-uploaded file // Required: true // Maximum: 5.24288e+06 // Minimum: 1 ContentLength *int64 `json:"contentLength"` // An MD5 hash of the content to be submitted to the upload destination. This value is used to determine if the data has been corrupted or tampered with during transit. // Pattern: ^[A-Za-z0-9\\+/]{22}={2}$ ContentMD5 string `json:"contentMD5,omitempty"` // The content type of the to-be-uploaded file // Required: true // Enum: [TIFF JPG PNG JPEG GIF PDF] ContentType *string `json:"contentType"` }
ServiceUploadDocument Input for to be uploaded document.
swagger:model ServiceUploadDocument
func (*ServiceUploadDocument) ContextValidate ¶
ContextValidate validates this service upload document based on context it is used
func (*ServiceUploadDocument) MarshalBinary ¶
func (m *ServiceUploadDocument) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceUploadDocument) UnmarshalBinary ¶
func (m *ServiceUploadDocument) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetAppointmentFulfillmentDataRequest ¶
type SetAppointmentFulfillmentDataRequest struct { // Resources involved in appointment fulfillment. AppointmentResources AppointmentResources `json:"appointmentResources,omitempty"` // Documents specific to appointment fulfillment. FulfillmentDocuments FulfillmentDocuments `json:"fulfillmentDocuments,omitempty"` // Input appointment time details. FulfillmentTime *FulfillmentTime `json:"fulfillmentTime,omitempty"` }
SetAppointmentFulfillmentDataRequest Input for set appointment fulfillment data operation.
swagger:model SetAppointmentFulfillmentDataRequest
func (*SetAppointmentFulfillmentDataRequest) ContextValidate ¶
func (m *SetAppointmentFulfillmentDataRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this set appointment fulfillment data request based on the context it is used
func (*SetAppointmentFulfillmentDataRequest) MarshalBinary ¶
func (m *SetAppointmentFulfillmentDataRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetAppointmentFulfillmentDataRequest) UnmarshalBinary ¶
func (m *SetAppointmentFulfillmentDataRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetAppointmentResponse ¶
type SetAppointmentResponse struct { // New appointment identifier generated during the `addAppointmentForServiceJobByServiceJobId` or `rescheduleAppointmentForServiceJobByServiceJobId` operations. AppointmentID AppointmentID `json:"appointmentId,omitempty"` // Errors occurred during during the `addAppointmentForServiceJobByServiceJobId` or `rescheduleAppointmentForServiceJobByServiceJobId` operations. Errors ErrorList `json:"errors,omitempty"` // Warnings generated during the `addAppointmentForServiceJobByServiceJobId` or `rescheduleAppointmentForServiceJobByServiceJobId` operations. Warnings WarningList `json:"warnings,omitempty"` }
SetAppointmentResponse Response schema for the `addAppointmentForServiceJobByServiceJobId` and `rescheduleAppointmentForServiceJobByServiceJobId` operations.
swagger:model SetAppointmentResponse
func (*SetAppointmentResponse) ContextValidate ¶
func (m *SetAppointmentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this set appointment response based on the context it is used
func (*SetAppointmentResponse) MarshalBinary ¶
func (m *SetAppointmentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetAppointmentResponse) UnmarshalBinary ¶
func (m *SetAppointmentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Technician ¶
type Technician struct { // The name of the technician. Name string `json:"name,omitempty"` // The technician identifier. // Max Length: 50 // Min Length: 1 TechnicianID string `json:"technicianId,omitempty"` }
Technician A technician who is assigned to perform the service job in part or in full.
swagger:model Technician
func (*Technician) ContextValidate ¶
ContextValidate validates this technician based on context it is used
func (*Technician) MarshalBinary ¶
func (m *Technician) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Technician) UnmarshalBinary ¶
func (m *Technician) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateReservationRecord ¶
type UpdateReservationRecord struct { // Errors encountered, if any. Errors ErrorList `json:"errors,omitempty"` // Reservation record if the operation failed. It will only contain the new `reservationId` if the operation is successful. Reservation *Reservation `json:"reservation,omitempty"` // Warnings encountered, if any. Warnings WarningList `json:"warnings,omitempty"` }
UpdateReservationRecord `UpdateReservationRecord` entity contains the `Reservation` if there is an error/warning while performing the requested operation on it, otherwise it will contain the new `reservationId`.
swagger:model UpdateReservationRecord
func (*UpdateReservationRecord) ContextValidate ¶
func (m *UpdateReservationRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update reservation record based on the context it is used
func (*UpdateReservationRecord) MarshalBinary ¶
func (m *UpdateReservationRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateReservationRecord) UnmarshalBinary ¶
func (m *UpdateReservationRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateReservationRequest ¶
type UpdateReservationRequest struct { // `Reservation` object to reduce the capacity of a resource. // Required: true Reservation *Reservation `json:"reservation"` // Resource (store) identifier. // Required: true ResourceID *string `json:"resourceId"` }
UpdateReservationRequest Request schema for the `updateReservation` operation.
swagger:model UpdateReservationRequest
func (*UpdateReservationRequest) ContextValidate ¶
func (m *UpdateReservationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update reservation request based on the context it is used
func (*UpdateReservationRequest) MarshalBinary ¶
func (m *UpdateReservationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateReservationRequest) UnmarshalBinary ¶
func (m *UpdateReservationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateReservationResponse ¶
type UpdateReservationResponse struct { // Errors encountered, if any. Errors ErrorList `json:"errors,omitempty"` // `UpdateReservationRecord` contains only the new `reservationId` if the operation was successful. Otherwise it will contain the reservation entity with warnings/errors. Payload *UpdateReservationRecord `json:"payload,omitempty"` }
UpdateReservationResponse Response schema for the `updateReservation` operation.
swagger:model UpdateReservationResponse
func (*UpdateReservationResponse) ContextValidate ¶
func (m *UpdateReservationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update reservation response based on the context it is used
func (*UpdateReservationResponse) MarshalBinary ¶
func (m *UpdateReservationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateReservationResponse) UnmarshalBinary ¶
func (m *UpdateReservationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateScheduleRecord ¶
type UpdateScheduleRecord struct { // Availability record if the operation failed. Availability *AvailabilityRecord `json:"availability,omitempty"` // Errors encountered, if any. Errors ErrorList `json:"errors,omitempty"` // Warnings encountered, if any. Warnings WarningList `json:"warnings,omitempty"` }
UpdateScheduleRecord `UpdateScheduleRecord` entity contains the `AvailabilityRecord` if there is an error/warning while performing the requested operation on it.
swagger:model UpdateScheduleRecord
func (*UpdateScheduleRecord) ContextValidate ¶
ContextValidate validate this update schedule record based on the context it is used
func (*UpdateScheduleRecord) MarshalBinary ¶
func (m *UpdateScheduleRecord) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateScheduleRecord) UnmarshalBinary ¶
func (m *UpdateScheduleRecord) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateScheduleRequest ¶
type UpdateScheduleRequest struct { // List of schedule objects to define the normal working hours of a resource. // Required: true Schedules AvailabilityRecords `json:"schedules"` }
UpdateScheduleRequest Request schema for the `updateSchedule` operation.
swagger:model UpdateScheduleRequest
func (*UpdateScheduleRequest) ContextValidate ¶
ContextValidate validate this update schedule request based on the context it is used
func (*UpdateScheduleRequest) MarshalBinary ¶
func (m *UpdateScheduleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateScheduleRequest) UnmarshalBinary ¶
func (m *UpdateScheduleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateScheduleResponse ¶
type UpdateScheduleResponse struct { // Errors encountered, if any. Errors ErrorList `json:"errors,omitempty"` // Contains the `UpdateScheduleRecords` for which the error/warning has occurred. Payload []*UpdateScheduleRecord `json:"payload"` }
UpdateScheduleResponse Response schema for the `updateSchedule` operation.
swagger:model UpdateScheduleResponse
func (*UpdateScheduleResponse) ContextValidate ¶
func (m *UpdateScheduleResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update schedule response based on the context it is used
func (*UpdateScheduleResponse) MarshalBinary ¶
func (m *UpdateScheduleResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateScheduleResponse) UnmarshalBinary ¶
func (m *UpdateScheduleResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Warning ¶
type Warning struct { // An warning code that identifies the type of warning that occurred. // Required: true Code *string `json:"code"` // Additional details that can help the caller understand or address the warning. Details string `json:"details,omitempty"` // A message that describes the warning condition in a human-readable form. // Required: true Message *string `json:"message"` }
Warning Warning returned when the request is successful, but there are important callouts based on which API clients should take defined actions.
swagger:model Warning
func (*Warning) ContextValidate ¶
ContextValidate validates this warning based on context it is used
func (*Warning) MarshalBinary ¶
MarshalBinary interface implementation
func (*Warning) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WarningList ¶
type WarningList []*Warning
WarningList A list of warnings returned in the sucessful execution response of an API request.
swagger:model WarningList
func (WarningList) ContextValidate ¶
ContextValidate validate this warning list based on the context it is used
Source Files
¶
- add_appointment_request.go
- address.go
- appointment.go
- appointment_id.go
- appointment_resource.go
- appointment_resources.go
- appointment_slot.go
- appointment_slot_report.go
- appointment_time.go
- appointment_time_input.go
- assign_appointment_resources_request.go
- assign_appointment_resources_response.go
- associated_item.go
- availability_record.go
- availability_records.go
- buyer.go
- cancel_reservation_response.go
- cancel_service_job_by_service_job_id_response.go
- capacity_type.go
- complete_service_job_by_service_job_id_response.go
- create_reservation_record.go
- create_reservation_request.go
- create_reservation_response.go
- create_service_document_upload_destination.go
- day_of_week.go
- encryption_details.go
- error.go
- error_list.go
- fixed_slot.go
- fixed_slot_capacity.go
- fixed_slot_capacity_errors.go
- fixed_slot_capacity_query.go
- fulfillment_document.go
- fulfillment_documents.go
- fulfillment_time.go
- get_appointment_slots_response.go
- get_service_job_by_service_job_id_response.go
- get_service_jobs_response.go
- item_delivery.go
- item_delivery_promise.go
- job_listing.go
- order_id.go
- poa.go
- range_capacity.go
- range_slot.go
- range_slot_capacity.go
- range_slot_capacity_errors.go
- range_slot_capacity_query.go
- recurrence.go
- reschedule_appointment_request.go
- reschedule_reason_code.go
- reservation.go
- scope_of_work.go
- seller.go
- service_document_upload_destination.go
- service_job.go
- service_job_id.go
- service_job_provider.go
- service_location.go
- service_upload_document.go
- set_appointment_fulfillment_data_request.go
- set_appointment_response.go
- technician.go
- update_reservation_record.go
- update_reservation_request.go
- update_reservation_response.go
- update_schedule_record.go
- update_schedule_request.go
- update_schedule_response.go
- warning.go
- warning_list.go