Conditions | 3 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package pinpoint |
||
33 | func (r UpdateEndpointRequest) ToInput() *SDK.UpdateEndpointInput { |
||
34 | in := &SDK.UpdateEndpointInput{} |
||
35 | if r.ApplicationID != "" { |
||
36 | in.ApplicationId = pointers.String(r.ApplicationID) |
||
37 | } |
||
38 | if r.EndpointID != "" { |
||
39 | in.EndpointId = pointers.String(r.EndpointID) |
||
40 | } |
||
41 | |||
42 | in.EndpointRequest = r.EndpointRequest.ToSDK() |
||
43 | return in |
||
44 | } |
||
64 |