1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 21:32:10 +00:00

Generated code

This commit is contained in:
Nathan Jenan
2019-02-05 12:58:33 -07:00
committed by Craig Jellick
parent 8834124510
commit 6370ec9f4e
2 changed files with 29 additions and 25 deletions

View File

@@ -13,6 +13,7 @@ const (
DynamicSchemaFieldCollectionMethods = "collectionMethods"
DynamicSchemaFieldCreated = "created"
DynamicSchemaFieldCreatorID = "creatorId"
DynamicSchemaFieldDynamicSchemaVersion = "dynamicSchemaVersion"
DynamicSchemaFieldEmbed = "embed"
DynamicSchemaFieldEmbedType = "embedType"
DynamicSchemaFieldIncludeableLinks = "includeableLinks"
@@ -41,6 +42,7 @@ type DynamicSchema struct {
CollectionMethods []string `json:"collectionMethods,omitempty" yaml:"collectionMethods,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
DynamicSchemaVersion string `json:"dynamicSchemaVersion,omitempty" yaml:"dynamicSchemaVersion,omitempty"`
Embed bool `json:"embed,omitempty" yaml:"embed,omitempty"`
EmbedType string `json:"embedType,omitempty" yaml:"embedType,omitempty"`
IncludeableLinks []string `json:"includeableLinks,omitempty" yaml:"includeableLinks,omitempty"`

View File

@@ -1,32 +1,34 @@
package client
const (
DynamicSchemaSpecType = "dynamicSchemaSpec"
DynamicSchemaSpecFieldCollectionActions = "collectionActions"
DynamicSchemaSpecFieldCollectionFields = "collectionFields"
DynamicSchemaSpecFieldCollectionFilters = "collectionFilters"
DynamicSchemaSpecFieldCollectionMethods = "collectionMethods"
DynamicSchemaSpecFieldEmbed = "embed"
DynamicSchemaSpecFieldEmbedType = "embedType"
DynamicSchemaSpecFieldIncludeableLinks = "includeableLinks"
DynamicSchemaSpecFieldPluralName = "pluralName"
DynamicSchemaSpecFieldResourceActions = "resourceActions"
DynamicSchemaSpecFieldResourceFields = "resourceFields"
DynamicSchemaSpecFieldResourceMethods = "resourceMethods"
DynamicSchemaSpecFieldSchemaName = "schemaName"
DynamicSchemaSpecType = "dynamicSchemaSpec"
DynamicSchemaSpecFieldCollectionActions = "collectionActions"
DynamicSchemaSpecFieldCollectionFields = "collectionFields"
DynamicSchemaSpecFieldCollectionFilters = "collectionFilters"
DynamicSchemaSpecFieldCollectionMethods = "collectionMethods"
DynamicSchemaSpecFieldDynamicSchemaVersion = "dynamicSchemaVersion"
DynamicSchemaSpecFieldEmbed = "embed"
DynamicSchemaSpecFieldEmbedType = "embedType"
DynamicSchemaSpecFieldIncludeableLinks = "includeableLinks"
DynamicSchemaSpecFieldPluralName = "pluralName"
DynamicSchemaSpecFieldResourceActions = "resourceActions"
DynamicSchemaSpecFieldResourceFields = "resourceFields"
DynamicSchemaSpecFieldResourceMethods = "resourceMethods"
DynamicSchemaSpecFieldSchemaName = "schemaName"
)
type DynamicSchemaSpec struct {
CollectionActions map[string]Action `json:"collectionActions,omitempty" yaml:"collectionActions,omitempty"`
CollectionFields map[string]Field `json:"collectionFields,omitempty" yaml:"collectionFields,omitempty"`
CollectionFilters map[string]Filter `json:"collectionFilters,omitempty" yaml:"collectionFilters,omitempty"`
CollectionMethods []string `json:"collectionMethods,omitempty" yaml:"collectionMethods,omitempty"`
Embed bool `json:"embed,omitempty" yaml:"embed,omitempty"`
EmbedType string `json:"embedType,omitempty" yaml:"embedType,omitempty"`
IncludeableLinks []string `json:"includeableLinks,omitempty" yaml:"includeableLinks,omitempty"`
PluralName string `json:"pluralName,omitempty" yaml:"pluralName,omitempty"`
ResourceActions map[string]Action `json:"resourceActions,omitempty" yaml:"resourceActions,omitempty"`
ResourceFields map[string]Field `json:"resourceFields,omitempty" yaml:"resourceFields,omitempty"`
ResourceMethods []string `json:"resourceMethods,omitempty" yaml:"resourceMethods,omitempty"`
SchemaName string `json:"schemaName,omitempty" yaml:"schemaName,omitempty"`
CollectionActions map[string]Action `json:"collectionActions,omitempty" yaml:"collectionActions,omitempty"`
CollectionFields map[string]Field `json:"collectionFields,omitempty" yaml:"collectionFields,omitempty"`
CollectionFilters map[string]Filter `json:"collectionFilters,omitempty" yaml:"collectionFilters,omitempty"`
CollectionMethods []string `json:"collectionMethods,omitempty" yaml:"collectionMethods,omitempty"`
DynamicSchemaVersion string `json:"dynamicSchemaVersion,omitempty" yaml:"dynamicSchemaVersion,omitempty"`
Embed bool `json:"embed,omitempty" yaml:"embed,omitempty"`
EmbedType string `json:"embedType,omitempty" yaml:"embedType,omitempty"`
IncludeableLinks []string `json:"includeableLinks,omitempty" yaml:"includeableLinks,omitempty"`
PluralName string `json:"pluralName,omitempty" yaml:"pluralName,omitempty"`
ResourceActions map[string]Action `json:"resourceActions,omitempty" yaml:"resourceActions,omitempty"`
ResourceFields map[string]Field `json:"resourceFields,omitempty" yaml:"resourceFields,omitempty"`
ResourceMethods []string `json:"resourceMethods,omitempty" yaml:"resourceMethods,omitempty"`
SchemaName string `json:"schemaName,omitempty" yaml:"schemaName,omitempty"`
}