|  | @@ -14,8 +14,6 @@ import org.elasticsearch.common.ParseField;
 | 
	
		
			
				|  |  |  import org.elasticsearch.common.io.stream.StreamInput;
 | 
	
		
			
				|  |  |  import org.elasticsearch.common.io.stream.StreamOutput;
 | 
	
		
			
				|  |  |  import org.elasticsearch.common.xcontent.ConstructingObjectParser;
 | 
	
		
			
				|  |  | -import org.elasticsearch.common.xcontent.ToXContentObject;
 | 
	
		
			
				|  |  | -import org.elasticsearch.common.xcontent.XContentBuilder;
 | 
	
		
			
				|  |  |  import org.elasticsearch.common.xcontent.XContentParser;
 | 
	
		
			
				|  |  |  import org.elasticsearch.xpack.autoscaling.policy.AutoscalingPolicy;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -30,7 +28,7 @@ public class PutAutoscalingPolicyAction extends ActionType<AcknowledgedResponse>
 | 
	
		
			
				|  |  |          super(NAME, AcknowledgedResponse::new);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    public static class Request extends AcknowledgedRequest<Request> implements ToXContentObject {
 | 
	
		
			
				|  |  | +    public static class Request extends AcknowledgedRequest<Request> {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          static final ParseField POLICY_FIELD = new ParseField("policy");
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -75,16 +73,6 @@ public class PutAutoscalingPolicyAction extends ActionType<AcknowledgedResponse>
 | 
	
		
			
				|  |  |              return null;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        @Override
 | 
	
		
			
				|  |  | -        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
 | 
	
		
			
				|  |  | -            builder.startObject();
 | 
	
		
			
				|  |  | -            {
 | 
	
		
			
				|  |  | -                builder.field(POLICY_FIELD.getPreferredName(), policy);
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            builder.endObject();
 | 
	
		
			
				|  |  | -            return builder;
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  }
 |