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

com.smartling.api.contexts.v2.pto.BindingRequestPTO Maven / Gradle / Ivy

The newest version!
package com.smartling.api.contexts.v2.pto;

import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BindingRequestPTO
{
    protected String contextUid;
    protected String stringHashcode;
    protected List anchors;
    protected TimecodePTO timecode;
    protected CoordinatesPTO coordinates;
    protected Integer page;

    public BindingRequestPTO(String contextUid, String stringHashcode, CoordinatesPTO coordinates)
    {
        this.contextUid = contextUid;
        this.stringHashcode = stringHashcode;
        this.coordinates = coordinates;
    }

    public BindingRequestPTO(String contextUid, String stringHashcode, CoordinatesPTO coordinates, Integer page)
    {
        this.contextUid = contextUid;
        this.stringHashcode = stringHashcode;
        this.coordinates = coordinates;
        this.page = page;
    }

    public BindingRequestPTO(String contextUid, String stringHashcode, TimecodePTO timecode, CoordinatesPTO coordinates)
    {
        this.contextUid = contextUid;
        this.stringHashcode = stringHashcode;
        this.timecode = timecode;
        this.coordinates = coordinates;
    }

    public BindingRequestPTO(String contextUid, String stringHashcode, List anchors)
    {
        this.contextUid = contextUid;
        this.stringHashcode = stringHashcode;
        this.anchors = anchors;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy