in src/DotNetWorker.Grpc/Http/RpcHttpCookie.cs [25:36]
public RpcHttpCookie(IHttpCookie other) : this()
{
name_ = other.Name;
value_ = other.Value;
domain_ = other.Domain != null ? new NullableString() { Value = other.Domain } : null;
path_ = other.Path != null ? new NullableString() { Value = other.Path } : null;
expires_ = other.Expires != null ? new NullableTimestamp { Value = new Google.Protobuf.WellKnownTypes.Timestamp { Seconds = other.Expires.Value.ToUnixTimeSeconds() } } : null;
secure_ = other.Secure != null ? new NullableBool { Value = other.Secure.Value } : null;
httpOnly_ = other.HttpOnly != null ? new NullableBool { Value = other.HttpOnly.Value } : null;
sameSite_ = (Types.SameSite)other.SameSite;
maxAge_ = other.MaxAge != null ? new NullableDouble { Value = other.MaxAge.Value } : null;
}