client

package
v0.0.0-...-dca2783 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddStationPath

func AddStationPath() string

AddStationPath returns the URL path to the station service add HTTP endpoint.

func AdminSearchStationPath

func AdminSearchStationPath() string

AdminSearchStationPath returns the URL path to the station service admin search HTTP endpoint.

func BuildAddPayload

func BuildAddPayload(stationAddBody string, stationAddAuth string) (*station.AddPayload, error)

BuildAddPayload builds the payload for the station add endpoint from CLI flags.

func BuildAdminSearchPayload

func BuildAdminSearchPayload(stationAdminSearchQuery string, stationAdminSearchAuth string) (*station.AdminSearchPayload, error)

BuildAdminSearchPayload builds the payload for the station admin search endpoint from CLI flags.

func BuildDefaultPhotoPayload

func BuildDefaultPhotoPayload(stationDefaultPhotoID string, stationDefaultPhotoPhotoID string, stationDefaultPhotoAuth string) (*station.DefaultPhotoPayload, error)

BuildDefaultPhotoPayload builds the payload for the station default photo endpoint from CLI flags.

func BuildDeletePayload

func BuildDeletePayload(stationDeleteStationID string, stationDeleteAuth string) (*station.DeletePayload, error)

BuildDeletePayload builds the payload for the station delete endpoint from CLI flags.

func BuildDownloadPhotoPayload

func BuildDownloadPhotoPayload(stationDownloadPhotoStationID string, stationDownloadPhotoSize string, stationDownloadPhotoIfNoneMatch string, stationDownloadPhotoAuth string) (*station.DownloadPhotoPayload, error)

BuildDownloadPhotoPayload builds the payload for the station download photo endpoint from CLI flags.

func BuildGetPayload

func BuildGetPayload(stationGetID string, stationGetAuth string) (*station.GetPayload, error)

BuildGetPayload builds the payload for the station get endpoint from CLI flags.

func BuildListAllPayload

func BuildListAllPayload(stationListAllPage string, stationListAllPageSize string, stationListAllOwnerID string, stationListAllQuery string, stationListAllSortBy string, stationListAllAuth string) (*station.ListAllPayload, error)

BuildListAllPayload builds the payload for the station list all endpoint from CLI flags.

func BuildListAssociatedPayload

func BuildListAssociatedPayload(stationListAssociatedID string, stationListAssociatedAuth string) (*station.ListAssociatedPayload, error)

BuildListAssociatedPayload builds the payload for the station list associated endpoint from CLI flags.

func BuildListMinePayload

func BuildListMinePayload(stationListMineAuth string) (*station.ListMinePayload, error)

BuildListMinePayload builds the payload for the station list mine endpoint from CLI flags.

func BuildListProjectAssociatedPayload

func BuildListProjectAssociatedPayload(stationListProjectAssociatedProjectID string, stationListProjectAssociatedAuth string) (*station.ListProjectAssociatedPayload, error)

BuildListProjectAssociatedPayload builds the payload for the station list project associated endpoint from CLI flags.

func BuildListProjectPayload

func BuildListProjectPayload(stationListProjectID string, stationListProjectDisableFiltering string, stationListProjectAuth string) (*station.ListProjectPayload, error)

BuildListProjectPayload builds the payload for the station list project endpoint from CLI flags.

func BuildProgressPayload

func BuildProgressPayload(stationProgressStationID string, stationProgressAuth string) (*station.ProgressPayload, error)

BuildProgressPayload builds the payload for the station progress endpoint from CLI flags.

func BuildTransferPayload

func BuildTransferPayload(stationTransferID string, stationTransferOwnerID string, stationTransferAuth string) (*station.TransferPayload, error)

BuildTransferPayload builds the payload for the station transfer endpoint from CLI flags.

func BuildUpdateModulePayload

func BuildUpdateModulePayload(stationUpdateModuleBody string, stationUpdateModuleID string, stationUpdateModuleModuleID string, stationUpdateModuleAuth string) (*station.UpdateModulePayload, error)

BuildUpdateModulePayload builds the payload for the station update module endpoint from CLI flags.

func BuildUpdatePayload

func BuildUpdatePayload(stationUpdateBody string, stationUpdateID string, stationUpdateAuth string) (*station.UpdatePayload, error)

BuildUpdatePayload builds the payload for the station update endpoint from CLI flags.

func DecodeAddResponse

func DecodeAddResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeAddResponse returns a decoder for responses returned by the station add endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAddResponse may return the following errors:

  • "station-owner-conflict" (type *goa.ServiceError): http.StatusBadRequest
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func DecodeAdminSearchResponse

func DecodeAdminSearchResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeAdminSearchResponse returns a decoder for responses returned by the station admin search endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAdminSearchResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeDefaultPhotoResponse

func DecodeDefaultPhotoResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeDefaultPhotoResponse returns a decoder for responses returned by the station default photo endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDefaultPhotoResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeDeleteResponse

func DecodeDeleteResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeDeleteResponse returns a decoder for responses returned by the station delete endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDeleteResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeDownloadPhotoResponse

func DecodeDownloadPhotoResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeDownloadPhotoResponse returns a decoder for responses returned by the station download photo endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDownloadPhotoResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeGetResponse

func DecodeGetResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeGetResponse returns a decoder for responses returned by the station get endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeGetResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeListAllResponse

func DecodeListAllResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeListAllResponse returns a decoder for responses returned by the station list all endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListAllResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeListAssociatedResponse

func DecodeListAssociatedResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeListAssociatedResponse returns a decoder for responses returned by the station list associated endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListAssociatedResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeListMineResponse

func DecodeListMineResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeListMineResponse returns a decoder for responses returned by the station list mine endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListMineResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeListProjectAssociatedResponse

func DecodeListProjectAssociatedResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeListProjectAssociatedResponse returns a decoder for responses returned by the station list project associated endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListProjectAssociatedResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeListProjectResponse

func DecodeListProjectResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeListProjectResponse returns a decoder for responses returned by the station list project endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListProjectResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeProgressResponse

func DecodeProgressResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeProgressResponse returns a decoder for responses returned by the station progress endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeProgressResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeTransferResponse

func DecodeTransferResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeTransferResponse returns a decoder for responses returned by the station transfer endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeTransferResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeUpdateModuleResponse

func DecodeUpdateModuleResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeUpdateModuleResponse returns a decoder for responses returned by the station update module endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUpdateModuleResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeUpdateResponse

func DecodeUpdateResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeUpdateResponse returns a decoder for responses returned by the station update endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUpdateResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DefaultPhotoStationPath

func DefaultPhotoStationPath(id int32, photoID int32) string

DefaultPhotoStationPath returns the URL path to the station service default photo HTTP endpoint.

func DeleteStationPath

func DeleteStationPath(stationID int32) string

DeleteStationPath returns the URL path to the station service delete HTTP endpoint.

func DownloadPhotoStationPath

func DownloadPhotoStationPath(stationID int32) string

DownloadPhotoStationPath returns the URL path to the station service download photo HTTP endpoint.

func EncodeAddRequest

func EncodeAddRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeAddRequest returns an encoder for requests sent to the station add server.

func EncodeAdminSearchRequest

func EncodeAdminSearchRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeAdminSearchRequest returns an encoder for requests sent to the station admin search server.

func EncodeDefaultPhotoRequest

func EncodeDefaultPhotoRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeDefaultPhotoRequest returns an encoder for requests sent to the station default photo server.

func EncodeDeleteRequest

func EncodeDeleteRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeDeleteRequest returns an encoder for requests sent to the station delete server.

func EncodeDownloadPhotoRequest

func EncodeDownloadPhotoRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeDownloadPhotoRequest returns an encoder for requests sent to the station download photo server.

func EncodeGetRequest

func EncodeGetRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeGetRequest returns an encoder for requests sent to the station get server.

func EncodeListAllRequest

func EncodeListAllRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeListAllRequest returns an encoder for requests sent to the station list all server.

func EncodeListAssociatedRequest

func EncodeListAssociatedRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeListAssociatedRequest returns an encoder for requests sent to the station list associated server.

func EncodeListMineRequest

func EncodeListMineRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeListMineRequest returns an encoder for requests sent to the station list mine server.

func EncodeListProjectAssociatedRequest

func EncodeListProjectAssociatedRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeListProjectAssociatedRequest returns an encoder for requests sent to the station list project associated server.

func EncodeListProjectRequest

func EncodeListProjectRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeListProjectRequest returns an encoder for requests sent to the station list project server.

func EncodeProgressRequest

func EncodeProgressRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeProgressRequest returns an encoder for requests sent to the station progress server.

func EncodeTransferRequest

func EncodeTransferRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeTransferRequest returns an encoder for requests sent to the station transfer server.

func EncodeUpdateModuleRequest

func EncodeUpdateModuleRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeUpdateModuleRequest returns an encoder for requests sent to the station update module server.

func EncodeUpdateRequest

func EncodeUpdateRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeUpdateRequest returns an encoder for requests sent to the station update server.

func GetStationPath

func GetStationPath(id int32) string

GetStationPath returns the URL path to the station service get HTTP endpoint.

func ListAllStationPath

func ListAllStationPath() string

ListAllStationPath returns the URL path to the station service list all HTTP endpoint.

func ListAssociatedStationPath

func ListAssociatedStationPath(id int32) string

ListAssociatedStationPath returns the URL path to the station service list associated HTTP endpoint.

func ListMineStationPath

func ListMineStationPath() string

ListMineStationPath returns the URL path to the station service list mine HTTP endpoint.

func ListProjectAssociatedStationPath

func ListProjectAssociatedStationPath(projectID int32) string

ListProjectAssociatedStationPath returns the URL path to the station service list project associated HTTP endpoint.

func ListProjectStationPath

func ListProjectStationPath(id int32) string

ListProjectStationPath returns the URL path to the station service list project HTTP endpoint.

func NewAddBadRequest

func NewAddBadRequest(body *AddBadRequestResponseBody) *goa.ServiceError

NewAddBadRequest builds a station service add endpoint bad-request error.

func NewAddForbidden

func NewAddForbidden(body *AddForbiddenResponseBody) *goa.ServiceError

NewAddForbidden builds a station service add endpoint forbidden error.

func NewAddNotFound

func NewAddNotFound(body *AddNotFoundResponseBody) *goa.ServiceError

NewAddNotFound builds a station service add endpoint not-found error.

func NewAddStationFullOK

func NewAddStationFullOK(body *AddResponseBody) *stationviews.StationFullView

NewAddStationFullOK builds a "station" service "add" endpoint result from a HTTP "OK" response.

func NewAddStationOwnerConflict

func NewAddStationOwnerConflict(body *AddStationOwnerConflictResponseBody) *goa.ServiceError

NewAddStationOwnerConflict builds a station service add endpoint station-owner-conflict error.

func NewAddUnauthorized

func NewAddUnauthorized(body *AddUnauthorizedResponseBody) *goa.ServiceError

NewAddUnauthorized builds a station service add endpoint unauthorized error.

func NewAdminSearchBadRequest

func NewAdminSearchBadRequest(body *AdminSearchBadRequestResponseBody) *goa.ServiceError

NewAdminSearchBadRequest builds a station service admin search endpoint bad-request error.

func NewAdminSearchForbidden

func NewAdminSearchForbidden(body *AdminSearchForbiddenResponseBody) *goa.ServiceError

NewAdminSearchForbidden builds a station service admin search endpoint forbidden error.

func NewAdminSearchNotFound

func NewAdminSearchNotFound(body *AdminSearchNotFoundResponseBody) *goa.ServiceError

NewAdminSearchNotFound builds a station service admin search endpoint not-found error.

func NewAdminSearchPageOfStationsOK

func NewAdminSearchPageOfStationsOK(body *AdminSearchResponseBody) *stationviews.PageOfStationsView

NewAdminSearchPageOfStationsOK builds a "station" service "admin search" endpoint result from a HTTP "OK" response.

func NewAdminSearchUnauthorized

func NewAdminSearchUnauthorized(body *AdminSearchUnauthorizedResponseBody) *goa.ServiceError

NewAdminSearchUnauthorized builds a station service admin search endpoint unauthorized error.

func NewDefaultPhotoBadRequest

func NewDefaultPhotoBadRequest(body *DefaultPhotoBadRequestResponseBody) *goa.ServiceError

NewDefaultPhotoBadRequest builds a station service default photo endpoint bad-request error.

func NewDefaultPhotoForbidden

func NewDefaultPhotoForbidden(body *DefaultPhotoForbiddenResponseBody) *goa.ServiceError

NewDefaultPhotoForbidden builds a station service default photo endpoint forbidden error.

func NewDefaultPhotoNotFound

func NewDefaultPhotoNotFound(body *DefaultPhotoNotFoundResponseBody) *goa.ServiceError

NewDefaultPhotoNotFound builds a station service default photo endpoint not-found error.

func NewDefaultPhotoUnauthorized

func NewDefaultPhotoUnauthorized(body *DefaultPhotoUnauthorizedResponseBody) *goa.ServiceError

NewDefaultPhotoUnauthorized builds a station service default photo endpoint unauthorized error.

func NewDeleteBadRequest

func NewDeleteBadRequest(body *DeleteBadRequestResponseBody) *goa.ServiceError

NewDeleteBadRequest builds a station service delete endpoint bad-request error.

func NewDeleteForbidden

func NewDeleteForbidden(body *DeleteForbiddenResponseBody) *goa.ServiceError

NewDeleteForbidden builds a station service delete endpoint forbidden error.

func NewDeleteNotFound

func NewDeleteNotFound(body *DeleteNotFoundResponseBody) *goa.ServiceError

NewDeleteNotFound builds a station service delete endpoint not-found error.

func NewDeleteUnauthorized

func NewDeleteUnauthorized(body *DeleteUnauthorizedResponseBody) *goa.ServiceError

NewDeleteUnauthorized builds a station service delete endpoint unauthorized error.

func NewDownloadPhotoBadRequest

func NewDownloadPhotoBadRequest(body *DownloadPhotoBadRequestResponseBody) *goa.ServiceError

NewDownloadPhotoBadRequest builds a station service download photo endpoint bad-request error.

func NewDownloadPhotoDownloadedPhotoOK

func NewDownloadPhotoDownloadedPhotoOK(body *DownloadPhotoResponseBody) *stationviews.DownloadedPhotoView

NewDownloadPhotoDownloadedPhotoOK builds a "station" service "download photo" endpoint result from a HTTP "OK" response.

func NewDownloadPhotoForbidden

func NewDownloadPhotoForbidden(body *DownloadPhotoForbiddenResponseBody) *goa.ServiceError

NewDownloadPhotoForbidden builds a station service download photo endpoint forbidden error.

func NewDownloadPhotoNotFound

func NewDownloadPhotoNotFound(body *DownloadPhotoNotFoundResponseBody) *goa.ServiceError

NewDownloadPhotoNotFound builds a station service download photo endpoint not-found error.

func NewDownloadPhotoUnauthorized

func NewDownloadPhotoUnauthorized(body *DownloadPhotoUnauthorizedResponseBody) *goa.ServiceError

NewDownloadPhotoUnauthorized builds a station service download photo endpoint unauthorized error.

func NewGetBadRequest

func NewGetBadRequest(body *GetBadRequestResponseBody) *goa.ServiceError

NewGetBadRequest builds a station service get endpoint bad-request error.

func NewGetForbidden

func NewGetForbidden(body *GetForbiddenResponseBody) *goa.ServiceError

NewGetForbidden builds a station service get endpoint forbidden error.

func NewGetNotFound

func NewGetNotFound(body *GetNotFoundResponseBody) *goa.ServiceError

NewGetNotFound builds a station service get endpoint not-found error.

func NewGetStationFullOK

func NewGetStationFullOK(body *GetResponseBody) *stationviews.StationFullView

NewGetStationFullOK builds a "station" service "get" endpoint result from a HTTP "OK" response.

func NewGetUnauthorized

func NewGetUnauthorized(body *GetUnauthorizedResponseBody) *goa.ServiceError

NewGetUnauthorized builds a station service get endpoint unauthorized error.

func NewListAllBadRequest

func NewListAllBadRequest(body *ListAllBadRequestResponseBody) *goa.ServiceError

NewListAllBadRequest builds a station service list all endpoint bad-request error.

func NewListAllForbidden

func NewListAllForbidden(body *ListAllForbiddenResponseBody) *goa.ServiceError

NewListAllForbidden builds a station service list all endpoint forbidden error.

func NewListAllNotFound

func NewListAllNotFound(body *ListAllNotFoundResponseBody) *goa.ServiceError

NewListAllNotFound builds a station service list all endpoint not-found error.

func NewListAllPageOfStationsOK

func NewListAllPageOfStationsOK(body *ListAllResponseBody) *stationviews.PageOfStationsView

NewListAllPageOfStationsOK builds a "station" service "list all" endpoint result from a HTTP "OK" response.

func NewListAllUnauthorized

func NewListAllUnauthorized(body *ListAllUnauthorizedResponseBody) *goa.ServiceError

NewListAllUnauthorized builds a station service list all endpoint unauthorized error.

func NewListAssociatedAssociatedStationsOK

func NewListAssociatedAssociatedStationsOK(body *ListAssociatedResponseBody) *stationviews.AssociatedStationsView

NewListAssociatedAssociatedStationsOK builds a "station" service "list associated" endpoint result from a HTTP "OK" response.

func NewListAssociatedBadRequest

func NewListAssociatedBadRequest(body *ListAssociatedBadRequestResponseBody) *goa.ServiceError

NewListAssociatedBadRequest builds a station service list associated endpoint bad-request error.

func NewListAssociatedForbidden

func NewListAssociatedForbidden(body *ListAssociatedForbiddenResponseBody) *goa.ServiceError

NewListAssociatedForbidden builds a station service list associated endpoint forbidden error.

func NewListAssociatedNotFound

func NewListAssociatedNotFound(body *ListAssociatedNotFoundResponseBody) *goa.ServiceError

NewListAssociatedNotFound builds a station service list associated endpoint not-found error.

func NewListAssociatedUnauthorized

func NewListAssociatedUnauthorized(body *ListAssociatedUnauthorizedResponseBody) *goa.ServiceError

NewListAssociatedUnauthorized builds a station service list associated endpoint unauthorized error.

func NewListMineBadRequest

func NewListMineBadRequest(body *ListMineBadRequestResponseBody) *goa.ServiceError

NewListMineBadRequest builds a station service list mine endpoint bad-request error.

func NewListMineForbidden

func NewListMineForbidden(body *ListMineForbiddenResponseBody) *goa.ServiceError

NewListMineForbidden builds a station service list mine endpoint forbidden error.

func NewListMineNotFound

func NewListMineNotFound(body *ListMineNotFoundResponseBody) *goa.ServiceError

NewListMineNotFound builds a station service list mine endpoint not-found error.

func NewListMineStationsFullOK

func NewListMineStationsFullOK(body *ListMineResponseBody) *stationviews.StationsFullView

NewListMineStationsFullOK builds a "station" service "list mine" endpoint result from a HTTP "OK" response.

func NewListMineUnauthorized

func NewListMineUnauthorized(body *ListMineUnauthorizedResponseBody) *goa.ServiceError

NewListMineUnauthorized builds a station service list mine endpoint unauthorized error.

func NewListProjectAssociatedAssociatedStationsOK

func NewListProjectAssociatedAssociatedStationsOK(body *ListProjectAssociatedResponseBody) *stationviews.AssociatedStationsView

NewListProjectAssociatedAssociatedStationsOK builds a "station" service "list project associated" endpoint result from a HTTP "OK" response.

func NewListProjectAssociatedBadRequest

func NewListProjectAssociatedBadRequest(body *ListProjectAssociatedBadRequestResponseBody) *goa.ServiceError

NewListProjectAssociatedBadRequest builds a station service list project associated endpoint bad-request error.

func NewListProjectAssociatedForbidden

func NewListProjectAssociatedForbidden(body *ListProjectAssociatedForbiddenResponseBody) *goa.ServiceError

NewListProjectAssociatedForbidden builds a station service list project associated endpoint forbidden error.

func NewListProjectAssociatedNotFound

func NewListProjectAssociatedNotFound(body *ListProjectAssociatedNotFoundResponseBody) *goa.ServiceError

NewListProjectAssociatedNotFound builds a station service list project associated endpoint not-found error.

func NewListProjectAssociatedUnauthorized

func NewListProjectAssociatedUnauthorized(body *ListProjectAssociatedUnauthorizedResponseBody) *goa.ServiceError

NewListProjectAssociatedUnauthorized builds a station service list project associated endpoint unauthorized error.

func NewListProjectBadRequest

func NewListProjectBadRequest(body *ListProjectBadRequestResponseBody) *goa.ServiceError

NewListProjectBadRequest builds a station service list project endpoint bad-request error.

func NewListProjectForbidden

func NewListProjectForbidden(body *ListProjectForbiddenResponseBody) *goa.ServiceError

NewListProjectForbidden builds a station service list project endpoint forbidden error.

func NewListProjectNotFound

func NewListProjectNotFound(body *ListProjectNotFoundResponseBody) *goa.ServiceError

NewListProjectNotFound builds a station service list project endpoint not-found error.

func NewListProjectStationsFullOK

func NewListProjectStationsFullOK(body *ListProjectResponseBody) *stationviews.StationsFullView

NewListProjectStationsFullOK builds a "station" service "list project" endpoint result from a HTTP "OK" response.

func NewListProjectUnauthorized

func NewListProjectUnauthorized(body *ListProjectUnauthorizedResponseBody) *goa.ServiceError

NewListProjectUnauthorized builds a station service list project endpoint unauthorized error.

func NewProgressBadRequest

func NewProgressBadRequest(body *ProgressBadRequestResponseBody) *goa.ServiceError

NewProgressBadRequest builds a station service progress endpoint bad-request error.

func NewProgressForbidden

func NewProgressForbidden(body *ProgressForbiddenResponseBody) *goa.ServiceError

NewProgressForbidden builds a station service progress endpoint forbidden error.

func NewProgressNotFound

func NewProgressNotFound(body *ProgressNotFoundResponseBody) *goa.ServiceError

NewProgressNotFound builds a station service progress endpoint not-found error.

func NewProgressStationProgressOK

func NewProgressStationProgressOK(body *ProgressResponseBody) *stationviews.StationProgressView

NewProgressStationProgressOK builds a "station" service "progress" endpoint result from a HTTP "OK" response.

func NewProgressUnauthorized

func NewProgressUnauthorized(body *ProgressUnauthorizedResponseBody) *goa.ServiceError

NewProgressUnauthorized builds a station service progress endpoint unauthorized error.

func NewTransferBadRequest

func NewTransferBadRequest(body *TransferBadRequestResponseBody) *goa.ServiceError

NewTransferBadRequest builds a station service transfer endpoint bad-request error.

func NewTransferForbidden

func NewTransferForbidden(body *TransferForbiddenResponseBody) *goa.ServiceError

NewTransferForbidden builds a station service transfer endpoint forbidden error.

func NewTransferNotFound

func NewTransferNotFound(body *TransferNotFoundResponseBody) *goa.ServiceError

NewTransferNotFound builds a station service transfer endpoint not-found error.

func NewTransferUnauthorized

func NewTransferUnauthorized(body *TransferUnauthorizedResponseBody) *goa.ServiceError

NewTransferUnauthorized builds a station service transfer endpoint unauthorized error.

func NewUpdateBadRequest

func NewUpdateBadRequest(body *UpdateBadRequestResponseBody) *goa.ServiceError

NewUpdateBadRequest builds a station service update endpoint bad-request error.

func NewUpdateForbidden

func NewUpdateForbidden(body *UpdateForbiddenResponseBody) *goa.ServiceError

NewUpdateForbidden builds a station service update endpoint forbidden error.

func NewUpdateModuleBadRequest

func NewUpdateModuleBadRequest(body *UpdateModuleBadRequestResponseBody) *goa.ServiceError

NewUpdateModuleBadRequest builds a station service update module endpoint bad-request error.

func NewUpdateModuleForbidden

func NewUpdateModuleForbidden(body *UpdateModuleForbiddenResponseBody) *goa.ServiceError

NewUpdateModuleForbidden builds a station service update module endpoint forbidden error.

func NewUpdateModuleNotFound

func NewUpdateModuleNotFound(body *UpdateModuleNotFoundResponseBody) *goa.ServiceError

NewUpdateModuleNotFound builds a station service update module endpoint not-found error.

func NewUpdateModuleStationFullOK

func NewUpdateModuleStationFullOK(body *UpdateModuleResponseBody) *stationviews.StationFullView

NewUpdateModuleStationFullOK builds a "station" service "update module" endpoint result from a HTTP "OK" response.

func NewUpdateModuleUnauthorized

func NewUpdateModuleUnauthorized(body *UpdateModuleUnauthorizedResponseBody) *goa.ServiceError

NewUpdateModuleUnauthorized builds a station service update module endpoint unauthorized error.

func NewUpdateNotFound

func NewUpdateNotFound(body *UpdateNotFoundResponseBody) *goa.ServiceError

NewUpdateNotFound builds a station service update endpoint not-found error.

func NewUpdateStationFullOK

func NewUpdateStationFullOK(body *UpdateResponseBody) *stationviews.StationFullView

NewUpdateStationFullOK builds a "station" service "update" endpoint result from a HTTP "OK" response.

func NewUpdateUnauthorized

func NewUpdateUnauthorized(body *UpdateUnauthorizedResponseBody) *goa.ServiceError

NewUpdateUnauthorized builds a station service update endpoint unauthorized error.

func ProgressStationPath

func ProgressStationPath(stationID int32) string

ProgressStationPath returns the URL path to the station service progress HTTP endpoint.

func TransferStationPath

func TransferStationPath(id int32, ownerID int32) string

TransferStationPath returns the URL path to the station service transfer HTTP endpoint.

func UpdateModuleStationPath

func UpdateModuleStationPath(id int32, moduleID int32) string

UpdateModuleStationPath returns the URL path to the station service update module HTTP endpoint.

func UpdateStationPath

func UpdateStationPath(id int32) string

UpdateStationPath returns the URL path to the station service update HTTP endpoint.

func ValidateAddBadRequestResponseBody

func ValidateAddBadRequestResponseBody(body *AddBadRequestResponseBody) (err error)

ValidateAddBadRequestResponseBody runs the validations defined on add_bad-request_response_body

func ValidateAddForbiddenResponseBody

func ValidateAddForbiddenResponseBody(body *AddForbiddenResponseBody) (err error)

ValidateAddForbiddenResponseBody runs the validations defined on add_forbidden_response_body

func ValidateAddNotFoundResponseBody

func ValidateAddNotFoundResponseBody(body *AddNotFoundResponseBody) (err error)

ValidateAddNotFoundResponseBody runs the validations defined on add_not-found_response_body

func ValidateAddStationOwnerConflictResponseBody

func ValidateAddStationOwnerConflictResponseBody(body *AddStationOwnerConflictResponseBody) (err error)

ValidateAddStationOwnerConflictResponseBody runs the validations defined on add_station-owner-conflict_response_body

func ValidateAddUnauthorizedResponseBody

func ValidateAddUnauthorizedResponseBody(body *AddUnauthorizedResponseBody) (err error)

ValidateAddUnauthorizedResponseBody runs the validations defined on add_unauthorized_response_body

func ValidateAdminSearchBadRequestResponseBody

func ValidateAdminSearchBadRequestResponseBody(body *AdminSearchBadRequestResponseBody) (err error)

ValidateAdminSearchBadRequestResponseBody runs the validations defined on admin search_bad-request_response_body

func ValidateAdminSearchForbiddenResponseBody

func ValidateAdminSearchForbiddenResponseBody(body *AdminSearchForbiddenResponseBody) (err error)

ValidateAdminSearchForbiddenResponseBody runs the validations defined on admin search_forbidden_response_body

func ValidateAdminSearchNotFoundResponseBody

func ValidateAdminSearchNotFoundResponseBody(body *AdminSearchNotFoundResponseBody) (err error)

ValidateAdminSearchNotFoundResponseBody runs the validations defined on admin search_not-found_response_body

func ValidateAdminSearchUnauthorizedResponseBody

func ValidateAdminSearchUnauthorizedResponseBody(body *AdminSearchUnauthorizedResponseBody) (err error)

ValidateAdminSearchUnauthorizedResponseBody runs the validations defined on admin search_unauthorized_response_body

func ValidateAssociatedStationCollectionResponseBody

func ValidateAssociatedStationCollectionResponseBody(body AssociatedStationCollectionResponseBody) (err error)

ValidateAssociatedStationCollectionResponseBody runs the validations defined on AssociatedStationCollectionResponseBody

func ValidateAssociatedStationResponseBody

func ValidateAssociatedStationResponseBody(body *AssociatedStationResponseBody) (err error)

ValidateAssociatedStationResponseBody runs the validations defined on AssociatedStationResponseBody

func ValidateAssociatedViaLocationResponseBody

func ValidateAssociatedViaLocationResponseBody(body *AssociatedViaLocationResponseBody) (err error)

ValidateAssociatedViaLocationResponseBody runs the validations defined on AssociatedViaLocationResponseBody

func ValidateAssociatedViaManualResponseBody

func ValidateAssociatedViaManualResponseBody(body *AssociatedViaManualResponseBody) (err error)

ValidateAssociatedViaManualResponseBody runs the validations defined on AssociatedViaManualResponseBody

func ValidateAssociatedViaProjectResponseBody

func ValidateAssociatedViaProjectResponseBody(body *AssociatedViaProjectResponseBody) (err error)

ValidateAssociatedViaProjectResponseBody runs the validations defined on AssociatedViaProjectResponseBody

func ValidateDefaultPhotoBadRequestResponseBody

func ValidateDefaultPhotoBadRequestResponseBody(body *DefaultPhotoBadRequestResponseBody) (err error)

ValidateDefaultPhotoBadRequestResponseBody runs the validations defined on default photo_bad-request_response_body

func ValidateDefaultPhotoForbiddenResponseBody

func ValidateDefaultPhotoForbiddenResponseBody(body *DefaultPhotoForbiddenResponseBody) (err error)

ValidateDefaultPhotoForbiddenResponseBody runs the validations defined on default photo_forbidden_response_body

func ValidateDefaultPhotoNotFoundResponseBody

func ValidateDefaultPhotoNotFoundResponseBody(body *DefaultPhotoNotFoundResponseBody) (err error)

ValidateDefaultPhotoNotFoundResponseBody runs the validations defined on default photo_not-found_response_body

func ValidateDefaultPhotoUnauthorizedResponseBody

func ValidateDefaultPhotoUnauthorizedResponseBody(body *DefaultPhotoUnauthorizedResponseBody) (err error)

ValidateDefaultPhotoUnauthorizedResponseBody runs the validations defined on default photo_unauthorized_response_body

func ValidateDeleteBadRequestResponseBody

func ValidateDeleteBadRequestResponseBody(body *DeleteBadRequestResponseBody) (err error)

ValidateDeleteBadRequestResponseBody runs the validations defined on delete_bad-request_response_body

func ValidateDeleteForbiddenResponseBody

func ValidateDeleteForbiddenResponseBody(body *DeleteForbiddenResponseBody) (err error)

ValidateDeleteForbiddenResponseBody runs the validations defined on delete_forbidden_response_body

func ValidateDeleteNotFoundResponseBody

func ValidateDeleteNotFoundResponseBody(body *DeleteNotFoundResponseBody) (err error)

ValidateDeleteNotFoundResponseBody runs the validations defined on delete_not-found_response_body

func ValidateDeleteUnauthorizedResponseBody

func ValidateDeleteUnauthorizedResponseBody(body *DeleteUnauthorizedResponseBody) (err error)

ValidateDeleteUnauthorizedResponseBody runs the validations defined on delete_unauthorized_response_body

func ValidateDownloadPhotoBadRequestResponseBody

func ValidateDownloadPhotoBadRequestResponseBody(body *DownloadPhotoBadRequestResponseBody) (err error)

ValidateDownloadPhotoBadRequestResponseBody runs the validations defined on download photo_bad-request_response_body

func ValidateDownloadPhotoForbiddenResponseBody

func ValidateDownloadPhotoForbiddenResponseBody(body *DownloadPhotoForbiddenResponseBody) (err error)

ValidateDownloadPhotoForbiddenResponseBody runs the validations defined on download photo_forbidden_response_body

func ValidateDownloadPhotoNotFoundResponseBody

func ValidateDownloadPhotoNotFoundResponseBody(body *DownloadPhotoNotFoundResponseBody) (err error)

ValidateDownloadPhotoNotFoundResponseBody runs the validations defined on download photo_not-found_response_body

func ValidateDownloadPhotoUnauthorizedResponseBody

func ValidateDownloadPhotoUnauthorizedResponseBody(body *DownloadPhotoUnauthorizedResponseBody) (err error)

ValidateDownloadPhotoUnauthorizedResponseBody runs the validations defined on download photo_unauthorized_response_body

func ValidateEssentialStationResponseBody

func ValidateEssentialStationResponseBody(body *EssentialStationResponseBody) (err error)

ValidateEssentialStationResponseBody runs the validations defined on EssentialStationResponseBody

func ValidateGetBadRequestResponseBody

func ValidateGetBadRequestResponseBody(body *GetBadRequestResponseBody) (err error)

ValidateGetBadRequestResponseBody runs the validations defined on get_bad-request_response_body

func ValidateGetForbiddenResponseBody

func ValidateGetForbiddenResponseBody(body *GetForbiddenResponseBody) (err error)

ValidateGetForbiddenResponseBody runs the validations defined on get_forbidden_response_body

func ValidateGetNotFoundResponseBody

func ValidateGetNotFoundResponseBody(body *GetNotFoundResponseBody) (err error)

ValidateGetNotFoundResponseBody runs the validations defined on get_not-found_response_body

func ValidateGetUnauthorizedResponseBody

func ValidateGetUnauthorizedResponseBody(body *GetUnauthorizedResponseBody) (err error)

ValidateGetUnauthorizedResponseBody runs the validations defined on get_unauthorized_response_body

func ValidateListAllBadRequestResponseBody

func ValidateListAllBadRequestResponseBody(body *ListAllBadRequestResponseBody) (err error)

ValidateListAllBadRequestResponseBody runs the validations defined on list all_bad-request_response_body

func ValidateListAllForbiddenResponseBody

func ValidateListAllForbiddenResponseBody(body *ListAllForbiddenResponseBody) (err error)

ValidateListAllForbiddenResponseBody runs the validations defined on list all_forbidden_response_body

func ValidateListAllNotFoundResponseBody

func ValidateListAllNotFoundResponseBody(body *ListAllNotFoundResponseBody) (err error)

ValidateListAllNotFoundResponseBody runs the validations defined on list all_not-found_response_body

func ValidateListAllUnauthorizedResponseBody

func ValidateListAllUnauthorizedResponseBody(body *ListAllUnauthorizedResponseBody) (err error)

ValidateListAllUnauthorizedResponseBody runs the validations defined on list all_unauthorized_response_body

func ValidateListAssociatedBadRequestResponseBody

func ValidateListAssociatedBadRequestResponseBody(body *ListAssociatedBadRequestResponseBody) (err error)

ValidateListAssociatedBadRequestResponseBody runs the validations defined on list associated_bad-request_response_body

func ValidateListAssociatedForbiddenResponseBody

func ValidateListAssociatedForbiddenResponseBody(body *ListAssociatedForbiddenResponseBody) (err error)

ValidateListAssociatedForbiddenResponseBody runs the validations defined on list associated_forbidden_response_body

func ValidateListAssociatedNotFoundResponseBody

func ValidateListAssociatedNotFoundResponseBody(body *ListAssociatedNotFoundResponseBody) (err error)

ValidateListAssociatedNotFoundResponseBody runs the validations defined on list associated_not-found_response_body

func ValidateListAssociatedUnauthorizedResponseBody

func ValidateListAssociatedUnauthorizedResponseBody(body *ListAssociatedUnauthorizedResponseBody) (err error)

ValidateListAssociatedUnauthorizedResponseBody runs the validations defined on list associated_unauthorized_response_body

func ValidateListMineBadRequestResponseBody

func ValidateListMineBadRequestResponseBody(body *ListMineBadRequestResponseBody) (err error)

ValidateListMineBadRequestResponseBody runs the validations defined on list mine_bad-request_response_body

func ValidateListMineForbiddenResponseBody

func ValidateListMineForbiddenResponseBody(body *ListMineForbiddenResponseBody) (err error)

ValidateListMineForbiddenResponseBody runs the validations defined on list mine_forbidden_response_body

func ValidateListMineNotFoundResponseBody

func ValidateListMineNotFoundResponseBody(body *ListMineNotFoundResponseBody) (err error)

ValidateListMineNotFoundResponseBody runs the validations defined on list mine_not-found_response_body

func ValidateListMineUnauthorizedResponseBody

func ValidateListMineUnauthorizedResponseBody(body *ListMineUnauthorizedResponseBody) (err error)

ValidateListMineUnauthorizedResponseBody runs the validations defined on list mine_unauthorized_response_body

func ValidateListProjectAssociatedBadRequestResponseBody

func ValidateListProjectAssociatedBadRequestResponseBody(body *ListProjectAssociatedBadRequestResponseBody) (err error)

ValidateListProjectAssociatedBadRequestResponseBody runs the validations defined on list project associated_bad-request_response_body

func ValidateListProjectAssociatedForbiddenResponseBody

func ValidateListProjectAssociatedForbiddenResponseBody(body *ListProjectAssociatedForbiddenResponseBody) (err error)

ValidateListProjectAssociatedForbiddenResponseBody runs the validations defined on list project associated_forbidden_response_body

func ValidateListProjectAssociatedNotFoundResponseBody

func ValidateListProjectAssociatedNotFoundResponseBody(body *ListProjectAssociatedNotFoundResponseBody) (err error)

ValidateListProjectAssociatedNotFoundResponseBody runs the validations defined on list project associated_not-found_response_body

func ValidateListProjectAssociatedUnauthorizedResponseBody

func ValidateListProjectAssociatedUnauthorizedResponseBody(body *ListProjectAssociatedUnauthorizedResponseBody) (err error)

ValidateListProjectAssociatedUnauthorizedResponseBody runs the validations defined on list project associated_unauthorized_response_body

func ValidateListProjectBadRequestResponseBody

func ValidateListProjectBadRequestResponseBody(body *ListProjectBadRequestResponseBody) (err error)

ValidateListProjectBadRequestResponseBody runs the validations defined on list project_bad-request_response_body

func ValidateListProjectForbiddenResponseBody

func ValidateListProjectForbiddenResponseBody(body *ListProjectForbiddenResponseBody) (err error)

ValidateListProjectForbiddenResponseBody runs the validations defined on list project_forbidden_response_body

func ValidateListProjectNotFoundResponseBody

func ValidateListProjectNotFoundResponseBody(body *ListProjectNotFoundResponseBody) (err error)

ValidateListProjectNotFoundResponseBody runs the validations defined on list project_not-found_response_body

func ValidateListProjectUnauthorizedResponseBody

func ValidateListProjectUnauthorizedResponseBody(body *ListProjectUnauthorizedResponseBody) (err error)

ValidateListProjectUnauthorizedResponseBody runs the validations defined on list project_unauthorized_response_body

func ValidateProgressBadRequestResponseBody

func ValidateProgressBadRequestResponseBody(body *ProgressBadRequestResponseBody) (err error)

ValidateProgressBadRequestResponseBody runs the validations defined on progress_bad-request_response_body

func ValidateProgressForbiddenResponseBody

func ValidateProgressForbiddenResponseBody(body *ProgressForbiddenResponseBody) (err error)

ValidateProgressForbiddenResponseBody runs the validations defined on progress_forbidden_response_body

func ValidateProgressNotFoundResponseBody

func ValidateProgressNotFoundResponseBody(body *ProgressNotFoundResponseBody) (err error)

ValidateProgressNotFoundResponseBody runs the validations defined on progress_not-found_response_body

func ValidateProgressUnauthorizedResponseBody

func ValidateProgressUnauthorizedResponseBody(body *ProgressUnauthorizedResponseBody) (err error)

ValidateProgressUnauthorizedResponseBody runs the validations defined on progress_unauthorized_response_body

func ValidateSensorRangeResponseBody

func ValidateSensorRangeResponseBody(body *SensorRangeResponseBody) (err error)

ValidateSensorRangeResponseBody runs the validations defined on SensorRangeResponseBody

func ValidateSensorReadingResponseBody

func ValidateSensorReadingResponseBody(body *SensorReadingResponseBody) (err error)

ValidateSensorReadingResponseBody runs the validations defined on SensorReadingResponseBody

func ValidateStationConfigurationResponseBody

func ValidateStationConfigurationResponseBody(body *StationConfigurationResponseBody) (err error)

ValidateStationConfigurationResponseBody runs the validations defined on StationConfigurationResponseBody

func ValidateStationConfigurationsResponseBody

func ValidateStationConfigurationsResponseBody(body *StationConfigurationsResponseBody) (err error)

ValidateStationConfigurationsResponseBody runs the validations defined on StationConfigurationsResponseBody

func ValidateStationDataSummaryResponseBody

func ValidateStationDataSummaryResponseBody(body *StationDataSummaryResponseBody) (err error)

ValidateStationDataSummaryResponseBody runs the validations defined on StationDataSummaryResponseBody

func ValidateStationFullCollectionResponseBody

func ValidateStationFullCollectionResponseBody(body StationFullCollectionResponseBody) (err error)

ValidateStationFullCollectionResponseBody runs the validations defined on StationFullCollectionResponseBody

func ValidateStationFullModelResponseBody

func ValidateStationFullModelResponseBody(body *StationFullModelResponseBody) (err error)

ValidateStationFullModelResponseBody runs the validations defined on StationFullModelResponseBody

func ValidateStationFullResponseBody

func ValidateStationFullResponseBody(body *StationFullResponseBody) (err error)

ValidateStationFullResponseBody runs the validations defined on StationFullResponseBody

func ValidateStationInterestingnessResponseBody

func ValidateStationInterestingnessResponseBody(body *StationInterestingnessResponseBody) (err error)

ValidateStationInterestingnessResponseBody runs the validations defined on StationInterestingnessResponseBody

func ValidateStationInterestingnessWindowResponseBody

func ValidateStationInterestingnessWindowResponseBody(body *StationInterestingnessWindowResponseBody) (err error)

ValidateStationInterestingnessWindowResponseBody runs the validations defined on StationInterestingnessWindowResponseBody

func ValidateStationJobResponseBody

func ValidateStationJobResponseBody(body *StationJobResponseBody) (err error)

ValidateStationJobResponseBody runs the validations defined on StationJobResponseBody

func ValidateStationLocationResponseBody

func ValidateStationLocationResponseBody(body *StationLocationResponseBody) (err error)

ValidateStationLocationResponseBody runs the validations defined on StationLocationResponseBody

func ValidateStationModuleResponseBody

func ValidateStationModuleResponseBody(body *StationModuleResponseBody) (err error)

ValidateStationModuleResponseBody runs the validations defined on StationModuleResponseBody

func ValidateStationOwnerResponseBody

func ValidateStationOwnerResponseBody(body *StationOwnerResponseBody) (err error)

ValidateStationOwnerResponseBody runs the validations defined on StationOwnerResponseBody

func ValidateStationPhotosResponseBody

func ValidateStationPhotosResponseBody(body *StationPhotosResponseBody) (err error)

ValidateStationPhotosResponseBody runs the validations defined on StationPhotosResponseBody

func ValidateStationProjectAttributeResponseBody

func ValidateStationProjectAttributeResponseBody(body *StationProjectAttributeResponseBody) (err error)

ValidateStationProjectAttributeResponseBody runs the validations defined on StationProjectAttributeResponseBody

func ValidateStationProjectAttributesResponseBody

func ValidateStationProjectAttributesResponseBody(body *StationProjectAttributesResponseBody) (err error)

ValidateStationProjectAttributesResponseBody runs the validations defined on StationProjectAttributesResponseBody

func ValidateStationRegionResponseBody

func ValidateStationRegionResponseBody(body *StationRegionResponseBody) (err error)

ValidateStationRegionResponseBody runs the validations defined on StationRegionResponseBody

func ValidateStationSensorResponseBody

func ValidateStationSensorResponseBody(body *StationSensorResponseBody) (err error)

ValidateStationSensorResponseBody runs the validations defined on StationSensorResponseBody

func ValidateStationUploadResponseBody

func ValidateStationUploadResponseBody(body *StationUploadResponseBody) (err error)

ValidateStationUploadResponseBody runs the validations defined on StationUploadResponseBody

func ValidateTransferBadRequestResponseBody

func ValidateTransferBadRequestResponseBody(body *TransferBadRequestResponseBody) (err error)

ValidateTransferBadRequestResponseBody runs the validations defined on transfer_bad-request_response_body

func ValidateTransferForbiddenResponseBody

func ValidateTransferForbiddenResponseBody(body *TransferForbiddenResponseBody) (err error)

ValidateTransferForbiddenResponseBody runs the validations defined on transfer_forbidden_response_body

func ValidateTransferNotFoundResponseBody

func ValidateTransferNotFoundResponseBody(body *TransferNotFoundResponseBody) (err error)

ValidateTransferNotFoundResponseBody runs the validations defined on transfer_not-found_response_body

func ValidateTransferUnauthorizedResponseBody

func ValidateTransferUnauthorizedResponseBody(body *TransferUnauthorizedResponseBody) (err error)

ValidateTransferUnauthorizedResponseBody runs the validations defined on transfer_unauthorized_response_body

func ValidateUpdateBadRequestResponseBody

func ValidateUpdateBadRequestResponseBody(body *UpdateBadRequestResponseBody) (err error)

ValidateUpdateBadRequestResponseBody runs the validations defined on update_bad-request_response_body

func ValidateUpdateForbiddenResponseBody

func ValidateUpdateForbiddenResponseBody(body *UpdateForbiddenResponseBody) (err error)

ValidateUpdateForbiddenResponseBody runs the validations defined on update_forbidden_response_body

func ValidateUpdateModuleBadRequestResponseBody

func ValidateUpdateModuleBadRequestResponseBody(body *UpdateModuleBadRequestResponseBody) (err error)

ValidateUpdateModuleBadRequestResponseBody runs the validations defined on update module_bad-request_response_body

func ValidateUpdateModuleForbiddenResponseBody

func ValidateUpdateModuleForbiddenResponseBody(body *UpdateModuleForbiddenResponseBody) (err error)

ValidateUpdateModuleForbiddenResponseBody runs the validations defined on update module_forbidden_response_body

func ValidateUpdateModuleNotFoundResponseBody

func ValidateUpdateModuleNotFoundResponseBody(body *UpdateModuleNotFoundResponseBody) (err error)

ValidateUpdateModuleNotFoundResponseBody runs the validations defined on update module_not-found_response_body

func ValidateUpdateModuleUnauthorizedResponseBody

func ValidateUpdateModuleUnauthorizedResponseBody(body *UpdateModuleUnauthorizedResponseBody) (err error)

ValidateUpdateModuleUnauthorizedResponseBody runs the validations defined on update module_unauthorized_response_body

func ValidateUpdateNotFoundResponseBody

func ValidateUpdateNotFoundResponseBody(body *UpdateNotFoundResponseBody) (err error)

ValidateUpdateNotFoundResponseBody runs the validations defined on update_not-found_response_body

func ValidateUpdateUnauthorizedResponseBody

func ValidateUpdateUnauthorizedResponseBody(body *UpdateUnauthorizedResponseBody) (err error)

ValidateUpdateUnauthorizedResponseBody runs the validations defined on update_unauthorized_response_body

Types

type AddBadRequestResponseBody

type AddBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddBadRequestResponseBody is the type of the "station" service "add" endpoint HTTP response body for the "bad-request" error.

type AddForbiddenResponseBody

type AddForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddForbiddenResponseBody is the type of the "station" service "add" endpoint HTTP response body for the "forbidden" error.

type AddNotFoundResponseBody

type AddNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddNotFoundResponseBody is the type of the "station" service "add" endpoint HTTP response body for the "not-found" error.

type AddRequestBody

type AddRequestBody struct {
	Name         string  `form:"name" json:"name" xml:"name"`
	DeviceID     string  `form:"deviceId" json:"deviceId" xml:"deviceId"`
	LocationName *string `form:"locationName,omitempty" json:"locationName,omitempty" xml:"locationName,omitempty"`
	StatusPb     *string `form:"statusPb,omitempty" json:"statusPb,omitempty" xml:"statusPb,omitempty"`
	Description  *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
}

AddRequestBody is the type of the "station" service "add" endpoint HTTP request body.

func NewAddRequestBody

func NewAddRequestBody(p *station.AddPayload) *AddRequestBody

NewAddRequestBody builds the HTTP request body from the payload of the "add" endpoint of the "station" service.

type AddResponseBody

type AddResponseBody struct {
	ID                 *int32                                `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name               *string                               `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Model              *StationFullModelResponseBody         `form:"model,omitempty" json:"model,omitempty" xml:"model,omitempty"`
	Owner              *StationOwnerResponseBody             `form:"owner,omitempty" json:"owner,omitempty" xml:"owner,omitempty"`
	DeviceID           *string                               `form:"deviceId,omitempty" json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	Interestingness    *StationInterestingnessResponseBody   `form:"interestingness,omitempty" json:"interestingness,omitempty" xml:"interestingness,omitempty"`
	Attributes         *StationProjectAttributesResponseBody `form:"attributes,omitempty" json:"attributes,omitempty" xml:"attributes,omitempty"`
	Uploads            []*StationUploadResponseBody          `form:"uploads,omitempty" json:"uploads,omitempty" xml:"uploads,omitempty"`
	Photos             *StationPhotosResponseBody            `form:"photos,omitempty" json:"photos,omitempty" xml:"photos,omitempty"`
	ReadOnly           *bool                                 `form:"readOnly,omitempty" json:"readOnly,omitempty" xml:"readOnly,omitempty"`
	Status             *string                               `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	Hidden             *bool                                 `form:"hidden,omitempty" json:"hidden,omitempty" xml:"hidden,omitempty"`
	Description        *string                               `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	Battery            *float32                              `form:"battery,omitempty" json:"battery,omitempty" xml:"battery,omitempty"`
	RecordingStartedAt *int64                                `form:"recordingStartedAt,omitempty" json:"recordingStartedAt,omitempty" xml:"recordingStartedAt,omitempty"`
	MemoryUsed         *int32                                `form:"memoryUsed,omitempty" json:"memoryUsed,omitempty" xml:"memoryUsed,omitempty"`
	MemoryAvailable    *int32                                `form:"memoryAvailable,omitempty" json:"memoryAvailable,omitempty" xml:"memoryAvailable,omitempty"`
	FirmwareNumber     *int32                                `form:"firmwareNumber,omitempty" json:"firmwareNumber,omitempty" xml:"firmwareNumber,omitempty"`
	FirmwareTime       *int64                                `form:"firmwareTime,omitempty" json:"firmwareTime,omitempty" xml:"firmwareTime,omitempty"`
	Configurations     *StationConfigurationsResponseBody    `form:"configurations,omitempty" json:"configurations,omitempty" xml:"configurations,omitempty"`
	UpdatedAt          *int64                                `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	LastReadingAt      *int64                                `form:"lastReadingAt,omitempty" json:"lastReadingAt,omitempty" xml:"lastReadingAt,omitempty"`
	LocationName       *string                               `form:"locationName,omitempty" json:"locationName,omitempty" xml:"locationName,omitempty"`
	PlaceNameOther     *string                               `form:"placeNameOther,omitempty" json:"placeNameOther,omitempty" xml:"placeNameOther,omitempty"`
	PlaceNameNative    *string                               `form:"placeNameNative,omitempty" json:"placeNameNative,omitempty" xml:"placeNameNative,omitempty"`
	Location           *StationLocationResponseBody          `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	SyncedAt           *int64                                `form:"syncedAt,omitempty" json:"syncedAt,omitempty" xml:"syncedAt,omitempty"`
	IngestionAt        *int64                                `form:"ingestionAt,omitempty" json:"ingestionAt,omitempty" xml:"ingestionAt,omitempty"`
	Data               *StationDataSummaryResponseBody       `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

AddResponseBody is the type of the "station" service "add" endpoint HTTP response body.

type AddStationOwnerConflictResponseBody

type AddStationOwnerConflictResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddStationOwnerConflictResponseBody is the type of the "station" service "add" endpoint HTTP response body for the "station-owner-conflict" error.

type AddUnauthorizedResponseBody

type AddUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddUnauthorizedResponseBody is the type of the "station" service "add" endpoint HTTP response body for the "unauthorized" error.

type AdminSearchBadRequestResponseBody

type AdminSearchBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminSearchBadRequestResponseBody is the type of the "station" service "admin search" endpoint HTTP response body for the "bad-request" error.

type AdminSearchForbiddenResponseBody

type AdminSearchForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminSearchForbiddenResponseBody is the type of the "station" service "admin search" endpoint HTTP response body for the "forbidden" error.

type AdminSearchNotFoundResponseBody

type AdminSearchNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminSearchNotFoundResponseBody is the type of the "station" service "admin search" endpoint HTTP response body for the "not-found" error.

type AdminSearchResponseBody

type AdminSearchResponseBody struct {
	Stations []*EssentialStationResponseBody `form:"stations,omitempty" json:"stations,omitempty" xml:"stations,omitempty"`
	Total    *int32                          `form:"total,omitempty" json:"total,omitempty" xml:"total,omitempty"`
}

AdminSearchResponseBody is the type of the "station" service "admin search" endpoint HTTP response body.

type AdminSearchUnauthorizedResponseBody

type AdminSearchUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminSearchUnauthorizedResponseBody is the type of the "station" service "admin search" endpoint HTTP response body for the "unauthorized" error.

type AssociatedStationCollectionResponseBody

type AssociatedStationCollectionResponseBody []*AssociatedStationResponseBody

AssociatedStationCollectionResponseBody is used to define fields on response body types.

type AssociatedStationResponseBody

type AssociatedStationResponseBody struct {
	Station  *StationFullResponseBody             `form:"station,omitempty" json:"station,omitempty" xml:"station,omitempty"`
	Project  []*AssociatedViaProjectResponseBody  `form:"project,omitempty" json:"project,omitempty" xml:"project,omitempty"`
	Location []*AssociatedViaLocationResponseBody `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	Manual   []*AssociatedViaManualResponseBody   `form:"manual,omitempty" json:"manual,omitempty" xml:"manual,omitempty"`
	Hidden   *bool                                `form:"hidden,omitempty" json:"hidden,omitempty" xml:"hidden,omitempty"`
}

AssociatedStationResponseBody is used to define fields on response body types.

type AssociatedViaLocationResponseBody

type AssociatedViaLocationResponseBody struct {
	StationID *int32   `form:"stationID,omitempty" json:"stationID,omitempty" xml:"stationID,omitempty"`
	Distance  *float32 `form:"distance,omitempty" json:"distance,omitempty" xml:"distance,omitempty"`
}

AssociatedViaLocationResponseBody is used to define fields on response body types.

type AssociatedViaManualResponseBody

type AssociatedViaManualResponseBody struct {
	OtherStationID *int32 `form:"otherStationID,omitempty" json:"otherStationID,omitempty" xml:"otherStationID,omitempty"`
	Priority       *int32 `form:"priority,omitempty" json:"priority,omitempty" xml:"priority,omitempty"`
}

AssociatedViaManualResponseBody is used to define fields on response body types.

type AssociatedViaProjectResponseBody

type AssociatedViaProjectResponseBody struct {
	ID *int32 `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
}

AssociatedViaProjectResponseBody is used to define fields on response body types.

type Client

type Client struct {
	// Add Doer is the HTTP client used to make requests to the add endpoint.
	AddDoer goahttp.Doer

	// Get Doer is the HTTP client used to make requests to the get endpoint.
	GetDoer goahttp.Doer

	// Transfer Doer is the HTTP client used to make requests to the transfer
	// endpoint.
	TransferDoer goahttp.Doer

	// DefaultPhoto Doer is the HTTP client used to make requests to the default
	// photo endpoint.
	DefaultPhotoDoer goahttp.Doer

	// Update Doer is the HTTP client used to make requests to the update endpoint.
	UpdateDoer goahttp.Doer

	// ListMine Doer is the HTTP client used to make requests to the list mine
	// endpoint.
	ListMineDoer goahttp.Doer

	// ListProject Doer is the HTTP client used to make requests to the list
	// project endpoint.
	ListProjectDoer goahttp.Doer

	// ListAssociated Doer is the HTTP client used to make requests to the list
	// associated endpoint.
	ListAssociatedDoer goahttp.Doer

	// ListProjectAssociated Doer is the HTTP client used to make requests to the
	// list project associated endpoint.
	ListProjectAssociatedDoer goahttp.Doer

	// DownloadPhoto Doer is the HTTP client used to make requests to the download
	// photo endpoint.
	DownloadPhotoDoer goahttp.Doer

	// ListAll Doer is the HTTP client used to make requests to the list all
	// endpoint.
	ListAllDoer goahttp.Doer

	// Delete Doer is the HTTP client used to make requests to the delete endpoint.
	DeleteDoer goahttp.Doer

	// AdminSearch Doer is the HTTP client used to make requests to the admin
	// search endpoint.
	AdminSearchDoer goahttp.Doer

	// Progress Doer is the HTTP client used to make requests to the progress
	// endpoint.
	ProgressDoer goahttp.Doer

	// UpdateModule Doer is the HTTP client used to make requests to the update
	// module endpoint.
	UpdateModuleDoer goahttp.Doer

	// CORS Doer is the HTTP client used to make requests to the  endpoint.
	CORSDoer goahttp.Doer

	// RestoreResponseBody controls whether the response bodies are reset after
	// decoding so they can be read again.
	RestoreResponseBody bool
	// contains filtered or unexported fields
}

Client lists the station service endpoint HTTP clients.

func NewClient

func NewClient(
	scheme string,
	host string,
	doer goahttp.Doer,
	enc func(*http.Request) goahttp.Encoder,
	dec func(*http.Response) goahttp.Decoder,
	restoreBody bool,
) *Client

NewClient instantiates HTTP clients for all the station service servers.

func (*Client) Add

func (c *Client) Add() goa.Endpoint

Add returns an endpoint that makes HTTP requests to the station service add server.

func (*Client) AdminSearch

func (c *Client) AdminSearch() goa.Endpoint

AdminSearch returns an endpoint that makes HTTP requests to the station service admin search server.

func (*Client) BuildAddRequest

func (c *Client) BuildAddRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildAddRequest instantiates a HTTP request object with method and path set to call the "station" service "add" endpoint

func (*Client) BuildAdminSearchRequest

func (c *Client) BuildAdminSearchRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildAdminSearchRequest instantiates a HTTP request object with method and path set to call the "station" service "admin search" endpoint

func (*Client) BuildDefaultPhotoRequest

func (c *Client) BuildDefaultPhotoRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildDefaultPhotoRequest instantiates a HTTP request object with method and path set to call the "station" service "default photo" endpoint

func (*Client) BuildDeleteRequest

func (c *Client) BuildDeleteRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildDeleteRequest instantiates a HTTP request object with method and path set to call the "station" service "delete" endpoint

func (*Client) BuildDownloadPhotoRequest

func (c *Client) BuildDownloadPhotoRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildDownloadPhotoRequest instantiates a HTTP request object with method and path set to call the "station" service "download photo" endpoint

func (*Client) BuildGetRequest

func (c *Client) BuildGetRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildGetRequest instantiates a HTTP request object with method and path set to call the "station" service "get" endpoint

func (*Client) BuildListAllRequest

func (c *Client) BuildListAllRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildListAllRequest instantiates a HTTP request object with method and path set to call the "station" service "list all" endpoint

func (*Client) BuildListAssociatedRequest

func (c *Client) BuildListAssociatedRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildListAssociatedRequest instantiates a HTTP request object with method and path set to call the "station" service "list associated" endpoint

func (*Client) BuildListMineRequest

func (c *Client) BuildListMineRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildListMineRequest instantiates a HTTP request object with method and path set to call the "station" service "list mine" endpoint

func (*Client) BuildListProjectAssociatedRequest

func (c *Client) BuildListProjectAssociatedRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildListProjectAssociatedRequest instantiates a HTTP request object with method and path set to call the "station" service "list project associated" endpoint

func (*Client) BuildListProjectRequest

func (c *Client) BuildListProjectRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildListProjectRequest instantiates a HTTP request object with method and path set to call the "station" service "list project" endpoint

func (*Client) BuildProgressRequest

func (c *Client) BuildProgressRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildProgressRequest instantiates a HTTP request object with method and path set to call the "station" service "progress" endpoint

func (*Client) BuildTransferRequest

func (c *Client) BuildTransferRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildTransferRequest instantiates a HTTP request object with method and path set to call the "station" service "transfer" endpoint

func (*Client) BuildUpdateModuleRequest

func (c *Client) BuildUpdateModuleRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildUpdateModuleRequest instantiates a HTTP request object with method and path set to call the "station" service "update module" endpoint

func (*Client) BuildUpdateRequest

func (c *Client) BuildUpdateRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildUpdateRequest instantiates a HTTP request object with method and path set to call the "station" service "update" endpoint

func (*Client) DefaultPhoto

func (c *Client) DefaultPhoto() goa.Endpoint

DefaultPhoto returns an endpoint that makes HTTP requests to the station service default photo server.

func (*Client) Delete

func (c *Client) Delete() goa.Endpoint

Delete returns an endpoint that makes HTTP requests to the station service delete server.

func (*Client) DownloadPhoto

func (c *Client) DownloadPhoto() goa.Endpoint

DownloadPhoto returns an endpoint that makes HTTP requests to the station service download photo server.

func (*Client) Get

func (c *Client) Get() goa.Endpoint

Get returns an endpoint that makes HTTP requests to the station service get server.

func (*Client) ListAll

func (c *Client) ListAll() goa.Endpoint

ListAll returns an endpoint that makes HTTP requests to the station service list all server.

func (*Client) ListAssociated

func (c *Client) ListAssociated() goa.Endpoint

ListAssociated returns an endpoint that makes HTTP requests to the station service list associated server.

func (*Client) ListMine

func (c *Client) ListMine() goa.Endpoint

ListMine returns an endpoint that makes HTTP requests to the station service list mine server.

func (*Client) ListProject

func (c *Client) ListProject() goa.Endpoint

ListProject returns an endpoint that makes HTTP requests to the station service list project server.

func (*Client) ListProjectAssociated

func (c *Client) ListProjectAssociated() goa.Endpoint

ListProjectAssociated returns an endpoint that makes HTTP requests to the station service list project associated server.

func (*Client) Progress

func (c *Client) Progress() goa.Endpoint

Progress returns an endpoint that makes HTTP requests to the station service progress server.

func (*Client) Transfer

func (c *Client) Transfer() goa.Endpoint

Transfer returns an endpoint that makes HTTP requests to the station service transfer server.

func (*Client) Update

func (c *Client) Update() goa.Endpoint

Update returns an endpoint that makes HTTP requests to the station service update server.

func (*Client) UpdateModule

func (c *Client) UpdateModule() goa.Endpoint

UpdateModule returns an endpoint that makes HTTP requests to the station service update module server.

type DefaultPhotoBadRequestResponseBody

type DefaultPhotoBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DefaultPhotoBadRequestResponseBody is the type of the "station" service "default photo" endpoint HTTP response body for the "bad-request" error.

type DefaultPhotoForbiddenResponseBody

type DefaultPhotoForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DefaultPhotoForbiddenResponseBody is the type of the "station" service "default photo" endpoint HTTP response body for the "forbidden" error.

type DefaultPhotoNotFoundResponseBody

type DefaultPhotoNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DefaultPhotoNotFoundResponseBody is the type of the "station" service "default photo" endpoint HTTP response body for the "not-found" error.

type DefaultPhotoUnauthorizedResponseBody

type DefaultPhotoUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DefaultPhotoUnauthorizedResponseBody is the type of the "station" service "default photo" endpoint HTTP response body for the "unauthorized" error.

type DeleteBadRequestResponseBody

type DeleteBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteBadRequestResponseBody is the type of the "station" service "delete" endpoint HTTP response body for the "bad-request" error.

type DeleteForbiddenResponseBody

type DeleteForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteForbiddenResponseBody is the type of the "station" service "delete" endpoint HTTP response body for the "forbidden" error.

type DeleteNotFoundResponseBody

type DeleteNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteNotFoundResponseBody is the type of the "station" service "delete" endpoint HTTP response body for the "not-found" error.

type DeleteUnauthorizedResponseBody

type DeleteUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DeleteUnauthorizedResponseBody is the type of the "station" service "delete" endpoint HTTP response body for the "unauthorized" error.

type DownloadPhotoBadRequestResponseBody

type DownloadPhotoBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DownloadPhotoBadRequestResponseBody is the type of the "station" service "download photo" endpoint HTTP response body for the "bad-request" error.

type DownloadPhotoForbiddenResponseBody

type DownloadPhotoForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DownloadPhotoForbiddenResponseBody is the type of the "station" service "download photo" endpoint HTTP response body for the "forbidden" error.

type DownloadPhotoNotFoundResponseBody

type DownloadPhotoNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DownloadPhotoNotFoundResponseBody is the type of the "station" service "download photo" endpoint HTTP response body for the "not-found" error.

type DownloadPhotoResponseBody

type DownloadPhotoResponseBody struct {
	Length      *int64  `form:"length,omitempty" json:"length,omitempty" xml:"length,omitempty"`
	ContentType *string `form:"contentType,omitempty" json:"contentType,omitempty" xml:"contentType,omitempty"`
	Etag        *string `form:"etag,omitempty" json:"etag,omitempty" xml:"etag,omitempty"`
	Body        []byte  `form:"body,omitempty" json:"body,omitempty" xml:"body,omitempty"`
}

DownloadPhotoResponseBody is the type of the "station" service "download photo" endpoint HTTP response body.

type DownloadPhotoUnauthorizedResponseBody

type DownloadPhotoUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DownloadPhotoUnauthorizedResponseBody is the type of the "station" service "download photo" endpoint HTTP response body for the "unauthorized" error.

type EssentialStationResponseBody

type EssentialStationResponseBody struct {
	ID                 *int64                       `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	DeviceID           *string                      `form:"deviceId,omitempty" json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	Name               *string                      `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Owner              *StationOwnerResponseBody    `form:"owner,omitempty" json:"owner,omitempty" xml:"owner,omitempty"`
	CreatedAt          *int64                       `form:"createdAt,omitempty" json:"createdAt,omitempty" xml:"createdAt,omitempty"`
	UpdatedAt          *int64                       `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	RecordingStartedAt *int64                       `form:"recordingStartedAt,omitempty" json:"recordingStartedAt,omitempty" xml:"recordingStartedAt,omitempty"`
	MemoryUsed         *int32                       `form:"memoryUsed,omitempty" json:"memoryUsed,omitempty" xml:"memoryUsed,omitempty"`
	MemoryAvailable    *int32                       `form:"memoryAvailable,omitempty" json:"memoryAvailable,omitempty" xml:"memoryAvailable,omitempty"`
	FirmwareNumber     *int32                       `form:"firmwareNumber,omitempty" json:"firmwareNumber,omitempty" xml:"firmwareNumber,omitempty"`
	FirmwareTime       *int64                       `form:"firmwareTime,omitempty" json:"firmwareTime,omitempty" xml:"firmwareTime,omitempty"`
	Location           *StationLocationResponseBody `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	LastIngestionAt    *int64                       `form:"lastIngestionAt,omitempty" json:"lastIngestionAt,omitempty" xml:"lastIngestionAt,omitempty"`
}

EssentialStationResponseBody is used to define fields on response body types.

type GetBadRequestResponseBody

type GetBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

GetBadRequestResponseBody is the type of the "station" service "get" endpoint HTTP response body for the "bad-request" error.

type GetForbiddenResponseBody

type GetForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

GetForbiddenResponseBody is the type of the "station" service "get" endpoint HTTP response body for the "forbidden" error.

type GetNotFoundResponseBody

type GetNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

GetNotFoundResponseBody is the type of the "station" service "get" endpoint HTTP response body for the "not-found" error.

type GetResponseBody

type GetResponseBody struct {
	ID                 *int32                                `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name               *string                               `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Model              *StationFullModelResponseBody         `form:"model,omitempty" json:"model,omitempty" xml:"model,omitempty"`
	Owner              *StationOwnerResponseBody             `form:"owner,omitempty" json:"owner,omitempty" xml:"owner,omitempty"`
	DeviceID           *string                               `form:"deviceId,omitempty" json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	Interestingness    *StationInterestingnessResponseBody   `form:"interestingness,omitempty" json:"interestingness,omitempty" xml:"interestingness,omitempty"`
	Attributes         *StationProjectAttributesResponseBody `form:"attributes,omitempty" json:"attributes,omitempty" xml:"attributes,omitempty"`
	Uploads            []*StationUploadResponseBody          `form:"uploads,omitempty" json:"uploads,omitempty" xml:"uploads,omitempty"`
	Photos             *StationPhotosResponseBody            `form:"photos,omitempty" json:"photos,omitempty" xml:"photos,omitempty"`
	ReadOnly           *bool                                 `form:"readOnly,omitempty" json:"readOnly,omitempty" xml:"readOnly,omitempty"`
	Status             *string                               `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	Hidden             *bool                                 `form:"hidden,omitempty" json:"hidden,omitempty" xml:"hidden,omitempty"`
	Description        *string                               `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	Battery            *float32                              `form:"battery,omitempty" json:"battery,omitempty" xml:"battery,omitempty"`
	RecordingStartedAt *int64                                `form:"recordingStartedAt,omitempty" json:"recordingStartedAt,omitempty" xml:"recordingStartedAt,omitempty"`
	MemoryUsed         *int32                                `form:"memoryUsed,omitempty" json:"memoryUsed,omitempty" xml:"memoryUsed,omitempty"`
	MemoryAvailable    *int32                                `form:"memoryAvailable,omitempty" json:"memoryAvailable,omitempty" xml:"memoryAvailable,omitempty"`
	FirmwareNumber     *int32                                `form:"firmwareNumber,omitempty" json:"firmwareNumber,omitempty" xml:"firmwareNumber,omitempty"`
	FirmwareTime       *int64                                `form:"firmwareTime,omitempty" json:"firmwareTime,omitempty" xml:"firmwareTime,omitempty"`
	Configurations     *StationConfigurationsResponseBody    `form:"configurations,omitempty" json:"configurations,omitempty" xml:"configurations,omitempty"`
	UpdatedAt          *int64                                `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	LastReadingAt      *int64                                `form:"lastReadingAt,omitempty" json:"lastReadingAt,omitempty" xml:"lastReadingAt,omitempty"`
	LocationName       *string                               `form:"locationName,omitempty" json:"locationName,omitempty" xml:"locationName,omitempty"`
	PlaceNameOther     *string                               `form:"placeNameOther,omitempty" json:"placeNameOther,omitempty" xml:"placeNameOther,omitempty"`
	PlaceNameNative    *string                               `form:"placeNameNative,omitempty" json:"placeNameNative,omitempty" xml:"placeNameNative,omitempty"`
	Location           *StationLocationResponseBody          `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	SyncedAt           *int64                                `form:"syncedAt,omitempty" json:"syncedAt,omitempty" xml:"syncedAt,omitempty"`
	IngestionAt        *int64                                `form:"ingestionAt,omitempty" json:"ingestionAt,omitempty" xml:"ingestionAt,omitempty"`
	Data               *StationDataSummaryResponseBody       `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

GetResponseBody is the type of the "station" service "get" endpoint HTTP response body.

type GetUnauthorizedResponseBody

type GetUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

GetUnauthorizedResponseBody is the type of the "station" service "get" endpoint HTTP response body for the "unauthorized" error.

type ListAllBadRequestResponseBody

type ListAllBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListAllBadRequestResponseBody is the type of the "station" service "list all" endpoint HTTP response body for the "bad-request" error.

type ListAllForbiddenResponseBody

type ListAllForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListAllForbiddenResponseBody is the type of the "station" service "list all" endpoint HTTP response body for the "forbidden" error.

type ListAllNotFoundResponseBody

type ListAllNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListAllNotFoundResponseBody is the type of the "station" service "list all" endpoint HTTP response body for the "not-found" error.

type ListAllResponseBody

type ListAllResponseBody struct {
	Stations []*EssentialStationResponseBody `form:"stations,omitempty" json:"stations,omitempty" xml:"stations,omitempty"`
	Total    *int32                          `form:"total,omitempty" json:"total,omitempty" xml:"total,omitempty"`
}

ListAllResponseBody is the type of the "station" service "list all" endpoint HTTP response body.

type ListAllUnauthorizedResponseBody

type ListAllUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListAllUnauthorizedResponseBody is the type of the "station" service "list all" endpoint HTTP response body for the "unauthorized" error.

type ListAssociatedBadRequestResponseBody

type ListAssociatedBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListAssociatedBadRequestResponseBody is the type of the "station" service "list associated" endpoint HTTP response body for the "bad-request" error.

type ListAssociatedForbiddenResponseBody

type ListAssociatedForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListAssociatedForbiddenResponseBody is the type of the "station" service "list associated" endpoint HTTP response body for the "forbidden" error.

type ListAssociatedNotFoundResponseBody

type ListAssociatedNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListAssociatedNotFoundResponseBody is the type of the "station" service "list associated" endpoint HTTP response body for the "not-found" error.

type ListAssociatedResponseBody

type ListAssociatedResponseBody struct {
	Stations AssociatedStationCollectionResponseBody `form:"stations,omitempty" json:"stations,omitempty" xml:"stations,omitempty"`
}

ListAssociatedResponseBody is the type of the "station" service "list associated" endpoint HTTP response body.

type ListAssociatedUnauthorizedResponseBody

type ListAssociatedUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListAssociatedUnauthorizedResponseBody is the type of the "station" service "list associated" endpoint HTTP response body for the "unauthorized" error.

type ListMineBadRequestResponseBody

type ListMineBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListMineBadRequestResponseBody is the type of the "station" service "list mine" endpoint HTTP response body for the "bad-request" error.

type ListMineForbiddenResponseBody

type ListMineForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListMineForbiddenResponseBody is the type of the "station" service "list mine" endpoint HTTP response body for the "forbidden" error.

type ListMineNotFoundResponseBody

type ListMineNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListMineNotFoundResponseBody is the type of the "station" service "list mine" endpoint HTTP response body for the "not-found" error.

type ListMineResponseBody

type ListMineResponseBody struct {
	Stations StationFullCollectionResponseBody `form:"stations,omitempty" json:"stations,omitempty" xml:"stations,omitempty"`
}

ListMineResponseBody is the type of the "station" service "list mine" endpoint HTTP response body.

type ListMineUnauthorizedResponseBody

type ListMineUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListMineUnauthorizedResponseBody is the type of the "station" service "list mine" endpoint HTTP response body for the "unauthorized" error.

type ListProjectAssociatedBadRequestResponseBody

type ListProjectAssociatedBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListProjectAssociatedBadRequestResponseBody is the type of the "station" service "list project associated" endpoint HTTP response body for the "bad-request" error.

type ListProjectAssociatedForbiddenResponseBody

type ListProjectAssociatedForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListProjectAssociatedForbiddenResponseBody is the type of the "station" service "list project associated" endpoint HTTP response body for the "forbidden" error.

type ListProjectAssociatedNotFoundResponseBody

type ListProjectAssociatedNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListProjectAssociatedNotFoundResponseBody is the type of the "station" service "list project associated" endpoint HTTP response body for the "not-found" error.

type ListProjectAssociatedResponseBody

type ListProjectAssociatedResponseBody struct {
	Stations AssociatedStationCollectionResponseBody `form:"stations,omitempty" json:"stations,omitempty" xml:"stations,omitempty"`
}

ListProjectAssociatedResponseBody is the type of the "station" service "list project associated" endpoint HTTP response body.

type ListProjectAssociatedUnauthorizedResponseBody

type ListProjectAssociatedUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListProjectAssociatedUnauthorizedResponseBody is the type of the "station" service "list project associated" endpoint HTTP response body for the "unauthorized" error.

type ListProjectBadRequestResponseBody

type ListProjectBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListProjectBadRequestResponseBody is the type of the "station" service "list project" endpoint HTTP response body for the "bad-request" error.

type ListProjectForbiddenResponseBody

type ListProjectForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListProjectForbiddenResponseBody is the type of the "station" service "list project" endpoint HTTP response body for the "forbidden" error.

type ListProjectNotFoundResponseBody

type ListProjectNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListProjectNotFoundResponseBody is the type of the "station" service "list project" endpoint HTTP response body for the "not-found" error.

type ListProjectResponseBody

type ListProjectResponseBody struct {
	Stations StationFullCollectionResponseBody `form:"stations,omitempty" json:"stations,omitempty" xml:"stations,omitempty"`
}

ListProjectResponseBody is the type of the "station" service "list project" endpoint HTTP response body.

type ListProjectUnauthorizedResponseBody

type ListProjectUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListProjectUnauthorizedResponseBody is the type of the "station" service "list project" endpoint HTTP response body for the "unauthorized" error.

type ProgressBadRequestResponseBody

type ProgressBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ProgressBadRequestResponseBody is the type of the "station" service "progress" endpoint HTTP response body for the "bad-request" error.

type ProgressForbiddenResponseBody

type ProgressForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ProgressForbiddenResponseBody is the type of the "station" service "progress" endpoint HTTP response body for the "forbidden" error.

type ProgressNotFoundResponseBody

type ProgressNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ProgressNotFoundResponseBody is the type of the "station" service "progress" endpoint HTTP response body for the "not-found" error.

type ProgressResponseBody

type ProgressResponseBody struct {
	Jobs []*StationJobResponseBody `form:"jobs,omitempty" json:"jobs,omitempty" xml:"jobs,omitempty"`
}

ProgressResponseBody is the type of the "station" service "progress" endpoint HTTP response body.

type ProgressUnauthorizedResponseBody

type ProgressUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ProgressUnauthorizedResponseBody is the type of the "station" service "progress" endpoint HTTP response body for the "unauthorized" error.

type SensorRangeResponseBody

type SensorRangeResponseBody struct {
	Minimum *float32 `form:"minimum,omitempty" json:"minimum,omitempty" xml:"minimum,omitempty"`
	Maximum *float32 `form:"maximum,omitempty" json:"maximum,omitempty" xml:"maximum,omitempty"`
}

SensorRangeResponseBody is used to define fields on response body types.

type SensorReadingResponseBody

type SensorReadingResponseBody struct {
	Last *float32 `form:"last,omitempty" json:"last,omitempty" xml:"last,omitempty"`
	Time *int64   `form:"time,omitempty" json:"time,omitempty" xml:"time,omitempty"`
}

SensorReadingResponseBody is used to define fields on response body types.

type StationConfigurationResponseBody

type StationConfigurationResponseBody struct {
	ID           *int64                       `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Time         *int64                       `form:"time,omitempty" json:"time,omitempty" xml:"time,omitempty"`
	ProvisionID  *int64                       `form:"provisionId,omitempty" json:"provisionId,omitempty" xml:"provisionId,omitempty"`
	MetaRecordID *int64                       `form:"metaRecordId,omitempty" json:"metaRecordId,omitempty" xml:"metaRecordId,omitempty"`
	SourceID     *int32                       `form:"sourceId,omitempty" json:"sourceId,omitempty" xml:"sourceId,omitempty"`
	Modules      []*StationModuleResponseBody `form:"modules,omitempty" json:"modules,omitempty" xml:"modules,omitempty"`
}

StationConfigurationResponseBody is used to define fields on response body types.

type StationConfigurationsResponseBody

type StationConfigurationsResponseBody struct {
	All []*StationConfigurationResponseBody `form:"all,omitempty" json:"all,omitempty" xml:"all,omitempty"`
}

StationConfigurationsResponseBody is used to define fields on response body types.

type StationDataSummaryResponseBody

type StationDataSummaryResponseBody struct {
	Start           *int64 `form:"start,omitempty" json:"start,omitempty" xml:"start,omitempty"`
	End             *int64 `form:"end,omitempty" json:"end,omitempty" xml:"end,omitempty"`
	NumberOfSamples *int64 `form:"numberOfSamples,omitempty" json:"numberOfSamples,omitempty" xml:"numberOfSamples,omitempty"`
}

StationDataSummaryResponseBody is used to define fields on response body types.

type StationFullCollectionResponseBody

type StationFullCollectionResponseBody []*StationFullResponseBody

StationFullCollectionResponseBody is used to define fields on response body types.

type StationFullModelResponseBody

type StationFullModelResponseBody struct {
	Name                      *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	OnlyVisibleViaAssociation *bool   `` /* 136-byte string literal not displayed */
}

StationFullModelResponseBody is used to define fields on response body types.

type StationFullResponseBody

type StationFullResponseBody struct {
	ID                 *int32                                `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name               *string                               `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Model              *StationFullModelResponseBody         `form:"model,omitempty" json:"model,omitempty" xml:"model,omitempty"`
	Owner              *StationOwnerResponseBody             `form:"owner,omitempty" json:"owner,omitempty" xml:"owner,omitempty"`
	DeviceID           *string                               `form:"deviceId,omitempty" json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	Interestingness    *StationInterestingnessResponseBody   `form:"interestingness,omitempty" json:"interestingness,omitempty" xml:"interestingness,omitempty"`
	Attributes         *StationProjectAttributesResponseBody `form:"attributes,omitempty" json:"attributes,omitempty" xml:"attributes,omitempty"`
	Uploads            []*StationUploadResponseBody          `form:"uploads,omitempty" json:"uploads,omitempty" xml:"uploads,omitempty"`
	Photos             *StationPhotosResponseBody            `form:"photos,omitempty" json:"photos,omitempty" xml:"photos,omitempty"`
	ReadOnly           *bool                                 `form:"readOnly,omitempty" json:"readOnly,omitempty" xml:"readOnly,omitempty"`
	Status             *string                               `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	Hidden             *bool                                 `form:"hidden,omitempty" json:"hidden,omitempty" xml:"hidden,omitempty"`
	Description        *string                               `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	Battery            *float32                              `form:"battery,omitempty" json:"battery,omitempty" xml:"battery,omitempty"`
	RecordingStartedAt *int64                                `form:"recordingStartedAt,omitempty" json:"recordingStartedAt,omitempty" xml:"recordingStartedAt,omitempty"`
	MemoryUsed         *int32                                `form:"memoryUsed,omitempty" json:"memoryUsed,omitempty" xml:"memoryUsed,omitempty"`
	MemoryAvailable    *int32                                `form:"memoryAvailable,omitempty" json:"memoryAvailable,omitempty" xml:"memoryAvailable,omitempty"`
	FirmwareNumber     *int32                                `form:"firmwareNumber,omitempty" json:"firmwareNumber,omitempty" xml:"firmwareNumber,omitempty"`
	FirmwareTime       *int64                                `form:"firmwareTime,omitempty" json:"firmwareTime,omitempty" xml:"firmwareTime,omitempty"`
	Configurations     *StationConfigurationsResponseBody    `form:"configurations,omitempty" json:"configurations,omitempty" xml:"configurations,omitempty"`
	UpdatedAt          *int64                                `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	LastReadingAt      *int64                                `form:"lastReadingAt,omitempty" json:"lastReadingAt,omitempty" xml:"lastReadingAt,omitempty"`
	LocationName       *string                               `form:"locationName,omitempty" json:"locationName,omitempty" xml:"locationName,omitempty"`
	PlaceNameOther     *string                               `form:"placeNameOther,omitempty" json:"placeNameOther,omitempty" xml:"placeNameOther,omitempty"`
	PlaceNameNative    *string                               `form:"placeNameNative,omitempty" json:"placeNameNative,omitempty" xml:"placeNameNative,omitempty"`
	Location           *StationLocationResponseBody          `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	SyncedAt           *int64                                `form:"syncedAt,omitempty" json:"syncedAt,omitempty" xml:"syncedAt,omitempty"`
	IngestionAt        *int64                                `form:"ingestionAt,omitempty" json:"ingestionAt,omitempty" xml:"ingestionAt,omitempty"`
	Data               *StationDataSummaryResponseBody       `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

StationFullResponseBody is used to define fields on response body types.

type StationInterestingnessResponseBody

type StationInterestingnessResponseBody struct {
	Windows []*StationInterestingnessWindowResponseBody `form:"windows,omitempty" json:"windows,omitempty" xml:"windows,omitempty"`
}

StationInterestingnessResponseBody is used to define fields on response body types.

type StationInterestingnessWindowResponseBody

type StationInterestingnessWindowResponseBody struct {
	Seconds         *int32   `form:"seconds,omitempty" json:"seconds,omitempty" xml:"seconds,omitempty"`
	Interestingness *float64 `form:"interestingness,omitempty" json:"interestingness,omitempty" xml:"interestingness,omitempty"`
	Value           *float64 `form:"value,omitempty" json:"value,omitempty" xml:"value,omitempty"`
	Time            *int64   `form:"time,omitempty" json:"time,omitempty" xml:"time,omitempty"`
}

StationInterestingnessWindowResponseBody is used to define fields on response body types.

type StationJobResponseBody

type StationJobResponseBody struct {
	Title       *string  `form:"title,omitempty" json:"title,omitempty" xml:"title,omitempty"`
	StartedAt   *int64   `form:"startedAt,omitempty" json:"startedAt,omitempty" xml:"startedAt,omitempty"`
	CompletedAt *int64   `form:"completedAt,omitempty" json:"completedAt,omitempty" xml:"completedAt,omitempty"`
	Progress    *float32 `form:"progress,omitempty" json:"progress,omitempty" xml:"progress,omitempty"`
}

StationJobResponseBody is used to define fields on response body types.

type StationLocationResponseBody

type StationLocationResponseBody struct {
	Precise []float64                    `form:"precise,omitempty" json:"precise,omitempty" xml:"precise,omitempty"`
	Regions []*StationRegionResponseBody `form:"regions,omitempty" json:"regions,omitempty" xml:"regions,omitempty"`
	URL     *string                      `form:"url,omitempty" json:"url,omitempty" xml:"url,omitempty"`
}

StationLocationResponseBody is used to define fields on response body types.

type StationModuleResponseBody

type StationModuleResponseBody struct {
	ID               *int64                       `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	HardwareID       *string                      `form:"hardwareId,omitempty" json:"hardwareId,omitempty" xml:"hardwareId,omitempty"`
	HardwareIDBase64 *string                      `form:"hardwareIdBase64,omitempty" json:"hardwareIdBase64,omitempty" xml:"hardwareIdBase64,omitempty"`
	MetaRecordID     *int64                       `form:"metaRecordId,omitempty" json:"metaRecordId,omitempty" xml:"metaRecordId,omitempty"`
	Name             *string                      `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Label            *string                      `form:"label,omitempty" json:"label,omitempty" xml:"label,omitempty"`
	Position         *int32                       `form:"position,omitempty" json:"position,omitempty" xml:"position,omitempty"`
	Flags            *int32                       `form:"flags,omitempty" json:"flags,omitempty" xml:"flags,omitempty"`
	Internal         *bool                        `form:"internal,omitempty" json:"internal,omitempty" xml:"internal,omitempty"`
	FullKey          *string                      `form:"fullKey,omitempty" json:"fullKey,omitempty" xml:"fullKey,omitempty"`
	Sensors          []*StationSensorResponseBody `form:"sensors,omitempty" json:"sensors,omitempty" xml:"sensors,omitempty"`
	Meta             map[string]interface{}       `form:"meta,omitempty" json:"meta,omitempty" xml:"meta,omitempty"`
}

StationModuleResponseBody is used to define fields on response body types.

type StationOwnerResponseBody

type StationOwnerResponseBody struct {
	ID    *int32                 `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name  *string                `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Email *string                `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	Photo *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
}

StationOwnerResponseBody is used to define fields on response body types.

type StationPhotosResponseBody

type StationPhotosResponseBody struct {
	Small *string `form:"small,omitempty" json:"small,omitempty" xml:"small,omitempty"`
}

StationPhotosResponseBody is used to define fields on response body types.

type StationProjectAttributeResponseBody

type StationProjectAttributeResponseBody struct {
	ProjectID   *int32  `form:"projectId,omitempty" json:"projectId,omitempty" xml:"projectId,omitempty"`
	AttributeID *int64  `form:"attributeId,omitempty" json:"attributeId,omitempty" xml:"attributeId,omitempty"`
	Name        *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	StringValue *string `form:"stringValue,omitempty" json:"stringValue,omitempty" xml:"stringValue,omitempty"`
	Priority    *int32  `form:"priority,omitempty" json:"priority,omitempty" xml:"priority,omitempty"`
}

StationProjectAttributeResponseBody is used to define fields on response body types.

type StationProjectAttributesResponseBody

type StationProjectAttributesResponseBody struct {
	Attributes []*StationProjectAttributeResponseBody `form:"attributes,omitempty" json:"attributes,omitempty" xml:"attributes,omitempty"`
}

StationProjectAttributesResponseBody is used to define fields on response body types.

type StationRegionResponseBody

type StationRegionResponseBody struct {
	Name  *string       `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Shape [][][]float64 `form:"shape,omitempty" json:"shape,omitempty" xml:"shape,omitempty"`
}

StationRegionResponseBody is used to define fields on response body types.

type StationSensorResponseBody

type StationSensorResponseBody struct {
	Name          *string                    `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	UnitOfMeasure *string                    `form:"unitOfMeasure,omitempty" json:"unitOfMeasure,omitempty" xml:"unitOfMeasure,omitempty"`
	Reading       *SensorReadingResponseBody `form:"reading,omitempty" json:"reading,omitempty" xml:"reading,omitempty"`
	Key           *string                    `form:"key,omitempty" json:"key,omitempty" xml:"key,omitempty"`
	FullKey       *string                    `form:"fullKey,omitempty" json:"fullKey,omitempty" xml:"fullKey,omitempty"`
	Ranges        []*SensorRangeResponseBody `form:"ranges,omitempty" json:"ranges,omitempty" xml:"ranges,omitempty"`
	Meta          map[string]interface{}     `form:"meta,omitempty" json:"meta,omitempty" xml:"meta,omitempty"`
}

StationSensorResponseBody is used to define fields on response body types.

type StationUploadResponseBody

type StationUploadResponseBody struct {
	ID       *int64  `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Time     *int64  `form:"time,omitempty" json:"time,omitempty" xml:"time,omitempty"`
	UploadID *string `form:"uploadId,omitempty" json:"uploadId,omitempty" xml:"uploadId,omitempty"`
	Size     *int64  `form:"size,omitempty" json:"size,omitempty" xml:"size,omitempty"`
	URL      *string `form:"url,omitempty" json:"url,omitempty" xml:"url,omitempty"`
	Type     *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"`
	Blocks   []int64 `form:"blocks,omitempty" json:"blocks,omitempty" xml:"blocks,omitempty"`
}

StationUploadResponseBody is used to define fields on response body types.

type TransferBadRequestResponseBody

type TransferBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

TransferBadRequestResponseBody is the type of the "station" service "transfer" endpoint HTTP response body for the "bad-request" error.

type TransferForbiddenResponseBody

type TransferForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

TransferForbiddenResponseBody is the type of the "station" service "transfer" endpoint HTTP response body for the "forbidden" error.

type TransferNotFoundResponseBody

type TransferNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

TransferNotFoundResponseBody is the type of the "station" service "transfer" endpoint HTTP response body for the "not-found" error.

type TransferUnauthorizedResponseBody

type TransferUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

TransferUnauthorizedResponseBody is the type of the "station" service "transfer" endpoint HTTP response body for the "unauthorized" error.

type UpdateBadRequestResponseBody

type UpdateBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateBadRequestResponseBody is the type of the "station" service "update" endpoint HTTP response body for the "bad-request" error.

type UpdateForbiddenResponseBody

type UpdateForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateForbiddenResponseBody is the type of the "station" service "update" endpoint HTTP response body for the "forbidden" error.

type UpdateModuleBadRequestResponseBody

type UpdateModuleBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateModuleBadRequestResponseBody is the type of the "station" service "update module" endpoint HTTP response body for the "bad-request" error.

type UpdateModuleForbiddenResponseBody

type UpdateModuleForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateModuleForbiddenResponseBody is the type of the "station" service "update module" endpoint HTTP response body for the "forbidden" error.

type UpdateModuleNotFoundResponseBody

type UpdateModuleNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateModuleNotFoundResponseBody is the type of the "station" service "update module" endpoint HTTP response body for the "not-found" error.

type UpdateModuleRequestBody

type UpdateModuleRequestBody struct {
	Label string `form:"label" json:"label" xml:"label"`
}

UpdateModuleRequestBody is the type of the "station" service "update module" endpoint HTTP request body.

func NewUpdateModuleRequestBody

func NewUpdateModuleRequestBody(p *station.UpdateModulePayload) *UpdateModuleRequestBody

NewUpdateModuleRequestBody builds the HTTP request body from the payload of the "update module" endpoint of the "station" service.

type UpdateModuleResponseBody

type UpdateModuleResponseBody struct {
	ID                 *int32                                `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name               *string                               `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Model              *StationFullModelResponseBody         `form:"model,omitempty" json:"model,omitempty" xml:"model,omitempty"`
	Owner              *StationOwnerResponseBody             `form:"owner,omitempty" json:"owner,omitempty" xml:"owner,omitempty"`
	DeviceID           *string                               `form:"deviceId,omitempty" json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	Interestingness    *StationInterestingnessResponseBody   `form:"interestingness,omitempty" json:"interestingness,omitempty" xml:"interestingness,omitempty"`
	Attributes         *StationProjectAttributesResponseBody `form:"attributes,omitempty" json:"attributes,omitempty" xml:"attributes,omitempty"`
	Uploads            []*StationUploadResponseBody          `form:"uploads,omitempty" json:"uploads,omitempty" xml:"uploads,omitempty"`
	Photos             *StationPhotosResponseBody            `form:"photos,omitempty" json:"photos,omitempty" xml:"photos,omitempty"`
	ReadOnly           *bool                                 `form:"readOnly,omitempty" json:"readOnly,omitempty" xml:"readOnly,omitempty"`
	Status             *string                               `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	Hidden             *bool                                 `form:"hidden,omitempty" json:"hidden,omitempty" xml:"hidden,omitempty"`
	Description        *string                               `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	Battery            *float32                              `form:"battery,omitempty" json:"battery,omitempty" xml:"battery,omitempty"`
	RecordingStartedAt *int64                                `form:"recordingStartedAt,omitempty" json:"recordingStartedAt,omitempty" xml:"recordingStartedAt,omitempty"`
	MemoryUsed         *int32                                `form:"memoryUsed,omitempty" json:"memoryUsed,omitempty" xml:"memoryUsed,omitempty"`
	MemoryAvailable    *int32                                `form:"memoryAvailable,omitempty" json:"memoryAvailable,omitempty" xml:"memoryAvailable,omitempty"`
	FirmwareNumber     *int32                                `form:"firmwareNumber,omitempty" json:"firmwareNumber,omitempty" xml:"firmwareNumber,omitempty"`
	FirmwareTime       *int64                                `form:"firmwareTime,omitempty" json:"firmwareTime,omitempty" xml:"firmwareTime,omitempty"`
	Configurations     *StationConfigurationsResponseBody    `form:"configurations,omitempty" json:"configurations,omitempty" xml:"configurations,omitempty"`
	UpdatedAt          *int64                                `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	LastReadingAt      *int64                                `form:"lastReadingAt,omitempty" json:"lastReadingAt,omitempty" xml:"lastReadingAt,omitempty"`
	LocationName       *string                               `form:"locationName,omitempty" json:"locationName,omitempty" xml:"locationName,omitempty"`
	PlaceNameOther     *string                               `form:"placeNameOther,omitempty" json:"placeNameOther,omitempty" xml:"placeNameOther,omitempty"`
	PlaceNameNative    *string                               `form:"placeNameNative,omitempty" json:"placeNameNative,omitempty" xml:"placeNameNative,omitempty"`
	Location           *StationLocationResponseBody          `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	SyncedAt           *int64                                `form:"syncedAt,omitempty" json:"syncedAt,omitempty" xml:"syncedAt,omitempty"`
	IngestionAt        *int64                                `form:"ingestionAt,omitempty" json:"ingestionAt,omitempty" xml:"ingestionAt,omitempty"`
	Data               *StationDataSummaryResponseBody       `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

UpdateModuleResponseBody is the type of the "station" service "update module" endpoint HTTP response body.

type UpdateModuleUnauthorizedResponseBody

type UpdateModuleUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateModuleUnauthorizedResponseBody is the type of the "station" service "update module" endpoint HTTP response body for the "unauthorized" error.

type UpdateNotFoundResponseBody

type UpdateNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateNotFoundResponseBody is the type of the "station" service "update" endpoint HTTP response body for the "not-found" error.

type UpdateRequestBody

type UpdateRequestBody struct {
	Name         string  `form:"name" json:"name" xml:"name"`
	LocationName *string `form:"locationName,omitempty" json:"locationName,omitempty" xml:"locationName,omitempty"`
	StatusPb     *string `form:"statusPb,omitempty" json:"statusPb,omitempty" xml:"statusPb,omitempty"`
	Description  *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
}

UpdateRequestBody is the type of the "station" service "update" endpoint HTTP request body.

func NewUpdateRequestBody

func NewUpdateRequestBody(p *station.UpdatePayload) *UpdateRequestBody

NewUpdateRequestBody builds the HTTP request body from the payload of the "update" endpoint of the "station" service.

type UpdateResponseBody

type UpdateResponseBody struct {
	ID                 *int32                                `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name               *string                               `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Model              *StationFullModelResponseBody         `form:"model,omitempty" json:"model,omitempty" xml:"model,omitempty"`
	Owner              *StationOwnerResponseBody             `form:"owner,omitempty" json:"owner,omitempty" xml:"owner,omitempty"`
	DeviceID           *string                               `form:"deviceId,omitempty" json:"deviceId,omitempty" xml:"deviceId,omitempty"`
	Interestingness    *StationInterestingnessResponseBody   `form:"interestingness,omitempty" json:"interestingness,omitempty" xml:"interestingness,omitempty"`
	Attributes         *StationProjectAttributesResponseBody `form:"attributes,omitempty" json:"attributes,omitempty" xml:"attributes,omitempty"`
	Uploads            []*StationUploadResponseBody          `form:"uploads,omitempty" json:"uploads,omitempty" xml:"uploads,omitempty"`
	Photos             *StationPhotosResponseBody            `form:"photos,omitempty" json:"photos,omitempty" xml:"photos,omitempty"`
	ReadOnly           *bool                                 `form:"readOnly,omitempty" json:"readOnly,omitempty" xml:"readOnly,omitempty"`
	Status             *string                               `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	Hidden             *bool                                 `form:"hidden,omitempty" json:"hidden,omitempty" xml:"hidden,omitempty"`
	Description        *string                               `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	Battery            *float32                              `form:"battery,omitempty" json:"battery,omitempty" xml:"battery,omitempty"`
	RecordingStartedAt *int64                                `form:"recordingStartedAt,omitempty" json:"recordingStartedAt,omitempty" xml:"recordingStartedAt,omitempty"`
	MemoryUsed         *int32                                `form:"memoryUsed,omitempty" json:"memoryUsed,omitempty" xml:"memoryUsed,omitempty"`
	MemoryAvailable    *int32                                `form:"memoryAvailable,omitempty" json:"memoryAvailable,omitempty" xml:"memoryAvailable,omitempty"`
	FirmwareNumber     *int32                                `form:"firmwareNumber,omitempty" json:"firmwareNumber,omitempty" xml:"firmwareNumber,omitempty"`
	FirmwareTime       *int64                                `form:"firmwareTime,omitempty" json:"firmwareTime,omitempty" xml:"firmwareTime,omitempty"`
	Configurations     *StationConfigurationsResponseBody    `form:"configurations,omitempty" json:"configurations,omitempty" xml:"configurations,omitempty"`
	UpdatedAt          *int64                                `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	LastReadingAt      *int64                                `form:"lastReadingAt,omitempty" json:"lastReadingAt,omitempty" xml:"lastReadingAt,omitempty"`
	LocationName       *string                               `form:"locationName,omitempty" json:"locationName,omitempty" xml:"locationName,omitempty"`
	PlaceNameOther     *string                               `form:"placeNameOther,omitempty" json:"placeNameOther,omitempty" xml:"placeNameOther,omitempty"`
	PlaceNameNative    *string                               `form:"placeNameNative,omitempty" json:"placeNameNative,omitempty" xml:"placeNameNative,omitempty"`
	Location           *StationLocationResponseBody          `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
	SyncedAt           *int64                                `form:"syncedAt,omitempty" json:"syncedAt,omitempty" xml:"syncedAt,omitempty"`
	IngestionAt        *int64                                `form:"ingestionAt,omitempty" json:"ingestionAt,omitempty" xml:"ingestionAt,omitempty"`
	Data               *StationDataSummaryResponseBody       `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

UpdateResponseBody is the type of the "station" service "update" endpoint HTTP response body.

type UpdateUnauthorizedResponseBody

type UpdateUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateUnauthorizedResponseBody is the type of the "station" service "update" endpoint HTTP response body for the "unauthorized" error.

type UserPhotoResponseBody

type UserPhotoResponseBody struct {
	URL *string `form:"url,omitempty" json:"url,omitempty" xml:"url,omitempty"`
}

UserPhotoResponseBody is used to define fields on response body types.

Jump to

Keyboard shortcuts

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