Package com.chrt.api.types
Class Department1.Builder
- java.lang.Object
-
- com.chrt.api.types.Department1.Builder
-
- All Implemented Interfaces:
Department1._FinalStage,Department1.CreatedAtStage,Department1.CreatedByUserIdStage,Department1.DepartmentTypeStage,Department1.IdStage,Department1.NameStage,Department1.OrgIdStage,Department1.SchemaVersionStage,Department1.ShortIdStage
- Enclosing class:
- Department1
public static final class Department1.Builder extends java.lang.Object implements Department1.SchemaVersionStage, Department1.NameStage, Department1.DepartmentTypeStage, Department1.IdStage, Department1.OrgIdStage, Department1.ShortIdStage, Department1.CreatedByUserIdStage, Department1.CreatedAtStage, Department1._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public Department1.Builder from(Department1 other)
- Specified by:
fromin interfaceDepartment1.SchemaVersionStage
-
schemaVersion
public Department1.NameStage schemaVersion(int schemaVersion)
- Specified by:
schemaVersionin interfaceDepartment1.SchemaVersionStage
-
name
public Department1.DepartmentTypeStage name(@NotNull java.lang.String name)
- Specified by:
namein interfaceDepartment1.NameStage
-
departmentType
public Department1.IdStage departmentType(@NotNull DepartmentTypeEnum departmentType)
- Specified by:
departmentTypein interfaceDepartment1.DepartmentTypeStage
-
id
public Department1.OrgIdStage id(@NotNull java.lang.String id)
- Specified by:
idin interfaceDepartment1.IdStage
-
orgId
public Department1.ShortIdStage orgId(@NotNull java.lang.String orgId)
Must be a string starting with
org_Must be a string starting with
org_- Specified by:
orgIdin interfaceDepartment1.OrgIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
shortId
public Department1.CreatedByUserIdStage shortId(@NotNull java.lang.String shortId)
- Specified by:
shortIdin interfaceDepartment1.ShortIdStage
-
createdByUserId
public Department1.CreatedAtStage createdByUserId(@NotNull java.lang.String createdByUserId)
Must be a string starting with
user_Must be a string starting with
user_- Specified by:
createdByUserIdin interfaceDepartment1.CreatedByUserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public Department1._FinalStage createdAt(@NotNull java.time.OffsetDateTime createdAt)
- Specified by:
createdAtin interfaceDepartment1.CreatedAtStage
-
operatorUserIds
public Department1._FinalStage operatorUserIds(java.util.List<java.lang.String> operatorUserIds)
- Specified by:
operatorUserIdsin interfaceDepartment1._FinalStage
-
operatorUserIds
public Department1._FinalStage operatorUserIds(java.util.Optional<java.util.List<java.lang.String>> operatorUserIds)
- Specified by:
operatorUserIdsin interfaceDepartment1._FinalStage
-
location
public Department1._FinalStage location(Nullable<LocationFeature> location)
- Specified by:
locationin interfaceDepartment1._FinalStage
-
location
public Department1._FinalStage location(LocationFeature location)
- Specified by:
locationin interfaceDepartment1._FinalStage
-
location
public Department1._FinalStage location(java.util.Optional<LocationFeature> location)
- Specified by:
locationin interfaceDepartment1._FinalStage
-
build
public Department1 build()
- Specified by:
buildin interfaceDepartment1._FinalStage
-
-