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 ApiV1CargotrackingEventsGetRequest
- func (r ApiV1CargotrackingEventsGetRequest) Apikey(apikey string) ApiV1CargotrackingEventsGetRequest
- func (r ApiV1CargotrackingEventsGetRequest) Authorization(authorization string) ApiV1CargotrackingEventsGetRequest
- func (r ApiV1CargotrackingEventsGetRequest) BillOfLadingNumber(billOfLadingNumber string) ApiV1CargotrackingEventsGetRequest
- func (r ApiV1CargotrackingEventsGetRequest) BookingReference(bookingReference string) ApiV1CargotrackingEventsGetRequest
- func (r ApiV1CargotrackingEventsGetRequest) EquipmentReference(equipmentReference string) ApiV1CargotrackingEventsGetRequest
- func (r ApiV1CargotrackingEventsGetRequest) EventType(eventType []string) ApiV1CargotrackingEventsGetRequest
- func (r ApiV1CargotrackingEventsGetRequest) Execute() (SampleEvent, *_nethttp.Response, error)
- type ApiV1OauthAccesstokenPostRequest
- func (r ApiV1OauthAccesstokenPostRequest) Apikey(apikey string) ApiV1OauthAccesstokenPostRequest
- func (r ApiV1OauthAccesstokenPostRequest) Authorization(authorization string) ApiV1OauthAccesstokenPostRequest
- func (r ApiV1OauthAccesstokenPostRequest) Execute() (InlineResponse200, *_nethttp.Response, error)
- func (r ApiV1OauthAccesstokenPostRequest) GrantType(grantType string) ApiV1OauthAccesstokenPostRequest
- type BasicAuth
- type Configuration
- type DefaultApi
- type DefaultApiService
- type EquipmentEvent
- func (o *EquipmentEvent) GetEmptyIndicatorCode() string
- func (o *EquipmentEvent) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetEquipmentReference() string
- func (o *EquipmentEvent) GetEquipmentReferenceOk() (*string, bool)
- func (o *EquipmentEvent) GetEventClassifierCode() string
- func (o *EquipmentEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetEventDateTime() time.Time
- func (o *EquipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
- func (o *EquipmentEvent) GetEventID() string
- func (o *EquipmentEvent) GetEventIDOk() (*string, bool)
- func (o *EquipmentEvent) GetEventType() string
- func (o *EquipmentEvent) GetEventTypeCode() string
- func (o *EquipmentEvent) GetEventTypeCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetEventTypeOk() (*string, bool)
- func (o *EquipmentEvent) GetFacilityCode() string
- func (o *EquipmentEvent) GetFacilityCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetFacilityTypeCode() string
- func (o *EquipmentEvent) GetFacilityTypeCodeOk() (*string, bool)
- func (o *EquipmentEvent) GetOtherFacility() string
- func (o *EquipmentEvent) GetOtherFacilityOk() (*string, bool)
- func (o *EquipmentEvent) GetUNLocationCode() string
- func (o *EquipmentEvent) GetUNLocationCodeOk() (*string, bool)
- func (o *EquipmentEvent) HasEquipmentReference() bool
- func (o *EquipmentEvent) HasOtherFacility() bool
- func (o EquipmentEvent) MarshalJSON() ([]byte, error)
- func (o *EquipmentEvent) SetEmptyIndicatorCode(v string)
- func (o *EquipmentEvent) SetEquipmentReference(v string)
- func (o *EquipmentEvent) SetEventClassifierCode(v string)
- func (o *EquipmentEvent) SetEventDateTime(v time.Time)
- func (o *EquipmentEvent) SetEventID(v string)
- func (o *EquipmentEvent) SetEventType(v string)
- func (o *EquipmentEvent) SetEventTypeCode(v string)
- func (o *EquipmentEvent) SetFacilityCode(v string)
- func (o *EquipmentEvent) SetFacilityTypeCode(v string)
- func (o *EquipmentEvent) SetOtherFacility(v string)
- func (o *EquipmentEvent) SetUNLocationCode(v string)
- type EquipmentEventAllOf
- func (o *EquipmentEventAllOf) GetEmptyIndicatorCode() string
- func (o *EquipmentEventAllOf) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetEquipmentReference() string
- func (o *EquipmentEventAllOf) GetEquipmentReferenceOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetEventType() string
- func (o *EquipmentEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetFacilityCode() string
- func (o *EquipmentEventAllOf) GetFacilityCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetFacilityTypeCode() string
- func (o *EquipmentEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetOtherFacility() string
- func (o *EquipmentEventAllOf) GetOtherFacilityOk() (*string, bool)
- func (o *EquipmentEventAllOf) GetUNLocationCode() string
- func (o *EquipmentEventAllOf) GetUNLocationCodeOk() (*string, bool)
- func (o *EquipmentEventAllOf) HasEquipmentReference() bool
- func (o *EquipmentEventAllOf) HasEventType() bool
- func (o *EquipmentEventAllOf) HasOtherFacility() bool
- func (o EquipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (o *EquipmentEventAllOf) SetEmptyIndicatorCode(v string)
- func (o *EquipmentEventAllOf) SetEquipmentReference(v string)
- func (o *EquipmentEventAllOf) SetEventType(v string)
- func (o *EquipmentEventAllOf) SetFacilityCode(v string)
- func (o *EquipmentEventAllOf) SetFacilityTypeCode(v string)
- func (o *EquipmentEventAllOf) SetOtherFacility(v string)
- func (o *EquipmentEventAllOf) SetUNLocationCode(v string)
- type Event
- func (o *Event) GetEventClassifierCode() string
- func (o *Event) GetEventClassifierCodeOk() (*string, bool)
- func (o *Event) GetEventDateTime() time.Time
- func (o *Event) GetEventDateTimeOk() (*time.Time, bool)
- func (o *Event) GetEventID() string
- func (o *Event) GetEventIDOk() (*string, bool)
- func (o *Event) GetEventType() string
- func (o *Event) GetEventTypeCode() string
- func (o *Event) GetEventTypeCodeOk() (*string, bool)
- func (o *Event) GetEventTypeOk() (*string, bool)
- func (o Event) MarshalJSON() ([]byte, error)
- func (o *Event) SetEventClassifierCode(v string)
- func (o *Event) SetEventDateTime(v time.Time)
- func (o *Event) SetEventID(v string)
- func (o *Event) SetEventType(v string)
- func (o *Event) SetEventTypeCode(v string)
- type EventsApi
- type EventsApiService
- type GenericOpenAPIError
- type InlineResponse200
- func (o *InlineResponse200) GetAccessToken() string
- func (o *InlineResponse200) GetAccessTokenOk() (*string, bool)
- func (o *InlineResponse200) GetApiProductList() string
- func (o *InlineResponse200) GetApiProductListJson() []string
- func (o *InlineResponse200) GetApiProductListJsonOk() (*[]string, bool)
- func (o *InlineResponse200) GetApiProductListOk() (*string, bool)
- func (o *InlineResponse200) GetApplicationName() string
- func (o *InlineResponse200) GetApplicationNameOk() (*string, bool)
- func (o *InlineResponse200) GetClientId() string
- func (o *InlineResponse200) GetClientIdOk() (*string, bool)
- func (o *InlineResponse200) GetDeveloperEmail() string
- func (o *InlineResponse200) GetDeveloperEmailOk() (*string, bool)
- func (o *InlineResponse200) GetExpiresIn() string
- func (o *InlineResponse200) GetExpiresInOk() (*string, bool)
- func (o *InlineResponse200) GetIssuedAt() string
- func (o *InlineResponse200) GetIssuedAtOk() (*string, bool)
- func (o *InlineResponse200) GetOrganizationName() string
- func (o *InlineResponse200) GetOrganizationNameOk() (*string, bool)
- func (o *InlineResponse200) GetRefreshCount() string
- func (o *InlineResponse200) GetRefreshCountOk() (*string, bool)
- func (o *InlineResponse200) GetRefreshTokenExpiresIn() string
- func (o *InlineResponse200) GetRefreshTokenExpiresInOk() (*string, bool)
- func (o *InlineResponse200) GetScope() string
- func (o *InlineResponse200) GetScopeOk() (*string, bool)
- func (o *InlineResponse200) GetStatus() string
- func (o *InlineResponse200) GetStatusOk() (*string, bool)
- func (o *InlineResponse200) GetTokenType() string
- func (o *InlineResponse200) GetTokenTypeOk() (*string, bool)
- func (o *InlineResponse200) HasAccessToken() bool
- func (o *InlineResponse200) HasApiProductList() bool
- func (o *InlineResponse200) HasApiProductListJson() bool
- func (o *InlineResponse200) HasApplicationName() bool
- func (o *InlineResponse200) HasClientId() bool
- func (o *InlineResponse200) HasDeveloperEmail() bool
- func (o *InlineResponse200) HasExpiresIn() bool
- func (o *InlineResponse200) HasIssuedAt() bool
- func (o *InlineResponse200) HasOrganizationName() bool
- func (o *InlineResponse200) HasRefreshCount() bool
- func (o *InlineResponse200) HasRefreshTokenExpiresIn() bool
- func (o *InlineResponse200) HasScope() bool
- func (o *InlineResponse200) HasStatus() bool
- func (o *InlineResponse200) HasTokenType() bool
- func (o InlineResponse200) MarshalJSON() ([]byte, error)
- func (o *InlineResponse200) SetAccessToken(v string)
- func (o *InlineResponse200) SetApiProductList(v string)
- func (o *InlineResponse200) SetApiProductListJson(v []string)
- func (o *InlineResponse200) SetApplicationName(v string)
- func (o *InlineResponse200) SetClientId(v string)
- func (o *InlineResponse200) SetDeveloperEmail(v string)
- func (o *InlineResponse200) SetExpiresIn(v string)
- func (o *InlineResponse200) SetIssuedAt(v string)
- func (o *InlineResponse200) SetOrganizationName(v string)
- func (o *InlineResponse200) SetRefreshCount(v string)
- func (o *InlineResponse200) SetRefreshTokenExpiresIn(v string)
- func (o *InlineResponse200) SetScope(v string)
- func (o *InlineResponse200) SetStatus(v string)
- func (o *InlineResponse200) SetTokenType(v string)
- type InlineResponse400
- func (o *InlineResponse400) GetErrorCode() int32
- func (o *InlineResponse400) GetErrorCodeOk() (*int32, bool)
- func (o *InlineResponse400) GetErrorMessages() string
- func (o *InlineResponse400) GetErrorMessagesOk() (*string, bool)
- func (o *InlineResponse400) GetUuid() string
- func (o *InlineResponse400) GetUuidOk() (*string, bool)
- func (o *InlineResponse400) HasErrorCode() bool
- func (o *InlineResponse400) HasErrorMessages() bool
- func (o *InlineResponse400) HasUuid() bool
- func (o InlineResponse400) MarshalJSON() ([]byte, error)
- func (o *InlineResponse400) SetErrorCode(v int32)
- func (o *InlineResponse400) SetErrorMessages(v string)
- func (o *InlineResponse400) SetUuid(v string)
- type InlineResponse401
- func (o *InlineResponse401) GetError() string
- func (o *InlineResponse401) GetErrorCode() string
- func (o *InlineResponse401) GetErrorCodeOk() (*string, bool)
- func (o *InlineResponse401) GetErrorOk() (*string, bool)
- func (o *InlineResponse401) HasError() bool
- func (o *InlineResponse401) HasErrorCode() bool
- func (o InlineResponse401) MarshalJSON() ([]byte, error)
- func (o *InlineResponse401) SetError(v string)
- func (o *InlineResponse401) SetErrorCode(v string)
- type InlineResponse4011
- func (o *InlineResponse4011) GetErrorCode() int32
- func (o *InlineResponse4011) GetErrorCodeOk() (*int32, bool)
- func (o *InlineResponse4011) GetErrorMessages() string
- func (o *InlineResponse4011) GetErrorMessagesOk() (*string, bool)
- func (o *InlineResponse4011) HasErrorCode() bool
- func (o *InlineResponse4011) HasErrorMessages() bool
- func (o InlineResponse4011) MarshalJSON() ([]byte, error)
- func (o *InlineResponse4011) SetErrorCode(v int32)
- func (o *InlineResponse4011) SetErrorMessages(v string)
- type InlineResponse500
- func (o *InlineResponse500) GetErrorCode() int32
- func (o *InlineResponse500) GetErrorCodeOk() (*int32, bool)
- func (o *InlineResponse500) GetErrorMessages() string
- func (o *InlineResponse500) GetErrorMessagesOk() (*string, bool)
- func (o *InlineResponse500) HasErrorCode() bool
- func (o *InlineResponse500) HasErrorMessages() bool
- func (o InlineResponse500) MarshalJSON() ([]byte, error)
- func (o *InlineResponse500) SetErrorCode(v int32)
- func (o *InlineResponse500) SetErrorMessages(v string)
- type InlineResponse504
- func (o *InlineResponse504) GetErrorCode() int32
- func (o *InlineResponse504) GetErrorCodeOk() (*int32, bool)
- func (o *InlineResponse504) GetErrorMessages() string
- func (o *InlineResponse504) GetErrorMessagesOk() (*string, bool)
- func (o *InlineResponse504) HasErrorCode() bool
- func (o *InlineResponse504) HasErrorMessages() bool
- func (o InlineResponse504) MarshalJSON() ([]byte, error)
- func (o *InlineResponse504) SetErrorCode(v int32)
- func (o *InlineResponse504) SetErrorMessages(v string)
- type NullableBool
- type NullableEquipmentEvent
- func (v NullableEquipmentEvent) Get() *EquipmentEvent
- func (v NullableEquipmentEvent) IsSet() bool
- func (v NullableEquipmentEvent) MarshalJSON() ([]byte, error)
- func (v *NullableEquipmentEvent) Set(val *EquipmentEvent)
- func (v *NullableEquipmentEvent) UnmarshalJSON(src []byte) error
- func (v *NullableEquipmentEvent) Unset()
- type NullableEquipmentEventAllOf
- func (v NullableEquipmentEventAllOf) Get() *EquipmentEventAllOf
- func (v NullableEquipmentEventAllOf) IsSet() bool
- func (v NullableEquipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableEquipmentEventAllOf) Set(val *EquipmentEventAllOf)
- func (v *NullableEquipmentEventAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableEquipmentEventAllOf) Unset()
- type NullableEvent
- type NullableFloat32
- type NullableFloat64
- type NullableInlineResponse200
- func (v NullableInlineResponse200) Get() *InlineResponse200
- func (v NullableInlineResponse200) IsSet() bool
- func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse200) Set(val *InlineResponse200)
- func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse200) Unset()
- type NullableInlineResponse400
- func (v NullableInlineResponse400) Get() *InlineResponse400
- func (v NullableInlineResponse400) IsSet() bool
- func (v NullableInlineResponse400) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse400) Set(val *InlineResponse400)
- func (v *NullableInlineResponse400) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse400) Unset()
- type NullableInlineResponse401
- func (v NullableInlineResponse401) Get() *InlineResponse401
- func (v NullableInlineResponse401) IsSet() bool
- func (v NullableInlineResponse401) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse401) Set(val *InlineResponse401)
- func (v *NullableInlineResponse401) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse401) Unset()
- type NullableInlineResponse4011
- func (v NullableInlineResponse4011) Get() *InlineResponse4011
- func (v NullableInlineResponse4011) IsSet() bool
- func (v NullableInlineResponse4011) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse4011) Set(val *InlineResponse4011)
- func (v *NullableInlineResponse4011) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse4011) Unset()
- type NullableInlineResponse500
- func (v NullableInlineResponse500) Get() *InlineResponse500
- func (v NullableInlineResponse500) IsSet() bool
- func (v NullableInlineResponse500) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse500) Set(val *InlineResponse500)
- func (v *NullableInlineResponse500) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse500) Unset()
- type NullableInlineResponse504
- func (v NullableInlineResponse504) Get() *InlineResponse504
- func (v NullableInlineResponse504) IsSet() bool
- func (v NullableInlineResponse504) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse504) Set(val *InlineResponse504)
- func (v *NullableInlineResponse504) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse504) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableSampleEvent
- func (v NullableSampleEvent) Get() *SampleEvent
- func (v NullableSampleEvent) IsSet() bool
- func (v NullableSampleEvent) MarshalJSON() ([]byte, error)
- func (v *NullableSampleEvent) Set(val *SampleEvent)
- func (v *NullableSampleEvent) UnmarshalJSON(src []byte) error
- func (v *NullableSampleEvent) Unset()
- type NullableShipmentEvent
- func (v NullableShipmentEvent) Get() *ShipmentEvent
- func (v NullableShipmentEvent) IsSet() bool
- func (v NullableShipmentEvent) MarshalJSON() ([]byte, error)
- func (v *NullableShipmentEvent) Set(val *ShipmentEvent)
- func (v *NullableShipmentEvent) UnmarshalJSON(src []byte) error
- func (v *NullableShipmentEvent) Unset()
- type NullableShipmentEventAllOf
- func (v NullableShipmentEventAllOf) Get() *ShipmentEventAllOf
- func (v NullableShipmentEventAllOf) IsSet() bool
- func (v NullableShipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableShipmentEventAllOf) Set(val *ShipmentEventAllOf)
- func (v *NullableShipmentEventAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableShipmentEventAllOf) Unset()
- type NullableString
- type NullableTime
- type NullableTransportEquipmentEvent
- func (v NullableTransportEquipmentEvent) Get() *TransportEquipmentEvent
- func (v NullableTransportEquipmentEvent) IsSet() bool
- func (v NullableTransportEquipmentEvent) MarshalJSON() ([]byte, error)
- func (v *NullableTransportEquipmentEvent) Set(val *TransportEquipmentEvent)
- func (v *NullableTransportEquipmentEvent) UnmarshalJSON(src []byte) error
- func (v *NullableTransportEquipmentEvent) Unset()
- type NullableTransportEquipmentEventAllOf
- func (v NullableTransportEquipmentEventAllOf) Get() *TransportEquipmentEventAllOf
- func (v NullableTransportEquipmentEventAllOf) IsSet() bool
- func (v NullableTransportEquipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableTransportEquipmentEventAllOf) Set(val *TransportEquipmentEventAllOf)
- func (v *NullableTransportEquipmentEventAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableTransportEquipmentEventAllOf) Unset()
- type NullableTransportEvent
- func (v NullableTransportEvent) Get() *TransportEvent
- func (v NullableTransportEvent) IsSet() bool
- func (v NullableTransportEvent) MarshalJSON() ([]byte, error)
- func (v *NullableTransportEvent) Set(val *TransportEvent)
- func (v *NullableTransportEvent) UnmarshalJSON(src []byte) error
- func (v *NullableTransportEvent) Unset()
- type NullableTransportEventAllOf
- func (v NullableTransportEventAllOf) Get() *TransportEventAllOf
- func (v NullableTransportEventAllOf) IsSet() bool
- func (v NullableTransportEventAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableTransportEventAllOf) Set(val *TransportEventAllOf)
- func (v *NullableTransportEventAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableTransportEventAllOf) Unset()
- type SampleEvent
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ShipmentEvent
- func (o *ShipmentEvent) GetEventClassifierCode() string
- func (o *ShipmentEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *ShipmentEvent) GetEventDateTime() time.Time
- func (o *ShipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
- func (o *ShipmentEvent) GetEventID() string
- func (o *ShipmentEvent) GetEventIDOk() (*string, bool)
- func (o *ShipmentEvent) GetEventType() string
- func (o *ShipmentEvent) GetEventTypeCode() string
- func (o *ShipmentEvent) GetEventTypeCodeOk() (*string, bool)
- func (o *ShipmentEvent) GetEventTypeOk() (*string, bool)
- func (o *ShipmentEvent) GetShipmentInformationTypeCode() string
- func (o *ShipmentEvent) GetShipmentInformationTypeCodeOk() (*string, bool)
- func (o ShipmentEvent) MarshalJSON() ([]byte, error)
- func (o *ShipmentEvent) SetEventClassifierCode(v string)
- func (o *ShipmentEvent) SetEventDateTime(v time.Time)
- func (o *ShipmentEvent) SetEventID(v string)
- func (o *ShipmentEvent) SetEventType(v string)
- func (o *ShipmentEvent) SetEventTypeCode(v string)
- func (o *ShipmentEvent) SetShipmentInformationTypeCode(v string)
- type ShipmentEventAllOf
- func (o *ShipmentEventAllOf) GetEventType() string
- func (o *ShipmentEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *ShipmentEventAllOf) GetShipmentInformationTypeCode() string
- func (o *ShipmentEventAllOf) GetShipmentInformationTypeCodeOk() (*string, bool)
- func (o *ShipmentEventAllOf) HasEventType() bool
- func (o ShipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (o *ShipmentEventAllOf) SetEventType(v string)
- func (o *ShipmentEventAllOf) SetShipmentInformationTypeCode(v string)
- type TransportEquipmentEvent
- func (o *TransportEquipmentEvent) GetEmptyIndicatorCode() string
- func (o *TransportEquipmentEvent) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEquipmentReference() string
- func (o *TransportEquipmentEvent) GetEquipmentReferenceOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEventClassifierCode() string
- func (o *TransportEquipmentEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEventDateTime() time.Time
- func (o *TransportEquipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
- func (o *TransportEquipmentEvent) GetEventID() string
- func (o *TransportEquipmentEvent) GetEventIDOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEventType() string
- func (o *TransportEquipmentEvent) GetEventTypeCode() string
- func (o *TransportEquipmentEvent) GetEventTypeCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetEventTypeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetFacilityCode() string
- func (o *TransportEquipmentEvent) GetFacilityCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetFacilityTypeCode() string
- func (o *TransportEquipmentEvent) GetFacilityTypeCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetModeOfTransportCode() string
- func (o *TransportEquipmentEvent) GetModeOfTransportCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetOtherFacility() string
- func (o *TransportEquipmentEvent) GetOtherFacilityOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetTransportLegReference() string
- func (o *TransportEquipmentEvent) GetTransportLegReferenceOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetTransportReference() string
- func (o *TransportEquipmentEvent) GetTransportReferenceOk() (*string, bool)
- func (o *TransportEquipmentEvent) GetUNLocationCode() string
- func (o *TransportEquipmentEvent) GetUNLocationCodeOk() (*string, bool)
- func (o *TransportEquipmentEvent) HasEquipmentReference() bool
- func (o *TransportEquipmentEvent) HasModeOfTransportCode() bool
- func (o *TransportEquipmentEvent) HasOtherFacility() bool
- func (o TransportEquipmentEvent) MarshalJSON() ([]byte, error)
- func (o *TransportEquipmentEvent) SetEmptyIndicatorCode(v string)
- func (o *TransportEquipmentEvent) SetEquipmentReference(v string)
- func (o *TransportEquipmentEvent) SetEventClassifierCode(v string)
- func (o *TransportEquipmentEvent) SetEventDateTime(v time.Time)
- func (o *TransportEquipmentEvent) SetEventID(v string)
- func (o *TransportEquipmentEvent) SetEventType(v string)
- func (o *TransportEquipmentEvent) SetEventTypeCode(v string)
- func (o *TransportEquipmentEvent) SetFacilityCode(v string)
- func (o *TransportEquipmentEvent) SetFacilityTypeCode(v string)
- func (o *TransportEquipmentEvent) SetModeOfTransportCode(v string)
- func (o *TransportEquipmentEvent) SetOtherFacility(v string)
- func (o *TransportEquipmentEvent) SetTransportLegReference(v string)
- func (o *TransportEquipmentEvent) SetTransportReference(v string)
- func (o *TransportEquipmentEvent) SetUNLocationCode(v string)
- type TransportEquipmentEventAllOf
- func (o *TransportEquipmentEventAllOf) GetEmptyIndicatorCode() string
- func (o *TransportEquipmentEventAllOf) GetEmptyIndicatorCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetEquipmentReference() string
- func (o *TransportEquipmentEventAllOf) GetEquipmentReferenceOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetEventType() string
- func (o *TransportEquipmentEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetFacilityCode() string
- func (o *TransportEquipmentEventAllOf) GetFacilityCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetFacilityTypeCode() string
- func (o *TransportEquipmentEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetModeOfTransportCode() string
- func (o *TransportEquipmentEventAllOf) GetModeOfTransportCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetOtherFacility() string
- func (o *TransportEquipmentEventAllOf) GetOtherFacilityOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetTransportLegReference() string
- func (o *TransportEquipmentEventAllOf) GetTransportLegReferenceOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetTransportReference() string
- func (o *TransportEquipmentEventAllOf) GetTransportReferenceOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) GetUNLocationCode() string
- func (o *TransportEquipmentEventAllOf) GetUNLocationCodeOk() (*string, bool)
- func (o *TransportEquipmentEventAllOf) HasEquipmentReference() bool
- func (o *TransportEquipmentEventAllOf) HasEventType() bool
- func (o *TransportEquipmentEventAllOf) HasModeOfTransportCode() bool
- func (o *TransportEquipmentEventAllOf) HasOtherFacility() bool
- func (o TransportEquipmentEventAllOf) MarshalJSON() ([]byte, error)
- func (o *TransportEquipmentEventAllOf) SetEmptyIndicatorCode(v string)
- func (o *TransportEquipmentEventAllOf) SetEquipmentReference(v string)
- func (o *TransportEquipmentEventAllOf) SetEventType(v string)
- func (o *TransportEquipmentEventAllOf) SetFacilityCode(v string)
- func (o *TransportEquipmentEventAllOf) SetFacilityTypeCode(v string)
- func (o *TransportEquipmentEventAllOf) SetModeOfTransportCode(v string)
- func (o *TransportEquipmentEventAllOf) SetOtherFacility(v string)
- func (o *TransportEquipmentEventAllOf) SetTransportLegReference(v string)
- func (o *TransportEquipmentEventAllOf) SetTransportReference(v string)
- func (o *TransportEquipmentEventAllOf) SetUNLocationCode(v string)
- type TransportEvent
- func (o *TransportEvent) GetEventClassifierCode() string
- func (o *TransportEvent) GetEventClassifierCodeOk() (*string, bool)
- func (o *TransportEvent) GetEventDateTime() time.Time
- func (o *TransportEvent) GetEventDateTimeOk() (*time.Time, bool)
- func (o *TransportEvent) GetEventID() string
- func (o *TransportEvent) GetEventIDOk() (*string, bool)
- func (o *TransportEvent) GetEventType() string
- func (o *TransportEvent) GetEventTypeCode() string
- func (o *TransportEvent) GetEventTypeCodeOk() (*string, bool)
- func (o *TransportEvent) GetEventTypeOk() (*string, bool)
- func (o *TransportEvent) GetFacilityCode() string
- func (o *TransportEvent) GetFacilityCodeOk() (*string, bool)
- func (o *TransportEvent) GetFacilityTypeCode() string
- func (o *TransportEvent) GetFacilityTypeCodeOk() (*string, bool)
- func (o *TransportEvent) GetModeOfTransportCode() string
- func (o *TransportEvent) GetModeOfTransportCodeOk() (*string, bool)
- func (o *TransportEvent) GetOtherFacility() string
- func (o *TransportEvent) GetOtherFacilityOk() (*string, bool)
- func (o *TransportEvent) GetTransportLegReference() string
- func (o *TransportEvent) GetTransportLegReferenceOk() (*string, bool)
- func (o *TransportEvent) GetTransportReference() string
- func (o *TransportEvent) GetTransportReferenceOk() (*string, bool)
- func (o *TransportEvent) GetUNLocationCode() string
- func (o *TransportEvent) GetUNLocationCodeOk() (*string, bool)
- func (o *TransportEvent) HasModeOfTransportCode() bool
- func (o *TransportEvent) HasOtherFacility() bool
- func (o TransportEvent) MarshalJSON() ([]byte, error)
- func (o *TransportEvent) SetEventClassifierCode(v string)
- func (o *TransportEvent) SetEventDateTime(v time.Time)
- func (o *TransportEvent) SetEventID(v string)
- func (o *TransportEvent) SetEventType(v string)
- func (o *TransportEvent) SetEventTypeCode(v string)
- func (o *TransportEvent) SetFacilityCode(v string)
- func (o *TransportEvent) SetFacilityTypeCode(v string)
- func (o *TransportEvent) SetModeOfTransportCode(v string)
- func (o *TransportEvent) SetOtherFacility(v string)
- func (o *TransportEvent) SetTransportLegReference(v string)
- func (o *TransportEvent) SetTransportReference(v string)
- func (o *TransportEvent) SetUNLocationCode(v string)
- type TransportEventAllOf
- func (o *TransportEventAllOf) GetEventType() string
- func (o *TransportEventAllOf) GetEventTypeOk() (*string, bool)
- func (o *TransportEventAllOf) GetFacilityCode() string
- func (o *TransportEventAllOf) GetFacilityCodeOk() (*string, bool)
- func (o *TransportEventAllOf) GetFacilityTypeCode() string
- func (o *TransportEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
- func (o *TransportEventAllOf) GetModeOfTransportCode() string
- func (o *TransportEventAllOf) GetModeOfTransportCodeOk() (*string, bool)
- func (o *TransportEventAllOf) GetOtherFacility() string
- func (o *TransportEventAllOf) GetOtherFacilityOk() (*string, bool)
- func (o *TransportEventAllOf) GetTransportLegReference() string
- func (o *TransportEventAllOf) GetTransportLegReferenceOk() (*string, bool)
- func (o *TransportEventAllOf) GetTransportReference() string
- func (o *TransportEventAllOf) GetTransportReferenceOk() (*string, bool)
- func (o *TransportEventAllOf) GetUNLocationCode() string
- func (o *TransportEventAllOf) GetUNLocationCodeOk() (*string, bool)
- func (o *TransportEventAllOf) HasEventType() bool
- func (o *TransportEventAllOf) HasModeOfTransportCode() bool
- func (o *TransportEventAllOf) HasOtherFacility() bool
- func (o TransportEventAllOf) MarshalJSON() ([]byte, error)
- func (o *TransportEventAllOf) SetEventType(v string)
- func (o *TransportEventAllOf) SetFacilityCode(v string)
- func (o *TransportEventAllOf) SetFacilityTypeCode(v string)
- func (o *TransportEventAllOf) SetModeOfTransportCode(v string)
- func (o *TransportEventAllOf) SetOtherFacility(v string)
- func (o *TransportEventAllOf) SetTransportLegReference(v string)
- func (o *TransportEventAllOf) SetTransportReference(v string)
- func (o *TransportEventAllOf) SetUNLocationCode(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DefaultApi DefaultApi EventsApi EventsApi // contains filtered or unexported fields }
APIClient manages communication with the ONE CARGO TRACKING API API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
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 ApiV1CargotrackingEventsGetRequest ¶
type ApiV1CargotrackingEventsGetRequest struct { ApiService EventsApi // contains filtered or unexported fields }
func (ApiV1CargotrackingEventsGetRequest) Apikey ¶
func (r ApiV1CargotrackingEventsGetRequest) Apikey(apikey string) ApiV1CargotrackingEventsGetRequest
valid apikey
func (ApiV1CargotrackingEventsGetRequest) Authorization ¶
func (r ApiV1CargotrackingEventsGetRequest) Authorization(authorization string) ApiV1CargotrackingEventsGetRequest
valid access_token
func (ApiV1CargotrackingEventsGetRequest) BillOfLadingNumber ¶
func (r ApiV1CargotrackingEventsGetRequest) BillOfLadingNumber(billOfLadingNumber string) ApiV1CargotrackingEventsGetRequest
Bill of lading number is an identifier that links to a shipment. Bill of Lading is the legal document issued to the customer, which confirms the carrier's receipt of the cargo from the customer acknowledging goods being shipped and specifying the terms of delivery.
func (ApiV1CargotrackingEventsGetRequest) BookingReference ¶
func (r ApiV1CargotrackingEventsGetRequest) BookingReference(bookingReference string) ApiV1CargotrackingEventsGetRequest
The identifier for a shipment, which is issued by and unique within each of the carriers.
func (ApiV1CargotrackingEventsGetRequest) EquipmentReference ¶
func (r ApiV1CargotrackingEventsGetRequest) EquipmentReference(equipmentReference string) ApiV1CargotrackingEventsGetRequest
The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible.
func (ApiV1CargotrackingEventsGetRequest) EventType ¶
func (r ApiV1CargotrackingEventsGetRequest) EventType(eventType []string) ApiV1CargotrackingEventsGetRequest
The type of event(s) to filter by.
func (ApiV1CargotrackingEventsGetRequest) Execute ¶
func (r ApiV1CargotrackingEventsGetRequest) Execute() (SampleEvent, *_nethttp.Response, error)
type ApiV1OauthAccesstokenPostRequest ¶
type ApiV1OauthAccesstokenPostRequest struct { ApiService DefaultApi // contains filtered or unexported fields }
func (ApiV1OauthAccesstokenPostRequest) Apikey ¶
func (r ApiV1OauthAccesstokenPostRequest) Apikey(apikey string) ApiV1OauthAccesstokenPostRequest
client key gotten by registering App
func (ApiV1OauthAccesstokenPostRequest) Authorization ¶
func (r ApiV1OauthAccesstokenPostRequest) Authorization(authorization string) ApiV1OauthAccesstokenPostRequest
func (ApiV1OauthAccesstokenPostRequest) Execute ¶
func (r ApiV1OauthAccesstokenPostRequest) Execute() (InlineResponse200, *_nethttp.Response, error)
func (ApiV1OauthAccesstokenPostRequest) GrantType ¶
func (r ApiV1OauthAccesstokenPostRequest) GrantType(grantType string) ApiV1OauthAccesstokenPostRequest
client_credentials
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 DefaultApi ¶
type DefaultApi interface { /* V1OauthAccesstokenPost Method for V1OauthAccesstokenPost Publish access token for OAuth authentication. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1OauthAccesstokenPostRequest */ V1OauthAccesstokenPost(ctx _context.Context) ApiV1OauthAccesstokenPostRequest // V1OauthAccesstokenPostExecute executes the request // @return InlineResponse200 V1OauthAccesstokenPostExecute(r ApiV1OauthAccesstokenPostRequest) (InlineResponse200, *_nethttp.Response, error) }
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) V1OauthAccesstokenPost ¶
func (a *DefaultApiService) V1OauthAccesstokenPost(ctx _context.Context) ApiV1OauthAccesstokenPostRequest
V1OauthAccesstokenPost Method for V1OauthAccesstokenPost
Publish access token for OAuth authentication.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1OauthAccesstokenPostRequest
func (*DefaultApiService) V1OauthAccesstokenPostExecute ¶
func (a *DefaultApiService) V1OauthAccesstokenPostExecute(r ApiV1OauthAccesstokenPostRequest) (InlineResponse200, *_nethttp.Response, error)
Execute executes the request
@return InlineResponse200
type EquipmentEvent ¶
type EquipmentEvent struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID string `json:"eventID"` EventType string `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. If a container is not yet assigned to a shipment, the interface cannot return any information when an equipment reference is given as input. If a container is assigned to an (active) shipment, the interface returns information on the active shipment. EquipmentReference *string `json:"equipmentReference,omitempty"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` }
EquipmentEvent The equipment event entity is a specialization of the event entity to support specification of data that only applies to an equipment event.
func NewEquipmentEvent ¶
func NewEquipmentEvent(eventID string, eventType string, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string, facilityTypeCode string, uNLocationCode string, facilityCode string, emptyIndicatorCode string) *EquipmentEvent
NewEquipmentEvent instantiates a new EquipmentEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEquipmentEventWithDefaults ¶
func NewEquipmentEventWithDefaults() *EquipmentEvent
NewEquipmentEventWithDefaults instantiates a new EquipmentEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EquipmentEvent) GetEmptyIndicatorCode ¶
func (o *EquipmentEvent) GetEmptyIndicatorCode() string
GetEmptyIndicatorCode returns the EmptyIndicatorCode field value
func (*EquipmentEvent) GetEmptyIndicatorCodeOk ¶
func (o *EquipmentEvent) GetEmptyIndicatorCodeOk() (*string, bool)
GetEmptyIndicatorCodeOk returns a tuple with the EmptyIndicatorCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEquipmentReference ¶
func (o *EquipmentEvent) GetEquipmentReference() string
GetEquipmentReference returns the EquipmentReference field value if set, zero value otherwise.
func (*EquipmentEvent) GetEquipmentReferenceOk ¶
func (o *EquipmentEvent) GetEquipmentReferenceOk() (*string, bool)
GetEquipmentReferenceOk returns a tuple with the EquipmentReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventClassifierCode ¶
func (o *EquipmentEvent) GetEventClassifierCode() string
GetEventClassifierCode returns the EventClassifierCode field value
func (*EquipmentEvent) GetEventClassifierCodeOk ¶
func (o *EquipmentEvent) GetEventClassifierCodeOk() (*string, bool)
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventDateTime ¶
func (o *EquipmentEvent) GetEventDateTime() time.Time
GetEventDateTime returns the EventDateTime field value
func (*EquipmentEvent) GetEventDateTimeOk ¶
func (o *EquipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventID ¶
func (o *EquipmentEvent) GetEventID() string
GetEventID returns the EventID field value
func (*EquipmentEvent) GetEventIDOk ¶
func (o *EquipmentEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventType ¶
func (o *EquipmentEvent) GetEventType() string
GetEventType returns the EventType field value
func (*EquipmentEvent) GetEventTypeCode ¶
func (o *EquipmentEvent) GetEventTypeCode() string
GetEventTypeCode returns the EventTypeCode field value
func (*EquipmentEvent) GetEventTypeCodeOk ¶
func (o *EquipmentEvent) GetEventTypeCodeOk() (*string, bool)
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetEventTypeOk ¶
func (o *EquipmentEvent) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetFacilityCode ¶
func (o *EquipmentEvent) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*EquipmentEvent) GetFacilityCodeOk ¶
func (o *EquipmentEvent) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetFacilityTypeCode ¶
func (o *EquipmentEvent) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*EquipmentEvent) GetFacilityTypeCodeOk ¶
func (o *EquipmentEvent) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) GetOtherFacility ¶
func (o *EquipmentEvent) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*EquipmentEvent) GetOtherFacilityOk ¶
func (o *EquipmentEvent) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEvent) GetUNLocationCode ¶
func (o *EquipmentEvent) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*EquipmentEvent) GetUNLocationCodeOk ¶
func (o *EquipmentEvent) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*EquipmentEvent) HasEquipmentReference ¶
func (o *EquipmentEvent) HasEquipmentReference() bool
HasEquipmentReference returns a boolean if a field has been set.
func (*EquipmentEvent) HasOtherFacility ¶
func (o *EquipmentEvent) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (EquipmentEvent) MarshalJSON ¶
func (o EquipmentEvent) MarshalJSON() ([]byte, error)
func (*EquipmentEvent) SetEmptyIndicatorCode ¶
func (o *EquipmentEvent) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*EquipmentEvent) SetEquipmentReference ¶
func (o *EquipmentEvent) SetEquipmentReference(v string)
SetEquipmentReference gets a reference to the given string and assigns it to the EquipmentReference field.
func (*EquipmentEvent) SetEventClassifierCode ¶
func (o *EquipmentEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*EquipmentEvent) SetEventDateTime ¶
func (o *EquipmentEvent) SetEventDateTime(v time.Time)
SetEventDateTime sets field value
func (*EquipmentEvent) SetEventID ¶
func (o *EquipmentEvent) SetEventID(v string)
SetEventID sets field value
func (*EquipmentEvent) SetEventType ¶
func (o *EquipmentEvent) SetEventType(v string)
SetEventType sets field value
func (*EquipmentEvent) SetEventTypeCode ¶
func (o *EquipmentEvent) SetEventTypeCode(v string)
SetEventTypeCode sets field value
func (*EquipmentEvent) SetFacilityCode ¶
func (o *EquipmentEvent) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*EquipmentEvent) SetFacilityTypeCode ¶
func (o *EquipmentEvent) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*EquipmentEvent) SetOtherFacility ¶
func (o *EquipmentEvent) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*EquipmentEvent) SetUNLocationCode ¶
func (o *EquipmentEvent) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type EquipmentEventAllOf ¶
type EquipmentEventAllOf struct { EventType *string `json:"eventType,omitempty"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. If a container is not yet assigned to a shipment, the interface cannot return any information when an equipment reference is given as input. If a container is assigned to an (active) shipment, the interface returns information on the active shipment. EquipmentReference *string `json:"equipmentReference,omitempty"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` }
EquipmentEventAllOf struct for EquipmentEventAllOf
func NewEquipmentEventAllOf ¶
func NewEquipmentEventAllOf(facilityTypeCode string, uNLocationCode string, facilityCode string, emptyIndicatorCode string) *EquipmentEventAllOf
NewEquipmentEventAllOf instantiates a new EquipmentEventAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEquipmentEventAllOfWithDefaults ¶
func NewEquipmentEventAllOfWithDefaults() *EquipmentEventAllOf
NewEquipmentEventAllOfWithDefaults instantiates a new EquipmentEventAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EquipmentEventAllOf) GetEmptyIndicatorCode ¶
func (o *EquipmentEventAllOf) GetEmptyIndicatorCode() string
GetEmptyIndicatorCode returns the EmptyIndicatorCode field value
func (*EquipmentEventAllOf) GetEmptyIndicatorCodeOk ¶
func (o *EquipmentEventAllOf) GetEmptyIndicatorCodeOk() (*string, bool)
GetEmptyIndicatorCodeOk returns a tuple with the EmptyIndicatorCode field value and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetEquipmentReference ¶
func (o *EquipmentEventAllOf) GetEquipmentReference() string
GetEquipmentReference returns the EquipmentReference field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetEquipmentReferenceOk ¶
func (o *EquipmentEventAllOf) GetEquipmentReferenceOk() (*string, bool)
GetEquipmentReferenceOk returns a tuple with the EquipmentReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetEventType ¶
func (o *EquipmentEventAllOf) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetEventTypeOk ¶
func (o *EquipmentEventAllOf) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetFacilityCode ¶
func (o *EquipmentEventAllOf) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*EquipmentEventAllOf) GetFacilityCodeOk ¶
func (o *EquipmentEventAllOf) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetFacilityTypeCode ¶
func (o *EquipmentEventAllOf) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*EquipmentEventAllOf) GetFacilityTypeCodeOk ¶
func (o *EquipmentEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetOtherFacility ¶
func (o *EquipmentEventAllOf) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*EquipmentEventAllOf) GetOtherFacilityOk ¶
func (o *EquipmentEventAllOf) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) GetUNLocationCode ¶
func (o *EquipmentEventAllOf) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*EquipmentEventAllOf) GetUNLocationCodeOk ¶
func (o *EquipmentEventAllOf) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*EquipmentEventAllOf) HasEquipmentReference ¶
func (o *EquipmentEventAllOf) HasEquipmentReference() bool
HasEquipmentReference returns a boolean if a field has been set.
func (*EquipmentEventAllOf) HasEventType ¶
func (o *EquipmentEventAllOf) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (*EquipmentEventAllOf) HasOtherFacility ¶
func (o *EquipmentEventAllOf) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (EquipmentEventAllOf) MarshalJSON ¶
func (o EquipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*EquipmentEventAllOf) SetEmptyIndicatorCode ¶
func (o *EquipmentEventAllOf) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*EquipmentEventAllOf) SetEquipmentReference ¶
func (o *EquipmentEventAllOf) SetEquipmentReference(v string)
SetEquipmentReference gets a reference to the given string and assigns it to the EquipmentReference field.
func (*EquipmentEventAllOf) SetEventType ¶
func (o *EquipmentEventAllOf) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*EquipmentEventAllOf) SetFacilityCode ¶
func (o *EquipmentEventAllOf) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*EquipmentEventAllOf) SetFacilityTypeCode ¶
func (o *EquipmentEventAllOf) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*EquipmentEventAllOf) SetOtherFacility ¶
func (o *EquipmentEventAllOf) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*EquipmentEventAllOf) SetUNLocationCode ¶
func (o *EquipmentEventAllOf) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type Event ¶
type Event struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID string `json:"eventID"` // The Event Type of the object. EventType string `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` }
Event The event entity is described as a generalization of all the specific event categories. An event always takes place in relation to a shipment and can additionally be linked to a transport or an equipment
func NewEvent ¶
func NewEvent(eventID string, eventType string, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string) *Event
NewEvent instantiates a new Event object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEventWithDefaults ¶
func NewEventWithDefaults() *Event
NewEventWithDefaults instantiates a new Event object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Event) GetEventClassifierCode ¶
GetEventClassifierCode returns the EventClassifierCode field value
func (*Event) GetEventClassifierCodeOk ¶
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*Event) GetEventDateTime ¶
GetEventDateTime returns the EventDateTime field value
func (*Event) GetEventDateTimeOk ¶
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*Event) GetEventID ¶
GetEventID returns the EventID field value
func (*Event) GetEventIDOk ¶
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*Event) GetEventType ¶
GetEventType returns the EventType field value
func (*Event) GetEventTypeCode ¶
GetEventTypeCode returns the EventTypeCode field value
func (*Event) GetEventTypeCodeOk ¶
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*Event) GetEventTypeOk ¶
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (Event) MarshalJSON ¶
func (*Event) SetEventClassifierCode ¶
SetEventClassifierCode sets field value
func (*Event) SetEventDateTime ¶
SetEventDateTime sets field value
func (*Event) SetEventTypeCode ¶
SetEventTypeCode sets field value
type EventsApi ¶
type EventsApi interface { /* V1CargotrackingEventsGet Find events by type, Booking Reference, Bill of Lading or Equipment Reference. Returns all events filtered by the parameters. @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1CargotrackingEventsGetRequest */ V1CargotrackingEventsGet(ctx _context.Context) ApiV1CargotrackingEventsGetRequest // V1CargotrackingEventsGetExecute executes the request // @return SampleEvent V1CargotrackingEventsGetExecute(r ApiV1CargotrackingEventsGetRequest) (SampleEvent, *_nethttp.Response, error) }
type EventsApiService ¶
type EventsApiService service
EventsApiService EventsApi service
func (*EventsApiService) V1CargotrackingEventsGet ¶
func (a *EventsApiService) V1CargotrackingEventsGet(ctx _context.Context) ApiV1CargotrackingEventsGetRequest
V1CargotrackingEventsGet Find events by type, Booking Reference, Bill of Lading or Equipment Reference.
Returns all events filtered by the parameters.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1CargotrackingEventsGetRequest
func (*EventsApiService) V1CargotrackingEventsGetExecute ¶
func (a *EventsApiService) V1CargotrackingEventsGetExecute(r ApiV1CargotrackingEventsGetRequest) (SampleEvent, *_nethttp.Response, error)
Execute executes the request
@return SampleEvent
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type InlineResponse200 ¶
type InlineResponse200 struct { RefreshTokenExpiresIn *string `json:"refresh_token_expires_in,omitempty"` ApiProductList *string `json:"api_product_list,omitempty"` ApiProductListJson *[]string `json:"api_product_list_json,omitempty"` OrganizationName *string `json:"organization_name,omitempty"` DeveloperEmail *string `json:"developer.email,omitempty"` TokenType *string `json:"token_type,omitempty"` IssuedAt *string `json:"issued_at,omitempty"` ClientId *string `json:"client_id,omitempty"` AccessToken *string `json:"access_token,omitempty"` ApplicationName *string `json:"application_name,omitempty"` Scope *string `json:"scope,omitempty"` ExpiresIn *string `json:"expires_in,omitempty"` RefreshCount *string `json:"refresh_count,omitempty"` Status *string `json:"status,omitempty"` }
InlineResponse200 struct for InlineResponse200
func NewInlineResponse200 ¶
func NewInlineResponse200() *InlineResponse200
NewInlineResponse200 instantiates a new InlineResponse200 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 NewInlineResponse200WithDefaults ¶
func NewInlineResponse200WithDefaults() *InlineResponse200
NewInlineResponse200WithDefaults instantiates a new InlineResponse200 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 (*InlineResponse200) GetAccessToken ¶
func (o *InlineResponse200) GetAccessToken() string
GetAccessToken returns the AccessToken field value if set, zero value otherwise.
func (*InlineResponse200) GetAccessTokenOk ¶
func (o *InlineResponse200) GetAccessTokenOk() (*string, bool)
GetAccessTokenOk returns a tuple with the AccessToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetApiProductList ¶
func (o *InlineResponse200) GetApiProductList() string
GetApiProductList returns the ApiProductList field value if set, zero value otherwise.
func (*InlineResponse200) GetApiProductListJson ¶
func (o *InlineResponse200) GetApiProductListJson() []string
GetApiProductListJson returns the ApiProductListJson field value if set, zero value otherwise.
func (*InlineResponse200) GetApiProductListJsonOk ¶
func (o *InlineResponse200) GetApiProductListJsonOk() (*[]string, bool)
GetApiProductListJsonOk returns a tuple with the ApiProductListJson field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetApiProductListOk ¶
func (o *InlineResponse200) GetApiProductListOk() (*string, bool)
GetApiProductListOk returns a tuple with the ApiProductList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetApplicationName ¶
func (o *InlineResponse200) GetApplicationName() string
GetApplicationName returns the ApplicationName field value if set, zero value otherwise.
func (*InlineResponse200) GetApplicationNameOk ¶
func (o *InlineResponse200) GetApplicationNameOk() (*string, bool)
GetApplicationNameOk returns a tuple with the ApplicationName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetClientId ¶
func (o *InlineResponse200) GetClientId() string
GetClientId returns the ClientId field value if set, zero value otherwise.
func (*InlineResponse200) GetClientIdOk ¶
func (o *InlineResponse200) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetDeveloperEmail ¶
func (o *InlineResponse200) GetDeveloperEmail() string
GetDeveloperEmail returns the DeveloperEmail field value if set, zero value otherwise.
func (*InlineResponse200) GetDeveloperEmailOk ¶
func (o *InlineResponse200) GetDeveloperEmailOk() (*string, bool)
GetDeveloperEmailOk returns a tuple with the DeveloperEmail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetExpiresIn ¶
func (o *InlineResponse200) GetExpiresIn() string
GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.
func (*InlineResponse200) GetExpiresInOk ¶
func (o *InlineResponse200) GetExpiresInOk() (*string, bool)
GetExpiresInOk returns a tuple with the ExpiresIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetIssuedAt ¶
func (o *InlineResponse200) GetIssuedAt() string
GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.
func (*InlineResponse200) GetIssuedAtOk ¶
func (o *InlineResponse200) GetIssuedAtOk() (*string, bool)
GetIssuedAtOk returns a tuple with the IssuedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetOrganizationName ¶
func (o *InlineResponse200) GetOrganizationName() string
GetOrganizationName returns the OrganizationName field value if set, zero value otherwise.
func (*InlineResponse200) GetOrganizationNameOk ¶
func (o *InlineResponse200) GetOrganizationNameOk() (*string, bool)
GetOrganizationNameOk returns a tuple with the OrganizationName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetRefreshCount ¶
func (o *InlineResponse200) GetRefreshCount() string
GetRefreshCount returns the RefreshCount field value if set, zero value otherwise.
func (*InlineResponse200) GetRefreshCountOk ¶
func (o *InlineResponse200) GetRefreshCountOk() (*string, bool)
GetRefreshCountOk returns a tuple with the RefreshCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetRefreshTokenExpiresIn ¶
func (o *InlineResponse200) GetRefreshTokenExpiresIn() string
GetRefreshTokenExpiresIn returns the RefreshTokenExpiresIn field value if set, zero value otherwise.
func (*InlineResponse200) GetRefreshTokenExpiresInOk ¶
func (o *InlineResponse200) GetRefreshTokenExpiresInOk() (*string, bool)
GetRefreshTokenExpiresInOk returns a tuple with the RefreshTokenExpiresIn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetScope ¶
func (o *InlineResponse200) GetScope() string
GetScope returns the Scope field value if set, zero value otherwise.
func (*InlineResponse200) GetScopeOk ¶
func (o *InlineResponse200) GetScopeOk() (*string, bool)
GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) GetStatus ¶
func (o *InlineResponse200) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*InlineResponse200) GetStatusOk ¶
func (o *InlineResponse200) 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 (*InlineResponse200) GetTokenType ¶
func (o *InlineResponse200) GetTokenType() string
GetTokenType returns the TokenType field value if set, zero value otherwise.
func (*InlineResponse200) GetTokenTypeOk ¶
func (o *InlineResponse200) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse200) HasAccessToken ¶
func (o *InlineResponse200) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
func (*InlineResponse200) HasApiProductList ¶
func (o *InlineResponse200) HasApiProductList() bool
HasApiProductList returns a boolean if a field has been set.
func (*InlineResponse200) HasApiProductListJson ¶
func (o *InlineResponse200) HasApiProductListJson() bool
HasApiProductListJson returns a boolean if a field has been set.
func (*InlineResponse200) HasApplicationName ¶
func (o *InlineResponse200) HasApplicationName() bool
HasApplicationName returns a boolean if a field has been set.
func (*InlineResponse200) HasClientId ¶
func (o *InlineResponse200) HasClientId() bool
HasClientId returns a boolean if a field has been set.
func (*InlineResponse200) HasDeveloperEmail ¶
func (o *InlineResponse200) HasDeveloperEmail() bool
HasDeveloperEmail returns a boolean if a field has been set.
func (*InlineResponse200) HasExpiresIn ¶
func (o *InlineResponse200) HasExpiresIn() bool
HasExpiresIn returns a boolean if a field has been set.
func (*InlineResponse200) HasIssuedAt ¶
func (o *InlineResponse200) HasIssuedAt() bool
HasIssuedAt returns a boolean if a field has been set.
func (*InlineResponse200) HasOrganizationName ¶
func (o *InlineResponse200) HasOrganizationName() bool
HasOrganizationName returns a boolean if a field has been set.
func (*InlineResponse200) HasRefreshCount ¶
func (o *InlineResponse200) HasRefreshCount() bool
HasRefreshCount returns a boolean if a field has been set.
func (*InlineResponse200) HasRefreshTokenExpiresIn ¶
func (o *InlineResponse200) HasRefreshTokenExpiresIn() bool
HasRefreshTokenExpiresIn returns a boolean if a field has been set.
func (*InlineResponse200) HasScope ¶
func (o *InlineResponse200) HasScope() bool
HasScope returns a boolean if a field has been set.
func (*InlineResponse200) HasStatus ¶
func (o *InlineResponse200) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*InlineResponse200) HasTokenType ¶
func (o *InlineResponse200) HasTokenType() bool
HasTokenType returns a boolean if a field has been set.
func (InlineResponse200) MarshalJSON ¶
func (o InlineResponse200) MarshalJSON() ([]byte, error)
func (*InlineResponse200) SetAccessToken ¶
func (o *InlineResponse200) SetAccessToken(v string)
SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.
func (*InlineResponse200) SetApiProductList ¶
func (o *InlineResponse200) SetApiProductList(v string)
SetApiProductList gets a reference to the given string and assigns it to the ApiProductList field.
func (*InlineResponse200) SetApiProductListJson ¶
func (o *InlineResponse200) SetApiProductListJson(v []string)
SetApiProductListJson gets a reference to the given []string and assigns it to the ApiProductListJson field.
func (*InlineResponse200) SetApplicationName ¶
func (o *InlineResponse200) SetApplicationName(v string)
SetApplicationName gets a reference to the given string and assigns it to the ApplicationName field.
func (*InlineResponse200) SetClientId ¶
func (o *InlineResponse200) SetClientId(v string)
SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (*InlineResponse200) SetDeveloperEmail ¶
func (o *InlineResponse200) SetDeveloperEmail(v string)
SetDeveloperEmail gets a reference to the given string and assigns it to the DeveloperEmail field.
func (*InlineResponse200) SetExpiresIn ¶
func (o *InlineResponse200) SetExpiresIn(v string)
SetExpiresIn gets a reference to the given string and assigns it to the ExpiresIn field.
func (*InlineResponse200) SetIssuedAt ¶
func (o *InlineResponse200) SetIssuedAt(v string)
SetIssuedAt gets a reference to the given string and assigns it to the IssuedAt field.
func (*InlineResponse200) SetOrganizationName ¶
func (o *InlineResponse200) SetOrganizationName(v string)
SetOrganizationName gets a reference to the given string and assigns it to the OrganizationName field.
func (*InlineResponse200) SetRefreshCount ¶
func (o *InlineResponse200) SetRefreshCount(v string)
SetRefreshCount gets a reference to the given string and assigns it to the RefreshCount field.
func (*InlineResponse200) SetRefreshTokenExpiresIn ¶
func (o *InlineResponse200) SetRefreshTokenExpiresIn(v string)
SetRefreshTokenExpiresIn gets a reference to the given string and assigns it to the RefreshTokenExpiresIn field.
func (*InlineResponse200) SetScope ¶
func (o *InlineResponse200) SetScope(v string)
SetScope gets a reference to the given string and assigns it to the Scope field.
func (*InlineResponse200) SetStatus ¶
func (o *InlineResponse200) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*InlineResponse200) SetTokenType ¶
func (o *InlineResponse200) SetTokenType(v string)
SetTokenType gets a reference to the given string and assigns it to the TokenType field.
type InlineResponse400 ¶
type InlineResponse400 struct { ErrorCode *int32 `json:"errorCode,omitempty"` ErrorMessages *string `json:"errorMessages,omitempty"` Uuid *string `json:"uuid,omitempty"` }
InlineResponse400 struct for InlineResponse400
func NewInlineResponse400 ¶
func NewInlineResponse400() *InlineResponse400
NewInlineResponse400 instantiates a new InlineResponse400 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 NewInlineResponse400WithDefaults ¶
func NewInlineResponse400WithDefaults() *InlineResponse400
NewInlineResponse400WithDefaults instantiates a new InlineResponse400 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 (*InlineResponse400) GetErrorCode ¶
func (o *InlineResponse400) GetErrorCode() int32
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*InlineResponse400) GetErrorCodeOk ¶
func (o *InlineResponse400) GetErrorCodeOk() (*int32, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse400) GetErrorMessages ¶
func (o *InlineResponse400) GetErrorMessages() string
GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise.
func (*InlineResponse400) GetErrorMessagesOk ¶
func (o *InlineResponse400) GetErrorMessagesOk() (*string, bool)
GetErrorMessagesOk returns a tuple with the ErrorMessages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse400) GetUuid ¶
func (o *InlineResponse400) GetUuid() string
GetUuid returns the Uuid field value if set, zero value otherwise.
func (*InlineResponse400) GetUuidOk ¶
func (o *InlineResponse400) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse400) HasErrorCode ¶
func (o *InlineResponse400) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*InlineResponse400) HasErrorMessages ¶
func (o *InlineResponse400) HasErrorMessages() bool
HasErrorMessages returns a boolean if a field has been set.
func (*InlineResponse400) HasUuid ¶
func (o *InlineResponse400) HasUuid() bool
HasUuid returns a boolean if a field has been set.
func (InlineResponse400) MarshalJSON ¶
func (o InlineResponse400) MarshalJSON() ([]byte, error)
func (*InlineResponse400) SetErrorCode ¶
func (o *InlineResponse400) SetErrorCode(v int32)
SetErrorCode gets a reference to the given int32 and assigns it to the ErrorCode field.
func (*InlineResponse400) SetErrorMessages ¶
func (o *InlineResponse400) SetErrorMessages(v string)
SetErrorMessages gets a reference to the given string and assigns it to the ErrorMessages field.
func (*InlineResponse400) SetUuid ¶
func (o *InlineResponse400) SetUuid(v string)
SetUuid gets a reference to the given string and assigns it to the Uuid field.
type InlineResponse401 ¶
type InlineResponse401 struct { ErrorCode *string `json:"ErrorCode,omitempty"` Error *string `json:"Error,omitempty"` }
InlineResponse401 struct for InlineResponse401
func NewInlineResponse401 ¶
func NewInlineResponse401() *InlineResponse401
NewInlineResponse401 instantiates a new InlineResponse401 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 NewInlineResponse401WithDefaults ¶
func NewInlineResponse401WithDefaults() *InlineResponse401
NewInlineResponse401WithDefaults instantiates a new InlineResponse401 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 (*InlineResponse401) GetError ¶
func (o *InlineResponse401) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*InlineResponse401) GetErrorCode ¶
func (o *InlineResponse401) GetErrorCode() string
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*InlineResponse401) GetErrorCodeOk ¶
func (o *InlineResponse401) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse401) GetErrorOk ¶
func (o *InlineResponse401) 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 (*InlineResponse401) HasError ¶
func (o *InlineResponse401) HasError() bool
HasError returns a boolean if a field has been set.
func (*InlineResponse401) HasErrorCode ¶
func (o *InlineResponse401) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (InlineResponse401) MarshalJSON ¶
func (o InlineResponse401) MarshalJSON() ([]byte, error)
func (*InlineResponse401) SetError ¶
func (o *InlineResponse401) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*InlineResponse401) SetErrorCode ¶
func (o *InlineResponse401) SetErrorCode(v string)
SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.
type InlineResponse4011 ¶
type InlineResponse4011 struct { ErrorCode *int32 `json:"errorCode,omitempty"` ErrorMessages *string `json:"errorMessages,omitempty"` }
InlineResponse4011 struct for InlineResponse4011
func NewInlineResponse4011 ¶
func NewInlineResponse4011() *InlineResponse4011
NewInlineResponse4011 instantiates a new InlineResponse4011 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 NewInlineResponse4011WithDefaults ¶
func NewInlineResponse4011WithDefaults() *InlineResponse4011
NewInlineResponse4011WithDefaults instantiates a new InlineResponse4011 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 (*InlineResponse4011) GetErrorCode ¶
func (o *InlineResponse4011) GetErrorCode() int32
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*InlineResponse4011) GetErrorCodeOk ¶
func (o *InlineResponse4011) GetErrorCodeOk() (*int32, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse4011) GetErrorMessages ¶
func (o *InlineResponse4011) GetErrorMessages() string
GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise.
func (*InlineResponse4011) GetErrorMessagesOk ¶
func (o *InlineResponse4011) GetErrorMessagesOk() (*string, bool)
GetErrorMessagesOk returns a tuple with the ErrorMessages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse4011) HasErrorCode ¶
func (o *InlineResponse4011) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*InlineResponse4011) HasErrorMessages ¶
func (o *InlineResponse4011) HasErrorMessages() bool
HasErrorMessages returns a boolean if a field has been set.
func (InlineResponse4011) MarshalJSON ¶
func (o InlineResponse4011) MarshalJSON() ([]byte, error)
func (*InlineResponse4011) SetErrorCode ¶
func (o *InlineResponse4011) SetErrorCode(v int32)
SetErrorCode gets a reference to the given int32 and assigns it to the ErrorCode field.
func (*InlineResponse4011) SetErrorMessages ¶
func (o *InlineResponse4011) SetErrorMessages(v string)
SetErrorMessages gets a reference to the given string and assigns it to the ErrorMessages field.
type InlineResponse500 ¶
type InlineResponse500 struct { ErrorCode *int32 `json:"errorCode,omitempty"` ErrorMessages *string `json:"errorMessages,omitempty"` }
InlineResponse500 struct for InlineResponse500
func NewInlineResponse500 ¶
func NewInlineResponse500() *InlineResponse500
NewInlineResponse500 instantiates a new InlineResponse500 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 NewInlineResponse500WithDefaults ¶
func NewInlineResponse500WithDefaults() *InlineResponse500
NewInlineResponse500WithDefaults instantiates a new InlineResponse500 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 (*InlineResponse500) GetErrorCode ¶
func (o *InlineResponse500) GetErrorCode() int32
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*InlineResponse500) GetErrorCodeOk ¶
func (o *InlineResponse500) GetErrorCodeOk() (*int32, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse500) GetErrorMessages ¶
func (o *InlineResponse500) GetErrorMessages() string
GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise.
func (*InlineResponse500) GetErrorMessagesOk ¶
func (o *InlineResponse500) GetErrorMessagesOk() (*string, bool)
GetErrorMessagesOk returns a tuple with the ErrorMessages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse500) HasErrorCode ¶
func (o *InlineResponse500) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*InlineResponse500) HasErrorMessages ¶
func (o *InlineResponse500) HasErrorMessages() bool
HasErrorMessages returns a boolean if a field has been set.
func (InlineResponse500) MarshalJSON ¶
func (o InlineResponse500) MarshalJSON() ([]byte, error)
func (*InlineResponse500) SetErrorCode ¶
func (o *InlineResponse500) SetErrorCode(v int32)
SetErrorCode gets a reference to the given int32 and assigns it to the ErrorCode field.
func (*InlineResponse500) SetErrorMessages ¶
func (o *InlineResponse500) SetErrorMessages(v string)
SetErrorMessages gets a reference to the given string and assigns it to the ErrorMessages field.
type InlineResponse504 ¶
type InlineResponse504 struct { ErrorCode *int32 `json:"errorCode,omitempty"` ErrorMessages *string `json:"errorMessages,omitempty"` }
InlineResponse504 struct for InlineResponse504
func NewInlineResponse504 ¶
func NewInlineResponse504() *InlineResponse504
NewInlineResponse504 instantiates a new InlineResponse504 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 NewInlineResponse504WithDefaults ¶
func NewInlineResponse504WithDefaults() *InlineResponse504
NewInlineResponse504WithDefaults instantiates a new InlineResponse504 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 (*InlineResponse504) GetErrorCode ¶
func (o *InlineResponse504) GetErrorCode() int32
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*InlineResponse504) GetErrorCodeOk ¶
func (o *InlineResponse504) GetErrorCodeOk() (*int32, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse504) GetErrorMessages ¶
func (o *InlineResponse504) GetErrorMessages() string
GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise.
func (*InlineResponse504) GetErrorMessagesOk ¶
func (o *InlineResponse504) GetErrorMessagesOk() (*string, bool)
GetErrorMessagesOk returns a tuple with the ErrorMessages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InlineResponse504) HasErrorCode ¶
func (o *InlineResponse504) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*InlineResponse504) HasErrorMessages ¶
func (o *InlineResponse504) HasErrorMessages() bool
HasErrorMessages returns a boolean if a field has been set.
func (InlineResponse504) MarshalJSON ¶
func (o InlineResponse504) MarshalJSON() ([]byte, error)
func (*InlineResponse504) SetErrorCode ¶
func (o *InlineResponse504) SetErrorCode(v int32)
SetErrorCode gets a reference to the given int32 and assigns it to the ErrorCode field.
func (*InlineResponse504) SetErrorMessages ¶
func (o *InlineResponse504) SetErrorMessages(v string)
SetErrorMessages gets a reference to the given string and assigns it to the ErrorMessages field.
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableEquipmentEvent ¶
type NullableEquipmentEvent struct {
// contains filtered or unexported fields
}
func NewNullableEquipmentEvent ¶
func NewNullableEquipmentEvent(val *EquipmentEvent) *NullableEquipmentEvent
func (NullableEquipmentEvent) Get ¶
func (v NullableEquipmentEvent) Get() *EquipmentEvent
func (NullableEquipmentEvent) IsSet ¶
func (v NullableEquipmentEvent) IsSet() bool
func (NullableEquipmentEvent) MarshalJSON ¶
func (v NullableEquipmentEvent) MarshalJSON() ([]byte, error)
func (*NullableEquipmentEvent) Set ¶
func (v *NullableEquipmentEvent) Set(val *EquipmentEvent)
func (*NullableEquipmentEvent) UnmarshalJSON ¶
func (v *NullableEquipmentEvent) UnmarshalJSON(src []byte) error
func (*NullableEquipmentEvent) Unset ¶
func (v *NullableEquipmentEvent) Unset()
type NullableEquipmentEventAllOf ¶
type NullableEquipmentEventAllOf struct {
// contains filtered or unexported fields
}
func NewNullableEquipmentEventAllOf ¶
func NewNullableEquipmentEventAllOf(val *EquipmentEventAllOf) *NullableEquipmentEventAllOf
func (NullableEquipmentEventAllOf) Get ¶
func (v NullableEquipmentEventAllOf) Get() *EquipmentEventAllOf
func (NullableEquipmentEventAllOf) IsSet ¶
func (v NullableEquipmentEventAllOf) IsSet() bool
func (NullableEquipmentEventAllOf) MarshalJSON ¶
func (v NullableEquipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*NullableEquipmentEventAllOf) Set ¶
func (v *NullableEquipmentEventAllOf) Set(val *EquipmentEventAllOf)
func (*NullableEquipmentEventAllOf) UnmarshalJSON ¶
func (v *NullableEquipmentEventAllOf) UnmarshalJSON(src []byte) error
func (*NullableEquipmentEventAllOf) Unset ¶
func (v *NullableEquipmentEventAllOf) Unset()
type 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 NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInlineResponse200 ¶
type NullableInlineResponse200 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse200 ¶
func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200
func (NullableInlineResponse200) Get ¶
func (v NullableInlineResponse200) Get() *InlineResponse200
func (NullableInlineResponse200) IsSet ¶
func (v NullableInlineResponse200) IsSet() bool
func (NullableInlineResponse200) MarshalJSON ¶
func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse200) Set ¶
func (v *NullableInlineResponse200) Set(val *InlineResponse200)
func (*NullableInlineResponse200) UnmarshalJSON ¶
func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse200) Unset ¶
func (v *NullableInlineResponse200) Unset()
type NullableInlineResponse400 ¶
type NullableInlineResponse400 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse400 ¶
func NewNullableInlineResponse400(val *InlineResponse400) *NullableInlineResponse400
func (NullableInlineResponse400) Get ¶
func (v NullableInlineResponse400) Get() *InlineResponse400
func (NullableInlineResponse400) IsSet ¶
func (v NullableInlineResponse400) IsSet() bool
func (NullableInlineResponse400) MarshalJSON ¶
func (v NullableInlineResponse400) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse400) Set ¶
func (v *NullableInlineResponse400) Set(val *InlineResponse400)
func (*NullableInlineResponse400) UnmarshalJSON ¶
func (v *NullableInlineResponse400) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse400) Unset ¶
func (v *NullableInlineResponse400) Unset()
type NullableInlineResponse401 ¶
type NullableInlineResponse401 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse401 ¶
func NewNullableInlineResponse401(val *InlineResponse401) *NullableInlineResponse401
func (NullableInlineResponse401) Get ¶
func (v NullableInlineResponse401) Get() *InlineResponse401
func (NullableInlineResponse401) IsSet ¶
func (v NullableInlineResponse401) IsSet() bool
func (NullableInlineResponse401) MarshalJSON ¶
func (v NullableInlineResponse401) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse401) Set ¶
func (v *NullableInlineResponse401) Set(val *InlineResponse401)
func (*NullableInlineResponse401) UnmarshalJSON ¶
func (v *NullableInlineResponse401) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse401) Unset ¶
func (v *NullableInlineResponse401) Unset()
type NullableInlineResponse4011 ¶
type NullableInlineResponse4011 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse4011 ¶
func NewNullableInlineResponse4011(val *InlineResponse4011) *NullableInlineResponse4011
func (NullableInlineResponse4011) Get ¶
func (v NullableInlineResponse4011) Get() *InlineResponse4011
func (NullableInlineResponse4011) IsSet ¶
func (v NullableInlineResponse4011) IsSet() bool
func (NullableInlineResponse4011) MarshalJSON ¶
func (v NullableInlineResponse4011) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse4011) Set ¶
func (v *NullableInlineResponse4011) Set(val *InlineResponse4011)
func (*NullableInlineResponse4011) UnmarshalJSON ¶
func (v *NullableInlineResponse4011) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse4011) Unset ¶
func (v *NullableInlineResponse4011) Unset()
type NullableInlineResponse500 ¶
type NullableInlineResponse500 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse500 ¶
func NewNullableInlineResponse500(val *InlineResponse500) *NullableInlineResponse500
func (NullableInlineResponse500) Get ¶
func (v NullableInlineResponse500) Get() *InlineResponse500
func (NullableInlineResponse500) IsSet ¶
func (v NullableInlineResponse500) IsSet() bool
func (NullableInlineResponse500) MarshalJSON ¶
func (v NullableInlineResponse500) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse500) Set ¶
func (v *NullableInlineResponse500) Set(val *InlineResponse500)
func (*NullableInlineResponse500) UnmarshalJSON ¶
func (v *NullableInlineResponse500) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse500) Unset ¶
func (v *NullableInlineResponse500) Unset()
type NullableInlineResponse504 ¶
type NullableInlineResponse504 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse504 ¶
func NewNullableInlineResponse504(val *InlineResponse504) *NullableInlineResponse504
func (NullableInlineResponse504) Get ¶
func (v NullableInlineResponse504) Get() *InlineResponse504
func (NullableInlineResponse504) IsSet ¶
func (v NullableInlineResponse504) IsSet() bool
func (NullableInlineResponse504) MarshalJSON ¶
func (v NullableInlineResponse504) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse504) Set ¶
func (v *NullableInlineResponse504) Set(val *InlineResponse504)
func (*NullableInlineResponse504) UnmarshalJSON ¶
func (v *NullableInlineResponse504) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse504) Unset ¶
func (v *NullableInlineResponse504) 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 NullableSampleEvent ¶
type NullableSampleEvent struct {
// contains filtered or unexported fields
}
func NewNullableSampleEvent ¶
func NewNullableSampleEvent(val *SampleEvent) *NullableSampleEvent
func (NullableSampleEvent) Get ¶
func (v NullableSampleEvent) Get() *SampleEvent
func (NullableSampleEvent) IsSet ¶
func (v NullableSampleEvent) IsSet() bool
func (NullableSampleEvent) MarshalJSON ¶
func (v NullableSampleEvent) MarshalJSON() ([]byte, error)
func (*NullableSampleEvent) Set ¶
func (v *NullableSampleEvent) Set(val *SampleEvent)
func (*NullableSampleEvent) UnmarshalJSON ¶
func (v *NullableSampleEvent) UnmarshalJSON(src []byte) error
func (*NullableSampleEvent) Unset ¶
func (v *NullableSampleEvent) Unset()
type NullableShipmentEvent ¶
type NullableShipmentEvent struct {
// contains filtered or unexported fields
}
func NewNullableShipmentEvent ¶
func NewNullableShipmentEvent(val *ShipmentEvent) *NullableShipmentEvent
func (NullableShipmentEvent) Get ¶
func (v NullableShipmentEvent) Get() *ShipmentEvent
func (NullableShipmentEvent) IsSet ¶
func (v NullableShipmentEvent) IsSet() bool
func (NullableShipmentEvent) MarshalJSON ¶
func (v NullableShipmentEvent) MarshalJSON() ([]byte, error)
func (*NullableShipmentEvent) Set ¶
func (v *NullableShipmentEvent) Set(val *ShipmentEvent)
func (*NullableShipmentEvent) UnmarshalJSON ¶
func (v *NullableShipmentEvent) UnmarshalJSON(src []byte) error
func (*NullableShipmentEvent) Unset ¶
func (v *NullableShipmentEvent) Unset()
type NullableShipmentEventAllOf ¶
type NullableShipmentEventAllOf struct {
// contains filtered or unexported fields
}
func NewNullableShipmentEventAllOf ¶
func NewNullableShipmentEventAllOf(val *ShipmentEventAllOf) *NullableShipmentEventAllOf
func (NullableShipmentEventAllOf) Get ¶
func (v NullableShipmentEventAllOf) Get() *ShipmentEventAllOf
func (NullableShipmentEventAllOf) IsSet ¶
func (v NullableShipmentEventAllOf) IsSet() bool
func (NullableShipmentEventAllOf) MarshalJSON ¶
func (v NullableShipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*NullableShipmentEventAllOf) Set ¶
func (v *NullableShipmentEventAllOf) Set(val *ShipmentEventAllOf)
func (*NullableShipmentEventAllOf) UnmarshalJSON ¶
func (v *NullableShipmentEventAllOf) UnmarshalJSON(src []byte) error
func (*NullableShipmentEventAllOf) Unset ¶
func (v *NullableShipmentEventAllOf) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTransportEquipmentEvent ¶
type NullableTransportEquipmentEvent struct {
// contains filtered or unexported fields
}
func NewNullableTransportEquipmentEvent ¶
func NewNullableTransportEquipmentEvent(val *TransportEquipmentEvent) *NullableTransportEquipmentEvent
func (NullableTransportEquipmentEvent) Get ¶
func (v NullableTransportEquipmentEvent) Get() *TransportEquipmentEvent
func (NullableTransportEquipmentEvent) IsSet ¶
func (v NullableTransportEquipmentEvent) IsSet() bool
func (NullableTransportEquipmentEvent) MarshalJSON ¶
func (v NullableTransportEquipmentEvent) MarshalJSON() ([]byte, error)
func (*NullableTransportEquipmentEvent) Set ¶
func (v *NullableTransportEquipmentEvent) Set(val *TransportEquipmentEvent)
func (*NullableTransportEquipmentEvent) UnmarshalJSON ¶
func (v *NullableTransportEquipmentEvent) UnmarshalJSON(src []byte) error
func (*NullableTransportEquipmentEvent) Unset ¶
func (v *NullableTransportEquipmentEvent) Unset()
type NullableTransportEquipmentEventAllOf ¶
type NullableTransportEquipmentEventAllOf struct {
// contains filtered or unexported fields
}
func NewNullableTransportEquipmentEventAllOf ¶
func NewNullableTransportEquipmentEventAllOf(val *TransportEquipmentEventAllOf) *NullableTransportEquipmentEventAllOf
func (NullableTransportEquipmentEventAllOf) Get ¶
func (v NullableTransportEquipmentEventAllOf) Get() *TransportEquipmentEventAllOf
func (NullableTransportEquipmentEventAllOf) IsSet ¶
func (v NullableTransportEquipmentEventAllOf) IsSet() bool
func (NullableTransportEquipmentEventAllOf) MarshalJSON ¶
func (v NullableTransportEquipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*NullableTransportEquipmentEventAllOf) Set ¶
func (v *NullableTransportEquipmentEventAllOf) Set(val *TransportEquipmentEventAllOf)
func (*NullableTransportEquipmentEventAllOf) UnmarshalJSON ¶
func (v *NullableTransportEquipmentEventAllOf) UnmarshalJSON(src []byte) error
func (*NullableTransportEquipmentEventAllOf) Unset ¶
func (v *NullableTransportEquipmentEventAllOf) Unset()
type NullableTransportEvent ¶
type NullableTransportEvent struct {
// contains filtered or unexported fields
}
func NewNullableTransportEvent ¶
func NewNullableTransportEvent(val *TransportEvent) *NullableTransportEvent
func (NullableTransportEvent) Get ¶
func (v NullableTransportEvent) Get() *TransportEvent
func (NullableTransportEvent) IsSet ¶
func (v NullableTransportEvent) IsSet() bool
func (NullableTransportEvent) MarshalJSON ¶
func (v NullableTransportEvent) MarshalJSON() ([]byte, error)
func (*NullableTransportEvent) Set ¶
func (v *NullableTransportEvent) Set(val *TransportEvent)
func (*NullableTransportEvent) UnmarshalJSON ¶
func (v *NullableTransportEvent) UnmarshalJSON(src []byte) error
func (*NullableTransportEvent) Unset ¶
func (v *NullableTransportEvent) Unset()
type NullableTransportEventAllOf ¶
type NullableTransportEventAllOf struct {
// contains filtered or unexported fields
}
func NewNullableTransportEventAllOf ¶
func NewNullableTransportEventAllOf(val *TransportEventAllOf) *NullableTransportEventAllOf
func (NullableTransportEventAllOf) Get ¶
func (v NullableTransportEventAllOf) Get() *TransportEventAllOf
func (NullableTransportEventAllOf) IsSet ¶
func (v NullableTransportEventAllOf) IsSet() bool
func (NullableTransportEventAllOf) MarshalJSON ¶
func (v NullableTransportEventAllOf) MarshalJSON() ([]byte, error)
func (*NullableTransportEventAllOf) Set ¶
func (v *NullableTransportEventAllOf) Set(val *TransportEventAllOf)
func (*NullableTransportEventAllOf) UnmarshalJSON ¶
func (v *NullableTransportEventAllOf) UnmarshalJSON(src []byte) error
func (*NullableTransportEventAllOf) Unset ¶
func (v *NullableTransportEventAllOf) Unset()
type SampleEvent ¶
type SampleEvent struct {
Events *[]interface{} `json:"events,omitempty"`
}
SampleEvent struct for SampleEvent
func NewSampleEvent ¶
func NewSampleEvent() *SampleEvent
NewSampleEvent instantiates a new SampleEvent 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 NewSampleEventWithDefaults ¶
func NewSampleEventWithDefaults() *SampleEvent
NewSampleEventWithDefaults instantiates a new SampleEvent 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 (*SampleEvent) GetEvents ¶
func (o *SampleEvent) GetEvents() []interface{}
GetEvents returns the Events field value if set, zero value otherwise.
func (*SampleEvent) GetEventsOk ¶
func (o *SampleEvent) GetEventsOk() (*[]interface{}, bool)
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SampleEvent) HasEvents ¶
func (o *SampleEvent) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (SampleEvent) MarshalJSON ¶
func (o SampleEvent) MarshalJSON() ([]byte, error)
func (*SampleEvent) SetEvents ¶
func (o *SampleEvent) SetEvents(v []interface{})
SetEvents gets a reference to the given []interface{} and assigns it to the Events 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"` EventType string `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` // The code to identify the type of information that is related to the shipment. ShipmentInformationTypeCode string `json:"shipmentInformationTypeCode"` }
ShipmentEvent The shipment event entity is a specialization of the event entity to support specification of data that only applies to a shipment event.
func NewShipmentEvent ¶
func NewShipmentEvent(eventID string, eventType string, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string, shipmentInformationTypeCode string) *ShipmentEvent
NewShipmentEvent instantiates a new ShipmentEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShipmentEventWithDefaults ¶
func NewShipmentEventWithDefaults() *ShipmentEvent
NewShipmentEventWithDefaults instantiates a new ShipmentEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShipmentEvent) GetEventClassifierCode ¶
func (o *ShipmentEvent) GetEventClassifierCode() string
GetEventClassifierCode returns the EventClassifierCode field value
func (*ShipmentEvent) GetEventClassifierCodeOk ¶
func (o *ShipmentEvent) GetEventClassifierCodeOk() (*string, bool)
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetEventDateTime ¶
func (o *ShipmentEvent) GetEventDateTime() time.Time
GetEventDateTime returns the EventDateTime field value
func (*ShipmentEvent) GetEventDateTimeOk ¶
func (o *ShipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetEventID ¶
func (o *ShipmentEvent) GetEventID() string
GetEventID returns the EventID field value
func (*ShipmentEvent) GetEventIDOk ¶
func (o *ShipmentEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetEventType ¶
func (o *ShipmentEvent) GetEventType() string
GetEventType returns the EventType field value
func (*ShipmentEvent) GetEventTypeCode ¶
func (o *ShipmentEvent) GetEventTypeCode() string
GetEventTypeCode returns the EventTypeCode field value
func (*ShipmentEvent) GetEventTypeCodeOk ¶
func (o *ShipmentEvent) GetEventTypeCodeOk() (*string, bool)
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetEventTypeOk ¶
func (o *ShipmentEvent) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (*ShipmentEvent) GetShipmentInformationTypeCode ¶
func (o *ShipmentEvent) GetShipmentInformationTypeCode() string
GetShipmentInformationTypeCode returns the ShipmentInformationTypeCode field value
func (*ShipmentEvent) GetShipmentInformationTypeCodeOk ¶
func (o *ShipmentEvent) GetShipmentInformationTypeCodeOk() (*string, bool)
GetShipmentInformationTypeCodeOk returns a tuple with the ShipmentInformationTypeCode field value and a boolean to check if the value has been set.
func (ShipmentEvent) MarshalJSON ¶
func (o ShipmentEvent) MarshalJSON() ([]byte, error)
func (*ShipmentEvent) SetEventClassifierCode ¶
func (o *ShipmentEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*ShipmentEvent) SetEventDateTime ¶
func (o *ShipmentEvent) SetEventDateTime(v time.Time)
SetEventDateTime sets field value
func (*ShipmentEvent) SetEventID ¶
func (o *ShipmentEvent) SetEventID(v string)
SetEventID sets field value
func (*ShipmentEvent) SetEventType ¶
func (o *ShipmentEvent) SetEventType(v string)
SetEventType sets field value
func (*ShipmentEvent) SetEventTypeCode ¶
func (o *ShipmentEvent) SetEventTypeCode(v string)
SetEventTypeCode sets field value
func (*ShipmentEvent) SetShipmentInformationTypeCode ¶
func (o *ShipmentEvent) SetShipmentInformationTypeCode(v string)
SetShipmentInformationTypeCode sets field value
type ShipmentEventAllOf ¶
type ShipmentEventAllOf struct { EventType *string `json:"eventType,omitempty"` // The code to identify the type of information that is related to the shipment. ShipmentInformationTypeCode string `json:"shipmentInformationTypeCode"` }
ShipmentEventAllOf struct for ShipmentEventAllOf
func NewShipmentEventAllOf ¶
func NewShipmentEventAllOf(shipmentInformationTypeCode string) *ShipmentEventAllOf
NewShipmentEventAllOf instantiates a new ShipmentEventAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewShipmentEventAllOfWithDefaults ¶
func NewShipmentEventAllOfWithDefaults() *ShipmentEventAllOf
NewShipmentEventAllOfWithDefaults instantiates a new ShipmentEventAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ShipmentEventAllOf) GetEventType ¶
func (o *ShipmentEventAllOf) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*ShipmentEventAllOf) GetEventTypeOk ¶
func (o *ShipmentEventAllOf) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShipmentEventAllOf) GetShipmentInformationTypeCode ¶
func (o *ShipmentEventAllOf) GetShipmentInformationTypeCode() string
GetShipmentInformationTypeCode returns the ShipmentInformationTypeCode field value
func (*ShipmentEventAllOf) GetShipmentInformationTypeCodeOk ¶
func (o *ShipmentEventAllOf) GetShipmentInformationTypeCodeOk() (*string, bool)
GetShipmentInformationTypeCodeOk returns a tuple with the ShipmentInformationTypeCode field value and a boolean to check if the value has been set.
func (*ShipmentEventAllOf) HasEventType ¶
func (o *ShipmentEventAllOf) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (ShipmentEventAllOf) MarshalJSON ¶
func (o ShipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*ShipmentEventAllOf) SetEventType ¶
func (o *ShipmentEventAllOf) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*ShipmentEventAllOf) SetShipmentInformationTypeCode ¶
func (o *ShipmentEventAllOf) SetShipmentInformationTypeCode(v string)
SetShipmentInformationTypeCode sets field value
type TransportEquipmentEvent ¶
type TransportEquipmentEvent struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID string `json:"eventID"` EventType string `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` // The reference for the transport, e.g. when the mode of transport is a vessel, the transport reference will be the vessel IMO number. TransportReference string `json:"transportReference"` // The transport leg reference will be specific per mode of transport: - Vessel: Voyage number as specified by the vessel operator - Truck: Not yet specified - Rail: Not yet specified - Barge: Not yet specified. TransportLegReference string `json:"transportLegReference"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. If a container is not yet assigned to a shipment, the interface cannot return any information when an equipment reference is given as input. If a container is assigned to an (active) shipment, the interface returns information on the active shipment. EquipmentReference *string `json:"equipmentReference,omitempty"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` // A code specifying a type of transport mode. ModeOfTransportCode *string `json:"modeOfTransportCode,omitempty"` }
TransportEquipmentEvent The transport equipment event entity is a specialization of the event entity to support specification of data that applies to both transport and equipment events.
func NewTransportEquipmentEvent ¶
func NewTransportEquipmentEvent(eventID string, eventType string, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string, transportReference string, transportLegReference string, facilityTypeCode string, uNLocationCode string, facilityCode string, emptyIndicatorCode string) *TransportEquipmentEvent
NewTransportEquipmentEvent instantiates a new TransportEquipmentEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportEquipmentEventWithDefaults ¶
func NewTransportEquipmentEventWithDefaults() *TransportEquipmentEvent
NewTransportEquipmentEventWithDefaults instantiates a new TransportEquipmentEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportEquipmentEvent) GetEmptyIndicatorCode ¶
func (o *TransportEquipmentEvent) GetEmptyIndicatorCode() string
GetEmptyIndicatorCode returns the EmptyIndicatorCode field value
func (*TransportEquipmentEvent) GetEmptyIndicatorCodeOk ¶
func (o *TransportEquipmentEvent) GetEmptyIndicatorCodeOk() (*string, bool)
GetEmptyIndicatorCodeOk returns a tuple with the EmptyIndicatorCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEquipmentReference ¶
func (o *TransportEquipmentEvent) GetEquipmentReference() string
GetEquipmentReference returns the EquipmentReference field value if set, zero value otherwise.
func (*TransportEquipmentEvent) GetEquipmentReferenceOk ¶
func (o *TransportEquipmentEvent) GetEquipmentReferenceOk() (*string, bool)
GetEquipmentReferenceOk returns a tuple with the EquipmentReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventClassifierCode ¶
func (o *TransportEquipmentEvent) GetEventClassifierCode() string
GetEventClassifierCode returns the EventClassifierCode field value
func (*TransportEquipmentEvent) GetEventClassifierCodeOk ¶
func (o *TransportEquipmentEvent) GetEventClassifierCodeOk() (*string, bool)
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventDateTime ¶
func (o *TransportEquipmentEvent) GetEventDateTime() time.Time
GetEventDateTime returns the EventDateTime field value
func (*TransportEquipmentEvent) GetEventDateTimeOk ¶
func (o *TransportEquipmentEvent) GetEventDateTimeOk() (*time.Time, bool)
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventID ¶
func (o *TransportEquipmentEvent) GetEventID() string
GetEventID returns the EventID field value
func (*TransportEquipmentEvent) GetEventIDOk ¶
func (o *TransportEquipmentEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventType ¶
func (o *TransportEquipmentEvent) GetEventType() string
GetEventType returns the EventType field value
func (*TransportEquipmentEvent) GetEventTypeCode ¶
func (o *TransportEquipmentEvent) GetEventTypeCode() string
GetEventTypeCode returns the EventTypeCode field value
func (*TransportEquipmentEvent) GetEventTypeCodeOk ¶
func (o *TransportEquipmentEvent) GetEventTypeCodeOk() (*string, bool)
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetEventTypeOk ¶
func (o *TransportEquipmentEvent) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetFacilityCode ¶
func (o *TransportEquipmentEvent) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*TransportEquipmentEvent) GetFacilityCodeOk ¶
func (o *TransportEquipmentEvent) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetFacilityTypeCode ¶
func (o *TransportEquipmentEvent) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*TransportEquipmentEvent) GetFacilityTypeCodeOk ¶
func (o *TransportEquipmentEvent) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetModeOfTransportCode ¶
func (o *TransportEquipmentEvent) GetModeOfTransportCode() string
GetModeOfTransportCode returns the ModeOfTransportCode field value if set, zero value otherwise.
func (*TransportEquipmentEvent) GetModeOfTransportCodeOk ¶
func (o *TransportEquipmentEvent) GetModeOfTransportCodeOk() (*string, bool)
GetModeOfTransportCodeOk returns a tuple with the ModeOfTransportCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetOtherFacility ¶
func (o *TransportEquipmentEvent) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*TransportEquipmentEvent) GetOtherFacilityOk ¶
func (o *TransportEquipmentEvent) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetTransportLegReference ¶
func (o *TransportEquipmentEvent) GetTransportLegReference() string
GetTransportLegReference returns the TransportLegReference field value
func (*TransportEquipmentEvent) GetTransportLegReferenceOk ¶
func (o *TransportEquipmentEvent) GetTransportLegReferenceOk() (*string, bool)
GetTransportLegReferenceOk returns a tuple with the TransportLegReference field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetTransportReference ¶
func (o *TransportEquipmentEvent) GetTransportReference() string
GetTransportReference returns the TransportReference field value
func (*TransportEquipmentEvent) GetTransportReferenceOk ¶
func (o *TransportEquipmentEvent) GetTransportReferenceOk() (*string, bool)
GetTransportReferenceOk returns a tuple with the TransportReference field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) GetUNLocationCode ¶
func (o *TransportEquipmentEvent) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*TransportEquipmentEvent) GetUNLocationCodeOk ¶
func (o *TransportEquipmentEvent) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEvent) HasEquipmentReference ¶
func (o *TransportEquipmentEvent) HasEquipmentReference() bool
HasEquipmentReference returns a boolean if a field has been set.
func (*TransportEquipmentEvent) HasModeOfTransportCode ¶
func (o *TransportEquipmentEvent) HasModeOfTransportCode() bool
HasModeOfTransportCode returns a boolean if a field has been set.
func (*TransportEquipmentEvent) HasOtherFacility ¶
func (o *TransportEquipmentEvent) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (TransportEquipmentEvent) MarshalJSON ¶
func (o TransportEquipmentEvent) MarshalJSON() ([]byte, error)
func (*TransportEquipmentEvent) SetEmptyIndicatorCode ¶
func (o *TransportEquipmentEvent) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*TransportEquipmentEvent) SetEquipmentReference ¶
func (o *TransportEquipmentEvent) SetEquipmentReference(v string)
SetEquipmentReference gets a reference to the given string and assigns it to the EquipmentReference field.
func (*TransportEquipmentEvent) SetEventClassifierCode ¶
func (o *TransportEquipmentEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*TransportEquipmentEvent) SetEventDateTime ¶
func (o *TransportEquipmentEvent) SetEventDateTime(v time.Time)
SetEventDateTime sets field value
func (*TransportEquipmentEvent) SetEventID ¶
func (o *TransportEquipmentEvent) SetEventID(v string)
SetEventID sets field value
func (*TransportEquipmentEvent) SetEventType ¶
func (o *TransportEquipmentEvent) SetEventType(v string)
SetEventType sets field value
func (*TransportEquipmentEvent) SetEventTypeCode ¶
func (o *TransportEquipmentEvent) SetEventTypeCode(v string)
SetEventTypeCode sets field value
func (*TransportEquipmentEvent) SetFacilityCode ¶
func (o *TransportEquipmentEvent) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*TransportEquipmentEvent) SetFacilityTypeCode ¶
func (o *TransportEquipmentEvent) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*TransportEquipmentEvent) SetModeOfTransportCode ¶
func (o *TransportEquipmentEvent) SetModeOfTransportCode(v string)
SetModeOfTransportCode gets a reference to the given string and assigns it to the ModeOfTransportCode field.
func (*TransportEquipmentEvent) SetOtherFacility ¶
func (o *TransportEquipmentEvent) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*TransportEquipmentEvent) SetTransportLegReference ¶
func (o *TransportEquipmentEvent) SetTransportLegReference(v string)
SetTransportLegReference sets field value
func (*TransportEquipmentEvent) SetTransportReference ¶
func (o *TransportEquipmentEvent) SetTransportReference(v string)
SetTransportReference sets field value
func (*TransportEquipmentEvent) SetUNLocationCode ¶
func (o *TransportEquipmentEvent) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type TransportEquipmentEventAllOf ¶
type TransportEquipmentEventAllOf struct { EventType *string `json:"eventType,omitempty"` // The reference for the transport, e.g. when the mode of transport is a vessel, the transport reference will be the vessel IMO number. TransportReference string `json:"transportReference"` // The transport leg reference will be specific per mode of transport: - Vessel: Voyage number as specified by the vessel operator - Truck: Not yet specified - Rail: Not yet specified - Barge: Not yet specified. TransportLegReference string `json:"transportLegReference"` // The unique identifier for the equipment, which should follow the BIC ISO Container Identification Number where possible. If a container is not yet assigned to a shipment, the interface cannot return any information when an equipment reference is given as input. If a container is assigned to an (active) shipment, the interface returns information on the active shipment. EquipmentReference *string `json:"equipmentReference,omitempty"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // Code to denote whether the equipment is empty or laden. EmptyIndicatorCode string `json:"emptyIndicatorCode"` // A code specifying a type of transport mode. ModeOfTransportCode *string `json:"modeOfTransportCode,omitempty"` }
TransportEquipmentEventAllOf struct for TransportEquipmentEventAllOf
func NewTransportEquipmentEventAllOf ¶
func NewTransportEquipmentEventAllOf(transportReference string, transportLegReference string, facilityTypeCode string, uNLocationCode string, facilityCode string, emptyIndicatorCode string) *TransportEquipmentEventAllOf
NewTransportEquipmentEventAllOf instantiates a new TransportEquipmentEventAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportEquipmentEventAllOfWithDefaults ¶
func NewTransportEquipmentEventAllOfWithDefaults() *TransportEquipmentEventAllOf
NewTransportEquipmentEventAllOfWithDefaults instantiates a new TransportEquipmentEventAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportEquipmentEventAllOf) GetEmptyIndicatorCode ¶
func (o *TransportEquipmentEventAllOf) GetEmptyIndicatorCode() string
GetEmptyIndicatorCode returns the EmptyIndicatorCode field value
func (*TransportEquipmentEventAllOf) GetEmptyIndicatorCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetEmptyIndicatorCodeOk() (*string, bool)
GetEmptyIndicatorCodeOk returns a tuple with the EmptyIndicatorCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetEquipmentReference ¶
func (o *TransportEquipmentEventAllOf) GetEquipmentReference() string
GetEquipmentReference returns the EquipmentReference field value if set, zero value otherwise.
func (*TransportEquipmentEventAllOf) GetEquipmentReferenceOk ¶
func (o *TransportEquipmentEventAllOf) GetEquipmentReferenceOk() (*string, bool)
GetEquipmentReferenceOk returns a tuple with the EquipmentReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetEventType ¶
func (o *TransportEquipmentEventAllOf) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*TransportEquipmentEventAllOf) GetEventTypeOk ¶
func (o *TransportEquipmentEventAllOf) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetFacilityCode ¶
func (o *TransportEquipmentEventAllOf) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*TransportEquipmentEventAllOf) GetFacilityCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetFacilityTypeCode ¶
func (o *TransportEquipmentEventAllOf) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*TransportEquipmentEventAllOf) GetFacilityTypeCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetModeOfTransportCode ¶
func (o *TransportEquipmentEventAllOf) GetModeOfTransportCode() string
GetModeOfTransportCode returns the ModeOfTransportCode field value if set, zero value otherwise.
func (*TransportEquipmentEventAllOf) GetModeOfTransportCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetModeOfTransportCodeOk() (*string, bool)
GetModeOfTransportCodeOk returns a tuple with the ModeOfTransportCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetOtherFacility ¶
func (o *TransportEquipmentEventAllOf) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*TransportEquipmentEventAllOf) GetOtherFacilityOk ¶
func (o *TransportEquipmentEventAllOf) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetTransportLegReference ¶
func (o *TransportEquipmentEventAllOf) GetTransportLegReference() string
GetTransportLegReference returns the TransportLegReference field value
func (*TransportEquipmentEventAllOf) GetTransportLegReferenceOk ¶
func (o *TransportEquipmentEventAllOf) GetTransportLegReferenceOk() (*string, bool)
GetTransportLegReferenceOk returns a tuple with the TransportLegReference field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetTransportReference ¶
func (o *TransportEquipmentEventAllOf) GetTransportReference() string
GetTransportReference returns the TransportReference field value
func (*TransportEquipmentEventAllOf) GetTransportReferenceOk ¶
func (o *TransportEquipmentEventAllOf) GetTransportReferenceOk() (*string, bool)
GetTransportReferenceOk returns a tuple with the TransportReference field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) GetUNLocationCode ¶
func (o *TransportEquipmentEventAllOf) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*TransportEquipmentEventAllOf) GetUNLocationCodeOk ¶
func (o *TransportEquipmentEventAllOf) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*TransportEquipmentEventAllOf) HasEquipmentReference ¶
func (o *TransportEquipmentEventAllOf) HasEquipmentReference() bool
HasEquipmentReference returns a boolean if a field has been set.
func (*TransportEquipmentEventAllOf) HasEventType ¶
func (o *TransportEquipmentEventAllOf) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (*TransportEquipmentEventAllOf) HasModeOfTransportCode ¶
func (o *TransportEquipmentEventAllOf) HasModeOfTransportCode() bool
HasModeOfTransportCode returns a boolean if a field has been set.
func (*TransportEquipmentEventAllOf) HasOtherFacility ¶
func (o *TransportEquipmentEventAllOf) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (TransportEquipmentEventAllOf) MarshalJSON ¶
func (o TransportEquipmentEventAllOf) MarshalJSON() ([]byte, error)
func (*TransportEquipmentEventAllOf) SetEmptyIndicatorCode ¶
func (o *TransportEquipmentEventAllOf) SetEmptyIndicatorCode(v string)
SetEmptyIndicatorCode sets field value
func (*TransportEquipmentEventAllOf) SetEquipmentReference ¶
func (o *TransportEquipmentEventAllOf) SetEquipmentReference(v string)
SetEquipmentReference gets a reference to the given string and assigns it to the EquipmentReference field.
func (*TransportEquipmentEventAllOf) SetEventType ¶
func (o *TransportEquipmentEventAllOf) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*TransportEquipmentEventAllOf) SetFacilityCode ¶
func (o *TransportEquipmentEventAllOf) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*TransportEquipmentEventAllOf) SetFacilityTypeCode ¶
func (o *TransportEquipmentEventAllOf) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*TransportEquipmentEventAllOf) SetModeOfTransportCode ¶
func (o *TransportEquipmentEventAllOf) SetModeOfTransportCode(v string)
SetModeOfTransportCode gets a reference to the given string and assigns it to the ModeOfTransportCode field.
func (*TransportEquipmentEventAllOf) SetOtherFacility ¶
func (o *TransportEquipmentEventAllOf) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*TransportEquipmentEventAllOf) SetTransportLegReference ¶
func (o *TransportEquipmentEventAllOf) SetTransportLegReference(v string)
SetTransportLegReference sets field value
func (*TransportEquipmentEventAllOf) SetTransportReference ¶
func (o *TransportEquipmentEventAllOf) SetTransportReference(v string)
SetTransportReference sets field value
func (*TransportEquipmentEventAllOf) SetUNLocationCode ¶
func (o *TransportEquipmentEventAllOf) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type TransportEvent ¶
type TransportEvent struct { // The unique identifier for the Equipment Event ID/Transport Event ID/Shipment Event ID. EventID string `json:"eventID"` EventType string `json:"eventType"` // The local date and time, where the event took place, in ISO 8601 format. EventDateTime time.Time `json:"eventDateTime"` // Code for the event classifier, either PLN, ACT or EST. EventClassifierCode string `json:"eventClassifierCode"` // Unique identifier for Event Type Code. EventTypeCode string `json:"eventTypeCode"` // The reference for the transport, e.g. when the mode of transport is a vessel, the transport reference will be the vessel IMO number. TransportReference string `json:"transportReference"` // The transport leg reference will be specific per mode of transport: - Vessel: Voyage number as specified by the vessel operator - Truck: Not yet specified - Rail: Not yet specified - Barge: Not yet specified. TransportLegReference string `json:"transportLegReference"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // A code specifying a type of transport mode. ModeOfTransportCode *string `json:"modeOfTransportCode,omitempty"` }
TransportEvent The transport event entity is a specialization of the event entity to support specification of data that only applies to a transport event.
func NewTransportEvent ¶
func NewTransportEvent(eventID string, eventType string, eventDateTime time.Time, eventClassifierCode string, eventTypeCode string, transportReference string, transportLegReference string, facilityTypeCode string, uNLocationCode string, facilityCode string) *TransportEvent
NewTransportEvent instantiates a new TransportEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportEventWithDefaults ¶
func NewTransportEventWithDefaults() *TransportEvent
NewTransportEventWithDefaults instantiates a new TransportEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportEvent) GetEventClassifierCode ¶
func (o *TransportEvent) GetEventClassifierCode() string
GetEventClassifierCode returns the EventClassifierCode field value
func (*TransportEvent) GetEventClassifierCodeOk ¶
func (o *TransportEvent) GetEventClassifierCodeOk() (*string, bool)
GetEventClassifierCodeOk returns a tuple with the EventClassifierCode field value and a boolean to check if the value has been set.
func (*TransportEvent) GetEventDateTime ¶
func (o *TransportEvent) GetEventDateTime() time.Time
GetEventDateTime returns the EventDateTime field value
func (*TransportEvent) GetEventDateTimeOk ¶
func (o *TransportEvent) GetEventDateTimeOk() (*time.Time, bool)
GetEventDateTimeOk returns a tuple with the EventDateTime field value and a boolean to check if the value has been set.
func (*TransportEvent) GetEventID ¶
func (o *TransportEvent) GetEventID() string
GetEventID returns the EventID field value
func (*TransportEvent) GetEventIDOk ¶
func (o *TransportEvent) GetEventIDOk() (*string, bool)
GetEventIDOk returns a tuple with the EventID field value and a boolean to check if the value has been set.
func (*TransportEvent) GetEventType ¶
func (o *TransportEvent) GetEventType() string
GetEventType returns the EventType field value
func (*TransportEvent) GetEventTypeCode ¶
func (o *TransportEvent) GetEventTypeCode() string
GetEventTypeCode returns the EventTypeCode field value
func (*TransportEvent) GetEventTypeCodeOk ¶
func (o *TransportEvent) GetEventTypeCodeOk() (*string, bool)
GetEventTypeCodeOk returns a tuple with the EventTypeCode field value and a boolean to check if the value has been set.
func (*TransportEvent) GetEventTypeOk ¶
func (o *TransportEvent) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (*TransportEvent) GetFacilityCode ¶
func (o *TransportEvent) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*TransportEvent) GetFacilityCodeOk ¶
func (o *TransportEvent) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*TransportEvent) GetFacilityTypeCode ¶
func (o *TransportEvent) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*TransportEvent) GetFacilityTypeCodeOk ¶
func (o *TransportEvent) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*TransportEvent) GetModeOfTransportCode ¶
func (o *TransportEvent) GetModeOfTransportCode() string
GetModeOfTransportCode returns the ModeOfTransportCode field value if set, zero value otherwise.
func (*TransportEvent) GetModeOfTransportCodeOk ¶
func (o *TransportEvent) GetModeOfTransportCodeOk() (*string, bool)
GetModeOfTransportCodeOk returns a tuple with the ModeOfTransportCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEvent) GetOtherFacility ¶
func (o *TransportEvent) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*TransportEvent) GetOtherFacilityOk ¶
func (o *TransportEvent) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEvent) GetTransportLegReference ¶
func (o *TransportEvent) GetTransportLegReference() string
GetTransportLegReference returns the TransportLegReference field value
func (*TransportEvent) GetTransportLegReferenceOk ¶
func (o *TransportEvent) GetTransportLegReferenceOk() (*string, bool)
GetTransportLegReferenceOk returns a tuple with the TransportLegReference field value and a boolean to check if the value has been set.
func (*TransportEvent) GetTransportReference ¶
func (o *TransportEvent) GetTransportReference() string
GetTransportReference returns the TransportReference field value
func (*TransportEvent) GetTransportReferenceOk ¶
func (o *TransportEvent) GetTransportReferenceOk() (*string, bool)
GetTransportReferenceOk returns a tuple with the TransportReference field value and a boolean to check if the value has been set.
func (*TransportEvent) GetUNLocationCode ¶
func (o *TransportEvent) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*TransportEvent) GetUNLocationCodeOk ¶
func (o *TransportEvent) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*TransportEvent) HasModeOfTransportCode ¶
func (o *TransportEvent) HasModeOfTransportCode() bool
HasModeOfTransportCode returns a boolean if a field has been set.
func (*TransportEvent) HasOtherFacility ¶
func (o *TransportEvent) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (TransportEvent) MarshalJSON ¶
func (o TransportEvent) MarshalJSON() ([]byte, error)
func (*TransportEvent) SetEventClassifierCode ¶
func (o *TransportEvent) SetEventClassifierCode(v string)
SetEventClassifierCode sets field value
func (*TransportEvent) SetEventDateTime ¶
func (o *TransportEvent) SetEventDateTime(v time.Time)
SetEventDateTime sets field value
func (*TransportEvent) SetEventID ¶
func (o *TransportEvent) SetEventID(v string)
SetEventID sets field value
func (*TransportEvent) SetEventType ¶
func (o *TransportEvent) SetEventType(v string)
SetEventType sets field value
func (*TransportEvent) SetEventTypeCode ¶
func (o *TransportEvent) SetEventTypeCode(v string)
SetEventTypeCode sets field value
func (*TransportEvent) SetFacilityCode ¶
func (o *TransportEvent) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*TransportEvent) SetFacilityTypeCode ¶
func (o *TransportEvent) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*TransportEvent) SetModeOfTransportCode ¶
func (o *TransportEvent) SetModeOfTransportCode(v string)
SetModeOfTransportCode gets a reference to the given string and assigns it to the ModeOfTransportCode field.
func (*TransportEvent) SetOtherFacility ¶
func (o *TransportEvent) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*TransportEvent) SetTransportLegReference ¶
func (o *TransportEvent) SetTransportLegReference(v string)
SetTransportLegReference sets field value
func (*TransportEvent) SetTransportReference ¶
func (o *TransportEvent) SetTransportReference(v string)
SetTransportReference sets field value
func (*TransportEvent) SetUNLocationCode ¶
func (o *TransportEvent) SetUNLocationCode(v string)
SetUNLocationCode sets field value
type TransportEventAllOf ¶
type TransportEventAllOf struct { EventType *string `json:"eventType,omitempty"` // The reference for the transport, e.g. when the mode of transport is a vessel, the transport reference will be the vessel IMO number. TransportReference string `json:"transportReference"` // The transport leg reference will be specific per mode of transport: - Vessel: Voyage number as specified by the vessel operator - Truck: Not yet specified - Rail: Not yet specified - Barge: Not yet specified. TransportLegReference string `json:"transportLegReference"` // The code to identify the specific type of facility. FacilityTypeCode string `json:"facilityTypeCode"` // The UN Location Code identifies a location in the sense of a city/a town/a village, being the smaller administrative area existing as defined by the competent national authority in each country. UNLocationCode string `json:"UNLocationCode"` // The code used for identifying the specific facility. FacilityCode string `json:"facilityCode"` // An alternative way to capture the facility when no standardized DCSA facility code can be found. OtherFacility *string `json:"otherFacility,omitempty"` // A code specifying a type of transport mode. ModeOfTransportCode *string `json:"modeOfTransportCode,omitempty"` }
TransportEventAllOf struct for TransportEventAllOf
func NewTransportEventAllOf ¶
func NewTransportEventAllOf(transportReference string, transportLegReference string, facilityTypeCode string, uNLocationCode string, facilityCode string) *TransportEventAllOf
NewTransportEventAllOf instantiates a new TransportEventAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportEventAllOfWithDefaults ¶
func NewTransportEventAllOfWithDefaults() *TransportEventAllOf
NewTransportEventAllOfWithDefaults instantiates a new TransportEventAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportEventAllOf) GetEventType ¶
func (o *TransportEventAllOf) GetEventType() string
GetEventType returns the EventType field value if set, zero value otherwise.
func (*TransportEventAllOf) GetEventTypeOk ¶
func (o *TransportEventAllOf) GetEventTypeOk() (*string, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetFacilityCode ¶
func (o *TransportEventAllOf) GetFacilityCode() string
GetFacilityCode returns the FacilityCode field value
func (*TransportEventAllOf) GetFacilityCodeOk ¶
func (o *TransportEventAllOf) GetFacilityCodeOk() (*string, bool)
GetFacilityCodeOk returns a tuple with the FacilityCode field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetFacilityTypeCode ¶
func (o *TransportEventAllOf) GetFacilityTypeCode() string
GetFacilityTypeCode returns the FacilityTypeCode field value
func (*TransportEventAllOf) GetFacilityTypeCodeOk ¶
func (o *TransportEventAllOf) GetFacilityTypeCodeOk() (*string, bool)
GetFacilityTypeCodeOk returns a tuple with the FacilityTypeCode field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetModeOfTransportCode ¶
func (o *TransportEventAllOf) GetModeOfTransportCode() string
GetModeOfTransportCode returns the ModeOfTransportCode field value if set, zero value otherwise.
func (*TransportEventAllOf) GetModeOfTransportCodeOk ¶
func (o *TransportEventAllOf) GetModeOfTransportCodeOk() (*string, bool)
GetModeOfTransportCodeOk returns a tuple with the ModeOfTransportCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetOtherFacility ¶
func (o *TransportEventAllOf) GetOtherFacility() string
GetOtherFacility returns the OtherFacility field value if set, zero value otherwise.
func (*TransportEventAllOf) GetOtherFacilityOk ¶
func (o *TransportEventAllOf) GetOtherFacilityOk() (*string, bool)
GetOtherFacilityOk returns a tuple with the OtherFacility field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetTransportLegReference ¶
func (o *TransportEventAllOf) GetTransportLegReference() string
GetTransportLegReference returns the TransportLegReference field value
func (*TransportEventAllOf) GetTransportLegReferenceOk ¶
func (o *TransportEventAllOf) GetTransportLegReferenceOk() (*string, bool)
GetTransportLegReferenceOk returns a tuple with the TransportLegReference field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetTransportReference ¶
func (o *TransportEventAllOf) GetTransportReference() string
GetTransportReference returns the TransportReference field value
func (*TransportEventAllOf) GetTransportReferenceOk ¶
func (o *TransportEventAllOf) GetTransportReferenceOk() (*string, bool)
GetTransportReferenceOk returns a tuple with the TransportReference field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) GetUNLocationCode ¶
func (o *TransportEventAllOf) GetUNLocationCode() string
GetUNLocationCode returns the UNLocationCode field value
func (*TransportEventAllOf) GetUNLocationCodeOk ¶
func (o *TransportEventAllOf) GetUNLocationCodeOk() (*string, bool)
GetUNLocationCodeOk returns a tuple with the UNLocationCode field value and a boolean to check if the value has been set.
func (*TransportEventAllOf) HasEventType ¶
func (o *TransportEventAllOf) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (*TransportEventAllOf) HasModeOfTransportCode ¶
func (o *TransportEventAllOf) HasModeOfTransportCode() bool
HasModeOfTransportCode returns a boolean if a field has been set.
func (*TransportEventAllOf) HasOtherFacility ¶
func (o *TransportEventAllOf) HasOtherFacility() bool
HasOtherFacility returns a boolean if a field has been set.
func (TransportEventAllOf) MarshalJSON ¶
func (o TransportEventAllOf) MarshalJSON() ([]byte, error)
func (*TransportEventAllOf) SetEventType ¶
func (o *TransportEventAllOf) SetEventType(v string)
SetEventType gets a reference to the given string and assigns it to the EventType field.
func (*TransportEventAllOf) SetFacilityCode ¶
func (o *TransportEventAllOf) SetFacilityCode(v string)
SetFacilityCode sets field value
func (*TransportEventAllOf) SetFacilityTypeCode ¶
func (o *TransportEventAllOf) SetFacilityTypeCode(v string)
SetFacilityTypeCode sets field value
func (*TransportEventAllOf) SetModeOfTransportCode ¶
func (o *TransportEventAllOf) SetModeOfTransportCode(v string)
SetModeOfTransportCode gets a reference to the given string and assigns it to the ModeOfTransportCode field.
func (*TransportEventAllOf) SetOtherFacility ¶
func (o *TransportEventAllOf) SetOtherFacility(v string)
SetOtherFacility gets a reference to the given string and assigns it to the OtherFacility field.
func (*TransportEventAllOf) SetTransportLegReference ¶
func (o *TransportEventAllOf) SetTransportLegReference(v string)
SetTransportLegReference sets field value
func (*TransportEventAllOf) SetTransportReference ¶
func (o *TransportEventAllOf) SetTransportReference(v string)
SetTransportReference sets field value
func (*TransportEventAllOf) SetUNLocationCode ¶
func (o *TransportEventAllOf) SetUNLocationCode(v string)
SetUNLocationCode sets field value
Source Files ¶
- api_default.go
- api_events.go
- client.go
- configuration.go
- model_equipment_event.go
- model_equipment_event_all_of.go
- model_event.go
- model_inline_response_200.go
- model_inline_response_400.go
- model_inline_response_401.go
- model_inline_response_401_1.go
- model_inline_response_500.go
- model_inline_response_504.go
- model_sample_event.go
- model_shipment_event.go
- model_shipment_event_all_of.go
- model_transport_equipment_event.go
- model_transport_equipment_event_all_of.go
- model_transport_event.go
- model_transport_event_all_of.go
- response.go
- utils.go