// Path: src/main/java/io/kraken/client/model/Strategy.java
// public enum Strategy {
//     EXACT("exact"),
//     PORTRAIT("portrait"),
//     LANDSCAPE("landscape"),
//     AUTO("auto"),
//     FIT("fit"),
//     CROP("crop"),
//     SQUARE("square"),
//     FILL("fill");
// 
//     private static Map<String, Strategy> REVERSE_LOOKUP = new HashMap<String, Strategy>();
//     static {
//         for (Strategy strategy : values()) {
//             REVERSE_LOOKUP.put(strategy.getValue(), strategy);
//         }
//     }
// 
//     private final String value;
// 
//     Strategy(String value) {
//         this.value = value;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
//     public static Strategy fromString(String value) {
//         return REVERSE_LOOKUP.get(value);
//     }
// 
//     @Override
//     public String toString() {
//         return value;
//     }
// }


import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.kraken.client.model.Strategy;
import static com.google.common.base.Preconditions.checkNotNull;
/**
 * Copyright (C) 2015 Nekkra UG (oss@kraken.io)
 *
 * 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 io.kraken.client.model.resize;



/**
 * @author Emir Dizdarevic
 * @since 1.0.0
 */
public class LandscapeResize extends AbstractResize {

    private final Integer width;

    @JsonCreator
    public LandscapeResize(@JsonProperty("width") Integer width) {
        super(Strategy.LANDSCAPE);

        checkNotNull(width, "width must not be null");
        this.width = width;
    }

// Path: src/main/java/io/kraken/client/model/Strategy.java
// public enum Strategy {
//     EXACT("exact"),
//     PORTRAIT("portrait"),
//     LANDSCAPE("landscape"),
//     AUTO("auto"),
//     FIT("fit"),
//     CROP("crop"),
//     SQUARE("square"),
//     FILL("fill");
// 
//     private static Map<String, Strategy> REVERSE_LOOKUP = new HashMap<String, Strategy>();
//     static {
//         for (Strategy strategy : values()) {
//             REVERSE_LOOKUP.put(strategy.getValue(), strategy);
//         }
//     }
// 
//     private final String value;
// 
//     Strategy(String value) {
//         this.value = value;
//     }
// 
//     public String getValue() {
//         return value;
//     }
// 
//     public static Strategy fromString(String value) {
//         return REVERSE_LOOKUP.get(value);
//     }
// 
//     @Override
//     public String toString() {
//         return value;
//     }
// }


// Path: src/main/java/io/kraken/client/model/resize/LandscapeResize.java
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.kraken.client.model.Strategy;
import static com.google.common.base.Preconditions.checkNotNull;

/**
 * Copyright (C) 2015 Nekkra UG (oss@kraken.io)
 *
 * 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 io.kraken.client.model.resize;



/**
 * @author Emir Dizdarevic
 * @since 1.0.0
 */
public class LandscapeResize extends AbstractResize {

    private final Integer width;

    @JsonCreator
    public LandscapeResize(@JsonProperty("width") Integer width) {
        super(Strategy.LANDSCAPE);

        checkNotNull(width, "width must not be null");
        this.width = width;
    }

    public Integer getWidth() {