stakeholder

package
v0.0.0-...-b3f093e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 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 Client

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

Client for stakeholder API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StakeholderFindList

func (a *Client) StakeholderFindList(params *StakeholderFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StakeholderFindListOK, error)

StakeholderFindList retrieves a list of stakeholders this interface takes in id name version state status and ids only

Retrieve a list of stakeholders. This interface takes in id, name, version, state, status and idsOnly.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	StakeholderFindList(params *StakeholderFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StakeholderFindListOK, 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 stakeholder API client.

type StakeholderFindListBadRequest

type StakeholderFindListBadRequest struct {
	Payload *models.Response
}

StakeholderFindListBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewStakeholderFindListBadRequest

func NewStakeholderFindListBadRequest() *StakeholderFindListBadRequest

NewStakeholderFindListBadRequest creates a StakeholderFindListBadRequest with default headers values

func (*StakeholderFindListBadRequest) Code

Code gets the status code for the stakeholder find list bad request response

func (*StakeholderFindListBadRequest) Error

func (*StakeholderFindListBadRequest) GetPayload

func (*StakeholderFindListBadRequest) IsClientError

func (o *StakeholderFindListBadRequest) IsClientError() bool

IsClientError returns true when this stakeholder find list bad request response has a 4xx status code

func (*StakeholderFindListBadRequest) IsCode

func (o *StakeholderFindListBadRequest) IsCode(code int) bool

IsCode returns true when this stakeholder find list bad request response a status code equal to that given

func (*StakeholderFindListBadRequest) IsRedirect

func (o *StakeholderFindListBadRequest) IsRedirect() bool

IsRedirect returns true when this stakeholder find list bad request response has a 3xx status code

func (*StakeholderFindListBadRequest) IsServerError

func (o *StakeholderFindListBadRequest) IsServerError() bool

IsServerError returns true when this stakeholder find list bad request response has a 5xx status code

func (*StakeholderFindListBadRequest) IsSuccess

func (o *StakeholderFindListBadRequest) IsSuccess() bool

IsSuccess returns true when this stakeholder find list bad request response has a 2xx status code

func (*StakeholderFindListBadRequest) String

type StakeholderFindListInternalServerError

type StakeholderFindListInternalServerError struct {
	Payload *models.Response
}

StakeholderFindListInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewStakeholderFindListInternalServerError

func NewStakeholderFindListInternalServerError() *StakeholderFindListInternalServerError

NewStakeholderFindListInternalServerError creates a StakeholderFindListInternalServerError with default headers values

func (*StakeholderFindListInternalServerError) Code

Code gets the status code for the stakeholder find list internal server error response

func (*StakeholderFindListInternalServerError) Error

func (*StakeholderFindListInternalServerError) GetPayload

func (*StakeholderFindListInternalServerError) IsClientError

func (o *StakeholderFindListInternalServerError) IsClientError() bool

IsClientError returns true when this stakeholder find list internal server error response has a 4xx status code

func (*StakeholderFindListInternalServerError) IsCode

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

func (*StakeholderFindListInternalServerError) IsRedirect

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

func (*StakeholderFindListInternalServerError) IsServerError

func (o *StakeholderFindListInternalServerError) IsServerError() bool

IsServerError returns true when this stakeholder find list internal server error response has a 5xx status code

func (*StakeholderFindListInternalServerError) IsSuccess

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

func (*StakeholderFindListInternalServerError) String

type StakeholderFindListNotFound

type StakeholderFindListNotFound struct {
	Payload *models.Response
}

StakeholderFindListNotFound describes a response with status code 404, with default header values.

Not Found

func NewStakeholderFindListNotFound

func NewStakeholderFindListNotFound() *StakeholderFindListNotFound

NewStakeholderFindListNotFound creates a StakeholderFindListNotFound with default headers values

func (*StakeholderFindListNotFound) Code

func (o *StakeholderFindListNotFound) Code() int

Code gets the status code for the stakeholder find list not found response

func (*StakeholderFindListNotFound) Error

func (*StakeholderFindListNotFound) GetPayload

func (o *StakeholderFindListNotFound) GetPayload() *models.Response

func (*StakeholderFindListNotFound) IsClientError

func (o *StakeholderFindListNotFound) IsClientError() bool

IsClientError returns true when this stakeholder find list not found response has a 4xx status code

func (*StakeholderFindListNotFound) IsCode

func (o *StakeholderFindListNotFound) IsCode(code int) bool

IsCode returns true when this stakeholder find list not found response a status code equal to that given

func (*StakeholderFindListNotFound) IsRedirect

func (o *StakeholderFindListNotFound) IsRedirect() bool

IsRedirect returns true when this stakeholder find list not found response has a 3xx status code

func (*StakeholderFindListNotFound) IsServerError

func (o *StakeholderFindListNotFound) IsServerError() bool

IsServerError returns true when this stakeholder find list not found response has a 5xx status code

func (*StakeholderFindListNotFound) IsSuccess

func (o *StakeholderFindListNotFound) IsSuccess() bool

IsSuccess returns true when this stakeholder find list not found response has a 2xx status code

func (*StakeholderFindListNotFound) String

func (o *StakeholderFindListNotFound) String() string

type StakeholderFindListOK

type StakeholderFindListOK struct {
	Payload *models.StakeholderFindResponse
}

StakeholderFindListOK describes a response with status code 200, with default header values.

OK

func NewStakeholderFindListOK

func NewStakeholderFindListOK() *StakeholderFindListOK

NewStakeholderFindListOK creates a StakeholderFindListOK with default headers values

func (*StakeholderFindListOK) Code

func (o *StakeholderFindListOK) Code() int

Code gets the status code for the stakeholder find list o k response

func (*StakeholderFindListOK) Error

func (o *StakeholderFindListOK) Error() string

func (*StakeholderFindListOK) GetPayload

func (*StakeholderFindListOK) IsClientError

func (o *StakeholderFindListOK) IsClientError() bool

IsClientError returns true when this stakeholder find list o k response has a 4xx status code

func (*StakeholderFindListOK) IsCode

func (o *StakeholderFindListOK) IsCode(code int) bool

IsCode returns true when this stakeholder find list o k response a status code equal to that given

func (*StakeholderFindListOK) IsRedirect

func (o *StakeholderFindListOK) IsRedirect() bool

IsRedirect returns true when this stakeholder find list o k response has a 3xx status code

func (*StakeholderFindListOK) IsServerError

func (o *StakeholderFindListOK) IsServerError() bool

IsServerError returns true when this stakeholder find list o k response has a 5xx status code

func (*StakeholderFindListOK) IsSuccess

func (o *StakeholderFindListOK) IsSuccess() bool

IsSuccess returns true when this stakeholder find list o k response has a 2xx status code

func (*StakeholderFindListOK) String

func (o *StakeholderFindListOK) String() string

type StakeholderFindListParams

type StakeholderFindListParams struct {

	/* ID.

	   Stakeholder ID.
	*/
	ID *string

	/* IdsOnly.

	   Return only stakeholder ids and names.
	*/
	IdsOnly *bool

	/* Name.

	   Stakeholder name.
	*/
	Name *string

	/* State.

	   Stakeholder state.
	*/
	State *string

	/* Status.

	   Stakeholder status.
	*/
	Status *string

	/* Version.

	   Stakeholder version.
	*/
	Version *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StakeholderFindListParams contains all the parameters to send to the API endpoint

for the stakeholder find list operation.

Typically these are written to a http.Request.

func NewStakeholderFindListParams

func NewStakeholderFindListParams() *StakeholderFindListParams

NewStakeholderFindListParams creates a new StakeholderFindListParams 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 NewStakeholderFindListParamsWithContext

func NewStakeholderFindListParamsWithContext(ctx context.Context) *StakeholderFindListParams

NewStakeholderFindListParamsWithContext creates a new StakeholderFindListParams object with the ability to set a context for a request.

func NewStakeholderFindListParamsWithHTTPClient

func NewStakeholderFindListParamsWithHTTPClient(client *http.Client) *StakeholderFindListParams

NewStakeholderFindListParamsWithHTTPClient creates a new StakeholderFindListParams object with the ability to set a custom HTTPClient for a request.

func NewStakeholderFindListParamsWithTimeout

func NewStakeholderFindListParamsWithTimeout(timeout time.Duration) *StakeholderFindListParams

NewStakeholderFindListParamsWithTimeout creates a new StakeholderFindListParams object with the ability to set a timeout on a request.

func (*StakeholderFindListParams) SetContext

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

SetContext adds the context to the stakeholder find list params

func (*StakeholderFindListParams) SetDefaults

func (o *StakeholderFindListParams) SetDefaults()

SetDefaults hydrates default values in the stakeholder find list params (not the query body).

All values with no default are reset to their zero value.

func (*StakeholderFindListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stakeholder find list params

func (*StakeholderFindListParams) SetID

func (o *StakeholderFindListParams) SetID(id *string)

SetID adds the id to the stakeholder find list params

func (*StakeholderFindListParams) SetIdsOnly

func (o *StakeholderFindListParams) SetIdsOnly(idsOnly *bool)

SetIdsOnly adds the idsOnly to the stakeholder find list params

func (*StakeholderFindListParams) SetName

func (o *StakeholderFindListParams) SetName(name *string)

SetName adds the name to the stakeholder find list params

func (*StakeholderFindListParams) SetState

func (o *StakeholderFindListParams) SetState(state *string)

SetState adds the state to the stakeholder find list params

func (*StakeholderFindListParams) SetStatus

func (o *StakeholderFindListParams) SetStatus(status *string)

SetStatus adds the status to the stakeholder find list params

func (*StakeholderFindListParams) SetTimeout

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

SetTimeout adds the timeout to the stakeholder find list params

func (*StakeholderFindListParams) SetVersion

func (o *StakeholderFindListParams) SetVersion(version *string)

SetVersion adds the version to the stakeholder find list params

func (*StakeholderFindListParams) WithContext

WithContext adds the context to the stakeholder find list params

func (*StakeholderFindListParams) WithDefaults

WithDefaults hydrates default values in the stakeholder find list params (not the query body).

All values with no default are reset to their zero value.

func (*StakeholderFindListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stakeholder find list params

func (*StakeholderFindListParams) WithID

WithID adds the id to the stakeholder find list params

func (*StakeholderFindListParams) WithIdsOnly

func (o *StakeholderFindListParams) WithIdsOnly(idsOnly *bool) *StakeholderFindListParams

WithIdsOnly adds the idsOnly to the stakeholder find list params

func (*StakeholderFindListParams) WithName

WithName adds the name to the stakeholder find list params

func (*StakeholderFindListParams) WithState

WithState adds the state to the stakeholder find list params

func (*StakeholderFindListParams) WithStatus

WithStatus adds the status to the stakeholder find list params

func (*StakeholderFindListParams) WithTimeout

WithTimeout adds the timeout to the stakeholder find list params

func (*StakeholderFindListParams) WithVersion

WithVersion adds the version to the stakeholder find list params

func (*StakeholderFindListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StakeholderFindListReader

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

StakeholderFindListReader is a Reader for the StakeholderFindList structure.

func (*StakeholderFindListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StakeholderFindListUnauthorized

type StakeholderFindListUnauthorized struct {
	Payload *models.Response
}

StakeholderFindListUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewStakeholderFindListUnauthorized

func NewStakeholderFindListUnauthorized() *StakeholderFindListUnauthorized

NewStakeholderFindListUnauthorized creates a StakeholderFindListUnauthorized with default headers values

func (*StakeholderFindListUnauthorized) Code

Code gets the status code for the stakeholder find list unauthorized response

func (*StakeholderFindListUnauthorized) Error

func (*StakeholderFindListUnauthorized) GetPayload

func (*StakeholderFindListUnauthorized) IsClientError

func (o *StakeholderFindListUnauthorized) IsClientError() bool

IsClientError returns true when this stakeholder find list unauthorized response has a 4xx status code

func (*StakeholderFindListUnauthorized) IsCode

func (o *StakeholderFindListUnauthorized) IsCode(code int) bool

IsCode returns true when this stakeholder find list unauthorized response a status code equal to that given

func (*StakeholderFindListUnauthorized) IsRedirect

func (o *StakeholderFindListUnauthorized) IsRedirect() bool

IsRedirect returns true when this stakeholder find list unauthorized response has a 3xx status code

func (*StakeholderFindListUnauthorized) IsServerError

func (o *StakeholderFindListUnauthorized) IsServerError() bool

IsServerError returns true when this stakeholder find list unauthorized response has a 5xx status code

func (*StakeholderFindListUnauthorized) IsSuccess

func (o *StakeholderFindListUnauthorized) IsSuccess() bool

IsSuccess returns true when this stakeholder find list unauthorized response has a 2xx status code

func (*StakeholderFindListUnauthorized) String

Jump to

Keyboard shortcuts

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