// **********************************************************************
|
//
|
// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
|
//
|
// This copy of Ice is licensed to you under the terms described in the
|
// ICE_LICENSE file included in this distribution.
|
//
|
// **********************************************************************
|
//
|
// Ice version 3.7.0
|
//
|
// <auto-generated>
|
//
|
// Generated from file `ExtFaceWithImgOrUrl.ice'
|
//
|
// Warning: do not edit this file.
|
//
|
// </auto-generated>
|
//
|
|
package ExtFaceWithImgOrUrl;
|
|
public class OutParameters implements java.lang.Cloneable,
|
java.io.Serializable
|
{
|
public String faceFeaBase64;
|
|
public OutParameters()
|
{
|
this.faceFeaBase64 = "";
|
}
|
|
public OutParameters(String faceFeaBase64)
|
{
|
this.faceFeaBase64 = faceFeaBase64;
|
}
|
|
public boolean equals(java.lang.Object rhs)
|
{
|
if(this == rhs)
|
{
|
return true;
|
}
|
OutParameters r = null;
|
if(rhs instanceof OutParameters)
|
{
|
r = (OutParameters)rhs;
|
}
|
|
if(r != null)
|
{
|
if(this.faceFeaBase64 != r.faceFeaBase64)
|
{
|
if(this.faceFeaBase64 == null || r.faceFeaBase64 == null || !this.faceFeaBase64.equals(r.faceFeaBase64))
|
{
|
return false;
|
}
|
}
|
|
return true;
|
}
|
|
return false;
|
}
|
|
public int hashCode()
|
{
|
int h_ = 5381;
|
h_ = com.zeroc.IceInternal.HashUtil.hashAdd(h_, "::ExtFaceWithImgOrUrl::OutParameters");
|
h_ = com.zeroc.IceInternal.HashUtil.hashAdd(h_, faceFeaBase64);
|
return h_;
|
}
|
|
public OutParameters clone()
|
{
|
OutParameters c = null;
|
try
|
{
|
c = (OutParameters)super.clone();
|
}
|
catch(CloneNotSupportedException ex)
|
{
|
assert false; // impossible
|
}
|
return c;
|
}
|
|
public void ice_writeMembers(com.zeroc.Ice.OutputStream ostr)
|
{
|
ostr.writeString(this.faceFeaBase64);
|
}
|
|
public void ice_readMembers(com.zeroc.Ice.InputStream istr)
|
{
|
this.faceFeaBase64 = istr.readString();
|
}
|
|
static public void ice_write(com.zeroc.Ice.OutputStream ostr, OutParameters v)
|
{
|
if(v == null)
|
{
|
_nullMarshalValue.ice_writeMembers(ostr);
|
}
|
else
|
{
|
v.ice_writeMembers(ostr);
|
}
|
}
|
|
static public OutParameters ice_read(com.zeroc.Ice.InputStream istr)
|
{
|
OutParameters v = new OutParameters();
|
v.ice_readMembers(istr);
|
return v;
|
}
|
|
static public void ice_write(com.zeroc.Ice.OutputStream ostr, int tag, java.util.Optional<OutParameters> v)
|
{
|
if(v != null && v.isPresent())
|
{
|
ice_write(ostr, tag, v.get());
|
}
|
}
|
|
static public void ice_write(com.zeroc.Ice.OutputStream ostr, int tag, OutParameters v)
|
{
|
if(ostr.writeOptional(tag, com.zeroc.Ice.OptionalFormat.FSize))
|
{
|
int pos = ostr.startSize();
|
ice_write(ostr, v);
|
ostr.endSize(pos);
|
}
|
}
|
|
static public java.util.Optional<OutParameters> ice_read(com.zeroc.Ice.InputStream istr, int tag)
|
{
|
if(istr.readOptional(tag, com.zeroc.Ice.OptionalFormat.FSize))
|
{
|
istr.skip(4);
|
return java.util.Optional.of(OutParameters.ice_read(istr));
|
}
|
else
|
{
|
return java.util.Optional.empty();
|
}
|
}
|
|
private static final OutParameters _nullMarshalValue = new OutParameters();
|
|
public static final long serialVersionUID = 2141085235L;
|
}
|