Documentation ¶
Index ¶
- type APIError
- type Client
- func (a *Client) DeleteInvitecodesID(params *DeleteInvitecodesIDParams, authInfo client.AuthInfoWriter) (*DeleteInvitecodesIDOK, error)
- func (a *Client) GetCodes(params *GetCodesParams, authInfo client.AuthInfoWriter) (*GetCodesOK, error)
- func (a *Client) GetDocs(params *GetDocsParams, authInfo client.AuthInfoWriter) (*GetDocsOK, error)
- func (a *Client) GetInvitecodesID(params *GetInvitecodesIDParams, authInfo client.AuthInfoWriter) (*GetInvitecodesIDOK, error)
- func (a *Client) GetNotifications(params *GetNotificationsParams, authInfo client.AuthInfoWriter) (*GetNotificationsOK, error)
- func (a *Client) HeadEmailsName(params *HeadEmailsNameParams, authInfo client.AuthInfoWriter) (*HeadEmailsNameOK, error)
- func (a *Client) HeadPhonesName(params *HeadPhonesNameParams, authInfo client.AuthInfoWriter) (*HeadPhonesNameOK, error)
- func (a *Client) PostInvitecodes(params *PostInvitecodesParams, authInfo client.AuthInfoWriter) (*PostInvitecodesCreated, error)
- func (a *Client) PostInvites(params *PostInvitesParams, authInfo client.AuthInfoWriter) (*PostInvitesOK, error)
- func (a *Client) PostSendmail(params *PostSendmailParams, authInfo client.AuthInfoWriter) (*PostSendmailOK, error)
- func (a *Client) PutInvitecodesID(params *PutInvitecodesIDParams, authInfo client.AuthInfoWriter) (*PutInvitecodesIDOK, error)
- func (a *Client) PutNotificationsMarkasread(params *PutNotificationsMarkasreadParams, authInfo client.AuthInfoWriter) (*PutNotificationsMarkasreadOK, error)
- func (a *Client) SetTransport(transport client.Transport)
- type DeleteInvitecodesIDBadRequest
- type DeleteInvitecodesIDForbidden
- type DeleteInvitecodesIDInternalServerError
- type DeleteInvitecodesIDNotFound
- type DeleteInvitecodesIDOK
- type DeleteInvitecodesIDParams
- type DeleteInvitecodesIDReader
- type DeleteInvitecodesIDUnauthorized
- type GetCodesOK
- type GetCodesParams
- type GetCodesReader
- type GetDocsOK
- type GetDocsOKBodyBody
- type GetDocsParams
- type GetDocsReader
- type GetInvitecodesIDNotFound
- type GetInvitecodesIDOK
- type GetInvitecodesIDParams
- type GetInvitecodesIDReader
- type GetNotificationsOK
- type GetNotificationsParams
- type GetNotificationsReader
- type HeadEmailsNameNotFound
- type HeadEmailsNameOK
- type HeadEmailsNameParams
- type HeadEmailsNameReader
- type HeadPhonesNameNotFound
- type HeadPhonesNameOK
- type HeadPhonesNameParams
- type HeadPhonesNameReader
- type PostInvitecodesBadRequest
- type PostInvitecodesCreated
- type PostInvitecodesForbidden
- type PostInvitecodesInternalServerError
- type PostInvitecodesParams
- type PostInvitecodesReader
- type PostInvitecodesUnauthorized
- type PostInvitesBadRequest
- type PostInvitesForbidden
- type PostInvitesInternalServerError
- type PostInvitesOK
- type PostInvitesParams
- type PostInvitesReader
- type PostInvitesUnauthorized
- type PostSendmailOK
- type PostSendmailParams
- type PostSendmailReader
- type PutInvitecodesIDBadRequest
- type PutInvitecodesIDForbidden
- type PutInvitecodesIDInternalServerError
- type PutInvitecodesIDNotFound
- type PutInvitecodesIDOK
- type PutInvitecodesIDParams
- type PutInvitecodesIDReader
- type PutInvitecodesIDUnauthorized
- type PutNotificationsMarkasreadOK
- type PutNotificationsMarkasreadParams
- type PutNotificationsMarkasreadReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
APIError wraps an error model and captures the status code
func NewAPIError ¶
NewAPIError creates a new API error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for misc API
func (*Client) DeleteInvitecodesID ¶
func (a *Client) DeleteInvitecodesID(params *DeleteInvitecodesIDParams, authInfo client.AuthInfoWriter) (*DeleteInvitecodesIDOK, error)
删除邀请码
删除指定邀请码
func (*Client) GetCodes ¶
func (a *Client) GetCodes(params *GetCodesParams, authInfo client.AuthInfoWriter) (*GetCodesOK, error)
获取分类信息码表
获取分类信息码表
func (*Client) GetDocs ¶
func (a *Client) GetDocs(params *GetDocsParams, authInfo client.AuthInfoWriter) (*GetDocsOK, error)
获取静态文件列表
获取静态文件列表
func (*Client) GetInvitecodesID ¶
func (a *Client) GetInvitecodesID(params *GetInvitecodesIDParams, authInfo client.AuthInfoWriter) (*GetInvitecodesIDOK, error)
查询邀请码
得到指定邀请码的具体信息
func (*Client) GetNotifications ¶
func (a *Client) GetNotifications(params *GetNotificationsParams, authInfo client.AuthInfoWriter) (*GetNotificationsOK, error)
拉取通知
拉取通知
func (*Client) HeadEmailsName ¶
func (a *Client) HeadEmailsName(params *HeadEmailsNameParams, authInfo client.AuthInfoWriter) (*HeadEmailsNameOK, error)
检查邮箱地址是否被用
检查邮箱地址是否被用
func (*Client) HeadPhonesName ¶
func (a *Client) HeadPhonesName(params *HeadPhonesNameParams, authInfo client.AuthInfoWriter) (*HeadPhonesNameOK, error)
检查电话号码是否被用
检查电话号码是否被用
func (*Client) PostInvitecodes ¶
func (a *Client) PostInvitecodes(params *PostInvitecodesParams, authInfo client.AuthInfoWriter) (*PostInvitecodesCreated, error)
生成邀请码
根据请求生成邀请码
func (*Client) PostInvites ¶
func (a *Client) PostInvites(params *PostInvitesParams, authInfo client.AuthInfoWriter) (*PostInvitesOK, error)
邀请注册
通过邮件或电话邀请注册
func (*Client) PostSendmail ¶
func (a *Client) PostSendmail(params *PostSendmailParams, authInfo client.AuthInfoWriter) (*PostSendmailOK, error)
发送邮件
发送邮件
func (*Client) PutInvitecodesID ¶
func (a *Client) PutInvitecodesID(params *PutInvitecodesIDParams, authInfo client.AuthInfoWriter) (*PutInvitecodesIDOK, error)
更新邀请码
根据请求中指定要更新的属性对邀请码进行更新
func (*Client) PutNotificationsMarkasread ¶
func (a *Client) PutNotificationsMarkasread(params *PutNotificationsMarkasreadParams, authInfo client.AuthInfoWriter) (*PutNotificationsMarkasreadOK, error)
更新通知为已读
更新通知为已读
func (*Client) SetTransport ¶
SetTransport changes the transport on the client
type DeleteInvitecodesIDBadRequest ¶
DeleteInvitecodesIDBadRequest
无效请求
func NewDeleteInvitecodesIDBadRequest ¶
func NewDeleteInvitecodesIDBadRequest() *DeleteInvitecodesIDBadRequest
NewDeleteInvitecodesIDBadRequest creates a DeleteInvitecodesIDBadRequest with default headers values
func (*DeleteInvitecodesIDBadRequest) Error ¶
func (o *DeleteInvitecodesIDBadRequest) Error() string
type DeleteInvitecodesIDForbidden ¶
DeleteInvitecodesIDForbidden
无访问权限
func NewDeleteInvitecodesIDForbidden ¶
func NewDeleteInvitecodesIDForbidden() *DeleteInvitecodesIDForbidden
NewDeleteInvitecodesIDForbidden creates a DeleteInvitecodesIDForbidden with default headers values
func (*DeleteInvitecodesIDForbidden) Error ¶
func (o *DeleteInvitecodesIDForbidden) Error() string
type DeleteInvitecodesIDInternalServerError ¶
DeleteInvitecodesIDInternalServerError
服务端内部错误
func NewDeleteInvitecodesIDInternalServerError ¶
func NewDeleteInvitecodesIDInternalServerError() *DeleteInvitecodesIDInternalServerError
NewDeleteInvitecodesIDInternalServerError creates a DeleteInvitecodesIDInternalServerError with default headers values
func (*DeleteInvitecodesIDInternalServerError) Error ¶
func (o *DeleteInvitecodesIDInternalServerError) Error() string
type DeleteInvitecodesIDNotFound ¶
DeleteInvitecodesIDNotFound
没找到指定对象
func NewDeleteInvitecodesIDNotFound ¶
func NewDeleteInvitecodesIDNotFound() *DeleteInvitecodesIDNotFound
NewDeleteInvitecodesIDNotFound creates a DeleteInvitecodesIDNotFound with default headers values
func (*DeleteInvitecodesIDNotFound) Error ¶
func (o *DeleteInvitecodesIDNotFound) Error() string
type DeleteInvitecodesIDOK ¶
type DeleteInvitecodesIDOK struct { }
DeleteInvitecodesIDOK
成功删除邀请码
func NewDeleteInvitecodesIDOK ¶
func NewDeleteInvitecodesIDOK() *DeleteInvitecodesIDOK
NewDeleteInvitecodesIDOK creates a DeleteInvitecodesIDOK with default headers values
func (*DeleteInvitecodesIDOK) Error ¶
func (o *DeleteInvitecodesIDOK) Error() string
type DeleteInvitecodesIDParams ¶
type DeleteInvitecodesIDParams struct { /*ID 邀请码ID */ ID int64 }
DeleteInvitecodesIDParams contains all the parameters to send to the API endpoint for the delete invitecodes ID operation typically these are written to a http.Request
func NewDeleteInvitecodesIDParams ¶
func NewDeleteInvitecodesIDParams() *DeleteInvitecodesIDParams
NewDeleteInvitecodesIDParams creates a new DeleteInvitecodesIDParams object with the default values initialized.
func (*DeleteInvitecodesIDParams) WithID ¶
func (o *DeleteInvitecodesIDParams) WithID(id int64) *DeleteInvitecodesIDParams
WithID adds the id to the delete invitecodes ID params
func (*DeleteInvitecodesIDParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type DeleteInvitecodesIDReader ¶
type DeleteInvitecodesIDReader struct {
// contains filtered or unexported fields
}
func (*DeleteInvitecodesIDReader) ReadResponse ¶
type DeleteInvitecodesIDUnauthorized ¶
type DeleteInvitecodesIDUnauthorized struct {
}DeleteInvitecodesIDUnauthorized
未认证
func NewDeleteInvitecodesIDUnauthorized ¶
func NewDeleteInvitecodesIDUnauthorized() *DeleteInvitecodesIDUnauthorized
NewDeleteInvitecodesIDUnauthorized creates a DeleteInvitecodesIDUnauthorized with default headers values
func (*DeleteInvitecodesIDUnauthorized) Error ¶
func (o *DeleteInvitecodesIDUnauthorized) Error() string
type GetCodesOK ¶
GetCodesOK
成功获取
func NewGetCodesOK ¶
func NewGetCodesOK() *GetCodesOK
NewGetCodesOK creates a GetCodesOK with default headers values
func (*GetCodesOK) Error ¶
func (o *GetCodesOK) Error() string
type GetCodesParams ¶
type GetCodesParams struct { }
GetCodesParams contains all the parameters to send to the API endpoint for the get codes operation typically these are written to a http.Request
func NewGetCodesParams ¶
func NewGetCodesParams() *GetCodesParams
NewGetCodesParams creates a new GetCodesParams object with the default values initialized.
func (*GetCodesParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetCodesReader ¶
type GetCodesReader struct {
// contains filtered or unexported fields
}
func (*GetCodesReader) ReadResponse ¶
type GetDocsOK ¶
type GetDocsOK struct {
Payload GetDocsOKBodyBody
}
GetDocsOK
成功获取
func NewGetDocsOK ¶
func NewGetDocsOK() *GetDocsOK
NewGetDocsOK creates a GetDocsOK with default headers values
type GetDocsOKBodyBody ¶
GetDocsOKBodyBody GetDocsOKBodyBody get docs o k body body
swagger:model GetDocsOKBodyBody
type GetDocsParams ¶
type GetDocsParams struct { }
GetDocsParams contains all the parameters to send to the API endpoint for the get docs operation typically these are written to a http.Request
func NewGetDocsParams ¶
func NewGetDocsParams() *GetDocsParams
NewGetDocsParams creates a new GetDocsParams object with the default values initialized.
func (*GetDocsParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetDocsReader ¶
type GetDocsReader struct {
// contains filtered or unexported fields
}
func (*GetDocsReader) ReadResponse ¶
type GetInvitecodesIDNotFound ¶
GetInvitecodesIDNotFound
没找到指定对象
func NewGetInvitecodesIDNotFound ¶
func NewGetInvitecodesIDNotFound() *GetInvitecodesIDNotFound
NewGetInvitecodesIDNotFound creates a GetInvitecodesIDNotFound with default headers values
func (*GetInvitecodesIDNotFound) Error ¶
func (o *GetInvitecodesIDNotFound) Error() string
type GetInvitecodesIDOK ¶
type GetInvitecodesIDOK struct {
Payload *models.InviteCode
}
GetInvitecodesIDOK
成功查询邀请码
func NewGetInvitecodesIDOK ¶
func NewGetInvitecodesIDOK() *GetInvitecodesIDOK
NewGetInvitecodesIDOK creates a GetInvitecodesIDOK with default headers values
func (*GetInvitecodesIDOK) Error ¶
func (o *GetInvitecodesIDOK) Error() string
type GetInvitecodesIDParams ¶
type GetInvitecodesIDParams struct { /*ID 邀请码ID */ ID int64 }
GetInvitecodesIDParams contains all the parameters to send to the API endpoint for the get invitecodes ID operation typically these are written to a http.Request
func NewGetInvitecodesIDParams ¶
func NewGetInvitecodesIDParams() *GetInvitecodesIDParams
NewGetInvitecodesIDParams creates a new GetInvitecodesIDParams object with the default values initialized.
func (*GetInvitecodesIDParams) WithID ¶
func (o *GetInvitecodesIDParams) WithID(id int64) *GetInvitecodesIDParams
WithID adds the id to the get invitecodes ID params
func (*GetInvitecodesIDParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetInvitecodesIDReader ¶
type GetInvitecodesIDReader struct {
// contains filtered or unexported fields
}
func (*GetInvitecodesIDReader) ReadResponse ¶
type GetNotificationsOK ¶
type GetNotificationsOK struct {
Payload *models.NotificationPageableResult
}
GetNotificationsOK
通知列表
func NewGetNotificationsOK ¶
func NewGetNotificationsOK() *GetNotificationsOK
NewGetNotificationsOK creates a GetNotificationsOK with default headers values
func (*GetNotificationsOK) Error ¶
func (o *GetNotificationsOK) Error() string
type GetNotificationsParams ¶
GetNotificationsParams contains all the parameters to send to the API endpoint for the get notifications operation typically these are written to a http.Request
func NewGetNotificationsParams ¶
func NewGetNotificationsParams() *GetNotificationsParams
NewGetNotificationsParams creates a new GetNotificationsParams object with the default values initialized.
func (*GetNotificationsParams) WithPage ¶
func (o *GetNotificationsParams) WithPage(page int64) *GetNotificationsParams
WithPage adds the page to the get notifications params
func (*GetNotificationsParams) WithPagesize ¶
func (o *GetNotificationsParams) WithPagesize(pagesize int64) *GetNotificationsParams
WithPagesize adds the pagesize to the get notifications params
func (*GetNotificationsParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetNotificationsReader ¶
type GetNotificationsReader struct {
// contains filtered or unexported fields
}
func (*GetNotificationsReader) ReadResponse ¶
type HeadEmailsNameNotFound ¶
type HeadEmailsNameNotFound struct { }
HeadEmailsNameNotFound
邮箱未被占用
func NewHeadEmailsNameNotFound ¶
func NewHeadEmailsNameNotFound() *HeadEmailsNameNotFound
NewHeadEmailsNameNotFound creates a HeadEmailsNameNotFound with default headers values
func (*HeadEmailsNameNotFound) Error ¶
func (o *HeadEmailsNameNotFound) Error() string
type HeadEmailsNameOK ¶
type HeadEmailsNameOK struct { }
HeadEmailsNameOK
邮箱已被占用
func NewHeadEmailsNameOK ¶
func NewHeadEmailsNameOK() *HeadEmailsNameOK
NewHeadEmailsNameOK creates a HeadEmailsNameOK with default headers values
func (*HeadEmailsNameOK) Error ¶
func (o *HeadEmailsNameOK) Error() string
type HeadEmailsNameParams ¶
type HeadEmailsNameParams struct { /*Name 邮箱地址 */ Name string }
HeadEmailsNameParams contains all the parameters to send to the API endpoint for the head emails name operation typically these are written to a http.Request
func NewHeadEmailsNameParams ¶
func NewHeadEmailsNameParams() *HeadEmailsNameParams
NewHeadEmailsNameParams creates a new HeadEmailsNameParams object with the default values initialized.
func (*HeadEmailsNameParams) WithName ¶
func (o *HeadEmailsNameParams) WithName(name string) *HeadEmailsNameParams
WithName adds the name to the head emails name params
func (*HeadEmailsNameParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type HeadEmailsNameReader ¶
type HeadEmailsNameReader struct {
// contains filtered or unexported fields
}
func (*HeadEmailsNameReader) ReadResponse ¶
type HeadPhonesNameNotFound ¶
type HeadPhonesNameNotFound struct { }
HeadPhonesNameNotFound
电话未被占用
func NewHeadPhonesNameNotFound ¶
func NewHeadPhonesNameNotFound() *HeadPhonesNameNotFound
NewHeadPhonesNameNotFound creates a HeadPhonesNameNotFound with default headers values
func (*HeadPhonesNameNotFound) Error ¶
func (o *HeadPhonesNameNotFound) Error() string
type HeadPhonesNameOK ¶
type HeadPhonesNameOK struct { }
HeadPhonesNameOK
电话已被占用
func NewHeadPhonesNameOK ¶
func NewHeadPhonesNameOK() *HeadPhonesNameOK
NewHeadPhonesNameOK creates a HeadPhonesNameOK with default headers values
func (*HeadPhonesNameOK) Error ¶
func (o *HeadPhonesNameOK) Error() string
type HeadPhonesNameParams ¶
type HeadPhonesNameParams struct { /*Name 电话号码 */ Name string }
HeadPhonesNameParams contains all the parameters to send to the API endpoint for the head phones name operation typically these are written to a http.Request
func NewHeadPhonesNameParams ¶
func NewHeadPhonesNameParams() *HeadPhonesNameParams
NewHeadPhonesNameParams creates a new HeadPhonesNameParams object with the default values initialized.
func (*HeadPhonesNameParams) WithName ¶
func (o *HeadPhonesNameParams) WithName(name string) *HeadPhonesNameParams
WithName adds the name to the head phones name params
func (*HeadPhonesNameParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type HeadPhonesNameReader ¶
type HeadPhonesNameReader struct {
// contains filtered or unexported fields
}
func (*HeadPhonesNameReader) ReadResponse ¶
type PostInvitecodesBadRequest ¶
PostInvitecodesBadRequest
无效请求
func NewPostInvitecodesBadRequest ¶
func NewPostInvitecodesBadRequest() *PostInvitecodesBadRequest
NewPostInvitecodesBadRequest creates a PostInvitecodesBadRequest with default headers values
func (*PostInvitecodesBadRequest) Error ¶
func (o *PostInvitecodesBadRequest) Error() string
type PostInvitecodesCreated ¶
type PostInvitecodesCreated struct {
Payload *models.InviteCode
}
PostInvitecodesCreated
成功生成邀请码
func NewPostInvitecodesCreated ¶
func NewPostInvitecodesCreated() *PostInvitecodesCreated
NewPostInvitecodesCreated creates a PostInvitecodesCreated with default headers values
func (*PostInvitecodesCreated) Error ¶
func (o *PostInvitecodesCreated) Error() string
type PostInvitecodesForbidden ¶
PostInvitecodesForbidden
无访问权限
func NewPostInvitecodesForbidden ¶
func NewPostInvitecodesForbidden() *PostInvitecodesForbidden
NewPostInvitecodesForbidden creates a PostInvitecodesForbidden with default headers values
func (*PostInvitecodesForbidden) Error ¶
func (o *PostInvitecodesForbidden) Error() string
type PostInvitecodesInternalServerError ¶
PostInvitecodesInternalServerError
服务端内部错误
func NewPostInvitecodesInternalServerError ¶
func NewPostInvitecodesInternalServerError() *PostInvitecodesInternalServerError
NewPostInvitecodesInternalServerError creates a PostInvitecodesInternalServerError with default headers values
func (*PostInvitecodesInternalServerError) Error ¶
func (o *PostInvitecodesInternalServerError) Error() string
type PostInvitecodesParams ¶
type PostInvitecodesParams struct { /*Body*/ Body *models.CreateInviteCodeRequest }
PostInvitecodesParams contains all the parameters to send to the API endpoint for the post invitecodes operation typically these are written to a http.Request
func NewPostInvitecodesParams ¶
func NewPostInvitecodesParams() *PostInvitecodesParams
NewPostInvitecodesParams creates a new PostInvitecodesParams object with the default values initialized.
func (*PostInvitecodesParams) WithBody ¶
func (o *PostInvitecodesParams) WithBody(body *models.CreateInviteCodeRequest) *PostInvitecodesParams
WithBody adds the body to the post invitecodes params
func (*PostInvitecodesParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PostInvitecodesReader ¶
type PostInvitecodesReader struct {
// contains filtered or unexported fields
}
func (*PostInvitecodesReader) ReadResponse ¶
type PostInvitecodesUnauthorized ¶
type PostInvitecodesUnauthorized struct {
}PostInvitecodesUnauthorized
未认证
func NewPostInvitecodesUnauthorized ¶
func NewPostInvitecodesUnauthorized() *PostInvitecodesUnauthorized
NewPostInvitecodesUnauthorized creates a PostInvitecodesUnauthorized with default headers values
func (*PostInvitecodesUnauthorized) Error ¶
func (o *PostInvitecodesUnauthorized) Error() string
type PostInvitesBadRequest ¶
PostInvitesBadRequest
无效请求
func NewPostInvitesBadRequest ¶
func NewPostInvitesBadRequest() *PostInvitesBadRequest
NewPostInvitesBadRequest creates a PostInvitesBadRequest with default headers values
func (*PostInvitesBadRequest) Error ¶
func (o *PostInvitesBadRequest) Error() string
type PostInvitesForbidden ¶
PostInvitesForbidden
无访问权限
func NewPostInvitesForbidden ¶
func NewPostInvitesForbidden() *PostInvitesForbidden
NewPostInvitesForbidden creates a PostInvitesForbidden with default headers values
func (*PostInvitesForbidden) Error ¶
func (o *PostInvitesForbidden) Error() string
type PostInvitesInternalServerError ¶
PostInvitesInternalServerError
服务端内部错误
func NewPostInvitesInternalServerError ¶
func NewPostInvitesInternalServerError() *PostInvitesInternalServerError
NewPostInvitesInternalServerError creates a PostInvitesInternalServerError with default headers values
func (*PostInvitesInternalServerError) Error ¶
func (o *PostInvitesInternalServerError) Error() string
type PostInvitesOK ¶
type PostInvitesOK struct {
Payload *models.InviteCode
}
PostInvitesOK
成功邀请
func NewPostInvitesOK ¶
func NewPostInvitesOK() *PostInvitesOK
NewPostInvitesOK creates a PostInvitesOK with default headers values
func (*PostInvitesOK) Error ¶
func (o *PostInvitesOK) Error() string
type PostInvitesParams ¶
type PostInvitesParams struct { /*Body 邮件地址列表 */ Body []string }
PostInvitesParams contains all the parameters to send to the API endpoint for the post invites operation typically these are written to a http.Request
func NewPostInvitesParams ¶
func NewPostInvitesParams() *PostInvitesParams
NewPostInvitesParams creates a new PostInvitesParams object with the default values initialized.
func (*PostInvitesParams) WithBody ¶
func (o *PostInvitesParams) WithBody(body []string) *PostInvitesParams
WithBody adds the body to the post invites params
func (*PostInvitesParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PostInvitesReader ¶
type PostInvitesReader struct {
// contains filtered or unexported fields
}
func (*PostInvitesReader) ReadResponse ¶
type PostInvitesUnauthorized ¶
type PostInvitesUnauthorized struct {
}PostInvitesUnauthorized
未认证
func NewPostInvitesUnauthorized ¶
func NewPostInvitesUnauthorized() *PostInvitesUnauthorized
NewPostInvitesUnauthorized creates a PostInvitesUnauthorized with default headers values
func (*PostInvitesUnauthorized) Error ¶
func (o *PostInvitesUnauthorized) Error() string
type PostSendmailOK ¶
type PostSendmailOK struct { }
PostSendmailOK
成功发送
func NewPostSendmailOK ¶
func NewPostSendmailOK() *PostSendmailOK
NewPostSendmailOK creates a PostSendmailOK with default headers values
func (*PostSendmailOK) Error ¶
func (o *PostSendmailOK) Error() string
type PostSendmailParams ¶
type PostSendmailParams struct { /*Body*/ Body *models.SendMailRequest }
PostSendmailParams contains all the parameters to send to the API endpoint for the post sendmail operation typically these are written to a http.Request
func NewPostSendmailParams ¶
func NewPostSendmailParams() *PostSendmailParams
NewPostSendmailParams creates a new PostSendmailParams object with the default values initialized.
func (*PostSendmailParams) WithBody ¶
func (o *PostSendmailParams) WithBody(body *models.SendMailRequest) *PostSendmailParams
WithBody adds the body to the post sendmail params
func (*PostSendmailParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PostSendmailReader ¶
type PostSendmailReader struct {
// contains filtered or unexported fields
}
func (*PostSendmailReader) ReadResponse ¶
type PutInvitecodesIDBadRequest ¶
PutInvitecodesIDBadRequest
无效请求
func NewPutInvitecodesIDBadRequest ¶
func NewPutInvitecodesIDBadRequest() *PutInvitecodesIDBadRequest
NewPutInvitecodesIDBadRequest creates a PutInvitecodesIDBadRequest with default headers values
func (*PutInvitecodesIDBadRequest) Error ¶
func (o *PutInvitecodesIDBadRequest) Error() string
type PutInvitecodesIDForbidden ¶
PutInvitecodesIDForbidden
无访问权限
func NewPutInvitecodesIDForbidden ¶
func NewPutInvitecodesIDForbidden() *PutInvitecodesIDForbidden
NewPutInvitecodesIDForbidden creates a PutInvitecodesIDForbidden with default headers values
func (*PutInvitecodesIDForbidden) Error ¶
func (o *PutInvitecodesIDForbidden) Error() string
type PutInvitecodesIDInternalServerError ¶
PutInvitecodesIDInternalServerError
服务端内部错误
func NewPutInvitecodesIDInternalServerError ¶
func NewPutInvitecodesIDInternalServerError() *PutInvitecodesIDInternalServerError
NewPutInvitecodesIDInternalServerError creates a PutInvitecodesIDInternalServerError with default headers values
func (*PutInvitecodesIDInternalServerError) Error ¶
func (o *PutInvitecodesIDInternalServerError) Error() string
type PutInvitecodesIDNotFound ¶
PutInvitecodesIDNotFound
没找到指定对象
func NewPutInvitecodesIDNotFound ¶
func NewPutInvitecodesIDNotFound() *PutInvitecodesIDNotFound
NewPutInvitecodesIDNotFound creates a PutInvitecodesIDNotFound with default headers values
func (*PutInvitecodesIDNotFound) Error ¶
func (o *PutInvitecodesIDNotFound) Error() string
type PutInvitecodesIDOK ¶
type PutInvitecodesIDOK struct {
Payload *models.InviteCode
}
PutInvitecodesIDOK
成功更新邀请码
func NewPutInvitecodesIDOK ¶
func NewPutInvitecodesIDOK() *PutInvitecodesIDOK
NewPutInvitecodesIDOK creates a PutInvitecodesIDOK with default headers values
func (*PutInvitecodesIDOK) Error ¶
func (o *PutInvitecodesIDOK) Error() string
type PutInvitecodesIDParams ¶
type PutInvitecodesIDParams struct { /*Body*/ Body *models.UpdateInviteCodeRequest /*ID 邀请码ID */ ID int64 }
PutInvitecodesIDParams contains all the parameters to send to the API endpoint for the put invitecodes ID operation typically these are written to a http.Request
func NewPutInvitecodesIDParams ¶
func NewPutInvitecodesIDParams() *PutInvitecodesIDParams
NewPutInvitecodesIDParams creates a new PutInvitecodesIDParams object with the default values initialized.
func (*PutInvitecodesIDParams) WithBody ¶
func (o *PutInvitecodesIDParams) WithBody(body *models.UpdateInviteCodeRequest) *PutInvitecodesIDParams
WithBody adds the body to the put invitecodes ID params
func (*PutInvitecodesIDParams) WithID ¶
func (o *PutInvitecodesIDParams) WithID(id int64) *PutInvitecodesIDParams
WithID adds the id to the put invitecodes ID params
func (*PutInvitecodesIDParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PutInvitecodesIDReader ¶
type PutInvitecodesIDReader struct {
// contains filtered or unexported fields
}
func (*PutInvitecodesIDReader) ReadResponse ¶
type PutInvitecodesIDUnauthorized ¶
type PutInvitecodesIDUnauthorized struct {
}PutInvitecodesIDUnauthorized
未认证
func NewPutInvitecodesIDUnauthorized ¶
func NewPutInvitecodesIDUnauthorized() *PutInvitecodesIDUnauthorized
NewPutInvitecodesIDUnauthorized creates a PutInvitecodesIDUnauthorized with default headers values
func (*PutInvitecodesIDUnauthorized) Error ¶
func (o *PutInvitecodesIDUnauthorized) Error() string
type PutNotificationsMarkasreadOK ¶
type PutNotificationsMarkasreadOK struct { }
PutNotificationsMarkasreadOK
成功更新
func NewPutNotificationsMarkasreadOK ¶
func NewPutNotificationsMarkasreadOK() *PutNotificationsMarkasreadOK
NewPutNotificationsMarkasreadOK creates a PutNotificationsMarkasreadOK with default headers values
func (*PutNotificationsMarkasreadOK) Error ¶
func (o *PutNotificationsMarkasreadOK) Error() string
type PutNotificationsMarkasreadParams ¶
type PutNotificationsMarkasreadParams struct { /*Body 通知ID列表 */ Body []int64 }
PutNotificationsMarkasreadParams contains all the parameters to send to the API endpoint for the put notifications markasread operation typically these are written to a http.Request
func NewPutNotificationsMarkasreadParams ¶
func NewPutNotificationsMarkasreadParams() *PutNotificationsMarkasreadParams
NewPutNotificationsMarkasreadParams creates a new PutNotificationsMarkasreadParams object with the default values initialized.
func (*PutNotificationsMarkasreadParams) WithBody ¶
func (o *PutNotificationsMarkasreadParams) WithBody(body []int64) *PutNotificationsMarkasreadParams
WithBody adds the body to the put notifications markasread params
func (*PutNotificationsMarkasreadParams) WriteToRequest ¶
func (o *PutNotificationsMarkasreadParams) WriteToRequest(r client.Request, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutNotificationsMarkasreadReader ¶
type PutNotificationsMarkasreadReader struct {
// contains filtered or unexported fields
}
func (*PutNotificationsMarkasreadReader) ReadResponse ¶
Source Files ¶
- delete_invitecodes_id_parameters.go
- delete_invitecodes_id_responses.go
- get_codes_parameters.go
- get_codes_responses.go
- get_docs_parameters.go
- get_docs_responses.go
- get_invitecodes_id_parameters.go
- get_invitecodes_id_responses.go
- get_notifications_parameters.go
- get_notifications_responses.go
- head_emails_name_parameters.go
- head_emails_name_responses.go
- head_phones_name_parameters.go
- head_phones_name_responses.go
- misc_client.go
- post_invitecodes_parameters.go
- post_invitecodes_responses.go
- post_invites_parameters.go
- post_invites_responses.go
- post_sendmail_parameters.go
- post_sendmail_responses.go
- put_invitecodes_id_parameters.go
- put_invitecodes_id_responses.go
- put_notifications_markasread_parameters.go
- put_notifications_markasread_responses.go