scanner

package
v0.0.0-...-b0d199b Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for scanner API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new scanner API client.

func (*Client) GetScannerParams

func (a *Client) GetScannerParams(params *GetScannerParamsParams) (*GetScannerParamsOK, error)

GetScannerParams gets lists of available scanners

Returns an object contains four lists contain all parameters for scanners

func (*Client) PostScannerRun

func (a *Client) PostScannerRun(params *PostScannerRunParams) (*PostScannerRunOK, error)

PostScannerRun runs scanner to get a list of contracts

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type FilterListItems0

type FilterListItems0 struct {

	// code
	Code string `json:"code,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// group
	Group string `json:"group,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

FilterListItems0 filter list items0 swagger:model FilterListItems0

func (*FilterListItems0) MarshalBinary

func (o *FilterListItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FilterListItems0) UnmarshalBinary

func (o *FilterListItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FilterListItems0) Validate

func (o *FilterListItems0) Validate(formats strfmt.Registry) error

Validate validates this filter list items0

type GetScannerParamsOK

type GetScannerParamsOK struct {
	Payload *GetScannerParamsOKBody
}

GetScannerParamsOK handles this case with default header values.

An object contains lists

func NewGetScannerParamsOK

func NewGetScannerParamsOK() *GetScannerParamsOK

NewGetScannerParamsOK creates a GetScannerParamsOK with default headers values

func (*GetScannerParamsOK) Error

func (o *GetScannerParamsOK) Error() string

func (*GetScannerParamsOK) GetPayload

func (o *GetScannerParamsOK) GetPayload() *GetScannerParamsOKBody

type GetScannerParamsOKBody

type GetScannerParamsOKBody struct {

	// filter list
	FilterList []*FilterListItems0 `json:"filter_list"`

	// instrument list
	InstrumentList []*InstrumentListItems0 `json:"instrument_list"`

	// location tree
	LocationTree []*LocationTreeItems0 `json:"location_tree"`

	// scan type list
	ScanTypeList []*ScanTypeListItems0 `json:"scan_type_list"`
}

GetScannerParamsOKBody get iserver scanner params o k body swagger:model GetScannerParamsOKBody

func (*GetScannerParamsOKBody) MarshalBinary

func (o *GetScannerParamsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetScannerParamsOKBody) UnmarshalBinary

func (o *GetScannerParamsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetScannerParamsOKBody) Validate

func (o *GetScannerParamsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get iserver scanner params o k body

type GetScannerParamsParams

type GetScannerParamsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetScannerParamsParams contains all the parameters to send to the API endpoint for the get iserver scanner params operation typically these are written to a http.Request

func NewGetScannerParamsParams

func NewGetScannerParamsParams() *GetScannerParamsParams

NewGetScannerParamsParams creates a new GetScannerParamsParams object with the default values initialized.

func NewGetScannerParamsParamsWithContext

func NewGetScannerParamsParamsWithContext(ctx context.Context) *GetScannerParamsParams

NewGetScannerParamsParamsWithContext creates a new GetScannerParamsParams object with the default values initialized, and the ability to set a context for a request

func NewGetScannerParamsParamsWithHTTPClient

func NewGetScannerParamsParamsWithHTTPClient(client *http.Client) *GetScannerParamsParams

NewGetScannerParamsParamsWithHTTPClient creates a new GetScannerParamsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetScannerParamsParamsWithTimeout

func NewGetScannerParamsParamsWithTimeout(timeout time.Duration) *GetScannerParamsParams

NewGetScannerParamsParamsWithTimeout creates a new GetScannerParamsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetScannerParamsParams) SetContext

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

SetContext adds the context to the get iserver scanner params params

func (*GetScannerParamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get iserver scanner params params

func (*GetScannerParamsParams) SetTimeout

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

SetTimeout adds the timeout to the get iserver scanner params params

func (*GetScannerParamsParams) WithContext

WithContext adds the context to the get iserver scanner params params

func (*GetScannerParamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get iserver scanner params params

func (*GetScannerParamsParams) WithTimeout

WithTimeout adds the timeout to the get iserver scanner params params

func (*GetScannerParamsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetScannerParamsReader

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

GetScannerParamsReader is a Reader for the GetScannerParams structure.

func (*GetScannerParamsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InstrumentListItems0

type InstrumentListItems0 struct {

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// filters
	Filters []string `json:"filters"`

	// type
	Type string `json:"type,omitempty"`
}

InstrumentListItems0 instrument list items0 swagger:model InstrumentListItems0

func (*InstrumentListItems0) MarshalBinary

func (o *InstrumentListItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstrumentListItems0) UnmarshalBinary

func (o *InstrumentListItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstrumentListItems0) Validate

func (o *InstrumentListItems0) Validate(formats strfmt.Registry) error

Validate validates this instrument list items0

type LocationTreeItems0

type LocationTreeItems0 struct {

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// locations
	Locations []*LocationTreeItems0LocationsItems0 `json:"locations"`

	// type
	Type string `json:"type,omitempty"`
}

LocationTreeItems0 location tree items0 swagger:model LocationTreeItems0

func (*LocationTreeItems0) MarshalBinary

func (o *LocationTreeItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LocationTreeItems0) UnmarshalBinary

func (o *LocationTreeItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LocationTreeItems0) Validate

func (o *LocationTreeItems0) Validate(formats strfmt.Registry) error

Validate validates this location tree items0

type LocationTreeItems0LocationsItems0

type LocationTreeItems0LocationsItems0 struct {

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

LocationTreeItems0LocationsItems0 location tree items0 locations items0 swagger:model LocationTreeItems0LocationsItems0

func (*LocationTreeItems0LocationsItems0) MarshalBinary

func (o *LocationTreeItems0LocationsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LocationTreeItems0LocationsItems0) UnmarshalBinary

func (o *LocationTreeItems0LocationsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LocationTreeItems0LocationsItems0) Validate

Validate validates this location tree items0 locations items0

type PostScannerRunOK

type PostScannerRunOK struct {
	Payload []*PostScannerRunOKBodyItems0
}

PostScannerRunOK handles this case with default header values.

returns an array

func NewPostScannerRunOK

func NewPostScannerRunOK() *PostScannerRunOK

NewPostScannerRunOK creates a PostScannerRunOK with default headers values

func (*PostScannerRunOK) Error

func (o *PostScannerRunOK) Error() string

func (*PostScannerRunOK) GetPayload

func (o *PostScannerRunOK) GetPayload() []*PostScannerRunOKBodyItems0

type PostScannerRunOKBodyItems0

type PostScannerRunOKBodyItems0 struct {

	// available chart periods
	AvailableChartPeriods string `json:"available_chart_periods,omitempty"`

	// column name
	ColumnName string `json:"column_name,omitempty"`

	// company name
	CompanyName string `json:"company_name,omitempty"`

	// con id
	ConID float64 `json:"con_id,omitempty"`

	// conidex
	Conidex string `json:"conidex,omitempty"`

	// contract description 1
	ContractDescription1 string `json:"contract_description_1,omitempty"`

	// listing exchange
	ListingExchange string `json:"listing_exchange,omitempty"`

	// sec type
	SecType string `json:"sec_type,omitempty"`

	// server id
	ServerID string `json:"server_id,omitempty"`

	// symbol
	Symbol string `json:"symbol,omitempty"`
}

PostScannerRunOKBodyItems0 post iserver scanner run o k body items0 swagger:model PostScannerRunOKBodyItems0

func (*PostScannerRunOKBodyItems0) MarshalBinary

func (o *PostScannerRunOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostScannerRunOKBodyItems0) UnmarshalBinary

func (o *PostScannerRunOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostScannerRunOKBodyItems0) Validate

func (o *PostScannerRunOKBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this post iserver scanner run o k body items0

type PostScannerRunParams

type PostScannerRunParams struct {

	/*Body
	  modify-order request

	*/
	Body *models.ScannerParams

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

PostScannerRunParams contains all the parameters to send to the API endpoint for the post iserver scanner run operation typically these are written to a http.Request

func NewPostScannerRunParams

func NewPostScannerRunParams() *PostScannerRunParams

NewPostScannerRunParams creates a new PostScannerRunParams object with the default values initialized.

func NewPostScannerRunParamsWithContext

func NewPostScannerRunParamsWithContext(ctx context.Context) *PostScannerRunParams

NewPostScannerRunParamsWithContext creates a new PostScannerRunParams object with the default values initialized, and the ability to set a context for a request

func NewPostScannerRunParamsWithHTTPClient

func NewPostScannerRunParamsWithHTTPClient(client *http.Client) *PostScannerRunParams

NewPostScannerRunParamsWithHTTPClient creates a new PostScannerRunParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostScannerRunParamsWithTimeout

func NewPostScannerRunParamsWithTimeout(timeout time.Duration) *PostScannerRunParams

NewPostScannerRunParamsWithTimeout creates a new PostScannerRunParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostScannerRunParams) SetBody

func (o *PostScannerRunParams) SetBody(body *models.ScannerParams)

SetBody adds the body to the post iserver scanner run params

func (*PostScannerRunParams) SetContext

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

SetContext adds the context to the post iserver scanner run params

func (*PostScannerRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post iserver scanner run params

func (*PostScannerRunParams) SetTimeout

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

SetTimeout adds the timeout to the post iserver scanner run params

func (*PostScannerRunParams) WithBody

WithBody adds the body to the post iserver scanner run params

func (*PostScannerRunParams) WithContext

WithContext adds the context to the post iserver scanner run params

func (*PostScannerRunParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post iserver scanner run params

func (*PostScannerRunParams) WithTimeout

func (o *PostScannerRunParams) WithTimeout(timeout time.Duration) *PostScannerRunParams

WithTimeout adds the timeout to the post iserver scanner run params

func (*PostScannerRunParams) WriteToRequest

func (o *PostScannerRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostScannerRunReader

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

PostScannerRunReader is a Reader for the PostScannerRun structure.

func (*PostScannerRunReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScanTypeListItems0

type ScanTypeListItems0 struct {

	// code
	Code string `json:"code,omitempty"`

	// display name
	DisplayName string `json:"display_name,omitempty"`

	// instruments
	Instruments []string `json:"instruments"`
}

ScanTypeListItems0 scan type list items0 swagger:model ScanTypeListItems0

func (*ScanTypeListItems0) MarshalBinary

func (o *ScanTypeListItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScanTypeListItems0) UnmarshalBinary

func (o *ScanTypeListItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScanTypeListItems0) Validate

func (o *ScanTypeListItems0) Validate(formats strfmt.Registry) error

Validate validates this scan type list items0

Jump to

Keyboard shortcuts

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