UEpolicy

package
v0.0.0-...-b1a38c4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Overview

Package UEpolicy provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.1-0.20240123090344-d326c01d279a DO NOT EDIT.

Index

Constants

View Source
const (
	OAuth2ClientCredentialsScopes = "oAuth2ClientCredentials.Scopes"
)

Variables

This section is empty.

Functions

func GetKinOpenApi3Document

func GetKinOpenApi3Document() (*openapi3.T, error)

func GetKinOpenApi3DocumentMust

func GetKinOpenApi3DocumentMust() *openapi3.T

func NewCreateIndividualUEPolicyAssociationRequest

func NewCreateIndividualUEPolicyAssociationRequest(server string, body CreateIndividualUEPolicyAssociationJSONRequestBody) (*http.Request, error)

NewCreateIndividualUEPolicyAssociationRequest calls the generic CreateIndividualUEPolicyAssociation builder with application/json body

func NewCreateIndividualUEPolicyAssociationRequestWithBody

func NewCreateIndividualUEPolicyAssociationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateIndividualUEPolicyAssociationRequestWithBody generates requests for CreateIndividualUEPolicyAssociation with any type of body

func NewDeleteIndividualUEPolicyAssociationRequest

func NewDeleteIndividualUEPolicyAssociationRequest(server string, polAssoId string) (*http.Request, error)

NewDeleteIndividualUEPolicyAssociationRequest generates requests for DeleteIndividualUEPolicyAssociation

func NewReadIndividualUEPolicyAssociationRequest

func NewReadIndividualUEPolicyAssociationRequest(server string, polAssoId string) (*http.Request, error)

NewReadIndividualUEPolicyAssociationRequest generates requests for ReadIndividualUEPolicyAssociation

func NewReportObservedEventTriggersForIndividualUEPolicyAssociationRequest

func NewReportObservedEventTriggersForIndividualUEPolicyAssociationRequest(server string, polAssoId string, body ReportObservedEventTriggersForIndividualUEPolicyAssociationJSONRequestBody) (*http.Request, error)

NewReportObservedEventTriggersForIndividualUEPolicyAssociationRequest calls the generic ReportObservedEventTriggersForIndividualUEPolicyAssociation builder with application/json body

func NewReportObservedEventTriggersForIndividualUEPolicyAssociationRequestWithBody

func NewReportObservedEventTriggersForIndividualUEPolicyAssociationRequestWithBody(server string, polAssoId string, contentType string, body io.Reader) (*http.Request, error)

NewReportObservedEventTriggersForIndividualUEPolicyAssociationRequestWithBody generates requests for ReportObservedEventTriggersForIndividualUEPolicyAssociation with any type of body

func RegisterHandlers

func RegisterHandlers(router gin.IRouter, si ServerInterface)

RegisterHandlers creates http.Handler with routing matching OpenAPI spec.

func RegisterHandlersWithOptions

func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)

RegisterHandlersWithOptions creates http.Handler with additional options

Types

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateIndividualUEPolicyAssociation

func (c *Client) CreateIndividualUEPolicyAssociation(ctx context.Context, body CreateIndividualUEPolicyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateIndividualUEPolicyAssociationWithBody

func (c *Client) CreateIndividualUEPolicyAssociationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteIndividualUEPolicyAssociation

func (c *Client) DeleteIndividualUEPolicyAssociation(ctx context.Context, polAssoId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadIndividualUEPolicyAssociation

func (c *Client) ReadIndividualUEPolicyAssociation(ctx context.Context, polAssoId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReportObservedEventTriggersForIndividualUEPolicyAssociation

func (c *Client) ReportObservedEventTriggersForIndividualUEPolicyAssociation(ctx context.Context, polAssoId string, body ReportObservedEventTriggersForIndividualUEPolicyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReportObservedEventTriggersForIndividualUEPolicyAssociationWithBody

func (c *Client) ReportObservedEventTriggersForIndividualUEPolicyAssociationWithBody(ctx context.Context, polAssoId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// CreateIndividualUEPolicyAssociationWithBody request with any body
	CreateIndividualUEPolicyAssociationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateIndividualUEPolicyAssociation(ctx context.Context, body CreateIndividualUEPolicyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteIndividualUEPolicyAssociation request
	DeleteIndividualUEPolicyAssociation(ctx context.Context, polAssoId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadIndividualUEPolicyAssociation request
	ReadIndividualUEPolicyAssociation(ctx context.Context, polAssoId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReportObservedEventTriggersForIndividualUEPolicyAssociationWithBody request with any body
	ReportObservedEventTriggersForIndividualUEPolicyAssociationWithBody(ctx context.Context, polAssoId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReportObservedEventTriggersForIndividualUEPolicyAssociation(ctx context.Context, polAssoId string, body ReportObservedEventTriggersForIndividualUEPolicyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateIndividualUEPolicyAssociationWithBodyWithResponse

func (c *ClientWithResponses) CreateIndividualUEPolicyAssociationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIndividualUEPolicyAssociationResponse, error)

CreateIndividualUEPolicyAssociationWithBodyWithResponse request with arbitrary body returning *CreateIndividualUEPolicyAssociationResponse

func (*ClientWithResponses) DeleteIndividualUEPolicyAssociationWithResponse

func (c *ClientWithResponses) DeleteIndividualUEPolicyAssociationWithResponse(ctx context.Context, polAssoId string, reqEditors ...RequestEditorFn) (*DeleteIndividualUEPolicyAssociationResponse, error)

DeleteIndividualUEPolicyAssociationWithResponse request returning *DeleteIndividualUEPolicyAssociationResponse

func (*ClientWithResponses) ReadIndividualUEPolicyAssociationWithResponse

func (c *ClientWithResponses) ReadIndividualUEPolicyAssociationWithResponse(ctx context.Context, polAssoId string, reqEditors ...RequestEditorFn) (*ReadIndividualUEPolicyAssociationResponse, error)

ReadIndividualUEPolicyAssociationWithResponse request returning *ReadIndividualUEPolicyAssociationResponse

func (*ClientWithResponses) ReportObservedEventTriggersForIndividualUEPolicyAssociationWithBodyWithResponse

func (c *ClientWithResponses) ReportObservedEventTriggersForIndividualUEPolicyAssociationWithBodyWithResponse(ctx context.Context, polAssoId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse, error)

ReportObservedEventTriggersForIndividualUEPolicyAssociationWithBodyWithResponse request with arbitrary body returning *ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// CreateIndividualUEPolicyAssociationWithBodyWithResponse request with any body
	CreateIndividualUEPolicyAssociationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIndividualUEPolicyAssociationResponse, error)

	CreateIndividualUEPolicyAssociationWithResponse(ctx context.Context, body CreateIndividualUEPolicyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIndividualUEPolicyAssociationResponse, error)

	// DeleteIndividualUEPolicyAssociationWithResponse request
	DeleteIndividualUEPolicyAssociationWithResponse(ctx context.Context, polAssoId string, reqEditors ...RequestEditorFn) (*DeleteIndividualUEPolicyAssociationResponse, error)

	// ReadIndividualUEPolicyAssociationWithResponse request
	ReadIndividualUEPolicyAssociationWithResponse(ctx context.Context, polAssoId string, reqEditors ...RequestEditorFn) (*ReadIndividualUEPolicyAssociationResponse, error)

	// ReportObservedEventTriggersForIndividualUEPolicyAssociationWithBodyWithResponse request with any body
	ReportObservedEventTriggersForIndividualUEPolicyAssociationWithBodyWithResponse(ctx context.Context, polAssoId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse, error)

	ReportObservedEventTriggersForIndividualUEPolicyAssociationWithResponse(ctx context.Context, polAssoId string, body ReportObservedEventTriggersForIndividualUEPolicyAssociationJSONRequestBody, reqEditors ...RequestEditorFn) (*ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateIndividualUEPolicyAssociation201JSONResponse

type CreateIndividualUEPolicyAssociation201JSONResponse struct {
	Body    PolicyAssociation
	Headers CreateIndividualUEPolicyAssociation201ResponseHeaders
}

func (CreateIndividualUEPolicyAssociation201JSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation201JSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation201ResponseHeaders

type CreateIndividualUEPolicyAssociation201ResponseHeaders struct {
	Location string
}

type CreateIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse struct {
	externalRef2.N400ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse struct {
	externalRef2.N401ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse struct {
	externalRef2.N403ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse struct {
	externalRef2.N404ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation411ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation411ApplicationProblemPlusJSONResponse struct {
	externalRef2.N411ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation411ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation411ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation413ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation413ApplicationProblemPlusJSONResponse struct {
	externalRef2.N413ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation413ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation413ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation415ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation415ApplicationProblemPlusJSONResponse struct {
	externalRef2.N415ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation415ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation415ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse struct {
	externalRef2.N429ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse struct {
	externalRef2.N500ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse struct {
	externalRef2.N503ApplicationProblemPlusJSONResponse
}

func (CreateIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type CreateIndividualUEPolicyAssociationJSONRequestBody

type CreateIndividualUEPolicyAssociationJSONRequestBody = PolicyAssociationRequest

CreateIndividualUEPolicyAssociationJSONRequestBody defines body for CreateIndividualUEPolicyAssociation for application/json ContentType.

type CreateIndividualUEPolicyAssociationRequestObject

type CreateIndividualUEPolicyAssociationRequestObject struct {
	Body *CreateIndividualUEPolicyAssociationJSONRequestBody
}

type CreateIndividualUEPolicyAssociationResponse

type CreateIndividualUEPolicyAssociationResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON201                       *PolicyAssociation
	ApplicationproblemJSON400     *externalRef2.N400
	ApplicationproblemJSON401     *externalRef2.N401
	ApplicationproblemJSON403     *externalRef2.N403
	ApplicationproblemJSON404     *externalRef2.N404
	ApplicationproblemJSON411     *externalRef2.N411
	ApplicationproblemJSON413     *externalRef2.N413
	ApplicationproblemJSON415     *externalRef2.N415
	ApplicationproblemJSON429     *externalRef2.N429
	ApplicationproblemJSON500     *externalRef2.N500
	ApplicationproblemJSON503     *externalRef2.N503
	ApplicationproblemJSONDefault *externalRef2.Default
}

func ParseCreateIndividualUEPolicyAssociationResponse

func ParseCreateIndividualUEPolicyAssociationResponse(rsp *http.Response) (*CreateIndividualUEPolicyAssociationResponse, error)

ParseCreateIndividualUEPolicyAssociationResponse parses an HTTP response from a CreateIndividualUEPolicyAssociationWithResponse call

func (CreateIndividualUEPolicyAssociationResponse) Status

Status returns HTTPResponse.Status

func (CreateIndividualUEPolicyAssociationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateIndividualUEPolicyAssociationResponseObject

type CreateIndividualUEPolicyAssociationResponseObject interface {
	VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error
}

type CreateIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse

type CreateIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef2.ProblemDetails
	StatusCode int
}

func (CreateIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse

func (response CreateIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse) VisitCreateIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation204Response

type DeleteIndividualUEPolicyAssociation204Response struct {
}

func (DeleteIndividualUEPolicyAssociation204Response) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation204Response) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation307JSONResponse

type DeleteIndividualUEPolicyAssociation307JSONResponse struct{ externalRef2.N307JSONResponse }

func (DeleteIndividualUEPolicyAssociation307JSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation307JSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation308JSONResponse

type DeleteIndividualUEPolicyAssociation308JSONResponse struct{ externalRef2.N308JSONResponse }

func (DeleteIndividualUEPolicyAssociation308JSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation308JSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse

type DeleteIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse struct {
	externalRef2.N400ApplicationProblemPlusJSONResponse
}

func (DeleteIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse

type DeleteIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse struct {
	externalRef2.N401ApplicationProblemPlusJSONResponse
}

func (DeleteIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse

type DeleteIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse struct {
	externalRef2.N403ApplicationProblemPlusJSONResponse
}

func (DeleteIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse

type DeleteIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse struct {
	externalRef2.N404ApplicationProblemPlusJSONResponse
}

func (DeleteIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse

type DeleteIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse struct {
	externalRef2.N429ApplicationProblemPlusJSONResponse
}

func (DeleteIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse

type DeleteIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse struct {
	externalRef2.N500ApplicationProblemPlusJSONResponse
}

func (DeleteIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse

type DeleteIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse struct {
	externalRef2.N503ApplicationProblemPlusJSONResponse
}

func (DeleteIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type DeleteIndividualUEPolicyAssociationRequestObject

type DeleteIndividualUEPolicyAssociationRequestObject struct {
	PolAssoId string `json:"polAssoId"`
}

type DeleteIndividualUEPolicyAssociationResponse

type DeleteIndividualUEPolicyAssociationResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON307                       *externalRef2.N307
	JSON308                       *externalRef2.N308
	ApplicationproblemJSON400     *externalRef2.N400
	ApplicationproblemJSON401     *externalRef2.N401
	ApplicationproblemJSON403     *externalRef2.N403
	ApplicationproblemJSON404     *externalRef2.N404
	ApplicationproblemJSON429     *externalRef2.N429
	ApplicationproblemJSON500     *externalRef2.N500
	ApplicationproblemJSON503     *externalRef2.N503
	ApplicationproblemJSONDefault *externalRef2.Default
}

func ParseDeleteIndividualUEPolicyAssociationResponse

func ParseDeleteIndividualUEPolicyAssociationResponse(rsp *http.Response) (*DeleteIndividualUEPolicyAssociationResponse, error)

ParseDeleteIndividualUEPolicyAssociationResponse parses an HTTP response from a DeleteIndividualUEPolicyAssociationWithResponse call

func (DeleteIndividualUEPolicyAssociationResponse) Status

Status returns HTTPResponse.Status

func (DeleteIndividualUEPolicyAssociationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteIndividualUEPolicyAssociationResponseObject

type DeleteIndividualUEPolicyAssociationResponseObject interface {
	VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error
}

type DeleteIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse

type DeleteIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef2.ProblemDetails
	StatusCode int
}

func (DeleteIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse

func (response DeleteIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse) VisitDeleteIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type GinServerOptions

type GinServerOptions struct {
	BaseURL      string
	Middlewares  []MiddlewareFunc
	ErrorHandler func(*gin.Context, error, int)
}

GinServerOptions provides options for the Gin server.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type Pc5Capability

type Pc5Capability string

Pc5Capability Possible values are - LTE_PC5: This value is used to indicate that UE supports PC5 LTE RAT for V2X communication over PC5 reference point. - NR_PC5: This value is used to indicate that UE supports PC5 NR RAT for V2X communication over PC5 reference point. - LTE_NR_PC5: This value is used to indicate that UE supports both PC5 LTE and NR RAT for V2X communication over PC5 reference point..

const (
	LTENRPC5 Pc5Capability = "LTE_NR_PC5"
	LTEPC5   Pc5Capability = "LTE_PC5"
	NRPC5    Pc5Capability = "NR_PC5"
)

Defines values for Pc5Capability.

type PolicyAssociation

type PolicyAssociation struct {
	N2Pc5Pol *externalRef0.N2InfoContent           `json:"n2Pc5Pol,omitempty"`
	Pras     *map[string]externalRef2.PresenceInfo `json:"pras,omitempty"`
	Request  *PolicyAssociationRequest             `json:"request,omitempty"`
	SuppFeat externalRef2.SupportedFeatures        `json:"suppFeat"`

	// Triggers Request Triggers that the PCF subscribes. Only values "LOC_CH" and "PRA_CH" are permitted.
	Triggers             []RequestTrigger       `json:"triggers,omitempty"`
	UePolicy             *UePolicy              `json:"uePolicy,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PolicyAssociation defines model for PolicyAssociation.

func (PolicyAssociation) Get

func (a PolicyAssociation) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PolicyAssociation. Returns the specified element and whether it was found

func (PolicyAssociation) MarshalJSON

func (a PolicyAssociation) MarshalJSON() ([]byte, error)

Override default JSON handling for PolicyAssociation to handle AdditionalProperties

func (*PolicyAssociation) Set

func (a *PolicyAssociation) Set(fieldName string, value interface{})

Setter for additional properties for PolicyAssociation

func (*PolicyAssociation) UnmarshalJSON

func (a *PolicyAssociation) UnmarshalJSON(b []byte) error

Override default JSON handling for PolicyAssociation to handle AdditionalProperties

type PolicyAssociationReleaseCause

type PolicyAssociationReleaseCause string

PolicyAssociationReleaseCause Possible values are - UNSPECIFIED: This value is used for unspecified reasons. - UE_SUBSCRIPTION: This value is used to indicate that the policy association needs to be terminated because the subscription of UE has changed (e.g. was removed). - INSUFFICIENT_RES: This value is used to indicate that the server is overloaded and needs to abort the policy association.

const (
	INSUFFICIENTRES PolicyAssociationReleaseCause = "INSUFFICIENT_RES"
	UESUBSCRIPTION  PolicyAssociationReleaseCause = "UE_SUBSCRIPTION"
	UNSPECIFIED     PolicyAssociationReleaseCause = "UNSPECIFIED"
)

Defines values for PolicyAssociationReleaseCause.

type PolicyAssociationRequest

type PolicyAssociationRequest struct {
	AccessType externalRef2.AccessType `json:"accessType,omitempty"`

	// AltNotifFqdns Alternate or backup FQDN(s) where to send Notifications.
	AltNotifFqdns []externalRef3.Fqdn `json:"altNotifFqdns,omitempty"`

	// AltNotifIpv4Addrs Alternate or backup IPv4 Address(es) where to send Notifications.
	AltNotifIpv4Addrs []externalRef2.Ipv4Addr `json:"altNotifIpv4Addrs,omitempty"`

	// AltNotifIpv6Addrs Alternate or backup IPv6 Address(es) where to send Notifications.
	AltNotifIpv6Addrs []externalRef2.Ipv6Addr    `json:"altNotifIpv6Addrs,omitempty"`
	Gpsi              externalRef2.Gpsi          `json:"gpsi,omitempty"`
	GroupIds          []externalRef2.GroupId     `json:"groupIds,omitempty"`
	Guami             *externalRef2.Guami        `json:"guami,omitempty"`
	HPcfId            *externalRef2.NfInstanceId `json:"hPcfId,omitempty"`
	NotificationUri   externalRef2.Uri           `json:"notificationUri"`

	// Pc5Capab Possible values are - LTE_PC5: This value is used to indicate that UE supports PC5 LTE RAT for V2X communication over PC5 reference point. - NR_PC5: This value is used to indicate that UE supports PC5 NR RAT for V2X communication over PC5 reference point. - LTE_NR_PC5: This value is used to indicate that UE supports both PC5 LTE and NR RAT for V2X communication over PC5 reference point..
	Pc5Capab *Pc5Capability        `json:"pc5Capab,omitempty"`
	Pei      externalRef2.Pei      `json:"pei,omitempty"`
	RatType  *externalRef2.RatType `json:"ratType,omitempty"`

	// ServiceName Service names known to NRF
	ServiceName          *externalRef3.ServiceName      `json:"serviceName,omitempty"`
	ServingNfId          *externalRef2.NfInstanceId     `json:"servingNfId,omitempty"`
	ServingPlmn          *externalRef2.PlmnIdNid        `json:"servingPlmn,omitempty"`
	Supi                 externalRef2.Supi              `json:"supi"`
	SuppFeat             externalRef2.SupportedFeatures `json:"suppFeat"`
	TimeZone             *externalRef2.TimeZone         `json:"timeZone,omitempty"`
	UePolReq             *UePolicyRequest               `json:"uePolReq,omitempty"`
	UserLoc              *externalRef2.UserLocation     `json:"userLoc,omitempty"`
	AdditionalProperties map[string]interface{}         `json:"-"`
}

PolicyAssociationRequest defines model for PolicyAssociationRequest.

func (PolicyAssociationRequest) Get

func (a PolicyAssociationRequest) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PolicyAssociationRequest. Returns the specified element and whether it was found

func (PolicyAssociationRequest) MarshalJSON

func (a PolicyAssociationRequest) MarshalJSON() ([]byte, error)

Override default JSON handling for PolicyAssociationRequest to handle AdditionalProperties

func (*PolicyAssociationRequest) Set

func (a *PolicyAssociationRequest) Set(fieldName string, value interface{})

Setter for additional properties for PolicyAssociationRequest

func (*PolicyAssociationRequest) UnmarshalJSON

func (a *PolicyAssociationRequest) UnmarshalJSON(b []byte) error

Override default JSON handling for PolicyAssociationRequest to handle AdditionalProperties

type PolicyAssociationUpdateRequest

type PolicyAssociationUpdateRequest struct {
	// AltNotifFqdns Alternate or backup FQDN(s) where to send Notifications.
	AltNotifFqdns []externalRef3.Fqdn `json:"altNotifFqdns,omitempty"`

	// AltNotifIpv4Addrs Alternate or backup IPv4 Address(es) where to send Notifications.
	AltNotifIpv4Addrs []externalRef2.Ipv4Addr `json:"altNotifIpv4Addrs,omitempty"`

	// AltNotifIpv6Addrs Alternate or backup IPv6 Address(es) where to send Notifications.
	AltNotifIpv6Addrs []externalRef2.Ipv6Addr `json:"altNotifIpv6Addrs,omitempty"`
	ConnectState      *externalRef1.CmState   `json:"connectState,omitempty"`
	GroupIds          []externalRef2.GroupId  `json:"groupIds,omitempty"`
	Guami             *externalRef2.Guami     `json:"guami,omitempty"`
	NotificationUri   *externalRef2.Uri       `json:"notificationUri,omitempty"`
	PlmnId            *externalRef2.PlmnId    `json:"plmnId,omitempty"`

	// PraStatuses Map of PRA status information.
	PraStatuses *map[string]externalRef2.PresenceInfo `json:"praStatuses,omitempty"`
	ServingNfId *externalRef2.NfInstanceId            `json:"servingNfId,omitempty"`

	// Triggers Request Triggers that the NF service consumer observes.
	Triggers             []RequestTrigger                     `json:"triggers,omitempty"`
	UePolDelResult       *UePolicyDeliveryResult              `json:"uePolDelResult,omitempty"`
	UePolReq             *UePolicyRequest                     `json:"uePolReq,omitempty"`
	UePolTransFailNotif  *UePolicyTransferFailureNotification `json:"uePolTransFailNotif,omitempty"`
	UserLoc              *externalRef2.UserLocation           `json:"userLoc,omitempty"`
	AdditionalProperties map[string]interface{}               `json:"-"`
}

PolicyAssociationUpdateRequest defines model for PolicyAssociationUpdateRequest.

func (PolicyAssociationUpdateRequest) Get

func (a PolicyAssociationUpdateRequest) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PolicyAssociationUpdateRequest. Returns the specified element and whether it was found

func (PolicyAssociationUpdateRequest) MarshalJSON

func (a PolicyAssociationUpdateRequest) MarshalJSON() ([]byte, error)

Override default JSON handling for PolicyAssociationUpdateRequest to handle AdditionalProperties

func (*PolicyAssociationUpdateRequest) Set

func (a *PolicyAssociationUpdateRequest) Set(fieldName string, value interface{})

Setter for additional properties for PolicyAssociationUpdateRequest

func (*PolicyAssociationUpdateRequest) UnmarshalJSON

func (a *PolicyAssociationUpdateRequest) UnmarshalJSON(b []byte) error

Override default JSON handling for PolicyAssociationUpdateRequest to handle AdditionalProperties

type PolicyUpdate

type PolicyUpdate struct {
	N2Pc5Pol *externalRef0.N2InfoContent `json:"n2Pc5Pol,omitempty"`

	// Pras Map of PRA information.
	Pras        *map[string]externalRef2.PresenceInfo `json:"pras"`
	ResourceUri externalRef2.Uri                      `json:"resourceUri"`

	// Triggers Request Triggers that the PCF subscribes. Only values "LOC_CH" and "PRA_CH" are permitted.
	Triggers             *[]RequestTrigger      `json:"triggers"`
	UePolicy             *UePolicy              `json:"uePolicy,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PolicyUpdate defines model for PolicyUpdate.

func (PolicyUpdate) Get

func (a PolicyUpdate) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PolicyUpdate. Returns the specified element and whether it was found

func (PolicyUpdate) MarshalJSON

func (a PolicyUpdate) MarshalJSON() ([]byte, error)

Override default JSON handling for PolicyUpdate to handle AdditionalProperties

func (*PolicyUpdate) Set

func (a *PolicyUpdate) Set(fieldName string, value interface{})

Setter for additional properties for PolicyUpdate

func (*PolicyUpdate) UnmarshalJSON

func (a *PolicyUpdate) UnmarshalJSON(b []byte) error

Override default JSON handling for PolicyUpdate to handle AdditionalProperties

type ReadIndividualUEPolicyAssociation200JSONResponse

type ReadIndividualUEPolicyAssociation200JSONResponse PolicyAssociation

func (ReadIndividualUEPolicyAssociation200JSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation200JSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation307JSONResponse

type ReadIndividualUEPolicyAssociation307JSONResponse struct{ externalRef2.N307JSONResponse }

func (ReadIndividualUEPolicyAssociation307JSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation307JSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation308JSONResponse

type ReadIndividualUEPolicyAssociation308JSONResponse struct{ externalRef2.N308JSONResponse }

func (ReadIndividualUEPolicyAssociation308JSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation308JSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse

type ReadIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse struct {
	externalRef2.N400ApplicationProblemPlusJSONResponse
}

func (ReadIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse

type ReadIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse struct {
	externalRef2.N401ApplicationProblemPlusJSONResponse
}

func (ReadIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse

type ReadIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse struct {
	externalRef2.N403ApplicationProblemPlusJSONResponse
}

func (ReadIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse

type ReadIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse struct {
	externalRef2.N404ApplicationProblemPlusJSONResponse
}

func (ReadIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation406Response

type ReadIndividualUEPolicyAssociation406Response externalRef2.N406Response

func (ReadIndividualUEPolicyAssociation406Response) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation406Response) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse

type ReadIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse struct {
	externalRef2.N429ApplicationProblemPlusJSONResponse
}

func (ReadIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse

type ReadIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse struct {
	externalRef2.N500ApplicationProblemPlusJSONResponse
}

func (ReadIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse

type ReadIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse struct {
	externalRef2.N503ApplicationProblemPlusJSONResponse
}

func (ReadIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReadIndividualUEPolicyAssociationRequestObject

type ReadIndividualUEPolicyAssociationRequestObject struct {
	PolAssoId string `json:"polAssoId"`
}

type ReadIndividualUEPolicyAssociationResponse

type ReadIndividualUEPolicyAssociationResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *PolicyAssociation
	JSON307                       *externalRef2.N307
	JSON308                       *externalRef2.N308
	ApplicationproblemJSON400     *externalRef2.N400
	ApplicationproblemJSON401     *externalRef2.N401
	ApplicationproblemJSON403     *externalRef2.N403
	ApplicationproblemJSON404     *externalRef2.N404
	ApplicationproblemJSON429     *externalRef2.N429
	ApplicationproblemJSON500     *externalRef2.N500
	ApplicationproblemJSON503     *externalRef2.N503
	ApplicationproblemJSONDefault *externalRef2.Default
}

func ParseReadIndividualUEPolicyAssociationResponse

func ParseReadIndividualUEPolicyAssociationResponse(rsp *http.Response) (*ReadIndividualUEPolicyAssociationResponse, error)

ParseReadIndividualUEPolicyAssociationResponse parses an HTTP response from a ReadIndividualUEPolicyAssociationWithResponse call

func (ReadIndividualUEPolicyAssociationResponse) Status

Status returns HTTPResponse.Status

func (ReadIndividualUEPolicyAssociationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ReadIndividualUEPolicyAssociationResponseObject

type ReadIndividualUEPolicyAssociationResponseObject interface {
	VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error
}

type ReadIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse

type ReadIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef2.ProblemDetails
	StatusCode int
}

func (ReadIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse

func (response ReadIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse) VisitReadIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation200JSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation200JSONResponse PolicyUpdate

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation200JSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation200JSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation307JSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation307JSONResponse struct{ externalRef2.N307JSONResponse }

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation307JSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation307JSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation308JSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation308JSONResponse struct{ externalRef2.N308JSONResponse }

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation308JSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation308JSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse struct {
	externalRef2.N400ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation400ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse struct {
	externalRef2.N401ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation401ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse struct {
	externalRef2.N403ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation403ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse struct {
	externalRef2.N404ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation404ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation411ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation411ApplicationProblemPlusJSONResponse struct {
	externalRef2.N411ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation411ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation411ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation413ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation413ApplicationProblemPlusJSONResponse struct {
	externalRef2.N413ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation413ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation413ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation415ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation415ApplicationProblemPlusJSONResponse struct {
	externalRef2.N415ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation415ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation415ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse struct {
	externalRef2.N429ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation429ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse struct {
	externalRef2.N500ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation500ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse struct {
	externalRef2.N503ApplicationProblemPlusJSONResponse
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociation503ApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type ReportObservedEventTriggersForIndividualUEPolicyAssociationJSONRequestBody

type ReportObservedEventTriggersForIndividualUEPolicyAssociationJSONRequestBody = PolicyAssociationUpdateRequest

ReportObservedEventTriggersForIndividualUEPolicyAssociationJSONRequestBody defines body for ReportObservedEventTriggersForIndividualUEPolicyAssociation for application/json ContentType.

type ReportObservedEventTriggersForIndividualUEPolicyAssociationRequestObject

type ReportObservedEventTriggersForIndividualUEPolicyAssociationRequestObject struct {
	PolAssoId string `json:"polAssoId"`
	Body      *ReportObservedEventTriggersForIndividualUEPolicyAssociationJSONRequestBody
}

type ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *PolicyUpdate
	JSON307                       *externalRef2.N307
	JSON308                       *externalRef2.N308
	ApplicationproblemJSON400     *externalRef2.N400
	ApplicationproblemJSON401     *externalRef2.N401
	ApplicationproblemJSON403     *externalRef2.N403
	ApplicationproblemJSON404     *externalRef2.N404
	ApplicationproblemJSON411     *externalRef2.N411
	ApplicationproblemJSON413     *externalRef2.N413
	ApplicationproblemJSON415     *externalRef2.N415
	ApplicationproblemJSON429     *externalRef2.N429
	ApplicationproblemJSON500     *externalRef2.N500
	ApplicationproblemJSON503     *externalRef2.N503
	ApplicationproblemJSONDefault *externalRef2.Default
}

func ParseReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func ParseReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(rsp *http.Response) (*ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse, error)

ParseReportObservedEventTriggersForIndividualUEPolicyAssociationResponse parses an HTTP response from a ReportObservedEventTriggersForIndividualUEPolicyAssociationWithResponse call

func (ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse) Status

Status returns HTTPResponse.Status

func (ReportObservedEventTriggersForIndividualUEPolicyAssociationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ReportObservedEventTriggersForIndividualUEPolicyAssociationResponseObject

type ReportObservedEventTriggersForIndividualUEPolicyAssociationResponseObject interface {
	VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error
}

type ReportObservedEventTriggersForIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse

type ReportObservedEventTriggersForIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef2.ProblemDetails
	StatusCode int
}

func (ReportObservedEventTriggersForIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse

func (response ReportObservedEventTriggersForIndividualUEPolicyAssociationdefaultApplicationProblemPlusJSONResponse) VisitReportObservedEventTriggersForIndividualUEPolicyAssociationResponse(w http.ResponseWriter) error

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestTrigger

type RequestTrigger string

RequestTrigger Possible values are - LOC_CH: Location change (tracking area). The tracking area of the UE has changed. - PRA_CH: Change of UE presence in PRA. The AMF reports the current presence status of the UE in a Presence Reporting Area, and notifies that the UE enters/leaves the Presence Reporting Area. - UE_POLICY: A MANAGE UE POLICY COMPLETE message or a MANAGE UE POLICY COMMAND REJECT message, as defined in Annex D.5 of 3GPP TS 24.501 or a "UE POLICY PROVISIONING REQUEST" message, as defined in subclause 7.2.1.1 of 3GPP TS 24.587 , has been received by the AMF and is being forwarded. - PLMN_CH: PLMN change. the serving PLMN of UE has changed. - CON_STATE_CH: Connectivity state change: the connectivity state of UE has changed. - GROUP_ID_LIST_CHG: UE Internal Group Identifier(s) has changed. This event does not require a subscription

const (
	CONSTATECH     RequestTrigger = "CON_STATE_CH"
	GROUPIDLISTCHG RequestTrigger = "GROUP_ID_LIST_CHG"
	LOCCH          RequestTrigger = "LOC_CH"
	PLMNCH         RequestTrigger = "PLMN_CH"
	PRACH          RequestTrigger = "PRA_CH"
	UEPOLICY       RequestTrigger = "UE_POLICY"
)

Defines values for RequestTrigger.

type ServerInterface

type ServerInterface interface {
	// Create individual UE policy association.
	// (POST /policies)
	CreateIndividualUEPolicyAssociation(c *gin.Context)
	// Delete individual UE policy association.
	// (DELETE /policies/{polAssoId})
	DeleteIndividualUEPolicyAssociation(c *gin.Context, polAssoId string)
	// Read individual UE policy association.
	// (GET /policies/{polAssoId})
	ReadIndividualUEPolicyAssociation(c *gin.Context, polAssoId string)
	// Report observed event triggers and possibly obtain updated policies for an individual UE policy association.
	// (POST /policies/{polAssoId}/update)
	ReportObservedEventTriggersForIndividualUEPolicyAssociation(c *gin.Context, polAssoId string)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandler       func(*gin.Context, error, int)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) CreateIndividualUEPolicyAssociation

func (siw *ServerInterfaceWrapper) CreateIndividualUEPolicyAssociation(c *gin.Context)

CreateIndividualUEPolicyAssociation operation middleware

func (*ServerInterfaceWrapper) DeleteIndividualUEPolicyAssociation

func (siw *ServerInterfaceWrapper) DeleteIndividualUEPolicyAssociation(c *gin.Context)

DeleteIndividualUEPolicyAssociation operation middleware

func (*ServerInterfaceWrapper) ReadIndividualUEPolicyAssociation

func (siw *ServerInterfaceWrapper) ReadIndividualUEPolicyAssociation(c *gin.Context)

ReadIndividualUEPolicyAssociation operation middleware

func (*ServerInterfaceWrapper) ReportObservedEventTriggersForIndividualUEPolicyAssociation

func (siw *ServerInterfaceWrapper) ReportObservedEventTriggersForIndividualUEPolicyAssociation(c *gin.Context)

ReportObservedEventTriggersForIndividualUEPolicyAssociation operation middleware

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Create individual UE policy association.
	// (POST /policies)
	CreateIndividualUEPolicyAssociation(ctx context.Context, request CreateIndividualUEPolicyAssociationRequestObject) (CreateIndividualUEPolicyAssociationResponseObject, error)
	// Delete individual UE policy association.
	// (DELETE /policies/{polAssoId})
	DeleteIndividualUEPolicyAssociation(ctx context.Context, request DeleteIndividualUEPolicyAssociationRequestObject) (DeleteIndividualUEPolicyAssociationResponseObject, error)
	// Read individual UE policy association.
	// (GET /policies/{polAssoId})
	ReadIndividualUEPolicyAssociation(ctx context.Context, request ReadIndividualUEPolicyAssociationRequestObject) (ReadIndividualUEPolicyAssociationResponseObject, error)
	// Report observed event triggers and possibly obtain updated policies for an individual UE policy association.
	// (POST /policies/{polAssoId}/update)
	ReportObservedEventTriggersForIndividualUEPolicyAssociation(ctx context.Context, request ReportObservedEventTriggersForIndividualUEPolicyAssociationRequestObject) (ReportObservedEventTriggersForIndividualUEPolicyAssociationResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TerminationNotification

type TerminationNotification struct {
	// Cause Possible values are - UNSPECIFIED: This value is used for unspecified reasons. - UE_SUBSCRIPTION: This value is used to indicate that the policy association needs to be terminated because the subscription of UE has changed (e.g. was removed). - INSUFFICIENT_RES: This value is used to indicate that the server is overloaded and needs to abort the policy association.
	Cause                PolicyAssociationReleaseCause `json:"cause"`
	ResourceUri          externalRef2.Uri              `json:"resourceUri"`
	AdditionalProperties map[string]interface{}        `json:"-"`
}

TerminationNotification defines model for TerminationNotification.

func (TerminationNotification) Get

func (a TerminationNotification) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TerminationNotification. Returns the specified element and whether it was found

func (TerminationNotification) MarshalJSON

func (a TerminationNotification) MarshalJSON() ([]byte, error)

Override default JSON handling for TerminationNotification to handle AdditionalProperties

func (*TerminationNotification) Set

func (a *TerminationNotification) Set(fieldName string, value interface{})

Setter for additional properties for TerminationNotification

func (*TerminationNotification) UnmarshalJSON

func (a *TerminationNotification) UnmarshalJSON(b []byte) error

Override default JSON handling for TerminationNotification to handle AdditionalProperties

type UePolicy

type UePolicy = externalRef2.Bytes

UePolicy defines model for UePolicy.

type UePolicyDeliveryResult

type UePolicyDeliveryResult = externalRef2.Bytes

UePolicyDeliveryResult defines model for UePolicyDeliveryResult.

type UePolicyRequest

type UePolicyRequest = externalRef2.Bytes

UePolicyRequest defines model for UePolicyRequest.

type UePolicyTransferFailureNotification

type UePolicyTransferFailureNotification struct {
	Cause                externalRef0.N1N2MessageTransferCause `json:"cause"`
	Ptis                 []externalRef2.Uinteger               `json:"ptis"`
	AdditionalProperties map[string]interface{}                `json:"-"`
}

UePolicyTransferFailureNotification defines model for UePolicyTransferFailureNotification.

func (UePolicyTransferFailureNotification) Get

func (a UePolicyTransferFailureNotification) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for UePolicyTransferFailureNotification. Returns the specified element and whether it was found

func (UePolicyTransferFailureNotification) MarshalJSON

func (a UePolicyTransferFailureNotification) MarshalJSON() ([]byte, error)

Override default JSON handling for UePolicyTransferFailureNotification to handle AdditionalProperties

func (*UePolicyTransferFailureNotification) Set

func (a *UePolicyTransferFailureNotification) Set(fieldName string, value interface{})

Setter for additional properties for UePolicyTransferFailureNotification

func (*UePolicyTransferFailureNotification) UnmarshalJSON

func (a *UePolicyTransferFailureNotification) UnmarshalJSON(b []byte) error

Override default JSON handling for UePolicyTransferFailureNotification to handle AdditionalProperties

Jump to

Keyboard shortcuts

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