Documentation

Index

Constants

This section is empty.

Variables

View Source
var ListAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `The identifier.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		PrimaryKey:     true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreationOnly": {
		AllowedChoices: []string{},
		ConvertedName:  "CreationOnly",
		CreationOnly:   true,
		Description:    `This attribute is creation only.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "creationOnly",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"Date": {
		AllowedChoices: []string{},
		ConvertedName:  "Date",
		Description:    `The date.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "date",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `The description.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "description",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ParentID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentID",
		Description:    `The identifier of the parent of the object.`,
		Exposed:        true,
		Filterable:     true,
		ForeignKey:     true,
		Name:           "parentID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ParentType": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentType",
		Description:    `The type of the parent of the object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentType",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ReadOnly": {
		AllowedChoices: []string{},
		ConvertedName:  "ReadOnly",
		Description:    `This attribute is readonly.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "readOnly",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Secret": {
		AllowedChoices: []string{},
		ConvertedName:  "Secret",
		Description:    `This attribute is secret.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "secret",
		Orderable:      true,
		Secret:         true,
		Stored:         true,
		Type:           "string",
	},
	"Slice": {
		AllowedChoices: []string{},
		ConvertedName:  "Slice",
		Description:    `this is a slice.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "slice",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Unexposed": {
		AllowedChoices: []string{},
		ConvertedName:  "Unexposed",
		Description:    `This attribute is not exposed.`,
		Filterable:     true,
		Name:           "unexposed",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
}

    ListAttributesMap represents the map of attribute for List.

    View Source
    var ListIdentity = elemental.Identity{
    	Name:     "list",
    	Category: "lists",
    	Package:  "todo-list",
    	Private:  false,
    }

      ListIdentity represents the Identity of the object.

      View Source
      var ListLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
      	"id": {
      		AllowedChoices: []string{},
      		Autogenerated:  true,
      		ConvertedName:  "ID",
      		Description:    `The identifier.`,
      		Exposed:        true,
      		Filterable:     true,
      		Identifier:     true,
      		Name:           "ID",
      		Orderable:      true,
      		PrimaryKey:     true,
      		ReadOnly:       true,
      		Stored:         true,
      		Type:           "string",
      	},
      	"creationonly": {
      		AllowedChoices: []string{},
      		ConvertedName:  "CreationOnly",
      		CreationOnly:   true,
      		Description:    `This attribute is creation only.`,
      		Exposed:        true,
      		Filterable:     true,
      		Name:           "creationOnly",
      		Orderable:      true,
      		Stored:         true,
      		Type:           "string",
      	},
      	"date": {
      		AllowedChoices: []string{},
      		ConvertedName:  "Date",
      		Description:    `The date.`,
      		Exposed:        true,
      		Filterable:     true,
      		Name:           "date",
      		Orderable:      true,
      		Stored:         true,
      		Type:           "time",
      	},
      	"description": {
      		AllowedChoices: []string{},
      		ConvertedName:  "Description",
      		Description:    `The description.`,
      		Exposed:        true,
      		Filterable:     true,
      		Name:           "description",
      		Orderable:      true,
      		Stored:         true,
      		Type:           "string",
      	},
      	"name": {
      		AllowedChoices: []string{},
      		ConvertedName:  "Name",
      		Description:    `The name.`,
      		Exposed:        true,
      		Filterable:     true,
      		Getter:         true,
      		Name:           "name",
      		Orderable:      true,
      		Required:       true,
      		Setter:         true,
      		Stored:         true,
      		Type:           "string",
      	},
      	"parentid": {
      		AllowedChoices: []string{},
      		Autogenerated:  true,
      		ConvertedName:  "ParentID",
      		Description:    `The identifier of the parent of the object.`,
      		Exposed:        true,
      		Filterable:     true,
      		ForeignKey:     true,
      		Name:           "parentID",
      		Orderable:      true,
      		ReadOnly:       true,
      		Stored:         true,
      		Type:           "string",
      	},
      	"parenttype": {
      		AllowedChoices: []string{},
      		Autogenerated:  true,
      		ConvertedName:  "ParentType",
      		Description:    `The type of the parent of the object.`,
      		Exposed:        true,
      		Filterable:     true,
      		Name:           "parentType",
      		Orderable:      true,
      		ReadOnly:       true,
      		Stored:         true,
      		Type:           "string",
      	},
      	"readonly": {
      		AllowedChoices: []string{},
      		ConvertedName:  "ReadOnly",
      		Description:    `This attribute is readonly.`,
      		Exposed:        true,
      		Filterable:     true,
      		Name:           "readOnly",
      		Orderable:      true,
      		ReadOnly:       true,
      		Stored:         true,
      		Type:           "string",
      	},
      	"secret": {
      		AllowedChoices: []string{},
      		ConvertedName:  "Secret",
      		Description:    `This attribute is secret.`,
      		Exposed:        true,
      		Filterable:     true,
      		Name:           "secret",
      		Orderable:      true,
      		Secret:         true,
      		Stored:         true,
      		Type:           "string",
      	},
      	"slice": {
      		AllowedChoices: []string{},
      		ConvertedName:  "Slice",
      		Description:    `this is a slice.`,
      		Exposed:        true,
      		Filterable:     true,
      		Name:           "slice",
      		Orderable:      true,
      		Stored:         true,
      		SubType:        "string",
      		Type:           "list",
      	},
      	"unexposed": {
      		AllowedChoices: []string{},
      		ConvertedName:  "Unexposed",
      		Description:    `This attribute is not exposed.`,
      		Filterable:     true,
      		Name:           "unexposed",
      		Orderable:      true,
      		Stored:         true,
      		Type:           "string",
      	},
      }

        ListLowerCaseAttributesMap represents the map of attribute for List.

        View Source
        var RootAttributesMap = map[string]elemental.AttributeSpecification{}

          RootAttributesMap represents the map of attribute for Root.

          View Source
          var RootIdentity = elemental.Identity{
          	Name:     "root",
          	Category: "root",
          	Package:  "todo-list",
          	Private:  false,
          }

            RootIdentity represents the Identity of the object.

            View Source
            var RootLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{}

              RootLowerCaseAttributesMap represents the map of attribute for Root.

              View Source
              var TaskAttributesMap = map[string]elemental.AttributeSpecification{
              	"ID": {
              		AllowedChoices: []string{},
              		Autogenerated:  true,
              		ConvertedName:  "ID",
              		Description:    `The identifier.`,
              		Exposed:        true,
              		Filterable:     true,
              		Identifier:     true,
              		Name:           "ID",
              		Orderable:      true,
              		PrimaryKey:     true,
              		ReadOnly:       true,
              		Stored:         true,
              		Type:           "string",
              	},
              	"Description": {
              		AllowedChoices: []string{},
              		ConvertedName:  "Description",
              		Description:    `The description.`,
              		Exposed:        true,
              		Filterable:     true,
              		Name:           "description",
              		Orderable:      true,
              		Stored:         true,
              		Type:           "string",
              	},
              	"Name": {
              		AllowedChoices: []string{},
              		ConvertedName:  "Name",
              		Description:    `The name.`,
              		Exposed:        true,
              		Filterable:     true,
              		Getter:         true,
              		Name:           "name",
              		Orderable:      true,
              		Required:       true,
              		Setter:         true,
              		Stored:         true,
              		Type:           "string",
              	},
              	"ParentID": {
              		AllowedChoices: []string{},
              		Autogenerated:  true,
              		ConvertedName:  "ParentID",
              		Description:    `The identifier of the parent of the object.`,
              		Exposed:        true,
              		Filterable:     true,
              		ForeignKey:     true,
              		Name:           "parentID",
              		Orderable:      true,
              		ReadOnly:       true,
              		Stored:         true,
              		Type:           "string",
              	},
              	"ParentType": {
              		AllowedChoices: []string{},
              		Autogenerated:  true,
              		ConvertedName:  "ParentType",
              		Description:    `The type of the parent of the object.`,
              		Exposed:        true,
              		Filterable:     true,
              		Name:           "parentType",
              		Orderable:      true,
              		ReadOnly:       true,
              		Stored:         true,
              		Type:           "string",
              	},
              	"Status": {
              		AllowedChoices: []string{"DONE", "PROGRESS", "TODO"},
              		ConvertedName:  "Status",
              		DefaultValue:   TaskStatusTODO,
              		Description:    `The status of the task.`,
              		Exposed:        true,
              		Filterable:     true,
              		Name:           "status",
              		Orderable:      true,
              		Stored:         true,
              		Type:           "enum",
              	},
              }

                TaskAttributesMap represents the map of attribute for Task.

                View Source
                var TaskIdentity = elemental.Identity{
                	Name:     "task",
                	Category: "tasks",
                	Package:  "todo-list",
                	Private:  false,
                }

                  TaskIdentity represents the Identity of the object.

                  View Source
                  var TaskLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
                  	"id": {
                  		AllowedChoices: []string{},
                  		Autogenerated:  true,
                  		ConvertedName:  "ID",
                  		Description:    `The identifier.`,
                  		Exposed:        true,
                  		Filterable:     true,
                  		Identifier:     true,
                  		Name:           "ID",
                  		Orderable:      true,
                  		PrimaryKey:     true,
                  		ReadOnly:       true,
                  		Stored:         true,
                  		Type:           "string",
                  	},
                  	"description": {
                  		AllowedChoices: []string{},
                  		ConvertedName:  "Description",
                  		Description:    `The description.`,
                  		Exposed:        true,
                  		Filterable:     true,
                  		Name:           "description",
                  		Orderable:      true,
                  		Stored:         true,
                  		Type:           "string",
                  	},
                  	"name": {
                  		AllowedChoices: []string{},
                  		ConvertedName:  "Name",
                  		Description:    `The name.`,
                  		Exposed:        true,
                  		Filterable:     true,
                  		Getter:         true,
                  		Name:           "name",
                  		Orderable:      true,
                  		Required:       true,
                  		Setter:         true,
                  		Stored:         true,
                  		Type:           "string",
                  	},
                  	"parentid": {
                  		AllowedChoices: []string{},
                  		Autogenerated:  true,
                  		ConvertedName:  "ParentID",
                  		Description:    `The identifier of the parent of the object.`,
                  		Exposed:        true,
                  		Filterable:     true,
                  		ForeignKey:     true,
                  		Name:           "parentID",
                  		Orderable:      true,
                  		ReadOnly:       true,
                  		Stored:         true,
                  		Type:           "string",
                  	},
                  	"parenttype": {
                  		AllowedChoices: []string{},
                  		Autogenerated:  true,
                  		ConvertedName:  "ParentType",
                  		Description:    `The type of the parent of the object.`,
                  		Exposed:        true,
                  		Filterable:     true,
                  		Name:           "parentType",
                  		Orderable:      true,
                  		ReadOnly:       true,
                  		Stored:         true,
                  		Type:           "string",
                  	},
                  	"status": {
                  		AllowedChoices: []string{"DONE", "PROGRESS", "TODO"},
                  		ConvertedName:  "Status",
                  		DefaultValue:   TaskStatusTODO,
                  		Description:    `The status of the task.`,
                  		Exposed:        true,
                  		Filterable:     true,
                  		Name:           "status",
                  		Orderable:      true,
                  		Stored:         true,
                  		Type:           "enum",
                  	},
                  }

                    TaskLowerCaseAttributesMap represents the map of attribute for Task.

                    View Source
                    var UnmarshalableListIdentity = elemental.Identity{Name: "list", Category: "lists"}

                      UnmarshalableListIdentity represents the Identity of the object.

                      View Source
                      var UserAttributesMap = map[string]elemental.AttributeSpecification{
                      	"ID": {
                      		AllowedChoices: []string{},
                      		Autogenerated:  true,
                      		ConvertedName:  "ID",
                      		Description:    `The identifier.`,
                      		Exposed:        true,
                      		Filterable:     true,
                      		Identifier:     true,
                      		Name:           "ID",
                      		Orderable:      true,
                      		PrimaryKey:     true,
                      		ReadOnly:       true,
                      		Stored:         true,
                      		Type:           "string",
                      	},
                      	"FirstName": {
                      		AllowedChoices: []string{},
                      		ConvertedName:  "FirstName",
                      		Description:    `The first name.`,
                      		Exposed:        true,
                      		Filterable:     true,
                      		Name:           "firstName",
                      		Orderable:      true,
                      		Required:       true,
                      		Stored:         true,
                      		Type:           "string",
                      	},
                      	"LastName": {
                      		AllowedChoices: []string{},
                      		ConvertedName:  "LastName",
                      		Description:    `The last name.`,
                      		Exposed:        true,
                      		Filterable:     true,
                      		Name:           "lastName",
                      		Orderable:      true,
                      		Required:       true,
                      		Stored:         true,
                      		Type:           "string",
                      	},
                      	"ParentID": {
                      		AllowedChoices: []string{},
                      		Autogenerated:  true,
                      		ConvertedName:  "ParentID",
                      		Description:    `The identifier of the parent of the object.`,
                      		Exposed:        true,
                      		Filterable:     true,
                      		ForeignKey:     true,
                      		Name:           "parentID",
                      		Orderable:      true,
                      		ReadOnly:       true,
                      		Stored:         true,
                      		Type:           "string",
                      	},
                      	"ParentType": {
                      		AllowedChoices: []string{},
                      		Autogenerated:  true,
                      		ConvertedName:  "ParentType",
                      		Description:    `The type of the parent of the object.`,
                      		Exposed:        true,
                      		Filterable:     true,
                      		Name:           "parentType",
                      		Orderable:      true,
                      		ReadOnly:       true,
                      		Stored:         true,
                      		Type:           "string",
                      	},
                      	"UserName": {
                      		AllowedChoices: []string{},
                      		ConvertedName:  "UserName",
                      		Description:    `the login.`,
                      		Exposed:        true,
                      		Filterable:     true,
                      		Name:           "userName",
                      		Orderable:      true,
                      		Required:       true,
                      		Stored:         true,
                      		Type:           "string",
                      	},
                      }

                        UserAttributesMap represents the map of attribute for User.

                        View Source
                        var UserIdentity = elemental.Identity{
                        	Name:     "user",
                        	Category: "users",
                        	Package:  "todo-list",
                        	Private:  false,
                        }

                          UserIdentity represents the Identity of the object.

                          View Source
                          var UserLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
                          	"id": {
                          		AllowedChoices: []string{},
                          		Autogenerated:  true,
                          		ConvertedName:  "ID",
                          		Description:    `The identifier.`,
                          		Exposed:        true,
                          		Filterable:     true,
                          		Identifier:     true,
                          		Name:           "ID",
                          		Orderable:      true,
                          		PrimaryKey:     true,
                          		ReadOnly:       true,
                          		Stored:         true,
                          		Type:           "string",
                          	},
                          	"firstname": {
                          		AllowedChoices: []string{},
                          		ConvertedName:  "FirstName",
                          		Description:    `The first name.`,
                          		Exposed:        true,
                          		Filterable:     true,
                          		Name:           "firstName",
                          		Orderable:      true,
                          		Required:       true,
                          		Stored:         true,
                          		Type:           "string",
                          	},
                          	"lastname": {
                          		AllowedChoices: []string{},
                          		ConvertedName:  "LastName",
                          		Description:    `The last name.`,
                          		Exposed:        true,
                          		Filterable:     true,
                          		Name:           "lastName",
                          		Orderable:      true,
                          		Required:       true,
                          		Stored:         true,
                          		Type:           "string",
                          	},
                          	"parentid": {
                          		AllowedChoices: []string{},
                          		Autogenerated:  true,
                          		ConvertedName:  "ParentID",
                          		Description:    `The identifier of the parent of the object.`,
                          		Exposed:        true,
                          		Filterable:     true,
                          		ForeignKey:     true,
                          		Name:           "parentID",
                          		Orderable:      true,
                          		ReadOnly:       true,
                          		Stored:         true,
                          		Type:           "string",
                          	},
                          	"parenttype": {
                          		AllowedChoices: []string{},
                          		Autogenerated:  true,
                          		ConvertedName:  "ParentType",
                          		Description:    `The type of the parent of the object.`,
                          		Exposed:        true,
                          		Filterable:     true,
                          		Name:           "parentType",
                          		Orderable:      true,
                          		ReadOnly:       true,
                          		Stored:         true,
                          		Type:           "string",
                          	},
                          	"username": {
                          		AllowedChoices: []string{},
                          		ConvertedName:  "UserName",
                          		Description:    `the login.`,
                          		Exposed:        true,
                          		Filterable:     true,
                          		Name:           "userName",
                          		Orderable:      true,
                          		Required:       true,
                          		Stored:         true,
                          		Type:           "string",
                          	},
                          }

                            UserLowerCaseAttributesMap represents the map of attribute for User.

                            Functions

                            func AliasesForIdentity

                            func AliasesForIdentity(identity elemental.Identity) []string

                              AliasesForIdentity returns all the aliases for the given identity.

                              func AllIdentities

                              func AllIdentities() []elemental.Identity

                                AllIdentities returns all existing identities.

                                func Manager

                                func Manager() elemental.ModelManager

                                  Manager returns the model elemental.ModelManager.

                                  func ModelVersion

                                  func ModelVersion() float64

                                    ModelVersion returns the current version of the model.

                                    Types

                                    type List

                                    type List struct {
                                    	// The identifier.
                                    	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`
                                    
                                    	// This attribute is creation only.
                                    	CreationOnly string `json:"creationOnly" msgpack:"creationOnly" bson:"creationonly" mapstructure:"creationOnly,omitempty"`
                                    
                                    	// The date.
                                    	Date time.Time `json:"date" msgpack:"date" bson:"date" mapstructure:"date,omitempty"`
                                    
                                    	// The description.
                                    	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`
                                    
                                    	// The name.
                                    	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`
                                    
                                    	// The identifier of the parent of the object.
                                    	ParentID string `json:"parentID" msgpack:"parentID" bson:"parentid" mapstructure:"parentID,omitempty"`
                                    
                                    	// The type of the parent of the object.
                                    	ParentType string `json:"parentType" msgpack:"parentType" bson:"parenttype" mapstructure:"parentType,omitempty"`
                                    
                                    	// This attribute is readonly.
                                    	ReadOnly string `json:"readOnly" msgpack:"readOnly" bson:"readonly" mapstructure:"readOnly,omitempty"`
                                    
                                    	// This attribute is secret.
                                    	Secret string `json:"secret" msgpack:"secret" bson:"secret" mapstructure:"secret,omitempty"`
                                    
                                    	// this is a slice.
                                    	Slice []string `json:"slice" msgpack:"slice" bson:"slice" mapstructure:"slice,omitempty"`
                                    
                                    	// This attribute is not exposed.
                                    	Unexposed string `json:"-" msgpack:"-" bson:"unexposed" mapstructure:"-,omitempty"`
                                    
                                    	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
                                    }

                                      List represents the model of a list

                                      func NewList

                                      func NewList() *List

                                        NewList returns a new *List

                                        func (*List) AttributeSpecifications

                                        func (*List) AttributeSpecifications() map[string]elemental.AttributeSpecification

                                          AttributeSpecifications returns the full attribute specifications map.

                                          func (*List) BleveType

                                          func (o *List) BleveType() string

                                            BleveType implements the bleve.Classifier Interface.

                                            func (*List) DeepCopy

                                            func (o *List) DeepCopy() *List

                                              DeepCopy returns a deep copy if the List.

                                              func (*List) DeepCopyInto

                                              func (o *List) DeepCopyInto(out *List)

                                                DeepCopyInto copies the receiver into the given *List.

                                                func (*List) DefaultOrder

                                                func (o *List) DefaultOrder() []string

                                                  DefaultOrder returns the list of default ordering fields.

                                                  func (*List) Doc

                                                  func (o *List) Doc() string

                                                    Doc returns the documentation for the object

                                                    func (*List) GetBSON

                                                    func (o *List) GetBSON() (interface{}, error)

                                                      GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                      func (*List) GetName

                                                      func (o *List) GetName() string

                                                        GetName returns the Name of the receiver.

                                                        func (*List) Identifier

                                                        func (o *List) Identifier() string

                                                          Identifier returns the value of the object's unique identifier.

                                                          func (*List) Identity

                                                          func (o *List) Identity() elemental.Identity

                                                            Identity returns the Identity of the object.

                                                            func (*List) Patch

                                                            func (o *List) Patch(sparse elemental.SparseIdentifiable)

                                                              Patch apply the non nil value of a *SparseList to the object.

                                                              func (*List) SetBSON

                                                              func (o *List) SetBSON(raw bson.Raw) error

                                                                SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                func (*List) SetIdentifier

                                                                func (o *List) SetIdentifier(id string)

                                                                  SetIdentifier sets the value of the object's unique identifier.

                                                                  func (*List) SetName

                                                                  func (o *List) SetName(name string)

                                                                    SetName sets the property Name of the receiver using the given value.

                                                                    func (*List) SpecificationForAttribute

                                                                    func (*List) SpecificationForAttribute(name string) elemental.AttributeSpecification

                                                                      SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

                                                                      func (*List) String

                                                                      func (o *List) String() string

                                                                      func (*List) ToSparse

                                                                      func (o *List) ToSparse(fields ...string) elemental.SparseIdentifiable

                                                                        ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

                                                                        func (*List) Validate

                                                                        func (o *List) Validate() error

                                                                          Validate valides the current information stored into the structure.

                                                                          func (*List) ValueForAttribute

                                                                          func (o *List) ValueForAttribute(name string) interface{}

                                                                            ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

                                                                            func (*List) Version

                                                                            func (o *List) Version() int

                                                                              Version returns the hardcoded version of the model.

                                                                              type ListsList

                                                                              type ListsList []*List

                                                                                ListsList represents a list of Lists

                                                                                func (ListsList) Append

                                                                                  Append appends the objects to the a new copy of the ListsList.

                                                                                  func (ListsList) Copy

                                                                                    Copy returns a pointer to a copy the ListsList.

                                                                                    func (ListsList) DefaultOrder

                                                                                    func (o ListsList) DefaultOrder() []string

                                                                                      DefaultOrder returns the default ordering fields of the content.

                                                                                      func (ListsList) Identity

                                                                                      func (o ListsList) Identity() elemental.Identity

                                                                                        Identity returns the identity of the objects in the list.

                                                                                        func (ListsList) List

                                                                                          List converts the object to an elemental.IdentifiablesList.

                                                                                          func (ListsList) ToSparse

                                                                                          func (o ListsList) ToSparse(fields ...string) elemental.Identifiables

                                                                                            ToSparse returns the ListsList converted to SparseListsList. Objects in the list will only contain the given fields. No field means entire field set.

                                                                                            func (ListsList) Version

                                                                                            func (o ListsList) Version() int

                                                                                              Version returns the version of the content.

                                                                                              type Root

                                                                                              type Root struct {
                                                                                              	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
                                                                                              }

                                                                                                Root represents the model of a root

                                                                                                func NewRoot

                                                                                                func NewRoot() *Root

                                                                                                  NewRoot returns a new *Root

                                                                                                  func (*Root) AttributeSpecifications

                                                                                                  func (*Root) AttributeSpecifications() map[string]elemental.AttributeSpecification

                                                                                                    AttributeSpecifications returns the full attribute specifications map.

                                                                                                    func (*Root) BleveType

                                                                                                    func (o *Root) BleveType() string

                                                                                                      BleveType implements the bleve.Classifier Interface.

                                                                                                      func (*Root) DeepCopy

                                                                                                      func (o *Root) DeepCopy() *Root

                                                                                                        DeepCopy returns a deep copy if the Root.

                                                                                                        func (*Root) DeepCopyInto

                                                                                                        func (o *Root) DeepCopyInto(out *Root)

                                                                                                          DeepCopyInto copies the receiver into the given *Root.

                                                                                                          func (*Root) DefaultOrder

                                                                                                          func (o *Root) DefaultOrder() []string

                                                                                                            DefaultOrder returns the list of default ordering fields.

                                                                                                            func (*Root) Doc

                                                                                                            func (o *Root) Doc() string

                                                                                                              Doc returns the documentation for the object

                                                                                                              func (*Root) GetBSON

                                                                                                              func (o *Root) GetBSON() (interface{}, error)

                                                                                                                GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                func (*Root) Identifier

                                                                                                                func (o *Root) Identifier() string

                                                                                                                  Identifier returns the value of the object's unique identifier.

                                                                                                                  func (*Root) Identity

                                                                                                                  func (o *Root) Identity() elemental.Identity

                                                                                                                    Identity returns the Identity of the object.

                                                                                                                    func (*Root) SetBSON

                                                                                                                    func (o *Root) SetBSON(raw bson.Raw) error

                                                                                                                      SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                      func (*Root) SetIdentifier

                                                                                                                      func (o *Root) SetIdentifier(id string)

                                                                                                                        SetIdentifier sets the value of the object's unique identifier.

                                                                                                                        func (*Root) SpecificationForAttribute

                                                                                                                        func (*Root) SpecificationForAttribute(name string) elemental.AttributeSpecification

                                                                                                                          SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

                                                                                                                          func (*Root) String

                                                                                                                          func (o *Root) String() string

                                                                                                                          func (*Root) Validate

                                                                                                                          func (o *Root) Validate() error

                                                                                                                            Validate valides the current information stored into the structure.

                                                                                                                            func (*Root) ValueForAttribute

                                                                                                                            func (o *Root) ValueForAttribute(name string) interface{}

                                                                                                                              ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

                                                                                                                              func (*Root) Version

                                                                                                                              func (o *Root) Version() int

                                                                                                                                Version returns the hardcoded version of the model.

                                                                                                                                type SparseList

                                                                                                                                type SparseList struct {
                                                                                                                                	// The identifier.
                                                                                                                                	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`
                                                                                                                                
                                                                                                                                	// This attribute is creation only.
                                                                                                                                	CreationOnly *string `` /* 130-byte string literal not displayed */
                                                                                                                                
                                                                                                                                	// The date.
                                                                                                                                	Date *time.Time `json:"date,omitempty" msgpack:"date,omitempty" bson:"date,omitempty" mapstructure:"date,omitempty"`
                                                                                                                                
                                                                                                                                	// The description.
                                                                                                                                	Description *string `` /* 126-byte string literal not displayed */
                                                                                                                                
                                                                                                                                	// The name.
                                                                                                                                	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`
                                                                                                                                
                                                                                                                                	// The identifier of the parent of the object.
                                                                                                                                	ParentID *string `json:"parentID,omitempty" msgpack:"parentID,omitempty" bson:"parentid,omitempty" mapstructure:"parentID,omitempty"`
                                                                                                                                
                                                                                                                                	// The type of the parent of the object.
                                                                                                                                	ParentType *string `json:"parentType,omitempty" msgpack:"parentType,omitempty" bson:"parenttype,omitempty" mapstructure:"parentType,omitempty"`
                                                                                                                                
                                                                                                                                	// This attribute is readonly.
                                                                                                                                	ReadOnly *string `json:"readOnly,omitempty" msgpack:"readOnly,omitempty" bson:"readonly,omitempty" mapstructure:"readOnly,omitempty"`
                                                                                                                                
                                                                                                                                	// This attribute is secret.
                                                                                                                                	Secret *string `json:"secret,omitempty" msgpack:"secret,omitempty" bson:"secret,omitempty" mapstructure:"secret,omitempty"`
                                                                                                                                
                                                                                                                                	// this is a slice.
                                                                                                                                	Slice *[]string `json:"slice,omitempty" msgpack:"slice,omitempty" bson:"slice,omitempty" mapstructure:"slice,omitempty"`
                                                                                                                                
                                                                                                                                	// This attribute is not exposed.
                                                                                                                                	Unexposed *string `json:"-" msgpack:"-" bson:"unexposed,omitempty" mapstructure:"-,omitempty"`
                                                                                                                                
                                                                                                                                	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
                                                                                                                                }

                                                                                                                                  SparseList represents the sparse version of a list.

                                                                                                                                  func NewSparseList

                                                                                                                                  func NewSparseList() *SparseList

                                                                                                                                    NewSparseList returns a new SparseList.

                                                                                                                                    func (*SparseList) DeepCopy

                                                                                                                                    func (o *SparseList) DeepCopy() *SparseList

                                                                                                                                      DeepCopy returns a deep copy if the SparseList.

                                                                                                                                      func (*SparseList) DeepCopyInto

                                                                                                                                      func (o *SparseList) DeepCopyInto(out *SparseList)

                                                                                                                                        DeepCopyInto copies the receiver into the given *SparseList.

                                                                                                                                        func (*SparseList) GetBSON

                                                                                                                                        func (o *SparseList) GetBSON() (interface{}, error)

                                                                                                                                          GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                          func (*SparseList) GetName

                                                                                                                                          func (o *SparseList) GetName() (out string)

                                                                                                                                            GetName returns the Name of the receiver.

                                                                                                                                            func (*SparseList) Identifier

                                                                                                                                            func (o *SparseList) Identifier() string

                                                                                                                                              Identifier returns the value of the sparse object's unique identifier.

                                                                                                                                              func (*SparseList) Identity

                                                                                                                                              func (o *SparseList) Identity() elemental.Identity

                                                                                                                                                Identity returns the Identity of the sparse object.

                                                                                                                                                func (*SparseList) SetBSON

                                                                                                                                                func (o *SparseList) SetBSON(raw bson.Raw) error

                                                                                                                                                  SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                                  func (*SparseList) SetIdentifier

                                                                                                                                                  func (o *SparseList) SetIdentifier(id string)

                                                                                                                                                    SetIdentifier sets the value of the sparse object's unique identifier.

                                                                                                                                                    func (*SparseList) SetName

                                                                                                                                                    func (o *SparseList) SetName(name string)

                                                                                                                                                      SetName sets the property Name of the receiver using the address of the given value.

                                                                                                                                                      func (*SparseList) ToPlain

                                                                                                                                                      func (o *SparseList) ToPlain() elemental.PlainIdentifiable

                                                                                                                                                        ToPlain returns the plain version of the sparse model.

                                                                                                                                                        func (*SparseList) Version

                                                                                                                                                        func (o *SparseList) Version() int

                                                                                                                                                          Version returns the hardcoded version of the model.

                                                                                                                                                          type SparseListsList

                                                                                                                                                          type SparseListsList []*SparseList

                                                                                                                                                            SparseListsList represents a list of SparseLists

                                                                                                                                                            func (SparseListsList) Append

                                                                                                                                                              Append appends the objects to the a new copy of the SparseListsList.

                                                                                                                                                              func (SparseListsList) Copy

                                                                                                                                                                Copy returns a pointer to a copy the SparseListsList.

                                                                                                                                                                func (SparseListsList) DefaultOrder

                                                                                                                                                                func (o SparseListsList) DefaultOrder() []string

                                                                                                                                                                  DefaultOrder returns the default ordering fields of the content.

                                                                                                                                                                  func (SparseListsList) Identity

                                                                                                                                                                  func (o SparseListsList) Identity() elemental.Identity

                                                                                                                                                                    Identity returns the identity of the objects in the list.

                                                                                                                                                                    func (SparseListsList) List

                                                                                                                                                                      List converts the object to an elemental.IdentifiablesList.

                                                                                                                                                                      func (SparseListsList) ToPlain

                                                                                                                                                                        ToPlain returns the SparseListsList converted to ListsList.

                                                                                                                                                                        func (SparseListsList) Version

                                                                                                                                                                        func (o SparseListsList) Version() int

                                                                                                                                                                          Version returns the version of the content.

                                                                                                                                                                          type SparseTask

                                                                                                                                                                          type SparseTask struct {
                                                                                                                                                                          	// The identifier.
                                                                                                                                                                          	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`
                                                                                                                                                                          
                                                                                                                                                                          	// The description.
                                                                                                                                                                          	Description *string `` /* 126-byte string literal not displayed */
                                                                                                                                                                          
                                                                                                                                                                          	// The name.
                                                                                                                                                                          	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`
                                                                                                                                                                          
                                                                                                                                                                          	// The identifier of the parent of the object.
                                                                                                                                                                          	ParentID *string `json:"parentID,omitempty" msgpack:"parentID,omitempty" bson:"parentid,omitempty" mapstructure:"parentID,omitempty"`
                                                                                                                                                                          
                                                                                                                                                                          	// The type of the parent of the object.
                                                                                                                                                                          	ParentType *string `json:"parentType,omitempty" msgpack:"parentType,omitempty" bson:"parenttype,omitempty" mapstructure:"parentType,omitempty"`
                                                                                                                                                                          
                                                                                                                                                                          	// The status of the task.
                                                                                                                                                                          	Status *TaskStatusValue `json:"status,omitempty" msgpack:"status,omitempty" bson:"status,omitempty" mapstructure:"status,omitempty"`
                                                                                                                                                                          
                                                                                                                                                                          	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
                                                                                                                                                                          }

                                                                                                                                                                            SparseTask represents the sparse version of a task.

                                                                                                                                                                            func NewSparseTask

                                                                                                                                                                            func NewSparseTask() *SparseTask

                                                                                                                                                                              NewSparseTask returns a new SparseTask.

                                                                                                                                                                              func (*SparseTask) DeepCopy

                                                                                                                                                                              func (o *SparseTask) DeepCopy() *SparseTask

                                                                                                                                                                                DeepCopy returns a deep copy if the SparseTask.

                                                                                                                                                                                func (*SparseTask) DeepCopyInto

                                                                                                                                                                                func (o *SparseTask) DeepCopyInto(out *SparseTask)

                                                                                                                                                                                  DeepCopyInto copies the receiver into the given *SparseTask.

                                                                                                                                                                                  func (*SparseTask) GetBSON

                                                                                                                                                                                  func (o *SparseTask) GetBSON() (interface{}, error)

                                                                                                                                                                                    GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                                                                    func (*SparseTask) GetName

                                                                                                                                                                                    func (o *SparseTask) GetName() (out string)

                                                                                                                                                                                      GetName returns the Name of the receiver.

                                                                                                                                                                                      func (*SparseTask) Identifier

                                                                                                                                                                                      func (o *SparseTask) Identifier() string

                                                                                                                                                                                        Identifier returns the value of the sparse object's unique identifier.

                                                                                                                                                                                        func (*SparseTask) Identity

                                                                                                                                                                                        func (o *SparseTask) Identity() elemental.Identity

                                                                                                                                                                                          Identity returns the Identity of the sparse object.

                                                                                                                                                                                          func (*SparseTask) SetBSON

                                                                                                                                                                                          func (o *SparseTask) SetBSON(raw bson.Raw) error

                                                                                                                                                                                            SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                                                                            func (*SparseTask) SetIdentifier

                                                                                                                                                                                            func (o *SparseTask) SetIdentifier(id string)

                                                                                                                                                                                              SetIdentifier sets the value of the sparse object's unique identifier.

                                                                                                                                                                                              func (*SparseTask) SetName

                                                                                                                                                                                              func (o *SparseTask) SetName(name string)

                                                                                                                                                                                                SetName sets the property Name of the receiver using the address of the given value.

                                                                                                                                                                                                func (*SparseTask) ToPlain

                                                                                                                                                                                                func (o *SparseTask) ToPlain() elemental.PlainIdentifiable

                                                                                                                                                                                                  ToPlain returns the plain version of the sparse model.

                                                                                                                                                                                                  func (*SparseTask) Version

                                                                                                                                                                                                  func (o *SparseTask) Version() int

                                                                                                                                                                                                    Version returns the hardcoded version of the model.

                                                                                                                                                                                                    type SparseTasksList

                                                                                                                                                                                                    type SparseTasksList []*SparseTask

                                                                                                                                                                                                      SparseTasksList represents a list of SparseTasks

                                                                                                                                                                                                      func (SparseTasksList) Append

                                                                                                                                                                                                        Append appends the objects to the a new copy of the SparseTasksList.

                                                                                                                                                                                                        func (SparseTasksList) Copy

                                                                                                                                                                                                          Copy returns a pointer to a copy the SparseTasksList.

                                                                                                                                                                                                          func (SparseTasksList) DefaultOrder

                                                                                                                                                                                                          func (o SparseTasksList) DefaultOrder() []string

                                                                                                                                                                                                            DefaultOrder returns the default ordering fields of the content.

                                                                                                                                                                                                            func (SparseTasksList) Identity

                                                                                                                                                                                                            func (o SparseTasksList) Identity() elemental.Identity

                                                                                                                                                                                                              Identity returns the identity of the objects in the list.

                                                                                                                                                                                                              func (SparseTasksList) List

                                                                                                                                                                                                                List converts the object to an elemental.IdentifiablesList.

                                                                                                                                                                                                                func (SparseTasksList) ToPlain

                                                                                                                                                                                                                  ToPlain returns the SparseTasksList converted to TasksList.

                                                                                                                                                                                                                  func (SparseTasksList) Version

                                                                                                                                                                                                                  func (o SparseTasksList) Version() int

                                                                                                                                                                                                                    Version returns the version of the content.

                                                                                                                                                                                                                    type SparseUser

                                                                                                                                                                                                                    type SparseUser struct {
                                                                                                                                                                                                                    	// The identifier.
                                                                                                                                                                                                                    	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    	// The first name.
                                                                                                                                                                                                                    	FirstName *string `json:"firstName,omitempty" msgpack:"firstName,omitempty" bson:"firstname,omitempty" mapstructure:"firstName,omitempty"`
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    	// The last name.
                                                                                                                                                                                                                    	LastName *string `json:"lastName,omitempty" msgpack:"lastName,omitempty" bson:"lastname,omitempty" mapstructure:"lastName,omitempty"`
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    	// The identifier of the parent of the object.
                                                                                                                                                                                                                    	ParentID *string `json:"parentID,omitempty" msgpack:"parentID,omitempty" bson:"parentid,omitempty" mapstructure:"parentID,omitempty"`
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    	// The type of the parent of the object.
                                                                                                                                                                                                                    	ParentType *string `json:"parentType,omitempty" msgpack:"parentType,omitempty" bson:"parenttype,omitempty" mapstructure:"parentType,omitempty"`
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    	// the login.
                                                                                                                                                                                                                    	UserName *string `json:"userName,omitempty" msgpack:"userName,omitempty" bson:"username,omitempty" mapstructure:"userName,omitempty"`
                                                                                                                                                                                                                    
                                                                                                                                                                                                                    	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
                                                                                                                                                                                                                    }

                                                                                                                                                                                                                      SparseUser represents the sparse version of a user.

                                                                                                                                                                                                                      func NewSparseUser

                                                                                                                                                                                                                      func NewSparseUser() *SparseUser

                                                                                                                                                                                                                        NewSparseUser returns a new SparseUser.

                                                                                                                                                                                                                        func (*SparseUser) DeepCopy

                                                                                                                                                                                                                        func (o *SparseUser) DeepCopy() *SparseUser

                                                                                                                                                                                                                          DeepCopy returns a deep copy if the SparseUser.

                                                                                                                                                                                                                          func (*SparseUser) DeepCopyInto

                                                                                                                                                                                                                          func (o *SparseUser) DeepCopyInto(out *SparseUser)

                                                                                                                                                                                                                            DeepCopyInto copies the receiver into the given *SparseUser.

                                                                                                                                                                                                                            func (*SparseUser) GetBSON

                                                                                                                                                                                                                            func (o *SparseUser) GetBSON() (interface{}, error)

                                                                                                                                                                                                                              GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                                                                                                              func (*SparseUser) Identifier

                                                                                                                                                                                                                              func (o *SparseUser) Identifier() string

                                                                                                                                                                                                                                Identifier returns the value of the sparse object's unique identifier.

                                                                                                                                                                                                                                func (*SparseUser) Identity

                                                                                                                                                                                                                                func (o *SparseUser) Identity() elemental.Identity

                                                                                                                                                                                                                                  Identity returns the Identity of the sparse object.

                                                                                                                                                                                                                                  func (*SparseUser) SetBSON

                                                                                                                                                                                                                                  func (o *SparseUser) SetBSON(raw bson.Raw) error

                                                                                                                                                                                                                                    SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                                                                                                                    func (*SparseUser) SetIdentifier

                                                                                                                                                                                                                                    func (o *SparseUser) SetIdentifier(id string)

                                                                                                                                                                                                                                      SetIdentifier sets the value of the sparse object's unique identifier.

                                                                                                                                                                                                                                      func (*SparseUser) ToPlain

                                                                                                                                                                                                                                      func (o *SparseUser) ToPlain() elemental.PlainIdentifiable

                                                                                                                                                                                                                                        ToPlain returns the plain version of the sparse model.

                                                                                                                                                                                                                                        func (*SparseUser) Version

                                                                                                                                                                                                                                        func (o *SparseUser) Version() int

                                                                                                                                                                                                                                          Version returns the hardcoded version of the model.

                                                                                                                                                                                                                                          type SparseUsersList

                                                                                                                                                                                                                                          type SparseUsersList []*SparseUser

                                                                                                                                                                                                                                            SparseUsersList represents a list of SparseUsers

                                                                                                                                                                                                                                            func (SparseUsersList) Append

                                                                                                                                                                                                                                              Append appends the objects to the a new copy of the SparseUsersList.

                                                                                                                                                                                                                                              func (SparseUsersList) Copy

                                                                                                                                                                                                                                                Copy returns a pointer to a copy the SparseUsersList.

                                                                                                                                                                                                                                                func (SparseUsersList) DefaultOrder

                                                                                                                                                                                                                                                func (o SparseUsersList) DefaultOrder() []string

                                                                                                                                                                                                                                                  DefaultOrder returns the default ordering fields of the content.

                                                                                                                                                                                                                                                  func (SparseUsersList) Identity

                                                                                                                                                                                                                                                  func (o SparseUsersList) Identity() elemental.Identity

                                                                                                                                                                                                                                                    Identity returns the identity of the objects in the list.

                                                                                                                                                                                                                                                    func (SparseUsersList) List

                                                                                                                                                                                                                                                      List converts the object to an elemental.IdentifiablesList.

                                                                                                                                                                                                                                                      func (SparseUsersList) ToPlain

                                                                                                                                                                                                                                                        ToPlain returns the SparseUsersList converted to UsersList.

                                                                                                                                                                                                                                                        func (SparseUsersList) Version

                                                                                                                                                                                                                                                        func (o SparseUsersList) Version() int

                                                                                                                                                                                                                                                          Version returns the version of the content.

                                                                                                                                                                                                                                                          type Task

                                                                                                                                                                                                                                                          type Task struct {
                                                                                                                                                                                                                                                          	// The identifier.
                                                                                                                                                                                                                                                          	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// The description.
                                                                                                                                                                                                                                                          	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// The name.
                                                                                                                                                                                                                                                          	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// The identifier of the parent of the object.
                                                                                                                                                                                                                                                          	ParentID string `json:"parentID" msgpack:"parentID" bson:"parentid" mapstructure:"parentID,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// The type of the parent of the object.
                                                                                                                                                                                                                                                          	ParentType string `json:"parentType" msgpack:"parentType" bson:"parenttype" mapstructure:"parentType,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	// The status of the task.
                                                                                                                                                                                                                                                          	Status TaskStatusValue `json:"status" msgpack:"status" bson:"status" mapstructure:"status,omitempty"`
                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                          	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                            Task represents the model of a task

                                                                                                                                                                                                                                                            func NewTask

                                                                                                                                                                                                                                                            func NewTask() *Task

                                                                                                                                                                                                                                                              NewTask returns a new *Task

                                                                                                                                                                                                                                                              func (*Task) AttributeSpecifications

                                                                                                                                                                                                                                                              func (*Task) AttributeSpecifications() map[string]elemental.AttributeSpecification

                                                                                                                                                                                                                                                                AttributeSpecifications returns the full attribute specifications map.

                                                                                                                                                                                                                                                                func (*Task) BleveType

                                                                                                                                                                                                                                                                func (o *Task) BleveType() string

                                                                                                                                                                                                                                                                  BleveType implements the bleve.Classifier Interface.

                                                                                                                                                                                                                                                                  func (*Task) DeepCopy

                                                                                                                                                                                                                                                                  func (o *Task) DeepCopy() *Task

                                                                                                                                                                                                                                                                    DeepCopy returns a deep copy if the Task.

                                                                                                                                                                                                                                                                    func (*Task) DeepCopyInto

                                                                                                                                                                                                                                                                    func (o *Task) DeepCopyInto(out *Task)

                                                                                                                                                                                                                                                                      DeepCopyInto copies the receiver into the given *Task.

                                                                                                                                                                                                                                                                      func (*Task) DefaultOrder

                                                                                                                                                                                                                                                                      func (o *Task) DefaultOrder() []string

                                                                                                                                                                                                                                                                        DefaultOrder returns the list of default ordering fields.

                                                                                                                                                                                                                                                                        func (*Task) Doc

                                                                                                                                                                                                                                                                        func (o *Task) Doc() string

                                                                                                                                                                                                                                                                          Doc returns the documentation for the object

                                                                                                                                                                                                                                                                          func (*Task) GetBSON

                                                                                                                                                                                                                                                                          func (o *Task) GetBSON() (interface{}, error)

                                                                                                                                                                                                                                                                            GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                                                                                                                                                            func (*Task) GetName

                                                                                                                                                                                                                                                                            func (o *Task) GetName() string

                                                                                                                                                                                                                                                                              GetName returns the Name of the receiver.

                                                                                                                                                                                                                                                                              func (*Task) Identifier

                                                                                                                                                                                                                                                                              func (o *Task) Identifier() string

                                                                                                                                                                                                                                                                                Identifier returns the value of the object's unique identifier.

                                                                                                                                                                                                                                                                                func (*Task) Identity

                                                                                                                                                                                                                                                                                func (o *Task) Identity() elemental.Identity

                                                                                                                                                                                                                                                                                  Identity returns the Identity of the object.

                                                                                                                                                                                                                                                                                  func (*Task) Patch

                                                                                                                                                                                                                                                                                  func (o *Task) Patch(sparse elemental.SparseIdentifiable)

                                                                                                                                                                                                                                                                                    Patch apply the non nil value of a *SparseTask to the object.

                                                                                                                                                                                                                                                                                    func (*Task) SetBSON

                                                                                                                                                                                                                                                                                    func (o *Task) SetBSON(raw bson.Raw) error

                                                                                                                                                                                                                                                                                      SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                                                                                                                                                                      func (*Task) SetIdentifier

                                                                                                                                                                                                                                                                                      func (o *Task) SetIdentifier(id string)

                                                                                                                                                                                                                                                                                        SetIdentifier sets the value of the object's unique identifier.

                                                                                                                                                                                                                                                                                        func (*Task) SetName

                                                                                                                                                                                                                                                                                        func (o *Task) SetName(name string)

                                                                                                                                                                                                                                                                                          SetName sets the property Name of the receiver using the given value.

                                                                                                                                                                                                                                                                                          func (*Task) SpecificationForAttribute

                                                                                                                                                                                                                                                                                          func (*Task) SpecificationForAttribute(name string) elemental.AttributeSpecification

                                                                                                                                                                                                                                                                                            SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

                                                                                                                                                                                                                                                                                            func (*Task) String

                                                                                                                                                                                                                                                                                            func (o *Task) String() string

                                                                                                                                                                                                                                                                                            func (*Task) ToSparse

                                                                                                                                                                                                                                                                                            func (o *Task) ToSparse(fields ...string) elemental.SparseIdentifiable

                                                                                                                                                                                                                                                                                              ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

                                                                                                                                                                                                                                                                                              func (*Task) Validate

                                                                                                                                                                                                                                                                                              func (o *Task) Validate() error

                                                                                                                                                                                                                                                                                                Validate valides the current information stored into the structure.

                                                                                                                                                                                                                                                                                                func (*Task) ValueForAttribute

                                                                                                                                                                                                                                                                                                func (o *Task) ValueForAttribute(name string) interface{}

                                                                                                                                                                                                                                                                                                  ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

                                                                                                                                                                                                                                                                                                  func (*Task) Version

                                                                                                                                                                                                                                                                                                  func (o *Task) Version() int

                                                                                                                                                                                                                                                                                                    Version returns the hardcoded version of the model.

                                                                                                                                                                                                                                                                                                    type TaskStatusValue

                                                                                                                                                                                                                                                                                                    type TaskStatusValue string

                                                                                                                                                                                                                                                                                                      TaskStatusValue represents the possible values for attribute "status".

                                                                                                                                                                                                                                                                                                      const (
                                                                                                                                                                                                                                                                                                      	// TaskStatusDONE represents the value DONE.
                                                                                                                                                                                                                                                                                                      	TaskStatusDONE TaskStatusValue = "DONE"
                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                      	// TaskStatusPROGRESS represents the value PROGRESS.
                                                                                                                                                                                                                                                                                                      	TaskStatusPROGRESS TaskStatusValue = "PROGRESS"
                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                      	// TaskStatusTODO represents the value TODO.
                                                                                                                                                                                                                                                                                                      	TaskStatusTODO TaskStatusValue = "TODO"
                                                                                                                                                                                                                                                                                                      )

                                                                                                                                                                                                                                                                                                      type TasksList

                                                                                                                                                                                                                                                                                                      type TasksList []*Task

                                                                                                                                                                                                                                                                                                        TasksList represents a list of Tasks

                                                                                                                                                                                                                                                                                                        func (TasksList) Append

                                                                                                                                                                                                                                                                                                          Append appends the objects to the a new copy of the TasksList.

                                                                                                                                                                                                                                                                                                          func (TasksList) Copy

                                                                                                                                                                                                                                                                                                            Copy returns a pointer to a copy the TasksList.

                                                                                                                                                                                                                                                                                                            func (TasksList) DefaultOrder

                                                                                                                                                                                                                                                                                                            func (o TasksList) DefaultOrder() []string

                                                                                                                                                                                                                                                                                                              DefaultOrder returns the default ordering fields of the content.

                                                                                                                                                                                                                                                                                                              func (TasksList) Identity

                                                                                                                                                                                                                                                                                                              func (o TasksList) Identity() elemental.Identity

                                                                                                                                                                                                                                                                                                                Identity returns the identity of the objects in the list.

                                                                                                                                                                                                                                                                                                                func (TasksList) List

                                                                                                                                                                                                                                                                                                                  List converts the object to an elemental.IdentifiablesList.

                                                                                                                                                                                                                                                                                                                  func (TasksList) ToSparse

                                                                                                                                                                                                                                                                                                                  func (o TasksList) ToSparse(fields ...string) elemental.Identifiables

                                                                                                                                                                                                                                                                                                                    ToSparse returns the TasksList converted to SparseTasksList. Objects in the list will only contain the given fields. No field means entire field set.

                                                                                                                                                                                                                                                                                                                    func (TasksList) Version

                                                                                                                                                                                                                                                                                                                    func (o TasksList) Version() int

                                                                                                                                                                                                                                                                                                                      Version returns the version of the content.

                                                                                                                                                                                                                                                                                                                      type UnmarshalableError

                                                                                                                                                                                                                                                                                                                      type UnmarshalableError struct {
                                                                                                                                                                                                                                                                                                                      	elemental.Error
                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                        An UnmarshalableError is a List that cannot be marshalled or unmarshalled.

                                                                                                                                                                                                                                                                                                                        func (*UnmarshalableError) MarshalJSON

                                                                                                                                                                                                                                                                                                                        func (o *UnmarshalableError) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                          MarshalJSON makes the UnmarshalableError not marshalable.

                                                                                                                                                                                                                                                                                                                          func (*UnmarshalableError) MarshalMsgpack

                                                                                                                                                                                                                                                                                                                          func (o *UnmarshalableError) MarshalMsgpack() ([]byte, error)

                                                                                                                                                                                                                                                                                                                            MarshalMsgpack makes the UnmarshalableError not marshalable.

                                                                                                                                                                                                                                                                                                                            func (*UnmarshalableError) UnmarshalJSON

                                                                                                                                                                                                                                                                                                                            func (o *UnmarshalableError) UnmarshalJSON([]byte) error

                                                                                                                                                                                                                                                                                                                              UnmarshalJSON makes the UnmarshalableError not unmarshalable.

                                                                                                                                                                                                                                                                                                                              func (*UnmarshalableError) UnmarshalMsgpack

                                                                                                                                                                                                                                                                                                                              func (o *UnmarshalableError) UnmarshalMsgpack([]byte) error

                                                                                                                                                                                                                                                                                                                                UnmarshalMsgpack makes the UnmarshalableError not unmarshalable.

                                                                                                                                                                                                                                                                                                                                type UnmarshalableList

                                                                                                                                                                                                                                                                                                                                type UnmarshalableList struct {
                                                                                                                                                                                                                                                                                                                                	List
                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                  An UnmarshalableList is a List that cannot be marshalled or unmarshalled.

                                                                                                                                                                                                                                                                                                                                  func NewUnmarshalableList

                                                                                                                                                                                                                                                                                                                                  func NewUnmarshalableList() *UnmarshalableList

                                                                                                                                                                                                                                                                                                                                    NewUnmarshalableList returns a new UnmarshalableList.

                                                                                                                                                                                                                                                                                                                                    func (*UnmarshalableList) Identity

                                                                                                                                                                                                                                                                                                                                    func (o *UnmarshalableList) Identity() elemental.Identity

                                                                                                                                                                                                                                                                                                                                      Identity returns the identity.

                                                                                                                                                                                                                                                                                                                                      func (*UnmarshalableList) MarshalJSON

                                                                                                                                                                                                                                                                                                                                      func (o *UnmarshalableList) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                        MarshalJSON makes the UnmarshalableList not marshalable.

                                                                                                                                                                                                                                                                                                                                        func (*UnmarshalableList) MarshalMsgpack

                                                                                                                                                                                                                                                                                                                                        func (o *UnmarshalableList) MarshalMsgpack() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                          MarshalMsgpack makes the UnmarshalableList not marshalable.

                                                                                                                                                                                                                                                                                                                                          func (*UnmarshalableList) UnmarshalJSON

                                                                                                                                                                                                                                                                                                                                          func (o *UnmarshalableList) UnmarshalJSON([]byte) error

                                                                                                                                                                                                                                                                                                                                            UnmarshalJSON makes the UnmarshalableList not unmarshalable.

                                                                                                                                                                                                                                                                                                                                            func (*UnmarshalableList) UnmarshalMsgpack

                                                                                                                                                                                                                                                                                                                                            func (o *UnmarshalableList) UnmarshalMsgpack([]byte) error

                                                                                                                                                                                                                                                                                                                                              UnmarshalMsgpack makes the UnmarshalableList not unmarshalable.

                                                                                                                                                                                                                                                                                                                                              func (*UnmarshalableList) Validate

                                                                                                                                                                                                                                                                                                                                              func (o *UnmarshalableList) Validate() elemental.Errors

                                                                                                                                                                                                                                                                                                                                                Validate validates the data

                                                                                                                                                                                                                                                                                                                                                type UnmarshalableListsList

                                                                                                                                                                                                                                                                                                                                                type UnmarshalableListsList []*UnmarshalableList

                                                                                                                                                                                                                                                                                                                                                  UnmarshalableListsList represents a list of UnmarshalableLists

                                                                                                                                                                                                                                                                                                                                                  func (UnmarshalableListsList) Append

                                                                                                                                                                                                                                                                                                                                                    Append appends the objects to the a new copy of the UnmarshalableListsList.

                                                                                                                                                                                                                                                                                                                                                    func (UnmarshalableListsList) Copy

                                                                                                                                                                                                                                                                                                                                                      Copy returns a pointer to a copy the UnmarshalableListsList.

                                                                                                                                                                                                                                                                                                                                                      func (UnmarshalableListsList) DefaultOrder

                                                                                                                                                                                                                                                                                                                                                      func (o UnmarshalableListsList) DefaultOrder() []string

                                                                                                                                                                                                                                                                                                                                                        DefaultOrder returns the default ordering fields of the content.

                                                                                                                                                                                                                                                                                                                                                        func (UnmarshalableListsList) Identity

                                                                                                                                                                                                                                                                                                                                                          Identity returns the identity of the objects in the list.

                                                                                                                                                                                                                                                                                                                                                          func (UnmarshalableListsList) List

                                                                                                                                                                                                                                                                                                                                                            List converts the object to an elemental.IdentifiablesList.

                                                                                                                                                                                                                                                                                                                                                            func (UnmarshalableListsList) Version

                                                                                                                                                                                                                                                                                                                                                            func (o UnmarshalableListsList) Version() int

                                                                                                                                                                                                                                                                                                                                                              Version returns the version of the content.

                                                                                                                                                                                                                                                                                                                                                              type User

                                                                                                                                                                                                                                                                                                                                                              type User struct {
                                                                                                                                                                                                                                                                                                                                                              	// The identifier.
                                                                                                                                                                                                                                                                                                                                                              	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// The first name.
                                                                                                                                                                                                                                                                                                                                                              	FirstName string `json:"firstName" msgpack:"firstName" bson:"firstname" mapstructure:"firstName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// The last name.
                                                                                                                                                                                                                                                                                                                                                              	LastName string `json:"lastName" msgpack:"lastName" bson:"lastname" mapstructure:"lastName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// The identifier of the parent of the object.
                                                                                                                                                                                                                                                                                                                                                              	ParentID string `json:"parentID" msgpack:"parentID" bson:"parentid" mapstructure:"parentID,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// The type of the parent of the object.
                                                                                                                                                                                                                                                                                                                                                              	ParentType string `json:"parentType" msgpack:"parentType" bson:"parenttype" mapstructure:"parentType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// the login.
                                                                                                                                                                                                                                                                                                                                                              	UserName string `json:"userName" msgpack:"userName" bson:"username" mapstructure:"userName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                User represents the model of a user

                                                                                                                                                                                                                                                                                                                                                                func NewUser

                                                                                                                                                                                                                                                                                                                                                                func NewUser() *User

                                                                                                                                                                                                                                                                                                                                                                  NewUser returns a new *User

                                                                                                                                                                                                                                                                                                                                                                  func (*User) AttributeSpecifications

                                                                                                                                                                                                                                                                                                                                                                  func (*User) AttributeSpecifications() map[string]elemental.AttributeSpecification

                                                                                                                                                                                                                                                                                                                                                                    AttributeSpecifications returns the full attribute specifications map.

                                                                                                                                                                                                                                                                                                                                                                    func (*User) BleveType

                                                                                                                                                                                                                                                                                                                                                                    func (o *User) BleveType() string

                                                                                                                                                                                                                                                                                                                                                                      BleveType implements the bleve.Classifier Interface.

                                                                                                                                                                                                                                                                                                                                                                      func (*User) DeepCopy

                                                                                                                                                                                                                                                                                                                                                                      func (o *User) DeepCopy() *User

                                                                                                                                                                                                                                                                                                                                                                        DeepCopy returns a deep copy if the User.

                                                                                                                                                                                                                                                                                                                                                                        func (*User) DeepCopyInto

                                                                                                                                                                                                                                                                                                                                                                        func (o *User) DeepCopyInto(out *User)

                                                                                                                                                                                                                                                                                                                                                                          DeepCopyInto copies the receiver into the given *User.

                                                                                                                                                                                                                                                                                                                                                                          func (*User) DefaultOrder

                                                                                                                                                                                                                                                                                                                                                                          func (o *User) DefaultOrder() []string

                                                                                                                                                                                                                                                                                                                                                                            DefaultOrder returns the list of default ordering fields.

                                                                                                                                                                                                                                                                                                                                                                            func (*User) Doc

                                                                                                                                                                                                                                                                                                                                                                            func (o *User) Doc() string

                                                                                                                                                                                                                                                                                                                                                                              Doc returns the documentation for the object

                                                                                                                                                                                                                                                                                                                                                                              func (*User) GetBSON

                                                                                                                                                                                                                                                                                                                                                                              func (o *User) GetBSON() (interface{}, error)

                                                                                                                                                                                                                                                                                                                                                                                GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                                                                                                                                                                                                                                                                func (*User) Identifier

                                                                                                                                                                                                                                                                                                                                                                                func (o *User) Identifier() string

                                                                                                                                                                                                                                                                                                                                                                                  Identifier returns the value of the object's unique identifier.

                                                                                                                                                                                                                                                                                                                                                                                  func (*User) Identity

                                                                                                                                                                                                                                                                                                                                                                                  func (o *User) Identity() elemental.Identity

                                                                                                                                                                                                                                                                                                                                                                                    Identity returns the Identity of the object.

                                                                                                                                                                                                                                                                                                                                                                                    func (*User) Patch

                                                                                                                                                                                                                                                                                                                                                                                    func (o *User) Patch(sparse elemental.SparseIdentifiable)

                                                                                                                                                                                                                                                                                                                                                                                      Patch apply the non nil value of a *SparseUser to the object.

                                                                                                                                                                                                                                                                                                                                                                                      func (*User) SetBSON

                                                                                                                                                                                                                                                                                                                                                                                      func (o *User) SetBSON(raw bson.Raw) error

                                                                                                                                                                                                                                                                                                                                                                                        SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

                                                                                                                                                                                                                                                                                                                                                                                        func (*User) SetIdentifier

                                                                                                                                                                                                                                                                                                                                                                                        func (o *User) SetIdentifier(id string)

                                                                                                                                                                                                                                                                                                                                                                                          SetIdentifier sets the value of the object's unique identifier.

                                                                                                                                                                                                                                                                                                                                                                                          func (*User) SpecificationForAttribute

                                                                                                                                                                                                                                                                                                                                                                                          func (*User) SpecificationForAttribute(name string) elemental.AttributeSpecification

                                                                                                                                                                                                                                                                                                                                                                                            SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

                                                                                                                                                                                                                                                                                                                                                                                            func (*User) String

                                                                                                                                                                                                                                                                                                                                                                                            func (o *User) String() string

                                                                                                                                                                                                                                                                                                                                                                                            func (*User) ToSparse

                                                                                                                                                                                                                                                                                                                                                                                            func (o *User) ToSparse(fields ...string) elemental.SparseIdentifiable

                                                                                                                                                                                                                                                                                                                                                                                              ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

                                                                                                                                                                                                                                                                                                                                                                                              func (*User) Validate

                                                                                                                                                                                                                                                                                                                                                                                              func (o *User) Validate() error

                                                                                                                                                                                                                                                                                                                                                                                                Validate valides the current information stored into the structure.

                                                                                                                                                                                                                                                                                                                                                                                                func (*User) ValueForAttribute

                                                                                                                                                                                                                                                                                                                                                                                                func (o *User) ValueForAttribute(name string) interface{}

                                                                                                                                                                                                                                                                                                                                                                                                  ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

                                                                                                                                                                                                                                                                                                                                                                                                  func (*User) Version

                                                                                                                                                                                                                                                                                                                                                                                                  func (o *User) Version() int

                                                                                                                                                                                                                                                                                                                                                                                                    Version returns the hardcoded version of the model.

                                                                                                                                                                                                                                                                                                                                                                                                    type UsersList

                                                                                                                                                                                                                                                                                                                                                                                                    type UsersList []*User

                                                                                                                                                                                                                                                                                                                                                                                                      UsersList represents a list of Users

                                                                                                                                                                                                                                                                                                                                                                                                      func (UsersList) Append

                                                                                                                                                                                                                                                                                                                                                                                                        Append appends the objects to the a new copy of the UsersList.

                                                                                                                                                                                                                                                                                                                                                                                                        func (UsersList) Copy

                                                                                                                                                                                                                                                                                                                                                                                                          Copy returns a pointer to a copy the UsersList.

                                                                                                                                                                                                                                                                                                                                                                                                          func (UsersList) DefaultOrder

                                                                                                                                                                                                                                                                                                                                                                                                          func (o UsersList) DefaultOrder() []string

                                                                                                                                                                                                                                                                                                                                                                                                            DefaultOrder returns the default ordering fields of the content.

                                                                                                                                                                                                                                                                                                                                                                                                            func (UsersList) Identity

                                                                                                                                                                                                                                                                                                                                                                                                            func (o UsersList) Identity() elemental.Identity

                                                                                                                                                                                                                                                                                                                                                                                                              Identity returns the identity of the objects in the list.

                                                                                                                                                                                                                                                                                                                                                                                                              func (UsersList) List

                                                                                                                                                                                                                                                                                                                                                                                                                List converts the object to an elemental.IdentifiablesList.

                                                                                                                                                                                                                                                                                                                                                                                                                func (UsersList) ToSparse

                                                                                                                                                                                                                                                                                                                                                                                                                func (o UsersList) ToSparse(fields ...string) elemental.Identifiables

                                                                                                                                                                                                                                                                                                                                                                                                                  ToSparse returns the UsersList converted to SparseUsersList. Objects in the list will only contain the given fields. No field means entire field set.

                                                                                                                                                                                                                                                                                                                                                                                                                  func (UsersList) Version

                                                                                                                                                                                                                                                                                                                                                                                                                  func (o UsersList) Version() int

                                                                                                                                                                                                                                                                                                                                                                                                                    Version returns the version of the content.