user_account

package
v0.0.0-...-23ce5c3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for user account API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new user account API client.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UserInfo

func (a *Client) UserInfo(params *UserInfoParams, authInfo runtime.ClientAuthInfoWriter) (*UserInfoOK, error)

UserInfo List accessible workspace for currently logged user. Alias for /state/?xPath=user/repositories

func (*Client) UserPreferences

func (a *Client) UserPreferences(params *UserPreferencesParams, authInfo runtime.ClientAuthInfoWriter) (*UserPreferencesOK, error)

UserPreferences List accessible workspace for currently logged user. Alias for /state/?xPath=user/preferences

func (*Client) UserWorkspaces

func (a *Client) UserWorkspaces(params *UserWorkspacesParams, authInfo runtime.ClientAuthInfoWriter) (*UserWorkspacesOK, error)

UserWorkspaces List accessible workspace for currently logged user. Alias for /state/?xPath=user/repositories

type UserInfoOK

type UserInfoOK struct {
	Payload UserInfoOKBody
}

UserInfoOK handles this case with default header values.

Successful Response

func NewUserInfoOK

func NewUserInfoOK() *UserInfoOK

NewUserInfoOK creates a UserInfoOK with default headers values

func (*UserInfoOK) Error

func (o *UserInfoOK) Error() string

type UserInfoOKBody

type UserInfoOKBody interface{}

UserInfoOKBody user info o k body swagger:model UserInfoOKBody

type UserInfoParams

type UserInfoParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserInfoParams contains all the parameters to send to the API endpoint for the user info operation typically these are written to a http.Request

func NewUserInfoParams

func NewUserInfoParams() *UserInfoParams

NewUserInfoParams creates a new UserInfoParams object with the default values initialized.

func NewUserInfoParamsWithContext

func NewUserInfoParamsWithContext(ctx context.Context) *UserInfoParams

NewUserInfoParamsWithContext creates a new UserInfoParams object with the default values initialized, and the ability to set a context for a request

func NewUserInfoParamsWithHTTPClient

func NewUserInfoParamsWithHTTPClient(client *http.Client) *UserInfoParams

NewUserInfoParamsWithHTTPClient creates a new UserInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUserInfoParamsWithTimeout

func NewUserInfoParamsWithTimeout(timeout time.Duration) *UserInfoParams

NewUserInfoParamsWithTimeout creates a new UserInfoParams object with the default values initialized, and the ability to set a timeout on a request

func (*UserInfoParams) SetContext

func (o *UserInfoParams) SetContext(ctx context.Context)

SetContext adds the context to the user info params

func (*UserInfoParams) SetHTTPClient

func (o *UserInfoParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user info params

func (*UserInfoParams) SetTimeout

func (o *UserInfoParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user info params

func (*UserInfoParams) WithContext

func (o *UserInfoParams) WithContext(ctx context.Context) *UserInfoParams

WithContext adds the context to the user info params

func (*UserInfoParams) WithHTTPClient

func (o *UserInfoParams) WithHTTPClient(client *http.Client) *UserInfoParams

WithHTTPClient adds the HTTPClient to the user info params

func (*UserInfoParams) WithTimeout

func (o *UserInfoParams) WithTimeout(timeout time.Duration) *UserInfoParams

WithTimeout adds the timeout to the user info params

func (*UserInfoParams) WriteToRequest

func (o *UserInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserInfoReader

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

UserInfoReader is a Reader for the UserInfo structure.

func (*UserInfoReader) ReadResponse

func (o *UserInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserPreferencesOK

type UserPreferencesOK struct {
	Payload UserPreferencesOKBody
}

UserPreferencesOK handles this case with default header values.

Successful Response

func NewUserPreferencesOK

func NewUserPreferencesOK() *UserPreferencesOK

NewUserPreferencesOK creates a UserPreferencesOK with default headers values

func (*UserPreferencesOK) Error

func (o *UserPreferencesOK) Error() string

type UserPreferencesOKBody

type UserPreferencesOKBody interface{}

UserPreferencesOKBody user preferences o k body swagger:model UserPreferencesOKBody

type UserPreferencesParams

type UserPreferencesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserPreferencesParams contains all the parameters to send to the API endpoint for the user preferences operation typically these are written to a http.Request

func NewUserPreferencesParams

func NewUserPreferencesParams() *UserPreferencesParams

NewUserPreferencesParams creates a new UserPreferencesParams object with the default values initialized.

func NewUserPreferencesParamsWithContext

func NewUserPreferencesParamsWithContext(ctx context.Context) *UserPreferencesParams

NewUserPreferencesParamsWithContext creates a new UserPreferencesParams object with the default values initialized, and the ability to set a context for a request

func NewUserPreferencesParamsWithHTTPClient

func NewUserPreferencesParamsWithHTTPClient(client *http.Client) *UserPreferencesParams

NewUserPreferencesParamsWithHTTPClient creates a new UserPreferencesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUserPreferencesParamsWithTimeout

func NewUserPreferencesParamsWithTimeout(timeout time.Duration) *UserPreferencesParams

NewUserPreferencesParamsWithTimeout creates a new UserPreferencesParams object with the default values initialized, and the ability to set a timeout on a request

func (*UserPreferencesParams) SetContext

func (o *UserPreferencesParams) SetContext(ctx context.Context)

SetContext adds the context to the user preferences params

func (*UserPreferencesParams) SetHTTPClient

func (o *UserPreferencesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user preferences params

func (*UserPreferencesParams) SetTimeout

func (o *UserPreferencesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user preferences params

func (*UserPreferencesParams) WithContext

WithContext adds the context to the user preferences params

func (*UserPreferencesParams) WithHTTPClient

func (o *UserPreferencesParams) WithHTTPClient(client *http.Client) *UserPreferencesParams

WithHTTPClient adds the HTTPClient to the user preferences params

func (*UserPreferencesParams) WithTimeout

func (o *UserPreferencesParams) WithTimeout(timeout time.Duration) *UserPreferencesParams

WithTimeout adds the timeout to the user preferences params

func (*UserPreferencesParams) WriteToRequest

func (o *UserPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserPreferencesReader

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

UserPreferencesReader is a Reader for the UserPreferences structure.

func (*UserPreferencesReader) ReadResponse

func (o *UserPreferencesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserWorkspacesOK

type UserWorkspacesOK struct {
	Payload UserWorkspacesOKBody
}

UserWorkspacesOK handles this case with default header values.

Successful Response

func NewUserWorkspacesOK

func NewUserWorkspacesOK() *UserWorkspacesOK

NewUserWorkspacesOK creates a UserWorkspacesOK with default headers values

func (*UserWorkspacesOK) Error

func (o *UserWorkspacesOK) Error() string

type UserWorkspacesOKBody

type UserWorkspacesOKBody interface{}

UserWorkspacesOKBody user workspaces o k body swagger:model UserWorkspacesOKBody

type UserWorkspacesParams

type UserWorkspacesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserWorkspacesParams contains all the parameters to send to the API endpoint for the user workspaces operation typically these are written to a http.Request

func NewUserWorkspacesParams

func NewUserWorkspacesParams() *UserWorkspacesParams

NewUserWorkspacesParams creates a new UserWorkspacesParams object with the default values initialized.

func NewUserWorkspacesParamsWithContext

func NewUserWorkspacesParamsWithContext(ctx context.Context) *UserWorkspacesParams

NewUserWorkspacesParamsWithContext creates a new UserWorkspacesParams object with the default values initialized, and the ability to set a context for a request

func NewUserWorkspacesParamsWithHTTPClient

func NewUserWorkspacesParamsWithHTTPClient(client *http.Client) *UserWorkspacesParams

NewUserWorkspacesParamsWithHTTPClient creates a new UserWorkspacesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUserWorkspacesParamsWithTimeout

func NewUserWorkspacesParamsWithTimeout(timeout time.Duration) *UserWorkspacesParams

NewUserWorkspacesParamsWithTimeout creates a new UserWorkspacesParams object with the default values initialized, and the ability to set a timeout on a request

func (*UserWorkspacesParams) SetContext

func (o *UserWorkspacesParams) SetContext(ctx context.Context)

SetContext adds the context to the user workspaces params

func (*UserWorkspacesParams) SetHTTPClient

func (o *UserWorkspacesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user workspaces params

func (*UserWorkspacesParams) SetTimeout

func (o *UserWorkspacesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user workspaces params

func (*UserWorkspacesParams) WithContext

WithContext adds the context to the user workspaces params

func (*UserWorkspacesParams) WithHTTPClient

func (o *UserWorkspacesParams) WithHTTPClient(client *http.Client) *UserWorkspacesParams

WithHTTPClient adds the HTTPClient to the user workspaces params

func (*UserWorkspacesParams) WithTimeout

func (o *UserWorkspacesParams) WithTimeout(timeout time.Duration) *UserWorkspacesParams

WithTimeout adds the timeout to the user workspaces params

func (*UserWorkspacesParams) WriteToRequest

func (o *UserWorkspacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserWorkspacesReader

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

UserWorkspacesReader is a Reader for the UserWorkspaces structure.

func (*UserWorkspacesReader) ReadResponse

func (o *UserWorkspacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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