/*
 * Copyright 2024-2025 OmniOne.
 *
 * 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.omnione.did.sdk.datamodel.vc.issue;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import org.omnione.did.sdk.datamodel.common.SortData;
import org.omnione.did.sdk.datamodel.zkp.CredentialRequest;

public class ReqVC extends SortData {

    @SerializedName("refId")
    @Expose
    private String refId;

    @SerializedName("profile")
    @Expose
    private Profile profile;

    @SerializedName("credentialRequest")
    @Expose
    private CredentialRequest credentialRequest;

    public String getRefId() {
        return refId;
    }

    public void setRefId(String refId) {
        this.refId = refId;
    }

    public Profile getProfile() {
        return profile;
    }

    public void setProfile(Profile profile) {
        this.profile = profile;
    }

    public CredentialRequest getCredentialRequest() {
        return credentialRequest;
    }

    public void setCredentialRequest(CredentialRequest credentialRequest) {
        this.credentialRequest = credentialRequest;
    }

    public static class Profile{
        @SerializedName("id")
        @Expose
        private String id;

        @SerializedName("issuerNonce")
        @Expose
        private String issuerNonce;

        public Profile(String id, String issuerNonce) {
            this.id = id;
            this.issuerNonce = issuerNonce;
        }
    }
}
