services_models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// ErrorErrorLevelERROR captures enum value "ERROR"
	ErrorErrorLevelERROR string = "ERROR"

	// ErrorErrorLevelWARNING captures enum value "WARNING"
	ErrorErrorLevelWARNING string = "WARNING"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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

func (m *AddAppointmentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AddAppointmentRequest) Validate

func (m *AddAppointmentRequest) Validate(formats strfmt.Registry) error

Validate validates this add appointment request

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

func (m *Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this address based on context it is used

func (*Address) MarshalBinary

func (m *Address) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Address) UnmarshalBinary

func (m *Address) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Address) Validate

func (m *Address) Validate(formats strfmt.Registry) error

Validate validates this address

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

func (m *Appointment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Appointment) Validate

func (m *Appointment) Validate(formats strfmt.Registry) error

Validate validates this appointment

type AppointmentID

type AppointmentID string

AppointmentID The appointment identifier.

swagger:model AppointmentId

func (AppointmentID) ContextValidate

func (m AppointmentID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this appointment Id based on context it is used

func (AppointmentID) Validate

func (m AppointmentID) Validate(formats strfmt.Registry) error

Validate validates this appointment Id

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

func (m *AppointmentResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppointmentResource) Validate

func (m *AppointmentResource) Validate(formats strfmt.Registry) error

Validate validates this appointment resource

type AppointmentResources

type AppointmentResources []*AppointmentResource

AppointmentResources List of resources that performs or performed job appointment fulfillment.

swagger:model AppointmentResources

func (AppointmentResources) ContextValidate

func (m AppointmentResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this appointment resources based on the context it is used

func (AppointmentResources) Validate

func (m AppointmentResources) Validate(formats strfmt.Registry) error

Validate validates this appointment resources

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

func (m *AppointmentSlot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppointmentSlot) Validate

func (m *AppointmentSlot) Validate(formats strfmt.Registry) error

Validate validates this appointment slot

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

func (m *AppointmentSlotReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppointmentSlotReport) Validate

func (m *AppointmentSlotReport) Validate(formats strfmt.Registry) error

Validate validates this appointment slot report

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

func (m *AppointmentTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppointmentTime) Validate

func (m *AppointmentTime) Validate(formats strfmt.Registry) error

Validate validates this appointment time

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

func (m *AppointmentTimeInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AppointmentTimeInput) Validate

func (m *AppointmentTimeInput) Validate(formats strfmt.Registry) error

Validate validates this appointment time input

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

func (*AssignAppointmentResourcesRequest) Validate

Validate validates this assign appointment resources request

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

func (*AssignAppointmentResourcesResponse) Validate

Validate validates this assign appointment resources response

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

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

func (*AssignAppointmentResourcesResponsePayload) Validate

Validate validates this assign appointment resources response payload

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

func (m *AssociatedItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AssociatedItem) Validate

func (m *AssociatedItem) Validate(formats strfmt.Registry) error

Validate validates this associated item

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

func (m *AvailabilityRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*AvailabilityRecord) Validate

func (m *AvailabilityRecord) Validate(formats strfmt.Registry) error

Validate validates this availability record

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

func (m AvailabilityRecords) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this availability records based on the context it is used

func (AvailabilityRecords) Validate

func (m AvailabilityRecords) Validate(formats strfmt.Registry) error

Validate validates this availability records

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

func (m *Buyer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this buyer based on context it is used

func (*Buyer) MarshalBinary

func (m *Buyer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Buyer) UnmarshalBinary

func (m *Buyer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Buyer) Validate

func (m *Buyer) Validate(formats strfmt.Registry) error

Validate validates this buyer

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

func (*CancelReservationResponse) Validate

func (m *CancelReservationResponse) Validate(formats strfmt.Registry) error

Validate validates this cancel reservation response

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

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

func (*CancelServiceJobByServiceJobIDResponse) Validate

Validate validates this cancel service job by service job Id response

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

func (m CapacityType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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.

func (CapacityType) Validate

func (m CapacityType) Validate(formats strfmt.Registry) error

Validate validates this capacity type

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

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

func (*CompleteServiceJobByServiceJobIDResponse) Validate

Validate validates this complete service job by service job Id response

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

func (*CreateReservationRecord) Validate

func (m *CreateReservationRecord) Validate(formats strfmt.Registry) error

Validate validates this create reservation record

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

func (*CreateReservationRequest) Validate

func (m *CreateReservationRequest) Validate(formats strfmt.Registry) error

Validate validates this create reservation request

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

func (*CreateReservationResponse) Validate

func (m *CreateReservationResponse) Validate(formats strfmt.Registry) error

Validate validates this create reservation response

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

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

func (*CreateServiceDocumentUploadDestination) Validate

Validate validates this create service document upload destination

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 NewDayOfWeek(value DayOfWeek) *DayOfWeek

func (DayOfWeek) ContextValidate

func (m DayOfWeek) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this day of week based on context it is used

func (DayOfWeek) Pointer

func (m DayOfWeek) Pointer() *DayOfWeek

Pointer returns a pointer to a freshly-allocated DayOfWeek.

func (DayOfWeek) Validate

func (m DayOfWeek) Validate(formats strfmt.Registry) error

Validate validates this day of week

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

func (m *EncryptionDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*EncryptionDetails) Validate

func (m *EncryptionDetails) Validate(formats strfmt.Registry) error

Validate validates this encryption details

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

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type ErrorList

type ErrorList []*Error

ErrorList A list of error responses returned when a request is unsuccessful.

swagger:model ErrorList

func (ErrorList) ContextValidate

func (m ErrorList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error list based on the context it is used

func (ErrorList) Validate

func (m ErrorList) Validate(formats strfmt.Registry) error

Validate validates this error list

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

func (m *FixedSlot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fixed slot based on context it is used

func (*FixedSlot) MarshalBinary

func (m *FixedSlot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FixedSlot) UnmarshalBinary

func (m *FixedSlot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FixedSlot) Validate

func (m *FixedSlot) Validate(formats strfmt.Registry) error

Validate validates this fixed slot

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

func (m *FixedSlotCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*FixedSlotCapacity) Validate

func (m *FixedSlotCapacity) Validate(formats strfmt.Registry) error

Validate validates this fixed slot capacity

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

func (*FixedSlotCapacityErrors) Validate

func (m *FixedSlotCapacityErrors) Validate(formats strfmt.Registry) error

Validate validates this fixed slot capacity errors

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

func (*FixedSlotCapacityQuery) Validate

func (m *FixedSlotCapacityQuery) Validate(formats strfmt.Registry) error

Validate validates this fixed slot capacity query

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

func (m *FulfillmentDocument) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*FulfillmentDocument) Validate

func (m *FulfillmentDocument) Validate(formats strfmt.Registry) error

Validate validates this fulfillment document

type FulfillmentDocuments

type FulfillmentDocuments []*FulfillmentDocument

FulfillmentDocuments List of documents captured during service appointment fulfillment.

swagger:model FulfillmentDocuments

func (FulfillmentDocuments) ContextValidate

func (m FulfillmentDocuments) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this fulfillment documents based on the context it is used

func (FulfillmentDocuments) Validate

func (m FulfillmentDocuments) Validate(formats strfmt.Registry) error

Validate validates this fulfillment documents

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

func (m *FulfillmentTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*FulfillmentTime) Validate

func (m *FulfillmentTime) Validate(formats strfmt.Registry) error

Validate validates this fulfillment time

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

func (*GetAppointmentSlotsResponse) Validate

func (m *GetAppointmentSlotsResponse) Validate(formats strfmt.Registry) error

Validate validates this get appointment slots response

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

func (*GetServiceJobByServiceJobIDResponse) Validate

Validate validates this get service job by service job Id response

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

func (*GetServiceJobsResponse) Validate

func (m *GetServiceJobsResponse) Validate(formats strfmt.Registry) error

Validate validates this get service jobs response

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

func (m *ItemDelivery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ItemDelivery) Validate

func (m *ItemDelivery) Validate(formats strfmt.Registry) error

Validate validates this item delivery

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

func (m *ItemDeliveryPromise) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ItemDeliveryPromise) Validate

func (m *ItemDeliveryPromise) Validate(formats strfmt.Registry) error

Validate validates this item delivery promise

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

func (m *JobListing) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*JobListing) Validate

func (m *JobListing) Validate(formats strfmt.Registry) error

Validate validates this job listing

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

func (m OrderID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this order Id based on context it is used

func (OrderID) Validate

func (m OrderID) Validate(formats strfmt.Registry) error

Validate validates this order Id

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

func (m *Poa) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this poa based on the context it is used

func (*Poa) MarshalBinary

func (m *Poa) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Poa) UnmarshalBinary

func (m *Poa) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Poa) Validate

func (m *Poa) Validate(formats strfmt.Registry) error

Validate validates this poa

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

func (m *RangeCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*RangeCapacity) Validate

func (m *RangeCapacity) Validate(formats strfmt.Registry) error

Validate validates this range capacity

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

func (m *RangeSlot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this range slot based on context it is used

func (*RangeSlot) MarshalBinary

func (m *RangeSlot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RangeSlot) UnmarshalBinary

func (m *RangeSlot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RangeSlot) Validate

func (m *RangeSlot) Validate(formats strfmt.Registry) error

Validate validates this range slot

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

func (m *RangeSlotCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*RangeSlotCapacity) Validate

func (m *RangeSlotCapacity) Validate(formats strfmt.Registry) error

Validate validates this range slot capacity

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

func (*RangeSlotCapacityErrors) Validate

func (m *RangeSlotCapacityErrors) Validate(formats strfmt.Registry) error

Validate validates this range slot capacity errors

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

func (*RangeSlotCapacityQuery) Validate

func (m *RangeSlotCapacityQuery) Validate(formats strfmt.Registry) error

Validate validates this range slot capacity query

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

func (m *Recurrence) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Recurrence) Validate

func (m *Recurrence) Validate(formats strfmt.Registry) error

Validate validates this recurrence

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

func (*RescheduleAppointmentRequest) Validate

func (m *RescheduleAppointmentRequest) Validate(formats strfmt.Registry) error

Validate validates this reschedule appointment request

type RescheduleReasonCode

type RescheduleReasonCode string

RescheduleReasonCode The appointment reschedule reason code.

swagger:model RescheduleReasonCode

func (RescheduleReasonCode) ContextValidate

func (m RescheduleReasonCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reschedule reason code based on context it is used

func (RescheduleReasonCode) Validate

func (m RescheduleReasonCode) Validate(formats strfmt.Registry) error

Validate validates this reschedule reason code

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

func (m *Reservation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Reservation) Validate

func (m *Reservation) Validate(formats strfmt.Registry) error

Validate validates this reservation

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

func (m *ScopeOfWork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ScopeOfWork) Validate

func (m *ScopeOfWork) Validate(formats strfmt.Registry) error

Validate validates this scope of work

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

func (m *Seller) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this seller based on context it is used

func (*Seller) MarshalBinary

func (m *Seller) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Seller) UnmarshalBinary

func (m *Seller) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Seller) Validate

func (m *Seller) Validate(formats strfmt.Registry) error

Validate validates this seller

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

func (*ServiceDocumentUploadDestination) Validate

Validate validates this service document upload destination

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

func (m *ServiceJob) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ServiceJob) Validate

func (m *ServiceJob) Validate(formats strfmt.Registry) error

Validate validates this service job

type ServiceJobID

type ServiceJobID string

ServiceJobID Amazon identifier for the service job.

swagger:model ServiceJobId

func (ServiceJobID) ContextValidate

func (m ServiceJobID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service job Id based on context it is used

func (ServiceJobID) Validate

func (m ServiceJobID) Validate(formats strfmt.Registry) error

Validate validates this service job Id

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

func (m *ServiceJobProvider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ServiceJobProvider) Validate

func (m *ServiceJobProvider) Validate(formats strfmt.Registry) error

Validate validates this service job provider

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

func (m *ServiceLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ServiceLocation) Validate

func (m *ServiceLocation) Validate(formats strfmt.Registry) error

Validate validates this service location

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

func (m *ServiceUploadDocument) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ServiceUploadDocument) Validate

func (m *ServiceUploadDocument) Validate(formats strfmt.Registry) error

Validate validates this service upload document

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

func (*SetAppointmentFulfillmentDataRequest) Validate

Validate validates this set appointment fulfillment data request

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

func (*SetAppointmentResponse) Validate

func (m *SetAppointmentResponse) Validate(formats strfmt.Registry) error

Validate validates this set appointment response

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

func (m *Technician) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*Technician) Validate

func (m *Technician) Validate(formats strfmt.Registry) error

Validate validates this technician

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

func (*UpdateReservationRecord) Validate

func (m *UpdateReservationRecord) Validate(formats strfmt.Registry) error

Validate validates this update reservation record

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

func (*UpdateReservationRequest) Validate

func (m *UpdateReservationRequest) Validate(formats strfmt.Registry) error

Validate validates this update reservation request

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

func (*UpdateReservationResponse) Validate

func (m *UpdateReservationResponse) Validate(formats strfmt.Registry) error

Validate validates this update reservation response

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

func (m *UpdateScheduleRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*UpdateScheduleRecord) Validate

func (m *UpdateScheduleRecord) Validate(formats strfmt.Registry) error

Validate validates this update schedule record

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

func (m *UpdateScheduleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*UpdateScheduleRequest) Validate

func (m *UpdateScheduleRequest) Validate(formats strfmt.Registry) error

Validate validates this update schedule request

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

func (*UpdateScheduleResponse) Validate

func (m *UpdateScheduleResponse) Validate(formats strfmt.Registry) error

Validate validates this update schedule response

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

func (m *Warning) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this warning based on context it is used

func (*Warning) MarshalBinary

func (m *Warning) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Warning) UnmarshalBinary

func (m *Warning) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Warning) Validate

func (m *Warning) Validate(formats strfmt.Registry) error

Validate validates this warning

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

func (m WarningList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this warning list based on the context it is used

func (WarningList) Validate

func (m WarningList) Validate(formats strfmt.Registry) error

Validate validates this warning list

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL