swagger

package
v0.0.0-...-52242d9 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: MIT Imports: 21 Imported by: 0

README

Go API client for swagger

Other functions needed by anyone using the platform

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 5.2
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://virtserver.swaggerhub.com/ndid/utility/0.1

Class Method HTTP request Description
DefaultApi GetAsIdList Get /utility/as/{service_id} Retrieve list of id of all available as given a service id
DefaultApi GetIdpList Get /utility/idp Retrieve all IdP nodes
DefaultApi GetIdpListForIdentifier Get /utility/idp/{namespace}/{identifier} Retrieve all IdP nodes relevant to/authorized by/have onboarded this {namespace}/{identifier}.
DefaultApi GetMessage Get /utility/messages/{message_id} Fetch Message info
DefaultApi GetRequestStatus Get /utility/requests/{request_id} Fetch Request info and status
DefaultApi GetRequestTypeList Get /utility/request_types Get all valid request types
DefaultApi GetSuppressedIdentityModificationNotificationNodeIdList Get /utility/suppressed_identity_modification_notification_node_ids Get all suppressed identity modification notification node ID list
DefaultApi GetSuppressedIdentityModificationNotificationStatus Get /utility/suppressed_identity_modification_notification_node_ids/{node_id} Get suppressed identity modification notification status
DefaultApi UtilityAsErrorCodesGet Get /utility/as_error_codes Retrieve list of all AS error codes
DefaultApi UtilityAsServicePriceServiceIdGet Get /utility/as/service_price/{service_id} Retrieve AS fee of a specific service_id
DefaultApi UtilityIdpErrorCodesGet Get /utility/idp_error_codes Retrieve list of all IdP error codes
DefaultApi UtilityNamespacesGet Get /utility/namespaces Retrieve list of all available namespaces
DefaultApi UtilityNodesNodeIdGet Get /utility/nodes/{node_id} Retrieve information of node ID
DefaultApi UtilityNodesNodeIdTokenGet Get /utility/nodes/{node_id}/token Retrieve available token for node ID
DefaultApi UtilityPrivateMessageRemovalPost Post /utility/private_message_removal Remove all messages from MQ
DefaultApi UtilityPrivateMessageRemovalRequestIdPost Post /utility/private_message_removal/{request_id} Remove messages from MQ
DefaultApi UtilityPrivateMessagesRequestIdGet Get /utility/private_messages/{request_id} Get messages from MQ
DefaultApi UtilityServicePriceCeilingGet Get /utility/service_price_ceiling Get maximum price allowed for AS pricing
DefaultApi UtilityServicePriceMinEffectiveDatetimeDelayGet Get /utility/service_price_min_effective_datetime_delay Get service price minimum effective datetime delay
DefaultApi UtilityServicesGet Get /utility/services Retrieve list of all available services
DefaultApi UtilityServicesServiceIdGet Get /utility/services/{service_id} Retrieve service details

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Documentation

Overview

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

* Platform Utility function * * Other functions needed by anyone using the platform * * API version: 5.2 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	DefaultApi *DefaultApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Platform Utility function API v5.2 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type As

type As struct {
	NodeId                 string   `json:"node_id"`
	NodeName               string   `json:"node_name"`
	MinIal                 float64  `json:"min_ial"`
	MinAal                 float64  `json:"min_aal"`
	SupportedNamespaceList []string `json:"supported_namespace_list"`
}

type AsPriceInner

type AsPriceInner struct {
	NodeId    string        `json:"node_id"`
	PriceList []interface{} `json:"price_list"`
}

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

type DefaultApiGetIdpListForIdentifierOpts

type DefaultApiGetIdpListForIdentifierOpts struct {
	MinIal          optional.Float64
	MinAal          optional.Float64
	OnTheFlySupport optional.Bool
	Mode            optional.Float64
	FilterForNodeId optional.String
}

type DefaultApiGetIdpListOpts

type DefaultApiGetIdpListOpts struct {
	MinIal          optional.Float64
	MinAal          optional.Float64
	Agent           optional.Bool
	OnTheFlySupport optional.Bool
	FilterForNodeId optional.String
}

type DefaultApiGetSuppressedIdentityModificationNotificationNodeIdListOpts

type DefaultApiGetSuppressedIdentityModificationNotificationNodeIdListOpts struct {
	Prefix optional.String
}

type DefaultApiService

type DefaultApiService service

func (*DefaultApiService) GetAsIdList

func (a *DefaultApiService) GetAsIdList(ctx context.Context, serviceId string) ([]As, *http.Response, error)

DefaultApiService Retrieve list of id of all available as given a service id

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param serviceId Service ID

@return []As

func (*DefaultApiService) GetIdpList

func (a *DefaultApiService) GetIdpList(ctx context.Context, localVarOptionals *DefaultApiGetIdpListOpts) ([]Idp, *http.Response, error)

func (*DefaultApiService) GetIdpListForIdentifier

func (a *DefaultApiService) GetIdpListForIdentifier(ctx context.Context, namespace string, identifier string, localVarOptionals *DefaultApiGetIdpListForIdentifierOpts) ([]IdpForIdentity, *http.Response, error)

func (*DefaultApiService) GetMessage

func (a *DefaultApiService) GetMessage(ctx context.Context, messageId string) (Message, *http.Response, error)

DefaultApiService Fetch Message info Fetch Message info

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param messageId message ID

@return Message

func (*DefaultApiService) GetRequestStatus

func (a *DefaultApiService) GetRequestStatus(ctx context.Context, requestId string) (RequestsStatus, *http.Response, error)

DefaultApiService Fetch Request info and status Fetch Request info and status

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param requestId request ID

@return RequestsStatus

func (*DefaultApiService) GetRequestTypeList

func (a *DefaultApiService) GetRequestTypeList(ctx context.Context) ([]string, *http.Response, error)

DefaultApiService Get all valid request types Get all valid request types

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []string

func (*DefaultApiService) GetSuppressedIdentityModificationNotificationNodeIdList

func (a *DefaultApiService) GetSuppressedIdentityModificationNotificationNodeIdList(ctx context.Context, localVarOptionals *DefaultApiGetSuppressedIdentityModificationNotificationNodeIdListOpts) ([]string, *http.Response, error)

func (*DefaultApiService) GetSuppressedIdentityModificationNotificationStatus

func (a *DefaultApiService) GetSuppressedIdentityModificationNotificationStatus(ctx context.Context, nodeId string) (InlineResponse2006, *http.Response, error)

DefaultApiService Get suppressed identity modification notification status Get suppressed identity modification notification status by node ID

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nodeId Node ID

@return InlineResponse2006

func (*DefaultApiService) UtilityAsErrorCodesGet

func (a *DefaultApiService) UtilityAsErrorCodesGet(ctx context.Context) ([]InlineResponse2004, *http.Response, error)

DefaultApiService Retrieve list of all AS error codes

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []InlineResponse2004

func (*DefaultApiService) UtilityAsServicePriceServiceIdGet

func (a *DefaultApiService) UtilityAsServicePriceServiceIdGet(ctx context.Context, serviceId string, localVarOptionals *DefaultApiUtilityAsServicePriceServiceIdGetOpts) ([]AsPriceInner, *http.Response, error)

func (*DefaultApiService) UtilityIdpErrorCodesGet

func (a *DefaultApiService) UtilityIdpErrorCodesGet(ctx context.Context) ([]InlineResponse2004, *http.Response, error)

DefaultApiService Retrieve list of all IdP error codes

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []InlineResponse2004

func (*DefaultApiService) UtilityNamespacesGet

func (a *DefaultApiService) UtilityNamespacesGet(ctx context.Context) ([]InlineResponse2001, *http.Response, error)

DefaultApiService Retrieve list of all available namespaces

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []InlineResponse2001

func (*DefaultApiService) UtilityNodesNodeIdGet

func (a *DefaultApiService) UtilityNodesNodeIdGet(ctx context.Context, nodeId string) (NodeInfo, *http.Response, error)

DefaultApiService Retrieve information of node ID

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nodeId Node ID

@return NodeInfo

func (*DefaultApiService) UtilityNodesNodeIdTokenGet

func (a *DefaultApiService) UtilityNodesNodeIdTokenGet(ctx context.Context, nodeId string) (InlineResponse200, *http.Response, error)

DefaultApiService Retrieve available token for node ID

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param nodeId Node ID

@return InlineResponse200

func (*DefaultApiService) UtilityPrivateMessageRemovalPost

func (a *DefaultApiService) UtilityPrivateMessageRemovalPost(ctx context.Context, localVarOptionals *DefaultApiUtilityPrivateMessageRemovalPostOpts) (*http.Response, error)

func (*DefaultApiService) UtilityPrivateMessageRemovalRequestIdPost

func (a *DefaultApiService) UtilityPrivateMessageRemovalRequestIdPost(ctx context.Context, requestId string, localVarOptionals *DefaultApiUtilityPrivateMessageRemovalRequestIdPostOpts) (*http.Response, error)

func (*DefaultApiService) UtilityPrivateMessagesRequestIdGet

func (a *DefaultApiService) UtilityPrivateMessagesRequestIdGet(ctx context.Context, requestId string, localVarOptionals *DefaultApiUtilityPrivateMessagesRequestIdGetOpts) (InlineResponse2005, *http.Response, error)

func (*DefaultApiService) UtilityServicePriceCeilingGet

func (a *DefaultApiService) UtilityServicePriceCeilingGet(ctx context.Context, serviceId string) (PriceCeiling, *http.Response, error)

DefaultApiService Get maximum price allowed for AS pricing

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param serviceId Service ID

@return PriceCeiling

func (*DefaultApiService) UtilityServicesGet

func (a *DefaultApiService) UtilityServicesGet(ctx context.Context) ([]InlineResponse2002, *http.Response, error)

DefaultApiService Retrieve list of all available services

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []InlineResponse2002

func (*DefaultApiService) UtilityServicesServiceIdGet

func (a *DefaultApiService) UtilityServicesServiceIdGet(ctx context.Context, serviceId string) (InlineResponse2003, *http.Response, error)

DefaultApiService Retrieve service details

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param serviceId Service ID

@return InlineResponse2003

type DefaultApiUtilityAsServicePriceServiceIdGetOpts

type DefaultApiUtilityAsServicePriceServiceIdGetOpts struct {
	NodeId optional.String
}

type DefaultApiUtilityPrivateMessageRemovalPostOpts

type DefaultApiUtilityPrivateMessageRemovalPostOpts struct {
	Body optional.Interface
}

type DefaultApiUtilityPrivateMessageRemovalRequestIdPostOpts

type DefaultApiUtilityPrivateMessageRemovalRequestIdPostOpts struct {
	Body optional.Interface
}

type DefaultApiUtilityPrivateMessagesRequestIdGetOpts

type DefaultApiUtilityPrivateMessagesRequestIdGetOpts struct {
	NodeId optional.String
}

type DefaultApiUtilityServicePriceMinEffectiveDatetimeDelayGetOpts

type DefaultApiUtilityServicePriceMinEffectiveDatetimeDelayGetOpts struct {
	ServiceId optional.String
}

type ErrorError

type ErrorError struct {
	Code    float64 `json:"code,omitempty"`
	Message string  `json:"message,omitempty"`
}

type GenericSwaggerError

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

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type Idp

type Idp struct {
	NodeId          string  `json:"node_id"`
	NodeName        string  `json:"node_name"`
	MaxIal          float64 `json:"max_ial"`
	MaxAal          float64 `json:"max_aal"`
	OnTheFlySupport bool    `json:"on_the_fly_support,omitempty"`
	// IdP supported request message MIME types
	SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"`
	Agent                                  bool     `json:"agent"`
}

type IdpForIdentity

type IdpForIdentity struct {
	NodeId          string  `json:"node_id"`
	NodeName        string  `json:"node_name"`
	MaxIal          float64 `json:"max_ial"`
	MaxAal          float64 `json:"max_aal"`
	OnTheFlySupport bool    `json:"on_the_fly_support,omitempty"`
	// IdP supported request message MIME types
	SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list"`
	Agent                                  bool     `json:"agent"`
	ModeList                               []int32  `json:"mode_list"`
	Ial                                    float64  `json:"ial"`
	Lial                                   bool     `json:"lial,omitempty"`
	Laal                                   bool     `json:"laal,omitempty"`
}

type InboundPrivateMessageInner

type InboundPrivateMessageInner struct {
	Message           *interface{} `json:"message"`
	Direction         string       `json:"direction"`
	Source            *interface{} `json:"source"`
	Signature         string       `json:"signature"`
	SignatureForProxy string       `json:"signature_for_proxy,omitempty"`
	Timestamp         float64      `json:"timestamp"`
}

type InlineResponse200

type InlineResponse200 struct {
	Amount int32 `json:"amount"`
}

type InlineResponse2001

type InlineResponse2001 struct {
	Namespace                                    string `json:"namespace"`
	Description                                  string `json:"description,omitempty"`
	Active                                       bool   `json:"active"`
	AllowedIdentifierCountInReferenceGroup       int32  `json:"allowed_identifier_count_in_reference_group,omitempty"`
	AllowedActiveIdentifierCountInReferenceGroup int32  `json:"allowed_active_identifier_count_in_reference_group,omitempty"`
}

type InlineResponse2002

type InlineResponse2002 struct {
	ServiceId   string `json:"service_id"`
	ServiceName string `json:"service_name"`
	Active      bool   `json:"active"`
}

type InlineResponse2003

type InlineResponse2003 struct {
	ServiceId         string `json:"service_id"`
	ServiceName       string `json:"service_name"`
	DataSchema        string `json:"data_schema,omitempty"`
	DataSchemaVersion string `json:"data_schema_version,omitempty"`
	Active            bool   `json:"active"`
}

type InlineResponse2004

type InlineResponse2004 struct {
	ErrorCode   float64 `json:"error_code"`
	Description string  `json:"description"`
}

type InlineResponse2005

type InlineResponse2005 struct {
	InboundPrivateMessage
	OutboundPrivateMessage
}

type InlineResponse2006

type InlineResponse2006 struct {
	Suppressed bool `json:"suppressed"`
}

type Message

type Message struct {
	MessageId       string `json:"message_id,omitempty"`
	RequesterNodeId string `json:"requester_node_id"`
	Message         string `json:"message"`
	Purpose         string `json:"purpose"`
	// <CHAIN_ID>:<BLOCK_HEIGHT>
	CreationBlockHeight string `json:"creation_block_height"`
}

type ModelError

type ModelError struct {
	Error_ *ErrorError `json:"error,omitempty"`
}

type NodeInfo

type NodeInfo struct {
	PublicKey       string `json:"public_key"`
	MasterPublicKey string `json:"master_public_key"`
	NodeName        string `json:"node_name"`
	Role            string `json:"role"`
	// Available when node's role is IdP
	MaxIal float64 `json:"max_ial,omitempty"`
	// Available when node's role is IdP
	MaxAal float64 `json:"max_aal,omitempty"`
	// Available when node's role is IdP
	OnTheFlySupport bool `json:"on_the_fly_support,omitempty"`
	// Present only on IdP nodes. Supported request message MIME types.
	SupportedRequestMessageDataUrlTypeList []string `json:"supported_request_message_data_url_type_list,omitempty"`
	// Present only on IdP nodes
	Agent bool `json:"agent,omitempty"`
	// Present only on RP and IdP nodes
	NodeIdWhitelist []string `json:"node_id_whitelist,omitempty"`
	// Present only on RP and IdP nodes
	NodeIdWhitelistActive bool           `json:"node_id_whitelist_active,omitempty"`
	Mq                    []NodeInfoMq   `json:"mq,omitempty"`
	Proxy                 *NodeInfoProxy `json:"proxy,omitempty"`
	Active                bool           `json:"active"`
}

type NodeInfoMq

type NodeInfoMq struct {
	Ip   string  `json:"ip,omitempty"`
	Port float64 `json:"port,omitempty"`
}

type NodeInfoProxy

type NodeInfoProxy struct {
	NodeId          string      `json:"node_id"`
	NodeName        string      `json:"node_name"`
	PublicKey       string      `json:"public_key"`
	MasterPublicKey string      `json:"master_public_key"`
	Mq              *NodeInfoMq `json:"mq,omitempty"`
	Config          string      `json:"config"`
}

type OutboundPrivateMessageInner

type OutboundPrivateMessageInner struct {
	Message      string        `json:"message"`
	Direction    string        `json:"direction"`
	Destinations []interface{} `json:"destinations"`
	Timestamp    float64       `json:"timestamp"`
}

type PriceCeiling

type PriceCeiling struct {
	ServiceId                  string                                   `json:"service_id"`
	PriceCeilingByCurrencyList []PriceCeilingPriceCeilingByCurrencyList `json:"price_ceiling_by_currency_list"`
}

type PriceCeilingPriceCeilingByCurrencyList

type PriceCeilingPriceCeilingByCurrencyList struct {
	Currency string  `json:"currency"`
	Price    float64 `json:"price"`
}

type PriceMinEffectiveDatetimeDelay

type PriceMinEffectiveDatetimeDelay struct {
	DurationSecond float64 `json:"duration_second"`
}

type RequestsStatus

type RequestsStatus struct {
	RequestId          string                          `json:"request_id"`
	RequesterNodeId    string                          `json:"requester_node_id"`
	Mode               int32                           `json:"mode"`
	RequestMessageHash string                          `json:"request_message_hash"`
	MinIal             float64                         `json:"min_ial"`
	MinAal             float64                         `json:"min_aal"`
	MinIdp             int32                           `json:"min_idp"`
	IdpIdList          []string                        `json:"idp_id_list"`
	ResponseList       []RequestsStatusResponseList    `json:"response_list"`
	DataRequestList    []RequestsStatusDataRequestList `json:"data_request_list"`
	RequestTimeout     int32                           `json:"request_timeout"`
	TimedOut           bool                            `json:"timed_out"`
	Closed             bool                            `json:"closed"`
	RequestType        string                          `json:"request_type,omitempty"`
	Status             string                          `json:"status"`
	// <CHAIN_ID>:<BLOCK_HEIGHT>
	CreationBlockHeight string `json:"creation_block_height"`
}

type RequestsStatusDataRequestList

type RequestsStatusDataRequestList struct {
	ServiceId         string                        `json:"service_id"`
	AsIdList          []string                      `json:"as_id_list"`
	MinAs             int32                         `json:"min_as"`
	RequestParamsHash string                        `json:"request_params_hash"`
	ResponseList      []RequestsStatusResponseList1 `json:"response_list,omitempty"`
}

type RequestsStatusResponseList

type RequestsStatusResponseList struct {
	Ial       float64 `json:"ial,omitempty"`
	Aal       float64 `json:"aal,omitempty"`
	Status    string  `json:"status,omitempty"`
	ErrorCode float64 `json:"error_code,omitempty"`
	Signature string  `json:"signature,omitempty"`
	IdpId     string  `json:"idp_id"`
	// Whether response signature is correct
	ValidSignature bool `json:"valid_signature,omitempty"`
	// Whether response IAL is less than or equal to identity IAL
	ValidIal bool `json:"valid_ial,omitempty"`
}

type RequestsStatusResponseList1

type RequestsStatusResponseList1 struct {
	AsId         string  `json:"as_id"`
	Signed       bool    `json:"signed,omitempty"`
	ReceivedData bool    `json:"received_data,omitempty"`
	ErrorCode    float64 `json:"error_code,omitempty"`
}

Jump to

Keyboard shortcuts

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