org.hpccsystems.ws.client.wrappers.gen.filespray.DeleteDropZoneFilesRequestWrapper Maven / Gradle / Ivy
package org.hpccsystems.ws.client.wrappers.gen.filespray;
/*******************************************************************************
* HPCC SYSTEMS software Copyright (C) 2019 HPCC Systems.
*
* 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.
*******************************************************************************/
import java.util.List;
import java.util.ArrayList;
import org.hpccsystems.ws.client.gen.axis2.filespray.v1_17.EspStringArray;
/**
* Generated Axis2 ADB stub class wrapper
* Class name: DeleteDropZoneFilesRequestWrapper
* Wraps class: org.hpccsystems.ws.client.gen.axis2.filespray.v1_17.DeleteDropZoneFilesRequest
* Output package : org.hpccsystems.ws.client.wrappers.gen.filespray
* TimeStamp: 2019-08-29T20:02:35.006Z
*/
public class DeleteDropZoneFilesRequestWrapper
{
protected String local_dropZoneName;
protected String local_netAddress;
protected String local_path;
protected String local_oS;
protected List local_names = new ArrayList();
public DeleteDropZoneFilesRequestWrapper() {}
public DeleteDropZoneFilesRequestWrapper( org.hpccsystems.ws.client.gen.axis2.filespray.v1_17.DeleteDropZoneFilesRequest deletedropzonefilesrequest)
{
copy( deletedropzonefilesrequest );
}
public DeleteDropZoneFilesRequestWrapper( String _dropZoneName, String _netAddress, String _path, String _oS, List _names )
{
this.local_dropZoneName = _dropZoneName;
this.local_netAddress = _netAddress;
this.local_path = _path;
this.local_oS = _oS;
this.local_names = _names;
}
private void copy( org.hpccsystems.ws.client.gen.axis2.filespray.v1_17.DeleteDropZoneFilesRequest raw )
{
if (raw == null)
return;
this.local_dropZoneName = raw.getDropZoneName();
this.local_netAddress = raw.getNetAddress();
this.local_path = raw.getPath();
this.local_oS = raw.getOS();
if (raw.getNames() != null)
{
this.local_names = new ArrayList();
for ( int i = 0; i < raw.getNames().getItem().length; i++)
{
this.local_names.add(new String(raw.getNames().getItem()[i]));
}
}
}
@Override
public String toString()
{
return "DeleteDropZoneFilesRequestWrapper [" + "dropZoneName = " + local_dropZoneName + ", " + "netAddress = " + local_netAddress + ", " + "path = " + local_path + ", " + "oS = " + local_oS + ", " + "names = " + local_names + "]";
}
public org.hpccsystems.ws.client.gen.axis2.filespray.v1_17.DeleteDropZoneFilesRequest getRaw()
{
org.hpccsystems.ws.client.gen.axis2.filespray.v1_17.DeleteDropZoneFilesRequest raw = new org.hpccsystems.ws.client.gen.axis2.filespray.v1_17.DeleteDropZoneFilesRequest();
raw.setDropZoneName( local_dropZoneName);
raw.setNetAddress( local_netAddress);
raw.setPath( local_path);
raw.setOS( local_oS);
if (this.local_names!= null)
{
EspStringArray arr = new EspStringArray();
for ( int i = 0; i < this.local_names.size(); i++)
{
arr.addItem(this.local_names.get(i));
}
raw.setNames(arr);
}
return raw;
}
public void setDropZoneName( String _dropZoneName )
{
this.local_dropZoneName = _dropZoneName;
}
public String getDropZoneName( )
{
return this.local_dropZoneName;
}
public void setNetAddress( String _netAddress )
{
this.local_netAddress = _netAddress;
}
public String getNetAddress( )
{
return this.local_netAddress;
}
public void setPath( String _path )
{
this.local_path = _path;
}
public String getPath( )
{
return this.local_path;
}
public void setOS( String _oS )
{
this.local_oS = _oS;
}
public String getOS( )
{
return this.local_oS;
}
public void setNames( List _names )
{
this.local_names = _names;
}
public List getNames( )
{
return this.local_names;
}
}