Conch API

Logo

Datacenter build and management service

View the Project on GitHub joyent/conch-api

NAME

Conch::DB::Result::ValidationResult

BASE CLASS: Conch::DB::Result

TABLE: validation_result

ACCESSORS

id

data_type: 'uuid'
default_value: gen_random_uuid()
is_nullable: 0
size: 16

device_id

data_type: 'text'
is_foreign_key: 1
is_nullable: 0

hardware_product_id

data_type: 'uuid'
is_foreign_key: 1
is_nullable: 0
size: 16

validation_id

data_type: 'uuid'
is_foreign_key: 1
is_nullable: 0
size: 16

message

data_type: 'text'
is_nullable: 0

hint

data_type: 'text'
is_nullable: 1

status

data_type: 'enum'
extra: {custom_type_name => "validation_status_enum",list => ["error","fail","processing","pass"]}
is_nullable: 0

category

data_type: 'text'
is_nullable: 0

component_id

data_type: 'text'
is_nullable: 1

result_order

data_type: 'integer'
is_nullable: 0

created

data_type: 'timestamp with time zone'
default_value: current_timestamp
is_nullable: 0
original: {default_value => \"now()"}

PRIMARY KEY

RELATIONS

device

Type: belongs_to

Related object: Conch::DB::Result::Device

hardware_product

Type: belongs_to

Related object: Conch::DB::Result::HardwareProduct

validation

Type: belongs_to

Related object: Conch::DB::Result::Validation

validation_state_members

Type: has_many

Related object: Conch::DB::Result::ValidationStateMember

validation_states

Type: many_to_many

Composing rels: “validation_state_members” -> validation_state

LICENSING

Copyright Joyent, Inc.

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.