Skip to content

Commit

Permalink
Reverted spacing between properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
KSGRelewise committed Oct 10, 2024
1 parent 9ada81a commit 779ca96
Show file tree
Hide file tree
Showing 626 changed files with 0 additions and 1,653 deletions.
1 change: 0 additions & 1 deletion Generator/PhpMemberWriters/PhpSettablePropertiesWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public void Write(IndentedTextWriter writer, Type classType, (PropertyInfo type,
);

writer.WriteLine($"public {propertyTypeName} ${lowerCaseName};");
writer.WriteLine();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public void Write(IndentedTextWriter writer, (PropertyInfo type, string property
throw new NotImplementedException("We have not implemented support for static readonly properties that return other values than 'null'.");
}
writer.WriteLine($"const {lowerCaseName.ToUpper()} = Null;");
writer.WriteLine();
}
}
}
1 change: 0 additions & 1 deletion src/Models/AbandonedCartTriggerConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class AbandonedCartTriggerConfiguration extends AbandonedCartTriggerResultTrigge
public string $typeDefinition = "Relewise.Client.DataTypes.Triggers.Configurations.AbandonedCartTriggerConfiguration, Relewise.Client";

public string $cartName;

public static function create(string $name, string $description, string $cartName = Null) : AbandonedCartTriggerConfiguration
{
$result = new AbandonedCartTriggerConfiguration();
Expand Down
1 change: 0 additions & 1 deletion src/Models/AbandonedCartTriggerResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
class AbandonedCartTriggerResult
{
public UserResultDetails $user;

public static function create() : AbandonedCartTriggerResult
{
$result = new AbandonedCartTriggerResult();
Expand Down
3 changes: 0 additions & 3 deletions src/Models/AbandonedSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ abstract class AbandonedSearch
public string $typeDefinition = "";

public string $loweredSearchTerm;

public int $hits;

public ?Language $language;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
4 changes: 0 additions & 4 deletions src/Models/AbandonedSearchTriggerConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@ class AbandonedSearchTriggerConfiguration extends AbandonedSearchTriggerResultTr
public string $typeDefinition = "Relewise.Client.DataTypes.Triggers.Configurations.AbandonedSearchTriggerConfiguration, Relewise.Client";

public array $searchTypesInPrioritizedOrder;

public ?SearchTermCondition $searchTermCondition;

public bool $suppressOnEntityFromSearchResultViewed;

public int $considerAbandonedAfterMinutes;

public static function create(string $name, string $description, array $searchTypesInPrioritizedOrder, ?SearchTermCondition $searchTermCondition = Null, bool $suppressOnEntityFromSearchResultViewed = true) : AbandonedSearchTriggerConfiguration
{
$result = new AbandonedSearchTriggerConfiguration();
Expand Down
3 changes: 0 additions & 3 deletions src/Models/AbandonedSearchTriggerResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
class AbandonedSearchTriggerResult
{
public UserResultDetails $user;

public SearchType $type;

public array $searches;

public static function create() : AbandonedSearchTriggerResult
{
$result = new AbandonedSearchTriggerResult();
Expand Down
3 changes: 0 additions & 3 deletions src/Models/Advertiser.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ class Advertiser extends AdvertiserEntityStateAdvertiserMetadataValuesRetailMedi
public string $typeDefinition = "Relewise.Client.DataTypes.RetailMedia.Advertiser, Relewise.Client";

public string $name;

/** Defines what kind of promotions an advertiser is allowed to create, and constraints to what may be promoted. Constraints could as an example be all products belonging to the brand(s) this Advertiser is associated with. If null or empty, an advertiser will not be allowed to make any promotions anywhere, only useful for Advertisers in draft. */
public ?PromotionSpecificationCollection $allowedPromotions;

/** Defines locations/placements/variations where this advertiser is allowed to make promotions at. If null or empty, an advertiser will not be allowed to make any promotions anywhere, only useful for Advertisers in draft. */
public ?PromotionLocationCollection $allowedLocations;

public static function create(?string $id, AdvertiserEntityState $state, string $name, ?PromotionSpecificationCollection $allowedPromotions, ?PromotionLocationCollection $allowedLocations) : Advertiser
{
$result = new Advertiser();
Expand Down
3 changes: 0 additions & 3 deletions src/Models/AdvertiserAdvertiserEntityStateEntityResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ abstract class AdvertiserAdvertiserEntityStateEntityResponse extends TimedRespon
public string $typeDefinition = "";

public array $entities;

public int $hits;

public array $hitsPerState;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ abstract class AdvertiserEntityStateAdvertiserMetadataValuesAdvertisersRequestSo
public string $typeDefinition = "";

public ?AdvertisersRequestEntityFilters $filters;

public ?AdvertisersRequestSortBySorting $sorting;

public int $skip;

public int $take;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ abstract class AdvertiserEntityStateAdvertiserMetadataValuesRetailMediaEntity ex
public string $typeDefinition = "";

public AdvertiserEntityState $state;

/** Managed server side only, manually setting this will have no effect */
public AdvertiserMetadataValues $metadata;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ abstract class AdvertiserEntityStateAdvertiserMetadataValuesRetailMediaEntityEnt
public string $typeDefinition = "";

public ?string $term;

public ?array $states;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
6 changes: 0 additions & 6 deletions src/Models/AdvertiserMetadataValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,11 @@ class AdvertiserMetadataValues extends MetadataValues implements JsonSerializabl
public string $typeDefinition = "Relewise.Client.DataTypes.RetailMedia.Advertiser+MetadataValues, Relewise.Client";

public ?DateTime $inactivated;

public ?string $inactivatedBy;

public ?DateTime $activated;

public ?string $activatedBy;

public ?DateTime $archived;

public ?string $archivedBy;

public static function create() : AdvertiserMetadataValues
{
$result = new AdvertiserMetadataValues();
Expand Down
2 changes: 0 additions & 2 deletions src/Models/AdvertiserSaveEntitiesRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ abstract class AdvertiserSaveEntitiesRequest extends LicensedRequest
public string $typeDefinition = "";

public array $entities;

public string $modifiedBy;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
1 change: 0 additions & 1 deletion src/Models/AdvertiserSaveEntitiesResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ abstract class AdvertiserSaveEntitiesResponse extends TimedResponse

public array $entities;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
1 change: 0 additions & 1 deletion src/Models/AdvertisersRequestEntityFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class AdvertisersRequestEntityFilters extends AdvertiserEntityStateAdvertiserMet
public string $typeDefinition = "Relewise.Client.Requests.RetailMedia.AdvertisersRequest+EntityFilters, Relewise.Client";

public ?array $ids;

public static function create() : AdvertisersRequestEntityFilters
{
$result = new AdvertisersRequestEntityFilters();
Expand Down
2 changes: 0 additions & 2 deletions src/Models/AdvertisersRequestSortBySorting.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
class AdvertisersRequestSortBySorting
{
public AdvertisersRequestSortBy $sortBy;

public SortOrder $sortOrder;

public static function create(AdvertisersRequestSortBy $sortBy, SortOrder $sortOrder) : AdvertisersRequestSortBySorting
{
$result = new AdvertisersRequestSortBySorting();
Expand Down
2 changes: 0 additions & 2 deletions src/Models/AnalyzerRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ abstract class AnalyzerRequest extends LicensedRequest
public string $typeDefinition = "";

public ?Language $language;

public ?Currency $currency;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
1 change: 0 additions & 1 deletion src/Models/AndCondition.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class AndCondition extends UserCondition
public string $typeDefinition = "Relewise.Client.DataTypes.UserConditions.AndCondition, Relewise.Client";

public UserConditionCollection $conditions;

public static function create(UserConditionCollection $conditions, bool $negated) : AndCondition
{
$result = new AndCondition();
Expand Down
1 change: 0 additions & 1 deletion src/Models/AndFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class AndFilter extends Filter
public string $typeDefinition = "Relewise.Client.Requests.Filters.AndFilter, Relewise.Client";

public array $filters;

public static function create(array $filters, bool $negated = false) : AndFilter
{
$result = new AndFilter();
Expand Down
2 changes: 0 additions & 2 deletions src/Models/ApplicableIndexes.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
class ApplicableIndexes
{
public array $indexes;

const ALL = Null;

public static function create(string ... $indexes) : ApplicableIndexes
{
$result = new ApplicableIndexes();
Expand Down
2 changes: 0 additions & 2 deletions src/Models/ApplicableLanguages.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
class ApplicableLanguages
{
public array $languages;

const ALL = Null;

public static function create(Language ... $languages) : ApplicableLanguages
{
$result = new ApplicableLanguages();
Expand Down
1 change: 0 additions & 1 deletion src/Models/ApplyFilterSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class ApplyFilterSettings extends FilterScopeSettings
public string $typeDefinition = "Relewise.Client.Requests.Filters.Settings.ApplyFilterSettings, Relewise.Client";

public bool $apply;

public static function create(bool $apply) : ApplyFilterSettings
{
$result = new ApplyFilterSettings();
Expand Down
1 change: 0 additions & 1 deletion src/Models/AssortmentFacet.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ abstract class AssortmentFacet extends intValueFacet

public AssortmentFilterType $assortmentFilterType;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
1 change: 0 additions & 1 deletion src/Models/AssortmentFacetResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ abstract class AssortmentFacetResult extends intintValueFacetResult

public AssortmentFilterType $assortmentFilterType;


public static function hydrate(array $arr)
{
$type = $arr["\$type"];
Expand Down
1 change: 0 additions & 1 deletion src/Models/BatchedTrackingRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class BatchedTrackingRequest extends TrackingRequest
public string $typeDefinition = "Relewise.Client.Requests.Tracking.BatchedTrackingRequest, Relewise.Client";

public array $items;

public static function create(Trackable ... $items) : BatchedTrackingRequest
{
$result = new BatchedTrackingRequest();
Expand Down
1 change: 0 additions & 1 deletion src/Models/BoostAndBuryRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class BoostAndBuryRule extends MerchandisingRule implements JsonSerializable
public string $typeDefinition = "Relewise.Client.DataTypes.Merchandising.Rules.BoostAndBuryRule, Relewise.Client";

public ValueSelector $multiplierSelector;

public static function create(string $name, string $description, ValueSelector $multiplierSelector) : BoostAndBuryRule
{
$result = new BoostAndBuryRule();
Expand Down
4 changes: 0 additions & 4 deletions src/Models/Brand.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
class Brand
{
public string $id;

public ?string $displayName;

public ?array $assortments;

public ?array $data;

public static function create(string $id) : Brand
{
$result = new Brand();
Expand Down
4 changes: 0 additions & 4 deletions src/Models/BrandAdministrativeAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ class BrandAdministrativeAction extends Trackable
public string $typeDefinition = "Relewise.Client.DataTypes.BrandAdministrativeAction, Relewise.Client";

public FilterCollection $filters;

public ?Language $language;

public BrandAdministrativeActionUpdateKind $kind;

public ?Currency $currency;

public static function create(?Language $language, ?Currency $currency, FilterCollection $filters, BrandAdministrativeActionUpdateKind $kind) : BrandAdministrativeAction
{
$result = new BrandAdministrativeAction();
Expand Down
1 change: 0 additions & 1 deletion src/Models/BrandAssortmentFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class BrandAssortmentFilter extends Filter
public string $typeDefinition = "Relewise.Client.Requests.Filters.BrandAssortmentFilter, Relewise.Client";

public array $assortments;

public static function create(bool $negated = false) : BrandAssortmentFilter
{
$result = new BrandAssortmentFilter();
Expand Down
1 change: 0 additions & 1 deletion src/Models/BrandDataHasKeyFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class BrandDataHasKeyFilter extends Filter
public string $typeDefinition = "Relewise.Client.Requests.Filters.BrandDataHasKeyFilter, Relewise.Client";

public string $key;

public static function create(string $key, bool $negated = false) : BrandDataHasKeyFilter
{
$result = new BrandDataHasKeyFilter();
Expand Down
2 changes: 0 additions & 2 deletions src/Models/BrandDetailsCollectionResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ class BrandDetailsCollectionResponse extends TimedResponse
public string $typeDefinition = "Relewise.Client.Responses.BrandDetailsCollectionResponse, Relewise.Client";

public array $brands;

public ?int $totalNumberOfResults;

public static function create(array $brands, ?int $totalNumberOfResults) : BrandDetailsCollectionResponse
{
$result = new BrandDetailsCollectionResponse();
Expand Down
1 change: 0 additions & 1 deletion src/Models/BrandIdFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class BrandIdFilter extends Filter
public string $typeDefinition = "Relewise.Client.Requests.Filters.BrandIdFilter, Relewise.Client";

public array $brandIds;

public static function create(bool $negated = false) : BrandIdFilter
{
$result = new BrandIdFilter();
Expand Down
3 changes: 0 additions & 3 deletions src/Models/BrandIdRelevanceModifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@ class BrandIdRelevanceModifier extends RelevanceModifier

/** The Id of the Brand that this RelevanceModifier will distinguish on. */
public string $brandId;

/** The weight that the entity will be multiplied with if it matches the specific BrandId. */
public float $ifProductIsBrandMultiplyWeightBy;

/** The weight that the entity will be multiplied with if it does not match the specific BrandId. */
public float $ifProductIsNotBrandMultiplyWeightBy;

/**
* Creates a RelevanceModifier that can change the relevance of an entity depending on a BrandId.
* @param string $brandId The Id of the Brand that this RelevanceModifier will distinguish on.
Expand Down
2 changes: 0 additions & 2 deletions src/Models/BrandIndexConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
class BrandIndexConfiguration
{
public FieldIndexConfiguration $id;

public FieldIndexConfiguration $displayName;

public static function create() : BrandIndexConfiguration
{
$result = new BrandIndexConfiguration();
Expand Down
2 changes: 0 additions & 2 deletions src/Models/BrandNameAndIdResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
class BrandNameAndIdResult
{
public string $id;

public string $displayName;

public static function create(string $id, string $displayName) : BrandNameAndIdResult
{
$result = new BrandNameAndIdResult();
Expand Down
3 changes: 0 additions & 3 deletions src/Models/BrandNameAndIdResultAvailableFacetValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
class BrandNameAndIdResultAvailableFacetValue
{
public BrandNameAndIdResult $value;

public int $hits;

public bool $selected;

public static function create(BrandNameAndIdResult $value, bool $selected, int $hits) : BrandNameAndIdResultAvailableFacetValue
{
$result = new BrandNameAndIdResultAvailableFacetValue();
Expand Down
Loading

0 comments on commit 779ca96

Please sign in to comment.