organization

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 8 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 organization API

func (*Client) OrganizationFind

func (a *Client) OrganizationFind(params OrganizationFindParams) (*OrganizationFindOK, error)

OrganizationFind organization find API

func (*Client) OrganizationGet

func (a *Client) OrganizationGet(params OrganizationGetParams) (*OrganizationGetOK, error)

OrganizationGet organization get API

func (*Client) OrganizationGetDefaultOrganization

func (a *Client) OrganizationGetDefaultOrganization(params OrganizationGetDefaultOrganizationParams) (*OrganizationGetDefaultOrganizationOK, error)

OrganizationGetDefaultOrganization organization get default organization API

type ClientService

type ClientService interface {
	OrganizationFind(params OrganizationFindParams) (*OrganizationFindOK, error)

	OrganizationGet(params OrganizationGetParams) (*OrganizationGetOK, error)

	OrganizationGetDefaultOrganization(params OrganizationGetDefaultOrganizationParams) (*OrganizationGetDefaultOrganizationOK, error)
}

ClientService is the interface for Client methods

func New

func New(c ecclient.APIClient, baseAPIURL string) ClientService

New creates a new organization API client.

type OrganizationFindBadRequest

type OrganizationFindBadRequest struct {
	models.HyperionErrorReponse
}
OrganizationFindBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewOrganizationFindBadRequest

func NewOrganizationFindBadRequest() *OrganizationFindBadRequest

NewOrganizationFindBadRequest creates a OrganizationFindBadRequest with default headers values

type OrganizationFindOK

type OrganizationFindOK struct {
	models.HyperionCollectionOrganizationDetailDto
}
OrganizationFindOK describes a response with status code 200, with default header values.

Success

func NewOrganizationFindOK

func NewOrganizationFindOK() *OrganizationFindOK

NewOrganizationFindOK creates a OrganizationFindOK with default headers values

type OrganizationFindParams

type OrganizationFindParams struct {

	// Name.
	Name string

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

OrganizationFindParams contains all the parameters to send to the API endpoint for the organization find operation. Typically these are written to a http.Request.

func NewOrganizationFindParams

func NewOrganizationFindParams() OrganizationFindParams

NewOrganizationFindParams creates a new OrganizationFindParams 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 (*OrganizationFindParams) SetDefaults

func (o *OrganizationFindParams) SetDefaults()

SetDefaults hydrates default values in the organization find params (not the query body).

All values with no default are reset to their zero value.

func (*OrganizationFindParams) WithDefaults

WithDefaults hydrates default values in the organization find params (not the query body).

All values with no default are reset to their zero value.

type OrganizationGetBadRequest

type OrganizationGetBadRequest struct {
	models.HyperionErrorReponse
}
OrganizationGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewOrganizationGetBadRequest

func NewOrganizationGetBadRequest() *OrganizationGetBadRequest

NewOrganizationGetBadRequest creates a OrganizationGetBadRequest with default headers values

type OrganizationGetDefaultOrganizationOK

type OrganizationGetDefaultOrganizationOK struct {
	models.OrganizationDetail
}
OrganizationGetDefaultOrganizationOK describes a response with status code 200, with default header values.

Success

func NewOrganizationGetDefaultOrganizationOK

func NewOrganizationGetDefaultOrganizationOK() *OrganizationGetDefaultOrganizationOK

NewOrganizationGetDefaultOrganizationOK creates a OrganizationGetDefaultOrganizationOK with default headers values

type OrganizationGetDefaultOrganizationParams

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

OrganizationGetDefaultOrganizationParams contains all the parameters to send to the API endpoint for the organization get default organization operation. Typically these are written to a http.Request.

func NewOrganizationGetDefaultOrganizationParams

func NewOrganizationGetDefaultOrganizationParams() OrganizationGetDefaultOrganizationParams

NewOrganizationGetDefaultOrganizationParams creates a new OrganizationGetDefaultOrganizationParams 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 (*OrganizationGetDefaultOrganizationParams) SetDefaults

SetDefaults hydrates default values in the organization get default organization params (not the query body).

All values with no default are reset to their zero value.

func (*OrganizationGetDefaultOrganizationParams) WithDefaults

WithDefaults hydrates default values in the organization get default organization params (not the query body).

All values with no default are reset to their zero value.

type OrganizationGetOK

type OrganizationGetOK struct {
	models.OrganizationDetail
}
OrganizationGetOK describes a response with status code 200, with default header values.

Success

func NewOrganizationGetOK

func NewOrganizationGetOK() *OrganizationGetOK

NewOrganizationGetOK creates a OrganizationGetOK with default headers values

type OrganizationGetParams

type OrganizationGetParams struct {

	// ID.
	//
	// Format: int64
	ID int64

	// Name.
	Name *string

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

OrganizationGetParams contains all the parameters to send to the API endpoint for the organization get operation. Typically these are written to a http.Request.

func NewOrganizationGetParams

func NewOrganizationGetParams() OrganizationGetParams

NewOrganizationGetParams creates a new OrganizationGetParams 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 (*OrganizationGetParams) SetDefaults

func (o *OrganizationGetParams) SetDefaults()

SetDefaults hydrates default values in the organization get params (not the query body).

All values with no default are reset to their zero value.

func (*OrganizationGetParams) WithDefaults

func (o *OrganizationGetParams) WithDefaults() *OrganizationGetParams

WithDefaults hydrates default values in the organization get params (not the query body).

All values with no default are reset to their zero value.

type RequestParameters

type RequestParameters struct {
	QueryParams map[string]string
	PathParams  map[string]string
	Body        interface{}
}

func NewRequestParameters

func NewRequestParameters() *RequestParameters

func WriteToRequestOrganizationFindParams

func WriteToRequestOrganizationFindParams(o OrganizationFindParams) (RequestParameters, error)

WriteToRequest extracts parameters and sets for the request to be consumed

func WriteToRequestOrganizationGetDefaultOrganizationParams

func WriteToRequestOrganizationGetDefaultOrganizationParams(o OrganizationGetDefaultOrganizationParams) (RequestParameters, error)

WriteToRequest extracts parameters and sets for the request to be consumed

func WriteToRequestOrganizationGetParams

func WriteToRequestOrganizationGetParams(o OrganizationGetParams) (RequestParameters, error)

WriteToRequest extracts parameters and sets for the request to be consumed

Jump to

Keyboard shortcuts

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