Documentation
¶
Index ¶
- func BuildCleanLoginTokenPayload(sessionCleanLoginTokenAuthorization string, ...) (*session.CleanLoginTokenPayload, error)
- func BuildCleanMergeTokenPayload(sessionCleanMergeTokenAuthorization string, ...) (*session.CleanMergeTokenPayload, error)
- func BuildCleanSessionsPayload(sessionCleanSessionsAuthorization string, sessionCleanSessionsXSession string, ...) (*session.CleanSessionsPayload, error)
- func BuildGetSessionsPayload(sessionGetSessionsAuthorization string, sessionGetSessionsXSession string, ...) (*session.GetSessionsPayload, error)
- func BuildLogoutOtherPayload(sessionLogoutOtherAuthorization string, sessionLogoutOtherXSession string, ...) (*session.LogoutOtherPayload, error)
- func BuildLogoutPayload(sessionLogoutAuthorization string, sessionLogoutXSession string, ...) (*session.LogoutPayload, error)
- func BuildLogoutSpecificPayload(sessionLogoutSpecificSessionID string, ...) (*session.LogoutSpecificPayload, error)
- func BuildRedeemTokenPayload(sessionRedeemTokenBody string, sessionRedeemTokenAPIKey string) (*session.RedeemTokenPayload, error)
- func BuildRefreshPayload(sessionRefreshXSession string, sessionRefreshAPIKey string) (*session.RefreshPayload, error)
- func CleanLoginTokenSessionPath() string
- func CleanMergeTokenSessionPath() string
- func CleanSessionsSessionPath() string
- func DecodeCleanLoginTokenResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeCleanMergeTokenResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeCleanSessionsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeGetSessionsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeLogoutOtherResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeLogoutResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeLogoutSpecificResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeRedeemTokenResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeRefreshResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func EncodeCleanLoginTokenRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeCleanMergeTokenRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeCleanSessionsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeGetSessionsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeLogoutOtherRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeLogoutRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeLogoutSpecificRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeRedeemTokenRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeRefreshRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func GetSessionsSessionPath() string
- func LogoutOtherSessionPath() string
- func LogoutSessionPath() string
- func LogoutSpecificSessionPath() string
- func NewGetSessionsAllSessionsOK(body *GetSessionsResponseBody) *sessionviews.AllSessionsView
- func NewRedeemTokenResultCreated(authorization string, xSession string) *session.RedeemTokenResult
- func NewRefreshResultOK(authorization string, xSession string) *session.RefreshResult
- func RedeemTokenSessionPath() string
- func RefreshSessionPath() string
- func ValidateSessionCollectionResponseBody(body SessionCollectionResponseBody) (err error)
- func ValidateSessionResponseBody(body *SessionResponseBody) (err error)
- type Client
- func (c *Client) BuildCleanLoginTokenRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildCleanMergeTokenRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildCleanSessionsRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildGetSessionsRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildLogoutOtherRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildLogoutRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildLogoutSpecificRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildRedeemTokenRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildRefreshRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) CleanLoginToken() goa.Endpoint
- func (c *Client) CleanMergeToken() goa.Endpoint
- func (c *Client) CleanSessions() goa.Endpoint
- func (c *Client) GetSessions() goa.Endpoint
- func (c *Client) Logout() goa.Endpoint
- func (c *Client) LogoutOther() goa.Endpoint
- func (c *Client) LogoutSpecific() goa.Endpoint
- func (c *Client) RedeemToken() goa.Endpoint
- func (c *Client) Refresh() goa.Endpoint
- type GetSessionsResponseBody
- type RedeemTokenRequestBody
- type SessionCollectionResponseBody
- type SessionResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCleanLoginTokenPayload ¶
func BuildCleanLoginTokenPayload(sessionCleanLoginTokenAuthorization string, sessionCleanLoginTokenXSession string, sessionCleanLoginTokenAPIKey string) (*session.CleanLoginTokenPayload, error)
BuildCleanLoginTokenPayload builds the payload for the session clean-login-token endpoint from CLI flags.
func BuildCleanMergeTokenPayload ¶
func BuildCleanMergeTokenPayload(sessionCleanMergeTokenAuthorization string, sessionCleanMergeTokenXSession string, sessionCleanMergeTokenAPIKey string) (*session.CleanMergeTokenPayload, error)
BuildCleanMergeTokenPayload builds the payload for the session clean-merge-token endpoint from CLI flags.
func BuildCleanSessionsPayload ¶
func BuildCleanSessionsPayload(sessionCleanSessionsAuthorization string, sessionCleanSessionsXSession string, sessionCleanSessionsAPIKey string) (*session.CleanSessionsPayload, error)
BuildCleanSessionsPayload builds the payload for the session clean-sessions endpoint from CLI flags.
func BuildGetSessionsPayload ¶
func BuildGetSessionsPayload(sessionGetSessionsAuthorization string, sessionGetSessionsXSession string, sessionGetSessionsAPIKey string) (*session.GetSessionsPayload, error)
BuildGetSessionsPayload builds the payload for the session get-sessions endpoint from CLI flags.
func BuildLogoutOtherPayload ¶
func BuildLogoutOtherPayload(sessionLogoutOtherAuthorization string, sessionLogoutOtherXSession string, sessionLogoutOtherAPIKey string) (*session.LogoutOtherPayload, error)
BuildLogoutOtherPayload builds the payload for the session logout-other endpoint from CLI flags.
func BuildLogoutPayload ¶
func BuildLogoutPayload(sessionLogoutAuthorization string, sessionLogoutXSession string, sessionLogoutAPIKey string) (*session.LogoutPayload, error)
BuildLogoutPayload builds the payload for the session logout endpoint from CLI flags.
func BuildLogoutSpecificPayload ¶
func BuildLogoutSpecificPayload(sessionLogoutSpecificSessionID string, sessionLogoutSpecificAuthorization string, sessionLogoutSpecificXSession string, sessionLogoutSpecificAPIKey string) (*session.LogoutSpecificPayload, error)
BuildLogoutSpecificPayload builds the payload for the session logout-specific endpoint from CLI flags.
func BuildRedeemTokenPayload ¶
func BuildRedeemTokenPayload(sessionRedeemTokenBody string, sessionRedeemTokenAPIKey string) (*session.RedeemTokenPayload, error)
BuildRedeemTokenPayload builds the payload for the session redeemToken endpoint from CLI flags.
func BuildRefreshPayload ¶
func BuildRefreshPayload(sessionRefreshXSession string, sessionRefreshAPIKey string) (*session.RefreshPayload, error)
BuildRefreshPayload builds the payload for the session refresh endpoint from CLI flags.
func CleanLoginTokenSessionPath ¶
func CleanLoginTokenSessionPath() string
CleanLoginTokenSessionPath returns the URL path to the session service clean-login-token HTTP endpoint.
func CleanMergeTokenSessionPath ¶
func CleanMergeTokenSessionPath() string
CleanMergeTokenSessionPath returns the URL path to the session service clean-merge-token HTTP endpoint.
func CleanSessionsSessionPath ¶
func CleanSessionsSessionPath() string
CleanSessionsSessionPath returns the URL path to the session service clean-sessions HTTP endpoint.
func DecodeCleanLoginTokenResponse ¶
func DecodeCleanLoginTokenResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeCleanLoginTokenResponse returns a decoder for responses returned by the session clean-login-token endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeCleanMergeTokenResponse ¶
func DecodeCleanMergeTokenResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeCleanMergeTokenResponse returns a decoder for responses returned by the session clean-merge-token endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeCleanSessionsResponse ¶
func DecodeCleanSessionsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeCleanSessionsResponse returns a decoder for responses returned by the session clean-sessions endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeGetSessionsResponse ¶
func DecodeGetSessionsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeGetSessionsResponse returns a decoder for responses returned by the session get-sessions endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeLogoutOtherResponse ¶
func DecodeLogoutOtherResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeLogoutOtherResponse returns a decoder for responses returned by the session logout-other endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeLogoutResponse ¶
func DecodeLogoutResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeLogoutResponse returns a decoder for responses returned by the session logout endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeLogoutSpecificResponse ¶
func DecodeLogoutSpecificResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeLogoutSpecificResponse returns a decoder for responses returned by the session logout-specific endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeRedeemTokenResponse ¶
func DecodeRedeemTokenResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeRedeemTokenResponse returns a decoder for responses returned by the session redeemToken endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeRefreshResponse ¶
func DecodeRefreshResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeRefreshResponse returns a decoder for responses returned by the session refresh endpoint. restoreBody controls whether the response body should be restored after having been read.
func EncodeCleanLoginTokenRequest ¶
func EncodeCleanLoginTokenRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeCleanLoginTokenRequest returns an encoder for requests sent to the session clean-login-token server.
func EncodeCleanMergeTokenRequest ¶
func EncodeCleanMergeTokenRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeCleanMergeTokenRequest returns an encoder for requests sent to the session clean-merge-token server.
func EncodeCleanSessionsRequest ¶
func EncodeCleanSessionsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeCleanSessionsRequest returns an encoder for requests sent to the session clean-sessions server.
func EncodeGetSessionsRequest ¶
func EncodeGetSessionsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeGetSessionsRequest returns an encoder for requests sent to the session get-sessions server.
func EncodeLogoutOtherRequest ¶
func EncodeLogoutOtherRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeLogoutOtherRequest returns an encoder for requests sent to the session logout-other server.
func EncodeLogoutRequest ¶
func EncodeLogoutRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeLogoutRequest returns an encoder for requests sent to the session logout server.
func EncodeLogoutSpecificRequest ¶
func EncodeLogoutSpecificRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeLogoutSpecificRequest returns an encoder for requests sent to the session logout-specific server.
func EncodeRedeemTokenRequest ¶
func EncodeRedeemTokenRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeRedeemTokenRequest returns an encoder for requests sent to the session redeemToken server.
func EncodeRefreshRequest ¶
func EncodeRefreshRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeRefreshRequest returns an encoder for requests sent to the session refresh server.
func GetSessionsSessionPath ¶
func GetSessionsSessionPath() string
GetSessionsSessionPath returns the URL path to the session service get-sessions HTTP endpoint.
func LogoutOtherSessionPath ¶
func LogoutOtherSessionPath() string
LogoutOtherSessionPath returns the URL path to the session service logout-other HTTP endpoint.
func LogoutSessionPath ¶
func LogoutSessionPath() string
LogoutSessionPath returns the URL path to the session service logout HTTP endpoint.
func LogoutSpecificSessionPath ¶
func LogoutSpecificSessionPath() string
LogoutSpecificSessionPath returns the URL path to the session service logout-specific HTTP endpoint.
func NewGetSessionsAllSessionsOK ¶
func NewGetSessionsAllSessionsOK(body *GetSessionsResponseBody) *sessionviews.AllSessionsView
NewGetSessionsAllSessionsOK builds a "session" service "get-sessions" endpoint result from a HTTP "OK" response.
func NewRedeemTokenResultCreated ¶
func NewRedeemTokenResultCreated(authorization string, xSession string) *session.RedeemTokenResult
NewRedeemTokenResultCreated builds a "session" service "redeemToken" endpoint result from a HTTP "Created" response.
func NewRefreshResultOK ¶
func NewRefreshResultOK(authorization string, xSession string) *session.RefreshResult
NewRefreshResultOK builds a "session" service "refresh" endpoint result from a HTTP "OK" response.
func RedeemTokenSessionPath ¶
func RedeemTokenSessionPath() string
RedeemTokenSessionPath returns the URL path to the session service redeemToken HTTP endpoint.
func RefreshSessionPath ¶
func RefreshSessionPath() string
RefreshSessionPath returns the URL path to the session service refresh HTTP endpoint.
func ValidateSessionCollectionResponseBody ¶
func ValidateSessionCollectionResponseBody(body SessionCollectionResponseBody) (err error)
ValidateSessionCollectionResponseBody runs the validations defined on SessionCollectionResponseBody
func ValidateSessionResponseBody ¶
func ValidateSessionResponseBody(body *SessionResponseBody) (err error)
ValidateSessionResponseBody runs the validations defined on SessionResponseBody
Types ¶
type Client ¶
type Client struct {
// Refresh Doer is the HTTP client used to make requests to the refresh
// endpoint.
RefreshDoer goahttp.Doer
// Logout Doer is the HTTP client used to make requests to the logout endpoint.
LogoutDoer goahttp.Doer
// LogoutOther Doer is the HTTP client used to make requests to the
// logout-other endpoint.
LogoutOtherDoer goahttp.Doer
// LogoutSpecific Doer is the HTTP client used to make requests to the
// logout-specific endpoint.
LogoutSpecificDoer goahttp.Doer
// GetSessions Doer is the HTTP client used to make requests to the
// get-sessions endpoint.
GetSessionsDoer goahttp.Doer
// RedeemToken Doer is the HTTP client used to make requests to the redeemToken
// endpoint.
RedeemTokenDoer goahttp.Doer
// CleanSessions Doer is the HTTP client used to make requests to the
// clean-sessions endpoint.
CleanSessionsDoer goahttp.Doer
// CleanLoginToken Doer is the HTTP client used to make requests to the
// clean-login-token endpoint.
CleanLoginTokenDoer goahttp.Doer
// CleanMergeToken Doer is the HTTP client used to make requests to the
// clean-merge-token endpoint.
CleanMergeTokenDoer 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 session 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 session service servers.
func (*Client) BuildCleanLoginTokenRequest ¶
func (c *Client) BuildCleanLoginTokenRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildCleanLoginTokenRequest instantiates a HTTP request object with method and path set to call the "session" service "clean-login-token" endpoint
func (*Client) BuildCleanMergeTokenRequest ¶
func (c *Client) BuildCleanMergeTokenRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildCleanMergeTokenRequest instantiates a HTTP request object with method and path set to call the "session" service "clean-merge-token" endpoint
func (*Client) BuildCleanSessionsRequest ¶
func (c *Client) BuildCleanSessionsRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildCleanSessionsRequest instantiates a HTTP request object with method and path set to call the "session" service "clean-sessions" endpoint
func (*Client) BuildGetSessionsRequest ¶
BuildGetSessionsRequest instantiates a HTTP request object with method and path set to call the "session" service "get-sessions" endpoint
func (*Client) BuildLogoutOtherRequest ¶
BuildLogoutOtherRequest instantiates a HTTP request object with method and path set to call the "session" service "logout-other" endpoint
func (*Client) BuildLogoutRequest ¶
BuildLogoutRequest instantiates a HTTP request object with method and path set to call the "session" service "logout" endpoint
func (*Client) BuildLogoutSpecificRequest ¶
func (c *Client) BuildLogoutSpecificRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildLogoutSpecificRequest instantiates a HTTP request object with method and path set to call the "session" service "logout-specific" endpoint
func (*Client) BuildRedeemTokenRequest ¶
BuildRedeemTokenRequest instantiates a HTTP request object with method and path set to call the "session" service "redeemToken" endpoint
func (*Client) BuildRefreshRequest ¶
BuildRefreshRequest instantiates a HTTP request object with method and path set to call the "session" service "refresh" endpoint
func (*Client) CleanLoginToken ¶
CleanLoginToken returns an endpoint that makes HTTP requests to the session service clean-login-token server.
func (*Client) CleanMergeToken ¶
CleanMergeToken returns an endpoint that makes HTTP requests to the session service clean-merge-token server.
func (*Client) CleanSessions ¶
CleanSessions returns an endpoint that makes HTTP requests to the session service clean-sessions server.
func (*Client) GetSessions ¶
GetSessions returns an endpoint that makes HTTP requests to the session service get-sessions server.
func (*Client) Logout ¶
Logout returns an endpoint that makes HTTP requests to the session service logout server.
func (*Client) LogoutOther ¶
LogoutOther returns an endpoint that makes HTTP requests to the session service logout-other server.
func (*Client) LogoutSpecific ¶
LogoutSpecific returns an endpoint that makes HTTP requests to the session service logout-specific server.
func (*Client) RedeemToken ¶
RedeemToken returns an endpoint that makes HTTP requests to the session service redeemToken server.
type GetSessionsResponseBody ¶
type GetSessionsResponseBody struct {
CurrentSession *SessionResponseBody `form:"currentSession,omitempty" json:"currentSession,omitempty" xml:"currentSession,omitempty"`
OtherSessions SessionCollectionResponseBody `form:"otherSessions,omitempty" json:"otherSessions,omitempty" xml:"otherSessions,omitempty"`
}
GetSessionsResponseBody is the type of the "session" service "get-sessions" endpoint HTTP response body.
type RedeemTokenRequestBody ¶
type RedeemTokenRequestBody struct {
// A merge token for merging into an account
Token string `form:"token" json:"token" xml:"token"`
UserAgent *string `form:"User-Agent,omitempty" json:"User-Agent,omitempty" xml:"User-Agent,omitempty"`
}
RedeemTokenRequestBody is the type of the "session" service "redeemToken" endpoint HTTP request body.
func NewRedeemTokenRequestBody ¶
func NewRedeemTokenRequestBody(p *session.RedeemTokenPayload) *RedeemTokenRequestBody
NewRedeemTokenRequestBody builds the HTTP request body from the payload of the "redeemToken" endpoint of the "session" service.
type SessionCollectionResponseBody ¶
type SessionCollectionResponseBody []*SessionResponseBody
SessionCollectionResponseBody is used to define fields on response body types.
type SessionResponseBody ¶
type SessionResponseBody struct {
// Unique unchanging session ID
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// ID of the user this session is for
UserID *string `form:"userId,omitempty" json:"userId,omitempty" xml:"userId,omitempty"`
// Time that this session was last used
LastUsed *string `form:"lastUsed,omitempty" json:"lastUsed,omitempty" xml:"lastUsed,omitempty"`
// The browser and browser version connected with this session
Browser *string `form:"browser,omitempty" json:"browser,omitempty" xml:"browser,omitempty"`
// The OS of the system where this session was used
Os *string `form:"os,omitempty" json:"os,omitempty" xml:"os,omitempty"`
// The last IP address where this session was used
IP *string `form:"ip,omitempty" json:"ip,omitempty" xml:"ip,omitempty"`
// A humanReadable string describing the last known location of the session
Location *string `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"`
// The latitude of the last known location of the session
Latitude *string `form:"latitude,omitempty" json:"latitude,omitempty" xml:"latitude,omitempty"`
// The longitude of the last known location of the session
Longitude *string `form:"longitude,omitempty" json:"longitude,omitempty" xml:"longitude,omitempty"`
// Whether the session was from a mobile device
IsMobile *bool `form:"isMobile,omitempty" json:"isMobile,omitempty" xml:"isMobile,omitempty"`
// The URL of the Google map to show the location, suitable for using in an img
// tag
MapURL *string `form:"mapUrl,omitempty" json:"mapUrl,omitempty" xml:"mapUrl,omitempty"`
}
SessionResponseBody is used to define fields on response body types.