Documentation ¶
Index ¶
- func CreateAdminuserPath() string
- func CreateEventPath(tenantID string) string
- func CreatePresentationPath(eventID string, speakerID string, tenantID string) string
- func CreateSeriesPath(tenantID string) string
- func CreateSpeakerPath(eventID string, tenantID string) string
- func CreateTenantPath() string
- func CreateUserPath(tenantID string) string
- func DeleteAdminuserPath(userID int) string
- func DeleteEventPath(eventID int, tenantID string) string
- func DeletePresentationPath(eventID string, presentationID int, speakerID string, tenantID string) string
- func DeleteSeriesPath(seriesID int, tenantID string) string
- func DeleteSpeakerPath(eventID string, speakerID int, tenantID string) string
- func DeleteTenantPath(tenantID int) string
- func DeleteUserPath(tenantID string, userID int) string
- func ListAdminuserPath() string
- func ListEventPath(tenantID string) string
- func ListPresentationPath(eventID string, speakerID string, tenantID string) string
- func ListSeriesPath(tenantID string) string
- func ListSpeakerPath(eventID string, tenantID string) string
- func ListTenantPath() string
- func ListUserPath(tenantID string) string
- func RefreshAuthPath() string
- func ShowAdminuserPath(userID int) string
- func ShowEventPath(eventID int, tenantID string) string
- func ShowPresentationPath(eventID string, presentationID int, speakerID string, tenantID string) string
- func ShowSeriesPath(seriesID int, tenantID string) string
- func ShowSpeakerPath(eventID string, speakerID int, tenantID string) string
- func ShowTenantPath(tenantID int) string
- func ShowUserPath(tenantID string, userID int) string
- func StatusHealthzPath() string
- func TokenAuthPath() string
- func UpdateAdminuserPath(userID int) string
- func UpdateEventPath(eventID int, tenantID string) string
- func UpdatePresentationPath(eventID string, presentationID int, speakerID string, tenantID string) string
- func UpdateSeriesPath(seriesID int, tenantID string) string
- func UpdateSpeakerPath(eventID string, speakerID int, tenantID string) string
- func UpdateTenantPath(tenantID int) string
- func UpdateUserPath(tenantID string, userID int) string
- func ValidateValidatePath(userID string) string
- type Authorize
- type Client
- func (c *Client) CreateAdminuser(ctx context.Context, path string, payload *CreateAdminuserPayload) (*http.Response, error)
- func (c *Client) CreateEvent(ctx context.Context, path string, payload *CreateEventPayload) (*http.Response, error)
- func (c *Client) CreatePresentation(ctx context.Context, path string, payload *CreatePresentationPayload) (*http.Response, error)
- func (c *Client) CreateSeries(ctx context.Context, path string, payload *CreateSeriesPayload) (*http.Response, error)
- func (c *Client) CreateSpeaker(ctx context.Context, path string, payload *CreateSpeakerPayload) (*http.Response, error)
- func (c *Client) CreateTenant(ctx context.Context, path string, payload *CreateTenantPayload) (*http.Response, error)
- func (c *Client) CreateUser(ctx context.Context, path string, payload *CreateUserPayload) (*http.Response, error)
- func (c *Client) DeleteAdminuser(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) DeleteEvent(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) DeletePresentation(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) DeleteSeries(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) DeleteSpeaker(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) DeleteTenant(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) DeleteUser(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ListAdminuser(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ListEvent(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ListPresentation(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ListSeries(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ListSpeaker(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ListTenant(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ListUser(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) RefreshAuth(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ShowAdminuser(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ShowEvent(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ShowPresentation(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ShowSeries(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ShowSpeaker(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ShowTenant(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ShowUser(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) StatusHealthz(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) TokenAuth(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) UpdateAdminuser(ctx context.Context, path string, payload *UpdateAdminuserPayload) (*http.Response, error)
- func (c *Client) UpdateEvent(ctx context.Context, path string, payload *UpdateEventPayload) (*http.Response, error)
- func (c *Client) UpdatePresentation(ctx context.Context, path string, payload *UpdatePresentationPayload) (*http.Response, error)
- func (c *Client) UpdateSeries(ctx context.Context, path string, payload *UpdateSeriesPayload) (*http.Response, error)
- func (c *Client) UpdateSpeaker(ctx context.Context, path string, payload *UpdateSpeakerPayload) (*http.Response, error)
- func (c *Client) UpdateTenant(ctx context.Context, path string, payload *UpdateTenantPayload) (*http.Response, error)
- func (c *Client) UpdateUser(ctx context.Context, path string, payload *UpdateUserPayload) (*http.Response, error)
- func (c *Client) ValidateValidate(ctx context.Context, path string, v string) (*http.Response, error)
- type CreateAdminuserPayload
- type CreateEventPayload
- type CreatePresentationPayload
- type CreateSeriesPayload
- type CreateSpeakerPayload
- type CreateTenantPayload
- type CreateUserPayload
- type Event
- type EventCollection
- type Presentation
- type PresentationCollection
- type Series
- type SeriesCollection
- type Speaker
- type SpeakerCollection
- type Tenant
- type TenantCollection
- type UpdateAdminuserPayload
- type UpdateEventPayload
- type UpdatePresentationPayload
- type UpdateSeriesPayload
- type UpdateSpeakerPayload
- type UpdateTenantPayload
- type UpdateUserPayload
- type User
- type UserCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAdminuserPath ¶
func CreateAdminuserPath() string
CreateAdminuserPath computes a request path to the create action of adminuser.
func CreateEventPath ¶
CreateEventPath computes a request path to the create action of event.
func CreatePresentationPath ¶
CreatePresentationPath computes a request path to the create action of presentation.
func CreateSeriesPath ¶
CreateSeriesPath computes a request path to the create action of series.
func CreateSpeakerPath ¶
CreateSpeakerPath computes a request path to the create action of speaker.
func CreateTenantPath ¶
func CreateTenantPath() string
CreateTenantPath computes a request path to the create action of tenant.
func CreateUserPath ¶
CreateUserPath computes a request path to the create action of user.
func DeleteAdminuserPath ¶
DeleteAdminuserPath computes a request path to the delete action of adminuser.
func DeleteEventPath ¶
DeleteEventPath computes a request path to the delete action of event.
func DeletePresentationPath ¶
func DeletePresentationPath(eventID string, presentationID int, speakerID string, tenantID string) string
DeletePresentationPath computes a request path to the delete action of presentation.
func DeleteSeriesPath ¶
DeleteSeriesPath computes a request path to the delete action of series.
func DeleteSpeakerPath ¶
DeleteSpeakerPath computes a request path to the delete action of speaker.
func DeleteTenantPath ¶
DeleteTenantPath computes a request path to the delete action of tenant.
func DeleteUserPath ¶
DeleteUserPath computes a request path to the delete action of user.
func ListAdminuserPath ¶
func ListAdminuserPath() string
ListAdminuserPath computes a request path to the list action of adminuser.
func ListEventPath ¶
ListEventPath computes a request path to the list action of event.
func ListPresentationPath ¶
ListPresentationPath computes a request path to the list action of presentation.
func ListSeriesPath ¶
ListSeriesPath computes a request path to the list action of series.
func ListSpeakerPath ¶
ListSpeakerPath computes a request path to the list action of speaker.
func ListTenantPath ¶
func ListTenantPath() string
ListTenantPath computes a request path to the list action of tenant.
func ListUserPath ¶
ListUserPath computes a request path to the list action of user.
func RefreshAuthPath ¶
func RefreshAuthPath() string
RefreshAuthPath computes a request path to the refresh action of auth.
func ShowAdminuserPath ¶
ShowAdminuserPath computes a request path to the show action of adminuser.
func ShowEventPath ¶
ShowEventPath computes a request path to the show action of event.
func ShowPresentationPath ¶
func ShowPresentationPath(eventID string, presentationID int, speakerID string, tenantID string) string
ShowPresentationPath computes a request path to the show action of presentation.
func ShowSeriesPath ¶
ShowSeriesPath computes a request path to the show action of series.
func ShowSpeakerPath ¶
ShowSpeakerPath computes a request path to the show action of speaker.
func ShowTenantPath ¶
ShowTenantPath computes a request path to the show action of tenant.
func ShowUserPath ¶
ShowUserPath computes a request path to the show action of user.
func StatusHealthzPath ¶
func StatusHealthzPath() string
StatusHealthzPath computes a request path to the status action of healthz.
func TokenAuthPath ¶
func TokenAuthPath() string
TokenAuthPath computes a request path to the token action of auth.
func UpdateAdminuserPath ¶
UpdateAdminuserPath computes a request path to the update action of adminuser.
func UpdateEventPath ¶
UpdateEventPath computes a request path to the update action of event.
func UpdatePresentationPath ¶
func UpdatePresentationPath(eventID string, presentationID int, speakerID string, tenantID string) string
UpdatePresentationPath computes a request path to the update action of presentation.
func UpdateSeriesPath ¶
UpdateSeriesPath computes a request path to the update action of series.
func UpdateSpeakerPath ¶
UpdateSpeakerPath computes a request path to the update action of speaker.
func UpdateTenantPath ¶
UpdateTenantPath computes a request path to the update action of tenant.
func UpdateUserPath ¶
UpdateUserPath computes a request path to the update action of user.
func ValidateValidatePath ¶
ValidateValidatePath computes a request path to the validate action of validate.
Types ¶
type Authorize ¶
type Authorize struct { // access token AccessToken *string `json:"access_token,omitempty" xml:"access_token,omitempty"` // Time to expiration in seconds ExpiresIn *int `json:"expires_in,omitempty" xml:"expires_in,omitempty"` // tenant Tenant *Tenant `json:"tenant,omitempty" xml:"tenant,omitempty"` // type of token TokenType *string `json:"token_type,omitempty" xml:"token_type,omitempty"` // user User *User `json:"user,omitempty" xml:"user,omitempty"` }
Token authorization response
func DecodeAuthorize ¶
DecodeAuthorize decodes the Authorize instance encoded in r.
type Client ¶
Client is the congo service client.
func (*Client) CreateAdminuser ¶
func (c *Client) CreateAdminuser(ctx context.Context, path string, payload *CreateAdminuserPayload) (*http.Response, error)
Record new user
func (*Client) CreateEvent ¶
func (c *Client) CreateEvent(ctx context.Context, path string, payload *CreateEventPayload) (*http.Response, error)
Record new event
func (*Client) CreatePresentation ¶
func (c *Client) CreatePresentation(ctx context.Context, path string, payload *CreatePresentationPayload) (*http.Response, error)
Record new presentation
func (*Client) CreateSeries ¶
func (c *Client) CreateSeries(ctx context.Context, path string, payload *CreateSeriesPayload) (*http.Response, error)
Record new series
func (*Client) CreateSpeaker ¶
func (c *Client) CreateSpeaker(ctx context.Context, path string, payload *CreateSpeakerPayload) (*http.Response, error)
Record new speaker
func (*Client) CreateTenant ¶
func (c *Client) CreateTenant(ctx context.Context, path string, payload *CreateTenantPayload) (*http.Response, error)
Record new tenant
func (*Client) CreateUser ¶
func (c *Client) CreateUser(ctx context.Context, path string, payload *CreateUserPayload) (*http.Response, error)
Record new user
func (*Client) DeleteAdminuser ¶
DeleteAdminuser makes a request to the delete action endpoint of the adminuser resource
func (*Client) DeleteEvent ¶
DeleteEvent makes a request to the delete action endpoint of the event resource
func (*Client) DeletePresentation ¶
DeletePresentation makes a request to the delete action endpoint of the presentation resource
func (*Client) DeleteSeries ¶
DeleteSeries makes a request to the delete action endpoint of the series resource
func (*Client) DeleteSpeaker ¶
DeleteSpeaker makes a request to the delete action endpoint of the speaker resource
func (*Client) DeleteTenant ¶
DeleteTenant makes a request to the delete action endpoint of the tenant resource
func (*Client) DeleteUser ¶
DeleteUser makes a request to the delete action endpoint of the user resource
func (*Client) ListAdminuser ¶
List all users
func (*Client) ListPresentation ¶
List all presentations
func (*Client) ListSeries ¶
List all series
func (*Client) ListSpeaker ¶
List all speakers
func (*Client) ListTenant ¶
List all tenants
func (*Client) RefreshAuth ¶
Obtain a refreshed access token
func (*Client) ShowAdminuser ¶
Retrieve user with given id
func (*Client) ShowPresentation ¶
Retrieve presentation with given id
func (*Client) ShowSeries ¶
Retrieve series with given id
func (*Client) ShowSpeaker ¶
Retrieve speaker with given id
func (*Client) ShowTenant ¶
Retrieve tenant with given id
func (*Client) StatusHealthz ¶
Get Server Status
func (*Client) UpdateAdminuser ¶
func (c *Client) UpdateAdminuser(ctx context.Context, path string, payload *UpdateAdminuserPayload) (*http.Response, error)
UpdateAdminuser makes a request to the update action endpoint of the adminuser resource
func (*Client) UpdateEvent ¶
func (c *Client) UpdateEvent(ctx context.Context, path string, payload *UpdateEventPayload) (*http.Response, error)
UpdateEvent makes a request to the update action endpoint of the event resource
func (*Client) UpdatePresentation ¶
func (c *Client) UpdatePresentation(ctx context.Context, path string, payload *UpdatePresentationPayload) (*http.Response, error)
UpdatePresentation makes a request to the update action endpoint of the presentation resource
func (*Client) UpdateSeries ¶
func (c *Client) UpdateSeries(ctx context.Context, path string, payload *UpdateSeriesPayload) (*http.Response, error)
UpdateSeries makes a request to the update action endpoint of the series resource
func (*Client) UpdateSpeaker ¶
func (c *Client) UpdateSpeaker(ctx context.Context, path string, payload *UpdateSpeakerPayload) (*http.Response, error)
UpdateSpeaker makes a request to the update action endpoint of the speaker resource
func (*Client) UpdateTenant ¶
func (c *Client) UpdateTenant(ctx context.Context, path string, payload *UpdateTenantPayload) (*http.Response, error)
UpdateTenant makes a request to the update action endpoint of the tenant resource
func (*Client) UpdateUser ¶
func (c *Client) UpdateUser(ctx context.Context, path string, payload *UpdateUserPayload) (*http.Response, error)
UpdateUser makes a request to the update action endpoint of the user resource
type CreateAdminuserPayload ¶
type CreateAdminuserPayload struct { Email string `json:"email" xml:"email"` FirstName string `json:"first_name" xml:"first_name"` ID *int `json:"id,omitempty" xml:"id,omitempty"` LastName string `json:"last_name" xml:"last_name"` Password string `json:"password" xml:"password"` Role string `json:"role" xml:"role"` TenantID *int `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"` Validated *bool `json:"validated,omitempty" xml:"validated,omitempty"` ValidationCode *string `json:"validation_code,omitempty" xml:"validation_code,omitempty"` }
CreateAdminuserPayload is the adminuser create action payload.
type CreateEventPayload ¶
type CreateEventPayload struct { EndDate *time.Time `json:"end_date,omitempty" xml:"end_date,omitempty"` Name string `json:"name" xml:"name"` StartDate *time.Time `json:"start_date,omitempty" xml:"start_date,omitempty"` URL *string `json:"url,omitempty" xml:"url,omitempty"` }
CreateEventPayload is the event create action payload.
type CreatePresentationPayload ¶
type CreatePresentationPayload struct { Abstract string `json:"abstract" xml:"abstract"` Detail *string `json:"detail,omitempty" xml:"detail,omitempty"` Name *string `json:"name,omitempty" xml:"name,omitempty"` }
CreatePresentationPayload is the presentation create action payload.
type CreateSeriesPayload ¶
type CreateSeriesPayload struct {
Name string `json:"name" xml:"name"`
}
CreateSeriesPayload is the series create action payload.
type CreateSpeakerPayload ¶
type CreateSpeakerPayload struct { Bio *string `json:"bio,omitempty" xml:"bio,omitempty"` FirstName string `json:"first_name" xml:"first_name"` Github *string `json:"github,omitempty" xml:"github,omitempty"` ImageURL *string `json:"image_url,omitempty" xml:"image_url,omitempty"` LastName string `json:"last_name" xml:"last_name"` Linkedin *string `json:"linkedin,omitempty" xml:"linkedin,omitempty"` Twitter *string `json:"twitter,omitempty" xml:"twitter,omitempty"` }
CreateSpeakerPayload is the speaker create action payload.
type CreateTenantPayload ¶
type CreateTenantPayload struct {
Name string `json:"name" xml:"name"`
}
CreateTenantPayload is the tenant create action payload.
type CreateUserPayload ¶
type CreateUserPayload struct { Email string `json:"email" xml:"email"` FirstName string `json:"first_name" xml:"first_name"` ID *int `json:"id,omitempty" xml:"id,omitempty"` LastName string `json:"last_name" xml:"last_name"` Password string `json:"password" xml:"password"` Role string `json:"role" xml:"role"` Validated *bool `json:"validated,omitempty" xml:"validated,omitempty"` ValidationCode *string `json:"validation_code,omitempty" xml:"validation_code,omitempty"` }
CreateUserPayload is the user create action payload.
type Event ¶
type Event struct { // end_date EndDate *time.Time `json:"end_date,omitempty" xml:"end_date,omitempty"` // ID of record ID *int `json:"id,omitempty" xml:"id,omitempty"` // location Location *string `json:"location,omitempty" xml:"location,omitempty"` // name Name *string `json:"name,omitempty" xml:"name,omitempty"` Presentations PresentationCollection `json:"presentations,omitempty" xml:"presentations,omitempty"` Speakers SpeakerCollection `json:"speakers,omitempty" xml:"speakers,omitempty"` // start_date StartDate *time.Time `json:"start_date,omitempty" xml:"start_date,omitempty"` // event URL URL *string `json:"url,omitempty" xml:"url,omitempty"` }
An event is a specific instance of a conference, e.g. GopherCon 2016
func DecodeEvent ¶
DecodeEvent decodes the Event instance encoded in r.
type EventCollection ¶
type EventCollection []*Event
EventCollection media type is a collection of Event.
func DecodeEventCollection ¶
func DecodeEventCollection(r io.Reader, decoderFn goa.DecoderFunc) (EventCollection, error)
DecodeEventCollection decodes the EventCollection instance encoded in r.
type Presentation ¶
type Presentation struct { // short description of talk Abstract *string `json:"abstract,omitempty" xml:"abstract,omitempty"` // detailed description of talk - not for public display Detail *string `json:"detail,omitempty" xml:"detail,omitempty"` // ID of record ID *int `json:"id,omitempty" xml:"id,omitempty"` // name of presentation Name *string `json:"name,omitempty" xml:"name,omitempty"` // speaker who is giving the talk Speaker *Speaker `json:"speaker,omitempty" xml:"speaker,omitempty"` }
A presentation is a scheduled talk given by a speaker
func DecodePresentation ¶
func DecodePresentation(r io.Reader, decoderFn goa.DecoderFunc) (*Presentation, error)
DecodePresentation decodes the Presentation instance encoded in r.
type PresentationCollection ¶
type PresentationCollection []*Presentation
PresentationCollection media type is a collection of Presentation.
func DecodePresentationCollection ¶
func DecodePresentationCollection(r io.Reader, decoderFn goa.DecoderFunc) (PresentationCollection, error)
DecodePresentationCollection decodes the PresentationCollection instance encoded in r.
type Series ¶
type Series struct { // ID of record ID *int `json:"id,omitempty" xml:"id,omitempty"` // name Name *string `json:"name,omitempty" xml:"name,omitempty"` }
A series is a recurring event, e.g. GopherCon
func DecodeSeries ¶
DecodeSeries decodes the Series instance encoded in r.
type SeriesCollection ¶
type SeriesCollection []*Series
SeriesCollection media type is a collection of Series.
func DecodeSeriesCollection ¶
func DecodeSeriesCollection(r io.Reader, decoderFn goa.DecoderFunc) (SeriesCollection, error)
DecodeSeriesCollection decodes the SeriesCollection instance encoded in r.
type Speaker ¶
type Speaker struct { // speaker bio Bio *string `json:"bio,omitempty" xml:"bio,omitempty"` // email address Email *string `json:"email,omitempty" xml:"email,omitempty"` // first name FirstName *string `json:"first_name,omitempty" xml:"first_name,omitempty"` // github handle Github *string `json:"github,omitempty" xml:"github,omitempty"` Href *string `json:"href,omitempty" xml:"href,omitempty"` // ID of record ID *int `json:"id,omitempty" xml:"id,omitempty"` // url of speaker image ImageURL *string `json:"image_url,omitempty" xml:"image_url,omitempty"` // last name LastName *string `json:"last_name,omitempty" xml:"last_name,omitempty"` // linkedin url Linkedin *string `json:"linkedin,omitempty" xml:"linkedin,omitempty"` // twitter handle - no @ Twitter *string `json:"twitter,omitempty" xml:"twitter,omitempty"` }
A speaker is someone giving a talk at an event
func DecodeSpeaker ¶
DecodeSpeaker decodes the Speaker instance encoded in r.
type SpeakerCollection ¶
type SpeakerCollection []*Speaker
SpeakerCollection media type is a collection of Speaker.
func DecodeSpeakerCollection ¶
func DecodeSpeakerCollection(r io.Reader, decoderFn goa.DecoderFunc) (SpeakerCollection, error)
DecodeSpeakerCollection decodes the SpeakerCollection instance encoded in r.
type Tenant ¶
type Tenant struct { // ID ID *int `json:"id,omitempty" xml:"id,omitempty"` // name Name *string `json:"name,omitempty" xml:"name,omitempty"` }
Tenant account in Congo
func DecodeTenant ¶
DecodeTenant decodes the Tenant instance encoded in r.
type TenantCollection ¶
type TenantCollection []*Tenant
TenantCollection media type is a collection of Tenant.
func DecodeTenantCollection ¶
func DecodeTenantCollection(r io.Reader, decoderFn goa.DecoderFunc) (TenantCollection, error)
DecodeTenantCollection decodes the TenantCollection instance encoded in r.
type UpdateAdminuserPayload ¶
type UpdateAdminuserPayload struct { Email *string `json:"email,omitempty" xml:"email,omitempty"` FirstName *string `json:"first_name,omitempty" xml:"first_name,omitempty"` ID *int `json:"id,omitempty" xml:"id,omitempty"` LastName *string `json:"last_name,omitempty" xml:"last_name,omitempty"` Password *string `json:"password,omitempty" xml:"password,omitempty"` Role *string `json:"role,omitempty" xml:"role,omitempty"` Validated *bool `json:"validated,omitempty" xml:"validated,omitempty"` ValidationCode *string `json:"validation_code,omitempty" xml:"validation_code,omitempty"` }
UpdateAdminuserPayload is the adminuser update action payload.
type UpdateEventPayload ¶
type UpdateEventPayload struct { EndDate *time.Time `json:"end_date,omitempty" xml:"end_date,omitempty"` Name *string `json:"name,omitempty" xml:"name,omitempty"` StartDate *time.Time `json:"start_date,omitempty" xml:"start_date,omitempty"` URL *string `json:"url,omitempty" xml:"url,omitempty"` }
UpdateEventPayload is the event update action payload.
type UpdatePresentationPayload ¶
type UpdatePresentationPayload struct { Abstract *string `json:"abstract,omitempty" xml:"abstract,omitempty"` Detail *string `json:"detail,omitempty" xml:"detail,omitempty"` Name *string `json:"name,omitempty" xml:"name,omitempty"` }
UpdatePresentationPayload is the presentation update action payload.
type UpdateSeriesPayload ¶
type UpdateSeriesPayload struct {
Name *string `json:"name,omitempty" xml:"name,omitempty"`
}
UpdateSeriesPayload is the series update action payload.
type UpdateSpeakerPayload ¶
type UpdateSpeakerPayload struct { Bio *string `json:"bio,omitempty" xml:"bio,omitempty"` FirstName *string `json:"first_name,omitempty" xml:"first_name,omitempty"` Github *string `json:"github,omitempty" xml:"github,omitempty"` ImageURL *string `json:"image_url,omitempty" xml:"image_url,omitempty"` LastName *string `json:"last_name,omitempty" xml:"last_name,omitempty"` Linkedin *string `json:"linkedin,omitempty" xml:"linkedin,omitempty"` Twitter *string `json:"twitter,omitempty" xml:"twitter,omitempty"` }
UpdateSpeakerPayload is the speaker update action payload.
type UpdateTenantPayload ¶
type UpdateTenantPayload struct {
Name *string `json:"name,omitempty" xml:"name,omitempty"`
}
UpdateTenantPayload is the tenant update action payload.
type UpdateUserPayload ¶
type UpdateUserPayload struct { Email *string `json:"email,omitempty" xml:"email,omitempty"` FirstName *string `json:"first_name,omitempty" xml:"first_name,omitempty"` ID *int `json:"id,omitempty" xml:"id,omitempty"` LastName *string `json:"last_name,omitempty" xml:"last_name,omitempty"` Password *string `json:"password,omitempty" xml:"password,omitempty"` Role *string `json:"role,omitempty" xml:"role,omitempty"` Validated *bool `json:"validated,omitempty" xml:"validated,omitempty"` ValidationCode *string `json:"validation_code,omitempty" xml:"validation_code,omitempty"` }
UpdateUserPayload is the user update action payload.
type User ¶
type User struct { // Activation status Active *bool `json:"active,omitempty" xml:"active,omitempty"` // Email address of user Email *string `json:"email,omitempty" xml:"email,omitempty"` // First name of user FirstName *string `json:"first_name,omitempty" xml:"first_name,omitempty"` // API href of record Href *string `json:"href,omitempty" xml:"href,omitempty"` // ID of record ID *int `json:"id,omitempty" xml:"id,omitempty"` // Last name of user LastName *string `json:"last_name,omitempty" xml:"last_name,omitempty"` // User's role Role *string `json:"role,omitempty" xml:"role,omitempty"` TenantID *int `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"` // Validation status Validated *bool `json:"validated,omitempty" xml:"validated,omitempty"` }
A user belonging to a tenant
func DecodeUser ¶
DecodeUser decodes the User instance encoded in r.
type UserCollection ¶
type UserCollection []*User
UserCollection media type is a collection of User.
func DecodeUserCollection ¶
func DecodeUserCollection(r io.Reader, decoderFn goa.DecoderFunc) (UserCollection, error)
DecodeUserCollection decodes the UserCollection instance encoded in r.