Class OrgRequest.Builder
- All Implemented Interfaces:
OrgRequest._FinalStage,OrgRequest.ExternalIdStage
- Enclosing class:
OrgRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()externalId(@NotNull String externalId) Your own unique identifier for this organization.from(OrgRequest other) Human-readable name for the organization.Human-readable name for the organization.Free-form key-value attributes to store with the organization — use it to attach additional data from your own system.Free-form key-value attributes to store with the organization — use it to attach additional data from your own system.Optional ID of a record schema (created viaPOST /v1/schemas) that governs payload validation and lookup indexing for this organization, and must belong to your account.Optional ID of a record schema (created viaPOST /v1/schemas) that governs payload validation and lookup indexing for this organization, and must belong to your account.status(OrgRequestStatus status) Lifecycle status of the organization.status(Optional<OrgRequestStatus> status) Lifecycle status of the organization.
-
Method Details
-
from
- Specified by:
fromin interfaceOrgRequest.ExternalIdStage
-
externalId
Your own unique identifier for this organization. Used for idempotent upsert: if an organization with this
externalIdalready exists, it is returned instead of creating a duplicate.Your own unique identifier for this organization. Used for idempotent upsert: if an organization with this
externalIdalready exists, it is returned instead of creating a duplicate.- Specified by:
externalIdin interfaceOrgRequest.ExternalIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
schemaId
Optional ID of a record schema (created via
POST /v1/schemas) that governs payload validation and lookup indexing for this organization, and must belong to your account. When set, the payload is validated against the schema on save and the schema's declared lookup fields become queryable viaGET /v1/orgs?type=...&field=...&value=...; when omitted, the payload is free-form and no lookup fields are indexed. Once set, this reference cannot currently be cleared.- Specified by:
schemaIdin interfaceOrgRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
schemaId
Optional ID of a record schema (created via
POST /v1/schemas) that governs payload validation and lookup indexing for this organization, and must belong to your account. When set, the payload is validated against the schema on save and the schema's declared lookup fields become queryable viaGET /v1/orgs?type=...&field=...&value=...; when omitted, the payload is free-form and no lookup fields are indexed. Once set, this reference cannot currently be cleared.- Specified by:
schemaIdin interfaceOrgRequest._FinalStage
-
payload
Free-form key-value attributes to store with the organization — use it to attach additional data from your own system. On update, the supplied object replaces the stored payload in full (it is not key-merged); omit it to leave the stored payload unchanged.
- Specified by:
payloadin interfaceOrgRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
payload
Free-form key-value attributes to store with the organization — use it to attach additional data from your own system. On update, the supplied object replaces the stored payload in full (it is not key-merged); omit it to leave the stored payload unchanged.
- Specified by:
payloadin interfaceOrgRequest._FinalStage
-
status
Lifecycle status of the organization.
ACTIVEorganizations can be used normally;SUSPENDEDorganizations are retained but blocked from new operations.- Specified by:
statusin interfaceOrgRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
status
Lifecycle status of the organization.
ACTIVEorganizations can be used normally;SUSPENDEDorganizations are retained but blocked from new operations.- Specified by:
statusin interfaceOrgRequest._FinalStage
-
name
Human-readable name for the organization.
- Specified by:
namein interfaceOrgRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
Human-readable name for the organization.
- Specified by:
namein interfaceOrgRequest._FinalStage
-
build
- Specified by:
buildin interfaceOrgRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceOrgRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceOrgRequest._FinalStage
-