Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateProjectMember(params *CreateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*CreateProjectMemberCreated, error)
- func (a *Client) DeleteProjectMember(params *DeleteProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectMemberOK, error)
- func (a *Client) GetProjectMember(params *GetProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectMemberOK, error)
- func (a *Client) ListProjectMembers(params *ListProjectMembersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectMembersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateProjectMember(params *UpdateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectMemberOK, error)
- type ClientService
- type CreateProjectMemberBadRequest
- type CreateProjectMemberConflict
- type CreateProjectMemberCreated
- type CreateProjectMemberForbidden
- type CreateProjectMemberInternalServerError
- 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) SetHTTPClient(client *http.Client)
- func (o *CreateProjectMemberParams) SetProjectMember(projectMember *model.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) WithHTTPClient(client *http.Client) *CreateProjectMemberParams
- func (o *CreateProjectMemberParams) WithProjectMember(projectMember *model.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
- type DeleteProjectMemberBadRequest
- type DeleteProjectMemberForbidden
- type DeleteProjectMemberInternalServerError
- type DeleteProjectMemberOK
- 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) 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) 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
- type GetProjectMemberBadRequest
- type GetProjectMemberForbidden
- type GetProjectMemberInternalServerError
- type GetProjectMemberNotFound
- type GetProjectMemberOK
- 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) 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) 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
- type ListProjectMembersBadRequest
- type ListProjectMembersForbidden
- type ListProjectMembersInternalServerError
- type ListProjectMembersNotFound
- type ListProjectMembersOK
- 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) 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) 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
- type UpdateProjectMemberBadRequest
- type UpdateProjectMemberForbidden
- type UpdateProjectMemberInternalServerError
- type UpdateProjectMemberNotFound
- type UpdateProjectMemberOK
- 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) SetHTTPClient(client *http.Client)
- func (o *UpdateProjectMemberParams) SetMid(mid int64)
- func (o *UpdateProjectMemberParams) SetProjectNameOrID(projectNameOrID string)
- func (o *UpdateProjectMemberParams) SetRole(role *model.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) WithHTTPClient(client *http.Client) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithMid(mid int64) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithProjectNameOrID(projectNameOrID string) *UpdateProjectMemberParams
- func (o *UpdateProjectMemberParams) WithRole(role *model.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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for member API
func (*Client) CreateProjectMember ¶
func (a *Client) CreateProjectMember(params *CreateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*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(params *DeleteProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectMemberOK, error)
DeleteProjectMember deletes project member
func (*Client) GetProjectMember ¶
func (a *Client) GetProjectMember(params *GetProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectMemberOK, error)
GetProjectMember gets the project member information
Get the project member information
func (*Client) ListProjectMembers ¶
func (a *Client) ListProjectMembers(params *ListProjectMembersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectMembersOK, error)
ListProjectMembers gets all project member information
Get all project member information
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateProjectMember ¶
func (a *Client) UpdateProjectMember(params *UpdateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectMemberOK, error)
UpdateProjectMember updates project member
Update project member relationship
type ClientService ¶
type ClientService interface { CreateProjectMember(params *CreateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*CreateProjectMemberCreated, error) DeleteProjectMember(params *DeleteProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteProjectMemberOK, error) GetProjectMember(params *GetProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*GetProjectMemberOK, error) ListProjectMembers(params *ListProjectMembersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProjectMembersOK, error) UpdateProjectMember(params *UpdateProjectMemberParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateProjectMemberOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new member API client.
type CreateProjectMemberBadRequest ¶
type CreateProjectMemberBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateProjectMemberBadRequest handles this case 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() *model.Errors
type CreateProjectMemberConflict ¶
type CreateProjectMemberConflict struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateProjectMemberConflict handles this case 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() *model.Errors
type CreateProjectMemberCreated ¶
type CreateProjectMemberCreated struct { /*The URL of the created resource */ Location string }
CreateProjectMemberCreated handles this case 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
type CreateProjectMemberForbidden ¶
type CreateProjectMemberForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateProjectMemberForbidden handles this case 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() *model.Errors
type CreateProjectMemberInternalServerError ¶
type CreateProjectMemberInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateProjectMemberInternalServerError handles this case 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() *model.Errors
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 *model.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 values initialized.
func NewCreateProjectMemberParamsWithContext ¶
func NewCreateProjectMemberParamsWithContext(ctx context.Context) *CreateProjectMemberParams
NewCreateProjectMemberParamsWithContext creates a new CreateProjectMemberParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *model.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) 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 *model.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 handles this case 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() *model.Errors
type DeleteProjectMemberBadRequest ¶
type DeleteProjectMemberBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteProjectMemberBadRequest handles this case 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() *model.Errors
type DeleteProjectMemberForbidden ¶
type DeleteProjectMemberForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteProjectMemberForbidden handles this case 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() *model.Errors
type DeleteProjectMemberInternalServerError ¶
type DeleteProjectMemberInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteProjectMemberInternalServerError handles this case 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() *model.Errors
type DeleteProjectMemberOK ¶
type DeleteProjectMemberOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
DeleteProjectMemberOK handles this case 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
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. */ 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 values initialized.
func NewDeleteProjectMemberParamsWithContext ¶
func NewDeleteProjectMemberParamsWithContext(ctx context.Context) *DeleteProjectMemberParams
NewDeleteProjectMemberParamsWithContext creates a new DeleteProjectMemberParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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() *model.Errors
type GetProjectMemberBadRequest ¶
type GetProjectMemberBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetProjectMemberBadRequest handles this case 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() *model.Errors
type GetProjectMemberForbidden ¶
type GetProjectMemberForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetProjectMemberForbidden handles this case 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() *model.Errors
type GetProjectMemberInternalServerError ¶
type GetProjectMemberInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetProjectMemberInternalServerError handles this case 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() *model.Errors
type GetProjectMemberNotFound ¶
type GetProjectMemberNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetProjectMemberNotFound handles this case 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() *model.Errors
type GetProjectMemberOK ¶
type GetProjectMemberOK struct {
Payload *model.ProjectMemberEntity
}
GetProjectMemberOK handles this case 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() *model.ProjectMemberEntity
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 */ 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 values initialized.
func NewGetProjectMemberParamsWithContext ¶
func NewGetProjectMemberParamsWithContext(ctx context.Context) *GetProjectMemberParams
NewGetProjectMemberParamsWithContext creates a new GetProjectMemberParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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() *model.Errors
type ListProjectMembersBadRequest ¶
type ListProjectMembersBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListProjectMembersBadRequest handles this case 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() *model.Errors
type ListProjectMembersForbidden ¶
type ListProjectMembersForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListProjectMembersForbidden handles this case 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() *model.Errors
type ListProjectMembersInternalServerError ¶
type ListProjectMembersInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListProjectMembersInternalServerError handles this case 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() *model.Errors
type ListProjectMembersNotFound ¶
type ListProjectMembersNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListProjectMembersNotFound handles this case 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() *model.Errors
type ListProjectMembersOK ¶
type ListProjectMembersOK struct { /*Link refers to the previous page and next page */ Link string /*The total count of members */ XTotalCount int64 Payload []*model.ProjectMemberEntity }
ListProjectMembersOK handles this case 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() []*model.ProjectMemberEntity
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 */ Page *int64 /*PageSize The size of per page */ 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 values initialized.
func NewListProjectMembersParamsWithContext ¶
func NewListProjectMembersParamsWithContext(ctx context.Context) *ListProjectMembersParams
NewListProjectMembersParamsWithContext creates a new ListProjectMembersParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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() *model.Errors
type UpdateProjectMemberBadRequest ¶
type UpdateProjectMemberBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateProjectMemberBadRequest handles this case 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() *model.Errors
type UpdateProjectMemberForbidden ¶
type UpdateProjectMemberForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateProjectMemberForbidden handles this case 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() *model.Errors
type UpdateProjectMemberInternalServerError ¶
type UpdateProjectMemberInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateProjectMemberInternalServerError handles this case 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() *model.Errors
type UpdateProjectMemberNotFound ¶
type UpdateProjectMemberNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateProjectMemberNotFound handles this case 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() *model.Errors
type UpdateProjectMemberOK ¶
type UpdateProjectMemberOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
UpdateProjectMemberOK handles this case 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
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. */ Mid int64 /*ProjectNameOrID The name or id of the project */ ProjectNameOrID string /*Role*/ Role *model.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 values initialized.
func NewUpdateProjectMemberParamsWithContext ¶
func NewUpdateProjectMemberParamsWithContext(ctx context.Context) *UpdateProjectMemberParams
NewUpdateProjectMemberParamsWithContext creates a new UpdateProjectMemberParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *model.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) 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 *model.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 handles this case 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() *model.Errors
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