Documentation ¶
Index ¶
- type Client
- func (a *Client) CompanyDivisionsGetDivisions(params *CompanyDivisionsGetDivisionsParams, ...) (*CompanyDivisionsGetDivisionsOK, error)
- func (a *Client) CompanyGet(params *CompanyGetParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyGetOK, error)
- func (a *Client) CompanyPut(params *CompanyPutParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyPutOK, error)
- func (a *Client) CompanyWithLoginAccessGetWithLoginAccess(params *CompanyWithLoginAccessGetWithLoginAccessParams, ...) (*CompanyWithLoginAccessGetWithLoginAccessOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CompanyDivisionsGetDivisionsOK
- type CompanyDivisionsGetDivisionsParams
- func NewCompanyDivisionsGetDivisionsParams() *CompanyDivisionsGetDivisionsParams
- func NewCompanyDivisionsGetDivisionsParamsWithContext(ctx context.Context) *CompanyDivisionsGetDivisionsParams
- func NewCompanyDivisionsGetDivisionsParamsWithHTTPClient(client *http.Client) *CompanyDivisionsGetDivisionsParams
- func NewCompanyDivisionsGetDivisionsParamsWithTimeout(timeout time.Duration) *CompanyDivisionsGetDivisionsParams
- func (o *CompanyDivisionsGetDivisionsParams) SetContext(ctx context.Context)
- func (o *CompanyDivisionsGetDivisionsParams) SetCount(count *int64)
- func (o *CompanyDivisionsGetDivisionsParams) SetFields(fields *string)
- func (o *CompanyDivisionsGetDivisionsParams) SetFrom(from *int64)
- func (o *CompanyDivisionsGetDivisionsParams) SetHTTPClient(client *http.Client)
- func (o *CompanyDivisionsGetDivisionsParams) SetSorting(sorting *string)
- func (o *CompanyDivisionsGetDivisionsParams) SetTimeout(timeout time.Duration)
- func (o *CompanyDivisionsGetDivisionsParams) WithContext(ctx context.Context) *CompanyDivisionsGetDivisionsParams
- func (o *CompanyDivisionsGetDivisionsParams) WithCount(count *int64) *CompanyDivisionsGetDivisionsParams
- func (o *CompanyDivisionsGetDivisionsParams) WithFields(fields *string) *CompanyDivisionsGetDivisionsParams
- func (o *CompanyDivisionsGetDivisionsParams) WithFrom(from *int64) *CompanyDivisionsGetDivisionsParams
- func (o *CompanyDivisionsGetDivisionsParams) WithHTTPClient(client *http.Client) *CompanyDivisionsGetDivisionsParams
- func (o *CompanyDivisionsGetDivisionsParams) WithSorting(sorting *string) *CompanyDivisionsGetDivisionsParams
- func (o *CompanyDivisionsGetDivisionsParams) WithTimeout(timeout time.Duration) *CompanyDivisionsGetDivisionsParams
- func (o *CompanyDivisionsGetDivisionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompanyDivisionsGetDivisionsReader
- type CompanyGetOK
- type CompanyGetParams
- func (o *CompanyGetParams) SetContext(ctx context.Context)
- func (o *CompanyGetParams) SetFields(fields *string)
- func (o *CompanyGetParams) SetHTTPClient(client *http.Client)
- func (o *CompanyGetParams) SetID(id int32)
- func (o *CompanyGetParams) SetTimeout(timeout time.Duration)
- func (o *CompanyGetParams) WithContext(ctx context.Context) *CompanyGetParams
- func (o *CompanyGetParams) WithFields(fields *string) *CompanyGetParams
- func (o *CompanyGetParams) WithHTTPClient(client *http.Client) *CompanyGetParams
- func (o *CompanyGetParams) WithID(id int32) *CompanyGetParams
- func (o *CompanyGetParams) WithTimeout(timeout time.Duration) *CompanyGetParams
- func (o *CompanyGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompanyGetReader
- type CompanyPutOK
- type CompanyPutParams
- func (o *CompanyPutParams) SetBody(body *models.Company)
- func (o *CompanyPutParams) SetContext(ctx context.Context)
- func (o *CompanyPutParams) SetHTTPClient(client *http.Client)
- func (o *CompanyPutParams) SetTimeout(timeout time.Duration)
- func (o *CompanyPutParams) WithBody(body *models.Company) *CompanyPutParams
- func (o *CompanyPutParams) WithContext(ctx context.Context) *CompanyPutParams
- func (o *CompanyPutParams) WithHTTPClient(client *http.Client) *CompanyPutParams
- func (o *CompanyPutParams) WithTimeout(timeout time.Duration) *CompanyPutParams
- func (o *CompanyPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompanyPutReader
- type CompanyWithLoginAccessGetWithLoginAccessOK
- type CompanyWithLoginAccessGetWithLoginAccessParams
- func NewCompanyWithLoginAccessGetWithLoginAccessParams() *CompanyWithLoginAccessGetWithLoginAccessParams
- func NewCompanyWithLoginAccessGetWithLoginAccessParamsWithContext(ctx context.Context) *CompanyWithLoginAccessGetWithLoginAccessParams
- func NewCompanyWithLoginAccessGetWithLoginAccessParamsWithHTTPClient(client *http.Client) *CompanyWithLoginAccessGetWithLoginAccessParams
- func NewCompanyWithLoginAccessGetWithLoginAccessParamsWithTimeout(timeout time.Duration) *CompanyWithLoginAccessGetWithLoginAccessParams
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetContext(ctx context.Context)
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetCount(count *int64)
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetFields(fields *string)
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetFrom(from *int64)
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetHTTPClient(client *http.Client)
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetSorting(sorting *string)
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetTimeout(timeout time.Duration)
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithContext(ctx context.Context) *CompanyWithLoginAccessGetWithLoginAccessParams
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithCount(count *int64) *CompanyWithLoginAccessGetWithLoginAccessParams
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithFields(fields *string) *CompanyWithLoginAccessGetWithLoginAccessParams
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithFrom(from *int64) *CompanyWithLoginAccessGetWithLoginAccessParams
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithHTTPClient(client *http.Client) *CompanyWithLoginAccessGetWithLoginAccessParams
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithSorting(sorting *string) *CompanyWithLoginAccessGetWithLoginAccessParams
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithTimeout(timeout time.Duration) *CompanyWithLoginAccessGetWithLoginAccessParams
- func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompanyWithLoginAccessGetWithLoginAccessReader
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 company API
func (*Client) CompanyDivisionsGetDivisions ¶
func (a *Client) CompanyDivisionsGetDivisions(params *CompanyDivisionsGetDivisionsParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyDivisionsGetDivisionsOK, error)
CompanyDivisionsGetDivisions ds e p r e c a t e d find divisions
func (*Client) CompanyGet ¶
func (a *Client) CompanyGet(params *CompanyGetParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyGetOK, error)
CompanyGet finds company by ID
func (*Client) CompanyPut ¶
func (a *Client) CompanyPut(params *CompanyPutParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyPutOK, error)
CompanyPut updates company information
func (*Client) CompanyWithLoginAccessGetWithLoginAccess ¶
func (a *Client) CompanyWithLoginAccessGetWithLoginAccess(params *CompanyWithLoginAccessGetWithLoginAccessParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyWithLoginAccessGetWithLoginAccessOK, error)
CompanyWithLoginAccessGetWithLoginAccess returns client customers with accountant auditor relation where the current user has login access proxy login
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CompanyDivisionsGetDivisions(params *CompanyDivisionsGetDivisionsParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyDivisionsGetDivisionsOK, error) CompanyWithLoginAccessGetWithLoginAccess(params *CompanyWithLoginAccessGetWithLoginAccessParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyWithLoginAccessGetWithLoginAccessOK, error) CompanyGet(params *CompanyGetParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyGetOK, error) CompanyPut(params *CompanyPutParams, authInfo runtime.ClientAuthInfoWriter) (*CompanyPutOK, 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 company API client.
type CompanyDivisionsGetDivisionsOK ¶
type CompanyDivisionsGetDivisionsOK struct {
Payload *models.ListResponseCompany
}
CompanyDivisionsGetDivisionsOK handles this case with default header values.
successful operation
func NewCompanyDivisionsGetDivisionsOK ¶
func NewCompanyDivisionsGetDivisionsOK() *CompanyDivisionsGetDivisionsOK
NewCompanyDivisionsGetDivisionsOK creates a CompanyDivisionsGetDivisionsOK with default headers values
func (*CompanyDivisionsGetDivisionsOK) Error ¶
func (o *CompanyDivisionsGetDivisionsOK) Error() string
func (*CompanyDivisionsGetDivisionsOK) GetPayload ¶
func (o *CompanyDivisionsGetDivisionsOK) GetPayload() *models.ListResponseCompany
type CompanyDivisionsGetDivisionsParams ¶
type CompanyDivisionsGetDivisionsParams struct { /*Count Number of elements to return */ Count *int64 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CompanyDivisionsGetDivisionsParams contains all the parameters to send to the API endpoint for the company divisions get divisions operation typically these are written to a http.Request
func NewCompanyDivisionsGetDivisionsParams ¶
func NewCompanyDivisionsGetDivisionsParams() *CompanyDivisionsGetDivisionsParams
NewCompanyDivisionsGetDivisionsParams creates a new CompanyDivisionsGetDivisionsParams object with the default values initialized.
func NewCompanyDivisionsGetDivisionsParamsWithContext ¶
func NewCompanyDivisionsGetDivisionsParamsWithContext(ctx context.Context) *CompanyDivisionsGetDivisionsParams
NewCompanyDivisionsGetDivisionsParamsWithContext creates a new CompanyDivisionsGetDivisionsParams object with the default values initialized, and the ability to set a context for a request
func NewCompanyDivisionsGetDivisionsParamsWithHTTPClient ¶
func NewCompanyDivisionsGetDivisionsParamsWithHTTPClient(client *http.Client) *CompanyDivisionsGetDivisionsParams
NewCompanyDivisionsGetDivisionsParamsWithHTTPClient creates a new CompanyDivisionsGetDivisionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCompanyDivisionsGetDivisionsParamsWithTimeout ¶
func NewCompanyDivisionsGetDivisionsParamsWithTimeout(timeout time.Duration) *CompanyDivisionsGetDivisionsParams
NewCompanyDivisionsGetDivisionsParamsWithTimeout creates a new CompanyDivisionsGetDivisionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*CompanyDivisionsGetDivisionsParams) SetContext ¶
func (o *CompanyDivisionsGetDivisionsParams) SetContext(ctx context.Context)
SetContext adds the context to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) SetCount ¶
func (o *CompanyDivisionsGetDivisionsParams) SetCount(count *int64)
SetCount adds the count to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) SetFields ¶
func (o *CompanyDivisionsGetDivisionsParams) SetFields(fields *string)
SetFields adds the fields to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) SetFrom ¶
func (o *CompanyDivisionsGetDivisionsParams) SetFrom(from *int64)
SetFrom adds the from to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) SetHTTPClient ¶
func (o *CompanyDivisionsGetDivisionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) SetSorting ¶
func (o *CompanyDivisionsGetDivisionsParams) SetSorting(sorting *string)
SetSorting adds the sorting to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) SetTimeout ¶
func (o *CompanyDivisionsGetDivisionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) WithContext ¶
func (o *CompanyDivisionsGetDivisionsParams) WithContext(ctx context.Context) *CompanyDivisionsGetDivisionsParams
WithContext adds the context to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) WithCount ¶
func (o *CompanyDivisionsGetDivisionsParams) WithCount(count *int64) *CompanyDivisionsGetDivisionsParams
WithCount adds the count to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) WithFields ¶
func (o *CompanyDivisionsGetDivisionsParams) WithFields(fields *string) *CompanyDivisionsGetDivisionsParams
WithFields adds the fields to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) WithFrom ¶
func (o *CompanyDivisionsGetDivisionsParams) WithFrom(from *int64) *CompanyDivisionsGetDivisionsParams
WithFrom adds the from to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) WithHTTPClient ¶
func (o *CompanyDivisionsGetDivisionsParams) WithHTTPClient(client *http.Client) *CompanyDivisionsGetDivisionsParams
WithHTTPClient adds the HTTPClient to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) WithSorting ¶
func (o *CompanyDivisionsGetDivisionsParams) WithSorting(sorting *string) *CompanyDivisionsGetDivisionsParams
WithSorting adds the sorting to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) WithTimeout ¶
func (o *CompanyDivisionsGetDivisionsParams) WithTimeout(timeout time.Duration) *CompanyDivisionsGetDivisionsParams
WithTimeout adds the timeout to the company divisions get divisions params
func (*CompanyDivisionsGetDivisionsParams) WriteToRequest ¶
func (o *CompanyDivisionsGetDivisionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompanyDivisionsGetDivisionsReader ¶
type CompanyDivisionsGetDivisionsReader struct {
// contains filtered or unexported fields
}
CompanyDivisionsGetDivisionsReader is a Reader for the CompanyDivisionsGetDivisions structure.
func (*CompanyDivisionsGetDivisionsReader) ReadResponse ¶
func (o *CompanyDivisionsGetDivisionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CompanyGetOK ¶
type CompanyGetOK struct {
Payload *models.ResponseWrapperCompany
}
CompanyGetOK handles this case with default header values.
successful operation
func NewCompanyGetOK ¶
func NewCompanyGetOK() *CompanyGetOK
NewCompanyGetOK creates a CompanyGetOK with default headers values
func (*CompanyGetOK) Error ¶
func (o *CompanyGetOK) Error() string
func (*CompanyGetOK) GetPayload ¶
func (o *CompanyGetOK) GetPayload() *models.ResponseWrapperCompany
type CompanyGetParams ¶
type CompanyGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CompanyGetParams contains all the parameters to send to the API endpoint for the company get operation typically these are written to a http.Request
func NewCompanyGetParams ¶
func NewCompanyGetParams() *CompanyGetParams
NewCompanyGetParams creates a new CompanyGetParams object with the default values initialized.
func NewCompanyGetParamsWithContext ¶
func NewCompanyGetParamsWithContext(ctx context.Context) *CompanyGetParams
NewCompanyGetParamsWithContext creates a new CompanyGetParams object with the default values initialized, and the ability to set a context for a request
func NewCompanyGetParamsWithHTTPClient ¶
func NewCompanyGetParamsWithHTTPClient(client *http.Client) *CompanyGetParams
NewCompanyGetParamsWithHTTPClient creates a new CompanyGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCompanyGetParamsWithTimeout ¶
func NewCompanyGetParamsWithTimeout(timeout time.Duration) *CompanyGetParams
NewCompanyGetParamsWithTimeout creates a new CompanyGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*CompanyGetParams) SetContext ¶
func (o *CompanyGetParams) SetContext(ctx context.Context)
SetContext adds the context to the company get params
func (*CompanyGetParams) SetFields ¶
func (o *CompanyGetParams) SetFields(fields *string)
SetFields adds the fields to the company get params
func (*CompanyGetParams) SetHTTPClient ¶
func (o *CompanyGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the company get params
func (*CompanyGetParams) SetID ¶
func (o *CompanyGetParams) SetID(id int32)
SetID adds the id to the company get params
func (*CompanyGetParams) SetTimeout ¶
func (o *CompanyGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the company get params
func (*CompanyGetParams) WithContext ¶
func (o *CompanyGetParams) WithContext(ctx context.Context) *CompanyGetParams
WithContext adds the context to the company get params
func (*CompanyGetParams) WithFields ¶
func (o *CompanyGetParams) WithFields(fields *string) *CompanyGetParams
WithFields adds the fields to the company get params
func (*CompanyGetParams) WithHTTPClient ¶
func (o *CompanyGetParams) WithHTTPClient(client *http.Client) *CompanyGetParams
WithHTTPClient adds the HTTPClient to the company get params
func (*CompanyGetParams) WithID ¶
func (o *CompanyGetParams) WithID(id int32) *CompanyGetParams
WithID adds the id to the company get params
func (*CompanyGetParams) WithTimeout ¶
func (o *CompanyGetParams) WithTimeout(timeout time.Duration) *CompanyGetParams
WithTimeout adds the timeout to the company get params
func (*CompanyGetParams) WriteToRequest ¶
func (o *CompanyGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompanyGetReader ¶
type CompanyGetReader struct {
// contains filtered or unexported fields
}
CompanyGetReader is a Reader for the CompanyGet structure.
func (*CompanyGetReader) ReadResponse ¶
func (o *CompanyGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CompanyPutOK ¶
type CompanyPutOK struct {
Payload *models.ResponseWrapperCompany
}
CompanyPutOK handles this case with default header values.
successful operation
func NewCompanyPutOK ¶
func NewCompanyPutOK() *CompanyPutOK
NewCompanyPutOK creates a CompanyPutOK with default headers values
func (*CompanyPutOK) Error ¶
func (o *CompanyPutOK) Error() string
func (*CompanyPutOK) GetPayload ¶
func (o *CompanyPutOK) GetPayload() *models.ResponseWrapperCompany
type CompanyPutParams ¶
type CompanyPutParams struct { /*Body Partial object describing what should be updated */ Body *models.Company Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CompanyPutParams contains all the parameters to send to the API endpoint for the company put operation typically these are written to a http.Request
func NewCompanyPutParams ¶
func NewCompanyPutParams() *CompanyPutParams
NewCompanyPutParams creates a new CompanyPutParams object with the default values initialized.
func NewCompanyPutParamsWithContext ¶
func NewCompanyPutParamsWithContext(ctx context.Context) *CompanyPutParams
NewCompanyPutParamsWithContext creates a new CompanyPutParams object with the default values initialized, and the ability to set a context for a request
func NewCompanyPutParamsWithHTTPClient ¶
func NewCompanyPutParamsWithHTTPClient(client *http.Client) *CompanyPutParams
NewCompanyPutParamsWithHTTPClient creates a new CompanyPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCompanyPutParamsWithTimeout ¶
func NewCompanyPutParamsWithTimeout(timeout time.Duration) *CompanyPutParams
NewCompanyPutParamsWithTimeout creates a new CompanyPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*CompanyPutParams) SetBody ¶
func (o *CompanyPutParams) SetBody(body *models.Company)
SetBody adds the body to the company put params
func (*CompanyPutParams) SetContext ¶
func (o *CompanyPutParams) SetContext(ctx context.Context)
SetContext adds the context to the company put params
func (*CompanyPutParams) SetHTTPClient ¶
func (o *CompanyPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the company put params
func (*CompanyPutParams) SetTimeout ¶
func (o *CompanyPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the company put params
func (*CompanyPutParams) WithBody ¶
func (o *CompanyPutParams) WithBody(body *models.Company) *CompanyPutParams
WithBody adds the body to the company put params
func (*CompanyPutParams) WithContext ¶
func (o *CompanyPutParams) WithContext(ctx context.Context) *CompanyPutParams
WithContext adds the context to the company put params
func (*CompanyPutParams) WithHTTPClient ¶
func (o *CompanyPutParams) WithHTTPClient(client *http.Client) *CompanyPutParams
WithHTTPClient adds the HTTPClient to the company put params
func (*CompanyPutParams) WithTimeout ¶
func (o *CompanyPutParams) WithTimeout(timeout time.Duration) *CompanyPutParams
WithTimeout adds the timeout to the company put params
func (*CompanyPutParams) WriteToRequest ¶
func (o *CompanyPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompanyPutReader ¶
type CompanyPutReader struct {
// contains filtered or unexported fields
}
CompanyPutReader is a Reader for the CompanyPut structure.
func (*CompanyPutReader) ReadResponse ¶
func (o *CompanyPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CompanyWithLoginAccessGetWithLoginAccessOK ¶
type CompanyWithLoginAccessGetWithLoginAccessOK struct {
Payload *models.ListResponseCompany
}
CompanyWithLoginAccessGetWithLoginAccessOK handles this case with default header values.
successful operation
func NewCompanyWithLoginAccessGetWithLoginAccessOK ¶
func NewCompanyWithLoginAccessGetWithLoginAccessOK() *CompanyWithLoginAccessGetWithLoginAccessOK
NewCompanyWithLoginAccessGetWithLoginAccessOK creates a CompanyWithLoginAccessGetWithLoginAccessOK with default headers values
func (*CompanyWithLoginAccessGetWithLoginAccessOK) Error ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessOK) Error() string
func (*CompanyWithLoginAccessGetWithLoginAccessOK) GetPayload ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessOK) GetPayload() *models.ListResponseCompany
type CompanyWithLoginAccessGetWithLoginAccessParams ¶
type CompanyWithLoginAccessGetWithLoginAccessParams struct { /*Count Number of elements to return */ Count *int64 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CompanyWithLoginAccessGetWithLoginAccessParams contains all the parameters to send to the API endpoint for the company with login access get with login access operation typically these are written to a http.Request
func NewCompanyWithLoginAccessGetWithLoginAccessParams ¶
func NewCompanyWithLoginAccessGetWithLoginAccessParams() *CompanyWithLoginAccessGetWithLoginAccessParams
NewCompanyWithLoginAccessGetWithLoginAccessParams creates a new CompanyWithLoginAccessGetWithLoginAccessParams object with the default values initialized.
func NewCompanyWithLoginAccessGetWithLoginAccessParamsWithContext ¶
func NewCompanyWithLoginAccessGetWithLoginAccessParamsWithContext(ctx context.Context) *CompanyWithLoginAccessGetWithLoginAccessParams
NewCompanyWithLoginAccessGetWithLoginAccessParamsWithContext creates a new CompanyWithLoginAccessGetWithLoginAccessParams object with the default values initialized, and the ability to set a context for a request
func NewCompanyWithLoginAccessGetWithLoginAccessParamsWithHTTPClient ¶
func NewCompanyWithLoginAccessGetWithLoginAccessParamsWithHTTPClient(client *http.Client) *CompanyWithLoginAccessGetWithLoginAccessParams
NewCompanyWithLoginAccessGetWithLoginAccessParamsWithHTTPClient creates a new CompanyWithLoginAccessGetWithLoginAccessParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCompanyWithLoginAccessGetWithLoginAccessParamsWithTimeout ¶
func NewCompanyWithLoginAccessGetWithLoginAccessParamsWithTimeout(timeout time.Duration) *CompanyWithLoginAccessGetWithLoginAccessParams
NewCompanyWithLoginAccessGetWithLoginAccessParamsWithTimeout creates a new CompanyWithLoginAccessGetWithLoginAccessParams object with the default values initialized, and the ability to set a timeout on a request
func (*CompanyWithLoginAccessGetWithLoginAccessParams) SetContext ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetContext(ctx context.Context)
SetContext adds the context to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) SetCount ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetCount(count *int64)
SetCount adds the count to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) SetFields ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetFields(fields *string)
SetFields adds the fields to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) SetFrom ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetFrom(from *int64)
SetFrom adds the from to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) SetHTTPClient ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) SetSorting ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetSorting(sorting *string)
SetSorting adds the sorting to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) SetTimeout ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) WithContext ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithContext(ctx context.Context) *CompanyWithLoginAccessGetWithLoginAccessParams
WithContext adds the context to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) WithCount ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithCount(count *int64) *CompanyWithLoginAccessGetWithLoginAccessParams
WithCount adds the count to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) WithFields ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithFields(fields *string) *CompanyWithLoginAccessGetWithLoginAccessParams
WithFields adds the fields to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) WithFrom ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithFrom(from *int64) *CompanyWithLoginAccessGetWithLoginAccessParams
WithFrom adds the from to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) WithHTTPClient ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithHTTPClient(client *http.Client) *CompanyWithLoginAccessGetWithLoginAccessParams
WithHTTPClient adds the HTTPClient to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) WithSorting ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithSorting(sorting *string) *CompanyWithLoginAccessGetWithLoginAccessParams
WithSorting adds the sorting to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) WithTimeout ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WithTimeout(timeout time.Duration) *CompanyWithLoginAccessGetWithLoginAccessParams
WithTimeout adds the timeout to the company with login access get with login access params
func (*CompanyWithLoginAccessGetWithLoginAccessParams) WriteToRequest ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompanyWithLoginAccessGetWithLoginAccessReader ¶
type CompanyWithLoginAccessGetWithLoginAccessReader struct {
// contains filtered or unexported fields
}
CompanyWithLoginAccessGetWithLoginAccessReader is a Reader for the CompanyWithLoginAccessGetWithLoginAccess structure.
func (*CompanyWithLoginAccessGetWithLoginAccessReader) ReadResponse ¶
func (o *CompanyWithLoginAccessGetWithLoginAccessReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- company_client.go
- company_divisions_get_divisions_parameters.go
- company_divisions_get_divisions_responses.go
- company_get_parameters.go
- company_get_responses.go
- company_put_parameters.go
- company_put_responses.go
- company_with_login_access_get_with_login_access_parameters.go
- company_with_login_access_get_with_login_access_responses.go