| Conditions | 5 |
| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package pinpoint |
||
| 34 | func (r ListTemplatesRequest) ToInput() *SDK.ListTemplatesInput { |
||
| 35 | in := &SDK.ListTemplatesInput{} |
||
| 36 | if r.NextToken != "" { |
||
| 37 | in.NextToken = pointers.String(r.NextToken) |
||
| 38 | } |
||
| 39 | if r.PageSize != "" { |
||
| 40 | in.PageSize = pointers.String(r.PageSize) |
||
| 41 | } |
||
| 42 | if r.Prefix != "" { |
||
| 43 | in.Prefix = pointers.String(r.Prefix) |
||
| 44 | } |
||
| 45 | if r.TemplateType != "" { |
||
| 46 | in.TemplateType = pointers.String(r.TemplateType) |
||
| 47 | } |
||
| 48 | return in |
||
| 49 | } |
||
| 64 |