Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) CreateProjectMember(ctx context.Context, params *CreateProjectMemberParams) (*CreateProjectMemberCreated, error)
- func (a *Client) DeleteProjectMember(ctx context.Context, params *DeleteProjectMemberParams) (*DeleteProjectMemberOK, error)
- func (a *Client) GetProjectMember(ctx context.Context, params *GetProjectMemberParams) (*GetProjectMemberOK, error)
- func (a *Client) ListProjectMembers(ctx context.Context, params *ListProjectMembersParams) (*ListProjectMembersOK, error)
- func (a *Client) UpdateProjectMember(ctx context.Context, params *UpdateProjectMemberParams) (*UpdateProjectMemberOK, error)
- type CreateProjectMemberBadRequest
- func (o *CreateProjectMemberBadRequest) Error() string
- func (o *CreateProjectMemberBadRequest) GetPayload() *models.Errors
- func (o *CreateProjectMemberBadRequest) IsClientError() bool
- func (o *CreateProjectMemberBadRequest) IsCode(code int) bool
- func (o *CreateProjectMemberBadRequest) IsRedirect() bool
- func (o *CreateProjectMemberBadRequest) IsServerError() bool
- func (o *CreateProjectMemberBadRequest) IsSuccess() bool
- func (o *CreateProjectMemberBadRequest) String() string
- type CreateProjectMemberConflict
- func (o *CreateProjectMemberConflict) Error() string
- func (o *CreateProjectMemberConflict) GetPayload() *models.Errors
- func (o *CreateProjectMemberConflict) IsClientError() bool
- func (o *CreateProjectMemberConflict) IsCode(code int) bool
- func (o *CreateProjectMemberConflict) IsRedirect() bool
- func (o *CreateProjectMemberConflict) IsServerError() bool
- func (o *CreateProjectMemberConflict) IsSuccess() bool
- func (o *CreateProjectMemberConflict) String() string
- type CreateProjectMemberCreated
- func (o *CreateProjectMemberCreated) Error() string
- func (o *CreateProjectMemberCreated) IsClientError() bool
- func (o *CreateProjectMemberCreated) IsCode(code int) bool
- func (o *CreateProjectMemberCreated) IsRedirect() bool
- func (o *CreateProjectMemberCreated) IsServerError() bool
- func (o *CreateProjectMemberCreated) IsSuccess() bool
- func (o *CreateProjectMemberCreated) String() string
- type CreateProjectMemberForbidden
- func (o *CreateProjectMemberForbidden) Error() string
- func (o *CreateProjectMemberForbidden) GetPayload() *models.Errors
- func (o *CreateProjectMemberForbidden) IsClientError() bool
- func (o *CreateProjectMemberForbidden) IsCode(code int) bool
- func (o *CreateProjectMemberForbidden) IsRedirect() bool
- func (o *CreateProjectMemberForbidden) IsServerError() bool
- func (o *CreateProjectMemberForbidden) IsSuccess() bool
- func (o *CreateProjectMemberForbidden) String() string
- type CreateProjectMemberInternalServerError
- func (o *CreateProjectMemberInternalServerError) Error() string
- func (o *CreateProjectMemberInternalServerError) GetPayload() *models.Errors
- func (o *CreateProjectMemberInternalServerError) IsClientError() bool
- func (o *CreateProjectMemberInternalServerError) IsCode(code int) bool
- func (o *CreateProjectMemberInternalServerError) IsRedirect() bool
- func (o *CreateProjectMemberInternalServerError) IsServerError() bool
- func (o *CreateProjectMemberInternalServerError) IsSuccess() bool
- func (o *CreateProjectMemberInternalServerError) String() string
- type CreateProjectMemberParams
- func NewCreateProjectMemberParams() *CreateProjectMemberParams
- func NewCreateProjectMemberParamsWithContext(ctx context.Context) *CreateProjectMemberParams
- func NewCreateProjectMemberParamsWithHTTPClient(client *http.Client) *CreateProjectMemberParams
- func NewCreateProjectMemberParamsWithTimeout(timeout time.Duration) *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) SetContext(ctx context.Context)
- func (o *CreateProjectMemberParams) SetDefaults()
- func (o *CreateProjectMemberParams) SetHTTPClient(client *http.Client)
- func (o *CreateProjectMemberParams) SetProjectMember(projectMember *models.ProjectMember)
- func (o *CreateProjectMemberParams) SetProjectNameOrID(projectNameOrID string)
- func (o *CreateProjectMemberParams) SetTimeout(timeout time.Duration)
- func (o *CreateProjectMemberParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *CreateProjectMemberParams) SetXRequestID(xRequestID *string)
- func (o *CreateProjectMemberParams) WithContext(ctx context.Context) *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) WithDefaults() *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) WithHTTPClient(client *http.Client) *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) WithProjectMember(projectMember *models.ProjectMember) *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) WithProjectNameOrID(projectNameOrID string) *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) WithTimeout(timeout time.Duration) *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) WithXIsResourceName(xIsResourceName *bool) *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) WithXRequestID(xRequestID *string) *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProjectMemberReader
- type CreateProjectMemberUnauthorized
- func (o *CreateProjectMemberUnauthorized) Error() string
- func (o *CreateProjectMemberUnauthorized) GetPayload() *models.Errors
- func (o *CreateProjectMemberUnauthorized) IsClientError() bool
- func (o *CreateProjectMemberUnauthorized) IsCode(code int) bool
- func (o *CreateProjectMemberUnauthorized) IsRedirect() bool
- func (o *CreateProjectMemberUnauthorized) IsServerError() bool
- func (o *CreateProjectMemberUnauthorized) IsSuccess() bool
- func (o *CreateProjectMemberUnauthorized) String() string
- type DeleteProjectMemberBadRequest
- func (o *DeleteProjectMemberBadRequest) Error() string
- func (o *DeleteProjectMemberBadRequest) GetPayload() *models.Errors
- func (o *DeleteProjectMemberBadRequest) IsClientError() bool
- func (o *DeleteProjectMemberBadRequest) IsCode(code int) bool
- func (o *DeleteProjectMemberBadRequest) IsRedirect() bool
- func (o *DeleteProjectMemberBadRequest) IsServerError() bool
- func (o *DeleteProjectMemberBadRequest) IsSuccess() bool
- func (o *DeleteProjectMemberBadRequest) String() string
- type DeleteProjectMemberForbidden
- func (o *DeleteProjectMemberForbidden) Error() string
- func (o *DeleteProjectMemberForbidden) GetPayload() *models.Errors
- func (o *DeleteProjectMemberForbidden) IsClientError() bool
- func (o *DeleteProjectMemberForbidden) IsCode(code int) bool
- func (o *DeleteProjectMemberForbidden) IsRedirect() bool
- func (o *DeleteProjectMemberForbidden) IsServerError() bool
- func (o *DeleteProjectMemberForbidden) IsSuccess() bool
- func (o *DeleteProjectMemberForbidden) String() string
- type DeleteProjectMemberInternalServerError
- func (o *DeleteProjectMemberInternalServerError) Error() string
- func (o *DeleteProjectMemberInternalServerError) GetPayload() *models.Errors
- func (o *DeleteProjectMemberInternalServerError) IsClientError() bool
- func (o *DeleteProjectMemberInternalServerError) IsCode(code int) bool
- func (o *DeleteProjectMemberInternalServerError) IsRedirect() bool
- func (o *DeleteProjectMemberInternalServerError) IsServerError() bool
- func (o *DeleteProjectMemberInternalServerError) IsSuccess() bool
- func (o *DeleteProjectMemberInternalServerError) String() string
- type DeleteProjectMemberOK
- func (o *DeleteProjectMemberOK) Error() string
- func (o *DeleteProjectMemberOK) IsClientError() bool
- func (o *DeleteProjectMemberOK) IsCode(code int) bool
- func (o *DeleteProjectMemberOK) IsRedirect() bool
- func (o *DeleteProjectMemberOK) IsServerError() bool
- func (o *DeleteProjectMemberOK) IsSuccess() bool
- func (o *DeleteProjectMemberOK) String() string
- type DeleteProjectMemberParams
- func NewDeleteProjectMemberParams() *DeleteProjectMemberParams
- func NewDeleteProjectMemberParamsWithContext(ctx context.Context) *DeleteProjectMemberParams
- func NewDeleteProjectMemberParamsWithHTTPClient(client *http.Client) *DeleteProjectMemberParams
- func NewDeleteProjectMemberParamsWithTimeout(timeout time.Duration) *DeleteProjectMemberParams
- func (o *DeleteProjectMemberParams) SetContext(ctx context.Context)
- func (o *DeleteProjectMemberParams) SetDefaults()
- func (o *DeleteProjectMemberParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProjectMemberParams) SetMid(mid int64)
- func (o *DeleteProjectMemberParams) SetProjectNameOrID(projectNameOrID string)
- func (o *DeleteProjectMemberParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProjectMemberParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *DeleteProjectMemberParams) SetXRequestID(xRequestID *string)
- func (o *DeleteProjectMemberParams) WithContext(ctx context.Context) *DeleteProjectMemberParams
- func (o *DeleteProjectMemberParams) WithDefaults() *DeleteProjectMemberParams
- func (o *DeleteProjectMemberParams) WithHTTPClient(client *http.Client) *DeleteProjectMemberParams
- func (o *DeleteProjectMemberParams) WithMid(mid int64) *DeleteProjectMemberParams
- func (o *DeleteProjectMemberParams) WithProjectNameOrID(projectNameOrID string) *DeleteProjectMemberParams
- func (o *DeleteProjectMemberParams) WithTimeout(timeout time.Duration) *DeleteProjectMemberParams
- func (o *DeleteProjectMemberParams) WithXIsResourceName(xIsResourceName *bool) *DeleteProjectMemberParams
- func (o *DeleteProjectMemberParams) WithXRequestID(xRequestID *string) *DeleteProjectMemberParams
- func (o *DeleteProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProjectMemberReader
- type DeleteProjectMemberUnauthorized
- func (o *DeleteProjectMemberUnauthorized) Error() string
- func (o *DeleteProjectMemberUnauthorized) GetPayload() *models.Errors
- func (o *DeleteProjectMemberUnauthorized) IsClientError() bool
- func (o *DeleteProjectMemberUnauthorized) IsCode(code int) bool
- func (o *DeleteProjectMemberUnauthorized) IsRedirect() bool
- func (o *DeleteProjectMemberUnauthorized) IsServerError() bool
- func (o *DeleteProjectMemberUnauthorized) IsSuccess() bool
- func (o *DeleteProjectMemberUnauthorized) String() string
- type GetProjectMemberBadRequest
- func (o *GetProjectMemberBadRequest) Error() string
- func (o *GetProjectMemberBadRequest) GetPayload() *models.Errors
- func (o *GetProjectMemberBadRequest) IsClientError() bool
- func (o *GetProjectMemberBadRequest) IsCode(code int) bool
- func (o *GetProjectMemberBadRequest) IsRedirect() bool
- func (o *GetProjectMemberBadRequest) IsServerError() bool
- func (o *GetProjectMemberBadRequest) IsSuccess() bool
- func (o *GetProjectMemberBadRequest) String() string
- type GetProjectMemberForbidden
- func (o *GetProjectMemberForbidden) Error() string
- func (o *GetProjectMemberForbidden) GetPayload() *models.Errors
- func (o *GetProjectMemberForbidden) IsClientError() bool
- func (o *GetProjectMemberForbidden) IsCode(code int) bool
- func (o *GetProjectMemberForbidden) IsRedirect() bool
- func (o *GetProjectMemberForbidden) IsServerError() bool
- func (o *GetProjectMemberForbidden) IsSuccess() bool
- func (o *GetProjectMemberForbidden) String() string
- type GetProjectMemberInternalServerError
- func (o *GetProjectMemberInternalServerError) Error() string
- func (o *GetProjectMemberInternalServerError) GetPayload() *models.Errors
- func (o *GetProjectMemberInternalServerError) IsClientError() bool
- func (o *GetProjectMemberInternalServerError) IsCode(code int) bool
- func (o *GetProjectMemberInternalServerError) IsRedirect() bool
- func (o *GetProjectMemberInternalServerError) IsServerError() bool
- func (o *GetProjectMemberInternalServerError) IsSuccess() bool
- func (o *GetProjectMemberInternalServerError) String() string
- type GetProjectMemberNotFound
- func (o *GetProjectMemberNotFound) Error() string
- func (o *GetProjectMemberNotFound) GetPayload() *models.Errors
- func (o *GetProjectMemberNotFound) IsClientError() bool
- func (o *GetProjectMemberNotFound) IsCode(code int) bool
- func (o *GetProjectMemberNotFound) IsRedirect() bool
- func (o *GetProjectMemberNotFound) IsServerError() bool
- func (o *GetProjectMemberNotFound) IsSuccess() bool
- func (o *GetProjectMemberNotFound) String() string
- type GetProjectMemberOK
- func (o *GetProjectMemberOK) Error() string
- func (o *GetProjectMemberOK) GetPayload() *models.ProjectMemberEntity
- func (o *GetProjectMemberOK) IsClientError() bool
- func (o *GetProjectMemberOK) IsCode(code int) bool
- func (o *GetProjectMemberOK) IsRedirect() bool
- func (o *GetProjectMemberOK) IsServerError() bool
- func (o *GetProjectMemberOK) IsSuccess() bool
- func (o *GetProjectMemberOK) String() string
- type GetProjectMemberParams
- func NewGetProjectMemberParams() *GetProjectMemberParams
- func NewGetProjectMemberParamsWithContext(ctx context.Context) *GetProjectMemberParams
- func NewGetProjectMemberParamsWithHTTPClient(client *http.Client) *GetProjectMemberParams
- func NewGetProjectMemberParamsWithTimeout(timeout time.Duration) *GetProjectMemberParams
- func (o *GetProjectMemberParams) SetContext(ctx context.Context)
- func (o *GetProjectMemberParams) SetDefaults()
- func (o *GetProjectMemberParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectMemberParams) SetMid(mid int64)
- func (o *GetProjectMemberParams) SetProjectNameOrID(projectNameOrID string)
- func (o *GetProjectMemberParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectMemberParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *GetProjectMemberParams) SetXRequestID(xRequestID *string)
- func (o *GetProjectMemberParams) WithContext(ctx context.Context) *GetProjectMemberParams
- func (o *GetProjectMemberParams) WithDefaults() *GetProjectMemberParams
- func (o *GetProjectMemberParams) WithHTTPClient(client *http.Client) *GetProjectMemberParams
- func (o *GetProjectMemberParams) WithMid(mid int64) *GetProjectMemberParams
- func (o *GetProjectMemberParams) WithProjectNameOrID(projectNameOrID string) *GetProjectMemberParams
- func (o *GetProjectMemberParams) WithTimeout(timeout time.Duration) *GetProjectMemberParams
- func (o *GetProjectMemberParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectMemberParams
- func (o *GetProjectMemberParams) WithXRequestID(xRequestID *string) *GetProjectMemberParams
- func (o *GetProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectMemberReader
- type GetProjectMemberUnauthorized
- func (o *GetProjectMemberUnauthorized) Error() string
- func (o *GetProjectMemberUnauthorized) GetPayload() *models.Errors
- func (o *GetProjectMemberUnauthorized) IsClientError() bool
- func (o *GetProjectMemberUnauthorized) IsCode(code int) bool
- func (o *GetProjectMemberUnauthorized) IsRedirect() bool
- func (o *GetProjectMemberUnauthorized) IsServerError() bool
- func (o *GetProjectMemberUnauthorized) IsSuccess() bool
- func (o *GetProjectMemberUnauthorized) String() string
- type ListProjectMembersBadRequest
- func (o *ListProjectMembersBadRequest) Error() string
- func (o *ListProjectMembersBadRequest) GetPayload() *models.Errors
- func (o *ListProjectMembersBadRequest) IsClientError() bool
- func (o *ListProjectMembersBadRequest) IsCode(code int) bool
- func (o *ListProjectMembersBadRequest) IsRedirect() bool
- func (o *ListProjectMembersBadRequest) IsServerError() bool
- func (o *ListProjectMembersBadRequest) IsSuccess() bool
- func (o *ListProjectMembersBadRequest) String() string
- type ListProjectMembersForbidden
- func (o *ListProjectMembersForbidden) Error() string
- func (o *ListProjectMembersForbidden) GetPayload() *models.Errors
- func (o *ListProjectMembersForbidden) IsClientError() bool
- func (o *ListProjectMembersForbidden) IsCode(code int) bool
- func (o *ListProjectMembersForbidden) IsRedirect() bool
- func (o *ListProjectMembersForbidden) IsServerError() bool
- func (o *ListProjectMembersForbidden) IsSuccess() bool
- func (o *ListProjectMembersForbidden) String() string
- type ListProjectMembersInternalServerError
- func (o *ListProjectMembersInternalServerError) Error() string
- func (o *ListProjectMembersInternalServerError) GetPayload() *models.Errors
- func (o *ListProjectMembersInternalServerError) IsClientError() bool
- func (o *ListProjectMembersInternalServerError) IsCode(code int) bool
- func (o *ListProjectMembersInternalServerError) IsRedirect() bool
- func (o *ListProjectMembersInternalServerError) IsServerError() bool
- func (o *ListProjectMembersInternalServerError) IsSuccess() bool
- func (o *ListProjectMembersInternalServerError) String() string
- type ListProjectMembersNotFound
- func (o *ListProjectMembersNotFound) Error() string
- func (o *ListProjectMembersNotFound) GetPayload() *models.Errors
- func (o *ListProjectMembersNotFound) IsClientError() bool
- func (o *ListProjectMembersNotFound) IsCode(code int) bool
- func (o *ListProjectMembersNotFound) IsRedirect() bool
- func (o *ListProjectMembersNotFound) IsServerError() bool
- func (o *ListProjectMembersNotFound) IsSuccess() bool
- func (o *ListProjectMembersNotFound) String() string
- type ListProjectMembersOK
- func (o *ListProjectMembersOK) Error() string
- func (o *ListProjectMembersOK) GetPayload() []*models.ProjectMemberEntity
- func (o *ListProjectMembersOK) IsClientError() bool
- func (o *ListProjectMembersOK) IsCode(code int) bool
- func (o *ListProjectMembersOK) IsRedirect() bool
- func (o *ListProjectMembersOK) IsServerError() bool
- func (o *ListProjectMembersOK) IsSuccess() bool
- func (o *ListProjectMembersOK) String() string
- type ListProjectMembersParams
- func NewListProjectMembersParams() *ListProjectMembersParams
- func NewListProjectMembersParamsWithContext(ctx context.Context) *ListProjectMembersParams
- func NewListProjectMembersParamsWithHTTPClient(client *http.Client) *ListProjectMembersParams
- func NewListProjectMembersParamsWithTimeout(timeout time.Duration) *ListProjectMembersParams
- func (o *ListProjectMembersParams) SetContext(ctx context.Context)
- func (o *ListProjectMembersParams) SetDefaults()
- func (o *ListProjectMembersParams) SetEntityname(entityname *string)
- func (o *ListProjectMembersParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectMembersParams) SetPage(page *int64)
- func (o *ListProjectMembersParams) SetPageSize(pageSize *int64)
- func (o *ListProjectMembersParams) SetProjectNameOrID(projectNameOrID string)
- func (o *ListProjectMembersParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectMembersParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *ListProjectMembersParams) SetXRequestID(xRequestID *string)
- func (o *ListProjectMembersParams) WithContext(ctx context.Context) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithDefaults() *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithEntityname(entityname *string) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithHTTPClient(client *http.Client) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithPage(page *int64) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithPageSize(pageSize *int64) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithProjectNameOrID(projectNameOrID string) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithTimeout(timeout time.Duration) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithXIsResourceName(xIsResourceName *bool) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WithXRequestID(xRequestID *string) *ListProjectMembersParams
- func (o *ListProjectMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectMembersReader
- type ListProjectMembersUnauthorized
- func (o *ListProjectMembersUnauthorized) Error() string
- func (o *ListProjectMembersUnauthorized) GetPayload() *models.Errors
- func (o *ListProjectMembersUnauthorized) IsClientError() bool
- func (o *ListProjectMembersUnauthorized) IsCode(code int) bool
- func (o *ListProjectMembersUnauthorized) IsRedirect() bool
- func (o *ListProjectMembersUnauthorized) IsServerError() bool
- func (o *ListProjectMembersUnauthorized) IsSuccess() bool
- func (o *ListProjectMembersUnauthorized) String() string
- type UpdateProjectMemberBadRequest
- func (o *UpdateProjectMemberBadRequest) Error() string
- func (o *UpdateProjectMemberBadRequest) GetPayload() *models.Errors
- func (o *UpdateProjectMemberBadRequest) IsClientError() bool
- func (o *UpdateProjectMemberBadRequest) IsCode(code int) bool
- func (o *UpdateProjectMemberBadRequest) IsRedirect() bool
- func (o *UpdateProjectMemberBadRequest) IsServerError() bool
- func (o *UpdateProjectMemberBadRequest) IsSuccess() bool
- func (o *UpdateProjectMemberBadRequest) String() string
- type UpdateProjectMemberForbidden
- func (o *UpdateProjectMemberForbidden) Error() string
- func (o *UpdateProjectMemberForbidden) GetPayload() *models.Errors
- func (o *UpdateProjectMemberForbidden) IsClientError() bool
- func (o *UpdateProjectMemberForbidden) IsCode(code int) bool
- func (o *UpdateProjectMemberForbidden) IsRedirect() bool
- func (o *UpdateProjectMemberForbidden) IsServerError() bool
- func (o *UpdateProjectMemberForbidden) IsSuccess() bool
- func (o *UpdateProjectMemberForbidden) String() string
- type UpdateProjectMemberInternalServerError
- func (o *UpdateProjectMemberInternalServerError) Error() string
- func (o *UpdateProjectMemberInternalServerError) GetPayload() *models.Errors
- func (o *UpdateProjectMemberInternalServerError) IsClientError() bool
- func (o *UpdateProjectMemberInternalServerError) IsCode(code int) bool
- func (o *UpdateProjectMemberInternalServerError) IsRedirect() bool
- func (o *UpdateProjectMemberInternalServerError) IsServerError() bool
- func (o *UpdateProjectMemberInternalServerError) IsSuccess() bool
- func (o *UpdateProjectMemberInternalServerError) String() string
- type UpdateProjectMemberNotFound
- func (o *UpdateProjectMemberNotFound) Error() string
- func (o *UpdateProjectMemberNotFound) GetPayload() *models.Errors
- func (o *UpdateProjectMemberNotFound) IsClientError() bool
- func (o *UpdateProjectMemberNotFound) IsCode(code int) bool
- func (o *UpdateProjectMemberNotFound) IsRedirect() bool
- func (o *UpdateProjectMemberNotFound) IsServerError() bool
- func (o *UpdateProjectMemberNotFound) IsSuccess() bool
- func (o *UpdateProjectMemberNotFound) String() string
- type UpdateProjectMemberOK
- func (o *UpdateProjectMemberOK) Error() string
- func (o *UpdateProjectMemberOK) IsClientError() bool
- func (o *UpdateProjectMemberOK) IsCode(code int) bool
- func (o *UpdateProjectMemberOK) IsRedirect() bool
- func (o *UpdateProjectMemberOK) IsServerError() bool
- func (o *UpdateProjectMemberOK) IsSuccess() bool
- func (o *UpdateProjectMemberOK) String() string
- type UpdateProjectMemberParams
- func NewUpdateProjectMemberParams() *UpdateProjectMemberParams
- func NewUpdateProjectMemberParamsWithContext(ctx context.Context) *UpdateProjectMemberParams
- func NewUpdateProjectMemberParamsWithHTTPClient(client *http.Client) *UpdateProjectMemberParams
- func NewUpdateProjectMemberParamsWithTimeout(timeout time.Duration) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) SetContext(ctx context.Context)
- func (o *UpdateProjectMemberParams) SetDefaults()
- func (o *UpdateProjectMemberParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectMemberParams) SetMid(mid int64)
- func (o *UpdateProjectMemberParams) SetProjectNameOrID(projectNameOrID string)
- func (o *UpdateProjectMemberParams) SetRole(role *models.RoleRequest)
- func (o *UpdateProjectMemberParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProjectMemberParams) SetXIsResourceName(xIsResourceName *bool)
- func (o *UpdateProjectMemberParams) SetXRequestID(xRequestID *string)
- func (o *UpdateProjectMemberParams) WithContext(ctx context.Context) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithDefaults() *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithHTTPClient(client *http.Client) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithMid(mid int64) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithProjectNameOrID(projectNameOrID string) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithRole(role *models.RoleRequest) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithTimeout(timeout time.Duration) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithXIsResourceName(xIsResourceName *bool) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithXRequestID(xRequestID *string) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProjectMemberReader
- type UpdateProjectMemberUnauthorized
- func (o *UpdateProjectMemberUnauthorized) Error() string
- func (o *UpdateProjectMemberUnauthorized) GetPayload() *models.Errors
- func (o *UpdateProjectMemberUnauthorized) IsClientError() bool
- func (o *UpdateProjectMemberUnauthorized) IsCode(code int) bool
- func (o *UpdateProjectMemberUnauthorized) IsRedirect() bool
- func (o *UpdateProjectMemberUnauthorized) IsServerError() bool
- func (o *UpdateProjectMemberUnauthorized) IsSuccess() bool
- func (o *UpdateProjectMemberUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* CreateProjectMember creates project member Create project member relationship, the member can be one of the user_member and group_member, The user_member need to specify user_id or username. If the user already exist in harbor DB, specify the user_id, If does not exist in harbor DB, it will SearchAndOnBoard the user. The group_member need to specify id or ldap_group_dn. If the group already exist in harbor DB. specify the user group's id, If does not exist, it will SearchAndOnBoard the group. */ CreateProjectMember(ctx context.Context, params *CreateProjectMemberParams) (*CreateProjectMemberCreated, error) /* DeleteProjectMember deletes project member*/ DeleteProjectMember(ctx context.Context, params *DeleteProjectMemberParams) (*DeleteProjectMemberOK, error) /* GetProjectMember gets the project member information Get the project member information*/ GetProjectMember(ctx context.Context, params *GetProjectMemberParams) (*GetProjectMemberOK, error) /* ListProjectMembers gets all project member information Get all project member information*/ ListProjectMembers(ctx context.Context, params *ListProjectMembersParams) (*ListProjectMembersOK, error) /* UpdateProjectMember updates project member Update project member relationship*/ UpdateProjectMember(ctx context.Context, params *UpdateProjectMemberParams) (*UpdateProjectMemberOK, error) }
API is the interface of the member client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for member API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new member API client.
func (*Client) CreateProjectMember ¶
func (a *Client) CreateProjectMember(ctx context.Context, params *CreateProjectMemberParams) (*CreateProjectMemberCreated, error)
CreateProjectMember creates project member
Create project member relationship, the member can be one of the user_member and group_member, The user_member need to specify user_id or username. If the user already exist in harbor DB, specify the user_id, If does not exist in harbor DB, it will SearchAndOnBoard the user. The group_member need to specify id or ldap_group_dn. If the group already exist in harbor DB. specify the user group's id, If does not exist, it will SearchAndOnBoard the group.
func (*Client) DeleteProjectMember ¶
func (a *Client) DeleteProjectMember(ctx context.Context, params *DeleteProjectMemberParams) (*DeleteProjectMemberOK, error)
DeleteProjectMember deletes project member
func (*Client) GetProjectMember ¶
func (a *Client) GetProjectMember(ctx context.Context, params *GetProjectMemberParams) (*GetProjectMemberOK, error)
GetProjectMember gets the project member information
Get the project member information
func (*Client) ListProjectMembers ¶
func (a *Client) ListProjectMembers(ctx context.Context, params *ListProjectMembersParams) (*ListProjectMembersOK, error)
ListProjectMembers gets all project member information
Get all project member information
func (*Client) UpdateProjectMember ¶
func (a *Client) UpdateProjectMember(ctx context.Context, params *UpdateProjectMemberParams) (*UpdateProjectMemberOK, error)
UpdateProjectMember updates project member
Update project member relationship
type CreateProjectMemberBadRequest ¶
type CreateProjectMemberBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectMemberBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateProjectMemberBadRequest ¶
func NewCreateProjectMemberBadRequest() *CreateProjectMemberBadRequest
NewCreateProjectMemberBadRequest creates a CreateProjectMemberBadRequest with default headers values
func (*CreateProjectMemberBadRequest) Error ¶
func (o *CreateProjectMemberBadRequest) Error() string
func (*CreateProjectMemberBadRequest) GetPayload ¶
func (o *CreateProjectMemberBadRequest) GetPayload() *models.Errors
func (*CreateProjectMemberBadRequest) IsClientError ¶
func (o *CreateProjectMemberBadRequest) IsClientError() bool
IsClientError returns true when this create project member bad request response has a 4xx status code
func (*CreateProjectMemberBadRequest) IsCode ¶
func (o *CreateProjectMemberBadRequest) IsCode(code int) bool
IsCode returns true when this create project member bad request response a status code equal to that given
func (*CreateProjectMemberBadRequest) IsRedirect ¶
func (o *CreateProjectMemberBadRequest) IsRedirect() bool
IsRedirect returns true when this create project member bad request response has a 3xx status code
func (*CreateProjectMemberBadRequest) IsServerError ¶
func (o *CreateProjectMemberBadRequest) IsServerError() bool
IsServerError returns true when this create project member bad request response has a 5xx status code
func (*CreateProjectMemberBadRequest) IsSuccess ¶
func (o *CreateProjectMemberBadRequest) IsSuccess() bool
IsSuccess returns true when this create project member bad request response has a 2xx status code
func (*CreateProjectMemberBadRequest) String ¶
func (o *CreateProjectMemberBadRequest) String() string
type CreateProjectMemberConflict ¶
type CreateProjectMemberConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectMemberConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateProjectMemberConflict ¶
func NewCreateProjectMemberConflict() *CreateProjectMemberConflict
NewCreateProjectMemberConflict creates a CreateProjectMemberConflict with default headers values
func (*CreateProjectMemberConflict) Error ¶
func (o *CreateProjectMemberConflict) Error() string
func (*CreateProjectMemberConflict) GetPayload ¶
func (o *CreateProjectMemberConflict) GetPayload() *models.Errors
func (*CreateProjectMemberConflict) IsClientError ¶
func (o *CreateProjectMemberConflict) IsClientError() bool
IsClientError returns true when this create project member conflict response has a 4xx status code
func (*CreateProjectMemberConflict) IsCode ¶
func (o *CreateProjectMemberConflict) IsCode(code int) bool
IsCode returns true when this create project member conflict response a status code equal to that given
func (*CreateProjectMemberConflict) IsRedirect ¶
func (o *CreateProjectMemberConflict) IsRedirect() bool
IsRedirect returns true when this create project member conflict response has a 3xx status code
func (*CreateProjectMemberConflict) IsServerError ¶
func (o *CreateProjectMemberConflict) IsServerError() bool
IsServerError returns true when this create project member conflict response has a 5xx status code
func (*CreateProjectMemberConflict) IsSuccess ¶
func (o *CreateProjectMemberConflict) IsSuccess() bool
IsSuccess returns true when this create project member conflict response has a 2xx status code
func (*CreateProjectMemberConflict) String ¶
func (o *CreateProjectMemberConflict) String() string
type CreateProjectMemberCreated ¶
type CreateProjectMemberCreated struct { /* The URL of the created resource */ Location string }
CreateProjectMemberCreated describes a response with status code 201, with default header values.
Project member created successfully.
func NewCreateProjectMemberCreated ¶
func NewCreateProjectMemberCreated() *CreateProjectMemberCreated
NewCreateProjectMemberCreated creates a CreateProjectMemberCreated with default headers values
func (*CreateProjectMemberCreated) Error ¶
func (o *CreateProjectMemberCreated) Error() string
func (*CreateProjectMemberCreated) IsClientError ¶
func (o *CreateProjectMemberCreated) IsClientError() bool
IsClientError returns true when this create project member created response has a 4xx status code
func (*CreateProjectMemberCreated) IsCode ¶
func (o *CreateProjectMemberCreated) IsCode(code int) bool
IsCode returns true when this create project member created response a status code equal to that given
func (*CreateProjectMemberCreated) IsRedirect ¶
func (o *CreateProjectMemberCreated) IsRedirect() bool
IsRedirect returns true when this create project member created response has a 3xx status code
func (*CreateProjectMemberCreated) IsServerError ¶
func (o *CreateProjectMemberCreated) IsServerError() bool
IsServerError returns true when this create project member created response has a 5xx status code
func (*CreateProjectMemberCreated) IsSuccess ¶
func (o *CreateProjectMemberCreated) IsSuccess() bool
IsSuccess returns true when this create project member created response has a 2xx status code
func (*CreateProjectMemberCreated) String ¶
func (o *CreateProjectMemberCreated) String() string
type CreateProjectMemberForbidden ¶
type CreateProjectMemberForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectMemberForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateProjectMemberForbidden ¶
func NewCreateProjectMemberForbidden() *CreateProjectMemberForbidden
NewCreateProjectMemberForbidden creates a CreateProjectMemberForbidden with default headers values
func (*CreateProjectMemberForbidden) Error ¶
func (o *CreateProjectMemberForbidden) Error() string
func (*CreateProjectMemberForbidden) GetPayload ¶
func (o *CreateProjectMemberForbidden) GetPayload() *models.Errors
func (*CreateProjectMemberForbidden) IsClientError ¶
func (o *CreateProjectMemberForbidden) IsClientError() bool
IsClientError returns true when this create project member forbidden response has a 4xx status code
func (*CreateProjectMemberForbidden) IsCode ¶
func (o *CreateProjectMemberForbidden) IsCode(code int) bool
IsCode returns true when this create project member forbidden response a status code equal to that given
func (*CreateProjectMemberForbidden) IsRedirect ¶
func (o *CreateProjectMemberForbidden) IsRedirect() bool
IsRedirect returns true when this create project member forbidden response has a 3xx status code
func (*CreateProjectMemberForbidden) IsServerError ¶
func (o *CreateProjectMemberForbidden) IsServerError() bool
IsServerError returns true when this create project member forbidden response has a 5xx status code
func (*CreateProjectMemberForbidden) IsSuccess ¶
func (o *CreateProjectMemberForbidden) IsSuccess() bool
IsSuccess returns true when this create project member forbidden response has a 2xx status code
func (*CreateProjectMemberForbidden) String ¶
func (o *CreateProjectMemberForbidden) String() string
type CreateProjectMemberInternalServerError ¶
type CreateProjectMemberInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateProjectMemberInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateProjectMemberInternalServerError ¶
func NewCreateProjectMemberInternalServerError() *CreateProjectMemberInternalServerError
NewCreateProjectMemberInternalServerError creates a CreateProjectMemberInternalServerError with default headers values
func (*CreateProjectMemberInternalServerError) Error ¶
func (o *CreateProjectMemberInternalServerError) Error() string
func (*CreateProjectMemberInternalServerError) GetPayload ¶
func (o *CreateProjectMemberInternalServerError) GetPayload() *models.Errors
func (*CreateProjectMemberInternalServerError) IsClientError ¶
func (o *CreateProjectMemberInternalServerError) IsClientError() bool
IsClientError returns true when this create project member internal server error response has a 4xx status code
func (*CreateProjectMemberInternalServerError) IsCode ¶
func (o *CreateProjectMemberInternalServerError) IsCode(code int) bool
IsCode returns true when this create project member internal server error response a status code equal to that given
func (*CreateProjectMemberInternalServerError) IsRedirect ¶
func (o *CreateProjectMemberInternalServerError) IsRedirect() bool
IsRedirect returns true when this create project member internal server error response has a 3xx status code
func (*CreateProjectMemberInternalServerError) IsServerError ¶
func (o *CreateProjectMemberInternalServerError) IsServerError() bool
IsServerError returns true when this create project member internal server error response has a 5xx status code
func (*CreateProjectMemberInternalServerError) IsSuccess ¶
func (o *CreateProjectMemberInternalServerError) IsSuccess() bool
IsSuccess returns true when this create project member internal server error response has a 2xx status code
func (*CreateProjectMemberInternalServerError) String ¶
func (o *CreateProjectMemberInternalServerError) String() string
type CreateProjectMemberParams ¶
type CreateProjectMemberParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string // ProjectMember. ProjectMember *models.ProjectMember /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateProjectMemberParams contains all the parameters to send to the API endpoint
for the create project member operation. Typically these are written to a http.Request.
func NewCreateProjectMemberParams ¶
func NewCreateProjectMemberParams() *CreateProjectMemberParams
NewCreateProjectMemberParams creates a new CreateProjectMemberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateProjectMemberParamsWithContext ¶
func NewCreateProjectMemberParamsWithContext(ctx context.Context) *CreateProjectMemberParams
NewCreateProjectMemberParamsWithContext creates a new CreateProjectMemberParams object with the ability to set a context for a request.
func NewCreateProjectMemberParamsWithHTTPClient ¶
func NewCreateProjectMemberParamsWithHTTPClient(client *http.Client) *CreateProjectMemberParams
NewCreateProjectMemberParamsWithHTTPClient creates a new CreateProjectMemberParams object with the ability to set a custom HTTPClient for a request.
func NewCreateProjectMemberParamsWithTimeout ¶
func NewCreateProjectMemberParamsWithTimeout(timeout time.Duration) *CreateProjectMemberParams
NewCreateProjectMemberParamsWithTimeout creates a new CreateProjectMemberParams object with the ability to set a timeout on a request.
func (*CreateProjectMemberParams) SetContext ¶
func (o *CreateProjectMemberParams) SetContext(ctx context.Context)
SetContext adds the context to the create project member params
func (*CreateProjectMemberParams) SetDefaults ¶
func (o *CreateProjectMemberParams) SetDefaults()
SetDefaults hydrates default values in the create project member params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectMemberParams) SetHTTPClient ¶
func (o *CreateProjectMemberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create project member params
func (*CreateProjectMemberParams) SetProjectMember ¶
func (o *CreateProjectMemberParams) SetProjectMember(projectMember *models.ProjectMember)
SetProjectMember adds the projectMember to the create project member params
func (*CreateProjectMemberParams) SetProjectNameOrID ¶
func (o *CreateProjectMemberParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the create project member params
func (*CreateProjectMemberParams) SetTimeout ¶
func (o *CreateProjectMemberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create project member params
func (*CreateProjectMemberParams) SetXIsResourceName ¶
func (o *CreateProjectMemberParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the create project member params
func (*CreateProjectMemberParams) SetXRequestID ¶
func (o *CreateProjectMemberParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create project member params
func (*CreateProjectMemberParams) WithContext ¶
func (o *CreateProjectMemberParams) WithContext(ctx context.Context) *CreateProjectMemberParams
WithContext adds the context to the create project member params
func (*CreateProjectMemberParams) WithDefaults ¶
func (o *CreateProjectMemberParams) WithDefaults() *CreateProjectMemberParams
WithDefaults hydrates default values in the create project member params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProjectMemberParams) WithHTTPClient ¶
func (o *CreateProjectMemberParams) WithHTTPClient(client *http.Client) *CreateProjectMemberParams
WithHTTPClient adds the HTTPClient to the create project member params
func (*CreateProjectMemberParams) WithProjectMember ¶
func (o *CreateProjectMemberParams) WithProjectMember(projectMember *models.ProjectMember) *CreateProjectMemberParams
WithProjectMember adds the projectMember to the create project member params
func (*CreateProjectMemberParams) WithProjectNameOrID ¶
func (o *CreateProjectMemberParams) WithProjectNameOrID(projectNameOrID string) *CreateProjectMemberParams
WithProjectNameOrID adds the projectNameOrID to the create project member params
func (*CreateProjectMemberParams) WithTimeout ¶
func (o *CreateProjectMemberParams) WithTimeout(timeout time.Duration) *CreateProjectMemberParams
WithTimeout adds the timeout to the create project member params
func (*CreateProjectMemberParams) WithXIsResourceName ¶
func (o *CreateProjectMemberParams) WithXIsResourceName(xIsResourceName *bool) *CreateProjectMemberParams
WithXIsResourceName adds the xIsResourceName to the create project member params
func (*CreateProjectMemberParams) WithXRequestID ¶
func (o *CreateProjectMemberParams) WithXRequestID(xRequestID *string) *CreateProjectMemberParams
WithXRequestID adds the xRequestID to the create project member params
func (*CreateProjectMemberParams) WriteToRequest ¶
func (o *CreateProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateProjectMemberReader ¶
type CreateProjectMemberReader struct {
// contains filtered or unexported fields
}
CreateProjectMemberReader is a Reader for the CreateProjectMember structure.
func (*CreateProjectMemberReader) ReadResponse ¶
func (o *CreateProjectMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateProjectMemberUnauthorized ¶
type CreateProjectMemberUnauthorized struct { string }XRequestID
CreateProjectMemberUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateProjectMemberUnauthorized ¶
func NewCreateProjectMemberUnauthorized() *CreateProjectMemberUnauthorized
NewCreateProjectMemberUnauthorized creates a CreateProjectMemberUnauthorized with default headers values
func (*CreateProjectMemberUnauthorized) Error ¶
func (o *CreateProjectMemberUnauthorized) Error() string
func (*CreateProjectMemberUnauthorized) GetPayload ¶
func (o *CreateProjectMemberUnauthorized) GetPayload() *models.Errors
func (*CreateProjectMemberUnauthorized) IsClientError ¶
func (o *CreateProjectMemberUnauthorized) IsClientError() bool
IsClientError returns true when this create project member unauthorized response has a 4xx status code
func (*CreateProjectMemberUnauthorized) IsCode ¶
func (o *CreateProjectMemberUnauthorized) IsCode(code int) bool
IsCode returns true when this create project member unauthorized response a status code equal to that given
func (*CreateProjectMemberUnauthorized) IsRedirect ¶
func (o *CreateProjectMemberUnauthorized) IsRedirect() bool
IsRedirect returns true when this create project member unauthorized response has a 3xx status code
func (*CreateProjectMemberUnauthorized) IsServerError ¶
func (o *CreateProjectMemberUnauthorized) IsServerError() bool
IsServerError returns true when this create project member unauthorized response has a 5xx status code
func (*CreateProjectMemberUnauthorized) IsSuccess ¶
func (o *CreateProjectMemberUnauthorized) IsSuccess() bool
IsSuccess returns true when this create project member unauthorized response has a 2xx status code
func (*CreateProjectMemberUnauthorized) String ¶
func (o *CreateProjectMemberUnauthorized) String() string
type DeleteProjectMemberBadRequest ¶
type DeleteProjectMemberBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectMemberBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteProjectMemberBadRequest ¶
func NewDeleteProjectMemberBadRequest() *DeleteProjectMemberBadRequest
NewDeleteProjectMemberBadRequest creates a DeleteProjectMemberBadRequest with default headers values
func (*DeleteProjectMemberBadRequest) Error ¶
func (o *DeleteProjectMemberBadRequest) Error() string
func (*DeleteProjectMemberBadRequest) GetPayload ¶
func (o *DeleteProjectMemberBadRequest) GetPayload() *models.Errors
func (*DeleteProjectMemberBadRequest) IsClientError ¶
func (o *DeleteProjectMemberBadRequest) IsClientError() bool
IsClientError returns true when this delete project member bad request response has a 4xx status code
func (*DeleteProjectMemberBadRequest) IsCode ¶
func (o *DeleteProjectMemberBadRequest) IsCode(code int) bool
IsCode returns true when this delete project member bad request response a status code equal to that given
func (*DeleteProjectMemberBadRequest) IsRedirect ¶
func (o *DeleteProjectMemberBadRequest) IsRedirect() bool
IsRedirect returns true when this delete project member bad request response has a 3xx status code
func (*DeleteProjectMemberBadRequest) IsServerError ¶
func (o *DeleteProjectMemberBadRequest) IsServerError() bool
IsServerError returns true when this delete project member bad request response has a 5xx status code
func (*DeleteProjectMemberBadRequest) IsSuccess ¶
func (o *DeleteProjectMemberBadRequest) IsSuccess() bool
IsSuccess returns true when this delete project member bad request response has a 2xx status code
func (*DeleteProjectMemberBadRequest) String ¶
func (o *DeleteProjectMemberBadRequest) String() string
type DeleteProjectMemberForbidden ¶
type DeleteProjectMemberForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectMemberForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteProjectMemberForbidden ¶
func NewDeleteProjectMemberForbidden() *DeleteProjectMemberForbidden
NewDeleteProjectMemberForbidden creates a DeleteProjectMemberForbidden with default headers values
func (*DeleteProjectMemberForbidden) Error ¶
func (o *DeleteProjectMemberForbidden) Error() string
func (*DeleteProjectMemberForbidden) GetPayload ¶
func (o *DeleteProjectMemberForbidden) GetPayload() *models.Errors
func (*DeleteProjectMemberForbidden) IsClientError ¶
func (o *DeleteProjectMemberForbidden) IsClientError() bool
IsClientError returns true when this delete project member forbidden response has a 4xx status code
func (*DeleteProjectMemberForbidden) IsCode ¶
func (o *DeleteProjectMemberForbidden) IsCode(code int) bool
IsCode returns true when this delete project member forbidden response a status code equal to that given
func (*DeleteProjectMemberForbidden) IsRedirect ¶
func (o *DeleteProjectMemberForbidden) IsRedirect() bool
IsRedirect returns true when this delete project member forbidden response has a 3xx status code
func (*DeleteProjectMemberForbidden) IsServerError ¶
func (o *DeleteProjectMemberForbidden) IsServerError() bool
IsServerError returns true when this delete project member forbidden response has a 5xx status code
func (*DeleteProjectMemberForbidden) IsSuccess ¶
func (o *DeleteProjectMemberForbidden) IsSuccess() bool
IsSuccess returns true when this delete project member forbidden response has a 2xx status code
func (*DeleteProjectMemberForbidden) String ¶
func (o *DeleteProjectMemberForbidden) String() string
type DeleteProjectMemberInternalServerError ¶
type DeleteProjectMemberInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
DeleteProjectMemberInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteProjectMemberInternalServerError ¶
func NewDeleteProjectMemberInternalServerError() *DeleteProjectMemberInternalServerError
NewDeleteProjectMemberInternalServerError creates a DeleteProjectMemberInternalServerError with default headers values
func (*DeleteProjectMemberInternalServerError) Error ¶
func (o *DeleteProjectMemberInternalServerError) Error() string
func (*DeleteProjectMemberInternalServerError) GetPayload ¶
func (o *DeleteProjectMemberInternalServerError) GetPayload() *models.Errors
func (*DeleteProjectMemberInternalServerError) IsClientError ¶
func (o *DeleteProjectMemberInternalServerError) IsClientError() bool
IsClientError returns true when this delete project member internal server error response has a 4xx status code
func (*DeleteProjectMemberInternalServerError) IsCode ¶
func (o *DeleteProjectMemberInternalServerError) IsCode(code int) bool
IsCode returns true when this delete project member internal server error response a status code equal to that given
func (*DeleteProjectMemberInternalServerError) IsRedirect ¶
func (o *DeleteProjectMemberInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete project member internal server error response has a 3xx status code
func (*DeleteProjectMemberInternalServerError) IsServerError ¶
func (o *DeleteProjectMemberInternalServerError) IsServerError() bool
IsServerError returns true when this delete project member internal server error response has a 5xx status code
func (*DeleteProjectMemberInternalServerError) IsSuccess ¶
func (o *DeleteProjectMemberInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete project member internal server error response has a 2xx status code
func (*DeleteProjectMemberInternalServerError) String ¶
func (o *DeleteProjectMemberInternalServerError) String() string
type DeleteProjectMemberOK ¶
type DeleteProjectMemberOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
DeleteProjectMemberOK describes a response with status code 200, with default header values.
Success
func NewDeleteProjectMemberOK ¶
func NewDeleteProjectMemberOK() *DeleteProjectMemberOK
NewDeleteProjectMemberOK creates a DeleteProjectMemberOK with default headers values
func (*DeleteProjectMemberOK) Error ¶
func (o *DeleteProjectMemberOK) Error() string
func (*DeleteProjectMemberOK) IsClientError ¶
func (o *DeleteProjectMemberOK) IsClientError() bool
IsClientError returns true when this delete project member o k response has a 4xx status code
func (*DeleteProjectMemberOK) IsCode ¶
func (o *DeleteProjectMemberOK) IsCode(code int) bool
IsCode returns true when this delete project member o k response a status code equal to that given
func (*DeleteProjectMemberOK) IsRedirect ¶
func (o *DeleteProjectMemberOK) IsRedirect() bool
IsRedirect returns true when this delete project member o k response has a 3xx status code
func (*DeleteProjectMemberOK) IsServerError ¶
func (o *DeleteProjectMemberOK) IsServerError() bool
IsServerError returns true when this delete project member o k response has a 5xx status code
func (*DeleteProjectMemberOK) IsSuccess ¶
func (o *DeleteProjectMemberOK) IsSuccess() bool
IsSuccess returns true when this delete project member o k response has a 2xx status code
func (*DeleteProjectMemberOK) String ¶
func (o *DeleteProjectMemberOK) String() string
type DeleteProjectMemberParams ¶
type DeleteProjectMemberParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* Mid. Member ID. Format: int64 */ Mid int64 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProjectMemberParams contains all the parameters to send to the API endpoint
for the delete project member operation. Typically these are written to a http.Request.
func NewDeleteProjectMemberParams ¶
func NewDeleteProjectMemberParams() *DeleteProjectMemberParams
NewDeleteProjectMemberParams creates a new DeleteProjectMemberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteProjectMemberParamsWithContext ¶
func NewDeleteProjectMemberParamsWithContext(ctx context.Context) *DeleteProjectMemberParams
NewDeleteProjectMemberParamsWithContext creates a new DeleteProjectMemberParams object with the ability to set a context for a request.
func NewDeleteProjectMemberParamsWithHTTPClient ¶
func NewDeleteProjectMemberParamsWithHTTPClient(client *http.Client) *DeleteProjectMemberParams
NewDeleteProjectMemberParamsWithHTTPClient creates a new DeleteProjectMemberParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProjectMemberParamsWithTimeout ¶
func NewDeleteProjectMemberParamsWithTimeout(timeout time.Duration) *DeleteProjectMemberParams
NewDeleteProjectMemberParamsWithTimeout creates a new DeleteProjectMemberParams object with the ability to set a timeout on a request.
func (*DeleteProjectMemberParams) SetContext ¶
func (o *DeleteProjectMemberParams) SetContext(ctx context.Context)
SetContext adds the context to the delete project member params
func (*DeleteProjectMemberParams) SetDefaults ¶
func (o *DeleteProjectMemberParams) SetDefaults()
SetDefaults hydrates default values in the delete project member params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectMemberParams) SetHTTPClient ¶
func (o *DeleteProjectMemberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete project member params
func (*DeleteProjectMemberParams) SetMid ¶
func (o *DeleteProjectMemberParams) SetMid(mid int64)
SetMid adds the mid to the delete project member params
func (*DeleteProjectMemberParams) SetProjectNameOrID ¶
func (o *DeleteProjectMemberParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the delete project member params
func (*DeleteProjectMemberParams) SetTimeout ¶
func (o *DeleteProjectMemberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete project member params
func (*DeleteProjectMemberParams) SetXIsResourceName ¶
func (o *DeleteProjectMemberParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the delete project member params
func (*DeleteProjectMemberParams) SetXRequestID ¶
func (o *DeleteProjectMemberParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete project member params
func (*DeleteProjectMemberParams) WithContext ¶
func (o *DeleteProjectMemberParams) WithContext(ctx context.Context) *DeleteProjectMemberParams
WithContext adds the context to the delete project member params
func (*DeleteProjectMemberParams) WithDefaults ¶
func (o *DeleteProjectMemberParams) WithDefaults() *DeleteProjectMemberParams
WithDefaults hydrates default values in the delete project member params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProjectMemberParams) WithHTTPClient ¶
func (o *DeleteProjectMemberParams) WithHTTPClient(client *http.Client) *DeleteProjectMemberParams
WithHTTPClient adds the HTTPClient to the delete project member params
func (*DeleteProjectMemberParams) WithMid ¶
func (o *DeleteProjectMemberParams) WithMid(mid int64) *DeleteProjectMemberParams
WithMid adds the mid to the delete project member params
func (*DeleteProjectMemberParams) WithProjectNameOrID ¶
func (o *DeleteProjectMemberParams) WithProjectNameOrID(projectNameOrID string) *DeleteProjectMemberParams
WithProjectNameOrID adds the projectNameOrID to the delete project member params
func (*DeleteProjectMemberParams) WithTimeout ¶
func (o *DeleteProjectMemberParams) WithTimeout(timeout time.Duration) *DeleteProjectMemberParams
WithTimeout adds the timeout to the delete project member params
func (*DeleteProjectMemberParams) WithXIsResourceName ¶
func (o *DeleteProjectMemberParams) WithXIsResourceName(xIsResourceName *bool) *DeleteProjectMemberParams
WithXIsResourceName adds the xIsResourceName to the delete project member params
func (*DeleteProjectMemberParams) WithXRequestID ¶
func (o *DeleteProjectMemberParams) WithXRequestID(xRequestID *string) *DeleteProjectMemberParams
WithXRequestID adds the xRequestID to the delete project member params
func (*DeleteProjectMemberParams) WriteToRequest ¶
func (o *DeleteProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProjectMemberReader ¶
type DeleteProjectMemberReader struct {
// contains filtered or unexported fields
}
DeleteProjectMemberReader is a Reader for the DeleteProjectMember structure.
func (*DeleteProjectMemberReader) ReadResponse ¶
func (o *DeleteProjectMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProjectMemberUnauthorized ¶
type DeleteProjectMemberUnauthorized struct { string }XRequestID
DeleteProjectMemberUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteProjectMemberUnauthorized ¶
func NewDeleteProjectMemberUnauthorized() *DeleteProjectMemberUnauthorized
NewDeleteProjectMemberUnauthorized creates a DeleteProjectMemberUnauthorized with default headers values
func (*DeleteProjectMemberUnauthorized) Error ¶
func (o *DeleteProjectMemberUnauthorized) Error() string
func (*DeleteProjectMemberUnauthorized) GetPayload ¶
func (o *DeleteProjectMemberUnauthorized) GetPayload() *models.Errors
func (*DeleteProjectMemberUnauthorized) IsClientError ¶
func (o *DeleteProjectMemberUnauthorized) IsClientError() bool
IsClientError returns true when this delete project member unauthorized response has a 4xx status code
func (*DeleteProjectMemberUnauthorized) IsCode ¶
func (o *DeleteProjectMemberUnauthorized) IsCode(code int) bool
IsCode returns true when this delete project member unauthorized response a status code equal to that given
func (*DeleteProjectMemberUnauthorized) IsRedirect ¶
func (o *DeleteProjectMemberUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete project member unauthorized response has a 3xx status code
func (*DeleteProjectMemberUnauthorized) IsServerError ¶
func (o *DeleteProjectMemberUnauthorized) IsServerError() bool
IsServerError returns true when this delete project member unauthorized response has a 5xx status code
func (*DeleteProjectMemberUnauthorized) IsSuccess ¶
func (o *DeleteProjectMemberUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete project member unauthorized response has a 2xx status code
func (*DeleteProjectMemberUnauthorized) String ¶
func (o *DeleteProjectMemberUnauthorized) String() string
type GetProjectMemberBadRequest ¶
type GetProjectMemberBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectMemberBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetProjectMemberBadRequest ¶
func NewGetProjectMemberBadRequest() *GetProjectMemberBadRequest
NewGetProjectMemberBadRequest creates a GetProjectMemberBadRequest with default headers values
func (*GetProjectMemberBadRequest) Error ¶
func (o *GetProjectMemberBadRequest) Error() string
func (*GetProjectMemberBadRequest) GetPayload ¶
func (o *GetProjectMemberBadRequest) GetPayload() *models.Errors
func (*GetProjectMemberBadRequest) IsClientError ¶
func (o *GetProjectMemberBadRequest) IsClientError() bool
IsClientError returns true when this get project member bad request response has a 4xx status code
func (*GetProjectMemberBadRequest) IsCode ¶
func (o *GetProjectMemberBadRequest) IsCode(code int) bool
IsCode returns true when this get project member bad request response a status code equal to that given
func (*GetProjectMemberBadRequest) IsRedirect ¶
func (o *GetProjectMemberBadRequest) IsRedirect() bool
IsRedirect returns true when this get project member bad request response has a 3xx status code
func (*GetProjectMemberBadRequest) IsServerError ¶
func (o *GetProjectMemberBadRequest) IsServerError() bool
IsServerError returns true when this get project member bad request response has a 5xx status code
func (*GetProjectMemberBadRequest) IsSuccess ¶
func (o *GetProjectMemberBadRequest) IsSuccess() bool
IsSuccess returns true when this get project member bad request response has a 2xx status code
func (*GetProjectMemberBadRequest) String ¶
func (o *GetProjectMemberBadRequest) String() string
type GetProjectMemberForbidden ¶
type GetProjectMemberForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectMemberForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetProjectMemberForbidden ¶
func NewGetProjectMemberForbidden() *GetProjectMemberForbidden
NewGetProjectMemberForbidden creates a GetProjectMemberForbidden with default headers values
func (*GetProjectMemberForbidden) Error ¶
func (o *GetProjectMemberForbidden) Error() string
func (*GetProjectMemberForbidden) GetPayload ¶
func (o *GetProjectMemberForbidden) GetPayload() *models.Errors
func (*GetProjectMemberForbidden) IsClientError ¶
func (o *GetProjectMemberForbidden) IsClientError() bool
IsClientError returns true when this get project member forbidden response has a 4xx status code
func (*GetProjectMemberForbidden) IsCode ¶
func (o *GetProjectMemberForbidden) IsCode(code int) bool
IsCode returns true when this get project member forbidden response a status code equal to that given
func (*GetProjectMemberForbidden) IsRedirect ¶
func (o *GetProjectMemberForbidden) IsRedirect() bool
IsRedirect returns true when this get project member forbidden response has a 3xx status code
func (*GetProjectMemberForbidden) IsServerError ¶
func (o *GetProjectMemberForbidden) IsServerError() bool
IsServerError returns true when this get project member forbidden response has a 5xx status code
func (*GetProjectMemberForbidden) IsSuccess ¶
func (o *GetProjectMemberForbidden) IsSuccess() bool
IsSuccess returns true when this get project member forbidden response has a 2xx status code
func (*GetProjectMemberForbidden) String ¶
func (o *GetProjectMemberForbidden) String() string
type GetProjectMemberInternalServerError ¶
type GetProjectMemberInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectMemberInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetProjectMemberInternalServerError ¶
func NewGetProjectMemberInternalServerError() *GetProjectMemberInternalServerError
NewGetProjectMemberInternalServerError creates a GetProjectMemberInternalServerError with default headers values
func (*GetProjectMemberInternalServerError) Error ¶
func (o *GetProjectMemberInternalServerError) Error() string
func (*GetProjectMemberInternalServerError) GetPayload ¶
func (o *GetProjectMemberInternalServerError) GetPayload() *models.Errors
func (*GetProjectMemberInternalServerError) IsClientError ¶
func (o *GetProjectMemberInternalServerError) IsClientError() bool
IsClientError returns true when this get project member internal server error response has a 4xx status code
func (*GetProjectMemberInternalServerError) IsCode ¶
func (o *GetProjectMemberInternalServerError) IsCode(code int) bool
IsCode returns true when this get project member internal server error response a status code equal to that given
func (*GetProjectMemberInternalServerError) IsRedirect ¶
func (o *GetProjectMemberInternalServerError) IsRedirect() bool
IsRedirect returns true when this get project member internal server error response has a 3xx status code
func (*GetProjectMemberInternalServerError) IsServerError ¶
func (o *GetProjectMemberInternalServerError) IsServerError() bool
IsServerError returns true when this get project member internal server error response has a 5xx status code
func (*GetProjectMemberInternalServerError) IsSuccess ¶
func (o *GetProjectMemberInternalServerError) IsSuccess() bool
IsSuccess returns true when this get project member internal server error response has a 2xx status code
func (*GetProjectMemberInternalServerError) String ¶
func (o *GetProjectMemberInternalServerError) String() string
type GetProjectMemberNotFound ¶
type GetProjectMemberNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetProjectMemberNotFound describes a response with status code 404, with default header values.
Not found
func NewGetProjectMemberNotFound ¶
func NewGetProjectMemberNotFound() *GetProjectMemberNotFound
NewGetProjectMemberNotFound creates a GetProjectMemberNotFound with default headers values
func (*GetProjectMemberNotFound) Error ¶
func (o *GetProjectMemberNotFound) Error() string
func (*GetProjectMemberNotFound) GetPayload ¶
func (o *GetProjectMemberNotFound) GetPayload() *models.Errors
func (*GetProjectMemberNotFound) IsClientError ¶
func (o *GetProjectMemberNotFound) IsClientError() bool
IsClientError returns true when this get project member not found response has a 4xx status code
func (*GetProjectMemberNotFound) IsCode ¶
func (o *GetProjectMemberNotFound) IsCode(code int) bool
IsCode returns true when this get project member not found response a status code equal to that given
func (*GetProjectMemberNotFound) IsRedirect ¶
func (o *GetProjectMemberNotFound) IsRedirect() bool
IsRedirect returns true when this get project member not found response has a 3xx status code
func (*GetProjectMemberNotFound) IsServerError ¶
func (o *GetProjectMemberNotFound) IsServerError() bool
IsServerError returns true when this get project member not found response has a 5xx status code
func (*GetProjectMemberNotFound) IsSuccess ¶
func (o *GetProjectMemberNotFound) IsSuccess() bool
IsSuccess returns true when this get project member not found response has a 2xx status code
func (*GetProjectMemberNotFound) String ¶
func (o *GetProjectMemberNotFound) String() string
type GetProjectMemberOK ¶
type GetProjectMemberOK struct {
Payload *models.ProjectMemberEntity
}
GetProjectMemberOK describes a response with status code 200, with default header values.
Project member retrieved successfully.
func NewGetProjectMemberOK ¶
func NewGetProjectMemberOK() *GetProjectMemberOK
NewGetProjectMemberOK creates a GetProjectMemberOK with default headers values
func (*GetProjectMemberOK) Error ¶
func (o *GetProjectMemberOK) Error() string
func (*GetProjectMemberOK) GetPayload ¶
func (o *GetProjectMemberOK) GetPayload() *models.ProjectMemberEntity
func (*GetProjectMemberOK) IsClientError ¶
func (o *GetProjectMemberOK) IsClientError() bool
IsClientError returns true when this get project member o k response has a 4xx status code
func (*GetProjectMemberOK) IsCode ¶
func (o *GetProjectMemberOK) IsCode(code int) bool
IsCode returns true when this get project member o k response a status code equal to that given
func (*GetProjectMemberOK) IsRedirect ¶
func (o *GetProjectMemberOK) IsRedirect() bool
IsRedirect returns true when this get project member o k response has a 3xx status code
func (*GetProjectMemberOK) IsServerError ¶
func (o *GetProjectMemberOK) IsServerError() bool
IsServerError returns true when this get project member o k response has a 5xx status code
func (*GetProjectMemberOK) IsSuccess ¶
func (o *GetProjectMemberOK) IsSuccess() bool
IsSuccess returns true when this get project member o k response has a 2xx status code
func (*GetProjectMemberOK) String ¶
func (o *GetProjectMemberOK) String() string
type GetProjectMemberParams ¶
type GetProjectMemberParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* Mid. The member ID Format: int64 */ Mid int64 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectMemberParams contains all the parameters to send to the API endpoint
for the get project member operation. Typically these are written to a http.Request.
func NewGetProjectMemberParams ¶
func NewGetProjectMemberParams() *GetProjectMemberParams
NewGetProjectMemberParams creates a new GetProjectMemberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetProjectMemberParamsWithContext ¶
func NewGetProjectMemberParamsWithContext(ctx context.Context) *GetProjectMemberParams
NewGetProjectMemberParamsWithContext creates a new GetProjectMemberParams object with the ability to set a context for a request.
func NewGetProjectMemberParamsWithHTTPClient ¶
func NewGetProjectMemberParamsWithHTTPClient(client *http.Client) *GetProjectMemberParams
NewGetProjectMemberParamsWithHTTPClient creates a new GetProjectMemberParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectMemberParamsWithTimeout ¶
func NewGetProjectMemberParamsWithTimeout(timeout time.Duration) *GetProjectMemberParams
NewGetProjectMemberParamsWithTimeout creates a new GetProjectMemberParams object with the ability to set a timeout on a request.
func (*GetProjectMemberParams) SetContext ¶
func (o *GetProjectMemberParams) SetContext(ctx context.Context)
SetContext adds the context to the get project member params
func (*GetProjectMemberParams) SetDefaults ¶
func (o *GetProjectMemberParams) SetDefaults()
SetDefaults hydrates default values in the get project member params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectMemberParams) SetHTTPClient ¶
func (o *GetProjectMemberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project member params
func (*GetProjectMemberParams) SetMid ¶
func (o *GetProjectMemberParams) SetMid(mid int64)
SetMid adds the mid to the get project member params
func (*GetProjectMemberParams) SetProjectNameOrID ¶
func (o *GetProjectMemberParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the get project member params
func (*GetProjectMemberParams) SetTimeout ¶
func (o *GetProjectMemberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project member params
func (*GetProjectMemberParams) SetXIsResourceName ¶
func (o *GetProjectMemberParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the get project member params
func (*GetProjectMemberParams) SetXRequestID ¶
func (o *GetProjectMemberParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get project member params
func (*GetProjectMemberParams) WithContext ¶
func (o *GetProjectMemberParams) WithContext(ctx context.Context) *GetProjectMemberParams
WithContext adds the context to the get project member params
func (*GetProjectMemberParams) WithDefaults ¶
func (o *GetProjectMemberParams) WithDefaults() *GetProjectMemberParams
WithDefaults hydrates default values in the get project member params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectMemberParams) WithHTTPClient ¶
func (o *GetProjectMemberParams) WithHTTPClient(client *http.Client) *GetProjectMemberParams
WithHTTPClient adds the HTTPClient to the get project member params
func (*GetProjectMemberParams) WithMid ¶
func (o *GetProjectMemberParams) WithMid(mid int64) *GetProjectMemberParams
WithMid adds the mid to the get project member params
func (*GetProjectMemberParams) WithProjectNameOrID ¶
func (o *GetProjectMemberParams) WithProjectNameOrID(projectNameOrID string) *GetProjectMemberParams
WithProjectNameOrID adds the projectNameOrID to the get project member params
func (*GetProjectMemberParams) WithTimeout ¶
func (o *GetProjectMemberParams) WithTimeout(timeout time.Duration) *GetProjectMemberParams
WithTimeout adds the timeout to the get project member params
func (*GetProjectMemberParams) WithXIsResourceName ¶
func (o *GetProjectMemberParams) WithXIsResourceName(xIsResourceName *bool) *GetProjectMemberParams
WithXIsResourceName adds the xIsResourceName to the get project member params
func (*GetProjectMemberParams) WithXRequestID ¶
func (o *GetProjectMemberParams) WithXRequestID(xRequestID *string) *GetProjectMemberParams
WithXRequestID adds the xRequestID to the get project member params
func (*GetProjectMemberParams) WriteToRequest ¶
func (o *GetProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectMemberReader ¶
type GetProjectMemberReader struct {
// contains filtered or unexported fields
}
GetProjectMemberReader is a Reader for the GetProjectMember structure.
func (*GetProjectMemberReader) ReadResponse ¶
func (o *GetProjectMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectMemberUnauthorized ¶
type GetProjectMemberUnauthorized struct { string }XRequestID
GetProjectMemberUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetProjectMemberUnauthorized ¶
func NewGetProjectMemberUnauthorized() *GetProjectMemberUnauthorized
NewGetProjectMemberUnauthorized creates a GetProjectMemberUnauthorized with default headers values
func (*GetProjectMemberUnauthorized) Error ¶
func (o *GetProjectMemberUnauthorized) Error() string
func (*GetProjectMemberUnauthorized) GetPayload ¶
func (o *GetProjectMemberUnauthorized) GetPayload() *models.Errors
func (*GetProjectMemberUnauthorized) IsClientError ¶
func (o *GetProjectMemberUnauthorized) IsClientError() bool
IsClientError returns true when this get project member unauthorized response has a 4xx status code
func (*GetProjectMemberUnauthorized) IsCode ¶
func (o *GetProjectMemberUnauthorized) IsCode(code int) bool
IsCode returns true when this get project member unauthorized response a status code equal to that given
func (*GetProjectMemberUnauthorized) IsRedirect ¶
func (o *GetProjectMemberUnauthorized) IsRedirect() bool
IsRedirect returns true when this get project member unauthorized response has a 3xx status code
func (*GetProjectMemberUnauthorized) IsServerError ¶
func (o *GetProjectMemberUnauthorized) IsServerError() bool
IsServerError returns true when this get project member unauthorized response has a 5xx status code
func (*GetProjectMemberUnauthorized) IsSuccess ¶
func (o *GetProjectMemberUnauthorized) IsSuccess() bool
IsSuccess returns true when this get project member unauthorized response has a 2xx status code
func (*GetProjectMemberUnauthorized) String ¶
func (o *GetProjectMemberUnauthorized) String() string
type ListProjectMembersBadRequest ¶
type ListProjectMembersBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectMembersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListProjectMembersBadRequest ¶
func NewListProjectMembersBadRequest() *ListProjectMembersBadRequest
NewListProjectMembersBadRequest creates a ListProjectMembersBadRequest with default headers values
func (*ListProjectMembersBadRequest) Error ¶
func (o *ListProjectMembersBadRequest) Error() string
func (*ListProjectMembersBadRequest) GetPayload ¶
func (o *ListProjectMembersBadRequest) GetPayload() *models.Errors
func (*ListProjectMembersBadRequest) IsClientError ¶
func (o *ListProjectMembersBadRequest) IsClientError() bool
IsClientError returns true when this list project members bad request response has a 4xx status code
func (*ListProjectMembersBadRequest) IsCode ¶
func (o *ListProjectMembersBadRequest) IsCode(code int) bool
IsCode returns true when this list project members bad request response a status code equal to that given
func (*ListProjectMembersBadRequest) IsRedirect ¶
func (o *ListProjectMembersBadRequest) IsRedirect() bool
IsRedirect returns true when this list project members bad request response has a 3xx status code
func (*ListProjectMembersBadRequest) IsServerError ¶
func (o *ListProjectMembersBadRequest) IsServerError() bool
IsServerError returns true when this list project members bad request response has a 5xx status code
func (*ListProjectMembersBadRequest) IsSuccess ¶
func (o *ListProjectMembersBadRequest) IsSuccess() bool
IsSuccess returns true when this list project members bad request response has a 2xx status code
func (*ListProjectMembersBadRequest) String ¶
func (o *ListProjectMembersBadRequest) String() string
type ListProjectMembersForbidden ¶
type ListProjectMembersForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectMembersForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListProjectMembersForbidden ¶
func NewListProjectMembersForbidden() *ListProjectMembersForbidden
NewListProjectMembersForbidden creates a ListProjectMembersForbidden with default headers values
func (*ListProjectMembersForbidden) Error ¶
func (o *ListProjectMembersForbidden) Error() string
func (*ListProjectMembersForbidden) GetPayload ¶
func (o *ListProjectMembersForbidden) GetPayload() *models.Errors
func (*ListProjectMembersForbidden) IsClientError ¶
func (o *ListProjectMembersForbidden) IsClientError() bool
IsClientError returns true when this list project members forbidden response has a 4xx status code
func (*ListProjectMembersForbidden) IsCode ¶
func (o *ListProjectMembersForbidden) IsCode(code int) bool
IsCode returns true when this list project members forbidden response a status code equal to that given
func (*ListProjectMembersForbidden) IsRedirect ¶
func (o *ListProjectMembersForbidden) IsRedirect() bool
IsRedirect returns true when this list project members forbidden response has a 3xx status code
func (*ListProjectMembersForbidden) IsServerError ¶
func (o *ListProjectMembersForbidden) IsServerError() bool
IsServerError returns true when this list project members forbidden response has a 5xx status code
func (*ListProjectMembersForbidden) IsSuccess ¶
func (o *ListProjectMembersForbidden) IsSuccess() bool
IsSuccess returns true when this list project members forbidden response has a 2xx status code
func (*ListProjectMembersForbidden) String ¶
func (o *ListProjectMembersForbidden) String() string
type ListProjectMembersInternalServerError ¶
type ListProjectMembersInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectMembersInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListProjectMembersInternalServerError ¶
func NewListProjectMembersInternalServerError() *ListProjectMembersInternalServerError
NewListProjectMembersInternalServerError creates a ListProjectMembersInternalServerError with default headers values
func (*ListProjectMembersInternalServerError) Error ¶
func (o *ListProjectMembersInternalServerError) Error() string
func (*ListProjectMembersInternalServerError) GetPayload ¶
func (o *ListProjectMembersInternalServerError) GetPayload() *models.Errors
func (*ListProjectMembersInternalServerError) IsClientError ¶
func (o *ListProjectMembersInternalServerError) IsClientError() bool
IsClientError returns true when this list project members internal server error response has a 4xx status code
func (*ListProjectMembersInternalServerError) IsCode ¶
func (o *ListProjectMembersInternalServerError) IsCode(code int) bool
IsCode returns true when this list project members internal server error response a status code equal to that given
func (*ListProjectMembersInternalServerError) IsRedirect ¶
func (o *ListProjectMembersInternalServerError) IsRedirect() bool
IsRedirect returns true when this list project members internal server error response has a 3xx status code
func (*ListProjectMembersInternalServerError) IsServerError ¶
func (o *ListProjectMembersInternalServerError) IsServerError() bool
IsServerError returns true when this list project members internal server error response has a 5xx status code
func (*ListProjectMembersInternalServerError) IsSuccess ¶
func (o *ListProjectMembersInternalServerError) IsSuccess() bool
IsSuccess returns true when this list project members internal server error response has a 2xx status code
func (*ListProjectMembersInternalServerError) String ¶
func (o *ListProjectMembersInternalServerError) String() string
type ListProjectMembersNotFound ¶
type ListProjectMembersNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
ListProjectMembersNotFound describes a response with status code 404, with default header values.
Not found
func NewListProjectMembersNotFound ¶
func NewListProjectMembersNotFound() *ListProjectMembersNotFound
NewListProjectMembersNotFound creates a ListProjectMembersNotFound with default headers values
func (*ListProjectMembersNotFound) Error ¶
func (o *ListProjectMembersNotFound) Error() string
func (*ListProjectMembersNotFound) GetPayload ¶
func (o *ListProjectMembersNotFound) GetPayload() *models.Errors
func (*ListProjectMembersNotFound) IsClientError ¶
func (o *ListProjectMembersNotFound) IsClientError() bool
IsClientError returns true when this list project members not found response has a 4xx status code
func (*ListProjectMembersNotFound) IsCode ¶
func (o *ListProjectMembersNotFound) IsCode(code int) bool
IsCode returns true when this list project members not found response a status code equal to that given
func (*ListProjectMembersNotFound) IsRedirect ¶
func (o *ListProjectMembersNotFound) IsRedirect() bool
IsRedirect returns true when this list project members not found response has a 3xx status code
func (*ListProjectMembersNotFound) IsServerError ¶
func (o *ListProjectMembersNotFound) IsServerError() bool
IsServerError returns true when this list project members not found response has a 5xx status code
func (*ListProjectMembersNotFound) IsSuccess ¶
func (o *ListProjectMembersNotFound) IsSuccess() bool
IsSuccess returns true when this list project members not found response has a 2xx status code
func (*ListProjectMembersNotFound) String ¶
func (o *ListProjectMembersNotFound) String() string
type ListProjectMembersOK ¶
type ListProjectMembersOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of members */ XTotalCount int64 Payload []*models.ProjectMemberEntity }
ListProjectMembersOK describes a response with status code 200, with default header values.
Get project members successfully.
func NewListProjectMembersOK ¶
func NewListProjectMembersOK() *ListProjectMembersOK
NewListProjectMembersOK creates a ListProjectMembersOK with default headers values
func (*ListProjectMembersOK) Error ¶
func (o *ListProjectMembersOK) Error() string
func (*ListProjectMembersOK) GetPayload ¶
func (o *ListProjectMembersOK) GetPayload() []*models.ProjectMemberEntity
func (*ListProjectMembersOK) IsClientError ¶
func (o *ListProjectMembersOK) IsClientError() bool
IsClientError returns true when this list project members o k response has a 4xx status code
func (*ListProjectMembersOK) IsCode ¶
func (o *ListProjectMembersOK) IsCode(code int) bool
IsCode returns true when this list project members o k response a status code equal to that given
func (*ListProjectMembersOK) IsRedirect ¶
func (o *ListProjectMembersOK) IsRedirect() bool
IsRedirect returns true when this list project members o k response has a 3xx status code
func (*ListProjectMembersOK) IsServerError ¶
func (o *ListProjectMembersOK) IsServerError() bool
IsServerError returns true when this list project members o k response has a 5xx status code
func (*ListProjectMembersOK) IsSuccess ¶
func (o *ListProjectMembersOK) IsSuccess() bool
IsSuccess returns true when this list project members o k response has a 2xx status code
func (*ListProjectMembersOK) String ¶
func (o *ListProjectMembersOK) String() string
type ListProjectMembersParams ¶
type ListProjectMembersParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* Entityname. The entity name to search. */ Entityname *string /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectMembersParams contains all the parameters to send to the API endpoint
for the list project members operation. Typically these are written to a http.Request.
func NewListProjectMembersParams ¶
func NewListProjectMembersParams() *ListProjectMembersParams
NewListProjectMembersParams creates a new ListProjectMembersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListProjectMembersParamsWithContext ¶
func NewListProjectMembersParamsWithContext(ctx context.Context) *ListProjectMembersParams
NewListProjectMembersParamsWithContext creates a new ListProjectMembersParams object with the ability to set a context for a request.
func NewListProjectMembersParamsWithHTTPClient ¶
func NewListProjectMembersParamsWithHTTPClient(client *http.Client) *ListProjectMembersParams
NewListProjectMembersParamsWithHTTPClient creates a new ListProjectMembersParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectMembersParamsWithTimeout ¶
func NewListProjectMembersParamsWithTimeout(timeout time.Duration) *ListProjectMembersParams
NewListProjectMembersParamsWithTimeout creates a new ListProjectMembersParams object with the ability to set a timeout on a request.
func (*ListProjectMembersParams) SetContext ¶
func (o *ListProjectMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the list project members params
func (*ListProjectMembersParams) SetDefaults ¶
func (o *ListProjectMembersParams) SetDefaults()
SetDefaults hydrates default values in the list project members params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectMembersParams) SetEntityname ¶
func (o *ListProjectMembersParams) SetEntityname(entityname *string)
SetEntityname adds the entityname to the list project members params
func (*ListProjectMembersParams) SetHTTPClient ¶
func (o *ListProjectMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list project members params
func (*ListProjectMembersParams) SetPage ¶
func (o *ListProjectMembersParams) SetPage(page *int64)
SetPage adds the page to the list project members params
func (*ListProjectMembersParams) SetPageSize ¶
func (o *ListProjectMembersParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list project members params
func (*ListProjectMembersParams) SetProjectNameOrID ¶
func (o *ListProjectMembersParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the list project members params
func (*ListProjectMembersParams) SetTimeout ¶
func (o *ListProjectMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list project members params
func (*ListProjectMembersParams) SetXIsResourceName ¶
func (o *ListProjectMembersParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the list project members params
func (*ListProjectMembersParams) SetXRequestID ¶
func (o *ListProjectMembersParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list project members params
func (*ListProjectMembersParams) WithContext ¶
func (o *ListProjectMembersParams) WithContext(ctx context.Context) *ListProjectMembersParams
WithContext adds the context to the list project members params
func (*ListProjectMembersParams) WithDefaults ¶
func (o *ListProjectMembersParams) WithDefaults() *ListProjectMembersParams
WithDefaults hydrates default values in the list project members params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectMembersParams) WithEntityname ¶
func (o *ListProjectMembersParams) WithEntityname(entityname *string) *ListProjectMembersParams
WithEntityname adds the entityname to the list project members params
func (*ListProjectMembersParams) WithHTTPClient ¶
func (o *ListProjectMembersParams) WithHTTPClient(client *http.Client) *ListProjectMembersParams
WithHTTPClient adds the HTTPClient to the list project members params
func (*ListProjectMembersParams) WithPage ¶
func (o *ListProjectMembersParams) WithPage(page *int64) *ListProjectMembersParams
WithPage adds the page to the list project members params
func (*ListProjectMembersParams) WithPageSize ¶
func (o *ListProjectMembersParams) WithPageSize(pageSize *int64) *ListProjectMembersParams
WithPageSize adds the pageSize to the list project members params
func (*ListProjectMembersParams) WithProjectNameOrID ¶
func (o *ListProjectMembersParams) WithProjectNameOrID(projectNameOrID string) *ListProjectMembersParams
WithProjectNameOrID adds the projectNameOrID to the list project members params
func (*ListProjectMembersParams) WithTimeout ¶
func (o *ListProjectMembersParams) WithTimeout(timeout time.Duration) *ListProjectMembersParams
WithTimeout adds the timeout to the list project members params
func (*ListProjectMembersParams) WithXIsResourceName ¶
func (o *ListProjectMembersParams) WithXIsResourceName(xIsResourceName *bool) *ListProjectMembersParams
WithXIsResourceName adds the xIsResourceName to the list project members params
func (*ListProjectMembersParams) WithXRequestID ¶
func (o *ListProjectMembersParams) WithXRequestID(xRequestID *string) *ListProjectMembersParams
WithXRequestID adds the xRequestID to the list project members params
func (*ListProjectMembersParams) WriteToRequest ¶
func (o *ListProjectMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectMembersReader ¶
type ListProjectMembersReader struct {
// contains filtered or unexported fields
}
ListProjectMembersReader is a Reader for the ListProjectMembers structure.
func (*ListProjectMembersReader) ReadResponse ¶
func (o *ListProjectMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectMembersUnauthorized ¶
type ListProjectMembersUnauthorized struct { string }XRequestID
ListProjectMembersUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListProjectMembersUnauthorized ¶
func NewListProjectMembersUnauthorized() *ListProjectMembersUnauthorized
NewListProjectMembersUnauthorized creates a ListProjectMembersUnauthorized with default headers values
func (*ListProjectMembersUnauthorized) Error ¶
func (o *ListProjectMembersUnauthorized) Error() string
func (*ListProjectMembersUnauthorized) GetPayload ¶
func (o *ListProjectMembersUnauthorized) GetPayload() *models.Errors
func (*ListProjectMembersUnauthorized) IsClientError ¶
func (o *ListProjectMembersUnauthorized) IsClientError() bool
IsClientError returns true when this list project members unauthorized response has a 4xx status code
func (*ListProjectMembersUnauthorized) IsCode ¶
func (o *ListProjectMembersUnauthorized) IsCode(code int) bool
IsCode returns true when this list project members unauthorized response a status code equal to that given
func (*ListProjectMembersUnauthorized) IsRedirect ¶
func (o *ListProjectMembersUnauthorized) IsRedirect() bool
IsRedirect returns true when this list project members unauthorized response has a 3xx status code
func (*ListProjectMembersUnauthorized) IsServerError ¶
func (o *ListProjectMembersUnauthorized) IsServerError() bool
IsServerError returns true when this list project members unauthorized response has a 5xx status code
func (*ListProjectMembersUnauthorized) IsSuccess ¶
func (o *ListProjectMembersUnauthorized) IsSuccess() bool
IsSuccess returns true when this list project members unauthorized response has a 2xx status code
func (*ListProjectMembersUnauthorized) String ¶
func (o *ListProjectMembersUnauthorized) String() string
type UpdateProjectMemberBadRequest ¶
type UpdateProjectMemberBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectMemberBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateProjectMemberBadRequest ¶
func NewUpdateProjectMemberBadRequest() *UpdateProjectMemberBadRequest
NewUpdateProjectMemberBadRequest creates a UpdateProjectMemberBadRequest with default headers values
func (*UpdateProjectMemberBadRequest) Error ¶
func (o *UpdateProjectMemberBadRequest) Error() string
func (*UpdateProjectMemberBadRequest) GetPayload ¶
func (o *UpdateProjectMemberBadRequest) GetPayload() *models.Errors
func (*UpdateProjectMemberBadRequest) IsClientError ¶
func (o *UpdateProjectMemberBadRequest) IsClientError() bool
IsClientError returns true when this update project member bad request response has a 4xx status code
func (*UpdateProjectMemberBadRequest) IsCode ¶
func (o *UpdateProjectMemberBadRequest) IsCode(code int) bool
IsCode returns true when this update project member bad request response a status code equal to that given
func (*UpdateProjectMemberBadRequest) IsRedirect ¶
func (o *UpdateProjectMemberBadRequest) IsRedirect() bool
IsRedirect returns true when this update project member bad request response has a 3xx status code
func (*UpdateProjectMemberBadRequest) IsServerError ¶
func (o *UpdateProjectMemberBadRequest) IsServerError() bool
IsServerError returns true when this update project member bad request response has a 5xx status code
func (*UpdateProjectMemberBadRequest) IsSuccess ¶
func (o *UpdateProjectMemberBadRequest) IsSuccess() bool
IsSuccess returns true when this update project member bad request response has a 2xx status code
func (*UpdateProjectMemberBadRequest) String ¶
func (o *UpdateProjectMemberBadRequest) String() string
type UpdateProjectMemberForbidden ¶
type UpdateProjectMemberForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectMemberForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateProjectMemberForbidden ¶
func NewUpdateProjectMemberForbidden() *UpdateProjectMemberForbidden
NewUpdateProjectMemberForbidden creates a UpdateProjectMemberForbidden with default headers values
func (*UpdateProjectMemberForbidden) Error ¶
func (o *UpdateProjectMemberForbidden) Error() string
func (*UpdateProjectMemberForbidden) GetPayload ¶
func (o *UpdateProjectMemberForbidden) GetPayload() *models.Errors
func (*UpdateProjectMemberForbidden) IsClientError ¶
func (o *UpdateProjectMemberForbidden) IsClientError() bool
IsClientError returns true when this update project member forbidden response has a 4xx status code
func (*UpdateProjectMemberForbidden) IsCode ¶
func (o *UpdateProjectMemberForbidden) IsCode(code int) bool
IsCode returns true when this update project member forbidden response a status code equal to that given
func (*UpdateProjectMemberForbidden) IsRedirect ¶
func (o *UpdateProjectMemberForbidden) IsRedirect() bool
IsRedirect returns true when this update project member forbidden response has a 3xx status code
func (*UpdateProjectMemberForbidden) IsServerError ¶
func (o *UpdateProjectMemberForbidden) IsServerError() bool
IsServerError returns true when this update project member forbidden response has a 5xx status code
func (*UpdateProjectMemberForbidden) IsSuccess ¶
func (o *UpdateProjectMemberForbidden) IsSuccess() bool
IsSuccess returns true when this update project member forbidden response has a 2xx status code
func (*UpdateProjectMemberForbidden) String ¶
func (o *UpdateProjectMemberForbidden) String() string
type UpdateProjectMemberInternalServerError ¶
type UpdateProjectMemberInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectMemberInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateProjectMemberInternalServerError ¶
func NewUpdateProjectMemberInternalServerError() *UpdateProjectMemberInternalServerError
NewUpdateProjectMemberInternalServerError creates a UpdateProjectMemberInternalServerError with default headers values
func (*UpdateProjectMemberInternalServerError) Error ¶
func (o *UpdateProjectMemberInternalServerError) Error() string
func (*UpdateProjectMemberInternalServerError) GetPayload ¶
func (o *UpdateProjectMemberInternalServerError) GetPayload() *models.Errors
func (*UpdateProjectMemberInternalServerError) IsClientError ¶
func (o *UpdateProjectMemberInternalServerError) IsClientError() bool
IsClientError returns true when this update project member internal server error response has a 4xx status code
func (*UpdateProjectMemberInternalServerError) IsCode ¶
func (o *UpdateProjectMemberInternalServerError) IsCode(code int) bool
IsCode returns true when this update project member internal server error response a status code equal to that given
func (*UpdateProjectMemberInternalServerError) IsRedirect ¶
func (o *UpdateProjectMemberInternalServerError) IsRedirect() bool
IsRedirect returns true when this update project member internal server error response has a 3xx status code
func (*UpdateProjectMemberInternalServerError) IsServerError ¶
func (o *UpdateProjectMemberInternalServerError) IsServerError() bool
IsServerError returns true when this update project member internal server error response has a 5xx status code
func (*UpdateProjectMemberInternalServerError) IsSuccess ¶
func (o *UpdateProjectMemberInternalServerError) IsSuccess() bool
IsSuccess returns true when this update project member internal server error response has a 2xx status code
func (*UpdateProjectMemberInternalServerError) String ¶
func (o *UpdateProjectMemberInternalServerError) String() string
type UpdateProjectMemberNotFound ¶
type UpdateProjectMemberNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateProjectMemberNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateProjectMemberNotFound ¶
func NewUpdateProjectMemberNotFound() *UpdateProjectMemberNotFound
NewUpdateProjectMemberNotFound creates a UpdateProjectMemberNotFound with default headers values
func (*UpdateProjectMemberNotFound) Error ¶
func (o *UpdateProjectMemberNotFound) Error() string
func (*UpdateProjectMemberNotFound) GetPayload ¶
func (o *UpdateProjectMemberNotFound) GetPayload() *models.Errors
func (*UpdateProjectMemberNotFound) IsClientError ¶
func (o *UpdateProjectMemberNotFound) IsClientError() bool
IsClientError returns true when this update project member not found response has a 4xx status code
func (*UpdateProjectMemberNotFound) IsCode ¶
func (o *UpdateProjectMemberNotFound) IsCode(code int) bool
IsCode returns true when this update project member not found response a status code equal to that given
func (*UpdateProjectMemberNotFound) IsRedirect ¶
func (o *UpdateProjectMemberNotFound) IsRedirect() bool
IsRedirect returns true when this update project member not found response has a 3xx status code
func (*UpdateProjectMemberNotFound) IsServerError ¶
func (o *UpdateProjectMemberNotFound) IsServerError() bool
IsServerError returns true when this update project member not found response has a 5xx status code
func (*UpdateProjectMemberNotFound) IsSuccess ¶
func (o *UpdateProjectMemberNotFound) IsSuccess() bool
IsSuccess returns true when this update project member not found response has a 2xx status code
func (*UpdateProjectMemberNotFound) String ¶
func (o *UpdateProjectMemberNotFound) String() string
type UpdateProjectMemberOK ¶
type UpdateProjectMemberOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
UpdateProjectMemberOK describes a response with status code 200, with default header values.
Success
func NewUpdateProjectMemberOK ¶
func NewUpdateProjectMemberOK() *UpdateProjectMemberOK
NewUpdateProjectMemberOK creates a UpdateProjectMemberOK with default headers values
func (*UpdateProjectMemberOK) Error ¶
func (o *UpdateProjectMemberOK) Error() string
func (*UpdateProjectMemberOK) IsClientError ¶
func (o *UpdateProjectMemberOK) IsClientError() bool
IsClientError returns true when this update project member o k response has a 4xx status code
func (*UpdateProjectMemberOK) IsCode ¶
func (o *UpdateProjectMemberOK) IsCode(code int) bool
IsCode returns true when this update project member o k response a status code equal to that given
func (*UpdateProjectMemberOK) IsRedirect ¶
func (o *UpdateProjectMemberOK) IsRedirect() bool
IsRedirect returns true when this update project member o k response has a 3xx status code
func (*UpdateProjectMemberOK) IsServerError ¶
func (o *UpdateProjectMemberOK) IsServerError() bool
IsServerError returns true when this update project member o k response has a 5xx status code
func (*UpdateProjectMemberOK) IsSuccess ¶
func (o *UpdateProjectMemberOK) IsSuccess() bool
IsSuccess returns true when this update project member o k response has a 2xx status code
func (*UpdateProjectMemberOK) String ¶
func (o *UpdateProjectMemberOK) String() string
type UpdateProjectMemberParams ¶
type UpdateProjectMemberParams struct { /* XIsResourceName. The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name. */ XIsResourceName *bool /* XRequestID. An unique ID for the request */ XRequestID *string /* Mid. Member ID. Format: int64 */ Mid int64 /* ProjectNameOrID. The name or id of the project */ ProjectNameOrID string // Role. Role *models.RoleRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProjectMemberParams contains all the parameters to send to the API endpoint
for the update project member operation. Typically these are written to a http.Request.
func NewUpdateProjectMemberParams ¶
func NewUpdateProjectMemberParams() *UpdateProjectMemberParams
NewUpdateProjectMemberParams creates a new UpdateProjectMemberParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateProjectMemberParamsWithContext ¶
func NewUpdateProjectMemberParamsWithContext(ctx context.Context) *UpdateProjectMemberParams
NewUpdateProjectMemberParamsWithContext creates a new UpdateProjectMemberParams object with the ability to set a context for a request.
func NewUpdateProjectMemberParamsWithHTTPClient ¶
func NewUpdateProjectMemberParamsWithHTTPClient(client *http.Client) *UpdateProjectMemberParams
NewUpdateProjectMemberParamsWithHTTPClient creates a new UpdateProjectMemberParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateProjectMemberParamsWithTimeout ¶
func NewUpdateProjectMemberParamsWithTimeout(timeout time.Duration) *UpdateProjectMemberParams
NewUpdateProjectMemberParamsWithTimeout creates a new UpdateProjectMemberParams object with the ability to set a timeout on a request.
func (*UpdateProjectMemberParams) SetContext ¶
func (o *UpdateProjectMemberParams) SetContext(ctx context.Context)
SetContext adds the context to the update project member params
func (*UpdateProjectMemberParams) SetDefaults ¶
func (o *UpdateProjectMemberParams) SetDefaults()
SetDefaults hydrates default values in the update project member params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectMemberParams) SetHTTPClient ¶
func (o *UpdateProjectMemberParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update project member params
func (*UpdateProjectMemberParams) SetMid ¶
func (o *UpdateProjectMemberParams) SetMid(mid int64)
SetMid adds the mid to the update project member params
func (*UpdateProjectMemberParams) SetProjectNameOrID ¶
func (o *UpdateProjectMemberParams) SetProjectNameOrID(projectNameOrID string)
SetProjectNameOrID adds the projectNameOrId to the update project member params
func (*UpdateProjectMemberParams) SetRole ¶
func (o *UpdateProjectMemberParams) SetRole(role *models.RoleRequest)
SetRole adds the role to the update project member params
func (*UpdateProjectMemberParams) SetTimeout ¶
func (o *UpdateProjectMemberParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update project member params
func (*UpdateProjectMemberParams) SetXIsResourceName ¶
func (o *UpdateProjectMemberParams) SetXIsResourceName(xIsResourceName *bool)
SetXIsResourceName adds the xIsResourceName to the update project member params
func (*UpdateProjectMemberParams) SetXRequestID ¶
func (o *UpdateProjectMemberParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update project member params
func (*UpdateProjectMemberParams) WithContext ¶
func (o *UpdateProjectMemberParams) WithContext(ctx context.Context) *UpdateProjectMemberParams
WithContext adds the context to the update project member params
func (*UpdateProjectMemberParams) WithDefaults ¶
func (o *UpdateProjectMemberParams) WithDefaults() *UpdateProjectMemberParams
WithDefaults hydrates default values in the update project member params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProjectMemberParams) WithHTTPClient ¶
func (o *UpdateProjectMemberParams) WithHTTPClient(client *http.Client) *UpdateProjectMemberParams
WithHTTPClient adds the HTTPClient to the update project member params
func (*UpdateProjectMemberParams) WithMid ¶
func (o *UpdateProjectMemberParams) WithMid(mid int64) *UpdateProjectMemberParams
WithMid adds the mid to the update project member params
func (*UpdateProjectMemberParams) WithProjectNameOrID ¶
func (o *UpdateProjectMemberParams) WithProjectNameOrID(projectNameOrID string) *UpdateProjectMemberParams
WithProjectNameOrID adds the projectNameOrID to the update project member params
func (*UpdateProjectMemberParams) WithRole ¶
func (o *UpdateProjectMemberParams) WithRole(role *models.RoleRequest) *UpdateProjectMemberParams
WithRole adds the role to the update project member params
func (*UpdateProjectMemberParams) WithTimeout ¶
func (o *UpdateProjectMemberParams) WithTimeout(timeout time.Duration) *UpdateProjectMemberParams
WithTimeout adds the timeout to the update project member params
func (*UpdateProjectMemberParams) WithXIsResourceName ¶
func (o *UpdateProjectMemberParams) WithXIsResourceName(xIsResourceName *bool) *UpdateProjectMemberParams
WithXIsResourceName adds the xIsResourceName to the update project member params
func (*UpdateProjectMemberParams) WithXRequestID ¶
func (o *UpdateProjectMemberParams) WithXRequestID(xRequestID *string) *UpdateProjectMemberParams
WithXRequestID adds the xRequestID to the update project member params
func (*UpdateProjectMemberParams) WriteToRequest ¶
func (o *UpdateProjectMemberParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProjectMemberReader ¶
type UpdateProjectMemberReader struct {
// contains filtered or unexported fields
}
UpdateProjectMemberReader is a Reader for the UpdateProjectMember structure.
func (*UpdateProjectMemberReader) ReadResponse ¶
func (o *UpdateProjectMemberReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProjectMemberUnauthorized ¶
type UpdateProjectMemberUnauthorized struct { string }XRequestID
UpdateProjectMemberUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateProjectMemberUnauthorized ¶
func NewUpdateProjectMemberUnauthorized() *UpdateProjectMemberUnauthorized
NewUpdateProjectMemberUnauthorized creates a UpdateProjectMemberUnauthorized with default headers values
func (*UpdateProjectMemberUnauthorized) Error ¶
func (o *UpdateProjectMemberUnauthorized) Error() string
func (*UpdateProjectMemberUnauthorized) GetPayload ¶
func (o *UpdateProjectMemberUnauthorized) GetPayload() *models.Errors
func (*UpdateProjectMemberUnauthorized) IsClientError ¶
func (o *UpdateProjectMemberUnauthorized) IsClientError() bool
IsClientError returns true when this update project member unauthorized response has a 4xx status code
func (*UpdateProjectMemberUnauthorized) IsCode ¶
func (o *UpdateProjectMemberUnauthorized) IsCode(code int) bool
IsCode returns true when this update project member unauthorized response a status code equal to that given
func (*UpdateProjectMemberUnauthorized) IsRedirect ¶
func (o *UpdateProjectMemberUnauthorized) IsRedirect() bool
IsRedirect returns true when this update project member unauthorized response has a 3xx status code
func (*UpdateProjectMemberUnauthorized) IsServerError ¶
func (o *UpdateProjectMemberUnauthorized) IsServerError() bool
IsServerError returns true when this update project member unauthorized response has a 5xx status code
func (*UpdateProjectMemberUnauthorized) IsSuccess ¶
func (o *UpdateProjectMemberUnauthorized) IsSuccess() bool
IsSuccess returns true when this update project member unauthorized response has a 2xx status code
func (*UpdateProjectMemberUnauthorized) String ¶
func (o *UpdateProjectMemberUnauthorized) String() string
Source Files ¶
- create_project_member_parameters.go
- create_project_member_responses.go
- delete_project_member_parameters.go
- delete_project_member_responses.go
- get_project_member_parameters.go
- get_project_member_responses.go
- list_project_members_parameters.go
- list_project_members_responses.go
- member_client.go
- update_project_member_parameters.go
- update_project_member_responses.go