Conditions | 2 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package pinpoint |
||
34 | func (r CreateAppRequest) ToInput() *SDK.CreateAppInput { |
||
35 | in := &SDK.CreateAppInput{ |
||
36 | CreateApplicationRequest: &SDK.CreateApplicationRequest{}, |
||
37 | } |
||
38 | if r.Name != "" { |
||
39 | in.CreateApplicationRequest.Name = pointers.String(r.Name) |
||
40 | } |
||
41 | in.CreateApplicationRequest.Tags = r.Tags |
||
42 | return in |
||
43 | } |
||
58 |