func (a *OAuthAuthorizationCode) Version() int {
	return a.StructVersion
}
Version returns the current struct version for this object
package primitives
import (
	"time"
	"github.com/manifoldco/go-manifold"
	"github.com/manifoldco/go-manifold/idtype"
)
type OAuthAuthorizationCodeBody struct {
	UserID            manifold.ID  `json:"user_id"`
	TeamID            *manifold.ID `json:"team_id,omitempty"`
	InboundResourceID manifold.ID  `json:"resource_id"`
	CreatedAt         time.Time    `json:"created_at"`
	ExpiresAt         time.Time    `json:"expires_at"`
	RedirectURI       string       `json:"redirect_uri,omitempty"`
	Code              string       `json:"code"`
}
type OAuthAuthorizationCode struct {
	ID            manifold.ID                `json:"id"`
	StructType    string                     `json:"type"`
	StructVersion int                        `json:"version"`
	Body          OAuthAuthorizationCodeBody `json:"body"`
}
func (a *OAuthAuthorizationCode) GetID() manifold.ID {
	return a.ID
}