Documentation ¶
Index ¶
- type Client
- func (a *Client) CompanySettingsAltinnPut(params *CompanySettingsAltinnPutParams, authInfo runtime.ClientAuthInfoWriter) (*CompanySettingsAltinnPutOK, error)
- func (a *Client) CompanySettingsAltinnSearch(params *CompanySettingsAltinnSearchParams, ...) (*CompanySettingsAltinnSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CompanySettingsAltinnPutOK
- type CompanySettingsAltinnPutParams
- func NewCompanySettingsAltinnPutParams() *CompanySettingsAltinnPutParams
- func NewCompanySettingsAltinnPutParamsWithContext(ctx context.Context) *CompanySettingsAltinnPutParams
- func NewCompanySettingsAltinnPutParamsWithHTTPClient(client *http.Client) *CompanySettingsAltinnPutParams
- func NewCompanySettingsAltinnPutParamsWithTimeout(timeout time.Duration) *CompanySettingsAltinnPutParams
- func (o *CompanySettingsAltinnPutParams) SetBody(body *models.AltinnCompanyModule)
- func (o *CompanySettingsAltinnPutParams) SetContext(ctx context.Context)
- func (o *CompanySettingsAltinnPutParams) SetHTTPClient(client *http.Client)
- func (o *CompanySettingsAltinnPutParams) SetTimeout(timeout time.Duration)
- func (o *CompanySettingsAltinnPutParams) WithBody(body *models.AltinnCompanyModule) *CompanySettingsAltinnPutParams
- func (o *CompanySettingsAltinnPutParams) WithContext(ctx context.Context) *CompanySettingsAltinnPutParams
- func (o *CompanySettingsAltinnPutParams) WithHTTPClient(client *http.Client) *CompanySettingsAltinnPutParams
- func (o *CompanySettingsAltinnPutParams) WithTimeout(timeout time.Duration) *CompanySettingsAltinnPutParams
- func (o *CompanySettingsAltinnPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompanySettingsAltinnPutReader
- type CompanySettingsAltinnSearchOK
- type CompanySettingsAltinnSearchParams
- func NewCompanySettingsAltinnSearchParams() *CompanySettingsAltinnSearchParams
- func NewCompanySettingsAltinnSearchParamsWithContext(ctx context.Context) *CompanySettingsAltinnSearchParams
- func NewCompanySettingsAltinnSearchParamsWithHTTPClient(client *http.Client) *CompanySettingsAltinnSearchParams
- func NewCompanySettingsAltinnSearchParamsWithTimeout(timeout time.Duration) *CompanySettingsAltinnSearchParams
- func (o *CompanySettingsAltinnSearchParams) SetContext(ctx context.Context)
- func (o *CompanySettingsAltinnSearchParams) SetFields(fields *string)
- func (o *CompanySettingsAltinnSearchParams) SetHTTPClient(client *http.Client)
- func (o *CompanySettingsAltinnSearchParams) SetTimeout(timeout time.Duration)
- func (o *CompanySettingsAltinnSearchParams) WithContext(ctx context.Context) *CompanySettingsAltinnSearchParams
- func (o *CompanySettingsAltinnSearchParams) WithFields(fields *string) *CompanySettingsAltinnSearchParams
- func (o *CompanySettingsAltinnSearchParams) WithHTTPClient(client *http.Client) *CompanySettingsAltinnSearchParams
- func (o *CompanySettingsAltinnSearchParams) WithTimeout(timeout time.Duration) *CompanySettingsAltinnSearchParams
- func (o *CompanySettingsAltinnSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompanySettingsAltinnSearchReader
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 altinn API
func (*Client) CompanySettingsAltinnPut ¶
func (a *Client) CompanySettingsAltinnPut(params *CompanySettingsAltinnPutParams, authInfo runtime.ClientAuthInfoWriter) (*CompanySettingsAltinnPutOK, error)
CompanySettingsAltinnPut bs e t a update alt inn id and password
func (*Client) CompanySettingsAltinnSearch ¶
func (a *Client) CompanySettingsAltinnSearch(params *CompanySettingsAltinnSearchParams, authInfo runtime.ClientAuthInfoWriter) (*CompanySettingsAltinnSearchOK, error)
CompanySettingsAltinnSearch bs e t a find altinn id for login in company
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CompanySettingsAltinnPut(params *CompanySettingsAltinnPutParams, authInfo runtime.ClientAuthInfoWriter) (*CompanySettingsAltinnPutOK, error) CompanySettingsAltinnSearch(params *CompanySettingsAltinnSearchParams, authInfo runtime.ClientAuthInfoWriter) (*CompanySettingsAltinnSearchOK, 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 altinn API client.
type CompanySettingsAltinnPutOK ¶
type CompanySettingsAltinnPutOK struct {
Payload *models.ResponseWrapperAltinnCompanyModule
}
CompanySettingsAltinnPutOK handles this case with default header values.
successful operation
func NewCompanySettingsAltinnPutOK ¶
func NewCompanySettingsAltinnPutOK() *CompanySettingsAltinnPutOK
NewCompanySettingsAltinnPutOK creates a CompanySettingsAltinnPutOK with default headers values
func (*CompanySettingsAltinnPutOK) Error ¶
func (o *CompanySettingsAltinnPutOK) Error() string
func (*CompanySettingsAltinnPutOK) GetPayload ¶
func (o *CompanySettingsAltinnPutOK) GetPayload() *models.ResponseWrapperAltinnCompanyModule
type CompanySettingsAltinnPutParams ¶
type CompanySettingsAltinnPutParams struct { /*Body Partial object describing what should be updated */ Body *models.AltinnCompanyModule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CompanySettingsAltinnPutParams contains all the parameters to send to the API endpoint for the company settings altinn put operation typically these are written to a http.Request
func NewCompanySettingsAltinnPutParams ¶
func NewCompanySettingsAltinnPutParams() *CompanySettingsAltinnPutParams
NewCompanySettingsAltinnPutParams creates a new CompanySettingsAltinnPutParams object with the default values initialized.
func NewCompanySettingsAltinnPutParamsWithContext ¶
func NewCompanySettingsAltinnPutParamsWithContext(ctx context.Context) *CompanySettingsAltinnPutParams
NewCompanySettingsAltinnPutParamsWithContext creates a new CompanySettingsAltinnPutParams object with the default values initialized, and the ability to set a context for a request
func NewCompanySettingsAltinnPutParamsWithHTTPClient ¶
func NewCompanySettingsAltinnPutParamsWithHTTPClient(client *http.Client) *CompanySettingsAltinnPutParams
NewCompanySettingsAltinnPutParamsWithHTTPClient creates a new CompanySettingsAltinnPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCompanySettingsAltinnPutParamsWithTimeout ¶
func NewCompanySettingsAltinnPutParamsWithTimeout(timeout time.Duration) *CompanySettingsAltinnPutParams
NewCompanySettingsAltinnPutParamsWithTimeout creates a new CompanySettingsAltinnPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*CompanySettingsAltinnPutParams) SetBody ¶
func (o *CompanySettingsAltinnPutParams) SetBody(body *models.AltinnCompanyModule)
SetBody adds the body to the company settings altinn put params
func (*CompanySettingsAltinnPutParams) SetContext ¶
func (o *CompanySettingsAltinnPutParams) SetContext(ctx context.Context)
SetContext adds the context to the company settings altinn put params
func (*CompanySettingsAltinnPutParams) SetHTTPClient ¶
func (o *CompanySettingsAltinnPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the company settings altinn put params
func (*CompanySettingsAltinnPutParams) SetTimeout ¶
func (o *CompanySettingsAltinnPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the company settings altinn put params
func (*CompanySettingsAltinnPutParams) WithBody ¶
func (o *CompanySettingsAltinnPutParams) WithBody(body *models.AltinnCompanyModule) *CompanySettingsAltinnPutParams
WithBody adds the body to the company settings altinn put params
func (*CompanySettingsAltinnPutParams) WithContext ¶
func (o *CompanySettingsAltinnPutParams) WithContext(ctx context.Context) *CompanySettingsAltinnPutParams
WithContext adds the context to the company settings altinn put params
func (*CompanySettingsAltinnPutParams) WithHTTPClient ¶
func (o *CompanySettingsAltinnPutParams) WithHTTPClient(client *http.Client) *CompanySettingsAltinnPutParams
WithHTTPClient adds the HTTPClient to the company settings altinn put params
func (*CompanySettingsAltinnPutParams) WithTimeout ¶
func (o *CompanySettingsAltinnPutParams) WithTimeout(timeout time.Duration) *CompanySettingsAltinnPutParams
WithTimeout adds the timeout to the company settings altinn put params
func (*CompanySettingsAltinnPutParams) WriteToRequest ¶
func (o *CompanySettingsAltinnPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompanySettingsAltinnPutReader ¶
type CompanySettingsAltinnPutReader struct {
// contains filtered or unexported fields
}
CompanySettingsAltinnPutReader is a Reader for the CompanySettingsAltinnPut structure.
func (*CompanySettingsAltinnPutReader) ReadResponse ¶
func (o *CompanySettingsAltinnPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CompanySettingsAltinnSearchOK ¶
type CompanySettingsAltinnSearchOK struct {
Payload *models.ResponseWrapperAltinnCompanyModule
}
CompanySettingsAltinnSearchOK handles this case with default header values.
successful operation
func NewCompanySettingsAltinnSearchOK ¶
func NewCompanySettingsAltinnSearchOK() *CompanySettingsAltinnSearchOK
NewCompanySettingsAltinnSearchOK creates a CompanySettingsAltinnSearchOK with default headers values
func (*CompanySettingsAltinnSearchOK) Error ¶
func (o *CompanySettingsAltinnSearchOK) Error() string
func (*CompanySettingsAltinnSearchOK) GetPayload ¶
func (o *CompanySettingsAltinnSearchOK) GetPayload() *models.ResponseWrapperAltinnCompanyModule
type CompanySettingsAltinnSearchParams ¶
type CompanySettingsAltinnSearchParams struct { /*Fields Fields filter pattern */ Fields *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CompanySettingsAltinnSearchParams contains all the parameters to send to the API endpoint for the company settings altinn search operation typically these are written to a http.Request
func NewCompanySettingsAltinnSearchParams ¶
func NewCompanySettingsAltinnSearchParams() *CompanySettingsAltinnSearchParams
NewCompanySettingsAltinnSearchParams creates a new CompanySettingsAltinnSearchParams object with the default values initialized.
func NewCompanySettingsAltinnSearchParamsWithContext ¶
func NewCompanySettingsAltinnSearchParamsWithContext(ctx context.Context) *CompanySettingsAltinnSearchParams
NewCompanySettingsAltinnSearchParamsWithContext creates a new CompanySettingsAltinnSearchParams object with the default values initialized, and the ability to set a context for a request
func NewCompanySettingsAltinnSearchParamsWithHTTPClient ¶
func NewCompanySettingsAltinnSearchParamsWithHTTPClient(client *http.Client) *CompanySettingsAltinnSearchParams
NewCompanySettingsAltinnSearchParamsWithHTTPClient creates a new CompanySettingsAltinnSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCompanySettingsAltinnSearchParamsWithTimeout ¶
func NewCompanySettingsAltinnSearchParamsWithTimeout(timeout time.Duration) *CompanySettingsAltinnSearchParams
NewCompanySettingsAltinnSearchParamsWithTimeout creates a new CompanySettingsAltinnSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*CompanySettingsAltinnSearchParams) SetContext ¶
func (o *CompanySettingsAltinnSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the company settings altinn search params
func (*CompanySettingsAltinnSearchParams) SetFields ¶
func (o *CompanySettingsAltinnSearchParams) SetFields(fields *string)
SetFields adds the fields to the company settings altinn search params
func (*CompanySettingsAltinnSearchParams) SetHTTPClient ¶
func (o *CompanySettingsAltinnSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the company settings altinn search params
func (*CompanySettingsAltinnSearchParams) SetTimeout ¶
func (o *CompanySettingsAltinnSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the company settings altinn search params
func (*CompanySettingsAltinnSearchParams) WithContext ¶
func (o *CompanySettingsAltinnSearchParams) WithContext(ctx context.Context) *CompanySettingsAltinnSearchParams
WithContext adds the context to the company settings altinn search params
func (*CompanySettingsAltinnSearchParams) WithFields ¶
func (o *CompanySettingsAltinnSearchParams) WithFields(fields *string) *CompanySettingsAltinnSearchParams
WithFields adds the fields to the company settings altinn search params
func (*CompanySettingsAltinnSearchParams) WithHTTPClient ¶
func (o *CompanySettingsAltinnSearchParams) WithHTTPClient(client *http.Client) *CompanySettingsAltinnSearchParams
WithHTTPClient adds the HTTPClient to the company settings altinn search params
func (*CompanySettingsAltinnSearchParams) WithTimeout ¶
func (o *CompanySettingsAltinnSearchParams) WithTimeout(timeout time.Duration) *CompanySettingsAltinnSearchParams
WithTimeout adds the timeout to the company settings altinn search params
func (*CompanySettingsAltinnSearchParams) WriteToRequest ¶
func (o *CompanySettingsAltinnSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompanySettingsAltinnSearchReader ¶
type CompanySettingsAltinnSearchReader struct {
// contains filtered or unexported fields
}
CompanySettingsAltinnSearchReader is a Reader for the CompanySettingsAltinnSearch structure.
func (*CompanySettingsAltinnSearchReader) ReadResponse ¶
func (o *CompanySettingsAltinnSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.