copyWithWrapped method

AgentSummaryResponseModel copyWithWrapped({
  1. Wrapped<String>? agentId,
  2. Wrapped<String>? name,
  3. Wrapped<List<String>>? tags,
  4. Wrapped<int>? createdAtUnixSecs,
  5. Wrapped<ResourceAccessInfo>? accessInfo,
})

Implementation

AgentSummaryResponseModel copyWithWrapped(
    {Wrapped<String>? agentId,
    Wrapped<String>? name,
    Wrapped<List<String>>? tags,
    Wrapped<int>? createdAtUnixSecs,
    Wrapped<ResourceAccessInfo>? accessInfo}) {
  return AgentSummaryResponseModel(
      agentId: (agentId != null ? agentId.value : this.agentId),
      name: (name != null ? name.value : this.name),
      tags: (tags != null ? tags.value : this.tags),
      createdAtUnixSecs: (createdAtUnixSecs != null
          ? createdAtUnixSecs.value
          : this.createdAtUnixSecs),
      accessInfo: (accessInfo != null ? accessInfo.value : this.accessInfo));
}