All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.allegro.webapi.DoChangeItemFieldsRequest Maven / Gradle / Ivy

There is a newer version: 0.0.6
Show newest version
/**
 * DoChangeItemFieldsRequest.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
 */

package com.allegro.webapi;

public class DoChangeItemFieldsRequest  implements java.io.Serializable {
    private java.lang.String sessionId;

    private long itemId;

    private com.allegro.webapi.ArrayOfFieldsvalue fieldsToModify;

    private com.allegro.webapi.ArrayOfInt fieldsToRemove;

    private java.lang.Integer previewOnly;

    private com.allegro.webapi.ArrayOfVariantstruct variants;

    private com.allegro.webapi.ArrayOfTagnamestruct tags;

    private com.allegro.webapi.AfterSalesServiceConditionsStruct afterSalesServiceConditions;

    private java.lang.String additionalServicesGroup;

    public DoChangeItemFieldsRequest() {
    }

    public DoChangeItemFieldsRequest(
           java.lang.String sessionId,
           long itemId,
           com.allegro.webapi.ArrayOfFieldsvalue fieldsToModify,
           com.allegro.webapi.ArrayOfInt fieldsToRemove,
           java.lang.Integer previewOnly,
           com.allegro.webapi.ArrayOfVariantstruct variants,
           com.allegro.webapi.ArrayOfTagnamestruct tags,
           com.allegro.webapi.AfterSalesServiceConditionsStruct afterSalesServiceConditions,
           java.lang.String additionalServicesGroup) {
           this.sessionId = sessionId;
           this.itemId = itemId;
           this.fieldsToModify = fieldsToModify;
           this.fieldsToRemove = fieldsToRemove;
           this.previewOnly = previewOnly;
           this.variants = variants;
           this.tags = tags;
           this.afterSalesServiceConditions = afterSalesServiceConditions;
           this.additionalServicesGroup = additionalServicesGroup;
    }


    /**
     * Gets the sessionId value for this DoChangeItemFieldsRequest.
     * 
     * @return sessionId
     */
    public java.lang.String getSessionId() {
        return sessionId;
    }


    /**
     * Sets the sessionId value for this DoChangeItemFieldsRequest.
     * 
     * @param sessionId
     */
    public void setSessionId(java.lang.String sessionId) {
        this.sessionId = sessionId;
    }


    /**
     * Gets the itemId value for this DoChangeItemFieldsRequest.
     * 
     * @return itemId
     */
    public long getItemId() {
        return itemId;
    }


    /**
     * Sets the itemId value for this DoChangeItemFieldsRequest.
     * 
     * @param itemId
     */
    public void setItemId(long itemId) {
        this.itemId = itemId;
    }


    /**
     * Gets the fieldsToModify value for this DoChangeItemFieldsRequest.
     * 
     * @return fieldsToModify
     */
    public com.allegro.webapi.ArrayOfFieldsvalue getFieldsToModify() {
        return fieldsToModify;
    }


    /**
     * Sets the fieldsToModify value for this DoChangeItemFieldsRequest.
     * 
     * @param fieldsToModify
     */
    public void setFieldsToModify(com.allegro.webapi.ArrayOfFieldsvalue fieldsToModify) {
        this.fieldsToModify = fieldsToModify;
    }


    /**
     * Gets the fieldsToRemove value for this DoChangeItemFieldsRequest.
     * 
     * @return fieldsToRemove
     */
    public com.allegro.webapi.ArrayOfInt getFieldsToRemove() {
        return fieldsToRemove;
    }


    /**
     * Sets the fieldsToRemove value for this DoChangeItemFieldsRequest.
     * 
     * @param fieldsToRemove
     */
    public void setFieldsToRemove(com.allegro.webapi.ArrayOfInt fieldsToRemove) {
        this.fieldsToRemove = fieldsToRemove;
    }


    /**
     * Gets the previewOnly value for this DoChangeItemFieldsRequest.
     * 
     * @return previewOnly
     */
    public java.lang.Integer getPreviewOnly() {
        return previewOnly;
    }


    /**
     * Sets the previewOnly value for this DoChangeItemFieldsRequest.
     * 
     * @param previewOnly
     */
    public void setPreviewOnly(java.lang.Integer previewOnly) {
        this.previewOnly = previewOnly;
    }


    /**
     * Gets the variants value for this DoChangeItemFieldsRequest.
     * 
     * @return variants
     */
    public com.allegro.webapi.ArrayOfVariantstruct getVariants() {
        return variants;
    }


    /**
     * Sets the variants value for this DoChangeItemFieldsRequest.
     * 
     * @param variants
     */
    public void setVariants(com.allegro.webapi.ArrayOfVariantstruct variants) {
        this.variants = variants;
    }


    /**
     * Gets the tags value for this DoChangeItemFieldsRequest.
     * 
     * @return tags
     */
    public com.allegro.webapi.ArrayOfTagnamestruct getTags() {
        return tags;
    }


    /**
     * Sets the tags value for this DoChangeItemFieldsRequest.
     * 
     * @param tags
     */
    public void setTags(com.allegro.webapi.ArrayOfTagnamestruct tags) {
        this.tags = tags;
    }


    /**
     * Gets the afterSalesServiceConditions value for this DoChangeItemFieldsRequest.
     * 
     * @return afterSalesServiceConditions
     */
    public com.allegro.webapi.AfterSalesServiceConditionsStruct getAfterSalesServiceConditions() {
        return afterSalesServiceConditions;
    }


    /**
     * Sets the afterSalesServiceConditions value for this DoChangeItemFieldsRequest.
     * 
     * @param afterSalesServiceConditions
     */
    public void setAfterSalesServiceConditions(com.allegro.webapi.AfterSalesServiceConditionsStruct afterSalesServiceConditions) {
        this.afterSalesServiceConditions = afterSalesServiceConditions;
    }


    /**
     * Gets the additionalServicesGroup value for this DoChangeItemFieldsRequest.
     * 
     * @return additionalServicesGroup
     */
    public java.lang.String getAdditionalServicesGroup() {
        return additionalServicesGroup;
    }


    /**
     * Sets the additionalServicesGroup value for this DoChangeItemFieldsRequest.
     * 
     * @param additionalServicesGroup
     */
    public void setAdditionalServicesGroup(java.lang.String additionalServicesGroup) {
        this.additionalServicesGroup = additionalServicesGroup;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof DoChangeItemFieldsRequest)) return false;
        DoChangeItemFieldsRequest other = (DoChangeItemFieldsRequest) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.sessionId==null && other.getSessionId()==null) || 
             (this.sessionId!=null &&
              this.sessionId.equals(other.getSessionId()))) &&
            this.itemId == other.getItemId() &&
            ((this.fieldsToModify==null && other.getFieldsToModify()==null) || 
             (this.fieldsToModify!=null &&
              this.fieldsToModify.equals(other.getFieldsToModify()))) &&
            ((this.fieldsToRemove==null && other.getFieldsToRemove()==null) || 
             (this.fieldsToRemove!=null &&
              this.fieldsToRemove.equals(other.getFieldsToRemove()))) &&
            ((this.previewOnly==null && other.getPreviewOnly()==null) || 
             (this.previewOnly!=null &&
              this.previewOnly.equals(other.getPreviewOnly()))) &&
            ((this.variants==null && other.getVariants()==null) || 
             (this.variants!=null &&
              this.variants.equals(other.getVariants()))) &&
            ((this.tags==null && other.getTags()==null) || 
             (this.tags!=null &&
              this.tags.equals(other.getTags()))) &&
            ((this.afterSalesServiceConditions==null && other.getAfterSalesServiceConditions()==null) || 
             (this.afterSalesServiceConditions!=null &&
              this.afterSalesServiceConditions.equals(other.getAfterSalesServiceConditions()))) &&
            ((this.additionalServicesGroup==null && other.getAdditionalServicesGroup()==null) || 
             (this.additionalServicesGroup!=null &&
              this.additionalServicesGroup.equals(other.getAdditionalServicesGroup())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getSessionId() != null) {
            _hashCode += getSessionId().hashCode();
        }
        _hashCode += new Long(getItemId()).hashCode();
        if (getFieldsToModify() != null) {
            _hashCode += getFieldsToModify().hashCode();
        }
        if (getFieldsToRemove() != null) {
            _hashCode += getFieldsToRemove().hashCode();
        }
        if (getPreviewOnly() != null) {
            _hashCode += getPreviewOnly().hashCode();
        }
        if (getVariants() != null) {
            _hashCode += getVariants().hashCode();
        }
        if (getTags() != null) {
            _hashCode += getTags().hashCode();
        }
        if (getAfterSalesServiceConditions() != null) {
            _hashCode += getAfterSalesServiceConditions().hashCode();
        }
        if (getAdditionalServicesGroup() != null) {
            _hashCode += getAdditionalServicesGroup().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(DoChangeItemFieldsRequest.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", ">DoChangeItemFieldsRequest"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("sessionId");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "sessionId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("itemId");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "itemId"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("fieldsToModify");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "fieldsToModify"));
        elemField.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "ArrayOfFieldsvalue"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("fieldsToRemove");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "fieldsToRemove"));
        elemField.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "ArrayOfInt"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("previewOnly");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "previewOnly"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("variants");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "variants"));
        elemField.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "ArrayOfVariantstruct"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("tags");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "tags"));
        elemField.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "ArrayOfTagnamestruct"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("afterSalesServiceConditions");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "afterSalesServiceConditions"));
        elemField.setXmlType(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "AfterSalesServiceConditionsStruct"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("additionalServicesGroup");
        elemField.setXmlName(new javax.xml.namespace.QName("https://webapi.allegro.pl/service.php", "additionalServicesGroup"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setMinOccurs(0);
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
    }

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy