(self)
| 140 | return CopilotUserResponseEndpoints(api, origin_tracker, proxy, telemetry) |
| 141 | |
| 142 | def to_dict(self) -> dict: |
| 143 | result: dict = {} |
| 144 | if self.api is not None: |
| 145 | result["api"] = from_union([from_str, from_none], self.api) |
| 146 | if self.origin_tracker is not None: |
| 147 | result["origin-tracker"] = from_union([from_str, from_none], self.origin_tracker) |
| 148 | if self.proxy is not None: |
| 149 | result["proxy"] = from_union([from_str, from_none], self.proxy) |
| 150 | if self.telemetry is not None: |
| 151 | result["telemetry"] = from_union([from_str, from_none], self.telemetry) |
| 152 | return result |
| 153 | |
| 154 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 155 | class AuthInfoType(Enum): |
nothing calls this directly
no test coverage detected