syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "google/protobuf/field_mask.proto"; import "onprem/user/v1/chassis.proto"; import "onprem/user/v1/chassis_type.proto"; import "onprem/user/v1/device.proto"; import "onprem/user/v1/error.proto"; import "onprem/user/v1/facility.proto"; import "onprem/user/v1/file_info.proto"; import "onprem/user/v1/redfish_chassis.proto"; import "onprem/user/v1/tag.proto"; message ChassisFilter { optional string asset_tag = 1; optional string chassis_type_id = 2; optional string created_by_user_id = 3; optional string facility_id = 4; // fields 5 optional string id = 6; optional string name = 7; reserved 8; optional string owner_team_id = 9; optional string owner_user_id = 10; optional string parent_chassis_id = 11; optional RedfishChassis.Type type = 12; repeated string ids = 13; repeated string tag_ids = 14; } message CreateChassisRequest { Chassis chassis = 1; } message CreateChassisResponse { Chassis chassis = 1; repeated Device changed_devices = 2; } message DeleteChassisRequest { string id = 1; } message DeleteChassisResponse { repeated Device changed_devices = 1; repeated Facility changed_facilities = 2; repeated Chassis changed_chasses = 3; } message FindChassisRequest { string id = 1; bool include_related = 2; } message FindChassisResponse { message Related { repeated Chassis chasses = 1; repeated ChassisType chassis_types = 2; repeated Device devices = 3; repeated Facility facilities = 4; repeated Tag tags = 5; repeated FileInfo file_infos = 6; } Chassis chassis = 1; Related related = 2; } message FindChassesRequest { ChassisFilter filter = 1; reserved 2, 3, 4; google.protobuf.FieldMask field_mask = 5; } message FindChassesResponse { repeated Chassis chasses = 1; } message UpdateChassisRequest { Chassis chassis = 1; } message UpdateChassisResponse { Chassis chassis = 1; repeated Device changed_devices = 2; repeated Facility changed_facilities = 3; } message ValidateChassisRequest { Chassis chassis = 1; } message ValidateChassisResponse { repeated ErrorObject errors = 1; }