public static final class QueryCostUnitResourceResponseBody.CostUnit.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
QueryCostUnitResourceResponseBody.CostUnit |
build() |
QueryCostUnitResourceResponseBody.CostUnit.Builder |
ownerUid(Long ownerUid)
The user ID of the cost center owner.
|
QueryCostUnitResourceResponseBody.CostUnit.Builder |
parentUnitId(Long parentUnitId)
The ID of the parent cost center.
|
QueryCostUnitResourceResponseBody.CostUnit.Builder |
unitId(Long unitId)
The ID of the cost center.
|
QueryCostUnitResourceResponseBody.CostUnit.Builder |
unitName(String unitName)
The name of the cost center.
|
public QueryCostUnitResourceResponseBody.CostUnit.Builder ownerUid(Long ownerUid)
The user ID of the cost center owner.
example:321432
public QueryCostUnitResourceResponseBody.CostUnit.Builder parentUnitId(Long parentUnitId)
The ID of the parent cost center. A value of -1 indicates the root cost center.
example:23421
public QueryCostUnitResourceResponseBody.CostUnit.Builder unitId(Long unitId)
The ID of the cost center.
example:123412
public QueryCostUnitResourceResponseBody.CostUnit.Builder unitName(String unitName)
The name of the cost center.
example:test
public QueryCostUnitResourceResponseBody.CostUnit build()
Copyright © 2026. All rights reserved.