Class: ConfigStore::Namespace

Inherits:
Model
  • Object
show all
Defined in:
lib/configstore/models/namespace.rb

Constant Summary collapse

ATTRIBUTES =
{
	uuid: TypedAttrAccessor::TYPE_STRING,
	name: TypedAttrAccessor::TYPE_STRING,
	delete_protection: TypedAttrAccessor::TYPE_BOOLEAN,
	record_count: TypedAttrAccessor::TYPE_INTEGER,
	created_at: TypedAttrAccessor::TYPE_DATE_TIME,
	updated_at: TypedAttrAccessor::TYPE_DATE_TIME,
}.deep_freeze
API_ATTRIBUTE_LIST =
[:uuid, :name, :delete_protection, :record_count, :created_at, :updated_at].deep_freeze

Constants included from TypedAttrAccessor

TypedAttrAccessor::TYPE_BASE64, TypedAttrAccessor::TYPE_BOOLEAN, TypedAttrAccessor::TYPE_DATE_TIME, TypedAttrAccessor::TYPE_HASH, TypedAttrAccessor::TYPE_INTEGER, TypedAttrAccessor::TYPE_STRING

Method Summary

Methods inherited from Model

api_attribute_names, api_attributes_hash, attribute_names, attributes_hash, from_api_hash, #initialize, #to_api_hash

Methods included from TypedAttrAccessor

allowed_types, type_alias_to_type_array, type_checks, type_specific_checks, #typed_attr_accessor

Constructor Details

This class inherits a constructor from ConfigStore::Model