organization_children

package
v1.0.100 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptApplicationVndCycloidIoV1JSON

func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithAcceptApplicationVndCycloidIoV1JSON sets the Accept header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationVndCycloidIoV1JSON

func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)

WithContentTypeApplicationVndCycloidIoV1JSON sets the Content-Type header to "application/vnd.cycloid.io.v1+json".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

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

Client for organization children API

func (*Client) CreateChild

func (a *Client) CreateChild(params *CreateChildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateChildOK, error)

CreateChild Create a new organization child, making the authenticated user the owner of it.

func (*Client) GetChildren

func (a *Client) GetChildren(params *GetChildrenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetChildrenOK, error)

GetChildren Get the children organizations that the authenticated user has access.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	CreateChild(params *CreateChildParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateChildOK, error)

	GetChildren(params *GetChildrenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetChildrenOK, 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 organization children API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new organization children API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new organization children API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateChildOK

type CreateChildOK struct {
	Payload *CreateChildOKBody
}

CreateChildOK describes a response with status code 200, with default header values.

Organization created. The body contains the information of the new created organization.

func NewCreateChildOK

func NewCreateChildOK() *CreateChildOK

NewCreateChildOK creates a CreateChildOK with default headers values

func (*CreateChildOK) Code

func (o *CreateChildOK) Code() int

Code gets the status code for the create child o k response

func (*CreateChildOK) Error

func (o *CreateChildOK) Error() string

func (*CreateChildOK) GetPayload

func (o *CreateChildOK) GetPayload() *CreateChildOKBody

func (*CreateChildOK) IsClientError

func (o *CreateChildOK) IsClientError() bool

IsClientError returns true when this create child o k response has a 4xx status code

func (*CreateChildOK) IsCode

func (o *CreateChildOK) IsCode(code int) bool

IsCode returns true when this create child o k response a status code equal to that given

func (*CreateChildOK) IsRedirect

func (o *CreateChildOK) IsRedirect() bool

IsRedirect returns true when this create child o k response has a 3xx status code

func (*CreateChildOK) IsServerError

func (o *CreateChildOK) IsServerError() bool

IsServerError returns true when this create child o k response has a 5xx status code

func (*CreateChildOK) IsSuccess

func (o *CreateChildOK) IsSuccess() bool

IsSuccess returns true when this create child o k response has a 2xx status code

func (*CreateChildOK) String

func (o *CreateChildOK) String() string

type CreateChildOKBody

type CreateChildOKBody struct {

	// data
	// Required: true
	Data *models.Organization `json:"data"`
}

CreateChildOKBody create child o k body swagger:model CreateChildOKBody

func (*CreateChildOKBody) ContextValidate

func (o *CreateChildOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create child o k body based on the context it is used

func (*CreateChildOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateChildOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateChildOKBody) Validate

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

Validate validates this create child o k body

type CreateChildParams

type CreateChildParams struct {

	/* Body.

	   The information of the organization to create.
	*/
	Body *models.NewOrganization

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

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

CreateChildParams contains all the parameters to send to the API endpoint

for the create child operation.

Typically these are written to a http.Request.

func NewCreateChildParams

func NewCreateChildParams() *CreateChildParams

NewCreateChildParams creates a new CreateChildParams 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 NewCreateChildParamsWithContext

func NewCreateChildParamsWithContext(ctx context.Context) *CreateChildParams

NewCreateChildParamsWithContext creates a new CreateChildParams object with the ability to set a context for a request.

func NewCreateChildParamsWithHTTPClient

func NewCreateChildParamsWithHTTPClient(client *http.Client) *CreateChildParams

NewCreateChildParamsWithHTTPClient creates a new CreateChildParams object with the ability to set a custom HTTPClient for a request.

func NewCreateChildParamsWithTimeout

func NewCreateChildParamsWithTimeout(timeout time.Duration) *CreateChildParams

NewCreateChildParamsWithTimeout creates a new CreateChildParams object with the ability to set a timeout on a request.

func (*CreateChildParams) SetBody

func (o *CreateChildParams) SetBody(body *models.NewOrganization)

SetBody adds the body to the create child params

func (*CreateChildParams) SetContext

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

SetContext adds the context to the create child params

func (*CreateChildParams) SetDefaults

func (o *CreateChildParams) SetDefaults()

SetDefaults hydrates default values in the create child params (not the query body).

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

func (*CreateChildParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create child params

func (*CreateChildParams) SetOrganizationCanonical

func (o *CreateChildParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the create child params

func (*CreateChildParams) SetTimeout

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

SetTimeout adds the timeout to the create child params

func (*CreateChildParams) WithBody

WithBody adds the body to the create child params

func (*CreateChildParams) WithContext

func (o *CreateChildParams) WithContext(ctx context.Context) *CreateChildParams

WithContext adds the context to the create child params

func (*CreateChildParams) WithDefaults

func (o *CreateChildParams) WithDefaults() *CreateChildParams

WithDefaults hydrates default values in the create child params (not the query body).

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

func (*CreateChildParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create child params

func (*CreateChildParams) WithOrganizationCanonical

func (o *CreateChildParams) WithOrganizationCanonical(organizationCanonical string) *CreateChildParams

WithOrganizationCanonical adds the organizationCanonical to the create child params

func (*CreateChildParams) WithTimeout

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

WithTimeout adds the timeout to the create child params

func (*CreateChildParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateChildReader

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

CreateChildReader is a Reader for the CreateChild structure.

func (*CreateChildReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetChildrenDefault

type GetChildrenDefault struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
	// contains filtered or unexported fields
}

GetChildrenDefault describes a response with status code -1, with default header values.

The response sent when an unexpected error happened, as known as an internal server error.

func NewGetChildrenDefault

func NewGetChildrenDefault(code int) *GetChildrenDefault

NewGetChildrenDefault creates a GetChildrenDefault with default headers values

func (*GetChildrenDefault) Code

func (o *GetChildrenDefault) Code() int

Code gets the status code for the get children default response

func (*GetChildrenDefault) Error

func (o *GetChildrenDefault) Error() string

func (*GetChildrenDefault) GetPayload

func (o *GetChildrenDefault) GetPayload() *models.ErrorPayload

func (*GetChildrenDefault) IsClientError

func (o *GetChildrenDefault) IsClientError() bool

IsClientError returns true when this get children default response has a 4xx status code

func (*GetChildrenDefault) IsCode

func (o *GetChildrenDefault) IsCode(code int) bool

IsCode returns true when this get children default response a status code equal to that given

func (*GetChildrenDefault) IsRedirect

func (o *GetChildrenDefault) IsRedirect() bool

IsRedirect returns true when this get children default response has a 3xx status code

func (*GetChildrenDefault) IsServerError

func (o *GetChildrenDefault) IsServerError() bool

IsServerError returns true when this get children default response has a 5xx status code

func (*GetChildrenDefault) IsSuccess

func (o *GetChildrenDefault) IsSuccess() bool

IsSuccess returns true when this get children default response has a 2xx status code

func (*GetChildrenDefault) String

func (o *GetChildrenDefault) String() string

type GetChildrenForbidden

type GetChildrenForbidden struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetChildrenForbidden describes a response with status code 403, with default header values.

The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.

func NewGetChildrenForbidden

func NewGetChildrenForbidden() *GetChildrenForbidden

NewGetChildrenForbidden creates a GetChildrenForbidden with default headers values

func (*GetChildrenForbidden) Code

func (o *GetChildrenForbidden) Code() int

Code gets the status code for the get children forbidden response

func (*GetChildrenForbidden) Error

func (o *GetChildrenForbidden) Error() string

func (*GetChildrenForbidden) GetPayload

func (o *GetChildrenForbidden) GetPayload() *models.ErrorPayload

func (*GetChildrenForbidden) IsClientError

func (o *GetChildrenForbidden) IsClientError() bool

IsClientError returns true when this get children forbidden response has a 4xx status code

func (*GetChildrenForbidden) IsCode

func (o *GetChildrenForbidden) IsCode(code int) bool

IsCode returns true when this get children forbidden response a status code equal to that given

func (*GetChildrenForbidden) IsRedirect

func (o *GetChildrenForbidden) IsRedirect() bool

IsRedirect returns true when this get children forbidden response has a 3xx status code

func (*GetChildrenForbidden) IsServerError

func (o *GetChildrenForbidden) IsServerError() bool

IsServerError returns true when this get children forbidden response has a 5xx status code

func (*GetChildrenForbidden) IsSuccess

func (o *GetChildrenForbidden) IsSuccess() bool

IsSuccess returns true when this get children forbidden response has a 2xx status code

func (*GetChildrenForbidden) String

func (o *GetChildrenForbidden) String() string

type GetChildrenNotFound

type GetChildrenNotFound struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetChildrenNotFound describes a response with status code 404, with default header values.

The response sent when any of the entities present in the path is not found.

func NewGetChildrenNotFound

func NewGetChildrenNotFound() *GetChildrenNotFound

NewGetChildrenNotFound creates a GetChildrenNotFound with default headers values

func (*GetChildrenNotFound) Code

func (o *GetChildrenNotFound) Code() int

Code gets the status code for the get children not found response

func (*GetChildrenNotFound) Error

func (o *GetChildrenNotFound) Error() string

func (*GetChildrenNotFound) GetPayload

func (o *GetChildrenNotFound) GetPayload() *models.ErrorPayload

func (*GetChildrenNotFound) IsClientError

func (o *GetChildrenNotFound) IsClientError() bool

IsClientError returns true when this get children not found response has a 4xx status code

func (*GetChildrenNotFound) IsCode

func (o *GetChildrenNotFound) IsCode(code int) bool

IsCode returns true when this get children not found response a status code equal to that given

func (*GetChildrenNotFound) IsRedirect

func (o *GetChildrenNotFound) IsRedirect() bool

IsRedirect returns true when this get children not found response has a 3xx status code

func (*GetChildrenNotFound) IsServerError

func (o *GetChildrenNotFound) IsServerError() bool

IsServerError returns true when this get children not found response has a 5xx status code

func (*GetChildrenNotFound) IsSuccess

func (o *GetChildrenNotFound) IsSuccess() bool

IsSuccess returns true when this get children not found response has a 2xx status code

func (*GetChildrenNotFound) String

func (o *GetChildrenNotFound) String() string

type GetChildrenOK

type GetChildrenOK struct {
	Payload *GetChildrenOKBody
}

GetChildrenOK describes a response with status code 200, with default header values.

List of the children organizations which the authenticated user has access.

func NewGetChildrenOK

func NewGetChildrenOK() *GetChildrenOK

NewGetChildrenOK creates a GetChildrenOK with default headers values

func (*GetChildrenOK) Code

func (o *GetChildrenOK) Code() int

Code gets the status code for the get children o k response

func (*GetChildrenOK) Error

func (o *GetChildrenOK) Error() string

func (*GetChildrenOK) GetPayload

func (o *GetChildrenOK) GetPayload() *GetChildrenOKBody

func (*GetChildrenOK) IsClientError

func (o *GetChildrenOK) IsClientError() bool

IsClientError returns true when this get children o k response has a 4xx status code

func (*GetChildrenOK) IsCode

func (o *GetChildrenOK) IsCode(code int) bool

IsCode returns true when this get children o k response a status code equal to that given

func (*GetChildrenOK) IsRedirect

func (o *GetChildrenOK) IsRedirect() bool

IsRedirect returns true when this get children o k response has a 3xx status code

func (*GetChildrenOK) IsServerError

func (o *GetChildrenOK) IsServerError() bool

IsServerError returns true when this get children o k response has a 5xx status code

func (*GetChildrenOK) IsSuccess

func (o *GetChildrenOK) IsSuccess() bool

IsSuccess returns true when this get children o k response has a 2xx status code

func (*GetChildrenOK) String

func (o *GetChildrenOK) String() string

type GetChildrenOKBody

type GetChildrenOKBody struct {

	// data
	// Required: true
	Data []*models.Organization `json:"data"`

	// pagination
	// Required: true
	Pagination *models.Pagination `json:"pagination"`
}

GetChildrenOKBody get children o k body swagger:model GetChildrenOKBody

func (*GetChildrenOKBody) ContextValidate

func (o *GetChildrenOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get children o k body based on the context it is used

func (*GetChildrenOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetChildrenOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetChildrenOKBody) Validate

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

Validate validates this get children o k body

type GetChildrenParams

type GetChildrenParams struct {

	/* OrderBy.

	   Allows to order the list of items. Example usage: field_name:asc

	*/
	OrderBy *string

	/* OrganizationCanonical.

	   A canonical of an organization.
	*/
	OrganizationCanonical string

	/* OrganizationCreatedAt.

	   Search by organization's creation date

	   Format: date-time
	*/
	OrganizationCreatedAt *strfmt.DateTime

	/* OrganizationName.

	   Search by the organization's name
	*/
	OrganizationName *string

	/* PageIndex.

	   The page number to request. The first page is 1.

	   Format: uint32
	   Default: 1
	*/
	PageIndex *uint32

	/* PageSize.

	   The number of items at most which the response can have.

	   Format: uint32
	   Default: 1000
	*/
	PageSize *uint32

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

GetChildrenParams contains all the parameters to send to the API endpoint

for the get children operation.

Typically these are written to a http.Request.

func NewGetChildrenParams

func NewGetChildrenParams() *GetChildrenParams

NewGetChildrenParams creates a new GetChildrenParams 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 NewGetChildrenParamsWithContext

func NewGetChildrenParamsWithContext(ctx context.Context) *GetChildrenParams

NewGetChildrenParamsWithContext creates a new GetChildrenParams object with the ability to set a context for a request.

func NewGetChildrenParamsWithHTTPClient

func NewGetChildrenParamsWithHTTPClient(client *http.Client) *GetChildrenParams

NewGetChildrenParamsWithHTTPClient creates a new GetChildrenParams object with the ability to set a custom HTTPClient for a request.

func NewGetChildrenParamsWithTimeout

func NewGetChildrenParamsWithTimeout(timeout time.Duration) *GetChildrenParams

NewGetChildrenParamsWithTimeout creates a new GetChildrenParams object with the ability to set a timeout on a request.

func (*GetChildrenParams) SetContext

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

SetContext adds the context to the get children params

func (*GetChildrenParams) SetDefaults

func (o *GetChildrenParams) SetDefaults()

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

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

func (*GetChildrenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get children params

func (*GetChildrenParams) SetOrderBy

func (o *GetChildrenParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get children params

func (*GetChildrenParams) SetOrganizationCanonical

func (o *GetChildrenParams) SetOrganizationCanonical(organizationCanonical string)

SetOrganizationCanonical adds the organizationCanonical to the get children params

func (*GetChildrenParams) SetOrganizationCreatedAt

func (o *GetChildrenParams) SetOrganizationCreatedAt(organizationCreatedAt *strfmt.DateTime)

SetOrganizationCreatedAt adds the organizationCreatedAt to the get children params

func (*GetChildrenParams) SetOrganizationName

func (o *GetChildrenParams) SetOrganizationName(organizationName *string)

SetOrganizationName adds the organizationName to the get children params

func (*GetChildrenParams) SetPageIndex

func (o *GetChildrenParams) SetPageIndex(pageIndex *uint32)

SetPageIndex adds the pageIndex to the get children params

func (*GetChildrenParams) SetPageSize

func (o *GetChildrenParams) SetPageSize(pageSize *uint32)

SetPageSize adds the pageSize to the get children params

func (*GetChildrenParams) SetTimeout

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

SetTimeout adds the timeout to the get children params

func (*GetChildrenParams) WithContext

func (o *GetChildrenParams) WithContext(ctx context.Context) *GetChildrenParams

WithContext adds the context to the get children params

func (*GetChildrenParams) WithDefaults

func (o *GetChildrenParams) WithDefaults() *GetChildrenParams

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

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

func (*GetChildrenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get children params

func (*GetChildrenParams) WithOrderBy

func (o *GetChildrenParams) WithOrderBy(orderBy *string) *GetChildrenParams

WithOrderBy adds the orderBy to the get children params

func (*GetChildrenParams) WithOrganizationCanonical

func (o *GetChildrenParams) WithOrganizationCanonical(organizationCanonical string) *GetChildrenParams

WithOrganizationCanonical adds the organizationCanonical to the get children params

func (*GetChildrenParams) WithOrganizationCreatedAt

func (o *GetChildrenParams) WithOrganizationCreatedAt(organizationCreatedAt *strfmt.DateTime) *GetChildrenParams

WithOrganizationCreatedAt adds the organizationCreatedAt to the get children params

func (*GetChildrenParams) WithOrganizationName

func (o *GetChildrenParams) WithOrganizationName(organizationName *string) *GetChildrenParams

WithOrganizationName adds the organizationName to the get children params

func (*GetChildrenParams) WithPageIndex

func (o *GetChildrenParams) WithPageIndex(pageIndex *uint32) *GetChildrenParams

WithPageIndex adds the pageIndex to the get children params

func (*GetChildrenParams) WithPageSize

func (o *GetChildrenParams) WithPageSize(pageSize *uint32) *GetChildrenParams

WithPageSize adds the pageSize to the get children params

func (*GetChildrenParams) WithTimeout

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

WithTimeout adds the timeout to the get children params

func (*GetChildrenParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetChildrenReader

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

GetChildrenReader is a Reader for the GetChildren structure.

func (*GetChildrenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetChildrenUnprocessableEntity

type GetChildrenUnprocessableEntity struct {

	/* The length of the response body in octets (8-bit bytes).

	   Format: uint64
	*/
	ContentLength uint64

	Payload *models.ErrorPayload
}

GetChildrenUnprocessableEntity describes a response with status code 422, with default header values.

All the custom errors that are generated from the Cycloid API

func NewGetChildrenUnprocessableEntity

func NewGetChildrenUnprocessableEntity() *GetChildrenUnprocessableEntity

NewGetChildrenUnprocessableEntity creates a GetChildrenUnprocessableEntity with default headers values

func (*GetChildrenUnprocessableEntity) Code

Code gets the status code for the get children unprocessable entity response

func (*GetChildrenUnprocessableEntity) Error

func (*GetChildrenUnprocessableEntity) GetPayload

func (*GetChildrenUnprocessableEntity) IsClientError

func (o *GetChildrenUnprocessableEntity) IsClientError() bool

IsClientError returns true when this get children unprocessable entity response has a 4xx status code

func (*GetChildrenUnprocessableEntity) IsCode

func (o *GetChildrenUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this get children unprocessable entity response a status code equal to that given

func (*GetChildrenUnprocessableEntity) IsRedirect

func (o *GetChildrenUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this get children unprocessable entity response has a 3xx status code

func (*GetChildrenUnprocessableEntity) IsServerError

func (o *GetChildrenUnprocessableEntity) IsServerError() bool

IsServerError returns true when this get children unprocessable entity response has a 5xx status code

func (*GetChildrenUnprocessableEntity) IsSuccess

func (o *GetChildrenUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this get children unprocessable entity response has a 2xx status code

func (*GetChildrenUnprocessableEntity) String

Jump to

Keyboard shortcuts

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