public OperationAttributes(Operation operation)
 {
     Name = operation.Name;
     if (operation.Display != null)
     {
         Display = new OperationDisplayAttributes(operation.Display.Operation);
     }
 }
 /// <summary>
 /// Initializes a new instance of the Operation class.
 /// </summary>
 /// <param name="name">Operation name:
 /// {provider}/{resource}/{operation}</param>
 /// <param name="display">The object that represents the
 /// operation.</param>
 public OperationAttributes(string name = default(string), OperationDisplayAttributes display = default(OperationDisplayAttributes))
 {
     Name    = name;
     Display = display;
 }