Add generated code
[nonrtric/plt/sme.git] / internal / routinginfoapi / routinginfoapi-types.gen.go
1 // Package routinginfoapi provides primitives to interact with the openapi HTTP API.
2 //
3 // Code generated by github.com/deepmap/oapi-codegen version v1.10.1 DO NOT EDIT.
4 package routinginfoapi
5
6 import (
7         externalRef0 "oransc.org/nonrtric/sme/internal/common"
8         externalRef1 "oransc.org/nonrtric/sme/internal/common29122"
9         externalRef2 "oransc.org/nonrtric/sme/internal/common29571"
10         externalRef3 "oransc.org/nonrtric/sme/internal/publishserviceapi"
11 )
12
13 // Represents IPv6 address range.
14 type Ipv6AddressRange struct {
15         // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used.
16         End externalRef1.Ipv6Addr `json:"end"`
17
18         // string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used.
19         Start externalRef1.Ipv6Addr `json:"start"`
20 }
21
22 // Represents an API routing information.
23 type RoutingInfo struct {
24         RoutingRules []RoutingRule `json:"routingRules"`
25 }
26
27 // Represents an API routing rule.
28 type RoutingRule struct {
29         // Represents the AEF profile data.
30         AefProfile     externalRef3.AefProfile          `json:"aefProfile"`
31         Ipv4AddrRanges *[]externalRef0.Ipv4AddressRange `json:"ipv4AddrRanges,omitempty"`
32         Ipv6AddrRanges *[]Ipv6AddressRange              `json:"ipv6AddrRanges,omitempty"`
33 }
34
35 // GetServiceApisServiceApiIdParams defines parameters for GetServiceApisServiceApiId.
36 type GetServiceApisServiceApiIdParams struct {
37         // Identifier of the AEF
38         AefId string `json:"aef-id"`
39
40         // To filter irrelevant responses related to unsupported features
41         SuppFeat *externalRef2.SupportedFeatures `json:"supp-feat,omitempty"`
42 }