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 Address
- func (o *Address) GetAddressName() string
- func (o *Address) GetAddressNameOk() (*string, bool)
- func (o *Address) GetCityName() string
- func (o *Address) GetCityNameOk() (*string, bool)
- func (o *Address) GetCountry() string
- func (o *Address) GetCountryOk() (*string, bool)
- func (o *Address) GetFloor() string
- func (o *Address) GetFloorOk() (*string, bool)
- func (o *Address) GetPostCode() string
- func (o *Address) GetPostCodeOk() (*string, bool)
- func (o *Address) GetStateRegion() string
- func (o *Address) GetStateRegionOk() (*string, bool)
- func (o *Address) GetStreetName() string
- func (o *Address) GetStreetNameOk() (*string, bool)
- func (o *Address) GetStreetNumber() string
- func (o *Address) GetStreetNumberOk() (*string, bool)
- func (o *Address) HasAddressName() bool
- func (o *Address) HasCityName() bool
- func (o *Address) HasCountry() bool
- func (o *Address) HasFloor() bool
- func (o *Address) HasPostCode() bool
- func (o *Address) HasStateRegion() bool
- func (o *Address) HasStreetName() bool
- func (o *Address) HasStreetNumber() bool
- func (o Address) MarshalJSON() ([]byte, error)
- func (o *Address) SetAddressName(v string)
- func (o *Address) SetCityName(v string)
- func (o *Address) SetCountry(v string)
- func (o *Address) SetFloor(v string)
- func (o *Address) SetPostCode(v string)
- func (o *Address) SetStateRegion(v string)
- func (o *Address) SetStreetName(v string)
- func (o *Address) SetStreetNumber(v string)
- type ApiCreateAccessTokenRequest
- func (r ApiCreateAccessTokenRequest) ClientId(clientId string) ApiCreateAccessTokenRequest
- func (r ApiCreateAccessTokenRequest) ClientSecret(clientSecret string) ApiCreateAccessTokenRequest
- func (r ApiCreateAccessTokenRequest) ConsumerKey(consumerKey string) ApiCreateAccessTokenRequest
- func (r ApiCreateAccessTokenRequest) Execute() (*CreateAccessToken200Response, *http.Response, error)
- func (r ApiCreateAccessTokenRequest) GrantType(grantType string) ApiCreateAccessTokenRequest
- type ApiError
- func (o *ApiError) GetDebugMessage() string
- func (o *ApiError) GetDebugMessageOk() (*string, bool)
- func (o *ApiError) GetId() string
- func (o *ApiError) GetIdOk() (*string, bool)
- func (o *ApiError) GetMessage() string
- func (o *ApiError) GetMessageOk() (*string, bool)
- func (o *ApiError) GetMethod() string
- func (o *ApiError) GetMethodOk() (*string, bool)
- func (o *ApiError) GetRequestUri() string
- func (o *ApiError) GetRequestUriOk() (*string, bool)
- func (o *ApiError) GetStatus() int32
- func (o *ApiError) GetStatusOk() (*int32, bool)
- func (o *ApiError) GetSubErrors() []ApiValidationError
- func (o *ApiError) GetSubErrorsOk() ([]ApiValidationError, bool)
- func (o *ApiError) GetTimestamp() string
- func (o *ApiError) GetTimestampOk() (*string, bool)
- func (o *ApiError) HasDebugMessage() bool
- func (o *ApiError) HasId() bool
- func (o *ApiError) HasSubErrors() bool
- func (o ApiError) MarshalJSON() ([]byte, error)
- func (o *ApiError) SetDebugMessage(v string)
- func (o *ApiError) SetId(v string)
- func (o *ApiError) SetMessage(v string)
- func (o *ApiError) SetMethod(v string)
- func (o *ApiError) SetRequestUri(v string)
- func (o *ApiError) SetStatus(v int32)
- func (o *ApiError) SetSubErrors(v []ApiValidationError)
- func (o *ApiError) SetTimestamp(v string)
- type ApiListEventsRequest
- func (r ApiListEventsRequest) APIVersion(aPIVersion string) ApiListEventsRequest
- func (r ApiListEventsRequest) Authorization(authorization string) ApiListEventsRequest
- func (r ApiListEventsRequest) CarrierBookingReference(carrierBookingReference string) ApiListEventsRequest
- func (r ApiListEventsRequest) ConsumerKey(consumerKey string) ApiListEventsRequest
- func (r ApiListEventsRequest) Cursor(cursor string) ApiListEventsRequest
- func (r ApiListEventsRequest) EquipmentEventTypeCode(equipmentEventTypeCode []string) ApiListEventsRequest
- func (r ApiListEventsRequest) EquipmentReference(equipmentReference string) ApiListEventsRequest
- func (r ApiListEventsRequest) EventCreatedDateTime(eventCreatedDateTime string) ApiListEventsRequest
- func (r ApiListEventsRequest) EventType(eventType []string) ApiListEventsRequest
- func (r ApiListEventsRequest) Execute() (*Events, *http.Response, error)
- func (r ApiListEventsRequest) Limit(limit int32) ApiListEventsRequest
- func (r ApiListEventsRequest) ShipmentEventTypeCode(shipmentEventTypeCode []string) ApiListEventsRequest
- func (r ApiListEventsRequest) TransportDocumentReference(transportDocumentReference string) ApiListEventsRequest
- func (r ApiListEventsRequest) TransportEventTypeCode(transportEventTypeCode []string) ApiListEventsRequest
- type ApiValidationError
- func (o *ApiValidationError) GetField() string
- func (o *ApiValidationError) GetFieldOk() (*string, bool)
- func (o *ApiValidationError) GetMessage() string
- func (o *ApiValidationError) GetMessageOk() (*string, bool)
- func (o *ApiValidationError) GetRejectedValue() string
- func (o *ApiValidationError) GetRejectedValueOk() (*string, bool)
- func (o ApiValidationError) MarshalJSON() ([]byte, error)
- func (o *ApiValidationError) SetField(v string)
- func (o *ApiValidationError) SetMessage(v string)
- func (o *ApiValidationError) SetRejectedValue(v string)
- type AuthApi
- type AuthApiService
- type BasicAuth
- type Configuration
- type CreateAccessToken200Response
- func (o *CreateAccessToken200Response) GetAccessToken() string
- func (o *CreateAccessToken200Response) GetAccessTokenOk() (*string, bool)
- func (o *CreateAccessToken200Response) GetExpiresIn() int32
- func (o *CreateAccessToken200Response) GetExpiresInOk() (*int32, bool)
- func (o *CreateAccessToken200Response) GetIdToken() string
- func (o *CreateAccessToken200Response) GetIdTokenOk() (*string, bool)
- func (o *CreateAccessToken200Response) GetScope() string
- func (o *CreateAccessToken200Response) GetScopeOk() (*string, bool)
- func (o *CreateAccessToken200Response) GetTokenType() string
- func (o *CreateAccessToken200Response) GetTokenTypeOk() (*string, bool)
- func (o CreateAccessToken200Response) MarshalJSON() ([]byte, error)
- func (o *CreateAccessToken200Response) SetAccessToken(v string)
- func (o *CreateAccessToken200Response) SetExpiresIn(v int32)
- func (o *CreateAccessToken200Response) SetIdToken(v string)
- func (o *CreateAccessToken200Response) SetScope(v string)
- func (o *CreateAccessToken200Response) SetTokenType(v string)
- type CreateAccessToken400Response
- func (o *CreateAccessToken400Response) GetError() string
- func (o *CreateAccessToken400Response) GetErrorDescription() string
- func (o *CreateAccessToken400Response) GetErrorDescriptionOk() (*string, bool)
- func (o *CreateAccessToken400Response) GetErrorOk() (*string, bool)
- func (o *CreateAccessToken400Response) HasError() bool
- func (o *CreateAccessToken400Response) HasErrorDescription() bool
- func (o CreateAccessToken400Response) MarshalJSON() ([]byte, error)
- func (o *CreateAccessToken400Response) SetError(v string)
- func (o *CreateAccessToken400Response) SetErrorDescription(v string)
- type CreateAccessToken401Response
- func (o *CreateAccessToken401Response) GetError() []CreateAccessToken401ResponseErrorInner
- func (o *CreateAccessToken401Response) GetErrorOk() ([]CreateAccessToken401ResponseErrorInner, bool)
- func (o *CreateAccessToken401Response) HasError() bool
- func (o CreateAccessToken401Response) MarshalJSON() ([]byte, error)
- func (o *CreateAccessToken401Response) SetError(v []CreateAccessToken401ResponseErrorInner)
- type CreateAccessToken401ResponseErrorInner
- func (o *CreateAccessToken401ResponseErrorInner) GetCode() string
- func (o *CreateAccessToken401ResponseErrorInner) GetCodeOk() (*string, bool)
- func (o *CreateAccessToken401ResponseErrorInner) GetMessage() string
- func (o *CreateAccessToken401ResponseErrorInner) GetMessageOk() (*string, bool)
- func (o *CreateAccessToken401ResponseErrorInner) GetReason() string
- func (o *CreateAccessToken401ResponseErrorInner) GetReasonOk() (*string, bool)
- func (o *CreateAccessToken401ResponseErrorInner) GetStatus() string
- func (o *CreateAccessToken401ResponseErrorInner) GetStatusOk() (*string, bool)
- func (o *CreateAccessToken401ResponseErrorInner) HasCode() bool
- func (o *CreateAccessToken401ResponseErrorInner) HasMessage() bool
- func (o *CreateAccessToken401ResponseErrorInner) HasReason() bool
- func (o *CreateAccessToken401ResponseErrorInner) HasStatus() bool
- func (o CreateAccessToken401ResponseErrorInner) MarshalJSON() ([]byte, error)
- func (o *CreateAccessToken401ResponseErrorInner) SetCode(v string)
- func (o *CreateAccessToken401ResponseErrorInner) SetMessage(v string)
- func (o *CreateAccessToken401ResponseErrorInner) SetReason(v string)
- func (o *CreateAccessToken401ResponseErrorInner) SetStatus(v string)
- type DocumentReferencesInner
- func (o *DocumentReferencesInner) GetDocumentReferenceType() string
- func (o *DocumentReferencesInner) GetDocumentReferenceTypeOk() (*string, bool)
- func (o *DocumentReferencesInner) GetDocumentReferenceValue() string
- func (o *DocumentReferencesInner) GetDocumentReferenceValueOk() (*string, bool)
- func (o *DocumentReferencesInner) HasDocumentReferenceType() bool
- func (o *DocumentReferencesInner) HasDocumentReferenceValue() bool
- func (o DocumentReferencesInner) MarshalJSON() ([]byte, error)
- func (o *DocumentReferencesInner) SetDocumentReferenceType(v string)
- func (o *DocumentReferencesInner) SetDocumentReferenceValue(v string)
- type EquipmentEvent
- func (o *EquipmentEvent) GetDocumentReferences() []DocumentReferencesInner
- func (o *EquipmentEvent) GetDocumentReferencesOk() ([]DocumentReferencesInner, bool)
- func (o *EquipmentEvent) GetEmptyIndicatorCode() string
- func (o *EquipmentEvent) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetEquipmentEventTypeCode() string
- func (o *EquipmentEvent) GetEquipmentEventTypeCodeOk() (*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) GetEventCreatedDateTime() time.Time
- func (o *EquipmentEvent) GetEventCreatedDateTimeOk() (*time.Time, bool)
- func (o *EquipmentEvent) GetEventDateTime() string
- func (o *EquipmentEvent) GetEventDateTimeOk() (*string, bool)
- func (o *EquipmentEvent) GetEventID() string
- func (o *EquipmentEvent) GetEventIDOk() (*string, bool)
- func (o *EquipmentEvent) GetEventLocation() Location
- func (o *EquipmentEvent) GetEventLocationOk() (*Location, bool)
- func (o *EquipmentEvent) GetEventType() string
- func (o *EquipmentEvent) GetEventTypeOk() (*string, bool)
- func (o *EquipmentEvent) GetISOEquipmentCode() string
- func (o *EquipmentEvent) GetISOEquipmentCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetReferences() []EventReferencesInner
- func (o *EquipmentEvent) GetReferencesOk() ([]EventReferencesInner, bool)
- func (o *EquipmentEvent) GetSeals() []Seal
- func (o *EquipmentEvent) GetSealsOk() ([]Seal, bool)
- func (o *EquipmentEvent) GetTransportCall() TransportCall
- func (o *EquipmentEvent) GetTransportCallOk() (*TransportCall, bool)
- func (o *EquipmentEvent) HasDocumentReferences() bool
- func (o *EquipmentEvent) HasEquipmentEventTypeCode() bool
- func (o *EquipmentEvent) HasEquipmentReference() bool
- func (o *EquipmentEvent) HasEventID() bool
- func (o *EquipmentEvent) HasEventLocation() bool
- func (o *EquipmentEvent) HasISOEquipmentCode() bool
- func (o *EquipmentEvent) HasReferences() bool
- func (o *EquipmentEvent) HasSeals() bool
- func (o EquipmentEvent) MarshalJSON() ([]byte, error)
- func (o *EquipmentEvent) SetDocumentReferences(v []DocumentReferencesInner)
- func (o *EquipmentEvent) SetEmptyIndicatorCode(v string)
- func (o *EquipmentEvent) SetEquipmentEventTypeCode(v string)
- func (o *EquipmentEvent) SetEquipmentReference(v string)
- func (o *EquipmentEvent) SetEventClassifierCode(v string)
- func (o *EquipmentEvent) SetEventCreatedDateTime(v time.Time)
- func (o *EquipmentEvent) SetEventDateTime(v string)
- func (o *EquipmentEvent) SetEventID(v string)
- func (o *EquipmentEvent) SetEventLocation(v Location)
- func (o *EquipmentEvent) SetEventType(v string)
- func (o *EquipmentEvent) SetISOEquipmentCode(v string)
- func (o *EquipmentEvent) SetReferences(v []EventReferencesInner)
- func (o *EquipmentEvent) SetSeals(v []Seal)
- func (o *EquipmentEvent) SetTransportCall(v TransportCall)
- type EquipmentEventAllOf
- func (o *EquipmentEventAllOf) GetDocumentReferences() []DocumentReferencesInner
- func (o *EquipmentEventAllOf) GetDocumentReferencesOk() ([]DocumentReferencesInner, bool)
- func (o *EquipmentEventAllOf) GetEmptyIndicatorCode() string
- func (o *EquipmentEventAllOf) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetEquipmentEventTypeCode() string
- func (o *EquipmentEventAllOf) GetEquipmentEventTypeCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetEquipmentReference() string
- func (o *EquipmentEventAllOf) GetEquipmentReferenceOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetEventLocation() Location
- func (o *EquipmentEventAllOf) GetEventLocationOk() (*Location, bool)
- func (o *EquipmentEventAllOf) GetEventType() string
- func (o *EquipmentEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetISOEquipmentCode() string
- func (o *EquipmentEventAllOf) GetISOEquipmentCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetSeals() []Seal
- func (o *EquipmentEventAllOf) GetSealsOk() ([]Seal, bool)
- func (o *EquipmentEventAllOf) GetTransportCall() TransportCall
- func (o *EquipmentEventAllOf) GetTransportCallOk() (*TransportCall, bool)
- func (o *EquipmentEventAllOf) HasDocumentReferences() bool
- func (o *EquipmentEventAllOf) HasEquipmentEventTypeCode() bool
- func (o *EquipmentEventAllOf) HasEquipmentReference() bool
- func (o *EquipmentEventAllOf) HasEventLocation() bool
- func (o *EquipmentEventAllOf) HasEventType() bool
- func (o *EquipmentEventAllOf) HasISOEquipmentCode() bool
- func (o *EquipmentEventAllOf) HasSeals() bool
- func (o EquipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (o *EquipmentEventAllOf) SetDocumentReferences(v []DocumentReferencesInner)
- func (o *EquipmentEventAllOf) SetEmptyIndicatorCode(v string)
- func (o *EquipmentEventAllOf) SetEquipmentEventTypeCode(v string)
- func (o *EquipmentEventAllOf) SetEquipmentReference(v string)
- func (o *EquipmentEventAllOf) SetEventLocation(v Location)
- func (o *EquipmentEventAllOf) SetEventType(v string)
- func (o *EquipmentEventAllOf) SetISOEquipmentCode(v string)
- func (o *EquipmentEventAllOf) SetSeals(v []Seal)
- func (o *EquipmentEventAllOf) SetTransportCall(v TransportCall)
- type Event
- func (o *Event) GetEventClassifierCode() string
- func (o *Event) GetEventClassifierCodeOk() (*string, bool)
- func (o *Event) GetEventCreatedDateTime() time.Time
- func (o *Event) GetEventCreatedDateTimeOk() (*time.Time, bool)
- func (o *Event) GetEventDateTime() string
- func (o *Event) GetEventDateTimeOk() (*string, bool)
- func (o *Event) GetEventID() string
- func (o *Event) GetEventIDOk() (*string, bool)
- func (o *Event) GetEventType() string
- func (o *Event) GetEventTypeOk() (*string, bool)
- func (o *Event) GetReferences() []EventReferencesInner
- func (o *Event) GetReferencesOk() ([]EventReferencesInner, bool)
- func (o *Event) HasEventID() bool
- func (o *Event) HasReferences() bool
- func (o Event) MarshalJSON() ([]byte, error)
- func (o *Event) SetEventClassifierCode(v string)
- func (o *Event) SetEventCreatedDateTime(v time.Time)
- func (o *Event) SetEventDateTime(v string)
- func (o *Event) SetEventID(v string)
- func (o *Event) SetEventType(v string)
- func (o *Event) SetReferences(v []EventReferencesInner)
- type EventReferencesInner
- func (o *EventReferencesInner) GetReferenceType() string
- func (o *EventReferencesInner) GetReferenceTypeOk() (*string, bool)
- func (o *EventReferencesInner) GetReferenceValue() string
- func (o *EventReferencesInner) GetReferenceValueOk() (*string, bool)
- func (o EventReferencesInner) MarshalJSON() ([]byte, error)
- func (o *EventReferencesInner) SetReferenceType(v string)
- func (o *EventReferencesInner) SetReferenceValue(v string)
- type Events
- type EventsApi
- type EventsApiService
- type EventsEventsInner
- type GenericOpenAPIError
- type Location
- func (o *Location) GetAddress() Address
- func (o *Location) GetAddressOk() (*Address, bool)
- func (o *Location) GetFacilityCode() string
- func (o *Location) GetFacilityCodeListProvider() string
- func (o *Location) GetFacilityCodeListProviderOk() (*string, bool)
- func (o *Location) GetFacilityCodeOk() (*string, bool)
- func (o *Location) GetLatitude() string
- func (o *Location) GetLatitudeOk() (*string, bool)
- func (o *Location) GetLocationName() string
- func (o *Location) GetLocationNameOk() (*string, bool)
- func (o *Location) GetLongitude() string
- func (o *Location) GetLongitudeOk() (*string, bool)
- func (o *Location) GetUNLocationCode() string
- func (o *Location) GetUNLocationCodeOk() (*string, bool)
- func (o *Location) HasAddress() bool
- func (o *Location) HasFacilityCode() bool
- func (o *Location) HasFacilityCodeListProvider() bool
- func (o *Location) HasLatitude() bool
- func (o *Location) HasLocationName() bool
- func (o *Location) HasLongitude() bool
- func (o *Location) HasUNLocationCode() bool
- func (o Location) MarshalJSON() ([]byte, error)
- func (o *Location) SetAddress(v Address)
- func (o *Location) SetFacilityCode(v string)
- func (o *Location) SetFacilityCodeListProvider(v string)
- func (o *Location) SetLatitude(v string)
- func (o *Location) SetLocationName(v string)
- func (o *Location) SetLongitude(v string)
- func (o *Location) SetUNLocationCode(v string)
- type NullableAddress
- type NullableApiError
- type NullableApiValidationError
- func (v NullableApiValidationError) Get() *ApiValidationError
- func (v NullableApiValidationError) IsSet() bool
- func (v NullableApiValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableApiValidationError) Set(val *ApiValidationError)
- func (v *NullableApiValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableApiValidationError) Unset()
- type NullableBool
- type NullableCreateAccessToken200Response
- func (v NullableCreateAccessToken200Response) Get() *CreateAccessToken200Response
- func (v NullableCreateAccessToken200Response) IsSet() bool
- func (v NullableCreateAccessToken200Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAccessToken200Response) Set(val *CreateAccessToken200Response)
- func (v *NullableCreateAccessToken200Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAccessToken200Response) Unset()
- type NullableCreateAccessToken400Response
- func (v NullableCreateAccessToken400Response) Get() *CreateAccessToken400Response
- func (v NullableCreateAccessToken400Response) IsSet() bool
- func (v NullableCreateAccessToken400Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAccessToken400Response) Set(val *CreateAccessToken400Response)
- func (v *NullableCreateAccessToken400Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAccessToken400Response) Unset()
- type NullableCreateAccessToken401Response
- func (v NullableCreateAccessToken401Response) Get() *CreateAccessToken401Response
- func (v NullableCreateAccessToken401Response) IsSet() bool
- func (v NullableCreateAccessToken401Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAccessToken401Response) Set(val *CreateAccessToken401Response)
- func (v *NullableCreateAccessToken401Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAccessToken401Response) Unset()
- type NullableCreateAccessToken401ResponseErrorInner
- func (v NullableCreateAccessToken401ResponseErrorInner) Get() *CreateAccessToken401ResponseErrorInner
- func (v NullableCreateAccessToken401ResponseErrorInner) IsSet() bool
- func (v NullableCreateAccessToken401ResponseErrorInner) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAccessToken401ResponseErrorInner) Set(val *CreateAccessToken401ResponseErrorInner)
- func (v *NullableCreateAccessToken401ResponseErrorInner) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAccessToken401ResponseErrorInner) Unset()
- type NullableDocumentReferencesInner
- func (v NullableDocumentReferencesInner) Get() *DocumentReferencesInner
- func (v NullableDocumentReferencesInner) IsSet() bool
- func (v NullableDocumentReferencesInner) MarshalJSON() ([]byte, error)
- func (v *NullableDocumentReferencesInner) Set(val *DocumentReferencesInner)
- func (v *NullableDocumentReferencesInner) UnmarshalJSON(src []byte) error
- func (v *NullableDocumentReferencesInner) Unset()
- 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 NullableEvent
- type NullableEventReferencesInner
- func (v NullableEventReferencesInner) Get() *EventReferencesInner
- func (v NullableEventReferencesInner) IsSet() bool
- func (v NullableEventReferencesInner) MarshalJSON() ([]byte, error)
- func (v *NullableEventReferencesInner) Set(val *EventReferencesInner)
- func (v *NullableEventReferencesInner) UnmarshalJSON(src []byte) error
- func (v *NullableEventReferencesInner) Unset()
- type NullableEvents
- type NullableEventsEventsInner
- func (v NullableEventsEventsInner) Get() *EventsEventsInner
- func (v NullableEventsEventsInner) IsSet() bool
- func (v NullableEventsEventsInner) MarshalJSON() ([]byte, error)
- func (v *NullableEventsEventsInner) Set(val *EventsEventsInner)
- func (v *NullableEventsEventsInner) UnmarshalJSON(src []byte) error
- func (v *NullableEventsEventsInner) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLocation
- type NullableSeal
- 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 NullableTransportCall
- func (v NullableTransportCall) Get() *TransportCall
- func (v NullableTransportCall) IsSet() bool
- func (v NullableTransportCall) MarshalJSON() ([]byte, error)
- func (v *NullableTransportCall) Set(val *TransportCall)
- func (v *NullableTransportCall) UnmarshalJSON(src []byte) error
- func (v *NullableTransportCall) 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 NullableTransportEventAllOf1
- func (v NullableTransportEventAllOf1) Get() *TransportEventAllOf1
- func (v NullableTransportEventAllOf1) IsSet() bool
- func (v NullableTransportEventAllOf1) MarshalJSON() ([]byte, error)
- func (v *NullableTransportEventAllOf1) Set(val *TransportEventAllOf1)
- func (v *NullableTransportEventAllOf1) UnmarshalJSON(src []byte) error
- func (v *NullableTransportEventAllOf1) Unset()
- type NullableVessel
- type Seal
- func (o *Seal) GetSealNumber() string
- func (o *Seal) GetSealNumberOk() (*string, bool)
- func (o *Seal) GetSealSource() string
- func (o *Seal) GetSealSourceOk() (*string, bool)
- func (o *Seal) GetSealType() string
- func (o *Seal) GetSealTypeOk() (*string, bool)
- func (o *Seal) HasSealSource() bool
- func (o Seal) MarshalJSON() ([]byte, error)
- func (o *Seal) SetSealNumber(v string)
- func (o *Seal) SetSealSource(v string)
- func (o *Seal) SetSealType(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ShipmentEvent
- func (o *ShipmentEvent) GetDocumentID() string
- func (o *ShipmentEvent) GetDocumentIDOk() (*string, bool)
- func (o *ShipmentEvent) GetDocumentTypeCode() string
- func (o *ShipmentEvent) GetDocumentTypeCodeOk() (*string, bool)
- func (o *ShipmentEvent) GetEventClassifierCode() string
- func (o *ShipmentEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *ShipmentEvent) GetEventCreatedDateTime() time.Time
- func (o *ShipmentEvent) GetEventCreatedDateTimeOk() (*time.Time, bool)
- func (o *ShipmentEvent) GetEventDateTime() string
- func (o *ShipmentEvent) GetEventDateTimeOk() (*string, bool)
- func (o *ShipmentEvent) GetEventID() string
- func (o *ShipmentEvent) GetEventIDOk() (*string, bool)
- func (o *ShipmentEvent) GetEventType() string
- func (o *ShipmentEvent) GetEventTypeOk() (*string, bool)
- func (o *ShipmentEvent) GetReason() string
- func (o *ShipmentEvent) GetReasonOk() (*string, bool)
- func (o *ShipmentEvent) GetReferences() []EventReferencesInner
- func (o *ShipmentEvent) GetReferencesOk() ([]EventReferencesInner, bool)
- func (o *ShipmentEvent) GetShipmentEventTypeCode() string
- func (o *ShipmentEvent) GetShipmentEventTypeCodeOk() (*string, bool)
- func (o *ShipmentEvent) HasEventID() bool
- func (o *ShipmentEvent) HasReason() bool
- func (o *ShipmentEvent) HasReferences() bool
- func (o ShipmentEvent) MarshalJSON() ([]byte, error)
- func (o *ShipmentEvent) SetDocumentID(v string)
- func (o *ShipmentEvent) SetDocumentTypeCode(v string)
- func (o *ShipmentEvent) SetEventClassifierCode(v string)
- func (o *ShipmentEvent) SetEventCreatedDateTime(v time.Time)
- func (o *ShipmentEvent) SetEventDateTime(v string)
- func (o *ShipmentEvent) SetEventID(v string)
- func (o *ShipmentEvent) SetEventType(v string)
- func (o *ShipmentEvent) SetReason(v string)
- func (o *ShipmentEvent) SetReferences(v []EventReferencesInner)
- func (o *ShipmentEvent) SetShipmentEventTypeCode(v string)
- type ShipmentEventAllOf
- func (o *ShipmentEventAllOf) GetDocumentID() string
- func (o *ShipmentEventAllOf) GetDocumentIDOk() (*string, bool)
- func (o *ShipmentEventAllOf) GetDocumentTypeCode() string
- func (o *ShipmentEventAllOf) GetDocumentTypeCodeOk() (*string, bool)
- func (o *ShipmentEventAllOf) GetEventType() string
- func (o *ShipmentEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *ShipmentEventAllOf) GetReason() string
- func (o *ShipmentEventAllOf) GetReasonOk() (*string, bool)
- func (o *ShipmentEventAllOf) GetShipmentEventTypeCode() string
- func (o *ShipmentEventAllOf) GetShipmentEventTypeCodeOk() (*string, bool)
- func (o *ShipmentEventAllOf) HasEventType() bool
- func (o *ShipmentEventAllOf) HasReason() bool
- func (o ShipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (o *ShipmentEventAllOf) SetDocumentID(v string)
- func (o *ShipmentEventAllOf) SetDocumentTypeCode(v string)
- func (o *ShipmentEventAllOf) SetEventType(v string)
- func (o *ShipmentEventAllOf) SetReason(v string)
- func (o *ShipmentEventAllOf) SetShipmentEventTypeCode(v string)
- type TransportCall
- func (o *TransportCall) GetCarrierServiceCode() string
- func (o *TransportCall) GetCarrierServiceCodeOk() (*string, bool)
- func (o *TransportCall) GetCarrierVoyageNumber() string
- func (o *TransportCall) GetCarrierVoyageNumberOk() (*string, bool)
- func (o *TransportCall) GetExportVoyageNumber() string
- func (o *TransportCall) GetExportVoyageNumberOk() (*string, bool)
- func (o *TransportCall) GetFacilityCode() string
- func (o *TransportCall) GetFacilityCodeListProvider() string
- func (o *TransportCall) GetFacilityCodeListProviderOk() (*string, bool)
- func (o *TransportCall) GetFacilityCodeOk() (*string, bool)
- func (o *TransportCall) GetFacilityTypeCode() string
- func (o *TransportCall) GetFacilityTypeCodeOk() (*string, bool)
- func (o *TransportCall) GetImportVoyageNumber() string
- func (o *TransportCall) GetImportVoyageNumberOk() (*string, bool)
- func (o *TransportCall) GetLocation() Location
- func (o *TransportCall) GetLocationOk() (*Location, bool)
- func (o *TransportCall) GetModeOfTransport() string
- func (o *TransportCall) GetModeOfTransportOk() (*string, bool)
- func (o *TransportCall) GetOtherFacility() string
- func (o *TransportCall) GetOtherFacilityOk() (*string, bool)
- func (o *TransportCall) GetTransportCallID() string
- func (o *TransportCall) GetTransportCallIDOk() (*string, bool)
- func (o *TransportCall) GetTransportCallSequenceNumber() int32
- func (o *TransportCall) GetTransportCallSequenceNumberOk() (*int32, bool)
- func (o *TransportCall) GetUNLocationCode() string
- func (o *TransportCall) GetUNLocationCodeOk() (*string, bool)
- func (o *TransportCall) GetVessel() Vessel
- func (o *TransportCall) GetVesselOk() (*Vessel, bool)
- func (o *TransportCall) HasCarrierServiceCode() bool
- func (o *TransportCall) HasCarrierVoyageNumber() bool
- func (o *TransportCall) HasExportVoyageNumber() bool
- func (o *TransportCall) HasFacilityCode() bool
- func (o *TransportCall) HasFacilityCodeListProvider() bool
- func (o *TransportCall) HasFacilityTypeCode() bool
- func (o *TransportCall) HasImportVoyageNumber() bool
- func (o *TransportCall) HasLocation() bool
- func (o *TransportCall) HasOtherFacility() bool
- func (o *TransportCall) HasTransportCallID() bool
- func (o *TransportCall) HasTransportCallSequenceNumber() bool
- func (o *TransportCall) HasUNLocationCode() bool
- func (o *TransportCall) HasVessel() bool
- func (o TransportCall) MarshalJSON() ([]byte, error)
- func (o *TransportCall) SetCarrierServiceCode(v string)
- func (o *TransportCall) SetCarrierVoyageNumber(v string)
- func (o *TransportCall) SetExportVoyageNumber(v string)
- func (o *TransportCall) SetFacilityCode(v string)
- func (o *TransportCall) SetFacilityCodeListProvider(v string)
- func (o *TransportCall) SetFacilityTypeCode(v string)
- func (o *TransportCall) SetImportVoyageNumber(v string)
- func (o *TransportCall) SetLocation(v Location)
- func (o *TransportCall) SetModeOfTransport(v string)
- func (o *TransportCall) SetOtherFacility(v string)
- func (o *TransportCall) SetTransportCallID(v string)
- func (o *TransportCall) SetTransportCallSequenceNumber(v int32)
- func (o *TransportCall) SetUNLocationCode(v string)
- func (o *TransportCall) SetVessel(v Vessel)
- type TransportEvent
- func (o *TransportEvent) GetChangeRemark() string
- func (o *TransportEvent) GetChangeRemarkOk() (*string, bool)
- func (o *TransportEvent) GetDelayReasonCode() string
- func (o *TransportEvent) GetDelayReasonCodeOk() (*string, bool)
- func (o *TransportEvent) GetDocumentReferences() []DocumentReferencesInner
- func (o *TransportEvent) GetDocumentReferencesOk() ([]DocumentReferencesInner, bool)
- func (o *TransportEvent) GetEventClassifierCode() string
- func (o *TransportEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *TransportEvent) GetEventCreatedDateTime() time.Time
- func (o *TransportEvent) GetEventCreatedDateTimeOk() (*time.Time, bool)
- func (o *TransportEvent) GetEventDateTime() string
- func (o *TransportEvent) GetEventDateTimeOk() (*string, bool)
- func (o *TransportEvent) GetEventID() string
- func (o *TransportEvent) GetEventIDOk() (*string, bool)
- func (o *TransportEvent) GetEventType() string
- func (o *TransportEvent) GetEventTypeOk() (*string, bool)
- func (o *TransportEvent) GetReferences() []EventReferencesInner
- func (o *TransportEvent) GetReferencesOk() ([]EventReferencesInner, bool)
- func (o *TransportEvent) GetTransportCall() TransportCall
- func (o *TransportEvent) GetTransportCallOk() (*TransportCall, bool)
- func (o *TransportEvent) GetTransportEventTypeCode() string
- func (o *TransportEvent) GetTransportEventTypeCodeOk() (*string, bool)
- func (o *TransportEvent) HasChangeRemark() bool
- func (o *TransportEvent) HasDelayReasonCode() bool
- func (o *TransportEvent) HasDocumentReferences() bool
- func (o *TransportEvent) HasEventID() bool
- func (o *TransportEvent) HasReferences() bool
- func (o *TransportEvent) HasTransportEventTypeCode() bool
- func (o TransportEvent) MarshalJSON() ([]byte, error)
- func (o *TransportEvent) SetChangeRemark(v string)
- func (o *TransportEvent) SetDelayReasonCode(v string)
- func (o *TransportEvent) SetDocumentReferences(v []DocumentReferencesInner)
- func (o *TransportEvent) SetEventClassifierCode(v string)
- func (o *TransportEvent) SetEventCreatedDateTime(v time.Time)
- func (o *TransportEvent) SetEventDateTime(v string)
- func (o *TransportEvent) SetEventID(v string)
- func (o *TransportEvent) SetEventType(v string)
- func (o *TransportEvent) SetReferences(v []EventReferencesInner)
- func (o *TransportEvent) SetTransportCall(v TransportCall)
- func (o *TransportEvent) SetTransportEventTypeCode(v string)
- type TransportEventAllOf
- func (o *TransportEventAllOf) GetChangeRemark() string
- func (o *TransportEventAllOf) GetChangeRemarkOk() (*string, bool)
- func (o *TransportEventAllOf) GetDelayReasonCode() string
- func (o *TransportEventAllOf) GetDelayReasonCodeOk() (*string, bool)
- func (o *TransportEventAllOf) GetDocumentReferences() []DocumentReferencesInner
- func (o *TransportEventAllOf) GetDocumentReferencesOk() ([]DocumentReferencesInner, bool)
- func (o *TransportEventAllOf) GetEventType() string
- func (o *TransportEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *TransportEventAllOf) GetTransportEventTypeCode() string
- func (o *TransportEventAllOf) GetTransportEventTypeCodeOk() (*string, bool)
- func (o *TransportEventAllOf) HasChangeRemark() bool
- func (o *TransportEventAllOf) HasDelayReasonCode() bool
- func (o *TransportEventAllOf) HasDocumentReferences() bool
- func (o *TransportEventAllOf) HasEventType() bool
- func (o *TransportEventAllOf) HasTransportEventTypeCode() bool
- func (o TransportEventAllOf) MarshalJSON() ([]byte, error)
- func (o *TransportEventAllOf) SetChangeRemark(v string)
- func (o *TransportEventAllOf) SetDelayReasonCode(v string)
- func (o *TransportEventAllOf) SetDocumentReferences(v []DocumentReferencesInner)
- func (o *TransportEventAllOf) SetEventType(v string)
- func (o *TransportEventAllOf) SetTransportEventTypeCode(v string)
- type TransportEventAllOf1
- type Vessel
- func (o *Vessel) GetVesselCallSignNumber() string
- func (o *Vessel) GetVesselCallSignNumberOk() (*string, bool)
- func (o *Vessel) GetVesselFlag() string
- func (o *Vessel) GetVesselFlagOk() (*string, bool)
- func (o *Vessel) GetVesselIMONumber() string
- func (o *Vessel) GetVesselIMONumberOk() (*string, bool)
- func (o *Vessel) GetVesselName() string
- func (o *Vessel) GetVesselNameOk() (*string, bool)
- func (o *Vessel) GetVesselOperatorCarrierCode() string
- func (o *Vessel) GetVesselOperatorCarrierCodeListProvider() string
- func (o *Vessel) GetVesselOperatorCarrierCodeListProviderOk() (*string, bool)
- func (o *Vessel) GetVesselOperatorCarrierCodeOk() (*string, bool)
- func (o *Vessel) HasVesselCallSignNumber() bool
- func (o *Vessel) HasVesselFlag() bool
- func (o *Vessel) HasVesselName() bool
- func (o *Vessel) HasVesselOperatorCarrierCode() bool
- func (o *Vessel) HasVesselOperatorCarrierCodeListProvider() bool
- func (o Vessel) MarshalJSON() ([]byte, error)
- func (o *Vessel) SetVesselCallSignNumber(v string)
- func (o *Vessel) SetVesselFlag(v string)
- func (o *Vessel) SetVesselIMONumber(v string)
- func (o *Vessel) SetVesselName(v string)
- func (o *Vessel) SetVesselOperatorCarrierCode(v string)
- func (o *Vessel) SetVesselOperatorCarrierCodeListProvider(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 { AuthApi AuthApi EventsApi EventsApi // contains filtered or unexported fields }
APIClient manages communication with the Track & Trace Events API v1.1.1 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 Address ¶
type Address struct { // Name of the address AddressName *string `json:"addressName,omitempty"` // The name of the street of the party’s address. StreetName *string `json:"streetName,omitempty"` // The number of the street of the party’s address. StreetNumber *string `json:"streetNumber,omitempty"` // The floor of the party’s street number. Floor *string `json:"floor,omitempty"` // The postal code of the party’s address. PostCode *string `json:"postCode,omitempty"` // The city name of the party’s address. CityName *string `json:"cityName,omitempty"` // The state/region of the party’s address. StateRegion *string `json:"stateRegion,omitempty"` // The country of the party’s address. Country *string `json:"country,omitempty"` }
Address Address related information
func NewAddress ¶
func NewAddress() *Address
NewAddress instantiates a new Address 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 NewAddressWithDefaults ¶
func NewAddressWithDefaults() *Address
NewAddressWithDefaults instantiates a new Address 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 (*Address) GetAddressName ¶
GetAddressName returns the AddressName field value if set, zero value otherwise.
func (*Address) GetAddressNameOk ¶
GetAddressNameOk returns a tuple with the AddressName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetCityName ¶
GetCityName returns the CityName field value if set, zero value otherwise.
func (*Address) GetCityNameOk ¶
GetCityNameOk returns a tuple with the CityName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetCountry ¶
GetCountry returns the Country field value if set, zero value otherwise.
func (*Address) GetCountryOk ¶
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetFloorOk ¶
GetFloorOk returns a tuple with the Floor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetPostCode ¶
GetPostCode returns the PostCode field value if set, zero value otherwise.
func (*Address) GetPostCodeOk ¶
GetPostCodeOk returns a tuple with the PostCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetStateRegion ¶
GetStateRegion returns the StateRegion field value if set, zero value otherwise.
func (*Address) GetStateRegionOk ¶
GetStateRegionOk returns a tuple with the StateRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetStreetName ¶
GetStreetName returns the StreetName field value if set, zero value otherwise.
func (*Address) GetStreetNameOk ¶
GetStreetNameOk returns a tuple with the StreetName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) GetStreetNumber ¶
GetStreetNumber returns the StreetNumber field value if set, zero value otherwise.
func (*Address) GetStreetNumberOk ¶
GetStreetNumberOk returns a tuple with the StreetNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Address) HasAddressName ¶
HasAddressName returns a boolean if a field has been set.
func (*Address) HasCityName ¶
HasCityName returns a boolean if a field has been set.
func (*Address) HasCountry ¶
HasCountry returns a boolean if a field has been set.
func (*Address) HasPostCode ¶
HasPostCode returns a boolean if a field has been set.
func (*Address) HasStateRegion ¶
HasStateRegion returns a boolean if a field has been set.
func (*Address) HasStreetName ¶
HasStreetName returns a boolean if a field has been set.
func (*Address) HasStreetNumber ¶
HasStreetNumber returns a boolean if a field has been set.
func (Address) MarshalJSON ¶
func (*Address) SetAddressName ¶
SetAddressName gets a reference to the given string and assigns it to the AddressName field.
func (*Address) SetCityName ¶
SetCityName gets a reference to the given string and assigns it to the CityName field.
func (*Address) SetCountry ¶
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*Address) SetFloor ¶
SetFloor gets a reference to the given string and assigns it to the Floor field.
func (*Address) SetPostCode ¶
SetPostCode gets a reference to the given string and assigns it to the PostCode field.
func (*Address) SetStateRegion ¶
SetStateRegion gets a reference to the given string and assigns it to the StateRegion field.
func (*Address) SetStreetName ¶
SetStreetName gets a reference to the given string and assigns it to the StreetName field.
func (*Address) SetStreetNumber ¶
SetStreetNumber gets a reference to the given string and assigns it to the StreetNumber field.
type ApiCreateAccessTokenRequest ¶
type ApiCreateAccessTokenRequest struct { ApiService AuthApi // contains filtered or unexported fields }
func (ApiCreateAccessTokenRequest) ClientId ¶
func (r ApiCreateAccessTokenRequest) ClientId(clientId string) ApiCreateAccessTokenRequest
func (ApiCreateAccessTokenRequest) ClientSecret ¶
func (r ApiCreateAccessTokenRequest) ClientSecret(clientSecret string) ApiCreateAccessTokenRequest
func (ApiCreateAccessTokenRequest) ConsumerKey ¶ added in v1.1.0
func (r ApiCreateAccessTokenRequest) ConsumerKey(consumerKey string) ApiCreateAccessTokenRequest
The Consumer Key issued for your registered application.
func (ApiCreateAccessTokenRequest) Execute ¶
func (r ApiCreateAccessTokenRequest) Execute() (*CreateAccessToken200Response, *http.Response, error)
func (ApiCreateAccessTokenRequest) GrantType ¶
func (r ApiCreateAccessTokenRequest) GrantType(grantType string) ApiCreateAccessTokenRequest
type ApiError ¶
type ApiError struct { Id *string `json:"id,omitempty"` // The request method type e.g. GET, POST. Method string `json:"method"` // The request URI. RequestUri string `json:"requestUri"` // HTTP status code. Status int32 `json:"status"` // The date and time (dd-MM-yyyy hh:mm:ss) the error occured. Timestamp string `json:"timestamp"` // High level error message. Message string `json:"message"` // Detailed error message. DebugMessage *string `json:"debugMessage,omitempty"` // The list of invalid fields in the request. SubErrors []ApiValidationError `json:"subErrors,omitempty"` }
ApiError struct for ApiError
func NewApiError ¶
func NewApiError(method string, requestUri string, status int32, timestamp string, message string) *ApiError
NewApiError instantiates a new ApiError 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 NewApiErrorWithDefaults ¶
func NewApiErrorWithDefaults() *ApiError
NewApiErrorWithDefaults instantiates a new ApiError 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 (*ApiError) GetDebugMessage ¶
GetDebugMessage returns the DebugMessage field value if set, zero value otherwise.
func (*ApiError) GetDebugMessageOk ¶
GetDebugMessageOk returns a tuple with the DebugMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiError) GetId ¶ added in v1.0.1
GetId returns the Id field value if set, zero value otherwise.
func (*ApiError) GetIdOk ¶ added in v1.0.1
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiError) GetMessage ¶
GetMessage returns the Message field value
func (*ApiError) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ApiError) GetMethodOk ¶
GetMethodOk returns a tuple with the Method field value and a boolean to check if the value has been set.
func (*ApiError) GetRequestUri ¶
GetRequestUri returns the RequestUri field value
func (*ApiError) GetRequestUriOk ¶
GetRequestUriOk returns a tuple with the RequestUri field value and a boolean to check if the value has been set.
func (*ApiError) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ApiError) GetSubErrors ¶
func (o *ApiError) GetSubErrors() []ApiValidationError
GetSubErrors returns the SubErrors field value if set, zero value otherwise.
func (*ApiError) GetSubErrorsOk ¶
func (o *ApiError) GetSubErrorsOk() ([]ApiValidationError, bool)
GetSubErrorsOk returns a tuple with the SubErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiError) GetTimestamp ¶
GetTimestamp returns the Timestamp field value
func (*ApiError) GetTimestampOk ¶
GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.
func (*ApiError) HasDebugMessage ¶ added in v1.0.1
HasDebugMessage returns a boolean if a field has been set.
func (*ApiError) HasSubErrors ¶
HasSubErrors returns a boolean if a field has been set.
func (ApiError) MarshalJSON ¶
func (*ApiError) SetDebugMessage ¶
SetDebugMessage gets a reference to the given string and assigns it to the DebugMessage field.
func (*ApiError) SetId ¶ added in v1.0.1
SetId gets a reference to the given string and assigns it to the Id field.
func (*ApiError) SetRequestUri ¶
SetRequestUri sets field value
func (*ApiError) SetSubErrors ¶
func (o *ApiError) SetSubErrors(v []ApiValidationError)
SetSubErrors gets a reference to the given []ApiValidationError and assigns it to the SubErrors field.
func (*ApiError) SetTimestamp ¶
SetTimestamp sets field value
type ApiListEventsRequest ¶
type ApiListEventsRequest struct { ApiService EventsApi // contains filtered or unexported fields }
func (ApiListEventsRequest) APIVersion ¶
func (r ApiListEventsRequest) APIVersion(aPIVersion string) ApiListEventsRequest
An API-Version header MAY be added to the request (optional); if added it MUST only contain MAJOR version. API-Version header MUST be aligned with the URI version.
func (ApiListEventsRequest) Authorization ¶
func (r ApiListEventsRequest) Authorization(authorization string) ApiListEventsRequest
Bearer JWT
func (ApiListEventsRequest) CarrierBookingReference ¶
func (r ApiListEventsRequest) CarrierBookingReference(carrierBookingReference string) ApiListEventsRequest
A set of unique characters provided by carrier to identify a booking. Specifying this filter will only return events related to this particular carrierBookingReference.
func (ApiListEventsRequest) ConsumerKey ¶
func (r ApiListEventsRequest) ConsumerKey(consumerKey string) ApiListEventsRequest
The Consumer Key issued for your registered application.
func (ApiListEventsRequest) Cursor ¶
func (r ApiListEventsRequest) Cursor(cursor string) ApiListEventsRequest
A server generated value to specify a specific point in a collection result, used for pagination. The current, previous, next, first and last pages are available in the response headers. For the initial request to the service, this parameter should be null or 1.
func (ApiListEventsRequest) EquipmentEventTypeCode ¶
func (r ApiListEventsRequest) EquipmentEventTypeCode(equipmentEventTypeCode []string) ApiListEventsRequest
Unique identifier for equipmentEventTypeCode. * LOAD (Loaded) * DISC (Discharged) * GTIN (Gated in) * GTOT (Gated out) * STUF (Stuffed) * STRP (Stripped) * PICK (Pick-up) * DROP (Drop-off) * RSEA (Resealed) * RMVD (Removed) * INSP (Inspected) It is possible to select multiple values by comma (,) separating them. For multiple values the OR operator is used. For example, [equipmentEventTypeCode=GTIN,GTOT] matches **both** Gated in (GTIN) and Gated out (GTOT) equipment events.\\ Default is all equipmentEventTypeCodes.\\ This filter is only relevant when filtering on EquipmentEvents
func (ApiListEventsRequest) EquipmentReference ¶
func (r ApiListEventsRequest) EquipmentReference(equipmentReference string) ApiListEventsRequest
Will filter by the unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. Specifying this filter will only return events related to this particular equipmentReference
func (ApiListEventsRequest) EventCreatedDateTime ¶
func (r ApiListEventsRequest) EventCreatedDateTime(eventCreatedDateTime string) ApiListEventsRequest
Limit the result based on a UTC date. It is possible to use operators on this query parameter. This is done by adding an operator at the beginning of the value followed by a colon:\\ eventCreatedDateTime = **gte**:2021-04-01T00:00:00Z\\ would result in all events created >= 2021-04-01T00:00:00Z\\ The following operators are supported - gte: (>= Greater than or equal) - gt: (> Greater than) - lte: (<= Less than or equal) - lt: (< Less than) - eq: (= Equal to) If no operator is provided, a **strictly equal** is used (this is equivalent to **eq:** operator).
func (ApiListEventsRequest) EventType ¶
func (r ApiListEventsRequest) EventType(eventType []string) ApiListEventsRequest
The type of event(s) to filter by. Possible values are - SHIPMENT (Shipment events) - TRANSPORT (Transport events) - EQUIPMENT (Equipment events) It is possible to select multiple values by comma (,) separating them. For multiple values the OR operator is used. For example, [eventType=SHIPMENT,EQUIPMENT] matches both Shipment and Equipment events.\\ Default value is all event types.
func (ApiListEventsRequest) Execute ¶
func (r ApiListEventsRequest) Execute() (*Events, *http.Response, error)
func (ApiListEventsRequest) Limit ¶
func (r ApiListEventsRequest) Limit(limit int32) ApiListEventsRequest
Maximum number of items to return.
func (ApiListEventsRequest) ShipmentEventTypeCode ¶
func (r ApiListEventsRequest) ShipmentEventTypeCode(shipmentEventTypeCode []string) ApiListEventsRequest
The status of the document in the process to filter by. Possible values are - RECE (Received) - DRFT (Drafted) - PENA (Pending Approval) - PENU (Pending Update) - REJE (Rejected) - APPR (Approved) - ISSU (Issued) - SURR (Surrendered) - SUBM (Submitted) - VOID (Void) - CONF (Confirmed) - REQS (Requested) - CMPL (Completed) - HOLD (On Hold) - RELS (Released) It is possible to select multiple values by comma (,) separating them. For multiple values the OR-operator is used. For example, [shipmentEventTypeCode=RECE,DRFT] matches **both** Received (RECE) and Drafted (DRFT) shipment events.\\ Default is all shipmentEventTypeCodes.\\ This filter is only relevant when filtering on ShipmentEvents **Note: Version 1.1 replaces CONF (Confirmed) for RELS (Released) for documentTypeCode SRM (Shipment Release Message).**
func (ApiListEventsRequest) TransportDocumentReference ¶
func (r ApiListEventsRequest) TransportDocumentReference(transportDocumentReference string) ApiListEventsRequest
A unique number reference allocated by the shipping line to the transport document and the main number used for the tracking of the status of the shipment. Specifying this filter will only return events related to this particular transportDocumentReference
func (ApiListEventsRequest) TransportEventTypeCode ¶
func (r ApiListEventsRequest) TransportEventTypeCode(transportEventTypeCode []string) ApiListEventsRequest
Identifier for type of Transport event to filter by - ARRI (Arrived) - DEPA (Departed) It is possible to select multiple values by comma (,) separating them. For multiple values the OR operator is used. For example, [transportEventTypeCode=ARRI,DEPA} matches **both** Arrived (ARRI) and Departed (DEPA) transport events.\\ Default is all transportEventTypeCodes.\\ This filter is only relevant when filtering on TransportEvents
type ApiValidationError ¶
type ApiValidationError struct { // The field that has failed validation. Field string `json:"field"` // The value that has failed validation. RejectedValue string `json:"rejectedValue"` // The reason and advice for failed validation. Message string `json:"message"` }
ApiValidationError struct for ApiValidationError
func NewApiValidationError ¶
func NewApiValidationError(field string, rejectedValue string, message string) *ApiValidationError
NewApiValidationError instantiates a new ApiValidationError 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 NewApiValidationErrorWithDefaults ¶
func NewApiValidationErrorWithDefaults() *ApiValidationError
NewApiValidationErrorWithDefaults instantiates a new ApiValidationError 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 (*ApiValidationError) GetField ¶
func (o *ApiValidationError) GetField() string
GetField returns the Field field value
func (*ApiValidationError) GetFieldOk ¶
func (o *ApiValidationError) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field value and a boolean to check if the value has been set.
func (*ApiValidationError) GetMessage ¶
func (o *ApiValidationError) GetMessage() string
GetMessage returns the Message field value
func (*ApiValidationError) GetMessageOk ¶
func (o *ApiValidationError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ApiValidationError) GetRejectedValue ¶
func (o *ApiValidationError) GetRejectedValue() string
GetRejectedValue returns the RejectedValue field value
func (*ApiValidationError) GetRejectedValueOk ¶
func (o *ApiValidationError) GetRejectedValueOk() (*string, bool)
GetRejectedValueOk returns a tuple with the RejectedValue field value and a boolean to check if the value has been set.
func (ApiValidationError) MarshalJSON ¶
func (o ApiValidationError) MarshalJSON() ([]byte, error)
func (*ApiValidationError) SetField ¶
func (o *ApiValidationError) SetField(v string)
SetField sets field value
func (*ApiValidationError) SetMessage ¶
func (o *ApiValidationError) SetMessage(v string)
SetMessage sets field value
func (*ApiValidationError) SetRejectedValue ¶
func (o *ApiValidationError) SetRejectedValue(v string)
SetRejectedValue sets field value
type AuthApi ¶
type AuthApi interface { /* CreateAccessToken Method for CreateAccessToken @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateAccessTokenRequest */ CreateAccessToken(ctx context.Context) ApiCreateAccessTokenRequest // CreateAccessTokenExecute executes the request // @return CreateAccessToken200Response CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*CreateAccessToken200Response, *http.Response, error) }
type AuthApiService ¶
type AuthApiService service
AuthApiService AuthApi service
func (*AuthApiService) CreateAccessToken ¶
func (a *AuthApiService) CreateAccessToken(ctx context.Context) ApiCreateAccessTokenRequest
CreateAccessToken Method for CreateAccessToken
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateAccessTokenRequest
func (*AuthApiService) CreateAccessTokenExecute ¶
func (a *AuthApiService) CreateAccessTokenExecute(r ApiCreateAccessTokenRequest) (*CreateAccessToken200Response, *http.Response, error)
Execute executes the request
@return CreateAccessToken200Response
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 CreateAccessToken200Response ¶
type CreateAccessToken200Response struct { AccessToken string `json:"access_token"` Scope string `json:"scope"` IdToken string `json:"id_token"` TokenType string `json:"token_type"` ExpiresIn int32 `json:"expires_in"` }
CreateAccessToken200Response struct for CreateAccessToken200Response
func NewCreateAccessToken200Response ¶
func NewCreateAccessToken200Response(accessToken string, scope string, idToken string, tokenType string, expiresIn int32) *CreateAccessToken200Response
NewCreateAccessToken200Response instantiates a new CreateAccessToken200Response 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 NewCreateAccessToken200ResponseWithDefaults ¶
func NewCreateAccessToken200ResponseWithDefaults() *CreateAccessToken200Response
NewCreateAccessToken200ResponseWithDefaults instantiates a new CreateAccessToken200Response 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 (*CreateAccessToken200Response) GetAccessToken ¶
func (o *CreateAccessToken200Response) GetAccessToken() string
GetAccessToken returns the AccessToken field value
func (*CreateAccessToken200Response) GetAccessTokenOk ¶
func (o *CreateAccessToken200Response) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field value and a boolean to check if the value has been set.
func (*CreateAccessToken200Response) GetExpiresIn ¶
func (o *CreateAccessToken200Response) GetExpiresIn() int32
GetExpiresIn returns the ExpiresIn field value
func (*CreateAccessToken200Response) GetExpiresInOk ¶
func (o *CreateAccessToken200Response) GetExpiresInOk() (*int32, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field value and a boolean to check if the value has been set.
func (*CreateAccessToken200Response) GetIdToken ¶
func (o *CreateAccessToken200Response) GetIdToken() string
GetIdToken returns the IdToken field value
func (*CreateAccessToken200Response) GetIdTokenOk ¶
func (o *CreateAccessToken200Response) GetIdTokenOk() (*string, bool)
GetIdTokenOk returns a tuple with the IdToken field value and a boolean to check if the value has been set.
func (*CreateAccessToken200Response) GetScope ¶
func (o *CreateAccessToken200Response) GetScope() string
GetScope returns the Scope field value
func (*CreateAccessToken200Response) GetScopeOk ¶
func (o *CreateAccessToken200Response) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.
func (*CreateAccessToken200Response) GetTokenType ¶
func (o *CreateAccessToken200Response) GetTokenType() string
GetTokenType returns the TokenType field value
func (*CreateAccessToken200Response) GetTokenTypeOk ¶
func (o *CreateAccessToken200Response) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field value and a boolean to check if the value has been set.
func (CreateAccessToken200Response) MarshalJSON ¶
func (o CreateAccessToken200Response) MarshalJSON() ([]byte, error)
func (*CreateAccessToken200Response) SetAccessToken ¶
func (o *CreateAccessToken200Response) SetAccessToken(v string)
SetAccessToken sets field value
func (*CreateAccessToken200Response) SetExpiresIn ¶
func (o *CreateAccessToken200Response) SetExpiresIn(v int32)
SetExpiresIn sets field value
func (*CreateAccessToken200Response) SetIdToken ¶
func (o *CreateAccessToken200Response) SetIdToken(v string)
SetIdToken sets field value
func (*CreateAccessToken200Response) SetScope ¶
func (o *CreateAccessToken200Response) SetScope(v string)
SetScope sets field value
func (*CreateAccessToken200Response) SetTokenType ¶
func (o *CreateAccessToken200Response) SetTokenType(v string)
SetTokenType sets field value
type CreateAccessToken400Response ¶
type CreateAccessToken400Response struct { ErrorDescription *string `json:"error_description,omitempty"` Error *string `json:"error,omitempty"` }
CreateAccessToken400Response struct for CreateAccessToken400Response
func NewCreateAccessToken400Response ¶
func NewCreateAccessToken400Response() *CreateAccessToken400Response
NewCreateAccessToken400Response instantiates a new CreateAccessToken400Response 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 NewCreateAccessToken400ResponseWithDefaults ¶
func NewCreateAccessToken400ResponseWithDefaults() *CreateAccessToken400Response
NewCreateAccessToken400ResponseWithDefaults instantiates a new CreateAccessToken400Response 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 (*CreateAccessToken400Response) GetError ¶
func (o *CreateAccessToken400Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*CreateAccessToken400Response) GetErrorDescription ¶
func (o *CreateAccessToken400Response) GetErrorDescription() string
GetErrorDescription returns the ErrorDescription field value if set, zero value otherwise.
func (*CreateAccessToken400Response) GetErrorDescriptionOk ¶
func (o *CreateAccessToken400Response) GetErrorDescriptionOk() (*string, bool)
GetErrorDescriptionOk returns a tuple with the ErrorDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAccessToken400Response) GetErrorOk ¶
func (o *CreateAccessToken400Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAccessToken400Response) HasError ¶
func (o *CreateAccessToken400Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*CreateAccessToken400Response) HasErrorDescription ¶
func (o *CreateAccessToken400Response) HasErrorDescription() bool
HasErrorDescription returns a boolean if a field has been set.
func (CreateAccessToken400Response) MarshalJSON ¶
func (o CreateAccessToken400Response) MarshalJSON() ([]byte, error)
func (*CreateAccessToken400Response) SetError ¶
func (o *CreateAccessToken400Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*CreateAccessToken400Response) SetErrorDescription ¶
func (o *CreateAccessToken400Response) SetErrorDescription(v string)
SetErrorDescription gets a reference to the given string and assigns it to the ErrorDescription field.
type CreateAccessToken401Response ¶ added in v1.1.0
type CreateAccessToken401Response struct {
Error []CreateAccessToken401ResponseErrorInner `json:"error,omitempty"`
}
CreateAccessToken401Response struct for CreateAccessToken401Response
func NewCreateAccessToken401Response ¶ added in v1.1.0
func NewCreateAccessToken401Response() *CreateAccessToken401Response
NewCreateAccessToken401Response instantiates a new CreateAccessToken401Response 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 NewCreateAccessToken401ResponseWithDefaults ¶ added in v1.1.0
func NewCreateAccessToken401ResponseWithDefaults() *CreateAccessToken401Response
NewCreateAccessToken401ResponseWithDefaults instantiates a new CreateAccessToken401Response 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 (*CreateAccessToken401Response) GetError ¶ added in v1.1.0
func (o *CreateAccessToken401Response) GetError() []CreateAccessToken401ResponseErrorInner
GetError returns the Error field value if set, zero value otherwise.
func (*CreateAccessToken401Response) GetErrorOk ¶ added in v1.1.0
func (o *CreateAccessToken401Response) GetErrorOk() ([]CreateAccessToken401ResponseErrorInner, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAccessToken401Response) HasError ¶ added in v1.1.0
func (o *CreateAccessToken401Response) HasError() bool
HasError returns a boolean if a field has been set.
func (CreateAccessToken401Response) MarshalJSON ¶ added in v1.1.0
func (o CreateAccessToken401Response) MarshalJSON() ([]byte, error)
func (*CreateAccessToken401Response) SetError ¶ added in v1.1.0
func (o *CreateAccessToken401Response) SetError(v []CreateAccessToken401ResponseErrorInner)
SetError gets a reference to the given []CreateAccessToken401ResponseErrorInner and assigns it to the Error field.
type CreateAccessToken401ResponseErrorInner ¶ added in v1.1.0
type CreateAccessToken401ResponseErrorInner struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Reason *string `json:"reason,omitempty"` Status *string `json:"status,omitempty"` }
CreateAccessToken401ResponseErrorInner struct for CreateAccessToken401ResponseErrorInner
func NewCreateAccessToken401ResponseErrorInner ¶ added in v1.1.0
func NewCreateAccessToken401ResponseErrorInner() *CreateAccessToken401ResponseErrorInner
NewCreateAccessToken401ResponseErrorInner instantiates a new CreateAccessToken401ResponseErrorInner 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 NewCreateAccessToken401ResponseErrorInnerWithDefaults ¶ added in v1.1.0
func NewCreateAccessToken401ResponseErrorInnerWithDefaults() *CreateAccessToken401ResponseErrorInner
NewCreateAccessToken401ResponseErrorInnerWithDefaults instantiates a new CreateAccessToken401ResponseErrorInner 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 (*CreateAccessToken401ResponseErrorInner) GetCode ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) GetCode() string
GetCode returns the Code field value if set, zero value otherwise.
func (*CreateAccessToken401ResponseErrorInner) GetCodeOk ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAccessToken401ResponseErrorInner) GetMessage ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateAccessToken401ResponseErrorInner) GetMessageOk ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAccessToken401ResponseErrorInner) GetReason ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*CreateAccessToken401ResponseErrorInner) GetReasonOk ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAccessToken401ResponseErrorInner) GetStatus ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*CreateAccessToken401ResponseErrorInner) GetStatusOk ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAccessToken401ResponseErrorInner) HasCode ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*CreateAccessToken401ResponseErrorInner) HasMessage ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*CreateAccessToken401ResponseErrorInner) HasReason ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*CreateAccessToken401ResponseErrorInner) HasStatus ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (CreateAccessToken401ResponseErrorInner) MarshalJSON ¶ added in v1.1.0
func (o CreateAccessToken401ResponseErrorInner) MarshalJSON() ([]byte, error)
func (*CreateAccessToken401ResponseErrorInner) SetCode ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) SetCode(v string)
SetCode gets a reference to the given string and assigns it to the Code field.
func (*CreateAccessToken401ResponseErrorInner) SetMessage ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*CreateAccessToken401ResponseErrorInner) SetReason ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*CreateAccessToken401ResponseErrorInner) SetStatus ¶ added in v1.1.0
func (o *CreateAccessToken401ResponseErrorInner) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
type DocumentReferencesInner ¶
type DocumentReferencesInner struct { // Describes where the documentReferenceValue is pointing to * BKG (Booking) * TRD (Transport Document) DocumentReferenceType *string `json:"documentReferenceType,omitempty"` // The value of the identifier the documentReferenceType is describing DocumentReferenceValue *string `json:"documentReferenceValue,omitempty"` }
DocumentReferencesInner struct for DocumentReferencesInner
func NewDocumentReferencesInner ¶
func NewDocumentReferencesInner() *DocumentReferencesInner
NewDocumentReferencesInner instantiates a new DocumentReferencesInner 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 NewDocumentReferencesInnerWithDefaults ¶
func NewDocumentReferencesInnerWithDefaults() *DocumentReferencesInner
NewDocumentReferencesInnerWithDefaults instantiates a new DocumentReferencesInner 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 (*DocumentReferencesInner) GetDocumentReferenceType ¶
func (o *DocumentReferencesInner) GetDocumentReferenceType() string
GetDocumentReferenceType returns the DocumentReferenceType field value if set, zero value otherwise.
func (*DocumentReferencesInner) GetDocumentReferenceTypeOk ¶
func (o *DocumentReferencesInner) GetDocumentReferenceTypeOk() (*string, bool)
GetDocumentReferenceTypeOk returns a tuple with the DocumentReferenceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocumentReferencesInner) GetDocumentReferenceValue ¶
func (o *DocumentReferencesInner) GetDocumentReferenceValue() string
GetDocumentReferenceValue returns the DocumentReferenceValue field value if set, zero value otherwise.
func (*DocumentReferencesInner) GetDocumentReferenceValueOk ¶
func (o *DocumentReferencesInner) GetDocumentReferenceValueOk() (*string, bool)
GetDocumentReferenceValueOk returns a tuple with the DocumentReferenceValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocumentReferencesInner) HasDocumentReferenceType ¶
func (o *DocumentReferencesInner) HasDocumentReferenceType() bool
HasDocumentReferenceType returns a boolean if a field has been set.
func (*DocumentReferencesInner) HasDocumentReferenceValue ¶
func (o *DocumentReferencesInner) HasDocumentReferenceValue() bool
HasDocumentReferenceValue returns a boolean if a field has been set.
func (DocumentReferencesInner) MarshalJSON ¶
func (o DocumentReferencesInner) MarshalJSON() ([]byte, error)
func (*DocumentReferencesInner) SetDocumentReferenceType ¶
func (o *DocumentReferencesInner) SetDocumentReferenceType(v string)
SetDocumentReferenceType gets a reference to the given string and assigns it to the DocumentReferenceType field.
func (*DocumentReferencesInner) SetDocumentReferenceValue ¶
func (o *DocumentReferencesInner) SetDocumentReferenceValue(v string)
SetDocumentReferenceValue gets a reference to the given string and assigns it to the DocumentReferenceValue field.
type EquipmentEvent ¶
type EquipmentEvent struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID *string `json:"eventID,omitempty"` EventType string `json:"eventType"` // The local date and time, where the event took place or when the event will take place, in ISO 8601 format. For Shipment Event, it is the same as eventCreatedDateTime in UTC timezone. EventDateTime string `json:"eventDateTime"` // The UTC timestamp of when the event was created. EventCreatedDateTime time.Time `json:"eventCreatedDateTime"` // Code for the event classifier, either PLN, ACT or EST. * PLN - Planned * ACT - Actual * EST - Estimated EventClassifierCode string `json:"eventClassifierCode"` // References provided by the shipper or freight forwarder at the time of booking or at the time of providing shipping instruction. Carriers share it back when providing track and trace event updates, some are also printed on the B/L. Customers can use these references to track shipments in their internal systems. References []EventReferencesInner `json:"references,omitempty"` // Unique identifier for equipmentEventTypeCode. * LOAD (Loaded) * DISC (Discharged) * GTIN (Gated in) * GTOT (Gated out) * STUF (Stuffed) * STRP (Stripped) * PICK (Pick-up) * DROP (Drop-off) * RSEA (Resealed) * RMVD (Removed) * INSP (Inspected) EquipmentEventTypeCode *string `json:"equipmentEventTypeCode,omitempty"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. According to ISO 6346, a container identification code consists of a 4-letter prefix and a 7-digit number (composed of a 3-letter owner code, a category identifier, a serial number, and a check-digit). If a container does not comply with ISO 6346, it is suggested to follow Recommendation #2 “Container with non-ISO identification” from SMDG. EquipmentReference *string `json:"equipmentReference,omitempty"` // Unique code for the different equipment size/type used for transporting commodities. The code is a concatenation of ISO Equipment Size Code and ISO Equipment Type Code A and follows the ISO 6346 standard. ISOEquipmentCode *string `json:"ISOEquipmentCode,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` // An optional list of key-value (documentReferenceType-documentReferenceValue) pairs representing links to objects relevant to the event. The documentReferenceType-field is used to describe where the documentReferenceValue-field is pointing to. DocumentReferences []DocumentReferencesInner `json:"documentReferences,omitempty"` EventLocation *Location `json:"eventLocation,omitempty"` TransportCall TransportCall `json:"transportCall"` Seals []Seal `json:"seals,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(eventType string, eventDateTime string, eventCreatedDateTime time.Time, eventClassifierCode string, emptyIndicatorCode string, transportCall TransportCall) *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) GetDocumentReferences ¶
func (o *EquipmentEvent) GetDocumentReferences() []DocumentReferencesInner
GetDocumentReferences returns the DocumentReferences field value if set, zero value otherwise.
func (*EquipmentEvent) GetDocumentReferencesOk ¶
func (o *EquipmentEvent) GetDocumentReferencesOk() ([]DocumentReferencesInner, bool)
GetDocumentReferencesOk returns a tuple with the DocumentReferences 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) GetEquipmentEventTypeCode ¶
func (o *EquipmentEvent) GetEquipmentEventTypeCode() string
GetEquipmentEventTypeCode returns the EquipmentEventTypeCode field value if set, zero value otherwise.
func (*EquipmentEvent) GetEquipmentEventTypeCodeOk ¶
func (o *EquipmentEvent) GetEquipmentEventTypeCodeOk() (*string, bool)
GetEquipmentEventTypeCodeOk returns a tuple with the EquipmentEventTypeCode field value if set, nil otherwise 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) GetEventCreatedDateTime ¶
func (o *EquipmentEvent) GetEventCreatedDateTime() time.Time
GetEventCreatedDateTime returns the EventCreatedDateTime field value
func (*EquipmentEvent) GetEventCreatedDateTimeOk ¶
func (o *EquipmentEvent) GetEventCreatedDateTimeOk() (*time.Time, bool)
GetEventCreatedDateTimeOk returns a tuple with the EventCreatedDateTime field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventDateTime ¶
func (o *EquipmentEvent) GetEventDateTime() string
GetEventDateTime returns the EventDateTime field value
func (*EquipmentEvent) GetEventDateTimeOk ¶
func (o *EquipmentEvent) GetEventDateTimeOk() (*string, 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 if set, zero value otherwise.
func (*EquipmentEvent) GetEventIDOk ¶
func (o *EquipmentEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventLocation ¶
func (o *EquipmentEvent) GetEventLocation() Location
GetEventLocation returns the EventLocation field value if set, zero value otherwise.
func (*EquipmentEvent) GetEventLocationOk ¶
func (o *EquipmentEvent) GetEventLocationOk() (*Location, bool)
GetEventLocationOk returns a tuple with the EventLocation field value if set, nil otherwise 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) 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) GetISOEquipmentCode ¶
func (o *EquipmentEvent) GetISOEquipmentCode() string
GetISOEquipmentCode returns the ISOEquipmentCode field value if set, zero value otherwise.
func (*EquipmentEvent) GetISOEquipmentCodeOk ¶
func (o *EquipmentEvent) GetISOEquipmentCodeOk() (*string, bool)
GetISOEquipmentCodeOk returns a tuple with the ISOEquipmentCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEvent) GetReferences ¶
func (o *EquipmentEvent) GetReferences() []EventReferencesInner
GetReferences returns the References field value if set, zero value otherwise.
func (*EquipmentEvent) GetReferencesOk ¶
func (o *EquipmentEvent) GetReferencesOk() ([]EventReferencesInner, bool)
GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEvent) GetSeals ¶
func (o *EquipmentEvent) GetSeals() []Seal
GetSeals returns the Seals field value if set, zero value otherwise.
func (*EquipmentEvent) GetSealsOk ¶
func (o *EquipmentEvent) GetSealsOk() ([]Seal, bool)
GetSealsOk returns a tuple with the Seals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEvent) GetTransportCall ¶
func (o *EquipmentEvent) GetTransportCall() TransportCall
GetTransportCall returns the TransportCall field value
func (*EquipmentEvent) GetTransportCallOk ¶
func (o *EquipmentEvent) GetTransportCallOk() (*TransportCall, bool)
GetTransportCallOk returns a tuple with the TransportCall field value and a boolean to check if the value has been set.
func (*EquipmentEvent) HasDocumentReferences ¶
func (o *EquipmentEvent) HasDocumentReferences() bool
HasDocumentReferences returns a boolean if a field has been set.
func (*EquipmentEvent) HasEquipmentEventTypeCode ¶
func (o *EquipmentEvent) HasEquipmentEventTypeCode() bool
HasEquipmentEventTypeCode 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) HasEventID ¶
func (o *EquipmentEvent) HasEventID() bool
HasEventID returns a boolean if a field has been set.
func (*EquipmentEvent) HasEventLocation ¶
func (o *EquipmentEvent) HasEventLocation() bool
HasEventLocation returns a boolean if a field has been set.
func (*EquipmentEvent) HasISOEquipmentCode ¶
func (o *EquipmentEvent) HasISOEquipmentCode() bool
HasISOEquipmentCode returns a boolean if a field has been set.
func (*EquipmentEvent) HasReferences ¶
func (o *EquipmentEvent) HasReferences() bool
HasReferences returns a boolean if a field has been set.
func (*EquipmentEvent) HasSeals ¶
func (o *EquipmentEvent) HasSeals() bool
HasSeals returns a boolean if a field has been set.
func (EquipmentEvent) MarshalJSON ¶
func (o EquipmentEvent) MarshalJSON() ([]byte, error)
func (*EquipmentEvent) SetDocumentReferences ¶
func (o *EquipmentEvent) SetDocumentReferences(v []DocumentReferencesInner)
SetDocumentReferences gets a reference to the given []DocumentReferencesInner and assigns it to the DocumentReferences field.
func (*EquipmentEvent) SetEmptyIndicatorCode ¶
func (o *EquipmentEvent) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*EquipmentEvent) SetEquipmentEventTypeCode ¶
func (o *EquipmentEvent) SetEquipmentEventTypeCode(v string)
SetEquipmentEventTypeCode gets a reference to the given string and assigns it to the EquipmentEventTypeCode field.
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) SetEventCreatedDateTime ¶
func (o *EquipmentEvent) SetEventCreatedDateTime(v time.Time)
SetEventCreatedDateTime sets field value
func (*EquipmentEvent) SetEventDateTime ¶
func (o *EquipmentEvent) SetEventDateTime(v string)
SetEventDateTime sets field value
func (*EquipmentEvent) SetEventID ¶
func (o *EquipmentEvent) SetEventID(v string)
SetEventID gets a reference to the given string and assigns it to the EventID field.
func (*EquipmentEvent) SetEventLocation ¶
func (o *EquipmentEvent) SetEventLocation(v Location)
SetEventLocation gets a reference to the given Location and assigns it to the EventLocation field.
func (*EquipmentEvent) SetEventType ¶
func (o *EquipmentEvent) SetEventType(v string)
SetEventType sets field value
func (*EquipmentEvent) SetISOEquipmentCode ¶
func (o *EquipmentEvent) SetISOEquipmentCode(v string)
SetISOEquipmentCode gets a reference to the given string and assigns it to the ISOEquipmentCode field.
func (*EquipmentEvent) SetReferences ¶
func (o *EquipmentEvent) SetReferences(v []EventReferencesInner)
SetReferences gets a reference to the given []EventReferencesInner and assigns it to the References field.
func (*EquipmentEvent) SetSeals ¶
func (o *EquipmentEvent) SetSeals(v []Seal)
SetSeals gets a reference to the given []Seal and assigns it to the Seals field.
func (*EquipmentEvent) SetTransportCall ¶
func (o *EquipmentEvent) SetTransportCall(v TransportCall)
SetTransportCall sets field value
type EquipmentEventAllOf ¶
type EquipmentEventAllOf struct { EventType *string `json:"eventType,omitempty"` // Unique identifier for equipmentEventTypeCode. * LOAD (Loaded) * DISC (Discharged) * GTIN (Gated in) * GTOT (Gated out) * STUF (Stuffed) * STRP (Stripped) * PICK (Pick-up) * DROP (Drop-off) * RSEA (Resealed) * RMVD (Removed) * INSP (Inspected) EquipmentEventTypeCode *string `json:"equipmentEventTypeCode,omitempty"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. According to ISO 6346, a container identification code consists of a 4-letter prefix and a 7-digit number (composed of a 3-letter owner code, a category identifier, a serial number, and a check-digit). If a container does not comply with ISO 6346, it is suggested to follow Recommendation #2 “Container with non-ISO identification” from SMDG. EquipmentReference *string `json:"equipmentReference,omitempty"` // Unique code for the different equipment size/type used for transporting commodities. The code is a concatenation of ISO Equipment Size Code and ISO Equipment Type Code A and follows the ISO 6346 standard. ISOEquipmentCode *string `json:"ISOEquipmentCode,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` // An optional list of key-value (documentReferenceType-documentReferenceValue) pairs representing links to objects relevant to the event. The documentReferenceType-field is used to describe where the documentReferenceValue-field is pointing to. DocumentReferences []DocumentReferencesInner `json:"documentReferences,omitempty"` EventLocation *Location `json:"eventLocation,omitempty"` TransportCall TransportCall `json:"transportCall"` Seals []Seal `json:"seals,omitempty"` }
EquipmentEventAllOf struct for EquipmentEventAllOf
func NewEquipmentEventAllOf ¶
func NewEquipmentEventAllOf(emptyIndicatorCode string, transportCall TransportCall) *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) GetDocumentReferences ¶
func (o *EquipmentEventAllOf) GetDocumentReferences() []DocumentReferencesInner
GetDocumentReferences returns the DocumentReferences field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetDocumentReferencesOk ¶
func (o *EquipmentEventAllOf) GetDocumentReferencesOk() ([]DocumentReferencesInner, bool)
GetDocumentReferencesOk returns a tuple with the DocumentReferences 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) GetEquipmentEventTypeCode ¶
func (o *EquipmentEventAllOf) GetEquipmentEventTypeCode() string
GetEquipmentEventTypeCode returns the EquipmentEventTypeCode field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetEquipmentEventTypeCodeOk ¶
func (o *EquipmentEventAllOf) GetEquipmentEventTypeCodeOk() (*string, bool)
GetEquipmentEventTypeCodeOk returns a tuple with the EquipmentEventTypeCode field value if set, nil otherwise 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) GetEventLocation ¶
func (o *EquipmentEventAllOf) GetEventLocation() Location
GetEventLocation returns the EventLocation field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetEventLocationOk ¶
func (o *EquipmentEventAllOf) GetEventLocationOk() (*Location, bool)
GetEventLocationOk returns a tuple with the EventLocation 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) GetISOEquipmentCode ¶
func (o *EquipmentEventAllOf) GetISOEquipmentCode() string
GetISOEquipmentCode returns the ISOEquipmentCode field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetISOEquipmentCodeOk ¶
func (o *EquipmentEventAllOf) GetISOEquipmentCodeOk() (*string, bool)
GetISOEquipmentCodeOk returns a tuple with the ISOEquipmentCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetSeals ¶
func (o *EquipmentEventAllOf) GetSeals() []Seal
GetSeals returns the Seals field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetSealsOk ¶
func (o *EquipmentEventAllOf) GetSealsOk() ([]Seal, bool)
GetSealsOk returns a tuple with the Seals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetTransportCall ¶
func (o *EquipmentEventAllOf) GetTransportCall() TransportCall
GetTransportCall returns the TransportCall field value
func (*EquipmentEventAllOf) GetTransportCallOk ¶
func (o *EquipmentEventAllOf) GetTransportCallOk() (*TransportCall, bool)
GetTransportCallOk returns a tuple with the TransportCall field value and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) HasDocumentReferences ¶
func (o *EquipmentEventAllOf) HasDocumentReferences() bool
HasDocumentReferences returns a boolean if a field has been set.
func (*EquipmentEventAllOf) HasEquipmentEventTypeCode ¶
func (o *EquipmentEventAllOf) HasEquipmentEventTypeCode() bool
HasEquipmentEventTypeCode 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) HasEventLocation ¶
func (o *EquipmentEventAllOf) HasEventLocation() bool
HasEventLocation 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) HasISOEquipmentCode ¶
func (o *EquipmentEventAllOf) HasISOEquipmentCode() bool
HasISOEquipmentCode returns a boolean if a field has been set.
func (*EquipmentEventAllOf) HasSeals ¶
func (o *EquipmentEventAllOf) HasSeals() bool
HasSeals returns a boolean if a field has been set.
func (EquipmentEventAllOf) MarshalJSON ¶
func (o EquipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*EquipmentEventAllOf) SetDocumentReferences ¶
func (o *EquipmentEventAllOf) SetDocumentReferences(v []DocumentReferencesInner)
SetDocumentReferences gets a reference to the given []DocumentReferencesInner and assigns it to the DocumentReferences field.
func (*EquipmentEventAllOf) SetEmptyIndicatorCode ¶
func (o *EquipmentEventAllOf) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*EquipmentEventAllOf) SetEquipmentEventTypeCode ¶
func (o *EquipmentEventAllOf) SetEquipmentEventTypeCode(v string)
SetEquipmentEventTypeCode gets a reference to the given string and assigns it to the EquipmentEventTypeCode field.
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) SetEventLocation ¶
func (o *EquipmentEventAllOf) SetEventLocation(v Location)
SetEventLocation gets a reference to the given Location and assigns it to the EventLocation 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) SetISOEquipmentCode ¶
func (o *EquipmentEventAllOf) SetISOEquipmentCode(v string)
SetISOEquipmentCode gets a reference to the given string and assigns it to the ISOEquipmentCode field.
func (*EquipmentEventAllOf) SetSeals ¶
func (o *EquipmentEventAllOf) SetSeals(v []Seal)
SetSeals gets a reference to the given []Seal and assigns it to the Seals field.
func (*EquipmentEventAllOf) SetTransportCall ¶
func (o *EquipmentEventAllOf) SetTransportCall(v TransportCall)
SetTransportCall 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,omitempty"` // The Event Type of the object. EventType string `json:"eventType"` // The local date and time, where the event took place or when the event will take place, in ISO 8601 format. For Shipment Event, it is the same as eventCreatedDateTime in UTC timezone. EventDateTime string `json:"eventDateTime"` // The UTC timestamp of when the event was created. EventCreatedDateTime time.Time `json:"eventCreatedDateTime"` // Code for the event classifier, either PLN, ACT or EST. * PLN - Planned * ACT - Actual * EST - Estimated EventClassifierCode string `json:"eventClassifierCode"` // References provided by the shipper or freight forwarder at the time of booking or at the time of providing shipping instruction. Carriers share it back when providing track and trace event updates, some are also printed on the B/L. Customers can use these references to track shipments in their internal systems. References []EventReferencesInner `json:"references,omitempty"` }
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(eventType string, eventDateTime string, eventCreatedDateTime time.Time, eventClassifierCode 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) GetEventCreatedDateTime ¶
GetEventCreatedDateTime returns the EventCreatedDateTime field value
func (*Event) GetEventCreatedDateTimeOk ¶
GetEventCreatedDateTimeOk returns a tuple with the EventCreatedDateTime 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 if set, zero value otherwise.
func (*Event) GetEventIDOk ¶
GetEventIDOk returns a tuple with the EventID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetEventType ¶
GetEventType returns the EventType field value
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) GetReferences ¶
func (o *Event) GetReferences() []EventReferencesInner
GetReferences returns the References field value if set, zero value otherwise.
func (*Event) GetReferencesOk ¶
func (o *Event) GetReferencesOk() ([]EventReferencesInner, bool)
GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) HasEventID ¶
HasEventID returns a boolean if a field has been set.
func (*Event) HasReferences ¶
HasReferences returns a boolean if a field has been set.
func (Event) MarshalJSON ¶
func (*Event) SetEventClassifierCode ¶
SetEventClassifierCode sets field value
func (*Event) SetEventCreatedDateTime ¶
SetEventCreatedDateTime sets field value
func (*Event) SetEventDateTime ¶
SetEventDateTime sets field value
func (*Event) SetEventID ¶
SetEventID gets a reference to the given string and assigns it to the EventID field.
func (*Event) SetReferences ¶
func (o *Event) SetReferences(v []EventReferencesInner)
SetReferences gets a reference to the given []EventReferencesInner and assigns it to the References field.
type EventReferencesInner ¶
type EventReferencesInner struct { // The reference type codes defined by DCSA. * FF (Freight Forwarder’s Reference) * SI (Shipper’s Reference) * PO (Purchase Order Reference) * CR (Customer’s Reference) * AAO (Consignee’s Reference) * EQ (Equipment Reference) ReferenceType string `json:"referenceType"` // The actual value of the reference. ReferenceValue string `json:"referenceValue"` }
EventReferencesInner struct for EventReferencesInner
func NewEventReferencesInner ¶
func NewEventReferencesInner(referenceType string, referenceValue string) *EventReferencesInner
NewEventReferencesInner instantiates a new EventReferencesInner 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 NewEventReferencesInnerWithDefaults ¶
func NewEventReferencesInnerWithDefaults() *EventReferencesInner
NewEventReferencesInnerWithDefaults instantiates a new EventReferencesInner 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 (*EventReferencesInner) GetReferenceType ¶
func (o *EventReferencesInner) GetReferenceType() string
GetReferenceType returns the ReferenceType field value
func (*EventReferencesInner) GetReferenceTypeOk ¶
func (o *EventReferencesInner) GetReferenceTypeOk() (*string, bool)
GetReferenceTypeOk returns a tuple with the ReferenceType field value and a boolean to check if the value has been set.
func (*EventReferencesInner) GetReferenceValue ¶
func (o *EventReferencesInner) GetReferenceValue() string
GetReferenceValue returns the ReferenceValue field value
func (*EventReferencesInner) GetReferenceValueOk ¶
func (o *EventReferencesInner) GetReferenceValueOk() (*string, bool)
GetReferenceValueOk returns a tuple with the ReferenceValue field value and a boolean to check if the value has been set.
func (EventReferencesInner) MarshalJSON ¶
func (o EventReferencesInner) MarshalJSON() ([]byte, error)
func (*EventReferencesInner) SetReferenceType ¶
func (o *EventReferencesInner) SetReferenceType(v string)
SetReferenceType sets field value
func (*EventReferencesInner) SetReferenceValue ¶
func (o *EventReferencesInner) SetReferenceValue(v string)
SetReferenceValue sets field value
type Events ¶
type Events struct {
Events []EventsEventsInner `json:"events"`
}
Events List of events for shipment journey.
func NewEvents ¶
func NewEvents(events []EventsEventsInner) *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() []EventsEventsInner
GetEvents returns the Events field value
func (*Events) GetEventsOk ¶
func (o *Events) GetEventsOk() ([]EventsEventsInner, bool)
GetEventsOk returns a tuple with the Events field value and a boolean to check if the value has been set.
func (Events) MarshalJSON ¶
func (*Events) SetEvents ¶
func (o *Events) SetEvents(v []EventsEventsInner)
SetEvents sets field value
type EventsApi ¶
type EventsApi interface { /* ListEvents Find events. Returns all events filtered by the queryParameters. This endpoint requires **at least one** of the following input parameters: * carrierBookingReference * transportDocumentReference * equipmentReference Note: It is possible to combine queryParameters. When combining queryParameters be aware that it is also possible to make combinations that are mutually contradicting.\ For example, shipmentEventTypeCode=DRFT and equipmentEventTypeCode=GTIN; since there is no event that can be a ShipmentEvent and an EquipmentEvent at the same time this will return an empty list. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListEventsRequest */ ListEvents(ctx context.Context) ApiListEventsRequest // ListEventsExecute executes the request // @return Events ListEventsExecute(r ApiListEventsRequest) (*Events, *http.Response, error) }
type EventsApiService ¶
type EventsApiService service
EventsApiService EventsApi service
func (*EventsApiService) ListEvents ¶
func (a *EventsApiService) ListEvents(ctx context.Context) ApiListEventsRequest
ListEvents Find events.
Returns all events filtered by the queryParameters. This endpoint requires **at least one** of the following input parameters:
* carrierBookingReference * transportDocumentReference * equipmentReference
Note: It is possible to combine queryParameters. When combining queryParameters be aware that it is also possible to make combinations that are mutually contradicting.\ For example, shipmentEventTypeCode=DRFT and equipmentEventTypeCode=GTIN; since there is no event that can be a ShipmentEvent and an EquipmentEvent at the same time this will return an empty list.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListEventsRequest
func (*EventsApiService) ListEventsExecute ¶
func (a *EventsApiService) ListEventsExecute(r ApiListEventsRequest) (*Events, *http.Response, error)
Execute executes the request
@return Events
type EventsEventsInner ¶
type EventsEventsInner struct { EquipmentEvent *EquipmentEvent ShipmentEvent *ShipmentEvent TransportEvent *TransportEvent }
EventsEventsInner struct for EventsEventsInner
func (*EventsEventsInner) MarshalJSON ¶
func (src *EventsEventsInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*EventsEventsInner) UnmarshalJSON ¶
func (dst *EventsEventsInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
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 Location ¶
type Location struct { // The name of the location. LocationName *string `json:"locationName,omitempty"` // Geographic coordinate that specifies the north–south position of a point on the Earth's surface. Latitude *string `json:"latitude,omitempty"` // Geographic coordinate that specifies the east–west position of a point on the Earth's surface. Longitude *string `json:"longitude,omitempty"` // The UN Location code specifying where the place is located. UNLocationCode *string `json:"UNLocationCode,omitempty"` // The code used for identifying the specific facility. This code is not the UN Location Code. FacilityCode *string `json:"facilityCode,omitempty"` // The provider used for identifying the facility Code FacilityCodeListProvider *string `json:"facilityCodeListProvider,omitempty"` Address *Address `json:"address,omitempty"` }
Location Generally used to capture location-related data; also for locations without UN Location Codes.
func NewLocation ¶
func NewLocation() *Location
NewLocation instantiates a new Location 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 NewLocationWithDefaults ¶
func NewLocationWithDefaults() *Location
NewLocationWithDefaults instantiates a new Location 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 (*Location) GetAddress ¶
GetAddress returns the Address field value if set, zero value otherwise.
func (*Location) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Location) GetFacilityCode ¶
GetFacilityCode returns the FacilityCode field value if set, zero value otherwise.
func (*Location) GetFacilityCodeListProvider ¶
GetFacilityCodeListProvider returns the FacilityCodeListProvider field value if set, zero value otherwise.
func (*Location) GetFacilityCodeListProviderOk ¶
GetFacilityCodeListProviderOk returns a tuple with the FacilityCodeListProvider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Location) GetFacilityCodeOk ¶
GetFacilityCodeOk returns a tuple with the FacilityCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Location) GetLatitude ¶
GetLatitude returns the Latitude field value if set, zero value otherwise.
func (*Location) GetLatitudeOk ¶
GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Location) GetLocationName ¶
GetLocationName returns the LocationName field value if set, zero value otherwise.
func (*Location) GetLocationNameOk ¶
GetLocationNameOk returns a tuple with the LocationName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Location) GetLongitude ¶
GetLongitude returns the Longitude field value if set, zero value otherwise.
func (*Location) GetLongitudeOk ¶
GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Location) GetUNLocationCode ¶
GetUNLocationCode returns the UNLocationCode field value if set, zero value otherwise.
func (*Location) GetUNLocationCodeOk ¶
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Location) HasAddress ¶
HasAddress returns a boolean if a field has been set.
func (*Location) HasFacilityCode ¶
HasFacilityCode returns a boolean if a field has been set.
func (*Location) HasFacilityCodeListProvider ¶
HasFacilityCodeListProvider returns a boolean if a field has been set.
func (*Location) HasLatitude ¶
HasLatitude returns a boolean if a field has been set.
func (*Location) HasLocationName ¶
HasLocationName returns a boolean if a field has been set.
func (*Location) HasLongitude ¶
HasLongitude returns a boolean if a field has been set.
func (*Location) HasUNLocationCode ¶
HasUNLocationCode returns a boolean if a field has been set.
func (Location) MarshalJSON ¶
func (*Location) SetAddress ¶
SetAddress gets a reference to the given Address and assigns it to the Address field.
func (*Location) SetFacilityCode ¶
SetFacilityCode gets a reference to the given string and assigns it to the FacilityCode field.
func (*Location) SetFacilityCodeListProvider ¶
SetFacilityCodeListProvider gets a reference to the given string and assigns it to the FacilityCodeListProvider field.
func (*Location) SetLatitude ¶
SetLatitude gets a reference to the given string and assigns it to the Latitude field.
func (*Location) SetLocationName ¶
SetLocationName gets a reference to the given string and assigns it to the LocationName field.
func (*Location) SetLongitude ¶
SetLongitude gets a reference to the given string and assigns it to the Longitude field.
func (*Location) SetUNLocationCode ¶
SetUNLocationCode gets a reference to the given string and assigns it to the UNLocationCode field.
type NullableAddress ¶
type NullableAddress struct {
// contains filtered or unexported fields
}
func NewNullableAddress ¶
func NewNullableAddress(val *Address) *NullableAddress
func (NullableAddress) Get ¶
func (v NullableAddress) Get() *Address
func (NullableAddress) IsSet ¶
func (v NullableAddress) IsSet() bool
func (NullableAddress) MarshalJSON ¶
func (v NullableAddress) MarshalJSON() ([]byte, error)
func (*NullableAddress) Set ¶
func (v *NullableAddress) Set(val *Address)
func (*NullableAddress) UnmarshalJSON ¶
func (v *NullableAddress) UnmarshalJSON(src []byte) error
func (*NullableAddress) Unset ¶
func (v *NullableAddress) Unset()
type NullableApiError ¶
type NullableApiError struct {
// contains filtered or unexported fields
}
func NewNullableApiError ¶
func NewNullableApiError(val *ApiError) *NullableApiError
func (NullableApiError) Get ¶
func (v NullableApiError) Get() *ApiError
func (NullableApiError) IsSet ¶
func (v NullableApiError) IsSet() bool
func (NullableApiError) MarshalJSON ¶
func (v NullableApiError) MarshalJSON() ([]byte, error)
func (*NullableApiError) Set ¶
func (v *NullableApiError) Set(val *ApiError)
func (*NullableApiError) UnmarshalJSON ¶
func (v *NullableApiError) UnmarshalJSON(src []byte) error
func (*NullableApiError) Unset ¶
func (v *NullableApiError) Unset()
type NullableApiValidationError ¶
type NullableApiValidationError struct {
// contains filtered or unexported fields
}
func NewNullableApiValidationError ¶
func NewNullableApiValidationError(val *ApiValidationError) *NullableApiValidationError
func (NullableApiValidationError) Get ¶
func (v NullableApiValidationError) Get() *ApiValidationError
func (NullableApiValidationError) IsSet ¶
func (v NullableApiValidationError) IsSet() bool
func (NullableApiValidationError) MarshalJSON ¶
func (v NullableApiValidationError) MarshalJSON() ([]byte, error)
func (*NullableApiValidationError) Set ¶
func (v *NullableApiValidationError) Set(val *ApiValidationError)
func (*NullableApiValidationError) UnmarshalJSON ¶
func (v *NullableApiValidationError) UnmarshalJSON(src []byte) error
func (*NullableApiValidationError) Unset ¶
func (v *NullableApiValidationError) Unset()
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 NullableCreateAccessToken200Response ¶
type NullableCreateAccessToken200Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateAccessToken200Response ¶
func NewNullableCreateAccessToken200Response(val *CreateAccessToken200Response) *NullableCreateAccessToken200Response
func (NullableCreateAccessToken200Response) Get ¶
func (v NullableCreateAccessToken200Response) Get() *CreateAccessToken200Response
func (NullableCreateAccessToken200Response) IsSet ¶
func (v NullableCreateAccessToken200Response) IsSet() bool
func (NullableCreateAccessToken200Response) MarshalJSON ¶
func (v NullableCreateAccessToken200Response) MarshalJSON() ([]byte, error)
func (*NullableCreateAccessToken200Response) Set ¶
func (v *NullableCreateAccessToken200Response) Set(val *CreateAccessToken200Response)
func (*NullableCreateAccessToken200Response) UnmarshalJSON ¶
func (v *NullableCreateAccessToken200Response) UnmarshalJSON(src []byte) error
func (*NullableCreateAccessToken200Response) Unset ¶
func (v *NullableCreateAccessToken200Response) Unset()
type NullableCreateAccessToken400Response ¶
type NullableCreateAccessToken400Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateAccessToken400Response ¶
func NewNullableCreateAccessToken400Response(val *CreateAccessToken400Response) *NullableCreateAccessToken400Response
func (NullableCreateAccessToken400Response) Get ¶
func (v NullableCreateAccessToken400Response) Get() *CreateAccessToken400Response
func (NullableCreateAccessToken400Response) IsSet ¶
func (v NullableCreateAccessToken400Response) IsSet() bool
func (NullableCreateAccessToken400Response) MarshalJSON ¶
func (v NullableCreateAccessToken400Response) MarshalJSON() ([]byte, error)
func (*NullableCreateAccessToken400Response) Set ¶
func (v *NullableCreateAccessToken400Response) Set(val *CreateAccessToken400Response)
func (*NullableCreateAccessToken400Response) UnmarshalJSON ¶
func (v *NullableCreateAccessToken400Response) UnmarshalJSON(src []byte) error
func (*NullableCreateAccessToken400Response) Unset ¶
func (v *NullableCreateAccessToken400Response) Unset()
type NullableCreateAccessToken401Response ¶ added in v1.1.0
type NullableCreateAccessToken401Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateAccessToken401Response ¶ added in v1.1.0
func NewNullableCreateAccessToken401Response(val *CreateAccessToken401Response) *NullableCreateAccessToken401Response
func (NullableCreateAccessToken401Response) Get ¶ added in v1.1.0
func (v NullableCreateAccessToken401Response) Get() *CreateAccessToken401Response
func (NullableCreateAccessToken401Response) IsSet ¶ added in v1.1.0
func (v NullableCreateAccessToken401Response) IsSet() bool
func (NullableCreateAccessToken401Response) MarshalJSON ¶ added in v1.1.0
func (v NullableCreateAccessToken401Response) MarshalJSON() ([]byte, error)
func (*NullableCreateAccessToken401Response) Set ¶ added in v1.1.0
func (v *NullableCreateAccessToken401Response) Set(val *CreateAccessToken401Response)
func (*NullableCreateAccessToken401Response) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableCreateAccessToken401Response) UnmarshalJSON(src []byte) error
func (*NullableCreateAccessToken401Response) Unset ¶ added in v1.1.0
func (v *NullableCreateAccessToken401Response) Unset()
type NullableCreateAccessToken401ResponseErrorInner ¶ added in v1.1.0
type NullableCreateAccessToken401ResponseErrorInner struct {
// contains filtered or unexported fields
}
func NewNullableCreateAccessToken401ResponseErrorInner ¶ added in v1.1.0
func NewNullableCreateAccessToken401ResponseErrorInner(val *CreateAccessToken401ResponseErrorInner) *NullableCreateAccessToken401ResponseErrorInner
func (NullableCreateAccessToken401ResponseErrorInner) IsSet ¶ added in v1.1.0
func (v NullableCreateAccessToken401ResponseErrorInner) IsSet() bool
func (NullableCreateAccessToken401ResponseErrorInner) MarshalJSON ¶ added in v1.1.0
func (v NullableCreateAccessToken401ResponseErrorInner) MarshalJSON() ([]byte, error)
func (*NullableCreateAccessToken401ResponseErrorInner) Set ¶ added in v1.1.0
func (v *NullableCreateAccessToken401ResponseErrorInner) Set(val *CreateAccessToken401ResponseErrorInner)
func (*NullableCreateAccessToken401ResponseErrorInner) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableCreateAccessToken401ResponseErrorInner) UnmarshalJSON(src []byte) error
func (*NullableCreateAccessToken401ResponseErrorInner) Unset ¶ added in v1.1.0
func (v *NullableCreateAccessToken401ResponseErrorInner) Unset()
type NullableDocumentReferencesInner ¶
type NullableDocumentReferencesInner struct {
// contains filtered or unexported fields
}
func NewNullableDocumentReferencesInner ¶
func NewNullableDocumentReferencesInner(val *DocumentReferencesInner) *NullableDocumentReferencesInner
func (NullableDocumentReferencesInner) Get ¶
func (v NullableDocumentReferencesInner) Get() *DocumentReferencesInner
func (NullableDocumentReferencesInner) IsSet ¶
func (v NullableDocumentReferencesInner) IsSet() bool
func (NullableDocumentReferencesInner) MarshalJSON ¶
func (v NullableDocumentReferencesInner) MarshalJSON() ([]byte, error)
func (*NullableDocumentReferencesInner) Set ¶
func (v *NullableDocumentReferencesInner) Set(val *DocumentReferencesInner)
func (*NullableDocumentReferencesInner) UnmarshalJSON ¶
func (v *NullableDocumentReferencesInner) UnmarshalJSON(src []byte) error
func (*NullableDocumentReferencesInner) Unset ¶
func (v *NullableDocumentReferencesInner) 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 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 NullableEventReferencesInner ¶
type NullableEventReferencesInner struct {
// contains filtered or unexported fields
}
func NewNullableEventReferencesInner ¶
func NewNullableEventReferencesInner(val *EventReferencesInner) *NullableEventReferencesInner
func (NullableEventReferencesInner) Get ¶
func (v NullableEventReferencesInner) Get() *EventReferencesInner
func (NullableEventReferencesInner) IsSet ¶
func (v NullableEventReferencesInner) IsSet() bool
func (NullableEventReferencesInner) MarshalJSON ¶
func (v NullableEventReferencesInner) MarshalJSON() ([]byte, error)
func (*NullableEventReferencesInner) Set ¶
func (v *NullableEventReferencesInner) Set(val *EventReferencesInner)
func (*NullableEventReferencesInner) UnmarshalJSON ¶
func (v *NullableEventReferencesInner) UnmarshalJSON(src []byte) error
func (*NullableEventReferencesInner) Unset ¶
func (v *NullableEventReferencesInner) 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 NullableEventsEventsInner ¶
type NullableEventsEventsInner struct {
// contains filtered or unexported fields
}
func NewNullableEventsEventsInner ¶
func NewNullableEventsEventsInner(val *EventsEventsInner) *NullableEventsEventsInner
func (NullableEventsEventsInner) Get ¶
func (v NullableEventsEventsInner) Get() *EventsEventsInner
func (NullableEventsEventsInner) IsSet ¶
func (v NullableEventsEventsInner) IsSet() bool
func (NullableEventsEventsInner) MarshalJSON ¶
func (v NullableEventsEventsInner) MarshalJSON() ([]byte, error)
func (*NullableEventsEventsInner) Set ¶
func (v *NullableEventsEventsInner) Set(val *EventsEventsInner)
func (*NullableEventsEventsInner) UnmarshalJSON ¶
func (v *NullableEventsEventsInner) UnmarshalJSON(src []byte) error
func (*NullableEventsEventsInner) Unset ¶
func (v *NullableEventsEventsInner) 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 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 NullableLocation ¶
type NullableLocation struct {
// contains filtered or unexported fields
}
func NewNullableLocation ¶
func NewNullableLocation(val *Location) *NullableLocation
func (NullableLocation) Get ¶
func (v NullableLocation) Get() *Location
func (NullableLocation) IsSet ¶
func (v NullableLocation) IsSet() bool
func (NullableLocation) MarshalJSON ¶
func (v NullableLocation) MarshalJSON() ([]byte, error)
func (*NullableLocation) Set ¶
func (v *NullableLocation) Set(val *Location)
func (*NullableLocation) UnmarshalJSON ¶
func (v *NullableLocation) UnmarshalJSON(src []byte) error
func (*NullableLocation) Unset ¶
func (v *NullableLocation) Unset()
type NullableSeal ¶
type NullableSeal struct {
// contains filtered or unexported fields
}
func NewNullableSeal ¶
func NewNullableSeal(val *Seal) *NullableSeal
func (NullableSeal) Get ¶
func (v NullableSeal) Get() *Seal
func (NullableSeal) IsSet ¶
func (v NullableSeal) IsSet() bool
func (NullableSeal) MarshalJSON ¶
func (v NullableSeal) MarshalJSON() ([]byte, error)
func (*NullableSeal) Set ¶
func (v *NullableSeal) Set(val *Seal)
func (*NullableSeal) UnmarshalJSON ¶
func (v *NullableSeal) UnmarshalJSON(src []byte) error
func (*NullableSeal) Unset ¶
func (v *NullableSeal) 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 NullableTransportCall ¶
type NullableTransportCall struct {
// contains filtered or unexported fields
}
func NewNullableTransportCall ¶
func NewNullableTransportCall(val *TransportCall) *NullableTransportCall
func (NullableTransportCall) Get ¶
func (v NullableTransportCall) Get() *TransportCall
func (NullableTransportCall) IsSet ¶
func (v NullableTransportCall) IsSet() bool
func (NullableTransportCall) MarshalJSON ¶
func (v NullableTransportCall) MarshalJSON() ([]byte, error)
func (*NullableTransportCall) Set ¶
func (v *NullableTransportCall) Set(val *TransportCall)
func (*NullableTransportCall) UnmarshalJSON ¶
func (v *NullableTransportCall) UnmarshalJSON(src []byte) error
func (*NullableTransportCall) Unset ¶
func (v *NullableTransportCall) 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 NullableTransportEventAllOf1 ¶
type NullableTransportEventAllOf1 struct {
// contains filtered or unexported fields
}
func NewNullableTransportEventAllOf1 ¶
func NewNullableTransportEventAllOf1(val *TransportEventAllOf1) *NullableTransportEventAllOf1
func (NullableTransportEventAllOf1) Get ¶
func (v NullableTransportEventAllOf1) Get() *TransportEventAllOf1
func (NullableTransportEventAllOf1) IsSet ¶
func (v NullableTransportEventAllOf1) IsSet() bool
func (NullableTransportEventAllOf1) MarshalJSON ¶
func (v NullableTransportEventAllOf1) MarshalJSON() ([]byte, error)
func (*NullableTransportEventAllOf1) Set ¶
func (v *NullableTransportEventAllOf1) Set(val *TransportEventAllOf1)
func (*NullableTransportEventAllOf1) UnmarshalJSON ¶
func (v *NullableTransportEventAllOf1) UnmarshalJSON(src []byte) error
func (*NullableTransportEventAllOf1) Unset ¶
func (v *NullableTransportEventAllOf1) Unset()
type NullableVessel ¶
type NullableVessel struct {
// contains filtered or unexported fields
}
func NewNullableVessel ¶
func NewNullableVessel(val *Vessel) *NullableVessel
func (NullableVessel) Get ¶
func (v NullableVessel) Get() *Vessel
func (NullableVessel) IsSet ¶
func (v NullableVessel) IsSet() bool
func (NullableVessel) MarshalJSON ¶
func (v NullableVessel) MarshalJSON() ([]byte, error)
func (*NullableVessel) Set ¶
func (v *NullableVessel) Set(val *Vessel)
func (*NullableVessel) UnmarshalJSON ¶
func (v *NullableVessel) UnmarshalJSON(src []byte) error
func (*NullableVessel) Unset ¶
func (v *NullableVessel) Unset()
type Seal ¶
type Seal struct { // Identifies a seal affixed to the container. SealNumber string `json:"sealNumber"` // The source of the seal, namely who has affixed the seal. This attribute links to the Seal Source ID defined in the Seal Source reference data entity. * CAR (Carrier) * SHI (Shipper) * PHY (Phytosanitary) * VET (Veterinary) * CUS (Customs) SealSource *string `json:"sealSource,omitempty"` // The type of seal. This attribute links to the Seal Type ID defined in the Seal Type reference data entity. * KLP (Keyless padlock) * BLT (Bolt) * WIR (Wire) SealType string `json:"sealType"` }
Seal Addresses the seal-related information associated with the shipment equipment. A seal is put on a shipment equipment once it is loaded. This seal is meant to stay on until the shipment equipment reaches its final destination.
func NewSeal ¶
NewSeal instantiates a new Seal 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 NewSealWithDefaults ¶
func NewSealWithDefaults() *Seal
NewSealWithDefaults instantiates a new Seal 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 (*Seal) GetSealNumber ¶
GetSealNumber returns the SealNumber field value
func (*Seal) GetSealNumberOk ¶
GetSealNumberOk returns a tuple with the SealNumber field value and a boolean to check if the value has been set.
func (*Seal) GetSealSource ¶
GetSealSource returns the SealSource field value if set, zero value otherwise.
func (*Seal) GetSealSourceOk ¶
GetSealSourceOk returns a tuple with the SealSource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Seal) GetSealType ¶
GetSealType returns the SealType field value
func (*Seal) GetSealTypeOk ¶
GetSealTypeOk returns a tuple with the SealType field value and a boolean to check if the value has been set.
func (*Seal) HasSealSource ¶
HasSealSource returns a boolean if a field has been set.
func (Seal) MarshalJSON ¶
func (*Seal) SetSealSource ¶
SetSealSource gets a reference to the given string and assigns it to the SealSource field.
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,omitempty"` EventType string `json:"eventType"` // The local date and time, where the event took place or when the event will take place, in ISO 8601 format. For Shipment Event, it is the same as eventCreatedDateTime in UTC timezone. EventDateTime string `json:"eventDateTime"` // The UTC timestamp of when the event was created. EventCreatedDateTime time.Time `json:"eventCreatedDateTime"` // Code for the event classifier, either PLN, ACT or EST. * PLN - Planned * ACT - Actual * EST - Estimated EventClassifierCode string `json:"eventClassifierCode"` // References provided by the shipper or freight forwarder at the time of booking or at the time of providing shipping instruction. Carriers share it back when providing track and trace event updates, some are also printed on the B/L. Customers can use these references to track shipments in their internal systems. References []EventReferencesInner `json:"references,omitempty"` // The status of the document in the process. Possible values are - RECE (Received) - DRFT (Drafted) - PENA (Pending Approval) - PENU (Pending Update) - REJE (Rejected) - APPR (Approved) - ISSU (Issued) - SURR (Surrendered) - SUBM (Submitted) - VOID (Void) - CONF (Confirmed) - REQS (Requested) - CMPL (Completed) - HOLD (On Hold) - RELS (Released) Note: Version 1.1 replaces CONF (Confirmed) for RELS (Released) for documentTypeCode SRM (Shipment Release Message). ShipmentEventTypeCode string `json:"shipmentEventTypeCode"` // The code to identify the type of information documentID points to. Can be one of the following values * CBR (Carrier Booking Request Reference) * BKG (Booking) * SHI (Shipping Instruction) * SRM (Shipment Release Message) * TRD (Transport Document) * ARN (Arrival Notice) * VGM (Verified Gross Mass) * CAS (Cargo Survey) * CUS (Customs Inspection) * DGD (Dangerous Goods Declaration) * OOG (Out of Gauge) DocumentTypeCode string `json:"documentTypeCode"` // The ID of the object defined by the Shipment Information Type. In some cases this is a UUID; in other cases this is a string. DocumentID string `json:"documentID"` // Reason field in a Shipment event. This field can be used to explain why a specific event has been sent. Reason *string `json:"reason,omitempty"` }
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(eventType string, eventDateTime string, eventCreatedDateTime time.Time, eventClassifierCode string, shipmentEventTypeCode string, documentTypeCode string, documentID 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) GetDocumentID ¶
func (o *ShipmentEvent) GetDocumentID() string
GetDocumentID returns the DocumentID field value
func (*ShipmentEvent) GetDocumentIDOk ¶
func (o *ShipmentEvent) GetDocumentIDOk() (*string, bool)
GetDocumentIDOk returns a tuple with the DocumentID field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetDocumentTypeCode ¶
func (o *ShipmentEvent) GetDocumentTypeCode() string
GetDocumentTypeCode returns the DocumentTypeCode field value
func (*ShipmentEvent) GetDocumentTypeCodeOk ¶
func (o *ShipmentEvent) GetDocumentTypeCodeOk() (*string, bool)
GetDocumentTypeCodeOk returns a tuple with the DocumentTypeCode field value and a boolean to check if the value has been 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) GetEventCreatedDateTime ¶
func (o *ShipmentEvent) GetEventCreatedDateTime() time.Time
GetEventCreatedDateTime returns the EventCreatedDateTime field value
func (*ShipmentEvent) GetEventCreatedDateTimeOk ¶
func (o *ShipmentEvent) GetEventCreatedDateTimeOk() (*time.Time, bool)
GetEventCreatedDateTimeOk returns a tuple with the EventCreatedDateTime field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetEventDateTime ¶
func (o *ShipmentEvent) GetEventDateTime() string
GetEventDateTime returns the EventDateTime field value
func (*ShipmentEvent) GetEventDateTimeOk ¶
func (o *ShipmentEvent) GetEventDateTimeOk() (*string, 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 if set, zero value otherwise.
func (*ShipmentEvent) GetEventIDOk ¶
func (o *ShipmentEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value if set, nil otherwise 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) 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) GetReason ¶
func (o *ShipmentEvent) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ShipmentEvent) GetReasonOk ¶
func (o *ShipmentEvent) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShipmentEvent) GetReferences ¶
func (o *ShipmentEvent) GetReferences() []EventReferencesInner
GetReferences returns the References field value if set, zero value otherwise.
func (*ShipmentEvent) GetReferencesOk ¶
func (o *ShipmentEvent) GetReferencesOk() ([]EventReferencesInner, bool)
GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShipmentEvent) GetShipmentEventTypeCode ¶
func (o *ShipmentEvent) GetShipmentEventTypeCode() string
GetShipmentEventTypeCode returns the ShipmentEventTypeCode field value
func (*ShipmentEvent) GetShipmentEventTypeCodeOk ¶
func (o *ShipmentEvent) GetShipmentEventTypeCodeOk() (*string, bool)
GetShipmentEventTypeCodeOk returns a tuple with the ShipmentEventTypeCode field value and a boolean to check if the value has been set.
func (*ShipmentEvent) HasEventID ¶
func (o *ShipmentEvent) HasEventID() bool
HasEventID returns a boolean if a field has been set.
func (*ShipmentEvent) HasReason ¶
func (o *ShipmentEvent) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*ShipmentEvent) HasReferences ¶
func (o *ShipmentEvent) HasReferences() bool
HasReferences returns a boolean if a field has been set.
func (ShipmentEvent) MarshalJSON ¶
func (o ShipmentEvent) MarshalJSON() ([]byte, error)
func (*ShipmentEvent) SetDocumentID ¶
func (o *ShipmentEvent) SetDocumentID(v string)
SetDocumentID sets field value
func (*ShipmentEvent) SetDocumentTypeCode ¶
func (o *ShipmentEvent) SetDocumentTypeCode(v string)
SetDocumentTypeCode sets field value
func (*ShipmentEvent) SetEventClassifierCode ¶
func (o *ShipmentEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*ShipmentEvent) SetEventCreatedDateTime ¶
func (o *ShipmentEvent) SetEventCreatedDateTime(v time.Time)
SetEventCreatedDateTime sets field value
func (*ShipmentEvent) SetEventDateTime ¶
func (o *ShipmentEvent) SetEventDateTime(v string)
SetEventDateTime sets field value
func (*ShipmentEvent) SetEventID ¶
func (o *ShipmentEvent) SetEventID(v string)
SetEventID gets a reference to the given string and assigns it to the EventID field.
func (*ShipmentEvent) SetEventType ¶
func (o *ShipmentEvent) SetEventType(v string)
SetEventType sets field value
func (*ShipmentEvent) SetReason ¶
func (o *ShipmentEvent) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*ShipmentEvent) SetReferences ¶
func (o *ShipmentEvent) SetReferences(v []EventReferencesInner)
SetReferences gets a reference to the given []EventReferencesInner and assigns it to the References field.
func (*ShipmentEvent) SetShipmentEventTypeCode ¶
func (o *ShipmentEvent) SetShipmentEventTypeCode(v string)
SetShipmentEventTypeCode sets field value
type ShipmentEventAllOf ¶
type ShipmentEventAllOf struct { EventType *string `json:"eventType,omitempty"` // The status of the document in the process. Possible values are - RECE (Received) - DRFT (Drafted) - PENA (Pending Approval) - PENU (Pending Update) - REJE (Rejected) - APPR (Approved) - ISSU (Issued) - SURR (Surrendered) - SUBM (Submitted) - VOID (Void) - CONF (Confirmed) - REQS (Requested) - CMPL (Completed) - HOLD (On Hold) - RELS (Released) Note: Version 1.1 replaces CONF (Confirmed) for RELS (Released) for documentTypeCode SRM (Shipment Release Message). ShipmentEventTypeCode string `json:"shipmentEventTypeCode"` // The code to identify the type of information documentID points to. Can be one of the following values * CBR (Carrier Booking Request Reference) * BKG (Booking) * SHI (Shipping Instruction) * SRM (Shipment Release Message) * TRD (Transport Document) * ARN (Arrival Notice) * VGM (Verified Gross Mass) * CAS (Cargo Survey) * CUS (Customs Inspection) * DGD (Dangerous Goods Declaration) * OOG (Out of Gauge) DocumentTypeCode string `json:"documentTypeCode"` // The ID of the object defined by the Shipment Information Type. In some cases this is a UUID; in other cases this is a string. DocumentID string `json:"documentID"` // Reason field in a Shipment event. This field can be used to explain why a specific event has been sent. Reason *string `json:"reason,omitempty"` }
ShipmentEventAllOf struct for ShipmentEventAllOf
func NewShipmentEventAllOf ¶
func NewShipmentEventAllOf(shipmentEventTypeCode string, documentTypeCode string, documentID 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) GetDocumentID ¶
func (o *ShipmentEventAllOf) GetDocumentID() string
GetDocumentID returns the DocumentID field value
func (*ShipmentEventAllOf) GetDocumentIDOk ¶
func (o *ShipmentEventAllOf) GetDocumentIDOk() (*string, bool)
GetDocumentIDOk returns a tuple with the DocumentID field value and a boolean to check if the value has been set.
func (*ShipmentEventAllOf) GetDocumentTypeCode ¶
func (o *ShipmentEventAllOf) GetDocumentTypeCode() string
GetDocumentTypeCode returns the DocumentTypeCode field value
func (*ShipmentEventAllOf) GetDocumentTypeCodeOk ¶
func (o *ShipmentEventAllOf) GetDocumentTypeCodeOk() (*string, bool)
GetDocumentTypeCodeOk returns a tuple with the DocumentTypeCode field value and a boolean to check if the value has been 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) GetReason ¶
func (o *ShipmentEventAllOf) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*ShipmentEventAllOf) GetReasonOk ¶
func (o *ShipmentEventAllOf) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShipmentEventAllOf) GetShipmentEventTypeCode ¶
func (o *ShipmentEventAllOf) GetShipmentEventTypeCode() string
GetShipmentEventTypeCode returns the ShipmentEventTypeCode field value
func (*ShipmentEventAllOf) GetShipmentEventTypeCodeOk ¶
func (o *ShipmentEventAllOf) GetShipmentEventTypeCodeOk() (*string, bool)
GetShipmentEventTypeCodeOk returns a tuple with the ShipmentEventTypeCode 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) HasReason ¶
func (o *ShipmentEventAllOf) HasReason() bool
HasReason returns a boolean if a field has been set.
func (ShipmentEventAllOf) MarshalJSON ¶
func (o ShipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*ShipmentEventAllOf) SetDocumentID ¶
func (o *ShipmentEventAllOf) SetDocumentID(v string)
SetDocumentID sets field value
func (*ShipmentEventAllOf) SetDocumentTypeCode ¶
func (o *ShipmentEventAllOf) SetDocumentTypeCode(v string)
SetDocumentTypeCode sets field value
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) SetReason ¶
func (o *ShipmentEventAllOf) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*ShipmentEventAllOf) SetShipmentEventTypeCode ¶
func (o *ShipmentEventAllOf) SetShipmentEventTypeCode(v string)
SetShipmentEventTypeCode sets field value
type TransportCall ¶
type TransportCall struct { // The unique identifier for a transport call TransportCallID *string `json:"transportCallID,omitempty"` // The code of the service for which the schedule details are published. CarrierServiceCode *string `json:"carrierServiceCode,omitempty"` // \\*\\*\\*do not use\\*\\*\\* this field is replaced by `exportVoyageNumber` from Version 1.1 and will be removed by the API from next major version The vessel operator-specific identifier of the Voyage.\\ The export voyage is returned when there are multiple voyages. // Deprecated CarrierVoyageNumber *string `json:"carrierVoyageNumber,omitempty"` // The vessel operator-specific identifier of the export Voyage. ExportVoyageNumber *string `json:"exportVoyageNumber,omitempty"` // The vessel operator-specific identifier of the import Voyage. ImportVoyageNumber *string `json:"importVoyageNumber,omitempty"` // Transport operator's key that uniquely identifies each individual call. This key is essential to distinguish between two separate calls at the same location within one voyage. TransportCallSequenceNumber *int32 `json:"transportCallSequenceNumber,omitempty"` // The UN Location code specifying where the place is located. UNLocationCode *string `json:"UNLocationCode,omitempty"` // The code used for identifying the specific facility. This code is not the UN Location Code. FacilityCode *string `json:"facilityCode,omitempty"` // The provider used for identifying the facility Code FacilityCodeListProvider *string `json:"facilityCodeListProvider,omitempty"` // A specialized version of the facilityCode to be used in TransportCalls. The code to identify the specific type of facility. * BOCR (Border crossing) * CLOC (Customer location) * COFS (Container freight station) * COYA (Deprecated - use OFFD intead) * OFFD (Off dock storage) * DEPO (Depot) * INTE (Inland terminal) * POTE (Port terminal) * RAMP (Ramp) FacilityTypeCode *string `json:"facilityTypeCode,omitempty"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // The code specifying the mode of transport. ModeOfTransport string `json:"modeOfTransport"` Location *Location `json:"location,omitempty"` Vessel *Vessel `json:"vessel,omitempty"` }
TransportCall struct for TransportCall
func NewTransportCall ¶
func NewTransportCall(modeOfTransport string) *TransportCall
NewTransportCall instantiates a new TransportCall 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 NewTransportCallWithDefaults ¶
func NewTransportCallWithDefaults() *TransportCall
NewTransportCallWithDefaults instantiates a new TransportCall 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 (*TransportCall) GetCarrierServiceCode ¶
func (o *TransportCall) GetCarrierServiceCode() string
GetCarrierServiceCode returns the CarrierServiceCode field value if set, zero value otherwise.
func (*TransportCall) GetCarrierServiceCodeOk ¶
func (o *TransportCall) GetCarrierServiceCodeOk() (*string, bool)
GetCarrierServiceCodeOk returns a tuple with the CarrierServiceCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetCarrierVoyageNumber ¶
func (o *TransportCall) GetCarrierVoyageNumber() string
GetCarrierVoyageNumber returns the CarrierVoyageNumber field value if set, zero value otherwise. Deprecated
func (*TransportCall) GetCarrierVoyageNumberOk ¶
func (o *TransportCall) GetCarrierVoyageNumberOk() (*string, bool)
GetCarrierVoyageNumberOk returns a tuple with the CarrierVoyageNumber field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*TransportCall) GetExportVoyageNumber ¶
func (o *TransportCall) GetExportVoyageNumber() string
GetExportVoyageNumber returns the ExportVoyageNumber field value if set, zero value otherwise.
func (*TransportCall) GetExportVoyageNumberOk ¶
func (o *TransportCall) GetExportVoyageNumberOk() (*string, bool)
GetExportVoyageNumberOk returns a tuple with the ExportVoyageNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetFacilityCode ¶
func (o *TransportCall) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value if set, zero value otherwise.
func (*TransportCall) GetFacilityCodeListProvider ¶
func (o *TransportCall) GetFacilityCodeListProvider() string
GetFacilityCodeListProvider returns the FacilityCodeListProvider field value if set, zero value otherwise.
func (*TransportCall) GetFacilityCodeListProviderOk ¶
func (o *TransportCall) GetFacilityCodeListProviderOk() (*string, bool)
GetFacilityCodeListProviderOk returns a tuple with the FacilityCodeListProvider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetFacilityCodeOk ¶
func (o *TransportCall) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetFacilityTypeCode ¶
func (o *TransportCall) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value if set, zero value otherwise.
func (*TransportCall) GetFacilityTypeCodeOk ¶
func (o *TransportCall) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetImportVoyageNumber ¶
func (o *TransportCall) GetImportVoyageNumber() string
GetImportVoyageNumber returns the ImportVoyageNumber field value if set, zero value otherwise.
func (*TransportCall) GetImportVoyageNumberOk ¶
func (o *TransportCall) GetImportVoyageNumberOk() (*string, bool)
GetImportVoyageNumberOk returns a tuple with the ImportVoyageNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetLocation ¶
func (o *TransportCall) GetLocation() Location
GetLocation returns the Location field value if set, zero value otherwise.
func (*TransportCall) GetLocationOk ¶
func (o *TransportCall) GetLocationOk() (*Location, bool)
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetModeOfTransport ¶
func (o *TransportCall) GetModeOfTransport() string
GetModeOfTransport returns the ModeOfTransport field value
func (*TransportCall) GetModeOfTransportOk ¶
func (o *TransportCall) GetModeOfTransportOk() (*string, bool)
GetModeOfTransportOk returns a tuple with the ModeOfTransport field value and a boolean to check if the value has been set.
func (*TransportCall) GetOtherFacility ¶
func (o *TransportCall) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*TransportCall) GetOtherFacilityOk ¶
func (o *TransportCall) 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 (*TransportCall) GetTransportCallID ¶
func (o *TransportCall) GetTransportCallID() string
GetTransportCallID returns the TransportCallID field value if set, zero value otherwise.
func (*TransportCall) GetTransportCallIDOk ¶
func (o *TransportCall) GetTransportCallIDOk() (*string, bool)
GetTransportCallIDOk returns a tuple with the TransportCallID field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetTransportCallSequenceNumber ¶
func (o *TransportCall) GetTransportCallSequenceNumber() int32
GetTransportCallSequenceNumber returns the TransportCallSequenceNumber field value if set, zero value otherwise.
func (*TransportCall) GetTransportCallSequenceNumberOk ¶
func (o *TransportCall) GetTransportCallSequenceNumberOk() (*int32, bool)
GetTransportCallSequenceNumberOk returns a tuple with the TransportCallSequenceNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetUNLocationCode ¶
func (o *TransportCall) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value if set, zero value otherwise.
func (*TransportCall) GetUNLocationCodeOk ¶
func (o *TransportCall) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) GetVessel ¶
func (o *TransportCall) GetVessel() Vessel
GetVessel returns the Vessel field value if set, zero value otherwise.
func (*TransportCall) GetVesselOk ¶
func (o *TransportCall) GetVesselOk() (*Vessel, bool)
GetVesselOk returns a tuple with the Vessel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportCall) HasCarrierServiceCode ¶
func (o *TransportCall) HasCarrierServiceCode() bool
HasCarrierServiceCode returns a boolean if a field has been set.
func (*TransportCall) HasCarrierVoyageNumber ¶
func (o *TransportCall) HasCarrierVoyageNumber() bool
HasCarrierVoyageNumber returns a boolean if a field has been set.
func (*TransportCall) HasExportVoyageNumber ¶
func (o *TransportCall) HasExportVoyageNumber() bool
HasExportVoyageNumber returns a boolean if a field has been set.
func (*TransportCall) HasFacilityCode ¶
func (o *TransportCall) HasFacilityCode() bool
HasFacilityCode returns a boolean if a field has been set.
func (*TransportCall) HasFacilityCodeListProvider ¶
func (o *TransportCall) HasFacilityCodeListProvider() bool
HasFacilityCodeListProvider returns a boolean if a field has been set.
func (*TransportCall) HasFacilityTypeCode ¶
func (o *TransportCall) HasFacilityTypeCode() bool
HasFacilityTypeCode returns a boolean if a field has been set.
func (*TransportCall) HasImportVoyageNumber ¶
func (o *TransportCall) HasImportVoyageNumber() bool
HasImportVoyageNumber returns a boolean if a field has been set.
func (*TransportCall) HasLocation ¶
func (o *TransportCall) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (*TransportCall) HasOtherFacility ¶
func (o *TransportCall) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (*TransportCall) HasTransportCallID ¶
func (o *TransportCall) HasTransportCallID() bool
HasTransportCallID returns a boolean if a field has been set.
func (*TransportCall) HasTransportCallSequenceNumber ¶
func (o *TransportCall) HasTransportCallSequenceNumber() bool
HasTransportCallSequenceNumber returns a boolean if a field has been set.
func (*TransportCall) HasUNLocationCode ¶
func (o *TransportCall) HasUNLocationCode() bool
HasUNLocationCode returns a boolean if a field has been set.
func (*TransportCall) HasVessel ¶
func (o *TransportCall) HasVessel() bool
HasVessel returns a boolean if a field has been set.
func (TransportCall) MarshalJSON ¶
func (o TransportCall) MarshalJSON() ([]byte, error)
func (*TransportCall) SetCarrierServiceCode ¶
func (o *TransportCall) SetCarrierServiceCode(v string)
SetCarrierServiceCode gets a reference to the given string and assigns it to the CarrierServiceCode field.
func (*TransportCall) SetCarrierVoyageNumber ¶
func (o *TransportCall) SetCarrierVoyageNumber(v string)
SetCarrierVoyageNumber gets a reference to the given string and assigns it to the CarrierVoyageNumber field. Deprecated
func (*TransportCall) SetExportVoyageNumber ¶
func (o *TransportCall) SetExportVoyageNumber(v string)
SetExportVoyageNumber gets a reference to the given string and assigns it to the ExportVoyageNumber field.
func (*TransportCall) SetFacilityCode ¶
func (o *TransportCall) SetFacilityCode(v string)
SetFacilityCode gets a reference to the given string and assigns it to the FacilityCode field.
func (*TransportCall) SetFacilityCodeListProvider ¶
func (o *TransportCall) SetFacilityCodeListProvider(v string)
SetFacilityCodeListProvider gets a reference to the given string and assigns it to the FacilityCodeListProvider field.
func (*TransportCall) SetFacilityTypeCode ¶
func (o *TransportCall) SetFacilityTypeCode(v string)
SetFacilityTypeCode gets a reference to the given string and assigns it to the FacilityTypeCode field.
func (*TransportCall) SetImportVoyageNumber ¶
func (o *TransportCall) SetImportVoyageNumber(v string)
SetImportVoyageNumber gets a reference to the given string and assigns it to the ImportVoyageNumber field.
func (*TransportCall) SetLocation ¶
func (o *TransportCall) SetLocation(v Location)
SetLocation gets a reference to the given Location and assigns it to the Location field.
func (*TransportCall) SetModeOfTransport ¶
func (o *TransportCall) SetModeOfTransport(v string)
SetModeOfTransport sets field value
func (*TransportCall) SetOtherFacility ¶
func (o *TransportCall) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*TransportCall) SetTransportCallID ¶
func (o *TransportCall) SetTransportCallID(v string)
SetTransportCallID gets a reference to the given string and assigns it to the TransportCallID field.
func (*TransportCall) SetTransportCallSequenceNumber ¶
func (o *TransportCall) SetTransportCallSequenceNumber(v int32)
SetTransportCallSequenceNumber gets a reference to the given int32 and assigns it to the TransportCallSequenceNumber field.
func (*TransportCall) SetUNLocationCode ¶
func (o *TransportCall) SetUNLocationCode(v string)
SetUNLocationCode gets a reference to the given string and assigns it to the UNLocationCode field.
func (*TransportCall) SetVessel ¶
func (o *TransportCall) SetVessel(v Vessel)
SetVessel gets a reference to the given Vessel and assigns it to the Vessel field.
type TransportEvent ¶
type TransportEvent struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID *string `json:"eventID,omitempty"` EventType string `json:"eventType"` // The local date and time, where the event took place or when the event will take place, in ISO 8601 format. For Shipment Event, it is the same as eventCreatedDateTime in UTC timezone. EventDateTime string `json:"eventDateTime"` // The UTC timestamp of when the event was created. EventCreatedDateTime time.Time `json:"eventCreatedDateTime"` // Code for the event classifier, either PLN, ACT or EST. * PLN - Planned * ACT - Actual * EST - Estimated EventClassifierCode string `json:"eventClassifierCode"` // References provided by the shipper or freight forwarder at the time of booking or at the time of providing shipping instruction. Carriers share it back when providing track and trace event updates, some are also printed on the B/L. Customers can use these references to track shipments in their internal systems. References []EventReferencesInner `json:"references,omitempty"` // Identifier for type of Transport event - ARRI (Arrived) - DEPA (Departed) TransportEventTypeCode *string `json:"transportEventTypeCode,omitempty"` // Reason code for the delay. The SMDG-Delay-Reason-Codes are used for this attribute. The code list can be found at http://www.smdg.org/smdg-code-lists/ DelayReasonCode *string `json:"delayReasonCode,omitempty"` // Free text information provided by the vessel operator regarding the reasons for the change in schedule and/or plans to mitigate schedule slippage. ChangeRemark *string `json:"changeRemark,omitempty"` // An optional list of key-value (documentReferenceType-documentReferenceValue) pairs representing links to objects relevant to the event. The documentReferenceType-field is used to describe where the documentReferenceValue-field is pointing to. DocumentReferences []DocumentReferencesInner `json:"documentReferences,omitempty"` TransportCall TransportCall `json:"transportCall"` }
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(eventType string, eventDateTime string, eventCreatedDateTime time.Time, eventClassifierCode string, transportCall TransportCall) *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) GetChangeRemark ¶
func (o *TransportEvent) GetChangeRemark() string
GetChangeRemark returns the ChangeRemark field value if set, zero value otherwise.
func (*TransportEvent) GetChangeRemarkOk ¶
func (o *TransportEvent) GetChangeRemarkOk() (*string, bool)
GetChangeRemarkOk returns a tuple with the ChangeRemark field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEvent) GetDelayReasonCode ¶
func (o *TransportEvent) GetDelayReasonCode() string
GetDelayReasonCode returns the DelayReasonCode field value if set, zero value otherwise.
func (*TransportEvent) GetDelayReasonCodeOk ¶
func (o *TransportEvent) GetDelayReasonCodeOk() (*string, bool)
GetDelayReasonCodeOk returns a tuple with the DelayReasonCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEvent) GetDocumentReferences ¶
func (o *TransportEvent) GetDocumentReferences() []DocumentReferencesInner
GetDocumentReferences returns the DocumentReferences field value if set, zero value otherwise.
func (*TransportEvent) GetDocumentReferencesOk ¶
func (o *TransportEvent) GetDocumentReferencesOk() ([]DocumentReferencesInner, bool)
GetDocumentReferencesOk returns a tuple with the DocumentReferences 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) GetEventCreatedDateTime ¶
func (o *TransportEvent) GetEventCreatedDateTime() time.Time
GetEventCreatedDateTime returns the EventCreatedDateTime field value
func (*TransportEvent) GetEventCreatedDateTimeOk ¶
func (o *TransportEvent) GetEventCreatedDateTimeOk() (*time.Time, bool)
GetEventCreatedDateTimeOk returns a tuple with the EventCreatedDateTime field value and a boolean to check if the value has been set.
func (*TransportEvent) GetEventDateTime ¶
func (o *TransportEvent) GetEventDateTime() string
GetEventDateTime returns the EventDateTime field value
func (*TransportEvent) GetEventDateTimeOk ¶
func (o *TransportEvent) GetEventDateTimeOk() (*string, 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 if set, zero value otherwise.
func (*TransportEvent) GetEventIDOk ¶
func (o *TransportEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value if set, nil otherwise 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) 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) GetReferences ¶
func (o *TransportEvent) GetReferences() []EventReferencesInner
GetReferences returns the References field value if set, zero value otherwise.
func (*TransportEvent) GetReferencesOk ¶
func (o *TransportEvent) GetReferencesOk() ([]EventReferencesInner, bool)
GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEvent) GetTransportCall ¶
func (o *TransportEvent) GetTransportCall() TransportCall
GetTransportCall returns the TransportCall field value
func (*TransportEvent) GetTransportCallOk ¶
func (o *TransportEvent) GetTransportCallOk() (*TransportCall, bool)
GetTransportCallOk returns a tuple with the TransportCall field value and a boolean to check if the value has been set.
func (*TransportEvent) GetTransportEventTypeCode ¶
func (o *TransportEvent) GetTransportEventTypeCode() string
GetTransportEventTypeCode returns the TransportEventTypeCode field value if set, zero value otherwise.
func (*TransportEvent) GetTransportEventTypeCodeOk ¶
func (o *TransportEvent) GetTransportEventTypeCodeOk() (*string, bool)
GetTransportEventTypeCodeOk returns a tuple with the TransportEventTypeCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEvent) HasChangeRemark ¶
func (o *TransportEvent) HasChangeRemark() bool
HasChangeRemark returns a boolean if a field has been set.
func (*TransportEvent) HasDelayReasonCode ¶
func (o *TransportEvent) HasDelayReasonCode() bool
HasDelayReasonCode returns a boolean if a field has been set.
func (*TransportEvent) HasDocumentReferences ¶
func (o *TransportEvent) HasDocumentReferences() bool
HasDocumentReferences returns a boolean if a field has been set.
func (*TransportEvent) HasEventID ¶
func (o *TransportEvent) HasEventID() bool
HasEventID returns a boolean if a field has been set.
func (*TransportEvent) HasReferences ¶
func (o *TransportEvent) HasReferences() bool
HasReferences returns a boolean if a field has been set.
func (*TransportEvent) HasTransportEventTypeCode ¶
func (o *TransportEvent) HasTransportEventTypeCode() bool
HasTransportEventTypeCode returns a boolean if a field has been set.
func (TransportEvent) MarshalJSON ¶
func (o TransportEvent) MarshalJSON() ([]byte, error)
func (*TransportEvent) SetChangeRemark ¶
func (o *TransportEvent) SetChangeRemark(v string)
SetChangeRemark gets a reference to the given string and assigns it to the ChangeRemark field.
func (*TransportEvent) SetDelayReasonCode ¶
func (o *TransportEvent) SetDelayReasonCode(v string)
SetDelayReasonCode gets a reference to the given string and assigns it to the DelayReasonCode field.
func (*TransportEvent) SetDocumentReferences ¶
func (o *TransportEvent) SetDocumentReferences(v []DocumentReferencesInner)
SetDocumentReferences gets a reference to the given []DocumentReferencesInner and assigns it to the DocumentReferences field.
func (*TransportEvent) SetEventClassifierCode ¶
func (o *TransportEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*TransportEvent) SetEventCreatedDateTime ¶
func (o *TransportEvent) SetEventCreatedDateTime(v time.Time)
SetEventCreatedDateTime sets field value
func (*TransportEvent) SetEventDateTime ¶
func (o *TransportEvent) SetEventDateTime(v string)
SetEventDateTime sets field value
func (*TransportEvent) SetEventID ¶
func (o *TransportEvent) SetEventID(v string)
SetEventID gets a reference to the given string and assigns it to the EventID field.
func (*TransportEvent) SetEventType ¶
func (o *TransportEvent) SetEventType(v string)
SetEventType sets field value
func (*TransportEvent) SetReferences ¶
func (o *TransportEvent) SetReferences(v []EventReferencesInner)
SetReferences gets a reference to the given []EventReferencesInner and assigns it to the References field.
func (*TransportEvent) SetTransportCall ¶
func (o *TransportEvent) SetTransportCall(v TransportCall)
SetTransportCall sets field value
func (*TransportEvent) SetTransportEventTypeCode ¶
func (o *TransportEvent) SetTransportEventTypeCode(v string)
SetTransportEventTypeCode gets a reference to the given string and assigns it to the TransportEventTypeCode field.
type TransportEventAllOf ¶
type TransportEventAllOf struct { EventType *string `json:"eventType,omitempty"` // Identifier for type of Transport event - ARRI (Arrived) - DEPA (Departed) TransportEventTypeCode *string `json:"transportEventTypeCode,omitempty"` // Reason code for the delay. The SMDG-Delay-Reason-Codes are used for this attribute. The code list can be found at http://www.smdg.org/smdg-code-lists/ DelayReasonCode *string `json:"delayReasonCode,omitempty"` // Free text information provided by the vessel operator regarding the reasons for the change in schedule and/or plans to mitigate schedule slippage. ChangeRemark *string `json:"changeRemark,omitempty"` // An optional list of key-value (documentReferenceType-documentReferenceValue) pairs representing links to objects relevant to the event. The documentReferenceType-field is used to describe where the documentReferenceValue-field is pointing to. DocumentReferences []DocumentReferencesInner `json:"documentReferences,omitempty"` }
TransportEventAllOf struct for TransportEventAllOf
func NewTransportEventAllOf ¶
func NewTransportEventAllOf() *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) GetChangeRemark ¶
func (o *TransportEventAllOf) GetChangeRemark() string
GetChangeRemark returns the ChangeRemark field value if set, zero value otherwise.
func (*TransportEventAllOf) GetChangeRemarkOk ¶
func (o *TransportEventAllOf) GetChangeRemarkOk() (*string, bool)
GetChangeRemarkOk returns a tuple with the ChangeRemark field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetDelayReasonCode ¶
func (o *TransportEventAllOf) GetDelayReasonCode() string
GetDelayReasonCode returns the DelayReasonCode field value if set, zero value otherwise.
func (*TransportEventAllOf) GetDelayReasonCodeOk ¶
func (o *TransportEventAllOf) GetDelayReasonCodeOk() (*string, bool)
GetDelayReasonCodeOk returns a tuple with the DelayReasonCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetDocumentReferences ¶
func (o *TransportEventAllOf) GetDocumentReferences() []DocumentReferencesInner
GetDocumentReferences returns the DocumentReferences field value if set, zero value otherwise.
func (*TransportEventAllOf) GetDocumentReferencesOk ¶
func (o *TransportEventAllOf) GetDocumentReferencesOk() ([]DocumentReferencesInner, bool)
GetDocumentReferencesOk returns a tuple with the DocumentReferences 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) GetTransportEventTypeCode ¶
func (o *TransportEventAllOf) GetTransportEventTypeCode() string
GetTransportEventTypeCode returns the TransportEventTypeCode field value if set, zero value otherwise.
func (*TransportEventAllOf) GetTransportEventTypeCodeOk ¶
func (o *TransportEventAllOf) GetTransportEventTypeCodeOk() (*string, bool)
GetTransportEventTypeCodeOk returns a tuple with the TransportEventTypeCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) HasChangeRemark ¶
func (o *TransportEventAllOf) HasChangeRemark() bool
HasChangeRemark returns a boolean if a field has been set.
func (*TransportEventAllOf) HasDelayReasonCode ¶
func (o *TransportEventAllOf) HasDelayReasonCode() bool
HasDelayReasonCode returns a boolean if a field has been set.
func (*TransportEventAllOf) HasDocumentReferences ¶
func (o *TransportEventAllOf) HasDocumentReferences() bool
HasDocumentReferences 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) HasTransportEventTypeCode ¶
func (o *TransportEventAllOf) HasTransportEventTypeCode() bool
HasTransportEventTypeCode returns a boolean if a field has been set.
func (TransportEventAllOf) MarshalJSON ¶
func (o TransportEventAllOf) MarshalJSON() ([]byte, error)
func (*TransportEventAllOf) SetChangeRemark ¶
func (o *TransportEventAllOf) SetChangeRemark(v string)
SetChangeRemark gets a reference to the given string and assigns it to the ChangeRemark field.
func (*TransportEventAllOf) SetDelayReasonCode ¶
func (o *TransportEventAllOf) SetDelayReasonCode(v string)
SetDelayReasonCode gets a reference to the given string and assigns it to the DelayReasonCode field.
func (*TransportEventAllOf) SetDocumentReferences ¶
func (o *TransportEventAllOf) SetDocumentReferences(v []DocumentReferencesInner)
SetDocumentReferences gets a reference to the given []DocumentReferencesInner and assigns it to the DocumentReferences 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) SetTransportEventTypeCode ¶
func (o *TransportEventAllOf) SetTransportEventTypeCode(v string)
SetTransportEventTypeCode gets a reference to the given string and assigns it to the TransportEventTypeCode field.
type TransportEventAllOf1 ¶
type TransportEventAllOf1 struct {
TransportCall TransportCall `json:"transportCall"`
}
TransportEventAllOf1 struct for TransportEventAllOf1
func NewTransportEventAllOf1 ¶
func NewTransportEventAllOf1(transportCall TransportCall) *TransportEventAllOf1
NewTransportEventAllOf1 instantiates a new TransportEventAllOf1 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 NewTransportEventAllOf1WithDefaults ¶
func NewTransportEventAllOf1WithDefaults() *TransportEventAllOf1
NewTransportEventAllOf1WithDefaults instantiates a new TransportEventAllOf1 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 (*TransportEventAllOf1) GetTransportCall ¶
func (o *TransportEventAllOf1) GetTransportCall() TransportCall
GetTransportCall returns the TransportCall field value
func (*TransportEventAllOf1) GetTransportCallOk ¶
func (o *TransportEventAllOf1) GetTransportCallOk() (*TransportCall, bool)
GetTransportCallOk returns a tuple with the TransportCall field value and a boolean to check if the value has been set.
func (TransportEventAllOf1) MarshalJSON ¶
func (o TransportEventAllOf1) MarshalJSON() ([]byte, error)
func (*TransportEventAllOf1) SetTransportCall ¶
func (o *TransportEventAllOf1) SetTransportCall(v TransportCall)
SetTransportCall sets field value
type Vessel ¶
type Vessel struct { // The unique reference for a registered Vessel. The reference is the International Maritime Organisation (IMO) number, also sometimes known as the Lloyd's register code, which does not change during the lifetime of the vessel VesselIMONumber string `json:"vesselIMONumber"` // The name of the Vessel given by the Vessel Operator and registered with IMO. VesselName *string `json:"vesselName,omitempty"` // The flag of the nation whose laws the vessel is registered under. This is the ISO 3166 two-letter country code VesselFlag *string `json:"vesselFlag,omitempty"` // A unique alphanumeric identity that belongs to the vessel and is assigned by the International Telecommunication Union (ITU). It consists of a three letter alphanumeric prefix that indicates nationality, followed by one to four characters to identify the individual vessel. For instance, vessels registered under Denmark are assigned the prefix ranges 5PA-5QZ, OUAOZZ, and XPA-XPZ. The Call Sign changes whenever a vessel changes its flag. VesselCallSignNumber *string `json:"vesselCallSignNumber,omitempty"` // The carrier who is in charge of the vessel operation based on either the SMDG or SCAC code lists VesselOperatorCarrierCode *string `json:"vesselOperatorCarrierCode,omitempty"` // Identifies the code list provider used for the operator and partner carrierCodes. VesselOperatorCarrierCodeListProvider *string `json:"vesselOperatorCarrierCodeListProvider,omitempty"` }
Vessel struct for Vessel
func NewVessel ¶
NewVessel instantiates a new Vessel 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 NewVesselWithDefaults ¶
func NewVesselWithDefaults() *Vessel
NewVesselWithDefaults instantiates a new Vessel 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 (*Vessel) GetVesselCallSignNumber ¶
GetVesselCallSignNumber returns the VesselCallSignNumber field value if set, zero value otherwise.
func (*Vessel) GetVesselCallSignNumberOk ¶
GetVesselCallSignNumberOk returns a tuple with the VesselCallSignNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vessel) GetVesselFlag ¶
GetVesselFlag returns the VesselFlag field value if set, zero value otherwise.
func (*Vessel) GetVesselFlagOk ¶
GetVesselFlagOk returns a tuple with the VesselFlag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vessel) GetVesselIMONumber ¶
GetVesselIMONumber returns the VesselIMONumber field value
func (*Vessel) GetVesselIMONumberOk ¶
GetVesselIMONumberOk returns a tuple with the VesselIMONumber field value and a boolean to check if the value has been set.
func (*Vessel) GetVesselName ¶
GetVesselName returns the VesselName field value if set, zero value otherwise.
func (*Vessel) GetVesselNameOk ¶
GetVesselNameOk returns a tuple with the VesselName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vessel) GetVesselOperatorCarrierCode ¶
GetVesselOperatorCarrierCode returns the VesselOperatorCarrierCode field value if set, zero value otherwise.
func (*Vessel) GetVesselOperatorCarrierCodeListProvider ¶
GetVesselOperatorCarrierCodeListProvider returns the VesselOperatorCarrierCodeListProvider field value if set, zero value otherwise.
func (*Vessel) GetVesselOperatorCarrierCodeListProviderOk ¶
GetVesselOperatorCarrierCodeListProviderOk returns a tuple with the VesselOperatorCarrierCodeListProvider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vessel) GetVesselOperatorCarrierCodeOk ¶
GetVesselOperatorCarrierCodeOk returns a tuple with the VesselOperatorCarrierCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Vessel) HasVesselCallSignNumber ¶
HasVesselCallSignNumber returns a boolean if a field has been set.
func (*Vessel) HasVesselFlag ¶
HasVesselFlag returns a boolean if a field has been set.
func (*Vessel) HasVesselName ¶
HasVesselName returns a boolean if a field has been set.
func (*Vessel) HasVesselOperatorCarrierCode ¶
HasVesselOperatorCarrierCode returns a boolean if a field has been set.
func (*Vessel) HasVesselOperatorCarrierCodeListProvider ¶
HasVesselOperatorCarrierCodeListProvider returns a boolean if a field has been set.
func (Vessel) MarshalJSON ¶
func (*Vessel) SetVesselCallSignNumber ¶
SetVesselCallSignNumber gets a reference to the given string and assigns it to the VesselCallSignNumber field.
func (*Vessel) SetVesselFlag ¶
SetVesselFlag gets a reference to the given string and assigns it to the VesselFlag field.
func (*Vessel) SetVesselIMONumber ¶
SetVesselIMONumber sets field value
func (*Vessel) SetVesselName ¶
SetVesselName gets a reference to the given string and assigns it to the VesselName field.
func (*Vessel) SetVesselOperatorCarrierCode ¶
SetVesselOperatorCarrierCode gets a reference to the given string and assigns it to the VesselOperatorCarrierCode field.
func (*Vessel) SetVesselOperatorCarrierCodeListProvider ¶
SetVesselOperatorCarrierCodeListProvider gets a reference to the given string and assigns it to the VesselOperatorCarrierCodeListProvider field.
Source Files ¶
- api_auth.go
- api_events.go
- client.go
- configuration.go
- model_address.go
- model_api_error.go
- model_api_validation_error.go
- model_create_access_token_200_response.go
- model_create_access_token_400_response.go
- model_create_access_token_401_response.go
- model_create_access_token_401_response_error_inner.go
- model_document_references_inner.go
- model_equipment_event.go
- model_equipment_event_all_of.go
- model_event.go
- model_event_references_inner.go
- model_events.go
- model_events_events_inner.go
- model_location.go
- model_seal.go
- model_shipment_event.go
- model_shipment_event_all_of.go
- model_transport_call.go
- model_transport_event.go
- model_transport_event_all_of.go
- model_transport_event_all_of_1.go
- model_vessel.go
- response.go
- utils.go