CreateLogstoreRequest.php 1000 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * Copyright (C) Alibaba Cloud Computing
  4. * All rights reserved
  5. */
  6. require_once realpath(dirname(__FILE__) . '/Request.php');
  7. /**
  8. * The request used to create logstore from log service.
  9. *
  10. * @author log service dev
  11. */
  12. class Aliyun_Log_Models_CreateLogstoreRequest extends Aliyun_Log_Models_Request{
  13. private $logstore;
  14. private $ttl;
  15. private $shardCount;
  16. /**
  17. * Aliyun_Log_Models_CreateLogstoreRequest constructor
  18. *
  19. * @param string $project project name
  20. */
  21. public function __construct($project=null,$logstore = null,$ttl = null,$shardCount = null) {
  22. parent::__construct($project);
  23. $this -> logstore = $logstore;
  24. $this -> ttl = $ttl;
  25. $this -> shardCount = $shardCount;
  26. }
  27. public function getLogstore()
  28. {
  29. return $this -> logstore;
  30. }
  31. public function getTtl()
  32. {
  33. return $this -> ttl;
  34. }
  35. public function getShardCount()
  36. {
  37. return $this -> shardCount;
  38. }
  39. }