models

package
v0.0.0-...-b3f093e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// IntakeBodyFormatJSON captures enum value "JSON"
	IntakeBodyFormatJSON string = "JSON"

	// IntakeBodyFormatXML captures enum value "XML"
	IntakeBodyFormatXML string = "XML"
)
View Source
const (

	// IntakeInputBodyFormatJSON captures enum value "JSON"
	IntakeInputBodyFormatJSON string = "JSON"

	// IntakeInputBodyFormatXML captures enum value "XML"
	IntakeInputBodyFormatXML string = "XML"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheckResponse

type HealthCheckResponse struct {

	// datetime
	// Required: true
	Datetime *string `json:"datetime"`

	// status
	// Required: true
	Status *string `json:"status"`

	// timestamp
	// Required: true
	Timestamp *string `json:"timestamp"`

	// version
	// Required: true
	Version *string `json:"version"`
}

HealthCheckResponse health check response

swagger:model HealthCheckResponse

func (*HealthCheckResponse) ContextValidate

func (m *HealthCheckResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this health check response based on context it is used

func (*HealthCheckResponse) MarshalBinary

func (m *HealthCheckResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HealthCheckResponse) UnmarshalBinary

func (m *HealthCheckResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HealthCheckResponse) Validate

func (m *HealthCheckResponse) Validate(formats strfmt.Registry) error

Validate validates this health check response

type Intake

type Intake struct {

	// body
	// Required: true
	Body *string `json:"body"`

	// body format
	// Required: true
	// Enum: [JSON XML]
	BodyFormat *string `json:"bodyFormat"`

	// cedar created date
	// Required: true
	// Format: date-time
	CedarCreatedDate *strfmt.DateTime `json:"cedarCreatedDate"`

	// cedar Id
	// Required: true
	CedarID *string `json:"cedarId"`

	// cedar last updated date
	// Format: date-time
	CedarLastUpdatedDate strfmt.DateTime `json:"cedarLastUpdatedDate,omitempty"`

	// cedar status
	// Required: true
	CedarStatus *string `json:"cedarStatus"`

	// cedar status message
	CedarStatusMessage string `json:"cedarStatusMessage,omitempty"`

	// client created date
	// Required: true
	// Format: date-time
	ClientCreatedDate *strfmt.DateTime `json:"clientCreatedDate"`

	// client Id
	// Required: true
	ClientID *string `json:"clientId"`

	// client last updated date
	// Format: date-time
	ClientLastUpdatedDate strfmt.DateTime `json:"clientLastUpdatedDate,omitempty"`

	// client status
	// Required: true
	ClientStatus *string `json:"clientStatus"`

	// schema
	// Required: true
	Schema *string `json:"schema"`

	// type
	// Required: true
	Type *string `json:"type"`

	// version
	// Required: true
	Version *string `json:"version"`
}

Intake intake

swagger:model Intake

func (*Intake) ContextValidate

func (m *Intake) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this intake based on context it is used

func (*Intake) MarshalBinary

func (m *Intake) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Intake) UnmarshalBinary

func (m *Intake) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Intake) Validate

func (m *Intake) Validate(formats strfmt.Registry) error

Validate validates this intake

type IntakeInput

type IntakeInput struct {

	// The encoded, string representation of the object being transmitted
	// Required: true
	Body *string `json:"body"`

	// body format
	// Required: true
	// Enum: [JSON XML]
	BodyFormat *string `json:"bodyFormat"`

	// Creation date associated with the object being transmitted
	// Required: true
	// Format: date-time
	ClientCreatedDate *strfmt.DateTime `json:"clientCreatedDate"`

	// Unqiue ID associated with the object in body
	// Required: true
	ClientID *string `json:"clientId"`

	// Last update date associated with the object being transmitted
	// Format: date-time
	ClientLastUpdatedDate *strfmt.DateTime `json:"clientLastUpdatedDate,omitempty"`

	// Client's status associated with the object being transmitted, i.e. Initiated, Final, etc.
	// Required: true
	ClientStatus *string `json:"clientStatus"`

	// The name and version of the schema associated with the object being transmitted, i.e. SystemIntake_v01
	// Required: true
	Schema *string `json:"schema"`

	// The type of object being transmitted, i.e. SystemIntake, BusinessCase, etc
	// Required: true
	Type *string `json:"type"`

	// The version associated with the object in the body. This value can be incremented in the event a transaction needs to be resubmitted.
	// Required: true
	Version *string `json:"version"`
}

IntakeInput intake input

swagger:model IntakeInput

func (*IntakeInput) ContextValidate

func (m *IntakeInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this intake input based on context it is used

func (*IntakeInput) MarshalBinary

func (m *IntakeInput) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntakeInput) UnmarshalBinary

func (m *IntakeInput) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntakeInput) Validate

func (m *IntakeInput) Validate(formats strfmt.Registry) error

Validate validates this intake input

type IntakeStatus

type IntakeStatus struct {

	// Unqiue ID associated with the object in body
	// Required: true
	CedarID *string `json:"cedarId"`

	// CEDAR status describing the outcome of parsing, validation, and mapping of the payload
	// Required: true
	CedarStatus *string `json:"cedarStatus"`

	// Message related to errors with the parsing, validation, and mapping of the payload (if applicable)
	CedarStatusMessage string `json:"cedarStatusMessage,omitempty"`

	// Unique ID assigned by CEDAR
	// Required: true
	ClientID *string `json:"clientId"`

	// The version associated with the object in the body. This value can be incremented in the event a transaction needs to be resubmitted.
	Version string `json:"version,omitempty"`
}

IntakeStatus intake status

swagger:model IntakeStatus

func (*IntakeStatus) ContextValidate

func (m *IntakeStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this intake status based on context it is used

func (*IntakeStatus) MarshalBinary

func (m *IntakeStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntakeStatus) UnmarshalBinary

func (m *IntakeStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntakeStatus) Validate

func (m *IntakeStatus) Validate(formats strfmt.Registry) error

Validate validates this intake status

type IntakeStatusResponse

type IntakeStatusResponse struct {

	// statuses
	Statuses []*IntakeStatus `json:"Statuses"`

	// count
	// Required: true
	Count *int32 `json:"count"`
}

IntakeStatusResponse intake status response

swagger:model IntakeStatusResponse

func (*IntakeStatusResponse) ContextValidate

func (m *IntakeStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intake status response based on the context it is used

func (*IntakeStatusResponse) MarshalBinary

func (m *IntakeStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntakeStatusResponse) UnmarshalBinary

func (m *IntakeStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntakeStatusResponse) Validate

func (m *IntakeStatusResponse) Validate(formats strfmt.Registry) error

Validate validates this intake status response

type Response

type Response struct {

	// message
	// Required: true
	Message []string `json:"message"`

	// result
	// Required: true
	Result *string `json:"result"`
}

Response response

swagger:model Response

func (*Response) ContextValidate

func (m *Response) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this response based on context it is used

func (*Response) MarshalBinary

func (m *Response) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Response) UnmarshalBinary

func (m *Response) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Response) Validate

func (m *Response) Validate(formats strfmt.Registry) error

Validate validates this response

Jump to

Keyboard shortcuts

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