Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiEventsEventIDGetRequest
- type ApiEventsGetRequest
- func (r ApiEventsGetRequest) BillOfLadingNumber(billOfLadingNumber string) ApiEventsGetRequest
- func (r ApiEventsGetRequest) BookingReference(bookingReference string) ApiEventsGetRequest
- func (r ApiEventsGetRequest) EquipmentReference(equipmentReference string) ApiEventsGetRequest
- func (r ApiEventsGetRequest) EventType(eventType []EventType) ApiEventsGetRequest
- func (r ApiEventsGetRequest) Execute() (Events, *_nethttp.Response, error)
- type BasicAuth
- type Configuration
- type EquipmentEvent
- func (o *EquipmentEvent) GetDescription() string
- func (o *EquipmentEvent) GetDescriptionOk() (*string, bool)
- func (o *EquipmentEvent) GetEmptyIndicatorCode() string
- func (o *EquipmentEvent) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetEquipmentReference() string
- func (o *EquipmentEvent) GetEquipmentReferenceOk() (*string, bool)
- func (o *EquipmentEvent) GetEventClassifierCode() string
- func (o *EquipmentEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetEventDateTime() time.Time
- func (o *EquipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
- func (o *EquipmentEvent) GetEventID() string
- func (o *EquipmentEvent) GetEventIDOk() (*string, bool)
- func (o *EquipmentEvent) GetEventType() string
- func (o *EquipmentEvent) GetEventTypeCode() string
- func (o *EquipmentEvent) GetEventTypeCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetEventTypeOk() (*string, bool)
- func (o *EquipmentEvent) GetFacilityCode() string
- func (o *EquipmentEvent) GetFacilityCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetFacilityTypeCode() string
- func (o *EquipmentEvent) GetFacilityTypeCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetOtherFacility() string
- func (o *EquipmentEvent) GetOtherFacilityOk() (*string, bool)
- func (o *EquipmentEvent) GetUNLocationCode() string
- func (o *EquipmentEvent) GetUNLocationCodeOk() (*string, bool)
- func (o *EquipmentEvent) HasDescription() bool
- func (o *EquipmentEvent) HasEquipmentReference() bool
- func (o *EquipmentEvent) HasOtherFacility() bool
- func (o EquipmentEvent) MarshalJSON() ([]byte, error)
- func (o *EquipmentEvent) SetDescription(v string)
- func (o *EquipmentEvent) SetEmptyIndicatorCode(v string)
- func (o *EquipmentEvent) SetEquipmentReference(v string)
- func (o *EquipmentEvent) SetEventClassifierCode(v string)
- func (o *EquipmentEvent) SetEventDateTime(v time.Time)
- func (o *EquipmentEvent) SetEventID(v string)
- func (o *EquipmentEvent) SetEventType(v string)
- func (o *EquipmentEvent) SetEventTypeCode(v string)
- func (o *EquipmentEvent) SetFacilityCode(v string)
- func (o *EquipmentEvent) SetFacilityTypeCode(v string)
- func (o *EquipmentEvent) SetOtherFacility(v string)
- func (o *EquipmentEvent) SetUNLocationCode(v string)
- type EquipmentEventAllOf
- func (o *EquipmentEventAllOf) GetDescription() string
- func (o *EquipmentEventAllOf) GetDescriptionOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetEmptyIndicatorCode() string
- func (o *EquipmentEventAllOf) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetEquipmentReference() string
- func (o *EquipmentEventAllOf) GetEquipmentReferenceOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetEventType() string
- func (o *EquipmentEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetFacilityCode() string
- func (o *EquipmentEventAllOf) GetFacilityCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetFacilityTypeCode() string
- func (o *EquipmentEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetOtherFacility() string
- func (o *EquipmentEventAllOf) GetOtherFacilityOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetUNLocationCode() string
- func (o *EquipmentEventAllOf) GetUNLocationCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) HasDescription() bool
- func (o *EquipmentEventAllOf) HasEquipmentReference() bool
- func (o *EquipmentEventAllOf) HasEventType() bool
- func (o *EquipmentEventAllOf) HasOtherFacility() bool
- func (o EquipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (o *EquipmentEventAllOf) SetDescription(v string)
- func (o *EquipmentEventAllOf) SetEmptyIndicatorCode(v string)
- func (o *EquipmentEventAllOf) SetEquipmentReference(v string)
- func (o *EquipmentEventAllOf) SetEventType(v string)
- func (o *EquipmentEventAllOf) SetFacilityCode(v string)
- func (o *EquipmentEventAllOf) SetFacilityTypeCode(v string)
- func (o *EquipmentEventAllOf) SetOtherFacility(v string)
- func (o *EquipmentEventAllOf) SetUNLocationCode(v string)
- type ErrorsInner
- func (o *ErrorsInner) GetMessage() string
- func (o *ErrorsInner) GetMessageOk() (*string, bool)
- func (o *ErrorsInner) GetReason() string
- func (o *ErrorsInner) GetReasonOk() (*string, bool)
- func (o ErrorsInner) MarshalJSON() ([]byte, error)
- func (o *ErrorsInner) SetMessage(v string)
- func (o *ErrorsInner) SetReason(v string)
- type Event
- func (o *Event) GetEventClassifierCode() string
- func (o *Event) GetEventClassifierCodeOk() (*string, bool)
- func (o *Event) GetEventDateTime() time.Time
- func (o *Event) GetEventDateTimeOk() (*time.Time, bool)
- func (o *Event) GetEventID() string
- func (o *Event) GetEventIDOk() (*string, bool)
- func (o *Event) GetEventType() EventType
- func (o *Event) GetEventTypeCode() string
- func (o *Event) GetEventTypeCodeOk() (*string, bool)
- func (o *Event) GetEventTypeOk() (*EventType, bool)
- func (o Event) MarshalJSON() ([]byte, error)
- func (o *Event) SetEventClassifierCode(v string)
- func (o *Event) SetEventDateTime(v time.Time)
- func (o *Event) SetEventID(v string)
- func (o *Event) SetEventType(v EventType)
- func (o *Event) SetEventTypeCode(v string)
- type EventType
- type Events
- type EventsApi
- type EventsApiService
- func (a *EventsApiService) EventsEventIDGet(ctx _context.Context, eventID string) ApiEventsEventIDGetRequest
- func (a *EventsApiService) EventsEventIDGetExecute(r ApiEventsEventIDGetRequest) (InlineResponse200, *_nethttp.Response, error)
- func (a *EventsApiService) EventsGet(ctx _context.Context) ApiEventsGetRequest
- func (a *EventsApiService) EventsGetExecute(r ApiEventsGetRequest) (Events, *_nethttp.Response, error)
- type GenericOpenAPIError
- type InlineResponse200
- func EquipmentEventAsInlineResponse200(v *EquipmentEvent) InlineResponse200
- func ShipmentEventAsInlineResponse200(v *ShipmentEvent) InlineResponse200
- func TransportEquipmentEventAsInlineResponse200(v *TransportEquipmentEvent) InlineResponse200
- func TransportEventAsInlineResponse200(v *TransportEvent) InlineResponse200
- type ModelError
- func (o *ModelError) GetErrorDateTime() string
- func (o *ModelError) GetErrorDateTimeOk() (*string, bool)
- func (o *ModelError) GetErrors() []ErrorsInner
- func (o *ModelError) GetErrorsOk() (*[]ErrorsInner, bool)
- func (o *ModelError) GetHttpMethod() string
- func (o *ModelError) GetHttpMethodOk() (*string, bool)
- func (o *ModelError) GetRequestUri() string
- func (o *ModelError) GetRequestUriOk() (*string, bool)
- func (o *ModelError) GetStatusCode() int32
- func (o *ModelError) GetStatusCodeOk() (*int32, bool)
- func (o *ModelError) GetStatusCodeText() string
- func (o *ModelError) GetStatusCodeTextOk() (*string, bool)
- func (o ModelError) MarshalJSON() ([]byte, error)
- func (o *ModelError) SetErrorDateTime(v string)
- func (o *ModelError) SetErrors(v []ErrorsInner)
- func (o *ModelError) SetHttpMethod(v string)
- func (o *ModelError) SetRequestUri(v string)
- func (o *ModelError) SetStatusCode(v int32)
- func (o *ModelError) SetStatusCodeText(v string)
- type NullableBool
- type NullableEquipmentEvent
- func (v NullableEquipmentEvent) Get() *EquipmentEvent
- func (v NullableEquipmentEvent) IsSet() bool
- func (v NullableEquipmentEvent) MarshalJSON() ([]byte, error)
- func (v *NullableEquipmentEvent) Set(val *EquipmentEvent)
- func (v *NullableEquipmentEvent) UnmarshalJSON(src []byte) error
- func (v *NullableEquipmentEvent) Unset()
- type NullableEquipmentEventAllOf
- func (v NullableEquipmentEventAllOf) Get() *EquipmentEventAllOf
- func (v NullableEquipmentEventAllOf) IsSet() bool
- func (v NullableEquipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableEquipmentEventAllOf) Set(val *EquipmentEventAllOf)
- func (v *NullableEquipmentEventAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableEquipmentEventAllOf) Unset()
- type NullableErrorsInner
- func (v NullableErrorsInner) Get() *ErrorsInner
- func (v NullableErrorsInner) IsSet() bool
- func (v NullableErrorsInner) MarshalJSON() ([]byte, error)
- func (v *NullableErrorsInner) Set(val *ErrorsInner)
- func (v *NullableErrorsInner) UnmarshalJSON(src []byte) error
- func (v *NullableErrorsInner) Unset()
- type NullableEvent
- type NullableEventType
- type NullableEvents
- type NullableFloat32
- type NullableFloat64
- type NullableInlineResponse200
- func (v NullableInlineResponse200) Get() *InlineResponse200
- func (v NullableInlineResponse200) IsSet() bool
- func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse200) Set(val *InlineResponse200)
- func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse200) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableModelError
- type NullableShipmentEvent
- func (v NullableShipmentEvent) Get() *ShipmentEvent
- func (v NullableShipmentEvent) IsSet() bool
- func (v NullableShipmentEvent) MarshalJSON() ([]byte, error)
- func (v *NullableShipmentEvent) Set(val *ShipmentEvent)
- func (v *NullableShipmentEvent) UnmarshalJSON(src []byte) error
- func (v *NullableShipmentEvent) Unset()
- type NullableShipmentEventAllOf
- func (v NullableShipmentEventAllOf) Get() *ShipmentEventAllOf
- func (v NullableShipmentEventAllOf) IsSet() bool
- func (v NullableShipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableShipmentEventAllOf) Set(val *ShipmentEventAllOf)
- func (v *NullableShipmentEventAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableShipmentEventAllOf) Unset()
- type NullableString
- type NullableTime
- type NullableTransportEquipmentEvent
- func (v NullableTransportEquipmentEvent) Get() *TransportEquipmentEvent
- func (v NullableTransportEquipmentEvent) IsSet() bool
- func (v NullableTransportEquipmentEvent) MarshalJSON() ([]byte, error)
- func (v *NullableTransportEquipmentEvent) Set(val *TransportEquipmentEvent)
- func (v *NullableTransportEquipmentEvent) UnmarshalJSON(src []byte) error
- func (v *NullableTransportEquipmentEvent) Unset()
- type NullableTransportEquipmentEventAllOf
- func (v NullableTransportEquipmentEventAllOf) Get() *TransportEquipmentEventAllOf
- func (v NullableTransportEquipmentEventAllOf) IsSet() bool
- func (v NullableTransportEquipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableTransportEquipmentEventAllOf) Set(val *TransportEquipmentEventAllOf)
- func (v *NullableTransportEquipmentEventAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableTransportEquipmentEventAllOf) Unset()
- type NullableTransportEvent
- func (v NullableTransportEvent) Get() *TransportEvent
- func (v NullableTransportEvent) IsSet() bool
- func (v NullableTransportEvent) MarshalJSON() ([]byte, error)
- func (v *NullableTransportEvent) Set(val *TransportEvent)
- func (v *NullableTransportEvent) UnmarshalJSON(src []byte) error
- func (v *NullableTransportEvent) Unset()
- type NullableTransportEventAllOf
- func (v NullableTransportEventAllOf) Get() *TransportEventAllOf
- func (v NullableTransportEventAllOf) IsSet() bool
- func (v NullableTransportEventAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableTransportEventAllOf) Set(val *TransportEventAllOf)
- func (v *NullableTransportEventAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableTransportEventAllOf) Unset()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ShipmentEvent
- func (o *ShipmentEvent) GetEventClassifierCode() string
- func (o *ShipmentEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *ShipmentEvent) GetEventDateTime() time.Time
- func (o *ShipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
- func (o *ShipmentEvent) GetEventID() string
- func (o *ShipmentEvent) GetEventIDOk() (*string, bool)
- func (o *ShipmentEvent) GetEventType() string
- func (o *ShipmentEvent) GetEventTypeCode() string
- func (o *ShipmentEvent) GetEventTypeCodeOk() (*string, bool)
- func (o *ShipmentEvent) GetEventTypeOk() (*string, bool)
- func (o *ShipmentEvent) GetShipmentInformationTypeCode() string
- func (o *ShipmentEvent) GetShipmentInformationTypeCodeOk() (*string, bool)
- func (o ShipmentEvent) MarshalJSON() ([]byte, error)
- func (o *ShipmentEvent) SetEventClassifierCode(v string)
- func (o *ShipmentEvent) SetEventDateTime(v time.Time)
- func (o *ShipmentEvent) SetEventID(v string)
- func (o *ShipmentEvent) SetEventType(v string)
- func (o *ShipmentEvent) SetEventTypeCode(v string)
- func (o *ShipmentEvent) SetShipmentInformationTypeCode(v string)
- type ShipmentEventAllOf
- func (o *ShipmentEventAllOf) GetEventType() string
- func (o *ShipmentEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *ShipmentEventAllOf) GetShipmentInformationTypeCode() string
- func (o *ShipmentEventAllOf) GetShipmentInformationTypeCodeOk() (*string, bool)
- func (o *ShipmentEventAllOf) HasEventType() bool
- func (o ShipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (o *ShipmentEventAllOf) SetEventType(v string)
- func (o *ShipmentEventAllOf) SetShipmentInformationTypeCode(v string)
- type TransportEquipmentEvent
- func (o *TransportEquipmentEvent) GetDescription() string
- func (o *TransportEquipmentEvent) GetDescriptionOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEmptyIndicatorCode() string
- func (o *TransportEquipmentEvent) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEquipmentReference() string
- func (o *TransportEquipmentEvent) GetEquipmentReferenceOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEventClassifierCode() string
- func (o *TransportEquipmentEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEventDateTime() time.Time
- func (o *TransportEquipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
- func (o *TransportEquipmentEvent) GetEventID() string
- func (o *TransportEquipmentEvent) GetEventIDOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEventType() string
- func (o *TransportEquipmentEvent) GetEventTypeCode() string
- func (o *TransportEquipmentEvent) GetEventTypeCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEventTypeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetFacilityCode() string
- func (o *TransportEquipmentEvent) GetFacilityCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetFacilityTypeCode() string
- func (o *TransportEquipmentEvent) GetFacilityTypeCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetModeOfTransportCode() string
- func (o *TransportEquipmentEvent) GetModeOfTransportCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetOtherFacility() string
- func (o *TransportEquipmentEvent) GetOtherFacilityOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetTransportLegReference() string
- func (o *TransportEquipmentEvent) GetTransportLegReferenceOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetTransportReference() string
- func (o *TransportEquipmentEvent) GetTransportReferenceOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetUNLocationCode() string
- func (o *TransportEquipmentEvent) GetUNLocationCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) HasDescription() bool
- func (o *TransportEquipmentEvent) HasEquipmentReference() bool
- func (o *TransportEquipmentEvent) HasModeOfTransportCode() bool
- func (o *TransportEquipmentEvent) HasOtherFacility() bool
- func (o TransportEquipmentEvent) MarshalJSON() ([]byte, error)
- func (o *TransportEquipmentEvent) SetDescription(v string)
- func (o *TransportEquipmentEvent) SetEmptyIndicatorCode(v string)
- func (o *TransportEquipmentEvent) SetEquipmentReference(v string)
- func (o *TransportEquipmentEvent) SetEventClassifierCode(v string)
- func (o *TransportEquipmentEvent) SetEventDateTime(v time.Time)
- func (o *TransportEquipmentEvent) SetEventID(v string)
- func (o *TransportEquipmentEvent) SetEventType(v string)
- func (o *TransportEquipmentEvent) SetEventTypeCode(v string)
- func (o *TransportEquipmentEvent) SetFacilityCode(v string)
- func (o *TransportEquipmentEvent) SetFacilityTypeCode(v string)
- func (o *TransportEquipmentEvent) SetModeOfTransportCode(v string)
- func (o *TransportEquipmentEvent) SetOtherFacility(v string)
- func (o *TransportEquipmentEvent) SetTransportLegReference(v string)
- func (o *TransportEquipmentEvent) SetTransportReference(v string)
- func (o *TransportEquipmentEvent) SetUNLocationCode(v string)
- type TransportEquipmentEventAllOf
- func (o *TransportEquipmentEventAllOf) GetDescription() string
- func (o *TransportEquipmentEventAllOf) GetDescriptionOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetEmptyIndicatorCode() string
- func (o *TransportEquipmentEventAllOf) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetEquipmentReference() string
- func (o *TransportEquipmentEventAllOf) GetEquipmentReferenceOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetEventType() string
- func (o *TransportEquipmentEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetFacilityCode() string
- func (o *TransportEquipmentEventAllOf) GetFacilityCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetFacilityTypeCode() string
- func (o *TransportEquipmentEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetModeOfTransportCode() string
- func (o *TransportEquipmentEventAllOf) GetModeOfTransportCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetOtherFacility() string
- func (o *TransportEquipmentEventAllOf) GetOtherFacilityOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetTransportLegReference() string
- func (o *TransportEquipmentEventAllOf) GetTransportLegReferenceOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetTransportReference() string
- func (o *TransportEquipmentEventAllOf) GetTransportReferenceOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetUNLocationCode() string
- func (o *TransportEquipmentEventAllOf) GetUNLocationCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) HasDescription() bool
- func (o *TransportEquipmentEventAllOf) HasEquipmentReference() bool
- func (o *TransportEquipmentEventAllOf) HasEventType() bool
- func (o *TransportEquipmentEventAllOf) HasModeOfTransportCode() bool
- func (o *TransportEquipmentEventAllOf) HasOtherFacility() bool
- func (o TransportEquipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (o *TransportEquipmentEventAllOf) SetDescription(v string)
- func (o *TransportEquipmentEventAllOf) SetEmptyIndicatorCode(v string)
- func (o *TransportEquipmentEventAllOf) SetEquipmentReference(v string)
- func (o *TransportEquipmentEventAllOf) SetEventType(v string)
- func (o *TransportEquipmentEventAllOf) SetFacilityCode(v string)
- func (o *TransportEquipmentEventAllOf) SetFacilityTypeCode(v string)
- func (o *TransportEquipmentEventAllOf) SetModeOfTransportCode(v string)
- func (o *TransportEquipmentEventAllOf) SetOtherFacility(v string)
- func (o *TransportEquipmentEventAllOf) SetTransportLegReference(v string)
- func (o *TransportEquipmentEventAllOf) SetTransportReference(v string)
- func (o *TransportEquipmentEventAllOf) SetUNLocationCode(v string)
- type TransportEvent
- func (o *TransportEvent) GetDescription() string
- func (o *TransportEvent) GetDescriptionOk() (*string, bool)
- func (o *TransportEvent) GetEventClassifierCode() string
- func (o *TransportEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *TransportEvent) GetEventDateTime() time.Time
- func (o *TransportEvent) GetEventDateTimeOk() (*time.Time, bool)
- func (o *TransportEvent) GetEventID() string
- func (o *TransportEvent) GetEventIDOk() (*string, bool)
- func (o *TransportEvent) GetEventType() string
- func (o *TransportEvent) GetEventTypeCode() string
- func (o *TransportEvent) GetEventTypeCodeOk() (*string, bool)
- func (o *TransportEvent) GetEventTypeOk() (*string, bool)
- func (o *TransportEvent) GetFacilityCode() string
- func (o *TransportEvent) GetFacilityCodeOk() (*string, bool)
- func (o *TransportEvent) GetFacilityTypeCode() string
- func (o *TransportEvent) GetFacilityTypeCodeOk() (*string, bool)
- func (o *TransportEvent) GetModeOfTransportCode() string
- func (o *TransportEvent) GetModeOfTransportCodeOk() (*string, bool)
- func (o *TransportEvent) GetOtherFacility() string
- func (o *TransportEvent) GetOtherFacilityOk() (*string, bool)
- func (o *TransportEvent) GetTransportLegReference() string
- func (o *TransportEvent) GetTransportLegReferenceOk() (*string, bool)
- func (o *TransportEvent) GetTransportReference() string
- func (o *TransportEvent) GetTransportReferenceOk() (*string, bool)
- func (o *TransportEvent) GetUNLocationCode() string
- func (o *TransportEvent) GetUNLocationCodeOk() (*string, bool)
- func (o *TransportEvent) HasDescription() bool
- func (o *TransportEvent) HasModeOfTransportCode() bool
- func (o *TransportEvent) HasOtherFacility() bool
- func (o TransportEvent) MarshalJSON() ([]byte, error)
- func (o *TransportEvent) SetDescription(v string)
- func (o *TransportEvent) SetEventClassifierCode(v string)
- func (o *TransportEvent) SetEventDateTime(v time.Time)
- func (o *TransportEvent) SetEventID(v string)
- func (o *TransportEvent) SetEventType(v string)
- func (o *TransportEvent) SetEventTypeCode(v string)
- func (o *TransportEvent) SetFacilityCode(v string)
- func (o *TransportEvent) SetFacilityTypeCode(v string)
- func (o *TransportEvent) SetModeOfTransportCode(v string)
- func (o *TransportEvent) SetOtherFacility(v string)
- func (o *TransportEvent) SetTransportLegReference(v string)
- func (o *TransportEvent) SetTransportReference(v string)
- func (o *TransportEvent) SetUNLocationCode(v string)
- type TransportEventAllOf
- func (o *TransportEventAllOf) GetDescription() string
- func (o *TransportEventAllOf) GetDescriptionOk() (*string, bool)
- func (o *TransportEventAllOf) GetEventType() string
- func (o *TransportEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *TransportEventAllOf) GetFacilityCode() string
- func (o *TransportEventAllOf) GetFacilityCodeOk() (*string, bool)
- func (o *TransportEventAllOf) GetFacilityTypeCode() string
- func (o *TransportEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
- func (o *TransportEventAllOf) GetModeOfTransportCode() string
- func (o *TransportEventAllOf) GetModeOfTransportCodeOk() (*string, bool)
- func (o *TransportEventAllOf) GetOtherFacility() string
- func (o *TransportEventAllOf) GetOtherFacilityOk() (*string, bool)
- func (o *TransportEventAllOf) GetTransportLegReference() string
- func (o *TransportEventAllOf) GetTransportLegReferenceOk() (*string, bool)
- func (o *TransportEventAllOf) GetTransportReference() string
- func (o *TransportEventAllOf) GetTransportReferenceOk() (*string, bool)
- func (o *TransportEventAllOf) GetUNLocationCode() string
- func (o *TransportEventAllOf) GetUNLocationCodeOk() (*string, bool)
- func (o *TransportEventAllOf) HasDescription() bool
- func (o *TransportEventAllOf) HasEventType() bool
- func (o *TransportEventAllOf) HasModeOfTransportCode() bool
- func (o *TransportEventAllOf) HasOtherFacility() bool
- func (o TransportEventAllOf) MarshalJSON() ([]byte, error)
- func (o *TransportEventAllOf) SetDescription(v string)
- func (o *TransportEventAllOf) SetEventType(v string)
- func (o *TransportEventAllOf) SetFacilityCode(v string)
- func (o *TransportEventAllOf) SetFacilityTypeCode(v string)
- func (o *TransportEventAllOf) SetModeOfTransportCode(v string)
- func (o *TransportEventAllOf) SetOtherFacility(v string)
- func (o *TransportEventAllOf) SetTransportLegReference(v string)
- func (o *TransportEventAllOf) SetTransportReference(v string)
- func (o *TransportEventAllOf) SetUNLocationCode(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { EventsApi EventsApi // contains filtered or unexported fields }
APIClient manages communication with the DCSA Track and Trace API API v1.2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiEventsEventIDGetRequest ¶
type ApiEventsEventIDGetRequest struct { ApiService EventsApi // contains filtered or unexported fields }
func (ApiEventsEventIDGetRequest) Execute ¶
func (r ApiEventsEventIDGetRequest) Execute() (InlineResponse200, *_nethttp.Response, error)
type ApiEventsGetRequest ¶
type ApiEventsGetRequest struct { ApiService EventsApi // contains filtered or unexported fields }
func (ApiEventsGetRequest) BillOfLadingNumber ¶
func (r ApiEventsGetRequest) BillOfLadingNumber(billOfLadingNumber string) ApiEventsGetRequest
Bill of lading number is an identifier that links to a shipment. Bill of Lading is the legal document issued to the customer, which confirms the carrier's receipt of the cargo from the customer acknowledging goods being shipped and specifying the terms of delivery.
func (ApiEventsGetRequest) BookingReference ¶
func (r ApiEventsGetRequest) BookingReference(bookingReference string) ApiEventsGetRequest
The identifier for a shipment, which is issued by and unique within each of the carriers.
func (ApiEventsGetRequest) EquipmentReference ¶
func (r ApiEventsGetRequest) EquipmentReference(equipmentReference string) ApiEventsGetRequest
The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible.
func (ApiEventsGetRequest) EventType ¶
func (r ApiEventsGetRequest) EventType(eventType []EventType) ApiEventsGetRequest
The type of event(s) to filter by.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type EquipmentEvent ¶
type EquipmentEvent struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID string `json:"eventID"` EventType string `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. If a container is not yet assigned to a shipment, the interface cannot return any information when an equipment reference is given as input. If a container is assigned to an (active) shipment, the interface returns information on the active shipment. EquipmentReference *string `json:"equipmentReference,omitempty"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` // Description for Event Type Code. Description *string `json:"description,omitempty"` }
EquipmentEvent The equipment event entity is a specialization of the event entity to support specification of data that only applies to an equipment event.
func NewEquipmentEvent ¶
func NewEquipmentEvent(eventID string, eventType string, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string, facilityTypeCode string, uNLocationCode string, facilityCode string, emptyIndicatorCode string) *EquipmentEvent
NewEquipmentEvent instantiates a new EquipmentEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEquipmentEventWithDefaults ¶
func NewEquipmentEventWithDefaults() *EquipmentEvent
NewEquipmentEventWithDefaults instantiates a new EquipmentEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EquipmentEvent) GetDescription ¶
func (o *EquipmentEvent) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*EquipmentEvent) GetDescriptionOk ¶
func (o *EquipmentEvent) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEmptyIndicatorCode ¶
func (o *EquipmentEvent) GetEmptyIndicatorCode() string
GetEmptyIndicatorCode returns the EmptyIndicatorCode field value
func (*EquipmentEvent) GetEmptyIndicatorCodeOk ¶
func (o *EquipmentEvent) GetEmptyIndicatorCodeOk() (*string, bool)
GetEmptyIndicatorCodeOk returns a tuple with the EmptyIndicatorCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEquipmentReference ¶
func (o *EquipmentEvent) GetEquipmentReference() string
GetEquipmentReference returns the EquipmentReference field value if set, zero value otherwise.
func (*EquipmentEvent) GetEquipmentReferenceOk ¶
func (o *EquipmentEvent) GetEquipmentReferenceOk() (*string, bool)
GetEquipmentReferenceOk returns a tuple with the EquipmentReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventClassifierCode ¶
func (o *EquipmentEvent) GetEventClassifierCode() string
GetEventClassifierCode returns the EventClassifierCode field value
func (*EquipmentEvent) GetEventClassifierCodeOk ¶
func (o *EquipmentEvent) GetEventClassifierCodeOk() (*string, bool)
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventDateTime ¶
func (o *EquipmentEvent) GetEventDateTime() time.Time
GetEventDateTime returns the EventDateTime field value
func (*EquipmentEvent) GetEventDateTimeOk ¶
func (o *EquipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventID ¶
func (o *EquipmentEvent) GetEventID() string
GetEventID returns the EventID field value
func (*EquipmentEvent) GetEventIDOk ¶
func (o *EquipmentEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventType ¶
func (o *EquipmentEvent) GetEventType() string
GetEventType returns the EventType field value
func (*EquipmentEvent) GetEventTypeCode ¶
func (o *EquipmentEvent) GetEventTypeCode() string
GetEventTypeCode returns the EventTypeCode field value
func (*EquipmentEvent) GetEventTypeCodeOk ¶
func (o *EquipmentEvent) GetEventTypeCodeOk() (*string, bool)
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventTypeOk ¶
func (o *EquipmentEvent) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetFacilityCode ¶
func (o *EquipmentEvent) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*EquipmentEvent) GetFacilityCodeOk ¶
func (o *EquipmentEvent) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetFacilityTypeCode ¶
func (o *EquipmentEvent) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*EquipmentEvent) GetFacilityTypeCodeOk ¶
func (o *EquipmentEvent) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetOtherFacility ¶
func (o *EquipmentEvent) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*EquipmentEvent) GetOtherFacilityOk ¶
func (o *EquipmentEvent) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEvent) GetUNLocationCode ¶
func (o *EquipmentEvent) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*EquipmentEvent) GetUNLocationCodeOk ¶
func (o *EquipmentEvent) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) HasDescription ¶ added in v1.0.1
func (o *EquipmentEvent) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*EquipmentEvent) HasEquipmentReference ¶
func (o *EquipmentEvent) HasEquipmentReference() bool
HasEquipmentReference returns a boolean if a field has been set.
func (*EquipmentEvent) HasOtherFacility ¶
func (o *EquipmentEvent) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (EquipmentEvent) MarshalJSON ¶
func (o EquipmentEvent) MarshalJSON() ([]byte, error)
func (*EquipmentEvent) SetDescription ¶
func (o *EquipmentEvent) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*EquipmentEvent) SetEmptyIndicatorCode ¶
func (o *EquipmentEvent) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*EquipmentEvent) SetEquipmentReference ¶
func (o *EquipmentEvent) SetEquipmentReference(v string)
SetEquipmentReference gets a reference to the given string and assigns it to the EquipmentReference field.
func (*EquipmentEvent) SetEventClassifierCode ¶
func (o *EquipmentEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*EquipmentEvent) SetEventDateTime ¶
func (o *EquipmentEvent) SetEventDateTime(v time.Time)
SetEventDateTime sets field value
func (*EquipmentEvent) SetEventID ¶
func (o *EquipmentEvent) SetEventID(v string)
SetEventID sets field value
func (*EquipmentEvent) SetEventType ¶
func (o *EquipmentEvent) SetEventType(v string)
SetEventType sets field value
func (*EquipmentEvent) SetEventTypeCode ¶
func (o *EquipmentEvent) SetEventTypeCode(v string)
SetEventTypeCode sets field value
func (*EquipmentEvent) SetFacilityCode ¶
func (o *EquipmentEvent) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*EquipmentEvent) SetFacilityTypeCode ¶
func (o *EquipmentEvent) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*EquipmentEvent) SetOtherFacility ¶
func (o *EquipmentEvent) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*EquipmentEvent) SetUNLocationCode ¶
func (o *EquipmentEvent) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type EquipmentEventAllOf ¶
type EquipmentEventAllOf struct { EventType *string `json:"eventType,omitempty"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. If a container is not yet assigned to a shipment, the interface cannot return any information when an equipment reference is given as input. If a container is assigned to an (active) shipment, the interface returns information on the active shipment. EquipmentReference *string `json:"equipmentReference,omitempty"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` // Description for Event Type Code. Description *string `json:"description,omitempty"` }
EquipmentEventAllOf struct for EquipmentEventAllOf
func NewEquipmentEventAllOf ¶
func NewEquipmentEventAllOf(facilityTypeCode string, uNLocationCode string, facilityCode string, emptyIndicatorCode string) *EquipmentEventAllOf
NewEquipmentEventAllOf instantiates a new EquipmentEventAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEquipmentEventAllOfWithDefaults ¶
func NewEquipmentEventAllOfWithDefaults() *EquipmentEventAllOf
NewEquipmentEventAllOfWithDefaults instantiates a new EquipmentEventAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EquipmentEventAllOf) GetDescription ¶ added in v1.0.1
func (o *EquipmentEventAllOf) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetDescriptionOk ¶ added in v1.0.1
func (o *EquipmentEventAllOf) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetEmptyIndicatorCode ¶
func (o *EquipmentEventAllOf) GetEmptyIndicatorCode() string
GetEmptyIndicatorCode returns the EmptyIndicatorCode field value
func (*EquipmentEventAllOf) GetEmptyIndicatorCodeOk ¶
func (o *EquipmentEventAllOf) GetEmptyIndicatorCodeOk() (*string, bool)
GetEmptyIndicatorCodeOk returns a tuple with the EmptyIndicatorCode field value and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetEquipmentReference ¶
func (o *EquipmentEventAllOf) GetEquipmentReference() string
GetEquipmentReference returns the EquipmentReference field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetEquipmentReferenceOk ¶
func (o *EquipmentEventAllOf) GetEquipmentReferenceOk() (*string, bool)
GetEquipmentReferenceOk returns a tuple with the EquipmentReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetEventType ¶
func (o *EquipmentEventAllOf) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetEventTypeOk ¶
func (o *EquipmentEventAllOf) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetFacilityCode ¶
func (o *EquipmentEventAllOf) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*EquipmentEventAllOf) GetFacilityCodeOk ¶
func (o *EquipmentEventAllOf) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetFacilityTypeCode ¶
func (o *EquipmentEventAllOf) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*EquipmentEventAllOf) GetFacilityTypeCodeOk ¶
func (o *EquipmentEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetOtherFacility ¶
func (o *EquipmentEventAllOf) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetOtherFacilityOk ¶
func (o *EquipmentEventAllOf) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetUNLocationCode ¶
func (o *EquipmentEventAllOf) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*EquipmentEventAllOf) GetUNLocationCodeOk ¶
func (o *EquipmentEventAllOf) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) HasDescription ¶ added in v1.0.1
func (o *EquipmentEventAllOf) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*EquipmentEventAllOf) HasEquipmentReference ¶
func (o *EquipmentEventAllOf) HasEquipmentReference() bool
HasEquipmentReference returns a boolean if a field has been set.
func (*EquipmentEventAllOf) HasEventType ¶
func (o *EquipmentEventAllOf) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (*EquipmentEventAllOf) HasOtherFacility ¶
func (o *EquipmentEventAllOf) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (EquipmentEventAllOf) MarshalJSON ¶
func (o EquipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*EquipmentEventAllOf) SetDescription ¶ added in v1.0.1
func (o *EquipmentEventAllOf) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*EquipmentEventAllOf) SetEmptyIndicatorCode ¶
func (o *EquipmentEventAllOf) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*EquipmentEventAllOf) SetEquipmentReference ¶
func (o *EquipmentEventAllOf) SetEquipmentReference(v string)
SetEquipmentReference gets a reference to the given string and assigns it to the EquipmentReference field.
func (*EquipmentEventAllOf) SetEventType ¶
func (o *EquipmentEventAllOf) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*EquipmentEventAllOf) SetFacilityCode ¶
func (o *EquipmentEventAllOf) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*EquipmentEventAllOf) SetFacilityTypeCode ¶
func (o *EquipmentEventAllOf) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*EquipmentEventAllOf) SetOtherFacility ¶
func (o *EquipmentEventAllOf) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*EquipmentEventAllOf) SetUNLocationCode ¶
func (o *EquipmentEventAllOf) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type ErrorsInner ¶
type ErrorsInner struct { // High level error message. Reason string `json:"reason"` // Detailed error message. Message string `json:"message"` }
ErrorsInner struct for ErrorsInner
func NewErrorsInner ¶
func NewErrorsInner(reason string, message string) *ErrorsInner
NewErrorsInner instantiates a new ErrorsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorsInnerWithDefaults ¶
func NewErrorsInnerWithDefaults() *ErrorsInner
NewErrorsInnerWithDefaults instantiates a new ErrorsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorsInner) GetMessage ¶
func (o *ErrorsInner) GetMessage() string
GetMessage returns the Message field value
func (*ErrorsInner) GetMessageOk ¶
func (o *ErrorsInner) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorsInner) GetReason ¶
func (o *ErrorsInner) GetReason() string
GetReason returns the Reason field value
func (*ErrorsInner) GetReasonOk ¶
func (o *ErrorsInner) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (ErrorsInner) MarshalJSON ¶
func (o ErrorsInner) MarshalJSON() ([]byte, error)
func (*ErrorsInner) SetMessage ¶
func (o *ErrorsInner) SetMessage(v string)
SetMessage sets field value
func (*ErrorsInner) SetReason ¶
func (o *ErrorsInner) SetReason(v string)
SetReason sets field value
type Event ¶
type Event struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID string `json:"eventID"` EventType EventType `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` }
Event The event entity is described as a generalization of all the specific event categories. An event always takes place in relation to a shipment and can additionally be linked to a transport or an equipment
func NewEvent ¶
func NewEvent(eventID string, eventType EventType, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string) *Event
NewEvent instantiates a new Event object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEventWithDefaults ¶
func NewEventWithDefaults() *Event
NewEventWithDefaults instantiates a new Event object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Event) GetEventClassifierCode ¶
GetEventClassifierCode returns the EventClassifierCode field value
func (*Event) GetEventClassifierCodeOk ¶
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*Event) GetEventDateTime ¶
GetEventDateTime returns the EventDateTime field value
func (*Event) GetEventDateTimeOk ¶
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*Event) GetEventID ¶
GetEventID returns the EventID field value
func (*Event) GetEventIDOk ¶
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*Event) GetEventType ¶
GetEventType returns the EventType field value
func (*Event) GetEventTypeCode ¶
GetEventTypeCode returns the EventTypeCode field value
func (*Event) GetEventTypeCodeOk ¶
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*Event) GetEventTypeOk ¶
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (Event) MarshalJSON ¶
func (*Event) SetEventClassifierCode ¶
SetEventClassifierCode sets field value
func (*Event) SetEventDateTime ¶
SetEventDateTime sets field value
func (*Event) SetEventType ¶
SetEventType sets field value
func (*Event) SetEventTypeCode ¶
SetEventTypeCode sets field value
type EventType ¶
type EventType string
EventType The Event Type of the object.
const ( EQUIPMENT EventType = "EQUIPMENT" SHIPMENT EventType = "SHIPMENT" TRANSPORT EventType = "TRANSPORT" TRANSPORTEQUIPMENT EventType = "TRANSPORTEQUIPMENT" )
List of eventType
func NewEventTypeFromValue ¶
NewEventTypeFromValue returns a pointer to a valid EventType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*EventType) UnmarshalJSON ¶
type Events ¶
type Events struct {
Events []interface{} `json:"events"`
}
Events List of events for shipment journey.
func NewEvents ¶
func NewEvents(events []interface{}) *Events
NewEvents instantiates a new Events object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEventsWithDefaults ¶
func NewEventsWithDefaults() *Events
NewEventsWithDefaults instantiates a new Events object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Events) GetEvents ¶
func (o *Events) GetEvents() []interface{}
GetEvents returns the Events field value
func (*Events) GetEventsOk ¶
GetEventsOk returns a tuple with the Events field value and a boolean to check if the value has been set.
func (Events) MarshalJSON ¶
type EventsApi ¶
type EventsApi interface { /* EventsEventIDGet Find events by eventID. Returns event with the specified eventID. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param eventID The ID of the event to receive @return ApiEventsEventIDGetRequest */ EventsEventIDGet(ctx _context.Context, eventID string) ApiEventsEventIDGetRequest // EventsEventIDGetExecute executes the request // @return InlineResponse200 EventsEventIDGetExecute(r ApiEventsEventIDGetRequest) (InlineResponse200, *_nethttp.Response, error) /* EventsGet Find events by type, Booking Reference, Bill of Lading or Equipment Reference. Returns all events filtered by the parameters. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiEventsGetRequest */ EventsGet(ctx _context.Context) ApiEventsGetRequest // EventsGetExecute executes the request // @return Events EventsGetExecute(r ApiEventsGetRequest) (Events, *_nethttp.Response, error) }
type EventsApiService ¶
type EventsApiService service
EventsApiService EventsApi service
func (*EventsApiService) EventsEventIDGet ¶
func (a *EventsApiService) EventsEventIDGet(ctx _context.Context, eventID string) ApiEventsEventIDGetRequest
EventsEventIDGet Find events by eventID.
Returns event with the specified eventID.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param eventID The ID of the event to receive @return ApiEventsEventIDGetRequest
func (*EventsApiService) EventsEventIDGetExecute ¶
func (a *EventsApiService) EventsEventIDGetExecute(r ApiEventsEventIDGetRequest) (InlineResponse200, *_nethttp.Response, error)
Execute executes the request
@return InlineResponse200
func (*EventsApiService) EventsGet ¶
func (a *EventsApiService) EventsGet(ctx _context.Context) ApiEventsGetRequest
EventsGet Find events by type, Booking Reference, Bill of Lading or Equipment Reference.
Returns all events filtered by the parameters.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiEventsGetRequest
func (*EventsApiService) EventsGetExecute ¶
func (a *EventsApiService) EventsGetExecute(r ApiEventsGetRequest) (Events, *_nethttp.Response, error)
Execute executes the request
@return Events
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type InlineResponse200 ¶
type InlineResponse200 struct { EquipmentEvent *EquipmentEvent ShipmentEvent *ShipmentEvent TransportEquipmentEvent *TransportEquipmentEvent TransportEvent *TransportEvent }
InlineResponse200 - struct for InlineResponse200
func EquipmentEventAsInlineResponse200 ¶
func EquipmentEventAsInlineResponse200(v *EquipmentEvent) InlineResponse200
EquipmentEventAsInlineResponse200 is a convenience function that returns EquipmentEvent wrapped in InlineResponse200
func ShipmentEventAsInlineResponse200 ¶
func ShipmentEventAsInlineResponse200(v *ShipmentEvent) InlineResponse200
ShipmentEventAsInlineResponse200 is a convenience function that returns ShipmentEvent wrapped in InlineResponse200
func TransportEquipmentEventAsInlineResponse200 ¶
func TransportEquipmentEventAsInlineResponse200(v *TransportEquipmentEvent) InlineResponse200
TransportEquipmentEventAsInlineResponse200 is a convenience function that returns TransportEquipmentEvent wrapped in InlineResponse200
func TransportEventAsInlineResponse200 ¶
func TransportEventAsInlineResponse200(v *TransportEvent) InlineResponse200
TransportEventAsInlineResponse200 is a convenience function that returns TransportEvent wrapped in InlineResponse200
func (*InlineResponse200) GetActualInstance ¶
func (obj *InlineResponse200) GetActualInstance() interface{}
Get the actual instance
func (InlineResponse200) MarshalJSON ¶
func (src InlineResponse200) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*InlineResponse200) UnmarshalJSON ¶
func (dst *InlineResponse200) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ModelError ¶
type ModelError struct { // The HTTP request method type HttpMethod string `json:"httpMethod"` // The request URI. RequestUri string `json:"requestUri"` Errors []ErrorsInner `json:"errors"` // The HTTP status code StatusCode int32 `json:"statusCode"` // The textual representation of the response status. StatusCodeText string `json:"statusCodeText"` // The date and time (in ISO 8601 format) the error occured. ErrorDateTime string `json:"errorDateTime"` }
ModelError struct for ModelError
func NewModelError ¶
func NewModelError(httpMethod string, requestUri string, errors []ErrorsInner, statusCode int32, statusCodeText string, errorDateTime string) *ModelError
NewModelError instantiates a new ModelError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewModelErrorWithDefaults ¶
func NewModelErrorWithDefaults() *ModelError
NewModelErrorWithDefaults instantiates a new ModelError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ModelError) GetErrorDateTime ¶
func (o *ModelError) GetErrorDateTime() string
GetErrorDateTime returns the ErrorDateTime field value
func (*ModelError) GetErrorDateTimeOk ¶
func (o *ModelError) GetErrorDateTimeOk() (*string, bool)
GetErrorDateTimeOk returns a tuple with the ErrorDateTime field value and a boolean to check if the value has been set.
func (*ModelError) GetErrors ¶
func (o *ModelError) GetErrors() []ErrorsInner
GetErrors returns the Errors field value
func (*ModelError) GetErrorsOk ¶
func (o *ModelError) GetErrorsOk() (*[]ErrorsInner, bool)
GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.
func (*ModelError) GetHttpMethod ¶
func (o *ModelError) GetHttpMethod() string
GetHttpMethod returns the HttpMethod field value
func (*ModelError) GetHttpMethodOk ¶
func (o *ModelError) GetHttpMethodOk() (*string, bool)
GetHttpMethodOk returns a tuple with the HttpMethod field value and a boolean to check if the value has been set.
func (*ModelError) GetRequestUri ¶
func (o *ModelError) GetRequestUri() string
GetRequestUri returns the RequestUri field value
func (*ModelError) GetRequestUriOk ¶
func (o *ModelError) GetRequestUriOk() (*string, bool)
GetRequestUriOk returns a tuple with the RequestUri field value and a boolean to check if the value has been set.
func (*ModelError) GetStatusCode ¶
func (o *ModelError) GetStatusCode() int32
GetStatusCode returns the StatusCode field value
func (*ModelError) GetStatusCodeOk ¶
func (o *ModelError) GetStatusCodeOk() (*int32, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value and a boolean to check if the value has been set.
func (*ModelError) GetStatusCodeText ¶
func (o *ModelError) GetStatusCodeText() string
GetStatusCodeText returns the StatusCodeText field value
func (*ModelError) GetStatusCodeTextOk ¶
func (o *ModelError) GetStatusCodeTextOk() (*string, bool)
GetStatusCodeTextOk returns a tuple with the StatusCodeText field value and a boolean to check if the value has been set.
func (ModelError) MarshalJSON ¶
func (o ModelError) MarshalJSON() ([]byte, error)
func (*ModelError) SetErrorDateTime ¶
func (o *ModelError) SetErrorDateTime(v string)
SetErrorDateTime sets field value
func (*ModelError) SetErrors ¶
func (o *ModelError) SetErrors(v []ErrorsInner)
SetErrors sets field value
func (*ModelError) SetHttpMethod ¶
func (o *ModelError) SetHttpMethod(v string)
SetHttpMethod sets field value
func (*ModelError) SetRequestUri ¶
func (o *ModelError) SetRequestUri(v string)
SetRequestUri sets field value
func (*ModelError) SetStatusCode ¶
func (o *ModelError) SetStatusCode(v int32)
SetStatusCode sets field value
func (*ModelError) SetStatusCodeText ¶
func (o *ModelError) SetStatusCodeText(v string)
SetStatusCodeText sets field value
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableEquipmentEvent ¶
type NullableEquipmentEvent struct {
// contains filtered or unexported fields
}
func NewNullableEquipmentEvent ¶
func NewNullableEquipmentEvent(val *EquipmentEvent) *NullableEquipmentEvent
func (NullableEquipmentEvent) Get ¶
func (v NullableEquipmentEvent) Get() *EquipmentEvent
func (NullableEquipmentEvent) IsSet ¶
func (v NullableEquipmentEvent) IsSet() bool
func (NullableEquipmentEvent) MarshalJSON ¶
func (v NullableEquipmentEvent) MarshalJSON() ([]byte, error)
func (*NullableEquipmentEvent) Set ¶
func (v *NullableEquipmentEvent) Set(val *EquipmentEvent)
func (*NullableEquipmentEvent) UnmarshalJSON ¶
func (v *NullableEquipmentEvent) UnmarshalJSON(src []byte) error
func (*NullableEquipmentEvent) Unset ¶
func (v *NullableEquipmentEvent) Unset()
type NullableEquipmentEventAllOf ¶
type NullableEquipmentEventAllOf struct {
// contains filtered or unexported fields
}
func NewNullableEquipmentEventAllOf ¶
func NewNullableEquipmentEventAllOf(val *EquipmentEventAllOf) *NullableEquipmentEventAllOf
func (NullableEquipmentEventAllOf) Get ¶
func (v NullableEquipmentEventAllOf) Get() *EquipmentEventAllOf
func (NullableEquipmentEventAllOf) IsSet ¶
func (v NullableEquipmentEventAllOf) IsSet() bool
func (NullableEquipmentEventAllOf) MarshalJSON ¶
func (v NullableEquipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*NullableEquipmentEventAllOf) Set ¶
func (v *NullableEquipmentEventAllOf) Set(val *EquipmentEventAllOf)
func (*NullableEquipmentEventAllOf) UnmarshalJSON ¶
func (v *NullableEquipmentEventAllOf) UnmarshalJSON(src []byte) error
func (*NullableEquipmentEventAllOf) Unset ¶
func (v *NullableEquipmentEventAllOf) Unset()
type NullableErrorsInner ¶
type NullableErrorsInner struct {
// contains filtered or unexported fields
}
func NewNullableErrorsInner ¶
func NewNullableErrorsInner(val *ErrorsInner) *NullableErrorsInner
func (NullableErrorsInner) Get ¶
func (v NullableErrorsInner) Get() *ErrorsInner
func (NullableErrorsInner) IsSet ¶
func (v NullableErrorsInner) IsSet() bool
func (NullableErrorsInner) MarshalJSON ¶
func (v NullableErrorsInner) MarshalJSON() ([]byte, error)
func (*NullableErrorsInner) Set ¶
func (v *NullableErrorsInner) Set(val *ErrorsInner)
func (*NullableErrorsInner) UnmarshalJSON ¶
func (v *NullableErrorsInner) UnmarshalJSON(src []byte) error
func (*NullableErrorsInner) Unset ¶
func (v *NullableErrorsInner) Unset()
type NullableEvent ¶
type NullableEvent struct {
// contains filtered or unexported fields
}
func NewNullableEvent ¶
func NewNullableEvent(val *Event) *NullableEvent
func (NullableEvent) Get ¶
func (v NullableEvent) Get() *Event
func (NullableEvent) IsSet ¶
func (v NullableEvent) IsSet() bool
func (NullableEvent) MarshalJSON ¶
func (v NullableEvent) MarshalJSON() ([]byte, error)
func (*NullableEvent) Set ¶
func (v *NullableEvent) Set(val *Event)
func (*NullableEvent) UnmarshalJSON ¶
func (v *NullableEvent) UnmarshalJSON(src []byte) error
func (*NullableEvent) Unset ¶
func (v *NullableEvent) Unset()
type NullableEventType ¶
type NullableEventType struct {
// contains filtered or unexported fields
}
func NewNullableEventType ¶
func NewNullableEventType(val *EventType) *NullableEventType
func (NullableEventType) Get ¶
func (v NullableEventType) Get() *EventType
func (NullableEventType) IsSet ¶
func (v NullableEventType) IsSet() bool
func (NullableEventType) MarshalJSON ¶
func (v NullableEventType) MarshalJSON() ([]byte, error)
func (*NullableEventType) Set ¶
func (v *NullableEventType) Set(val *EventType)
func (*NullableEventType) UnmarshalJSON ¶
func (v *NullableEventType) UnmarshalJSON(src []byte) error
func (*NullableEventType) Unset ¶
func (v *NullableEventType) Unset()
type NullableEvents ¶
type NullableEvents struct {
// contains filtered or unexported fields
}
func NewNullableEvents ¶
func NewNullableEvents(val *Events) *NullableEvents
func (NullableEvents) Get ¶
func (v NullableEvents) Get() *Events
func (NullableEvents) IsSet ¶
func (v NullableEvents) IsSet() bool
func (NullableEvents) MarshalJSON ¶
func (v NullableEvents) MarshalJSON() ([]byte, error)
func (*NullableEvents) Set ¶
func (v *NullableEvents) Set(val *Events)
func (*NullableEvents) UnmarshalJSON ¶
func (v *NullableEvents) UnmarshalJSON(src []byte) error
func (*NullableEvents) Unset ¶
func (v *NullableEvents) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInlineResponse200 ¶
type NullableInlineResponse200 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse200 ¶
func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200
func (NullableInlineResponse200) Get ¶
func (v NullableInlineResponse200) Get() *InlineResponse200
func (NullableInlineResponse200) IsSet ¶
func (v NullableInlineResponse200) IsSet() bool
func (NullableInlineResponse200) MarshalJSON ¶
func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse200) Set ¶
func (v *NullableInlineResponse200) Set(val *InlineResponse200)
func (*NullableInlineResponse200) UnmarshalJSON ¶
func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse200) Unset ¶
func (v *NullableInlineResponse200) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableModelError ¶
type NullableModelError struct {
// contains filtered or unexported fields
}
func NewNullableModelError ¶
func NewNullableModelError(val *ModelError) *NullableModelError
func (NullableModelError) Get ¶
func (v NullableModelError) Get() *ModelError
func (NullableModelError) IsSet ¶
func (v NullableModelError) IsSet() bool
func (NullableModelError) MarshalJSON ¶
func (v NullableModelError) MarshalJSON() ([]byte, error)
func (*NullableModelError) Set ¶
func (v *NullableModelError) Set(val *ModelError)
func (*NullableModelError) UnmarshalJSON ¶
func (v *NullableModelError) UnmarshalJSON(src []byte) error
func (*NullableModelError) Unset ¶
func (v *NullableModelError) Unset()
type NullableShipmentEvent ¶
type NullableShipmentEvent struct {
// contains filtered or unexported fields
}
func NewNullableShipmentEvent ¶
func NewNullableShipmentEvent(val *ShipmentEvent) *NullableShipmentEvent
func (NullableShipmentEvent) Get ¶
func (v NullableShipmentEvent) Get() *ShipmentEvent
func (NullableShipmentEvent) IsSet ¶
func (v NullableShipmentEvent) IsSet() bool
func (NullableShipmentEvent) MarshalJSON ¶
func (v NullableShipmentEvent) MarshalJSON() ([]byte, error)
func (*NullableShipmentEvent) Set ¶
func (v *NullableShipmentEvent) Set(val *ShipmentEvent)
func (*NullableShipmentEvent) UnmarshalJSON ¶
func (v *NullableShipmentEvent) UnmarshalJSON(src []byte) error
func (*NullableShipmentEvent) Unset ¶
func (v *NullableShipmentEvent) Unset()
type NullableShipmentEventAllOf ¶
type NullableShipmentEventAllOf struct {
// contains filtered or unexported fields
}
func NewNullableShipmentEventAllOf ¶
func NewNullableShipmentEventAllOf(val *ShipmentEventAllOf) *NullableShipmentEventAllOf
func (NullableShipmentEventAllOf) Get ¶
func (v NullableShipmentEventAllOf) Get() *ShipmentEventAllOf
func (NullableShipmentEventAllOf) IsSet ¶
func (v NullableShipmentEventAllOf) IsSet() bool
func (NullableShipmentEventAllOf) MarshalJSON ¶
func (v NullableShipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*NullableShipmentEventAllOf) Set ¶
func (v *NullableShipmentEventAllOf) Set(val *ShipmentEventAllOf)
func (*NullableShipmentEventAllOf) UnmarshalJSON ¶
func (v *NullableShipmentEventAllOf) UnmarshalJSON(src []byte) error
func (*NullableShipmentEventAllOf) Unset ¶
func (v *NullableShipmentEventAllOf) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTransportEquipmentEvent ¶
type NullableTransportEquipmentEvent struct {
// contains filtered or unexported fields
}
func NewNullableTransportEquipmentEvent ¶
func NewNullableTransportEquipmentEvent(val *TransportEquipmentEvent) *NullableTransportEquipmentEvent
func (NullableTransportEquipmentEvent) Get ¶
func (v NullableTransportEquipmentEvent) Get() *TransportEquipmentEvent
func (NullableTransportEquipmentEvent) IsSet ¶
func (v NullableTransportEquipmentEvent) IsSet() bool
func (NullableTransportEquipmentEvent) MarshalJSON ¶
func (v NullableTransportEquipmentEvent) MarshalJSON() ([]byte, error)
func (*NullableTransportEquipmentEvent) Set ¶
func (v *NullableTransportEquipmentEvent) Set(val *TransportEquipmentEvent)
func (*NullableTransportEquipmentEvent) UnmarshalJSON ¶
func (v *NullableTransportEquipmentEvent) UnmarshalJSON(src []byte) error
func (*NullableTransportEquipmentEvent) Unset ¶
func (v *NullableTransportEquipmentEvent) Unset()
type NullableTransportEquipmentEventAllOf ¶
type NullableTransportEquipmentEventAllOf struct {
// contains filtered or unexported fields
}
func NewNullableTransportEquipmentEventAllOf ¶
func NewNullableTransportEquipmentEventAllOf(val *TransportEquipmentEventAllOf) *NullableTransportEquipmentEventAllOf
func (NullableTransportEquipmentEventAllOf) Get ¶
func (v NullableTransportEquipmentEventAllOf) Get() *TransportEquipmentEventAllOf
func (NullableTransportEquipmentEventAllOf) IsSet ¶
func (v NullableTransportEquipmentEventAllOf) IsSet() bool
func (NullableTransportEquipmentEventAllOf) MarshalJSON ¶
func (v NullableTransportEquipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*NullableTransportEquipmentEventAllOf) Set ¶
func (v *NullableTransportEquipmentEventAllOf) Set(val *TransportEquipmentEventAllOf)
func (*NullableTransportEquipmentEventAllOf) UnmarshalJSON ¶
func (v *NullableTransportEquipmentEventAllOf) UnmarshalJSON(src []byte) error
func (*NullableTransportEquipmentEventAllOf) Unset ¶
func (v *NullableTransportEquipmentEventAllOf) Unset()
type NullableTransportEvent ¶
type NullableTransportEvent struct {
// contains filtered or unexported fields
}
func NewNullableTransportEvent ¶
func NewNullableTransportEvent(val *TransportEvent) *NullableTransportEvent
func (NullableTransportEvent) Get ¶
func (v NullableTransportEvent) Get() *TransportEvent
func (NullableTransportEvent) IsSet ¶
func (v NullableTransportEvent) IsSet() bool
func (NullableTransportEvent) MarshalJSON ¶
func (v NullableTransportEvent) MarshalJSON() ([]byte, error)
func (*NullableTransportEvent) Set ¶
func (v *NullableTransportEvent) Set(val *TransportEvent)
func (*NullableTransportEvent) UnmarshalJSON ¶
func (v *NullableTransportEvent) UnmarshalJSON(src []byte) error
func (*NullableTransportEvent) Unset ¶
func (v *NullableTransportEvent) Unset()
type NullableTransportEventAllOf ¶
type NullableTransportEventAllOf struct {
// contains filtered or unexported fields
}
func NewNullableTransportEventAllOf ¶
func NewNullableTransportEventAllOf(val *TransportEventAllOf) *NullableTransportEventAllOf
func (NullableTransportEventAllOf) Get ¶
func (v NullableTransportEventAllOf) Get() *TransportEventAllOf
func (NullableTransportEventAllOf) IsSet ¶
func (v NullableTransportEventAllOf) IsSet() bool
func (NullableTransportEventAllOf) MarshalJSON ¶
func (v NullableTransportEventAllOf) MarshalJSON() ([]byte, error)
func (*NullableTransportEventAllOf) Set ¶
func (v *NullableTransportEventAllOf) Set(val *TransportEventAllOf)
func (*NullableTransportEventAllOf) UnmarshalJSON ¶
func (v *NullableTransportEventAllOf) UnmarshalJSON(src []byte) error
func (*NullableTransportEventAllOf) Unset ¶
func (v *NullableTransportEventAllOf) Unset()
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ShipmentEvent ¶
type ShipmentEvent struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID string `json:"eventID"` EventType string `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` // The code to identify the type of information that is related to the shipment. ShipmentInformationTypeCode string `json:"shipmentInformationTypeCode"` }
ShipmentEvent The shipment event entity is a specialization of the event entity to support specification of data that only applies to a shipment event.
func NewShipmentEvent ¶
func NewShipmentEvent(eventID string, eventType string, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string, shipmentInformationTypeCode string) *ShipmentEvent
NewShipmentEvent instantiates a new ShipmentEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShipmentEventWithDefaults ¶
func NewShipmentEventWithDefaults() *ShipmentEvent
NewShipmentEventWithDefaults instantiates a new ShipmentEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShipmentEvent) GetEventClassifierCode ¶
func (o *ShipmentEvent) GetEventClassifierCode() string
GetEventClassifierCode returns the EventClassifierCode field value
func (*ShipmentEvent) GetEventClassifierCodeOk ¶
func (o *ShipmentEvent) GetEventClassifierCodeOk() (*string, bool)
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetEventDateTime ¶
func (o *ShipmentEvent) GetEventDateTime() time.Time
GetEventDateTime returns the EventDateTime field value
func (*ShipmentEvent) GetEventDateTimeOk ¶
func (o *ShipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetEventID ¶
func (o *ShipmentEvent) GetEventID() string
GetEventID returns the EventID field value
func (*ShipmentEvent) GetEventIDOk ¶
func (o *ShipmentEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetEventType ¶
func (o *ShipmentEvent) GetEventType() string
GetEventType returns the EventType field value
func (*ShipmentEvent) GetEventTypeCode ¶
func (o *ShipmentEvent) GetEventTypeCode() string
GetEventTypeCode returns the EventTypeCode field value
func (*ShipmentEvent) GetEventTypeCodeOk ¶
func (o *ShipmentEvent) GetEventTypeCodeOk() (*string, bool)
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetEventTypeOk ¶
func (o *ShipmentEvent) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetShipmentInformationTypeCode ¶
func (o *ShipmentEvent) GetShipmentInformationTypeCode() string
GetShipmentInformationTypeCode returns the ShipmentInformationTypeCode field value
func (*ShipmentEvent) GetShipmentInformationTypeCodeOk ¶
func (o *ShipmentEvent) GetShipmentInformationTypeCodeOk() (*string, bool)
GetShipmentInformationTypeCodeOk returns a tuple with the ShipmentInformationTypeCode field value and a boolean to check if the value has been set.
func (ShipmentEvent) MarshalJSON ¶
func (o ShipmentEvent) MarshalJSON() ([]byte, error)
func (*ShipmentEvent) SetEventClassifierCode ¶
func (o *ShipmentEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*ShipmentEvent) SetEventDateTime ¶
func (o *ShipmentEvent) SetEventDateTime(v time.Time)
SetEventDateTime sets field value
func (*ShipmentEvent) SetEventID ¶
func (o *ShipmentEvent) SetEventID(v string)
SetEventID sets field value
func (*ShipmentEvent) SetEventType ¶
func (o *ShipmentEvent) SetEventType(v string)
SetEventType sets field value
func (*ShipmentEvent) SetEventTypeCode ¶
func (o *ShipmentEvent) SetEventTypeCode(v string)
SetEventTypeCode sets field value
func (*ShipmentEvent) SetShipmentInformationTypeCode ¶
func (o *ShipmentEvent) SetShipmentInformationTypeCode(v string)
SetShipmentInformationTypeCode sets field value
type ShipmentEventAllOf ¶
type ShipmentEventAllOf struct { EventType *string `json:"eventType,omitempty"` // The code to identify the type of information that is related to the shipment. ShipmentInformationTypeCode string `json:"shipmentInformationTypeCode"` }
ShipmentEventAllOf struct for ShipmentEventAllOf
func NewShipmentEventAllOf ¶
func NewShipmentEventAllOf(shipmentInformationTypeCode string) *ShipmentEventAllOf
NewShipmentEventAllOf instantiates a new ShipmentEventAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShipmentEventAllOfWithDefaults ¶
func NewShipmentEventAllOfWithDefaults() *ShipmentEventAllOf
NewShipmentEventAllOfWithDefaults instantiates a new ShipmentEventAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShipmentEventAllOf) GetEventType ¶
func (o *ShipmentEventAllOf) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*ShipmentEventAllOf) GetEventTypeOk ¶
func (o *ShipmentEventAllOf) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShipmentEventAllOf) GetShipmentInformationTypeCode ¶
func (o *ShipmentEventAllOf) GetShipmentInformationTypeCode() string
GetShipmentInformationTypeCode returns the ShipmentInformationTypeCode field value
func (*ShipmentEventAllOf) GetShipmentInformationTypeCodeOk ¶
func (o *ShipmentEventAllOf) GetShipmentInformationTypeCodeOk() (*string, bool)
GetShipmentInformationTypeCodeOk returns a tuple with the ShipmentInformationTypeCode field value and a boolean to check if the value has been set.
func (*ShipmentEventAllOf) HasEventType ¶
func (o *ShipmentEventAllOf) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (ShipmentEventAllOf) MarshalJSON ¶
func (o ShipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*ShipmentEventAllOf) SetEventType ¶
func (o *ShipmentEventAllOf) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*ShipmentEventAllOf) SetShipmentInformationTypeCode ¶
func (o *ShipmentEventAllOf) SetShipmentInformationTypeCode(v string)
SetShipmentInformationTypeCode sets field value
type TransportEquipmentEvent ¶
type TransportEquipmentEvent struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID string `json:"eventID"` EventType string `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` // The reference for the transport, e.g. when the mode of transport is a vessel, the transport reference will be the vessel IMO number. TransportReference string `json:"transportReference"` // The transport leg reference will be specific per mode of transport: - Vessel: Voyage number as specified by the vessel operator - Truck: Not yet specified - Rail: Not yet specified - Barge: Not yet specified. TransportLegReference string `json:"transportLegReference"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. If a container is not yet assigned to a shipment, the interface cannot return any information when an equipment reference is given as input. If a container is assigned to an (active) shipment, the interface returns information on the active shipment. EquipmentReference *string `json:"equipmentReference,omitempty"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` // A code specifying a type of transport mode. ModeOfTransportCode *string `json:"modeOfTransportCode,omitempty"` // Description for Event Type Code. Description *string `json:"description,omitempty"` }
TransportEquipmentEvent The transport equipment event entity is a specialization of the event entity to support specification of data that applies to both transport and equipment events.
func NewTransportEquipmentEvent ¶
func NewTransportEquipmentEvent(eventID string, eventType string, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string, transportReference string, transportLegReference string, facilityTypeCode string, uNLocationCode string, facilityCode string, emptyIndicatorCode string) *TransportEquipmentEvent
NewTransportEquipmentEvent instantiates a new TransportEquipmentEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportEquipmentEventWithDefaults ¶
func NewTransportEquipmentEventWithDefaults() *TransportEquipmentEvent
NewTransportEquipmentEventWithDefaults instantiates a new TransportEquipmentEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportEquipmentEvent) GetDescription ¶ added in v1.0.1
func (o *TransportEquipmentEvent) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransportEquipmentEvent) GetDescriptionOk ¶ added in v1.0.1
func (o *TransportEquipmentEvent) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEmptyIndicatorCode ¶
func (o *TransportEquipmentEvent) GetEmptyIndicatorCode() string
GetEmptyIndicatorCode returns the EmptyIndicatorCode field value
func (*TransportEquipmentEvent) GetEmptyIndicatorCodeOk ¶
func (o *TransportEquipmentEvent) GetEmptyIndicatorCodeOk() (*string, bool)
GetEmptyIndicatorCodeOk returns a tuple with the EmptyIndicatorCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEquipmentReference ¶
func (o *TransportEquipmentEvent) GetEquipmentReference() string
GetEquipmentReference returns the EquipmentReference field value if set, zero value otherwise.
func (*TransportEquipmentEvent) GetEquipmentReferenceOk ¶
func (o *TransportEquipmentEvent) GetEquipmentReferenceOk() (*string, bool)
GetEquipmentReferenceOk returns a tuple with the EquipmentReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventClassifierCode ¶
func (o *TransportEquipmentEvent) GetEventClassifierCode() string
GetEventClassifierCode returns the EventClassifierCode field value
func (*TransportEquipmentEvent) GetEventClassifierCodeOk ¶
func (o *TransportEquipmentEvent) GetEventClassifierCodeOk() (*string, bool)
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventDateTime ¶
func (o *TransportEquipmentEvent) GetEventDateTime() time.Time
GetEventDateTime returns the EventDateTime field value
func (*TransportEquipmentEvent) GetEventDateTimeOk ¶
func (o *TransportEquipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventID ¶
func (o *TransportEquipmentEvent) GetEventID() string
GetEventID returns the EventID field value
func (*TransportEquipmentEvent) GetEventIDOk ¶
func (o *TransportEquipmentEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventType ¶
func (o *TransportEquipmentEvent) GetEventType() string
GetEventType returns the EventType field value
func (*TransportEquipmentEvent) GetEventTypeCode ¶
func (o *TransportEquipmentEvent) GetEventTypeCode() string
GetEventTypeCode returns the EventTypeCode field value
func (*TransportEquipmentEvent) GetEventTypeCodeOk ¶
func (o *TransportEquipmentEvent) GetEventTypeCodeOk() (*string, bool)
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventTypeOk ¶
func (o *TransportEquipmentEvent) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetFacilityCode ¶
func (o *TransportEquipmentEvent) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*TransportEquipmentEvent) GetFacilityCodeOk ¶
func (o *TransportEquipmentEvent) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetFacilityTypeCode ¶
func (o *TransportEquipmentEvent) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*TransportEquipmentEvent) GetFacilityTypeCodeOk ¶
func (o *TransportEquipmentEvent) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetModeOfTransportCode ¶
func (o *TransportEquipmentEvent) GetModeOfTransportCode() string
GetModeOfTransportCode returns the ModeOfTransportCode field value if set, zero value otherwise.
func (*TransportEquipmentEvent) GetModeOfTransportCodeOk ¶
func (o *TransportEquipmentEvent) GetModeOfTransportCodeOk() (*string, bool)
GetModeOfTransportCodeOk returns a tuple with the ModeOfTransportCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetOtherFacility ¶
func (o *TransportEquipmentEvent) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*TransportEquipmentEvent) GetOtherFacilityOk ¶
func (o *TransportEquipmentEvent) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetTransportLegReference ¶
func (o *TransportEquipmentEvent) GetTransportLegReference() string
GetTransportLegReference returns the TransportLegReference field value
func (*TransportEquipmentEvent) GetTransportLegReferenceOk ¶
func (o *TransportEquipmentEvent) GetTransportLegReferenceOk() (*string, bool)
GetTransportLegReferenceOk returns a tuple with the TransportLegReference field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetTransportReference ¶
func (o *TransportEquipmentEvent) GetTransportReference() string
GetTransportReference returns the TransportReference field value
func (*TransportEquipmentEvent) GetTransportReferenceOk ¶
func (o *TransportEquipmentEvent) GetTransportReferenceOk() (*string, bool)
GetTransportReferenceOk returns a tuple with the TransportReference field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetUNLocationCode ¶
func (o *TransportEquipmentEvent) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*TransportEquipmentEvent) GetUNLocationCodeOk ¶
func (o *TransportEquipmentEvent) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) HasDescription ¶ added in v1.0.1
func (o *TransportEquipmentEvent) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransportEquipmentEvent) HasEquipmentReference ¶
func (o *TransportEquipmentEvent) HasEquipmentReference() bool
HasEquipmentReference returns a boolean if a field has been set.
func (*TransportEquipmentEvent) HasModeOfTransportCode ¶
func (o *TransportEquipmentEvent) HasModeOfTransportCode() bool
HasModeOfTransportCode returns a boolean if a field has been set.
func (*TransportEquipmentEvent) HasOtherFacility ¶
func (o *TransportEquipmentEvent) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (TransportEquipmentEvent) MarshalJSON ¶
func (o TransportEquipmentEvent) MarshalJSON() ([]byte, error)
func (*TransportEquipmentEvent) SetDescription ¶ added in v1.0.1
func (o *TransportEquipmentEvent) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransportEquipmentEvent) SetEmptyIndicatorCode ¶
func (o *TransportEquipmentEvent) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*TransportEquipmentEvent) SetEquipmentReference ¶
func (o *TransportEquipmentEvent) SetEquipmentReference(v string)
SetEquipmentReference gets a reference to the given string and assigns it to the EquipmentReference field.
func (*TransportEquipmentEvent) SetEventClassifierCode ¶
func (o *TransportEquipmentEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*TransportEquipmentEvent) SetEventDateTime ¶
func (o *TransportEquipmentEvent) SetEventDateTime(v time.Time)
SetEventDateTime sets field value
func (*TransportEquipmentEvent) SetEventID ¶
func (o *TransportEquipmentEvent) SetEventID(v string)
SetEventID sets field value
func (*TransportEquipmentEvent) SetEventType ¶
func (o *TransportEquipmentEvent) SetEventType(v string)
SetEventType sets field value
func (*TransportEquipmentEvent) SetEventTypeCode ¶
func (o *TransportEquipmentEvent) SetEventTypeCode(v string)
SetEventTypeCode sets field value
func (*TransportEquipmentEvent) SetFacilityCode ¶
func (o *TransportEquipmentEvent) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*TransportEquipmentEvent) SetFacilityTypeCode ¶
func (o *TransportEquipmentEvent) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*TransportEquipmentEvent) SetModeOfTransportCode ¶
func (o *TransportEquipmentEvent) SetModeOfTransportCode(v string)
SetModeOfTransportCode gets a reference to the given string and assigns it to the ModeOfTransportCode field.
func (*TransportEquipmentEvent) SetOtherFacility ¶
func (o *TransportEquipmentEvent) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*TransportEquipmentEvent) SetTransportLegReference ¶
func (o *TransportEquipmentEvent) SetTransportLegReference(v string)
SetTransportLegReference sets field value
func (*TransportEquipmentEvent) SetTransportReference ¶
func (o *TransportEquipmentEvent) SetTransportReference(v string)
SetTransportReference sets field value
func (*TransportEquipmentEvent) SetUNLocationCode ¶
func (o *TransportEquipmentEvent) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type TransportEquipmentEventAllOf ¶
type TransportEquipmentEventAllOf struct { EventType *string `json:"eventType,omitempty"` // The reference for the transport, e.g. when the mode of transport is a vessel, the transport reference will be the vessel IMO number. TransportReference string `json:"transportReference"` // The transport leg reference will be specific per mode of transport: - Vessel: Voyage number as specified by the vessel operator - Truck: Not yet specified - Rail: Not yet specified - Barge: Not yet specified. TransportLegReference string `json:"transportLegReference"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. If a container is not yet assigned to a shipment, the interface cannot return any information when an equipment reference is given as input. If a container is assigned to an (active) shipment, the interface returns information on the active shipment. EquipmentReference *string `json:"equipmentReference,omitempty"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` // A code specifying a type of transport mode. ModeOfTransportCode *string `json:"modeOfTransportCode,omitempty"` // Description for Event Type Code. Description *string `json:"description,omitempty"` }
TransportEquipmentEventAllOf struct for TransportEquipmentEventAllOf
func NewTransportEquipmentEventAllOf ¶
func NewTransportEquipmentEventAllOf(transportReference string, transportLegReference string, facilityTypeCode string, uNLocationCode string, facilityCode string, emptyIndicatorCode string) *TransportEquipmentEventAllOf
NewTransportEquipmentEventAllOf instantiates a new TransportEquipmentEventAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportEquipmentEventAllOfWithDefaults ¶
func NewTransportEquipmentEventAllOfWithDefaults() *TransportEquipmentEventAllOf
NewTransportEquipmentEventAllOfWithDefaults instantiates a new TransportEquipmentEventAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportEquipmentEventAllOf) GetDescription ¶ added in v1.0.1
func (o *TransportEquipmentEventAllOf) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransportEquipmentEventAllOf) GetDescriptionOk ¶ added in v1.0.1
func (o *TransportEquipmentEventAllOf) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetEmptyIndicatorCode ¶
func (o *TransportEquipmentEventAllOf) GetEmptyIndicatorCode() string
GetEmptyIndicatorCode returns the EmptyIndicatorCode field value
func (*TransportEquipmentEventAllOf) GetEmptyIndicatorCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetEmptyIndicatorCodeOk() (*string, bool)
GetEmptyIndicatorCodeOk returns a tuple with the EmptyIndicatorCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetEquipmentReference ¶
func (o *TransportEquipmentEventAllOf) GetEquipmentReference() string
GetEquipmentReference returns the EquipmentReference field value if set, zero value otherwise.
func (*TransportEquipmentEventAllOf) GetEquipmentReferenceOk ¶
func (o *TransportEquipmentEventAllOf) GetEquipmentReferenceOk() (*string, bool)
GetEquipmentReferenceOk returns a tuple with the EquipmentReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetEventType ¶
func (o *TransportEquipmentEventAllOf) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*TransportEquipmentEventAllOf) GetEventTypeOk ¶
func (o *TransportEquipmentEventAllOf) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetFacilityCode ¶
func (o *TransportEquipmentEventAllOf) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*TransportEquipmentEventAllOf) GetFacilityCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetFacilityTypeCode ¶
func (o *TransportEquipmentEventAllOf) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*TransportEquipmentEventAllOf) GetFacilityTypeCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetModeOfTransportCode ¶
func (o *TransportEquipmentEventAllOf) GetModeOfTransportCode() string
GetModeOfTransportCode returns the ModeOfTransportCode field value if set, zero value otherwise.
func (*TransportEquipmentEventAllOf) GetModeOfTransportCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetModeOfTransportCodeOk() (*string, bool)
GetModeOfTransportCodeOk returns a tuple with the ModeOfTransportCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetOtherFacility ¶
func (o *TransportEquipmentEventAllOf) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*TransportEquipmentEventAllOf) GetOtherFacilityOk ¶
func (o *TransportEquipmentEventAllOf) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetTransportLegReference ¶
func (o *TransportEquipmentEventAllOf) GetTransportLegReference() string
GetTransportLegReference returns the TransportLegReference field value
func (*TransportEquipmentEventAllOf) GetTransportLegReferenceOk ¶
func (o *TransportEquipmentEventAllOf) GetTransportLegReferenceOk() (*string, bool)
GetTransportLegReferenceOk returns a tuple with the TransportLegReference field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetTransportReference ¶
func (o *TransportEquipmentEventAllOf) GetTransportReference() string
GetTransportReference returns the TransportReference field value
func (*TransportEquipmentEventAllOf) GetTransportReferenceOk ¶
func (o *TransportEquipmentEventAllOf) GetTransportReferenceOk() (*string, bool)
GetTransportReferenceOk returns a tuple with the TransportReference field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetUNLocationCode ¶
func (o *TransportEquipmentEventAllOf) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*TransportEquipmentEventAllOf) GetUNLocationCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) HasDescription ¶ added in v1.0.1
func (o *TransportEquipmentEventAllOf) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransportEquipmentEventAllOf) HasEquipmentReference ¶
func (o *TransportEquipmentEventAllOf) HasEquipmentReference() bool
HasEquipmentReference returns a boolean if a field has been set.
func (*TransportEquipmentEventAllOf) HasEventType ¶
func (o *TransportEquipmentEventAllOf) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (*TransportEquipmentEventAllOf) HasModeOfTransportCode ¶
func (o *TransportEquipmentEventAllOf) HasModeOfTransportCode() bool
HasModeOfTransportCode returns a boolean if a field has been set.
func (*TransportEquipmentEventAllOf) HasOtherFacility ¶
func (o *TransportEquipmentEventAllOf) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (TransportEquipmentEventAllOf) MarshalJSON ¶
func (o TransportEquipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*TransportEquipmentEventAllOf) SetDescription ¶ added in v1.0.1
func (o *TransportEquipmentEventAllOf) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransportEquipmentEventAllOf) SetEmptyIndicatorCode ¶
func (o *TransportEquipmentEventAllOf) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*TransportEquipmentEventAllOf) SetEquipmentReference ¶
func (o *TransportEquipmentEventAllOf) SetEquipmentReference(v string)
SetEquipmentReference gets a reference to the given string and assigns it to the EquipmentReference field.
func (*TransportEquipmentEventAllOf) SetEventType ¶
func (o *TransportEquipmentEventAllOf) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*TransportEquipmentEventAllOf) SetFacilityCode ¶
func (o *TransportEquipmentEventAllOf) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*TransportEquipmentEventAllOf) SetFacilityTypeCode ¶
func (o *TransportEquipmentEventAllOf) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*TransportEquipmentEventAllOf) SetModeOfTransportCode ¶
func (o *TransportEquipmentEventAllOf) SetModeOfTransportCode(v string)
SetModeOfTransportCode gets a reference to the given string and assigns it to the ModeOfTransportCode field.
func (*TransportEquipmentEventAllOf) SetOtherFacility ¶
func (o *TransportEquipmentEventAllOf) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*TransportEquipmentEventAllOf) SetTransportLegReference ¶
func (o *TransportEquipmentEventAllOf) SetTransportLegReference(v string)
SetTransportLegReference sets field value
func (*TransportEquipmentEventAllOf) SetTransportReference ¶
func (o *TransportEquipmentEventAllOf) SetTransportReference(v string)
SetTransportReference sets field value
func (*TransportEquipmentEventAllOf) SetUNLocationCode ¶
func (o *TransportEquipmentEventAllOf) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type TransportEvent ¶
type TransportEvent struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID string `json:"eventID"` EventType string `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` // The reference for the transport, e.g. when the mode of transport is a vessel, the transport reference will be the vessel IMO number. TransportReference string `json:"transportReference"` // The transport leg reference will be specific per mode of transport: - Vessel: Voyage number as specified by the vessel operator - Truck: Not yet specified - Rail: Not yet specified - Barge: Not yet specified. TransportLegReference string `json:"transportLegReference"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // A code specifying a type of transport mode. ModeOfTransportCode *string `json:"modeOfTransportCode,omitempty"` // Description for Event Type Code. Description *string `json:"description,omitempty"` }
TransportEvent The transport event entity is a specialization of the event entity to support specification of data that only applies to a transport event.
func NewTransportEvent ¶
func NewTransportEvent(eventID string, eventType string, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string, transportReference string, transportLegReference string, facilityTypeCode string, uNLocationCode string, facilityCode string) *TransportEvent
NewTransportEvent instantiates a new TransportEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportEventWithDefaults ¶
func NewTransportEventWithDefaults() *TransportEvent
NewTransportEventWithDefaults instantiates a new TransportEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportEvent) GetDescription ¶ added in v1.0.1
func (o *TransportEvent) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransportEvent) GetDescriptionOk ¶ added in v1.0.1
func (o *TransportEvent) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEvent) GetEventClassifierCode ¶
func (o *TransportEvent) GetEventClassifierCode() string
GetEventClassifierCode returns the EventClassifierCode field value
func (*TransportEvent) GetEventClassifierCodeOk ¶
func (o *TransportEvent) GetEventClassifierCodeOk() (*string, bool)
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*TransportEvent) GetEventDateTime ¶
func (o *TransportEvent) GetEventDateTime() time.Time
GetEventDateTime returns the EventDateTime field value
func (*TransportEvent) GetEventDateTimeOk ¶
func (o *TransportEvent) GetEventDateTimeOk() (*time.Time, bool)
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*TransportEvent) GetEventID ¶
func (o *TransportEvent) GetEventID() string
GetEventID returns the EventID field value
func (*TransportEvent) GetEventIDOk ¶
func (o *TransportEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*TransportEvent) GetEventType ¶
func (o *TransportEvent) GetEventType() string
GetEventType returns the EventType field value
func (*TransportEvent) GetEventTypeCode ¶
func (o *TransportEvent) GetEventTypeCode() string
GetEventTypeCode returns the EventTypeCode field value
func (*TransportEvent) GetEventTypeCodeOk ¶
func (o *TransportEvent) GetEventTypeCodeOk() (*string, bool)
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*TransportEvent) GetEventTypeOk ¶
func (o *TransportEvent) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (*TransportEvent) GetFacilityCode ¶
func (o *TransportEvent) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*TransportEvent) GetFacilityCodeOk ¶
func (o *TransportEvent) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*TransportEvent) GetFacilityTypeCode ¶
func (o *TransportEvent) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*TransportEvent) GetFacilityTypeCodeOk ¶
func (o *TransportEvent) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*TransportEvent) GetModeOfTransportCode ¶
func (o *TransportEvent) GetModeOfTransportCode() string
GetModeOfTransportCode returns the ModeOfTransportCode field value if set, zero value otherwise.
func (*TransportEvent) GetModeOfTransportCodeOk ¶
func (o *TransportEvent) GetModeOfTransportCodeOk() (*string, bool)
GetModeOfTransportCodeOk returns a tuple with the ModeOfTransportCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEvent) GetOtherFacility ¶
func (o *TransportEvent) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*TransportEvent) GetOtherFacilityOk ¶
func (o *TransportEvent) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEvent) GetTransportLegReference ¶
func (o *TransportEvent) GetTransportLegReference() string
GetTransportLegReference returns the TransportLegReference field value
func (*TransportEvent) GetTransportLegReferenceOk ¶
func (o *TransportEvent) GetTransportLegReferenceOk() (*string, bool)
GetTransportLegReferenceOk returns a tuple with the TransportLegReference field value and a boolean to check if the value has been set.
func (*TransportEvent) GetTransportReference ¶
func (o *TransportEvent) GetTransportReference() string
GetTransportReference returns the TransportReference field value
func (*TransportEvent) GetTransportReferenceOk ¶
func (o *TransportEvent) GetTransportReferenceOk() (*string, bool)
GetTransportReferenceOk returns a tuple with the TransportReference field value and a boolean to check if the value has been set.
func (*TransportEvent) GetUNLocationCode ¶
func (o *TransportEvent) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*TransportEvent) GetUNLocationCodeOk ¶
func (o *TransportEvent) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*TransportEvent) HasDescription ¶ added in v1.0.1
func (o *TransportEvent) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransportEvent) HasModeOfTransportCode ¶
func (o *TransportEvent) HasModeOfTransportCode() bool
HasModeOfTransportCode returns a boolean if a field has been set.
func (*TransportEvent) HasOtherFacility ¶
func (o *TransportEvent) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (TransportEvent) MarshalJSON ¶
func (o TransportEvent) MarshalJSON() ([]byte, error)
func (*TransportEvent) SetDescription ¶ added in v1.0.1
func (o *TransportEvent) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransportEvent) SetEventClassifierCode ¶
func (o *TransportEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*TransportEvent) SetEventDateTime ¶
func (o *TransportEvent) SetEventDateTime(v time.Time)
SetEventDateTime sets field value
func (*TransportEvent) SetEventID ¶
func (o *TransportEvent) SetEventID(v string)
SetEventID sets field value
func (*TransportEvent) SetEventType ¶
func (o *TransportEvent) SetEventType(v string)
SetEventType sets field value
func (*TransportEvent) SetEventTypeCode ¶
func (o *TransportEvent) SetEventTypeCode(v string)
SetEventTypeCode sets field value
func (*TransportEvent) SetFacilityCode ¶
func (o *TransportEvent) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*TransportEvent) SetFacilityTypeCode ¶
func (o *TransportEvent) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*TransportEvent) SetModeOfTransportCode ¶
func (o *TransportEvent) SetModeOfTransportCode(v string)
SetModeOfTransportCode gets a reference to the given string and assigns it to the ModeOfTransportCode field.
func (*TransportEvent) SetOtherFacility ¶
func (o *TransportEvent) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*TransportEvent) SetTransportLegReference ¶
func (o *TransportEvent) SetTransportLegReference(v string)
SetTransportLegReference sets field value
func (*TransportEvent) SetTransportReference ¶
func (o *TransportEvent) SetTransportReference(v string)
SetTransportReference sets field value
func (*TransportEvent) SetUNLocationCode ¶
func (o *TransportEvent) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type TransportEventAllOf ¶
type TransportEventAllOf struct { EventType *string `json:"eventType,omitempty"` // The reference for the transport, e.g. when the mode of transport is a vessel, the transport reference will be the vessel IMO number. TransportReference string `json:"transportReference"` // The transport leg reference will be specific per mode of transport: - Vessel: Voyage number as specified by the vessel operator - Truck: Not yet specified - Rail: Not yet specified - Barge: Not yet specified. TransportLegReference string `json:"transportLegReference"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // A code specifying a type of transport mode. ModeOfTransportCode *string `json:"modeOfTransportCode,omitempty"` // Description for Event Type Code. Description *string `json:"description,omitempty"` }
TransportEventAllOf struct for TransportEventAllOf
func NewTransportEventAllOf ¶
func NewTransportEventAllOf(transportReference string, transportLegReference string, facilityTypeCode string, uNLocationCode string, facilityCode string) *TransportEventAllOf
NewTransportEventAllOf instantiates a new TransportEventAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportEventAllOfWithDefaults ¶
func NewTransportEventAllOfWithDefaults() *TransportEventAllOf
NewTransportEventAllOfWithDefaults instantiates a new TransportEventAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportEventAllOf) GetDescription ¶ added in v1.0.1
func (o *TransportEventAllOf) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*TransportEventAllOf) GetDescriptionOk ¶ added in v1.0.1
func (o *TransportEventAllOf) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetEventType ¶
func (o *TransportEventAllOf) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*TransportEventAllOf) GetEventTypeOk ¶
func (o *TransportEventAllOf) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetFacilityCode ¶
func (o *TransportEventAllOf) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*TransportEventAllOf) GetFacilityCodeOk ¶
func (o *TransportEventAllOf) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetFacilityTypeCode ¶
func (o *TransportEventAllOf) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*TransportEventAllOf) GetFacilityTypeCodeOk ¶
func (o *TransportEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetModeOfTransportCode ¶
func (o *TransportEventAllOf) GetModeOfTransportCode() string
GetModeOfTransportCode returns the ModeOfTransportCode field value if set, zero value otherwise.
func (*TransportEventAllOf) GetModeOfTransportCodeOk ¶
func (o *TransportEventAllOf) GetModeOfTransportCodeOk() (*string, bool)
GetModeOfTransportCodeOk returns a tuple with the ModeOfTransportCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetOtherFacility ¶
func (o *TransportEventAllOf) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*TransportEventAllOf) GetOtherFacilityOk ¶
func (o *TransportEventAllOf) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetTransportLegReference ¶
func (o *TransportEventAllOf) GetTransportLegReference() string
GetTransportLegReference returns the TransportLegReference field value
func (*TransportEventAllOf) GetTransportLegReferenceOk ¶
func (o *TransportEventAllOf) GetTransportLegReferenceOk() (*string, bool)
GetTransportLegReferenceOk returns a tuple with the TransportLegReference field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetTransportReference ¶
func (o *TransportEventAllOf) GetTransportReference() string
GetTransportReference returns the TransportReference field value
func (*TransportEventAllOf) GetTransportReferenceOk ¶
func (o *TransportEventAllOf) GetTransportReferenceOk() (*string, bool)
GetTransportReferenceOk returns a tuple with the TransportReference field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetUNLocationCode ¶
func (o *TransportEventAllOf) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*TransportEventAllOf) GetUNLocationCodeOk ¶
func (o *TransportEventAllOf) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) HasDescription ¶ added in v1.0.1
func (o *TransportEventAllOf) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*TransportEventAllOf) HasEventType ¶
func (o *TransportEventAllOf) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (*TransportEventAllOf) HasModeOfTransportCode ¶
func (o *TransportEventAllOf) HasModeOfTransportCode() bool
HasModeOfTransportCode returns a boolean if a field has been set.
func (*TransportEventAllOf) HasOtherFacility ¶
func (o *TransportEventAllOf) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (TransportEventAllOf) MarshalJSON ¶
func (o TransportEventAllOf) MarshalJSON() ([]byte, error)
func (*TransportEventAllOf) SetDescription ¶ added in v1.0.1
func (o *TransportEventAllOf) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*TransportEventAllOf) SetEventType ¶
func (o *TransportEventAllOf) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*TransportEventAllOf) SetFacilityCode ¶
func (o *TransportEventAllOf) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*TransportEventAllOf) SetFacilityTypeCode ¶
func (o *TransportEventAllOf) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*TransportEventAllOf) SetModeOfTransportCode ¶
func (o *TransportEventAllOf) SetModeOfTransportCode(v string)
SetModeOfTransportCode gets a reference to the given string and assigns it to the ModeOfTransportCode field.
func (*TransportEventAllOf) SetOtherFacility ¶
func (o *TransportEventAllOf) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*TransportEventAllOf) SetTransportLegReference ¶
func (o *TransportEventAllOf) SetTransportLegReference(v string)
SetTransportLegReference sets field value
func (*TransportEventAllOf) SetTransportReference ¶
func (o *TransportEventAllOf) SetTransportReference(v string)
SetTransportReference sets field value
func (*TransportEventAllOf) SetUNLocationCode ¶
func (o *TransportEventAllOf) SetUNLocationCode(v string)
SetUNLocationCode sets field value
Source Files ¶
- api_events.go
- client.go
- configuration.go
- model_equipment_event.go
- model_equipment_event_all_of.go
- model_error.go
- model_errors_inner.go
- model_event.go
- model_event_type.go
- model_events.go
- model_inline_response_200.go
- model_shipment_event.go
- model_shipment_event_all_of.go
- model_transport_equipment_event.go
- model_transport_equipment_event_all_of.go
- model_transport_event.go
- model_transport_event_all_of.go
- response.go
- utils.go