member

package
v0.210.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 (*CreateProjectMemberBadRequest) GetPayload

func (o *CreateProjectMemberBadRequest) GetPayload() *models.Errors

func (*CreateProjectMemberBadRequest) IsClientError added in v0.26.2

func (o *CreateProjectMemberBadRequest) IsClientError() bool

IsClientError returns true when this create project member bad request response has a 4xx status code

func (*CreateProjectMemberBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *CreateProjectMemberBadRequest) IsRedirect() bool

IsRedirect returns true when this create project member bad request response has a 3xx status code

func (*CreateProjectMemberBadRequest) IsServerError added in v0.26.2

func (o *CreateProjectMemberBadRequest) IsServerError() bool

IsServerError returns true when this create project member bad request response has a 5xx status code

func (*CreateProjectMemberBadRequest) IsSuccess added in v0.26.2

func (o *CreateProjectMemberBadRequest) IsSuccess() bool

IsSuccess returns true when this create project member bad request response has a 2xx status code

func (*CreateProjectMemberBadRequest) String added in v0.26.2

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 (*CreateProjectMemberConflict) GetPayload

func (o *CreateProjectMemberConflict) GetPayload() *models.Errors

func (*CreateProjectMemberConflict) IsClientError added in v0.26.2

func (o *CreateProjectMemberConflict) IsClientError() bool

IsClientError returns true when this create project member conflict response has a 4xx status code

func (*CreateProjectMemberConflict) IsCode added in v0.26.2

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 added in v0.26.2

func (o *CreateProjectMemberConflict) IsRedirect() bool

IsRedirect returns true when this create project member conflict response has a 3xx status code

func (*CreateProjectMemberConflict) IsServerError added in v0.26.2

func (o *CreateProjectMemberConflict) IsServerError() bool

IsServerError returns true when this create project member conflict response has a 5xx status code

func (*CreateProjectMemberConflict) IsSuccess added in v0.26.2

func (o *CreateProjectMemberConflict) IsSuccess() bool

IsSuccess returns true when this create project member conflict response has a 2xx status code

func (*CreateProjectMemberConflict) String added in v0.26.2

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 (*CreateProjectMemberCreated) IsClientError added in v0.26.2

func (o *CreateProjectMemberCreated) IsClientError() bool

IsClientError returns true when this create project member created response has a 4xx status code

func (*CreateProjectMemberCreated) IsCode added in v0.26.2

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 added in v0.26.2

func (o *CreateProjectMemberCreated) IsRedirect() bool

IsRedirect returns true when this create project member created response has a 3xx status code

func (*CreateProjectMemberCreated) IsServerError added in v0.26.2

func (o *CreateProjectMemberCreated) IsServerError() bool

IsServerError returns true when this create project member created response has a 5xx status code

func (*CreateProjectMemberCreated) IsSuccess added in v0.26.2

func (o *CreateProjectMemberCreated) IsSuccess() bool

IsSuccess returns true when this create project member created response has a 2xx status code

func (*CreateProjectMemberCreated) String added in v0.26.2

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 (*CreateProjectMemberForbidden) GetPayload

func (o *CreateProjectMemberForbidden) GetPayload() *models.Errors

func (*CreateProjectMemberForbidden) IsClientError added in v0.26.2

func (o *CreateProjectMemberForbidden) IsClientError() bool

IsClientError returns true when this create project member forbidden response has a 4xx status code

func (*CreateProjectMemberForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *CreateProjectMemberForbidden) IsRedirect() bool

IsRedirect returns true when this create project member forbidden response has a 3xx status code

func (*CreateProjectMemberForbidden) IsServerError added in v0.26.2

func (o *CreateProjectMemberForbidden) IsServerError() bool

IsServerError returns true when this create project member forbidden response has a 5xx status code

func (*CreateProjectMemberForbidden) IsSuccess added in v0.26.2

func (o *CreateProjectMemberForbidden) IsSuccess() bool

IsSuccess returns true when this create project member forbidden response has a 2xx status code

func (*CreateProjectMemberForbidden) String added in v0.26.2

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 (*CreateProjectMemberInternalServerError) GetPayload

func (*CreateProjectMemberInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this create project member internal server error response a status code equal to that given

func (*CreateProjectMemberInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this create project member internal server error response has a 3xx status code

func (*CreateProjectMemberInternalServerError) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this create project member internal server error response has a 2xx status code

func (*CreateProjectMemberInternalServerError) String added in v0.26.2

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

WithContext adds the context to the create project member params

func (*CreateProjectMemberParams) WithDefaults

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*CreateProjectMemberUnauthorized) GetPayload

func (*CreateProjectMemberUnauthorized) IsClientError added in v0.26.2

func (o *CreateProjectMemberUnauthorized) IsClientError() bool

IsClientError returns true when this create project member unauthorized response has a 4xx status code

func (*CreateProjectMemberUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *CreateProjectMemberUnauthorized) IsRedirect() bool

IsRedirect returns true when this create project member unauthorized response has a 3xx status code

func (*CreateProjectMemberUnauthorized) IsServerError added in v0.26.2

func (o *CreateProjectMemberUnauthorized) IsServerError() bool

IsServerError returns true when this create project member unauthorized response has a 5xx status code

func (*CreateProjectMemberUnauthorized) IsSuccess added in v0.26.2

func (o *CreateProjectMemberUnauthorized) IsSuccess() bool

IsSuccess returns true when this create project member unauthorized response has a 2xx status code

func (*CreateProjectMemberUnauthorized) String added in v0.26.2

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 (*DeleteProjectMemberBadRequest) GetPayload

func (o *DeleteProjectMemberBadRequest) GetPayload() *models.Errors

func (*DeleteProjectMemberBadRequest) IsClientError added in v0.26.2

func (o *DeleteProjectMemberBadRequest) IsClientError() bool

IsClientError returns true when this delete project member bad request response has a 4xx status code

func (*DeleteProjectMemberBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMemberBadRequest) IsRedirect() bool

IsRedirect returns true when this delete project member bad request response has a 3xx status code

func (*DeleteProjectMemberBadRequest) IsServerError added in v0.26.2

func (o *DeleteProjectMemberBadRequest) IsServerError() bool

IsServerError returns true when this delete project member bad request response has a 5xx status code

func (*DeleteProjectMemberBadRequest) IsSuccess added in v0.26.2

func (o *DeleteProjectMemberBadRequest) IsSuccess() bool

IsSuccess returns true when this delete project member bad request response has a 2xx status code

func (*DeleteProjectMemberBadRequest) String added in v0.26.2

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 (*DeleteProjectMemberForbidden) GetPayload

func (o *DeleteProjectMemberForbidden) GetPayload() *models.Errors

func (*DeleteProjectMemberForbidden) IsClientError added in v0.26.2

func (o *DeleteProjectMemberForbidden) IsClientError() bool

IsClientError returns true when this delete project member forbidden response has a 4xx status code

func (*DeleteProjectMemberForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMemberForbidden) IsRedirect() bool

IsRedirect returns true when this delete project member forbidden response has a 3xx status code

func (*DeleteProjectMemberForbidden) IsServerError added in v0.26.2

func (o *DeleteProjectMemberForbidden) IsServerError() bool

IsServerError returns true when this delete project member forbidden response has a 5xx status code

func (*DeleteProjectMemberForbidden) IsSuccess added in v0.26.2

func (o *DeleteProjectMemberForbidden) IsSuccess() bool

IsSuccess returns true when this delete project member forbidden response has a 2xx status code

func (*DeleteProjectMemberForbidden) String added in v0.26.2

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 (*DeleteProjectMemberInternalServerError) GetPayload

func (*DeleteProjectMemberInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this delete project member internal server error response a status code equal to that given

func (*DeleteProjectMemberInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this delete project member internal server error response has a 3xx status code

func (*DeleteProjectMemberInternalServerError) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this delete project member internal server error response has a 2xx status code

func (*DeleteProjectMemberInternalServerError) String added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMemberOK) IsClientError() bool

IsClientError returns true when this delete project member o k response has a 4xx status code

func (*DeleteProjectMemberOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMemberOK) IsRedirect() bool

IsRedirect returns true when this delete project member o k response has a 3xx status code

func (*DeleteProjectMemberOK) IsServerError added in v0.26.2

func (o *DeleteProjectMemberOK) IsServerError() bool

IsServerError returns true when this delete project member o k response has a 5xx status code

func (*DeleteProjectMemberOK) IsSuccess added in v0.26.2

func (o *DeleteProjectMemberOK) IsSuccess() bool

IsSuccess returns true when this delete project member o k response has a 2xx status code

func (*DeleteProjectMemberOK) String added in v0.26.2

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

WithContext adds the context to the delete project member params

func (*DeleteProjectMemberParams) WithDefaults

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

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*DeleteProjectMemberUnauthorized) GetPayload

func (*DeleteProjectMemberUnauthorized) IsClientError added in v0.26.2

func (o *DeleteProjectMemberUnauthorized) IsClientError() bool

IsClientError returns true when this delete project member unauthorized response has a 4xx status code

func (*DeleteProjectMemberUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *DeleteProjectMemberUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete project member unauthorized response has a 3xx status code

func (*DeleteProjectMemberUnauthorized) IsServerError added in v0.26.2

func (o *DeleteProjectMemberUnauthorized) IsServerError() bool

IsServerError returns true when this delete project member unauthorized response has a 5xx status code

func (*DeleteProjectMemberUnauthorized) IsSuccess added in v0.26.2

func (o *DeleteProjectMemberUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete project member unauthorized response has a 2xx status code

func (*DeleteProjectMemberUnauthorized) String added in v0.26.2

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 (*GetProjectMemberBadRequest) GetPayload

func (o *GetProjectMemberBadRequest) GetPayload() *models.Errors

func (*GetProjectMemberBadRequest) IsClientError added in v0.26.2

func (o *GetProjectMemberBadRequest) IsClientError() bool

IsClientError returns true when this get project member bad request response has a 4xx status code

func (*GetProjectMemberBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMemberBadRequest) IsRedirect() bool

IsRedirect returns true when this get project member bad request response has a 3xx status code

func (*GetProjectMemberBadRequest) IsServerError added in v0.26.2

func (o *GetProjectMemberBadRequest) IsServerError() bool

IsServerError returns true when this get project member bad request response has a 5xx status code

func (*GetProjectMemberBadRequest) IsSuccess added in v0.26.2

func (o *GetProjectMemberBadRequest) IsSuccess() bool

IsSuccess returns true when this get project member bad request response has a 2xx status code

func (*GetProjectMemberBadRequest) String added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMemberForbidden) IsClientError() bool

IsClientError returns true when this get project member forbidden response has a 4xx status code

func (*GetProjectMemberForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMemberForbidden) IsRedirect() bool

IsRedirect returns true when this get project member forbidden response has a 3xx status code

func (*GetProjectMemberForbidden) IsServerError added in v0.26.2

func (o *GetProjectMemberForbidden) IsServerError() bool

IsServerError returns true when this get project member forbidden response has a 5xx status code

func (*GetProjectMemberForbidden) IsSuccess added in v0.26.2

func (o *GetProjectMemberForbidden) IsSuccess() bool

IsSuccess returns true when this get project member forbidden response has a 2xx status code

func (*GetProjectMemberForbidden) String added in v0.26.2

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 (*GetProjectMemberInternalServerError) GetPayload

func (*GetProjectMemberInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this get project member internal server error response a status code equal to that given

func (*GetProjectMemberInternalServerError) IsRedirect added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this get project member internal server error response has a 2xx status code

func (*GetProjectMemberInternalServerError) String added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMemberNotFound) IsClientError() bool

IsClientError returns true when this get project member not found response has a 4xx status code

func (*GetProjectMemberNotFound) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMemberNotFound) IsRedirect() bool

IsRedirect returns true when this get project member not found response has a 3xx status code

func (*GetProjectMemberNotFound) IsServerError added in v0.26.2

func (o *GetProjectMemberNotFound) IsServerError() bool

IsServerError returns true when this get project member not found response has a 5xx status code

func (*GetProjectMemberNotFound) IsSuccess added in v0.26.2

func (o *GetProjectMemberNotFound) IsSuccess() bool

IsSuccess returns true when this get project member not found response has a 2xx status code

func (*GetProjectMemberNotFound) String added in v0.26.2

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 (*GetProjectMemberOK) IsClientError added in v0.26.2

func (o *GetProjectMemberOK) IsClientError() bool

IsClientError returns true when this get project member o k response has a 4xx status code

func (*GetProjectMemberOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMemberOK) IsRedirect() bool

IsRedirect returns true when this get project member o k response has a 3xx status code

func (*GetProjectMemberOK) IsServerError added in v0.26.2

func (o *GetProjectMemberOK) IsServerError() bool

IsServerError returns true when this get project member o k response has a 5xx status code

func (*GetProjectMemberOK) IsSuccess added in v0.26.2

func (o *GetProjectMemberOK) IsSuccess() bool

IsSuccess returns true when this get project member o k response has a 2xx status code

func (*GetProjectMemberOK) String added in v0.26.2

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

WithContext adds the context to the get project member params

func (*GetProjectMemberParams) WithDefaults

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

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*GetProjectMemberUnauthorized) GetPayload

func (o *GetProjectMemberUnauthorized) GetPayload() *models.Errors

func (*GetProjectMemberUnauthorized) IsClientError added in v0.26.2

func (o *GetProjectMemberUnauthorized) IsClientError() bool

IsClientError returns true when this get project member unauthorized response has a 4xx status code

func (*GetProjectMemberUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetProjectMemberUnauthorized) IsRedirect() bool

IsRedirect returns true when this get project member unauthorized response has a 3xx status code

func (*GetProjectMemberUnauthorized) IsServerError added in v0.26.2

func (o *GetProjectMemberUnauthorized) IsServerError() bool

IsServerError returns true when this get project member unauthorized response has a 5xx status code

func (*GetProjectMemberUnauthorized) IsSuccess added in v0.26.2

func (o *GetProjectMemberUnauthorized) IsSuccess() bool

IsSuccess returns true when this get project member unauthorized response has a 2xx status code

func (*GetProjectMemberUnauthorized) String added in v0.26.2

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 (*ListProjectMembersBadRequest) GetPayload

func (o *ListProjectMembersBadRequest) GetPayload() *models.Errors

func (*ListProjectMembersBadRequest) IsClientError added in v0.26.2

func (o *ListProjectMembersBadRequest) IsClientError() bool

IsClientError returns true when this list project members bad request response has a 4xx status code

func (*ListProjectMembersBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMembersBadRequest) IsRedirect() bool

IsRedirect returns true when this list project members bad request response has a 3xx status code

func (*ListProjectMembersBadRequest) IsServerError added in v0.26.2

func (o *ListProjectMembersBadRequest) IsServerError() bool

IsServerError returns true when this list project members bad request response has a 5xx status code

func (*ListProjectMembersBadRequest) IsSuccess added in v0.26.2

func (o *ListProjectMembersBadRequest) IsSuccess() bool

IsSuccess returns true when this list project members bad request response has a 2xx status code

func (*ListProjectMembersBadRequest) String added in v0.26.2

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 (*ListProjectMembersForbidden) GetPayload

func (o *ListProjectMembersForbidden) GetPayload() *models.Errors

func (*ListProjectMembersForbidden) IsClientError added in v0.26.2

func (o *ListProjectMembersForbidden) IsClientError() bool

IsClientError returns true when this list project members forbidden response has a 4xx status code

func (*ListProjectMembersForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMembersForbidden) IsRedirect() bool

IsRedirect returns true when this list project members forbidden response has a 3xx status code

func (*ListProjectMembersForbidden) IsServerError added in v0.26.2

func (o *ListProjectMembersForbidden) IsServerError() bool

IsServerError returns true when this list project members forbidden response has a 5xx status code

func (*ListProjectMembersForbidden) IsSuccess added in v0.26.2

func (o *ListProjectMembersForbidden) IsSuccess() bool

IsSuccess returns true when this list project members forbidden response has a 2xx status code

func (*ListProjectMembersForbidden) String added in v0.26.2

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 (*ListProjectMembersInternalServerError) GetPayload

func (*ListProjectMembersInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this list project members internal server error response a status code equal to that given

func (*ListProjectMembersInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this list project members internal server error response has a 3xx status code

func (*ListProjectMembersInternalServerError) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this list project members internal server error response has a 2xx status code

func (*ListProjectMembersInternalServerError) String added in v0.26.2

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 (*ListProjectMembersNotFound) GetPayload

func (o *ListProjectMembersNotFound) GetPayload() *models.Errors

func (*ListProjectMembersNotFound) IsClientError added in v0.26.2

func (o *ListProjectMembersNotFound) IsClientError() bool

IsClientError returns true when this list project members not found response has a 4xx status code

func (*ListProjectMembersNotFound) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMembersNotFound) IsRedirect() bool

IsRedirect returns true when this list project members not found response has a 3xx status code

func (*ListProjectMembersNotFound) IsServerError added in v0.26.2

func (o *ListProjectMembersNotFound) IsServerError() bool

IsServerError returns true when this list project members not found response has a 5xx status code

func (*ListProjectMembersNotFound) IsSuccess added in v0.26.2

func (o *ListProjectMembersNotFound) IsSuccess() bool

IsSuccess returns true when this list project members not found response has a 2xx status code

func (*ListProjectMembersNotFound) String added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMembersOK) IsClientError() bool

IsClientError returns true when this list project members o k response has a 4xx status code

func (*ListProjectMembersOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMembersOK) IsRedirect() bool

IsRedirect returns true when this list project members o k response has a 3xx status code

func (*ListProjectMembersOK) IsServerError added in v0.26.2

func (o *ListProjectMembersOK) IsServerError() bool

IsServerError returns true when this list project members o k response has a 5xx status code

func (*ListProjectMembersOK) IsSuccess added in v0.26.2

func (o *ListProjectMembersOK) IsSuccess() bool

IsSuccess returns true when this list project members o k response has a 2xx status code

func (*ListProjectMembersOK) String added in v0.26.2

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

WithContext adds the context to the list project members params

func (*ListProjectMembersParams) WithDefaults

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

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

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*ListProjectMembersUnauthorized) GetPayload

func (o *ListProjectMembersUnauthorized) GetPayload() *models.Errors

func (*ListProjectMembersUnauthorized) IsClientError added in v0.26.2

func (o *ListProjectMembersUnauthorized) IsClientError() bool

IsClientError returns true when this list project members unauthorized response has a 4xx status code

func (*ListProjectMembersUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *ListProjectMembersUnauthorized) IsRedirect() bool

IsRedirect returns true when this list project members unauthorized response has a 3xx status code

func (*ListProjectMembersUnauthorized) IsServerError added in v0.26.2

func (o *ListProjectMembersUnauthorized) IsServerError() bool

IsServerError returns true when this list project members unauthorized response has a 5xx status code

func (*ListProjectMembersUnauthorized) IsSuccess added in v0.26.2

func (o *ListProjectMembersUnauthorized) IsSuccess() bool

IsSuccess returns true when this list project members unauthorized response has a 2xx status code

func (*ListProjectMembersUnauthorized) String added in v0.26.2

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 (*UpdateProjectMemberBadRequest) GetPayload

func (o *UpdateProjectMemberBadRequest) GetPayload() *models.Errors

func (*UpdateProjectMemberBadRequest) IsClientError added in v0.26.2

func (o *UpdateProjectMemberBadRequest) IsClientError() bool

IsClientError returns true when this update project member bad request response has a 4xx status code

func (*UpdateProjectMemberBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMemberBadRequest) IsRedirect() bool

IsRedirect returns true when this update project member bad request response has a 3xx status code

func (*UpdateProjectMemberBadRequest) IsServerError added in v0.26.2

func (o *UpdateProjectMemberBadRequest) IsServerError() bool

IsServerError returns true when this update project member bad request response has a 5xx status code

func (*UpdateProjectMemberBadRequest) IsSuccess added in v0.26.2

func (o *UpdateProjectMemberBadRequest) IsSuccess() bool

IsSuccess returns true when this update project member bad request response has a 2xx status code

func (*UpdateProjectMemberBadRequest) String added in v0.26.2

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 (*UpdateProjectMemberForbidden) GetPayload

func (o *UpdateProjectMemberForbidden) GetPayload() *models.Errors

func (*UpdateProjectMemberForbidden) IsClientError added in v0.26.2

func (o *UpdateProjectMemberForbidden) IsClientError() bool

IsClientError returns true when this update project member forbidden response has a 4xx status code

func (*UpdateProjectMemberForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMemberForbidden) IsRedirect() bool

IsRedirect returns true when this update project member forbidden response has a 3xx status code

func (*UpdateProjectMemberForbidden) IsServerError added in v0.26.2

func (o *UpdateProjectMemberForbidden) IsServerError() bool

IsServerError returns true when this update project member forbidden response has a 5xx status code

func (*UpdateProjectMemberForbidden) IsSuccess added in v0.26.2

func (o *UpdateProjectMemberForbidden) IsSuccess() bool

IsSuccess returns true when this update project member forbidden response has a 2xx status code

func (*UpdateProjectMemberForbidden) String added in v0.26.2

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 (*UpdateProjectMemberInternalServerError) GetPayload

func (*UpdateProjectMemberInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

IsCode returns true when this update project member internal server error response a status code equal to that given

func (*UpdateProjectMemberInternalServerError) IsRedirect added in v0.26.2

IsRedirect returns true when this update project member internal server error response has a 3xx status code

func (*UpdateProjectMemberInternalServerError) IsServerError added in v0.26.2

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 added in v0.26.2

IsSuccess returns true when this update project member internal server error response has a 2xx status code

func (*UpdateProjectMemberInternalServerError) String added in v0.26.2

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 (*UpdateProjectMemberNotFound) GetPayload

func (o *UpdateProjectMemberNotFound) GetPayload() *models.Errors

func (*UpdateProjectMemberNotFound) IsClientError added in v0.26.2

func (o *UpdateProjectMemberNotFound) IsClientError() bool

IsClientError returns true when this update project member not found response has a 4xx status code

func (*UpdateProjectMemberNotFound) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMemberNotFound) IsRedirect() bool

IsRedirect returns true when this update project member not found response has a 3xx status code

func (*UpdateProjectMemberNotFound) IsServerError added in v0.26.2

func (o *UpdateProjectMemberNotFound) IsServerError() bool

IsServerError returns true when this update project member not found response has a 5xx status code

func (*UpdateProjectMemberNotFound) IsSuccess added in v0.26.2

func (o *UpdateProjectMemberNotFound) IsSuccess() bool

IsSuccess returns true when this update project member not found response has a 2xx status code

func (*UpdateProjectMemberNotFound) String added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMemberOK) IsClientError() bool

IsClientError returns true when this update project member o k response has a 4xx status code

func (*UpdateProjectMemberOK) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMemberOK) IsRedirect() bool

IsRedirect returns true when this update project member o k response has a 3xx status code

func (*UpdateProjectMemberOK) IsServerError added in v0.26.2

func (o *UpdateProjectMemberOK) IsServerError() bool

IsServerError returns true when this update project member o k response has a 5xx status code

func (*UpdateProjectMemberOK) IsSuccess added in v0.26.2

func (o *UpdateProjectMemberOK) IsSuccess() bool

IsSuccess returns true when this update project member o k response has a 2xx status code

func (*UpdateProjectMemberOK) String added in v0.26.2

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

WithContext adds the context to the update project member params

func (*UpdateProjectMemberParams) WithDefaults

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

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

WithRole adds the role to the update project member params

func (*UpdateProjectMemberParams) WithTimeout

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

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 {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

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 (*UpdateProjectMemberUnauthorized) GetPayload

func (*UpdateProjectMemberUnauthorized) IsClientError added in v0.26.2

func (o *UpdateProjectMemberUnauthorized) IsClientError() bool

IsClientError returns true when this update project member unauthorized response has a 4xx status code

func (*UpdateProjectMemberUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateProjectMemberUnauthorized) IsRedirect() bool

IsRedirect returns true when this update project member unauthorized response has a 3xx status code

func (*UpdateProjectMemberUnauthorized) IsServerError added in v0.26.2

func (o *UpdateProjectMemberUnauthorized) IsServerError() bool

IsServerError returns true when this update project member unauthorized response has a 5xx status code

func (*UpdateProjectMemberUnauthorized) IsSuccess added in v0.26.2

func (o *UpdateProjectMemberUnauthorized) IsSuccess() bool

IsSuccess returns true when this update project member unauthorized response has a 2xx status code

func (*UpdateProjectMemberUnauthorized) String added in v0.26.2

Jump to

Keyboard shortcuts

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