package org.musetest.extensions.webservice;

import org.musetest.extensions.*;

import java.util.*;

/**
 * @author Christopher L Merrill (see LICENSE.txt for license details)
 */
@SuppressWarnings("unused")  // used by web services and UI
public class ExtensionVersionCreateRequest
    {
    private ExtensionVersionCreateRequest() { }  // required for de/serialization

    public ExtensionVersionCreateRequest(long extension_id, String version_name)
        {
        _extension_id = extension_id;
        _version_name = version_name;
        }

    public long getExtensionId()
        {
        return _extension_id;
        }

    public void setExtensionId(long extension_id)
        {
        _extension_id = extension_id;
        }

    public String getVersionName()
        {
        return _version_name;
        }

    public void setVersionName(String version_name)
        {
        _version_name = version_name;
        }

    public List<ExtensionProjectAsset> getAssets()
        {
        return _assets;
        }

    public void setAssets(List<ExtensionProjectAsset> assets)
        {
        _assets = assets;
        }

    public String getDescription()
        {
        return _description;
        }

    public void setDescription(String description)
        {
        _description = description;
        }

    private long _extension_id;
    private String _version_name;
    private String _description;
    private List<ExtensionProjectAsset> _assets;
    }



@@ -1327,24 +1327,229 @@
 %0A        %7D%0A%0A
+    public String getAuthenticationToken()%0A        %7B%0A        return _auth_token;%0A        %7D%0A%0A    public void setAuthenticationToken(String auth_token)%0A        %7B%0A        _auth_token = auth_token;%0A        %7D%0A%0A
     private 
@@ -1631,24 +1631,56 @@
 escription;%0A
+    private String _auth_token;%0A
     private 
@@ -1711,21 +1711,502 @@
 et%3E _assets;
+%0A%0A    @Override%0A    public boolean equals(Object obj)%0A        %7B%0A        if (!(obj instanceof ExtensionVersionCreateRequest))%0A            return false;%0A        ExtensionVersionCreateRequest other = (ExtensionVersionCreateRequest) obj;%0A%0A        return _extension_id == other._extension_id%0A            && Objects.equals(_version_name, other._version_name)%0A            && Objects.equals(_description, other._description)%0A            && Objects.equals(_assets, other._assets);%0A        %7D
 %0A    %7D%0A%0A%0A

add authentication token to ExtensionVersionCreateRequest