Documentation
¶
Index ¶
- type Client
- func (a *Client) GetDomains(params *GetDomainsParams, opts ...ClientOption) (*GetDomainsOK, error)
- func (a *Client) GetDomainsDomainClasses(params *GetDomainsDomainClassesParams, opts ...ClientOption) (*GetDomainsDomainClassesOK, error)
- func (a *Client) PostGraphsGoals(params *PostGraphsGoalsParams, opts ...ClientOption) (*PostGraphsGoalsOK, error)
- func (a *Client) PostGraphsNeighbours(params *PostGraphsNeighboursParams, opts ...ClientOption) (*PostGraphsNeighboursOK, error)
- func (a *Client) PostListsGoals(params *PostListsGoalsParams, opts ...ClientOption) (*PostListsGoalsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetDomainsDefault
- func (o *GetDomainsDefault) Code() int
- func (o *GetDomainsDefault) Error() string
- func (o *GetDomainsDefault) GetPayload() string
- func (o *GetDomainsDefault) IsClientError() bool
- func (o *GetDomainsDefault) IsCode(code int) bool
- func (o *GetDomainsDefault) IsRedirect() bool
- func (o *GetDomainsDefault) IsServerError() bool
- func (o *GetDomainsDefault) IsSuccess() bool
- func (o *GetDomainsDefault) String() string
- type GetDomainsDomainClassesDefault
- func (o *GetDomainsDomainClassesDefault) Code() int
- func (o *GetDomainsDomainClassesDefault) Error() string
- func (o *GetDomainsDomainClassesDefault) GetPayload() string
- func (o *GetDomainsDomainClassesDefault) IsClientError() bool
- func (o *GetDomainsDomainClassesDefault) IsCode(code int) bool
- func (o *GetDomainsDomainClassesDefault) IsRedirect() bool
- func (o *GetDomainsDomainClassesDefault) IsServerError() bool
- func (o *GetDomainsDomainClassesDefault) IsSuccess() bool
- func (o *GetDomainsDomainClassesDefault) String() string
- type GetDomainsDomainClassesOK
- func (o *GetDomainsDomainClassesOK) Code() int
- func (o *GetDomainsDomainClassesOK) Error() string
- func (o *GetDomainsDomainClassesOK) GetPayload() models.Classes
- func (o *GetDomainsDomainClassesOK) IsClientError() bool
- func (o *GetDomainsDomainClassesOK) IsCode(code int) bool
- func (o *GetDomainsDomainClassesOK) IsRedirect() bool
- func (o *GetDomainsDomainClassesOK) IsServerError() bool
- func (o *GetDomainsDomainClassesOK) IsSuccess() bool
- func (o *GetDomainsDomainClassesOK) String() string
- type GetDomainsDomainClassesParams
- func NewGetDomainsDomainClassesParams() *GetDomainsDomainClassesParams
- func NewGetDomainsDomainClassesParamsWithContext(ctx context.Context) *GetDomainsDomainClassesParams
- func NewGetDomainsDomainClassesParamsWithHTTPClient(client *http.Client) *GetDomainsDomainClassesParams
- func NewGetDomainsDomainClassesParamsWithTimeout(timeout time.Duration) *GetDomainsDomainClassesParams
- func (o *GetDomainsDomainClassesParams) SetContext(ctx context.Context)
- func (o *GetDomainsDomainClassesParams) SetDefaults()
- func (o *GetDomainsDomainClassesParams) SetDomain(domain string)
- func (o *GetDomainsDomainClassesParams) SetHTTPClient(client *http.Client)
- func (o *GetDomainsDomainClassesParams) SetTimeout(timeout time.Duration)
- func (o *GetDomainsDomainClassesParams) WithContext(ctx context.Context) *GetDomainsDomainClassesParams
- func (o *GetDomainsDomainClassesParams) WithDefaults() *GetDomainsDomainClassesParams
- func (o *GetDomainsDomainClassesParams) WithDomain(domain string) *GetDomainsDomainClassesParams
- func (o *GetDomainsDomainClassesParams) WithHTTPClient(client *http.Client) *GetDomainsDomainClassesParams
- func (o *GetDomainsDomainClassesParams) WithTimeout(timeout time.Duration) *GetDomainsDomainClassesParams
- func (o *GetDomainsDomainClassesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDomainsDomainClassesReader
- type GetDomainsOK
- func (o *GetDomainsOK) Code() int
- func (o *GetDomainsOK) Error() string
- func (o *GetDomainsOK) GetPayload() []*models.Domain
- func (o *GetDomainsOK) IsClientError() bool
- func (o *GetDomainsOK) IsCode(code int) bool
- func (o *GetDomainsOK) IsRedirect() bool
- func (o *GetDomainsOK) IsServerError() bool
- func (o *GetDomainsOK) IsSuccess() bool
- func (o *GetDomainsOK) String() string
- type GetDomainsParams
- func (o *GetDomainsParams) SetContext(ctx context.Context)
- func (o *GetDomainsParams) SetDefaults()
- func (o *GetDomainsParams) SetHTTPClient(client *http.Client)
- func (o *GetDomainsParams) SetTimeout(timeout time.Duration)
- func (o *GetDomainsParams) WithContext(ctx context.Context) *GetDomainsParams
- func (o *GetDomainsParams) WithDefaults() *GetDomainsParams
- func (o *GetDomainsParams) WithHTTPClient(client *http.Client) *GetDomainsParams
- func (o *GetDomainsParams) WithTimeout(timeout time.Duration) *GetDomainsParams
- func (o *GetDomainsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDomainsReader
- type PostGraphsGoalsDefault
- func (o *PostGraphsGoalsDefault) Code() int
- func (o *PostGraphsGoalsDefault) Error() string
- func (o *PostGraphsGoalsDefault) GetPayload() string
- func (o *PostGraphsGoalsDefault) IsClientError() bool
- func (o *PostGraphsGoalsDefault) IsCode(code int) bool
- func (o *PostGraphsGoalsDefault) IsRedirect() bool
- func (o *PostGraphsGoalsDefault) IsServerError() bool
- func (o *PostGraphsGoalsDefault) IsSuccess() bool
- func (o *PostGraphsGoalsDefault) String() string
- type PostGraphsGoalsOK
- func (o *PostGraphsGoalsOK) Code() int
- func (o *PostGraphsGoalsOK) Error() string
- func (o *PostGraphsGoalsOK) GetPayload() *models.Graph
- func (o *PostGraphsGoalsOK) IsClientError() bool
- func (o *PostGraphsGoalsOK) IsCode(code int) bool
- func (o *PostGraphsGoalsOK) IsRedirect() bool
- func (o *PostGraphsGoalsOK) IsServerError() bool
- func (o *PostGraphsGoalsOK) IsSuccess() bool
- func (o *PostGraphsGoalsOK) String() string
- type PostGraphsGoalsParams
- func NewPostGraphsGoalsParams() *PostGraphsGoalsParams
- func NewPostGraphsGoalsParamsWithContext(ctx context.Context) *PostGraphsGoalsParams
- func NewPostGraphsGoalsParamsWithHTTPClient(client *http.Client) *PostGraphsGoalsParams
- func NewPostGraphsGoalsParamsWithTimeout(timeout time.Duration) *PostGraphsGoalsParams
- func (o *PostGraphsGoalsParams) SetContext(ctx context.Context)
- func (o *PostGraphsGoalsParams) SetDefaults()
- func (o *PostGraphsGoalsParams) SetHTTPClient(client *http.Client)
- func (o *PostGraphsGoalsParams) SetRequest(request *models.Goals)
- func (o *PostGraphsGoalsParams) SetRules(rules *bool)
- func (o *PostGraphsGoalsParams) SetTimeout(timeout time.Duration)
- func (o *PostGraphsGoalsParams) WithContext(ctx context.Context) *PostGraphsGoalsParams
- func (o *PostGraphsGoalsParams) WithDefaults() *PostGraphsGoalsParams
- func (o *PostGraphsGoalsParams) WithHTTPClient(client *http.Client) *PostGraphsGoalsParams
- func (o *PostGraphsGoalsParams) WithRequest(request *models.Goals) *PostGraphsGoalsParams
- func (o *PostGraphsGoalsParams) WithRules(rules *bool) *PostGraphsGoalsParams
- func (o *PostGraphsGoalsParams) WithTimeout(timeout time.Duration) *PostGraphsGoalsParams
- func (o *PostGraphsGoalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostGraphsGoalsReader
- type PostGraphsNeighboursDefault
- func (o *PostGraphsNeighboursDefault) Code() int
- func (o *PostGraphsNeighboursDefault) Error() string
- func (o *PostGraphsNeighboursDefault) GetPayload() string
- func (o *PostGraphsNeighboursDefault) IsClientError() bool
- func (o *PostGraphsNeighboursDefault) IsCode(code int) bool
- func (o *PostGraphsNeighboursDefault) IsRedirect() bool
- func (o *PostGraphsNeighboursDefault) IsServerError() bool
- func (o *PostGraphsNeighboursDefault) IsSuccess() bool
- func (o *PostGraphsNeighboursDefault) String() string
- type PostGraphsNeighboursOK
- func (o *PostGraphsNeighboursOK) Code() int
- func (o *PostGraphsNeighboursOK) Error() string
- func (o *PostGraphsNeighboursOK) GetPayload() *models.Graph
- func (o *PostGraphsNeighboursOK) IsClientError() bool
- func (o *PostGraphsNeighboursOK) IsCode(code int) bool
- func (o *PostGraphsNeighboursOK) IsRedirect() bool
- func (o *PostGraphsNeighboursOK) IsServerError() bool
- func (o *PostGraphsNeighboursOK) IsSuccess() bool
- func (o *PostGraphsNeighboursOK) String() string
- type PostGraphsNeighboursParams
- func NewPostGraphsNeighboursParams() *PostGraphsNeighboursParams
- func NewPostGraphsNeighboursParamsWithContext(ctx context.Context) *PostGraphsNeighboursParams
- func NewPostGraphsNeighboursParamsWithHTTPClient(client *http.Client) *PostGraphsNeighboursParams
- func NewPostGraphsNeighboursParamsWithTimeout(timeout time.Duration) *PostGraphsNeighboursParams
- func (o *PostGraphsNeighboursParams) SetContext(ctx context.Context)
- func (o *PostGraphsNeighboursParams) SetDefaults()
- func (o *PostGraphsNeighboursParams) SetHTTPClient(client *http.Client)
- func (o *PostGraphsNeighboursParams) SetRequest(request *models.Neighbours)
- func (o *PostGraphsNeighboursParams) SetRules(rules *bool)
- func (o *PostGraphsNeighboursParams) SetTimeout(timeout time.Duration)
- func (o *PostGraphsNeighboursParams) WithContext(ctx context.Context) *PostGraphsNeighboursParams
- func (o *PostGraphsNeighboursParams) WithDefaults() *PostGraphsNeighboursParams
- func (o *PostGraphsNeighboursParams) WithHTTPClient(client *http.Client) *PostGraphsNeighboursParams
- func (o *PostGraphsNeighboursParams) WithRequest(request *models.Neighbours) *PostGraphsNeighboursParams
- func (o *PostGraphsNeighboursParams) WithRules(rules *bool) *PostGraphsNeighboursParams
- func (o *PostGraphsNeighboursParams) WithTimeout(timeout time.Duration) *PostGraphsNeighboursParams
- func (o *PostGraphsNeighboursParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostGraphsNeighboursReader
- type PostListsGoalsDefault
- func (o *PostListsGoalsDefault) Code() int
- func (o *PostListsGoalsDefault) Error() string
- func (o *PostListsGoalsDefault) GetPayload() string
- func (o *PostListsGoalsDefault) IsClientError() bool
- func (o *PostListsGoalsDefault) IsCode(code int) bool
- func (o *PostListsGoalsDefault) IsRedirect() bool
- func (o *PostListsGoalsDefault) IsServerError() bool
- func (o *PostListsGoalsDefault) IsSuccess() bool
- func (o *PostListsGoalsDefault) String() string
- type PostListsGoalsOK
- func (o *PostListsGoalsOK) Code() int
- func (o *PostListsGoalsOK) Error() string
- func (o *PostListsGoalsOK) GetPayload() []*models.Node
- func (o *PostListsGoalsOK) IsClientError() bool
- func (o *PostListsGoalsOK) IsCode(code int) bool
- func (o *PostListsGoalsOK) IsRedirect() bool
- func (o *PostListsGoalsOK) IsServerError() bool
- func (o *PostListsGoalsOK) IsSuccess() bool
- func (o *PostListsGoalsOK) String() string
- type PostListsGoalsParams
- func NewPostListsGoalsParams() *PostListsGoalsParams
- func NewPostListsGoalsParamsWithContext(ctx context.Context) *PostListsGoalsParams
- func NewPostListsGoalsParamsWithHTTPClient(client *http.Client) *PostListsGoalsParams
- func NewPostListsGoalsParamsWithTimeout(timeout time.Duration) *PostListsGoalsParams
- func (o *PostListsGoalsParams) SetContext(ctx context.Context)
- func (o *PostListsGoalsParams) SetDefaults()
- func (o *PostListsGoalsParams) SetHTTPClient(client *http.Client)
- func (o *PostListsGoalsParams) SetRequest(request *models.Goals)
- func (o *PostListsGoalsParams) SetTimeout(timeout time.Duration)
- func (o *PostListsGoalsParams) WithContext(ctx context.Context) *PostListsGoalsParams
- func (o *PostListsGoalsParams) WithDefaults() *PostListsGoalsParams
- func (o *PostListsGoalsParams) WithHTTPClient(client *http.Client) *PostListsGoalsParams
- func (o *PostListsGoalsParams) WithRequest(request *models.Goals) *PostListsGoalsParams
- func (o *PostListsGoalsParams) WithTimeout(timeout time.Duration) *PostListsGoalsParams
- func (o *PostListsGoalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostListsGoalsReader
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 operations API
func (*Client) GetDomains ¶
func (a *Client) GetDomains(params *GetDomainsParams, opts ...ClientOption) (*GetDomainsOK, error)
GetDomains gets name configuration and status for each domain
func (*Client) GetDomainsDomainClasses ¶
func (a *Client) GetDomainsDomainClasses(params *GetDomainsDomainClassesParams, opts ...ClientOption) (*GetDomainsDomainClassesOK, error)
GetDomainsDomainClasses gets class names and descriptions for a domain
func (*Client) PostGraphsGoals ¶
func (a *Client) PostGraphsGoals(params *PostGraphsGoalsParams, opts ...ClientOption) (*PostGraphsGoalsOK, error)
PostGraphsGoals creates a correlation graph from start objects to goal queries
func (*Client) PostGraphsNeighbours ¶
func (a *Client) PostGraphsNeighbours(params *PostGraphsNeighboursParams, opts ...ClientOption) (*PostGraphsNeighboursOK, error)
PostGraphsNeighbours creates a neighbourhood graph around a start object to a given depth
func (*Client) PostListsGoals ¶
func (a *Client) PostListsGoals(params *PostListsGoalsParams, opts ...ClientOption) (*PostListsGoalsOK, error)
PostListsGoals creates a list of goal nodes related to a starting point
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 may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
GetDomains(params *GetDomainsParams, opts ...ClientOption) (*GetDomainsOK, error)
GetDomainsDomainClasses(params *GetDomainsDomainClassesParams, opts ...ClientOption) (*GetDomainsDomainClassesOK, error)
PostGraphsGoals(params *PostGraphsGoalsParams, opts ...ClientOption) (*PostGraphsGoalsOK, error)
PostGraphsNeighbours(params *PostGraphsNeighboursParams, opts ...ClientOption) (*PostGraphsNeighboursOK, error)
PostListsGoals(params *PostListsGoalsParams, opts ...ClientOption) (*PostListsGoalsOK, 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 operations API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new operations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new operations API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetDomainsDefault ¶
type GetDomainsDefault struct {
Payload string
// contains filtered or unexported fields
}
GetDomainsDefault describes a response with status code -1, with default header values.
GetDomainsDefault get domains default
func NewGetDomainsDefault ¶
func NewGetDomainsDefault(code int) *GetDomainsDefault
NewGetDomainsDefault creates a GetDomainsDefault with default headers values
func (*GetDomainsDefault) Code ¶
func (o *GetDomainsDefault) Code() int
Code gets the status code for the get domains default response
func (*GetDomainsDefault) Error ¶
func (o *GetDomainsDefault) Error() string
func (*GetDomainsDefault) GetPayload ¶
func (o *GetDomainsDefault) GetPayload() string
func (*GetDomainsDefault) IsClientError ¶
func (o *GetDomainsDefault) IsClientError() bool
IsClientError returns true when this get domains default response has a 4xx status code
func (*GetDomainsDefault) IsCode ¶
func (o *GetDomainsDefault) IsCode(code int) bool
IsCode returns true when this get domains default response a status code equal to that given
func (*GetDomainsDefault) IsRedirect ¶
func (o *GetDomainsDefault) IsRedirect() bool
IsRedirect returns true when this get domains default response has a 3xx status code
func (*GetDomainsDefault) IsServerError ¶
func (o *GetDomainsDefault) IsServerError() bool
IsServerError returns true when this get domains default response has a 5xx status code
func (*GetDomainsDefault) IsSuccess ¶
func (o *GetDomainsDefault) IsSuccess() bool
IsSuccess returns true when this get domains default response has a 2xx status code
func (*GetDomainsDefault) String ¶
func (o *GetDomainsDefault) String() string
type GetDomainsDomainClassesDefault ¶
type GetDomainsDomainClassesDefault struct {
Payload string
// contains filtered or unexported fields
}
GetDomainsDomainClassesDefault describes a response with status code -1, with default header values.
GetDomainsDomainClassesDefault get domains domain classes default
func NewGetDomainsDomainClassesDefault ¶
func NewGetDomainsDomainClassesDefault(code int) *GetDomainsDomainClassesDefault
NewGetDomainsDomainClassesDefault creates a GetDomainsDomainClassesDefault with default headers values
func (*GetDomainsDomainClassesDefault) Code ¶
func (o *GetDomainsDomainClassesDefault) Code() int
Code gets the status code for the get domains domain classes default response
func (*GetDomainsDomainClassesDefault) Error ¶
func (o *GetDomainsDomainClassesDefault) Error() string
func (*GetDomainsDomainClassesDefault) GetPayload ¶
func (o *GetDomainsDomainClassesDefault) GetPayload() string
func (*GetDomainsDomainClassesDefault) IsClientError ¶
func (o *GetDomainsDomainClassesDefault) IsClientError() bool
IsClientError returns true when this get domains domain classes default response has a 4xx status code
func (*GetDomainsDomainClassesDefault) IsCode ¶
func (o *GetDomainsDomainClassesDefault) IsCode(code int) bool
IsCode returns true when this get domains domain classes default response a status code equal to that given
func (*GetDomainsDomainClassesDefault) IsRedirect ¶
func (o *GetDomainsDomainClassesDefault) IsRedirect() bool
IsRedirect returns true when this get domains domain classes default response has a 3xx status code
func (*GetDomainsDomainClassesDefault) IsServerError ¶
func (o *GetDomainsDomainClassesDefault) IsServerError() bool
IsServerError returns true when this get domains domain classes default response has a 5xx status code
func (*GetDomainsDomainClassesDefault) IsSuccess ¶
func (o *GetDomainsDomainClassesDefault) IsSuccess() bool
IsSuccess returns true when this get domains domain classes default response has a 2xx status code
func (*GetDomainsDomainClassesDefault) String ¶
func (o *GetDomainsDomainClassesDefault) String() string
type GetDomainsDomainClassesOK ¶
GetDomainsDomainClassesOK describes a response with status code 200, with default header values.
OK
func NewGetDomainsDomainClassesOK ¶
func NewGetDomainsDomainClassesOK() *GetDomainsDomainClassesOK
NewGetDomainsDomainClassesOK creates a GetDomainsDomainClassesOK with default headers values
func (*GetDomainsDomainClassesOK) Code ¶
func (o *GetDomainsDomainClassesOK) Code() int
Code gets the status code for the get domains domain classes o k response
func (*GetDomainsDomainClassesOK) Error ¶
func (o *GetDomainsDomainClassesOK) Error() string
func (*GetDomainsDomainClassesOK) GetPayload ¶
func (o *GetDomainsDomainClassesOK) GetPayload() models.Classes
func (*GetDomainsDomainClassesOK) IsClientError ¶
func (o *GetDomainsDomainClassesOK) IsClientError() bool
IsClientError returns true when this get domains domain classes o k response has a 4xx status code
func (*GetDomainsDomainClassesOK) IsCode ¶
func (o *GetDomainsDomainClassesOK) IsCode(code int) bool
IsCode returns true when this get domains domain classes o k response a status code equal to that given
func (*GetDomainsDomainClassesOK) IsRedirect ¶
func (o *GetDomainsDomainClassesOK) IsRedirect() bool
IsRedirect returns true when this get domains domain classes o k response has a 3xx status code
func (*GetDomainsDomainClassesOK) IsServerError ¶
func (o *GetDomainsDomainClassesOK) IsServerError() bool
IsServerError returns true when this get domains domain classes o k response has a 5xx status code
func (*GetDomainsDomainClassesOK) IsSuccess ¶
func (o *GetDomainsDomainClassesOK) IsSuccess() bool
IsSuccess returns true when this get domains domain classes o k response has a 2xx status code
func (*GetDomainsDomainClassesOK) String ¶
func (o *GetDomainsDomainClassesOK) String() string
type GetDomainsDomainClassesParams ¶
type GetDomainsDomainClassesParams struct {
/* Domain.
Domain name
*/
Domain string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetDomainsDomainClassesParams contains all the parameters to send to the API endpoint
for the get domains domain classes operation. Typically these are written to a http.Request.
func NewGetDomainsDomainClassesParams ¶
func NewGetDomainsDomainClassesParams() *GetDomainsDomainClassesParams
NewGetDomainsDomainClassesParams creates a new GetDomainsDomainClassesParams 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 NewGetDomainsDomainClassesParamsWithContext ¶
func NewGetDomainsDomainClassesParamsWithContext(ctx context.Context) *GetDomainsDomainClassesParams
NewGetDomainsDomainClassesParamsWithContext creates a new GetDomainsDomainClassesParams object with the ability to set a context for a request.
func NewGetDomainsDomainClassesParamsWithHTTPClient ¶
func NewGetDomainsDomainClassesParamsWithHTTPClient(client *http.Client) *GetDomainsDomainClassesParams
NewGetDomainsDomainClassesParamsWithHTTPClient creates a new GetDomainsDomainClassesParams object with the ability to set a custom HTTPClient for a request.
func NewGetDomainsDomainClassesParamsWithTimeout ¶
func NewGetDomainsDomainClassesParamsWithTimeout(timeout time.Duration) *GetDomainsDomainClassesParams
NewGetDomainsDomainClassesParamsWithTimeout creates a new GetDomainsDomainClassesParams object with the ability to set a timeout on a request.
func (*GetDomainsDomainClassesParams) SetContext ¶
func (o *GetDomainsDomainClassesParams) SetContext(ctx context.Context)
SetContext adds the context to the get domains domain classes params
func (*GetDomainsDomainClassesParams) SetDefaults ¶
func (o *GetDomainsDomainClassesParams) SetDefaults()
SetDefaults hydrates default values in the get domains domain classes params (not the query body).
All values with no default are reset to their zero value.
func (*GetDomainsDomainClassesParams) SetDomain ¶
func (o *GetDomainsDomainClassesParams) SetDomain(domain string)
SetDomain adds the domain to the get domains domain classes params
func (*GetDomainsDomainClassesParams) SetHTTPClient ¶
func (o *GetDomainsDomainClassesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get domains domain classes params
func (*GetDomainsDomainClassesParams) SetTimeout ¶
func (o *GetDomainsDomainClassesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get domains domain classes params
func (*GetDomainsDomainClassesParams) WithContext ¶
func (o *GetDomainsDomainClassesParams) WithContext(ctx context.Context) *GetDomainsDomainClassesParams
WithContext adds the context to the get domains domain classes params
func (*GetDomainsDomainClassesParams) WithDefaults ¶
func (o *GetDomainsDomainClassesParams) WithDefaults() *GetDomainsDomainClassesParams
WithDefaults hydrates default values in the get domains domain classes params (not the query body).
All values with no default are reset to their zero value.
func (*GetDomainsDomainClassesParams) WithDomain ¶
func (o *GetDomainsDomainClassesParams) WithDomain(domain string) *GetDomainsDomainClassesParams
WithDomain adds the domain to the get domains domain classes params
func (*GetDomainsDomainClassesParams) WithHTTPClient ¶
func (o *GetDomainsDomainClassesParams) WithHTTPClient(client *http.Client) *GetDomainsDomainClassesParams
WithHTTPClient adds the HTTPClient to the get domains domain classes params
func (*GetDomainsDomainClassesParams) WithTimeout ¶
func (o *GetDomainsDomainClassesParams) WithTimeout(timeout time.Duration) *GetDomainsDomainClassesParams
WithTimeout adds the timeout to the get domains domain classes params
func (*GetDomainsDomainClassesParams) WriteToRequest ¶
func (o *GetDomainsDomainClassesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDomainsDomainClassesReader ¶
type GetDomainsDomainClassesReader struct {
// contains filtered or unexported fields
}
GetDomainsDomainClassesReader is a Reader for the GetDomainsDomainClasses structure.
func (*GetDomainsDomainClassesReader) ReadResponse ¶
func (o *GetDomainsDomainClassesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDomainsOK ¶
GetDomainsOK describes a response with status code 200, with default header values.
OK
func NewGetDomainsOK ¶
func NewGetDomainsOK() *GetDomainsOK
NewGetDomainsOK creates a GetDomainsOK with default headers values
func (*GetDomainsOK) Code ¶
func (o *GetDomainsOK) Code() int
Code gets the status code for the get domains o k response
func (*GetDomainsOK) Error ¶
func (o *GetDomainsOK) Error() string
func (*GetDomainsOK) GetPayload ¶
func (o *GetDomainsOK) GetPayload() []*models.Domain
func (*GetDomainsOK) IsClientError ¶
func (o *GetDomainsOK) IsClientError() bool
IsClientError returns true when this get domains o k response has a 4xx status code
func (*GetDomainsOK) IsCode ¶
func (o *GetDomainsOK) IsCode(code int) bool
IsCode returns true when this get domains o k response a status code equal to that given
func (*GetDomainsOK) IsRedirect ¶
func (o *GetDomainsOK) IsRedirect() bool
IsRedirect returns true when this get domains o k response has a 3xx status code
func (*GetDomainsOK) IsServerError ¶
func (o *GetDomainsOK) IsServerError() bool
IsServerError returns true when this get domains o k response has a 5xx status code
func (*GetDomainsOK) IsSuccess ¶
func (o *GetDomainsOK) IsSuccess() bool
IsSuccess returns true when this get domains o k response has a 2xx status code
func (*GetDomainsOK) String ¶
func (o *GetDomainsOK) String() string
type GetDomainsParams ¶
type GetDomainsParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetDomainsParams contains all the parameters to send to the API endpoint
for the get domains operation. Typically these are written to a http.Request.
func NewGetDomainsParams ¶
func NewGetDomainsParams() *GetDomainsParams
NewGetDomainsParams creates a new GetDomainsParams 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 NewGetDomainsParamsWithContext ¶
func NewGetDomainsParamsWithContext(ctx context.Context) *GetDomainsParams
NewGetDomainsParamsWithContext creates a new GetDomainsParams object with the ability to set a context for a request.
func NewGetDomainsParamsWithHTTPClient ¶
func NewGetDomainsParamsWithHTTPClient(client *http.Client) *GetDomainsParams
NewGetDomainsParamsWithHTTPClient creates a new GetDomainsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDomainsParamsWithTimeout ¶
func NewGetDomainsParamsWithTimeout(timeout time.Duration) *GetDomainsParams
NewGetDomainsParamsWithTimeout creates a new GetDomainsParams object with the ability to set a timeout on a request.
func (*GetDomainsParams) SetContext ¶
func (o *GetDomainsParams) SetContext(ctx context.Context)
SetContext adds the context to the get domains params
func (*GetDomainsParams) SetDefaults ¶
func (o *GetDomainsParams) SetDefaults()
SetDefaults hydrates default values in the get domains params (not the query body).
All values with no default are reset to their zero value.
func (*GetDomainsParams) SetHTTPClient ¶
func (o *GetDomainsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get domains params
func (*GetDomainsParams) SetTimeout ¶
func (o *GetDomainsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get domains params
func (*GetDomainsParams) WithContext ¶
func (o *GetDomainsParams) WithContext(ctx context.Context) *GetDomainsParams
WithContext adds the context to the get domains params
func (*GetDomainsParams) WithDefaults ¶
func (o *GetDomainsParams) WithDefaults() *GetDomainsParams
WithDefaults hydrates default values in the get domains params (not the query body).
All values with no default are reset to their zero value.
func (*GetDomainsParams) WithHTTPClient ¶
func (o *GetDomainsParams) WithHTTPClient(client *http.Client) *GetDomainsParams
WithHTTPClient adds the HTTPClient to the get domains params
func (*GetDomainsParams) WithTimeout ¶
func (o *GetDomainsParams) WithTimeout(timeout time.Duration) *GetDomainsParams
WithTimeout adds the timeout to the get domains params
func (*GetDomainsParams) WriteToRequest ¶
func (o *GetDomainsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDomainsReader ¶
type GetDomainsReader struct {
// contains filtered or unexported fields
}
GetDomainsReader is a Reader for the GetDomains structure.
func (*GetDomainsReader) ReadResponse ¶
func (o *GetDomainsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostGraphsGoalsDefault ¶
type PostGraphsGoalsDefault struct {
Payload string
// contains filtered or unexported fields
}
PostGraphsGoalsDefault describes a response with status code -1, with default header values.
PostGraphsGoalsDefault post graphs goals default
func NewPostGraphsGoalsDefault ¶
func NewPostGraphsGoalsDefault(code int) *PostGraphsGoalsDefault
NewPostGraphsGoalsDefault creates a PostGraphsGoalsDefault with default headers values
func (*PostGraphsGoalsDefault) Code ¶
func (o *PostGraphsGoalsDefault) Code() int
Code gets the status code for the post graphs goals default response
func (*PostGraphsGoalsDefault) Error ¶
func (o *PostGraphsGoalsDefault) Error() string
func (*PostGraphsGoalsDefault) GetPayload ¶
func (o *PostGraphsGoalsDefault) GetPayload() string
func (*PostGraphsGoalsDefault) IsClientError ¶
func (o *PostGraphsGoalsDefault) IsClientError() bool
IsClientError returns true when this post graphs goals default response has a 4xx status code
func (*PostGraphsGoalsDefault) IsCode ¶
func (o *PostGraphsGoalsDefault) IsCode(code int) bool
IsCode returns true when this post graphs goals default response a status code equal to that given
func (*PostGraphsGoalsDefault) IsRedirect ¶
func (o *PostGraphsGoalsDefault) IsRedirect() bool
IsRedirect returns true when this post graphs goals default response has a 3xx status code
func (*PostGraphsGoalsDefault) IsServerError ¶
func (o *PostGraphsGoalsDefault) IsServerError() bool
IsServerError returns true when this post graphs goals default response has a 5xx status code
func (*PostGraphsGoalsDefault) IsSuccess ¶
func (o *PostGraphsGoalsDefault) IsSuccess() bool
IsSuccess returns true when this post graphs goals default response has a 2xx status code
func (*PostGraphsGoalsDefault) String ¶
func (o *PostGraphsGoalsDefault) String() string
type PostGraphsGoalsOK ¶
PostGraphsGoalsOK describes a response with status code 200, with default header values.
OK
func NewPostGraphsGoalsOK ¶
func NewPostGraphsGoalsOK() *PostGraphsGoalsOK
NewPostGraphsGoalsOK creates a PostGraphsGoalsOK with default headers values
func (*PostGraphsGoalsOK) Code ¶
func (o *PostGraphsGoalsOK) Code() int
Code gets the status code for the post graphs goals o k response
func (*PostGraphsGoalsOK) Error ¶
func (o *PostGraphsGoalsOK) Error() string
func (*PostGraphsGoalsOK) GetPayload ¶
func (o *PostGraphsGoalsOK) GetPayload() *models.Graph
func (*PostGraphsGoalsOK) IsClientError ¶
func (o *PostGraphsGoalsOK) IsClientError() bool
IsClientError returns true when this post graphs goals o k response has a 4xx status code
func (*PostGraphsGoalsOK) IsCode ¶
func (o *PostGraphsGoalsOK) IsCode(code int) bool
IsCode returns true when this post graphs goals o k response a status code equal to that given
func (*PostGraphsGoalsOK) IsRedirect ¶
func (o *PostGraphsGoalsOK) IsRedirect() bool
IsRedirect returns true when this post graphs goals o k response has a 3xx status code
func (*PostGraphsGoalsOK) IsServerError ¶
func (o *PostGraphsGoalsOK) IsServerError() bool
IsServerError returns true when this post graphs goals o k response has a 5xx status code
func (*PostGraphsGoalsOK) IsSuccess ¶
func (o *PostGraphsGoalsOK) IsSuccess() bool
IsSuccess returns true when this post graphs goals o k response has a 2xx status code
func (*PostGraphsGoalsOK) String ¶
func (o *PostGraphsGoalsOK) String() string
type PostGraphsGoalsParams ¶
type PostGraphsGoalsParams struct {
/* Request.
search from start to goal classes
*/
Request *models.Goals
/* Rules.
include rules in graph edges
*/
Rules *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostGraphsGoalsParams contains all the parameters to send to the API endpoint
for the post graphs goals operation. Typically these are written to a http.Request.
func NewPostGraphsGoalsParams ¶
func NewPostGraphsGoalsParams() *PostGraphsGoalsParams
NewPostGraphsGoalsParams creates a new PostGraphsGoalsParams 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 NewPostGraphsGoalsParamsWithContext ¶
func NewPostGraphsGoalsParamsWithContext(ctx context.Context) *PostGraphsGoalsParams
NewPostGraphsGoalsParamsWithContext creates a new PostGraphsGoalsParams object with the ability to set a context for a request.
func NewPostGraphsGoalsParamsWithHTTPClient ¶
func NewPostGraphsGoalsParamsWithHTTPClient(client *http.Client) *PostGraphsGoalsParams
NewPostGraphsGoalsParamsWithHTTPClient creates a new PostGraphsGoalsParams object with the ability to set a custom HTTPClient for a request.
func NewPostGraphsGoalsParamsWithTimeout ¶
func NewPostGraphsGoalsParamsWithTimeout(timeout time.Duration) *PostGraphsGoalsParams
NewPostGraphsGoalsParamsWithTimeout creates a new PostGraphsGoalsParams object with the ability to set a timeout on a request.
func (*PostGraphsGoalsParams) SetContext ¶
func (o *PostGraphsGoalsParams) SetContext(ctx context.Context)
SetContext adds the context to the post graphs goals params
func (*PostGraphsGoalsParams) SetDefaults ¶
func (o *PostGraphsGoalsParams) SetDefaults()
SetDefaults hydrates default values in the post graphs goals params (not the query body).
All values with no default are reset to their zero value.
func (*PostGraphsGoalsParams) SetHTTPClient ¶
func (o *PostGraphsGoalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post graphs goals params
func (*PostGraphsGoalsParams) SetRequest ¶
func (o *PostGraphsGoalsParams) SetRequest(request *models.Goals)
SetRequest adds the request to the post graphs goals params
func (*PostGraphsGoalsParams) SetRules ¶
func (o *PostGraphsGoalsParams) SetRules(rules *bool)
SetRules adds the rules to the post graphs goals params
func (*PostGraphsGoalsParams) SetTimeout ¶
func (o *PostGraphsGoalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post graphs goals params
func (*PostGraphsGoalsParams) WithContext ¶
func (o *PostGraphsGoalsParams) WithContext(ctx context.Context) *PostGraphsGoalsParams
WithContext adds the context to the post graphs goals params
func (*PostGraphsGoalsParams) WithDefaults ¶
func (o *PostGraphsGoalsParams) WithDefaults() *PostGraphsGoalsParams
WithDefaults hydrates default values in the post graphs goals params (not the query body).
All values with no default are reset to their zero value.
func (*PostGraphsGoalsParams) WithHTTPClient ¶
func (o *PostGraphsGoalsParams) WithHTTPClient(client *http.Client) *PostGraphsGoalsParams
WithHTTPClient adds the HTTPClient to the post graphs goals params
func (*PostGraphsGoalsParams) WithRequest ¶
func (o *PostGraphsGoalsParams) WithRequest(request *models.Goals) *PostGraphsGoalsParams
WithRequest adds the request to the post graphs goals params
func (*PostGraphsGoalsParams) WithRules ¶
func (o *PostGraphsGoalsParams) WithRules(rules *bool) *PostGraphsGoalsParams
WithRules adds the rules to the post graphs goals params
func (*PostGraphsGoalsParams) WithTimeout ¶
func (o *PostGraphsGoalsParams) WithTimeout(timeout time.Duration) *PostGraphsGoalsParams
WithTimeout adds the timeout to the post graphs goals params
func (*PostGraphsGoalsParams) WriteToRequest ¶
func (o *PostGraphsGoalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostGraphsGoalsReader ¶
type PostGraphsGoalsReader struct {
// contains filtered or unexported fields
}
PostGraphsGoalsReader is a Reader for the PostGraphsGoals structure.
func (*PostGraphsGoalsReader) ReadResponse ¶
func (o *PostGraphsGoalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostGraphsNeighboursDefault ¶
type PostGraphsNeighboursDefault struct {
Payload string
// contains filtered or unexported fields
}
PostGraphsNeighboursDefault describes a response with status code -1, with default header values.
PostGraphsNeighboursDefault post graphs neighbours default
func NewPostGraphsNeighboursDefault ¶
func NewPostGraphsNeighboursDefault(code int) *PostGraphsNeighboursDefault
NewPostGraphsNeighboursDefault creates a PostGraphsNeighboursDefault with default headers values
func (*PostGraphsNeighboursDefault) Code ¶
func (o *PostGraphsNeighboursDefault) Code() int
Code gets the status code for the post graphs neighbours default response
func (*PostGraphsNeighboursDefault) Error ¶
func (o *PostGraphsNeighboursDefault) Error() string
func (*PostGraphsNeighboursDefault) GetPayload ¶
func (o *PostGraphsNeighboursDefault) GetPayload() string
func (*PostGraphsNeighboursDefault) IsClientError ¶
func (o *PostGraphsNeighboursDefault) IsClientError() bool
IsClientError returns true when this post graphs neighbours default response has a 4xx status code
func (*PostGraphsNeighboursDefault) IsCode ¶
func (o *PostGraphsNeighboursDefault) IsCode(code int) bool
IsCode returns true when this post graphs neighbours default response a status code equal to that given
func (*PostGraphsNeighboursDefault) IsRedirect ¶
func (o *PostGraphsNeighboursDefault) IsRedirect() bool
IsRedirect returns true when this post graphs neighbours default response has a 3xx status code
func (*PostGraphsNeighboursDefault) IsServerError ¶
func (o *PostGraphsNeighboursDefault) IsServerError() bool
IsServerError returns true when this post graphs neighbours default response has a 5xx status code
func (*PostGraphsNeighboursDefault) IsSuccess ¶
func (o *PostGraphsNeighboursDefault) IsSuccess() bool
IsSuccess returns true when this post graphs neighbours default response has a 2xx status code
func (*PostGraphsNeighboursDefault) String ¶
func (o *PostGraphsNeighboursDefault) String() string
type PostGraphsNeighboursOK ¶
PostGraphsNeighboursOK describes a response with status code 200, with default header values.
OK
func NewPostGraphsNeighboursOK ¶
func NewPostGraphsNeighboursOK() *PostGraphsNeighboursOK
NewPostGraphsNeighboursOK creates a PostGraphsNeighboursOK with default headers values
func (*PostGraphsNeighboursOK) Code ¶
func (o *PostGraphsNeighboursOK) Code() int
Code gets the status code for the post graphs neighbours o k response
func (*PostGraphsNeighboursOK) Error ¶
func (o *PostGraphsNeighboursOK) Error() string
func (*PostGraphsNeighboursOK) GetPayload ¶
func (o *PostGraphsNeighboursOK) GetPayload() *models.Graph
func (*PostGraphsNeighboursOK) IsClientError ¶
func (o *PostGraphsNeighboursOK) IsClientError() bool
IsClientError returns true when this post graphs neighbours o k response has a 4xx status code
func (*PostGraphsNeighboursOK) IsCode ¶
func (o *PostGraphsNeighboursOK) IsCode(code int) bool
IsCode returns true when this post graphs neighbours o k response a status code equal to that given
func (*PostGraphsNeighboursOK) IsRedirect ¶
func (o *PostGraphsNeighboursOK) IsRedirect() bool
IsRedirect returns true when this post graphs neighbours o k response has a 3xx status code
func (*PostGraphsNeighboursOK) IsServerError ¶
func (o *PostGraphsNeighboursOK) IsServerError() bool
IsServerError returns true when this post graphs neighbours o k response has a 5xx status code
func (*PostGraphsNeighboursOK) IsSuccess ¶
func (o *PostGraphsNeighboursOK) IsSuccess() bool
IsSuccess returns true when this post graphs neighbours o k response has a 2xx status code
func (*PostGraphsNeighboursOK) String ¶
func (o *PostGraphsNeighboursOK) String() string
type PostGraphsNeighboursParams ¶
type PostGraphsNeighboursParams struct {
/* Request.
search from neighbours
*/
Request *models.Neighbours
/* Rules.
include rules in graph edges
*/
Rules *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostGraphsNeighboursParams contains all the parameters to send to the API endpoint
for the post graphs neighbours operation. Typically these are written to a http.Request.
func NewPostGraphsNeighboursParams ¶
func NewPostGraphsNeighboursParams() *PostGraphsNeighboursParams
NewPostGraphsNeighboursParams creates a new PostGraphsNeighboursParams 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 NewPostGraphsNeighboursParamsWithContext ¶
func NewPostGraphsNeighboursParamsWithContext(ctx context.Context) *PostGraphsNeighboursParams
NewPostGraphsNeighboursParamsWithContext creates a new PostGraphsNeighboursParams object with the ability to set a context for a request.
func NewPostGraphsNeighboursParamsWithHTTPClient ¶
func NewPostGraphsNeighboursParamsWithHTTPClient(client *http.Client) *PostGraphsNeighboursParams
NewPostGraphsNeighboursParamsWithHTTPClient creates a new PostGraphsNeighboursParams object with the ability to set a custom HTTPClient for a request.
func NewPostGraphsNeighboursParamsWithTimeout ¶
func NewPostGraphsNeighboursParamsWithTimeout(timeout time.Duration) *PostGraphsNeighboursParams
NewPostGraphsNeighboursParamsWithTimeout creates a new PostGraphsNeighboursParams object with the ability to set a timeout on a request.
func (*PostGraphsNeighboursParams) SetContext ¶
func (o *PostGraphsNeighboursParams) SetContext(ctx context.Context)
SetContext adds the context to the post graphs neighbours params
func (*PostGraphsNeighboursParams) SetDefaults ¶
func (o *PostGraphsNeighboursParams) SetDefaults()
SetDefaults hydrates default values in the post graphs neighbours params (not the query body).
All values with no default are reset to their zero value.
func (*PostGraphsNeighboursParams) SetHTTPClient ¶
func (o *PostGraphsNeighboursParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post graphs neighbours params
func (*PostGraphsNeighboursParams) SetRequest ¶
func (o *PostGraphsNeighboursParams) SetRequest(request *models.Neighbours)
SetRequest adds the request to the post graphs neighbours params
func (*PostGraphsNeighboursParams) SetRules ¶
func (o *PostGraphsNeighboursParams) SetRules(rules *bool)
SetRules adds the rules to the post graphs neighbours params
func (*PostGraphsNeighboursParams) SetTimeout ¶
func (o *PostGraphsNeighboursParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post graphs neighbours params
func (*PostGraphsNeighboursParams) WithContext ¶
func (o *PostGraphsNeighboursParams) WithContext(ctx context.Context) *PostGraphsNeighboursParams
WithContext adds the context to the post graphs neighbours params
func (*PostGraphsNeighboursParams) WithDefaults ¶
func (o *PostGraphsNeighboursParams) WithDefaults() *PostGraphsNeighboursParams
WithDefaults hydrates default values in the post graphs neighbours params (not the query body).
All values with no default are reset to their zero value.
func (*PostGraphsNeighboursParams) WithHTTPClient ¶
func (o *PostGraphsNeighboursParams) WithHTTPClient(client *http.Client) *PostGraphsNeighboursParams
WithHTTPClient adds the HTTPClient to the post graphs neighbours params
func (*PostGraphsNeighboursParams) WithRequest ¶
func (o *PostGraphsNeighboursParams) WithRequest(request *models.Neighbours) *PostGraphsNeighboursParams
WithRequest adds the request to the post graphs neighbours params
func (*PostGraphsNeighboursParams) WithRules ¶
func (o *PostGraphsNeighboursParams) WithRules(rules *bool) *PostGraphsNeighboursParams
WithRules adds the rules to the post graphs neighbours params
func (*PostGraphsNeighboursParams) WithTimeout ¶
func (o *PostGraphsNeighboursParams) WithTimeout(timeout time.Duration) *PostGraphsNeighboursParams
WithTimeout adds the timeout to the post graphs neighbours params
func (*PostGraphsNeighboursParams) WriteToRequest ¶
func (o *PostGraphsNeighboursParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostGraphsNeighboursReader ¶
type PostGraphsNeighboursReader struct {
// contains filtered or unexported fields
}
PostGraphsNeighboursReader is a Reader for the PostGraphsNeighbours structure.
func (*PostGraphsNeighboursReader) ReadResponse ¶
func (o *PostGraphsNeighboursReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostListsGoalsDefault ¶
type PostListsGoalsDefault struct {
Payload string
// contains filtered or unexported fields
}
PostListsGoalsDefault describes a response with status code -1, with default header values.
PostListsGoalsDefault post lists goals default
func NewPostListsGoalsDefault ¶
func NewPostListsGoalsDefault(code int) *PostListsGoalsDefault
NewPostListsGoalsDefault creates a PostListsGoalsDefault with default headers values
func (*PostListsGoalsDefault) Code ¶
func (o *PostListsGoalsDefault) Code() int
Code gets the status code for the post lists goals default response
func (*PostListsGoalsDefault) Error ¶
func (o *PostListsGoalsDefault) Error() string
func (*PostListsGoalsDefault) GetPayload ¶
func (o *PostListsGoalsDefault) GetPayload() string
func (*PostListsGoalsDefault) IsClientError ¶
func (o *PostListsGoalsDefault) IsClientError() bool
IsClientError returns true when this post lists goals default response has a 4xx status code
func (*PostListsGoalsDefault) IsCode ¶
func (o *PostListsGoalsDefault) IsCode(code int) bool
IsCode returns true when this post lists goals default response a status code equal to that given
func (*PostListsGoalsDefault) IsRedirect ¶
func (o *PostListsGoalsDefault) IsRedirect() bool
IsRedirect returns true when this post lists goals default response has a 3xx status code
func (*PostListsGoalsDefault) IsServerError ¶
func (o *PostListsGoalsDefault) IsServerError() bool
IsServerError returns true when this post lists goals default response has a 5xx status code
func (*PostListsGoalsDefault) IsSuccess ¶
func (o *PostListsGoalsDefault) IsSuccess() bool
IsSuccess returns true when this post lists goals default response has a 2xx status code
func (*PostListsGoalsDefault) String ¶
func (o *PostListsGoalsDefault) String() string
type PostListsGoalsOK ¶
PostListsGoalsOK describes a response with status code 200, with default header values.
OK
func NewPostListsGoalsOK ¶
func NewPostListsGoalsOK() *PostListsGoalsOK
NewPostListsGoalsOK creates a PostListsGoalsOK with default headers values
func (*PostListsGoalsOK) Code ¶
func (o *PostListsGoalsOK) Code() int
Code gets the status code for the post lists goals o k response
func (*PostListsGoalsOK) Error ¶
func (o *PostListsGoalsOK) Error() string
func (*PostListsGoalsOK) GetPayload ¶
func (o *PostListsGoalsOK) GetPayload() []*models.Node
func (*PostListsGoalsOK) IsClientError ¶
func (o *PostListsGoalsOK) IsClientError() bool
IsClientError returns true when this post lists goals o k response has a 4xx status code
func (*PostListsGoalsOK) IsCode ¶
func (o *PostListsGoalsOK) IsCode(code int) bool
IsCode returns true when this post lists goals o k response a status code equal to that given
func (*PostListsGoalsOK) IsRedirect ¶
func (o *PostListsGoalsOK) IsRedirect() bool
IsRedirect returns true when this post lists goals o k response has a 3xx status code
func (*PostListsGoalsOK) IsServerError ¶
func (o *PostListsGoalsOK) IsServerError() bool
IsServerError returns true when this post lists goals o k response has a 5xx status code
func (*PostListsGoalsOK) IsSuccess ¶
func (o *PostListsGoalsOK) IsSuccess() bool
IsSuccess returns true when this post lists goals o k response has a 2xx status code
func (*PostListsGoalsOK) String ¶
func (o *PostListsGoalsOK) String() string
type PostListsGoalsParams ¶
type PostListsGoalsParams struct {
/* Request.
search from start to goal classes
*/
Request *models.Goals
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostListsGoalsParams contains all the parameters to send to the API endpoint
for the post lists goals operation. Typically these are written to a http.Request.
func NewPostListsGoalsParams ¶
func NewPostListsGoalsParams() *PostListsGoalsParams
NewPostListsGoalsParams creates a new PostListsGoalsParams 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 NewPostListsGoalsParamsWithContext ¶
func NewPostListsGoalsParamsWithContext(ctx context.Context) *PostListsGoalsParams
NewPostListsGoalsParamsWithContext creates a new PostListsGoalsParams object with the ability to set a context for a request.
func NewPostListsGoalsParamsWithHTTPClient ¶
func NewPostListsGoalsParamsWithHTTPClient(client *http.Client) *PostListsGoalsParams
NewPostListsGoalsParamsWithHTTPClient creates a new PostListsGoalsParams object with the ability to set a custom HTTPClient for a request.
func NewPostListsGoalsParamsWithTimeout ¶
func NewPostListsGoalsParamsWithTimeout(timeout time.Duration) *PostListsGoalsParams
NewPostListsGoalsParamsWithTimeout creates a new PostListsGoalsParams object with the ability to set a timeout on a request.
func (*PostListsGoalsParams) SetContext ¶
func (o *PostListsGoalsParams) SetContext(ctx context.Context)
SetContext adds the context to the post lists goals params
func (*PostListsGoalsParams) SetDefaults ¶
func (o *PostListsGoalsParams) SetDefaults()
SetDefaults hydrates default values in the post lists goals params (not the query body).
All values with no default are reset to their zero value.
func (*PostListsGoalsParams) SetHTTPClient ¶
func (o *PostListsGoalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post lists goals params
func (*PostListsGoalsParams) SetRequest ¶
func (o *PostListsGoalsParams) SetRequest(request *models.Goals)
SetRequest adds the request to the post lists goals params
func (*PostListsGoalsParams) SetTimeout ¶
func (o *PostListsGoalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post lists goals params
func (*PostListsGoalsParams) WithContext ¶
func (o *PostListsGoalsParams) WithContext(ctx context.Context) *PostListsGoalsParams
WithContext adds the context to the post lists goals params
func (*PostListsGoalsParams) WithDefaults ¶
func (o *PostListsGoalsParams) WithDefaults() *PostListsGoalsParams
WithDefaults hydrates default values in the post lists goals params (not the query body).
All values with no default are reset to their zero value.
func (*PostListsGoalsParams) WithHTTPClient ¶
func (o *PostListsGoalsParams) WithHTTPClient(client *http.Client) *PostListsGoalsParams
WithHTTPClient adds the HTTPClient to the post lists goals params
func (*PostListsGoalsParams) WithRequest ¶
func (o *PostListsGoalsParams) WithRequest(request *models.Goals) *PostListsGoalsParams
WithRequest adds the request to the post lists goals params
func (*PostListsGoalsParams) WithTimeout ¶
func (o *PostListsGoalsParams) WithTimeout(timeout time.Duration) *PostListsGoalsParams
WithTimeout adds the timeout to the post lists goals params
func (*PostListsGoalsParams) WriteToRequest ¶
func (o *PostListsGoalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostListsGoalsReader ¶
type PostListsGoalsReader struct {
// contains filtered or unexported fields
}
PostListsGoalsReader is a Reader for the PostListsGoals structure.
func (*PostListsGoalsReader) ReadResponse ¶
func (o *PostListsGoalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- get_domains_domain_classes_parameters.go
- get_domains_domain_classes_responses.go
- get_domains_parameters.go
- get_domains_responses.go
- operations_client.go
- post_graphs_goals_parameters.go
- post_graphs_goals_responses.go
- post_graphs_neighbours_parameters.go
- post_graphs_neighbours_responses.go
- post_lists_goals_parameters.go
- post_lists_goals_responses.go