// Code generated by apbr generate. DO NOT EDIT.
// versions:
// 	apbr generate v1.2

//go:build !codeanalysis

package resource_model

import "github.com/google/uuid"
import "time"

type Namespace struct {
	Id          *uuid.UUID          `json:"id,omitempty"`
	Version     int32               `json:"version,omitempty"`
	AuditData   *NamespaceAuditData `json:"auditData,omitempty"`
	Name        string              `json:"name,omitempty"`
	Description *string             `json:"description,omitempty"`
	Details     interface{}         `json:"details,omitempty"`
}

func (s Namespace) GetId() *uuid.UUID {
	return s.Id
}
func (s Namespace) GetVersion() int32 {
	return s.Version
}
func (s Namespace) GetAuditData() *NamespaceAuditData {
	return s.AuditData
}
func (s Namespace) GetName() string {
	return s.Name
}
func (s Namespace) GetDescription() *string {
	return s.Description
}
func (s Namespace) GetDetails() interface{} {
	return s.Details
}

type NamespaceAuditData struct {
	CreatedBy *string    `json:"createdBy,omitempty"`
	UpdatedBy *string    `json:"updatedBy,omitempty"`
	CreatedOn *time.Time `json:"createdOn,omitempty"`
	UpdatedOn *time.Time `json:"updatedOn,omitempty"`
}

func (s NamespaceAuditData) GetCreatedBy() *string {
	return s.CreatedBy
}
func (s NamespaceAuditData) GetUpdatedBy() *string {
	return s.UpdatedBy
}
func (s NamespaceAuditData) GetCreatedOn() *time.Time {
	return s.CreatedOn
}
func (s NamespaceAuditData) GetUpdatedOn() *time.Time {
	return s.UpdatedOn
}
