altinn

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 10 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 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 (*CompanySettingsAltinnPutOK) GetPayload

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

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

WithBody adds the body to the company settings altinn put params

func (*CompanySettingsAltinnPutParams) WithContext

WithContext adds the context to the company settings altinn put params

func (*CompanySettingsAltinnPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the company settings altinn put params

func (*CompanySettingsAltinnPutParams) WithTimeout

WithTimeout adds the timeout to the company settings altinn put params

func (*CompanySettingsAltinnPutParams) WriteToRequest

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 (*CompanySettingsAltinnSearchOK) GetPayload

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

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

WithContext adds the context to the company settings altinn search params

func (*CompanySettingsAltinnSearchParams) WithFields

WithFields adds the fields to the company settings altinn search params

func (*CompanySettingsAltinnSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the company settings altinn search params

func (*CompanySettingsAltinnSearchParams) WithTimeout

WithTimeout adds the timeout to the company settings altinn search params

func (*CompanySettingsAltinnSearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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