Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type StakeholderFindListBadRequest
- func (o *StakeholderFindListBadRequest) Code() int
- func (o *StakeholderFindListBadRequest) Error() string
- func (o *StakeholderFindListBadRequest) GetPayload() *models.Response
- func (o *StakeholderFindListBadRequest) IsClientError() bool
- func (o *StakeholderFindListBadRequest) IsCode(code int) bool
- func (o *StakeholderFindListBadRequest) IsRedirect() bool
- func (o *StakeholderFindListBadRequest) IsServerError() bool
- func (o *StakeholderFindListBadRequest) IsSuccess() bool
- func (o *StakeholderFindListBadRequest) String() string
- type StakeholderFindListInternalServerError
- func (o *StakeholderFindListInternalServerError) Code() int
- func (o *StakeholderFindListInternalServerError) Error() string
- func (o *StakeholderFindListInternalServerError) GetPayload() *models.Response
- func (o *StakeholderFindListInternalServerError) IsClientError() bool
- func (o *StakeholderFindListInternalServerError) IsCode(code int) bool
- func (o *StakeholderFindListInternalServerError) IsRedirect() bool
- func (o *StakeholderFindListInternalServerError) IsServerError() bool
- func (o *StakeholderFindListInternalServerError) IsSuccess() bool
- func (o *StakeholderFindListInternalServerError) String() string
- type StakeholderFindListNotFound
- func (o *StakeholderFindListNotFound) Code() int
- func (o *StakeholderFindListNotFound) Error() string
- func (o *StakeholderFindListNotFound) GetPayload() *models.Response
- func (o *StakeholderFindListNotFound) IsClientError() bool
- func (o *StakeholderFindListNotFound) IsCode(code int) bool
- func (o *StakeholderFindListNotFound) IsRedirect() bool
- func (o *StakeholderFindListNotFound) IsServerError() bool
- func (o *StakeholderFindListNotFound) IsSuccess() bool
- func (o *StakeholderFindListNotFound) String() string
- type StakeholderFindListOK
- func (o *StakeholderFindListOK) Code() int
- func (o *StakeholderFindListOK) Error() string
- func (o *StakeholderFindListOK) GetPayload() *models.StakeholderFindResponse
- func (o *StakeholderFindListOK) IsClientError() bool
- func (o *StakeholderFindListOK) IsCode(code int) bool
- func (o *StakeholderFindListOK) IsRedirect() bool
- func (o *StakeholderFindListOK) IsServerError() bool
- func (o *StakeholderFindListOK) IsSuccess() bool
- func (o *StakeholderFindListOK) String() string
- type StakeholderFindListParams
- func NewStakeholderFindListParams() *StakeholderFindListParams
- func NewStakeholderFindListParamsWithContext(ctx context.Context) *StakeholderFindListParams
- func NewStakeholderFindListParamsWithHTTPClient(client *http.Client) *StakeholderFindListParams
- func NewStakeholderFindListParamsWithTimeout(timeout time.Duration) *StakeholderFindListParams
- func (o *StakeholderFindListParams) SetContext(ctx context.Context)
- func (o *StakeholderFindListParams) SetDefaults()
- func (o *StakeholderFindListParams) SetHTTPClient(client *http.Client)
- func (o *StakeholderFindListParams) SetID(id *string)
- func (o *StakeholderFindListParams) SetIdsOnly(idsOnly *bool)
- func (o *StakeholderFindListParams) SetName(name *string)
- func (o *StakeholderFindListParams) SetState(state *string)
- func (o *StakeholderFindListParams) SetStatus(status *string)
- func (o *StakeholderFindListParams) SetTimeout(timeout time.Duration)
- func (o *StakeholderFindListParams) SetVersion(version *string)
- func (o *StakeholderFindListParams) WithContext(ctx context.Context) *StakeholderFindListParams
- func (o *StakeholderFindListParams) WithDefaults() *StakeholderFindListParams
- func (o *StakeholderFindListParams) WithHTTPClient(client *http.Client) *StakeholderFindListParams
- func (o *StakeholderFindListParams) WithID(id *string) *StakeholderFindListParams
- func (o *StakeholderFindListParams) WithIdsOnly(idsOnly *bool) *StakeholderFindListParams
- func (o *StakeholderFindListParams) WithName(name *string) *StakeholderFindListParams
- func (o *StakeholderFindListParams) WithState(state *string) *StakeholderFindListParams
- func (o *StakeholderFindListParams) WithStatus(status *string) *StakeholderFindListParams
- func (o *StakeholderFindListParams) WithTimeout(timeout time.Duration) *StakeholderFindListParams
- func (o *StakeholderFindListParams) WithVersion(version *string) *StakeholderFindListParams
- func (o *StakeholderFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StakeholderFindListReader
- type StakeholderFindListUnauthorized
- func (o *StakeholderFindListUnauthorized) Code() int
- func (o *StakeholderFindListUnauthorized) Error() string
- func (o *StakeholderFindListUnauthorized) GetPayload() *models.Response
- func (o *StakeholderFindListUnauthorized) IsClientError() bool
- func (o *StakeholderFindListUnauthorized) IsCode(code int) bool
- func (o *StakeholderFindListUnauthorized) IsRedirect() bool
- func (o *StakeholderFindListUnauthorized) IsServerError() bool
- func (o *StakeholderFindListUnauthorized) IsSuccess() bool
- func (o *StakeholderFindListUnauthorized) String() string
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 ¶
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 ¶
func (o *StakeholderFindListBadRequest) Code() int
Code gets the status code for the stakeholder find list bad request response
func (*StakeholderFindListBadRequest) Error ¶
func (o *StakeholderFindListBadRequest) Error() string
func (*StakeholderFindListBadRequest) GetPayload ¶
func (o *StakeholderFindListBadRequest) GetPayload() *models.Response
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 ¶
func (o *StakeholderFindListBadRequest) String() string
type StakeholderFindListInternalServerError ¶
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 ¶
func (o *StakeholderFindListInternalServerError) Code() int
Code gets the status code for the stakeholder find list internal server error response
func (*StakeholderFindListInternalServerError) Error ¶
func (o *StakeholderFindListInternalServerError) Error() string
func (*StakeholderFindListInternalServerError) GetPayload ¶
func (o *StakeholderFindListInternalServerError) GetPayload() *models.Response
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 ¶
func (o *StakeholderFindListInternalServerError) IsCode(code int) bool
IsCode returns true when this stakeholder find list internal server error response a status code equal to that given
func (*StakeholderFindListInternalServerError) IsRedirect ¶
func (o *StakeholderFindListInternalServerError) IsRedirect() bool
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 ¶
func (o *StakeholderFindListInternalServerError) IsSuccess() bool
IsSuccess returns true when this stakeholder find list internal server error response has a 2xx status code
func (*StakeholderFindListInternalServerError) String ¶
func (o *StakeholderFindListInternalServerError) String() string
type StakeholderFindListNotFound ¶
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 (o *StakeholderFindListNotFound) Error() string
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 (o *StakeholderFindListOK) GetPayload() *models.StakeholderFindResponse
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 ¶
func (o *StakeholderFindListParams) WithContext(ctx context.Context) *StakeholderFindListParams
WithContext adds the context to the stakeholder find list params
func (*StakeholderFindListParams) WithDefaults ¶
func (o *StakeholderFindListParams) WithDefaults() *StakeholderFindListParams
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 ¶
func (o *StakeholderFindListParams) WithID(id *string) *StakeholderFindListParams
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 ¶
func (o *StakeholderFindListParams) WithName(name *string) *StakeholderFindListParams
WithName adds the name to the stakeholder find list params
func (*StakeholderFindListParams) WithState ¶
func (o *StakeholderFindListParams) WithState(state *string) *StakeholderFindListParams
WithState adds the state to the stakeholder find list params
func (*StakeholderFindListParams) WithStatus ¶
func (o *StakeholderFindListParams) WithStatus(status *string) *StakeholderFindListParams
WithStatus adds the status to the stakeholder find list params
func (*StakeholderFindListParams) WithTimeout ¶
func (o *StakeholderFindListParams) WithTimeout(timeout time.Duration) *StakeholderFindListParams
WithTimeout adds the timeout to the stakeholder find list params
func (*StakeholderFindListParams) WithVersion ¶
func (o *StakeholderFindListParams) WithVersion(version *string) *StakeholderFindListParams
WithVersion adds the version to the stakeholder find list params
func (*StakeholderFindListParams) WriteToRequest ¶
func (o *StakeholderFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *StakeholderFindListUnauthorized) Code() int
Code gets the status code for the stakeholder find list unauthorized response
func (*StakeholderFindListUnauthorized) Error ¶
func (o *StakeholderFindListUnauthorized) Error() string
func (*StakeholderFindListUnauthorized) GetPayload ¶
func (o *StakeholderFindListUnauthorized) GetPayload() *models.Response
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 ¶
func (o *StakeholderFindListUnauthorized) String() string