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

io.sphere.sdk.models.ResourceIdentifierImpl Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.models;

import javax.annotation.Nullable;

final class ResourceIdentifierImpl implements ResourceIdentifier {
    @Nullable
    private final String id;
    @Nullable
    private final String key;
    @Nullable
    private final String typeId;

    public ResourceIdentifierImpl(@Nullable final String id, @Nullable final String key, @Nullable final String typeId) {
        this.id = id;
        this.key = key;
        this.typeId = typeId;
    }

    @Override
    @Nullable
    public String getId() {
        return id;
    }

    @Override
    @Nullable
    public String getKey() {
        return key;
    }

    @Override
    @Nullable
    public String getTypeId() {
        return typeId;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy