Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type OrganizationFindListBadRequest
- func (o *OrganizationFindListBadRequest) Code() int
- func (o *OrganizationFindListBadRequest) Error() string
- func (o *OrganizationFindListBadRequest) GetPayload() *models.Response
- func (o *OrganizationFindListBadRequest) IsClientError() bool
- func (o *OrganizationFindListBadRequest) IsCode(code int) bool
- func (o *OrganizationFindListBadRequest) IsRedirect() bool
- func (o *OrganizationFindListBadRequest) IsServerError() bool
- func (o *OrganizationFindListBadRequest) IsSuccess() bool
- func (o *OrganizationFindListBadRequest) String() string
- type OrganizationFindListInternalServerError
- func (o *OrganizationFindListInternalServerError) Code() int
- func (o *OrganizationFindListInternalServerError) Error() string
- func (o *OrganizationFindListInternalServerError) GetPayload() *models.Response
- func (o *OrganizationFindListInternalServerError) IsClientError() bool
- func (o *OrganizationFindListInternalServerError) IsCode(code int) bool
- func (o *OrganizationFindListInternalServerError) IsRedirect() bool
- func (o *OrganizationFindListInternalServerError) IsServerError() bool
- func (o *OrganizationFindListInternalServerError) IsSuccess() bool
- func (o *OrganizationFindListInternalServerError) String() string
- type OrganizationFindListOK
- func (o *OrganizationFindListOK) Code() int
- func (o *OrganizationFindListOK) Error() string
- func (o *OrganizationFindListOK) GetPayload() *models.OrganizationFindResponse
- func (o *OrganizationFindListOK) IsClientError() bool
- func (o *OrganizationFindListOK) IsCode(code int) bool
- func (o *OrganizationFindListOK) IsRedirect() bool
- func (o *OrganizationFindListOK) IsServerError() bool
- func (o *OrganizationFindListOK) IsSuccess() bool
- func (o *OrganizationFindListOK) String() string
- type OrganizationFindListParams
- func NewOrganizationFindListParams() *OrganizationFindListParams
- func NewOrganizationFindListParamsWithContext(ctx context.Context) *OrganizationFindListParams
- func NewOrganizationFindListParamsWithHTTPClient(client *http.Client) *OrganizationFindListParams
- func NewOrganizationFindListParamsWithTimeout(timeout time.Duration) *OrganizationFindListParams
- func (o *OrganizationFindListParams) SetAcronym(acronym *string)
- func (o *OrganizationFindListParams) SetContext(ctx context.Context)
- func (o *OrganizationFindListParams) SetDefaults()
- func (o *OrganizationFindListParams) SetHTTPClient(client *http.Client)
- func (o *OrganizationFindListParams) SetID(id *string)
- func (o *OrganizationFindListParams) SetName(name *string)
- func (o *OrganizationFindListParams) SetTimeout(timeout time.Duration)
- func (o *OrganizationFindListParams) WithAcronym(acronym *string) *OrganizationFindListParams
- func (o *OrganizationFindListParams) WithContext(ctx context.Context) *OrganizationFindListParams
- func (o *OrganizationFindListParams) WithDefaults() *OrganizationFindListParams
- func (o *OrganizationFindListParams) WithHTTPClient(client *http.Client) *OrganizationFindListParams
- func (o *OrganizationFindListParams) WithID(id *string) *OrganizationFindListParams
- func (o *OrganizationFindListParams) WithName(name *string) *OrganizationFindListParams
- func (o *OrganizationFindListParams) WithTimeout(timeout time.Duration) *OrganizationFindListParams
- func (o *OrganizationFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type OrganizationFindListReader
- type OrganizationFindListUnauthorized
- func (o *OrganizationFindListUnauthorized) Code() int
- func (o *OrganizationFindListUnauthorized) Error() string
- func (o *OrganizationFindListUnauthorized) GetPayload() *models.Response
- func (o *OrganizationFindListUnauthorized) IsClientError() bool
- func (o *OrganizationFindListUnauthorized) IsCode(code int) bool
- func (o *OrganizationFindListUnauthorized) IsRedirect() bool
- func (o *OrganizationFindListUnauthorized) IsServerError() bool
- func (o *OrganizationFindListUnauthorized) IsSuccess() bool
- func (o *OrganizationFindListUnauthorized) 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 organization API
func (*Client) OrganizationFindList ¶
func (a *Client) OrganizationFindList(params *OrganizationFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationFindListOK, error)
OrganizationFindList retrieves information about the official c m s organizational hierarchy
Retrieves information about the official CMS organizational hierarchy as maintained and published by the Division of Performance and Organizational Programs (DPOP)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { OrganizationFindList(params *OrganizationFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OrganizationFindListOK, 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 organization API client.
type OrganizationFindListBadRequest ¶
OrganizationFindListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewOrganizationFindListBadRequest ¶
func NewOrganizationFindListBadRequest() *OrganizationFindListBadRequest
NewOrganizationFindListBadRequest creates a OrganizationFindListBadRequest with default headers values
func (*OrganizationFindListBadRequest) Code ¶
func (o *OrganizationFindListBadRequest) Code() int
Code gets the status code for the organization find list bad request response
func (*OrganizationFindListBadRequest) Error ¶
func (o *OrganizationFindListBadRequest) Error() string
func (*OrganizationFindListBadRequest) GetPayload ¶
func (o *OrganizationFindListBadRequest) GetPayload() *models.Response
func (*OrganizationFindListBadRequest) IsClientError ¶
func (o *OrganizationFindListBadRequest) IsClientError() bool
IsClientError returns true when this organization find list bad request response has a 4xx status code
func (*OrganizationFindListBadRequest) IsCode ¶
func (o *OrganizationFindListBadRequest) IsCode(code int) bool
IsCode returns true when this organization find list bad request response a status code equal to that given
func (*OrganizationFindListBadRequest) IsRedirect ¶
func (o *OrganizationFindListBadRequest) IsRedirect() bool
IsRedirect returns true when this organization find list bad request response has a 3xx status code
func (*OrganizationFindListBadRequest) IsServerError ¶
func (o *OrganizationFindListBadRequest) IsServerError() bool
IsServerError returns true when this organization find list bad request response has a 5xx status code
func (*OrganizationFindListBadRequest) IsSuccess ¶
func (o *OrganizationFindListBadRequest) IsSuccess() bool
IsSuccess returns true when this organization find list bad request response has a 2xx status code
func (*OrganizationFindListBadRequest) String ¶
func (o *OrganizationFindListBadRequest) String() string
type OrganizationFindListInternalServerError ¶
OrganizationFindListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewOrganizationFindListInternalServerError ¶
func NewOrganizationFindListInternalServerError() *OrganizationFindListInternalServerError
NewOrganizationFindListInternalServerError creates a OrganizationFindListInternalServerError with default headers values
func (*OrganizationFindListInternalServerError) Code ¶
func (o *OrganizationFindListInternalServerError) Code() int
Code gets the status code for the organization find list internal server error response
func (*OrganizationFindListInternalServerError) Error ¶
func (o *OrganizationFindListInternalServerError) Error() string
func (*OrganizationFindListInternalServerError) GetPayload ¶
func (o *OrganizationFindListInternalServerError) GetPayload() *models.Response
func (*OrganizationFindListInternalServerError) IsClientError ¶
func (o *OrganizationFindListInternalServerError) IsClientError() bool
IsClientError returns true when this organization find list internal server error response has a 4xx status code
func (*OrganizationFindListInternalServerError) IsCode ¶
func (o *OrganizationFindListInternalServerError) IsCode(code int) bool
IsCode returns true when this organization find list internal server error response a status code equal to that given
func (*OrganizationFindListInternalServerError) IsRedirect ¶
func (o *OrganizationFindListInternalServerError) IsRedirect() bool
IsRedirect returns true when this organization find list internal server error response has a 3xx status code
func (*OrganizationFindListInternalServerError) IsServerError ¶
func (o *OrganizationFindListInternalServerError) IsServerError() bool
IsServerError returns true when this organization find list internal server error response has a 5xx status code
func (*OrganizationFindListInternalServerError) IsSuccess ¶
func (o *OrganizationFindListInternalServerError) IsSuccess() bool
IsSuccess returns true when this organization find list internal server error response has a 2xx status code
func (*OrganizationFindListInternalServerError) String ¶
func (o *OrganizationFindListInternalServerError) String() string
type OrganizationFindListOK ¶
type OrganizationFindListOK struct {
Payload *models.OrganizationFindResponse
}
OrganizationFindListOK describes a response with status code 200, with default header values.
OK
func NewOrganizationFindListOK ¶
func NewOrganizationFindListOK() *OrganizationFindListOK
NewOrganizationFindListOK creates a OrganizationFindListOK with default headers values
func (*OrganizationFindListOK) Code ¶
func (o *OrganizationFindListOK) Code() int
Code gets the status code for the organization find list o k response
func (*OrganizationFindListOK) Error ¶
func (o *OrganizationFindListOK) Error() string
func (*OrganizationFindListOK) GetPayload ¶
func (o *OrganizationFindListOK) GetPayload() *models.OrganizationFindResponse
func (*OrganizationFindListOK) IsClientError ¶
func (o *OrganizationFindListOK) IsClientError() bool
IsClientError returns true when this organization find list o k response has a 4xx status code
func (*OrganizationFindListOK) IsCode ¶
func (o *OrganizationFindListOK) IsCode(code int) bool
IsCode returns true when this organization find list o k response a status code equal to that given
func (*OrganizationFindListOK) IsRedirect ¶
func (o *OrganizationFindListOK) IsRedirect() bool
IsRedirect returns true when this organization find list o k response has a 3xx status code
func (*OrganizationFindListOK) IsServerError ¶
func (o *OrganizationFindListOK) IsServerError() bool
IsServerError returns true when this organization find list o k response has a 5xx status code
func (*OrganizationFindListOK) IsSuccess ¶
func (o *OrganizationFindListOK) IsSuccess() bool
IsSuccess returns true when this organization find list o k response has a 2xx status code
func (*OrganizationFindListOK) String ¶
func (o *OrganizationFindListOK) String() string
type OrganizationFindListParams ¶
type OrganizationFindListParams struct { /* Acronym. Acronym of a specific organization. Will return the organization specified and all children of the organization. */ Acronym *string /* ID. ID of a specific organization. Will return the organization specified and all children of the organization. */ ID *string /* Name. Exact name of a specific organization. Will return the organization specified and all children of the organization. */ Name *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
OrganizationFindListParams contains all the parameters to send to the API endpoint
for the organization find list operation. Typically these are written to a http.Request.
func NewOrganizationFindListParams ¶
func NewOrganizationFindListParams() *OrganizationFindListParams
NewOrganizationFindListParams creates a new OrganizationFindListParams 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 NewOrganizationFindListParamsWithContext ¶
func NewOrganizationFindListParamsWithContext(ctx context.Context) *OrganizationFindListParams
NewOrganizationFindListParamsWithContext creates a new OrganizationFindListParams object with the ability to set a context for a request.
func NewOrganizationFindListParamsWithHTTPClient ¶
func NewOrganizationFindListParamsWithHTTPClient(client *http.Client) *OrganizationFindListParams
NewOrganizationFindListParamsWithHTTPClient creates a new OrganizationFindListParams object with the ability to set a custom HTTPClient for a request.
func NewOrganizationFindListParamsWithTimeout ¶
func NewOrganizationFindListParamsWithTimeout(timeout time.Duration) *OrganizationFindListParams
NewOrganizationFindListParamsWithTimeout creates a new OrganizationFindListParams object with the ability to set a timeout on a request.
func (*OrganizationFindListParams) SetAcronym ¶
func (o *OrganizationFindListParams) SetAcronym(acronym *string)
SetAcronym adds the acronym to the organization find list params
func (*OrganizationFindListParams) SetContext ¶
func (o *OrganizationFindListParams) SetContext(ctx context.Context)
SetContext adds the context to the organization find list params
func (*OrganizationFindListParams) SetDefaults ¶
func (o *OrganizationFindListParams) SetDefaults()
SetDefaults hydrates default values in the organization find list params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationFindListParams) SetHTTPClient ¶
func (o *OrganizationFindListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the organization find list params
func (*OrganizationFindListParams) SetID ¶
func (o *OrganizationFindListParams) SetID(id *string)
SetID adds the id to the organization find list params
func (*OrganizationFindListParams) SetName ¶
func (o *OrganizationFindListParams) SetName(name *string)
SetName adds the name to the organization find list params
func (*OrganizationFindListParams) SetTimeout ¶
func (o *OrganizationFindListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the organization find list params
func (*OrganizationFindListParams) WithAcronym ¶
func (o *OrganizationFindListParams) WithAcronym(acronym *string) *OrganizationFindListParams
WithAcronym adds the acronym to the organization find list params
func (*OrganizationFindListParams) WithContext ¶
func (o *OrganizationFindListParams) WithContext(ctx context.Context) *OrganizationFindListParams
WithContext adds the context to the organization find list params
func (*OrganizationFindListParams) WithDefaults ¶
func (o *OrganizationFindListParams) WithDefaults() *OrganizationFindListParams
WithDefaults hydrates default values in the organization find list params (not the query body).
All values with no default are reset to their zero value.
func (*OrganizationFindListParams) WithHTTPClient ¶
func (o *OrganizationFindListParams) WithHTTPClient(client *http.Client) *OrganizationFindListParams
WithHTTPClient adds the HTTPClient to the organization find list params
func (*OrganizationFindListParams) WithID ¶
func (o *OrganizationFindListParams) WithID(id *string) *OrganizationFindListParams
WithID adds the id to the organization find list params
func (*OrganizationFindListParams) WithName ¶
func (o *OrganizationFindListParams) WithName(name *string) *OrganizationFindListParams
WithName adds the name to the organization find list params
func (*OrganizationFindListParams) WithTimeout ¶
func (o *OrganizationFindListParams) WithTimeout(timeout time.Duration) *OrganizationFindListParams
WithTimeout adds the timeout to the organization find list params
func (*OrganizationFindListParams) WriteToRequest ¶
func (o *OrganizationFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type OrganizationFindListReader ¶
type OrganizationFindListReader struct {
// contains filtered or unexported fields
}
OrganizationFindListReader is a Reader for the OrganizationFindList structure.
func (*OrganizationFindListReader) ReadResponse ¶
func (o *OrganizationFindListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type OrganizationFindListUnauthorized ¶
type OrganizationFindListUnauthorized struct {
}OrganizationFindListUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewOrganizationFindListUnauthorized ¶
func NewOrganizationFindListUnauthorized() *OrganizationFindListUnauthorized
NewOrganizationFindListUnauthorized creates a OrganizationFindListUnauthorized with default headers values
func (*OrganizationFindListUnauthorized) Code ¶
func (o *OrganizationFindListUnauthorized) Code() int
Code gets the status code for the organization find list unauthorized response
func (*OrganizationFindListUnauthorized) Error ¶
func (o *OrganizationFindListUnauthorized) Error() string
func (*OrganizationFindListUnauthorized) GetPayload ¶
func (o *OrganizationFindListUnauthorized) GetPayload() *models.Response
func (*OrganizationFindListUnauthorized) IsClientError ¶
func (o *OrganizationFindListUnauthorized) IsClientError() bool
IsClientError returns true when this organization find list unauthorized response has a 4xx status code
func (*OrganizationFindListUnauthorized) IsCode ¶
func (o *OrganizationFindListUnauthorized) IsCode(code int) bool
IsCode returns true when this organization find list unauthorized response a status code equal to that given
func (*OrganizationFindListUnauthorized) IsRedirect ¶
func (o *OrganizationFindListUnauthorized) IsRedirect() bool
IsRedirect returns true when this organization find list unauthorized response has a 3xx status code
func (*OrganizationFindListUnauthorized) IsServerError ¶
func (o *OrganizationFindListUnauthorized) IsServerError() bool
IsServerError returns true when this organization find list unauthorized response has a 5xx status code
func (*OrganizationFindListUnauthorized) IsSuccess ¶
func (o *OrganizationFindListUnauthorized) IsSuccess() bool
IsSuccess returns true when this organization find list unauthorized response has a 2xx status code
func (*OrganizationFindListUnauthorized) String ¶
func (o *OrganizationFindListUnauthorized) String() string