types

package
v1.0.0-beta.94 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Some parts of the OpenAPI spec are not supported by oapi-codegen, such as the "oneOf" and "anyOf" keywords. In these cases, you can define the types manually in the types package and reference them via `x-go-type` so the go client works properly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEntitlementJSONBodyType

type CreateEntitlementJSONBodyType string

CreateEntitlementJSONBodyType defines parameters for CreateEntitlement.

ENUM: "metered", "static", "boolean"

const (
	CreateEntitlementJSONBodyTypeMetered CreateEntitlementJSONBodyType = "metered"
	CreateEntitlementJSONBodyTypeStatic  CreateEntitlementJSONBodyType = "static"
	CreateEntitlementJSONBodyTypeBoolean CreateEntitlementJSONBodyType = "boolean"
)

type RecurringPeriod

type RecurringPeriod struct {
	// Anchor An arbitrary anchor to base the recurring period on.
	Anchor time.Time `json:"anchor"`

	// Interval List of pre-defined periods that can be used for recurring & scheduling.
	//
	// DAY:      Every day
	// WEEK:     Every week
	// MONTH:    Every month
	// YEAR:     Every year
	Interval RecurringPeriodEnum `json:"interval"`
}

type RecurringPeriodEnum

type RecurringPeriodEnum string

RecurringPeriodEnum List of pre-defined periods that can be used for recurring & scheduling.

Jump to

Keyboard shortcuts

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