| Conditions | 5 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package ses |
||
| 40 | func NewGetSendQuotaResult(o *SDK.GetSendQuotaResponse) *GetSendQuotaResult { |
||
| 41 | result := &GetSendQuotaResult{} |
||
| 42 | if o == nil { |
||
| 43 | return result |
||
| 44 | } |
||
| 45 | |||
| 46 | if o.Max24HourSend != nil { |
||
| 47 | result.Max24HourSend = *o.Max24HourSend |
||
| 48 | } |
||
| 49 | if o.MaxSendRate != nil { |
||
| 50 | result.MaxSendRate = *o.MaxSendRate |
||
| 51 | } |
||
| 52 | if o.SentLast24Hours != nil { |
||
| 53 | result.SentLast24Hours = *o.SentLast24Hours |
||
| 54 | } |
||
| 55 | return result |
||
| 56 | } |
||
| 57 |