security

package
v0.0.0-...-64063fb Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {
	OperationName string
	Response      interface{}
	Code          int
}

APIError wraps an error model and captures the status code

func NewAPIError

func NewAPIError(opName string, response interface{}, code int) APIError

NewAPIError creates a new API error

func (APIError) Error

func (a APIError) Error() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for security API

func New

func New(transport client.Transport, formats strfmt.Registry) *Client

New creates a new security API client.

func (*Client) GetCsecQuery

func (a *Client) GetCsecQuery(params *GetCsecQueryParams, authInfo client.AuthInfoWriter) (*GetCsecQueryOK, error)

获取captcha

获取captcha

func (*Client) PostAuthForgot

func (a *Client) PostAuthForgot(params *PostAuthForgotParams, authInfo client.AuthInfoWriter) (*PostAuthForgotOK, error)

忘记密码

忘记密码

func (*Client) PostAuthLogin

func (a *Client) PostAuthLogin(params *PostAuthLoginParams, authInfo client.AuthInfoWriter) (*PostAuthLoginOK, error)

用户登录

通过邮件地址和密码获取token

func (*Client) PostAuthLogout

func (a *Client) PostAuthLogout(params *PostAuthLogoutParams, authInfo client.AuthInfoWriter) (*PostAuthLogoutOK, error)

用户登出

用户登出,使token无效

func (*Client) PostAuthRefresh

func (a *Client) PostAuthRefresh(params *PostAuthRefreshParams, authInfo client.AuthInfoWriter) (*PostAuthRefreshOK, error)

刷新token

在token的有效时间内刷新token

func (*Client) PostAuthReset

func (a *Client) PostAuthReset(params *PostAuthResetParams, authInfo client.AuthInfoWriter) (*PostAuthResetOK, error)

重设密码

重设密码

func (*Client) PostCsecCheck

func (a *Client) PostCsecCheck(params *PostCsecCheckParams, authInfo client.AuthInfoWriter) (*PostCsecCheckOK, error)

验证aptcha

验证captcha

func (*Client) PostEmployeeLogin

func (a *Client) PostEmployeeLogin(params *PostEmployeeLoginParams, authInfo client.AuthInfoWriter) (*PostEmployeeLoginOK, error)

创业公司员工登录

通过邮件地址和密码获取token

func (*Client) PostExpertLogin

func (a *Client) PostExpertLogin(params *PostExpertLoginParams, authInfo client.AuthInfoWriter) (*PostExpertLoginOK, error)

专家登录

通过邮件地址和密码获取token

func (*Client) PostOperatorLogin

func (a *Client) PostOperatorLogin(params *PostOperatorLoginParams, authInfo client.AuthInfoWriter) (*PostOperatorLoginOK, error)

运营登录

通过邮件地址和密码获取token

func (*Client) PostOssSignature

func (a *Client) PostOssSignature(params *PostOssSignatureParams, authInfo client.AuthInfoWriter) (*PostOssSignatureOK, error)

获取OSS签名

获取OSS签名

func (*Client) PostSts

func (a *Client) PostSts(params *PostStsParams, authInfo client.AuthInfoWriter) (*PostStsOK, error)

获取STS临时token

获取STS临时token

func (*Client) SetTransport

func (a *Client) SetTransport(transport client.Transport)

SetTransport changes the transport on the client

type GetCsecQueryBadRequest

type GetCsecQueryBadRequest struct {
	Payload *models.Error
}

GetCsecQueryBadRequest

参数无效

func NewGetCsecQueryBadRequest

func NewGetCsecQueryBadRequest() *GetCsecQueryBadRequest

NewGetCsecQueryBadRequest creates a GetCsecQueryBadRequest with default headers values

func (*GetCsecQueryBadRequest) Error

func (o *GetCsecQueryBadRequest) Error() string

type GetCsecQueryInternalServerError

type GetCsecQueryInternalServerError struct {
	Payload *models.Error
}

GetCsecQueryInternalServerError

请求CSEC失败

func NewGetCsecQueryInternalServerError

func NewGetCsecQueryInternalServerError() *GetCsecQueryInternalServerError

NewGetCsecQueryInternalServerError creates a GetCsecQueryInternalServerError with default headers values

func (*GetCsecQueryInternalServerError) Error

type GetCsecQueryOK

type GetCsecQueryOK struct {
}

GetCsecQueryOK

成功从CSEC拉取验证码

func NewGetCsecQueryOK

func NewGetCsecQueryOK() *GetCsecQueryOK

NewGetCsecQueryOK creates a GetCsecQueryOK with default headers values

func (*GetCsecQueryOK) Error

func (o *GetCsecQueryOK) Error() string

type GetCsecQueryParams

type GetCsecQueryParams struct {

	/*Businessid
	  business ID

	*/
	Businessid int64
	/*Captype
	  captcha type

	*/
	Captype int64
	/*Sceneid
	  scene ID

	*/
	Sceneid int64
	/*Userid
	  user ID

	*/
	Userid int64
	/*Userip
	  user IP

	*/
	Userip string
}

GetCsecQueryParams contains all the parameters to send to the API endpoint for the get csec query operation typically these are written to a http.Request

func NewGetCsecQueryParams

func NewGetCsecQueryParams() *GetCsecQueryParams

NewGetCsecQueryParams creates a new GetCsecQueryParams object with the default values initialized.

func (*GetCsecQueryParams) WithBusinessid

func (o *GetCsecQueryParams) WithBusinessid(businessid int64) *GetCsecQueryParams

WithBusinessid adds the businessid to the get csec query params

func (*GetCsecQueryParams) WithCaptype

func (o *GetCsecQueryParams) WithCaptype(captype int64) *GetCsecQueryParams

WithCaptype adds the captype to the get csec query params

func (*GetCsecQueryParams) WithSceneid

func (o *GetCsecQueryParams) WithSceneid(sceneid int64) *GetCsecQueryParams

WithSceneid adds the sceneid to the get csec query params

func (*GetCsecQueryParams) WithUserid

func (o *GetCsecQueryParams) WithUserid(userid int64) *GetCsecQueryParams

WithUserid adds the userid to the get csec query params

func (*GetCsecQueryParams) WithUserip

func (o *GetCsecQueryParams) WithUserip(userip string) *GetCsecQueryParams

WithUserip adds the userip to the get csec query params

func (*GetCsecQueryParams) WriteToRequest

func (o *GetCsecQueryParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCsecQueryReader

type GetCsecQueryReader struct {
	// contains filtered or unexported fields
}

func (*GetCsecQueryReader) ReadResponse

func (o *GetCsecQueryReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostAuthForgotOK

type PostAuthForgotOK struct {
}

PostAuthForgotOK

生成含token的短链并发送给用户邮件

func NewPostAuthForgotOK

func NewPostAuthForgotOK() *PostAuthForgotOK

NewPostAuthForgotOK creates a PostAuthForgotOK with default headers values

func (*PostAuthForgotOK) Error

func (o *PostAuthForgotOK) Error() string

type PostAuthForgotParams

type PostAuthForgotParams struct {

	/*Body
	  邮箱地址

	*/
	Body models.ForgotPasswordRequest
}

PostAuthForgotParams contains all the parameters to send to the API endpoint for the post auth forgot operation typically these are written to a http.Request

func NewPostAuthForgotParams

func NewPostAuthForgotParams() *PostAuthForgotParams

NewPostAuthForgotParams creates a new PostAuthForgotParams object with the default values initialized.

func (*PostAuthForgotParams) WithBody

WithBody adds the body to the post auth forgot params

func (*PostAuthForgotParams) WriteToRequest

func (o *PostAuthForgotParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAuthForgotReader

type PostAuthForgotReader struct {
	// contains filtered or unexported fields
}

func (*PostAuthForgotReader) ReadResponse

func (o *PostAuthForgotReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostAuthLoginBadRequest

type PostAuthLoginBadRequest struct {
	Payload *models.Error
}

PostAuthLoginBadRequest

请求无效

func NewPostAuthLoginBadRequest

func NewPostAuthLoginBadRequest() *PostAuthLoginBadRequest

NewPostAuthLoginBadRequest creates a PostAuthLoginBadRequest with default headers values

func (*PostAuthLoginBadRequest) Error

func (o *PostAuthLoginBadRequest) Error() string

type PostAuthLoginOK

type PostAuthLoginOK struct {
	Payload *models.AuthenticationResponse
}

PostAuthLoginOK

成功获取token

func NewPostAuthLoginOK

func NewPostAuthLoginOK() *PostAuthLoginOK

NewPostAuthLoginOK creates a PostAuthLoginOK with default headers values

func (*PostAuthLoginOK) Error

func (o *PostAuthLoginOK) Error() string

type PostAuthLoginParams

type PostAuthLoginParams struct {

	/*Body*/
	Body *models.AuthenticationRequest
}

PostAuthLoginParams contains all the parameters to send to the API endpoint for the post auth login operation typically these are written to a http.Request

func NewPostAuthLoginParams

func NewPostAuthLoginParams() *PostAuthLoginParams

NewPostAuthLoginParams creates a new PostAuthLoginParams object with the default values initialized.

func (*PostAuthLoginParams) WithBody

WithBody adds the body to the post auth login params

func (*PostAuthLoginParams) WriteToRequest

func (o *PostAuthLoginParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAuthLoginReader

type PostAuthLoginReader struct {
	// contains filtered or unexported fields
}

func (*PostAuthLoginReader) ReadResponse

func (o *PostAuthLoginReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostAuthLoginUnauthorized

type PostAuthLoginUnauthorized struct {
	Payload *models.Error
}

PostAuthLoginUnauthorized

用户名或密码有问题

func NewPostAuthLoginUnauthorized

func NewPostAuthLoginUnauthorized() *PostAuthLoginUnauthorized

NewPostAuthLoginUnauthorized creates a PostAuthLoginUnauthorized with default headers values

func (*PostAuthLoginUnauthorized) Error

func (o *PostAuthLoginUnauthorized) Error() string

type PostAuthLogoutBadRequest

type PostAuthLogoutBadRequest struct {
	Payload *models.Error
}

PostAuthLogoutBadRequest

token无效

func NewPostAuthLogoutBadRequest

func NewPostAuthLogoutBadRequest() *PostAuthLogoutBadRequest

NewPostAuthLogoutBadRequest creates a PostAuthLogoutBadRequest with default headers values

func (*PostAuthLogoutBadRequest) Error

func (o *PostAuthLogoutBadRequest) Error() string

type PostAuthLogoutOK

type PostAuthLogoutOK struct {
}

PostAuthLogoutOK

成功登出

func NewPostAuthLogoutOK

func NewPostAuthLogoutOK() *PostAuthLogoutOK

NewPostAuthLogoutOK creates a PostAuthLogoutOK with default headers values

func (*PostAuthLogoutOK) Error

func (o *PostAuthLogoutOK) Error() string

type PostAuthLogoutParams

type PostAuthLogoutParams struct {
}

PostAuthLogoutParams contains all the parameters to send to the API endpoint for the post auth logout operation typically these are written to a http.Request

func NewPostAuthLogoutParams

func NewPostAuthLogoutParams() *PostAuthLogoutParams

NewPostAuthLogoutParams creates a new PostAuthLogoutParams object with the default values initialized.

func (*PostAuthLogoutParams) WriteToRequest

func (o *PostAuthLogoutParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAuthLogoutReader

type PostAuthLogoutReader struct {
	// contains filtered or unexported fields
}

func (*PostAuthLogoutReader) ReadResponse

func (o *PostAuthLogoutReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostAuthRefreshBadRequest

type PostAuthRefreshBadRequest struct {
	Payload *models.Error
}

PostAuthRefreshBadRequest

token无效

func NewPostAuthRefreshBadRequest

func NewPostAuthRefreshBadRequest() *PostAuthRefreshBadRequest

NewPostAuthRefreshBadRequest creates a PostAuthRefreshBadRequest with default headers values

func (*PostAuthRefreshBadRequest) Error

func (o *PostAuthRefreshBadRequest) Error() string

type PostAuthRefreshOK

type PostAuthRefreshOK struct {
}

PostAuthRefreshOK

成功刷新token

func NewPostAuthRefreshOK

func NewPostAuthRefreshOK() *PostAuthRefreshOK

NewPostAuthRefreshOK creates a PostAuthRefreshOK with default headers values

func (*PostAuthRefreshOK) Error

func (o *PostAuthRefreshOK) Error() string

type PostAuthRefreshParams

type PostAuthRefreshParams struct {
}

PostAuthRefreshParams contains all the parameters to send to the API endpoint for the post auth refresh operation typically these are written to a http.Request

func NewPostAuthRefreshParams

func NewPostAuthRefreshParams() *PostAuthRefreshParams

NewPostAuthRefreshParams creates a new PostAuthRefreshParams object with the default values initialized.

func (*PostAuthRefreshParams) WriteToRequest

func (o *PostAuthRefreshParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAuthRefreshReader

type PostAuthRefreshReader struct {
	// contains filtered or unexported fields
}

func (*PostAuthRefreshReader) ReadResponse

func (o *PostAuthRefreshReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostAuthResetOK

type PostAuthResetOK struct {
}

PostAuthResetOK

成功重设

func NewPostAuthResetOK

func NewPostAuthResetOK() *PostAuthResetOK

NewPostAuthResetOK creates a PostAuthResetOK with default headers values

func (*PostAuthResetOK) Error

func (o *PostAuthResetOK) Error() string

type PostAuthResetParams

type PostAuthResetParams struct {

	/*Body
	  新密码

	*/
	Body models.ResetPasswordRequest
}

PostAuthResetParams contains all the parameters to send to the API endpoint for the post auth reset operation typically these are written to a http.Request

func NewPostAuthResetParams

func NewPostAuthResetParams() *PostAuthResetParams

NewPostAuthResetParams creates a new PostAuthResetParams object with the default values initialized.

func (*PostAuthResetParams) WithBody

WithBody adds the body to the post auth reset params

func (*PostAuthResetParams) WriteToRequest

func (o *PostAuthResetParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAuthResetReader

type PostAuthResetReader struct {
	// contains filtered or unexported fields
}

func (*PostAuthResetReader) ReadResponse

func (o *PostAuthResetReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostCsecCheckBadRequest

type PostCsecCheckBadRequest struct {
	Payload *models.Error
}

PostCsecCheckBadRequest

参数无效

func NewPostCsecCheckBadRequest

func NewPostCsecCheckBadRequest() *PostCsecCheckBadRequest

NewPostCsecCheckBadRequest creates a PostCsecCheckBadRequest with default headers values

func (*PostCsecCheckBadRequest) Error

func (o *PostCsecCheckBadRequest) Error() string

type PostCsecCheckInternalServerError

type PostCsecCheckInternalServerError struct {
	Payload *models.Error
}

PostCsecCheckInternalServerError

请求CSEC失败

func NewPostCsecCheckInternalServerError

func NewPostCsecCheckInternalServerError() *PostCsecCheckInternalServerError

NewPostCsecCheckInternalServerError creates a PostCsecCheckInternalServerError with default headers values

func (*PostCsecCheckInternalServerError) Error

type PostCsecCheckOK

type PostCsecCheckOK struct {
}

PostCsecCheckOK

成功验证

func NewPostCsecCheckOK

func NewPostCsecCheckOK() *PostCsecCheckOK

NewPostCsecCheckOK creates a PostCsecCheckOK with default headers values

func (*PostCsecCheckOK) Error

func (o *PostCsecCheckOK) Error() string

type PostCsecCheckParams

type PostCsecCheckParams struct {

	/*Body
	  CSEC请求

	*/
	Body models.CsecCheckRequest
}

PostCsecCheckParams contains all the parameters to send to the API endpoint for the post csec check operation typically these are written to a http.Request

func NewPostCsecCheckParams

func NewPostCsecCheckParams() *PostCsecCheckParams

NewPostCsecCheckParams creates a new PostCsecCheckParams object with the default values initialized.

func (*PostCsecCheckParams) WithBody

WithBody adds the body to the post csec check params

func (*PostCsecCheckParams) WriteToRequest

func (o *PostCsecCheckParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostCsecCheckReader

type PostCsecCheckReader struct {
	// contains filtered or unexported fields
}

func (*PostCsecCheckReader) ReadResponse

func (o *PostCsecCheckReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostEmployeeLoginBadRequest

type PostEmployeeLoginBadRequest struct {
	Payload *models.Error
}

PostEmployeeLoginBadRequest

请求无效

func NewPostEmployeeLoginBadRequest

func NewPostEmployeeLoginBadRequest() *PostEmployeeLoginBadRequest

NewPostEmployeeLoginBadRequest creates a PostEmployeeLoginBadRequest with default headers values

func (*PostEmployeeLoginBadRequest) Error

type PostEmployeeLoginOK

type PostEmployeeLoginOK struct {
	Payload *models.AuthenticationResponse
}

PostEmployeeLoginOK

成功获取token

func NewPostEmployeeLoginOK

func NewPostEmployeeLoginOK() *PostEmployeeLoginOK

NewPostEmployeeLoginOK creates a PostEmployeeLoginOK with default headers values

func (*PostEmployeeLoginOK) Error

func (o *PostEmployeeLoginOK) Error() string

type PostEmployeeLoginParams

type PostEmployeeLoginParams struct {

	/*Body*/
	Body *models.AuthenticationRequest
}

PostEmployeeLoginParams contains all the parameters to send to the API endpoint for the post employee login operation typically these are written to a http.Request

func NewPostEmployeeLoginParams

func NewPostEmployeeLoginParams() *PostEmployeeLoginParams

NewPostEmployeeLoginParams creates a new PostEmployeeLoginParams object with the default values initialized.

func (*PostEmployeeLoginParams) WithBody

WithBody adds the body to the post employee login params

func (*PostEmployeeLoginParams) WriteToRequest

func (o *PostEmployeeLoginParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostEmployeeLoginReader

type PostEmployeeLoginReader struct {
	// contains filtered or unexported fields
}

func (*PostEmployeeLoginReader) ReadResponse

func (o *PostEmployeeLoginReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostEmployeeLoginUnauthorized

type PostEmployeeLoginUnauthorized struct {
	Payload *models.Error
}

PostEmployeeLoginUnauthorized

用户名或密码有问题

func NewPostEmployeeLoginUnauthorized

func NewPostEmployeeLoginUnauthorized() *PostEmployeeLoginUnauthorized

NewPostEmployeeLoginUnauthorized creates a PostEmployeeLoginUnauthorized with default headers values

func (*PostEmployeeLoginUnauthorized) Error

type PostExpertLoginBadRequest

type PostExpertLoginBadRequest struct {
	Payload *models.Error
}

PostExpertLoginBadRequest

请求无效

func NewPostExpertLoginBadRequest

func NewPostExpertLoginBadRequest() *PostExpertLoginBadRequest

NewPostExpertLoginBadRequest creates a PostExpertLoginBadRequest with default headers values

func (*PostExpertLoginBadRequest) Error

func (o *PostExpertLoginBadRequest) Error() string

type PostExpertLoginOK

type PostExpertLoginOK struct {
	Payload *models.AuthenticationResponse
}

PostExpertLoginOK

成功获取token

func NewPostExpertLoginOK

func NewPostExpertLoginOK() *PostExpertLoginOK

NewPostExpertLoginOK creates a PostExpertLoginOK with default headers values

func (*PostExpertLoginOK) Error

func (o *PostExpertLoginOK) Error() string

type PostExpertLoginParams

type PostExpertLoginParams struct {

	/*Body*/
	Body *models.AuthenticationRequest
}

PostExpertLoginParams contains all the parameters to send to the API endpoint for the post expert login operation typically these are written to a http.Request

func NewPostExpertLoginParams

func NewPostExpertLoginParams() *PostExpertLoginParams

NewPostExpertLoginParams creates a new PostExpertLoginParams object with the default values initialized.

func (*PostExpertLoginParams) WithBody

WithBody adds the body to the post expert login params

func (*PostExpertLoginParams) WriteToRequest

func (o *PostExpertLoginParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostExpertLoginReader

type PostExpertLoginReader struct {
	// contains filtered or unexported fields
}

func (*PostExpertLoginReader) ReadResponse

func (o *PostExpertLoginReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostExpertLoginUnauthorized

type PostExpertLoginUnauthorized struct {
	Payload *models.Error
}

PostExpertLoginUnauthorized

用户名或密码有问题

func NewPostExpertLoginUnauthorized

func NewPostExpertLoginUnauthorized() *PostExpertLoginUnauthorized

NewPostExpertLoginUnauthorized creates a PostExpertLoginUnauthorized with default headers values

func (*PostExpertLoginUnauthorized) Error

type PostOperatorLoginBadRequest

type PostOperatorLoginBadRequest struct {
	Payload *models.Error
}

PostOperatorLoginBadRequest

请求无效

func NewPostOperatorLoginBadRequest

func NewPostOperatorLoginBadRequest() *PostOperatorLoginBadRequest

NewPostOperatorLoginBadRequest creates a PostOperatorLoginBadRequest with default headers values

func (*PostOperatorLoginBadRequest) Error

type PostOperatorLoginOK

type PostOperatorLoginOK struct {
	Payload *models.AuthenticationResponse
}

PostOperatorLoginOK

成功获取token

func NewPostOperatorLoginOK

func NewPostOperatorLoginOK() *PostOperatorLoginOK

NewPostOperatorLoginOK creates a PostOperatorLoginOK with default headers values

func (*PostOperatorLoginOK) Error

func (o *PostOperatorLoginOK) Error() string

type PostOperatorLoginParams

type PostOperatorLoginParams struct {

	/*Body*/
	Body *models.AuthenticationRequest
}

PostOperatorLoginParams contains all the parameters to send to the API endpoint for the post operator login operation typically these are written to a http.Request

func NewPostOperatorLoginParams

func NewPostOperatorLoginParams() *PostOperatorLoginParams

NewPostOperatorLoginParams creates a new PostOperatorLoginParams object with the default values initialized.

func (*PostOperatorLoginParams) WithBody

WithBody adds the body to the post operator login params

func (*PostOperatorLoginParams) WriteToRequest

func (o *PostOperatorLoginParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostOperatorLoginReader

type PostOperatorLoginReader struct {
	// contains filtered or unexported fields
}

func (*PostOperatorLoginReader) ReadResponse

func (o *PostOperatorLoginReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostOperatorLoginUnauthorized

type PostOperatorLoginUnauthorized struct {
	Payload *models.Error
}

PostOperatorLoginUnauthorized

用户名或密码有问题

func NewPostOperatorLoginUnauthorized

func NewPostOperatorLoginUnauthorized() *PostOperatorLoginUnauthorized

NewPostOperatorLoginUnauthorized creates a PostOperatorLoginUnauthorized with default headers values

func (*PostOperatorLoginUnauthorized) Error

type PostOssSignatureBadRequest

type PostOssSignatureBadRequest struct {
	Payload *models.Error
}

PostOssSignatureBadRequest

参数无效

func NewPostOssSignatureBadRequest

func NewPostOssSignatureBadRequest() *PostOssSignatureBadRequest

NewPostOssSignatureBadRequest creates a PostOssSignatureBadRequest with default headers values

func (*PostOssSignatureBadRequest) Error

type PostOssSignatureOK

type PostOssSignatureOK struct {
	Payload *models.OssSignatureResponse
}

PostOssSignatureOK

成功获取

func NewPostOssSignatureOK

func NewPostOssSignatureOK() *PostOssSignatureOK

NewPostOssSignatureOK creates a PostOssSignatureOK with default headers values

func (*PostOssSignatureOK) Error

func (o *PostOssSignatureOK) Error() string

type PostOssSignatureParams

type PostOssSignatureParams struct {
}

PostOssSignatureParams contains all the parameters to send to the API endpoint for the post oss signature operation typically these are written to a http.Request

func NewPostOssSignatureParams

func NewPostOssSignatureParams() *PostOssSignatureParams

NewPostOssSignatureParams creates a new PostOssSignatureParams object with the default values initialized.

func (*PostOssSignatureParams) WriteToRequest

func (o *PostOssSignatureParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostOssSignatureReader

type PostOssSignatureReader struct {
	// contains filtered or unexported fields
}

func (*PostOssSignatureReader) ReadResponse

func (o *PostOssSignatureReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

type PostStsBadRequest

type PostStsBadRequest struct {
	Payload *models.Error
}

PostStsBadRequest

参数无效

func NewPostStsBadRequest

func NewPostStsBadRequest() *PostStsBadRequest

NewPostStsBadRequest creates a PostStsBadRequest with default headers values

func (*PostStsBadRequest) Error

func (o *PostStsBadRequest) Error() string

type PostStsOK

type PostStsOK struct {
	Payload *models.StsResponse
}

PostStsOK

成功重设

func NewPostStsOK

func NewPostStsOK() *PostStsOK

NewPostStsOK creates a PostStsOK with default headers values

func (*PostStsOK) Error

func (o *PostStsOK) Error() string

type PostStsParams

type PostStsParams struct {
}

PostStsParams contains all the parameters to send to the API endpoint for the post sts operation typically these are written to a http.Request

func NewPostStsParams

func NewPostStsParams() *PostStsParams

NewPostStsParams creates a new PostStsParams object with the default values initialized.

func (*PostStsParams) WriteToRequest

func (o *PostStsParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostStsReader

type PostStsReader struct {
	// contains filtered or unexported fields
}

func (*PostStsReader) ReadResponse

func (o *PostStsReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

Jump to

Keyboard shortcuts

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