Conditions | 4 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package kms |
||
51 | func NewScheduleKeyDeletionResult(output *SDK.ScheduleKeyDeletionResponse) *ScheduleKeyDeletionResult { |
||
52 | r := &ScheduleKeyDeletionResult{} |
||
53 | if output == nil { |
||
54 | return r |
||
55 | } |
||
56 | |||
57 | if output.DeletionDate != nil { |
||
58 | r.DeletionDate = *output.DeletionDate |
||
59 | } |
||
60 | if output.KeyId != nil { |
||
61 | r.KeyID = *output.KeyId |
||
62 | } |
||
63 | return r |
||
64 | } |
||
65 |