Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2013-2014 Dell, Inc ==================================================================== Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ====================================================================
 
 
 package org.dasein.cloud.azure.compute.vm.model;
 
Created by Vlad_Munthiu on 8/14/2014.
 
 public abstract class Operation {
 
     @XmlElement(name="OperationType", namespace ="http://schemas.microsoft.com/windowsazure")
     protected String operationType;
 
     public String getOperationType() {
         return ;
     }
 
     public void setOperationType(String operationType) {
         this. = operationType;
     }
 
     @XmlRootElement(name="StartRoleOperation", namespace ="http://schemas.microsoft.com/windowsazure")
     public static class StartRoleOperation extends Operation
     {
         public StartRoleOperation()
         {
             this. = "StartRoleOperation";
         }
     }
 
     @XmlRootElement(name="RestartRoleOperation", namespace ="http://schemas.microsoft.com/windowsazure")
     public static class RestartRoleOperation extends Operation
     {
         public RestartRoleOperation()
         {
             this. = "RestartRoleOperation";
         }
     }
 
     @XmlRootElement(name="ShutdownRoleOperation", namespace ="http://schemas.microsoft.com/windowsazure")
     public static class ShutdownRoleOperation extends Operation
     {
         @XmlElement(name="PostShutdownAction", namespace ="http://schemas.microsoft.com/windowsazure")
         private String postShutdownAction;
 
         public ShutdownRoleOperation()
         {
             this. = "ShutdownRoleOperation";
         }
 
         public String getPostShutdownAction() {
             return ;
         }
 
         public void setPostShutdownAction(String postShutdownAction) {
             this. = postShutdownAction;
         }
     }
 
     @XmlRootElement(name="CaptureRoleAsVMImageOperation", namespace ="http://schemas.microsoft.com/windowsazure")
     public static class CaptureRoleAsVMImageOperation extends Operation
     {
         @XmlElement(name="OSState", namespace ="http://schemas.microsoft.com/windowsazure")
         private String osState;
         @XmlElement(name="VMImageName", namespace ="http://schemas.microsoft.com/windowsazure")
         private String vmImageName;
         @XmlElement(name="VMImageLabel", namespace ="http://schemas.microsoft.com/windowsazure")
         private String vmImageLabel;
         @XmlElement(name="Description", namespace ="http://schemas.microsoft.com/windowsazure")
         private String description;
         @XmlElement(name="Language", namespace ="http://schemas.microsoft.com/windowsazure")
         private String language;
         @XmlElement(name="ImageFamily", namespace ="http://schemas.microsoft.com/windowsazure")
         private String imageFamily;
        @XmlElement(name="RecommendedVMSize", namespace ="http://schemas.microsoft.com/windowsazure")
        private String recommendedVMSize;
        public CaptureRoleAsVMImageOperation()
        {
            this. = "CaptureRoleAsVMImageOperation";
        }
        public String getOsState() {
            return ;
        }
        public void setOsState(String osState) {
            this. = osState;
        }
        public String getVmImageName() {
            return ;
        }
        public void setVmImageName(String vmImageName) {
            this. = vmImageName;
        }
        public String getVmImageLabel() {
            return ;
        }
        public void setVmImageLabel(String vmImageLabel) {
            this. = vmImageLabel;
        }
        public String getDescription() {
            return ;
        }
        public void setDescription(String description) {
            this. = description;
        }
        public String getLanguage() {
            return ;
        }
        public void setLanguage(String language) {
            this. = language;
        }
        public String getImageFamily() {
            return ;
        }
        public void setImageFamily(String imageFamily) {
            this. = imageFamily;
        }
        public String getRecommendedVMSize() {
            return ;
        }
        public void setRecommendedVMSize(String recommendedVMSize) {
            this. = recommendedVMSize;
        }
    }
New to GrepCode? Check out our FAQ X