Skip to main content

Structure

Represents information about a structure (building) that lives on a property.

type Structure {
id: ID!
_groupMeta: GroupMeta
property: Property
propertyId: ID
buildingType: String
buildingName: String
buildingRegisterCode: String
ownershipType: String
primaryUsagePurpose: String
buildingCondition: String
initialUseYear: Int
areaSize: String
geometry: JSON
mapStyle: MapStyle
electricalSystemType: String
waterSupplyType: String
sewerageType: String
heatingSupplyType: String
heatSourceType: String
energySourceType: String
ventilationType: String
coolingSystemType: String
comments: [Comment!]!
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
meters(
where: StructureMetersWhereWhereConditions
orderBy: [StructureMetersOrderByOrderByClause!]
first: Int! = 10
after: String
): MeterConnection!
contacts(
where: StructureContactsWhereWhereConditions
orderBy: [StructureContactsOrderByOrderByClause!]
first: Int! = 10
after: String
): StructureContactsEdgeConnection!
tasks(
where: StructureTasksWhereWhereConditions
orderBy: [StructureTasksOrderByOrderByClause!]
first: Int! = 10
after: String
): TaskConnection!
letters(
where: StructureLettersWhereWhereConditions
orderBy: [StructureLettersOrderByOrderByClause!]
first: Int! = 10
after: String
): LetterConnection!
projects(
where: StructureProjectsWhereWhereConditions
orderBy: [StructureProjectsOrderByOrderByClause!]
first: Int! = 10
after: String
): ProjectConnection!
quotes(
where: StructureQuotesWhereWhereConditions
orderBy: [StructureQuotesOrderByOrderByClause!]
first: Int! = 10
after: String
): QuoteConnection!
expenses(
where: StructureExpensesWhereWhereConditions
orderBy: [StructureExpensesOrderByOrderByClause!]
first: Int! = 10
after: String
): ExpenseConnection!
invoices(
where: StructureInvoicesWhereWhereConditions
orderBy: [StructureInvoicesOrderByOrderByClause!]
first: Int! = 10
after: String
): InvoiceConnection!
easements(
where: StructureEasementsWhereWhereConditions
orderBy: [StructureEasementsOrderByOrderByClause!]
first: Int! = 10
after: String
): EasementConnection!
tags(
where: StructureTagsWhereWhereConditions
orderBy: [StructureTagsOrderByOrderByClause!]
first: Int! = 10
after: String
): TagConnection!
files(
where: StructureFilesWhereWhereConditions
orderBy: [StructureFilesOrderByOrderByClause!]
first: Int! = 10
after: String
): FileConnection!
}

Fields

Structure.id ● ID! non-null scalar

Structure's unique identifier.

Structure._groupMeta ● GroupMeta object

Grouping metadata when results are grouped.

Structure.property ● Property object

The structure's parent property.

Structure.propertyId ● ID scalar

The structure's parent property identifier.

Structure.buildingType ● String scalar

The building type (Ehitise liik).

Structure.buildingName ● String scalar

The building name (Ehitise nimetus).

Structure.buildingRegisterCode ● String scalar

The building register code (Ehitisregistri kood).

Structure.ownershipType ● String scalar

The ownership type (Omandi liik).

Structure.primaryUsagePurpose ● String scalar

The primary usage purpose (Peamine kasutamise otstarve).

Structure.buildingCondition ● String scalar

The building condition information (Ehitise seisund info).

Structure.initialUseYear ● Int scalar

The year of initial use (Esmase kasutuselevõtu aasta).

Structure.areaSize ● String scalar

The structure's footprint area in square meters (Pindala).

Structure.geometry ● JSON scalar

The structure's geometry as GeoJSON.

Structure.mapStyle ● MapStyle object

The structure's map style.

Structure.electricalSystemType ● String scalar

The electrical system type (Elektrisüsteemi liik).

Structure.waterSupplyType ● String scalar

The water supply type (Veevarustuse liik).

Structure.sewerageType ● String scalar

The sewerage type (Kanalisatsiooni liik).

Structure.heatingSupplyType ● String scalar

The heating supply type (Soojusvarustuse liik).

Structure.heatSourceType ● String scalar

The heat source type (Soojusallika liik).

Structure.energySourceType ● String scalar

The energy source type (Energiaallika liik).

Structure.ventilationType ● String scalar

The ventilation type (Ventilatsiooni liik).

Structure.coolingSystemType ● String scalar

The cooling system type (Jahutussüsteemi liik).

Structure.comments ● [Comment!]! non-null object

The structure's comments.

Structure.creator ● User object

The user who created this structure.

Structure.createdAt ● DateTimeTz! non-null scalar

The date and time when the structure was created.

Structure.updatedAt ● DateTimeTz! non-null scalar

The date and time when the structure was last updated.

Structure.deletedAt ● DateTimeTz scalar

The date and time when the structure was deleted.

Structure.meters ● MeterConnection! non-null object

A list of meters associated with the structure.

Structure.meters.where ● StructureMetersWhereWhereConditions input
Structure.meters.orderBy ● [StructureMetersOrderByOrderByClause!] list input
Structure.meters.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.meters.after ● String scalar

A cursor after which elements are returned.

Structure.contacts ● StructureContactsEdgeConnection! non-null object

A list of contacts associated with the structure.

Structure.contacts.where ● StructureContactsWhereWhereConditions input
Structure.contacts.orderBy ● [StructureContactsOrderByOrderByClause!] list input
Structure.contacts.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.contacts.after ● String scalar

A cursor after which elements are returned.

Structure.tasks ● TaskConnection! non-null object

The structure's tasks.

Structure.tasks.where ● StructureTasksWhereWhereConditions input
Structure.tasks.orderBy ● [StructureTasksOrderByOrderByClause!] list input
Structure.tasks.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.tasks.after ● String scalar

A cursor after which elements are returned.

Structure.letters ● LetterConnection! non-null object

A list of letters associated with the structure.

Structure.letters.where ● StructureLettersWhereWhereConditions input
Structure.letters.orderBy ● [StructureLettersOrderByOrderByClause!] list input
Structure.letters.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.letters.after ● String scalar

A cursor after which elements are returned.

Structure.projects ● ProjectConnection! non-null object

A list of projects associated with the structure.

Structure.projects.where ● StructureProjectsWhereWhereConditions input
Structure.projects.orderBy ● [StructureProjectsOrderByOrderByClause!] list input
Structure.projects.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.projects.after ● String scalar

A cursor after which elements are returned.

Structure.quotes ● QuoteConnection! non-null object

A list of quotes associated with the structure.

Structure.quotes.where ● StructureQuotesWhereWhereConditions input
Structure.quotes.orderBy ● [StructureQuotesOrderByOrderByClause!] list input
Structure.quotes.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.quotes.after ● String scalar

A cursor after which elements are returned.

Structure.expenses ● ExpenseConnection! non-null object

A list of expenses associated with the structure.

Structure.expenses.where ● StructureExpensesWhereWhereConditions input
Structure.expenses.orderBy ● [StructureExpensesOrderByOrderByClause!] list input
Structure.expenses.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.expenses.after ● String scalar

A cursor after which elements are returned.

Structure.invoices ● InvoiceConnection! non-null object

A list of invoices associated with the structure.

Structure.invoices.where ● StructureInvoicesWhereWhereConditions input
Structure.invoices.orderBy ● [StructureInvoicesOrderByOrderByClause!] list input
Structure.invoices.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.invoices.after ● String scalar

A cursor after which elements are returned.

Structure.easements ● EasementConnection! non-null object

A list of easements associated with the structure.

Structure.easements.where ● StructureEasementsWhereWhereConditions input
Structure.easements.orderBy ● [StructureEasementsOrderByOrderByClause!] list input
Structure.easements.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.easements.after ● String scalar

A cursor after which elements are returned.

Structure.tags ● TagConnection! non-null object

The structure's tags.

Structure.tags.where ● StructureTagsWhereWhereConditions input
Structure.tags.orderBy ● [StructureTagsOrderByOrderByClause!] list input
Structure.tags.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.tags.after ● String scalar

A cursor after which elements are returned.

Structure.files ● FileConnection! non-null object

The structure's files.

Structure.files.where ● StructureFilesWhereWhereConditions input
Structure.files.orderBy ● [StructureFilesOrderByOrderByClause!] list input
Structure.files.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Structure.files.after ● String scalar

A cursor after which elements are returned.

Returned By

structure query ● updateStructure mutation

Member Of

Meter object ● StructureEdge object