UN Numbers
albert.resources.un_numbers
UnNumber
Bases: BaseResource
A UN number entity. UN Numbers are highly controlled within Albert.
Attributes:
Name | Type | Description |
---|---|---|
un_number |
str
|
The UN number. |
id |
str
|
The Albert ID of the UN number. Set when the UN number is retrieved from Albert. |
storage_class_name |
str
|
The name of the storage class. |
shipping_description |
str
|
The shipping description. |
storage_class_number |
str
|
The storage class number. |
un_classification |
str
|
The UN classification. |
Show JSON schema:
{
"$defs": {
"AuditFields": {
"description": "The audit fields for a resource",
"properties": {
"by": {
"default": null,
"title": "By",
"type": "string"
},
"byName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Byname"
},
"at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "At"
}
},
"title": "AuditFields",
"type": "object"
},
"Status": {
"description": "The status of a resource",
"enum": [
"active",
"inactive"
],
"title": "Status",
"type": "string"
}
},
"description": "A UN number entity. UN Numbers are highly controlled within Albert.\n\nAttributes\n----------\nun_number : str\n The UN number.\nid : str\n The Albert ID of the UN number. Set when the UN number is retrieved from Albert.\nstorage_class_name : str\n The name of the storage class.\nshipping_description : str\n The shipping description.\nstorage_class_number : str\n The storage class number.\nun_classification : str\n The UN classification.",
"properties": {
"status": {
"anyOf": [
{
"$ref": "#/$defs/Status"
},
{
"type": "null"
}
],
"default": null
},
"Created": {
"anyOf": [
{
"$ref": "#/$defs/AuditFields"
},
{
"type": "null"
}
],
"default": null
},
"Updated": {
"anyOf": [
{
"$ref": "#/$defs/AuditFields"
},
{
"type": "null"
}
],
"default": null
},
"unNumber": {
"title": "Unnumber",
"type": "string"
},
"albertId": {
"title": "Albertid",
"type": "string"
},
"storageClassName": {
"title": "Storageclassname",
"type": "string"
},
"shippingDescription": {
"title": "Shippingdescription",
"type": "string"
},
"storageClassNumber": {
"title": "Storageclassnumber",
"type": "string"
},
"unClassification": {
"title": "Unclassification",
"type": "string"
}
},
"required": [
"unNumber",
"albertId",
"storageClassName",
"shippingDescription",
"storageClassNumber",
"unClassification"
],
"title": "UnNumber",
"type": "object"
}
Fields:
-
status
(Status | None
) -
created
(AuditFields | None
) -
updated
(AuditFields | None
) -
un_number
(str
) -
id
(str
) -
storage_class_name
(str
) -
shipping_description
(str
) -
storage_class_number
(str
) -
un_classification
(str
)